algolia-experiences 1.5.15 → 1.6.0

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.
@@ -12884,7 +12884,9 @@
12884
12884
  // This makes sure `render` is never called with `results` being `null`.
12885
12885
  // If it's an isolated index without an index name, we render all widgets,
12886
12886
  // as there are no results to display for the isolated index itself.
12887
- var widgetsToRender = this.getResults() || (_derivedHelper2 = derivedHelper) !== null && _derivedHelper2 !== void 0 && _derivedHelper2.lastRecommendResults || isolated && !indexName ? localWidgets : localWidgets.filter(isIndexWidget);
12887
+ var widgetsToRender = this.getResults() || (_derivedHelper2 = derivedHelper) !== null && _derivedHelper2 !== void 0 && _derivedHelper2.lastRecommendResults || isolated && !indexName ? localWidgets : localWidgets.filter(function (widget) {
12888
+ return widget.shouldRender;
12889
+ });
12888
12890
  widgetsToRender = widgetsToRender.filter(function (widget) {
12889
12891
  if (!widget.shouldRender) {
12890
12892
  return true;
@@ -12960,6 +12962,9 @@
12960
12962
  initialSearchParameters: searchParameters
12961
12963
  });
12962
12964
  },
12965
+ shouldRender: function shouldRender() {
12966
+ return true;
12967
+ },
12963
12968
  refreshUiState: function refreshUiState() {
12964
12969
  localUiState = getLocalWidgetsUiState(localWidgets, {
12965
12970
  searchParameters: this.getHelper().state,
@@ -13118,7 +13123,7 @@
13118
13123
  };
13119
13124
  }
13120
13125
 
13121
- var version$1 = '4.80.0';
13126
+ var version$1 = '4.81.0';
13122
13127
 
13123
13128
  function _typeof$j(o) {
13124
13129
  "@babel/helpers - typeof";
@@ -13975,6 +13980,50 @@
13975
13980
 
13976
13981
  var _extends$1 = unwrapExports(_extends_1);
13977
13982
 
13983
+ var objectWithoutPropertiesLoose = createCommonjsModule(function (module) {
13984
+ function _objectWithoutPropertiesLoose(r, e) {
13985
+ if (null == r) return {};
13986
+ var t = {};
13987
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
13988
+ if (-1 !== e.indexOf(n)) continue;
13989
+ t[n] = r[n];
13990
+ }
13991
+ return t;
13992
+ }
13993
+ module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;
13994
+ });
13995
+
13996
+ unwrapExports(objectWithoutPropertiesLoose);
13997
+
13998
+ var objectWithoutProperties = createCommonjsModule(function (module) {
13999
+ function _objectWithoutProperties(e, t) {
14000
+ if (null == e) return {};
14001
+ var o,
14002
+ r,
14003
+ i = objectWithoutPropertiesLoose(e, t);
14004
+ if (Object.getOwnPropertySymbols) {
14005
+ var n = Object.getOwnPropertySymbols(e);
14006
+ for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
14007
+ }
14008
+ return i;
14009
+ }
14010
+ module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports;
14011
+ });
14012
+
14013
+ var _objectWithoutProperties$4 = unwrapExports(objectWithoutProperties);
14014
+
14015
+ function cx() {
14016
+ for (var _len = arguments.length, classNames = new Array(_len), _key = 0; _key < _len; _key++) {
14017
+ classNames[_key] = arguments[_key];
14018
+ }
14019
+ return classNames.reduce(function (acc, className) {
14020
+ if (Array.isArray(className)) {
14021
+ return acc.concat(className);
14022
+ }
14023
+ return acc.concat([className]);
14024
+ }, []).filter(Boolean).join(' ');
14025
+ }
14026
+
13978
14027
  var _typeof_1 = createCommonjsModule(function (module) {
13979
14028
  function _typeof(o) {
13980
14029
  "@babel/helpers - typeof";
@@ -14033,50 +14082,6 @@
14033
14082
 
14034
14083
  var _defineProperty$i = unwrapExports(defineProperty);
14035
14084
 
14036
- var objectWithoutPropertiesLoose = createCommonjsModule(function (module) {
14037
- function _objectWithoutPropertiesLoose(r, e) {
14038
- if (null == r) return {};
14039
- var t = {};
14040
- for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
14041
- if (-1 !== e.indexOf(n)) continue;
14042
- t[n] = r[n];
14043
- }
14044
- return t;
14045
- }
14046
- module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;
14047
- });
14048
-
14049
- unwrapExports(objectWithoutPropertiesLoose);
14050
-
14051
- var objectWithoutProperties = createCommonjsModule(function (module) {
14052
- function _objectWithoutProperties(e, t) {
14053
- if (null == e) return {};
14054
- var o,
14055
- r,
14056
- i = objectWithoutPropertiesLoose(e, t);
14057
- if (Object.getOwnPropertySymbols) {
14058
- var n = Object.getOwnPropertySymbols(e);
14059
- for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
14060
- }
14061
- return i;
14062
- }
14063
- module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports;
14064
- });
14065
-
14066
- var _objectWithoutProperties$4 = unwrapExports(objectWithoutProperties);
14067
-
14068
- function cx() {
14069
- for (var _len = arguments.length, classNames = new Array(_len), _key = 0; _key < _len; _key++) {
14070
- classNames[_key] = arguments[_key];
14071
- }
14072
- return classNames.reduce(function (acc, className) {
14073
- if (Array.isArray(className)) {
14074
- return acc.concat(className);
14075
- }
14076
- return acc.concat([className]);
14077
- }, []).filter(Boolean).join(' ');
14078
- }
14079
-
14080
14085
  function createDefaultEmptyComponent(_ref) {
14081
14086
  var createElement = _ref.createElement,
14082
14087
  Fragment = _ref.Fragment;
@@ -14142,7 +14147,7 @@
14142
14147
  };
14143
14148
  }
14144
14149
 
14145
- var _excluded$3 = ["listRef", "nextButtonRef", "previousButtonRef", "carouselIdRef", "classNames", "itemComponent", "previousIconComponent", "nextIconComponent", "items", "translations", "sendEvent"];
14150
+ var _excluded$3 = ["listRef", "nextButtonRef", "previousButtonRef", "carouselIdRef", "canScrollLeft", "canScrollRight", "setCanScrollLeft", "setCanScrollRight", "classNames", "itemComponent", "previousIconComponent", "nextIconComponent", "headerComponent", "showNavigation", "items", "translations", "sendEvent"];
14146
14151
  function ownKeys$g(e, r) {
14147
14152
  var t = Object.keys(e);
14148
14153
  if (Object.getOwnPropertySymbols) {
@@ -14204,6 +14209,10 @@
14204
14209
  nextButtonRef = userProps.nextButtonRef,
14205
14210
  previousButtonRef = userProps.previousButtonRef,
14206
14211
  carouselIdRef = userProps.carouselIdRef,
14212
+ canScrollLeft = userProps.canScrollLeft,
14213
+ canScrollRight = userProps.canScrollRight,
14214
+ setCanScrollLeft = userProps.setCanScrollLeft,
14215
+ setCanScrollRight = userProps.setCanScrollRight,
14207
14216
  _userProps$classNames = userProps.classNames,
14208
14217
  classNames = _userProps$classNames === void 0 ? {} : _userProps$classNames,
14209
14218
  _userProps$itemCompon = userProps.itemComponent,
@@ -14215,6 +14224,9 @@
14215
14224
  PreviousIconComponent = _userProps$previousIc === void 0 ? PreviousIconDefaultComponent : _userProps$previousIc,
14216
14225
  _userProps$nextIconCo = userProps.nextIconComponent,
14217
14226
  NextIconComponent = _userProps$nextIconCo === void 0 ? NextIconDefaultComponent : _userProps$nextIconCo,
14227
+ HeaderComponent = userProps.headerComponent,
14228
+ _userProps$showNaviga = userProps.showNavigation,
14229
+ showNavigation = _userProps$showNaviga === void 0 ? true : _userProps$showNaviga,
14218
14230
  items = userProps.items,
14219
14231
  userTranslations = userProps.translations,
14220
14232
  sendEvent = userProps.sendEvent,
@@ -14245,18 +14257,31 @@
14245
14257
  }
14246
14258
  }
14247
14259
  function updateNavigationButtonsProps() {
14248
- if (!listRef.current || !previousButtonRef.current || !nextButtonRef.current) {
14260
+ if (!listRef.current) {
14249
14261
  return;
14250
14262
  }
14251
- previousButtonRef.current.hidden = listRef.current.scrollLeft <= 0;
14252
- nextButtonRef.current.hidden = listRef.current.scrollLeft + listRef.current.clientWidth >= listRef.current.scrollWidth;
14263
+ var isLeftHidden = listRef.current.scrollLeft <= 0;
14264
+ var isRightHidden = listRef.current.scrollLeft + listRef.current.clientWidth >= listRef.current.scrollWidth;
14265
+ setCanScrollLeft(!isLeftHidden);
14266
+ setCanScrollRight(!isRightHidden);
14267
+ if (previousButtonRef.current) {
14268
+ previousButtonRef.current.hidden = isLeftHidden;
14269
+ }
14270
+ if (nextButtonRef.current) {
14271
+ nextButtonRef.current.hidden = isRightHidden;
14272
+ }
14253
14273
  }
14254
14274
  if (items.length === 0) {
14255
14275
  return null;
14256
14276
  }
14257
14277
  return createElement("div", _extends$1({}, props, {
14258
14278
  className: cx(cssClasses.root)
14259
- }), createElement("button", {
14279
+ }), HeaderComponent && createElement(HeaderComponent, {
14280
+ canScrollLeft: canScrollLeft,
14281
+ canScrollRight: canScrollRight,
14282
+ scrollLeft: scrollLeft,
14283
+ scrollRight: scrollRight
14284
+ }), showNavigation && createElement("button", {
14260
14285
  ref: previousButtonRef,
14261
14286
  title: translations.previousButtonTitle,
14262
14287
  "aria-label": translations.previousButtonLabel,
@@ -14303,7 +14328,7 @@
14303
14328
  item: item,
14304
14329
  sendEvent: sendEvent
14305
14330
  }));
14306
- })), createElement("button", {
14331
+ })), showNavigation && createElement("button", {
14307
14332
  ref: nextButtonRef,
14308
14333
  title: translations.nextButtonTitle,
14309
14334
  "aria-label": translations.nextButtonLabel,
@@ -14861,16 +14886,77 @@
14861
14886
  };
14862
14887
  return _extends$2.apply(this, arguments);
14863
14888
  }
