-
Notifications
You must be signed in to change notification settings - Fork 0
/
662.4281db71.iframe.bundle.js
1 lines (1 loc) · 23.1 KB
/
662.4281db71.iframe.bundle.js
1
"use strict";(self.webpackChunkbuildcorp_uikits=self.webpackChunkbuildcorp_uikits||[]).push([[662],{"./node_modules/@fluentui/react/lib/components/TextField/TextField.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{A:()=>TextField});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"),Label=__webpack_require__("./node_modules/@fluentui/react/lib/components/Label/Label.js"),Icon=__webpack_require__("./node_modules/@fluentui/react/lib/components/Icon/Icon.js"),classNamesFunction=__webpack_require__("./node_modules/@fluentui/utilities/lib/classNamesFunction.js"),initializeComponentRef=__webpack_require__("./node_modules/@fluentui/utilities/lib/initializeComponentRef.js"),Async=__webpack_require__("./node_modules/@fluentui/utilities/lib/Async.js"),getId=__webpack_require__("./node_modules/@fluentui/utilities/lib/getId.js"),DelayedRender=__webpack_require__("./node_modules/@fluentui/utilities/lib/DelayedRender.js");var warn=__webpack_require__("./node_modules/@fluentui/utilities/lib/warn/warn.js");var __browserNeedsRevealButton,properties=__webpack_require__("./node_modules/@fluentui/utilities/lib/properties.js"),getWindow=__webpack_require__("./node_modules/@fluentui/utilities/lib/dom/getWindow.js"),ie11Detector=__webpack_require__("./node_modules/@fluentui/utilities/lib/ie11Detector.js"),getClassNames=(0,classNamesFunction.Z)(),TextFieldBase=function(_super){function TextFieldBase(props){var _a,_this=_super.call(this,props)||this;_this._textElement=react.createRef(),_this._onFocus=function(ev){_this.props.onFocus&&_this.props.onFocus(ev),_this.setState({isFocused:!0},(function(){_this.props.validateOnFocusIn&&_this._validate(_this.value)}))},_this._onBlur=function(ev){_this.props.onBlur&&_this.props.onBlur(ev),_this.setState({isFocused:!1},(function(){_this.props.validateOnFocusOut&&_this._validate(_this.value)}))},_this._onRenderLabel=function(props){var label=props.label,required=props.required,labelStyles=_this._classNames.subComponentStyles?_this._classNames.subComponentStyles.label:void 0;return label?react.createElement(Label.J,{required,htmlFor:_this._id,styles:labelStyles,disabled:props.disabled,id:_this._labelId},props.label):null},_this._onRenderDescription=function(props){return props.description?react.createElement("span",{className:_this._classNames.description},props.description):null},_this._onRevealButtonClick=function(event){_this.setState((function(prevState){return{isRevealingPassword:!prevState.isRevealingPassword}}))},_this._onInputChange=function(event){var _a,_b,value=event.target.value,previousValue=_getValue(_this.props,_this.state)||"";void 0!==value&&value!==_this._lastChangeValue&&value!==previousValue?(_this._lastChangeValue=value,null===(_b=(_a=_this.props).onChange)||void 0===_b||_b.call(_a,event,value),_this._isControlled||_this.setState({uncontrolledValue:value})):_this._lastChangeValue=void 0},(0,initializeComponentRef.f)(_this),_this._async=new Async.j(_this),_this._fallbackId=(0,getId.O)("TextField"),_this._descriptionId=(0,getId.O)("TextFieldDescription"),_this._labelId=(0,getId.O)("TextFieldLabel"),_this._prefixId=(0,getId.O)("TextFieldPrefix"),_this._suffixId=(0,getId.O)("TextFieldSuffix"),_this._warnControlledUsage();var defaultValue=void 0===(_a=props.defaultValue)?"":_a;return"number"==typeof defaultValue&&(defaultValue=String(defaultValue)),_this.state={uncontrolledValue:_this._isControlled?void 0:defaultValue,isFocused:!1,errorMessage:""},_this._delayedValidate=_this._async.debounce(_this._validate,_this.props.deferredValidationTime),_this._lastValidation=0,_this}return(0,tslib_es6.C6)(TextFieldBase,_super),Object.defineProperty(TextFieldBase.prototype,"value",{get:function(){return _getValue(this.props,this.state)},enumerable:!1,configurable:!0}),TextFieldBase.prototype.componentDidMount=function(){this._adjustInputHeight(),this.props.validateOnLoad&&this._validate(this.value)},TextFieldBase.prototype.componentWillUnmount=function(){this._async.dispose()},TextFieldBase.prototype.getSnapshotBeforeUpdate=function(prevProps,prevState){return{selection:[this.selectionStart,this.selectionEnd]}},TextFieldBase.prototype.componentDidUpdate=function(prevProps,prevState,snapshot){var _a,props=this.props,selection=void 0===(_a=(snapshot||{}).selection)?[null,null]:_a,start=selection[0],end=selection[1];!!prevProps.multiline!=!!props.multiline&&prevState.isFocused&&(this.focus(),null!==start&&null!==end&&start>=0&&end>=0&&this.setSelectionRange(start,end)),prevProps.value!==props.value&&(this._lastChangeValue=void 0);var prevValue=_getValue(prevProps,prevState),value=this.value;prevValue!==value&&(this._warnControlledUsage(prevProps),this.state.errorMessage&&!props.errorMessage&&this.setState({errorMessage:""}),this._adjustInputHeight(),_shouldValidateAllChanges(props)&&this._delayedValidate(value))},TextFieldBase.prototype.render=function(){var _a,_b,_c,_d,_e,_f,borderless=(_a=this.props).borderless,className=_a.className,disabled=_a.disabled,invalid=_a.invalid,iconProps=_a.iconProps,inputClassName=_a.inputClassName,label=_a.label,multiline=_a.multiline,required=_a.required,underlined=_a.underlined,prefix=_a.prefix,resizable=_a.resizable,suffix=_a.suffix,theme=_a.theme,styles=_a.styles,autoAdjustHeight=_a.autoAdjustHeight,canRevealPassword=_a.canRevealPassword,revealPasswordAriaLabel=_a.revealPasswordAriaLabel,type=_a.type,onRenderPrefix=void 0===(_b=_a.onRenderPrefix)?this._onRenderPrefix:_b,onRenderSuffix=void 0===(_c=_a.onRenderSuffix)?this._onRenderSuffix:_c,onRenderLabel=void 0===(_d=_a.onRenderLabel)?this._onRenderLabel:_d,onRenderDescription=void 0===(_e=_a.onRenderDescription)?this._onRenderDescription:_e,isFocused=(_f=this.state).isFocused,isRevealingPassword=_f.isRevealingPassword,errorMessage=this._errorMessage,isInvalid="boolean"==typeof invalid?invalid:!!errorMessage,hasRevealButton=!!canRevealPassword&&"password"===type&&function _browserNeedsRevealButton(){if("boolean"!=typeof __browserNeedsRevealButton){var win=(0,getWindow.z)();if(null==win?void 0:win.navigator){var isEdge=/Edg/.test(win.navigator.userAgent||"");__browserNeedsRevealButton=!((0,ie11Detector.l)()||isEdge)}else __browserNeedsRevealButton=!0}return __browserNeedsRevealButton}(),classNames=this._classNames=getClassNames(styles,{theme,className,disabled,focused:isFocused,required,multiline,hasLabel:!!label,hasErrorMessage:isInvalid,borderless,resizable,hasIcon:!!iconProps,underlined,inputClassName,autoAdjustHeight,hasRevealButton});return react.createElement("div",{ref:this.props.elementRef,className:classNames.root},react.createElement("div",{className:classNames.wrapper},onRenderLabel(this.props,this._onRenderLabel),react.createElement("div",{className:classNames.fieldGroup},(void 0!==prefix||this.props.onRenderPrefix)&&react.createElement("div",{className:classNames.prefix,id:this._prefixId},onRenderPrefix(this.props,this._onRenderPrefix)),multiline?this._renderTextArea():this._renderInput(),iconProps&&react.createElement(Icon.I,(0,tslib_es6.Cl)({className:classNames.icon},iconProps)),hasRevealButton&&react.createElement("button",{"aria-label":revealPasswordAriaLabel,className:classNames.revealButton,onClick:this._onRevealButtonClick,"aria-pressed":!!isRevealingPassword,type:"button"},react.createElement("span",{className:classNames.revealSpan},react.createElement(Icon.I,{className:classNames.revealIcon,iconName:isRevealingPassword?"Hide":"RedEye"}))),(void 0!==suffix||this.props.onRenderSuffix)&&react.createElement("div",{className:classNames.suffix,id:this._suffixId},onRenderSuffix(this.props,this._onRenderSuffix)))),this._isDescriptionAvailable&&react.createElement("span",{id:this._descriptionId},onRenderDescription(this.props,this._onRenderDescription),errorMessage&&react.createElement("div",{role:"alert"},react.createElement(DelayedRender.P,null,this._renderErrorMessage()))))},TextFieldBase.prototype.focus=function(){this._textElement.current&&this._textElement.current.focus()},TextFieldBase.prototype.blur=function(){this._textElement.current&&this._textElement.current.blur()},TextFieldBase.prototype.select=function(){this._textElement.current&&this._textElement.current.select()},TextFieldBase.prototype.setSelectionStart=function(value){this._textElement.current&&(this._textElement.current.selectionStart=value)},TextFieldBase.prototype.setSelectionEnd=function(value){this._textElement.current&&(this._textElement.current.selectionEnd=value)},Object.defineProperty(TextFieldBase.prototype,"selectionStart",{get:function(){return this._textElement.current?this._textElement.current.selectionStart:-1},enumerable:!1,configurable:!0}),Object.defineProperty(TextFieldBase.prototype,"selectionEnd",{get:function(){return this._textElement.current?this._textElement.current.selectionEnd:-1},enumerable:!1,configurable:!0}),TextFieldBase.prototype.setSelectionRange=function(start,end){this._textElement.current&&this._textElement.current.setSelectionRange(start,end)},TextFieldBase.prototype._warnControlledUsage=function(prevProps){this._id,this.props,null!==this.props.value||this._hasWarnedNullValue||(this._hasWarnedNullValue=!0,(0,warn.R)("Warning: 'value' prop on '".concat("TextField","' should not be null. Consider using an ")+"empty string to clear the component or undefined to indicate an uncontrolled component."))},Object.defineProperty(TextFieldBase.prototype,"_id",{get:function(){return this.props.id||this._fallbackId},enumerable:!1,configurable:!0}),Object.defineProperty(TextFieldBase.prototype,"_isControlled",{get:function(){return function isControlled(props,valueProp){return void 0!==props[valueProp]&&null!==props[valueProp]}(this.props,"value")},enumerable:!1,configurable:!0}),TextFieldBase.prototype._onRenderPrefix=function(props){var prefix=props.prefix;return react.createElement("span",{style:{paddingBottom:"1px"}},prefix)},TextFieldBase.prototype._onRenderSuffix=function(props){var suffix=props.suffix;return react.createElement("span",{style:{paddingBottom:"1px"}},suffix)},Object.defineProperty(TextFieldBase.prototype,"_errorMessage",{get:function(){var _a;return(void 0===(_a=this.props.errorMessage)?this.state.errorMessage:_a)||""},enumerable:!1,configurable:!0}),TextFieldBase.prototype._renderErrorMessage=function(){var errorMessage=this._errorMessage;return errorMessage?"string"==typeof errorMessage?react.createElement("p",{className:this._classNames.errorMessage},react.createElement("span",{"data-automation-id":"error-message"},errorMessage)):react.createElement("div",{className:this._classNames.errorMessage,"data-automation-id":"error-message"},errorMessage):null},Object.defineProperty(TextFieldBase.prototype,"_isDescriptionAvailable",{get:function(){var props=this.props;return!!(props.onRenderDescription||props.description||this._errorMessage)},enumerable:!1,configurable:!0}),TextFieldBase.prototype._renderTextArea=function(){var _a,invalid=void 0===(_a=this.props.invalid)?!!this._errorMessage:_a,textAreaProps=(0,properties.G1)(this.props,properties.Sh,["defaultValue"]),ariaLabelledBy=this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0);return react.createElement("textarea",(0,tslib_es6.Cl)({id:this._id},textAreaProps,{ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-labelledby":ariaLabelledBy,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":invalid,"aria-label":this.props.ariaLabel,readOnly:this.props.readOnly,onFocus:this._onFocus,onBlur:this._onBlur}))},TextFieldBase.prototype._renderInput=function(){var _a,_b,_c,ariaLabel=(_a=this.props).ariaLabel,invalid=void 0===(_b=_a.invalid)?!!this._errorMessage:_b,onRenderPrefix=_a.onRenderPrefix,onRenderSuffix=_a.onRenderSuffix,prefix=_a.prefix,suffix=_a.suffix,type=void 0===(_c=_a.type)?"text":_c,labelIds=[];_a.label&&labelIds.push(this._labelId),(void 0!==prefix||onRenderPrefix)&&labelIds.push(this._prefixId),(void 0!==suffix||onRenderSuffix)&&labelIds.push(this._suffixId);var inputProps=(0,tslib_es6.Cl)((0,tslib_es6.Cl)({type:this.state.isRevealingPassword?"text":type,id:this._id},(0,properties.G1)(this.props,properties.QQ,["defaultValue","type"])),{"aria-labelledby":this.props["aria-labelledby"]||(labelIds.length>0?labelIds.join(" "):void 0),ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-label":ariaLabel,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":invalid,onFocus:this._onFocus,onBlur:this._onBlur}),defaultRender=function(updatedInputProps){return react.createElement("input",(0,tslib_es6.Cl)({},updatedInputProps))};return(this.props.onRenderInput||defaultRender)(inputProps,defaultRender)},TextFieldBase.prototype._validate=function(value){var _this=this;if(this._latestValidateValue!==value||!_shouldValidateAllChanges(this.props)){this._latestValidateValue=value;var onGetErrorMessage=this.props.onGetErrorMessage,result=onGetErrorMessage&&onGetErrorMessage(value||"");if(void 0!==result)if("string"!=typeof result&&"then"in result){var currentValidation_1=++this._lastValidation;result.then((function(errorMessage){currentValidation_1===_this._lastValidation&&_this.setState({errorMessage}),_this._notifyAfterValidate(value,errorMessage)}))}else this.setState({errorMessage:result}),this._notifyAfterValidate(value,result);else this._notifyAfterValidate(value,"")}},TextFieldBase.prototype._notifyAfterValidate=function(value,errorMessage){value===this.value&&this.props.onNotifyValidationResult&&this.props.onNotifyValidationResult(errorMessage,value)},TextFieldBase.prototype._adjustInputHeight=function(){var _a,_b;if(this._textElement.current&&this.props.autoAdjustHeight&&this.props.multiline){var scrollTop=null===(_b=null===(_a=this.props.scrollContainerRef)||void 0===_a?void 0:_a.current)||void 0===_b?void 0:_b.scrollTop,textField=this._textElement.current;textField.style.height="",textField.style.height=textField.scrollHeight+"px",scrollTop&&(this.props.scrollContainerRef.current.scrollTop=scrollTop)}},TextFieldBase.defaultProps={resizable:!0,deferredValidationTime:200,validateOnLoad:!0},TextFieldBase}(react.Component);function _getValue(props,state){var _a=props.value,value=void 0===_a?state.uncontrolledValue:_a;return"number"==typeof value?String(value):value}function _shouldValidateAllChanges(props){return!(props.validateOnFocusIn||props.validateOnFocusOut)}var lib=__webpack_require__("./node_modules/@fluentui/style-utilities/lib/index.js"),globalClassNames={root:"ms-TextField",description:"ms-TextField-description",errorMessage:"ms-TextField-errorMessage",field:"ms-TextField-field",fieldGroup:"ms-TextField-fieldGroup",prefix:"ms-TextField-prefix",suffix:"ms-TextField-suffix",wrapper:"ms-TextField-wrapper",revealButton:"ms-TextField-reveal",multiline:"ms-TextField--multiline",borderless:"ms-TextField--borderless",underlined:"ms-TextField--underlined",unresizable:"ms-TextField--unresizable",required:"is-required",disabled:"is-disabled",active:"is-active"};function getLabelStyles(props){var underlined=props.underlined,disabled=props.disabled,focused=props.focused,theme=props.theme,palette=theme.palette,fonts=theme.fonts;return function(){var _a;return{root:[underlined&&disabled&&{color:palette.neutralTertiary},underlined&&{fontSize:fonts.medium.fontSize,marginRight:8,paddingLeft:12,paddingRight:0,lineHeight:"22px",height:32},underlined&&focused&&{selectors:(_a={},_a[lib.up]={height:31},_a)}]}}}var TextField=(0,styled.I)(TextFieldBase,(function getStyles(props){var _a,_b,_c,_d,_e,_f,_g,_h,_j,_k,_l,_m,theme=props.theme,className=props.className,disabled=props.disabled,focused=props.focused,required=props.required,multiline=props.multiline,hasLabel=props.hasLabel,borderless=props.borderless,underlined=props.underlined,hasIcon=props.hasIcon,resizable=props.resizable,hasErrorMessage=props.hasErrorMessage,inputClassName=props.inputClassName,autoAdjustHeight=props.autoAdjustHeight,hasRevealButton=props.hasRevealButton,semanticColors=theme.semanticColors,effects=theme.effects,fonts=theme.fonts,classNames=(0,lib.Km)(globalClassNames,theme),fieldPrefixSuffix={background:semanticColors.disabledBackground,color:disabled?semanticColors.disabledText:semanticColors.inputPlaceholderText,display:"flex",alignItems:"center",padding:"0 10px",lineHeight:1,whiteSpace:"nowrap",flexShrink:0,selectors:(_a={},_a[lib.up]={background:"Window",color:disabled?"GrayText":"WindowText"},_a)},placeholderStyles=[{color:semanticColors.inputPlaceholderText,opacity:1,selectors:(_b={},_b[lib.up]={color:"GrayText"},_b)}],disabledPlaceholderStyles={color:semanticColors.disabledText,selectors:(_c={},_c[lib.up]={color:"GrayText"},_c)};return{root:[classNames.root,fonts.medium,required&&classNames.required,disabled&&classNames.disabled,focused&&classNames.active,multiline&&classNames.multiline,borderless&&classNames.borderless,underlined&&classNames.underlined,lib.S8,{position:"relative"},className],wrapper:[classNames.wrapper,underlined&&[{display:"flex",borderBottom:"1px solid ".concat(hasErrorMessage?semanticColors.errorText:semanticColors.inputBorder),width:"100%"},disabled&&{borderBottomColor:semanticColors.disabledBackground,selectors:(_d={},_d[lib.up]=(0,tslib_es6.Cl)({borderColor:"GrayText"},(0,lib.Qg)()),_d)},!disabled&&{selectors:{":hover":{borderBottomColor:hasErrorMessage?semanticColors.errorText:semanticColors.inputBorderHovered,selectors:(_e={},_e[lib.up]=(0,tslib_es6.Cl)({borderBottomColor:"Highlight"},(0,lib.Qg)()),_e)}}},focused&&[{position:"relative"},(0,lib.Sq)(hasErrorMessage?semanticColors.errorText:semanticColors.inputFocusBorderAlt,0,"borderBottom")]]],fieldGroup:[classNames.fieldGroup,lib.S8,{border:"1px solid ".concat(semanticColors.inputBorder),borderRadius:effects.roundedCorner2,background:semanticColors.inputBackground,cursor:"text",height:32,display:"flex",flexDirection:"row",alignItems:"stretch",position:"relative"},multiline&&{minHeight:"60px",height:"auto",display:"flex"},!focused&&!disabled&&{selectors:{":hover":{borderColor:semanticColors.inputBorderHovered,selectors:(_f={},_f[lib.up]=(0,tslib_es6.Cl)({borderColor:"Highlight"},(0,lib.Qg)()),_f)}}},focused&&!underlined&&(0,lib.Sq)(hasErrorMessage?semanticColors.errorText:semanticColors.inputFocusBorderAlt,effects.roundedCorner2),disabled&&{borderColor:semanticColors.disabledBackground,selectors:(_g={},_g[lib.up]=(0,tslib_es6.Cl)({borderColor:"GrayText"},(0,lib.Qg)()),_g),cursor:"default"},borderless&&{border:"none"},borderless&&focused&&{border:"none",selectors:{":after":{border:"none"}}},underlined&&{flex:"1 1 0px",border:"none",textAlign:"left"},underlined&&disabled&&{backgroundColor:"transparent"},hasErrorMessage&&!underlined&&{borderColor:semanticColors.errorText,selectors:{"&:hover":{borderColor:semanticColors.errorText}}},!hasLabel&&required&&{selectors:(_h={":before":{content:"'*'",color:semanticColors.errorText,position:"absolute",top:-5,right:-10}},_h[lib.up]={selectors:{":before":{color:"WindowText",right:-14}}},_h)}],field:[fonts.medium,classNames.field,lib.S8,{borderRadius:0,border:"none",background:"none",backgroundColor:"transparent",color:semanticColors.inputText,padding:"0 8px",width:"100%",minWidth:0,textOverflow:"ellipsis",outline:0,selectors:(_j={"&:active, &:focus, &:hover":{outline:0},"::-ms-clear":{display:"none"}},_j[lib.up]={background:"Window",color:disabled?"GrayText":"WindowText"},_j)},(0,lib.CX)(placeholderStyles),multiline&&!resizable&&[classNames.unresizable,{resize:"none"}],multiline&&{minHeight:"inherit",lineHeight:17,flexGrow:1,paddingTop:6,paddingBottom:6,overflow:"auto",width:"100%"},multiline&&autoAdjustHeight&&{overflow:"hidden"},hasIcon&&!hasRevealButton&&{paddingRight:24},multiline&&hasIcon&&{paddingRight:40},disabled&&[{backgroundColor:semanticColors.disabledBackground,color:semanticColors.disabledText,borderColor:semanticColors.disabledBackground},(0,lib.CX)(disabledPlaceholderStyles)],underlined&&{textAlign:"left"},focused&&!borderless&&{selectors:(_k={},_k[lib.up]={paddingLeft:11,paddingRight:11},_k)},focused&&multiline&&!borderless&&{selectors:(_l={},_l[lib.up]={paddingTop:4},_l)},inputClassName],icon:[multiline&&{paddingRight:24,alignItems:"flex-end"},{pointerEvents:"none",position:"absolute",bottom:6,right:8,top:"auto",fontSize:lib.fF.medium,lineHeight:18},disabled&&{color:semanticColors.disabledText}],description:[classNames.description,{color:semanticColors.bodySubtext,fontSize:fonts.xSmall.fontSize}],errorMessage:[classNames.errorMessage,lib.lw.slideDownIn20,fonts.small,{color:semanticColors.errorText,margin:0,paddingTop:5,display:"flex",alignItems:"center"}],prefix:[classNames.prefix,fieldPrefixSuffix],suffix:[classNames.suffix,fieldPrefixSuffix],revealButton:[classNames.revealButton,"ms-Button","ms-Button--icon",(0,lib.gm)(theme,{inset:1}),{height:30,width:32,border:"none",padding:"0px 4px",backgroundColor:"transparent",color:semanticColors.link,selectors:{":hover":{outline:0,color:semanticColors.primaryButtonBackgroundHovered,backgroundColor:semanticColors.buttonBackgroundHovered,selectors:(_m={},_m[lib.up]={borderColor:"Highlight",color:"Highlight"},_m)},":focus":{outline:0}}},hasIcon&&{marginRight:28}],revealSpan:{display:"flex",height:"100%",alignItems:"center"},revealIcon:{margin:"0px 4px",pointerEvents:"none",bottom:6,right:8,top:"auto",fontSize:lib.fF.medium,lineHeight:18},subComponentStyles:{label:getLabelStyles(props)}}}),void 0,{scope:"TextField"})},"./node_modules/@fluentui/utilities/lib/DelayedRender.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{P:()=>DelayedRender});var tslib__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/tslib/tslib.es6.mjs"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_dom_getWindow__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@fluentui/utilities/lib/dom/getWindow.js"),DelayedRender=function(_super){function DelayedRender(props){var _this=_super.call(this,props)||this;return _this.state={isRendered:void 0===(0,_dom_getWindow__WEBPACK_IMPORTED_MODULE_2__.z)()},_this}return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.C6)(DelayedRender,_super),DelayedRender.prototype.componentDidMount=function(){var _this=this,delay=this.props.delay;this._timeoutId=window.setTimeout((function(){_this.setState({isRendered:!0})}),delay)},DelayedRender.prototype.componentWillUnmount=function(){this._timeoutId&&clearTimeout(this._timeoutId)},DelayedRender.prototype.render=function(){return this.state.isRendered?react__WEBPACK_IMPORTED_MODULE_0__.Children.only(this.props.children):null},DelayedRender.defaultProps={delay:0},DelayedRender}(react__WEBPACK_IMPORTED_MODULE_0__.Component)},"./node_modules/@fluentui/utilities/lib/ie11Detector.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{l:()=>isIE11});var _dom_getWindow__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@fluentui/utilities/lib/dom/getWindow.js"),isIE11=function(){var _a,win=(0,_dom_getWindow__WEBPACK_IMPORTED_MODULE_0__.z)();return!!(null===(_a=null==win?void 0:win.navigator)||void 0===_a?void 0:_a.userAgent)&&win.navigator.userAgent.indexOf("rv:11.0")>-1}}}]);