@vitrosoftware/common-ui-ts 1.1.20 → 1.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -5,7 +5,6 @@ var React__default = _interopDefault(React);
5
5
  var commonUi = require('@vitrosoftware/common-ui');
6
6
  var inversifyReact = require('inversify-react');
7
7
  var jsxRuntime = require('react/jsx-runtime');
8
- var reactRouterBootstrap = require('react-router-bootstrap');
9
8
 
10
9
  var app = {
11
10
  common: {
@@ -208,7 +207,6 @@ var Item = function Item(props) {
208
207
  }, props.text);
209
208
  };
210
209
 
211
- var EVENT;
212
210
  (function (EVENT) {
213
211
  EVENT["MOUSEDOWN"] = "mousedown";
214
212
  EVENT["MOUSEUP"] = "mouseup";
@@ -216,7 +214,9 @@ var EVENT;
216
214
  EVENT["RESIZE"] = "resize";
217
215
  EVENT["DRAGOVER"] = "dragover";
218
216
  EVENT["DRAGLEAVE"] = "dragleave";
219
- })(EVENT || (EVENT = {}));
217
+ EVENT["HISTORY_UPDATE"] = "vitro.history.update";
218
+ EVENT["HISTORY_CHANGED"] = "vitro.history.changed";
219
+ })(exports.EVENT || (exports.EVENT = {}));
220
220
 
221
221
  var styles = {"vitro-breadcrumbs":"_breadcrumbs_vitro-breadcrumbs_3r4NcQY","vitro-breadcrumbs-list-wrap":"_breadcrumbs_vitro-breadcrumbs-list-wrap_1_JBrw0","vitro-breadcrumbs-list":"_breadcrumbs_vitro-breadcrumbs-list_1SNtgtJ","vitro-breadcrumbs-button":"_breadcrumbs_vitro-breadcrumbs-button_3fazq3c","vitro-root":"_breadcrumbs_vitro-root_1S5-6AY","vitro-drop-down-list":"_breadcrumbs_vitro-drop-down-list_2PhrR2a"};
222
222
 
@@ -252,12 +252,12 @@ var Breadcrumbs = function Breadcrumbs(props) {
252
252
  updateBreadcrumbsView();
253
253
  }, [windowWidth]);
254
254
  React.useEffect(function () {
255
- window.addEventListener(EVENT.MOUSEDOWN, clickOutside);
256
- window.addEventListener(EVENT.RESIZE, handleResize);
255
+ window.addEventListener(exports.EVENT.MOUSEDOWN, clickOutside);
256
+ window.addEventListener(exports.EVENT.RESIZE, handleResize);
257
257
  handleResize();
258
258
  return function () {
259
- window.removeEventListener(EVENT.MOUSEDOWN, clickOutside);
260
- window.removeEventListener(EVENT.RESIZE, handleResize);
259
+ window.removeEventListener(exports.EVENT.MOUSEDOWN, clickOutside);
260
+ window.removeEventListener(exports.EVENT.RESIZE, handleResize);
261
261
  };
262
262
  }, []);
263
263
  React.useEffect(function () {
@@ -404,12 +404,12 @@ var TopLevelMenu = function TopLevelMenu(props) {
404
404
  updateTopLevelMenuView();
405
405
  }, [windowWidth]);
406
406
  React.useEffect(function () {
407
- window.addEventListener(EVENT.MOUSEDOWN, clickOutside);
408
- window.addEventListener(EVENT.RESIZE, handleResize);
407
+ window.addEventListener(exports.EVENT.MOUSEDOWN, clickOutside);
408
+ window.addEventListener(exports.EVENT.RESIZE, handleResize);
409
409
  handleResize();
410
410
  return function () {
411
- window.addEventListener(EVENT.MOUSEDOWN, clickOutside);
412
- window.addEventListener(EVENT.RESIZE, handleResize);
411
+ window.addEventListener(exports.EVENT.MOUSEDOWN, clickOutside);
412
+ window.addEventListener(exports.EVENT.RESIZE, handleResize);
413
413
  };
414
414
  }, []);
415
415
  var handleResize = function handleResize() {
@@ -20123,13 +20123,13 @@ var METHOD;
20123
20123
  METHOD["EDIT"] = "edit";
20124
20124
  METHOD["GET_PARENT"] = "get_parent";
20125
20125
  })(METHOD || (METHOD = {}));
20126
- var EVENT$1;
20126
+ var EVENT;
20127
20127
  (function (EVENT) {
20128
20128
  EVENT["CLOSE_NODE"] = "close_node.jstree";
20129
20129
  EVENT["SELECT_NODE"] = "select_node.jstree";
20130
20130
  EVENT["LOADED"] = "loaded.jstree";
20131
20131
  EVENT["MODEL"] = "model.jstree";
20132
- })(EVENT$1 || (EVENT$1 = {}));
20132
+ })(EVENT || (EVENT = {}));
20133
20133
  var NODE_TYPE;
20134
20134
  (function (NODE_TYPE) {
20135
20135
  NODE_TYPE["FOLDER"] = "folder";
@@ -20139,7 +20139,7 @@ var NODE_TYPE;
20139
20139
  var TreeViewConstants = {
20140
20140
  __proto__: null,
20141
20141
  get METHOD () { return METHOD; },
20142
- get EVENT () { return EVENT$1; },
20142
+ get EVENT () { return EVENT; },
20143
20143
  get NODE_TYPE () { return NODE_TYPE; }
20144
20144
  };
20145
20145
 
@@ -20562,7 +20562,7 @@ var TreeGridTableViewContextImpl = /*#__PURE__*/function () {
20562
20562
  return TreeGridTableViewContextImpl;
20563
20563
  }();
20564
20564
 
20565
- var EVENT$2;
20565
+ var EVENT$1;
20566
20566
  (function (EVENT) {
20567
20567
  EVENT["ON_SELECT"] = "OnSelect";
20568
20568
  EVENT["ON_DATA_SEND"] = "OnDataSend";
@@ -20597,7 +20597,7 @@ var EVENT$2;
20597
20597
  EVENT["ON_VALUE_CHANGED"] = "OnValueChanged";
20598
20598
  EVENT["ON_DRAG_OVER"] = "OnDragOver";
20599
20599
  EVENT["ON_DROP"] = "OnDrop";
20600
- })(EVENT$2 || (EVENT$2 = {}));
20600
+ })(EVENT$1 || (EVENT$1 = {}));
20601
20601
  var URL;
