-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path148.dbf564f5.iframe.bundle.js
More file actions
1 lines (1 loc) · 22.3 KB
/
148.dbf564f5.iframe.bundle.js
File metadata and controls
1 lines (1 loc) · 22.3 KB
1
"use strict";(self.webpackChunkdata_transparency_ui=self.webpackChunkdata_transparency_ui||[]).push([[148],{"./components/infoTooltip/TooltipWrapper.jsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/defineProperty.js"),_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/prop-types/index.js"),prop_types__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__),lodash_es__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/lodash-es/uniqueId.js"),lodash_es__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/lodash-es/throttle.js"),classnames__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/classnames/index.js"),classnames__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__),_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@fortawesome/react-fontawesome/dist/index.js");function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach((function(r){(0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__.A)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}__webpack_require__("./styles/components/infoTooltip/_tooltipWrapper.scss");var propTypes={className:prop_types__WEBPACK_IMPORTED_MODULE_4___default().string,children:prop_types__WEBPACK_IMPORTED_MODULE_4___default().element,tooltipComponent:prop_types__WEBPACK_IMPORTED_MODULE_4___default().element,tooltipPosition:prop_types__WEBPACK_IMPORTED_MODULE_4___default().string,wide:prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool,icon:prop_types__WEBPACK_IMPORTED_MODULE_4___default().string,width:prop_types__WEBPACK_IMPORTED_MODULE_4___default().number,controlledProps:prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({isControlled:prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool,showTooltip:prop_types__WEBPACK_IMPORTED_MODULE_4___default().func,closeTooltip:prop_types__WEBPACK_IMPORTED_MODULE_4___default().func,isVisible:prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool}),offsetAdjustments:prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({top:prop_types__WEBPACK_IMPORTED_MODULE_4___default().number,right:prop_types__WEBPACK_IMPORTED_MODULE_4___default().number,left:prop_types__WEBPACK_IMPORTED_MODULE_4___default().number}),styles:prop_types__WEBPACK_IMPORTED_MODULE_4___default().object,onMouseMoveTooltip:prop_types__WEBPACK_IMPORTED_MODULE_4___default().func,onMouseLeaveTooltip:prop_types__WEBPACK_IMPORTED_MODULE_4___default().func},TooltipWrapper=function TooltipWrapper(_ref){var _ref$className=_ref.className,className=void 0===_ref$className?null:_ref$className,_ref$children=_ref.children,children=void 0===_ref$children?null:_ref$children,_ref$tooltipComponent=_ref.tooltipComponent,tooltipComponent=void 0===_ref$tooltipComponent?null:_ref$tooltipComponent,_ref$tooltipPosition=_ref.tooltipPosition,tooltipPosition=void 0===_ref$tooltipPosition?"right":_ref$tooltipPosition,_ref$wide=_ref.wide,wide=void 0!==_ref$wide&&_ref$wide,_ref$icon=_ref.icon,icon=void 0===_ref$icon?"":_ref$icon,_ref$width=_ref.width,width=void 0===_ref$width?375:_ref$width,_ref$controlledProps=_ref.controlledProps,controlledProps=void 0===_ref$controlledProps?{isControlled:!1,showTooltip:function showTooltip(){},closeTooltip:function closeTooltip(){},isVisible:!1}:_ref$controlledProps,_ref$offsetAdjustment=_ref.offsetAdjustments,offsetAdjustments=void 0===_ref$offsetAdjustment?{top:-15,right:0,left:0}:_ref$offsetAdjustment,_ref$styles=_ref.styles,styles=void 0===_ref$styles?{}:_ref$styles,propOnMouseMoveTooltip=_ref.onMouseMoveTooltip,propOnMouseLeaveTooltip=_ref.onMouseLeaveTooltip,_useState=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1),_useState2=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_5__.A)(_useState,2),showTooltip=_useState2[0],setShowTooltip=_useState2[1],_useState3=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1),_useState4=(0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_5__.A)(_useState3,2),isHoveringOnTooltip=_useState4[0],setIsHoveringOnTooltip=_useState4[1],tooltipContainer=(0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(),arrowDirection=(0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(""),spacerStyle=(0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)({}),tooltipIcons={info:react__WEBPACK_IMPORTED_MODULE_1__.createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__.gc,{className:"tooltip__icon",icon:"info-circle"})},elId=(0,lodash_es__WEBPACK_IMPORTED_MODULE_6__.A)("dtui-tt_"),onMouseMoveTooltip=function onMouseMoveTooltip(){propOnMouseMoveTooltip?propOnMouseMoveTooltip():controlledProps.isControlled?controlledProps.showTooltip():isHoveringOnTooltip||setIsHoveringOnTooltip(!0)},getAvailableHorizontalSpace=function getAvailableHorizontalSpace(){var totalSpace=window.innerWidth,_tooltipContainer$cur=tooltipContainer.current,tooltipContainerLeftPosition=_tooltipContainer$cur.offsetLeft;return{right:totalSpace-tooltipContainerLeftPosition-_tooltipContainer$cur.clientWidth,left:tooltipContainerLeftPosition,total:totalSpace}},getTooltipWidth=function getTooltipWidth(){var _getAvailableHorizont=getAvailableHorizontalSpace(),spaceToRight=_getAvailableHorizont.right,spaceToLeft=_getAvailableHorizont.left,total=_getAvailableHorizont.total,greatestSpace=spaceToRight>spaceToLeft?spaceToRight:spaceToLeft;return total<425?total-10:"bottom"===tooltipPosition?width:wide?greatestSpace>800?700:greatestSpace-5:width},setTooltipDimensions=function setTooltipDimensions(){if(Object.keys(styles).includes("transform")&&tooltipContainer.current)"bottom"===tooltipPosition?(arrowDirection.current="bottom",spacerStyle.current={width:getTooltipWidth()}):spacerStyle.current={width:getTooltipWidth()};else if(tooltipContainer.current){var tooltipWidth=getTooltipWidth(),_getAvailableHorizont2=getAvailableHorizontalSpace(),spaceToLeft=_getAvailableHorizont2.left,total=_getAvailableHorizont2.total,spaceToRight=_getAvailableHorizont2.right,offsetTopCalc=tooltipContainer.current.offsetTop+offsetAdjustments.top,isMobile=total<700;if("bottom"===tooltipPosition||isMobile)arrowDirection.current="bottom",spacerStyle.current=_objectSpread({},function getDimensionsForMobile(isMobile,widthVar){return isMobile?{top:"".concat(tooltipContainer.current.clientHeight+tooltipContainer.current.offsetTop+8,"px"),widthVar:widthVar,left:"".concat(tooltipContainer.current.clientWidth/2-8,"px")}:_objectSpread(_objectSpread({},spacerStyle.current),{},{widthVar:widthVar})}(isMobile,tooltipWidth));else if("right"===tooltipPosition&&spaceToRight<tooltipWidth){var startingPositionLeft=spaceToLeft-tooltipWidth+tooltipContainer.current.clientWidth;arrowDirection.current="smart-bottom-left",spacerStyle.current={top:tooltipContainer.current.offsetTop+16+tooltipContainer.current.clientHeight,left:startingPositionLeft+20,width:tooltipWidth}}else if("left"===tooltipPosition&&spaceToLeft<tooltipWidth)arrowDirection.current="smart-bottom-right",spacerStyle.current={top:tooltipContainer.current.offsetTop+16+tooltipContainer.current.clientHeight,left:spaceToLeft-20,width:tooltipWidth};else if("left"===tooltipPosition){var _startingPositionLeft=spaceToLeft-tooltipWidth;arrowDirection.current="right",spacerStyle.current={top:offsetTopCalc,left:_startingPositionLeft-5,width:tooltipWidth}}else{var _startingPositionLeft2=spaceToLeft+tooltipContainer.current.clientWidth;arrowDirection.current="left",spacerStyle.current={top:offsetTopCalc,left:_startingPositionLeft2+5,width:tooltipWidth}}}},showTooltipFunc=function showTooltipFunc(){controlledProps.isControlled?controlledProps.showTooltip():showTooltip||setShowTooltip(!0)},closeTooltip=function closeTooltip(){controlledProps.isControlled?controlledProps.closeTooltip():showTooltip&&setShowTooltip(!1)},tooltip=null;return(controlledProps.isControlled&&controlledProps.isVisible||showTooltip||isHoveringOnTooltip)&&(tooltip=react__WEBPACK_IMPORTED_MODULE_1__.createElement("div",{className:"tooltip-spacer",style:spacerStyle.current},react__WEBPACK_IMPORTED_MODULE_1__.createElement("div",{className:"tooltip",id:"tooltip",role:"tooltip",onMouseEnter:onMouseMoveTooltip,onMouseMove:onMouseMoveTooltip,onMouseLeave:function onMouseLeaveTooltip(){propOnMouseLeaveTooltip?propOnMouseLeaveTooltip():isHoveringOnTooltip&&setIsHoveringOnTooltip(!1)}},react__WEBPACK_IMPORTED_MODULE_1__.createElement("div",{className:"tooltip__interior"},react__WEBPACK_IMPORTED_MODULE_1__.createElement("div",{className:"tooltip-pointer ".concat(arrowDirection.current)}),react__WEBPACK_IMPORTED_MODULE_1__.createElement("div",{className:"tooltip__content"},react__WEBPACK_IMPORTED_MODULE_1__.createElement("div",{className:"tooltip__message"},tooltipComponent)))))),(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((function(){var _document;(window.addEventListener("scroll",(0,lodash_es__WEBPACK_IMPORTED_MODULE_7__.A)(setTooltipDimensions,500)),window.addEventListener("resize",(0,lodash_es__WEBPACK_IMPORTED_MODULE_7__.A)(setTooltipDimensions,100)),controlledProps.isControlled)||(null===(_document=document)||void 0===_document||null===(_document=_document.getElementById(elId))||void 0===_document||_document.addEventListener("mousemove",(0,lodash_es__WEBPACK_IMPORTED_MODULE_7__.A)(setTooltipDimensions,500)));return function(){var _document2;(window.removeEventListener("scroll",setTooltipDimensions),window.removeEventListener("resize",setTooltipDimensions),controlledProps.isControlled)||(null===(_document2=document)||void 0===_document2||null===(_document2=_document2.getElementById(elId))||void 0===_document2||_document2.addEventListener("mousemove",setTooltipDimensions))}}),[]),(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((function(){setTooltipDimensions()}),[tooltipContainer.current]),react__WEBPACK_IMPORTED_MODULE_1__.createElement("div",{id:elId,className:classnames__WEBPACK_IMPORTED_MODULE_2___default()((0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__.A)({"tooltip-wrapper":!0},className,null!==className)),style:styles},react__WEBPACK_IMPORTED_MODULE_1__.createElement("div",{ref:function ref(div){tooltipContainer.current=div}},react__WEBPACK_IMPORTED_MODULE_1__.createElement("div",{role:"presentation",tabIndex:"0",className:"tooltip__hover-wrapper",onBlur:closeTooltip,onFocus:showTooltipFunc,onKeyPress:showTooltipFunc,onMouseEnter:showTooltipFunc,onMouseLeave:closeTooltip,onClick:showTooltipFunc},children,icon&&tooltipIcons[icon]),tooltip))};TooltipWrapper.propTypes=propTypes,__webpack_exports__.A=TooltipWrapper,TooltipWrapper.__docgenInfo={description:"",methods:[],displayName:"TooltipWrapper",props:{className:{defaultValue:{value:"null",computed:!1},description:"",type:{name:"string"},required:!1},children:{defaultValue:{value:"null",computed:!1},description:"",type:{name:"element"},required:!1},tooltipComponent:{defaultValue:{value:"null",computed:!1},description:"",type:{name:"element"},required:!1},tooltipPosition:{defaultValue:{value:"'right'",computed:!1},description:"",type:{name:"string"},required:!1},wide:{defaultValue:{value:"false",computed:!1},description:"",type:{name:"bool"},required:!1},icon:{defaultValue:{value:'""',computed:!1},description:"",type:{name:"string"},required:!1},width:{defaultValue:{value:"375",computed:!1},description:"",type:{name:"number"},required:!1},controlledProps:{defaultValue:{value:"{\r\n isControlled: false,\r\n showTooltip: () => {},\r\n closeTooltip: () => {},\r\n isVisible: false\r\n}",computed:!1},description:"",type:{name:"shape",value:{isControlled:{name:"bool",required:!1},showTooltip:{name:"func",required:!1},closeTooltip:{name:"func",required:!1},isVisible:{name:"bool",required:!1}}},required:!1},offsetAdjustments:{defaultValue:{value:"{\r\n top: -15, // So that the arrow points at the middle of the tooltip trigger area 👌\r\n right: 0, // InfoToolTip offset\r\n left: 0\r\n}",computed:!1},description:"",type:{name:"shape",value:{top:{name:"number",required:!1},right:{name:"number",required:!1},left:{name:"number",required:!1}}},required:!1},styles:{defaultValue:{value:"{}",computed:!1},description:"",type:{name:"object"},required:!1},onMouseMoveTooltip:{description:"",type:{name:"func"},required:!1},onMouseLeaveTooltip:{description:"",type:{name:"func"},required:!1}}}},"./helpers/keyboardEventsHelper.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{h:function(){return createOnKeyDownHandler}});var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),createOnKeyDownHandler=function createOnKeyDownHandler(cb){var args=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],keyCodes=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[13,32];return function(e){keyCodes.includes(e.keyCode)&&cb.apply(void 0,(0,_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__.A)(args))}}},"./node_modules/@babel/runtime/helpers/esm/extends.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}__webpack_require__.d(__webpack_exports__,{A:function(){return _extends}})},"./node_modules/@fortawesome/react-fontawesome/dist/index.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{gc:function(){return FontAwesomeIcon}});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@fortawesome/fontawesome-svg-core/index.mjs");__webpack_require__("./node_modules/react/jsx-runtime.js");function camelize(string){return function _isNumerical(object){return(object-=0)==object}(string)?string:(string=string.replace(/[_-]+(.)?/g,((_,chr)=>chr?chr.toUpperCase():""))).charAt(0).toLowerCase()+string.slice(1)}var styleCache=new Map;function styleToObject(style){if(styleCache.has(style))return styleCache.get(style);const result={};let start=0;const len=style.length;for(;start<len;){const semicolonIndex=style.indexOf(";",start),end=-1===semicolonIndex?len:semicolonIndex,pair=style.slice(start,end).trim();if(pair){const colonIndex=pair.indexOf(":");if(colonIndex>0){const rawProp=pair.slice(0,colonIndex).trim(),value=pair.slice(colonIndex+1).trim();if(rawProp&&value){const prop=camelize(rawProp);result[prop.startsWith("webkit")?(val=prop,val.charAt(0).toUpperCase()+val.slice(1)):prop]=value}}}start=end+1}var val;if(1e3===styleCache.size){const oldestKey=styleCache.keys().next().value;oldestKey&&styleCache.delete(oldestKey)}return styleCache.set(style,result),result}var makeReactConverter=function convert(createElement,element,extraProps={}){if("string"==typeof element)return element;const children=(element.children||[]).map((child=>convert(createElement,child))),elementAttributes=element.attributes||{},attrs={};for(const[key,val]of Object.entries(elementAttributes))switch(!0){case"class"===key:attrs.className=val;break;case"style"===key:attrs.style=styleToObject(String(val));break;case key.startsWith("aria-"):case key.startsWith("data-"):attrs[key.toLowerCase()]=val;break;default:attrs[camelize(key)]=val}const{style:existingStyle,role:existingRole,"aria-label":ariaLabel,...remaining}=extraProps;return existingStyle&&(attrs.style=attrs.style?{...attrs.style,...existingStyle}:existingStyle),existingRole&&(attrs.role=existingRole),ariaLabel&&(attrs["aria-label"]=ariaLabel,attrs["aria-hidden"]="false"),createElement(element.tag,{...attrs,...remaining},...children)}.bind(null,react__WEBPACK_IMPORTED_MODULE_0__.createElement),useAccessibilityId=(id,hasAccessibleProps)=>{const generatedId=(0,react__WEBPACK_IMPORTED_MODULE_0__.useId)();return id||(hasAccessibleProps?generatedId:void 0)};"undefined"!=typeof process&&process.env;var SVG_CORE_VERSION="searchPseudoElementsFullScan"in _fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_1__.$W?"7.0.0":"6.0.0",IS_VERSION_7_OR_LATER=Number.parseInt(SVG_CORE_VERSION)>=7,ANIMATION_CLASSES_beat="fa-beat",ANIMATION_CLASSES_fade="fa-fade",ANIMATION_CLASSES_beatFade="fa-beat-fade",ANIMATION_CLASSES_bounce="fa-bounce",ANIMATION_CLASSES_shake="fa-shake",ANIMATION_CLASSES_spin="fa-spin",ANIMATION_CLASSES_spinPulse="fa-spin-pulse",ANIMATION_CLASSES_spinReverse="fa-spin-reverse",ANIMATION_CLASSES_pulse="fa-pulse",PULL_CLASSES={left:"fa-pull-left",right:"fa-pull-right"},ROTATE_CLASSES={90:"fa-rotate-90",180:"fa-rotate-180",270:"fa-rotate-270"},SIZE_CLASSES={"2xs":"fa-2xs",xs:"fa-xs",sm:"fa-sm",lg:"fa-lg",xl:"fa-xl","2xl":"fa-2xl","1x":"fa-1x","2x":"fa-2x","3x":"fa-3x","4x":"fa-4x","5x":"fa-5x","6x":"fa-6x","7x":"fa-7x","8x":"fa-8x","9x":"fa-9x","10x":"fa-10x"},STYLE_CLASSES_border="fa-border",STYLE_CLASSES_fixedWidth="fa-fw",STYLE_CLASSES_flip="fa-flip",STYLE_CLASSES_flipHorizontal="fa-flip-horizontal",STYLE_CLASSES_flipVertical="fa-flip-vertical",STYLE_CLASSES_inverse="fa-inverse",STYLE_CLASSES_rotateBy="fa-rotate-by",STYLE_CLASSES_swapOpacity="fa-swap-opacity",STYLE_CLASSES_widthAuto="fa-width-auto";function withPrefix(cls){const prefix=_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_1__.$W.cssPrefix||_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_1__.$W.familyPrefix||"fa";return"fa"===prefix?cls:cls.replace(new RegExp(String.raw`(?<=^|\s)${"fa"}-`,"g"),`${prefix}-`)}function normalizeIconArgs(icon){if(icon)return(icon=>"object"==typeof icon&&"icon"in icon&&!!icon.icon)(icon)?icon:_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_1__.qg.icon(icon)}var logger=new class{constructor(scope="react-fontawesome"){this.enabled=!1;let IS_DEV=!1;try{IS_DEV="undefined"!=typeof process&&!1}catch{}this.scope=scope,this.enabled=IS_DEV}log(...args){this.enabled&&console.log(`[${this.scope}]`,...args)}warn(...args){this.enabled&&console.warn(`[${this.scope}]`,...args)}error(...args){this.enabled&&console.error(`[${this.scope}]`,...args)}}("FontAwesomeIcon"),DEFAULT_PROPS={border:!1,className:"",mask:void 0,maskId:void 0,fixedWidth:!1,inverse:!1,flip:!1,icon:void 0,listItem:!1,pull:void 0,pulse:!1,rotation:void 0,rotateBy:!1,size:void 0,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:void 0,transform:void 0,swapOpacity:!1,widthAuto:!1},DEFAULT_PROP_KEYS=new Set(Object.keys(DEFAULT_PROPS)),FontAwesomeIcon=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(((props,ref)=>{const allProps={...DEFAULT_PROPS,...props},{icon:iconArgs,mask:maskArgs,symbol:symbol,title:title,titleId:titleIdFromProps,maskId:maskIdFromProps,transform:transform}=allProps,maskId=useAccessibilityId(maskIdFromProps,Boolean(maskArgs)),titleId=useAccessibilityId(titleIdFromProps,Boolean(title)),iconLookup=normalizeIconArgs(iconArgs);if(!iconLookup)return logger.error("Icon lookup is undefined",iconArgs),null;const classList=function getClassListFromProps(props){const{beat:beat,fade:fade,beatFade:beatFade,bounce:bounce,shake:shake,spin:spin,spinPulse:spinPulse,spinReverse:spinReverse,pulse:pulse,fixedWidth:fixedWidth,inverse:inverse,border:border,flip:flip,size:size,rotation:rotation,pull:pull,swapOpacity:swapOpacity,rotateBy:rotateBy,widthAuto:widthAuto,className:className}=props,result=[];return className&&result.push(...className.split(" ")),beat&&result.push(ANIMATION_CLASSES_beat),fade&&result.push(ANIMATION_CLASSES_fade),beatFade&&result.push(ANIMATION_CLASSES_beatFade),bounce&&result.push(ANIMATION_CLASSES_bounce),shake&&result.push(ANIMATION_CLASSES_shake),spin&&result.push(ANIMATION_CLASSES_spin),spinReverse&&result.push(ANIMATION_CLASSES_spinReverse),spinPulse&&result.push(ANIMATION_CLASSES_spinPulse),pulse&&result.push(ANIMATION_CLASSES_pulse),fixedWidth&&result.push(STYLE_CLASSES_fixedWidth),inverse&&result.push(STYLE_CLASSES_inverse),border&&result.push(STYLE_CLASSES_border),!0===flip&&result.push(STYLE_CLASSES_flip),"horizontal"!==flip&&"both"!==flip||result.push(STYLE_CLASSES_flipHorizontal),"vertical"!==flip&&"both"!==flip||result.push(STYLE_CLASSES_flipVertical),null!=size&&result.push(SIZE_CLASSES[size]),null!=rotation&&0!==rotation&&result.push(ROTATE_CLASSES[rotation]),null!=pull&&result.push(PULL_CLASSES[pull]),swapOpacity&&result.push(STYLE_CLASSES_swapOpacity),IS_VERSION_7_OR_LATER?(rotateBy&&result.push(STYLE_CLASSES_rotateBy),widthAuto&&result.push(STYLE_CLASSES_widthAuto),"fa"===(_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_1__.$W.cssPrefix||_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_1__.$W.familyPrefix||"fa")?result:result.map(withPrefix)):result}(allProps),transformProps="string"==typeof transform?_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_1__.qg.transform(transform):transform,normalizedMaskArgs=normalizeIconArgs(maskArgs),renderedIcon=(0,_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_1__.Kk)(iconLookup,{...classList.length>0&&{classes:classList},...transformProps&&{transform:transformProps},...normalizedMaskArgs&&{mask:normalizedMaskArgs},symbol:symbol,title:title,titleId:titleId,maskId:maskId});if(!renderedIcon)return logger.error("Could not find icon",iconLookup),null;const{abstract:abstract}=renderedIcon,extraProps={ref:ref};for(const key of function typedObjectKeys(obj){return Object.keys(obj)}(allProps))DEFAULT_PROP_KEYS.has(key)||(extraProps[key]=allProps[key]);return makeReactConverter(abstract[0],extraProps)}));FontAwesomeIcon.displayName="FontAwesomeIcon"},"./styles/components/infoTooltip/_tooltipWrapper.scss":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__)}}]);