0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.119.19.251


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/20.99f7d304.chunk.js.map

{"version":3,"sources":["../node_modules/react-hotkeys/es/react-hotkeys.production.min.js","../node_modules/use-callback-ref/dist/es2015/assignRef.js","../node_modules/use-callback-ref/dist/es2015/useMergeRef.js","../node_modules/use-callback-ref/dist/es2015/useRef.js","../node_modules/react-focus-lock/dist/es2015/FocusGuard.js","../node_modules/tslib/tslib.es6.js","../node_modules/use-sidecar/dist/es2015/medium.js","../node_modules/react-focus-lock/dist/es2015/medium.js","../node_modules/react-focus-lock/dist/es2015/scope.js","../node_modules/react-focus-lock/dist/es2015/Lock.js","../node_modules/focus-lock/dist/es2015/constants.js","../node_modules/react-clientside-effect/lib/index.es.js","../node_modules/focus-lock/dist/es2015/utils/array.js","../node_modules/focus-lock/dist/es2015/utils/is.js","../node_modules/focus-lock/dist/es2015/utils/tabOrder.js","../node_modules/focus-lock/dist/es2015/utils/tabUtils.js","../node_modules/focus-lock/dist/es2015/utils/tabbables.js","../node_modules/focus-lock/dist/es2015/utils/DOMutils.js","../node_modules/focus-lock/dist/es2015/utils/getActiveElement.js","../node_modules/focus-lock/dist/es2015/utils/safe.js","../node_modules/focus-lock/dist/es2015/utils/all-affected.js","../node_modules/focus-lock/dist/es2015/focusInside.js","../node_modules/focus-lock/dist/es2015/commands.js","../node_modules/focus-lock/dist/es2015/utils/correctFocus.js","../node_modules/focus-lock/dist/es2015/utils/firstFocus.js","../node_modules/focus-lock/dist/es2015/solver.js","../node_modules/focus-lock/dist/es2015/utils/auto-focus.js","../node_modules/focus-lock/dist/es2015/utils/parenting.js","../node_modules/focus-lock/dist/es2015/focusSolver.js","../node_modules/focus-lock/dist/es2015/moveFocusInside.js","../node_modules/focus-lock/dist/es2015/sibling.js","../node_modules/focus-lock/dist/es2015/return-focus.js","../node_modules/react-focus-lock/dist/es2015/util.js","../node_modules/react-focus-lock/dist/es2015/Trap.js","../node_modules/focus-lock/dist/es2015/focusIsHidden.js","../node_modules/focus-lock/dist/es2015/focusables.js","../node_modules/react-focus-lock/dist/es2015/Combination.js","../node_modules/react-focus-lock/dist/es2015/index.js","../node_modules/react-hotkeys/index.es.js"],"names":["__webpack_require__","r","__webpack_exports__","d","HotKeys","GlobalHotKeys$1","IgnoreKeys$1","ObserveKeys$1","withHotKeys","withIgnoreKeys","withObserveKeys","configure","getApplicationKeyMap","recordKeyCombination","prop_types__WEBPACK_IMPORTED_MODULE_0__","prop_types__WEBPACK_IMPORTED_MODULE_0___default","n","react__WEBPACK_IMPORTED_MODULE_1__","react__WEBPACK_IMPORTED_MODULE_1___default","_typeof","obj","Symbol","iterator","constructor","prototype","_classCallCheck","instance","Constructor","TypeError","_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","_createClass","protoProps","staticProps","_defineProperty","value","_extends","assign","arguments","source","hasOwnProperty","call","apply","this","_objectSpread","ownKeys","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","forEach","_inherits","subClass","superClass","create","_setPrototypeOf","_getPrototypeOf","o","setPrototypeOf","getPrototypeOf","__proto__","p","_construct","Parent","args","Class","Reflect","construct","sham","Proxy","Date","toString","e","isNativeReflectConstruct","a","push","Function","bind","_wrapNativeSuper","_cache","Map","undefined","fn","indexOf","has","get","set","Wrapper","_objectWithoutProperties","excluded","sourceKeys","_objectWithoutPropertiesLoose","sourceSymbolKeys","propertyIsEnumerable","_assertThisInitialized","self","ReferenceError","_possibleConstructorReturn","_get","property","receiver","base","object","_superPropBase","desc","_toConsumableArray","arr","Array","isArray","arr2","_arrayWithoutHoles","iter","from","_iterableToArray","_nonIterableSpread","dictionaryFrom","b","reduce","c","_defaultConfiguration","logLevel","defaultKeyEvent","defaultComponent","defaultTabIndex","ignoreTags","enableHardSequences","ignoreKeymapAndHandlerChangesByDefault","ignoreEventsCondition","tagName","toLowerCase","Configuration","option","isContentEditable","ignoreRepeatedEventsWhenKeyHeldDown","simulateMissingKeyPressEvents","stopEventPropagationAfterHandling","stopEventPropagationAfterIgnoring","allowCombinationSubmatches","customKeyCodes","_configuration","_ignoreTagsDict","_customKeyNamesDict","values","console","warn","Logger","noop","levels","error","some","log","none","info","debug","verbose","KeyEventType","keydown","keypress","keyup","ModifierFlagsDictionary","Shift","Meta","Control","Alt","ShiftedKeysDictionary","`","1","2","3","4","5","6","7","8","9","0","-","=",";","'",",",".","/","\\","[","]","#","resolveShiftedAlias","toUpperCase","hasKey","invertArrayDictionary","includeOriginal","UnshiftedKeysDictionary","resolveUnshiftedAlias","KeyOSAndLayoutAliasesDictionary$1","isString","MousetrapToReactKeyNamesDictionary","tab","capslock","shift","meta","alt","ctrl","space","spacebar","escape","esc","left","right","up","down","return","del","command","enter","backspace","ins","pageup","pagedown","end","home","contextmenu","numlock","KeyShorthandDictionary","cmd","standardizeKeyName","match","translateToKey","12","13","16","17","18","19","20","27","32","33","34","35","36","37","38","39","40","45","46","112","113","114","115","116","117","118","119","120","121","122","123","144","145","224","NonPrintableKeysDictionary","isNonPrintableKeyName","isValidKey","String","fromCharCode","charCodeAt","isCustomKeyName","InvalidKeyNameError","f","Error","normalizedCombinationId","sort","join","KeySequenceParser","trim","replace","stripSuperfluousWhitespace","split","slice","g","map","parseCombination","h","j","id","keyDictionary","keyEventType","size","sequence","prefix","combination","ensureValidKeys","AltedKeysDictionary","k","l","m","q","s","t","u","v","w","x","y","z","UnaltedKeysDictionary","resolveUnaltedAlias","resolveAltedAlias","AltShiftedKeysDictionary","UnaltShiftedKeysDictionary","resolveUnaltShiftedAlias","resolveAltShiftedAlias","KeyCombinationSerializer","parse","KeyEventSequenceIndex","isUndefined","KeyEventState","unseen","seen","simulated","KeyEventStateArrayManager","newRecord","isObject","isEmpty","KeyCombination","_keys","_includesKeyUp","_update","_ids","_keyAliases","_getKeyStates","keysStillPressedDict","_setKeyState","_getKeyState","isKeyIncluded","clone","setBit","addKey","isKeyStillPressed","isEventTriggered","isKeyReleased","_getKeyStateType","_isKeyEventSimulated","getIds","ids","keyAliases","getKeyAliases","serialize","resolveKeyAlias","applicableAliasFunctions","buildKeyAliases","getNormalizedKeyName","KeyHistory","maxLength","_records","_maxLength","_push","any","getLength","_ensureInitialKeyCombination","getCurrentCombination","setKeyState","_trimHistory","toJSON","_shift","Registry","_registry","arrayFrom","ComponentTree","childIds","parentId","keyMap","_addChildId","_getParentId","_removeChildId","stringifyFirst","without","ComponentOptionsListIterator","_list","_position","getAtPosition","getPosition","getComponent","ComponentOptionsList","_idToIndex","_longestSequence","_longestSequenceComponentId","_keyMapEventRecord","containsId","update","_build","_getLastIndex","getIndexById","_isUpdatingComponentWithLongestSequence","getLongestSequence","sequenceLength","_recalculateLongestSequence","removeAtPosition","removeAtIndex","componentId","_applyHardSequences","handlers","actions","_buildActionDictionary","options","_getLongestSequenceComponentId","getNewIterator","next","longestSequence","isValidKeySerialization","sequences","action","keySequence","normalizeActionOptions","_addActionOptions","actionName","indexFromEnd","KeysWithKeyUpHiddenByCmd","Enter","Backspace","ArrowRight","ArrowLeft","ArrowUp","ArrowDown","CapsLock","keyupIsHiddenByCmd","KeyCombinationMatcher","_actionConfigs","_order","_includesMatcherForCombination","_addHandlerToActionConfig","handler","_addNewActionConfig","_setOrder","done","_matchesActionConfig","actionConfigs","order","keyUpIsBeingHidden","getNumberOfKeys","canBeMatched","events","every","wasEventPreviouslyTriggered","_setCombinationMatcher","_getCombinationMatcher","KeyHistoryMatcher","_combinationMatchers","_eventRecord","_getOrCreateCombinationMatcher","addMatch","_findCombinationMatcher","findMatch","getMostRecentCombinations","fill","ActionResolver","_keyMapMatchers","_unmatchedHandlerStatus","_handlersDictionary","_keySequencesDictionary","_componentList","_componentListIterator","_componentHasUnmatchedHandlers","_addHandlersFromComponent","_addActionsFromComponent","_getKeyHistoryMatcher","getKeyHistoryMatcher","hasMatchesForEventType","componentHasActionsBoundToEventType","_getHandlers","_isClosestHandlerFound","_addKeySequence","_getUnmatchedHandlerStatus","_addHandler","copyAttributes","describeKeyEventType","parseInt","stateFromEvent","SEQUENCE_ATTRIBUTES","KEYMAP_ATTRIBUTES","AbstractKeyEventStrategy","logger","keyEventManager","_componentTree","rootComponentId","_reset","resetKeyHistory","componentList","_initHandlerResolutionState","_keyHistory","_newKeyHistory","_actionResolver","keypressEventsToSimulate","keyupEventsToSimulate","getKeyHistory","force","_buildApplicationKeyMap","_createSequenceFromConfig","add","setParent","remove","setMaxLength","hasEnded","hasKeyPressEvent","findMatchingKeySequenceInComponent","_stopEventPropagationAfterHandlingIfEnabled","_stopEventPropagation","KeyEventCounter","_id","getId","normalizeKey","Esc","Spacebar","Left","Up","Right","Down","Del","Win","Menu","Apps","Scroll","MozPrintableKey","getKeyName","keyCode","charCode","nativeEvent","type","getEventCharCode","reactsGetEventKey","isCmdKey","EventResponse","EventPropagator","logPrefix","_previousPropagation","_logPrefix","_previousPosition","_actionHandled","_ignoreEvent","_observeIgnoredEvents","_stopping","_componentId","_key","_type","getPreviousPosition","isFirstPropagationStep","incrementId","repeat","ignoreEvent","isStopped","isRoot","_clone","copyState","setIgnoreEvent","isIgnoringEvent","stop","finishPropagationStep","stopPropagation","FocusOnlyKeyEventStrategy","focusTreeId","eventPropagator","resetOnNextFocus","_addComponent","isPendingPropagation","startNewPropagationStep","_howToHandleKeyEvent","isEnding","_startAndLogNewKeyCombination","_addToAndLogCurrentKeyCombination","_callHandlerIfActionNotHandled","_simulateKeyPressForNonPrintableKeys","_eventIsToBeIgnored","_checkForModifierFlagDiscrepancies","isKeyPressSimulated","isKeyUpSimulated","_simulateKeyUpEventsHiddenByCmd","_handleEventSimulation","_shouldSimulate","event","forEachKey","startNewKeyCombination","addKeyToCurrentCombination","_cloneAndMergeEvent","isGlobalListenersBound","_simulatePendingKeyEvents","describe","anyActionsForEventType","isHandled","_callClosestMatchingHandler","setHandled","logIcons","eventIcons","componentIcons","eventId","contains","find","capitalize","GlobalKeyEventStrategy","listenersBound","eventOptions","listeners","_updateDocumentHandlers","_listenersShouldBeBound","document","normalizeEventName","keyCombination","_howReactAppRespondedTo","_callHandlerIfExists","reactAppHistoryWithEvent","closeHangingKeyCombination","_allKeysAreReleased","getKeyDictionary","simulatePendingKeyPressEvents","simulatePendingKeyUpEvents","isFromFocusOnlyComponent","KeyEventManager","_focusOnlyEventStrategy","configuration","_globalEventStrategy","mountedComponentsCount","registerKeyMap","reregisterKeyMap","deregisterKeyMap","_incrementComponentCount","registerComponentMount","_decrementComponentCount","window","onblur","_clearKeyHistory","addKeyCombinationListener","enableHotKeys","updateEnabledHotKeys","disableHotKeys","handleKeydown","handleKeyPress","handleKeyUp","getEventPropagator","observeIgnoredEvents","getPreviousPropagation","isForKey","isForEventType","backwardsCompatibleContext","deprecatedAPI","contextTypes","childContextTypes","newAPI","contextType","createContext","getChildContext","_childContext","_originalRender","render","createElement","Provider","_handleFocus","_handleBlur","_handleKeyDown","_handleKeyPress","_handleKeyUp","_componentIsFocused","getInstance","hotKeysParentId","allowChanges","root","onFocus","_wrapFunction","onBlur","tabIndex","_shouldBindKeyListeners","onKeyDown","onKeyPress","onKeyUp","hotKeys","_handlersIncludeHardSequences","_focusTreeIds","_getFocusTreeId","_getComponentOptions","_focused","context","_focusTreeIdsPush","registerComponentUnmount","_focusTreeIdsShift","_getEventOptions","func","bool","number","innerRef","component","ref","propTypes","oneOfType","GlobalHotKeys","registerGlobalKeyMap","globalHotKeysParentId","children","reregisterGlobalKeyMap","updateEnabledGlobalHotKeys","registerGlobalComponentMount","enableGlobalHotKeys","deregisterGlobalKeyMap","disableGlobalHotKeys","registerGlobalComponentUnmount","withHotKeysIgnoreOverride","only","except","_handleKeyEvent","_reloadDictionaries","_onlyDict","_exceptDict","_shouldIgnoreEvent","string","arrayOf","init","assignRef","current","currentValues","WeakMap","useMergeRefs","refs","defaultValue","callbackRef","initialValue","callback","react","facade","last","useCallbackRef","newValue","oldValue","prevRefs_1","Set","nextRefs_1","current_1","hiddenGuard","width","height","padding","overflow","position","top","FocusGuard_InFocusGuard","_ref","_ref$children","data-focus-guard","data-focus-auto-guard","style","_assign","SuppressedError","ItoI","innerCreateMedium","defaults","middleware","buffer","assigned","read","useMedium","data","item","assignSyncMedium","cb","cbs","assignMedium","pendingQueue","executeQueue","cycle","Promise","resolve","then","_filter","createMedium","mediumFocus","currentTarget","mediumBlur","mediumEffect","mediumSidecar","medium","async","ssr","createSidecarMedium","focusScope","emptyArray","FocusLock","parentRef","_extends2","_React$useState","realObserved","setObserved","observed","isActive","originalFocusedElement","_props$disabled","disabled","_props$noFocusGuards","noFocusGuards","_props$persistentFocu","persistentFocus","_props$crossFrame","crossFrame","_props$autoFocus","autoFocus","group","allowTextSelection","className","whiteList","hasPositiveIndices","_props$shards","shards","_props$as","as","Container","_props$lockProps","lockProps","containerProps","SideCar","sideCar","_props$returnFocus","returnFocus","shouldReturnFocus","focusOptions","onActivationCallback","onActivation","onDeactivationCallback","onDeactivation","captureFocusRestore","_document","activeElement","body","allowDefer","focusRestore","returnFocusTo","howToReturnFocus","returnFocusOptions","focus","setObserveNode","newObserved","esm_extends","hasLeadingGuards","hasTailingGuards","mergedRef","focusScopeValue","enabled","active","Lock","index_es","reducePropsToState","handleStateChangeOnClient","WrappedComponent","state","mountedInstances","emitChange","SideEffect","_PureComponent","inheritsLoose","peek","_proto","componentDidMount","componentDidUpdate","componentWillUnmount","index","splice","react_default","displayName","name","getDisplayName","toArray","ret","asArray","getFirst","getParentNode","node","parentNode","nodeType","Node","DOCUMENT_FRAGMENT_NODE","host","isTopNode","DOCUMENT_NODE","isVisibleUncached","checkParent","ELEMENT_NODE","computedStyle","getComputedStyle","getPropertyValue","isElementHidden","hasAttribute","isInert","isAutoFocusAllowedCached","cache","cached","result","is_isAutoFocusAllowed","isAutoFocusAllowedUncached","getDataset","dataset","isHTMLInputElement","isRadioElement","attribute","getAttribute","includes","isGuard","_a","Boolean","focusGuard","isNotAGuard","isDefined","tabSort","aTab","Math","max","bTab","tabDiff","indexDiff","tabOrder_orderByTabIndex","nodes","filterNegative","keepGuards","getTabIndex","queryTabbables","queryGuardTabbables","tabUtils_getFocusables","parents","withGuards","acc","parent","focusableWithShadowDom","getFocusablesWithShadowDom","shadowRoot","child","matches","tabUtils_getFocusablesWithShadowDom","focusableWithIframes","HTMLIFrameElement","contentDocument","getFocusablesWithIFrame","querySelectorAll","DOMutils_filterFocusable","visibilityCache","isVisibleCached","isHTMLButtonElement","notHiddenInput","DOMutils_filterAutoFocusable","DOMutils_getTabbableNodes","topNodes","DOMutils_getFocusableNodes","DOMutils_parentAutofocusables","topNode","parentFocus","tabUtils_getParentAutofocusables","DOMutils_contains","scope","element","iframeBody","getActiveElement_getActiveElement","getActiveElement","inDocument","safeProbe","contentWindow","all_affected_getAllAffectedNodes","currentNode","contained","compareDocumentPosition","DOCUMENT_POSITION_CONTAINED_BY","DOCUMENT_POSITION_CONTAINS","_","filterNested","getTopParent","focusInside_focusInside","ownerDocument","frame","focusInFrame","focusInside_focusInsideIframe","focusOn","correctFocus_correctNode","el","checked","correctFocus_findSelectedRadio","firstFocus_pickFirstFocus","firstFocus_pickFocusable","solver_newFocus","innerNodes","innerTabbables","outerNodes","lastNode","cnt","firstFocus","lastFocus","isOnGuard","activeIndex","lastIndex","lastNodeInside","firstNodeIndex","lastNodeIndex","correctedNodes","resultSet","correctNodes","correctedIndexDiff","returnFirstNode","returnLastNode","abs","auto_focus_pickAutofocus","nodesIndexes","orderedNodes","groups","autoFocusables","autoFocusable","autofocus","getParents","getCommonParent","nodeA","nodeB","parentsA","parentsB","currentParent","parenting_getTopCommonParent","baseActiveElement","leftEntry","rightEntries","activeElements","leftEntries","topCommon","entry","subEntry","common","parenting_allParentAutofocusables","entries","focusSolver_focusSolver","commonParent","anyFocusable","innerElements","orderedInnerElements","srcNodes","dstNodes","remap","entity","focusSolver_reorderNodes","innerFocusables","innerTabbable","newId","focusNode","guardCount","lockDisabled","moveFocusInside_moveFocusInside","focusable","setTimeout","sibling_moveFocus","fromElement","newOptions","onlyTabbable","defaultOptions","solution","useTabbables","shard","focusables","findIndex","prev","first","sibling_getRelativeFocusable","sibling_pickBoundary","what","sibling_getBoundary","weakRef","WeakRef","deref","deferAction","extractRef","Trap_isFreeFocus","focusIsHidden_focusIsHidden","lastActiveTrap","lastActiveFocus","lastPortaledElement","focusWasOutsideWindow","autoGuard","startIndex","step","allNodes","lastGuard","guard","focusAutoGuard","lockItem","Trap_activateTrap","_lastActiveTrap","workingNode","portaledElement","workingArea","focusWhitelisted","area","checkInHost","check","boundary","withinHost","blur","querySelector","newActiveElement","focusables_expandFocusableNodes","focusedIndex","_ref2","_ref3","removeAttribute","onTrap","preventDefault","Trap_onBlur","Trap_onFocus","observerNode","Trap_onWindowBlur","attachHandler","addEventListener","detachHandler","removeEventListener","focusLockAPI","moveFocusInside","focusInside","focusNextElement","focusPrevElement","focusFirstElement","focusLastElement","targetElement","location","stack","currentElement","parentElement","previousElementSibling","nextElementSibling","recordElementLocation","_b","_c","_d","_e","_i","stack_1","line","parent_1","savedCurrent","aim","_f","focusables_1","return_focus_restoreFocusTo","Trap","propsList","_ref5","traps","trap","lastTrap","sameTrap","_ref6","FocusLockCombination","Combination_ref","objectWithoutPropertiesLoose","module","exports"],"mappings":"4FAAAA,EAAAC,EAAAC,GAAAF,EAAAG,EAAAD,EAAA,4BAAAE,KAAAJ,EAAAG,EAAAD,EAAA,kCAAAG,KAAAL,EAAAG,EAAAD,EAAA,+BAAAI,KAAAN,EAAAG,EAAAD,EAAA,gCAAAK,KAAAP,EAAAG,EAAAD,EAAA,gCAAAM,KAAAR,EAAAG,EAAAD,EAAA,mCAAAO,KAAAT,EAAAG,EAAAD,EAAA,oCAAAQ,KAAAV,EAAAG,EAAAD,EAAA,8BAAAS,KAAAX,EAAAG,EAAAD,EAAA,yCAAAU,KAAAZ,EAAAG,EAAAD,EAAA,yCAAAW,KAAA,IAAAC,EAAAd,EAAA,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,WAAA,GACVwc,GAAI3U,QACFtxB,OAAAkmC,EAAA,EAAAlmC,CAA8BimC,GAAI,aAChDD,GAAAvc,UAAkF,GCdlF/rB,EAAA,uCCGAyoC,EAAAC,QAAmB1oC,EAAQ","file":"static/js/20.99f7d304.chunk.js","sourcesContent":["/**\n * ISC License\n *\n * Copyright (c) 2018, Aleck Greenham\n *\n * Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n */\n\nimport PropTypes from 'prop-types';\nimport React, { PureComponent, Component } from 'react';\nfunction _typeof(obj) {\n  if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n    _typeof = function _typeof(obj) {\n      return typeof obj;\n    };\n  } else {\n    _typeof = function _typeof(obj) {\n      return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n    };\n  }\n  return _typeof(obj);\n}\nfunction _classCallCheck(instance, Constructor) {\n  if (!(instance instanceof Constructor)) {\n    throw new TypeError(\"Cannot call a class as a function\");\n  }\n}\nfunction _defineProperties(target, props) {\n  for (var i = 0; i < props.length; i++) {\n    var descriptor = props[i];\n    descriptor.enumerable = descriptor.enumerable || false;\n    descriptor.configurable = true;\n    if (\"value\" in descriptor) descriptor.writable = true;\n    Object.defineProperty(target, descriptor.key, descriptor);\n  }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n  if (staticProps) _defineProperties(Constructor, staticProps);\n  return Constructor;\n}\nfunction _defineProperty(obj, key, value) {\n  if (key in obj) {\n    Object.defineProperty(obj, key, {\n      value: value,\n      enumerable: true,\n      configurable: true,\n      writable: true\n    });\n  } else {\n    obj[key] = value;\n  }\n  return obj;\n}\nfunction _extends() {\n  _extends = Object.assign || function (target) {\n    for (var i = 1; i < arguments.length; i++) {\n      var source = arguments[i];\n      for (var key in source) {\n        if (Object.prototype.hasOwnProperty.call(source, key)) {\n          target[key] = source[key];\n        }\n      }\n    }\n    return target;\n  };\n  return _extends.apply(this, arguments);\n}\nfunction _objectSpread(target) {\n  for (var i = 1; i < arguments.length; i++) {\n    var source = arguments[i] != null ? arguments[i] : {};\n    var ownKeys = Object.keys(source);\n    if (typeof Object.getOwnPropertySymbols === 'function') {\n      ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {\n        return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n      }));\n    }\n    ownKeys.forEach(function (key) {\n      _defineProperty(target, key, source[key]);\n    });\n  }\n  return target;\n}\nfunction _inherits(subClass, superClass) {\n  if (typeof superClass !== \"function\" && superClass !== null) {\n    throw new TypeError(\"Super expression must either be null or a function\");\n  }\n  subClass.prototype = Object.create(superClass && superClass.prototype, {\n    constructor: {\n      value: subClass,\n      writable: true,\n      configurable: true\n    }\n  });\n  if (superClass) _setPrototypeOf(subClass, superClass);\n}\nfunction _getPrototypeOf(o) {\n  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n    return o.__proto__ || Object.getPrototypeOf(o);\n  };\n  return _getPrototypeOf(o);\n}\nfunction _setPrototypeOf(o, p) {\n  _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n    o.__proto__ = p;\n    return o;\n  };\n  return _setPrototypeOf(o, p);\n}\nfunction isNativeReflectConstruct() {\n  if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n  if (Reflect.construct.sham) return false;\n  if (typeof Proxy === \"function\") return true;\n  try {\n    Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));\n    return true;\n  } catch (e) {\n    return false;\n  }\n}\nfunction _construct(Parent, args, Class) {\n  if (isNativeReflectConstruct()) {\n    _construct = Reflect.construct;\n  } else {\n    _construct = function _construct(Parent, args, Class) {\n      var a = [null];\n      a.push.apply(a, args);\n      var Constructor = Function.bind.apply(Parent, a);\n      var instance = new Constructor();\n      if (Class) _setPrototypeOf(instance, Class.prototype);\n      return instance;\n    };\n  }\n  return _construct.apply(null, arguments);\n}\nfunction _isNativeFunction(fn) {\n  return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n}\nfunction _wrapNativeSuper(Class) {\n  var _cache = typeof Map === \"function\" ? new Map() : undefined;\n  _wrapNativeSuper = function _wrapNativeSuper(Class) {\n    if (Class === null || !_isNativeFunction(Class)) return Class;\n    if (typeof Class !== \"function\") {\n      throw new TypeError(\"Super expression must either be null or a function\");\n    }\n    if (typeof _cache !== \"undefined\") {\n      if (_cache.has(Class)) return _cache.get(Class);\n      _cache.set(Class, Wrapper);\n    }\n    function Wrapper() {\n      return _construct(Class, arguments, _getPrototypeOf(this).constructor);\n    }\n    Wrapper.prototype = Object.create(Class.prototype, {\n      constructor: {\n        value: Wrapper,\n        enumerable: false,\n        writable: true,\n        configurable: true\n      }\n    });\n    return _setPrototypeOf(Wrapper, Class);\n  };\n  return _wrapNativeSuper(Class);\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n  if (source == null) return {};\n  var target = {};\n  var sourceKeys = Object.keys(source);\n  var key, i;\n  for (i = 0; i < sourceKeys.length; i++) {\n    key = sourceKeys[i];\n    if (excluded.indexOf(key) >= 0) continue;\n    target[key] = source[key];\n  }\n  return target;\n}\nfunction _objectWithoutProperties(source, excluded) {\n  if (source == null) return {};\n  var target = _objectWithoutPropertiesLoose(source, excluded);\n  var key, i;\n  if (Object.getOwnPropertySymbols) {\n    var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n    for (i = 0; i < sourceSymbolKeys.length; i++) {\n      key = sourceSymbolKeys[i];\n      if (excluded.indexOf(key) >= 0) continue;\n      if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n      target[key] = source[key];\n    }\n  }\n  return target;\n}\nfunction _assertThisInitialized(self) {\n  if (self === void 0) {\n    throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n  }\n  return self;\n}\nfunction _possibleConstructorReturn(self, call) {\n  if (call && (typeof call === \"object\" || typeof call === \"function\")) {\n    return call;\n  }\n  return _assertThisInitialized(self);\n}\nfunction _superPropBase(object, property) {\n  while (!Object.prototype.hasOwnProperty.call(object, property)) {\n    object = _getPrototypeOf(object);\n    if (object === null) break;\n  }\n  return object;\n}\nfunction _get(target, property, receiver) {\n  if (typeof Reflect !== \"undefined\" && Reflect.get) {\n    _get = Reflect.get;\n  } else {\n    _get = function _get(target, property, receiver) {\n      var base = _superPropBase(target, property);\n      if (!base) return;\n      var desc = Object.getOwnPropertyDescriptor(base, property);\n      if (desc.get) {\n        return desc.get.call(receiver);\n      }\n      return desc.value;\n    };\n  }\n  return _get(target, property, receiver || target);\n}\nfunction _toConsumableArray(arr) {\n  return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();\n}\nfunction _arrayWithoutHoles(arr) {\n  if (Array.isArray(arr)) {\n    for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];\n    return arr2;\n  }\n}\nfunction _iterableToArray(iter) {\n  if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter);\n}\nfunction _nonIterableSpread() {\n  throw new TypeError(\"Invalid attempt to spread non-iterable instance\");\n}\nfunction dictionaryFrom(a) {\n  var b = 1 < arguments.length && arguments[1] !== void 0 ? arguments[1] : null;\n  return a.reduce(function (a, c) {\n    return a[c] = b || {\n      value: c\n    }, a;\n  }, {});\n}\nvar _defaultConfiguration = {\n    logLevel: \"warn\",\n    defaultKeyEvent: \"keydown\",\n    defaultComponent: \"div\",\n    defaultTabIndex: \"-1\",\n    ignoreTags: [\"input\", \"select\", \"textarea\"],\n    enableHardSequences: !1,\n    ignoreKeymapAndHandlerChangesByDefault: !0,\n    ignoreEventsCondition: function c(a) {\n      var b = a.target;\n      if (b && b.tagName) {\n        var d = b.tagName.toLowerCase();\n        return Configuration.option(\"_ignoreTagsDict\")[d] || b.isContentEditable;\n      }\n      return !1;\n    },\n    ignoreRepeatedEventsWhenKeyHeldDown: !0,\n    simulateMissingKeyPressEvents: !0,\n    stopEventPropagationAfterHandling: !0,\n    stopEventPropagationAfterIgnoring: !0,\n    allowCombinationSubmatches: !1,\n    customKeyCodes: {}\n  },\n  _configuration = _objectSpread({}, _defaultConfiguration);\n_configuration._ignoreTagsDict = dictionaryFrom(_configuration.ignoreTags, !0);\nvar Configuration = function () {\n  function a() {\n    _classCallCheck(this, a);\n  }\n  return _createClass(a, null, [{\n    key: \"init\",\n    value: function e(a) {\n      var b = this,\n        c = a.ignoreTags,\n        d = a.customKeyCodes;\n      c && (a._ignoreTagsDict = dictionaryFrom(a.ignoreTags)), d && (a._customKeyNamesDict = dictionaryFrom(Object.values(a.customKeyCodes))), -1 !== [\"verbose\", \"debug\", \"info\"].indexOf(a.logLevel) && console.warn(\"React HotKeys: You have requested log level '\".concat(a.logLevel, \"' but for performance reasons, logging below severity level 'warning' is disabled in production. Please use the development build for complete logs.\")), Object.keys(a).forEach(function (c) {\n        b.set(c, a[c]);\n      });\n    }\n  }, {\n    key: \"set\",\n    value: function c(a, b) {\n      _configuration[a] = b;\n    }\n  }, {\n    key: \"reset\",\n    value: function b(a) {\n      _configuration[a] = _defaultConfiguration[a];\n    }\n  }, {\n    key: \"option\",\n    value: function b(a) {\n      return _configuration[a];\n    }\n  }]), a;\n}();\nvar Logger = function () {\n  function a() {\n    var b = this,\n      c = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : \"warn\";\n    if (_classCallCheck(this, a), _defineProperty(this, \"verbose\", this.noop), _defineProperty(this, \"debug\", this.noop), _defineProperty(this, \"info\", this.noop), _defineProperty(this, \"warn\", this.noop), _defineProperty(this, \"error\", this.noop), this.logLevel = this.constructor.levels[c], this.logLevel >= this.constructor.levels.error) this.error = console.error;else return;\n    if (this.logLevel >= this.constructor.levels.warn) this.warn = console.warn;else return;\n    [\"info\", \"debug\", \"verbose\"].some(function (a) {\n      return !(b.logLevel >= b.constructor.levels[a]) || (b[a] = console.log, !1);\n    });\n  }\n  return _createClass(a, [{\n    key: \"noop\",\n    value: function a() {}\n  }]), a;\n}();\n_defineProperty(Logger, \"logIcons\", [\"\\uD83D\\uDCD5\", \"\\uD83D\\uDCD7\", \"\\uD83D\\uDCD8\", \"\\uD83D\\uDCD9\"]), _defineProperty(Logger, \"componentIcons\", [\"\\uD83D\\uDD3A\", \"\\u2B50\\uFE0F\", \"\\uD83D\\uDD37\", \"\\uD83D\\uDD36\", \"\\u2B1B\\uFE0F\"]), _defineProperty(Logger, \"eventIcons\", [\"\\u2764\\uFE0F\", \"\\uD83D\\uDC9A\", \"\\uD83D\\uDC99\", \"\\uD83D\\uDC9B\", \"\\uD83D\\uDC9C\", \"\\uD83E\\uDDE1\"]), _defineProperty(Logger, \"levels\", {\n  none: 0,\n  error: 1,\n  warn: 2,\n  info: 3,\n  debug: 4,\n  verbose: 5\n});\nvar KeyEventType = {\n  keydown: 0,\n  keypress: 1,\n  keyup: 2\n};\nvar ModifierFlagsDictionary = {\n  Shift: [\"shiftKey\"],\n  Meta: [\"metaKey\"],\n  Control: [\"ctrlKey\"],\n  Alt: [\"altKey\"]\n};\nvar ShiftedKeysDictionary = {\n  \"`\": [\"~\"],\n  1: [\"!\"],\n  2: [\"@\", \"\\\"\"],\n  3: [\"#\", \"\\xA3\"],\n  4: [\"$\"],\n  5: [\"%\"],\n  6: [\"^\"],\n  7: [\"&\"],\n  8: [\"*\"],\n  9: [\"(\"],\n  0: [\")\"],\n  \"-\": [\"_\"],\n  \"=\": [\"plus\"],\n  \";\": [\":\"],\n  \"'\": [\"\\\"\", \"@\"],\n  \",\": [\"<\"],\n  \".\": [\">\"],\n  \"/\": [\"?\"],\n  \"\\\\\": [\"|\"],\n  \"[\": [\"{\"],\n  \"]\": [\"}\"],\n  \"#\": [\"~\"]\n};\nfunction resolveShiftedAlias(a) {\n  return ShiftedKeysDictionary[a] || [1 === a.length ? a.toUpperCase() : a];\n}\nfunction hasKey(a, b) {\n  return a.hasOwnProperty(b);\n}\nfunction invertArrayDictionary(a) {\n  var b = 1 < arguments.length && arguments[1] !== void 0 ? arguments[1] : {};\n  return Object.keys(a).reduce(function (c, d) {\n    var e = a[d];\n    return e.forEach(function (a) {\n      hasKey(c, a) || (c[a] = []), c[a].push(d);\n    }), b.includeOriginal && (!hasKey(c, d) && (c[d] = []), c[d] = [].concat(_toConsumableArray(c[d]), _toConsumableArray(e))), c;\n  }, {});\n}\nvar UnshiftedKeysDictionary = invertArrayDictionary(ShiftedKeysDictionary);\nfunction resolveUnshiftedAlias(a) {\n  return UnshiftedKeysDictionary[a] || [1 === a.length ? a.toLowerCase() : a];\n}\nvar KeyOSAndLayoutAliasesDictionary = {};\nvar KeyOSAndLayoutAliasesDictionary$1 = invertArrayDictionary(KeyOSAndLayoutAliasesDictionary, {\n  includeOriginal: !0\n});\nfunction isString(a) {\n  return \"string\" == typeof a;\n}\nfunction stripSuperfluousWhitespace(a) {\n  return isString(a) ? a.trim().replace(/\\s+/g, \" \") : a;\n}\nvar MousetrapToReactKeyNamesDictionary = {\n  tab: \"Tab\",\n  capslock: \"CapsLock\",\n  shift: \"Shift\",\n  meta: \"Meta\",\n  alt: \"Alt\",\n  ctrl: \"Control\",\n  space: \" \",\n  spacebar: \" \",\n  escape: \"Escape\",\n  esc: \"Escape\",\n  left: \"ArrowLeft\",\n  right: \"ArrowRight\",\n  up: \"ArrowUp\",\n  down: \"ArrowDown\",\n  return: \"Enter\",\n  del: \"Delete\",\n  command: \"Meta\",\n  option: \"Alt\",\n  enter: \"Enter\",\n  backspace: \"Backspace\",\n  ins: \"Insert\",\n  pageup: \"PageUp\",\n  pagedown: \"PageDown\",\n  end: \"End\",\n  home: \"Home\",\n  contextmenu: \"ContextMenu\",\n  numlock: \"Clear\"\n};\nvar KeyShorthandDictionary = {\n  cmd: \"Meta\"\n};\nfunction standardizeKeyName(a) {\n  var b = a.toLowerCase();\n  return MousetrapToReactKeyNamesDictionary[b] || KeyShorthandDictionary[b] || (a.match(/^f\\d+$/) ? a.toUpperCase() : a);\n}\nvar translateToKey = {\n  8: \"Backspace\",\n  9: \"Tab\",\n  12: \"Clear\",\n  13: \"Enter\",\n  16: \"Shift\",\n  17: \"Control\",\n  18: \"Alt\",\n  19: \"Pause\",\n  20: \"CapsLock\",\n  27: \"Escape\",\n  32: \" \",\n  33: \"PageUp\",\n  34: \"PageDown\",\n  35: \"End\",\n  36: \"Home\",\n  37: \"ArrowLeft\",\n  38: \"ArrowUp\",\n  39: \"ArrowRight\",\n  40: \"ArrowDown\",\n  45: \"Insert\",\n  46: \"Delete\",\n  112: \"F1\",\n  113: \"F2\",\n  114: \"F3\",\n  115: \"F4\",\n  116: \"F5\",\n  117: \"F6\",\n  118: \"F7\",\n  119: \"F8\",\n  120: \"F9\",\n  121: \"F10\",\n  122: \"F11\",\n  123: \"F12\",\n  144: \"NumLock\",\n  145: \"ScrollLock\",\n  224: \"Meta\"\n};\nvar NonPrintableKeysDictionary = dictionaryFrom(Object.values(translateToKey), !0);\nfunction isNonPrintableKeyName(a) {\n  return !!NonPrintableKeysDictionary[a];\n}\nfunction isCustomKeyName(a) {\n  return Configuration.option(\"_customKeyNamesDict\")[a];\n}\nfunction isValidKey(a) {\n  return isNonPrintableKeyName(a) || String.fromCharCode(a.charCodeAt(0)) === a || isCustomKeyName(a);\n}\nvar InvalidKeyNameError = function (a) {\n  function b() {\n    var a, c;\n    _classCallCheck(this, b);\n    for (var d = arguments.length, e = Array(d), f = 0; f < d; f++) e[f] = arguments[f];\n    return c = _possibleConstructorReturn(this, (a = _getPrototypeOf(b)).call.apply(a, [this].concat(e))), _defineProperty(_assertThisInitialized(_assertThisInitialized(c)), \"name\", \"InvalidKeyNameError\"), c;\n  }\n  return _inherits(b, a), b;\n}(_wrapNativeSuper(Error));\nfunction normalizedCombinationId(a) {\n  return a.sort().join(\"+\");\n}\nvar KeySequenceParser = function () {\n  function a() {\n    _classCallCheck(this, a);\n  }\n  return _createClass(a, null, [{\n    key: \"parse\",\n    value: function k(a) {\n      var b = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {},\n        c = stripSuperfluousWhitespace(a),\n        d = c.split(\" \");\n      try {\n        var e = d.slice(0, d.length - 1),\n          f = d[d.length - 1],\n          g = e.map(function (a) {\n            var c = parseCombination(a, b);\n            return normalizedCombinationId(Object.keys(c));\n          }).join(\" \"),\n          h = parseCombination(f, b),\n          i = normalizedCombinationId(Object.keys(h)),\n          j = {\n            id: i,\n            keyDictionary: h,\n            keyEventType: b.keyEventType,\n            size: Object.keys(h).length\n          };\n        return {\n          sequence: {\n            prefix: g,\n            size: e.length + 1\n          },\n          combination: j\n        };\n      } catch (a) {\n        return {\n          sequence: null,\n          combination: null\n        };\n      }\n    }\n  }]), a;\n}();\nfunction parseCombination(a) {\n  var b = 1 < arguments.length && arguments[1] !== void 0 ? arguments[1] : {};\n  return a.replace(/^\\+|(\\s|[^+]\\+)\\+/, \"$1plus\").split(\"+\").reduce(function (a, c) {\n    var d = standardizeKeyName(c);\n    if (b.ensureValidKeys && !isValidKey(d)) throw new InvalidKeyNameError();\n    return a[d] = !0, a;\n  }, {});\n}\nvar AltedKeysDictionary = {\n  \"`\": [\"`\"],\n  1: [\"\\xA1\"],\n  2: [\"\\u2122\"],\n  3: [\"\\xA3\"],\n  4: [\"\\xA2\"],\n  5: [\"\\u221E\"],\n  6: [\"\\xA7\"],\n  7: [\"\\xB6\"],\n  8: [\"\\u2022\"],\n  9: [\"\\xAA\"],\n  0: [\"\\xBA\"],\n  \"-\": [\"\\u2013\"],\n  \"=\": [\"\\u2260\"],\n  a: [\"\\xE5\"],\n  b: [\"\\u222B\"],\n  c: [\"\\xE7\"],\n  d: [\"\\u2202\"],\n  e: [\"\\xB4\"],\n  f: [\"\\u0192\"],\n  g: [\"\\xA9\"],\n  h: [\"\\u02D9\"],\n  i: [\"\\u02C6\"],\n  j: [\"\\u2206\"],\n  k: [\"\\u02DA\"],\n  l: [\"\\xAC\"],\n  m: [\"\\xB5\"],\n  n: [\"\\u02DC\"],\n  o: [\"\\xF8\"],\n  p: [\"\\u03C0\"],\n  q: [\"\\u0153\"],\n  r: [\"\\xAE\"],\n  s: [\"\\xDF\"],\n  t: [\"\\u2020\"],\n  u: [\"\\xA8\"],\n  v: [\"\\u221A\"],\n  w: [\"\\u2211\"],\n  x: [\"\\u2248\"],\n  y: [\"\\xA5\"],\n  z: [\"\\u03A9\"],\n  \"[\": [\"\\u201C\"],\n  \"]\": [\"\\u2018\"],\n  \"\\\\\": [\"\\xAB\"],\n  \"'\": [\"\\xE6\"],\n  \";\": [\"\\u2026\"],\n  \",\": [\"\\u2264\"],\n  \".\": [\"\\u2265\"],\n  \"/\": [\"\\xF7\"]\n};\nvar UnaltedKeysDictionary = invertArrayDictionary(AltedKeysDictionary);\nfunction resolveUnaltedAlias(a) {\n  return UnaltedKeysDictionary[a] || [a];\n}\nfunction resolveAltedAlias(a) {\n  return AltedKeysDictionary[a] || [a];\n}\nvar AltShiftedKeysDictionary = {\n  \"`\": [\"`\"],\n  1: [\"\\u2044\"],\n  2: [\"\\u20AC\"],\n  3: [\"\\u2039\"],\n  4: [\"\\u203A\"],\n  5: [\"\\uFB01\"],\n  6: [\"\\uFB02\"],\n  7: [\"\\u2021\"],\n  8: [\"\\xB0\"],\n  9: [\"\\xB7\"],\n  0: [\"\\u201A\"],\n  \"-\": [\"\\u2014\"],\n  \"=\": [\"\\xB1\"],\n  a: [\"\\xC5\"],\n  b: [\"\\u0131\"],\n  c: [\"\\xC7\"],\n  d: [\"\\xCE\"],\n  e: [\"\\xB4\"],\n  f: [\"\\xCF\"],\n  g: [\"\\u02DD\"],\n  h: [\"\\xD3\"],\n  i: [\"\\u02C6\"],\n  j: [\"\\xD4\"],\n  k: [\"\\uF8FF\"],\n  l: [\"\\xD2\"],\n  m: [\"\\xC2\"],\n  n: [\"\\u02DC\"],\n  o: [\"\\xD8\"],\n  p: [\"\\u03C0\"],\n  q: [\"\\u0152\"],\n  r: [\"\\u2030\"],\n  s: [\"\\xCD\"],\n  t: [\"\\xCE\"],\n  u: [\"\\xA8\"],\n  v: [\"\\u25CA\"],\n  w: [\"\\u201E\"],\n  x: [\"\\u02DB\"],\n  y: [\"\\xC1\"],\n  z: [\"\\xB8\"],\n  \"[\": [\"\\u201D\"],\n  \"]\": [\"\\u2019\"],\n  \"\\\\\": [\"\\xBB\"],\n  \"'\": [\"\\xC6\"],\n  \";\": [\"\\xDA\"],\n  \",\": [\"\\xAF\"],\n  \".\": [\"\\u02D8\"]\n};\nvar UnaltShiftedKeysDictionary = invertArrayDictionary(AltShiftedKeysDictionary);\nfunction resolveUnaltShiftedAlias(a) {\n  return UnaltShiftedKeysDictionary[a] || resolveUnshiftedAlias(a);\n}\nfunction resolveAltShiftedAlias(a) {\n  return AltShiftedKeysDictionary[a] || [a];\n}\nvar KeyCombinationSerializer = function () {\n  function a() {\n    _classCallCheck(this, a);\n  }\n  return _createClass(a, null, [{\n    key: \"serialize\",\n    value: function f(a) {\n      var b = a.Shift,\n        c = a.Alt,\n        d = {},\n        e = Object.keys(a).sort();\n      return e.forEach(function (a) {\n        var e = [];\n        if (b) {\n          if (c) {\n            var f = resolveUnaltShiftedAlias(a),\n              g = resolveAltShiftedAlias(a);\n            e = [].concat(_toConsumableArray(e), [a], _toConsumableArray(f), _toConsumableArray(g));\n          } else {\n            var h = resolveUnshiftedAlias(a),\n              i = resolveShiftedAlias(a);\n            e = [].concat(_toConsumableArray(e), [a], _toConsumableArray(h), _toConsumableArray(i));\n          }\n        } else if (c) {\n          var j = resolveUnaltedAlias(a),\n            k = resolveAltedAlias(a);\n          e = [].concat(_toConsumableArray(e), [a], _toConsumableArray(j), _toConsumableArray(k));\n        } else {\n          e.push(a);\n          var m = KeyOSAndLayoutAliasesDictionary$1[a];\n          m && (e = [].concat(_toConsumableArray(e), _toConsumableArray(m)));\n        }\n        var l = Object.keys(d);\n        0 < l.length ? l.forEach(function (a) {\n          e.forEach(function (b) {\n            d[a + \"+\".concat(b)] = _objectSpread({}, d[a], _defineProperty({}, b, !0));\n          }), delete d[a];\n        }) : e.forEach(function (a) {\n          d[a] = _defineProperty({}, a, !0);\n        });\n      }), Object.values(d).map(function (a) {\n        return Object.keys(a).sort().join(\"+\");\n      });\n    }\n  }, {\n    key: \"isValidKeySerialization\",\n    value: function b(a) {\n      return !!(0 < a.length) && !!KeySequenceParser.parse(a, {\n        ensureValidKeys: !0\n      }).combination;\n    }\n  }]), a;\n}();\nvar KeyEventSequenceIndex = {\n  previous: 0,\n  current: 1\n};\nfunction resolveKeyAlias(a) {\n  return KeyOSAndLayoutAliasesDictionary$1[a] || [a];\n}\nfunction applicableAliasFunctions(a) {\n  if (a.Shift) return a.Alt ? [resolveAltShiftedAlias, resolveUnaltShiftedAlias] : [resolveShiftedAlias, resolveUnshiftedAlias];\n  if (a.Alt) return [resolveAltedAlias, resolveUnaltedAlias];\n  var b = function b(a) {\n    return [a];\n  };\n  return [b, b];\n}\nfunction isUndefined(a) {\n  return \"undefined\" == typeof a;\n}\nvar KeyEventState = {\n  unseen: 0,\n  seen: 1,\n  simulated: 2\n};\nvar KeyEventStateArrayManager = function () {\n  function a() {\n    _classCallCheck(this, a);\n  }\n  return _createClass(a, null, [{\n    key: \"newRecord\",\n    value: function d(a, b) {\n      var c = [KeyEventState.unseen, KeyEventState.unseen, KeyEventState.unseen];\n      if (!isUndefined(a)) for (var e = 0; e <= a; e++) c[e] = b;\n      return c;\n    }\n  }, {\n    key: \"setBit\",\n    value: function d(a, b, c) {\n      return a[b] = c, a;\n    }\n  }, {\n    key: \"clone\",\n    value: function d(a) {\n      for (var b = this.newRecord(), c = 0; c < a.length; c++) b[c] = a[c];\n      return b;\n    }\n  }]), a;\n}();\nfunction isObject(a) {\n  return !Array.isArray(a) && \"object\" === _typeof(a) && null !== a;\n}\nfunction isEmpty(a) {\n  return isObject(a) ? 0 === Object.keys(a).length : !a || 0 === a.length;\n}\nfunction size(a) {\n  return isObject(a) ? Object.keys(a).length : a.length;\n}\nvar KeyCombination = function () {\n  function a() {\n    var b = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {};\n    _classCallCheck(this, a), this._keys = b, this._includesKeyUp = !1, this._update();\n  }\n  return _createClass(a, [{\n    key: \"getIds\",\n    value: function a() {\n      return this._ids;\n    }\n  }, {\n    key: \"getKeyAliases\",\n    value: function a() {\n      return this._keyAliases;\n    }\n  }, {\n    key: \"getNormalizedKeyName\",\n    value: function d(a) {\n      var b = this._keys[a];\n      if (b) return a;\n      var c = this._keyAliases[a];\n      return c ? c : a;\n    }\n  }, {\n    key: \"getNumberOfKeys\",\n    value: function a() {\n      return size(this._keys);\n    }\n  }, {\n    key: \"any\",\n    value: function a() {\n      return 0 < Object.keys(this._getKeyStates()).length;\n    }\n  }, {\n    key: \"isEnding\",\n    value: function a() {\n      return this._includesKeyUp;\n    }\n  }, {\n    key: \"hasEnded\",\n    value: function a() {\n      return isEmpty(this.keysStillPressedDict());\n    }\n  }, {\n    key: \"addKey\",\n    value: function c(a, b) {\n      this._setKeyState(a, [KeyEventStateArrayManager.newRecord(), KeyEventStateArrayManager.newRecord(KeyEventType.keydown, b)]);\n    }\n  }, {\n    key: \"setKeyState\",\n    value: function g(a, b, c) {\n      var d = this._getKeyState(a);\n      if (this.isKeyIncluded(a)) {\n        var e = KeyEventStateArrayManager.clone(d[1]),\n          f = KeyEventStateArrayManager.clone(e);\n        KeyEventStateArrayManager.setBit(f, b, c), this._setKeyState(a, [e, f]);\n      } else this.addKey(a, c);\n      b === KeyEventType.keyup && (this._includesKeyUp = !0);\n    }\n  }, {\n    key: \"forEachKey\",\n    value: function b(a) {\n      return Object.keys(this._keys).forEach(a);\n    }\n  }, {\n    key: \"some\",\n    value: function b(a) {\n      return Object.keys(this._keys).some(a);\n    }\n  }, {\n    key: \"getKeyDictionary\",\n    value: function a() {\n      return dictionaryFrom(Object.keys(this._getKeyStates()), !0);\n    }\n  }, {\n    key: \"keysStillPressedDict\",\n    value: function b() {\n      var a = this;\n      return Object.keys(this._keys).reduce(function (b, c) {\n        return a.isKeyStillPressed(c) && (b[c] = a._getKeyState(c)), b;\n      }, {});\n    }\n  }, {\n    key: \"isKeyIncluded\",\n    value: function b(a) {\n      return !!this._getKeyState(a);\n    }\n  }, {\n    key: \"isKeyStillPressed\",\n    value: function b(a) {\n      return this.isEventTriggered(a, KeyEventType.keypress) && !this.isKeyReleased(a);\n    }\n  }, {\n    key: \"isKeyReleased\",\n    value: function b(a) {\n      return this.isEventTriggered(a, KeyEventType.keyup);\n    }\n  }, {\n    key: \"isEventTriggered\",\n    value: function c(a, b) {\n      return this._getKeyStateType(a, KeyEventSequenceIndex.current, b);\n    }\n  }, {\n    key: \"wasEventPreviouslyTriggered\",\n    value: function c(a, b) {\n      return this._getKeyStateType(a, KeyEventSequenceIndex.previous, b);\n    }\n  }, {\n    key: \"isKeyPressSimulated\",\n    value: function b(a) {\n      return this._isKeyEventSimulated(a, KeyEventType.keypress);\n    }\n  }, {\n    key: \"isKeyUpSimulated\",\n    value: function b(a) {\n      return this._isKeyEventSimulated(a, KeyEventType.keyup);\n    }\n  }, {\n    key: \"describe\",\n    value: function a() {\n      return this.getIds()[0];\n    }\n  }, {\n    key: \"toJSON\",\n    value: function a() {\n      return {\n        keys: this._getKeyStates(),\n        ids: this.getIds(),\n        keyAliases: this.getKeyAliases()\n      };\n    }\n  }, {\n    key: \"_getKeyStateType\",\n    value: function e(a, b, c) {\n      var d = this._getKeyState(a);\n      return d && d[b][c];\n    }\n  }, {\n    key: \"_update\",\n    value: function a() {\n      this._ids = KeyCombinationSerializer.serialize(this._keys), this._keyAliases = buildKeyAliases(this._keys);\n    }\n  }, {\n    key: \"_isKeyEventSimulated\",\n    value: function c(a, b) {\n      return this.isEventTriggered(a, b) === KeyEventState.simulated;\n    }\n  }, {\n    key: \"_getKeyStates\",\n    value: function a() {\n      return this._keys;\n    }\n  }, {\n    key: \"_getKeyState\",\n    value: function d(a) {\n      var b = this._keys[a];\n      if (b) return b;\n      var c = this._keyAliases[a];\n      if (c) return this._keys[c];\n    }\n  }, {\n    key: \"_setKeyState\",\n    value: function d(a, b) {\n      var c = this.getNormalizedKeyName(a);\n      this._keys[c] = b, this._update();\n    }\n  }]), a;\n}();\nfunction buildKeyAliases(a) {\n  return Object.keys(a).reduce(function (b, c) {\n    return resolveKeyAlias(c).forEach(function (d) {\n      applicableAliasFunctions(a).forEach(function (a) {\n        a(d).forEach(function (a) {\n          (a !== c || c !== d) && (b[a] = c);\n        });\n      });\n    }), b;\n  }, {});\n}\nvar KeyHistory = function () {\n  function a(b) {\n    var c = b.maxLength,\n      d = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : null;\n    _classCallCheck(this, a), this._records = [], this._maxLength = c, d ? this._push(d) : this._push(new KeyCombination());\n  }\n  return _createClass(a, [{\n    key: \"getMostRecentCombinations\",\n    value: function b(a) {\n      return this._records.slice(-a, -1);\n    }\n  }, {\n    key: \"any\",\n    value: function a() {\n      return this._records.some(function (a) {\n        return a.any();\n      });\n    }\n  }, {\n    key: \"getLength\",\n    value: function a() {\n      return this._records.length;\n    }\n  }, {\n    key: \"getCurrentCombination\",\n    value: function a() {\n      return this._records[this.getLength() - 1];\n    }\n  }, {\n    key: \"addKeyToCurrentCombination\",\n    value: function d(a, b, c) {\n      this._ensureInitialKeyCombination(), this.getCurrentCombination().setKeyState(a, b, c);\n    }\n  }, {\n    key: \"setMaxLength\",\n    value: function b(a) {\n      this._maxLength = a, this._trimHistory();\n    }\n  }, {\n    key: \"startNewKeyCombination\",\n    value: function d(a, b) {\n      this._ensureInitialKeyCombination();\n      var c = new KeyCombination(this.getCurrentCombination().keysStillPressedDict());\n      c.addKey(a, b), this._push(c);\n    }\n  }, {\n    key: \"toJSON\",\n    value: function a() {\n      return this._records.map(function (a) {\n        return a.toJSON();\n      });\n    }\n  }, {\n    key: \"_ensureInitialKeyCombination\",\n    value: function a() {\n      0 === this.getLength() && this._push(new KeyCombination());\n    }\n  }, {\n    key: \"_push\",\n    value: function b(a) {\n      this._trimHistory(), this._records.push(a);\n    }\n  }, {\n    key: \"_trimHistory\",\n    value: function a() {\n      for (; this.getLength() > this._maxLength;) this._shift();\n    }\n  }, {\n    key: \"_shift\",\n    value: function a() {\n      this._records.shift();\n    }\n  }]), a;\n}();\nvar Registry = function () {\n  function a() {\n    _classCallCheck(this, a), this._registry = {};\n  }\n  return _createClass(a, [{\n    key: \"get\",\n    value: function b(a) {\n      return this._registry[a];\n    }\n  }, {\n    key: \"set\",\n    value: function c(a, b) {\n      this._registry[a] = b;\n    }\n  }, {\n    key: \"remove\",\n    value: function b(a) {\n      delete this._registry[a];\n    }\n  }, {\n    key: \"toJSON\",\n    value: function a() {\n      return this._registry;\n    }\n  }]), a;\n}();\nfunction arrayFrom(a) {\n  return Array.isArray(a) ? a : a ? [a] : [];\n}\nfunction without(a) {\n  var b = 1 < arguments.length && arguments[1] !== void 0 ? arguments[1] : [],\n    c = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : {},\n    d = dictionaryFrom(arrayFrom(b));\n  return Array.isArray(a) ? a.reduce(function (a, b) {\n    return d[b] && (c.stringifyFirst || d[b].value === b) || a.push(b), a;\n  }, []) : isObject(a) ? Object.keys(a).reduce(function (b, c) {\n    return d[c] || (b[c] = a[c]), b;\n  }, {}) : a;\n}\nvar ComponentTree = function (a) {\n  function b() {\n    return _classCallCheck(this, b), _possibleConstructorReturn(this, _getPrototypeOf(b).apply(this, arguments));\n  }\n  return _inherits(b, a), _createClass(b, [{\n    key: \"add\",\n    value: function d(a, c) {\n      _get(_getPrototypeOf(b.prototype), \"set\", this).call(this, a, {\n        childIds: [],\n        parentId: null,\n        keyMap: c\n      });\n    }\n  }, {\n    key: \"update\",\n    value: function e(a, c) {\n      var d = _get(_getPrototypeOf(b.prototype), \"get\", this).call(this, a);\n      _get(_getPrototypeOf(b.prototype), \"set\", this).call(this, a, _objectSpread({}, d, {\n        keyMap: c\n      }));\n    }\n  }, {\n    key: \"setParent\",\n    value: function c(a, b) {\n      this.get(a).parentId = b, this._addChildId(b, a);\n    }\n  }, {\n    key: \"remove\",\n    value: function d(a) {\n      var c = this._getParentId(a);\n      this._removeChildId(c, a), _get(_getPrototypeOf(b.prototype), \"remove\", this).call(this, a);\n    }\n  }, {\n    key: \"_getParentId\",\n    value: function c(a) {\n      var b = this.get(a);\n      return b && b.parentId;\n    }\n  }, {\n    key: \"_addChildId\",\n    value: function c(a, b) {\n      this.get(a).childIds.push(b);\n    }\n  }, {\n    key: \"_removeChildId\",\n    value: function d(a, b) {\n      var c = this.get(a);\n      c && (c.childIds = without(c.childIds, b));\n    }\n  }]), b;\n}(Registry);\nfunction removeAtIndex(a, b) {\n  return [].concat(_toConsumableArray(a.slice(0, b)), _toConsumableArray(a.slice(b + 1)));\n}\nvar ComponentOptionsListIterator = function () {\n  function a(b) {\n    _classCallCheck(this, a), this._list = b, this._position = -1;\n  }\n  return _createClass(a, [{\n    key: \"getPosition\",\n    value: function a() {\n      return this._position;\n    }\n  }, {\n    key: \"getComponent\",\n    value: function a() {\n      return this._list.getAtPosition(this.getPosition());\n    }\n  }, {\n    key: \"next\",\n    value: function a() {\n      return this.getPosition() + 1 < this._list.getLength() ? (this._position++, this.getComponent()) : null;\n    }\n  }]), a;\n}();\nvar ComponentOptionsList = function () {\n  function a() {\n    _classCallCheck(this, a), this._list = [], this._idToIndex = {}, this._longestSequence = 1, this._longestSequenceComponentId = null, this._keyMapEventRecord = KeyEventStateArrayManager.newRecord();\n  }\n  return _createClass(a, [{\n    key: \"getNewIterator\",\n    value: function a() {\n      return new ComponentOptionsListIterator(this);\n    }\n  }, {\n    key: \"add\",\n    value: function g(a, b, c, d) {\n      if (this.containsId(a)) return this.update(a, b, c, d);\n      var e = this._build(a, b, c, d);\n      this._list.push(e);\n      var f = this._getLastIndex();\n      return this._idToIndex[a] = f;\n    }\n  }, {\n    key: \"containsId\",\n    value: function b(a) {\n      return !!this.get(a);\n    }\n  }, {\n    key: \"get\",\n    value: function b(a) {\n      return this.getAtPosition(this.getIndexById(a));\n    }\n  }, {\n    key: \"getIndexById\",\n    value: function b(a) {\n      return this._idToIndex[a];\n    }\n  }, {\n    key: \"update\",\n    value: function h(a, b, c, d) {\n      var e = this._isUpdatingComponentWithLongestSequence(a),\n        f = this.getLongestSequence(),\n        g = this._build(a, b, c, d);\n      e && g.sequenceLength !== f && (g.sequenceLength > f ? this._longestSequence = g.sequenceLength : this._recalculateLongestSequence()), this._list[this.getIndexById(a)] = g;\n    }\n  }, {\n    key: \"remove\",\n    value: function c(a) {\n      var b = this._isUpdatingComponentWithLongestSequence(a);\n      this.removeAtPosition(this.getIndexById(a)), b && this._recalculateLongestSequence();\n    }\n  }, {\n    key: \"any\",\n    value: function a() {\n      return 0 !== this.getLength();\n    }\n  }, {\n    key: \"isRoot\",\n    value: function b(a) {\n      return this.getIndexById(a) >= this.getLength() - 1;\n    }\n  }, {\n    key: \"getLongestSequence\",\n    value: function a() {\n      return this._longestSequence;\n    }\n  }, {\n    key: \"anyActionsForEventType\",\n    value: function b(a) {\n      return !!this._keyMapEventRecord[a];\n    }\n  }, {\n    key: \"getLength\",\n    value: function a() {\n      return this._list.length;\n    }\n  }, {\n    key: \"getAtPosition\",\n    value: function b(a) {\n      return this._list[a];\n    }\n  }, {\n    key: \"removeAtPosition\",\n    value: function b(a) {\n      this._list = removeAtIndex(this._list, a);\n      for (var c = a; c < this.getLength();) this._idToIndex[this.getAtPosition(c).componentId] = c, c++;\n    }\n  }, {\n    key: \"toJSON\",\n    value: function a() {\n      return this._list;\n    }\n  }, {\n    key: \"_getLastIndex\",\n    value: function a() {\n      return this.getLength() - 1;\n    }\n  }, {\n    key: \"_build\",\n    value: function i(a, b, c, d) {\n      var e = this._applyHardSequences(b, c),\n        f = e.keyMap,\n        g = e.handlers,\n        h = this._buildActionDictionary(_objectSpread({}, b, f), d, a);\n      return {\n        actions: h,\n        handlers: g,\n        componentId: a,\n        options: d\n      };\n    }\n  }, {\n    key: \"_isUpdatingComponentWithLongestSequence\",\n    value: function b(a) {\n      return a === this._getLongestSequenceComponentId();\n    }\n  }, {\n    key: \"_getLongestSequenceComponentId\",\n    value: function a() {\n      return this._longestSequenceComponentId;\n    }\n  }, {\n    key: \"_recalculateLongestSequence\",\n    value: function d() {\n      for (var e = this.getNewIterator(); e.next();) {\n        var a = e.getComponent(),\n          b = a.longestSequence,\n          c = a.componentId;\n        b > this.getLongestSequence() && (this._longestSequenceComponentId = c, this._longestSequence = b);\n      }\n    }\n  }, {\n    key: \"_applyHardSequences\",\n    value: function c(a, b) {\n      return Configuration.option(\"enableHardSequences\") ? Object.keys(b).reduce(function (c, d) {\n        var e = !!a[d];\n        return !e && KeyCombinationSerializer.isValidKeySerialization(d) && (c.keyMap[d] = d), c.handlers[d] = b[d], c;\n      }, {\n        keyMap: {},\n        handlers: {}\n      }) : {\n        keyMap: a,\n        handlers: b\n      };\n    }\n  }, {\n    key: \"_buildActionDictionary\",\n    value: function e(a, b, c) {\n      var d = this;\n      return Object.keys(a).reduce(function (e, f) {\n        var g = a[f],\n          h = function () {\n            return isObject(g) && hasKey(g, \"sequences\") ? arrayFrom(g.sequences) : arrayFrom(g);\n          }();\n        return h.forEach(function (a) {\n          var g = normalizeActionOptions(a, b),\n            h = g.keySequence,\n            i = g.keyEventType;\n          d._addActionOptions(e, c, f, h, i);\n        }), e;\n      }, {});\n    }\n  }, {\n    key: \"_addActionOptions\",\n    value: function i(a, b, c, d, e) {\n      var f = KeySequenceParser.parse(d, {\n          keyEventType: e\n        }),\n        g = f.sequence,\n        h = f.combination;\n      g.size > this.getLongestSequence() && (this._longestSequence = g.size, this._longestSequenceComponentId = b), this._keyMapEventRecord[e] = KeyEventState.seen, a[c] || (a[c] = []), a[c].push(_objectSpread({\n        prefix: g.prefix,\n        actionName: c,\n        sequenceLength: g.size\n      }, h));\n    }\n  }]), a;\n}();\nfunction normalizeActionOptions(a, b) {\n  if (isObject(a)) {\n    var c = a.sequence,\n      d = a.action;\n    return {\n      keySequence: c,\n      keyEventType: isUndefined(d) ? KeyEventType[b.defaultKeyEvent] : KeyEventType[d]\n    };\n  }\n  return {\n    keySequence: a,\n    keyEventType: KeyEventType[b.defaultKeyEvent]\n  };\n}\nfunction indexFromEnd(a, b) {\n  return a[a.length - (b + 1)];\n}\nfor (var KeysWithKeyUpHiddenByCmd = {\n    Enter: !0,\n    Backspace: !0,\n    ArrowRight: !0,\n    ArrowLeft: !0,\n    ArrowUp: !0,\n    ArrowDown: !0,\n    CapsLock: !0\n  }, i = 1; 13 > i; i++) KeysWithKeyUpHiddenByCmd[\"F\".concat(i)] = !0;\nfunction keyupIsHiddenByCmd(a) {\n  return 1 === a.length || hasKey(KeysWithKeyUpHiddenByCmd, a);\n}\nvar KeyCombinationMatcher = function () {\n  function a() {\n    _classCallCheck(this, a), this._actionConfigs = {}, this._order = null;\n  }\n  return _createClass(a, [{\n    key: \"addMatch\",\n    value: function f(a, b) {\n      if (this._includesMatcherForCombination(a.id)) {\n        var c = a.keyEventType,\n          d = a.actionName,\n          e = a.id;\n        this._addHandlerToActionConfig(e, {\n          keyEventType: c,\n          actionName: d,\n          handler: b\n        });\n      } else this._addNewActionConfig(a, b);\n    }\n  }, {\n    key: \"findMatch\",\n    value: function k(a, b, c) {\n      this._order || this._setOrder();\n      var d = !0,\n        e = !1,\n        f = void 0;\n      try {\n        for (var g, h = this._order[Symbol.iterator](); !(d = (g = h.next()).done); d = !0) {\n          var i = g.value,\n            j = this._actionConfigs[i];\n          if (this._matchesActionConfig(a, b, c, j)) return j;\n        }\n      } catch (a) {\n        e = !0, f = a;\n      } finally {\n        try {\n          d || null == h.return || h.return();\n        } finally {\n          if (e) throw f;\n        }\n      }\n      return null;\n    }\n  }, {\n    key: \"toJSON\",\n    value: function a() {\n      return {\n        actionConfigs: this._actionConfigs,\n        order: this._order\n      };\n    }\n  }, {\n    key: \"_matchesActionConfig\",\n    value: function h(a, b, c, d) {\n      if (!canBeMatched(a, d)) return !1;\n      var e = d.events[c];\n      if (!e) return !1;\n      var f = !1,\n        g = Object.keys(d.keyDictionary).every(function (d) {\n          return !!a.isEventTriggered(d, c) && (b && b === a.getNormalizedKeyName(d) && (f = !a.wasEventPreviouslyTriggered(d, c)), !0);\n        });\n      return g && f;\n    }\n  }, {\n    key: \"_setOrder\",\n    value: function b() {\n      var a = Object.values(this._actionConfigs).reduce(function (a, b) {\n        var c = b.id,\n          d = b.size;\n        return a[d] || (a[d] = []), a[d].push(c), a;\n      }, {});\n      this._order = Object.keys(a).sort(function (c, a) {\n        return a - c;\n      }).reduce(function (b, c) {\n        return b.concat(a[c]);\n      }, []);\n    }\n  }, {\n    key: \"_addNewActionConfig\",\n    value: function j(a, b) {\n      var c = a.prefix,\n        d = a.sequenceLength,\n        e = a.id,\n        f = a.keyDictionary,\n        g = a.size,\n        h = a.keyEventType,\n        i = a.actionName;\n      this._setCombinationMatcher(e, {\n        prefix: c,\n        sequenceLength: d,\n        id: e,\n        keyDictionary: f,\n        size: g,\n        events: {}\n      }), this._addHandlerToActionConfig(e, {\n        keyEventType: h,\n        actionName: i,\n        handler: b\n      });\n    }\n  }, {\n    key: \"_addHandlerToActionConfig\",\n    value: function g(a, b) {\n      var c = b.keyEventType,\n        d = b.actionName,\n        e = b.handler,\n        f = this._getCombinationMatcher(a);\n      this._setCombinationMatcher(a, _objectSpread({}, f, {\n        events: _objectSpread({}, f.events, _defineProperty({}, c, {\n          actionName: d,\n          handler: e\n        }))\n      }));\n    }\n  }, {\n    key: \"_setCombinationMatcher\",\n    value: function c(a, b) {\n      this._actionConfigs[a] = b;\n    }\n  }, {\n    key: \"_getCombinationMatcher\",\n    value: function b(a) {\n      return this._actionConfigs[a];\n    }\n  }, {\n    key: \"_includesMatcherForCombination\",\n    value: function b(a) {\n      return !!this._getCombinationMatcher(a);\n    }\n  }]), a;\n}();\nfunction canBeMatched(a, b) {\n  var c = size(b.keyDictionary);\n  return Configuration.option(\"allowCombinationSubmatches\") || keyUpIsBeingHidden(a) ? a.getNumberOfKeys() >= c : a.getNumberOfKeys() === c;\n}\nfunction keyUpIsBeingHidden(a) {\n  return !!a.isKeyStillPressed(\"Meta\") && a.some(function (a) {\n    return keyupIsHiddenByCmd(a);\n  });\n}\nvar KeyHistoryMatcher = function () {\n  function a() {\n    _classCallCheck(this, a), this._combinationMatchers = {}, this._eventRecord = KeyEventStateArrayManager.newRecord();\n  }\n  return _createClass(a, [{\n    key: \"addMatch\",\n    value: function d(a, b) {\n      var c = this._getOrCreateCombinationMatcher(a.prefix);\n      c.addMatch(a, b), KeyEventStateArrayManager.setBit(this._eventRecord, a.keyEventType, KeyEventState.seen), (!this._longestSequence || this._longestSequence < a.sequenceLength) && (this._longestSequence = a.sequenceLength);\n    }\n  }, {\n    key: \"findMatch\",\n    value: function e(a, b, c) {\n      var d = this._findCombinationMatcher(a);\n      return d ? d.findMatch(a.getCurrentCombination(), a.getCurrentCombination().getNormalizedKeyName(b), c) : null;\n    }\n  }, {\n    key: \"hasMatchesForEventType\",\n    value: function b(a) {\n      return !!this._eventRecord[a];\n    }\n  }, {\n    key: \"getLongestSequence\",\n    value: function a() {\n      return this._longestSequence;\n    }\n  }, {\n    key: \"toJSON\",\n    value: function b() {\n      var a = this;\n      return Object.keys(this._combinationMatchers).reduce(function (b, c) {\n        var d = a._combinationMatchers[c];\n        return b[c] = d.toJSON(), b;\n      }, {});\n    }\n  }, {\n    key: \"_getOrCreateCombinationMatcher\",\n    value: function b(a) {\n      return this._combinationMatchers[a] || (this._combinationMatchers[a] = new KeyCombinationMatcher()), this._combinationMatchers[a];\n    }\n  }, {\n    key: \"_findCombinationMatcher\",\n    value: function m(a) {\n      var b = a.getMostRecentCombinations(this.getLongestSequence());\n      if (0 === b.length) return this._combinationMatchers[\"\"];\n      for (var c = b.map(function (a) {\n          return a.getIds();\n        }), d = c.map(function (a) {\n          return a.length;\n        }), e = Array(c.length).fill(0), f = !1; !f;) {\n        var g = e.map(function (a, b) {\n            return c[b][a];\n          }),\n          h = g.join(\" \");\n        if (this._combinationMatchers[h]) return this._combinationMatchers[h];\n        for (var i = 0, j = !0; j && i < e.length;) {\n          var k = indexFromEnd(e, i),\n            l = (k + 1) % (indexFromEnd(d, i) || 1);\n          e[e.length - (i + 1)] = l, j = 0 == l, j && i++;\n        }\n        f = i === e.length;\n      }\n    }\n  }]), a;\n}();\nvar ActionResolver = function () {\n  function a(b) {\n    _classCallCheck(this, a), this._keyMapMatchers = [], this._unmatchedHandlerStatus = [], this._handlersDictionary = {}, this._keySequencesDictionary = {};\n    for (var e = b.getNewIterator(); e.next();) {\n      var c = e.getComponent(),\n        d = c.handlers;\n      this._unmatchedHandlerStatus.push([Object.keys(d).length, {}]), this._keyMapMatchers.push(new KeyHistoryMatcher());\n    }\n    this._componentList = b, this._componentListIterator = b.getNewIterator();\n  }\n  return _createClass(a, [{\n    key: \"getKeyHistoryMatcher\",\n    value: function b(a) {\n      if (this._componentHasUnmatchedHandlers(a)) for (; this._componentListIterator.next();) this._addHandlersFromComponent(), this._addActionsFromComponent();\n      return this._getKeyHistoryMatcher(a);\n    }\n  }, {\n    key: \"componentHasActionsBoundToEventType\",\n    value: function c(a, b) {\n      return this.getKeyHistoryMatcher(a).hasMatchesForEventType(b);\n    }\n  }, {\n    key: \"findMatchingKeySequenceInComponent\",\n    value: function e(a, b, c, d) {\n      return this.componentHasActionsBoundToEventType(a, d) ? this.getKeyHistoryMatcher(a).findMatch(b, c, d) : null;\n    }\n  }, {\n    key: \"_getKeyHistoryMatcher\",\n    value: function b(a) {\n      return this._keyMapMatchers[a];\n    }\n  }, {\n    key: \"_addActionsFromComponent\",\n    value: function d() {\n      var a = this,\n        b = this._componentListIterator.getComponent(),\n        c = b.actions;\n      Object.keys(c).forEach(function (b) {\n        var d = a._getHandlers(b);\n        if (d) {\n          var e = d[0],\n            f = a._componentList.getAtPosition(e).handlers[b],\n            g = a._getKeyHistoryMatcher(e),\n            h = c[b];\n          h.forEach(function (b) {\n            var c = [b.prefix, b.id].join(\" \");\n            a._isClosestHandlerFound(c, b) || (g.addMatch(b, f), a._addKeySequence(c, [e, b.keyEventType]));\n          }), d.forEach(function (c) {\n            var d = a._getUnmatchedHandlerStatus(c);\n            d[1][b] || (d[1][b] = !0, d[0]--);\n          });\n        }\n      });\n    }\n  }, {\n    key: \"_getHandlers\",\n    value: function b(a) {\n      return this._handlersDictionary[a];\n    }\n  }, {\n    key: \"_addHandlersFromComponent\",\n    value: function d() {\n      var a = this,\n        b = this._componentListIterator.getComponent(),\n        c = b.handlers;\n      Object.keys(c).forEach(function (b) {\n        a._addHandler(b);\n      });\n    }\n  }, {\n    key: \"_addHandler\",\n    value: function b(a) {\n      this._handlersDictionary[a] || (this._handlersDictionary[a] = []), this._handlersDictionary[a].push(this._componentListIterator.getPosition());\n    }\n  }, {\n    key: \"_addKeySequence\",\n    value: function c(a, b) {\n      this._keySequencesDictionary[a] || (this._keySequencesDictionary[a] = []), this._keySequencesDictionary[a].push(b);\n    }\n  }, {\n    key: \"_componentHasUnmatchedHandlers\",\n    value: function b(a) {\n      return 0 < this._getUnmatchedHandlerStatus(a)[0];\n    }\n  }, {\n    key: \"_getUnmatchedHandlerStatus\",\n    value: function b(a) {\n      return this._unmatchedHandlerStatus[a];\n    }\n  }, {\n    key: \"_isClosestHandlerFound\",\n    value: function c(a, b) {\n      return this._keySequencesDictionary[a] && this._keySequencesDictionary[a].some(function (a) {\n        return a[1] === b.keyEventType;\n      });\n    }\n  }]), a;\n}();\nfunction copyAttributes(a, b, c) {\n  return c.forEach(function (c) {\n    hasKey(a, c) && (b[c] = a[c]);\n  }), b;\n}\nfunction describeKeyEventType(a) {\n  switch (parseInt(a, 10)) {\n    case 0:\n      return \"keydown\";\n    case 1:\n      return \"keypress\";\n    default:\n      return \"keyup\";\n  }\n}\nfunction hasKeyPressEvent(a) {\n  return !isNonPrintableKeyName(a);\n}\nfunction stateFromEvent(a) {\n  return a.simulated ? KeyEventState.simulated : KeyEventState.seen;\n}\nvar SEQUENCE_ATTRIBUTES = [\"sequence\", \"action\"],\n  KEYMAP_ATTRIBUTES = [\"name\", \"description\", \"group\"],\n  AbstractKeyEventStrategy = function () {\n    function a() {\n      var b = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {},\n        c = 1 < arguments.length ? arguments[1] : void 0;\n      _classCallCheck(this, a), this.logger = b.logger || new Logger(\"warn\"), this.componentId = -1, this.keyEventManager = c, this._componentTree = new ComponentTree(), this.rootComponentId = null, this._reset(), this.resetKeyHistory();\n    }\n    return _createClass(a, [{\n      key: \"_reset\",\n      value: function a() {\n        this.componentList = new ComponentOptionsList(), this._initHandlerResolutionState();\n      }\n    }, {\n      key: \"_newKeyHistory\",\n      value: function a() {\n        return new KeyHistory({\n          maxLength: this.componentList.getLongestSequence()\n        });\n      }\n    }, {\n      key: \"getKeyHistory\",\n      value: function a() {\n        return this._keyHistory ? this._keyHistory : (this._keyHistory = this._newKeyHistory(), this._keyHistory);\n      }\n    }, {\n      key: \"_initHandlerResolutionState\",\n      value: function a() {\n        this._actionResolver = null;\n      }\n    }, {\n      key: \"resetKeyHistory\",\n      value: function b() {\n        var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {};\n        this.keypressEventsToSimulate = [], this.keyupEventsToSimulate = [], this._keyHistory = this.getKeyHistory().any() && !a.force ? new KeyHistory({\n          maxLength: this.componentList.getLongestSequence()\n        }, new KeyCombination(this.getCurrentCombination().keysStillPressedDict())) : this._newKeyHistory();\n      }\n    }, {\n      key: \"getApplicationKeyMap\",\n      value: function a() {\n        return null === this.rootComponentId ? {} : this._buildApplicationKeyMap([this.rootComponentId], {});\n      }\n    }, {\n      key: \"_buildApplicationKeyMap\",\n      value: function d(a, b) {\n        var c = this;\n        return a.forEach(function (a) {\n          var d = c._componentTree.get(a),\n            e = d.childIds,\n            f = d.keyMap;\n          f && Object.keys(f).forEach(function (a) {\n            var d = f[a];\n            b[a] = {}, isObject(d) ? hasKey(d, \"sequences\") ? (copyAttributes(d, b[a], KEYMAP_ATTRIBUTES), b[a].sequences = c._createSequenceFromConfig(d.sequences)) : (copyAttributes(d, b[a], KEYMAP_ATTRIBUTES), b[a].sequences = [copyAttributes(d, {}, SEQUENCE_ATTRIBUTES)]) : b[a].sequences = c._createSequenceFromConfig(d);\n          }), c._buildApplicationKeyMap(e, b);\n        }), b;\n      }\n    }, {\n      key: \"_createSequenceFromConfig\",\n      value: function b(a) {\n        return arrayFrom(a).map(function (a) {\n          return isObject(a) ? copyAttributes(a, {}, SEQUENCE_ATTRIBUTES) : {\n            sequence: a\n          };\n        });\n      }\n    }, {\n      key: \"registerKeyMap\",\n      value: function b(a) {\n        return this.componentId += 1, this._componentTree.add(this.componentId, a), this.componentId;\n      }\n    }, {\n      key: \"reregisterKeyMap\",\n      value: function c(a, b) {\n        this._componentTree.update(a, b);\n      }\n    }, {\n      key: \"registerComponentMount\",\n      value: function c(a, b) {\n        isUndefined(b) ? this.rootComponentId = a : this._componentTree.setParent(a, b), void 0;\n      }\n    }, {\n      key: \"deregisterKeyMap\",\n      value: function b(a) {\n        this._componentTree.remove(a), a === this.rootComponentId && (this.rootComponentId = null);\n      }\n    }, {\n      key: \"_addComponent\",\n      value: function e(a) {\n        var b = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {},\n          c = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {},\n          d = 3 < arguments.length ? arguments[3] : void 0;\n        this.componentList.add(a, b, c, d), this.getKeyHistory().setMaxLength(this.componentList.getLongestSequence());\n      }\n    }, {\n      key: \"_allKeysAreReleased\",\n      value: function a() {\n        return this.getCurrentCombination().hasEnded();\n      }\n    }, {\n      key: \"getCurrentCombination\",\n      value: function a() {\n        return this.getKeyHistory().getCurrentCombination();\n      }\n    }, {\n      key: \"_shouldSimulate\",\n      value: function e(a, b) {\n        var c = hasKeyPressEvent(b),\n          d = this.getCurrentCombination();\n        return a === KeyEventType.keypress ? !c || c && d.isKeyStillPressed(\"Meta\") : a === KeyEventType.keyup && keyupIsHiddenByCmd(b) && d.isKeyReleased(\"Meta\");\n      }\n    }, {\n      key: \"_cloneAndMergeEvent\",\n      value: function d(a, b) {\n        var c = Object.keys(ModifierFlagsDictionary).reduce(function (b, c) {\n          return b[c] = a[c], b;\n        }, {});\n        return _objectSpread({}, c, b);\n      }\n    }, {\n      key: \"_callClosestMatchingHandler\",\n      value: function h(a, b, c, d, e) {\n        for (this._actionResolver || (this._actionResolver = new ActionResolver(this.componentList)); e <= d;) {\n          var i = this._actionResolver.getKeyHistoryMatcher(e);\n          var f = this._actionResolver.findMatchingKeySequenceInComponent(e, this.getKeyHistory(), b, c),\n            g = this.getCurrentCombination();\n          if (f) {\n            var j = f.events[c];\n            if (Configuration.option(\"allowCombinationSubmatches\")) {\n              var k = KeyCombinationSerializer.serialize(f.keyDictionary);\n            }\n            return j.handler(a), this._stopEventPropagationAfterHandlingIfEnabled(a, e), !0;\n          }\n          if (this._actionResolver.componentHasActionsBoundToEventType(e, c)) ;\n          e++;\n        }\n      }\n    }, {\n      key: \"_stopEventPropagationAfterHandlingIfEnabled\",\n      value: function c(a, b) {\n        return !!Configuration.option(\"stopEventPropagationAfterHandling\") && (this._stopEventPropagation(a, b), !0);\n      }\n    }, {\n      key: \"_stopEventPropagation\",\n      value: function a() {\n        throw new Error(\"_stopEventPropagation must be overridden by a subclass\");\n      }\n    }, {\n      key: \"_checkForModifierFlagDiscrepancies\",\n      value: function e(a, b, c) {\n        var d = this;\n        Object.keys(ModifierFlagsDictionary).forEach(function (e) {\n          if (b !== e || c !== KeyEventType.keyup) {\n            var f = d.getCurrentCombination(),\n              g = f.isKeyStillPressed(e);\n            ModifierFlagsDictionary[e].forEach(function (b) {\n              !1 === a[b] && g && f.setKeyState(e, KeyEventType.keyup, stateFromEvent(a));\n            });\n          }\n        });\n      }\n    }, {\n      key: \"_logPrefix\",\n      value: function a() {}\n    }]), a;\n  }();\nvar KeyEventCounter = function () {\n  function a() {\n    _classCallCheck(this, a);\n  }\n  return _createClass(a, null, [{\n    key: \"getId\",\n    value: function a() {\n      return isUndefined(this._id) && (this._id = 0), this._id;\n    }\n  }, {\n    key: \"incrementId\",\n    value: function a() {\n      this._id = this.getId() + 1;\n    }\n  }]), a;\n}();\nfunction getEventCharCode(a) {\n  var b,\n    c = a.keyCode;\n  return \"charCode\" in a ? (b = a.charCode, 0 === b && 13 === c && (b = 13)) : b = c, 10 === b && (b = 13), 32 <= b || 13 === b ? b : 0;\n}\nvar normalizeKey = {\n  Esc: \"Escape\",\n  Spacebar: \" \",\n  Left: \"ArrowLeft\",\n  Up: \"ArrowUp\",\n  Right: \"ArrowRight\",\n  Down: \"ArrowDown\",\n  Del: \"Delete\",\n  Win: \"OS\",\n  Menu: \"ContextMenu\",\n  Apps: \"ContextMenu\",\n  Scroll: \"ScrollLock\",\n  MozPrintableKey: \"Unidentified\"\n};\nfunction reactsGetEventKey(a) {\n  if (a.key) {\n    var b = normalizeKey[a.key] || a.key;\n    if (\"Unidentified\" !== b) return b;\n  }\n  if (\"keypress\" === a.type) {\n    var c = getEventCharCode(a);\n    return 13 === c ? \"Enter\" : String.fromCharCode(c);\n  }\n  return \"keydown\" === a.type || \"keyup\" === a.type ? translateToKey[a.keyCode] || \"Unidentified\" : \"\";\n}\nfunction getKeyName(a) {\n  var b = function () {\n    var b = Configuration.option(\"customKeyCodes\"),\n      c = a.keyCode || a.charCode;\n    return hasKey(b, c) ? b[c] : a.nativeEvent ? a.key : reactsGetEventKey(a);\n  }();\n  return \"+\" === b ? \"plus\" : b;\n}\nfunction isCmdKey(a) {\n  return \"Meta\" === a;\n}\nvar EventResponse = {\n  unseen: 0,\n  ignored: 1,\n  seen: 2,\n  recorded: 3,\n  handled: 4\n};\nvar EventPropagator = function () {\n  function a(b, c) {\n    var d = c.logger,\n      e = c.logPrefix;\n    _classCallCheck(this, a), this._componentList = b, this._previousPropagation = null, this.logger = d, this._logPrefix = e, this._reset();\n  }\n  return _createClass(a, [{\n    key: \"_reset\",\n    value: function a() {\n      this._previousPosition = -1, this._position = -1, this._actionHandled = !1, this._ignoreEvent = !1, this._observeIgnoredEvents = !1, this._stopping = !1, this._componentId = null, this._key = null, this._type = null;\n    }\n  }, {\n    key: \"isFirstPropagationStep\",\n    value: function b() {\n      var a = this.getPreviousPosition();\n      return -1 === a || a >= this._position;\n    }\n  }, {\n    key: \"isForKey\",\n    value: function b(a) {\n      return this._key === a;\n    }\n  }, {\n    key: \"isForEventType\",\n    value: function b(a) {\n      return this._type === a;\n    }\n  }, {\n    key: \"startNewPropagationStep\",\n    value: function e(a, b, c, d) {\n      return this._position = this._componentList.getIndexById(a), this._componentId = a, this.isFirstPropagationStep() && (KeyEventCounter.incrementId(), this._key = b.key, this._type = d), !(b.repeat && Configuration.option(\"ignoreRepeatedEventsWhenKeyHeldDown\")) || (this.ignoreEvent(b), !1);\n    }\n  }, {\n    key: \"finishPropagationStep\",\n    value: function a() {\n      this.isStopped() || this._componentList.isRoot(this._componentId) ? (this._previousPropagation = this._clone(), this._reset()) : this._previousPosition = this._position;\n    }\n  }, {\n    key: \"getPreviousPropagation\",\n    value: function a() {\n      return this._previousPropagation || (this._previousPropagation = this._clone({\n        copyState: !1\n      })), this._previousPropagation;\n    }\n  }, {\n    key: \"getPreviousPosition\",\n    value: function a() {\n      return this._previousPosition;\n    }\n  }, {\n    key: \"observeIgnoredEvents\",\n    value: function a() {\n      this._observeIgnoredEvents = !0;\n    }\n  }, {\n    key: \"ignoreEvent\",\n    value: function b(a) {\n      return this.setIgnoreEvent(!0), !!(this.isIgnoringEvent() && Configuration.option(\"stopEventPropagationAfterIgnoring\")) && (this.stop(a), this.finishPropagationStep(), !0);\n    }\n  }, {\n    key: \"setIgnoreEvent\",\n    value: function b(a) {\n      this._ignoreEvent = a;\n    }\n  }, {\n    key: \"isIgnoringEvent\",\n    value: function a() {\n      return !this._observeIgnoredEvents && this._ignoreEvent;\n    }\n  }, {\n    key: \"isStopped\",\n    value: function a() {\n      return this._stopping;\n    }\n  }, {\n    key: \"stop\",\n    value: function b(a) {\n      return !this.isStopped() && (this._stopping = !0, a.simulated || a.stopPropagation(), !0);\n    }\n  }, {\n    key: \"isPendingPropagation\",\n    value: function b() {\n      var a = this.getPreviousPosition();\n      return -1 !== a && a + 1 < this._position;\n    }\n  }, {\n    key: \"isHandled\",\n    value: function a() {\n      return this._actionHandled;\n    }\n  }, {\n    key: \"setHandled\",\n    value: function a() {\n      this._actionHandled = !0;\n    }\n  }, {\n    key: \"_clone\",\n    value: function e() {\n      var b = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {},\n        c = b.copyState,\n        d = new a(this._componentList, {\n          logger: this.logger,\n          logPrefix: this._logPrefix\n        });\n      return (void 0 === c || c) && Object.assign(d, this), d;\n    }\n  }]), a;\n}();\nvar FocusOnlyKeyEventStrategy = function (a) {\n  function b() {\n    var a,\n      c = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {},\n      d = 1 < arguments.length ? arguments[1] : void 0;\n    return _classCallCheck(this, b), a = _possibleConstructorReturn(this, _getPrototypeOf(b).call(this, c, d)), a.focusTreeId = 0, a;\n  }\n  return _inherits(b, a), _createClass(b, [{\n    key: \"_reset\",\n    value: function a() {\n      _get(_getPrototypeOf(b.prototype), \"_reset\", this).call(this), this.keypressEventsToSimulate = [], this.focusTreeId += 1, this.eventPropagator = new EventPropagator(this.componentList, {\n        logger: this.logger,\n        logPrefix: this._logPrefix.bind(this)\n      });\n    }\n  }, {\n    key: \"enableHotKeys\",\n    value: function e(a) {\n      var b = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {},\n        c = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {},\n        d = 3 < arguments.length ? arguments[3] : void 0;\n      if (this.resetOnNextFocus && (this._reset(), this.resetOnNextFocus = !1), !this.componentList.containsId(a)) return this._addComponent(a, b, c, d), this.focusTreeId;\n    }\n  }, {\n    key: \"updateEnabledHotKeys\",\n    value: function f(a, b) {\n      var c = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {},\n        d = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : {},\n        e = 4 < arguments.length ? arguments[4] : void 0;\n      a === this.focusTreeId && this.componentList.containsId(b) && (this.componentList.update(b, c, d, e), this.getKeyHistory().setMaxLength(this.componentList.getLongestSequence()), this._initHandlerResolutionState(), void 0);\n    }\n  }, {\n    key: \"disableHotKeys\",\n    value: function d(a, b) {\n      this.resetOnNextFocus || (this.resetOnNextFocus = !0);\n      var c = this.eventPropagator.isPendingPropagation();\n      return c;\n    }\n  }, {\n    key: \"handleKeydown\",\n    value: function j(a, b, c) {\n      var d = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : {},\n        e = getKeyName(a);\n      if (b !== this.focusTreeId) return this.eventPropagator.ignoreEvent(a), !0;\n      var f = this.eventPropagator.startNewPropagationStep(c, a, e, KeyEventType.keydown);\n      if (f) {\n        var g = this._howToHandleKeyEvent(a, b, c, e, d, KeyEventType.keydown);\n        if (g === EventResponse.handled) {\n          var h = stateFromEvent(a),\n            i = this.getCurrentCombination();\n          i.isKeyIncluded(e) || i.isEnding() ? this._startAndLogNewKeyCombination(e, b, c, h) : this._addToAndLogCurrentKeyCombination(e, KeyEventType.keydown, b, c, h), this._callHandlerIfActionNotHandled(a, e, KeyEventType.keydown, c, b);\n        }\n        return this._simulateKeyPressForNonPrintableKeys(a, e, b, c, d), this.eventPropagator.finishPropagationStep(), !1;\n      }\n    }\n  }, {\n    key: \"_howToHandleKeyEvent\",\n    value: function g(a, b, c, d, e, f) {\n      if (this.eventPropagator.isFirstPropagationStep()) {\n        if (e.ignoreEventsCondition(a) && this.eventPropagator.ignoreEvent(a)) return this._eventIsToBeIgnored(a, c, d, f);\n        this._checkForModifierFlagDiscrepancies(a, d, f);\n      } else if (this.eventPropagator.isIgnoringEvent()) return this._eventIsToBeIgnored(a, c, d, f);\n      return EventResponse.handled;\n    }\n  }, {\n    key: \"_eventIsToBeIgnored\",\n    value: function e(a, b, c, d) {\n      return EventResponse.ignored;\n    }\n  }, {\n    key: \"handleKeyPress\",\n    value: function j(a, b, c, d) {\n      var e = getKeyName(a),\n        f = this.getCurrentCombination();\n      if (f.isKeyPressSimulated(e)) return this.eventPropagator.ignoreEvent(a), !0;\n      var g = this.eventPropagator.startNewPropagationStep(c, a, e, KeyEventType.keypress);\n      if (g) {\n        var h = b !== this.focusTreeId,\n          i = this._howToHandleKeyEvent(a, b, c, e, d, KeyEventType.keypress);\n        return this.eventPropagator.isFirstPropagationStep(c) && f.isKeyIncluded(e) && this._addToAndLogCurrentKeyCombination(e, KeyEventType.keypress, b, c, stateFromEvent(a)), i === EventResponse.handled && this._callHandlerIfActionNotHandled(a, e, KeyEventType.keypress, c, b), this.eventPropagator.finishPropagationStep(), h;\n      }\n    }\n  }, {\n    key: \"handleKeyUp\",\n    value: function j(a, b, c, d) {\n      var e = getKeyName(a),\n        f = this.getCurrentCombination();\n      if (f.isKeyUpSimulated(e)) return this.eventPropagator.ignoreEvent(a), !0;\n      var g = this.eventPropagator.startNewPropagationStep(c, a, e, KeyEventType.keyup);\n      if (g) {\n        var h = b !== this.focusTreeId,\n          i = this._howToHandleKeyEvent(a, b, c, e, d, KeyEventType.keyup);\n        return this.eventPropagator.isFirstPropagationStep(c) && f.isKeyIncluded(e) && this._addToAndLogCurrentKeyCombination(e, KeyEventType.keyup, b, c, stateFromEvent(a)), i === EventResponse.handled && this._callHandlerIfActionNotHandled(a, e, KeyEventType.keyup, c, b), this._simulateKeyUpEventsHiddenByCmd(a, e, b, c, d), this.eventPropagator.finishPropagationStep(), h;\n      }\n    }\n  }, {\n    key: \"closeHangingKeyCombination\",\n    value: function d(a, b) {\n      var c = this.getCurrentCombination();\n      c.isKeyIncluded(a) && !c.isEventTriggered(a, b) && c.setKeyState(a, b, KeyEventState.simulated);\n    }\n  }, {\n    key: \"_simulateKeyPressForNonPrintableKeys\",\n    value: function f(a, b, c, d, e) {\n      this._handleEventSimulation(\"keypressEventsToSimulate\", \"simulatePendingKeyPressEvents\", this._shouldSimulate(KeyEventType.keypress, b), {\n        event: a,\n        key: b,\n        focusTreeId: c,\n        componentId: d,\n        options: e\n      });\n    }\n  }, {\n    key: \"_simulateKeyUpEventsHiddenByCmd\",\n    value: function g(a, b, c, d, e) {\n      var f = this;\n      isCmdKey(b) && this.getCurrentCombination().forEachKey(function (b) {\n        isCmdKey(b) || f._handleEventSimulation(\"keyupEventsToSimulate\", \"simulatePendingKeyUpEvents\", f._shouldSimulate(KeyEventType.keyup, b), {\n          event: a,\n          key: b,\n          focusTreeId: c,\n          componentId: d,\n          options: e\n        });\n      });\n    }\n  }, {\n    key: \"_stopEventPropagation\",\n    value: function c(a, b) {\n      this.eventPropagator.stop(a) && void 0;\n    }\n  }, {\n    key: \"getEventPropagator\",\n    value: function a() {\n      return this.eventPropagator;\n    }\n  }, {\n    key: \"_startAndLogNewKeyCombination\",\n    value: function e(a, b, c, d) {\n      this.getKeyHistory().startNewKeyCombination(a, d), void 0;\n    }\n  }, {\n    key: \"_addToAndLogCurrentKeyCombination\",\n    value: function f(a, b, c, d, e) {\n      this.getKeyHistory().addKeyToCurrentCombination(a, b, e), void 0;\n    }\n  }, {\n    key: \"_handleEventSimulation\",\n    value: function j(a, b, c, d) {\n      var e = d.event,\n        f = d.key,\n        g = d.focusTreeId,\n        h = d.componentId,\n        i = d.options;\n      if (c && Configuration.option(\"simulateMissingKeyPressEvents\")) {\n        var k = this._cloneAndMergeEvent(e, {\n          key: f,\n          simulated: !0\n        });\n        this[a].push({\n          event: k,\n          focusTreeId: g,\n          componentId: h,\n          options: i\n        });\n      }\n      (this.componentList.isRoot(h) || this.eventPropagator.isStopped()) && !this.keyEventManager.isGlobalListenersBound() && this[b]();\n    }\n  }, {\n    key: \"simulatePendingKeyPressEvents\",\n    value: function a() {\n      this._simulatePendingKeyEvents(\"keypressEventsToSimulate\", \"handleKeyPress\");\n    }\n  }, {\n    key: \"simulatePendingKeyUpEvents\",\n    value: function a() {\n      this._simulatePendingKeyEvents(\"keyupEventsToSimulate\", \"handleKeyUp\");\n    }\n  }, {\n    key: \"_simulatePendingKeyEvents\",\n    value: function d(a, b) {\n      var c = this;\n      0 < this[a].length && KeyEventCounter.incrementId(), this[a].forEach(function (a) {\n        var d = a.event,\n          e = a.focusTreeId,\n          f = a.componentId,\n          g = a.options;\n        c[b](d, e, f, g);\n      }), this[a] = [];\n    }\n  }, {\n    key: \"_callHandlerIfActionNotHandled\",\n    value: function k(a, b, c, d, e) {\n      var g = this.getCurrentCombination().describe();\n      if (!this.componentList.anyActionsForEventType(c)) return void void 0;\n      if (this.eventPropagator.isHandled()) ;else {\n        var h = this.eventPropagator.getPreviousPosition(),\n          i = this.componentList.getIndexById(d),\n          j = this._callClosestMatchingHandler(a, b, c, i, -1 === h ? 0 : h);\n        j && this.eventPropagator.setHandled();\n      }\n    }\n  }, {\n    key: \"_logPrefix\",\n    value: function h(a) {\n      var b = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {},\n        c = Logger.logIcons,\n        d = Logger.eventIcons,\n        e = Logger.componentIcons,\n        f = \"HotKeys (\";\n      if (!1 !== b.focusTreeId) {\n        var i = isUndefined(b.focusTreeId) ? this.focusTreeId : b.focusTreeId;\n        f += \"F\".concat(i).concat(c[i % c.length], \"-\");\n      }\n      if (!1 !== b.eventId) {\n        var j = isUndefined(b.eventId) ? KeyEventCounter.getId() : b.eventId;\n        f += \"E\".concat(j).concat(d[j % d.length], \"-\");\n      }\n      f += \"C\".concat(a).concat(e[a % e.length]);\n      var g = this.componentList.getIndexById(a);\n      return isUndefined(g) || (f += \"-P\".concat(g).concat(e[g % e.length], \":\")), \"\".concat(f, \")\");\n    }\n  }]), b;\n}(AbstractKeyEventStrategy);\nfunction contains(a, b) {\n  var c = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : {};\n  return Array.isArray(a) || isString(a) ? c.stringifyFirst ? !isUndefined(a.find(function (a) {\n    return a.toString() === b.toString();\n  })) : -1 !== a.indexOf(b) : isObject(a) ? hasKey(a, b) : c.stringifyFirst ? a.toString() === b.toString() : a === b;\n}\nfunction capitalize(a) {\n  return a.replace(/\\b\\w/g, function (a) {\n    return a.toUpperCase();\n  });\n}\nfunction normalizeEventName(a) {\n  return \"\".concat(capitalize(a.slice(0, 3))).concat(capitalize(a.slice(3)));\n}\nvar GlobalKeyEventStrategy = function (a) {\n  function b() {\n    var a,\n      c = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {},\n      d = 1 < arguments.length ? arguments[1] : void 0;\n    return _classCallCheck(this, b), a = _possibleConstructorReturn(this, _getPrototypeOf(b).call(this, c, d)), a.listenersBound = !1, a.eventOptions = {\n      ignoreEventsCondition: Configuration.option(\"ignoreEventsCondition\")\n    }, a.listeners = {}, a;\n  }\n  return _inherits(b, a), _createClass(b, [{\n    key: \"enableHotKeys\",\n    value: function f(a) {\n      var b = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {},\n        c = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {},\n        d = 3 < arguments.length ? arguments[3] : void 0,\n        e = 4 < arguments.length ? arguments[4] : void 0;\n      this.eventOptions = e, this._addComponent(a, b, c, d), this._updateDocumentHandlers(), this._initHandlerResolutionState(), void 0;\n    }\n  }, {\n    key: \"updateEnabledHotKeys\",\n    value: function f(a) {\n      var b = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {},\n        c = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {},\n        d = 3 < arguments.length ? arguments[3] : void 0,\n        e = 4 < arguments.length ? arguments[4] : void 0;\n      this.eventOptions = e, this.componentList.update(a, b, c, d), this.getKeyHistory().setMaxLength(this.componentList.getLongestSequence()), this._updateDocumentHandlers(), this._initHandlerResolutionState(), void 0;\n    }\n  }, {\n    key: \"disableHotKeys\",\n    value: function b(a) {\n      this.componentList.remove(a), this.getKeyHistory().setMaxLength(this.componentList.getLongestSequence()), this._updateDocumentHandlers(), this._initHandlerResolutionState(), void 0;\n    }\n  }, {\n    key: \"_updateDocumentHandlers\",\n    value: function c() {\n      var a = this,\n        b = this._listenersShouldBeBound();\n      !this.listenersBound && b ? (Object.values(KeyEventType).forEach(function (b) {\n        var c = describeKeyEventType(b);\n        document[\"on\".concat(c)] = function (b) {\n          a.keyEventManager[\"handleGlobal\".concat(normalizeEventName(c))](b);\n        }, void 0;\n      }), this.listenersBound = !0) : this.listenersBound && !b && (Object.values(KeyEventType).forEach(function (b) {\n        var c = describeKeyEventType(b);\n        delete document[\"on\".concat(c)], void 0;\n      }), this.listenersBound = !1);\n    }\n  }, {\n    key: \"_listenersShouldBeBound\",\n    value: function a() {\n      return this.componentList.any() || this.listeners.keyCombination;\n    }\n  }, {\n    key: \"handleKeydown\",\n    value: function f(a) {\n      var b = getKeyName(a);\n      if (a.repeat && Configuration.option(\"ignoreRepeatedEventsWhenKeyHeldDown\")) return !0;\n      this._checkForModifierFlagDiscrepancies(a, b, KeyEventType.keydown);\n      var c = this._howReactAppRespondedTo(a, b, KeyEventType.keydown);\n      if (c === EventResponse.unseen && this.eventOptions.ignoreEventsCondition(a)) return void void 0;\n      if (c !== EventResponse.ignored) {\n        var d = stateFromEvent(a),\n          e = this.getCurrentCombination();\n        e.isKeyIncluded(b) || e.isEnding() ? this._startAndLogNewKeyCombination(b, d) : this._addToAndLogCurrentKeyCombination(b, KeyEventType.keydown, d);\n      }\n      contains([EventResponse.ignored, EventResponse.handled], c) || this._callHandlerIfExists(a, b, KeyEventType.keydown), this._simulateKeyPressForNonPrintableKeys(a, b);\n    }\n  }, {\n    key: \"_howReactAppRespondedTo\",\n    value: function e(a, b, c) {\n      var d = this.keyEventManager.reactAppHistoryWithEvent(b, c);\n      return d === EventResponse.handled ? void 0 : d === EventResponse.ignored ? void 0 : d === EventResponse.seen ? void 0 : (KeyEventCounter.incrementId(), void 0), d;\n    }\n  }, {\n    key: \"handleKeyPress\",\n    value: function e(a) {\n      var b = getKeyName(a);\n      if (a.repeat && Configuration.option(\"ignoreRepeatedEventsWhenKeyHeldDown\")) return !0;\n      var c = this.getCurrentCombination();\n      if (c.isKeyPressSimulated(b)) return !0;\n      var d = this._howReactAppRespondedTo(a, b, KeyEventType.keypress);\n      return c.isKeyIncluded(b) && this._addToAndLogCurrentKeyCombination(b, KeyEventType.keypress, stateFromEvent(a)), d === EventResponse.unseen && (this.keyEventManager.closeHangingKeyCombination(b, KeyEventType.keypress), this.eventOptions.ignoreEventsCondition(a)) ? void void 0 : void (!contains([EventResponse.ignored, EventResponse.handled], d) && this._callHandlerIfExists(a, b, KeyEventType.keypress));\n    }\n  }, {\n    key: \"handleKeyUp\",\n    value: function e(a) {\n      var b = getKeyName(a),\n        c = this.getCurrentCombination();\n      if (c.isKeyUpSimulated(b)) return !0;\n      var d = this._howReactAppRespondedTo(a, b, KeyEventType.keyup);\n      c.isKeyIncluded(b) && this._addToAndLogCurrentKeyCombination(b, KeyEventType.keyup, stateFromEvent(a)), d === EventResponse.unseen ? (this.keyEventManager.closeHangingKeyCombination(b, KeyEventType.keyup), this.eventOptions.ignoreEventsCondition(a) ? void 0 : !contains([EventResponse.ignored, EventResponse.handled], d) && this._callHandlerIfExists(a, b, KeyEventType.keyup)) : !contains([EventResponse.ignored, EventResponse.handled], d) && this._callHandlerIfExists(a, b, KeyEventType.keyup), this._simulateKeyUpEventsHiddenByCmd(a, b), this.listeners.keyCombination && this._allKeysAreReleased() && this.listeners.keyCombination({\n        keys: c.getKeyDictionary(),\n        id: c.describe()\n      });\n    }\n  }, {\n    key: \"_simulateKeyPressForNonPrintableKeys\",\n    value: function c(a, b) {\n      this.keyEventManager.simulatePendingKeyPressEvents(), this._handleEventSimulation(\"handleKeyPress\", this._shouldSimulate(KeyEventType.keypress, b), {\n        event: a,\n        key: b\n      });\n    }\n  }, {\n    key: \"_simulateKeyUpEventsHiddenByCmd\",\n    value: function d(a, b) {\n      var c = this;\n      isCmdKey(b) && (this.keyEventManager.simulatePendingKeyUpEvents(), this.getCurrentCombination().forEachKey(function (b) {\n        isCmdKey(b) || c._handleEventSimulation(\"handleKeyUp\", c._shouldSimulate(KeyEventType.keyup, b), {\n          event: a,\n          key: b\n        });\n      }));\n    }\n  }, {\n    key: \"_startAndLogNewKeyCombination\",\n    value: function c(a, b) {\n      this.getKeyHistory().startNewKeyCombination(a, b), void 0;\n    }\n  }, {\n    key: \"_addToAndLogCurrentKeyCombination\",\n    value: function d(a, b, c) {\n      this.getKeyHistory().addKeyToCurrentCombination(a, b, c), void 0;\n    }\n  }, {\n    key: \"_handleEventSimulation\",\n    value: function f(a, b, c) {\n      var d = c.event,\n        e = c.key;\n      if (b && Configuration.option(\"simulateMissingKeyPressEvents\")) {\n        var g = this._cloneAndMergeEvent(d, {\n          key: e,\n          simulated: !0\n        });\n        this[a](g);\n      }\n    }\n  }, {\n    key: \"_callHandlerIfExists\",\n    value: function f(a, b, c) {\n      var e = this.getCurrentCombination().describe();\n      return this.componentList.anyActionsForEventType(c) ? void this._callClosestMatchingHandler(a, b, c) : void void 0;\n    }\n  }, {\n    key: \"_callClosestMatchingHandler\",\n    value: function e(a, c, d) {\n      for (var f, g = this.componentList.getNewIterator(); g.next();) if (f = _get(_getPrototypeOf(b.prototype), \"_callClosestMatchingHandler\", this).call(this, a, c, d, g.getPosition(), 0), f) return void void 0;\n    }\n  }, {\n    key: \"_stopEventPropagation\",\n    value: function c(a, b) {\n      a.simulated || a.stopPropagation();\n    }\n  }, {\n    key: \"addKeyCombinationListener\",\n    value: function d(a) {\n      var b = this,\n        c = function c() {\n          delete b.listeners.keyCombination;\n        };\n      return this.listeners.keyCombination = function (b) {\n        a(b), c();\n      }, this._updateDocumentHandlers(), c;\n    }\n  }, {\n    key: \"_logPrefix\",\n    value: function f(a) {\n      var b = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {},\n        c = Logger.eventIcons,\n        d = Logger.componentIcons,\n        e = \"HotKeys (GLOBAL\";\n      if (!1 !== b.eventId) {\n        var g = isUndefined(b.eventId) ? KeyEventCounter.getId() : b.eventId;\n        e = \"\".concat(e, \"-E\").concat(g).concat(c[g % c.length]);\n      }\n      return isUndefined(a) ? \"\".concat(e, \"):\") : \"\".concat(e, \"-C\").concat(a).concat(d[a % d.length], \"):\");\n    }\n  }]), b;\n}(AbstractKeyEventStrategy);\nfunction isFromFocusOnlyComponent(a) {\n  return !isUndefined(a);\n}\nvar KeyEventManager = function () {\n  function a() {\n    var b = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {};\n    _classCallCheck(this, a), this.logger = b.logger || new Logger(Configuration.option(\"logLevel\")), this._focusOnlyEventStrategy = new FocusOnlyKeyEventStrategy({\n      configuration: b,\n      logger: this.logger\n    }, this), this._globalEventStrategy = new GlobalKeyEventStrategy({\n      configuration: b,\n      logger: this.logger\n    }, this), this.mountedComponentsCount = 0;\n  }\n  return _createClass(a, null, [{\n    key: \"getInstance\",\n    value: function c() {\n      var b = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {};\n      return this.instance || (this.instance = new a(b)), this.instance;\n    }\n  }, {\n    key: \"clear\",\n    value: function a() {\n      delete this.instance;\n    }\n  }]), _createClass(a, [{\n    key: \"getApplicationKeyMap\",\n    value: function a() {\n      return Object.assign(this._globalEventStrategy.getApplicationKeyMap(), this._focusOnlyEventStrategy.getApplicationKeyMap());\n    }\n  }, {\n    key: \"registerKeyMap\",\n    value: function b() {\n      var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {};\n      return this._focusOnlyEventStrategy.registerKeyMap(a);\n    }\n  }, {\n    key: \"reregisterKeyMap\",\n    value: function c(a) {\n      var b = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {};\n      this._focusOnlyEventStrategy.reregisterKeyMap(a, b);\n    }\n  }, {\n    key: \"deregisterKeyMap\",\n    value: function b(a) {\n      this._focusOnlyEventStrategy.deregisterKeyMap(a);\n    }\n  }, {\n    key: \"registerComponentMount\",\n    value: function c(a, b) {\n      return this._incrementComponentCount(), this._focusOnlyEventStrategy.registerComponentMount(a, b);\n    }\n  }, {\n    key: \"registerComponentUnmount\",\n    value: function a() {\n      this._decrementComponentCount();\n    }\n  }, {\n    key: \"_incrementComponentCount\",\n    value: function c() {\n      var a = this,\n        b = this.mountedComponentsCount;\n      this.mountedComponentsCount += 1, 0 === b && 1 === this.mountedComponentsCount && (window.onblur = function () {\n        return a._clearKeyHistory();\n      });\n    }\n  }, {\n    key: \"_decrementComponentCount\",\n    value: function b() {\n      var a = this.mountedComponentsCount;\n      this.mountedComponentsCount -= 1, 1 === a && 0 === this.mountedComponentsCount && delete window.onblur;\n    }\n  }, {\n    key: \"_clearKeyHistory\",\n    value: function a() {\n      this._focusOnlyEventStrategy.resetKeyHistory({\n        force: !0\n      }), this._globalEventStrategy.resetKeyHistory({\n        force: !0\n      });\n    }\n  }, {\n    key: \"registerGlobalKeyMap\",\n    value: function b() {\n      var a = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {};\n      return this._globalEventStrategy.registerKeyMap(a);\n    }\n  }, {\n    key: \"registerGlobalComponentUnmount\",\n    value: function a() {\n      this._decrementComponentCount();\n    }\n  }, {\n    key: \"registerGlobalComponentMount\",\n    value: function c(a, b) {\n      return this._incrementComponentCount(), this._globalEventStrategy.registerComponentMount(a, b);\n    }\n  }, {\n    key: \"reregisterGlobalKeyMap\",\n    value: function c(a, b) {\n      this._globalEventStrategy.reregisterKeyMap(a, b);\n    }\n  }, {\n    key: \"deregisterGlobalKeyMap\",\n    value: function b(a) {\n      this._globalEventStrategy.deregisterKeyMap(a);\n    }\n  }, {\n    key: \"addKeyCombinationListener\",\n    value: function b(a) {\n      return this._globalEventStrategy.addKeyCombinationListener(a);\n    }\n  }, {\n    key: \"enableHotKeys\",\n    value: function e(a) {\n      var b = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {},\n        c = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {},\n        d = 3 < arguments.length ? arguments[3] : void 0;\n      return this._focusOnlyEventStrategy.enableHotKeys(a, b, c, d);\n    }\n  }, {\n    key: \"updateEnabledHotKeys\",\n    value: function f(a, b) {\n      var c = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {},\n        d = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : {},\n        e = 4 < arguments.length ? arguments[4] : void 0;\n      return this._focusOnlyEventStrategy.updateEnabledHotKeys(a, b, c, d, e);\n    }\n  }, {\n    key: \"disableHotKeys\",\n    value: function c(a, b) {\n      return this._focusOnlyEventStrategy.disableHotKeys(a, b);\n    }\n  }, {\n    key: \"handleKeydown\",\n    value: function e(a, b, c, d) {\n      if (isFromFocusOnlyComponent(b)) return this._focusOnlyEventStrategy.handleKeydown(a, b, c, d);\n    }\n  }, {\n    key: \"handleKeyPress\",\n    value: function e(a, b, c, d) {\n      if (isFromFocusOnlyComponent(b)) return this._focusOnlyEventStrategy.handleKeyPress(a, b, c, d);\n    }\n  }, {\n    key: \"handleKeyUp\",\n    value: function e(a, b, c, d) {\n      if (isFromFocusOnlyComponent(b)) return this._focusOnlyEventStrategy.handleKeyUp(a, b, c, d);\n    }\n  }, {\n    key: \"enableGlobalHotKeys\",\n    value: function f(a) {\n      var b = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {},\n        c = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {},\n        d = 3 < arguments.length ? arguments[3] : void 0,\n        e = 4 < arguments.length ? arguments[4] : void 0;\n      return this._globalEventStrategy.enableHotKeys(a, b, c, d, e);\n    }\n  }, {\n    key: \"updateEnabledGlobalHotKeys\",\n    value: function f(a) {\n      var b = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {},\n        c = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {},\n        d = 3 < arguments.length ? arguments[3] : void 0,\n        e = 4 < arguments.length ? arguments[4] : void 0;\n      return this._globalEventStrategy.updateEnabledHotKeys(a, b, c, d, e);\n    }\n  }, {\n    key: \"disableGlobalHotKeys\",\n    value: function b(a) {\n      return this._globalEventStrategy.disableHotKeys(a);\n    }\n  }, {\n    key: \"handleGlobalKeyDown\",\n    value: function b(a) {\n      return this._globalEventStrategy.handleKeydown(a);\n    }\n  }, {\n    key: \"handleGlobalKeyPress\",\n    value: function b(a) {\n      return this._globalEventStrategy.handleKeyPress(a);\n    }\n  }, {\n    key: \"handleGlobalKeyUp\",\n    value: function b(a) {\n      return this._globalEventStrategy.handleKeyUp(a);\n    }\n  }, {\n    key: \"ignoreEvent\",\n    value: function b(a) {\n      this._focusOnlyEventStrategy.getEventPropagator().ignoreEvent(a);\n    }\n  }, {\n    key: \"observeIgnoredEvents\",\n    value: function b(a) {\n      this._focusOnlyEventStrategy.getEventPropagator().observeIgnoredEvents(a);\n    }\n  }, {\n    key: \"closeHangingKeyCombination\",\n    value: function c(a, b) {\n      this._focusOnlyEventStrategy.closeHangingKeyCombination(a, b);\n    }\n  }, {\n    key: \"reactAppHistoryWithEvent\",\n    value: function d(a, b) {\n      var c = this._focusOnlyEventStrategy.eventPropagator.getPreviousPropagation();\n      return c.isForKey(a) && c.isForEventType(b) ? c.isHandled() ? EventResponse.handled : c.isIgnoringEvent() ? EventResponse.ignored : EventResponse.seen : EventResponse.unseen;\n    }\n  }, {\n    key: \"simulatePendingKeyPressEvents\",\n    value: function a() {\n      this._focusOnlyEventStrategy.simulatePendingKeyPressEvents();\n    }\n  }, {\n    key: \"simulatePendingKeyUpEvents\",\n    value: function a() {\n      this._focusOnlyEventStrategy.simulatePendingKeyUpEvents();\n    }\n  }, {\n    key: \"isGlobalListenersBound\",\n    value: function a() {\n      return this._globalEventStrategy.listenersBound;\n    }\n  }]), a;\n}();\nfunction backwardsCompatibleContext(a, b) {\n  var c = b.deprecatedAPI,\n    d = c.contextTypes,\n    e = c.childContextTypes,\n    f = b.newAPI.contextType;\n  if (\"undefined\" == typeof React.createContext) a.contextTypes = d, a.childContextTypes = e, a.prototype.getChildContext = function () {\n    return this._childContext;\n  };else {\n    var g = React.createContext(f);\n    a.contextType = g, a.prototype._originalRender = a.prototype.render, a.prototype.render = function () {\n      var a = this._originalRender();\n      return a ? React.createElement(g.Provider, {\n        value: this._childContext\n      }, a) : null;\n    };\n  }\n  return a;\n}\nfunction withHotKeys(a) {\n  function b(a, b) {\n    return _objectSpread({}, e[a] || {}, b[a] || {});\n  }\n  function c(a) {\n    return b(\"handlers\", a);\n  }\n  function d(a) {\n    return b(\"keyMap\", a);\n  }\n  var e = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {},\n    f = function (b) {\n      function e(a) {\n        var b;\n        return _classCallCheck(this, e), b = _possibleConstructorReturn(this, _getPrototypeOf(e).call(this, a)), b._handleFocus = b._handleFocus.bind(_assertThisInitialized(_assertThisInitialized(b))), b._handleBlur = b._handleBlur.bind(_assertThisInitialized(_assertThisInitialized(b))), b._handleKeyDown = b._handleKeyDown.bind(_assertThisInitialized(_assertThisInitialized(b))), b._handleKeyPress = b._handleKeyPress.bind(_assertThisInitialized(_assertThisInitialized(b))), b._handleKeyUp = b._handleKeyUp.bind(_assertThisInitialized(_assertThisInitialized(b))), b._componentIsFocused = b._componentIsFocused.bind(_assertThisInitialized(_assertThisInitialized(b))), b._id = KeyEventManager.getInstance().registerKeyMap(a.keyMap), b._childContext = {\n          hotKeysParentId: b._id\n        }, b;\n      }\n      return _inherits(e, b), _createClass(e, [{\n        key: \"render\",\n        value: function i() {\n          var b = this.props,\n            c = b.keyMap,\n            d = b.handlers,\n            e = b.allowChanges,\n            f = b.root,\n            g = _objectWithoutProperties(b, [\"keyMap\", \"handlers\", \"allowChanges\", \"root\"]),\n            h = {\n              onFocus: this._wrapFunction(\"onFocus\", this._handleFocus),\n              onBlur: this._wrapFunction(\"onBlur\", this._handleBlur),\n              tabIndex: Configuration.option(\"defaultTabIndex\")\n            };\n          return this._shouldBindKeyListeners() && (h.onKeyDown = this._handleKeyDown, h.onKeyPress = this._handleKeyPress, h.onKeyUp = this._handleKeyUp), React.createElement(a, _extends({\n            hotKeys: h\n          }, g));\n        }\n      }, {\n        key: \"_shouldBindKeyListeners\",\n        value: function b() {\n          var a = d(this.props);\n          return !isEmpty(a) || this.props.root || Configuration.option(\"enableHardSequences\") && this._handlersIncludeHardSequences(a, c(this.props));\n        }\n      }, {\n        key: \"_handlersIncludeHardSequences\",\n        value: function c(a, b) {\n          return Object.keys(b).some(function (b) {\n            return !a[b] && KeyCombinationSerializer.isValidKeySerialization(b);\n          });\n        }\n      }, {\n        key: \"_wrapFunction\",\n        value: function d(a, b) {\n          var c = this;\n          return \"function\" == typeof this.props[a] ? function (d) {\n            c.props[a](d), b(d);\n          } : b;\n        }\n      }, {\n        key: \"_focusTreeIdsPush\",\n        value: function b(a) {\n          this._focusTreeIds || (this._focusTreeIds = []), this._focusTreeIds.push(a);\n        }\n      }, {\n        key: \"_focusTreeIdsShift\",\n        value: function a() {\n          this._focusTreeIds && this._focusTreeIds.shift();\n        }\n      }, {\n        key: \"_getFocusTreeId\",\n        value: function a() {\n          if (this._focusTreeIds) return this._focusTreeIds[0];\n        }\n      }, {\n        key: \"componentDidUpdate\",\n        value: function e() {\n          var a = KeyEventManager.getInstance();\n          if (a.reregisterKeyMap(this._id, this.props.keyMap), this._componentIsFocused() && (this.props.allowChanges || !Configuration.option(\"ignoreKeymapAndHandlerChangesByDefault\"))) {\n            var b = this.props,\n              c = b.keyMap,\n              d = b.handlers;\n            a.updateEnabledHotKeys(this._getFocusTreeId(), this._id, c, d, this._getComponentOptions());\n          }\n        }\n      }, {\n        key: \"_componentIsFocused\",\n        value: function a() {\n          return !0 === this._focused;\n        }\n      }, {\n        key: \"componentDidMount\",\n        value: function c() {\n          var a = KeyEventManager.getInstance(),\n            b = this.context.hotKeysParentId;\n          a.registerComponentMount(this._id, b);\n        }\n      }, {\n        key: \"_handleFocus\",\n        value: function e() {\n          if (this.props.onFocus) {\n            var a;\n            (a = this.props).onFocus.apply(a, arguments);\n          }\n          var b = KeyEventManager.getInstance().enableHotKeys(this._id, d(this.props), c(this.props), this._getComponentOptions());\n          isUndefined(b) || this._focusTreeIdsPush(b), this._focused = !0;\n        }\n      }, {\n        key: \"componentWillUnmount\",\n        value: function b() {\n          var a = KeyEventManager.getInstance();\n          a.deregisterKeyMap(this._id), a.registerComponentUnmount(), this._handleBlur();\n        }\n      }, {\n        key: \"_handleBlur\",\n        value: function c() {\n          if (this.props.onBlur) {\n            var a;\n            (a = this.props).onBlur.apply(a, arguments);\n          }\n          var b = KeyEventManager.getInstance().disableHotKeys(this._getFocusTreeId(), this._id);\n          b || this._focusTreeIdsShift(), this._focused = !1;\n        }\n      }, {\n        key: \"_handleKeyDown\",\n        value: function c(a) {\n          var b = KeyEventManager.getInstance().handleKeydown(a, this._getFocusTreeId(), this._id, this._getEventOptions());\n          b && this._focusTreeIdsShift();\n        }\n      }, {\n        key: \"_handleKeyPress\",\n        value: function c(a) {\n          var b = KeyEventManager.getInstance().handleKeyPress(a, this._getFocusTreeId(), this._id, this._getEventOptions());\n          b && this._focusTreeIdsShift();\n        }\n      }, {\n        key: \"_handleKeyUp\",\n        value: function c(a) {\n          var b = KeyEventManager.getInstance().handleKeyUp(a, this._getFocusTreeId(), this._id, this._getEventOptions());\n          b && this._focusTreeIdsShift();\n        }\n      }, {\n        key: \"_getComponentOptions\",\n        value: function a() {\n          return {\n            defaultKeyEvent: Configuration.option(\"defaultKeyEvent\")\n          };\n        }\n      }, {\n        key: \"_getEventOptions\",\n        value: function a() {\n          return {\n            ignoreEventsCondition: Configuration.option(\"ignoreEventsCondition\")\n          };\n        }\n      }]), e;\n    }(PureComponent);\n  return _defineProperty(f, \"propTypes\", {\n    keyMap: PropTypes.object,\n    handlers: PropTypes.object,\n    onFocus: PropTypes.func,\n    onBlur: PropTypes.func,\n    allowChanges: PropTypes.bool,\n    root: PropTypes.bool\n  }), backwardsCompatibleContext(f, {\n    deprecatedAPI: {\n      contextTypes: {\n        hotKeysParentId: PropTypes.number\n      },\n      childContextTypes: {\n        hotKeysParentId: PropTypes.number\n      }\n    },\n    newAPI: {\n      contextType: {\n        hotKeysParentId: void 0\n      }\n    }\n  });\n}\nvar HotKeysWrapper = function (a) {\n    function b() {\n      return _classCallCheck(this, b), _possibleConstructorReturn(this, _getPrototypeOf(b).apply(this, arguments));\n    }\n    return _inherits(b, a), _createClass(b, [{\n      key: \"render\",\n      value: function g() {\n        var a = this.props,\n          b = a.hotKeys,\n          c = a.innerRef,\n          d = a.component,\n          e = _objectWithoutProperties(a, [\"hotKeys\", \"innerRef\", \"component\"]),\n          f = d || Configuration.option(\"defaultComponent\");\n        return React.createElement(f, _objectSpread({}, b, {\n          ref: c\n        }, e));\n      }\n    }]), b;\n  }(Component),\n  HotKeys = withHotKeys(HotKeysWrapper);\nHotKeys.propTypes = {\n  innerRef: PropTypes.oneOfType([PropTypes.object, PropTypes.func])\n};\nvar GlobalHotKeys = function (a) {\n  function b(a) {\n    var c;\n    return _classCallCheck(this, b), c = _possibleConstructorReturn(this, _getPrototypeOf(b).call(this, a)), c._id = KeyEventManager.getInstance().registerGlobalKeyMap(a.keyMap), c._childContext = {\n      globalHotKeysParentId: c._id\n    }, c;\n  }\n  return _inherits(b, a), _createClass(b, [{\n    key: \"render\",\n    value: function a() {\n      return this.props.children || null;\n    }\n  }, {\n    key: \"componentDidUpdate\",\n    value: function e() {\n      var a = KeyEventManager.getInstance();\n      if (a.reregisterGlobalKeyMap(this._id, this.props.keyMap), this.props.allowChanges || !Configuration.option(\"ignoreKeymapAndHandlerChangesByDefault\")) {\n        var b = this.props,\n          c = b.keyMap,\n          d = b.handlers;\n        a.updateEnabledGlobalHotKeys(this._id, c, d, this._getComponentOptions(), this._getEventOptions());\n      }\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function f() {\n      var a = this.props,\n        b = a.keyMap,\n        c = a.handlers,\n        d = this.context.globalHotKeysParentId,\n        e = KeyEventManager.getInstance();\n      e.registerGlobalComponentMount(this._id, d), e.enableGlobalHotKeys(this._id, b, c, this._getComponentOptions(), this._getEventOptions());\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function b() {\n      var a = KeyEventManager.getInstance();\n      a.deregisterGlobalKeyMap(this._id), a.disableGlobalHotKeys(this._id), a.registerGlobalComponentUnmount();\n    }\n  }, {\n    key: \"_getComponentOptions\",\n    value: function a() {\n      return {\n        defaultKeyEvent: Configuration.option(\"defaultKeyEvent\")\n      };\n    }\n  }, {\n    key: \"_getEventOptions\",\n    value: function a() {\n      return {\n        ignoreEventsCondition: Configuration.option(\"ignoreEventsCondition\")\n      };\n    }\n  }]), b;\n}(Component);\n_defineProperty(GlobalHotKeys, \"propTypes\", {\n  keyMap: PropTypes.object,\n  handlers: PropTypes.object,\n  allowChanges: PropTypes.bool\n});\nvar GlobalHotKeys$1 = backwardsCompatibleContext(GlobalHotKeys, {\n  deprecatedAPI: {\n    contextTypes: {\n      globalHotKeysParentId: PropTypes.number\n    },\n    childContextTypes: {\n      globalHotKeysParentId: PropTypes.number\n    }\n  },\n  newAPI: {\n    contextType: {\n      globalHotKeysParentId: void 0\n    }\n  }\n});\nfunction withHotKeysIgnoreOverride(a) {\n  var b,\n    c,\n    d = 1 < arguments.length && arguments[1] !== void 0 ? arguments[1] : {\n      only: [],\n      except: []\n    },\n    e = 2 < arguments.length ? arguments[2] : void 0;\n  return c = b = function (b) {\n    function c(a) {\n      var b;\n      return _classCallCheck(this, c), b = _possibleConstructorReturn(this, _getPrototypeOf(c).call(this, a)), b._handleKeyEvent = b._handleKeyEvent.bind(_assertThisInitialized(_assertThisInitialized(b))), b._reloadDictionaries = b._reloadDictionaries.bind(_assertThisInitialized(_assertThisInitialized(b))), b;\n    }\n    return _inherits(c, b), _createClass(c, [{\n      key: \"render\",\n      value: function g() {\n        var b = this.props,\n          c = b.only,\n          d = b.except,\n          e = _objectWithoutProperties(b, [\"only\", \"except\"]),\n          f = {\n            onKeyDown: this._handleKeyEvent,\n            onKeyPress: this._handleKeyEvent,\n            onKeyUp: this._handleKeyEvent,\n            onFocus: this._reloadDictionaries\n          };\n        return React.createElement(a, _extends({\n          hotKeys: f\n        }, e));\n      }\n    }, {\n      key: \"_reloadDictionaries\",\n      value: function d() {\n        var a = this.props,\n          b = a.only,\n          c = a.except;\n        this._onlyDict = keyDictionary(b), this._exceptDict = keyDictionary(c);\n      }\n    }, {\n      key: \"_shouldIgnoreEvent\",\n      value: function c(a) {\n        var b = a.key;\n        return isEmpty(this._onlyDict) ? !!isEmpty(this._exceptDict) || !hasKey(this._exceptDict, b) : isEmpty(this._exceptDict) ? hasKey(this._onlyDict, b) : hasKey(this._onlyDict, b) && !hasKey(this._exceptDict, b);\n      }\n    }, {\n      key: \"_handleKeyEvent\",\n      value: function b(a) {\n        this._shouldIgnoreEvent(a) && KeyEventManager.getInstance()[e](a);\n      }\n    }]), c;\n  }(PureComponent), _defineProperty(b, \"propTypes\", {\n    only: PropTypes.oneOfType([PropTypes.string, PropTypes.arrayOf(PropTypes.string)]),\n    except: PropTypes.oneOfType([PropTypes.string, PropTypes.arrayOf(PropTypes.string)])\n  }), _defineProperty(b, \"defaultProps\", d), c;\n}\nfunction keyDictionary(a) {\n  return arrayFrom(a).reduce(function (a, b) {\n    var c = standardizeKeyName(b);\n    if (!isValidKey(c)) throw new InvalidKeyNameError(b);\n    return [resolveAltShiftedAlias, resolveUnaltShiftedAlias, resolveShiftedAlias, resolveUnshiftedAlias, resolveAltedAlias, resolveUnaltedAlias].forEach(function (b) {\n      a[b(c)] = !0;\n    }), a;\n  }, {});\n}\nvar IgnoreKeys = function (a) {\n  function b() {\n    return _classCallCheck(this, b), _possibleConstructorReturn(this, _getPrototypeOf(b).apply(this, arguments));\n  }\n  return _inherits(b, a), _createClass(b, [{\n    key: \"render\",\n    value: function e() {\n      var a = this.props,\n        b = a.hotKeys,\n        c = _objectWithoutProperties(a, [\"hotKeys\"]),\n        d = c.component || Configuration.option(\"defaultComponent\");\n      return React.createElement(d, _objectSpread({}, b, c));\n    }\n  }]), b;\n}(Component);\nvar IgnoreKeys$1 = withHotKeysIgnoreOverride(IgnoreKeys, {}, \"ignoreEvent\");\nvar ObserveKeys = function (a) {\n  function b() {\n    return _classCallCheck(this, b), _possibleConstructorReturn(this, _getPrototypeOf(b).apply(this, arguments));\n  }\n  return _inherits(b, a), _createClass(b, [{\n    key: \"render\",\n    value: function e() {\n      var a = this.props,\n        b = a.hotKeys,\n        c = _objectWithoutProperties(a, [\"hotKeys\"]),\n        d = c.component || Configuration.option(\"defaultComponent\");\n      return React.createElement(d, _objectSpread({}, b, c));\n    }\n  }]), b;\n}(Component);\nvar ObserveKeys$1 = withHotKeysIgnoreOverride(ObserveKeys, {}, \"observeIgnoredEvents\");\nfunction withIgnoreKeys(a) {\n  var b = 1 < arguments.length && arguments[1] !== void 0 ? arguments[1] : {\n    only: [],\n    except: []\n  };\n  return withHotKeysIgnoreOverride(a, b, \"ignoreEvent\");\n}\nfunction withObserveKeys(a) {\n  var b = 1 < arguments.length && arguments[1] !== void 0 ? arguments[1] : {\n    only: [],\n    except: []\n  };\n  return withHotKeysIgnoreOverride(a, b, \"observeIgnoredEvents\");\n}\nfunction configure() {\n  var a = 0 < arguments.length && arguments[0] !== void 0 ? arguments[0] : {};\n  Configuration.init(a);\n}\nfunction getApplicationKeyMap() {\n  return KeyEventManager.getInstance().getApplicationKeyMap();\n}\nfunction recordKeyCombination(a) {\n  var b = KeyEventManager.getInstance();\n  return b.addKeyCombinationListener(a);\n}\nexport { HotKeys, GlobalHotKeys$1 as GlobalHotKeys, IgnoreKeys$1 as IgnoreKeys, ObserveKeys$1 as ObserveKeys, withHotKeys, withIgnoreKeys, withObserveKeys, configure, getApplicationKeyMap, recordKeyCombination };","/**\n * Assigns a value for a given ref, no matter of the ref format\n * @param {RefObject} ref - a callback function or ref object\n * @param value - a new value\n *\n * @see https://github.com/theKashey/use-callback-ref#assignref\n * @example\n * const refObject = useRef();\n * const refFn = (ref) => {....}\n *\n * assignRef(refObject, \"refValue\");\n * assignRef(refFn, \"refValue\");\n */\nexport function assignRef(ref, value) {\n  if (typeof ref === 'function') {\n    ref(value);\n  } else if (ref) {\n    ref.current = value;\n  }\n  return ref;\n}","import * as React from 'react';\nimport { assignRef } from './assignRef';\nimport { useCallbackRef } from './useRef';\nvar currentValues = new WeakMap();\n/**\n * Merges two or more refs together providing a single interface to set their value\n * @param {RefObject|Ref} refs\n * @returns {MutableRefObject} - a new ref, which translates all changes to {refs}\n *\n * @see {@link mergeRefs} a version without buit-in memoization\n * @see https://github.com/theKashey/use-callback-ref#usemergerefs\n * @example\n * const Component = React.forwardRef((props, ref) => {\n *   const ownRef = useRef();\n *   const domRef = useMergeRefs([ref, ownRef]); // 👈 merge together\n *   return <div ref={domRef}>...</div>\n * }\n */\nexport function useMergeRefs(refs, defaultValue) {\n  var callbackRef = useCallbackRef(defaultValue || null, function (newValue) {\n    return refs.forEach(function (ref) {\n      return assignRef(ref, newValue);\n    });\n  });\n  // handle refs changes - added or removed\n  React.useLayoutEffect(function () {\n    var oldValue = currentValues.get(callbackRef);\n    if (oldValue) {\n      var prevRefs_1 = new Set(oldValue);\n      var nextRefs_1 = new Set(refs);\n      var current_1 = callbackRef.current;\n      prevRefs_1.forEach(function (ref) {\n        if (!nextRefs_1.has(ref)) {\n          assignRef(ref, null);\n        }\n      });\n      nextRefs_1.forEach(function (ref) {\n        if (!prevRefs_1.has(ref)) {\n          assignRef(ref, current_1);\n        }\n      });\n    }\n    currentValues.set(callbackRef, refs);\n  }, [refs]);\n  return callbackRef;\n}","import { useState } from 'react';\n/**\n * creates a MutableRef with ref change callback\n * @param initialValue - initial ref value\n * @param {Function} callback - a callback to run when value changes\n *\n * @example\n * const ref = useCallbackRef(0, (newValue, oldValue) => console.log(oldValue, '->', newValue);\n * ref.current = 1;\n * // prints 0 -> 1\n *\n * @see https://reactjs.org/docs/hooks-reference.html#useref\n * @see https://github.com/theKashey/use-callback-ref#usecallbackref---to-replace-reactuseref\n * @returns {MutableRefObject}\n */\nexport function useCallbackRef(initialValue, callback) {\n  var ref = useState(function () {\n    return {\n      // value\n      value: initialValue,\n      // last callback\n      callback: callback,\n      // \"memoized\" public interface\n      facade: {\n        get current() {\n          return ref.value;\n        },\n        set current(value) {\n          var last = ref.value;\n          if (last !== value) {\n            ref.value = value;\n            ref.callback(value, last);\n          }\n        }\n      }\n    };\n  })[0];\n  // update callback\n  ref.callback = callback;\n  return ref.facade;\n}","import * as React from 'react';\nimport PropTypes from 'prop-types';\nexport var hiddenGuard = {\n  width: '1px',\n  height: '0px',\n  padding: 0,\n  overflow: 'hidden',\n  position: 'fixed',\n  top: '1px',\n  left: '1px'\n};\nvar InFocusGuard = function InFocusGuard(_ref) {\n  var _ref$children = _ref.children,\n    children = _ref$children === void 0 ? null : _ref$children;\n  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", {\n    key: \"guard-first\",\n    \"data-focus-guard\": true,\n    \"data-focus-auto-guard\": true,\n    style: hiddenGuard\n  }), children, children && /*#__PURE__*/React.createElement(\"div\", {\n    key: \"guard-last\",\n    \"data-focus-guard\": true,\n    \"data-focus-auto-guard\": true,\n    style: hiddenGuard\n  }));\n};\nInFocusGuard.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  children: PropTypes.node\n} : {};\nexport default InFocusGuard;","/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol */\n\nvar _extendStatics = function extendStatics(d, b) {\n  _extendStatics = Object.setPrototypeOf || {\n    __proto__: []\n  } instanceof Array && function (d, b) {\n    d.__proto__ = b;\n  } || function (d, b) {\n    for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];\n  };\n  return _extendStatics(d, b);\n};\nexport function __extends(d, b) {\n  if (typeof b !== \"function\" && b !== null) throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n  _extendStatics(d, b);\n  function __() {\n    this.constructor = d;\n  }\n  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\nvar _assign = function __assign() {\n  _assign = Object.assign || function __assign(t) {\n    for (var s, i = 1, n = arguments.length; i < n; i++) {\n      s = arguments[i];\n      for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n    }\n    return t;\n  };\n  return _assign.apply(this, arguments);\n};\nexport { _assign as __assign };\nexport function __rest(s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n}\nexport function __decorate(decorators, target, key, desc) {\n  var c = arguments.length,\n    r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n    d;\n  if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n  return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\nexport function __param(paramIndex, decorator) {\n  return function (target, key) {\n    decorator(target, key, paramIndex);\n  };\n}\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n  function accept(f) {\n    if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\");\n    return f;\n  }\n  var kind = contextIn.kind,\n    key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n  var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n  var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n  var _,\n    done = false;\n  for (var i = decorators.length - 1; i >= 0; i--) {\n    var context = {};\n    for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n    for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n    context.addInitializer = function (f) {\n      if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\");\n      extraInitializers.push(accept(f || null));\n    };\n    var result = (0, decorators[i])(kind === \"accessor\" ? {\n      get: descriptor.get,\n      set: descriptor.set\n    } : descriptor[key], context);\n    if (kind === \"accessor\") {\n      if (result === void 0) continue;\n      if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n      if (_ = accept(result.get)) descriptor.get = _;\n      if (_ = accept(result.set)) descriptor.set = _;\n      if (_ = accept(result.init)) initializers.unshift(_);\n    } else if (_ = accept(result)) {\n      if (kind === \"field\") initializers.unshift(_);else descriptor[key] = _;\n    }\n  }\n  if (target) Object.defineProperty(target, contextIn.name, descriptor);\n  done = true;\n}\n;\nexport function __runInitializers(thisArg, initializers, value) {\n  var useValue = arguments.length > 2;\n  for (var i = 0; i < initializers.length; i++) {\n    value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n  }\n  return useValue ? value : void 0;\n}\n;\nexport function __propKey(x) {\n  return typeof x === \"symbol\" ? x : \"\".concat(x);\n}\n;\nexport function __setFunctionName(f, name, prefix) {\n  if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n  return Object.defineProperty(f, \"name\", {\n    configurable: true,\n    value: prefix ? \"\".concat(prefix, \" \", name) : name\n  });\n}\n;\nexport function __metadata(metadataKey, metadataValue) {\n  if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\nexport function __awaiter(thisArg, _arguments, P, generator) {\n  function adopt(value) {\n    return value instanceof P ? value : new P(function (resolve) {\n      resolve(value);\n    });\n  }\n  return new (P || (P = Promise))(function (resolve, reject) {\n    function fulfilled(value) {\n      try {\n        step(generator.next(value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function rejected(value) {\n      try {\n        step(generator[\"throw\"](value));\n      } catch (e) {\n        reject(e);\n      }\n    }\n    function step(result) {\n      result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n    }\n    step((generator = generator.apply(thisArg, _arguments || [])).next());\n  });\n}\nexport function __generator(thisArg, body) {\n  var _ = {\n      label: 0,\n      sent: function sent() {\n        if (t[0] & 1) throw t[1];\n        return t[1];\n      },\n      trys: [],\n      ops: []\n    },\n    f,\n    y,\n    t,\n    g;\n  return g = {\n    next: verb(0),\n    \"throw\": verb(1),\n    \"return\": verb(2)\n  }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function () {\n    return this;\n  }), g;\n  function verb(n) {\n    return function (v) {\n      return step([n, v]);\n    };\n  }\n  function step(op) {\n    if (f) throw new TypeError(\"Generator is already executing.\");\n    while (g && (g = 0, op[0] && (_ = 0)), _) try {\n      if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n      if (y = 0, t) op = [op[0] & 2, t.value];\n      switch (op[0]) {\n        case 0:\n        case 1:\n          t = op;\n          break;\n        case 4:\n          _.label++;\n          return {\n            value: op[1],\n            done: false\n          };\n        case 5:\n          _.label++;\n          y = op[1];\n          op = [0];\n          continue;\n        case 7:\n          op = _.ops.pop();\n          _.trys.pop();\n          continue;\n        default:\n          if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n            _ = 0;\n            continue;\n          }\n          if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n            _.label = op[1];\n            break;\n          }\n          if (op[0] === 6 && _.label < t[1]) {\n            _.label = t[1];\n            t = op;\n            break;\n          }\n          if (t && _.label < t[2]) {\n            _.label = t[2];\n            _.ops.push(op);\n            break;\n          }\n          if (t[2]) _.ops.pop();\n          _.trys.pop();\n          continue;\n      }\n      op = body.call(thisArg, _);\n    } catch (e) {\n      op = [6, e];\n      y = 0;\n    } finally {\n      f = t = 0;\n    }\n    if (op[0] & 5) throw op[1];\n    return {\n      value: op[0] ? op[1] : void 0,\n      done: true\n    };\n  }\n}\nexport var __createBinding = Object.create ? function (o, m, k, k2) {\n  if (k2 === undefined) k2 = k;\n  var desc = Object.getOwnPropertyDescriptor(m, k);\n  if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n    desc = {\n      enumerable: true,\n      get: function get() {\n        return m[k];\n      }\n    };\n  }\n  Object.defineProperty(o, k2, desc);\n} : function (o, m, k, k2) {\n  if (k2 === undefined) k2 = k;\n  o[k2] = m[k];\n};\nexport function __exportStar(m, o) {\n  for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\nexport function __values(o) {\n  var s = typeof Symbol === \"function\" && Symbol.iterator,\n    m = s && o[s],\n    i = 0;\n  if (m) return m.call(o);\n  if (o && typeof o.length === \"number\") return {\n    next: function next() {\n      if (o && i >= o.length) o = void 0;\n      return {\n        value: o && o[i++],\n        done: !o\n      };\n    }\n  };\n  throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\nexport function __read(o, n) {\n  var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n  if (!m) return o;\n  var i = m.call(o),\n    r,\n    ar = [],\n    e;\n  try {\n    while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n  } catch (error) {\n    e = {\n      error: error\n    };\n  } finally {\n    try {\n      if (r && !r.done && (m = i[\"return\"])) m.call(i);\n    } finally {\n      if (e) throw e.error;\n    }\n  }\n  return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n  for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n  return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n  for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n  for (var r = Array(s), k = 0, i = 0; i < il; i++) for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) r[k] = a[j];\n  return r;\n}\nexport function __spreadArray(to, from, pack) {\n  if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n    if (ar || !(i in from)) {\n      if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n      ar[i] = from[i];\n    }\n  }\n  return to.concat(ar || Array.prototype.slice.call(from));\n}\nexport function __await(v) {\n  return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n  if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n  var g = generator.apply(thisArg, _arguments || []),\n    i,\n    q = [];\n  return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n    return this;\n  }, i;\n  function verb(n) {\n    if (g[n]) i[n] = function (v) {\n      return new Promise(function (a, b) {\n        q.push([n, v, a, b]) > 1 || resume(n, v);\n      });\n    };\n  }\n  function resume(n, v) {\n    try {\n      step(g[n](v));\n    } catch (e) {\n      settle(q[0][3], e);\n    }\n  }\n  function step(r) {\n    r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);\n  }\n  function fulfill(value) {\n    resume(\"next\", value);\n  }\n  function reject(value) {\n    resume(\"throw\", value);\n  }\n  function settle(f, v) {\n    if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]);\n  }\n}\nexport function __asyncDelegator(o) {\n  var i, p;\n  return i = {}, verb(\"next\"), verb(\"throw\", function (e) {\n    throw e;\n  }), verb(\"return\"), i[Symbol.iterator] = function () {\n    return this;\n  }, i;\n  function verb(n, f) {\n    i[n] = o[n] ? function (v) {\n      return (p = !p) ? {\n        value: __await(o[n](v)),\n        done: false\n      } : f ? f(v) : v;\n    } : f;\n  }\n}\nexport function __asyncValues(o) {\n  if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n  var m = o[Symbol.asyncIterator],\n    i;\n  return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n    return this;\n  }, i);\n  function verb(n) {\n    i[n] = o[n] && function (v) {\n      return new Promise(function (resolve, reject) {\n        v = o[n](v), settle(resolve, reject, v.done, v.value);\n      });\n    };\n  }\n  function settle(resolve, reject, d, v) {\n    Promise.resolve(v).then(function (v) {\n      resolve({\n        value: v,\n        done: d\n      });\n    }, reject);\n  }\n}\nexport function __makeTemplateObject(cooked, raw) {\n  if (Object.defineProperty) {\n    Object.defineProperty(cooked, \"raw\", {\n      value: raw\n    });\n  } else {\n    cooked.raw = raw;\n  }\n  return cooked;\n}\n;\nvar __setModuleDefault = Object.create ? function (o, v) {\n  Object.defineProperty(o, \"default\", {\n    enumerable: true,\n    value: v\n  });\n} : function (o, v) {\n  o[\"default\"] = v;\n};\nexport function __importStar(mod) {\n  if (mod && mod.__esModule) return mod;\n  var result = {};\n  if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n  __setModuleDefault(result, mod);\n  return result;\n}\nexport function __importDefault(mod) {\n  return mod && mod.__esModule ? mod : {\n    default: mod\n  };\n}\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n  if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n  if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n  return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n  if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n  if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n  if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n  return kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;\n}\nexport function __classPrivateFieldIn(state, receiver) {\n  if (receiver === null || typeof receiver !== \"object\" && typeof receiver !== \"function\") throw new TypeError(\"Cannot use 'in' operator on non-object\");\n  return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\nexport function __addDisposableResource(env, value, async) {\n  if (value !== null && value !== void 0) {\n    if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n    var dispose;\n    if (async) {\n      if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n      dispose = value[Symbol.asyncDispose];\n    }\n    if (dispose === void 0) {\n      if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n      dispose = value[Symbol.dispose];\n    }\n    if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n    env.stack.push({\n      value: value,\n      dispose: dispose,\n      async: async\n    });\n  } else if (async) {\n    env.stack.push({\n      async: true\n    });\n  }\n  return value;\n}\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n  var e = new Error(message);\n  return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\nexport function __disposeResources(env) {\n  function fail(e) {\n    env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n    env.hasError = true;\n  }\n  function next() {\n    while (env.stack.length) {\n      var rec = env.stack.pop();\n      try {\n        var result = rec.dispose && rec.dispose.call(rec.value);\n        if (rec.async) return Promise.resolve(result).then(next, function (e) {\n          fail(e);\n          return next();\n        });\n      } catch (e) {\n        fail(e);\n      }\n    }\n    if (env.hasError) throw env.error;\n  }\n  return next();\n}\nexport default {\n  __extends: __extends,\n  __assign: _assign,\n  __rest: __rest,\n  __decorate: __decorate,\n  __param: __param,\n  __metadata: __metadata,\n  __awaiter: __awaiter,\n  __generator: __generator,\n  __createBinding: __createBinding,\n  __exportStar: __exportStar,\n  __values: __values,\n  __read: __read,\n  __spread: __spread,\n  __spreadArrays: __spreadArrays,\n  __spreadArray: __spreadArray,\n  __await: __await,\n  __asyncGenerator: __asyncGenerator,\n  __asyncDelegator: __asyncDelegator,\n  __asyncValues: __asyncValues,\n  __makeTemplateObject: __makeTemplateObject,\n  __importStar: __importStar,\n  __importDefault: __importDefault,\n  __classPrivateFieldGet: __classPrivateFieldGet,\n  __classPrivateFieldSet: __classPrivateFieldSet,\n  __classPrivateFieldIn: __classPrivateFieldIn,\n  __addDisposableResource: __addDisposableResource,\n  __disposeResources: __disposeResources\n};","import { __assign } from \"tslib\";\nfunction ItoI(a) {\n  return a;\n}\nfunction innerCreateMedium(defaults, middleware) {\n  if (middleware === void 0) {\n    middleware = ItoI;\n  }\n  var buffer = [];\n  var assigned = false;\n  var medium = {\n    read: function read() {\n      if (assigned) {\n        throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.');\n      }\n      if (buffer.length) {\n        return buffer[buffer.length - 1];\n      }\n      return defaults;\n    },\n    useMedium: function useMedium(data) {\n      var item = middleware(data, assigned);\n      buffer.push(item);\n      return function () {\n        buffer = buffer.filter(function (x) {\n          return x !== item;\n        });\n      };\n    },\n    assignSyncMedium: function assignSyncMedium(cb) {\n      assigned = true;\n      while (buffer.length) {\n        var cbs = buffer;\n        buffer = [];\n        cbs.forEach(cb);\n      }\n      buffer = {\n        push: function push(x) {\n          return cb(x);\n        },\n        filter: function filter() {\n          return buffer;\n        }\n      };\n    },\n    assignMedium: function assignMedium(cb) {\n      assigned = true;\n      var pendingQueue = [];\n      if (buffer.length) {\n        var cbs = buffer;\n        buffer = [];\n        cbs.forEach(cb);\n        pendingQueue = buffer;\n      }\n      var executeQueue = function executeQueue() {\n        var cbs = pendingQueue;\n        pendingQueue = [];\n        cbs.forEach(cb);\n      };\n      var cycle = function cycle() {\n        return Promise.resolve().then(executeQueue);\n      };\n      cycle();\n      buffer = {\n        push: function push(x) {\n          pendingQueue.push(x);\n          cycle();\n        },\n        filter: function filter(_filter) {\n          pendingQueue = pendingQueue.filter(_filter);\n          return buffer;\n        }\n      };\n    }\n  };\n  return medium;\n}\nexport function createMedium(defaults, middleware) {\n  if (middleware === void 0) {\n    middleware = ItoI;\n  }\n  return innerCreateMedium(defaults, middleware);\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function createSidecarMedium(options) {\n  if (options === void 0) {\n    options = {};\n  }\n  var medium = innerCreateMedium(null);\n  medium.options = __assign({\n    async: true,\n    ssr: false\n  }, options);\n  return medium;\n}","import { createMedium, createSidecarMedium } from 'use-sidecar';\nexport var mediumFocus = createMedium({}, function (_ref) {\n  var target = _ref.target,\n    currentTarget = _ref.currentTarget;\n  return {\n    target: target,\n    currentTarget: currentTarget\n  };\n});\nexport var mediumBlur = createMedium();\nexport var mediumEffect = createMedium();\nexport var mediumSidecar = createSidecarMedium({\n  async: true,\n  ssr: typeof document !== 'undefined'\n});","import { createContext } from 'react';\nexport var focusScope = /*#__PURE__*/createContext(undefined);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { node, bool, string, any, arrayOf, oneOfType, object, func } from 'prop-types';\nimport * as constants from 'focus-lock/constants';\nimport { useMergeRefs } from 'use-callback-ref';\nimport { hiddenGuard } from './FocusGuard';\nimport { mediumFocus, mediumBlur, mediumSidecar } from './medium';\nimport { focusScope } from './scope';\nvar emptyArray = [];\nvar FocusLock = /*#__PURE__*/React.forwardRef(function FocusLockUI(props, parentRef) {\n  var _extends2;\n  var _React$useState = React.useState(),\n    realObserved = _React$useState[0],\n    setObserved = _React$useState[1];\n  var observed = React.useRef();\n  var isActive = React.useRef(false);\n  var originalFocusedElement = React.useRef(null);\n  var _React$useState2 = React.useState({}),\n    update = _React$useState2[1];\n  var children = props.children,\n    _props$disabled = props.disabled,\n    disabled = _props$disabled === void 0 ? false : _props$disabled,\n    _props$noFocusGuards = props.noFocusGuards,\n    noFocusGuards = _props$noFocusGuards === void 0 ? false : _props$noFocusGuards,\n    _props$persistentFocu = props.persistentFocus,\n    persistentFocus = _props$persistentFocu === void 0 ? false : _props$persistentFocu,\n    _props$crossFrame = props.crossFrame,\n    crossFrame = _props$crossFrame === void 0 ? true : _props$crossFrame,\n    _props$autoFocus = props.autoFocus,\n    autoFocus = _props$autoFocus === void 0 ? true : _props$autoFocus,\n    allowTextSelection = props.allowTextSelection,\n    group = props.group,\n    className = props.className,\n    whiteList = props.whiteList,\n    hasPositiveIndices = props.hasPositiveIndices,\n    _props$shards = props.shards,\n    shards = _props$shards === void 0 ? emptyArray : _props$shards,\n    _props$as = props.as,\n    Container = _props$as === void 0 ? 'div' : _props$as,\n    _props$lockProps = props.lockProps,\n    containerProps = _props$lockProps === void 0 ? {} : _props$lockProps,\n    SideCar = props.sideCar,\n    _props$returnFocus = props.returnFocus,\n    shouldReturnFocus = _props$returnFocus === void 0 ? false : _props$returnFocus,\n    focusOptions = props.focusOptions,\n    onActivationCallback = props.onActivation,\n    onDeactivationCallback = props.onDeactivation;\n  var _React$useState3 = React.useState({}),\n    id = _React$useState3[0];\n  var onActivation = React.useCallback(function (_ref) {\n    var captureFocusRestore = _ref.captureFocusRestore;\n    if (!originalFocusedElement.current) {\n      var _document;\n      var activeElement = (_document = document) == null ? void 0 : _document.activeElement;\n      originalFocusedElement.current = activeElement;\n      if (activeElement !== document.body) {\n        originalFocusedElement.current = captureFocusRestore(activeElement);\n      }\n    }\n    if (observed.current && onActivationCallback) {\n      onActivationCallback(observed.current);\n    }\n    isActive.current = true;\n    update();\n  }, [onActivationCallback]);\n  var onDeactivation = React.useCallback(function () {\n    isActive.current = false;\n    if (onDeactivationCallback) {\n      onDeactivationCallback(observed.current);\n    }\n    update();\n  }, [onDeactivationCallback]);\n  var returnFocus = React.useCallback(function (allowDefer) {\n    var focusRestore = originalFocusedElement.current;\n    if (focusRestore) {\n      var returnFocusTo = (typeof focusRestore === 'function' ? focusRestore() : focusRestore) || document.body;\n      var howToReturnFocus = typeof shouldReturnFocus === 'function' ? shouldReturnFocus(returnFocusTo) : shouldReturnFocus;\n      if (howToReturnFocus) {\n        var returnFocusOptions = typeof howToReturnFocus === 'object' ? howToReturnFocus : undefined;\n        originalFocusedElement.current = null;\n        if (allowDefer) {\n          Promise.resolve().then(function () {\n            return returnFocusTo.focus(returnFocusOptions);\n          });\n        } else {\n          returnFocusTo.focus(returnFocusOptions);\n        }\n      }\n    }\n  }, [shouldReturnFocus]);\n  var onFocus = React.useCallback(function (event) {\n    if (isActive.current) {\n      mediumFocus.useMedium(event);\n    }\n  }, []);\n  var onBlur = mediumBlur.useMedium;\n  var setObserveNode = React.useCallback(function (newObserved) {\n    if (observed.current !== newObserved) {\n      observed.current = newObserved;\n      setObserved(newObserved);\n    }\n  }, []);\n  if (process.env.NODE_ENV !== 'production') {\n    if (typeof allowTextSelection !== 'undefined') {\n      console.warn('React-Focus-Lock: allowTextSelection is deprecated and enabled by default');\n    }\n    React.useEffect(function () {\n      if (!observed.current && typeof Container !== 'string') {\n        console.error('FocusLock: could not obtain ref to internal node');\n      }\n    }, []);\n  }\n  var lockProps = _extends((_extends2 = {}, _extends2[constants.FOCUS_DISABLED] = disabled && 'disabled', _extends2[constants.FOCUS_GROUP] = group, _extends2), containerProps);\n  var hasLeadingGuards = noFocusGuards !== true;\n  var hasTailingGuards = hasLeadingGuards && noFocusGuards !== 'tail';\n  var mergedRef = useMergeRefs([parentRef, setObserveNode]);\n  var focusScopeValue = React.useMemo(function () {\n    return {\n      observed: observed,\n      shards: shards,\n      enabled: !disabled,\n      active: isActive.current\n    };\n  }, [disabled, isActive.current, shards, realObserved]);\n  return /*#__PURE__*/React.createElement(React.Fragment, null, hasLeadingGuards && [/*#__PURE__*/\n  React.createElement(\"div\", {\n    key: \"guard-first\",\n    \"data-focus-guard\": true,\n    tabIndex: disabled ? -1 : 0,\n    style: hiddenGuard\n  }), hasPositiveIndices ? /*#__PURE__*/React.createElement(\"div\", {\n    key: \"guard-nearest\",\n    \"data-focus-guard\": true,\n    tabIndex: disabled ? -1 : 1,\n    style: hiddenGuard\n  }) : null], !disabled && /*#__PURE__*/React.createElement(SideCar, {\n    id: id,\n    sideCar: mediumSidecar,\n    observed: realObserved,\n    disabled: disabled,\n    persistentFocus: persistentFocus,\n    crossFrame: crossFrame,\n    autoFocus: autoFocus,\n    whiteList: whiteList,\n    shards: shards,\n    onActivation: onActivation,\n    onDeactivation: onDeactivation,\n    returnFocus: returnFocus,\n    focusOptions: focusOptions\n  }), /*#__PURE__*/React.createElement(Container, _extends({\n    ref: mergedRef\n  }, lockProps, {\n    className: className,\n    onBlur: onBlur,\n    onFocus: onFocus\n  }), /*#__PURE__*/React.createElement(focusScope.Provider, {\n    value: focusScopeValue\n  }, children)), hasTailingGuards && /*#__PURE__*/React.createElement(\"div\", {\n    \"data-focus-guard\": true,\n    tabIndex: disabled ? -1 : 0,\n    style: hiddenGuard\n  }));\n});\nFocusLock.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  children: node,\n  disabled: bool,\n  returnFocus: oneOfType([bool, object, func]),\n  focusOptions: object,\n  noFocusGuards: bool,\n  hasPositiveIndices: bool,\n  allowTextSelection: bool,\n  autoFocus: bool,\n  persistentFocus: bool,\n  crossFrame: bool,\n  group: string,\n  className: string,\n  whiteList: func,\n  shards: arrayOf(any),\n  as: oneOfType([string, func, object]),\n  lockProps: object,\n  onActivation: func,\n  onDeactivation: func,\n  sideCar: any.isRequired\n} : {};\nexport default FocusLock;","/**\n * defines a focus group\n */\nexport var FOCUS_GROUP = 'data-focus-lock';\n/**\n * disables element discovery inside a group marked by key\n */\nexport var FOCUS_DISABLED = 'data-focus-lock-disabled';\n/**\n * allows uncontrolled focus within the marked area, effectively disabling focus lock for it's content\n */\nexport var FOCUS_ALLOW = 'data-no-focus-lock';\n/**\n * instructs autofocus engine to pick default autofocus inside a given node\n * can be set on the element or container\n */\nexport var FOCUS_AUTO = 'data-autofocus-inside';\n/**\n * instructs autofocus to ignore elements within a given node\n * can be set on the element or container\n */\nexport var FOCUS_NO_AUTOFOCUS = 'data-no-autofocus';","import _inheritsLoose from '@babel/runtime/helpers/esm/inheritsLoose';\nimport _defineProperty from '@babel/runtime/helpers/esm/defineProperty';\nimport React, { PureComponent } from 'react';\nfunction withSideEffect(reducePropsToState, handleStateChangeOnClient) {\n  if (process.env.NODE_ENV !== \"production\") {\n    if (typeof reducePropsToState !== 'function') {\n      throw new Error('Expected reducePropsToState to be a function.');\n    }\n    if (typeof handleStateChangeOnClient !== 'function') {\n      throw new Error('Expected handleStateChangeOnClient to be a function.');\n    }\n  }\n  function getDisplayName(WrappedComponent) {\n    return WrappedComponent.displayName || WrappedComponent.name || 'Component';\n  }\n  return function wrap(WrappedComponent) {\n    if (process.env.NODE_ENV !== \"production\") {\n      if (typeof WrappedComponent !== 'function') {\n        throw new Error('Expected WrappedComponent to be a React component.');\n      }\n    }\n    var mountedInstances = [];\n    var state;\n    function emitChange() {\n      state = reducePropsToState(mountedInstances.map(function (instance) {\n        return instance.props;\n      }));\n      handleStateChangeOnClient(state);\n    }\n    var SideEffect = /*#__PURE__*/function (_PureComponent) {\n      _inheritsLoose(SideEffect, _PureComponent);\n      function SideEffect() {\n        return _PureComponent.apply(this, arguments) || this;\n      }\n\n      // Try to use displayName of wrapped component\n      SideEffect.peek = function peek() {\n        return state;\n      };\n      var _proto = SideEffect.prototype;\n      _proto.componentDidMount = function componentDidMount() {\n        mountedInstances.push(this);\n        emitChange();\n      };\n      _proto.componentDidUpdate = function componentDidUpdate() {\n        emitChange();\n      };\n      _proto.componentWillUnmount = function componentWillUnmount() {\n        var index = mountedInstances.indexOf(this);\n        mountedInstances.splice(index, 1);\n        emitChange();\n      };\n      _proto.render = function render() {\n        return /*#__PURE__*/React.createElement(WrappedComponent, this.props);\n      };\n      return SideEffect;\n    }(PureComponent);\n    _defineProperty(SideEffect, \"displayName\", \"SideEffect(\" + getDisplayName(WrappedComponent) + \")\");\n    return SideEffect;\n  };\n}\nexport default withSideEffect;","/*\nIE11 support\n */\nexport var toArray = function toArray(a) {\n  var ret = Array(a.length);\n  for (var i = 0; i < a.length; ++i) {\n    ret[i] = a[i];\n  }\n  return ret;\n};\nexport var asArray = function asArray(a) {\n  return Array.isArray(a) ? a : [a];\n};\nexport var getFirst = function getFirst(a) {\n  return Array.isArray(a) ? a[0] : a;\n};","import { FOCUS_NO_AUTOFOCUS } from '../constants';\nvar isElementHidden = function isElementHidden(node) {\n  // we can measure only \"elements\"\n  // consider others as \"visible\"\n  if (node.nodeType !== Node.ELEMENT_NODE) {\n    return false;\n  }\n  var computedStyle = window.getComputedStyle(node, null);\n  if (!computedStyle || !computedStyle.getPropertyValue) {\n    return false;\n  }\n  return computedStyle.getPropertyValue('display') === 'none' || computedStyle.getPropertyValue('visibility') === 'hidden';\n};\nvar getParentNode = function getParentNode(node) {\n  // DOCUMENT_FRAGMENT_NODE can also point on ShadowRoot. In this case .host will point on the next node\n  return node.parentNode && node.parentNode.nodeType === Node.DOCUMENT_FRAGMENT_NODE ?\n  // eslint-disable-next-line @typescript-eslint/no-explicit-any\n  node.parentNode.host : node.parentNode;\n};\nvar isTopNode = function isTopNode(node) {\n  // @ts-ignore\n  return node === document || node && node.nodeType === Node.DOCUMENT_NODE;\n};\nvar isInert = function isInert(node) {\n  return node.hasAttribute('inert');\n};\n/**\n * @see https://github.com/testing-library/jest-dom/blob/main/src/to-be-visible.js\n */\nvar isVisibleUncached = function isVisibleUncached(node, checkParent) {\n  return !node || isTopNode(node) || !isElementHidden(node) && !isInert(node) && checkParent(getParentNode(node));\n};\nexport var isVisibleCached = function isVisibleCached(visibilityCache, node) {\n  var cached = visibilityCache.get(node);\n  if (cached !== undefined) {\n    return cached;\n  }\n  var result = isVisibleUncached(node, isVisibleCached.bind(undefined, visibilityCache));\n  visibilityCache.set(node, result);\n  return result;\n};\nvar isAutoFocusAllowedUncached = function isAutoFocusAllowedUncached(node, checkParent) {\n  return node && !isTopNode(node) ? isAutoFocusAllowed(node) ? checkParent(getParentNode(node)) : false : true;\n};\nexport var isAutoFocusAllowedCached = function isAutoFocusAllowedCached(cache, node) {\n  var cached = cache.get(node);\n  if (cached !== undefined) {\n    return cached;\n  }\n  var result = isAutoFocusAllowedUncached(node, isAutoFocusAllowedCached.bind(undefined, cache));\n  cache.set(node, result);\n  return result;\n};\nexport var getDataset = function getDataset(node) {\n  // @ts-ignore\n  return node.dataset;\n};\nexport var isHTMLButtonElement = function isHTMLButtonElement(node) {\n  return node.tagName === 'BUTTON';\n};\nexport var isHTMLInputElement = function isHTMLInputElement(node) {\n  return node.tagName === 'INPUT';\n};\nexport var isRadioElement = function isRadioElement(node) {\n  return isHTMLInputElement(node) && node.type === 'radio';\n};\nexport var notHiddenInput = function notHiddenInput(node) {\n  return !((isHTMLInputElement(node) || isHTMLButtonElement(node)) && (node.type === 'hidden' || node.disabled));\n};\nexport var isAutoFocusAllowed = function isAutoFocusAllowed(node) {\n  var attribute = node.getAttribute(FOCUS_NO_AUTOFOCUS);\n  return ![true, 'true', ''].includes(attribute);\n};\nexport var isGuard = function isGuard(node) {\n  var _a;\n  return Boolean(node && ((_a = getDataset(node)) === null || _a === void 0 ? void 0 : _a.focusGuard));\n};\nexport var isNotAGuard = function isNotAGuard(node) {\n  return !isGuard(node);\n};\nexport var isDefined = function isDefined(x) {\n  return Boolean(x);\n};","import { toArray } from './array';\nexport var tabSort = function tabSort(a, b) {\n  var aTab = Math.max(0, a.tabIndex);\n  var bTab = Math.max(0, b.tabIndex);\n  var tabDiff = aTab - bTab;\n  var indexDiff = a.index - b.index;\n  if (tabDiff) {\n    if (!aTab) {\n      return 1;\n    }\n    if (!bTab) {\n      return -1;\n    }\n  }\n  return tabDiff || indexDiff;\n};\nvar getTabIndex = function getTabIndex(node) {\n  if (node.tabIndex < 0) {\n    // all \"focusable\" elements are already preselected\n    // but some might have implicit negative tabIndex\n    // return 0 for <audio without tabIndex attribute - it is \"tabbable\"\n    if (!node.hasAttribute('tabindex')) {\n      return 0;\n    }\n  }\n  return node.tabIndex;\n};\nexport var orderByTabIndex = function orderByTabIndex(nodes, filterNegative, keepGuards) {\n  return toArray(nodes).map(function (node, index) {\n    var tabIndex = getTabIndex(node);\n    return {\n      node: node,\n      index: index,\n      tabIndex: keepGuards && tabIndex === -1 ? (node.dataset || {}).focusGuard ? 0 : -1 : tabIndex\n    };\n  }).filter(function (data) {\n    return !filterNegative || data.tabIndex >= 0;\n  }).sort(tabSort);\n};","import { FOCUS_AUTO } from '../constants';\nimport { toArray } from './array';\nimport { tabbables } from './tabbables';\nvar queryTabbables = tabbables.join(',');\nvar queryGuardTabbables = \"\".concat(queryTabbables, \", [data-focus-guard]\");\nvar getFocusablesWithShadowDom = function getFocusablesWithShadowDom(parent, withGuards) {\n  return toArray((parent.shadowRoot || parent).children).reduce(function (acc, child) {\n    return acc.concat(child.matches(withGuards ? queryGuardTabbables : queryTabbables) ? [child] : [], getFocusablesWithShadowDom(child));\n  }, []);\n};\nvar getFocusablesWithIFrame = function getFocusablesWithIFrame(parent, withGuards) {\n  var _a;\n  // contentDocument of iframe will be null if current origin cannot access it\n  if (parent instanceof HTMLIFrameElement && ((_a = parent.contentDocument) === null || _a === void 0 ? void 0 : _a.body)) {\n    return getFocusables([parent.contentDocument.body], withGuards);\n  }\n  return [parent];\n};\nexport var getFocusables = function getFocusables(parents, withGuards) {\n  return parents.reduce(function (acc, parent) {\n    var _a;\n    var focusableWithShadowDom = getFocusablesWithShadowDom(parent, withGuards);\n    var focusableWithIframes = (_a = []).concat.apply(_a, focusableWithShadowDom.map(function (node) {\n      return getFocusablesWithIFrame(node, withGuards);\n    }));\n    return acc.concat(\n    // add all tabbables inside and within shadow DOMs in DOM order\n    focusableWithIframes,\n    // add if node is tabbable itself\n    parent.parentNode ? toArray(parent.parentNode.querySelectorAll(queryTabbables)).filter(function (node) {\n      return node === parent;\n    }) : []);\n  }, []);\n};\n/**\n * return a list of focusable nodes within an area marked as \"auto-focusable\"\n * @param parent\n */\nexport var getParentAutofocusables = function getParentAutofocusables(parent) {\n  var parentFocus = parent.querySelectorAll(\"[\".concat(FOCUS_AUTO, \"]\"));\n  return toArray(parentFocus).map(function (node) {\n    return getFocusables([node]);\n  }).reduce(function (acc, nodes) {\n    return acc.concat(nodes);\n  }, []);\n};","/**\n * list of the object to be considered as focusable\n */\nexport var tabbables = ['button:enabled', 'select:enabled', 'textarea:enabled', 'input:enabled',\n// elements with explicit roles will also use explicit tabindex\n// '[role=\"button\"]',\n'a[href]', 'area[href]', 'summary', 'iframe', 'object', 'embed', 'audio[controls]', 'video[controls]', '[tabindex]', '[contenteditable]', '[autofocus]'];","import { toArray } from './array';\nimport { isAutoFocusAllowedCached, isVisibleCached, notHiddenInput } from './is';\nimport { orderByTabIndex } from './tabOrder';\nimport { getFocusables, getParentAutofocusables } from './tabUtils';\n/**\n * given list of focusable elements keeps the ones user can interact with\n * @param nodes\n * @param visibilityCache\n */\nexport var filterFocusable = function filterFocusable(nodes, visibilityCache) {\n  return toArray(nodes).filter(function (node) {\n    return isVisibleCached(visibilityCache, node);\n  }).filter(function (node) {\n    return notHiddenInput(node);\n  });\n};\nexport var filterAutoFocusable = function filterAutoFocusable(nodes, cache) {\n  if (cache === void 0) {\n    cache = new Map();\n  }\n  return toArray(nodes).filter(function (node) {\n    return isAutoFocusAllowedCached(cache, node);\n  });\n};\n/**\n * !__WARNING__! Low level API.\n * @returns all tabbable nodes\n *\n * @see {@link getFocusableNodes} to get any focusable element\n *\n * @param topNodes - array of top level HTMLElements to search inside\n * @param visibilityCache - an cache to store intermediate measurements. Expected to be a fresh `new Map` on every call\n */\nexport var getTabbableNodes = function getTabbableNodes(topNodes, visibilityCache, withGuards) {\n  return orderByTabIndex(filterFocusable(getFocusables(topNodes, withGuards), visibilityCache), true, withGuards);\n};\n/**\n * !__WARNING__! Low level API.\n *\n * @returns anything \"focusable\", not only tabbable. The difference is in `tabIndex=-1`\n * (without guards, as long as they are not expected to be ever focused)\n *\n * @see {@link getTabbableNodes} to get only tabble nodes element\n *\n * @param topNodes - array of top level HTMLElements to search inside\n * @param visibilityCache - an cache to store intermediate measurements. Expected to be a fresh `new Map` on every call\n */\nexport var getFocusableNodes = function getFocusableNodes(topNodes, visibilityCache) {\n  return orderByTabIndex(filterFocusable(getFocusables(topNodes), visibilityCache), false);\n};\n/**\n * return list of nodes which are expected to be auto-focused\n * @param topNode\n * @param visibilityCache\n */\nexport var parentAutofocusables = function parentAutofocusables(topNode, visibilityCache) {\n  return filterFocusable(getParentAutofocusables(topNode), visibilityCache);\n};\n/*\n * Determines if element is contained in scope, including nested shadow DOMs\n */\nexport var contains = function contains(scope, element) {\n  if (scope.shadowRoot) {\n    return contains(scope.shadowRoot, element);\n  } else {\n    if (Object.getPrototypeOf(scope).contains !== undefined && Object.getPrototypeOf(scope).contains.call(scope, element)) {\n      return true;\n    }\n    return toArray(scope.children).some(function (child) {\n      var _a;\n      if (child instanceof HTMLIFrameElement) {\n        var iframeBody = (_a = child.contentDocument) === null || _a === void 0 ? void 0 : _a.body;\n        if (iframeBody) {\n          return contains(iframeBody, element);\n        }\n        return false;\n      }\n      return contains(child, element);\n    });\n  }\n};","/**\n * returns active element from document or from nested shadowdoms\n */\nimport { safeProbe } from './safe';\n/**\n * returns current active element. If the active element is a \"container\" itself(shadowRoot or iframe) returns active element inside it\n * @param [inDocument]\n */\nexport var getActiveElement = function getActiveElement(inDocument) {\n  if (inDocument === void 0) {\n    inDocument = document;\n  }\n  if (!inDocument || !inDocument.activeElement) {\n    return undefined;\n  }\n  var activeElement = inDocument.activeElement;\n  return activeElement.shadowRoot ? getActiveElement(activeElement.shadowRoot) : activeElement instanceof HTMLIFrameElement && safeProbe(function () {\n    return activeElement.contentWindow.document;\n  }) ? getActiveElement(activeElement.contentWindow.document) : activeElement;\n};","export var safeProbe = function safeProbe(cb) {\n  try {\n    return cb();\n  } catch (e) {\n    return undefined;\n  }\n};","import { FOCUS_DISABLED, FOCUS_GROUP } from '../constants';\nimport { asArray, toArray } from './array';\n/**\n * in case of multiple nodes nested inside each other\n * keeps only top ones\n * this is O(nlogn)\n * @param nodes\n * @returns {*}\n */\nvar filterNested = function filterNested(nodes) {\n  var contained = new Set();\n  var l = nodes.length;\n  for (var i = 0; i < l; i += 1) {\n    for (var j = i + 1; j < l; j += 1) {\n      var position = nodes[i].compareDocumentPosition(nodes[j]);\n      /* eslint-disable no-bitwise */\n      if ((position & Node.DOCUMENT_POSITION_CONTAINED_BY) > 0) {\n        contained.add(j);\n      }\n      if ((position & Node.DOCUMENT_POSITION_CONTAINS) > 0) {\n        contained.add(i);\n      }\n      /* eslint-enable */\n    }\n  }\n  return nodes.filter(function (_, index) {\n    return !contained.has(index);\n  });\n};\n/**\n * finds top most parent for a node\n * @param node\n * @returns {*}\n */\nvar getTopParent = function getTopParent(node) {\n  return node.parentNode ? getTopParent(node.parentNode) : node;\n};\n/**\n * returns all \"focus containers\" inside a given node\n * @param node - node or nodes to look inside\n * @returns Element[]\n */\nexport var getAllAffectedNodes = function getAllAffectedNodes(node) {\n  var nodes = asArray(node);\n  return nodes.filter(Boolean).reduce(function (acc, currentNode) {\n    var group = currentNode.getAttribute(FOCUS_GROUP);\n    acc.push.apply(acc, group ? filterNested(toArray(getTopParent(currentNode).querySelectorAll(\"[\".concat(FOCUS_GROUP, \"=\\\"\").concat(group, \"\\\"]:not([\").concat(FOCUS_DISABLED, \"=\\\"disabled\\\"])\")))) : [currentNode]);\n    return acc;\n  }, []);\n};","import { contains } from './utils/DOMutils';\nimport { getAllAffectedNodes } from './utils/all-affected';\nimport { getFirst, toArray } from './utils/array';\nimport { getActiveElement } from './utils/getActiveElement';\nvar focusInFrame = function focusInFrame(frame, activeElement) {\n  return frame === activeElement;\n};\nvar focusInsideIframe = function focusInsideIframe(topNode, activeElement) {\n  return Boolean(toArray(topNode.querySelectorAll('iframe')).some(function (node) {\n    return focusInFrame(node, activeElement);\n  }));\n};\n/**\n * @returns {Boolean} true, if the current focus is inside given node or nodes.\n * Supports nodes hidden inside shadowDom\n */\nexport var focusInside = function focusInside(topNode, activeElement) {\n  // const activeElement = document && getActiveElement();\n  if (activeElement === void 0) {\n    activeElement = getActiveElement(getFirst(topNode).ownerDocument);\n  }\n  if (!activeElement || activeElement.dataset && activeElement.dataset.focusGuard) {\n    return false;\n  }\n  return getAllAffectedNodes(topNode).some(function (node) {\n    return contains(node, activeElement) || focusInsideIframe(node, activeElement);\n  });\n};","export var focusOn = function focusOn(target, focusOptions) {\n  if (!target) {\n    // not clear how, but is possible https://github.com/theKashey/focus-lock/issues/53\n    return;\n  }\n  if ('focus' in target) {\n    target.focus(focusOptions);\n  }\n  if ('contentWindow' in target && target.contentWindow) {\n    target.contentWindow.focus();\n  }\n};","import { isRadioElement } from './is';\nvar findSelectedRadio = function findSelectedRadio(node, nodes) {\n  return nodes.filter(isRadioElement).filter(function (el) {\n    return el.name === node.name;\n  }).filter(function (el) {\n    return el.checked;\n  })[0] || node;\n};\nexport var correctNode = function correctNode(node, nodes) {\n  if (isRadioElement(node) && node.name) {\n    return findSelectedRadio(node, nodes);\n  }\n  return node;\n};\n/**\n * giving a set of radio inputs keeps only selected (tabbable) ones\n * @param nodes\n */\nexport var correctNodes = function correctNodes(nodes) {\n  // IE11 has no Set(array) constructor\n  var resultSet = new Set();\n  nodes.forEach(function (node) {\n    return resultSet.add(correctNode(node, nodes));\n  });\n  // using filter to support IE11\n  return nodes.filter(function (node) {\n    return resultSet.has(node);\n  });\n};","import { correctNode } from './correctFocus';\nexport var pickFirstFocus = function pickFirstFocus(nodes) {\n  if (nodes[0] && nodes.length > 1) {\n    return correctNode(nodes[0], nodes);\n  }\n  return nodes[0];\n};\nexport var pickFocusable = function pickFocusable(nodes, node) {\n  return nodes.indexOf(correctNode(node, nodes));\n};","import { correctNodes } from './utils/correctFocus';\nimport { pickFocusable } from './utils/firstFocus';\nimport { isGuard } from './utils/is';\nexport var NEW_FOCUS = 'NEW_FOCUS';\n/**\n * Main solver for the \"find next focus\" question\n * @param innerNodes - used to control \"return focus\"\n * @param innerTabbables - used to control \"autofocus\"\n * @param outerNodes\n * @param activeElement\n * @param lastNode\n * @returns {number|string|undefined|*}\n */\nexport var newFocus = function newFocus(innerNodes, innerTabbables, outerNodes, activeElement, lastNode) {\n  var cnt = innerNodes.length;\n  var firstFocus = innerNodes[0];\n  var lastFocus = innerNodes[cnt - 1];\n  var isOnGuard = isGuard(activeElement);\n  // focus is inside\n  if (activeElement && innerNodes.indexOf(activeElement) >= 0) {\n    return undefined;\n  }\n  var activeIndex = activeElement !== undefined ? outerNodes.indexOf(activeElement) : -1;\n  var lastIndex = lastNode ? outerNodes.indexOf(lastNode) : activeIndex;\n  var lastNodeInside = lastNode ? innerNodes.indexOf(lastNode) : -1;\n  // no active focus (or focus is on the body)\n  if (activeIndex === -1) {\n    // known fallback\n    if (lastNodeInside !== -1) {\n      return lastNodeInside;\n    }\n    return NEW_FOCUS;\n  }\n  // new focus, nothing to calculate\n  if (lastNodeInside === -1) {\n    return NEW_FOCUS;\n  }\n  var indexDiff = activeIndex - lastIndex;\n  var firstNodeIndex = outerNodes.indexOf(firstFocus);\n  var lastNodeIndex = outerNodes.indexOf(lastFocus);\n  var correctedNodes = correctNodes(outerNodes);\n  var correctedIndex = activeElement !== undefined ? correctedNodes.indexOf(activeElement) : -1;\n  var correctedIndexDiff = correctedIndex - (lastNode ? correctedNodes.indexOf(lastNode) : activeIndex);\n  // old focus\n  if (!indexDiff && lastNodeInside >= 0) {\n    return lastNodeInside;\n  }\n  // no tabbable elements, autofocus is not possible\n  if (innerTabbables.length === 0) {\n    // an edge case with no tabbable elements\n    // return the last focusable one\n    // with some probability this will prevent focus from cycling across the lock, but there is no tabbale elements to cycle to\n    return lastNodeInside;\n  }\n  var returnFirstNode = pickFocusable(innerNodes, innerTabbables[0]);\n  var returnLastNode = pickFocusable(innerNodes, innerTabbables[innerTabbables.length - 1]);\n  // first element\n  if (activeIndex <= firstNodeIndex && isOnGuard && Math.abs(indexDiff) > 1) {\n    return returnLastNode;\n  }\n  // last element\n  if (activeIndex >= lastNodeIndex && isOnGuard && Math.abs(indexDiff) > 1) {\n    return returnFirstNode;\n  }\n  // jump out, but not on the guard\n  if (indexDiff && Math.abs(correctedIndexDiff) > 1) {\n    return lastNodeInside;\n  }\n  // focus above lock\n  if (activeIndex <= firstNodeIndex) {\n    return returnLastNode;\n  }\n  // focus below lock\n  if (activeIndex > lastNodeIndex) {\n    return returnFirstNode;\n  }\n  // index is inside tab order, but outside Lock\n  if (indexDiff) {\n    if (Math.abs(indexDiff) > 1) {\n      return lastNodeInside;\n    }\n    return (cnt + lastNodeInside + indexDiff) % cnt;\n  }\n  // do nothing\n  return undefined;\n};","import { filterAutoFocusable } from './DOMutils';\nimport { pickFirstFocus } from './firstFocus';\nimport { getDataset } from './is';\nvar findAutoFocused = function findAutoFocused(autoFocusables) {\n  return function (node) {\n    var _a;\n    var autofocus = (_a = getDataset(node)) === null || _a === void 0 ? void 0 : _a.autofocus;\n    return (\n      // @ts-expect-error\n      node.autofocus ||\n      //\n      autofocus !== undefined && autofocus !== 'false' ||\n      //\n      autoFocusables.indexOf(node) >= 0\n    );\n  };\n};\nexport var pickAutofocus = function pickAutofocus(nodesIndexes, orderedNodes, groups) {\n  var nodes = nodesIndexes.map(function (_a) {\n    var node = _a.node;\n    return node;\n  });\n  var autoFocusable = filterAutoFocusable(nodes.filter(findAutoFocused(groups)));\n  if (autoFocusable && autoFocusable.length) {\n    return pickFirstFocus(autoFocusable);\n  }\n  return pickFirstFocus(filterAutoFocusable(orderedNodes));\n};","import { parentAutofocusables } from './DOMutils';\nimport { contains } from './DOMutils';\nimport { asArray } from './array';\nvar getParents = function getParents(node, parents) {\n  if (parents === void 0) {\n    parents = [];\n  }\n  parents.push(node);\n  if (node.parentNode) {\n    getParents(node.parentNode.host || node.parentNode, parents);\n  }\n  return parents;\n};\n/**\n * finds a parent for both nodeA and nodeB\n * @param nodeA\n * @param nodeB\n * @returns {boolean|*}\n */\nexport var getCommonParent = function getCommonParent(nodeA, nodeB) {\n  var parentsA = getParents(nodeA);\n  var parentsB = getParents(nodeB);\n  // tslint:disable-next-line:prefer-for-of\n  for (var i = 0; i < parentsA.length; i += 1) {\n    var currentParent = parentsA[i];\n    if (parentsB.indexOf(currentParent) >= 0) {\n      return currentParent;\n    }\n  }\n  return false;\n};\nexport var getTopCommonParent = function getTopCommonParent(baseActiveElement, leftEntry, rightEntries) {\n  var activeElements = asArray(baseActiveElement);\n  var leftEntries = asArray(leftEntry);\n  var activeElement = activeElements[0];\n  var topCommon = false;\n  leftEntries.filter(Boolean).forEach(function (entry) {\n    topCommon = getCommonParent(topCommon || entry, entry) || topCommon;\n    rightEntries.filter(Boolean).forEach(function (subEntry) {\n      var common = getCommonParent(activeElement, subEntry);\n      if (common) {\n        if (!topCommon || contains(common, topCommon)) {\n          topCommon = common;\n        } else {\n          topCommon = getCommonParent(common, topCommon);\n        }\n      }\n    });\n  });\n  // TODO: add assert here?\n  return topCommon;\n};\n/**\n * return list of nodes which are expected to be autofocused inside a given top nodes\n * @param entries\n * @param visibilityCache\n */\nexport var allParentAutofocusables = function allParentAutofocusables(entries, visibilityCache) {\n  return entries.reduce(function (acc, node) {\n    return acc.concat(parentAutofocusables(node, visibilityCache));\n  }, []);\n};","import { NEW_FOCUS, newFocus } from './solver';\nimport { getFocusableNodes } from './utils/DOMutils';\nimport { getAllAffectedNodes } from './utils/all-affected';\nimport { asArray, getFirst } from './utils/array';\nimport { pickAutofocus } from './utils/auto-focus';\nimport { getActiveElement } from './utils/getActiveElement';\nimport { isDefined, isNotAGuard } from './utils/is';\nimport { allParentAutofocusables, getTopCommonParent } from './utils/parenting';\nvar reorderNodes = function reorderNodes(srcNodes, dstNodes) {\n  var remap = new Map();\n  // no Set(dstNodes) for IE11 :(\n  dstNodes.forEach(function (entity) {\n    return remap.set(entity.node, entity);\n  });\n  // remap to dstNodes\n  return srcNodes.map(function (node) {\n    return remap.get(node);\n  }).filter(isDefined);\n};\n/**\n * contains the main logic of the `focus-lock` package.\n *\n * ! you probably dont need this function !\n *\n * given top node(s) and the last active element returns the element to be focused next\n * @returns element which should be focused to move focus inside\n * @param topNode\n * @param lastNode\n */\nexport var focusSolver = function focusSolver(topNode, lastNode) {\n  var activeElement = getActiveElement(asArray(topNode).length > 0 ? document : getFirst(topNode).ownerDocument);\n  var entries = getAllAffectedNodes(topNode).filter(isNotAGuard);\n  var commonParent = getTopCommonParent(activeElement || topNode, topNode, entries);\n  var visibilityCache = new Map();\n  var anyFocusable = getFocusableNodes(entries, visibilityCache);\n  var innerElements = anyFocusable.filter(function (_a) {\n    var node = _a.node;\n    return isNotAGuard(node);\n  });\n  if (!innerElements[0]) {\n    return undefined;\n  }\n  var outerNodes = getFocusableNodes([commonParent], visibilityCache).map(function (_a) {\n    var node = _a.node;\n    return node;\n  });\n  var orderedInnerElements = reorderNodes(outerNodes, innerElements);\n  // collect inner focusable and separately tabbables\n  var innerFocusables = orderedInnerElements.map(function (_a) {\n    var node = _a.node;\n    return node;\n  });\n  var innerTabbable = orderedInnerElements.filter(function (_a) {\n    var tabIndex = _a.tabIndex;\n    return tabIndex >= 0;\n  }).map(function (_a) {\n    var node = _a.node;\n    return node;\n  });\n  var newId = newFocus(innerFocusables, innerTabbable, outerNodes, activeElement, lastNode);\n  if (newId === NEW_FOCUS) {\n    var focusNode =\n    // first try only tabbable, and the fallback to all focusable, as long as at least one element should be picked for focus\n    pickAutofocus(anyFocusable, innerTabbable, allParentAutofocusables(entries, visibilityCache)) || pickAutofocus(anyFocusable, innerFocusables, allParentAutofocusables(entries, visibilityCache));\n    if (focusNode) {\n      return {\n        node: focusNode\n      };\n    } else {\n      console.warn('focus-lock: cannot find any node to move focus into');\n      return undefined;\n    }\n  }\n  if (newId === undefined) {\n    return newId;\n  }\n  return orderedInnerElements[newId];\n};","import { focusOn } from './commands';\nimport { focusSolver } from './focusSolver';\nvar guardCount = 0;\nvar lockDisabled = false;\n/**\n * The main functionality of the focus-lock package\n *\n * Contains focus at a given node.\n * The last focused element will help to determine which element(first or last) should be focused.\n * The found element will be focused.\n *\n * This is one time action (move), not a persistent focus-lock\n *\n * HTML markers (see {@link import('./constants').FOCUS_AUTO} constants) can control autofocus\n * @see {@link focusSolver} for the same functionality without autofocus\n */\nexport var moveFocusInside = function moveFocusInside(topNode, lastNode, options) {\n  if (options === void 0) {\n    options = {};\n  }\n  var focusable = focusSolver(topNode, lastNode);\n  // global local side effect to countain recursive lock activation and resolve focus-fighting\n  if (lockDisabled) {\n    return;\n  }\n  if (focusable) {\n    /** +FOCUS-FIGHTING prevention **/\n    if (guardCount > 2) {\n      // we have recursive entered back the lock activation\n      console.error('FocusLock: focus-fighting detected. Only one focus management system could be active. ' + 'See https://github.com/theKashey/focus-lock/#focus-fighting');\n      lockDisabled = true;\n      setTimeout(function () {\n        lockDisabled = false;\n      }, 1);\n      return;\n    }\n    guardCount++;\n    focusOn(focusable.node, options.focusOptions);\n    guardCount--;\n  }\n};","import { focusOn } from './commands';\nimport { getTabbableNodes, contains, getFocusableNodes } from './utils/DOMutils';\nimport { asArray } from './utils/array';\n/**\n * for a given `element` in a given `scope` returns focusable siblings\n * @param element - base element\n * @param scope - common parent. Can be document, but better to narrow it down for performance reasons\n * @returns {prev,next} - references to a focusable element before and after\n * @returns undefined - if operation is not applicable\n */\nexport var getRelativeFocusable = function getRelativeFocusable(element, scope, useTabbables) {\n  if (!element || !scope) {\n    console.error('no element or scope given');\n    return {};\n  }\n  var shards = asArray(scope);\n  if (shards.every(function (shard) {\n    return !contains(shard, element);\n  })) {\n    console.error('Active element is not contained in the scope');\n    return {};\n  }\n  var focusables = useTabbables ? getTabbableNodes(shards, new Map()) : getFocusableNodes(shards, new Map());\n  var current = focusables.findIndex(function (_a) {\n    var node = _a.node;\n    return node === element;\n  });\n  if (current === -1) {\n    // an edge case, when anchor element is not found\n    return undefined;\n  }\n  return {\n    prev: focusables[current - 1],\n    next: focusables[current + 1],\n    first: focusables[0],\n    last: focusables[focusables.length - 1]\n  };\n};\nvar getBoundary = function getBoundary(shards, useTabbables) {\n  var set = useTabbables ? getTabbableNodes(asArray(shards), new Map()) : getFocusableNodes(asArray(shards), new Map());\n  return {\n    first: set[0],\n    last: set[set.length - 1]\n  };\n};\nvar defaultOptions = function defaultOptions(options) {\n  return Object.assign({\n    scope: document.body,\n    cycle: true,\n    onlyTabbable: true\n  }, options);\n};\nvar moveFocus = function moveFocus(fromElement, options, cb) {\n  if (options === void 0) {\n    options = {};\n  }\n  var newOptions = defaultOptions(options);\n  var solution = getRelativeFocusable(fromElement, newOptions.scope, newOptions.onlyTabbable);\n  if (!solution) {\n    return;\n  }\n  var target = cb(solution, newOptions.cycle);\n  if (target) {\n    focusOn(target.node, newOptions.focusOptions);\n  }\n};\n/**\n * focuses next element in the tab-order\n * @param fromElement - common parent to scope active element search or tab cycle order\n * @param {FocusNextOptions} [options] - focus options\n */\nexport var focusNextElement = function focusNextElement(fromElement, options) {\n  if (options === void 0) {\n    options = {};\n  }\n  moveFocus(fromElement, options, function (_a, cycle) {\n    var next = _a.next,\n      first = _a.first;\n    return next || cycle && first;\n  });\n};\n/**\n * focuses prev element in the tab order\n * @param fromElement - common parent to scope active element search or tab cycle order\n * @param {FocusNextOptions} [options] - focus options\n */\nexport var focusPrevElement = function focusPrevElement(fromElement, options) {\n  if (options === void 0) {\n    options = {};\n  }\n  moveFocus(fromElement, options, function (_a, cycle) {\n    var prev = _a.prev,\n      last = _a.last;\n    return prev || cycle && last;\n  });\n};\nvar pickBoundary = function pickBoundary(scope, options, what) {\n  var _a;\n  var boundary = getBoundary(scope, (_a = options.onlyTabbable) !== null && _a !== void 0 ? _a : true);\n  var node = boundary[what];\n  if (node) {\n    focusOn(node.node, options.focusOptions);\n  }\n};\n/**\n * focuses first element in the tab-order\n * @param {FocusNextOptions} options - focus options\n */\nexport var focusFirstElement = function focusFirstElement(scope, options) {\n  if (options === void 0) {\n    options = {};\n  }\n  pickBoundary(scope, options, 'first');\n};\n/**\n * focuses last element in the tab order\n * @param {FocusNextOptions} options - focus options\n */\nexport var focusLastElement = function focusLastElement(scope, options) {\n  if (options === void 0) {\n    options = {};\n  }\n  pickBoundary(scope, options, 'last');\n};","import { getTabbableNodes } from './utils/DOMutils';\nfunction weakRef(value) {\n  if (!value) return null;\n  var w = value ? new WeakRef(value) : null;\n  return function () {\n    return (w === null || w === void 0 ? void 0 : w.deref()) || null;\n  };\n}\nexport var recordElementLocation = function recordElementLocation(element) {\n  if (!element) {\n    return null;\n  }\n  var stack = [];\n  var currentElement = element;\n  while (currentElement && currentElement !== document.body) {\n    stack.push({\n      current: weakRef(currentElement),\n      parent: weakRef(currentElement.parentElement),\n      left: weakRef(currentElement.previousElementSibling),\n      right: weakRef(currentElement.nextElementSibling)\n    });\n    currentElement = currentElement.parentElement;\n  }\n  return {\n    element: weakRef(element),\n    stack: stack,\n    ownerDocument: element.ownerDocument\n  };\n};\nvar restoreFocusTo = function restoreFocusTo(location) {\n  var _a, _b, _c, _d, _e;\n  if (!location) {\n    return undefined;\n  }\n  var stack = location.stack,\n    ownerDocument = location.ownerDocument;\n  var visibilityCache = new Map();\n  for (var _i = 0, stack_1 = stack; _i < stack_1.length; _i++) {\n    var line = stack_1[_i];\n    var parent_1 = (_a = line.parent) === null || _a === void 0 ? void 0 : _a.call(line);\n    // is it still here?\n    if (parent_1 && ownerDocument.contains(parent_1)) {\n      var left = (_b = line.left) === null || _b === void 0 ? void 0 : _b.call(line);\n      var savedCurrent = line.current();\n      var current = parent_1.contains(savedCurrent) ? savedCurrent : undefined;\n      var right = (_c = line.right) === null || _c === void 0 ? void 0 : _c.call(line);\n      var focusables = getTabbableNodes([parent_1], visibilityCache);\n      var aim =\n      // that is element itself\n      (_e = (_d = current !== null && current !== void 0 ? current :\n      // or something in it's place\n      left === null || left === void 0 ? void 0 : left.nextElementSibling) !== null && _d !== void 0 ? _d :\n      // or somebody to the right, still close enough\n      right) !== null && _e !== void 0 ? _e :\n      // or somebody to the left, something?\n      left;\n      while (aim) {\n        for (var _f = 0, focusables_1 = focusables; _f < focusables_1.length; _f++) {\n          var focusable = focusables_1[_f];\n          if (aim === null || aim === void 0 ? void 0 : aim.contains(focusable.node)) {\n            return focusable.node;\n          }\n        }\n        aim = aim.nextElementSibling;\n      }\n      if (focusables.length) {\n        // if parent contains a focusable - move there\n        return focusables[0].node;\n      }\n    }\n  }\n  // nothing matched\n  return undefined;\n};\n/**\n * Captures the current focused element to restore focus as close as possible in the future\n * Handles situations where the focused element is removed from the DOM or no longer focusable\n * moving focus to the closest focusable element\n * @param targetElement - element where focus should be restored\n * @returns a function returning a new element to focus\n */\nexport var captureFocusRestore = function captureFocusRestore(targetElement) {\n  var location = recordElementLocation(targetElement);\n  return function () {\n    return restoreFocusTo(location);\n  };\n};","export function deferAction(action) {\n  setTimeout(action, 1);\n}\nexport var inlineProp = function inlineProp(name, value) {\n  var obj = {};\n  obj[name] = value;\n  return obj;\n};\nexport var extractRef = function extractRef(ref) {\n  return ref && 'current' in ref ? ref.current : ref;\n};","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport withSideEffect from 'react-clientside-effect';\nimport { moveFocusInside, focusInside, focusIsHidden, expandFocusableNodes, focusNextElement, focusPrevElement, focusFirstElement, focusLastElement, captureFocusRestore } from 'focus-lock';\nimport { deferAction, extractRef } from './util';\nimport { mediumFocus, mediumBlur, mediumEffect } from './medium';\nvar focusOnBody = function focusOnBody() {\n  return document && document.activeElement === document.body;\n};\nvar isFreeFocus = function isFreeFocus() {\n  return focusOnBody() || focusIsHidden();\n};\nvar lastActiveTrap = null;\nvar lastActiveFocus = null;\nvar lastPortaledElement = null;\nvar focusWasOutsideWindow = false;\nvar defaultWhitelist = function defaultWhitelist() {\n  return true;\n};\nvar focusWhitelisted = function focusWhitelisted(activeElement) {\n  return (lastActiveTrap.whiteList || defaultWhitelist)(activeElement);\n};\nvar recordPortal = function recordPortal(observerNode, portaledElement) {\n  lastPortaledElement = {\n    observerNode: observerNode,\n    portaledElement: portaledElement\n  };\n};\nvar focusIsPortaledPair = function focusIsPortaledPair(element) {\n  return lastPortaledElement && lastPortaledElement.portaledElement === element;\n};\nfunction autoGuard(startIndex, end, step, allNodes) {\n  var lastGuard = null;\n  var i = startIndex;\n  do {\n    var item = allNodes[i];\n    if (item.guard) {\n      if (item.node.dataset.focusAutoGuard) {\n        lastGuard = item;\n      }\n    } else if (item.lockItem) {\n      if (i !== startIndex) {\n        return;\n      }\n      lastGuard = null;\n    } else {\n      break;\n    }\n  } while ((i += step) !== end);\n  if (lastGuard) {\n    lastGuard.node.tabIndex = 0;\n  }\n}\nvar focusWasOutside = function focusWasOutside(crossFrameOption) {\n  if (crossFrameOption) {\n    return Boolean(focusWasOutsideWindow);\n  }\n  return focusWasOutsideWindow === 'meanwhile';\n};\nvar checkInHost = function checkInHost(check, el, boundary) {\n  return el && (el.host === check && (!el.activeElement || boundary.contains(el.activeElement)) || el.parentNode && checkInHost(check, el.parentNode, boundary));\n};\nvar withinHost = function withinHost(activeElement, workingArea) {\n  return workingArea.some(function (area) {\n    return checkInHost(activeElement, area, area);\n  });\n};\nvar activateTrap = function activateTrap() {\n  var result = false;\n  if (lastActiveTrap) {\n    var _lastActiveTrap = lastActiveTrap,\n      observed = _lastActiveTrap.observed,\n      persistentFocus = _lastActiveTrap.persistentFocus,\n      autoFocus = _lastActiveTrap.autoFocus,\n      shards = _lastActiveTrap.shards,\n      crossFrame = _lastActiveTrap.crossFrame,\n      focusOptions = _lastActiveTrap.focusOptions;\n    var workingNode = observed || lastPortaledElement && lastPortaledElement.portaledElement;\n    var activeElement = document && document.activeElement;\n    if (workingNode) {\n      var workingArea = [workingNode].concat(shards.map(extractRef).filter(Boolean));\n      if (!activeElement || focusWhitelisted(activeElement)) {\n        if (persistentFocus || focusWasOutside(crossFrame) || !isFreeFocus() || !lastActiveFocus && autoFocus) {\n          if (workingNode && !(focusInside(workingArea) || activeElement && withinHost(activeElement, workingArea) || focusIsPortaledPair(activeElement, workingNode))) {\n            if (document && !lastActiveFocus && activeElement && !autoFocus) {\n              if (activeElement.blur) {\n                activeElement.blur();\n              }\n              document.body.focus();\n            } else {\n              result = moveFocusInside(workingArea, lastActiveFocus, {\n                focusOptions: focusOptions\n              });\n              lastPortaledElement = {};\n            }\n          }\n          focusWasOutsideWindow = false;\n          lastActiveFocus = document && document.activeElement;\n        }\n      }\n      if (document && activeElement !== document.activeElement && document.querySelector('[data-focus-auto-guard]')) {\n        var newActiveElement = document && document.activeElement;\n        var allNodes = expandFocusableNodes(workingArea);\n        var focusedIndex = allNodes.map(function (_ref) {\n          var node = _ref.node;\n          return node;\n        }).indexOf(newActiveElement);\n        if (focusedIndex > -1) {\n          allNodes.filter(function (_ref2) {\n            var guard = _ref2.guard,\n              node = _ref2.node;\n            return guard && node.dataset.focusAutoGuard;\n          }).forEach(function (_ref3) {\n            var node = _ref3.node;\n            return node.removeAttribute('tabIndex');\n          });\n          autoGuard(focusedIndex, allNodes.length, +1, allNodes);\n          autoGuard(focusedIndex, -1, -1, allNodes);\n        }\n      }\n    }\n  }\n  return result;\n};\nvar onTrap = function onTrap(event) {\n  if (activateTrap() && event) {\n    event.stopPropagation();\n    event.preventDefault();\n  }\n};\nvar onBlur = function onBlur() {\n  return deferAction(activateTrap);\n};\nvar onFocus = function onFocus(event) {\n  var source = event.target;\n  var currentNode = event.currentTarget;\n  if (!currentNode.contains(source)) {\n    recordPortal(currentNode, source);\n  }\n};\nvar FocusWatcher = function FocusWatcher() {\n  return null;\n};\nvar FocusTrap = function FocusTrap(_ref4) {\n  var children = _ref4.children;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    onBlur: onBlur,\n    onFocus: onFocus\n  }, children);\n};\nFocusTrap.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  children: PropTypes.node.isRequired\n} : {};\nvar onWindowBlur = function onWindowBlur() {\n  focusWasOutsideWindow = 'just';\n  deferAction(function () {\n    focusWasOutsideWindow = 'meanwhile';\n  });\n};\nvar attachHandler = function attachHandler() {\n  document.addEventListener('focusin', onTrap);\n  document.addEventListener('focusout', onBlur);\n  window.addEventListener('blur', onWindowBlur);\n};\nvar detachHandler = function detachHandler() {\n  document.removeEventListener('focusin', onTrap);\n  document.removeEventListener('focusout', onBlur);\n  window.removeEventListener('blur', onWindowBlur);\n};\nfunction reducePropsToState(propsList) {\n  return propsList.filter(function (_ref5) {\n    var disabled = _ref5.disabled;\n    return !disabled;\n  });\n}\nvar focusLockAPI = {\n  moveFocusInside: moveFocusInside,\n  focusInside: focusInside,\n  focusNextElement: focusNextElement,\n  focusPrevElement: focusPrevElement,\n  focusFirstElement: focusFirstElement,\n  focusLastElement: focusLastElement,\n  captureFocusRestore: captureFocusRestore\n};\nfunction handleStateChangeOnClient(traps) {\n  var trap = traps.slice(-1)[0];\n  if (trap && !lastActiveTrap) {\n    attachHandler();\n  }\n  var lastTrap = lastActiveTrap;\n  var sameTrap = lastTrap && trap && trap.id === lastTrap.id;\n  lastActiveTrap = trap;\n  if (lastTrap && !sameTrap) {\n    lastTrap.onDeactivation();\n    if (!traps.filter(function (_ref6) {\n      var id = _ref6.id;\n      return id === lastTrap.id;\n    }).length) {\n      lastTrap.returnFocus(!trap);\n    }\n  }\n  if (trap) {\n    lastActiveFocus = null;\n    if (!sameTrap || lastTrap.observed !== trap.observed) {\n      trap.onActivation(focusLockAPI);\n    }\n    activateTrap(true);\n    deferAction(activateTrap);\n  } else {\n    detachHandler();\n    lastActiveFocus = null;\n  }\n}\nmediumFocus.assignSyncMedium(onFocus);\nmediumBlur.assignMedium(onBlur);\nmediumEffect.assignMedium(function (cb) {\n  return cb(focusLockAPI);\n});\nexport default withSideEffect(reducePropsToState, handleStateChangeOnClient)(FocusWatcher);","import { FOCUS_ALLOW } from './constants';\nimport { contains } from './utils/DOMutils';\nimport { toArray } from './utils/array';\nimport { getActiveElement } from './utils/getActiveElement';\n/**\n * checks if focus is hidden FROM the focus-lock\n * ie contained inside a node focus-lock shall ignore\n *\n * This is a utility function coupled with {@link FOCUS_ALLOW} constant\n *\n * @returns {boolean} focus is currently is in \"allow\" area\n */\nexport var focusIsHidden = function focusIsHidden(inDocument) {\n  if (inDocument === void 0) {\n    inDocument = document;\n  }\n  var activeElement = getActiveElement(inDocument);\n  if (!activeElement) {\n    return false;\n  }\n  // this does not support setting FOCUS_ALLOW within shadow dom\n  return toArray(inDocument.querySelectorAll(\"[\".concat(FOCUS_ALLOW, \"]\"))).some(function (node) {\n    return contains(node, activeElement);\n  });\n};","import { getAllAffectedNodes } from './utils/all-affected';\nimport { isGuard, isNotAGuard } from './utils/is';\nimport { getTopCommonParent } from './utils/parenting';\nimport { orderByTabIndex } from './utils/tabOrder';\nimport { getFocusables } from './utils/tabUtils';\n/**\n * traverses all related nodes (including groups) returning a list of all nodes(outer and internal) with meta information\n * This is low-level API!\n * @returns list of focusable elements inside a given top(!) node.\n * @see {@link getFocusableNodes} providing a simpler API\n */\nexport var expandFocusableNodes = function expandFocusableNodes(topNode) {\n  var entries = getAllAffectedNodes(topNode).filter(isNotAGuard);\n  var commonParent = getTopCommonParent(topNode, topNode, entries);\n  var outerNodes = orderByTabIndex(getFocusables([commonParent], true), true, true);\n  var innerElements = getFocusables(entries, false);\n  return outerNodes.map(function (_a) {\n    var node = _a.node,\n      index = _a.index;\n    return {\n      node: node,\n      index: index,\n      lockItem: innerElements.indexOf(node) >= 0,\n      guard: isGuard(node)\n    };\n  });\n};","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport FocusLockUI from './Lock';\nimport FocusTrap from './Trap';\nvar FocusLockCombination = /*#__PURE__*/React.forwardRef(function FocusLockUICombination(props, ref) {\n  return /*#__PURE__*/React.createElement(FocusLockUI, _extends({\n    sideCar: FocusTrap,\n    ref: ref\n  }, props));\n});\nvar _ref = FocusLockUI.propTypes || {},\n  sideCar = _ref.sideCar,\n  propTypes = _objectWithoutPropertiesLoose(_ref, [\"sideCar\"]);\nFocusLockCombination.propTypes = process.env.NODE_ENV !== \"production\" ? propTypes : {};\nexport default FocusLockCombination;","import FocusLock from './Combination';\nexport * from './UI';\nexport default FocusLock;","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('./es/react-hotkeys.production.min.js');\n} else {\n  module.exports = require('./es/index.js');\n}"],"sourceRoot":""}