14889
+ function _slicedToArray$5(arr, i) {
14890
+ return _arrayWithHoles$5(arr) || _iterableToArrayLimit$5(arr, i) || _unsupportedIterableToArray$7(arr, i) || _nonIterableRest$5();
14891
+ }
14892
+ function _nonIterableRest$5() {
14893
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
14894
+ }
14895
+ function _unsupportedIterableToArray$7(o, minLen) {
14896
+ if (!o) return;
14897
+ if (typeof o === "string") return _arrayLikeToArray$7(o, minLen);
14898
+ var n = Object.prototype.toString.call(o).slice(8, -1);
14899
+ if (n === "Object" && o.constructor) n = o.constructor.name;
14900
+ if (n === "Map" || n === "Set") return Array.from(o);
14901
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$7(o, minLen);
14902
+ }
14903
+ function _arrayLikeToArray$7(arr, len) {
14904
+ if (len == null || len > arr.length) len = arr.length;
14905
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
14906
+ return arr2;
14907
+ }
14908
+ function _iterableToArrayLimit$5(r, l) {
14909
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
14910
+ if (null != t) {
14911
+ var e,
14912
+ n,
14913
+ i,
14914
+ u,
14915
+ a = [],
14916
+ f = !0,
14917
+ o = !1;
14918
+ try {
14919
+ if (i = (t = t.call(r)).next, 0 === l) {
14920
+ if (Object(t) !== t) return;
14921
+ f = !1;
14922
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
14923
+ } catch (r) {
14924
+ o = !0, n = r;
14925
+ } finally {
14926
+ try {
14927
+ if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
14928
+ } finally {
14929
+ if (o) throw n;
14930
+ }
14931
+ }
14932
+ return a;
14933
+ }
14934
+ }
14935
+ function _arrayWithHoles$5(arr) {
14936
+ if (Array.isArray(arr)) return arr;
14937
+ }
14864
14938
  var Carousel = createCarouselComponent({
14865
14939
  createElement: h,
14866
14940
  Fragment: p
14867
14941
  });
14868
14942
  function CarouselWithRefs(props) {
14943
+ var _useState = y$1(false),
14944
+ _useState2 = _slicedToArray$5(_useState, 2),
14945
+ canScrollLeft = _useState2[0],
14946
+ setCanScrollLeft = _useState2[1];
14947
+ var _useState3 = y$1(true),
14948
+ _useState4 = _slicedToArray$5(_useState3, 2),
14949
+ canScrollRight = _useState4[0],
14950
+ setCanScrollRight = _useState4[1];
14869
14951
  var carouselRefs = {
14870
14952
  listRef: A$1(null),
14871
14953
  nextButtonRef: A$1(null),
14872
14954
  previousButtonRef: A$1(null),
14873
- carouselIdRef: A$1(generateCarouselId())
14955
+ carouselIdRef: A$1(generateCarouselId()),
14956
+ canScrollLeft: canScrollLeft,
14957
+ canScrollRight: canScrollRight,
14958
+ setCanScrollLeft: setCanScrollLeft,
14959
+ setCanScrollRight: setCanScrollRight
14874
14960
  };
14875
14961
  return h(Carousel, _extends$2({}, carouselRefs, props));
14876
14962
  }
@@ -14878,7 +14964,9 @@
14878
14964
  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
14879
14965
  cssClasses = _ref.cssClasses,
14880
14966
  _ref$templates = _ref.templates,
14881
- templates = _ref$templates === void 0 ? {} : _ref$templates;
14967
+ templates = _ref$templates === void 0 ? {} : _ref$templates,
14968
+ _ref$showNavigation = _ref.showNavigation,
14969
+ showNavigation = _ref$showNavigation === void 0 ? true : _ref$showNavigation;
14882
14970
  return function CarouselTemplate(_ref2) {
14883
14971
  var items = _ref2.items,
14884
14972
  widgetTemplates = _ref2.templates,
@@ -14887,11 +14975,17 @@
14887
14975
  _ref2$sendEvent = _ref2.sendEvent,
14888
14976
  sendEvent = _ref2$sendEvent === void 0 ? function () {} : _ref2$sendEvent;
14889
14977
  var previous = templates.previous,
14890
- next = templates.next;
14978
+ next = templates.next,
14979
+ header = templates.header;
14891
14980
  return h(CarouselWithRefs, {
14892
14981
  items: items,
14893
14982
  sendEvent: sendEvent,
14894
14983
  itemComponent: widgetTemplates.item,
14984
+ headerComponent: header ? function (props) {
14985
+ return header(_objectSpread$k({
14986
+ html: m$1
14987
+ }, props));
14988
+ } : undefined,
14895
14989
  previousIconComponent: previous ? function () {
14896
14990
  return previous({
14897
14991
  html: m$1
@@ -14905,7 +14999,8 @@
14905
14999
  classNames: _objectSpread$k(_objectSpread$k({}, cssClasses), {
14906
15000
  list: cx(cssClasses === null || cssClasses === void 0 ? void 0 : cssClasses.list, widgetCssClasses === null || widgetCssClasses === void 0 ? void 0 : widgetCssClasses.list),
14907
15001
  item: cx(cssClasses === null || cssClasses === void 0 ? void 0 : cssClasses.item, widgetCssClasses === null || widgetCssClasses === void 0 ? void 0 : widgetCssClasses.item)
14908
- })
15002
+ }),
15003
+ showNavigation: showNavigation
14909
15004
  });
14910
15005
  };
14911
15006
  }
@@ -14969,26 +15064,26 @@
14969
15064
  return ("string" === r ? String : Number)(t);
14970
15065
  }