20602
20602
  (function (URL) {
20603
20603
  URL["LAYOUT"] = "Layout";
@@ -20722,7 +20722,7 @@ var SECTION;
20722
20722
 
20723
20723
  var TableViewConstants = {
20724
20724
  __proto__: null,
20725
- get EVENT () { return EVENT$2; },
20725
+ get EVENT () { return EVENT$1; },
20726
20726
  get URL () { return URL; },
20727
20727
  get CONTROLLER () { return CONTROLLER; },
20728
20728
  get CACHE () { return CACHE; },
@@ -20786,7 +20786,7 @@ var TreeGrid = function TreeGrid(props) {
20786
20786
  }
20787
20787
  if (props.onSelect) {
20788
20788
  var onSelectEventHandler = {
20789
- id: EVENT$2.ON_SELECT,
20789
+ id: EVENT$1.ON_SELECT,
20790
20790
  process: props.onSelect
20791
20791
  };
20792
20792
  grid.setEventHandler(onSelectEventHandler);
@@ -20795,7 +20795,7 @@ var TreeGrid = function TreeGrid(props) {
20795
20795
  props.onInit(grid, next);
20796
20796
  }
20797
20797
  var onDateSendEventHandler = {
20798
- id: EVENT$2.ON_DATA_SEND,
20798
+ id: EVENT$1.ON_DATA_SEND,
20799
20799
  process: onDataSendHandler
20800
20800
  };
20801
20801
  grid.setEventHandler(onDateSendEventHandler);
@@ -20813,7 +20813,7 @@ var TreeGrid = function TreeGrid(props) {
20813
20813
  };
20814
20814
  React.useEffect(function () {
20815
20815
  disposeTableViewById(props.id);
20816
- w$1.TGSetEvent(EVENT$2.ON_LOADED, props.id, function (grid, next) {
20816
+ w$1.TGSetEvent(EVENT$1.ON_LOADED, props.id, function (grid, next) {
20817
20817
  return onGridLoaded(grid, next);
20818
20818
  });
20819
20819
  if (props.layout || props.data) {
@@ -20899,6 +20899,9 @@ var renderMicrofrontend = function renderMicrofrontend(rendererName, microFronte
20899
20899
  }
20900
20900
  console.log(rendererName + " load error. tryCnt: " + tryCnt);
20901
20901
  } else {
20902
+ if (microFrontendState.unmountAction) {
20903
+ microFrontendState.unmountAction();
20904
+ }
20902
20905
  microFrontendState.unmountAction = window[rendererName](rootElement, data);
20903
20906
  }
20904
20907
  };
@@ -20969,11 +20972,11 @@ var MicroFrontend = function MicroFrontend(props) {
20969
20972
  });
20970
20973
  };
20971
20974
 
20972
- var EVENT$3;
20975
+ var EVENT$2;
20973
20976
  (function (EVENT) {
20974
20977
  EVENT["ADD_FILE"] = "vitro.file.add";
20975
20978
  EVENT["READY_STATE_CHANGE"] = "readystatechange";
20976
- })(EVENT$3 || (EVENT$3 = {}));
20979
+ })(EVENT$2 || (EVENT$2 = {}));
20977
20980
  var LOCALE;
20978
20981
  (function (LOCALE) {
20979
20982
  LOCALE["DROPZONE_TEXT"] = "app.common.uploader.dropZoneText";
@@ -21069,7 +21072,7 @@ var TelerikUploaderContextImpl = /*#__PURE__*/function () {
21069
21072
  };
21070
21073
  _proto.initAuthorization = function initAuthorization(e, token) {
21071
21074
  var xhr = e.XMLHttpRequest;
21072
- xhr.addEventListener(EVENT$3.READY_STATE_CHANGE, function () {
21075
+ xhr.addEventListener(EVENT$2.READY_STATE_CHANGE, function () {
21073
21076
  if (xhr.readyState === 1) {
21074
21077
  xhr.setRequestHeader(AUTHORIZATION_TOKEN_HEADER, token);
21075
21078
  }
@@ -21254,20 +21257,20 @@ var TelerikUploader = function TelerikUploader(props) {
21254
21257
  }, [uploaderRef, dropZoneRef]);
21255
21258
  React.useEffect(function () {
21256
21259
  if (kendoUploader) {
21257
- window.addEventListener(EVENT$3.ADD_FILE, addFile);
21258
- window.addEventListener(EVENT.DRAGOVER, function (e) {
21260
+ window.addEventListener(EVENT$2.ADD_FILE, addFile);
21261
+ window.addEventListener(exports.EVENT.DRAGOVER, function (e) {
21259
21262
  return onDragOver(e);
21260
21263
  });
21261
- window.addEventListener(EVENT.DRAGLEAVE, function (e) {
21264
+ window.addEventListener(exports.EVENT.DRAGLEAVE, function (e) {
21262
21265
  return onDragLeave(e);
21263
21266
  });
21264
21267
  }
21265
21268
  return function () {
21266
- window.removeEventListener(EVENT$3.ADD_FILE, addFile);
21267
- window.removeEventListener(EVENT.DRAGOVER, function (e) {
21269
+ window.removeEventListener(EVENT$2.ADD_FILE, addFile);
21270
+ window.removeEventListener(exports.EVENT.DRAGOVER, function (e) {
21268
21271
  return onDragOver(e);
21269
21272
  });
21270
- window.removeEventListener(EVENT.DRAGLEAVE, function (e) {
21273
+ window.removeEventListener(exports.EVENT.DRAGLEAVE, function (e) {
21271
21274
  return onDragLeave(e);
21272
21275
  });
21273
21276
  };
@@ -59352,6 +59355,13 @@ var Button$2 = function Button(props) {
59352
59355
  } else {
59353
59356
  setPending(false);
59354
59357
  }
59358
+ } else if (props.to) {
59359
+ var event = new CustomEvent(exports.EVENT.HISTORY_UPDATE, {
59360
+ detail: {
59361
+ pathname: props.to
59362
+ }
59363
+ });
59364
+ window.dispatchEvent(event);
59355
59365
  }
59356
59366
  };
59357
59367
  var button = React__default.createElement("button", {
@@ -59373,11 +59383,6 @@ var Button$2 = function Button(props) {
59373
59383
  hoverUrl: props.imageHoverUrl,
59374
59384
  className: "" + (props.imageClassName || CTRL.EMPTY)
59375
59385
  }), React__default.createElement("div", null, props.text)));
59376
- if (props.to) {
59377
- return React__default.createElement(reactRouterBootstrap.LinkContainer, {
59378
- to: props.to
59379
- }, button);
59380
- }
59381
59386
  return button;
59382
59387
  };
59383
59388
 
@@ -59639,9 +59644,9 @@ var ActionHandler = function ActionHandler(props) {
59639
59644
  }
59640
59645
  }
59641
59646
  }
59642
- window.addEventListener(EVENT.KEYDOWN, onEscClick, false);
59647
+ window.addEventListener(exports.EVENT.KEYDOWN, onEscClick, false);
59643
59648
  return function () {
59644
- window.removeEventListener(EVENT.KEYDOWN, onEscClick, false);
59649
+ window.removeEventListener(exports.EVENT.KEYDOWN, onEscClick, false);
59645
59650
  };
59646
59651
  }, []);
59647
59652
  if (!props.item && !props.itemList) return null;
@@ -60381,7 +60386,7 @@ var Input = function Input(props) {
60381
60386
  };
60382
60387
  var onResize = function onResize() {
60383
60388
  if (props.onChangeSize) {
60384
- window.addEventListener(EVENT.MOUSEUP, remainHeight);
60389
+ window.addEventListener(exports.EVENT.MOUSEUP, remainHeight);
60385
60390
  }
60386
60391
  };
60387
60392
  var copyValue = function copyValue() {
@@ -60391,7 +60396,7 @@ var Input = function Input(props) {
60391
60396
  if (ref && ref.current && props.onChangeSize) {
60392
60397
  props.onChangeSize(ref.current.offsetHeight);
60393
60398
  }
60394
- window.removeEventListener(EVENT.MOUSEUP, remainHeight);
60399
+ window.removeEventListener(exports.EVENT.MOUSEUP, remainHeight);
60395
60400
  };
60396
60401
  if (props.isMultiline) {
60397
60402
  control = React__default.createElement("textarea", {
@@ -61550,257 +61555,6 @@ var CommandMenuLookupPicker = function CommandMenuLookupPicker(props) {
61550
61555
  })));
61551
61556
  };
61552
61557
 
61553
- function isAbsolute(pathname) {
61554
- return pathname.charAt(0) === '/';
61555
- }
61556
-
61557
- // About 1.5x faster than the two-arg version of Array#splice()
61558
- function spliceOne(list, index) {
61559
- for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1) {
61560
- list[i] = list[k];
61561
- }
61562
-
61563
- list.pop();
61564
- }
61565
-
61566
- // This implementation is based heavily on node's url.parse
61567
- function resolvePathname(to, from) {
61568
- if (from === undefined) from = '';
61569
-
61570
- var toParts = (to && to.split('/')) || [];
61571
- var fromParts = (from && from.split('/')) || [];
61572
-
61573
- var isToAbs = to && isAbsolute(to);
61574
- var isFromAbs = from && isAbsolute(from);
61575
- var mustEndAbs = isToAbs || isFromAbs;
61576
-
61577
- if (to && isAbsolute(to)) {
61578
- // to is absolute
61579
- fromParts = toParts;
61580
- } else if (toParts.length) {
61581
- // to is relative, drop the filename
61582
- fromParts.pop();
61583
- fromParts = fromParts.concat(toParts);
61584
- }
61585
-
61586
- if (!fromParts.length) return '/';
61587
-
61588
- var hasTrailingSlash;
61589
- if (fromParts.length) {
61590
- var last = fromParts[fromParts.length - 1];
61591
- hasTrailingSlash = last === '.' || last === '..' || last === '';
61592
- } else {
61593
- hasTrailingSlash = false;
61594
- }
61595
-
61596
- var up = 0;
61597
- for (var i = fromParts.length; i >= 0; i--) {
61598
- var part = fromParts[i];
61599
-
61600
- if (part === '.') {
61601
- spliceOne(fromParts, i);
61602
- } else if (part === '..') {
61603
- spliceOne(fromParts, i);
61604
- up++;
61605
- } else if (up) {
61606
- spliceOne(fromParts, i);
61607
- up--;
61608
- }
61609
- }
61610
-
61611
- if (!mustEndAbs) for (; up--; up) fromParts.unshift('..');
61612
-
61613
- if (
61614
- mustEndAbs &&
61615
- fromParts[0] !== '' &&
61616
- (!fromParts[0] || !isAbsolute(fromParts[0]))
61617
- )
61618
- fromParts.unshift('');
61619
-
61620
- var result = fromParts.join('/');
61621
-
61622
- if (hasTrailingSlash && result.substr(-1) !== '/') result += '/';
61623
-
61624
- return result;
61625
- }
61626
-
61627
- function parsePath(path) {
61628
- var pathname = path || '/';
61629
- var search = '';
61630
- var hash = '';
61631
- var hashIndex = pathname.indexOf('#');
61632
-
61633
- if (hashIndex !== -1) {
61634
- hash = pathname.substr(hashIndex);
61635
- pathname = pathname.substr(0, hashIndex);
61636
- }
61637
-
61638
- var searchIndex = pathname.indexOf('?');
61639
-
61640
- if (searchIndex !== -1) {
61641
- search = pathname.substr(searchIndex);
61642
- pathname = pathname.substr(0, searchIndex);
61643
- }
61644
-
61645
- return {
61646
- pathname: pathname,
61647
- search: search === '?' ? '' : search,
61648
- hash: hash === '#' ? '' : hash
61649
- };
61650
- }
61651
-
61652
- function createLocation(path, state, key, currentLocation) {
61653
- var location;
61654
-
61655
- if (typeof path === 'string') {
61656
- // Two-arg form: push(path, state)
61657
- location = parsePath(path);
61658
- location.state = state;
61659
- } else {
61660
- // One-arg form: push(location)
61661
- location = _extends$1({}, path);
61662
- if (location.pathname === undefined) location.pathname = '';
61663
-
61664
- if (location.search) {
61665
- if (location.search.charAt(0) !== '?') location.search = '?' + location.search;
61666
- } else {
61667
- location.search = '';
61668
- }
61669
-
61670
- if (location.hash) {
61671
- if (location.hash.charAt(0) !== '#') location.hash = '#' + location.hash;
61672
- } else {
61673
- location.hash = '';
61674
- }
61675
-
61676
- if (state !== undefined && location.state === undefined) location.state = state;
61677
- }
61678
-
61679
- try {
61680
- location.pathname = decodeURI(location.pathname);
61681
- } catch (e) {
61682
- if (e instanceof URIError) {
61683
- throw new URIError('Pathname "' + location.pathname + '" could not be decoded. ' + 'This is likely caused by an invalid percent-encoding.');
61684
- } else {
61685
- throw e;
61686
- }
61687
- }
61688
-
61689
- if (key) location.key = key;
61690
-
61691
- if (currentLocation) {
61692
- // Resolve incomplete/relative pathname relative to current location.
61693
- if (!location.pathname) {
61694
- location.pathname = currentLocation.pathname;
61695
- } else if (location.pathname.charAt(0) !== '/') {
61696
- location.pathname = resolvePathname(location.pathname, currentLocation.pathname);
61697
- }
61698
- } else {
61699
- // When there is no prior location and pathname is empty, set it to /
61700
- if (!location.pathname) {
61701
- location.pathname = '/';
61702
- }
61703
- }
61704
-
61705
- return location;
61706
- }
61707
-
61708
- var _extends$2 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
61709
-
61710
- function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
61711
-
61712
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
61713
-
61714
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
61715
-
61716
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
61717
-
61718
- var isModifiedEvent$1 = function isModifiedEvent(event) {
61719
- return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);
61720
- };
61721
-
61722
- /**
61723
- * The public API for rendering a history-aware <a>.
61724
- */
61725
-
61726
- var Link = function (_React$Component) {
61727
- _inherits(Link, _React$Component);
61728
-
61729
- function Link() {
61730
- var _temp, _this, _ret;
61731
-
61732
- _classCallCheck(this, Link);
61733
-
61734
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
61735
- args[_key] = arguments[_key];
61736
- }
61737
-
61738
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.handleClick = function (event) {
61739
- if (_this.props.onClick) _this.props.onClick(event);
61740
-
61741
- if (!event.defaultPrevented && // onClick prevented default
61742
- event.button === 0 && // ignore everything but left clicks
61743
- !_this.props.target && // let browser handle "target=_blank" etc.
61744
- !isModifiedEvent$1(event) // ignore clicks with modifier keys
61745
- ) {
61746
- event.preventDefault();
61747
-
61748
- var history = _this.context.router.history;
61749
- var _this$props = _this.props,
61750
- replace = _this$props.replace,
61751
- to = _this$props.to;
61752
-
61753
-
61754
- if (replace) {
61755
- history.replace(to);
61756
- } else {
61757
- history.push(to);
61758
- }
61759
- }
61760
- }, _temp), _possibleConstructorReturn(_this, _ret);
61761
- }
61762
-
61763
- Link.prototype.render = function render() {
61764
- var _props = this.props,
61765
- to = _props.to,
61766
- innerRef = _props.innerRef,
61767
- props = _objectWithoutProperties(_props, ["replace", "to", "innerRef"]); // eslint-disable-line no-unused-vars
61768
-
61769
- browser(this.context.router, "You should not use <Link> outside a <Router>");
61770
-
61771
- browser(to !== undefined, 'You must specify the "to" property');
61772
-
61773
- var history = this.context.router.history;
61774
-
61775
- var location = typeof to === "string" ? createLocation(to, null, null, history.location) : to;
61776
-
61777
- var href = history.createHref(location);
61778
- return React__default.createElement("a", _extends$2({}, props, { onClick: this.handleClick, href: href, ref: innerRef }));
61779
- };
61780
-
61781
- return Link;
61782
- }(React__default.Component);
61783
-
61784
- Link.propTypes = {
61785
- onClick: propTypes.func,
61786
- target: propTypes.string,
61787
- replace: propTypes.bool,
61788
- to: propTypes.oneOfType([propTypes.string, propTypes.object]).isRequired,
61789
- innerRef: propTypes.oneOfType([propTypes.string, propTypes.func])
61790
- };
61791
- Link.defaultProps = {
61792
- replace: false
61793
- };
61794
- Link.contextTypes = {
61795
- router: propTypes.shape({
61796
- history: propTypes.shape({
61797
- push: propTypes.func.isRequired,
61798
- replace: propTypes.func.isRequired,
61799
- createHref: propTypes.func.isRequired
61800
- }).isRequired
61801
- }).isRequired
61802
- };
61803
-
61804
61558
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
61805
61559
  var globalCssModule;
61806
61560
  function mapToCssModules() {
@@ -61943,11 +61697,11 @@ function getTarget(target, allElements) {
61943
61697
  }
61944
61698
 
61945
61699
  var _excluded$8 = ["className", "cssModule", "variant", "innerRef"];
61946
- function _extends$3() { _extends$3 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
61700
+ function _extends$2() { _extends$2 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
61947
61701
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
61948
61702
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
61949
61703
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
61950
- function _objectWithoutProperties$1(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$9(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
61704
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$9(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
61951
61705
  function _objectWithoutPropertiesLoose$9(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
61952
61706
  var propTypes$2 = {
61953
61707
  /** Disable the button if needed */
@@ -61966,9 +61720,9 @@ function CloseButton$1(props) {
61966
61720
  var className = props.className,
61967
61721
  variant = props.variant,
61968
61722
  innerRef = props.innerRef,
61969
- attributes = _objectWithoutProperties$1(props, _excluded$8);
61723
+ attributes = _objectWithoutProperties(props, _excluded$8);
61970
61724
  var classes = mapToCssModules(classnames(className, 'btn-close', variant && "btn-close-".concat(variant)));
61971
- return /*#__PURE__*/React__default.createElement("button", _extends$3({
61725
+ return /*#__PURE__*/React__default.createElement("button", _extends$2({
61972
61726
  ref: innerRef,
61973
61727
  type: "button",
61974
61728
  className: classes
@@ -61979,8 +61733,8 @@ function CloseButton$1(props) {
61979
61733
  CloseButton$1.propTypes = propTypes$2;
61980
61734
 
61981
61735
  var _excluded$9 = ["active", "aria-label", "block", "className", "close", "cssModule", "color", "outline", "size", "tag", "innerRef"];
61982
- function _extends$4() { _extends$4 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$4.apply(this, arguments); }
61983
- function _objectWithoutProperties$2(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$a(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
61736
+ function _extends$3() { _extends$3 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
61737
+ function _objectWithoutProperties$1(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$a(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
61984
61738
  function _objectWithoutPropertiesLoose$a(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
61985
61739
  var propTypes$3 = {
61986
61740
  /** Manually set the visual state of the button to active */
@@ -62033,7 +61787,7 @@ function Button$3(props) {
62033
61787
  _props$tag = props.tag,
62034
61788
  Tag = _props$tag === void 0 ? 'button' : _props$tag,
62035
61789
  innerRef = props.innerRef,
62036
- attributes = _objectWithoutProperties$2(props, _excluded$9);
61790
+ attributes = _objectWithoutProperties$1(props, _excluded$9);
62037
61791
  if (close) {
62038
61792
  return /*#__PURE__*/React__default.createElement(CloseButton$1, attributes);
62039
61793
  }
@@ -62045,7 +61799,7 @@ function Button$3(props) {
62045
61799
  if (attributes.href && Tag === 'button') {
62046
61800
  Tag = 'a';
62047
61801
  }
62048
- return /*#__PURE__*/React__default.createElement(Tag, _extends$4({
61802
+ return /*#__PURE__*/React__default.createElement(Tag, _extends$3({
62049
61803
  type: Tag === 'button' && attributes.onClick ? 'button' : undefined
62050
61804
  }, attributes, {
62051
61805
  className: classes,
@@ -62572,17 +62326,17 @@ var InputGroupContext = /*#__PURE__*/React__default.createContext({});
62572
62326
 
62573
62327
  function _typeof$1(obj) { "@babel/helpers - typeof"; return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof$1(obj); }
62574
62328
  var _excluded$a = ["className", "cssModule", "direction", "isOpen", "group", "size", "nav", "setActiveFromChild", "active", "tag", "menuRole"];
62575
- function _extends$5() { _extends$5 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$5.apply(this, arguments); }
62329
+ function _extends$4() { _extends$4 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$4.apply(this, arguments); }
62576
62330
  function _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
62577
- function _objectWithoutProperties$3(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$b(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
62331
+ function _objectWithoutProperties$2(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$b(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
62578
62332
  function _objectWithoutPropertiesLoose$b(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
62579
- function _classCallCheck$1(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
62333
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
62580
62334
  function _defineProperties$1(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
62581
62335
  function _createClass$1(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$1(Constructor.prototype, protoProps); if (staticProps) _defineProperties$1(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
62582
- function _inherits$1(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf$1(subClass, superClass); }
62336
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf$1(subClass, superClass); }
62583
62337
  function _setPrototypeOf$1(o, p) { _setPrototypeOf$1 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$1(o, p); }
62584
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$1(this, result); }; }
62585
- function _possibleConstructorReturn$1(self, call) { if (call && (_typeof$1(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
62338
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
62339
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof$1(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
62586
62340
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
62587
62341
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
62588
62342
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
@@ -62616,11 +62370,11 @@ var defaultProps$1 = {
62616
62370
  };
62617
62371
  var preventDefaultKeys = [keyCodes.space, keyCodes.enter, keyCodes.up, keyCodes.down, keyCodes.end, keyCodes.home];
62618
62372
  var Dropdown$2 = /*#__PURE__*/function (_React$Component) {
62619
- _inherits$1(Dropdown, _React$Component);
62373
+ _inherits(Dropdown, _React$Component);
62620
62374
  var _super = _createSuper(Dropdown);
62621
62375
  function Dropdown(props) {
62622
62376
  var _this;
62623
- _classCallCheck$1(this, Dropdown);
62377
+ _classCallCheck(this, Dropdown);
62624
62378
  _this = _super.call(this, props);
62625
62379
  _this.addEvents = _this.addEvents.bind(_assertThisInitialized(_this));
62626
62380
  _this.handleDocumentClick = _this.handleDocumentClick.bind(_assertThisInitialized(_this));
@@ -62855,7 +62609,7 @@ var Dropdown$2 = /*#__PURE__*/function (_React$Component) {
62855
62609
  setActiveFromChild = _omit.setActiveFromChild,
62856
62610
  active = _omit.active,
62857
62611
  tag = _omit.tag,
62858
- attrs = _objectWithoutProperties$3(_omit, _excluded$a);
62612
+ attrs = _objectWithoutProperties$2(_omit, _excluded$a);
62859
62613
  var Tag = tag || (nav ? 'li' : 'div');
62860
62614
  var subItemIsActive = false;
62861
62615
  if (setActiveFromChild) {
@@ -62877,7 +62631,7 @@ var Dropdown$2 = /*#__PURE__*/function (_React$Component) {
62877
62631
  }
62878
62632
  return /*#__PURE__*/React__default.createElement(DropdownContext$2.Provider, {
62879
62633
  value: this.getContextValue()
62880
- }, /*#__PURE__*/React__default.createElement(Manager, null, /*#__PURE__*/React__default.createElement(Tag, _extends$5({}, attrs, _defineProperty$1({}, typeof Tag === 'string' ? 'ref' : 'innerRef', this.containerRef), {
62634
+ }, /*#__PURE__*/React__default.createElement(Manager, null, /*#__PURE__*/React__default.createElement(Tag, _extends$4({}, attrs, _defineProperty$1({}, typeof Tag === 'string' ? 'ref' : 'innerRef', this.containerRef), {
62881
62635
  onKeyDown: this.handleKeyDown,
62882
62636
  className: classes
62883
62637
  }))));
@@ -62891,16 +62645,16 @@ Dropdown$2.contextType = InputGroupContext;
62891
62645
 
62892
62646
  function _typeof$2(obj) { "@babel/helpers - typeof"; return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof$2(obj); }
62893
62647
  var _excluded$b = ["className", "cssModule", "divider", "tag", "header", "active", "text"];
62894
- function _extends$6() { _extends$6 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$6.apply(this, arguments); }
62895
- function _objectWithoutProperties$4(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$c(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
62648
+ function _extends$5() { _extends$5 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$5.apply(this, arguments); }
62649
+ function _objectWithoutProperties$3(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$c(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
62896
62650
  function _objectWithoutPropertiesLoose$c(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
62897
- function _classCallCheck$2(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
62651
+ function _classCallCheck$1(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
62898
62652
  function _defineProperties$2(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
62899
62653
  function _createClass$2(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$2(Constructor.prototype, protoProps); if (staticProps) _defineProperties$2(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
62900
- function _inherits$2(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf$2(subClass, superClass); }
62654
+ function _inherits$1(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf$2(subClass, superClass); }
62901
62655
  function _setPrototypeOf$2(o, p) { _setPrototypeOf$2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$2(o, p); }
62902
- function _createSuper$1(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1(); return function _createSuperInternal() { var Super = _getPrototypeOf$1(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$1(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$2(this, result); }; }
62903
- function _possibleConstructorReturn$2(self, call) { if (call && (_typeof$2(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized$1(self); }
62656
+ function _createSuper$1(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1(); return function _createSuperInternal() { var Super = _getPrototypeOf$1(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$1(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$1(this, result); }; }
62657
+ function _possibleConstructorReturn$1(self, call) { if (call && (_typeof$2(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized$1(self); }
62904
62658
  function _assertThisInitialized$1(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
62905
62659
  function _isNativeReflectConstruct$1() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
62906
62660
  function _getPrototypeOf$1(o) { _getPrototypeOf$1 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$1(o); }
@@ -62918,11 +62672,11 @@ var propTypes$5 = {
62918
62672
  text: propTypes.bool
62919
62673
  };
62920
62674
  var DropdownItem$2 = /*#__PURE__*/function (_React$Component) {
62921
- _inherits$2(DropdownItem, _React$Component);
62675
+ _inherits$1(DropdownItem, _React$Component);
62922
62676
  var _super = _createSuper$1(DropdownItem);
62923
62677
  function DropdownItem(props) {
62924
62678
  var _this;
62925
- _classCallCheck$2(this, DropdownItem);
62679
+ _classCallCheck$1(this, DropdownItem);
62926
62680
  _this = _super.call(this, props);
62927
62681
  _this.onClick = _this.onClick.bind(_assertThisInitialized$1(_this));
62928
62682
  _this.getTabIndex = _this.getTabIndex.bind(_assertThisInitialized$1(_this));
@@ -62983,7 +62737,7 @@ var DropdownItem$2 = /*#__PURE__*/function (_React$Component) {
62983
62737
  header = _omit.header,
62984
62738
  active = _omit.active,
62985
62739
  text = _omit.text,
62986
- props = _objectWithoutProperties$4(_omit, _excluded$b);
62740
+ props = _objectWithoutProperties$3(_omit, _excluded$b);
62987
62741
  var classes = mapToCssModules(classnames(className, {
62988
62742
  disabled: props.disabled,
62989
62743
  'dropdown-item': !divider && !header && !text,
@@ -63003,7 +62757,7 @@ var DropdownItem$2 = /*#__PURE__*/function (_React$Component) {
63003
62757
  Tag = 'span';
63004
62758
  }
63005
62759
  }
63006
- return /*#__PURE__*/React__default.createElement(Tag, _extends$6({
62760
+ return /*#__PURE__*/React__default.createElement(Tag, _extends$5({
63007
62761
  type: Tag === 'button' && (props.onClick || this.props.toggle) ? 'button' : undefined
63008
62762
  }, props, {
63009
62763
  tabIndex: tabIndex,
@@ -63020,7 +62774,7 @@ DropdownItem$2.contextType = DropdownContext$2;
63020
62774
 
63021
62775
  function _typeof$3(obj) { "@babel/helpers - typeof"; return _typeof$3 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof$3(obj); }
63022
62776
  var _excluded$c = ["className", "cssModule", "dark", "end", "right", "tag", "flip", "modifiers", "persist", "strategy", "container", "updateOnSelect"];
63023
- function _extends$7() { _extends$7 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$7.apply(this, arguments); }
62777
+ function _extends$6() { _extends$6 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$6.apply(this, arguments); }
63024
62778
  function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
63025
62779
  function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty$2(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
63026
62780
  function _defineProperty$2(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
@@ -63030,15 +62784,15 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
63030
62784
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
63031
62785
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
63032
62786
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
63033
- function _objectWithoutProperties$5(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$d(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
62787
+ function _objectWithoutProperties$4(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$d(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
63034
62788
  function _objectWithoutPropertiesLoose$d(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
63035
- function _classCallCheck$3(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
62789
+ function _classCallCheck$2(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
63036
62790
  function _defineProperties$3(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
63037
62791
  function _createClass$3(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$3(Constructor.prototype, protoProps); if (staticProps) _defineProperties$3(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
63038
- function _inherits$3(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf$3(subClass, superClass); }
62792
+ function _inherits$2(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf$3(subClass, superClass); }
63039
62793
  function _setPrototypeOf$3(o, p) { _setPrototypeOf$3 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$3(o, p); }
63040
- function _createSuper$2(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$2(); return function _createSuperInternal() { var Super = _getPrototypeOf$2(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$2(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$3(this, result); }; }
63041
- function _possibleConstructorReturn$3(self, call) { if (call && (_typeof$3(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized$2(self); }
62794
+ function _createSuper$2(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$2(); return function _createSuperInternal() { var Super = _getPrototypeOf$2(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$2(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$2(this, result); }; }
62795
+ function _possibleConstructorReturn$2(self, call) { if (call && (_typeof$3(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized$2(self); }
63042
62796
  function _assertThisInitialized$2(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
63043
62797
  function _isNativeReflectConstruct$2() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
63044
62798
  function _getPrototypeOf$2(o) { _getPrototypeOf$2 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$2(o); }
@@ -63069,10 +62823,10 @@ var directionPositionMap = {
63069
62823
  down: 'bottom'
63070
62824
  };
63071
62825
  var DropdownMenu$2 = /*#__PURE__*/function (_React$Component) {
63072
- _inherits$3(DropdownMenu, _React$Component);
62826
+ _inherits$2(DropdownMenu, _React$Component);
63073
62827
  var _super = _createSuper$2(DropdownMenu);
63074
62828
  function DropdownMenu() {
63075
- _classCallCheck$3(this, DropdownMenu);
62829
+ _classCallCheck$2(this, DropdownMenu);
63076
62830
  return _super.apply(this, arguments);
63077
62831
  }
63078
62832
  _createClass$3(DropdownMenu, [{
@@ -63103,7 +62857,7 @@ var DropdownMenu$2 = /*#__PURE__*/function (_React$Component) {
63103
62857
  strategy = _this$props.strategy,
63104
62858
  container = _this$props.container,
63105
62859
  updateOnSelect = _this$props.updateOnSelect,
63106
- attrs = _objectWithoutProperties$5(_this$props, _excluded$c);
62860
+ attrs = _objectWithoutProperties$4(_this$props, _excluded$c);
63107
62861
  var classes = mapToCssModules(classnames(className, 'dropdown-menu', {
63108
62862
  'dropdown-menu-dark': dark,
63109
62863
  'dropdown-menu-end': end || right,
@@ -63136,7 +62890,7 @@ var DropdownMenu$2 = /*#__PURE__*/function (_React$Component) {
63136
62890
  var onMenuRef = _this.context.onMenuRef;
63137
62891
  if (onMenuRef) onMenuRef(tagRef);
63138
62892
  };
63139
- return /*#__PURE__*/React__default.createElement(Tag, _extends$7({
62893
+ return /*#__PURE__*/React__default.createElement(Tag, _extends$6({
63140
62894
  tabIndex: "-1",
63141
62895
  role: _this.getRole(),
63142
62896
  ref: handleRef
@@ -63156,7 +62910,7 @@ var DropdownMenu$2 = /*#__PURE__*/function (_React$Component) {
63156
62910
  return popper;
63157
62911
  }
63158
62912
  var onMenuRef = this.context.onMenuRef;
63159
- return /*#__PURE__*/React__default.createElement(Tag, _extends$7({
62913
+ return /*#__PURE__*/React__default.createElement(Tag, _extends$6({
63160
62914
  tabIndex: "-1",
63161
62915
  role: this.getRole()
63162
62916
  }, attrs, {
@@ -63175,16 +62929,16 @@ DropdownMenu$2.contextType = DropdownContext$2;
63175
62929
  function _typeof$4(obj) { "@babel/helpers - typeof"; return _typeof$4 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof$4(obj); }
63176
62930
  var _excluded$d = ["className", "color", "cssModule", "caret", "split", "nav", "tag", "innerRef"];
63177
62931
  function _defineProperty$3(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
63178
- function _extends$8() { _extends$8 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$8.apply(this, arguments); }
63179
- function _objectWithoutProperties$6(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$e(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
62932
+ function _extends$7() { _extends$7 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$7.apply(this, arguments); }
62933
+ function _objectWithoutProperties$5(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$e(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
63180
62934
  function _objectWithoutPropertiesLoose$e(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
63181
- function _classCallCheck$4(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
62935
+ function _classCallCheck$3(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
63182
62936
  function _defineProperties$4(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
63183
62937
  function _createClass$4(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$4(Constructor.prototype, protoProps); if (staticProps) _defineProperties$4(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
63184
- function _inherits$4(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf$4(subClass, superClass); }
62938
+ function _inherits$3(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf$4(subClass, superClass); }
63185
62939
  function _setPrototypeOf$4(o, p) { _setPrototypeOf$4 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$4(o, p); }
63186
- function _createSuper$3(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$3(); return function _createSuperInternal() { var Super = _getPrototypeOf$3(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$3(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$4(this, result); }; }
63187
- function _possibleConstructorReturn$4(self, call) { if (call && (_typeof$4(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized$3(self); }
62940
+ function _createSuper$3(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$3(); return function _createSuperInternal() { var Super = _getPrototypeOf$3(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$3(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$3(this, result); }; }
62941
+ function _possibleConstructorReturn$3(self, call) { if (call && (_typeof$4(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized$3(self); }
63188
62942
  function _assertThisInitialized$3(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
63189
62943
  function _isNativeReflectConstruct$3() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
63190
62944
  function _getPrototypeOf$3(o) { _getPrototypeOf$3 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$3(o); }
@@ -63207,11 +62961,11 @@ var defaultProps$2 = {
63207
62961
  'aria-haspopup': true
63208
62962
  };
63209
62963
  var DropdownToggle$2 = /*#__PURE__*/function (_React$Component) {
63210
- _inherits$4(DropdownToggle, _React$Component);
62964
+ _inherits$3(DropdownToggle, _React$Component);
63211
62965
  var _super = _createSuper$3(DropdownToggle);
63212
62966
  function DropdownToggle(props) {
63213
62967
  var _this;
63214
- _classCallCheck$4(this, DropdownToggle);
62968
+ _classCallCheck$3(this, DropdownToggle);
63215
62969
  _this = _super.call(this, props);
63216
62970
  _this.onClick = _this.onClick.bind(_assertThisInitialized$3(_this));
63217
62971
  return _this;
@@ -63249,7 +63003,7 @@ var DropdownToggle$2 = /*#__PURE__*/function (_React$Component) {
63249
63003
  nav = _this$props.nav,
63250
63004
  tag = _this$props.tag,
63251
63005
  innerRef = _this$props.innerRef,
63252
- props = _objectWithoutProperties$6(_this$props, _excluded$d);
63006
+ props = _objectWithoutProperties$5(_this$props, _excluded$d);
63253
63007
  var ariaLabel = props['aria-label'] || 'Toggle Dropdown';
63254
63008
  var classes = mapToCssModules(classnames(className, {
63255
63009
  'dropdown-toggle': caret || split,
@@ -63271,7 +63025,7 @@ var DropdownToggle$2 = /*#__PURE__*/function (_React$Component) {
63271
63025
  Tag = tag;
63272
63026
  }
63273
63027
  if (this.context.inNavbar) {
63274
- return /*#__PURE__*/React__default.createElement(Tag, _extends$8({}, props, {
63028
+ return /*#__PURE__*/React__default.createElement(Tag, _extends$7({}, props, {
63275
63029
  className: classes,
63276
63030
  onClick: this.onClick,
63277
63031
  ref: this.context.onToggleRef,
@@ -63289,7 +63043,7 @@ var DropdownToggle$2 = /*#__PURE__*/function (_React$Component) {
63289
63043
  var onToggleRef = _this2.context.onToggleRef;
63290
63044
  if (onToggleRef) onToggleRef(tagRef);
63291
63045
  };
63292
- return /*#__PURE__*/React__default.createElement(Tag, _extends$8({}, props, _defineProperty$3({}, typeof Tag === 'string' ? 'ref' : 'innerRef', handleRef), {
63046
+ return /*#__PURE__*/React__default.createElement(Tag, _extends$7({}, props, _defineProperty$3({}, typeof Tag === 'string' ? 'ref' : 'innerRef', handleRef), {
63293
63047
  className: classes,
63294
63048
  onClick: _this2.onClick,
63295
63049
  "aria-expanded": _this2.context.isOpen,
@@ -63309,24 +63063,24 @@ function _typeof$5(obj) { "@babel/helpers - typeof"; return _typeof$5 = "functio
63309
63063
  function ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
63310
63064
  function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2(Object(source), !0).forEach(function (key) { _defineProperty$4(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
63311
63065
  function _defineProperty$4(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
63312
- function _extends$9() { _extends$9 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$9.apply(this, arguments); }
63313
- function _classCallCheck$5(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
63066
+ function _extends$8() { _extends$8 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$8.apply(this, arguments); }
63067
+ function _classCallCheck$4(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
63314
63068
  function _defineProperties$5(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
63315
63069
  function _createClass$5(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$5(Constructor.prototype, protoProps); if (staticProps) _defineProperties$5(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
63316
- function _inherits$5(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf$5(subClass, superClass); }
63070
+ function _inherits$4(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf$5(subClass, superClass); }
63317
63071
  function _setPrototypeOf$5(o, p) { _setPrototypeOf$5 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$5(o, p); }
63318
- function _createSuper$4(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$4(); return function _createSuperInternal() { var Super = _getPrototypeOf$4(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$4(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$5(this, result); }; }
63319
- function _possibleConstructorReturn$5(self, call) { if (call && (_typeof$5(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized$4(self); }
63072
+ function _createSuper$4(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$4(); return function _createSuperInternal() { var Super = _getPrototypeOf$4(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$4(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$4(this, result); }; }
63073
+ function _possibleConstructorReturn$4(self, call) { if (call && (_typeof$5(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized$4(self); }
63320
63074
  function _assertThisInitialized$4(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
63321
63075
  function _isNativeReflectConstruct$4() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
63322
63076
  function _getPrototypeOf$4(o) { _getPrototypeOf$4 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$4(o); }
63323
63077
  var omitKeys = ['defaultOpen'];
63324
63078
  var UncontrolledDropdown = /*#__PURE__*/function (_Component) {
63325
- _inherits$5(UncontrolledDropdown, _Component);
63079
+ _inherits$4(UncontrolledDropdown, _Component);
63326
63080
  var _super = _createSuper$4(UncontrolledDropdown);
63327
63081
  function UncontrolledDropdown(props) {
63328
63082
  var _this;
63329
- _classCallCheck$5(this, UncontrolledDropdown);
63083
+ _classCallCheck$4(this, UncontrolledDropdown);
63330
63084
  _this = _super.call(this, props);
63331
63085
  _this.state = {
63332
63086
  isOpen: props.defaultOpen || false
@@ -63351,7 +63105,7 @@ var UncontrolledDropdown = /*#__PURE__*/function (_Component) {
63351
63105
  }, {
63352
63106
  key: "render",
63353
63107
  value: function render() {
63354
- return /*#__PURE__*/React__default.createElement(Dropdown$2, _extends$9({
63108
+ return /*#__PURE__*/React__default.createElement(Dropdown$2, _extends$8({
63355
63109
  isOpen: this.state.isOpen,
63356
63110
  toggle: this.toggle
63357
63111
  }, omit(this.props, omitKeys)));
@@ -63367,16 +63121,26 @@ UncontrolledDropdown.propTypes = _objectSpread$2({
63367
63121
  var styles$t = {"vitro-command-menu-dropdown-button":"_command-menu-dropdown-button_vitro-command-menu-dropdown-button_2ImIuc3","vitro-dropdown-button-container":"_command-menu-dropdown-button_vitro-dropdown-button-container_29qd-_O","vitro-icon":"_command-menu-dropdown-button_vitro-icon_36InzPx","vitro-button-collapse-bottom":"_command-menu-dropdown-button_vitro-button-collapse-bottom_1OS_X_a"};
63368
63122
 
63369
63123
  var CommandMenuSubItem = function CommandMenuSubItem(props) {
63124
+ var onClick = function onClick(e) {
63125
+ if (props.onClick) {
63126
+ props.onClick(e);
63127
+ } else if (props.href) {
63128
+ var event = new CustomEvent(exports.EVENT.HISTORY_UPDATE, {
63129
+ detail: {
63130
+ pathname: props.href
63131
+ }
63132
+ });
63133
+ window.dispatchEvent(event);
63134
+ }
63135
+ };
63370
63136
  return React__default.createElement(DropdownItem$2, {
63371
- onClick: props.onClick,
63137
+ onClick: onClick,
63372
63138
  toggle: props.toggle === false ? false : true
63373
63139
  }, props.imageUrl && React__default.createElement(Icon, {
63374
63140
  defaultUrl: props.imageUrl,
63375
63141
  hoverUrl: props.imageHoverUrl,
63376
63142
  className: styles$t['vitro-icon']
63377
- }), props.href ? React__default.createElement(Link, {
63378
- to: props.href
63379
- }, props.text) : React__default.createElement("span", null, props.text));
63143
+ }), React__default.createElement("span", null, props.text));
63380
63144
  };
63381
63145
 
63382
63146
  var CommandMenuItemHeader = function CommandMenuItemHeader(props) {
@@ -63450,6 +63214,16 @@ var LinkItem$1 = function LinkItem(props) {
63450
63214
  setIsHover = _useState[1];
63451
63215
  var isActive = props.link === props.currentUrl || props.activeItem === props.id;
63452
63216
  var className = isActive ? styles$u['vitro-active'] : isHover ? styles$u['vitro-hover'] : CTRL.EMPTY;
63217
+ var onClick = function onClick(e) {
63218
+ if (props.link) {
63219
+ var event = new CustomEvent(exports.EVENT.HISTORY_UPDATE, {
63220
+ detail: {
63221
+ pathname: props.link
63222
+ }
63223
+ });
63224
+ window.dispatchEvent(event);
63225
+ }
63226
+ };
63453
63227
  return React__default.createElement("li", {
63454
63228
  onMouseEnter: function onMouseEnter() {
63455
63229
  return setIsHover(true);
@@ -63461,8 +63235,8 @@ var LinkItem$1 = function LinkItem(props) {
63461
63235
  width: props.linkItemWidth ? props.linkItemWidth + PX_UNIT$3 : WIDTH_AUTO
63462
63236
  },
63463
63237
  className: styles$u['vitro-item']
63464
- }, props.link && React__default.createElement(Link, {
63465
- to: props.link,
63238
+ }, props.link && React__default.createElement("a", {
63239
+ onClick: onClick,
63466
63240
  className: className
63467
63241
  }, React__default.createElement(Item$1, Object.assign({}, props, {
63468
63242
  isHover: isHover || isActive
@@ -63511,7 +63285,7 @@ var SectionList = React.forwardRef(function (props, ref) {
63511
63285
  var styles$v = {"vitro-sidebar":"_sidebar_vitro-sidebar_1IxGYiU","vitro-scroll-container":"_sidebar_vitro-scroll-container_3K-iJy8","vitro-button-more":"_sidebar_vitro-button-more_3s9oZY9"};
63512
63286
 
63513
63287
  var Sidebar = function Sidebar(props) {
63514
- var _useState = React.useState(props.history.location.pathname),
63288
+ var _useState = React.useState(window.location.pathname),
63515
63289
  currentUrl = _useState[0],
63516
63290
  setCurrentUrl = _useState[1];
63517
63291
  var _useState2 = React.useState([]),
@@ -63528,9 +63302,9 @@ var Sidebar = function Sidebar(props) {
63528
63302
  setLinkItemWidth = _useState5[1];
63529
63303
  var menuRef = React.useRef(null);
63530
63304
  var scrollableListRef = React.useRef(null);
63531
- props.history.listen(function (location) {
63532
- setCurrentUrl(location.pathname);
63533
- });
63305
+ var handleHistoryChanged = function handleHistoryChanged(e) {
63306
+ setCurrentUrl(e.detail.pathname);
63307
+ };
63534
63308
  React.useEffect(function () {
63535
63309
  if (props.sidebar === 1 && props.overflowItemList && props.overflowItemList.length > 0) {
63536
63310
  setItemList([].concat(props.topItemList, props.overflowItemList));
@@ -63542,10 +63316,12 @@ var Sidebar = function Sidebar(props) {
63542
63316
  }
63543
63317
  }, [props.sidebar, isMobileView]);
63544
63318
  React.useEffect(function () {
63545
- window.addEventListener(EVENT.RESIZE, handleResize);
63319
+ window.addEventListener(exports.EVENT.RESIZE, handleResize);
63320
+ window.addEventListener(exports.EVENT.HISTORY_CHANGED, handleHistoryChanged);
63546
63321
  handleResize();
63547
63322
  return function () {
63548
- window.removeEventListener(EVENT.RESIZE, handleResize);
63323
+ window.removeEventListener(exports.EVENT.RESIZE, handleResize);
63324
+ window.removeEventListener(exports.EVENT.HISTORY_CHANGED, handleHistoryChanged);
63549
63325
  };
63550
63326
  }, []);
63551
63327
  React.useEffect(function () {
@@ -63778,9 +63554,9 @@ var DialogButton = function DialogButton(props) {
63778
63554
 
63779
63555
  var DialogCloseButton = function DialogCloseButton(props) {
63780
63556
  React.useEffect(function () {
63781
- window.document.addEventListener(EVENT.KEYDOWN, escFunction, false);
63557
+ window.document.addEventListener(exports.EVENT.KEYDOWN, escFunction, false);
63782
63558
  return function () {
63783
- window.document.removeEventListener(EVENT.KEYDOWN, escFunction, false);
63559
+ window.document.removeEventListener(exports.EVENT.KEYDOWN, escFunction, false);
63784
63560
  };
63785
63561
  }, []);
63786
63562
  var escFunction = function escFunction(e) {
@@ -63833,8 +63609,8 @@ var UserProfileMenuItem = function UserProfileMenuItem(props) {
63833
63609
  return React__default.createElement("div", {
63834
63610
  className: styles$C['vitro-dropdown-item'],
63835
63611
  onClick: onClick
63836
- }, React__default.createElement(Link, {
63837
- to: props.link
63612
+ }, React__default.createElement("a", {
63613
+ href: props.link
63838
63614
  }, props.imageUrl && React__default.createElement(Icon, {
63839
63615
  defaultUrl: props.imageUrl,
63840
63616
  hoverUrl: props.hoverImageUrl