-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path365.b1783d56.iframe.bundle.js
1 lines (1 loc) · 134 KB
/
365.b1783d56.iframe.bundle.js
1
"use strict";(self.webpackChunkbuildcorp_uikits=self.webpackChunkbuildcorp_uikits||[]).push([[365],{"./node_modules/@fluentui/dom-utilities/lib/elementContains.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{s:()=>elementContains});var _getParent__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@fluentui/dom-utilities/lib/getParent.js");function elementContains(parent,child,allowVirtualParents){void 0===allowVirtualParents&&(allowVirtualParents=!0);var isContained=!1;if(parent&&child)if(allowVirtualParents)if(parent===child)isContained=!0;else for(isContained=!1;child;){var nextParent=(0,_getParent__WEBPACK_IMPORTED_MODULE_0__.P)(child);if(nextParent===parent){isContained=!0;break}child=nextParent}else parent.contains&&(isContained=parent.contains(child));return isContained}},"./node_modules/@fluentui/dom-utilities/lib/findElementRecursive.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{w:()=>findElementRecursive});var _getParent__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@fluentui/dom-utilities/lib/getParent.js");function findElementRecursive(element,matchFunction,doc){return null!=doc||(doc=document),!element||element===doc.body||element instanceof Document?null:matchFunction(element)?element:findElementRecursive((0,_getParent__WEBPACK_IMPORTED_MODULE_0__.P)(element),matchFunction)}},"./node_modules/@fluentui/dom-utilities/lib/getParent.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{P:()=>getParent});var isVirtualElement=__webpack_require__("./node_modules/@fluentui/dom-utilities/lib/isVirtualElement.js");function getParent(child,allowVirtualParents){var _a,_b;if(void 0===allowVirtualParents&&(allowVirtualParents=!0),!child)return null;var parent=allowVirtualParents&&function getVirtualParent(child){var parent;return child&&(0,isVirtualElement.q)(child)&&(parent=child._virtual.parent),parent}(child);return parent||("function"!=typeof child.assignedElements&&(null===(_a=child.assignedSlot)||void 0===_a?void 0:_a.parentNode)?child.assignedSlot:11===(null===(_b=child.parentNode)||void 0===_b?void 0:_b.nodeType)?child.parentNode.host:child.parentNode)}},"./node_modules/@fluentui/dom-utilities/lib/isVirtualElement.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function isVirtualElement(element){return element&&!!element._virtual}__webpack_require__.d(__webpack_exports__,{q:()=>isVirtualElement})},"./node_modules/@fluentui/dom-utilities/lib/portalContainsElement.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{s:()=>portalContainsElement});var _findElementRecursive__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@fluentui/dom-utilities/lib/findElementRecursive.js"),_setPortalAttribute__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@fluentui/dom-utilities/lib/setPortalAttribute.js");function portalContainsElement(target,parent,doc){var _a,elementMatch=(0,_findElementRecursive__WEBPACK_IMPORTED_MODULE_0__.w)(target,(function(testElement){var _a;return parent===testElement||!!(null===(_a=testElement.hasAttribute)||void 0===_a?void 0:_a.call(testElement,_setPortalAttribute__WEBPACK_IMPORTED_MODULE_1__.r))}),doc);return null!==elementMatch&&!!(null===(_a=elementMatch.hasAttribute)||void 0===_a?void 0:_a.call(elementMatch,_setPortalAttribute__WEBPACK_IMPORTED_MODULE_1__.r))}},"./node_modules/@fluentui/dom-utilities/lib/setPortalAttribute.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{V:()=>setPortalAttribute,r:()=>DATA_PORTAL_ATTRIBUTE});var DATA_PORTAL_ATTRIBUTE="data-portal-element";function setPortalAttribute(element){element.setAttribute(DATA_PORTAL_ATTRIBUTE,"true")}},"./node_modules/@fluentui/react-focus/lib/components/FocusZone/FocusZone.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{R:()=>FocusZone});var focusZoneStyles,tslib__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/tslib/tslib.es6.mjs"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_FocusZone_types__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/@fluentui/react-focus/lib/components/FocusZone/FocusZone.types.js"),_fluentui_utilities__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@fluentui/utilities/lib/createMergedRef.js"),_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@fluentui/utilities/lib/focus.js"),_fluentui_utilities__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@fluentui/dom-utilities/lib/getParent.js"),_fluentui_utilities__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@fluentui/utilities/lib/KeyCodes.js"),_fluentui_utilities__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./node_modules/@fluentui/utilities/lib/rtl.js"),_fluentui_utilities__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("./node_modules/@fluentui/utilities/lib/initializeComponentRef.js"),_fluentui_utilities__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("./node_modules/@fluentui/utilities/lib/getId.js"),_fluentui_utilities__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("./node_modules/@fluentui/dom-utilities/lib/elementContains.js"),_fluentui_utilities__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("./node_modules/@fluentui/utilities/lib/properties.js"),_fluentui_utilities__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("./node_modules/@fluentui/utilities/lib/css.js"),_fluentui_utilities__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("./node_modules/@fluentui/utilities/lib/scroll.js"),_fluentui_utilities__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("./node_modules/@fluentui/dom-utilities/lib/portalContainsElement.js"),_fluentui_utilities__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__("./node_modules/@fluentui/utilities/lib/dom/getDocument.js"),_fluentui_utilities__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__("./node_modules/@fluentui/utilities/lib/shadowDom/contexts/MergeStylesShadowRootContext.js"),_fluentui_merge_styles__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@fluentui/merge-styles/lib/mergeStyles.js"),_fluentui_style_utilities__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@fluentui/style-utilities/lib/index.js");function raiseClickFromKeyboardEvent(target,ev){var event;"function"==typeof MouseEvent?event=new MouseEvent("click",{ctrlKey:null==ev?void 0:ev.ctrlKey,metaKey:null==ev?void 0:ev.metaKey,shiftKey:null==ev?void 0:ev.shiftKey,altKey:null==ev?void 0:ev.altKey,bubbles:null==ev?void 0:ev.bubbles,cancelable:null==ev?void 0:ev.cancelable}):(event=document.createEvent("MouseEvents")).initMouseEvent("click",!!ev&&ev.bubbles,!!ev&&ev.cancelable,window,0,0,0,0,0,!!ev&&ev.ctrlKey,!!ev&&ev.altKey,!!ev&&ev.shiftKey,!!ev&&ev.metaKey,0,null),target.dispatchEvent(event)}var _allInstances={},_outerZones=new Set,ALLOWED_INPUT_TYPES=["text","number","password","email","tel","url","search","textarea"],FocusZone=function(_super){function FocusZone(props){var _a,_b,_c,_d,_this=this;(_this=_super.call(this,props)||this)._root=react__WEBPACK_IMPORTED_MODULE_0__.createRef(),_this._mergedRef=(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_4__.K)(),_this._onFocus=function(ev){var _a;if(!_this._portalContainsElement(ev.target)){var newActiveElement,onActiveElementChanged=(_a=_this.props).onActiveElementChanged,doNotAllowFocusEventToPropagate=_a.doNotAllowFocusEventToPropagate,stopFocusPropagation=_a.stopFocusPropagation,onFocusNotification=_a.onFocusNotification,onFocus=_a.onFocus,shouldFocusInnerElementWhenReceivedFocus=_a.shouldFocusInnerElementWhenReceivedFocus,defaultTabbableElement=_a.defaultTabbableElement,isImmediateDescendant=_this._isImmediateDescendantOfZone(ev.target);if(isImmediateDescendant)newActiveElement=ev.target;else for(var parentElement=ev.target;parentElement&&parentElement!==_this._root.current;){if((0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.S0)(parentElement,void 0,_this._inShadowRoot)&&_this._isImmediateDescendantOfZone(parentElement)){newActiveElement=parentElement;break}parentElement=(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_6__.P)(parentElement,false)}if(shouldFocusInnerElementWhenReceivedFocus&&ev.target===_this._root.current){var maybeElementToFocus=defaultTabbableElement&&"function"==typeof defaultTabbableElement&&_this._root.current&&defaultTabbableElement(_this._root.current);maybeElementToFocus&&(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.S0)(maybeElementToFocus,void 0,_this._inShadowRoot)?(newActiveElement=maybeElementToFocus,maybeElementToFocus.focus()):(_this.focus(!0),_this._activeElement&&(newActiveElement=null))}var initialElementFocused=!_this._activeElement;newActiveElement&&newActiveElement!==_this._activeElement&&((isImmediateDescendant||initialElementFocused)&&_this._setFocusAlignment(newActiveElement,!0,!0),_this._activeElement=newActiveElement,initialElementFocused&&_this._updateTabIndexes()),onActiveElementChanged&&onActiveElementChanged(_this._activeElement,ev),(stopFocusPropagation||doNotAllowFocusEventToPropagate)&&ev.stopPropagation(),onFocus?onFocus(ev):onFocusNotification&&onFocusNotification()}},_this._onBlur=function(){_this._setParkedFocus(!1)},_this._onMouseDown=function(ev){if(!_this._portalContainsElement(ev.target)&&!_this.props.disabled){for(var target=ev.target,path=[];target&&target!==_this._root.current;)path.push(target),target=(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_6__.P)(target,false);for(;path.length&&((target=path.pop())&&(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.S0)(target,void 0,_this._inShadowRoot)&&_this._setActiveElement(target,!0),!(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.HC)(target)););}},_this._onKeyDown=function(ev,theme){var _a;if(!_this._portalContainsElement(ev.target)){var direction=(_a=_this.props).direction,disabled=_a.disabled,isInnerZoneKeystroke=_a.isInnerZoneKeystroke,pagingSupportDisabled=_a.pagingSupportDisabled,shouldEnterInnerZone=_a.shouldEnterInnerZone;if(!(disabled||(_this.props.onKeyDown&&_this.props.onKeyDown(ev),ev.isDefaultPrevented()||_this._getDocument().activeElement===_this._root.current&&_this._isInnerZone))){if((shouldEnterInnerZone&&shouldEnterInnerZone(ev)||isInnerZoneKeystroke&&isInnerZoneKeystroke(ev))&&_this._isImmediateDescendantOfZone(ev.target)){var innerZone=_this._getFirstInnerZone();if(innerZone){if(!innerZone.focus(!0))return}else{if(!(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.Z5)(ev.target))return;if(!_this.focusElement((0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.eX)(ev.target,ev.target.firstChild,!0)))return}}else{if(ev.altKey)return;switch(ev.which){case _fluentui_utilities__WEBPACK_IMPORTED_MODULE_7__.c.space:if(_this._shouldRaiseClicksOnSpace&&_this._tryInvokeClickForFocusable(ev.target,ev))break;return;case _fluentui_utilities__WEBPACK_IMPORTED_MODULE_7__.c.left:if(direction!==_FocusZone_types__WEBPACK_IMPORTED_MODULE_8__.E.vertical&&(_this._preventDefaultWhenHandled(ev),_this._moveFocusLeft(theme)))break;return;case _fluentui_utilities__WEBPACK_IMPORTED_MODULE_7__.c.right:if(direction!==_FocusZone_types__WEBPACK_IMPORTED_MODULE_8__.E.vertical&&(_this._preventDefaultWhenHandled(ev),_this._moveFocusRight(theme)))break;return;case _fluentui_utilities__WEBPACK_IMPORTED_MODULE_7__.c.up:if(direction!==_FocusZone_types__WEBPACK_IMPORTED_MODULE_8__.E.horizontal&&(_this._preventDefaultWhenHandled(ev),_this._moveFocusUp()))break;return;case _fluentui_utilities__WEBPACK_IMPORTED_MODULE_7__.c.down:if(direction!==_FocusZone_types__WEBPACK_IMPORTED_MODULE_8__.E.horizontal&&(_this._preventDefaultWhenHandled(ev),_this._moveFocusDown()))break;return;case _fluentui_utilities__WEBPACK_IMPORTED_MODULE_7__.c.pageDown:if(!pagingSupportDisabled&&_this._moveFocusPaging(!0))break;return;case _fluentui_utilities__WEBPACK_IMPORTED_MODULE_7__.c.pageUp:if(!pagingSupportDisabled&&_this._moveFocusPaging(!1))break;return;case _fluentui_utilities__WEBPACK_IMPORTED_MODULE_7__.c.tab:if(_this.props.allowTabKey||_this.props.handleTabKey===_FocusZone_types__WEBPACK_IMPORTED_MODULE_8__.l.all||_this.props.handleTabKey===_FocusZone_types__WEBPACK_IMPORTED_MODULE_8__.l.inputOnly&&_this._isElementInput(ev.target)){var focusChanged=!1;if(_this._processingTabKey=!0,direction!==_FocusZone_types__WEBPACK_IMPORTED_MODULE_8__.E.vertical&&_this._shouldWrapFocus(_this._activeElement,"data-no-horizontal-wrap"))focusChanged=((0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_9__.jI)(theme)?!ev.shiftKey:ev.shiftKey)?_this._moveFocusLeft(theme):_this._moveFocusRight(theme);else focusChanged=ev.shiftKey?_this._moveFocusUp():_this._moveFocusDown();if(_this._processingTabKey=!1,focusChanged)break;_this.props.shouldResetActiveElementWhenTabFromZone&&(_this._activeElement=null)}return;case _fluentui_utilities__WEBPACK_IMPORTED_MODULE_7__.c.home:if(_this._isContentEditableElement(ev.target)||_this._isElementInput(ev.target)&&!_this._shouldInputLoseFocus(ev.target,!1))return!1;var firstChild=_this._root.current&&_this._root.current.firstChild;if(_this._root.current&&firstChild&&_this.focusElement((0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.eX)(_this._root.current,firstChild,!0)))break;return;case _fluentui_utilities__WEBPACK_IMPORTED_MODULE_7__.c.end:if(_this._isContentEditableElement(ev.target)||_this._isElementInput(ev.target)&&!_this._shouldInputLoseFocus(ev.target,!0))return!1;var lastChild=_this._root.current&&_this._root.current.lastChild;if(_this._root.current&&_this.focusElement((0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.yv)(_this._root.current,lastChild,!0,!0,!0)))break;return;case _fluentui_utilities__WEBPACK_IMPORTED_MODULE_7__.c.enter:if(_this._shouldRaiseClicksOnEnter&&_this._tryInvokeClickForFocusable(ev.target,ev))break;return;default:return}}ev.preventDefault(),ev.stopPropagation()}}},_this._getHorizontalDistanceFromCenter=function(isForward,activeRect,targetRect){var leftAlignment=_this._focusAlignment.left||_this._focusAlignment.x||0,targetRectTop=Math.floor(targetRect.top),activeRectBottom=Math.floor(activeRect.bottom),targetRectBottom=Math.floor(targetRect.bottom),activeRectTop=Math.floor(activeRect.top);return isForward&&targetRectTop>activeRectBottom||!isForward&&targetRectBottom<activeRectTop?leftAlignment>=targetRect.left&&leftAlignment<=targetRect.left+targetRect.width?0:Math.abs(targetRect.left+targetRect.width/2-leftAlignment):_this._shouldWrapFocus(_this._activeElement,"data-no-vertical-wrap")?999999999:-999999999},(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_10__.f)(_this),_this._id=(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_11__.O)("FocusZone"),_this._focusAlignment={left:0,top:0},_this._processingTabKey=!1;var shouldRaiseClicksFallback=null===(_b=null!==(_a=props.shouldRaiseClicks)&&void 0!==_a?_a:FocusZone.defaultProps.shouldRaiseClicks)||void 0===_b||_b;return _this._shouldRaiseClicksOnEnter=null!==(_c=props.shouldRaiseClicksOnEnter)&&void 0!==_c?_c:shouldRaiseClicksFallback,_this._shouldRaiseClicksOnSpace=null!==(_d=props.shouldRaiseClicksOnSpace)&&void 0!==_d?_d:shouldRaiseClicksFallback,_this}return(0,tslib__WEBPACK_IMPORTED_MODULE_3__.C6)(FocusZone,_super),FocusZone.getOuterZones=function(){return _outerZones.size},FocusZone._onKeyDownCapture=function(ev){ev.which===_fluentui_utilities__WEBPACK_IMPORTED_MODULE_7__.c.tab&&_outerZones.forEach((function(zone){return zone._updateTabIndexes()}))},FocusZone.prototype.componentDidMount=function(){var _a,root=this._root.current;if(this._inShadowRoot=!!(null===(_a=this.context)||void 0===_a?void 0:_a.shadowRoot),_allInstances[this._id]=this,root){for(var parentElement=(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_6__.P)(root,false);parentElement&&parentElement!==this._getDocument().body&&1===parentElement.nodeType;){if((0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.HC)(parentElement)){this._isInnerZone=!0;break}parentElement=(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_6__.P)(parentElement,false)}this._isInnerZone||(_outerZones.add(this),this._root.current&&this._root.current.addEventListener("keydown",FocusZone._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()}},FocusZone.prototype.componentDidUpdate=function(){var _a,root=this._root.current,doc=this._getDocument();if(this._inShadowRoot=!!(null===(_a=this.context)||void 0===_a?void 0:_a.shadowRoot),(this._activeElement&&!(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_12__.s)(this._root.current,this._activeElement,false)||this._defaultFocusElement&&!(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_12__.s)(this._root.current,this._defaultFocusElement,false))&&(this._activeElement=null,this._defaultFocusElement=null,this._updateTabIndexes()),!this.props.preventFocusRestoration&&doc&&this._lastIndexPath&&(doc.activeElement===doc.body||null===doc.activeElement||doc.activeElement===root)){var elementToFocus=(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.nA)(root,this._lastIndexPath);elementToFocus?(this._setActiveElement(elementToFocus,!0),elementToFocus.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},FocusZone.prototype.componentWillUnmount=function(){delete _allInstances[this._id],this._isInnerZone||(_outerZones.delete(this),this._root.current&&this._root.current.removeEventListener("keydown",FocusZone._onKeyDownCapture,!0)),this._root.current&&this._root.current.removeEventListener("blur",this._onBlur,!0),this._activeElement=null,this._defaultFocusElement=null},FocusZone.prototype.render=function(){var _a,_this=this,tag=(_a=this.props).as,elementType=_a.elementType,rootProps=_a.rootProps,ariaDescribedBy=_a.ariaDescribedBy,ariaLabelledBy=_a.ariaLabelledBy,className=_a.className,divProps=(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_13__.G1)(this.props,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_13__.vt),Tag=tag||elementType||"div";this._evaluateFocusBeforeRender();var theme=(0,_fluentui_style_utilities__WEBPACK_IMPORTED_MODULE_1__.O4)();return react__WEBPACK_IMPORTED_MODULE_0__.createElement(Tag,(0,tslib__WEBPACK_IMPORTED_MODULE_3__.Cl)({"aria-labelledby":ariaLabelledBy,"aria-describedby":ariaDescribedBy},divProps,rootProps,{className:(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_14__.A)((focusZoneStyles||(focusZoneStyles=(0,_fluentui_merge_styles__WEBPACK_IMPORTED_MODULE_2__.Z)({selectors:{":focus":{outline:"none"}}},"ms-FocusZone")),focusZoneStyles),className),ref:this._mergedRef(this.props.elementRef,this._root),"data-focuszone-id":this._id,onKeyDown:function(ev){return _this._onKeyDown(ev,theme)},onFocus:this._onFocus,onMouseDownCapture:this._onMouseDown}),this.props.children)},FocusZone.prototype.focus=function(forceIntoFirstElement,bypassHiddenElements){if(void 0===forceIntoFirstElement&&(forceIntoFirstElement=!1),void 0===bypassHiddenElements&&(bypassHiddenElements=!1),this._root.current){if(!forceIntoFirstElement&&"true"===this._root.current.getAttribute("data-is-focusable")&&this._isInnerZone){var ownerZoneElement=this._getOwnerZone(this._root.current);if(ownerZoneElement!==this._root.current){var ownerZone=_allInstances[ownerZoneElement.getAttribute("data-focuszone-id")];return!!ownerZone&&ownerZone.focusElement(this._root.current)}return!1}if(!forceIntoFirstElement&&this._activeElement&&(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_12__.s)(this._root.current,this._activeElement)&&(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.S0)(this._activeElement,void 0,this._inShadowRoot)&&(!bypassHiddenElements||(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.F2)(this._activeElement)))return this._activeElement.focus(),!0;var firstChild=this._root.current.firstChild;return this.focusElement((0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.eX)(this._root.current,firstChild,!0,void 0,void 0,void 0,void 0,void 0,bypassHiddenElements))}return!1},FocusZone.prototype.focusLast=function(){if(this._root.current){var lastChild=this._root.current&&this._root.current.lastChild;return this.focusElement((0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.yv)(this._root.current,lastChild,!0,!0,!0))}return!1},FocusZone.prototype.focusElement=function(element,forceAlignment){var _a,onBeforeFocus=(_a=this.props).onBeforeFocus,shouldReceiveFocus=_a.shouldReceiveFocus;return!(shouldReceiveFocus&&!shouldReceiveFocus(element)||onBeforeFocus&&!onBeforeFocus(element))&&(!!element&&(this._setActiveElement(element,forceAlignment),this._activeElement&&this._activeElement.focus(),!0))},FocusZone.prototype.setFocusAlignment=function(point){this._focusAlignment=point},Object.defineProperty(FocusZone.prototype,"defaultFocusElement",{get:function(){return this._defaultFocusElement},enumerable:!1,configurable:!0}),Object.defineProperty(FocusZone.prototype,"activeElement",{get:function(){return this._activeElement},enumerable:!1,configurable:!0}),FocusZone.prototype._evaluateFocusBeforeRender=function(){var root=this._root.current,doc=this._getDocument();if(doc){var focusedElement=doc.activeElement;if(focusedElement!==root){var shouldRestoreFocus=(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_12__.s)(root,focusedElement,!1);this._lastIndexPath=shouldRestoreFocus?(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.Ep)(root,focusedElement):void 0}}},FocusZone.prototype._setParkedFocus=function(isParked){var root=this._root.current;root&&this._isParked!==isParked&&(this._isParked=isParked,isParked?(this.props.allowFocusRoot||(this._parkedTabIndex=root.getAttribute("tabindex"),root.setAttribute("tabindex","-1")),root.focus()):this.props.allowFocusRoot||(this._parkedTabIndex?(root.setAttribute("tabindex",this._parkedTabIndex),this._parkedTabIndex=void 0):root.removeAttribute("tabindex")))},FocusZone.prototype._setActiveElement=function(element,forceAlignment){var previousActiveElement=this._activeElement;this._activeElement=element,previousActiveElement&&((0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.HC)(previousActiveElement)&&this._updateTabIndexes(previousActiveElement),previousActiveElement.tabIndex=-1),this._activeElement&&(this._focusAlignment&&!forceAlignment||this._setFocusAlignment(element,!0,!0),this._activeElement.tabIndex=0)},FocusZone.prototype._preventDefaultWhenHandled=function(ev){this.props.preventDefaultWhenHandled&&ev.preventDefault()},FocusZone.prototype._tryInvokeClickForFocusable=function(targetElement,ev){var target=targetElement;if(target===this._root.current)return!1;do{if("BUTTON"===target.tagName||"A"===target.tagName||"INPUT"===target.tagName||"TEXTAREA"===target.tagName||"SUMMARY"===target.tagName)return!1;if(this._isImmediateDescendantOfZone(target)&&"true"===target.getAttribute("data-is-focusable")&&"true"!==target.getAttribute("data-disable-click-on-enter"))return raiseClickFromKeyboardEvent(target,ev),!0;target=(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_6__.P)(target,false)}while(target!==this._root.current);return!1},FocusZone.prototype._getFirstInnerZone=function(rootElement){if(!(rootElement=rootElement||this._activeElement||this._root.current))return null;if((0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.HC)(rootElement))return _allInstances[rootElement.getAttribute("data-focuszone-id")];for(var child=rootElement.firstElementChild;child;){if((0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.HC)(child))return _allInstances[child.getAttribute("data-focuszone-id")];var match=this._getFirstInnerZone(child);if(match)return match;child=child.nextElementSibling}return null},FocusZone.prototype._moveFocus=function(isForward,getDistanceFromCenter,ev,useDefaultWrap){void 0===useDefaultWrap&&(useDefaultWrap=!0);var element=this._activeElement,candidateDistance=-1,candidateElement=void 0,changedFocus=!1,isBidirectional=this.props.direction===_FocusZone_types__WEBPACK_IMPORTED_MODULE_8__.E.bidirectional;if(!element||!this._root.current)return!1;if(this._isElementInput(element)&&!this._shouldInputLoseFocus(element,isForward))return!1;var activeRect=isBidirectional?element.getBoundingClientRect():null;do{if(element=isForward?(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.eX)(this._root.current,element):(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.yv)(this._root.current,element),!isBidirectional){candidateElement=element;break}if(element){var elementDistance=getDistanceFromCenter(activeRect,element.getBoundingClientRect());if(-1===elementDistance&&-1===candidateDistance){candidateElement=element;break}if(elementDistance>-1&&(-1===candidateDistance||elementDistance<candidateDistance)&&(candidateDistance=elementDistance,candidateElement=element),candidateDistance>=0&&elementDistance<0)break}}while(element);if(candidateElement&&candidateElement!==this._activeElement)changedFocus=!0,this.focusElement(candidateElement);else if(this.props.isCircularNavigation&&useDefaultWrap)return isForward?this.focusElement((0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.eX)(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement((0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.yv)(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return changedFocus},FocusZone.prototype._moveFocusDown=function(){var _this=this,targetTop=-1,leftAlignment=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!0,(function(activeRect,targetRect){var distance=-1,targetRectTop=Math.floor(targetRect.top),activeRectBottom=Math.floor(activeRect.bottom);return targetRectTop<activeRectBottom?_this._shouldWrapFocus(_this._activeElement,"data-no-vertical-wrap")?999999999:-999999999:((-1===targetTop&&targetRectTop>=activeRectBottom||targetRectTop===targetTop)&&(targetTop=targetRectTop,distance=leftAlignment>=targetRect.left&&leftAlignment<=targetRect.left+targetRect.width?0:Math.abs(targetRect.left+targetRect.width/2-leftAlignment)),distance)}))&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},FocusZone.prototype._moveFocusUp=function(){var _this=this,targetTop=-1,leftAlignment=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!1,(function(activeRect,targetRect){var distance=-1,targetRectBottom=Math.floor(targetRect.bottom),targetRectTop=Math.floor(targetRect.top),activeRectTop=Math.floor(activeRect.top);return targetRectBottom>activeRectTop?_this._shouldWrapFocus(_this._activeElement,"data-no-vertical-wrap")?999999999:-999999999:((-1===targetTop&&targetRectBottom<=activeRectTop||targetRectTop===targetTop)&&(targetTop=targetRectTop,distance=leftAlignment>=targetRect.left&&leftAlignment<=targetRect.left+targetRect.width?0:Math.abs(targetRect.left+targetRect.width/2-leftAlignment)),distance)}))&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},FocusZone.prototype._moveFocusLeft=function(theme){var _this=this,shouldWrap=this._shouldWrapFocus(this._activeElement,"data-no-horizontal-wrap");return!!this._moveFocus((0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_9__.jI)(theme),(function(activeRect,targetRect){var distance=-1;return((0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_9__.jI)(theme)?parseFloat(targetRect.top.toFixed(3))<parseFloat(activeRect.bottom.toFixed(3)):parseFloat(targetRect.bottom.toFixed(3))>parseFloat(activeRect.top.toFixed(3)))&&targetRect.right<=activeRect.right&&_this.props.direction!==_FocusZone_types__WEBPACK_IMPORTED_MODULE_8__.E.vertical?distance=activeRect.right-targetRect.right:shouldWrap||(distance=-999999999),distance}),void 0,shouldWrap)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},FocusZone.prototype._moveFocusRight=function(theme){var _this=this,shouldWrap=this._shouldWrapFocus(this._activeElement,"data-no-horizontal-wrap");return!!this._moveFocus(!(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_9__.jI)(theme),(function(activeRect,targetRect){var distance=-1;return((0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_9__.jI)(theme)?parseFloat(targetRect.bottom.toFixed(3))>parseFloat(activeRect.top.toFixed(3)):parseFloat(targetRect.top.toFixed(3))<parseFloat(activeRect.bottom.toFixed(3)))&&targetRect.left>=activeRect.left&&_this.props.direction!==_FocusZone_types__WEBPACK_IMPORTED_MODULE_8__.E.vertical?distance=targetRect.left-activeRect.left:shouldWrap||(distance=-999999999),distance}),void 0,shouldWrap)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},FocusZone.prototype._moveFocusPaging=function(isForward,useDefaultWrap){void 0===useDefaultWrap&&(useDefaultWrap=!0);var element=this._activeElement;if(!element||!this._root.current)return!1;if(this._isElementInput(element)&&!this._shouldInputLoseFocus(element,isForward))return!1;var scrollableParent=(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_15__.Hc)(element);if(!scrollableParent)return!1;var candidateDistance=-1,candidateElement=void 0,targetTop=-1,targetBottom=-1,pagesize=scrollableParent.clientHeight,activeRect=element.getBoundingClientRect();do{if(element=isForward?(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.eX)(this._root.current,element):(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.yv)(this._root.current,element)){var targetRect=element.getBoundingClientRect(),targetRectTop=Math.floor(targetRect.top),activeRectBottom=Math.floor(activeRect.bottom),targetRectBottom=Math.floor(targetRect.bottom),activeRectTop=Math.floor(activeRect.top),elementDistance=this._getHorizontalDistanceFromCenter(isForward,activeRect,targetRect);if(isForward&&targetRectTop>activeRectBottom+pagesize||!isForward&&targetRectBottom<activeRectTop-pagesize)break;elementDistance>-1&&(isForward&&targetRectTop>targetTop?(targetTop=targetRectTop,candidateDistance=elementDistance,candidateElement=element):!isForward&&targetRectBottom<targetBottom?(targetBottom=targetRectBottom,candidateDistance=elementDistance,candidateElement=element):(-1===candidateDistance||elementDistance<=candidateDistance)&&(candidateDistance=elementDistance,candidateElement=element))}}while(element);var changedFocus=!1;if(candidateElement&&candidateElement!==this._activeElement)changedFocus=!0,this.focusElement(candidateElement),this._setFocusAlignment(candidateElement,!1,!0);else if(this.props.isCircularNavigation&&useDefaultWrap)return isForward?this.focusElement((0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.eX)(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement((0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.yv)(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return changedFocus},FocusZone.prototype._setFocusAlignment=function(element,isHorizontal,isVertical){if(this.props.direction===_FocusZone_types__WEBPACK_IMPORTED_MODULE_8__.E.bidirectional&&(!this._focusAlignment||isHorizontal||isVertical)){var rect=element.getBoundingClientRect(),left=rect.left+rect.width/2,top_1=rect.top+rect.height/2;this._focusAlignment||(this._focusAlignment={left,top:top_1}),isHorizontal&&(this._focusAlignment.left=left),isVertical&&(this._focusAlignment.top=top_1)}},FocusZone.prototype._isImmediateDescendantOfZone=function(element){return this._getOwnerZone(element)===this._root.current},FocusZone.prototype._getOwnerZone=function(element){for(var parentElement=(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_6__.P)(element,false);parentElement&&parentElement!==this._root.current&&parentElement!==this._getDocument().body;){if((0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.HC)(parentElement))return parentElement;parentElement=(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_6__.P)(parentElement,false)}return parentElement},FocusZone.prototype._updateTabIndexes=function(element){!this._activeElement&&this.props.defaultTabbableElement&&"function"==typeof this.props.defaultTabbableElement&&(this._activeElement=this.props.defaultTabbableElement(this._root.current)),!element&&this._root.current&&(this._defaultFocusElement=null,element=this._root.current,this._activeElement&&!(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_12__.s)(element,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.S0)(this._activeElement,void 0,this._inShadowRoot)&&(this._activeElement=null);for(var childNodes=element&&element.children,childIndex=0;childNodes&&childIndex<childNodes.length;childIndex++){var child=childNodes[childIndex];(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.HC)(child)?"true"===child.getAttribute("data-is-focusable")&&(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==child?"-1"!==child.getAttribute("tabindex")&&child.setAttribute("tabindex","-1"):(this._defaultFocusElement=child,"0"!==child.getAttribute("tabindex")&&child.setAttribute("tabindex","0"))):(child.getAttribute&&"false"===child.getAttribute("data-is-focusable")&&child.setAttribute("tabindex","-1"),(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__.S0)(child,void 0,this._inShadowRoot)?this.props.disabled?child.setAttribute("tabindex","-1"):this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==child?"-1"!==child.getAttribute("tabindex")&&child.setAttribute("tabindex","-1"):(this._defaultFocusElement=child,"0"!==child.getAttribute("tabindex")&&child.setAttribute("tabindex","0")):"svg"===child.tagName&&"false"!==child.getAttribute("focusable")&&child.setAttribute("focusable","false")),this._updateTabIndexes(child)}},FocusZone.prototype._isContentEditableElement=function(element){return element&&"true"===element.getAttribute("contenteditable")},FocusZone.prototype._isElementInput=function(element){return!(!element||!element.tagName||"input"!==element.tagName.toLowerCase()&&"textarea"!==element.tagName.toLowerCase())},FocusZone.prototype._shouldInputLoseFocus=function(element,isForward){if(!this._processingTabKey&&element&&element.type&&ALLOWED_INPUT_TYPES.indexOf(element.type.toLowerCase())>-1){var selectionStart=element.selectionStart,isRangeSelected=selectionStart!==element.selectionEnd,inputValue=element.value,isReadonly=element.readOnly;if(isRangeSelected||selectionStart>0&&!isForward&&!isReadonly||selectionStart!==inputValue.length&&isForward&&!isReadonly||this.props.handleTabKey&&(!this.props.shouldInputLoseFocusOnArrowKey||!this.props.shouldInputLoseFocusOnArrowKey(element)))return!1}return!0},FocusZone.prototype._shouldWrapFocus=function(element,noWrapDataAttribute){return!this.props.checkForNoWrap||(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_5__._l)(element,noWrapDataAttribute)},FocusZone.prototype._portalContainsElement=function(element){return element&&!!this._root.current&&(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_16__.s)(element,this._root.current)},FocusZone.prototype._getDocument=function(){return(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_17__.Y)(this._root.current)},FocusZone.contextType=_fluentui_utilities__WEBPACK_IMPORTED_MODULE_18__.c,FocusZone.defaultProps={isCircularNavigation:!1,direction:_FocusZone_types__WEBPACK_IMPORTED_MODULE_8__.E.bidirectional,shouldRaiseClicks:!0,"data-tabster":'{"uncontrolled": {}}'},FocusZone}(react__WEBPACK_IMPORTED_MODULE_0__.Component)},"./node_modules/@fluentui/react-focus/lib/components/FocusZone/FocusZone.types.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{E:()=>FocusZoneDirection,l:()=>FocusZoneTabbableElements});var FocusZoneDirection,FocusZoneTabbableElements={none:0,all:1,inputOnly:2};!function(FocusZoneDirection){FocusZoneDirection[FocusZoneDirection.vertical=0]="vertical",FocusZoneDirection[FocusZoneDirection.horizontal=1]="horizontal",FocusZoneDirection[FocusZoneDirection.bidirectional=2]="bidirectional",FocusZoneDirection[FocusZoneDirection.domOrder=3]="domOrder"}(FocusZoneDirection||(FocusZoneDirection={}))},"./node_modules/@fluentui/react-hooks/lib/useAsync.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Y:()=>useAsync});var _fluentui_utilities__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@fluentui/utilities/lib/Async.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function useAsync(){var asyncRef=react__WEBPACK_IMPORTED_MODULE_0__.useRef();return asyncRef.current||(asyncRef.current=new _fluentui_utilities__WEBPACK_IMPORTED_MODULE_1__.j),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){return function(){var _a;null===(_a=asyncRef.current)||void 0===_a||_a.dispose(),asyncRef.current=void 0}}),[]),asyncRef.current}},"./node_modules/@fluentui/react-hooks/lib/useConst.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{d:()=>useConst});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function useConst(initialValue){var ref=react__WEBPACK_IMPORTED_MODULE_0__.useRef();return void 0===ref.current&&(ref.current={value:"function"==typeof initialValue?initialValue():initialValue}),ref.current.value}},"./node_modules/@fluentui/react-hooks/lib/useId.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{B:()=>useId});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_fluentui_utilities__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@fluentui/utilities/lib/getId.js");function useId(prefix,providedId){var ref=react__WEBPACK_IMPORTED_MODULE_0__.useRef(providedId);return ref.current||(ref.current=(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_1__.O)(prefix)),ref.current}},"./node_modules/@fluentui/react-hooks/lib/useOnEvent.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{x:()=>useOnEvent});var _fluentui_utilities__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@fluentui/utilities/lib/dom/on.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function useOnEvent(element,eventName,callback,useCapture){var callbackRef=react__WEBPACK_IMPORTED_MODULE_0__.useRef(callback);callbackRef.current=callback,react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){var actualElement=element&&"current"in element?element.current:element;if(actualElement&&actualElement.addEventListener)return(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_1__.on)(actualElement,eventName,(function(ev){return callbackRef.current(ev)}),useCapture)}),[element,eventName,useCapture])}},"./node_modules/@fluentui/react-hooks/lib/usePrevious.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>usePrevious});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js");function usePrevious(value){var ref=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((function(){ref.current=value})),ref.current}},"./node_modules/@fluentui/react-hooks/lib/useTarget.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{P:()=>useTarget});var _fluentui_utilities__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@fluentui/utilities/lib/dom/getDocument.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_fluentui_react_window_provider__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@fluentui/react-window-provider/lib/WindowProvider.js");function useTarget(target,hostElement){var _a,_b,_c,previousTargetProp=react__WEBPACK_IMPORTED_MODULE_0__.useRef(),targetRef=react__WEBPACK_IMPORTED_MODULE_0__.useRef(null),targetWindow=(0,_fluentui_react_window_provider__WEBPACK_IMPORTED_MODULE_1__.ox)();if(!target||target!==previousTargetProp.current||"string"==typeof target){var currentElement=null==hostElement?void 0:hostElement.current;if(target)if("string"==typeof target)if(null===(_a=null==currentElement?void 0:currentElement.getRootNode())||void 0===_a?void 0:_a.host)targetRef.current=null!==(_c=null===(_b=null==currentElement?void 0:currentElement.getRootNode())||void 0===_b?void 0:_b.querySelector(target))&&void 0!==_c?_c:null;else{var currentDoc=(0,_fluentui_utilities__WEBPACK_IMPORTED_MODULE_2__.Y)(currentElement);targetRef.current=currentDoc?currentDoc.querySelector(target):null}else targetRef.current="stopPropagation"in target||"getBoundingClientRect"in target?target:"current"in target?target.current:target;previousTargetProp.current=target}return[targetRef,targetWindow]}},"./node_modules/@fluentui/react-window-provider/lib/WindowProvider.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{ZY:()=>useDocument,_0:()=>WindowContext,ox:()=>useWindow});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),WindowContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext({window:"object"==typeof window?window:void 0}),useWindow=function(){return react__WEBPACK_IMPORTED_MODULE_0__.useContext(WindowContext).window},useDocument=function(){var _a;return null===(_a=react__WEBPACK_IMPORTED_MODULE_0__.useContext(WindowContext).window)||void 0===_a?void 0:_a.document}},"./node_modules/@fluentui/react/lib/common/DirectionalHint.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{A:()=>DirectionalHint});var DirectionalHint={topLeftEdge:0,topCenter:1,topRightEdge:2,topAutoEdge:3,bottomLeftEdge:4,bottomCenter:5,bottomRightEdge:6,bottomAutoEdge:7,leftTopEdge:8,leftCenter:9,leftBottomEdge:10,rightTopEdge:11,rightCenter:12,rightBottomEdge:13}},"./node_modules/@fluentui/react/lib/components/Callout/Callout.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{P:()=>Callout});var _a,tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs"),react=__webpack_require__("./node_modules/react/index.js"),styled=__webpack_require__("./node_modules/@fluentui/utilities/lib/styled.js"),DirectionalHint=__webpack_require__("./node_modules/@fluentui/react/lib/common/DirectionalHint.js"),lib_focus=__webpack_require__("./node_modules/@fluentui/utilities/lib/focus.js"),elementContains=__webpack_require__("./node_modules/@fluentui/dom-utilities/lib/elementContains.js"),on=__webpack_require__("./node_modules/@fluentui/utilities/lib/dom/on.js"),getPropsWithDefaults=__webpack_require__("./node_modules/@fluentui/utilities/lib/getPropsWithDefaults.js"),properties=__webpack_require__("./node_modules/@fluentui/utilities/lib/properties.js"),css=__webpack_require__("./node_modules/@fluentui/utilities/lib/css.js"),object=__webpack_require__("./node_modules/@fluentui/utilities/lib/object.js"),rtl=__webpack_require__("./node_modules/@fluentui/utilities/lib/rtl.js"),dom_getWindow=__webpack_require__("./node_modules/@fluentui/utilities/lib/dom/getWindow.js"),lib_scroll=__webpack_require__("./node_modules/@fluentui/utilities/lib/scroll.js"),positioning_types=__webpack_require__("./node_modules/@fluentui/react/lib/utilities/positioning/positioning.types.js"),Rectangle_Rectangle=function(){function Rectangle(left,right,top,bottom){void 0===left&&(left=0),void 0===right&&(right=0),void 0===top&&(top=0),void 0===bottom&&(bottom=0),this.top=top,this.bottom=bottom,this.left=left,this.right=right}return Object.defineProperty(Rectangle.prototype,"width",{get:function(){return this.right-this.left},enumerable:!1,configurable:!0}),Object.defineProperty(Rectangle.prototype,"height",{get:function(){return this.bottom-this.top},enumerable:!1,configurable:!0}),Rectangle.prototype.equals=function(rect){return parseFloat(this.top.toFixed(4))===parseFloat(rect.top.toFixed(4))&&parseFloat(this.bottom.toFixed(4))===parseFloat(rect.bottom.toFixed(4))&&parseFloat(this.left.toFixed(4))===parseFloat(rect.left.toFixed(4))&&parseFloat(this.right.toFixed(4))===parseFloat(rect.right.toFixed(4))},Rectangle}();function _createPositionData(targetEdge,alignmentEdge,isAuto){return{targetEdge,alignmentEdge,isAuto}}var DirectionalDictionary=((_a={})[DirectionalHint.A.topLeftEdge]=_createPositionData(positioning_types.x.top,positioning_types.x.left),_a[DirectionalHint.A.topCenter]=_createPositionData(positioning_types.x.top),_a[DirectionalHint.A.topRightEdge]=_createPositionData(positioning_types.x.top,positioning_types.x.right),_a[DirectionalHint.A.topAutoEdge]=_createPositionData(positioning_types.x.top,void 0,!0),_a[DirectionalHint.A.bottomLeftEdge]=_createPositionData(positioning_types.x.bottom,positioning_types.x.left),_a[DirectionalHint.A.bottomCenter]=_createPositionData(positioning_types.x.bottom),_a[DirectionalHint.A.bottomRightEdge]=_createPositionData(positioning_types.x.bottom,positioning_types.x.right),_a[DirectionalHint.A.bottomAutoEdge]=_createPositionData(positioning_types.x.bottom,void 0,!0),_a[DirectionalHint.A.leftTopEdge]=_createPositionData(positioning_types.x.left,positioning_types.x.top),_a[DirectionalHint.A.leftCenter]=_createPositionData(positioning_types.x.left),_a[DirectionalHint.A.leftBottomEdge]=_createPositionData(positioning_types.x.left,positioning_types.x.bottom),_a[DirectionalHint.A.rightTopEdge]=_createPositionData(positioning_types.x.right,positioning_types.x.top),_a[DirectionalHint.A.rightCenter]=_createPositionData(positioning_types.x.right),_a[DirectionalHint.A.rightBottomEdge]=_createPositionData(positioning_types.x.right,positioning_types.x.bottom),_a);function _isRectangleWithinBounds(rect,boundingRect){return!(rect.top<boundingRect.top)&&(!(rect.bottom>boundingRect.bottom)&&(!(rect.left<boundingRect.left)&&!(rect.right>boundingRect.right)))}function _getOutOfBoundsEdges(rect,boundingRect){var outOfBounds=[];return rect.top<boundingRect.top&&outOfBounds.push(positioning_types.x.top),rect.bottom>boundingRect.bottom&&outOfBounds.push(positioning_types.x.bottom),rect.left<boundingRect.left&&outOfBounds.push(positioning_types.x.left),rect.right>boundingRect.right&&outOfBounds.push(positioning_types.x.right),outOfBounds}function _getEdgeValue(rect,edge){return rect[positioning_types.x[edge]]}function _setEdgeValue(rect,edge,value){return rect[positioning_types.x[edge]]=value,rect}function _getCenterValue(rect,edge){var edges=_getFlankingEdges(edge);return(_getEdgeValue(rect,edges.positiveEdge)+_getEdgeValue(rect,edges.negativeEdge))/2}function _getRelativeEdgeValue(edge,value){return edge>0?value:-1*value}function _getRelativeRectEdgeValue(edge,rect){return _getRelativeEdgeValue(edge,_getEdgeValue(rect,edge))}function _getRelativeEdgeDifference(rect,hostRect,edge){return _getRelativeEdgeValue(edge,_getEdgeValue(rect,edge)-_getEdgeValue(hostRect,edge))}function _moveEdge(rect,edge,newValue,maintainSize){void 0===maintainSize&&(maintainSize=!0);var difference=_getEdgeValue(rect,edge)-newValue,returnRect=_setEdgeValue(rect,edge,newValue);return maintainSize&&(returnRect=_setEdgeValue(rect,-1*edge,_getEdgeValue(rect,-1*edge)-difference)),returnRect}function _alignEdges(rect,target,edge,gap){return void 0===gap&&(gap=0),_moveEdge(rect,edge,_getEdgeValue(target,edge)+_getRelativeEdgeValue(edge,gap))}function _isEdgeInBounds(rect,bounds,edge){return _getRelativeRectEdgeValue(edge,rect)>_getRelativeRectEdgeValue(edge,bounds)}function _getOutOfBoundsDegree(rect,bounds){for(var total=0,_i=0,breakingEdges_1=_getOutOfBoundsEdges(rect,bounds);_i<breakingEdges_1.length;_i++){var edge=breakingEdges_1[_i];total+=Math.pow(_getRelativeEdgeDifference(rect,bounds,edge),2)}return total}function _canScrollResizeToFitEdge(target,bounding,targetEdge,minimumScrollResizeHeight){return void 0===minimumScrollResizeHeight&&(minimumScrollResizeHeight=200),(targetEdge===positioning_types.x.bottom||targetEdge===positioning_types.x.top)&&_getRelativeEdgeDifference(target,bounding,targetEdge)>=minimumScrollResizeHeight}function _adjustFitWithinBounds(element,target,bounding,positionData,shouldScroll,minimumScrollResizeHeight,gap,directionalHintFixed,coverTarget){void 0===shouldScroll&&(shouldScroll=!1),void 0===gap&&(gap=0);var alignmentEdge=positionData.alignmentEdge,alignTargetEdge=positionData.alignTargetEdge,elementEstimate={elementRectangle:element,targetEdge:positionData.targetEdge,alignmentEdge};directionalHintFixed||coverTarget||(elementEstimate=function _flipToFit(rect,target,bounding,positionData,shouldScroll,minimumScrollResizeHeight,gap){void 0===shouldScroll&&(shouldScroll=!1),void 0===gap&&(gap=0);var directions=[positioning_types.x.left,positioning_types.x.right,positioning_types.x.bottom,positioning_types.x.top];(0,rtl.jI)()&&(directions[0]*=-1,directions[1]*=-1);for(var oobDegree,currentEstimate=rect,currentEdge=positionData.targetEdge,currentAlignment=positionData.alignmentEdge,bestEdge=currentEdge,bestAlignment=currentAlignment,i=0;i<4;i++){if(_isEdgeInBounds(currentEstimate,bounding,currentEdge))return{elementRectangle:currentEstimate,targetEdge:currentEdge,alignmentEdge:currentAlignment};if(shouldScroll&&_canScrollResizeToFitEdge(target,bounding,currentEdge,minimumScrollResizeHeight)){switch(currentEdge){case positioning_types.x.bottom:currentEstimate.bottom=bounding.bottom;break;case positioning_types.x.top:currentEstimate.top=bounding.top}return{elementRectangle:currentEstimate,targetEdge:currentEdge,alignmentEdge:currentAlignment,forcedInBounds:!0}}var currentOOBDegree=_getOutOfBoundsDegree(currentEstimate,bounding);(!oobDegree||currentOOBDegree<oobDegree)&&(oobDegree=currentOOBDegree,bestEdge=currentEdge,bestAlignment=currentAlignment),directions.splice(directions.indexOf(currentEdge),1),directions.length>0&&(directions.indexOf(-1*currentEdge)>-1?currentEdge*=-1:(currentAlignment=currentEdge,currentEdge=directions.slice(-1)[0]),currentEstimate=_estimatePosition(rect,target,{targetEdge:currentEdge,alignmentEdge:currentAlignment},gap))}return{elementRectangle:currentEstimate=_estimatePosition(rect,target,{targetEdge:bestEdge,alignmentEdge:bestAlignment},gap),targetEdge:bestEdge,alignmentEdge:bestAlignment}}(element,target,bounding,positionData,shouldScroll,minimumScrollResizeHeight,gap));var outOfBounds=_getOutOfBoundsEdges(elementEstimate.elementRectangle,bounding),fixedEdge=directionalHintFixed?-elementEstimate.targetEdge:void 0;if(outOfBounds.length>0)if(alignTargetEdge)if(elementEstimate.alignmentEdge&&outOfBounds.indexOf(-1*elementEstimate.alignmentEdge)>-1){var flippedElementEstimate=function _flipAlignmentEdge(elementEstimate,target,gap,coverTarget){var alignmentEdge=elementEstimate.alignmentEdge,targetEdge=elementEstimate.targetEdge,oppositeEdge=-1*alignmentEdge;return{elementRectangle:_estimatePosition(elementEstimate.elementRectangle,target,{targetEdge,alignmentEdge:oppositeEdge},gap,coverTarget),targetEdge,alignmentEdge:oppositeEdge}}(elementEstimate,target,gap,coverTarget);if(_isRectangleWithinBounds(flippedElementEstimate.elementRectangle,bounding))return flippedElementEstimate;elementEstimate=_alignOutOfBoundsEdges(_getOutOfBoundsEdges(flippedElementEstimate.elementRectangle,bounding),elementEstimate,bounding,fixedEdge)}else elementEstimate=_alignOutOfBoundsEdges(outOfBounds,elementEstimate,bounding,fixedEdge);else elementEstimate=_alignOutOfBoundsEdges(outOfBounds,elementEstimate,bounding,fixedEdge);return elementEstimate}function _alignOutOfBoundsEdges(outOfBoundsEdges,elementEstimate,bounding,preserveEdge){for(var _i=0,outOfBoundsEdges_1=outOfBoundsEdges;_i<outOfBoundsEdges_1.length;_i++){var direction=outOfBoundsEdges_1[_i],edgeAttempt=void 0;if(preserveEdge&&preserveEdge===-1*direction)edgeAttempt=_moveEdge(elementEstimate.elementRectangle,direction,_getEdgeValue(bounding,direction),!1),elementEstimate.forcedInBounds=!0;else _isEdgeInBounds(edgeAttempt=_alignEdges(elementEstimate.elementRectangle,bounding,direction),bounding,-1*direction)||(edgeAttempt=_moveEdge(edgeAttempt,-1*direction,_getEdgeValue(bounding,-1*direction),!1),elementEstimate.forcedInBounds=!0);elementEstimate.elementRectangle=edgeAttempt}return elementEstimate}function _centerEdgeToPoint(rect,edge,point){var positiveEdge=_getFlankingEdges(edge).positiveEdge;return _moveEdge(rect,positiveEdge,point-(_getCenterValue(rect,edge)-_getEdgeValue(rect,positiveEdge)))}function _estimatePosition(elementToPosition,target,positionData,gap,coverTarget){void 0===gap&&(gap=0);var estimatedElementPosition=new Rectangle_Rectangle(elementToPosition.left,elementToPosition.right,elementToPosition.top,elementToPosition.bottom),alignmentEdge=positionData.alignmentEdge,targetEdge=positionData.targetEdge,elementEdge=coverTarget?targetEdge:-1*targetEdge;(estimatedElementPosition=coverTarget?_alignEdges(estimatedElementPosition,target,targetEdge,gap):function _alignOppositeEdges(rect,target,targetEdge,gap){void 0===gap&&(gap=0);var adjustedGap=_getRelativeEdgeValue(-1*targetEdge,gap);return _moveEdge(rect,-1*targetEdge,_getEdgeValue(target,targetEdge)+adjustedGap)}(estimatedElementPosition,target,targetEdge,gap),alignmentEdge)?estimatedElementPosition=_alignEdges(estimatedElementPosition,target,alignmentEdge):estimatedElementPosition=_centerEdgeToPoint(estimatedElementPosition,elementEdge,_getCenterValue(target,targetEdge));return estimatedElementPosition}function _getFlankingEdges(edge){return edge===positioning_types.x.top||edge===positioning_types.x.bottom?{positiveEdge:positioning_types.x.left,negativeEdge:positioning_types.x.right}:{positiveEdge:positioning_types.x.top,negativeEdge:positioning_types.x.bottom}}function _finalizeReturnEdge(elementRectangle,returnEdge,bounds){return bounds&&Math.abs(_getRelativeEdgeDifference(elementRectangle,bounds,returnEdge))>Math.abs(_getRelativeEdgeDifference(elementRectangle,bounds,-1*returnEdge))?-1*returnEdge:returnEdge}function _finalizeElementPosition(elementRectangle,hostElement,targetEdge,bounds,alignmentEdge,coverTarget,doNotFinalizeReturnEdge,forceWithinBounds){var returnValue={},hostRect=_getRectangleFromElement(hostElement),elementEdge=coverTarget?targetEdge:-1*targetEdge,returnEdge=alignmentEdge||_getFlankingEdges(targetEdge).positiveEdge;return doNotFinalizeReturnEdge&&!function _isEdgeOnBounds(elementRectangle,edge,bounds){return void 0!==bounds&&_getEdgeValue(elementRectangle,edge)===_getEdgeValue(bounds,edge)}(elementRectangle,function getOppositeEdge(edge){return-1*edge}(returnEdge),bounds)||(returnEdge=_finalizeReturnEdge(elementRectangle,returnEdge,bounds)),returnValue[positioning_types.x[elementEdge]]=_getRelativeEdgeDifference(elementRectangle,hostRect,elementEdge),returnValue[positioning_types.x[returnEdge]]=_getRelativeEdgeDifference(elementRectangle,hostRect,returnEdge),forceWithinBounds&&(returnValue[positioning_types.x[-1*elementEdge]]=_getRelativeEdgeDifference(elementRectangle,hostRect,-1*elementEdge),returnValue[positioning_types.x[-1*returnEdge]]=_getRelativeEdgeDifference(elementRectangle,hostRect,-1*returnEdge)),returnValue}function _calculateActualBeakWidthInPixels(beakWidth){return Math.sqrt(beakWidth*beakWidth*2)}function _getPositionData(directionalHint,directionalHintForRTL,previousPositions){if(void 0===directionalHint&&(directionalHint=DirectionalHint.A.bottomAutoEdge),previousPositions)return{alignmentEdge:previousPositions.alignmentEdge,isAuto:previousPositions.isAuto,targetEdge:previousPositions.targetEdge};var positionInformation=(0,tslib_es6.Cl)({},DirectionalDictionary[directionalHint]);return(0,rtl.jI)()?(positionInformation.alignmentEdge&&positionInformation.alignmentEdge%2==0&&(positionInformation.alignmentEdge=-1*positionInformation.alignmentEdge),void 0!==directionalHintForRTL?DirectionalDictionary[directionalHintForRTL]:positionInformation):positionInformation}function getClosestEdge(targetEdge,target,boundingRect){var targetCenter=_getCenterValue(target,targetEdge),boundingCenter=_getCenterValue(boundingRect,targetEdge),_a=_getFlankingEdges(targetEdge),positiveEdge=_a.positiveEdge,negativeEdge=_a.negativeEdge;return targetCenter<=boundingCenter?positiveEdge:negativeEdge}function _positionElementWithinBounds(elementToPosition,target,bounding,positionData,gap,shouldScroll,minimumScrollResizeHeight,directionalHintFixed,coverTarget){void 0===shouldScroll&&(shouldScroll=!1);var estimatedElementPosition=_estimatePosition(elementToPosition,target,positionData,gap,coverTarget);return _isRectangleWithinBounds(estimatedElementPosition,bounding)?{elementRectangle:estimatedElementPosition,targetEdge:positionData.targetEdge,alignmentEdge:positionData.alignmentEdge}:_adjustFitWithinBounds(estimatedElementPosition,target,bounding,positionData,shouldScroll,minimumScrollResizeHeight,gap,directionalHintFixed,coverTarget)}function _finalizeBeakPosition(elementPosition,positionedBeak,bounds){var targetEdge=-1*elementPosition.targetEdge,actualElement=new Rectangle_Rectangle(0,elementPosition.elementRectangle.width,0,elementPosition.elementRectangle.height),returnValue={},returnEdge=_finalizeReturnEdge(elementPosition.elementRectangle,elementPosition.alignmentEdge?elementPosition.alignmentEdge:_getFlankingEdges(targetEdge).positiveEdge,bounds),showBeak=_getRelativeEdgeDifference(elementPosition.elementRectangle,elementPosition.targetRectangle,targetEdge)>Math.abs(_getEdgeValue(positionedBeak,targetEdge));return returnValue[positioning_types.x[targetEdge]]=_getEdgeValue(positionedBeak,targetEdge),returnValue[positioning_types.x[returnEdge]]=_getRelativeEdgeDifference(positionedBeak,actualElement,returnEdge),{elementPosition:(0,tslib_es6.Cl)({},returnValue),closestEdge:getClosestEdge(elementPosition.targetEdge,positionedBeak,actualElement),targetEdge,hideBeak:!showBeak}}function _positionBeak(beakWidth,elementPosition){var target=elementPosition.targetRectangle,_a=_getFlankingEdges(elementPosition.targetEdge),positiveEdge=_a.positiveEdge,negativeEdge=_a.negativeEdge,beakTargetPoint=_getCenterValue(target,elementPosition.targetEdge),elementBounds=new Rectangle_Rectangle(beakWidth/2,elementPosition.elementRectangle.width-beakWidth/2,beakWidth/2,elementPosition.elementRectangle.height-beakWidth/2),beakPosition=new Rectangle_Rectangle(0,beakWidth,0,beakWidth);return _isEdgeInBounds(beakPosition=_centerEdgeToPoint(beakPosition=_moveEdge(beakPosition,-1*elementPosition.targetEdge,-beakWidth/2),-1*elementPosition.targetEdge,beakTargetPoint-_getRelativeRectEdgeValue(positiveEdge,elementPosition.elementRectangle)),elementBounds,positiveEdge)?_isEdgeInBounds(beakPosition,elementBounds,negativeEdge)||(beakPosition=_alignEdges(beakPosition,elementBounds,negativeEdge)):beakPosition=_alignEdges(beakPosition,elementBounds,positiveEdge),beakPosition}function _getRectangleFromElement(element){var clientRect=element.getBoundingClientRect();return new Rectangle_Rectangle(clientRect.left,clientRect.right,clientRect.top,clientRect.bottom)}function _getRectangleFromIRect(rect){return new Rectangle_Rectangle(rect.left,rect.right,rect.top,rect.bottom)}function _positionElementRelative(props,elementToPosition,boundingRect,previousPositions,shouldScroll,minimumScrollResizeHeight){void 0===shouldScroll&&(shouldScroll=!1);var gap=props.gapSpace?props.gapSpace:0,targetRect=function _getTargetRect(bounds,target){var targetRectangle;if(target){if(target.preventDefault){var ev=target;targetRectangle=new Rectangle_Rectangle(ev.clientX,ev.clientX,ev.clientY,ev.clientY)}else if(target.getBoundingClientRect)targetRectangle=_getRectangleFromElement(target);else{var rectOrPoint=target,left=rectOrPoint.left||rectOrPoint.x,top_1=rectOrPoint.top||rectOrPoint.y,right=rectOrPoint.right||left,bottom=rectOrPoint.bottom||top_1;targetRectangle=new Rectangle_Rectangle(left,right,top_1,bottom)}if(!_isRectangleWithinBounds(targetRectangle,bounds))for(var _i=0,outOfBounds_1=_getOutOfBoundsEdges(targetRectangle,bounds);_i<outOfBounds_1.length;_i++){var direction=outOfBounds_1[_i];targetRectangle[positioning_types.x[direction]]=bounds[positioning_types.x[direction]]}}else targetRectangle=new Rectangle_Rectangle(0,0,0,0);return targetRectangle}(boundingRect,props.target),positionData=function _getAlignmentData(positionData,target,boundingRect,coverTarget,alignTargetEdge){return positionData.isAuto&&(positionData.alignmentEdge=getClosestEdge(positionData.targetEdge,target,boundingRect)),positionData.alignTargetEdge=alignTargetEdge,positionData}(_getPositionData(props.directionalHint,props.directionalHintForRTL,previousPositions),targetRect,boundingRect,props.coverTarget,props.alignTargetEdge),positionedElement=_positionElementWithinBounds(_getRectangleFromElement(elementToPosition),targetRect,boundingRect,positionData,gap,shouldScroll,minimumScrollResizeHeight,props.directionalHintFixed,props.coverTarget);return(0,tslib_es6.Cl)((0,tslib_es6.Cl)({},positionedElement),{targetRectangle:targetRect})}function _finalizePositionData(positionedElement,hostElement,bounds,coverTarget,doNotFinalizeReturnEdge){return{elementPosition:_finalizeElementPosition(positionedElement.elementRectangle,hostElement,positionedElement.targetEdge,bounds,positionedElement.alignmentEdge,coverTarget,doNotFinalizeReturnEdge,positionedElement.forcedInBounds),targetEdge:positionedElement.targetEdge,alignmentEdge:positionedElement.alignmentEdge}}function _calculateGapSpace(isBeakVisible,beakWidth,gapSpace){return void 0===beakWidth&&(beakWidth=0),void 0===gapSpace&&(gapSpace=0),_calculateActualBeakWidthInPixels(isBeakVisible?beakWidth:0)/2+gapSpace}function _positionCallout(props,hostElement,callout,previousPositions,shouldScroll,minimumScrollResizeHeight,doNotFinalizeReturnEdge,win){void 0===shouldScroll&&(shouldScroll=!1);var theWin=null!=win?win:(0,dom_getWindow.z)(),beakWidth=props.isBeakVisible&&props.beakWidth||0,gap=_calculateGapSpace(props.isBeakVisible,props.beakWidth,props.gapSpace),positionProps=props;positionProps.gapSpace=gap;var boundingRect=props.bounds?_getRectangleFromIRect(props.bounds):new Rectangle_Rectangle(0,theWin.innerWidth-(0,lib_scroll.XJ)(),0,theWin.innerHeight),positionedElement=_positionElementRelative(positionProps,callout,boundingRect,previousPositions,shouldScroll,minimumScrollResizeHeight),finalizedBeakPosition=_finalizeBeakPosition(positionedElement,_positionBeak(beakWidth,positionedElement),boundingRect);return(0,tslib_es6.Cl)((0,tslib_es6.Cl)({},_finalizePositionData(positionedElement,hostElement,boundingRect,props.coverTarget,doNotFinalizeReturnEdge)),{beakPosition:finalizedBeakPosition})}function _getRectangleFromTarget(target){var _a,_b,_c,_d,mouseTarget=target,elementTarget=target,rectOrPointTarget=target,left=null!==(_a=rectOrPointTarget.left)&&void 0!==_a?_a:rectOrPointTarget.x,top=null!==(_b=rectOrPointTarget.top)&&void 0!==_b?_b:rectOrPointTarget.y,right=null!==(_c=rectOrPointTarget.right)&&void 0!==_c?_c:left,bottom=null!==(_d=rectOrPointTarget.bottom)&&void 0!==_d?_d:top;return mouseTarget.stopPropagation?new Rectangle_Rectangle(mouseTarget.clientX,mouseTarget.clientX,mouseTarget.clientY,mouseTarget.clientY):void 0!==left&&void 0!==top?new Rectangle_Rectangle(left,right,top,bottom):_getRectangleFromElement(elementTarget)}function positionCard(props,hostElement,elementToPosition,previousPositions,win){return function _positionCard(props,hostElement,callout,previousPositions,win){return _positionCallout(props,hostElement,callout,previousPositions,!1,void 0,!0,null!=win?win:(0,dom_getWindow.z)())}(props,hostElement,elementToPosition,previousPositions,win)}var CalloutContent_base_a,Popup=__webpack_require__("./node_modules/@fluentui/react/lib/components/Popup/Popup.js"),classNamesFunction=__webpack_require__("./node_modules/@fluentui/utilities/lib/classNamesFunction.js"),lib=__webpack_require__("./node_modules/@fluentui/style-utilities/lib/index.js"),useAsync=__webpack_require__("./node_modules/@fluentui/react-hooks/lib/useAsync.js"),useOnEvent=__webpack_require__("./node_modules/@fluentui/react-hooks/lib/useOnEvent.js"),useConst=__webpack_require__("./node_modules/@fluentui/react-hooks/lib/useConst.js"),useMergedRefs=__webpack_require__("./node_modules/@fluentui/react-hooks/lib/useMergedRefs.js"),useTarget=__webpack_require__("./node_modules/@fluentui/react-hooks/lib/useTarget.js"),dom=__webpack_require__("./node_modules/@fluentui/react/lib/utilities/dom.js"),ANIMATIONS=((CalloutContent_base_a={})[positioning_types.x.top]=lib.lw.slideUpIn10,CalloutContent_base_a[positioning_types.x.bottom]=lib.lw.slideDownIn10,CalloutContent_base_a[positioning_types.x.left]=lib.lw.slideLeftIn10,CalloutContent_base_a[positioning_types.x.right]=lib.lw.slideRightIn10,CalloutContent_base_a),BEAK_ORIGIN_POSITION_top=0,BEAK_ORIGIN_POSITION_left=0,OFF_SCREEN_STYLE={opacity:0,filter:"opacity(0)",pointerEvents:"none"},ARIA_ROLE_ATTRIBUTES=["role","aria-roledescription"],DEFAULT_PROPS={preventDismissOnLostFocus:!1,preventDismissOnScroll:!1,preventDismissOnResize:!1,isBeakVisible:!0,beakWidth:16,gapSpace:0,minPagePadding:8,directionalHint:DirectionalHint.A.bottomAutoEdge},getClassNames=(0,classNamesFunction.Z)({disableCaching:!0});function useMaxHeight(_a,getBounds,targetRef,positions){var _b,calloutMaxHeight=_a.calloutMaxHeight,finalHeight=_a.finalHeight,directionalHint=_a.directionalHint,directionalHintFixed=_a.directionalHintFixed,hidden=_a.hidden,gapSpace=_a.gapSpace,beakWidth=_a.beakWidth,isBeakVisible=_a.isBeakVisible,coverTarget=_a.coverTarget,_c=react.useState(),maxHeight=_c[0],setMaxHeight=_c[1],_d=null!==(_b=null==positions?void 0:positions.elementPosition)&&void 0!==_b?_b:{},top=_d.top,bottom=_d.bottom,targetRect=(null==targetRef?void 0:targetRef.current)?function getRectangleFromTarget(target){return _getRectangleFromTarget(target)}(targetRef.current):void 0;return react.useEffect((function(){var _a,calculatedHeight,bounds=null!==(_a=getBounds())&&void 0!==_a?_a:{},topBounds=bounds.top,bottomBounds=bounds.bottom;(null==positions?void 0:positions.targetEdge)===positioning_types.x.top&&(null==targetRect?void 0:targetRect.top)&&!coverTarget&&(bottomBounds=targetRect.top-function calculateGapSpace(isBeakVisible,beakWidth,gapSpace){return _calculateGapSpace(isBeakVisible,beakWidth,gapSpace)}(isBeakVisible,beakWidth,gapSpace)),"number"==typeof top&&bottomBounds?calculatedHeight=bottomBounds-top:"number"==typeof bottom&&"number"==typeof topBounds&&bottomBounds&&(calculatedHeight=bottomBounds-topBounds-bottom),setMaxHeight(!calloutMaxHeight&&!hidden||calloutMaxHeight&&calculatedHeight&&calloutMaxHeight>calculatedHeight?calculatedHeight:calloutMaxHeight||void 0)}),[bottom,calloutMaxHeight,finalHeight,directionalHint,directionalHintFixed,getBounds,hidden,positions,top,gapSpace,beakWidth,isBeakVisible,targetRect,coverTarget]),maxHeight}function usePositions(props,hostElement,calloutElement,targetRef,getBounds,popupRef){var popupStyles,_a=react.useState(),positions=_a[0],setPositions=_a[1],positionAttempts=react.useRef(0),previousTarget=react.useRef(),async=(0,useAsync.Y)(),hidden=props.hidden,target=props.target,finalHeight=props.finalHeight,calloutMaxHeight=props.calloutMaxHeight,onPositioned=props.onPositioned,directionalHint=props.directionalHint,hideOverflow=props.hideOverflow,preferScrollResizePositioning=props.preferScrollResizePositioning,win=(0,dom.bX)(),localRef=react.useRef();localRef.current!==popupRef.current&&(localRef.current=popupRef.current,popupStyles=popupRef.current?null==win?void 0:win.getComputedStyle(popupRef.current):void 0);var popupOverflowY=null==popupStyles?void 0:popupStyles.overflowY;return react.useEffect((function(){if(!hidden){var timerId_1=async.requestAnimationFrame((function(){var _a,_b;if(hostElement.current&&calloutElement){var currentProps=(0,tslib_es6.Cl)((0,tslib_es6.Cl)({},props),{target:targetRef.current,bounds:getBounds()}),dupeCalloutElement=calloutElement.cloneNode(!0);dupeCalloutElement.style.maxHeight=calloutMaxHeight?"".concat(calloutMaxHeight):"",dupeCalloutElement.style.visibility="hidden",null===(_a=calloutElement.parentElement)||void 0===_a||_a.appendChild(dupeCalloutElement);var previousPositions=previousTarget.current===target?positions:void 0,shouldScroll=preferScrollResizePositioning&&!(hideOverflow||"clip"===popupOverflowY||"hidden"===popupOverflowY),newPositions=finalHeight?positionCard(currentProps,hostElement.current,dupeCalloutElement,previousPositions,win):function positionCallout(props,hostElement,elementToPosition,previousPositions,shouldScroll,minimumScrollResizeHeight,win){return _positionCallout(props,hostElement,elementToPosition,previousPositions,shouldScroll,minimumScrollResizeHeight,void 0,win)}(currentProps,hostElement.current,dupeCalloutElement,previousPositions,shouldScroll,void 0,win);null===(_b=calloutElement.parentElement)||void 0===_b||_b.removeChild(dupeCalloutElement),!positions&&newPositions||positions&&newPositions&&!function arePositionsEqual(prevElementPositions,newElementPosition){return comparePositions(prevElementPositions.elementPosition,newElementPosition.elementPosition)&&comparePositions(prevElementPositions.beakPosition.elementPosition,newElementPosition.beakPosition.elementPosition)}(positions,newPositions)&&positionAttempts.current<5?(positionAttempts.current++,setPositions(newPositions)):positionAttempts.current>0&&(positionAttempts.current=0,null==onPositioned||onPositioned(positions))}}),calloutElement);return previousTarget.current=target,function(){async.cancelAnimationFrame(timerId_1),previousTarget.current=void 0}}setPositions(void 0),positionAttempts.current=0}),[hidden,directionalHint,async,calloutElement,calloutMaxHeight,hostElement,targetRef,finalHeight,getBounds,onPositioned,positions,props,target,hideOverflow,preferScrollResizePositioning,popupOverflowY,win]),positions}var CalloutContentBase=react.memo(react.forwardRef((function(propsWithoutDefaults,forwardedRef){var props=(0,getPropsWithDefaults.N)(DEFAULT_PROPS,propsWithoutDefaults),styles=props.styles,style=props.style,ariaLabel=props.ariaLabel,ariaDescribedBy=props.ariaDescribedBy,ariaLabelledBy=props.ariaLabelledBy,className=props.className,isBeakVisible=props.isBeakVisible,children=props.children,beakWidth=props.beakWidth,calloutWidth=props.calloutWidth,calloutMaxWidth=props.calloutMaxWidth,calloutMinWidth=props.calloutMinWidth,doNotLayer=props.doNotLayer,finalHeight=props.finalHeight,_a=props.hideOverflow,hideOverflow=void 0===_a?!!finalHeight:_a,backgroundColor=props.backgroundColor,calloutMaxHeight=props.calloutMaxHeight,onScroll=props.onScroll,_b=props.shouldRestoreFocus,shouldRestoreFocus=void 0===_b||_b,target=props.target,hidden=props.hidden,onLayerMounted=props.onLayerMounted,popupProps=props.popupProps,hostElement=react.useRef(null),popupRef=react.useRef(null),mergedPopupRefs=(0,useMergedRefs.a)(popupRef,null==popupProps?void 0:popupProps.ref),_c=react.useState(null),calloutElement=_c[0],setCalloutElement=_c[1],calloutCallback=react.useCallback((function(calloutEl){setCalloutElement(calloutEl)}),[]),rootRef=(0,useMergedRefs.a)(hostElement,forwardedRef),_d=(0,useTarget.P)(props.target,{current:calloutElement}),targetRef=_d[0],targetWindow=_d[1],getBounds=function useBounds(_a,targetRef,targetWindow){var bounds=_a.bounds,_b=_a.minPagePadding,minPagePadding=void 0===_b?DEFAULT_PROPS.minPagePadding:_b,target=_a.target,_c=react.useState(!1),targetWindowResized=_c[0],setTargetWindowResized=_c[1],cachedBounds=react.useRef(),getBounds=react.useCallback((function(){if(!cachedBounds.current||targetWindowResized){var currentBounds="function"==typeof bounds?targetWindow?bounds(target,targetWindow):void 0:bounds;!currentBounds&&targetWindow&&(currentBounds=function getBoundsFromTargetWindow(target,targetWindow){return function _getBoundsFromTargetWindow(target,targetWindow){var segments=void 0;if(targetWindow.getWindowSegments&&(segments=targetWindow.getWindowSegments()),void 0===segments||segments.length<=1)return{top:0,left:0,right:targetWindow.innerWidth,bottom:targetWindow.innerHeight,width:targetWindow.innerWidth,height:targetWindow.innerHeight};var x=0,y=0;if(null!==target&&target.getBoundingClientRect){var clientRect=target.getBoundingClientRect();x=(clientRect.left+clientRect.right)/2,y=(clientRect.top+clientRect.bottom)/2}else null!==target&&(x=target.left||target.x,y=target.top||target.y);for(var bounds={top:0,left:0,right:0,bottom:0,width:0,height:0},_i=0,segments_1=segments;_i<segments_1.length;_i++){var segment=segments_1[_i];x&&segment.left<=x&&segment.right>=x&&y&&segment.top<=y&&segment.bottom>=y&&(bounds={top:segment.top,left:segment.left,right:segment.right,bottom:segment.bottom,width:segment.width,height:segment.height})}return bounds}(target,targetWindow)}(targetRef.current,targetWindow),currentBounds={top:currentBounds.top+minPagePadding,left:currentBounds.left+minPagePadding,right:currentBounds.right-minPagePadding,bottom:currentBounds.bottom-minPagePadding,width:currentBounds.width-2*minPagePadding,height:currentBounds.height-2*minPagePadding}),cachedBounds.current=currentBounds,targetWindowResized&&setTargetWindowResized(!1)}return cachedBounds.current}),[bounds,minPagePadding,target,targetRef,targetWindow,targetWindowResized]),async=(0,useAsync.Y)();return(0,useOnEvent.x)(targetWindow,"resize",async.debounce((function(){setTargetWindowResized(!0)}),500,{leading:!0})),getBounds}(props,targetRef,targetWindow),positions=usePositions(props,hostElement,calloutElement,targetRef,getBounds,mergedPopupRefs),maxHeight=useMaxHeight(props,getBounds,targetRef,positions),_e=function useDismissHandlers(_a,positions,hostElement,targetRef,targetWindow){var hidden=_a.hidden,onDismiss=_a.onDismiss,preventDismissOnScroll=_a.preventDismissOnScroll,preventDismissOnResize=_a.preventDismissOnResize,preventDismissOnLostFocus=_a.preventDismissOnLostFocus,dismissOnTargetClick=_a.dismissOnTargetClick,shouldDismissOnWindowFocus=_a.shouldDismissOnWindowFocus,preventDismissOnEvent=_a.preventDismissOnEvent,isMouseDownOnPopup=react.useRef(!1),async=(0,useAsync.Y)(),mouseDownHandlers=(0,useConst.d)([function(){isMouseDownOnPopup.current=!0},function(){isMouseDownOnPopup.current=!1}]),positionsExists=!!positions;return react.useEffect((function(){var dismissOnScroll=function(ev){positionsExists&&!preventDismissOnScroll&&dismissOnClickOrScroll(ev)},dismissOnResize=function(ev){preventDismissOnResize||preventDismissOnEvent&&preventDismissOnEvent(ev)||null==onDismiss||onDismiss(ev)},dismissOnLostFocus=function(ev){preventDismissOnLostFocus||dismissOnClickOrScroll(ev)},dismissOnClickOrScroll=function(ev){var eventPaths=ev.composedPath?ev.composedPath():[],target=eventPaths.length>0?eventPaths[0]:ev.target,isEventTargetOutsideCallout=hostElement.current&&!(0,elementContains.s)(hostElement.current,target);if(isEventTargetOutsideCallout&&isMouseDownOnPopup.current)isMouseDownOnPopup.current=!1;else if(!targetRef.current&&isEventTargetOutsideCallout||ev.target!==targetWindow&&isEventTargetOutsideCallout&&(!targetRef.current||"stopPropagation"in targetRef.current||dismissOnTargetClick||target!==targetRef.current&&!(0,elementContains.s)(targetRef.current,target))){if(preventDismissOnEvent&&preventDismissOnEvent(ev))return;null==onDismiss||onDismiss(ev)}},dismissOnTargetWindowBlur=function(ev){shouldDismissOnWindowFocus&&((!preventDismissOnEvent||preventDismissOnEvent(ev))&&(preventDismissOnEvent||preventDismissOnLostFocus)||(null==targetWindow?void 0:targetWindow.document.hasFocus())||null!==ev.relatedTarget||null==onDismiss||onDismiss(ev))},disposablesPromise=new Promise((function(resolve){async.setTimeout((function(){if(!hidden&&targetWindow){var disposables_1=[(0,on.on)(targetWindow,"scroll",dismissOnScroll,!0),(0,on.on)(targetWindow,"resize",dismissOnResize,!0),(0,on.on)(targetWindow.document.documentElement,"focus",dismissOnLostFocus,!0),(0,on.on)(targetWindow.document.documentElement,"click",dismissOnLostFocus,!0),(0,on.on)(targetWindow,"blur",dismissOnTargetWindowBlur,!0)];resolve((function(){disposables_1.forEach((function(dispose){return dispose()}))}))}}),0)}));return function(){disposablesPromise.then((function(dispose){return dispose()}))}}),[hidden,async,hostElement,targetRef,targetWindow,onDismiss,shouldDismissOnWindowFocus,dismissOnTargetClick,preventDismissOnLostFocus,preventDismissOnResize,preventDismissOnScroll,positionsExists,preventDismissOnEvent]),mouseDownHandlers}(props,positions,hostElement,targetRef,targetWindow),mouseDownOnPopup=_e[0],mouseUpOnPopup=_e[1],isForcedInBounds=(null==positions?void 0:positions.elementPosition.top)&&(null==positions?void 0:positions.elementPosition.bottom),cssPositions=(0,tslib_es6.Cl)((0,tslib_es6.Cl)({},null==positions?void 0:positions.elementPosition),{maxHeight});if(isForcedInBounds&&(cssPositions.bottom=void 0),function useAutoFocus(_a,positions,calloutElement){var hidden=_a.hidden,setInitialFocus=_a.setInitialFocus,async=(0,useAsync.Y)(),hasPositions=!!positions;react.useEffect((function(){if(!hidden&&setInitialFocus&&hasPositions&&calloutElement){var timerId_2=async.requestAnimationFrame((function(){return(0,lib_focus.vO)(calloutElement)}),calloutElement);return function(){return async.cancelAnimationFrame(timerId_2)}}}),[hidden,hasPositions,async,calloutElement,setInitialFocus])}(props,positions,calloutElement),react.useEffect((function(){hidden||null==onLayerMounted||onLayerMounted()}),[hidden]),!targetWindow)return null;var overflowYHidden=hideOverflow,beakVisible=isBeakVisible&&!!target,classNames=getClassNames(styles,{theme:props.theme,className,overflowYHidden,calloutWidth,positions,beakWidth,backgroundColor,calloutMaxWidth,calloutMinWidth,doNotLayer}),overflowStyle=(0,tslib_es6.Cl)((0,tslib_es6.Cl)({maxHeight:calloutMaxHeight||"100%"},style),overflowYHidden&&{overflowY:"hidden"}),visibilityStyle=props.hidden?{visibility:"hidden"}:void 0;return react.createElement("div",{ref:rootRef,className:classNames.container,style:visibilityStyle},react.createElement("div",(0,tslib_es6.Cl)({},(0,properties.G1)(props,properties.JM,ARIA_ROLE_ATTRIBUTES),{className:(0,css.A)(classNames.root,positions&&positions.targetEdge&&ANIMATIONS[positions.targetEdge]),style:positions?(0,tslib_es6.Cl)({},cssPositions):OFF_SCREEN_STYLE,tabIndex:-1,ref:calloutCallback}),beakVisible&&react.createElement("div",{className:classNames.beak,style:getBeakPosition(positions)}),beakVisible&&react.createElement("div",{className:classNames.beakCurtain}),react.createElement(Popup.z,(0,tslib_es6.Cl)({role:props.role,"aria-roledescription":props["aria-roledescription"],ariaDescribedBy,ariaLabel,ariaLabelledBy,className:classNames.calloutMain,onDismiss:props.onDismiss,onMouseDown:mouseDownOnPopup,onMouseUp:mouseUpOnPopup,onRestoreFocus:props.onRestoreFocus,onScroll,shouldRestoreFocus,style:overflowStyle},popupProps,{ref:mergedPopupRefs}),children)))})),(function(previousProps,nextProps){return!(nextProps.shouldUpdateWhenHidden||!previousProps.hidden||!nextProps.hidden)||(0,object.ab)(previousProps,nextProps)}));function getBeakPosition(positions){var _a,_b,beakPositionStyle=(0,tslib_es6.Cl)((0,tslib_es6.Cl)({},null===(_a=null==positions?void 0:positions.beakPosition)||void 0===_a?void 0:_a.elementPosition),{display:(null===(_b=null==positions?void 0:positions.beakPosition)||void 0===_b?void 0:_b.hideBeak)?"none":void 0});return beakPositionStyle.top||beakPositionStyle.bottom||beakPositionStyle.left||beakPositionStyle.right||(beakPositionStyle.left=BEAK_ORIGIN_POSITION_left,beakPositionStyle.top=BEAK_ORIGIN_POSITION_top),beakPositionStyle}function comparePositions(prevElementPositions,newElementPositions){for(var key in newElementPositions)if(newElementPositions.hasOwnProperty(key)){var oldPositionEdge=prevElementPositions[key],newPositionEdge=newElementPositions[key];if(void 0===oldPositionEdge||void 0===newPositionEdge)return!1;if(oldPositionEdge.toFixed(2)!==newPositionEdge.toFixed(2))return!1}return!0}function getBeakStyle(beakWidth){return{height:beakWidth,width:beakWidth}}CalloutContentBase.displayName="CalloutContentBase";var GlobalClassNames={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},CalloutContent=(0,styled.I)(CalloutContentBase,(function(props){var _a,theme=props.theme,className=props.className,overflowYHidden=props.overflowYHidden,calloutWidth=props.calloutWidth,beakWidth=props.beakWidth,backgroundColor=props.backgroundColor,calloutMaxWidth=props.calloutMaxWidth,calloutMinWidth=props.calloutMinWidth,doNotLayer=props.doNotLayer,classNames=(0,lib.Km)(GlobalClassNames,theme),semanticColors=theme.semanticColors,effects=theme.effects;return{container:[classNames.container,{position:"relative"}],root:[classNames.root,theme.fonts.medium,{position:"absolute",display:"flex",zIndex:doNotLayer?lib.nA.Layer:void 0,boxSizing:"border-box",borderRadius:effects.roundedCorner2,boxShadow:effects.elevation16,selectors:(_a={},_a[lib.up]={borderWidth:1,borderStyle:"solid",borderColor:"WindowText"},_a)},(0,lib.QN)(),className,!!calloutWidth&&{width:calloutWidth},!!calloutMaxWidth&&{maxWidth:calloutMaxWidth},!!calloutMinWidth&&{minWidth:calloutMinWidth}],beak:[classNames.beak,{position:"absolute",backgroundColor:semanticColors.menuBackground,boxShadow:"inherit",border:"inherit",boxSizing:"border-box",transform:"rotate(45deg)"},getBeakStyle(beakWidth),backgroundColor&&{backgroundColor}],beakCurtain:[classNames.beakCurtain,{position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:semanticColors.menuBackground,borderRadius:effects.roundedCorner2}],calloutMain:[classNames.calloutMain,{backgroundColor:semanticColors.menuBackground,overflowX:"hidden",overflowY:"auto",position:"relative",width:"100%",borderRadius:effects.roundedCorner2},overflowYHidden&&{overflowY:"hidden"},backgroundColor&&{backgroundColor}]}}),void 0,{scope:"CalloutContent"}),Layer=__webpack_require__("./node_modules/@fluentui/react/lib/components/Layer/Layer.js"),Callout=react.forwardRef((function(_a,forwardedRef){var layerProps=_a.layerProps,doNotLayer=_a.doNotLayer,rest=(0,tslib_es6.Tt)(_a,["layerProps","doNotLayer"]),content=react.createElement(CalloutContent,(0,tslib_es6.Cl)({},rest,{doNotLayer,ref:forwardedRef}));return doNotLayer?content:react.createElement(Layer.W,(0,tslib_es6.Cl)({},layerProps),content)}));Callout.displayName="Callout"},"./node_modules/@fluentui/react/lib/components/Layer/Layer.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{W:()=>Layer});var styled=__webpack_require__("./node_modules/@fluentui/utilities/lib/styled.js"),tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs"),react=__webpack_require__("./node_modules/react/index.js"),PortalCompatContext=react.createContext(void 0),portalCompatContextDefaultValue=function(){return function(){}};PortalCompatContext.Provider;var react_dom=__webpack_require__("./node_modules/react-dom/index.js"),classNamesFunction=__webpack_require__("./node_modules/@fluentui/utilities/lib/classNamesFunction.js"),memoize=__webpack_require__("./node_modules/@fluentui/utilities/lib/memoize.js"),rtl=__webpack_require__("./node_modules/@fluentui/utilities/lib/rtl.js"),properties=__webpack_require__("./node_modules/@fluentui/utilities/lib/properties.js"),useFocusRects=__webpack_require__("./node_modules/@fluentui/utilities/lib/useFocusRects.js"),FocusRectsProvider=function(props){var providerRef=props.providerRef,layerRoot=props.layerRoot,registeredProviders=react.useState([])[0],parentContext=react.useContext(useFocusRects.dM),inheritParentContext=void 0!==parentContext&&!layerRoot,context=react.useMemo((function(){return inheritParentContext?void 0:{providerRef,registeredProviders,registerProvider:function(ref){registeredProviders.push(ref),null==parentContext||parentContext.registerProvider(ref)},unregisterProvider:function(ref){null==parentContext||parentContext.unregisterProvider(ref);var i=registeredProviders.indexOf(ref);i>=0&®isteredProviders.splice(i,1)}}}),[providerRef,registeredProviders,parentContext,inheritParentContext]);return react.useEffect((function(){if(context)return context.registerProvider(context.providerRef),function(){return context.unregisterProvider(context.providerRef)}}),[context]),context?react.createElement(useFocusRects.dM.Provider,{value:context},props.children):react.createElement(react.Fragment,null,props.children)},Customizations=__webpack_require__("./node_modules/@fluentui/utilities/lib/customizations/Customizations.js"),CustomizerContext=__webpack_require__("./node_modules/@fluentui/utilities/lib/customizations/CustomizerContext.js");function mergeSettings(oldSettings,newSettings){void 0===oldSettings&&(oldSettings={});var mergeSettingsWith=_isSettingsFunction(newSettings)?newSettings:function _settingsMergeWith(newSettings){return function(settings){return newSettings?(0,tslib_es6.Cl)((0,tslib_es6.Cl)({},settings),newSettings):settings}}(newSettings);return mergeSettingsWith(oldSettings)}function mergeScopedSettings(oldSettings,newSettings){return void 0===oldSettings&&(oldSettings={}),(_isSettingsFunction(newSettings)?newSettings:function _scopedSettingsMergeWith(scopedSettingsFromProps){void 0===scopedSettingsFromProps&&(scopedSettingsFromProps={});return function(oldScopedSettings){var newScopedSettings=(0,tslib_es6.Cl)({},oldScopedSettings);for(var scopeName in scopedSettingsFromProps)scopedSettingsFromProps.hasOwnProperty(scopeName)&&(newScopedSettings[scopeName]=(0,tslib_es6.Cl)((0,tslib_es6.Cl)({},oldScopedSettings[scopeName]),scopedSettingsFromProps[scopeName]));return newScopedSettings}}(newSettings))(oldSettings)}function _isSettingsFunction(settings){return"function"==typeof settings}var Customizer=function(_super){function Customizer(){var _this=null!==_super&&_super.apply(this,arguments)||this;return _this._onCustomizationChange=function(){return _this.forceUpdate()},_this}return(0,tslib_es6.C6)(Customizer,_super),Customizer.prototype.componentDidMount=function(){Customizations.X.observe(this._onCustomizationChange)},Customizer.prototype.componentWillUnmount=function(){Customizations.X.unobserve(this._onCustomizationChange)},Customizer.prototype.render=function(){var _this=this,contextTransform=this.props.contextTransform;return react.createElement(CustomizerContext.z.Consumer,null,(function(parentContext){var newContext=function mergeCustomizations(props,parentContext){var _a=(parentContext||{}).customizations,customizations=void 0===_a?{settings:{},scopedSettings:{}}:_a;return{customizations:{settings:mergeSettings(customizations.settings,props.settings),scopedSettings:mergeScopedSettings(customizations.scopedSettings,props.scopedSettings),inCustomizerContext:!0}}}(_this.props,parentContext);return contextTransform&&(newContext=contextTransform(newContext)),react.createElement(CustomizerContext.z.Provider,{value:newContext},_this.props.children)}))},Customizer}(react.Component),getDocument=__webpack_require__("./node_modules/@fluentui/utilities/lib/dom/getDocument.js"),createTheme=__webpack_require__("./node_modules/@fluentui/theme/lib/createTheme.js"),useMergedRefs=__webpack_require__("./node_modules/@fluentui/react-hooks/lib/useMergedRefs.js"),getClassNames=(0,classNamesFunction.Z)(),getFabricTheme=(0,memoize.J9)((function(theme,isRTL){return(0,createTheme.a)((0,tslib_es6.Cl)((0,tslib_es6.Cl)({},theme),{rtl:isRTL}))})),FabricBase=react.forwardRef((function(props,ref){var className=props.className,theme=props.theme,applyTheme=props.applyTheme,applyThemeToBody=props.applyThemeToBody,styles=props.styles,classNames=getClassNames(styles,{theme,applyTheme,className}),rootElement=react.useRef(null);return function useApplyThemeToBody(applyThemeToBody,_a,rootElement){var bodyThemed=_a.bodyThemed;return react.useEffect((function(){if(applyThemeToBody){var currentDoc_1=(0,getDocument.Y)(rootElement.current);if(currentDoc_1)return currentDoc_1.body.classList.add(bodyThemed),function(){currentDoc_1.body.classList.remove(bodyThemed)}}}),[bodyThemed,applyThemeToBody,rootElement]),rootElement}(applyThemeToBody,classNames,rootElement),react.createElement(react.Fragment,null,function useRenderedContent(props,_a,rootElement,ref){var root=_a.root,_b=props.as,Root=void 0===_b?"div":_b,dir=props.dir,theme=props.theme,divProps=(0,properties.G1)(props,properties.JM,["dir"]),_c=function(_a){var theme=_a.theme,dir=_a.dir,contextDir=(0,rtl.jI)(theme)?"rtl":"ltr",pageDir=(0,rtl.jI)()?"rtl":"ltr",componentDir=dir||contextDir;return{rootDir:componentDir!==contextDir||componentDir!==pageDir?componentDir:dir,needsTheme:componentDir!==contextDir}}(props),rootDir=_c.rootDir,needsTheme=_c.needsTheme,renderedContent=react.createElement(FocusRectsProvider,{providerRef:rootElement},react.createElement(Root,(0,tslib_es6.Cl)({dir:rootDir},divProps,{className:root,ref:(0,useMergedRefs.a)(rootElement,ref)})));needsTheme&&(renderedContent=react.createElement(Customizer,{settings:{theme:getFabricTheme(theme,"rtl"===dir)}},renderedContent));return renderedContent}(props,classNames,rootElement,ref))}));FabricBase.displayName="FabricBase";var lib=__webpack_require__("./node_modules/@fluentui/style-utilities/lib/index.js"),inheritFont={fontFamily:"inherit"},GlobalClassNames={root:"ms-Fabric",bodyThemed:"ms-Fabric-bodyThemed"},Fabric=(0,styled.I)(FabricBase,(function(props){var applyTheme=props.applyTheme,className=props.className,preventBlanketFontInheritance=props.preventBlanketFontInheritance,theme=props.theme;return{root:[(0,lib.Km)(GlobalClassNames,theme).root,theme.fonts.medium,{color:theme.palette.neutralPrimary},!preventBlanketFontInheritance&&{"& button":inheritFont,"& input":inheritFont,"& textarea":inheritFont},applyTheme&&{color:theme.semanticColors.bodyText,backgroundColor:theme.semanticColors.bodyBackground},className],bodyThemed:[{backgroundColor:theme.semanticColors.bodyBackground}]}}),void 0,{scope:"Fabric"}),setFocusVisibility=__webpack_require__("./node_modules/@fluentui/utilities/lib/setFocusVisibility.js"),setPortalAttribute=__webpack_require__("./node_modules/@fluentui/dom-utilities/lib/setPortalAttribute.js");var css=__webpack_require__("./node_modules/@fluentui/utilities/lib/css.js"),_layersByHostId={},_layerHostsById={},_defaultHostSelector="#".concat("fluent-default-layer-host");var filteredEventProps,useIsomorphicLayoutEffect=__webpack_require__("./node_modules/@fluentui/utilities/lib/useIsomorphicLayoutEffect.js"),Layer_base_getClassNames=(0,classNamesFunction.Z)(),LayerBase=react.forwardRef((function(props,ref){var registerPortalEl=function usePortalCompat(){var _React_useContext;return null!==(_React_useContext=react.useContext(PortalCompatContext))&&void 0!==_React_useContext?_React_useContext:portalCompatContextDefaultValue}(),rootRef=react.useRef(null),mergedRef=(0,useMergedRefs.a)(rootRef,ref),layerRef=react.useRef(),fabricElementRef=react.useRef(null),focusContext=react.useContext(useFocusRects.dM),_a=react.useState(!1),needRaiseLayerMount=_a[0],setNeedRaiseLayerMount=_a[1],focusRectsRef=react.useCallback((function(el){var providerRef,isFocusVisible=!!(null==(providerRef=null==focusContext?void 0:focusContext.providerRef)?void 0:providerRef.current)&&providerRef.current.classList.contains(setFocusVisibility.Y2);el&&isFocusVisible&&el.classList.add(setFocusVisibility.Y2)}),[focusContext]),children=props.children,className=props.className,eventBubblingEnabled=props.eventBubblingEnabled,fabricProps=props.fabricProps,hostId=props.hostId,insertFirst=props.insertFirst,_b=props.onLayerDidMount,onLayerDidMount=void 0===_b?function(){}:_b,_c=props.onLayerMounted,onLayerMounted=void 0===_c?function(){}:_c,onLayerWillUnmount=props.onLayerWillUnmount,styles=props.styles,theme=props.theme,fabricRef=(0,useMergedRefs.a)(fabricElementRef,null==fabricProps?void 0:fabricProps.ref,focusRectsRef),classNames=Layer_base_getClassNames(styles,{theme,className,isNotHost:!hostId}),getHost=function(doc,shadowRoot){var _a,_b;void 0===shadowRoot&&(shadowRoot=null);var root=null!=shadowRoot?shadowRoot:doc;if(hostId){var layerHost=function getLayerHost(hostId){var layerHosts=_layerHostsById[hostId];return layerHosts&&layerHosts[0]||void 0}(hostId);return layerHost?null!==(_a=layerHost.rootRef.current)&&void 0!==_a?_a:null:null!==(_b=root.getElementById(hostId))&&void 0!==_b?_b:null}var defaultHostSelector=function getDefaultTarget(){return _defaultHostSelector}(),host=defaultHostSelector?root.querySelector(defaultHostSelector):null;return host||(host=function createDefaultLayerHost(doc,shadowRoot){void 0===shadowRoot&&(shadowRoot=null);var host=doc.createElement("div");return host.setAttribute("id","fluent-default-layer-host"),host.style.cssText="position:fixed;z-index:1000000",shadowRoot?shadowRoot.appendChild(host):null==doc||doc.body.appendChild(host),host}(doc,shadowRoot)),host},removeLayerElement=function(){null==onLayerWillUnmount||onLayerWillUnmount();var elem=layerRef.current;layerRef.current=void 0,elem&&elem.parentNode&&elem.parentNode.removeChild(elem)},createLayerElement=function(){var _a,_b,_c,_d,doc=(0,getDocument.Y)(rootRef.current),shadowRoot=(null===(_b=null===(_a=rootRef.current)||void 0===_a?void 0:_a.getRootNode())||void 0===_b?void 0:_b.host)?null===(_c=null==rootRef?void 0:rootRef.current)||void 0===_c?void 0:_c.getRootNode():void 0;if(doc&&(doc||shadowRoot)){var host=getHost(doc,shadowRoot);if(host){host.__tabsterElementFlags||(host.__tabsterElementFlags={}),host.__tabsterElementFlags.noDirectAriaHidden=!0,removeLayerElement();var el=(null!==(_d=host.ownerDocument)&&void 0!==_d?_d:doc).createElement("div");el.className=classNames.root,(0,setPortalAttribute.V)(el),function setVirtualParent(child,parent){var virtualChild=child,virtualParent=parent;virtualChild._virtual||(virtualChild._virtual={children:[]});var oldParent=virtualChild._virtual.parent;if(oldParent&&oldParent!==parent){var index=oldParent._virtual.children.indexOf(virtualChild);index>-1&&oldParent._virtual.children.splice(index,1)}virtualChild._virtual.parent=virtualParent||void 0,virtualParent&&(virtualParent._virtual||(virtualParent._virtual={children:[]}),virtualParent._virtual.children.push(virtualChild))}(el,rootRef.current),insertFirst?host.insertBefore(el,host.firstChild):host.appendChild(el),layerRef.current=el,setNeedRaiseLayerMount(!0)}}};return(0,useIsomorphicLayoutEffect.E)((function(){createLayerElement(),hostId&&function registerLayer(hostId,callback){_layersByHostId[hostId]||(_layersByHostId[hostId]=[]),_layersByHostId[hostId].push(callback);var layerHosts=_layerHostsById[hostId];if(layerHosts)for(var _i=0,layerHosts_1=layerHosts;_i<layerHosts_1.length;_i++)layerHosts_1[_i].notifyLayersChanged()}(hostId,createLayerElement);var unregisterPortalEl=layerRef.current?registerPortalEl(layerRef.current):void 0;return function(){unregisterPortalEl&&unregisterPortalEl(),removeLayerElement(),hostId&&function unregisterLayer(hostId,callback){var layers=_layersByHostId[hostId];if(layers){var idx=layers.indexOf(callback);idx>=0&&(layers.splice(idx,1),0===layers.length&&delete _layersByHostId[hostId])}var layerHosts=_layerHostsById[hostId];if(layerHosts)for(var _i=0,layerHosts_2=layerHosts;_i<layerHosts_2.length;_i++)layerHosts_2[_i].notifyLayersChanged()}(hostId,createLayerElement)}}),[hostId]),react.useEffect((function(){layerRef.current&&needRaiseLayerMount&&(null==onLayerMounted||onLayerMounted(),null==onLayerDidMount||onLayerDidMount(),setNeedRaiseLayerMount(!1))}),[needRaiseLayerMount,onLayerMounted,onLayerDidMount]),function useDebugWarnings(props){0}(),react.createElement("span",{className:"ms-layer",ref:mergedRef},layerRef.current&&react_dom.createPortal(react.createElement(FocusRectsProvider,{layerRoot:!0,providerRef:fabricRef},react.createElement(Fabric,(0,tslib_es6.Cl)({},!eventBubblingEnabled&&function getFilteredEvents(){filteredEventProps||(filteredEventProps={},["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(name){return filteredEventProps[name]=onFilterEvent})));return filteredEventProps}(),fabricProps,{className:(0,css.A)(classNames.content,null==fabricProps?void 0:fabricProps.className),ref:fabricRef}),children)),layerRef.current))}));LayerBase.displayName="LayerBase";var onFilterEvent=function(ev){ev.eventPhase===Event.BUBBLING_PHASE&&"mouseenter"!==ev.type&&"mouseleave"!==ev.type&&"touchstart"!==ev.type&&"touchend"!==ev.type&&ev.stopPropagation()};var Layer_styles_GlobalClassNames={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"},Layer=(0,styled.I)(LayerBase,(function(props){var className=props.className,isNotHost=props.isNotHost,theme=props.theme,classNames=(0,lib.Km)(Layer_styles_GlobalClassNames,theme);return{root:[classNames.root,theme.fonts.medium,isNotHost&&[classNames.rootNoHost,{position:"fixed",zIndex:lib.nA.Layer,top:0,left:0,bottom:0,right:0,visibility:"hidden"}],className],content:[classNames.content,{visibility:"visible"}]}}),void 0,{scope:"Layer",fields:["hostId","theme","styles"]})},"./node_modules/@fluentui/react/lib/components/Popup/Popup.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{z:()=>Popup});var tslib__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("./node_modules/tslib/tslib.es6.mjs"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_Utilities__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@fluentui/utilities/lib/dom/getWindow.js"),_Utilities__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@fluentui/utilities/lib/dom/getDocument.js"),_Utilities__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@fluentui/utilities/lib/focus.js"),_Utilities__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@fluentui/utilities/lib/modalize.js"),_Utilities__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@fluentui/utilities/lib/getPropsWithDefaults.js"),_Utilities__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./node_modules/@fluentui/utilities/lib/KeyCodes.js"),_Utilities__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("./node_modules/@fluentui/utilities/lib/properties.js"),_fluentui_react_hooks__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@fluentui/react-hooks/lib/useAsync.js"),_fluentui_react_hooks__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@fluentui/react-hooks/lib/useOnEvent.js"),_fluentui_react_hooks__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/@fluentui/react-hooks/lib/useMergedRefs.js"),_fluentui_react_window_provider__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("./node_modules/@fluentui/react-window-provider/lib/WindowProvider.js");function defaultFocusRestorer(options){var originalElement=options.originalElement,containsFocus=options.containsFocus;originalElement&&containsFocus&&originalElement!==(0,_Utilities__WEBPACK_IMPORTED_MODULE_2__.z)()&&setTimeout((function(){var _a;null===(_a=originalElement.focus)||void 0===_a||_a.call(originalElement)}),0)}var Popup=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((function(propsWithoutDefaults,forwardedRef){var props=(0,_Utilities__WEBPACK_IMPORTED_MODULE_7__.N)({shouldRestoreFocus:!0,enableAriaHiddenSiblings:!0},propsWithoutDefaults),root=react__WEBPACK_IMPORTED_MODULE_0__.useRef(),mergedRootRef=(0,_fluentui_react_hooks__WEBPACK_IMPORTED_MODULE_8__.a)(root,forwardedRef);!function useHideSiblingNodes(props,root){var shouldHideSiblings="true"===String(props["aria-modal"]).toLowerCase()&&props.enableAriaHiddenSiblings;react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(shouldHideSiblings&&root.current)return(0,_Utilities__WEBPACK_IMPORTED_MODULE_6__.q)(root.current)}),[root,shouldHideSiblings])}(props,root),function useRestoreFocus(props,root){var _a=props.onRestoreFocus,onRestoreFocus=void 0===_a?defaultFocusRestorer:_a,originalFocusedElement=react__WEBPACK_IMPORTED_MODULE_0__.useRef(),containsFocus=react__WEBPACK_IMPORTED_MODULE_0__.useRef(!1);react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){return originalFocusedElement.current=(0,_Utilities__WEBPACK_IMPORTED_MODULE_3__.Y)().activeElement,(0,_Utilities__WEBPACK_IMPORTED_MODULE_4__.SE)(root.current)&&(containsFocus.current=!0),function(){var _a;null==onRestoreFocus||onRestoreFocus({originalElement:originalFocusedElement.current,containsFocus:containsFocus.current,documentContainsFocus:(null===(_a=(0,_Utilities__WEBPACK_IMPORTED_MODULE_3__.Y)())||void 0===_a?void 0:_a.hasFocus())||!1}),originalFocusedElement.current=void 0}}),[]),(0,_fluentui_react_hooks__WEBPACK_IMPORTED_MODULE_5__.x)(root,"focus",react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(){containsFocus.current=!0}),[]),!0),(0,_fluentui_react_hooks__WEBPACK_IMPORTED_MODULE_5__.x)(root,"blur",react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(ev){root.current&&ev.relatedTarget&&!root.current.contains(ev.relatedTarget)&&(containsFocus.current=!1)}),[]),!0)}(props,root);var role=props.role,className=props.className,ariaLabel=props.ariaLabel,ariaLabelledBy=props.ariaLabelledBy,ariaDescribedBy=props.ariaDescribedBy,style=props.style,children=props.children,onDismiss=props.onDismiss,needsVerticalScrollBar=function useScrollbarAsync(props,root){var async=(0,_fluentui_react_hooks__WEBPACK_IMPORTED_MODULE_1__.Y)(),_a=react__WEBPACK_IMPORTED_MODULE_0__.useState(!1),needsVerticalScrollBarState=_a[0],setNeedsVerticalScrollBar=_a[1];return react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){return async.requestAnimationFrame((function(){var _a;if(!props.style||!props.style.overflowY){var needsVerticalScrollBar=!1;if(root&&root.current&&(null===(_a=root.current)||void 0===_a?void 0:_a.firstElementChild)){var rootHeight=root.current.clientHeight,firstChildHeight=root.current.firstElementChild.clientHeight;rootHeight>0&&firstChildHeight>rootHeight&&(needsVerticalScrollBar=firstChildHeight-rootHeight>1)}needsVerticalScrollBarState!==needsVerticalScrollBar&&setNeedsVerticalScrollBar(needsVerticalScrollBar)}})),function(){return async.dispose()}})),needsVerticalScrollBarState}(props,root),onKeyDown=react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(ev){if(ev.which===_Utilities__WEBPACK_IMPORTED_MODULE_9__.c.escape)onDismiss&&(onDismiss(ev),ev.preventDefault(),ev.stopPropagation())}),[onDismiss]),win=(0,_fluentui_react_window_provider__WEBPACK_IMPORTED_MODULE_10__.ox)();return(0,_fluentui_react_hooks__WEBPACK_IMPORTED_MODULE_5__.x)(win,"keydown",onKeyDown),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",(0,tslib__WEBPACK_IMPORTED_MODULE_11__.Cl)({ref:mergedRootRef},(0,_Utilities__WEBPACK_IMPORTED_MODULE_12__.G1)(props,_Utilities__WEBPACK_IMPORTED_MODULE_12__.JM),{className,role,"aria-label":ariaLabel,"aria-labelledby":ariaLabelledBy,"aria-describedby":ariaDescribedBy,onKeyDown,style:(0,tslib__WEBPACK_IMPORTED_MODULE_11__.Cl)({overflowY:needsVerticalScrollBar?"scroll":void 0,outline:"none"},style)}),children)}));Popup.displayName="Popup"},"./node_modules/@fluentui/react/lib/utilities/dom.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{LW:()=>getDocumentEx,bX:()=>useWindowEx,k_:()=>getWindowEx});var _fluentui_react_window_provider__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@fluentui/react-window-provider/lib/WindowProvider.js"),useWindowEx=function(){var _a;return null!==(_a=(0,_fluentui_react_window_provider__WEBPACK_IMPORTED_MODULE_0__.ox)())&&void 0!==_a?_a:"undefined"!=typeof window?window:void 0},getDocumentEx=function(ctx){var _a,_b;return null!==(_b=null===(_a=null==ctx?void 0:ctx.window)||void 0===_a?void 0:_a.document)&&void 0!==_b?_b:"undefined"!=typeof document?document:void 0},getWindowEx=function(ctx){var _a;return null!==(_a=null==ctx?void 0:ctx.window)&&void 0!==_a?_a:"undefined"!=typeof window?window:void 0}},"./node_modules/@fluentui/react/lib/utilities/positioning/positioning.types.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{var RectangleEdge,Position;__webpack_require__.d(__webpack_exports__,{x:()=>RectangleEdge}),function(RectangleEdge){RectangleEdge[RectangleEdge.top=1]="top",RectangleEdge[RectangleEdge.bottom=-1]="bottom",RectangleEdge[RectangleEdge.left=2]="left",RectangleEdge[RectangleEdge.right=-2]="right"}(RectangleEdge||(RectangleEdge={})),function(Position){Position[Position.top=0]="top",Position[Position.bottom=1]="bottom",Position[Position.start=2]="start",Position[Position.end=3]="end"}(Position||(Position={}))},"./node_modules/@fluentui/utilities/lib/Async.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{j:()=>Async});var _dom_getWindow__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@fluentui/utilities/lib/dom/getWindow.js"),Async=function(){function Async(parent,onError){this._timeoutIds=null,this._immediateIds=null,this._intervalIds=null,this._animationFrameIds=null,this._isDisposed=!1,this._parent=parent||null,this._onErrorHandler=onError,this._noop=function(){}}return Async.prototype.dispose=function(){var id;if(this._isDisposed=!0,this._parent=null,this._timeoutIds){for(id in this._timeoutIds)this._timeoutIds.hasOwnProperty(id)&&this.clearTimeout(parseInt(id,10));this._timeoutIds=null}if(this._immediateIds){for(id in this._immediateIds)this._immediateIds.hasOwnProperty(id)&&this.clearImmediate(parseInt(id,10));this._immediateIds=null}if(this._intervalIds){for(id in this._intervalIds)this._intervalIds.hasOwnProperty(id)&&this.clearInterval(parseInt(id,10));this._intervalIds=null}if(this._animationFrameIds){for(id in this._animationFrameIds)this._animationFrameIds.hasOwnProperty(id)&&this.cancelAnimationFrame(parseInt(id,10));this._animationFrameIds=null}},Async.prototype.setTimeout=function(callback,duration){var _this=this,timeoutId=0;return this._isDisposed||(this._timeoutIds||(this._timeoutIds={}),timeoutId=setTimeout((function(){try{_this._timeoutIds&&delete _this._timeoutIds[timeoutId],callback.apply(_this._parent)}catch(e){_this._logError(e)}}),duration),this._timeoutIds[timeoutId]=!0),timeoutId},Async.prototype.clearTimeout=function(id){this._timeoutIds&&this._timeoutIds[id]&&(clearTimeout(id),delete this._timeoutIds[id])},Async.prototype.setImmediate=function(callback,targetElement){var _this=this,immediateId=0,win=(0,_dom_getWindow__WEBPACK_IMPORTED_MODULE_0__.z)(targetElement);if(!this._isDisposed){this._immediateIds||(this._immediateIds={});immediateId=win.setTimeout((function(){try{_this._immediateIds&&delete _this._immediateIds[immediateId],callback.apply(_this._parent)}catch(e){_this._logError(e)}}),0),this._immediateIds[immediateId]=!0}return immediateId},Async.prototype.clearImmediate=function(id,targetElement){var win=(0,_dom_getWindow__WEBPACK_IMPORTED_MODULE_0__.z)(targetElement);this._immediateIds&&this._immediateIds[id]&&(win.clearTimeout(id),delete this._immediateIds[id])},Async.prototype.setInterval=function(callback,duration){var _this=this,intervalId=0;return this._isDisposed||(this._intervalIds||(this._intervalIds={}),intervalId=setInterval((function(){try{callback.apply(_this._parent)}catch(e){_this._logError(e)}}),duration),this._intervalIds[intervalId]=!0),intervalId},Async.prototype.clearInterval=function(id){this._intervalIds&&this._intervalIds[id]&&(clearInterval(id),delete this._intervalIds[id])},Async.prototype.throttle=function(func,wait,options){var _this=this;if(this._isDisposed)return this._noop;var lastResult,lastArgs,waitMS=wait||0,leading=!0,trailing=!0,lastExecuteTime=0,timeoutId=null;options&&"boolean"==typeof options.leading&&(leading=options.leading),options&&"boolean"==typeof options.trailing&&(trailing=options.trailing);var callback=function(userCall){var now=Date.now(),delta=now-lastExecuteTime,waitLength=leading?waitMS-delta:waitMS;return delta>=waitMS&&(!userCall||leading)?(lastExecuteTime=now,timeoutId&&(_this.clearTimeout(timeoutId),timeoutId=null),lastResult=func.apply(_this._parent,lastArgs)):null===timeoutId&&trailing&&(timeoutId=_this.setTimeout(callback,waitLength)),lastResult};return function(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return lastArgs=args,callback(!0)}},Async.prototype.debounce=function(func,wait,options){var _this=this;if(this._isDisposed){var noOpFunction=function(){};return noOpFunction.cancel=function(){},noOpFunction.flush=function(){return null},noOpFunction.pending=function(){return!1},noOpFunction}var lastResult,lastArgs,waitMS=wait||0,leading=!1,trailing=!0,maxWait=null,lastCallTime=0,lastExecuteTime=Date.now(),timeoutId=null;options&&"boolean"==typeof options.leading&&(leading=options.leading),options&&"boolean"==typeof options.trailing&&(trailing=options.trailing),options&&"number"==typeof options.maxWait&&!isNaN(options.maxWait)&&(maxWait=options.maxWait);var markExecuted=function(time){timeoutId&&(_this.clearTimeout(timeoutId),timeoutId=null),lastExecuteTime=time},invokeFunction=function(time){markExecuted(time),lastResult=func.apply(_this._parent,lastArgs)},callback=function(userCall){var now=Date.now(),executeImmediately=!1;userCall&&(leading&&now-lastCallTime>=waitMS&&(executeImmediately=!0),lastCallTime=now);var delta=now-lastCallTime,waitLength=waitMS-delta,maxWaitDelta=now-lastExecuteTime,maxWaitExpired=!1;return null!==maxWait&&(maxWaitDelta>=maxWait&&timeoutId?maxWaitExpired=!0:waitLength=Math.min(waitLength,maxWait-maxWaitDelta)),delta>=waitMS||maxWaitExpired||executeImmediately?invokeFunction(now):null!==timeoutId&&userCall||!trailing||(timeoutId=_this.setTimeout(callback,waitLength)),lastResult},pending=function(){return!!timeoutId},resultFunction=function(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return lastArgs=args,callback(!0)};return resultFunction.cancel=function(){pending()&&markExecuted(Date.now())},resultFunction.flush=function(){return pending()&&invokeFunction(Date.now()),lastResult},resultFunction.pending=pending,resultFunction},Async.prototype.requestAnimationFrame=function(callback,targetElement){var _this=this,animationFrameId=0,win=(0,_dom_getWindow__WEBPACK_IMPORTED_MODULE_0__.z)(targetElement);if(!this._isDisposed){this._animationFrameIds||(this._animationFrameIds={});var animationFrameCallback=function(){try{_this._animationFrameIds&&delete _this._animationFrameIds[animationFrameId],callback.apply(_this._parent)}catch(e){_this._logError(e)}};animationFrameId=win.requestAnimationFrame?win.requestAnimationFrame(animationFrameCallback):win.setTimeout(animationFrameCallback,0),this._animationFrameIds[animationFrameId]=!0}return animationFrameId},Async.prototype.cancelAnimationFrame=function(id,targetElement){var win=(0,_dom_getWindow__WEBPACK_IMPORTED_MODULE_0__.z)(targetElement);this._animationFrameIds&&this._animationFrameIds[id]&&(win.cancelAnimationFrame?win.cancelAnimationFrame(id):win.clearTimeout(id),delete this._animationFrameIds[id])},Async.prototype._logError=function(e){this._onErrorHandler&&this._onErrorHandler(e)},Async}()},"./node_modules/@fluentui/utilities/lib/array.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function findIndex(array,cb,fromIndex){void 0===fromIndex&&(fromIndex=0);for(var index=-1,i=fromIndex;array&&i<array.length;i++)if(cb(array[i],i)){index=i;break}return index}function addElementAtIndex(array,index,itemToAdd){var copy=array.slice();return copy.splice(index,0,itemToAdd),copy}function arraysEqual(array1,array2){if(array1.length!==array2.length)return!1;for(var i=0;i<array1.length;i++)if(array1[i]!==array2[i])return!1;return!0}__webpack_require__.d(__webpack_exports__,{SL:()=>findIndex,Ty:()=>addElementAtIndex,r1:()=>arraysEqual})},"./node_modules/@fluentui/utilities/lib/createMergedRef.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{K:()=>createMergedRef});var _array__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@fluentui/utilities/lib/array.js"),createMergedRef=function(value){var local={refs:[]};return function(){for(var newRefs=[],_i=0;_i<arguments.length;_i++)newRefs[_i]=arguments[_i];return local.resolver&&(0,_array__WEBPACK_IMPORTED_MODULE_0__.r1)(local.refs,newRefs)||(local.resolver=function(local){return function(newValue){for(var _i=0,_a=local.refs;_i<_a.length;_i++){var ref=_a[_i];"function"==typeof ref?ref(newValue):ref&&(ref.current=newValue)}}}(local)),local.refs=newRefs,local.resolver}}},"./node_modules/@fluentui/utilities/lib/dom/on.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function on(element,eventName,callback,options){return element.addEventListener(eventName,callback,options),function(){return element.removeEventListener(eventName,callback,options)}}__webpack_require__.d(__webpack_exports__,{on:()=>on})},"./node_modules/@fluentui/utilities/lib/extendComponent.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function appendFunction(parent){for(var functions=[],_i=1;_i<arguments.length;_i++)functions[_i-1]=arguments[_i];return functions.length<2?functions[0]:function(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];functions.forEach((function(f){return f&&f.apply(parent,args)}))}}function extendComponent(parent,methods){for(var name_1 in methods)methods.hasOwnProperty(name_1)&&(parent[name_1]=appendFunction(parent,parent[name_1],methods[name_1]))}__webpack_require__.d(__webpack_exports__,{i:()=>extendComponent})},"./node_modules/@fluentui/utilities/lib/focus.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{SE:()=>doesElementContainFocus,lo:()=>focusAsync,vO:()=>focusFirstChild,Ep:()=>getElementIndexPath,j5:()=>getFirstFocusable,oR:()=>getFirstTabbable,nA:()=>getFocusableByIndexPath,dm:()=>getLastFocusable,Cm:()=>getLastTabbable,eX:()=>getNextElement,yv:()=>getPreviousElement,Z5:()=>isElementFocusSubZone,HC:()=>isElementFocusZone,S0:()=>isElementTabbable,F2:()=>isElementVisibleAndNotHidden,_l:()=>shouldWrapFocus});var findElementRecursive=__webpack_require__("./node_modules/@fluentui/dom-utilities/lib/findElementRecursive.js");var elementContains=__webpack_require__("./node_modules/@fluentui/dom-utilities/lib/elementContains.js"),getParent=__webpack_require__("./node_modules/@fluentui/dom-utilities/lib/getParent.js"),getWindow=__webpack_require__("./node_modules/@fluentui/utilities/lib/dom/getWindow.js"),getDocument=__webpack_require__("./node_modules/@fluentui/utilities/lib/dom/getDocument.js"),IS_FOCUSABLE_ATTRIBUTE="data-is-focusable",IS_VISIBLE_ATTRIBUTE="data-is-visible",FOCUSZONE_ID_ATTRIBUTE="data-focuszone-id",FOCUSZONE_SUB_ATTRIBUTE="data-is-sub-focuszone";function getFirstFocusable(rootElement,currentElement,includeElementsInFocusZones,includeShadowRoots){return getNextElement(rootElement,currentElement,!0,!1,!1,includeElementsInFocusZones,void 0,void 0,void 0,includeShadowRoots)}function getLastFocusable(rootElement,currentElement,includeElementsInFocusZones,includeShadowRoots){return getPreviousElement(rootElement,currentElement,!0,!1,!0,includeElementsInFocusZones,void 0,void 0,includeShadowRoots)}function getFirstTabbable(rootElement,currentElement,includeElementsInFocusZones,checkNode,includeShadowRoots){return void 0===checkNode&&(checkNode=!0),getNextElement(rootElement,currentElement,checkNode,!1,!1,includeElementsInFocusZones,!1,!0,void 0,includeShadowRoots)}function getLastTabbable(rootElement,currentElement,includeElementsInFocusZones,checkNode,includeShadowRoots){return void 0===checkNode&&(checkNode=!0),getPreviousElement(rootElement,currentElement,checkNode,!1,!0,includeElementsInFocusZones,!1,!0,includeShadowRoots)}function focusFirstChild(rootElement,bypassHiddenElements,includeShadowRoots){var element=getNextElement(rootElement,rootElement,!0,!1,!1,!0,void 0,void 0,bypassHiddenElements,includeShadowRoots);return!!element&&(focusAsync(element),!0)}function getPreviousElement(rootElement,currentElement,checkNode,suppressParentTraversal,traverseChildren,includeElementsInFocusZones,allowFocusRoot,tabbable,includeShadowRoots){var _a;if(!currentElement||!allowFocusRoot&¤tElement===rootElement)return null;var isCurrentElementVisible=isElementVisible(currentElement);if(traverseChildren&&isCurrentElementVisible&&(includeElementsInFocusZones||!isElementFocusZone(currentElement)&&!isElementFocusSubZone(currentElement))){var childMatch=getPreviousElement(rootElement,currentElement.lastElementChild||includeShadowRoots&&(null===(_a=currentElement.shadowRoot)||void 0===_a?void 0:_a.lastElementChild),!0,!0,!0,includeElementsInFocusZones,allowFocusRoot,tabbable,includeShadowRoots);if(childMatch){if(tabbable&&isElementTabbable(childMatch,!0,includeShadowRoots)||!tabbable)return childMatch;var childMatchSiblingMatch=getPreviousElement(rootElement,childMatch.previousElementSibling,!0,!0,!0,includeElementsInFocusZones,allowFocusRoot,tabbable,includeShadowRoots);if(childMatchSiblingMatch)return childMatchSiblingMatch;for(var childMatchParent=childMatch.parentElement;childMatchParent&&childMatchParent!==currentElement;){var childMatchParentMatch=getPreviousElement(rootElement,childMatchParent.previousElementSibling,!0,!0,!0,includeElementsInFocusZones,allowFocusRoot,tabbable,includeShadowRoots);if(childMatchParentMatch)return childMatchParentMatch;childMatchParent=childMatchParent.parentElement}}}if(checkNode&&isCurrentElementVisible&&isElementTabbable(currentElement,tabbable,includeShadowRoots))return currentElement;var siblingMatch=getPreviousElement(rootElement,currentElement.previousElementSibling,!0,!0,!0,includeElementsInFocusZones,allowFocusRoot,tabbable,includeShadowRoots);return siblingMatch||(suppressParentTraversal?null:getPreviousElement(rootElement,currentElement.parentElement,!0,!1,!1,includeElementsInFocusZones,allowFocusRoot,tabbable,includeShadowRoots))}function getNextElement(rootElement,currentElement,checkNode,suppressParentTraversal,suppressChildTraversal,includeElementsInFocusZones,allowFocusRoot,tabbable,bypassHiddenElements,includeShadowRoots){var _a;if(!currentElement||currentElement===rootElement&&suppressChildTraversal&&!allowFocusRoot)return null;var isCurrentElementVisible=(bypassHiddenElements?isElementVisibleAndNotHidden:isElementVisible)(currentElement);if(checkNode&&isCurrentElementVisible&&isElementTabbable(currentElement,tabbable,includeShadowRoots))return currentElement;if(!suppressChildTraversal&&isCurrentElementVisible&&(includeElementsInFocusZones||!isElementFocusZone(currentElement)&&!isElementFocusSubZone(currentElement))){var childMatch=getNextElement(rootElement,currentElement.firstElementChild||includeShadowRoots&&(null===(_a=currentElement.shadowRoot)||void 0===_a?void 0:_a.firstElementChild),!0,!0,!1,includeElementsInFocusZones,allowFocusRoot,tabbable,bypassHiddenElements,includeShadowRoots);if(childMatch)return childMatch}if(currentElement===rootElement)return null;var siblingMatch=getNextElement(rootElement,currentElement.nextElementSibling,!0,!0,!1,includeElementsInFocusZones,allowFocusRoot,tabbable,bypassHiddenElements,includeShadowRoots);return siblingMatch||(suppressParentTraversal?null:getNextElement(rootElement,currentElement.parentElement,!1,!1,!0,includeElementsInFocusZones,allowFocusRoot,tabbable,bypassHiddenElements,includeShadowRoots))}function isElementVisible(element){if(!element||!element.getAttribute)return!1;var visibilityAttribute=element.getAttribute(IS_VISIBLE_ATTRIBUTE);return null!=visibilityAttribute?"true"===visibilityAttribute:0!==element.offsetHeight||null!==element.offsetParent||!0===element.isVisible}function isElementVisibleAndNotHidden(element,win){var theWin=null!=win?win:(0,getWindow.z)();return!!element&&isElementVisible(element)&&!element.hidden&&"hidden"!==theWin.getComputedStyle(element).visibility}function isElementTabbable(element,checkTabIndex,checkShadowRoot){if(void 0===checkShadowRoot&&(checkShadowRoot=!0),!element||element.disabled)return!1;var tabIndex=0,tabIndexAttributeValue=null;element&&element.getAttribute&&(tabIndexAttributeValue=element.getAttribute("tabIndex"))&&(tabIndex=parseInt(tabIndexAttributeValue,10));var isFocusableAttribute=element.getAttribute?element.getAttribute(IS_FOCUSABLE_ATTRIBUTE):null,isTabIndexSet=null!==tabIndexAttributeValue&&tabIndex>=0,delegatesFocus=!(!checkShadowRoot||!element.shadowRoot)&&!!element.shadowRoot.delegatesFocus,result=!!element&&"false"!==isFocusableAttribute&&("A"===element.tagName||"BUTTON"===element.tagName||"INPUT"===element.tagName||"TEXTAREA"===element.tagName||"SELECT"===element.tagName||"true"===isFocusableAttribute||isTabIndexSet||delegatesFocus);return checkTabIndex?-1!==tabIndex&&result:result}function isElementFocusZone(element){return!!(element&&element.getAttribute&&element.getAttribute(FOCUSZONE_ID_ATTRIBUTE))}function isElementFocusSubZone(element){return!(!element||!element.getAttribute||"true"!==element.getAttribute(FOCUSZONE_SUB_ATTRIBUTE))}function doesElementContainFocus(element){var doc=(0,getDocument.Y)(element),currentActiveElement=doc&&doc.activeElement;return!(!currentActiveElement||!(0,elementContains.s)(element,currentActiveElement))}function shouldWrapFocus(element,noWrapDataAttribute,doc){return"true"!==function elementContainsAttribute(element,attribute,doc){var elementMatch=(0,findElementRecursive.w)(element,(function(testElement){return testElement.hasAttribute(attribute)}),doc);return elementMatch&&elementMatch.getAttribute(attribute)}(element,noWrapDataAttribute,null!=doc?doc:(0,getDocument.Y)())}var animationId=void 0;function focusAsync(element){if(element){var win=(0,getWindow.z)(element);win&&(void 0!==animationId&&win.cancelAnimationFrame(animationId),animationId=win.requestAnimationFrame((function(){element&&element.focus(),animationId=void 0})))}}function getFocusableByIndexPath(parent,path){for(var element=parent,_i=0,path_1=path;_i<path_1.length;_i++){var index=path_1[_i],nextChild=element.children[Math.min(index,element.children.length-1)];if(!nextChild)break;element=nextChild}return element=isElementTabbable(element)&&isElementVisible(element)?element:getNextElement(parent,element,!0)||getPreviousElement(parent,element)}function getElementIndexPath(fromElement,toElement){for(var path=[];toElement&&fromElement&&toElement!==fromElement;){var parent_1=(0,getParent.P)(toElement,!0);if(null===parent_1)return[];path.unshift(Array.prototype.indexOf.call(parent_1.children,toElement)),toElement=parent_1}return path}},"./node_modules/@fluentui/utilities/lib/getId.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{O:()=>getId});var _dom_getWindow__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@fluentui/utilities/lib/dom/getWindow.js"),_fluentui_merge_styles__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@fluentui/merge-styles/lib/Stylesheet.js"),CURRENT_ID_PROPERTY="__currentId__",DEFAULT_ID_STRING="id__",_global=(0,_dom_getWindow__WEBPACK_IMPORTED_MODULE_0__.z)()||{};void 0===_global[CURRENT_ID_PROPERTY]&&(_global[CURRENT_ID_PROPERTY]=0);var _initializedStylesheetResets=!1;function getId(prefix){if(!_initializedStylesheetResets){var stylesheet=_fluentui_merge_styles__WEBPACK_IMPORTED_MODULE_1__.nr.getInstance();stylesheet&&stylesheet.onReset&&stylesheet.onReset(resetIds),_initializedStylesheetResets=!0}var index=_global[CURRENT_ID_PROPERTY]++;return(void 0===prefix?DEFAULT_ID_STRING:prefix)+index}function resetIds(counter){void 0===counter&&(counter=0),_global[CURRENT_ID_PROPERTY]=counter}},"./node_modules/@fluentui/utilities/lib/getPropsWithDefaults.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{N:()=>getPropsWithDefaults});var tslib__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/tslib/tslib.es6.mjs");function getPropsWithDefaults(defaultProps,propsWithoutDefaults){for(var props=(0,tslib__WEBPACK_IMPORTED_MODULE_0__.Cl)({},propsWithoutDefaults),_i=0,_a=Object.keys(defaultProps);_i<_a.length;_i++){var key=_a[_i];void 0===props[key]&&(props[key]=defaultProps[key])}return props}},"./node_modules/@fluentui/utilities/lib/initializeComponentRef.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{f:()=>initializeComponentRef});var _extendComponent__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@fluentui/utilities/lib/extendComponent.js");function initializeComponentRef(obj){(0,_extendComponent__WEBPACK_IMPORTED_MODULE_0__.i)(obj,{componentDidMount:_onMount,componentDidUpdate:_onUpdate,componentWillUnmount:_onUnmount})}function _onMount(){_setComponentRef(this.props.componentRef,this)}function _onUpdate(prevProps){prevProps.componentRef!==this.props.componentRef&&(_setComponentRef(prevProps.componentRef,null),_setComponentRef(this.props.componentRef,this))}function _onUnmount(){_setComponentRef(this.props.componentRef,null)}function _setComponentRef(componentRef,value){componentRef&&("object"==typeof componentRef?componentRef.current=value:"function"==typeof componentRef&&componentRef(value))}},"./node_modules/@fluentui/utilities/lib/modalize.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{q:()=>modalize});var _dom_getDocument__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@fluentui/utilities/lib/dom/getDocument.js"),tagsToIgnore=["TEMPLATE","STYLE","SCRIPT"];function modalize(target){var targetDocument=(0,_dom_getDocument__WEBPACK_IMPORTED_MODULE_0__.Y)(target);if(!targetDocument)return function(){};for(var affectedNodes=[];target!==targetDocument.body&&target.parentElement;){for(var _i=0,_a=target.parentElement.children;_i<_a.length;_i++){var sibling=_a[_i],ariaHidden=sibling.getAttribute("aria-hidden");sibling!==target&&"true"!==(null==ariaHidden?void 0:ariaHidden.toLowerCase())&&-1===tagsToIgnore.indexOf(sibling.tagName)&&affectedNodes.push([sibling,ariaHidden])}target=target.parentElement}return affectedNodes.forEach((function(_a){_a[0].setAttribute("aria-hidden","true")})),function(){!function unmodalize(affectedNodes){affectedNodes.forEach((function(_a){var node=_a[0],originalValue=_a[1];originalValue?node.setAttribute("aria-hidden",originalValue):node.removeAttribute("aria-hidden")}))}(affectedNodes),affectedNodes=[]}}},"./node_modules/@fluentui/utilities/lib/object.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function shallowCompare(a,b){if(!a||!b)return!a&&!b;for(var propName in a)if(a.hasOwnProperty(propName)&&(!b.hasOwnProperty(propName)||b[propName]!==a[propName]))return!1;for(var propName in b)if(b.hasOwnProperty(propName)&&!a.hasOwnProperty(propName))return!1;return!0}function assign(target){for(var args=[],_i=1;_i<arguments.length;_i++)args[_i-1]=arguments[_i];return filteredAssign.apply(this,[null,target].concat(args))}function filteredAssign(isAllowed,target){for(var args=[],_i=2;_i<arguments.length;_i++)args[_i-2]=arguments[_i];target=target||{};for(var _a=0,args_1=args;_a<args_1.length;_a++){var sourceObject=args_1[_a];if(sourceObject)for(var propName in sourceObject)!sourceObject.hasOwnProperty(propName)||isAllowed&&!isAllowed(propName)||(target[propName]=sourceObject[propName])}return target}__webpack_require__.d(__webpack_exports__,{ab:()=>shallowCompare,kp:()=>assign})},"./node_modules/@fluentui/utilities/lib/scroll.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Hc:()=>findScrollableParent,K0:()=>allowOverscrollOnElement,XJ:()=>getScrollbarWidth,c8:()=>allowScrollOnElement,fY:()=>enableBodyScroll,mh:()=>disableBodyScroll});var _scrollbarWidth,_dom_getDocument__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@fluentui/utilities/lib/dom/getDocument.js"),_fluentui_merge_styles__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@fluentui/merge-styles/lib/mergeStyles.js"),_dom_getWindow__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@fluentui/utilities/lib/dom/getWindow.js"),_bodyScrollDisabledCount=0,DisabledScrollClassName=(0,_fluentui_merge_styles__WEBPACK_IMPORTED_MODULE_0__.Z)({overflow:"hidden !important"}),DATA_IS_SCROLLABLE_ATTRIBUTE="data-is-scrollable",allowScrollOnElement=function(element,events){var window=(0,_dom_getWindow__WEBPACK_IMPORTED_MODULE_1__.z)(element);if(element&&window){var _previousClientY=0,_element=null,computedStyles=window.getComputedStyle(element);events.on(element,"touchstart",(function(event){1===event.targetTouches.length&&(_previousClientY=event.targetTouches[0].clientY)}),{passive:!1}),events.on(element,"touchmove",(function(event){if(1===event.targetTouches.length&&(event.stopPropagation(),_element)){var clientY=event.targetTouches[0].clientY-_previousClientY,scrollableParent=findScrollableParent(event.target);scrollableParent&&_element!==scrollableParent&&(_element=scrollableParent,computedStyles=window.getComputedStyle(_element));var scrollTop=_element.scrollTop,isColumnReverse="column-reverse"===(null==computedStyles?void 0:computedStyles.flexDirection);0===scrollTop&&(isColumnReverse?clientY<0:clientY>0)&&event.preventDefault(),_element.scrollHeight-Math.abs(Math.ceil(scrollTop))<=_element.clientHeight&&(isColumnReverse?clientY>0:clientY<0)&&event.preventDefault()}}),{passive:!1}),_element=element}},allowOverscrollOnElement=function(element,events){if(element){events.on(element,"touchmove",(function(event){event.stopPropagation()}),{passive:!1})}},_disableIosBodyScroll=function(event){event.preventDefault()};function disableBodyScroll(){var doc=(0,_dom_getDocument__WEBPACK_IMPORTED_MODULE_2__.Y)();doc&&doc.body&&!_bodyScrollDisabledCount&&(doc.body.classList.add(DisabledScrollClassName),doc.body.addEventListener("touchmove",_disableIosBodyScroll,{passive:!1,capture:!1})),_bodyScrollDisabledCount++}function enableBodyScroll(){if(_bodyScrollDisabledCount>0){var doc=(0,_dom_getDocument__WEBPACK_IMPORTED_MODULE_2__.Y)();doc&&doc.body&&1===_bodyScrollDisabledCount&&(doc.body.classList.remove(DisabledScrollClassName),doc.body.removeEventListener("touchmove",_disableIosBodyScroll)),_bodyScrollDisabledCount--}}function getScrollbarWidth(doc){if(void 0===_scrollbarWidth){var theDoc=null!=doc?doc:(0,_dom_getDocument__WEBPACK_IMPORTED_MODULE_2__.Y)(),scrollDiv=theDoc.createElement("div");scrollDiv.style.setProperty("width","100px"),scrollDiv.style.setProperty("height","100px"),scrollDiv.style.setProperty("overflow","scroll"),scrollDiv.style.setProperty("position","absolute"),scrollDiv.style.setProperty("top","-9999px"),theDoc.body.appendChild(scrollDiv),_scrollbarWidth=scrollDiv.offsetWidth-scrollDiv.clientWidth,theDoc.body.removeChild(scrollDiv)}return _scrollbarWidth}function findScrollableParent(startingElement){for(var el=startingElement,doc=(0,_dom_getDocument__WEBPACK_IMPORTED_MODULE_2__.Y)(startingElement);el&&el!==doc.body;){if("true"===el.getAttribute(DATA_IS_SCROLLABLE_ATTRIBUTE))return el;el=el.parentElement}for(el=startingElement;el&&el!==doc.body;){if("false"!==el.getAttribute(DATA_IS_SCROLLABLE_ATTRIBUTE)){var computedStyles=getComputedStyle(el),overflowY=computedStyles?computedStyles.getPropertyValue("overflow-y"):"";if(overflowY&&("scroll"===overflowY||"auto"===overflowY))return el}el=el.parentElement}return el&&el!==doc.body||(el=(0,_dom_getWindow__WEBPACK_IMPORTED_MODULE_1__.z)(startingElement)),el}},"./node_modules/@fluentui/utilities/lib/shadowDom/contexts/MergeStylesShadowRootContext.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{c:()=>MergeStylesShadowRootContext});var MergeStylesShadowRootContext=__webpack_require__("./node_modules/react/index.js").createContext(void 0)},"./node_modules/@fluentui/utilities/lib/shadowDom/hooks/useMergeStylesShadowRoot.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{h:()=>useHasMergeStylesShadowRootContext,v:()=>useMergeStylesShadowRootContext});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_contexts_MergeStylesShadowRootContext__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@fluentui/utilities/lib/shadowDom/contexts/MergeStylesShadowRootContext.js"),useHasMergeStylesShadowRootContext=function(){return!!useMergeStylesShadowRootContext()},useMergeStylesShadowRootContext=function(){return react__WEBPACK_IMPORTED_MODULE_0__.useContext(_contexts_MergeStylesShadowRootContext__WEBPACK_IMPORTED_MODULE_1__.c)}},"./node_modules/@fluentui/utilities/lib/useFocusRects.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{MO:()=>FocusRects,dM:()=>FocusRectsContext,vk:()=>useFocusRects});var _a,react=__webpack_require__("./node_modules/react/index.js"),getWindow=__webpack_require__("./node_modules/@fluentui/utilities/lib/dom/getWindow.js"),KeyCodes=__webpack_require__("./node_modules/@fluentui/utilities/lib/KeyCodes.js"),DirectionalKeyCodes=((_a={})[KeyCodes.c.up]=1,_a[KeyCodes.c.down]=1,_a[KeyCodes.c.left]=1,_a[KeyCodes.c.right]=1,_a[KeyCodes.c.home]=1,_a[KeyCodes.c.end]=1,_a[KeyCodes.c.tab]=1,_a[KeyCodes.c.pageUp]=1,_a[KeyCodes.c.pageDown]=1,_a);function isDirectionalKeyCode(which){return!!DirectionalKeyCodes[which]}var setFocusVisibility=__webpack_require__("./node_modules/@fluentui/utilities/lib/setFocusVisibility.js"),mountCounters=new WeakMap,callbackMap=new WeakMap;function setMountCounters(key,delta){var newValue,currValue=mountCounters.get(key);return newValue=currValue?currValue+delta:1,mountCounters.set(key,newValue),newValue}function setCallbackMap(context){var callbacks=callbackMap.get(context);if(callbacks)return callbacks;return callbacks={onMouseDown:function(ev){return _onMouseDown(ev,context.registeredProviders)},onPointerDown:function(ev){return _onPointerDown(ev,context.registeredProviders)},onKeyDown:function(ev){return _onKeyDown(ev,context.registeredProviders)},onKeyUp:function(ev){return _onKeyUp(ev,context.registeredProviders)}},callbackMap.set(context,callbacks),callbacks}var FocusRectsContext=react.createContext(void 0);function useFocusRects(rootRef){var context=react.useContext(FocusRectsContext);react.useEffect((function(){var _a,_b,_c,_d,win=(0,getWindow.z)(null==rootRef?void 0:rootRef.current);if(win&&!0!==(null===(_a=win.FabricConfig)||void 0===_a?void 0:_a.disableFocusRects)){var onMouseDown,onPointerDown,onKeyDown,onKeyUp,el=win;if((null===(_b=null==context?void 0:context.providerRef)||void 0===_b?void 0:_b.current)&&(null===(_d=null===(_c=null==context?void 0:context.providerRef)||void 0===_c?void 0:_c.current)||void 0===_d?void 0:_d.addEventListener)){el=context.providerRef.current;var callbacks=setCallbackMap(context);onMouseDown=callbacks.onMouseDown,onPointerDown=callbacks.onPointerDown,onKeyDown=callbacks.onKeyDown,onKeyUp=callbacks.onKeyUp}else onMouseDown=_onMouseDown,onPointerDown=_onPointerDown,onKeyDown=_onKeyDown,onKeyUp=_onKeyUp;var count=setMountCounters(el,1);return count<=1&&(el.addEventListener("mousedown",onMouseDown,!0),el.addEventListener("pointerdown",onPointerDown,!0),el.addEventListener("keydown",onKeyDown,!0),el.addEventListener("keyup",onKeyUp,!0)),function(){var _a;win&&!0!==(null===(_a=win.FabricConfig)||void 0===_a?void 0:_a.disableFocusRects)&&0===(count=setMountCounters(el,-1))&&(el.removeEventListener("mousedown",onMouseDown,!0),el.removeEventListener("pointerdown",onPointerDown,!0),el.removeEventListener("keydown",onKeyDown,!0),el.removeEventListener("keyup",onKeyUp,!0))}}}),[context,rootRef])}var FocusRects=function(props){return useFocusRects(props.rootRef),null};function _onMouseDown(ev,registeredProviders){(0,setFocusVisibility.Fy)(!1,ev.target,registeredProviders)}function _onPointerDown(ev,registeredProviders){"mouse"!==ev.pointerType&&(0,setFocusVisibility.Fy)(!1,ev.target,registeredProviders)}function _onKeyDown(ev,registeredProviders){isDirectionalKeyCode(ev.which)&&(0,setFocusVisibility.Fy)(!0,ev.target,registeredProviders)}function _onKeyUp(ev,registeredProviders){isDirectionalKeyCode(ev.which)&&(0,setFocusVisibility.Fy)(!0,ev.target,registeredProviders)}}}]);