14971
15066
  function _toConsumableArray$3(arr) {
14972
- return _arrayWithoutHoles$3(arr) || _iterableToArray$3(arr) || _unsupportedIterableToArray$7(arr) || _nonIterableSpread$3();
15067
+ return _arrayWithoutHoles$3(arr) || _iterableToArray$3(arr) || _unsupportedIterableToArray$8(arr) || _nonIterableSpread$3();
14973
15068
  }
14974
15069
  function _nonIterableSpread$3() {
14975
15070
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
14976
15071
  }
14977
- function _unsupportedIterableToArray$7(o, minLen) {
15072
+ function _unsupportedIterableToArray$8(o, minLen) {
14978
15073
  if (!o) return;
14979
- if (typeof o === "string") return _arrayLikeToArray$7(o, minLen);
15074
+ if (typeof o === "string") return _arrayLikeToArray$8(o, minLen);
14980
15075
  var n = Object.prototype.toString.call(o).slice(8, -1);
14981
15076
  if (n === "Object" && o.constructor) n = o.constructor.name;
14982
15077
  if (n === "Map" || n === "Set") return Array.from(o);
14983
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$7(o, minLen);
15078
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$8(o, minLen);
14984
15079
  }
14985
15080
  function _iterableToArray$3(iter) {
14986
15081
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
14987
15082
  }
14988
15083
  function _arrayWithoutHoles$3(arr) {
14989
- if (Array.isArray(arr)) return _arrayLikeToArray$7(arr);
15084
+ if (Array.isArray(arr)) return _arrayLikeToArray$8(arr);
14990
15085
  }
14991
- function _arrayLikeToArray$7(arr, len) {
15086
+ function _arrayLikeToArray$8(arr, len) {
14992
15087
  if (len == null || len > arr.length) len = arr.length;
14993
15088
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
14994
15089
  return arr2;
@@ -16533,26 +16628,26 @@
16533
16628
  }, _typeof$p(o);
16534
16629
  }
16535
16630
  function _toConsumableArray$4(arr) {
16536
- return _arrayWithoutHoles$4(arr) || _iterableToArray$4(arr) || _unsupportedIterableToArray$8(arr) || _nonIterableSpread$4();
16631
+ return _arrayWithoutHoles$4(arr) || _iterableToArray$4(arr) || _unsupportedIterableToArray$9(arr) || _nonIterableSpread$4();
16537
16632
  }
16538
16633
  function _nonIterableSpread$4() {
16539
16634
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
16540
16635
  }
16541
- function _unsupportedIterableToArray$8(o, minLen) {
16636
+ function _unsupportedIterableToArray$9(o, minLen) {
16542
16637
  if (!o) return;
16543
- if (typeof o === "string") return _arrayLikeToArray$8(o, minLen);
16638
+ if (typeof o === "string") return _arrayLikeToArray$9(o, minLen);
16544
16639
  var n = Object.prototype.toString.call(o).slice(8, -1);
16545
16640
  if (n === "Object" && o.constructor) n = o.constructor.name;
16546
16641
  if (n === "Map" || n === "Set") return Array.from(o);
16547
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$8(o, minLen);
16642
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$9(o, minLen);
16548
16643
  }
16549
16644
  function _iterableToArray$4(iter) {
16550
16645
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
16551
16646
  }
16552
16647
  function _arrayWithoutHoles$4(arr) {
16553
- if (Array.isArray(arr)) return _arrayLikeToArray$8(arr);
16648
+ if (Array.isArray(arr)) return _arrayLikeToArray$9(arr);
16554
16649
  }
16555
- function _arrayLikeToArray$8(arr, len) {
16650
+ function _arrayLikeToArray$9(arr, len) {
16556
16651
  if (len == null || len > arr.length) len = arr.length;
16557
16652
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
16558
16653
  return arr2;
@@ -17062,26 +17157,26 @@
17062
17157
  }
17063
17158
  return ("string" === r ? String : Number)(t);
17064
17159
  }
17065
- function _slicedToArray$5(arr, i) {
17066
- return _arrayWithHoles$5(arr) || _iterableToArrayLimit$5(arr, i) || _unsupportedIterableToArray$9(arr, i) || _nonIterableRest$5();
17160
+ function _slicedToArray$6(arr, i) {
17161
+ return _arrayWithHoles$6(arr) || _iterableToArrayLimit$6(arr, i) || _unsupportedIterableToArray$a(arr, i) || _nonIterableRest$6();
17067
17162
  }
17068
- function _nonIterableRest$5() {
17163
+ function _nonIterableRest$6() {
17069
17164
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
17070
17165
  }
17071
- function _unsupportedIterableToArray$9(o, minLen) {
17166
+ function _unsupportedIterableToArray$a(o, minLen) {
17072
17167
  if (!o) return;
17073
- if (typeof o === "string") return _arrayLikeToArray$9(o, minLen);
17168
+ if (typeof o === "string") return _arrayLikeToArray$a(o, minLen);
17074
17169
  var n = Object.prototype.toString.call(o).slice(8, -1);
17075
17170
  if (n === "Object" && o.constructor) n = o.constructor.name;
17076
17171
  if (n === "Map" || n === "Set") return Array.from(o);
17077
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$9(o, minLen);
17172
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$a(o, minLen);
17078
17173
  }
17079
- function _arrayLikeToArray$9(arr, len) {
17174
+ function _arrayLikeToArray$a(arr, len) {
17080
17175
  if (len == null || len > arr.length) len = arr.length;
17081
17176
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
17082
17177
  return arr2;
17083
17178
  }
17084
- function _iterableToArrayLimit$5(r, l) {
17179
+ function _iterableToArrayLimit$6(r, l) {
17085
17180
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
17086
17181
  if (null != t) {
17087
17182
  var e,
@@ -17108,7 +17203,7 @@
17108
17203
  return a;
17109
17204
  }
17110
17205
  }
17111
- function _arrayWithHoles$5(arr) {
17206
+ function _arrayWithHoles$6(arr) {
17112
17207
  if (Array.isArray(arr)) return arr;
17113
17208
  }
17114
17209
  var withUsage$3 = createDocumentationMessageGenerator({
@@ -17133,7 +17228,7 @@
17133
17228
  if (!attributes || !Array.isArray(attributes) || attributes.length === 0) {
17134
17229
  throw new Error(withUsage$3('The `attributes` option expects an array of strings.'));
17135
17230
  }
17136
- var _attributes = _slicedToArray$5(attributes, 1),
17231
+ var _attributes = _slicedToArray$6(attributes, 1),
17137
17232
  hierarchicalFacetName = _attributes[0];
17138
17233
  function getRefinedState(state, facetValue) {
17139
17234
  if (!facetValue) {
@@ -17478,26 +17573,26 @@
17478
17573
  }, _typeof$t(o);
17479
17574
  }
17480
17575
  function _toConsumableArray$5(arr) {
17481
- return _arrayWithoutHoles$5(arr) || _iterableToArray$5(arr) || _unsupportedIterableToArray$a(arr) || _nonIterableSpread$5();
17576
+ return _arrayWithoutHoles$5(arr) || _iterableToArray$5(arr) || _unsupportedIterableToArray$b(arr) || _nonIterableSpread$5();
17482
17577
  }
17483
17578
  function _nonIterableSpread$5() {
17484
17579
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
17485
17580
  }
17486
- function _unsupportedIterableToArray$a(o, minLen) {
17581
+ function _unsupportedIterableToArray$b(o, minLen) {
17487
17582
  if (!o) return;
17488
- if (typeof o === "string") return _arrayLikeToArray$a(o, minLen);
17583
+ if (typeof o === "string") return _arrayLikeToArray$b(o, minLen);
17489
17584
  var n = Object.prototype.toString.call(o).slice(8, -1);
17490
17585
  if (n === "Object" && o.constructor) n = o.constructor.name;
17491
17586
  if (n === "Map" || n === "Set") return Array.from(o);
17492
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$a(o, minLen);
17587
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$b(o, minLen);
17493
17588
  }
17494
17589
  function _iterableToArray$5(iter) {
17495
17590
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
17496
17591
  }
17497
17592
  function _arrayWithoutHoles$5(arr) {
17498
- if (Array.isArray(arr)) return _arrayLikeToArray$a(arr);
17593
+ if (Array.isArray(arr)) return _arrayLikeToArray$b(arr);
17499
17594
  }
17500
- function _arrayLikeToArray$a(arr, len) {
17595
+ function _arrayLikeToArray$b(arr, len) {
17501
17596
  if (len == null || len > arr.length) len = arr.length;
17502
17597
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
17503
17598
  return arr2;
@@ -17951,26 +18046,26 @@
17951
18046
  }, _typeof$w(o);
17952
18047
  }
17953
18048
  function _toConsumableArray$6(arr) {
17954
- return _arrayWithoutHoles$6(arr) || _iterableToArray$6(arr) || _unsupportedIterableToArray$b(arr) || _nonIterableSpread$6();
18049
+ return _arrayWithoutHoles$6(arr) || _iterableToArray$6(arr) || _unsupportedIterableToArray$c(arr) || _nonIterableSpread$6();
17955
18050
  }
17956
18051
  function _nonIterableSpread$6() {
17957
18052
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
17958
18053
  }
17959
- function _unsupportedIterableToArray$b(o, minLen) {
18054
+ function _unsupportedIterableToArray$c(o, minLen) {
17960
18055
  if (!o) return;
17961
- if (typeof o === "string") return _arrayLikeToArray$b(o, minLen);
18056
+ if (typeof o === "string") return _arrayLikeToArray$c(o, minLen);
17962
18057
  var n = Object.prototype.toString.call(o).slice(8, -1);
17963
18058
  if (n === "Object" && o.constructor) n = o.constructor.name;
17964
18059
  if (n === "Map" || n === "Set") return Array.from(o);
17965
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$b(o, minLen);
18060
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$c(o, minLen);
17966
18061
  }
17967
18062
  function _iterableToArray$6(iter) {
17968
18063
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
17969
18064
  }
17970
18065
  function _arrayWithoutHoles$6(arr) {
17971
- if (Array.isArray(arr)) return _arrayLikeToArray$b(arr);
18066
+ if (Array.isArray(arr)) return _arrayLikeToArray$c(arr);
17972
18067
  }
17973
- function _arrayLikeToArray$b(arr, len) {
18068
+ function _arrayLikeToArray$c(arr, len) {
17974
18069
  if (len == null || len > arr.length) len = arr.length;
17975
18070
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
17976
18071
  return arr2;
@@ -19208,26 +19303,26 @@
19208
19303
  }
19209
19304
  return target;
19210
19305
  }
19211
- function _slicedToArray$6(arr, i) {
19212
- return _arrayWithHoles$6(arr) || _iterableToArrayLimit$6(arr, i) || _unsupportedIterableToArray$c(arr, i) || _nonIterableRest$6();
19306
+ function _slicedToArray$7(arr, i) {
19307
+ return _arrayWithHoles$7(arr) || _iterableToArrayLimit$7(arr, i) || _unsupportedIterableToArray$d(arr, i) || _nonIterableRest$7();
19213
19308
  }
19214
- function _nonIterableRest$6() {
19309
+ function _nonIterableRest$7() {
19215
19310
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
19216
19311
  }
19217
- function _unsupportedIterableToArray$c(o, minLen) {
19312
+ function _unsupportedIterableToArray$d(o, minLen) {
19218
19313
  if (!o) return;
19219
- if (typeof o === "string") return _arrayLikeToArray$c(o, minLen);
19314
+ if (typeof o === "string") return _arrayLikeToArray$d(o, minLen);
19220
19315
  var n = Object.prototype.toString.call(o).slice(8, -1);
19221
19316
  if (n === "Object" && o.constructor) n = o.constructor.name;
19222
19317
  if (n === "Map" || n === "Set") return Array.from(o);
19223
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$c(o, minLen);
19318
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$d(o, minLen);
19224
19319
  }
19225
- function _arrayLikeToArray$c(arr, len) {
19320
+ function _arrayLikeToArray$d(arr, len) {
19226
19321
  if (len == null || len > arr.length) len = arr.length;
19227
19322
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
19228
19323
  return arr2;
19229
19324
  }
19230
- function _iterableToArrayLimit$6(r, l) {
19325
+ function _iterableToArrayLimit$7(r, l) {
19231
19326
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
19232
19327
  if (null != t) {
19233
19328
  var e,
@@ -19254,7 +19349,7 @@
19254
19349
  return a;
19255
19350
  }
19256
19351
  }
19257
- function _arrayWithHoles$6(arr) {
19352
+ function _arrayWithHoles$7(arr) {
19258
19353
  if (Array.isArray(arr)) return arr;
19259
19354
  }
19260
19355
  var withUsage$9 = createDocumentationMessageGenerator({
@@ -19308,7 +19403,7 @@
19308
19403
  // we need to provide a hierarchicalFacet name for the search state
19309
19404
  // so that we can always map $hierarchicalFacetName => real attributes
19310
19405
  // we use the first attribute name
19311
- var _attributes = _slicedToArray$6(attributes, 1),
19406
+ var _attributes = _slicedToArray$7(attributes, 1),
19312
19407
  hierarchicalFacetName = _attributes[0];
19313
19408
  var sendEvent;
19314
19409
 
@@ -20393,26 +20488,26 @@
20393
20488
  }, _typeof$F(o);
20394
20489
  }
20395
20490
  function _toConsumableArray$7(arr) {
20396
- return _arrayWithoutHoles$7(arr) || _iterableToArray$7(arr) || _unsupportedIterableToArray$d(arr) || _nonIterableSpread$7();
20491
+ return _arrayWithoutHoles$7(arr) || _iterableToArray$7(arr) || _unsupportedIterableToArray$e(arr) || _nonIterableSpread$7();
20397
20492
  }
20398
20493
  function _nonIterableSpread$7() {
20399
20494
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
20400
20495
  }
20401
- function _unsupportedIterableToArray$d(o, minLen) {
20496
+ function _unsupportedIterableToArray$e(o, minLen) {
20402
20497
  if (!o) return;
20403
- if (typeof o === "string") return _arrayLikeToArray$d(o, minLen);
20498
+ if (typeof o === "string") return _arrayLikeToArray$e(o, minLen);
20404
20499
  var n = Object.prototype.toString.call(o).slice(8, -1);
20405
20500
  if (n === "Object" && o.constructor) n = o.constructor.name;
20406
20501
  if (n === "Map" || n === "Set") return Array.from(o);
20407
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$d(o, minLen);
20502
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$e(o, minLen);
20408
20503
  }
20409
20504
  function _iterableToArray$7(iter) {
20410
20505
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
20411
20506
  }
20412
20507
  function _arrayWithoutHoles$7(arr) {
20413
- if (Array.isArray(arr)) return _arrayLikeToArray$d(arr);
20508
+ if (Array.isArray(arr)) return _arrayLikeToArray$e(arr);
20414
20509
  }
20415
- function _arrayLikeToArray$d(arr, len) {
20510
+ function _arrayLikeToArray$e(arr, len) {
20416
20511
  if (len == null || len > arr.length) len = arr.length;
20417
20512
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
20418
20513
  return arr2;
@@ -20973,26 +21068,26 @@
20973
21068
  return ("string" === r ? String : Number)(t);
20974
21069
  }
20975
21070
  function _toConsumableArray$8(arr) {
20976
- return _arrayWithoutHoles$8(arr) || _iterableToArray$8(arr) || _unsupportedIterableToArray$e(arr) || _nonIterableSpread$8();
21071
+ return _arrayWithoutHoles$8(arr) || _iterableToArray$8(arr) || _unsupportedIterableToArray$f(arr) || _nonIterableSpread$8();
20977
21072
  }
20978
21073
  function _nonIterableSpread$8() {
20979
21074
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
20980
21075
  }
20981
- function _unsupportedIterableToArray$e(o, minLen) {
21076
+ function _unsupportedIterableToArray$f(o, minLen) {
20982
21077
  if (!o) return;
20983
- if (typeof o === "string") return _arrayLikeToArray$e(o, minLen);
21078
+ if (typeof o === "string") return _arrayLikeToArray$f(o, minLen);
20984
21079
  var n = Object.prototype.toString.call(o).slice(8, -1);
20985
21080
  if (n === "Object" && o.constructor) n = o.constructor.name;
20986
21081
  if (n === "Map" || n === "Set") return Array.from(o);
20987
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$e(o, minLen);
21082
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$f(o, minLen);
20988
21083
  }
20989
21084
  function _iterableToArray$8(iter) {
20990
21085
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
20991
21086
  }
20992
21087
  function _arrayWithoutHoles$8(arr) {
20993
- if (Array.isArray(arr)) return _arrayLikeToArray$e(arr);
21088
+ if (Array.isArray(arr)) return _arrayLikeToArray$f(arr);
20994
21089
  }
20995
- function _arrayLikeToArray$e(arr, len) {
21090
+ function _arrayLikeToArray$f(arr, len) {
20996
21091
  if (len == null || len > arr.length) len = arr.length;
20997
21092
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
20998
21093
  return arr2;
@@ -21508,26 +21603,26 @@
21508
21603
  }
21509
21604
  return target;
21510
21605
  }
21511
- function _slicedToArray$7(arr, i) {
21512
- return _arrayWithHoles$7(arr) || _iterableToArrayLimit$7(arr, i) || _unsupportedIterableToArray$f(arr, i) || _nonIterableRest$7();
21606
+ function _slicedToArray$8(arr, i) {
21607
+ return _arrayWithHoles$8(arr) || _iterableToArrayLimit$8(arr, i) || _unsupportedIterableToArray$g(arr, i) || _nonIterableRest$8();
21513
21608
  }
21514
- function _nonIterableRest$7() {
21609
+ function _nonIterableRest$8() {
21515
21610
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
21516
21611
  }
21517
- function _unsupportedIterableToArray$f(o, minLen) {
21612
+ function _unsupportedIterableToArray$g(o, minLen) {
21518
21613
  if (!o) return;
21519
- if (typeof o === "string") return _arrayLikeToArray$f(o, minLen);
21614
+ if (typeof o === "string") return _arrayLikeToArray$g(o, minLen);
21520
21615
  var n = Object.prototype.toString.call(o).slice(8, -1);
21521
21616
  if (n === "Object" && o.constructor) n = o.constructor.name;
21522
21617
  if (n === "Map" || n === "Set") return Array.from(o);
21523
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$f(o, minLen);
21618
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$g(o, minLen);
21524
21619
  }
21525
- function _arrayLikeToArray$f(arr, len) {
21620
+ function _arrayLikeToArray$g(arr, len) {
21526
21621
  if (len == null || len > arr.length) len = arr.length;
21527
21622
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
21528
21623
  return arr2;
21529
21624
  }
21530
- function _iterableToArrayLimit$7(r, l) {
21625
+ function _iterableToArrayLimit$8(r, l) {
21531
21626
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
21532
21627
  if (null != t) {
21533
21628
  var e,
@@ -21554,7 +21649,7 @@
21554
21649
  return a;
21555
21650
  }
21556
21651
  }
21557
- function _arrayWithHoles$7(arr) {
21652
+ function _arrayWithHoles$8(arr) {
21558
21653
  if (Array.isArray(arr)) return arr;
21559
21654
  }
21560
21655
  function ownKeys$J(e, r) {
@@ -21717,7 +21812,7 @@
21717
21812
  if (!_refine) {
21718
21813
  _refine = function _refine(facetValue) {
21719
21814
  var _helper$getHierarchic = helper.getHierarchicalFacetBreadcrumb(attribute),
21720
- _helper$getHierarchic2 = _slicedToArray$7(_helper$getHierarchic, 1),
21815
+ _helper$getHierarchic2 = _slicedToArray$8(_helper$getHierarchic, 1),
21721
21816
  refinedItem = _helper$getHierarchic2[0];
21722
21817
  sendEvent('click:internal', facetValue ? facetValue : refinedItem);
21723
21818
  helper.toggleFacetRefinement(attribute, facetValue ? facetValue : refinedItem).search();
@@ -21761,7 +21856,7 @@
21761
21856
  getWidgetUiState: function getWidgetUiState(uiState, _ref4) {
21762
21857
  var searchParameters = _ref4.searchParameters;
21763
21858
  var _searchParameters$get = searchParameters.getHierarchicalFacetBreadcrumb(attribute),
21764
- _searchParameters$get2 = _slicedToArray$7(_searchParameters$get, 1),
21859
+ _searchParameters$get2 = _slicedToArray$8(_searchParameters$get, 1),
21765
21860
  value = _searchParameters$get2[0];
21766
21861
  return removeEmptyRefinementsFromUiState$2(_objectSpread$I(_objectSpread$I({}, uiState), {}, {
21767
21862
  menu: _objectSpread$I(_objectSpread$I({}, uiState.menu), {}, _defineProperty$J({}, attribute, value))
@@ -22009,7 +22104,7 @@
22009
22104
  function _createForOfIteratorHelper(o, allowArrayLike) {
22010
22105
  var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
22011
22106
  if (!it) {
22012
- if (Array.isArray(o) || (it = _unsupportedIterableToArray$g(o)) || allowArrayLike && o && typeof o.length === "number") {
22107
+ if (Array.isArray(o) || (it = _unsupportedIterableToArray$h(o)) || allowArrayLike && o && typeof o.length === "number") {
22013
22108
  if (it) o = it;
22014
22109
  var i = 0;
22015
22110
  var F = function F() {};
@@ -22057,26 +22152,26 @@
22057
22152
  }
22058
22153
  };
22059
22154
  }
22060
- function _slicedToArray$8(arr, i) {
22061
- return _arrayWithHoles$8(arr) || _iterableToArrayLimit$8(arr, i) || _unsupportedIterableToArray$g(arr, i) || _nonIterableRest$8();
22155
+ function _slicedToArray$9(arr, i) {
22156
+ return _arrayWithHoles$9(arr) || _iterableToArrayLimit$9(arr, i) || _unsupportedIterableToArray$h(arr, i) || _nonIterableRest$9();
22062
22157
  }
22063
- function _nonIterableRest$8() {
22158
+ function _nonIterableRest$9() {
22064
22159
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
22065
22160
  }
22066
- function _unsupportedIterableToArray$g(o, minLen) {
22161
+ function _unsupportedIterableToArray$h(o, minLen) {
22067
22162
  if (!o) return;
22068
- if (typeof o === "string") return _arrayLikeToArray$g(o, minLen);
22163
+ if (typeof o === "string") return _arrayLikeToArray$h(o, minLen);
22069
22164
  var n = Object.prototype.toString.call(o).slice(8, -1);
22070
22165
  if (n === "Object" && o.constructor) n = o.constructor.name;
22071
22166
  if (n === "Map" || n === "Set") return Array.from(o);
22072
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$g(o, minLen);
22167
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$h(o, minLen);
22073
22168
  }
22074
- function _arrayLikeToArray$g(arr, len) {
22169
+ function _arrayLikeToArray$h(arr, len) {
22075
22170
  if (len == null || len > arr.length) len = arr.length;
22076
22171
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
22077
22172
  return arr2;
22078
22173
  }
22079
- function _iterableToArrayLimit$8(r, l) {
22174
+ function _iterableToArrayLimit$9(r, l) {
22080
22175
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
22081
22176
  if (null != t) {
22082
22177
  var e,
@@ -22103,7 +22198,7 @@
22103
22198
  return a;
22104
22199
  }
22105
22200
  }
22106
- function _arrayWithHoles$8(arr) {
22201
+ function _arrayWithHoles$9(arr) {
22107
22202
  if (Array.isArray(arr)) return arr;
22108
22203
  }
22109
22204
  function ownKeys$L(e, r) {
@@ -22256,7 +22351,7 @@
22256
22351
  return withoutRefinements.addNumericRefinement(attribute, '=', Number(value));
22257
22352
  }
22258
22353
  var _value$split$map = value.split(':').map(parseFloat),
22259
- _value$split$map2 = _slicedToArray$8(_value$split$map, 2),
22354
+ _value$split$map2 = _slicedToArray$9(_value$split$map, 2),
22260
22355
  min = _value$split$map2[0],
22261
22356
  max = _value$split$map2[1];
22262
22357
  var withMinRefinement = isFiniteNumber(min) ? withoutRefinements.addNumericRefinement(attribute, '>=', min) : withoutRefinements;
@@ -23197,26 +23292,26 @@
23197
23292
  });
23198
23293
  };
23199
23294
 
23200
- function _slicedToArray$9(arr, i) {
23201
- return _arrayWithHoles$9(arr) || _iterableToArrayLimit$9(arr, i) || _unsupportedIterableToArray$h(arr, i) || _nonIterableRest$9();
23295
+ function _slicedToArray$a(arr, i) {
23296
+ return _arrayWithHoles$a(arr) || _iterableToArrayLimit$a(arr, i) || _unsupportedIterableToArray$i(arr, i) || _nonIterableRest$a();
23202
23297
  }
23203
- function _nonIterableRest$9() {
23298
+ function _nonIterableRest$a() {
23204
23299
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
23205
23300
  }
23206
- function _unsupportedIterableToArray$h(o, minLen) {
23301
+ function _unsupportedIterableToArray$i(o, minLen) {
23207
23302
  if (!o) return;
23208
- if (typeof o === "string") return _arrayLikeToArray$h(o, minLen);
23303
+ if (typeof o === "string") return _arrayLikeToArray$i(o, minLen);
23209
23304
  var n = Object.prototype.toString.call(o).slice(8, -1);
23210
23305
  if (n === "Object" && o.constructor) n = o.constructor.name;
23211
23306
  if (n === "Map" || n === "Set") return Array.from(o);
23212
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$h(o, minLen);
23307
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$i(o, minLen);
23213
23308
  }
23214
- function _arrayLikeToArray$h(arr, len) {
23309
+ function _arrayLikeToArray$i(arr, len) {
23215
23310
  if (len == null || len > arr.length) len = arr.length;
23216
23311
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
23217
23312
  return arr2;
23218
23313
  }
23219
- function _iterableToArrayLimit$9(r, l) {
23314
+ function _iterableToArrayLimit$a(r, l) {
23220
23315
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
23221
23316
  if (null != t) {
23222
23317
  var e,
@@ -23243,16 +23338,16 @@
23243
23338
  return a;
23244
23339
  }
23245
23340
  }
23246
- function _arrayWithHoles$9(arr) {
23341
+ function _arrayWithHoles$a(arr) {
23247
23342
  if (Array.isArray(arr)) return arr;
23248
23343
  }
23249
23344
  function Panel(props) {
23250
23345
  var _useState = y$1(props.isCollapsed),
23251
- _useState2 = _slicedToArray$9(_useState, 2),
23346
+ _useState2 = _slicedToArray$a(_useState, 2),
23252
23347
  isCollapsed = _useState2[0],
23253
23348
  setIsCollapsed = _useState2[1];
23254
23349
  var _useState3 = y$1(false),
23255
- _useState4 = _slicedToArray$9(_useState3, 2),
23350
+ _useState4 = _slicedToArray$a(_useState3, 2),
23256
23351
  isControlled = _useState4[0],
23257
23352
  setIsControlled = _useState4[1];
23258
23353
  var bodyRef = A$1(null);
@@ -24210,26 +24305,26 @@
24210
24305
  }
24211
24306
  return ("string" === r ? String : Number)(t);
24212
24307
  }
24213
- function _slicedToArray$a(arr, i) {
24214
- return _arrayWithHoles$a(arr) || _iterableToArrayLimit$a(arr, i) || _unsupportedIterableToArray$i(arr, i) || _nonIterableRest$a();
24308
+ function _slicedToArray$b(arr, i) {
24309
+ return _arrayWithHoles$b(arr) || _iterableToArrayLimit$b(arr, i) || _unsupportedIterableToArray$j(arr, i) || _nonIterableRest$b();
24215
24310
  }
24216
- function _nonIterableRest$a() {
24311
+ function _nonIterableRest$b() {
24217
24312
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
24218
24313
  }
24219
- function _unsupportedIterableToArray$i(o, minLen) {
24314
+ function _unsupportedIterableToArray$j(o, minLen) {
24220
24315
  if (!o) return;
24221
- if (typeof o === "string") return _arrayLikeToArray$i(o, minLen);
24316
+ if (typeof o === "string") return _arrayLikeToArray$j(o, minLen);
24222
24317
  var n = Object.prototype.toString.call(o).slice(8, -1);
24223
24318
  if (n === "Object" && o.constructor) n = o.constructor.name;
24224
24319
  if (n === "Map" || n === "Set") return Array.from(o);
24225
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$i(o, minLen);
24320
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$j(o, minLen);
24226
24321
  }
24227
- function _arrayLikeToArray$i(arr, len) {
24322
+ function _arrayLikeToArray$j(arr, len) {
24228
24323
  if (len == null || len > arr.length) len = arr.length;
24229
24324
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
24230
24325
  return arr2;
24231
24326
  }
24232
- function _iterableToArrayLimit$a(r, l) {
24327
+ function _iterableToArrayLimit$b(r, l) {
24233
24328
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
24234
24329
  if (null != t) {
24235
24330
  var e,
@@ -24256,7 +24351,7 @@
24256
24351
  return a;
24257
24352
  }
24258
24353
  }
24259
- function _arrayWithHoles$a(arr) {
24354
+ function _arrayWithHoles$b(arr) {
24260
24355
  if (Array.isArray(arr)) return arr;
24261
24356
  }
24262
24357
  var withUsage$q = createDocumentationMessageGenerator({
@@ -24323,10 +24418,10 @@
24323
24418
  var currentRangeMin = currentRange.min,
24324
24419
  currentRangeMax = currentRange.max;
24325
24420
  var _ref3 = resolvedState.getNumericRefinement(attribute, '>=') || [],
24326
- _ref4 = _slicedToArray$a(_ref3, 1),
24421
+ _ref4 = _slicedToArray$b(_ref3, 1),
24327
24422
  min = _ref4[0];
24328
24423
  var _ref5 = resolvedState.getNumericRefinement(attribute, '<=') || [],
24329
- _ref6 = _slicedToArray$a(_ref5, 1),
24424
+ _ref6 = _slicedToArray$b(_ref5, 1),
24330
24425
  max = _ref6[0];
24331
24426
  var isResetMin = nextMin === undefined || nextMin === '';
24332
24427
  var isResetMax = nextMax === undefined || nextMax === '';
@@ -24406,10 +24501,10 @@
24406
24501
  }
24407
24502
  function _getCurrentRefinement(helper) {
24408
24503
  var _ref7 = helper.getNumericRefinement(attribute, '>=') || [],
24409
- _ref8 = _slicedToArray$a(_ref7, 1),
24504
+ _ref8 = _slicedToArray$b(_ref7, 1),
24410
24505
  minValue = _ref8[0];
24411
24506
  var _ref9 = helper.getNumericRefinement(attribute, '<=') || [],
24412
- _ref10 = _slicedToArray$a(_ref9, 1),
24507
+ _ref10 = _slicedToArray$b(_ref9, 1),
24413
24508
  maxValue = _ref10[0];
24414
24509
  var min = isFiniteNumber(minValue) ? minValue : -Infinity;
24415
24510
  var max = isFiniteNumber(maxValue) ? maxValue : Infinity;
@@ -24418,7 +24513,7 @@
24418
24513
  function _refine(helper, currentRange) {
24419
24514
  return function () {
24420
24515
  var _ref11 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [undefined, undefined],
24421
- _ref12 = _slicedToArray$a(_ref11, 2),
24516
+ _ref12 = _slicedToArray$b(_ref11, 2),
24422
24517
  nextMin = _ref12[0],
24423
24518
  nextMax = _ref12[1];
24424
24519
  var refinedState = getRefinedState(helper, currentRange, nextMin, nextMax);
@@ -24517,7 +24612,7 @@
24517
24612
  return widgetSearchParameters;
24518
24613
  }
24519
24614
  var _value$split$map = value.split(':').map(parseFloat),
24520
- _value$split$map2 = _slicedToArray$a(_value$split$map, 2),
24615
+ _value$split$map2 = _slicedToArray$b(_value$split$map, 2),
24521
24616
  lowerBound = _value$split$map2[0],
24522
24617
  upperBound = _value$split$map2[1];
24523
24618
  if (isFiniteNumber(lowerBound) && (!isFiniteNumber(minBound) || minBound < lowerBound)) {
@@ -24592,26 +24687,26 @@
24592
24687
  }
24593
24688
  return ("string" === r ? String : Number)(t);
24594
24689
  }
24595
- function _slicedToArray$b(arr, i) {
24596
- return _arrayWithHoles$b(arr) || _iterableToArrayLimit$b(arr, i) || _unsupportedIterableToArray$j(arr, i) || _nonIterableRest$b();
24690
+ function _slicedToArray$c(arr, i) {
24691
+ return _arrayWithHoles$c(arr) || _iterableToArrayLimit$c(arr, i) || _unsupportedIterableToArray$k(arr, i) || _nonIterableRest$c();
24597
24692
  }
24598
- function _nonIterableRest$b() {
24693
+ function _nonIterableRest$c() {
24599
24694
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
24600
24695
  }
24601
- function _unsupportedIterableToArray$j(o, minLen) {
24696
+ function _unsupportedIterableToArray$k(o, minLen) {
24602
24697
  if (!o) return;
24603
- if (typeof o === "string") return _arrayLikeToArray$j(o, minLen);
24698
+ if (typeof o === "string") return _arrayLikeToArray$k(o, minLen);
24604
24699
  var n = Object.prototype.toString.call(o).slice(8, -1);
24605
24700
  if (n === "Object" && o.constructor) n = o.constructor.name;
24606
24701
  if (n === "Map" || n === "Set") return Array.from(o);
24607
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$j(o, minLen);
24702
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$k(o, minLen);
24608
24703
  }
24609
- function _arrayLikeToArray$j(arr, len) {
24704
+ function _arrayLikeToArray$k(arr, len) {
24610
24705
  if (len == null || len > arr.length) len = arr.length;
24611
24706
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
24612
24707
  return arr2;
24613
24708
  }
24614
- function _iterableToArrayLimit$b(r, l) {
24709
+ function _iterableToArrayLimit$c(r, l) {
24615
24710
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
24616
24711
  if (null != t) {
24617
24712
  var e,
@@ -24638,7 +24733,7 @@
24638
24733
  return a;
24639
24734
  }
24640
24735
  }
24641
- function _arrayWithHoles$b(arr) {
24736
+ function _arrayWithHoles$c(arr) {
24642
24737
  if (Array.isArray(arr)) return arr;
24643
24738
  }
24644
24739
  var withUsage$r = createDocumentationMessageGenerator({
@@ -24674,7 +24769,7 @@
24674
24769
  }
24675
24770
  var rangeMin = range.min,
24676
24771
  rangeMax = range.max;
24677
- var _start = _slicedToArray$b(start, 2),
24772
+ var _start = _slicedToArray$c(start, 2),
24678
24773
  minValue = _start[0],
24679
24774
  maxValue = _start[1];
24680
24775
  var step = 1 / Math.pow(10, widgetParams.precision || 0);
@@ -25511,26 +25606,26 @@
25511
25606
  });
25512
25607
 
25513
25608
  function _toConsumableArray$9(arr) {
25514
- return _arrayWithoutHoles$9(arr) || _iterableToArray$9(arr) || _unsupportedIterableToArray$k(arr) || _nonIterableSpread$9();
25609
+ return _arrayWithoutHoles$9(arr) || _iterableToArray$9(arr) || _unsupportedIterableToArray$l(arr) || _nonIterableSpread$9();
25515
25610
  }
25516
25611
  function _nonIterableSpread$9() {
25517
25612
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
25518
25613
  }
25519
- function _unsupportedIterableToArray$k(o, minLen) {
25614
+ function _unsupportedIterableToArray$l(o, minLen) {
25520
25615
  if (!o) return;
25521
- if (typeof o === "string") return _arrayLikeToArray$k(o, minLen);
25616
+ if (typeof o === "string") return _arrayLikeToArray$l(o, minLen);
25522
25617
  var n = Object.prototype.toString.call(o).slice(8, -1);
25523
25618
  if (n === "Object" && o.constructor) n = o.constructor.name;
25524
25619
  if (n === "Map" || n === "Set") return Array.from(o);
25525
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$k(o, minLen);
25620
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$l(o, minLen);
25526
25621
  }
25527
25622
  function _iterableToArray$9(iter) {
25528
25623
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
25529
25624
  }
25530
25625
  function _arrayWithoutHoles$9(arr) {
25531
- if (Array.isArray(arr)) return _arrayLikeToArray$k(arr);
25626
+ if (Array.isArray(arr)) return _arrayLikeToArray$l(arr);
25532
25627
  }
25533
- function _arrayLikeToArray$k(arr, len) {
25628
+ function _arrayLikeToArray$l(arr, len) {
25534
25629
  if (len == null || len > arr.length) len = arr.length;
25535
25630
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
25536
25631
  return arr2;
@@ -25852,26 +25947,26 @@
25852
25947
  }
25853
25948
  return ("string" === r ? String : Number)(t);
25854
25949
  }
25855
- function _slicedToArray$c(arr, i) {
25856
- return _arrayWithHoles$c(arr) || _iterableToArrayLimit$c(arr, i) || _unsupportedIterableToArray$l(arr, i) || _nonIterableRest$c();
25950
+ function _slicedToArray$d(arr, i) {
25951
+ return _arrayWithHoles$d(arr) || _iterableToArrayLimit$d(arr, i) || _unsupportedIterableToArray$m(arr, i) || _nonIterableRest$d();
25857
25952
  }
25858
- function _nonIterableRest$c() {
25953
+ function _nonIterableRest$d() {
25859
25954
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
25860
25955
  }
25861
- function _unsupportedIterableToArray$l(o, minLen) {
25956
+ function _unsupportedIterableToArray$m(o, minLen) {
25862
25957
  if (!o) return;
25863
- if (typeof o === "string") return _arrayLikeToArray$l(o, minLen);
25958
+ if (typeof o === "string") return _arrayLikeToArray$m(o, minLen);
25864
25959
  var n = Object.prototype.toString.call(o).slice(8, -1);
25865
25960
  if (n === "Object" && o.constructor) n = o.constructor.name;
25866
25961
  if (n === "Map" || n === "Set") return Array.from(o);
25867
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$l(o, minLen);
25962
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$m(o, minLen);
25868
25963
  }
25869
- function _arrayLikeToArray$l(arr, len) {
25964
+ function _arrayLikeToArray$m(arr, len) {
25870
25965
  if (len == null || len > arr.length) len = arr.length;
25871
25966
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
25872
25967
  return arr2;
25873
25968
  }
25874
- function _iterableToArrayLimit$c(r, l) {
25969
+ function _iterableToArrayLimit$d(r, l) {
25875
25970
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
25876
25971
  if (null != t) {
25877
25972
  var e,
@@ -25898,7 +25993,7 @@
25898
25993
  return a;
25899
25994
  }
25900
25995
  }
25901
- function _arrayWithHoles$c(arr) {
25996
+ function _arrayWithHoles$d(arr) {
25902
25997
  if (Array.isArray(arr)) return arr;
25903
25998
  }
25904
25999
  var withUsage$s = createDocumentationMessageGenerator({
@@ -25921,7 +26016,7 @@
25921
26016
  }
25922
26017
  var minRange = range.min,
25923
26018
  maxRange = range.max;
25924
- var _start = _slicedToArray$c(start, 2),
26019
+ var _start = _slicedToArray$d(start, 2),
25925
26020
  minStart = _start[0],
25926
26021
  maxStart = _start[1];
25927
26022
  var minFinite = minStart === -Infinity ? minRange : minStart;
@@ -26010,7 +26105,7 @@
26010
26105
  }, _typeof$$(o);
26011
26106
  }
26012
26107
  function _toConsumableArray$a(arr) {
26013
- return _arrayWithoutHoles$a(arr) || _iterableToArray$a(arr) || _unsupportedIterableToArray$m(arr) || _nonIterableSpread$a();
26108
+ return _arrayWithoutHoles$a(arr) || _iterableToArray$a(arr) || _unsupportedIterableToArray$n(arr) || _nonIterableSpread$a();
26014
26109
  }
26015
26110
  function _nonIterableSpread$a() {
26016
26111
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
@@ -26019,7 +26114,7 @@
26019
26114
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
26020
26115
  }
26021
26116
  function _arrayWithoutHoles$a(arr) {
26022
- if (Array.isArray(arr)) return _arrayLikeToArray$m(arr);
26117
+ if (Array.isArray(arr)) return _arrayLikeToArray$n(arr);
26023
26118
  }
26024
26119
  function ownKeys$W(e, r) {
26025
26120
  var t = Object.keys(e);
@@ -26070,26 +26165,26 @@
26070
26165
  }
26071
26166
  return ("string" === r ? String : Number)(t);
26072
26167
  }
26073
- function _slicedToArray$d(arr, i) {
26074
- return _arrayWithHoles$d(arr) || _iterableToArrayLimit$d(arr, i) || _unsupportedIterableToArray$m(arr, i) || _nonIterableRest$d();
26168
+ function _slicedToArray$e(arr, i) {
26169
+ return _arrayWithHoles$e(arr) || _iterableToArrayLimit$e(arr, i) || _unsupportedIterableToArray$n(arr, i) || _nonIterableRest$e();
26075
26170
  }
26076
- function _nonIterableRest$d() {
26171
+ function _nonIterableRest$e() {
26077
26172
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
26078
26173
  }
26079
- function _unsupportedIterableToArray$m(o, minLen) {
26174
+ function _unsupportedIterableToArray$n(o, minLen) {
26080
26175
  if (!o) return;
26081
- if (typeof o === "string") return _arrayLikeToArray$m(o, minLen);
26176
+ if (typeof o === "string") return _arrayLikeToArray$n(o, minLen);
26082
26177
  var n = Object.prototype.toString.call(o).slice(8, -1);
26083
26178
  if (n === "Object" && o.constructor) n = o.constructor.name;
26084
26179
  if (n === "Map" || n === "Set") return Array.from(o);
26085
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$m(o, minLen);
26180
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$n(o, minLen);
26086
26181
  }
26087
- function _arrayLikeToArray$m(arr, len) {
26182
+ function _arrayLikeToArray$n(arr, len) {
26088
26183
  if (len == null || len > arr.length) len = arr.length;
26089
26184
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
26090
26185
  return arr2;
26091
26186
  }
26092
- function _iterableToArrayLimit$d(r, l) {
26187
+ function _iterableToArrayLimit$e(r, l) {
26093
26188
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
26094
26189
  if (null != t) {
26095
26190
  var e,
@@ -26116,7 +26211,7 @@
26116
26211
  return a;
26117
26212
  }
26118
26213
  }
26119
- function _arrayWithHoles$d(arr) {
26214
+ function _arrayWithHoles$e(arr) {
26120
26215
  if (Array.isArray(arr)) return arr;
26121
26216
  }
26122
26217
  var withUsage$t = createDocumentationMessageGenerator({
@@ -26142,7 +26237,7 @@
26142
26237
  _args$ = args[2],
26143
26238
  eventName = _args$ === void 0 ? 'Filter Applied' : _args$;
26144
26239
  var _args$0$split = args[0].split(':'),
26145
- _args$0$split2 = _slicedToArray$d(_args$0$split, 2),
26240
+ _args$0$split2 = _slicedToArray$e(_args$0$split, 2),
26146
26241
  eventType = _args$0$split2[0],
26147
26242
  eventModifier = _args$0$split2[1];
26148
26243
  if (eventType !== 'click') {
@@ -26198,7 +26293,7 @@
26198
26293
  var maxDecimalPlaces = 0;
26199
26294
  facetResults.forEach(function (facetResult) {
26200
26295
  var _facetResult$name$spl = facetResult.name.split('.'),
26201
- _facetResult$name$spl2 = _slicedToArray$d(_facetResult$name$spl, 2),
26296
+ _facetResult$name$spl2 = _slicedToArray$e(_facetResult$name$spl, 2),
26202
26297
  _facetResult$name$spl3 = _facetResult$name$spl2[1],
26203
26298
  decimal = _facetResult$name$spl3 === void 0 ? '' : _facetResult$name$spl3;
26204
26299
  maxDecimalPlaces = Math.max(maxDecimalPlaces, decimal.length);
@@ -28494,26 +28589,26 @@
28494
28589
  }
28495
28590
  return ("string" === r ? String : Number)(t);
28496
28591
  }
28497
- function _slicedToArray$e(arr, i) {
28498
- return _arrayWithHoles$e(arr) || _iterableToArrayLimit$e(arr, i) || _unsupportedIterableToArray$n(arr, i) || _nonIterableRest$e();
28592
+ function _slicedToArray$f(arr, i) {
28593
+ return _arrayWithHoles$f(arr) || _iterableToArrayLimit$f(arr, i) || _unsupportedIterableToArray$o(arr, i) || _nonIterableRest$f();
28499
28594
  }
28500
- function _nonIterableRest$e() {
28595
+ function _nonIterableRest$f() {
28501
28596
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
28502
28597
  }
28503
- function _unsupportedIterableToArray$n(o, minLen) {
28598
+ function _unsupportedIterableToArray$o(o, minLen) {
28504
28599
  if (!o) return;
28505
- if (typeof o === "string") return _arrayLikeToArray$n(o, minLen);
28600
+ if (typeof o === "string") return _arrayLikeToArray$o(o, minLen);
28506
28601
  var n = Object.prototype.toString.call(o).slice(8, -1);
28507
28602
  if (n === "Object" && o.constructor) n = o.constructor.name;
28508
28603
  if (n === "Map" || n === "Set") return Array.from(o);
28509
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$n(o, minLen);
28604
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$o(o, minLen);
28510
28605
  }
28511
- function _arrayLikeToArray$n(arr, len) {
28606
+ function _arrayLikeToArray$o(arr, len) {
28512
28607
  if (len == null || len > arr.length) len = arr.length;
28513
28608
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
28514
28609
  return arr2;
28515
28610
  }
28516
- function _iterableToArrayLimit$e(r, l) {
28611
+ function _iterableToArrayLimit$f(r, l) {
28517
28612
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
28518
28613
  if (null != t) {
28519
28614
  var e,
@@ -28540,7 +28635,7 @@
28540
28635
  return a;
28541
28636
  }
28542
28637
  }
28543
- function _arrayWithHoles$e(arr) {
28638
+ function _arrayWithHoles$f(arr) {
28544
28639
  if (Array.isArray(arr)) return arr;
28545
28640
  }
28546
28641
  var withUsage$D = createDocumentationMessageGenerator({
@@ -28565,7 +28660,7 @@
28565
28660
  _args$ = args[2],
28566
28661
  eventName = _args$ === void 0 ? 'Filter Applied' : _args$;
28567
28662
  var _args$0$split = args[0].split(':'),
28568
- _args$0$split2 = _slicedToArray$e(_args$0$split, 2),
28663
+ _args$0$split2 = _slicedToArray$f(_args$0$split, 2),
28569
28664
  eventType = _args$0$split2[0],
28570
28665
  eventModifier = _args$0$split2[1];
28571
28666
  if (eventType !== 'click' || on === undefined) {