henry-search 1.0.21 → 1.0.22

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.
@@ -112,7 +112,7 @@ var DC = Zo.exports, sy;
112
112
  function NC() {
113
113
  return sy || (sy = 1, (function(e, t) {
114
114
  (function() {
115
- var r, n = "4.17.21", a = 200, s = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", u = "Expected a function", f = "Invalid `variable` option passed into `_.template`", p = "__lodash_hash_undefined__", g = 500, y = "__lodash_placeholder__", _ = 1, d = 2, l = 4, c = 1, v = 2, b = 1, h = 2, w = 4, S = 8, P = 16, O = 32, A = 64, E = 128, x = 256, $ = 512, F = 30, M = "...", ae = 800, oe = 16, V = 1, H = 2, j = 3, D = 1 / 0, L = 9007199254740991, B = 17976931348623157e292, J = NaN, Q = 4294967295, se = Q - 1, X = Q >>> 1, ue = [
115
+ var r, n = "4.17.21", a = 200, s = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", u = "Expected a function", f = "Invalid `variable` option passed into `_.template`", p = "__lodash_hash_undefined__", g = 500, y = "__lodash_placeholder__", _ = 1, d = 2, l = 4, c = 1, v = 2, b = 1, h = 2, w = 4, S = 8, P = 16, O = 32, A = 64, E = 128, x = 256, $ = 512, F = 30, M = "...", ae = 800, oe = 16, V = 1, L = 2, j = 3, D = 1 / 0, H = 9007199254740991, B = 17976931348623157e292, J = NaN, Q = 4294967295, se = Q - 1, X = Q >>> 1, ue = [
116
116
  ["ary", E],
117
117
  ["bind", b],
118
118
  ["bindKey", h],
@@ -765,7 +765,7 @@ function NC() {
765
765
  Oe += o;
766
766
  for (var wt = -1, ft = i[Oe]; ++wt < ke; ) {
767
767
  var Pt = xe[wt], Ct = Pt.iteratee, bn = Pt.type, Jr = Ct(ft);
768
- if (bn == H)
768
+ if (bn == L)
769
769
  ft = Jr;
770
770
  else if (!Jr) {
771
771
  if (bn == V)
@@ -1353,7 +1353,7 @@ function NC() {
1353
1353
  }
1354
1354
  function kd(i, o) {
1355
1355
  var m = "";
1356
- if (!i || o < 1 || o > L)
1356
+ if (!i || o < 1 || o > H)
1357
1357
  return m;
1358
1358
  do
1359
1359
  o % 2 && (m += i), o = Ml(o / 2), o && (i += i);
@@ -2185,7 +2185,7 @@ function NC() {
2185
2185
  }
2186
2186
  function Fa(i, o) {
2187
2187
  var m = typeof i;
2188
- return o = o ?? L, !!o && (m == "number" || m != "symbol" && Vi.test(i)) && i > -1 && i % 1 == 0 && i < o;
2188
+ return o = o ?? H, !!o && (m == "number" || m != "symbol" && Vi.test(i)) && i > -1 && i % 1 == 0 && i < o;
2189
2189
  }
2190
2190
  function Kr(i, o, m) {
2191
2191
  if (!tr(m))
@@ -3041,7 +3041,7 @@ function NC() {
3041
3041
  return typeof i == "number" && i == _t(i);
3042
3042
  }
3043
3043
  function ic(i) {
3044
- return typeof i == "number" && i > -1 && i % 1 == 0 && i <= L;
3044
+ return typeof i == "number" && i > -1 && i % 1 == 0 && i <= H;
3045
3045
  }
3046
3046
  function tr(i) {
3047
3047
  var o = typeof i;
@@ -3085,7 +3085,7 @@ function NC() {
3085
3085
  }
3086
3086
  var th = de ? kr(de) : SO;
3087
3087
  function PT(i) {
3088
- return Lg(i) && i >= -L && i <= L;
3088
+ return Lg(i) && i >= -H && i <= H;
3089
3089
  }
3090
3090
  var Wg = Pe ? kr(Pe) : RO;
3091
3091
  function sc(i) {
@@ -3152,7 +3152,7 @@ function NC() {
3152
3152
  return la(i, un(i));
3153
3153
  }
3154
3154
  function CT(i) {
3155
- return i ? Ti(_t(i), -L, L) : i === 0 ? i : 0;
3155
+ return i ? Ti(_t(i), -H, H) : i === 0 ? i : 0;
3156
3156
  }
3157
3157
  function Dt(i) {
3158
3158
  return i == null ? "" : gn(i);
@@ -3623,7 +3623,7 @@ function print() { __p += __j.call(arguments, '') }
3623
3623
  return !0;
3624
3624
  }
3625
3625
  function iC(i, o) {
3626
- if (i = _t(i), i < 1 || i > L)
3626
+ if (i = _t(i), i < 1 || i > H)
3627
3627
  return [];
3628
3628
  var m = Q, R = Lr(i, Q);
3629
3629
  o = ut(o), i -= Q;
@@ -7546,9 +7546,9 @@ function o1() {
7546
7546
  return [];
7547
7547
  }
7548
7548
  ), this.facets = [];
7549
- var V = x.getRefinedDisjunctiveFacets(), H = _(x.facets), j = _(x.disjunctiveFacets), D = 1, L = M.facets || {};
7550
- Object.keys(L).forEach(function(B) {
7551
- var J = L[B], Q = l(
7549
+ var V = x.getRefinedDisjunctiveFacets(), L = _(x.facets), j = _(x.disjunctiveFacets), D = 1, H = M.facets || {};
7550
+ Object.keys(H).forEach(function(B) {
7551
+ var J = H[B], Q = l(
7552
7552
  x.hierarchicalFacets,
7553
7553
  B
7554
7554
  );
@@ -7571,7 +7571,7 @@ function o1() {
7571
7571
  ae.disjunctiveFacets[_e],
7572
7572
  M.facets_stats,
7573
7573
  B
7574
- )), ee && (_e = H[B], ae.facets[_e] = {
7574
+ )), ee && (_e = L[B], ae.facets[_e] = {
7575
7575
  name: B,
7576
7576
  data: J,
7577
7577
  exhaustive: M.exhaustiveFacetsCount
@@ -7650,10 +7650,10 @@ function o1() {
7650
7650
  }), D++;
7651
7651
  });
7652
7652
  }), Object.keys(x.facetsExcludes).forEach(function(B) {
7653
- var J = x.facetsExcludes[B], Q = H[B];
7653
+ var J = x.facetsExcludes[B], Q = L[B];
7654
7654
  ae.facets[Q] = {
7655
7655
  name: B,
7656
- data: L[B],
7656
+ data: H[B],
7657
7657
  exhaustive: M.exhaustiveFacetsCount
7658
7658
  }, J.forEach(function(se) {
7659
7659
  ae.facets[Q] = ae.facets[Q] || { name: B }, ae.facets[Q].data = ae.facets[Q].data || {}, ae.facets[Q].data[se] = 0;
@@ -7669,43 +7669,43 @@ function o1() {
7669
7669
  return n(this.facets, $) || n(this.disjunctiveFacets, $) || n(this.hierarchicalFacets, $);
7670
7670
  };
7671
7671
  function v(x, $) {
7672
- function F(L) {
7673
- return L.name === $;
7672
+ function F(H) {
7673
+ return H.name === $;
7674
7674
  }
7675
7675
  if (x._state.isConjunctiveFacet($)) {
7676
7676
  var M = n(x.facets, F);
7677
- return M ? Object.keys(M.data).map(function(L) {
7678
- var B = p(L);
7677
+ return M ? Object.keys(M.data).map(function(H) {
7678
+ var B = p(H);
7679
7679
  return {
7680
- name: L,
7680
+ name: H,
7681
7681
  escapedValue: B,
7682
- count: M.data[L],
7682
+ count: M.data[H],
7683
7683
  isRefined: x._state.isFacetRefined($, B),
7684
- isExcluded: x._state.isExcludeRefined($, L)
7684
+ isExcluded: x._state.isExcludeRefined($, H)
7685
7685
  };
7686
7686
  }) : [];
7687
7687
  } else if (x._state.isDisjunctiveFacet($)) {
7688
7688
  var ae = n(x.disjunctiveFacets, F);
7689
- return ae ? Object.keys(ae.data).map(function(L) {
7690
- var B = p(L);
7689
+ return ae ? Object.keys(ae.data).map(function(H) {
7690
+ var B = p(H);
7691
7691
  return {
7692
- name: L,
7692
+ name: H,
7693
7693
  escapedValue: B,
7694
- count: ae.data[L],
7694
+ count: ae.data[H],
7695
7695
  isRefined: x._state.isDisjunctiveFacetRefined($, B)
7696
7696
  };
7697
7697
  }) : [];
7698
7698
  } else if (x._state.isHierarchicalFacet($)) {
7699
7699
  var oe = n(x.hierarchicalFacets, F);
7700
7700
  if (!oe) return oe;
7701
- var V = x._state.getHierarchicalFacetByName($), H = x._state._getHierarchicalFacetSeparator(V), j = g(
7701
+ var V = x._state.getHierarchicalFacetByName($), L = x._state._getHierarchicalFacetSeparator(V), j = g(
7702
7702
  x._state.getHierarchicalRefinement($)[0] || ""
7703
7703
  );
7704
7704
  j.indexOf(V.rootPath) === 0 && (j = j.replace(
7705
- V.rootPath + H,
7705
+ V.rootPath + L,
7706
7706
  ""
7707
7707
  ));
7708
- var D = j.split(H);
7708
+ var D = j.split(L);
7709
7709
  return D.unshift($), b(oe, D, 0), oe;
7710
7710
  }
7711
7711
  }
@@ -7719,8 +7719,8 @@ function o1() {
7719
7719
  return x($, F[M]);
7720
7720
  if (!$.data || $.data.length === 0)
7721
7721
  return $;
7722
- var ae = $.data.map(function(H) {
7723
- return h(x, H, F, M + 1);
7722
+ var ae = $.data.map(function(L) {
7723
+ return h(x, L, F, M + 1);
7724
7724
  }), oe = x(ae, F[M]), V = t({ data: oe }, $);
7725
7725
  return V;
7726
7726
  }
@@ -7729,17 +7729,17 @@ function o1() {
7729
7729
  return $.sort(x);
7730
7730
  }
7731
7731
  function S(x, $) {
7732
- var F = [], M = [], ae = $.hide || [], oe = $.order || [], V = oe.reduce(function(D, L, B) {
7733
- return D[L] = B, D;
7732
+ var F = [], M = [], ae = $.hide || [], oe = $.order || [], V = oe.reduce(function(D, H, B) {
7733
+ return D[H] = B, D;
7734
7734
  }, {});
7735
7735
  x.forEach(function(D) {
7736
- var L = D.path || D.name, B = ae.indexOf(L) > -1;
7737
- !B && V[L] !== void 0 ? F[V[L]] = D : B || M.push(D);
7736
+ var H = D.path || D.name, B = ae.indexOf(H) > -1;
7737
+ !B && V[H] !== void 0 ? F[V[H]] = D : B || M.push(D);
7738
7738
  }), F = F.filter(function(D) {
7739
7739
  return D;
7740
7740
  });
7741
- var H = $.sortRemainingBy, j;
7742
- return H === "hidden" ? F : (H === "alpha" ? j = [
7741
+ var L = $.sortRemainingBy, j;
7742
+ return L === "hidden" ? F : (L === "alpha" ? j = [
7743
7743
  ["path", "name"],
7744
7744
  ["asc", "asc"]
7745
7745
  ] : j = [["count"], ["desc"]], F.concat(
@@ -7765,12 +7765,12 @@ function o1() {
7765
7765
  oe = V.attributes;
7766
7766
  }
7767
7767
  return h(
7768
- function(H, j) {
7768
+ function(L, j) {
7769
7769
  var D = P(ae, j);
7770
7770
  if (M.facetOrdering && D)
7771
- return S(H, D);
7771
+ return S(L, D);
7772
7772
  if (Array.isArray(M.sortBy)) {
7773
- var L = s(M.sortBy, c.DEFAULT_SORT), B = f(H, L[0], L[1]), J = D && D.hide ? D.hide : [];
7773
+ var H = s(M.sortBy, c.DEFAULT_SORT), B = f(L, H[0], H[1]), J = D && D.hide ? D.hide : [];
7774
7774
  if (J.length > 0) {
7775
7775
  var Q = [];
7776
7776
  return B.forEach(function(se) {
@@ -7780,7 +7780,7 @@ function o1() {
7780
7780
  }
7781
7781
  return B;
7782
7782
  } else if (typeof M.sortBy == "function")
7783
- return w(M.sortBy, H);
7783
+ return w(M.sortBy, L);
7784
7784
  throw new Error(
7785
7785
  "options.sortBy is optional but if defined it must be either an array of string (predicates) or a sorting function"
7786
7786
  );
@@ -7858,30 +7858,30 @@ function o1() {
7858
7858
  function A(x, $, F, M, ae) {
7859
7859
  var oe = n(ae, function(j) {
7860
7860
  return j.name === F;
7861
- }), V = oe && oe.data && oe.data[M] ? oe.data[M] : 0, H = oe && oe.exhaustive || !1;
7861
+ }), V = oe && oe.data && oe.data[M] ? oe.data[M] : 0, L = oe && oe.exhaustive || !1;
7862
7862
  return {
7863
7863
  type: $,
7864
7864
  attributeName: F,
7865
7865
  name: M,
7866
7866
  count: V,
7867
- exhaustive: H
7867
+ exhaustive: L
7868
7868
  };
7869
7869
  }
7870
7870
  function E(x, $, F, M) {
7871
- var ae = x.getHierarchicalFacetByName($), oe = x._getHierarchicalFacetSeparator(ae), V = F.split(oe), H = n(M, function(J) {
7871
+ var ae = x.getHierarchicalFacetByName($), oe = x._getHierarchicalFacetSeparator(ae), V = F.split(oe), L = n(M, function(J) {
7872
7872
  return J.name === $;
7873
7873
  }), j = V.reduce(function(J, Q) {
7874
7874
  var se = J && n(J.data, function(X) {
7875
7875
  return X.name === Q;
7876
7876
  });
7877
7877
  return se !== void 0 ? se : J;
7878
- }, H), D = j && j.count || 0, L = j && j.exhaustive || !1, B = j && j.path || "";
7878
+ }, L), D = j && j.count || 0, H = j && j.exhaustive || !1, B = j && j.path || "";
7879
7879
  return {
7880
7880
  type: "hierarchical",
7881
7881
  attributeName: $,
7882
7882
  name: B,
7883
7883
  count: D,
7884
- exhaustive: L
7884
+ exhaustive: H
7885
7885
  };
7886
7886
  }
7887
7887
  return Hh = c, Hh;
@@ -8043,8 +8043,8 @@ function G2() {
8043
8043
  var ae = this.lastResults && this.lastResults.index === E.index && this.lastResults.renderingContent && this.lastResults.renderingContent.facetOrdering && this.lastResults.renderingContent.facetOrdering.values && this.lastResults.renderingContent.facetOrdering.values[h] && this.lastResults.renderingContent.facetOrdering.values[h].hide || [];
8044
8044
  return M.then(
8045
8045
  function(V) {
8046
- return F._currentNbQueries--, F._currentNbQueries === 0 && F.emit("searchQueueEmpty"), V = Array.isArray(V) ? V[0] : V, V.facetHits = V.facetHits.reduce(function(H, j) {
8047
- return ae.indexOf(j.value) > -1 || (j.escapedValue = r(j.value), j.isRefined = x ? E.isDisjunctiveFacetRefined(h, j.escapedValue) : E.isFacetRefined(h, j.escapedValue), H.push(j)), H;
8046
+ return F._currentNbQueries--, F._currentNbQueries === 0 && F.emit("searchQueueEmpty"), V = Array.isArray(V) ? V[0] : V, V.facetHits = V.facetHits.reduce(function(L, j) {
8047
+ return ae.indexOf(j.value) > -1 || (j.escapedValue = r(j.value), j.isRefined = x ? E.isDisjunctiveFacetRefined(h, j.escapedValue) : E.isFacetRefined(h, j.escapedValue), L.push(j)), L;
8048
8048
  }, []), V;
8049
8049
  },
8050
8050
  function(oe) {
@@ -9446,27 +9446,27 @@ var Qh = Kt({
9446
9446
  $();
9447
9447
  }
9448
9448
  var M, ae = !1;
9449
- function oe(D, L) {
9449
+ function oe(D, H) {
9450
9450
  return function() {
9451
- ae = !ae, L.render(D);
9451
+ ae = !ae, H.render(D);
9452
9452
  };
9453
9453
  }
9454
9454
  function V() {
9455
9455
  return ae ? h : l;
9456
9456
  }
9457
- function H(D) {
9458
- return D.slice(0, V()).map(function(L) {
9459
- var B = L.name, J = L.escapedValue, Q = L.data;
9460
- L.path;
9461
- var se = Dk(L, Ik), X = qr(qr({}, se), {}, {
9457
+ function L(D) {
9458
+ return D.slice(0, V()).map(function(H) {
9459
+ var B = H.name, J = H.escapedValue, Q = H.data;
9460
+ H.path;
9461
+ var se = Dk(H, Ik), X = qr(qr({}, se), {}, {
9462
9462
  value: J,
9463
9463
  label: B,
9464
9464
  data: null
9465
9465
  });
9466
- return Array.isArray(Q) && (X.data = H(Q)), X;
9466
+ return Array.isArray(Q) && (X.data = L(Q)), X;
9467
9467
  });
9468
9468
  }
9469
- function j(D, L) {
9469
+ function j(D, H) {
9470
9470
  var B = V();
9471
9471
  return (
9472
9472
  // Check if we have exhaustive items at this level
@@ -9474,37 +9474,37 @@ var Qh = Kt({
9474
9474
  // if the facets are exhaustive. The only moment we are sure it is exhaustive
9475
9475
  // is when it is strictly under the number requested unless we know that another
9476
9476
  // widget has requested more values (maxValuesPerFacet > getLimit()).
9477
- !(L > B ? D.length <= B : D.length < B) || // Check if any of the children are not exhaustive.
9477
+ !(H > B ? D.length <= B : D.length < B) || // Check if any of the children are not exhaustive.
9478
9478
  D.slice(0, l).some(function(J) {
9479
- return Array.isArray(J.data) && J.data.length > 0 && j(J.data, L);
9479
+ return Array.isArray(J.data) && J.data.length > 0 && j(J.data, H);
9480
9480
  })
9481
9481
  );
9482
9482
  }
9483
9483
  return {
9484
9484
  $$type: "ais.hierarchicalMenu",
9485
- init: function(L) {
9486
- var B = L.instantSearchInstance;
9487
- t(qr(qr({}, this.getWidgetRenderState(L)), {}, {
9485
+ init: function(H) {
9486
+ var B = H.instantSearchInstance;
9487
+ t(qr(qr({}, this.getWidgetRenderState(H)), {}, {
9488
9488
  instantSearchInstance: B
9489
9489
  }), !0);
9490
9490
  },
9491
- render: function(L) {
9492
- var B = L.instantSearchInstance;
9493
- $ = oe(L, this), t(qr(qr({}, this.getWidgetRenderState(L)), {}, {
9491
+ render: function(H) {
9492
+ var B = H.instantSearchInstance;
9493
+ $ = oe(H, this), t(qr(qr({}, this.getWidgetRenderState(H)), {}, {
9494
9494
  instantSearchInstance: B
9495
9495
  }), !1);
9496
9496
  },
9497
- dispose: function(L) {
9498
- var B = L.state;
9497
+ dispose: function(H) {
9498
+ var B = H.state;
9499
9499
  return r(), B.removeHierarchicalFacet(E).setQueryParameter("maxValuesPerFacet", void 0);
9500
9500
  },
9501
- getRenderState: function(L, B) {
9502
- return qr(qr({}, L), {}, {
9503
- hierarchicalMenu: qr(qr({}, L.hierarchicalMenu), {}, gf({}, E, this.getWidgetRenderState(B)))
9501
+ getRenderState: function(H, B) {
9502
+ return qr(qr({}, H), {}, {
9503
+ hierarchicalMenu: qr(qr({}, H.hierarchicalMenu), {}, gf({}, E, this.getWidgetRenderState(B)))
9504
9504
  });
9505
9505
  },
9506
- getWidgetRenderState: function(L) {
9507
- var B = this, J = L.results, Q = L.state, se = L.createURL, X = L.instantSearchInstance, ue = L.helper, ee = [], _e = !1, te = function(We) {
9506
+ getWidgetRenderState: function(H) {
9507
+ var B = this, J = H.results, Q = H.state, se = H.createURL, X = H.instantSearchInstance, ue = H.helper, ee = [], _e = !1, te = function(We) {
9508
9508
  return se(function(Ce) {
9509
9509
  return B.getWidgetUiState(Ce, {
9510
9510
  searchParameters: Q.resetPage().toggleFacetRefinement(E, We),
@@ -9527,7 +9527,7 @@ var Qh = Kt({
9527
9527
  sortBy: S,
9528
9528
  facetOrdering: S === wb
9529
9529
  }), we = z && !Array.isArray(z) && z.data ? z.data : [], Ve = j(we, Q.maxValuesPerFacet || 0);
9530
- _e = v && (ae || Ve), ee = O(H(we), {
9530
+ _e = v && (ae || Ve), ee = O(L(we), {
9531
9531
  results: J
9532
9532
  });
9533
9533
  }
@@ -9543,22 +9543,22 @@ var Qh = Kt({
9543
9543
  canToggleShowMore: _e
9544
9544
  };
9545
9545
  },
9546
- getWidgetUiState: function(L, B) {
9546
+ getWidgetUiState: function(H, B) {
9547
9547
  var J = B.searchParameters, Q = J.getHierarchicalFacetBreadcrumb(E);
9548
- return Vk(qr(qr({}, L), {}, {
9549
- hierarchicalMenu: qr(qr({}, L.hierarchicalMenu), {}, gf({}, E, Q))
9548
+ return Vk(qr(qr({}, H), {}, {
9549
+ hierarchicalMenu: qr(qr({}, H.hierarchicalMenu), {}, gf({}, E, Q))
9550
9550
  }), E);
9551
9551
  },
9552
- getWidgetSearchParameters: function(L, B) {
9552
+ getWidgetSearchParameters: function(H, B) {
9553
9553
  var J = B.uiState, Q = J.hierarchicalMenu && J.hierarchicalMenu[E];
9554
- if (L.isConjunctiveFacet(E) || L.isDisjunctiveFacet(E))
9554
+ if (H.isConjunctiveFacet(E) || H.isDisjunctiveFacet(E))
9555
9555
  return process.env.NODE_ENV === "development" && ht(!1, 'HierarchicalMenu: Attribute "'.concat(E, `" is already used by another widget applying conjunctive or disjunctive faceting.
9556
- As this is not supported, please make sure to remove this other widget or this HierarchicalMenu widget will not work at all.`)), L;
9557
- if (L.isHierarchicalFacet(E)) {
9558
- var se = L.getHierarchicalFacetByName(E);
9556
+ As this is not supported, please make sure to remove this other widget or this HierarchicalMenu widget will not work at all.`)), H;
9557
+ if (H.isHierarchicalFacet(E)) {
9558
+ var se = H.getHierarchicalFacetByName(E);
9559
9559
  process.env.NODE_ENV === "development" && ht(Wi(se.attributes, s) && se.separator === f && se.rootPath === g, "Using Breadcrumb and HierarchicalMenu on the same facet with different options overrides the configuration of the HierarchicalMenu.");
9560
9560
  }
9561
- var X = L.removeHierarchicalFacet(E).addHierarchicalFacet({
9561
+ var X = H.removeHierarchicalFacet(E).addHierarchicalFacet({
9562
9562
  name: E,
9563
9563
  attributes: s,
9564
9564
  separator: f,
@@ -10200,7 +10200,7 @@ const Aj = (function(t) {
10200
10200
  return y.read({
10201
10201
  state: Tb(Se)
10202
10202
  }) || {};
10203
- }, V, H = [], j = F.getPreviousState() || M, D = oe(), L = x == null || (O = x.renderingContent) === null || O === void 0 || (A = O.widgets) === null || A === void 0 || (E = A.banners) === null || E === void 0 ? void 0 : E[0];
10203
+ }, V, L = [], j = F.getPreviousState() || M, D = oe(), H = x == null || (O = x.renderingContent) === null || O === void 0 || (A = O.widgets) === null || A === void 0 || (E = A.banners) === null || E === void 0 ? void 0 : E[0];
10204
10204
  if (_ || (_ = function() {
10205
10205
  return h($, oe)();
10206
10206
  }, d = function() {
@@ -10233,16 +10233,16 @@ const Aj = (function(t) {
10233
10233
  D[se] === void 0 && !x.__isArtificial && ae.status === "idle" && !(_e && te) && (D[se] = ee, y.write({
10234
10234
  state: Tb(j),
10235
10235
  hits: D
10236
- })), H = ee, V = v(j, D) === 0;
10236
+ })), L = ee, V = v(j, D) === 0;
10237
10237
  }
10238
10238
  var z = xj(D), we = x ? x.nbPages <= b(j, D) + 1 : !0;
10239
10239
  return {
10240
10240
  hits: z,
10241
10241
  items: z,
10242
- currentPageHits: H,
10242
+ currentPageHits: L,
10243
10243
  sendEvent: l,
10244
10244
  bindEvent: c,
10245
- banner: L,
10245
+ banner: H,
10246
10246
  results: x || void 0,
10247
10247
  showPrevious: _,
10248
10248
  showMore: d,
@@ -10431,7 +10431,7 @@ var zh = Kt({
10431
10431
  });
10432
10432
  },
10433
10433
  getWidgetRenderState: function($) {
10434
- var F = this, M = $.results, ae = $.createURL, oe = $.instantSearchInstance, V = $.helper, H = [], j = !1;
10434
+ var F = this, M = $.results, ae = $.createURL, oe = $.instantSearchInstance, V = $.helper, L = [], j = !1;
10435
10435
  if (b || (b = Em({
10436
10436
  instantSearchInstance: oe,
10437
10437
  helper: V,
@@ -10451,8 +10451,8 @@ var zh = Kt({
10451
10451
  var D = M.getFacetValues(s, {
10452
10452
  sortBy: l,
10453
10453
  facetOrdering: l === kb
10454
- }), L = D && !Array.isArray(D) && D.data ? D.data : [];
10455
- j = g && (S || L.length > E()), H = v(L.slice(0, E()).map(function(B) {
10454
+ }), H = D && !Array.isArray(D) && D.data ? D.data : [];
10455
+ j = g && (S || H.length > E()), L = v(H.slice(0, E()).map(function(B) {
10456
10456
  var J = B.name, Q = B.escapedValue;
10457
10457
  B.path;
10458
10458
  var se = Cj(B, Ej);
@@ -10465,11 +10465,11 @@ var zh = Kt({
10465
10465
  });
10466
10466
  }
10467
10467
  return {
10468
- items: H,
10468
+ items: L,
10469
10469
  createURL: h,
10470
10470
  refine: w,
10471
10471
  sendEvent: b,
10472
- canRefine: H.length > 0,
10472
+ canRefine: L.length > 0,
10473
10473
  widgetParams: n,
10474
10474
  isShowingMore: S,
10475
10475
  toggleShowMore: A,
@@ -10490,7 +10490,7 @@ As this is not supported, please make sure to remove this other widget or this M
10490
10490
  var oe = $.removeHierarchicalFacet(s).addHierarchicalFacet({
10491
10491
  name: s,
10492
10492
  attributes: [s]
10493
- }), V = oe.maxValuesPerFacet || 0, H = Math.max(V, g ? _ : f), j = oe.setQueryParameter("maxValuesPerFacet", H);
10493
+ }), V = oe.maxValuesPerFacet || 0, L = Math.max(V, g ? _ : f), j = oe.setQueryParameter("maxValuesPerFacet", L);
10494
10494
  return ae ? j.addHierarchicalFacetRefinement(s, ae) : j.setQueryParameters({
10495
10495
  hierarchicalFacetsRefinements: Wr(Wr({}, j.hierarchicalFacetsRefinements), {}, yf({}, s, []))
10496
10496
  });
@@ -11096,15 +11096,15 @@ var hI = function(t) {
11096
11096
  return _(S).toLocaleString();
11097
11097
  }
11098
11098
  }, l = function(S, P, O, A) {
11099
- var E = S.state, x = P.min, $ = P.max, F = E.getNumericRefinement(u, ">=") || [], M = _s(F, 1), ae = M[0], oe = E.getNumericRefinement(u, "<=") || [], V = _s(oe, 1), H = V[0], j = O === void 0 || O === "", D = A === void 0 || A === "", L = Lb({
11099
+ var E = S.state, x = P.min, $ = P.max, F = E.getNumericRefinement(u, ">=") || [], M = _s(F, 1), ae = M[0], oe = E.getNumericRefinement(u, "<=") || [], V = _s(oe, 1), L = V[0], j = O === void 0 || O === "", D = A === void 0 || A === "", H = Lb({
11100
11100
  min: j ? void 0 : parseFloat(O),
11101
11101
  max: D ? void 0 : parseFloat(A),
11102
11102
  precision: y
11103
- }), B = L.min, J = L.max, Q;
11103
+ }), B = H.min, J = H.max, Q;
11104
11104
  !Ut(f) && x === B ? Q = void 0 : Ut(f) && j ? Q = f : Q = B;
11105
11105
  var se;
11106
11106
  !Ut(p) && $ === J ? se = void 0 : Ut(p) && D ? se = p : se = J;
11107
- var X = Q === void 0, ue = Ut(x) && x <= Q, ee = X || Ut(Q) && (!Ut(x) || ue), _e = se === void 0, te = Ut(se) && $ >= se, z = _e || Ut(se) && (!Ut($) || te), we = ae !== Q, Ve = H !== se;
11107
+ var X = Q === void 0, ue = Ut(x) && x <= Q, ee = X || Ut(Q) && (!Ut(x) || ue), _e = se === void 0, te = Ut(se) && $ >= se, z = _e || Ut(se) && (!Ut($) || te), we = ae !== Q, Ve = L !== se;
11108
11108
  return (we || Ve) && ee && z ? (E = E.removeNumericRefinement(u), Ut(Q) && (E = E.addNumericRefinement(u, ">=", Q)), Ut(se) && (E = E.addNumericRefinement(u, "<=", se)), E.resetPage()) : null;
11109
11109
  }, c = function(S) {
11110
11110
  return function() {
@@ -11277,8 +11277,8 @@ var dc = Kt({
11277
11277
  throw new Error(dc('The `operator` must one of: `"and"`, `"or"` (got "'.concat(f, '").')));
11278
11278
  if (_ === !0 && l <= g)
11279
11279
  throw new Error(dc("`showMoreLimit` should be greater than `limit`."));
11280
- var P = function(L) {
11281
- var B = L.name, J = L.escapedValue, Q = qb(L, pI);
11280
+ var P = function(H) {
11281
+ var B = H.name, J = H.escapedValue, Q = qb(H, pI);
11282
11282
  return Jt(Jt({}, Q), {}, {
11283
11283
  value: J,
11284
11284
  label: B,
@@ -11289,18 +11289,18 @@ var dc = Kt({
11289
11289
  function ae() {
11290
11290
  M();
11291
11291
  }
11292
- function oe(D, L) {
11292
+ function oe(D, H) {
11293
11293
  return function() {
11294
- F = !F, L.render(D);
11294
+ F = !F, H.render(D);
11295
11295
  };
11296
11296
  }
11297
11297
  function V() {
11298
11298
  return F ? l : g;
11299
11299
  }
11300
- var H = function() {
11300
+ var L = function() {
11301
11301
  return function() {
11302
11302
  };
11303
- }, j = function(L, B) {
11303
+ }, j = function(H, B) {
11304
11304
  return function(J) {
11305
11305
  return function(Q) {
11306
11306
  var se = J.instantSearchInstance, X = J.results;
@@ -11315,7 +11315,7 @@ var dc = Kt({
11315
11315
  highlightPreTag: h ? _a.highlightPreTag : Qr.highlightPreTag,
11316
11316
  highlightPostTag: h ? _a.highlightPostTag : Qr.highlightPostTag
11317
11317
  };
11318
- L.searchForFacetValues(
11318
+ H.searchForFacetValues(
11319
11319
  s,
11320
11320
  Q,
11321
11321
  // We cap the `maxFacetHits` value to 100 because the Algolia API
@@ -11349,31 +11349,31 @@ var dc = Kt({
11349
11349
  };
11350
11350
  return {
11351
11351
  $$type: "ais.refinementList",
11352
- init: function(L) {
11353
- t(Jt(Jt({}, this.getWidgetRenderState(L)), {}, {
11354
- instantSearchInstance: L.instantSearchInstance
11352
+ init: function(H) {
11353
+ t(Jt(Jt({}, this.getWidgetRenderState(H)), {}, {
11354
+ instantSearchInstance: H.instantSearchInstance
11355
11355
  }), !0);
11356
11356
  },
11357
- render: function(L) {
11358
- t(Jt(Jt({}, this.getWidgetRenderState(L)), {}, {
11359
- instantSearchInstance: L.instantSearchInstance
11357
+ render: function(H) {
11358
+ t(Jt(Jt({}, this.getWidgetRenderState(H)), {}, {
11359
+ instantSearchInstance: H.instantSearchInstance
11360
11360
  }), !1);
11361
11361
  },
11362
- getRenderState: function(L, B) {
11363
- return Jt(Jt({}, L), {}, {
11364
- refinementList: Jt(Jt({}, L.refinementList), {}, nu({}, s, this.getWidgetRenderState(B)))
11362
+ getRenderState: function(H, B) {
11363
+ return Jt(Jt({}, H), {}, {
11364
+ refinementList: Jt(Jt({}, H.refinementList), {}, nu({}, s, this.getWidgetRenderState(B)))
11365
11365
  });
11366
11366
  },
11367
- getWidgetRenderState: function(L) {
11368
- var B = this, J = L.results, Q = L.state, se = L.createURL, X = L.instantSearchInstance, ue = L.helper, ee = [], _e = [];
11369
- if ((!$ || !x || !H) && ($ = Em({
11367
+ getWidgetRenderState: function(H) {
11368
+ var B = this, J = H.results, Q = H.state, se = H.createURL, X = H.instantSearchInstance, ue = H.helper, ee = [], _e = [];
11369
+ if ((!$ || !x || !L) && ($ = Em({
11370
11370
  instantSearchInstance: X,
11371
11371
  helper: ue,
11372
11372
  attribute: s,
11373
11373
  widgetType: this.$$type
11374
11374
  }), x = function(K) {
11375
11375
  $("click:internal", K), ue.toggleFacetRefinement(s, K).search();
11376
- }, H = j(ue, this)), J) {
11376
+ }, L = j(ue, this)), J) {
11377
11377
  var te = J.getFacetValues(s, {
11378
11378
  sortBy: v,
11379
11379
  facetOrdering: v === Wb
@@ -11382,9 +11382,9 @@ var dc = Kt({
11382
11382
  results: J
11383
11383
  });
11384
11384
  var z = Q.maxValuesPerFacet, we = V();
11385
- E = z > we ? _e.length <= we : _e.length < we, O = J, A = ee, L.results && (M = oe(L, this));
11385
+ E = z > we ? _e.length <= we : _e.length < we, O = J, A = ee, H.results && (M = oe(H, this));
11386
11386
  }
11387
- var Ve = H && H(L), Se = F && A.length > g, We = _ && !E, Ce = Se || We;
11387
+ var Ve = L && L(H), Se = F && A.length > g, We = _ && !E, Ce = Se || We;
11388
11388
  return {
11389
11389
  createURL: function(K) {
11390
11390
  return se(function(qe) {
@@ -11407,27 +11407,27 @@ var dc = Kt({
11407
11407
  hasExhaustiveItems: E
11408
11408
  };
11409
11409
  },
11410
- dispose: function(L) {
11411
- var B = L.state;
11410
+ dispose: function(H) {
11411
+ var B = H.state;
11412
11412
  r();
11413
11413
  var J = B.setQueryParameter("maxValuesPerFacet", void 0);
11414
11414
  return f === "and" ? J.removeFacet(s) : J.removeDisjunctiveFacet(s);
11415
11415
  },
11416
- getWidgetUiState: function(L, B) {
11416
+ getWidgetUiState: function(H, B) {
11417
11417
  var J = B.searchParameters, Q = f === "or" ? J.getDisjunctiveRefinements(s) : J.getConjunctiveRefinements(s);
11418
- return _I(Jt(Jt({}, L), {}, {
11419
- refinementList: Jt(Jt({}, L.refinementList), {}, nu({}, s, Q))
11418
+ return _I(Jt(Jt({}, H), {}, {
11419
+ refinementList: Jt(Jt({}, H.refinementList), {}, nu({}, s, Q))
11420
11420
  }), s);
11421
11421
  },
11422
- getWidgetSearchParameters: function(L, B) {
11422
+ getWidgetSearchParameters: function(H, B) {
11423
11423
  var J = B.uiState, Q = f === "or";
11424
- if (L.isHierarchicalFacet(s))
11424
+ if (H.isHierarchicalFacet(s))
11425
11425
  return process.env.NODE_ENV === "development" && ht(!1, 'RefinementList: Attribute "'.concat(s, `" is already used by another widget applying hierarchical faceting.
11426
- As this is not supported, please make sure to remove this other widget or this RefinementList widget will not work at all.`)), L;
11427
- if (Q && L.isConjunctiveFacet(s) || !Q && L.isDisjunctiveFacet(s))
11426
+ As this is not supported, please make sure to remove this other widget or this RefinementList widget will not work at all.`)), H;
11427
+ if (Q && H.isConjunctiveFacet(s) || !Q && H.isDisjunctiveFacet(s))
11428
11428
  return process.env.NODE_ENV === "development" && ht(!1, 'RefinementList: Attribute "'.concat(s, `" is used by another refinement list with a different operator.
11429
- As this is not supported, please make sure to only use this attribute with one of the two operators.`)), L;
11430
- var se = J.refinementList && J.refinementList[s], X = Q ? L.addDisjunctiveFacet(s).removeDisjunctiveFacetRefinement(s) : L.addFacet(s).removeFacetRefinement(s), ue = X.maxValuesPerFacet || 0, ee = Math.max(ue, _ ? l : g), _e = X.setQueryParameter("maxValuesPerFacet", ee);
11429
+ As this is not supported, please make sure to only use this attribute with one of the two operators.`)), H;
11430
+ var se = J.refinementList && J.refinementList[s], X = Q ? H.addDisjunctiveFacet(s).removeDisjunctiveFacetRefinement(s) : H.addFacet(s).removeFacetRefinement(s), ue = X.maxValuesPerFacet || 0, ee = Math.max(ue, _ ? l : g), _e = X.setQueryParameter("maxValuesPerFacet", ee);
11431
11431
  if (!se) {
11432
11432
  var te = Q ? "disjunctiveFacetsRefinements" : "facetsRefinements";
11433
11433
  return _e.setQueryParameters(nu({}, te, Jt(Jt({}, _e[te]), {}, nu({}, s, []))));
@@ -11901,8 +11901,8 @@ var Qb = Kt({
11901
11901
  count: Q,
11902
11902
  isRefined: J
11903
11903
  });
11904
- }, H = hc; H < f; H += hc)
11905
- var j = V(H);
11904
+ }, L = hc; L < f; L += hc)
11905
+ var j = V(L);
11906
11906
  }
11907
11907
  A = A.reverse();
11908
11908
  var D = w ? w.nbHits === 0 : !0;
@@ -12240,15 +12240,15 @@ var Jb = Kt({
12240
12240
  };
12241
12241
  if (S) {
12242
12242
  var $ = vh(_ || !1), F = S.getFacetValues(s, {}) || [], M = y.map(function(V) {
12243
- return Ba(F, function(H) {
12244
- var j = H.escapedValue;
12243
+ return Ba(F, function(L) {
12244
+ var j = L.escapedValue;
12245
12245
  return j === eu(String(V));
12246
12246
  });
12247
12247
  }).filter(function(V) {
12248
12248
  return V !== void 0;
12249
12249
  }), ae = g ? $.map(function(V) {
12250
- return Ba(F, function(H) {
12251
- var j = H.escapedValue;
12250
+ return Ba(F, function(L) {
12251
+ var j = L.escapedValue;
12252
12252
  return j === eu(String(V));
12253
12253
  });
12254
12254
  }).filter(function(V) {
@@ -12258,17 +12258,17 @@ var Jb = Kt({
12258
12258
  isRefined: M.length ? M.every(function(V) {
12259
12259
  return V.isRefined;
12260
12260
  }) : !1,
12261
- count: M.reduce(function(V, H) {
12262
- return V + H.count;
12261
+ count: M.reduce(function(V, L) {
12262
+ return V + L.count;
12263
12263
  }, 0) || null
12264
12264
  }, x = {
12265
12265
  isRefined: ae.length ? ae.every(function(V) {
12266
12266
  return V.isRefined;
12267
12267
  }) : !1,
12268
- count: ae.reduce(function(V, H) {
12269
- return V + H.count;
12270
- }, 0) || F.reduce(function(V, H) {
12271
- var j = H.count;
12268
+ count: ae.reduce(function(V, L) {
12269
+ return V + L.count;
12270
+ }, 0) || F.reduce(function(V, L) {
12271
+ var j = L.count;
12272
12272
  return V + j;
12273
12273
  }, 0)
12274
12274
  };
@@ -13764,10 +13764,10 @@ var L1 = function(t) {
13764
13764
  l.lastResults = V, d.lastResults = V;
13765
13765
  }
13766
13766
  if (oe != null && oe.recommendResults) {
13767
- var H = new Ir.RecommendResults(new Ir.RecommendParameters({
13767
+ var L = new Ir.RecommendResults(new Ir.RecommendParameters({
13768
13768
  params: oe.recommendResults.params
13769
13769
  }), oe.recommendResults.results);
13770
- l.lastRecommendResults = H, d.lastRecommendResults = H;
13770
+ l.lastRecommendResults = L, d.lastRecommendResults = L;
13771
13771
  }
13772
13772
  d.on("change", function(j) {
13773
13773
  var D = j.isPageReset;
@@ -13800,11 +13800,11 @@ var L1 = function(t) {
13800
13800
  "The `getWidgetState` method is renamed `getWidgetUiState` and will no longer exist under that name in InstantSearch.js 5.x. Please use `getWidgetUiState` instead."
13801
13801
  ), j.init && j.init(tu(O, S, E));
13802
13802
  }), d.on("change", function(j) {
13803
- var D = j.state, L = j._uiState;
13803
+ var D = j.state, H = j._uiState;
13804
13804
  g = No(p, {
13805
13805
  searchParameters: D,
13806
13806
  helper: d
13807
- }, L || {}), O.onStateChange || O.onInternalStateChange();
13807
+ }, H || {}), O.onStateChange || O.onInternalStateChange();
13808
13808
  }), oe && O.scheduleRender(), v && (O._hasRecommendWidget = !0), b && (O._hasSearchWidget = !0);
13809
13809
  }
13810
13810
  },
@@ -14182,8 +14182,8 @@ function d_() {
14182
14182
  if (Array.isArray(P)) {
14183
14183
  var O = ["setUserToken", "init"].map(function($) {
14184
14184
  var F = Ba(P.slice().reverse(), function(oe) {
14185
- var V = qa(oe, 1), H = V[0];
14186
- return H === $;
14185
+ var V = qa(oe, 1), L = V[0];
14186
+ return L === $;
14187
14187
  }) || [], M = qa(F, 2), ae = M[1];
14188
14188
  return ae;
14189
14189
  }), A = qa(O, 2);
@@ -14247,27 +14247,27 @@ function d_() {
14247
14247
  function V(ee) {
14248
14248
  oe(ee, !0), g("setUserToken", ee);
14249
14249
  }
14250
- var H = void 0, j = B1();
14250
+ var L = void 0, j = B1();
14251
14251
  if (j)
14252
- H = j;
14252
+ L = j;
14253
14253
  else {
14254
14254
  var D = "anonymous-".concat(CM());
14255
- H = D;
14255
+ L = D;
14256
14256
  }
14257
- var L, B = E.userToken;
14258
- if (r != null && r.userToken && (L = r.userToken), L)
14259
- V(L);
14257
+ var H, B = E.userToken;
14258
+ if (r != null && r.userToken && (H = r.userToken), H)
14259
+ V(H);
14260
14260
  else if (B)
14261
14261
  V(B);
14262
14262
  else if (S)
14263
14263
  V(S);
14264
14264
  else if (w)
14265
14265
  V(w);
14266
- else if (H) {
14266
+ else if (L) {
14267
14267
  var J;
14268
- if (V(H), r != null && r.useCookie || (J = h) !== null && J !== void 0 && J.useCookie) {
14268
+ if (V(L), r != null && r.useCookie || (J = h) !== null && J !== void 0 && J.useCookie) {
14269
14269
  var Q;
14270
- UM(H, r?.cookieDuration || ((Q = h) === null || Q === void 0 ? void 0 : Q.cookieDuration));
14270
+ UM(L, r?.cookieDuration || ((Q = h) === null || Q === void 0 ? void 0 : Q.cookieDuration));
14271
14271
  }
14272
14272
  }
14273
14273
  g("onUserTokenChange", function(ee) {
@@ -14591,17 +14591,17 @@ function YM() {
14591
14591
  if (P) {
14592
14592
  var V = M ? b : P(b, y.encoder, ae, "key", $);
14593
14593
  if (h === "comma" && M) {
14594
- for (var H = s.call(String(oe), ","), j = "", D = 0; D < H.length; ++D)
14595
- j += (D === 0 ? "" : ",") + F(P(H[D], y.encoder, ae, "value", $));
14594
+ for (var L = s.call(String(oe), ","), j = "", D = 0; D < L.length; ++D)
14595
+ j += (D === 0 ? "" : ",") + F(P(L[D], y.encoder, ae, "value", $));
14596
14596
  return [F(V) + "=" + j];
14597
14597
  }
14598
14598
  return [F(V) + "=" + F(P(oe, y.encoder, ae, "value", $))];
14599
14599
  }
14600
14600
  return [F(b) + "=" + F(String(oe))];
14601
14601
  }
14602
- var L = [];
14602
+ var H = [];
14603
14603
  if (typeof oe > "u")
14604
- return L;
14604
+ return H;
14605
14605
  var B;
14606
14606
  if (h === "comma" && a(oe))
14607
14607
  B = [{ value: oe.length > 0 ? oe.join(",") || null : void 0 }];
@@ -14615,7 +14615,7 @@ function YM() {
14615
14615
  var se = B[Q], X = typeof se == "object" && typeof se.value < "u" ? se.value : oe[se];
14616
14616
  if (!(S && X === null)) {
14617
14617
  var ue = a(oe) ? typeof h == "function" ? h(b, se) : b : b + (E ? "." + se : "[" + se + "]");
14618
- f(L, c(
14618
+ f(H, c(
14619
14619
  X,
14620
14620
  ue,
14621
14621
  h,
@@ -14633,7 +14633,7 @@ function YM() {
14633
14633
  ));
14634
14634
  }
14635
14635
  }
14636
- return L;
14636
+ return H;
14637
14637
  }, l = function(v) {
14638
14638
  if (!v)
14639
14639
  return y;
@@ -15423,8 +15423,8 @@ var rS = {
15423
15423
  })), jt($t(s), "onInternalStateChange", Os(function() {
15424
15424
  var oe = s.mainIndex.getWidgetUiState({});
15425
15425
  s.middleware.forEach(function(V) {
15426
- var H = V.instance;
15427
- H.onStateChange({
15426
+ var L = V.instance;
15427
+ L.onStateChange({
15428
15428
  uiState: oe
15429
15429
  });
15430
15430
  });
@@ -16206,28 +16206,28 @@ function lS() {
16206
16206
  function p(b, h, w, S) {
16207
16207
  var P = h && h.prototype instanceof y ? h : y, O = Object.create(P.prototype);
16208
16208
  return t(O, "_invoke", (function(A, E, x) {
16209
- var $, F, M, ae = 0, oe = x || [], V = !1, H = {
16209
+ var $, F, M, ae = 0, oe = x || [], V = !1, L = {
16210
16210
  p: 0,
16211
16211
  n: 0,
16212
16212
  v: n,
16213
16213
  a: j,
16214
16214
  f: j.bind(n, 4),
16215
- d: function(L, B) {
16216
- return $ = L, F = 0, M = n, H.n = B, g;
16215
+ d: function(H, B) {
16216
+ return $ = H, F = 0, M = n, L.n = B, g;
16217
16217
  }
16218
16218
  };
16219
- function j(D, L) {
16220
- for (F = D, M = L, a = 0; !V && ae && !B && a < oe.length; a++) {
16221
- var B, J = oe[a], Q = H.p, se = J[2];
16222
- D > 3 ? (B = se === L) && (M = J[(F = J[4]) ? 5 : (F = 3, 3)], J[4] = J[5] = n) : J[0] <= Q && ((B = D < 2 && Q < J[1]) ? (F = 0, H.v = L, H.n = J[1]) : Q < se && (B = D < 3 || J[0] > L || L > se) && (J[4] = D, J[5] = L, H.n = se, F = 0));
16219
+ function j(D, H) {
16220
+ for (F = D, M = H, a = 0; !V && ae && !B && a < oe.length; a++) {
16221
+ var B, J = oe[a], Q = L.p, se = J[2];
16222
+ D > 3 ? (B = se === H) && (M = J[(F = J[4]) ? 5 : (F = 3, 3)], J[4] = J[5] = n) : J[0] <= Q && ((B = D < 2 && Q < J[1]) ? (F = 0, L.v = H, L.n = J[1]) : Q < se && (B = D < 3 || J[0] > H || H > se) && (J[4] = D, J[5] = H, L.n = se, F = 0));
16223
16223
  }
16224
16224
  if (B || D > 1) return g;
16225
- throw V = !0, L;
16225
+ throw V = !0, H;
16226
16226
  }
16227
- return function(D, L, B) {
16227
+ return function(D, H, B) {
16228
16228
  if (ae > 1) throw TypeError("Generator is already running");
16229
- for (V && L === 1 && j(L, B), F = L, M = B; (a = F < 2 ? n : M) || !V; ) {
16230
- $ || (F ? F < 3 ? (F > 1 && (H.n = -1), j(F, M)) : H.n = M : H.v = M);
16229
+ for (V && H === 1 && j(H, B), F = H, M = B; (a = F < 2 ? n : M) || !V; ) {
16230
+ $ || (F ? F < 3 ? (F > 1 && (L.n = -1), j(F, M)) : L.n = M : L.v = M);
16231
16231
  try {
16232
16232
  if (ae = 2, $) {
16233
16233
  if (F || (D = "next"), a = $[D]) {
@@ -16236,7 +16236,7 @@ function lS() {
16236
16236
  M = a.value, F < 2 && (F = 0);
16237
16237
  } else F === 1 && (a = $.return) && a.call($), F < 2 && (M = TypeError("The iterator does not provide a '" + D + "' method"), F = 1);
16238
16238
  $ = n;
16239
- } else if ((a = (V = H.n < 0) ? M : A.call(E, H)) !== g) break;
16239
+ } else if ((a = (V = L.n < 0) ? M : A.call(E, L)) !== g) break;
16240
16240
  } catch (J) {
16241
16241
  $ = n, F = 1, M = J;
16242
16242
  } finally {
@@ -16577,9 +16577,9 @@ function u3() {
16577
16577
  protocol: "http"
16578
16578
  }]
16579
16579
  }, this.server.cacheSearchResultsForSeconds = (a = this.server.cacheSearchResultsForSeconds) !== null && a !== void 0 ? a : 120, this.additionalSearchParameters = (s = $.additionalSearchParameters) !== null && s !== void 0 ? s : {}, this.additionalSearchParameters.query_by = (u = (f = this.additionalSearchParameters.queryBy) !== null && f !== void 0 ? f : this.additionalSearchParameters.query_by) !== null && u !== void 0 ? u : "", this.additionalSearchParameters.preset = (p = (g = this.additionalSearchParameters.preset) !== null && g !== void 0 ? g : this.additionalSearchParameters.preset) !== null && p !== void 0 ? p : "", this.additionalSearchParameters.sort_by = (y = (_ = this.additionalSearchParameters.sortBy) !== null && _ !== void 0 ? _ : this.additionalSearchParameters.sort_by) !== null && y !== void 0 ? y : "", this.additionalSearchParameters.highlight_full_fields = (d = (l = this.additionalSearchParameters.highlightFullFields) !== null && l !== void 0 ? l : this.additionalSearchParameters.highlight_full_fields) !== null && d !== void 0 ? d : this.additionalSearchParameters.query_by, this.geoLocationField = (c = $.geoLocationField) !== null && c !== void 0 ? c : "_geoloc", this.facetableFieldsWithSpecialCharacters = (v = $.facetableFieldsWithSpecialCharacters) !== null && v !== void 0 ? v : [], this.collectionSpecificSearchParameters = (b = $.collectionSpecificSearchParameters) !== null && b !== void 0 ? b : {}, Object.keys(this.collectionSpecificSearchParameters).forEach(function(F) {
16580
- var M, ae, oe, V, H, j, D = h.collectionSpecificSearchParameters[F];
16581
- D.query_by = (M = D.queryBy) !== null && M !== void 0 ? M : D.query_by, D.preset = (ae = D.preset) !== null && ae !== void 0 ? ae : D.preset, D.sort_by = (oe = D.sortBy) !== null && oe !== void 0 ? oe : D.sort_by, D.highlight_full_fields = (V = (H = (j = D.highlightFullFields) !== null && j !== void 0 ? j : D.highlight_full_fields) !== null && H !== void 0 ? H : h.additionalSearchParameters.highlight_full_fields) !== null && V !== void 0 ? V : D.query_by, Object.keys(D).forEach(function(L) {
16582
- return D[L] === void 0 ? delete D[L] : {};
16580
+ var M, ae, oe, V, L, j, D = h.collectionSpecificSearchParameters[F];
16581
+ D.query_by = (M = D.queryBy) !== null && M !== void 0 ? M : D.query_by, D.preset = (ae = D.preset) !== null && ae !== void 0 ? ae : D.preset, D.sort_by = (oe = D.sortBy) !== null && oe !== void 0 ? oe : D.sort_by, D.highlight_full_fields = (V = (L = (j = D.highlightFullFields) !== null && j !== void 0 ? j : D.highlight_full_fields) !== null && L !== void 0 ? L : h.additionalSearchParameters.highlight_full_fields) !== null && V !== void 0 ? V : D.query_by, Object.keys(D).forEach(function(H) {
16582
+ return D[H] === void 0 ? delete D[H] : {};
16583
16583
  });
16584
16584
  }), this.renderingContent = $.renderingContent, this.flattenGroupedHits = (w = $.flattenGroupedHits) !== null && w !== void 0 ? w : !0, this.facetByOptions = (S = $.facetByOptions) !== null && S !== void 0 ? S : {}, this.filterByOptions = (P = $.filterByOptions) !== null && P !== void 0 ? P : {}, this.sortByOptions = (O = $.sortByOptions) !== null && O !== void 0 ? O : {}, this.collectionSpecificFacetByOptions = (A = $.collectionSpecificFacetByOptions) !== null && A !== void 0 ? A : {}, this.collectionSpecificFilterByOptions = (E = $.collectionSpecificFilterByOptions) !== null && E !== void 0 ? E : {}, this.collectionSpecificSortByOptions = (x = $.collectionSpecificSortByOptions) !== null && x !== void 0 ? x : {};
16585
16585
  }
@@ -17489,7 +17489,7 @@ function P3() {
17489
17489
  let I;
17490
17490
  return C && (typeof FormData == "function" && C instanceof FormData || c(C.append) && ((I = s(C)) === "formdata" || // detect form-data instance
17491
17491
  I === "object" && c(C.toString) && C.toString() === "[object FormData]"));
17492
- }, F = u("URLSearchParams"), [M, ae, oe, V] = ["ReadableStream", "Request", "Response", "Headers"].map(u), H = (C) => C.trim ? C.trim() : C.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
17492
+ }, F = u("URLSearchParams"), [M, ae, oe, V] = ["ReadableStream", "Request", "Response", "Headers"].map(u), L = (C) => C.trim ? C.trim() : C.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
17493
17493
  function j(C, I, { allOwnKeys: W = !1 } = {}) {
17494
17494
  if (C === null || typeof C > "u")
17495
17495
  return;
@@ -17517,7 +17517,7 @@ function P3() {
17517
17517
  return ne;
17518
17518
  return null;
17519
17519
  }
17520
- const L = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : Xo, B = (C) => !g(C) && C !== L;
17520
+ const H = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : Xo, B = (C) => !g(C) && C !== H;
17521
17521
  function J() {
17522
17522
  const { caseless: C, skipUndefined: I } = B(this) && this || {}, W = {}, G = (ne, he) => {
17523
17523
  const de = C && D(W, he) || he;
@@ -17626,14 +17626,14 @@ function P3() {
17626
17626
  return G;
17627
17627
  };
17628
17628
  return W(C, 0);
17629
- }, Et = u("AsyncFunction"), br = (C) => C && (b(C) || c(C)) && c(C.then) && c(C.catch), be = ((C, I) => C ? setImmediate : I ? ((W, G) => (L.addEventListener("message", ({ source: ne, data: he }) => {
17630
- ne === L && he === W && G.length && G.shift()();
17629
+ }, Et = u("AsyncFunction"), br = (C) => C && (b(C) || c(C)) && c(C.then) && c(C.catch), be = ((C, I) => C ? setImmediate : I ? ((W, G) => (H.addEventListener("message", ({ source: ne, data: he }) => {
17630
+ ne === H && he === W && G.length && G.shift()();
17631
17631
  }, !1), (ne) => {
17632
- G.push(ne), L.postMessage(W, "*");
17632
+ G.push(ne), H.postMessage(W, "*");
17633
17633
  }))(`axios@${Math.random()}`, []) : (W) => setTimeout(W))(
17634
17634
  typeof setImmediate == "function",
17635
- c(L.postMessage)
17636
- ), Be = typeof queueMicrotask < "u" ? queueMicrotask.bind(L) : typeof process < "u" && process.nextTick || be;
17635
+ c(H.postMessage)
17636
+ ), Be = typeof queueMicrotask < "u" ? queueMicrotask.bind(H) : typeof process < "u" && process.nextTick || be;
17637
17637
  var me = {
17638
17638
  isArray: p,
17639
17639
  isArrayBuffer: _,
@@ -17663,7 +17663,7 @@ function P3() {
17663
17663
  forEach: j,
17664
17664
  merge: J,
17665
17665
  extend: Q,
17666
- trim: H,
17666
+ trim: L,
17667
17667
  stripBOM: se,
17668
17668
  inherits: X,
17669
17669
  toFlatObject: ue,
@@ -17684,7 +17684,7 @@ function P3() {
17684
17684
  noop: ge,
17685
17685
  toFiniteNumber: dt,
17686
17686
  findKey: D,
17687
- global: L,
17687
+ global: H,
17688
17688
  isContextDefined: B,
17689
17689
  isSpecCompliantForm: rt,
17690
17690
  toJSONObject: Yt,
@@ -19339,7 +19339,7 @@ function US() {
19339
19339
  return l ? t.default.getAdapter(this.configuration.axiosAdapter).bind(globalThis) : t.default.getAdapter(this.configuration.axiosAdapter);
19340
19340
  }
19341
19341
  }, d.prototype.performRequest = function(l, c, v) {
19342
- var b, h, w, S, P = v.queryParameters, O = P === void 0 ? null : P, A = v.bodyParameters, E = A === void 0 ? null : A, x = v.additionalHeaders, $ = x === void 0 ? {} : x, F = v.abortSignal, M = F === void 0 ? null : F, ae = v.responseType, oe = ae === void 0 ? void 0 : ae, V = v.skipConnectionTimeout, H = V === void 0 ? !1 : V, j = v.enableKeepAlive, D = j === void 0 ? void 0 : j, L = v.streamConfig, B = L === void 0 ? void 0 : L, J = v.isStreamingRequest;
19342
+ var b, h, w, S, P = v.queryParameters, O = P === void 0 ? null : P, A = v.bodyParameters, E = A === void 0 ? null : A, x = v.additionalHeaders, $ = x === void 0 ? {} : x, F = v.abortSignal, M = F === void 0 ? null : F, ae = v.responseType, oe = ae === void 0 ? void 0 : ae, V = v.skipConnectionTimeout, L = V === void 0 ? !1 : V, j = v.enableKeepAlive, D = j === void 0 ? void 0 : j, H = v.streamConfig, B = H === void 0 ? void 0 : H, J = v.isStreamingRequest;
19343
19343
  return e.__awaiter(this, void 0, void 0, function() {
19344
19344
  var Q, se, X, ue, ee, _e, te;
19345
19345
  return e.__generator(this, function(z) {
@@ -19369,7 +19369,7 @@ function US() {
19369
19369
  return rt !== void 0 && typeof dt == "string" && rt["content-type"] && rt["content-type"].startsWith("application/json") && (Yt = JSON.parse(dt)), Yt;
19370
19370
  }
19371
19371
  ]
19372
- }, We.adapter = J && !y ? "fetch" : ee.getAdapter(), H !== !0 && (We.timeout = ee.connectionTimeoutSeconds * 1e3), O && Object.keys(O).length !== 0 && (We.params = O), ee.sendApiKeyAsQueryParam && (We.params = We.params || {}, We.params["x-typesense-api-key"] = ee.apiKey), ee.configuration.httpAgent ? (ee.logger.debug("Request #".concat(Q, ": Using custom httpAgent")), We.httpAgent = ee.configuration.httpAgent) : D === !0 && (y ? (ee.logger.debug("Request #".concat(Q, ": Enabling KeepAlive")), We.httpAgent = new r.Agent({ keepAlive: !0 })) : ee.logger.warn("Request #".concat(Q, ": Cannot use custom httpAgent in a browser environment to enable keepAlive"))), ee.configuration.httpsAgent ? (ee.logger.debug("Request #".concat(Q, ": Using custom httpsAgent")), We.httpsAgent = ee.configuration.httpsAgent) : D === !0 && (y ? (ee.logger.debug("Request #".concat(Q, ": Enabling keepAlive")), We.httpsAgent = new n.Agent({ keepAlive: !0 })) : ee.logger.warn("Request #".concat(Q, ": Cannot use custom httpAgent in a browser environment to enable keepAlive"))), ee.configuration.paramsSerializer && (ee.logger.debug("Request #".concat(Q, ": Using custom paramsSerializer")), We.paramsSerializer = ee.configuration.paramsSerializer), E && (typeof E == "string" && E.length !== 0 || typeof E == "object" && Object.keys(E).length !== 0) && (We.data = E), M && (Ce = t.default.CancelToken, Fe = Ce.source(), Se = function() {
19372
+ }, We.adapter = J && !y ? "fetch" : ee.getAdapter(), L !== !0 && (We.timeout = ee.connectionTimeoutSeconds * 1e3), O && Object.keys(O).length !== 0 && (We.params = O), ee.sendApiKeyAsQueryParam && (We.params = We.params || {}, We.params["x-typesense-api-key"] = ee.apiKey), ee.configuration.httpAgent ? (ee.logger.debug("Request #".concat(Q, ": Using custom httpAgent")), We.httpAgent = ee.configuration.httpAgent) : D === !0 && (y ? (ee.logger.debug("Request #".concat(Q, ": Enabling KeepAlive")), We.httpAgent = new r.Agent({ keepAlive: !0 })) : ee.logger.warn("Request #".concat(Q, ": Cannot use custom httpAgent in a browser environment to enable keepAlive"))), ee.configuration.httpsAgent ? (ee.logger.debug("Request #".concat(Q, ": Using custom httpsAgent")), We.httpsAgent = ee.configuration.httpsAgent) : D === !0 && (y ? (ee.logger.debug("Request #".concat(Q, ": Enabling keepAlive")), We.httpsAgent = new n.Agent({ keepAlive: !0 })) : ee.logger.warn("Request #".concat(Q, ": Cannot use custom httpAgent in a browser environment to enable keepAlive"))), ee.configuration.paramsSerializer && (ee.logger.debug("Request #".concat(Q, ": Using custom paramsSerializer")), We.paramsSerializer = ee.configuration.paramsSerializer), E && (typeof E == "string" && E.length !== 0 || typeof E == "object" && Object.keys(E).length !== 0) && (We.data = E), M && (Ce = t.default.CancelToken, Fe = Ce.source(), Se = function() {
19373
19373
  X = !0, Fe.cancel();
19374
19374
  }, M.addEventListener("abort", Se), We.cancelToken = Fe.token), J ? (We.responseType = "stream", y || (We.headers = e.__assign(e.__assign({}, We.headers), { Accept: "text/event-stream" }))) : oe && (We.responseType = oe), [4, (0, t.default)(We)];
19375
19375
  case 2:
@@ -19699,7 +19699,7 @@ function BS() {
19699
19699
  this.responseCache = /* @__PURE__ */ new Map(), this.responsePromiseCache = /* @__PURE__ */ new Map();
19700
19700
  }, a.prototype.perform = function(s, u, f, p) {
19701
19701
  return e.__awaiter(this, void 0, void 0, function() {
19702
- var g, y, _, d, l, c, v, b, h, w, S, P, O, A, E, x, $, M, F, M, ae, oe, V, j, H, j;
19702
+ var g, y, _, d, l, c, v, b, h, w, S, P, O, A, E, x, $, M, F, M, ae, oe, V, j, L, j;
19703
19703
  return e.__generator(this, function(D) {
19704
19704
  switch (D.label) {
19705
19705
  case 0:
@@ -19723,7 +19723,7 @@ function BS() {
19723
19723
  return oe = D.sent(), this.responseCache.set(E, {
19724
19724
  requestTimestamp: $,
19725
19725
  response: oe
19726
- }), V = this.responseCache.size > l, V && (j = this.responseCache.keys().next().value, j && this.responseCache.delete(j)), H = this.responsePromiseCache.size > l, H && (j = this.responsePromiseCache.keys().next().value, j && this.responsePromiseCache.delete(j)), [2, oe];
19726
+ }), V = this.responseCache.size > l, V && (j = this.responseCache.keys().next().value, j && this.responseCache.delete(j)), L = this.responsePromiseCache.size > l, L && (j = this.responsePromiseCache.keys().next().value, j && this.responsePromiseCache.delete(j)), [2, oe];
19727
19727
  }
19728
19728
  });
19729
19729
  });
@@ -21229,11 +21229,11 @@ function nN() {
21229
21229
  if (Array.isArray(v)) {
21230
21230
  var b = {};
21231
21231
  v.forEach(function(D) {
21232
- var L = d._parseFacetFilter(D), B = L.fieldName, J = L.fieldValue;
21232
+ var H = d._parseFacetFilter(D), B = H.fieldName, J = H.fieldValue;
21233
21233
  b[B] = b[B] || [], b[B].push(J);
21234
21234
  }), Object.keys(b).length > 1 && console.error("[Typesense-Instantsearch-Adapter] Typesense does not support cross-field ORs at the moment. The adapter could not OR values between these fields: ".concat(Object.keys(b).join(",")));
21235
- var h = Object.keys(b)[0], w = b[h], S = w.reduce(function(D, L) {
21236
- return L.startsWith("-") && !d._isNumber(L) ? D[0].push(L.substring(1)) : D[1].push(L), D;
21235
+ var h = Object.keys(b)[0], w = b[h], S = w.reduce(function(D, H) {
21236
+ return H.startsWith("-") && !d._isNumber(H) ? D[0].push(H.substring(1)) : D[1].push(H), D;
21237
21237
  }, [[], []]), P = (0, a.default)(S, 2), O = P[0], A = P[1], E = [];
21238
21238
  if (A.length > 0) {
21239
21239
  var x = d._shouldUseExactMatchForField(h, _) ? ":=" : ":";
@@ -21254,8 +21254,8 @@ function nN() {
21254
21254
  } else {
21255
21255
  var M = d._parseFacetFilter(v), ae = M.fieldName, oe = M.fieldValue, V;
21256
21256
  if (oe.startsWith("-") && !d._isNumber(oe)) {
21257
- var H = d._shouldUseExactMatchForField(ae, _) ? ":!=" : ":!";
21258
- V = "".concat(ae).concat(H, "[").concat(d._escapeFacetValue(oe.substring(1)), "]");
21257
+ var L = d._shouldUseExactMatchForField(ae, _) ? ":!=" : ":!";
21258
+ V = "".concat(ae).concat(L, "[").concat(d._escapeFacetValue(oe.substring(1)), "]");
21259
21259
  } else {
21260
21260
  var j = d._shouldUseExactMatchForField(ae, _) ? ":=" : ":";
21261
21261
  V = "".concat(ae).concat(j, "[").concat(d._escapeFacetValue(oe), "]");
@@ -21422,9 +21422,9 @@ function nN() {
21422
21422
  }), l.hitsPerPage != null && (M.per_page = l.hitsPerPage), l.facetQuery && (M.facet_query = "".concat(l.facetName, ":").concat(l.facetQuery), M.per_page = 0), l.ruleContexts && l.ruleContexts.length > 0 && (M.override_tags = this._adaptRulesContextsToOverrideTags(l.ruleContexts)), l.typesenseVectorQuery && (M.vector_query = l.typesenseVectorQuery);
21423
21423
  var oe = ((_ = this.configuration.collectionSpecificSortByOptions) === null || _ === void 0 || (_ = _[v]) === null || _ === void 0 ? void 0 : _[M.sort_by]) || ((d = this.configuration.sortByOptions) === null || d === void 0 ? void 0 : d[M.sort_by]);
21424
21424
  return oe?.enable_overrides != null && (M.enable_overrides = oe.enable_overrides), Object.fromEntries(Object.entries(M).filter(function(V) {
21425
- var H = (0, a.default)(V, 2);
21426
- H[0];
21427
- var j = H[1];
21425
+ var L = (0, a.default)(V, 2);
21426
+ L[0];
21427
+ var j = L[1];
21428
21428
  return j != null && j !== "";
21429
21429
  }));
21430
21430
  }
@@ -25708,15 +25708,15 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
25708
25708
  Q(z[0]),
25709
25709
  z[1] ? Q(z[1]) : Rs(u.value.partialRange)
25710
25710
  ];
25711
- }, M = () => Array.isArray(a.value) ? a.value[1] ? F() : Q($r(a.value[0])) : [], ae = () => (a.value || []).map((z) => Q(z)), oe = (z = !1) => (z || $(), t.modelAuto ? M() : p.value.enabled ? ae() : Array.isArray(a.value) ? hf(() => F(), u.value.enabled) : Q($r(a.value))), V = (z) => !z || Array.isArray(z) && !z.length ? null : t.timePicker ? P($r(z)) : t.monthPicker ? O($r(z)) : t.yearPicker ? w($r(z)) : p.value.enabled ? A($r(z)) : t.weekPicker ? E($r(z)) : x($r(z)), H = (z) => {
25711
+ }, M = () => Array.isArray(a.value) ? a.value[1] ? F() : Q($r(a.value[0])) : [], ae = () => (a.value || []).map((z) => Q(z)), oe = (z = !1) => (z || $(), t.modelAuto ? M() : p.value.enabled ? ae() : Array.isArray(a.value) ? hf(() => F(), u.value.enabled) : Q($r(a.value))), V = (z) => !z || Array.isArray(z) && !z.length ? null : t.timePicker ? P($r(z)) : t.monthPicker ? O($r(z)) : t.yearPicker ? w($r(z)) : p.value.enabled ? A($r(z)) : t.weekPicker ? E($r(z)) : x($r(z)), L = (z) => {
25712
25712
  if (n.value) return;
25713
25713
  const we = V(z);
25714
25714
  xm($r(we)) ? (a.value = $r(we), B()) : (a.value = null, y.value = "");
25715
25715
  }, j = () => {
25716
25716
  const z = (we) => ba(we, s.value.format);
25717
25717
  return `${z(a.value[0])} ${s.value.rangeSeparator} ${a.value[1] ? z(a.value[1]) : ""}`;
25718
- }, D = () => r.value && a.value ? Array.isArray(a.value) ? j() : ba(a.value, s.value.format) : v(a.value), L = () => a.value ? p.value.enabled ? a.value.map((z) => v(z)).join("; ") : s.value.enabled && typeof s.value.format == "string" ? D() : v(a.value) : "", B = () => {
25719
- !t.format || typeof t.format == "string" || s.value.enabled && typeof s.value.format == "string" ? y.value = L() : y.value = t.format(a.value);
25718
+ }, D = () => r.value && a.value ? Array.isArray(a.value) ? j() : ba(a.value, s.value.format) : v(a.value), H = () => a.value ? p.value.enabled ? a.value.map((z) => v(z)).join("; ") : s.value.enabled && typeof s.value.format == "string" ? D() : v(a.value) : "", B = () => {
25719
+ !t.format || typeof t.format == "string" || s.value.enabled && typeof s.value.format == "string" ? y.value = H() : y.value = t.format(a.value);
25720
25720
  }, J = (z) => {
25721
25721
  if (t.utc) {
25722
25722
  const we = new Date(z);
@@ -25750,7 +25750,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
25750
25750
  inputValue: y,
25751
25751
  internalModelValue: a,
25752
25752
  checkBeforeEmit: () => a.value ? u.value.enabled ? u.value.partialRange ? a.value.length >= 1 : a.value.length === 2 : !!a.value : !1,
25753
- parseExternalModelValue: H,
25753
+ parseExternalModelValue: L,
25754
25754
  formatInputValue: B,
25755
25755
  emitModelValue: te
25756
25756
  };
@@ -25939,8 +25939,8 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
25939
25939
  });
25940
25940
  const P = () => {
25941
25941
  b.value = !1, setTimeout(() => {
25942
- const V = w.value?.getBoundingClientRect(), H = S.value?.getBoundingClientRect();
25943
- V && H && (h.value.maxWidth = `${H.width - V.width - 20}px`), b.value = !0;
25942
+ const V = w.value?.getBoundingClientRect(), L = S.value?.getBoundingClientRect();
25943
+ V && L && (h.value.maxWidth = `${L.width - V.width - 20}px`), b.value = !0;
25944
25944
  }, 0);
25945
25945
  }, O = Ie(() => g.value.enabled && !g.value.partialRange && n.internalModelValue ? n.internalModelValue.length === 2 : !0), A = Ie(
25946
25946
  () => !_.value(n.internalModelValue) || !d.value(n.internalModelValue) || !O.value
@@ -25962,7 +25962,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
25962
25962
  ), oe = () => {
25963
25963
  _.value(n.internalModelValue) && d.value(n.internalModelValue) && O.value ? r("select-date") : r("invalid-select");
25964
25964
  };
25965
- return (V, H) => (q(), Y("div", {
25965
+ return (V, L) => (q(), Y("div", {
25966
25966
  ref_key: "actionRowRef",
25967
25967
  ref: S,
25968
25968
  class: "dp__action_row"
@@ -26004,15 +26004,15 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
26004
26004
  ref: c,
26005
26005
  type: "button",
26006
26006
  class: "dp__action_button dp__action_cancel",
26007
- onClick: H[0] || (H[0] = (j) => V.$emit("close-picker")),
26008
- onKeydown: H[1] || (H[1] = (j) => Z(tn)(j, () => V.$emit("close-picker")))
26007
+ onClick: L[0] || (L[0] = (j) => V.$emit("close-picker")),
26008
+ onKeydown: L[1] || (L[1] = (j) => Z(tn)(j, () => V.$emit("close-picker")))
26009
26009
  }, Ae(V.cancelText), 545)) : fe("", !0),
26010
26010
  Z(a).showNow ? (q(), Y("button", {
26011
26011
  key: 1,
26012
26012
  type: "button",
26013
26013
  class: "dp__action_button dp__action_cancel",
26014
- onClick: H[2] || (H[2] = (j) => V.$emit("select-now")),
26015
- onKeydown: H[3] || (H[3] = (j) => Z(tn)(j, () => V.$emit("select-now")))
26014
+ onClick: L[2] || (L[2] = (j) => V.$emit("select-now")),
26015
+ onKeydown: L[3] || (L[3] = (j) => Z(tn)(j, () => V.$emit("select-now")))
26016
26016
  }, Ae(V.nowButtonLabel), 33)) : fe("", !0),
26017
26017
  Z(a).showSelect ? (q(), Y("button", {
26018
26018
  key: 2,
@@ -26022,7 +26022,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
26022
26022
  class: "dp__action_button dp__action_select",
26023
26023
  disabled: A.value,
26024
26024
  "data-test-id": "select-button",
26025
- onKeydown: H[4] || (H[4] = (j) => Z(tn)(j, () => oe())),
26025
+ onKeydown: L[4] || (L[4] = (j) => Z(tn)(j, () => oe())),
26026
26026
  onClick: oe
26027
26027
  }, Ae(V.selectText), 41, s5)) : fe("", !0)
26028
26028
  ], 64))
@@ -26103,14 +26103,14 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
26103
26103
  X.disabled || u("selected", X.value);
26104
26104
  }, V = () => {
26105
26105
  u("toggle"), u("reset-flow");
26106
- }, H = (X) => {
26106
+ }, L = (X) => {
26107
26107
  f.escClose && (V(), _(X));
26108
26108
  }, j = (X, ue, ee, _e) => {
26109
26109
  X && ((ue.active || ue.value === f.focusValue) && (c.value = X), f.arrowNavigation && (Array.isArray(b.value[ee]) ? b.value[ee][_e] = X : b.value[ee] = [X], D()));
26110
26110
  }, D = () => {
26111
26111
  const X = f.headerRefs?.length ? [f.headerRefs].concat(b.value) : b.value.concat([f.skipButtonRef ? [] : [w.value]]);
26112
26112
  a($r(X), f.headerRefs?.length ? "monthPicker" : "selectionGrid");
26113
- }, L = (X) => {
26113
+ }, H = (X) => {
26114
26114
  f.arrowNavigation || hi(X, y.value, !0);
26115
26115
  }, B = (X) => {
26116
26116
  h.value = X, u("hover-value", X);
@@ -26122,15 +26122,15 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
26122
26122
  }, Q = (X) => {
26123
26123
  switch (X.key) {
26124
26124
  case Zt.esc:
26125
- return H(X);
26126
- case Zt.arrowLeft:
26127
26125
  return L(X);
26126
+ case Zt.arrowLeft:
26127
+ return H(X);
26128
26128
  case Zt.arrowRight:
26129
- return L(X);
26129
+ return H(X);
26130
26130
  case Zt.arrowUp:
26131
- return L(X);
26131
+ return H(X);
26132
26132
  case Zt.arrowDown:
26133
- return L(X);
26133
+ return H(X);
26134
26134
  default:
26135
26135
  return;
26136
26136
  }
@@ -26533,7 +26533,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
26533
26533
  }, V = (ue, ee, _e) => {
26534
26534
  const te = ae();
26535
26535
  return Array.isArray(te) ? c.value(ee) === te[_e]?.year && ue === te[_e]?.month : !1;
26536
- }, H = (ue, ee) => {
26536
+ }, L = (ue, ee) => {
26537
26537
  if (u.value.enabled) {
26538
26538
  const _e = ae();
26539
26539
  if (Array.isArray(l.value) && Array.isArray(_e)) {
@@ -26548,9 +26548,9 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
26548
26548
  ee.value,
26549
26549
  LR(c.value(ue), p.value.minDate),
26550
26550
  HR(c.value(ue), p.value.maxDate)
26551
- ) || NH(p.value.disabledDates, c.value(ue), ee.value) || y.value.months?.includes(ee.value) || !LH(p.value.allowedDates, c.value(ue), ee.value) || YR(e.yearRange, c.value(ue)), z = H(ee.value, ue), we = VR(f.value, ee.value, c.value(ue));
26551
+ ) || NH(p.value.disabledDates, c.value(ue), ee.value) || y.value.months?.includes(ee.value) || !LH(p.value.allowedDates, c.value(ue), ee.value) || YR(e.yearRange, c.value(ue)), z = L(ee.value, ue), we = VR(f.value, ee.value, c.value(ue));
26552
26552
  return { active: _e, disabled: te, isBetween: z, highlighted: we };
26553
- })), D = (ue, ee) => Ua(Jn(je()), ue, c.value(ee)), L = (ue, ee) => {
26553
+ })), D = (ue, ee) => Ua(Jn(je()), ue, c.value(ee)), H = (ue, ee) => {
26554
26554
  const _e = l.value ? l.value : Jn(/* @__PURE__ */ new Date());
26555
26555
  l.value = Ua(_e, ue, c.value(ee)), t("auto-apply"), t("update-flow-step");
26556
26556
  }, B = (ue, ee) => {
@@ -26560,7 +26560,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
26560
26560
  });
26561
26561
  }, J = (ue, ee) => {
26562
26562
  uv(D(ue, ee), l, _.value.limit), t("auto-apply", !0);
26563
- }, Q = (ue, ee) => (b.value[ee].month = ue, X(ee, b.value[ee].year, ue), _.value.enabled ? J(ue, ee) : u.value.enabled ? B(ue, ee) : L(ue, ee)), se = (ue, ee) => {
26563
+ }, Q = (ue, ee) => (b.value[ee].month = ue, X(ee, b.value[ee].year, ue), _.value.enabled ? J(ue, ee) : u.value.enabled ? B(ue, ee) : H(ue, ee)), se = (ue, ee) => {
26564
26564
  P(ue, ee), X(ee, ue, null);
26565
26565
  }, X = (ue, ee, _e) => {
26566
26566
  let te = _e;
@@ -26872,7 +26872,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
26872
26872
  dp__time_col_sec: a.enableSeconds && a.is24,
26873
26873
  dp__time_col_sec_with_button: a.enableSeconds && !a.is24
26874
26874
  })
26875
- ), H = Ie(
26875
+ ), L = Ie(
26876
26876
  () => a.timePickerInline && _.value.enabled && !d.value.count
26877
26877
  ), j = Ie(() => {
26878
26878
  const K = [{ type: "hours" }];
@@ -26881,7 +26881,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
26881
26881
  }), a.enableSeconds && K.push({ type: "", separator: !0 }, {
26882
26882
  type: "seconds"
26883
26883
  }), K;
26884
- }), D = Ie(() => j.value.filter((K) => !K.separator)), L = Ie(() => (K) => {
26884
+ }), D = Ie(() => j.value.filter((K) => !K.separator)), H = Ie(() => (K) => {
26885
26885
  if (K === "hours") {
26886
26886
  const qe = Ve(+a.hours);
26887
26887
  return { text: qe < 10 ? `0${qe}` : `${qe}`, value: qe };
@@ -26935,8 +26935,8 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
26935
26935
  (q(!0), Y($e, null, Xe(j.value, (ge, dt) => (q(), Y("div", {
26936
26936
  key: dt,
26937
26937
  class: ve(V.value),
26938
- "data-compact": H.value && !K.enableSeconds,
26939
- "data-collapsed": H.value && K.enableSeconds
26938
+ "data-compact": L.value && !K.enableSeconds,
26939
+ "data-collapsed": L.value && K.enableSeconds
26940
26940
  }, [
26941
26941
  ge.separator ? (q(), Y($e, { key: 0 }, [
26942
26942
  P.value ? fe("", !0) : (q(), Y($e, { key: 0 }, [
@@ -26977,7 +26977,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
26977
26977
  ref_for: !0,
26978
26978
  ref: (rt) => Ce(rt, dt, 1),
26979
26979
  type: "button",
26980
- "aria-label": `${L.value(ge.type).text}-${Z(f)?.openTpOverlay(ge.type)}`,
26980
+ "aria-label": `${H.value(ge.type).text}-${Z(f)?.openTpOverlay(ge.type)}`,
26981
26981
  class: ve({
26982
26982
  dp__time_display: !0,
26983
26983
  dp__time_display_block: !K.timePickerInline,
@@ -26994,11 +26994,11 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
26994
26994
  }, [
26995
26995
  K.$slots[ge.type] ? Ee(K.$slots, ge.type, {
26996
26996
  key: 0,
26997
- text: L.value(ge.type).text,
26998
- value: L.value(ge.type).value
26997
+ text: H.value(ge.type).text,
26998
+ value: H.value(ge.type).value
26999
26999
  }) : fe("", !0),
27000
27000
  K.$slots[ge.type] ? fe("", !0) : (q(), Y($e, { key: 1 }, [
27001
- st(Ae(L.value(ge.type).text), 1)
27001
+ st(Ae(H.value(ge.type).text), 1)
27002
27002
  ], 64))
27003
27003
  ], 42, S5),
27004
27004
  T("button", {
@@ -27048,7 +27048,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
27048
27048
  role: "button",
27049
27049
  "aria-label": Z(f)?.amPmButton,
27050
27050
  tabindex: "0",
27051
- "data-compact": H.value,
27051
+ "data-compact": L.value,
27052
27052
  onClick: Se,
27053
27053
  onKeydown: qe[0] || (qe[0] = (ge) => Z(tn)(ge, () => Se(), !0))
27054
27054
  }, Ae(b.value), 41, O5))
@@ -27160,7 +27160,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
27160
27160
  n("update:hours", B);
27161
27161
  }, V = (B) => {
27162
27162
  n("update:minutes", B);
27163
- }, H = (B) => {
27163
+ }, L = (B) => {
27164
27164
  n("update:seconds", B);
27165
27165
  }, j = () => {
27166
27166
  if (S.value && !y.value.enabled && !a.noOverlayFocus) {
@@ -27169,7 +27169,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
27169
27169
  }
27170
27170
  }, D = (B) => {
27171
27171
  P.value = !1, n("overlay-closed", B);
27172
- }, L = (B) => {
27172
+ }, H = (B) => {
27173
27173
  P.value = !0, n("overlay-opened", B);
27174
27174
  };
27175
27175
  return t({ toggleTimePicker: $ }), (B, J) => (q(), Y("div", {
@@ -27225,7 +27225,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
27225
27225
  seconds: e.seconds,
27226
27226
  setHours: oe,
27227
27227
  setMinutes: V,
27228
- setSeconds: H
27228
+ setSeconds: L
27229
27229
  }) : fe("", !0),
27230
27230
  B.$slots["time-picker-overlay"] ? fe("", !0) : (q(), Y("div", {
27231
27231
  key: 1,
@@ -27247,10 +27247,10 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
27247
27247
  "validate-time": (X, ue) => e.validateTime(X, ae(ue, se, X)),
27248
27248
  "onUpdate:hours": (X) => oe(ae(X, se, "hours")),
27249
27249
  "onUpdate:minutes": (X) => V(ae(X, se, "minutes")),
27250
- "onUpdate:seconds": (X) => H(ae(X, se, "seconds")),
27250
+ "onUpdate:seconds": (X) => L(ae(X, se, "seconds")),
27251
27251
  onMounted: j,
27252
27252
  onOverlayClosed: D,
27253
- onOverlayOpened: L,
27253
+ onOverlayOpened: H,
27254
27254
  onAmPmChange: J[2] || (J[2] = (X) => B.$emit("am-pm-change", X))
27255
27255
  }), Fr({ _: 2 }, [
27256
27256
  Xe(Z(M), (X, ue) => ({
@@ -27499,7 +27499,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
27499
27499
  get: () => a[X],
27500
27500
  set: (ue) => {
27501
27501
  const ee = X === zn.month ? zn.year : zn.month;
27502
- n("update-month-year", { [X]: ue, [ee]: a[ee] }), X === zn.month ? D(!0) : L(!0);
27502
+ n("update-month-year", { [X]: ue, [ee]: a[ee] }), X === zn.month ? D(!0) : H(!0);
27503
27503
  }
27504
27504
  }), F = Ie($(zn.month)), M = Ie($(zn.year)), ae = Ie(() => (X) => ({
27505
27505
  month: a.month,
@@ -27507,7 +27507,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
27507
27507
  items: X === zn.month ? a.months : a.years,
27508
27508
  instance: a.instance,
27509
27509
  updateMonthYear: w,
27510
- toggle: X === zn.month ? D : L
27510
+ toggle: X === zn.month ? D : H
27511
27511
  })), oe = Ie(() => a.months.find((ue) => ue.value === a.month) || { text: "", value: 0 }), V = Ie(() => Bs(a.months, (X) => {
27512
27512
  const ue = a.month === X.value, ee = Ju(
27513
27513
  X.value,
@@ -27515,7 +27515,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
27515
27515
  HR(a.year, _.value.maxDate)
27516
27516
  ) || p.value.months.includes(X.value), _e = VR(y.value, X.value, a.year);
27517
27517
  return { active: ue, disabled: ee, highlighted: _e };
27518
- })), H = Ie(() => Bs(a.years, (X) => {
27518
+ })), L = Ie(() => Bs(a.years, (X) => {
27519
27519
  const ue = a.year === X.value, ee = Ju(
27520
27520
  X.value,
27521
27521
  Vs(_.value.minDate),
@@ -27526,7 +27526,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
27526
27526
  ee !== void 0 ? X.value = ee : X.value = !X.value, X.value ? (E.value = !0, n("overlay-opened", ue)) : (E.value = !1, n("overlay-closed", ue));
27527
27527
  }, D = (X = !1, ue) => {
27528
27528
  B(X), j(O, Vr.month, ue);
27529
- }, L = (X = !1, ue) => {
27529
+ }, H = (X = !1, ue) => {
27530
27530
  B(X), j(A, Vr.year, ue);
27531
27531
  }, B = (X) => {
27532
27532
  X || n("reset-flow");
@@ -27548,19 +27548,19 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
27548
27548
  {
27549
27549
  type: zn.year,
27550
27550
  index: 2,
27551
- toggle: L,
27551
+ toggle: H,
27552
27552
  modelValue: M.value,
27553
27553
  updateModelValue: (X) => M.value = X,
27554
27554
  text: iv(a.year, a.locale),
27555
27555
  showSelectionGrid: A.value,
27556
- items: H.value,
27556
+ items: L.value,
27557
27557
  ariaLabel: u.value?.openYearsOverlay,
27558
27558
  overlayLabel: u.value.yearPicker?.(!0) ?? void 0
27559
27559
  }
27560
27560
  ]), se = Ie(() => a.disableYearSelect ? [Q.value[0]] : a.yearFirst ? [...Q.value].reverse() : Q.value);
27561
27561
  return t({
27562
27562
  toggleMonthPicker: D,
27563
- toggleYearPicker: L,
27563
+ toggleYearPicker: H,
27564
27564
  handleMonthYearChange: b
27565
27565
  }), (X, ue) => (q(), Y("div", j5, [
27566
27566
  X.$slots["month-year"] ? (q(), Y("div", I5, [
@@ -27789,7 +27789,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
27789
27789
  }), oe = Ie(() => (Se) => At(Se, l.value)), V = Ie(() => ({
27790
27790
  dp__calendar: !0,
27791
27791
  dp__calendar_next: g.value.count > 0 && a.instance !== 0
27792
- })), H = Ie(() => (Se) => a.hideOffsetDates ? Se.current : !0), j = async (Se, We) => {
27792
+ })), L = Ie(() => (Se) => a.hideOffsetDates ? Se.current : !0), j = async (Se, We) => {
27793
27793
  const { width: Ce, height: Fe } = Se.getBoundingClientRect();
27794
27794
  l.value = We.value;
27795
27795
  let K = { left: `${Ce / 2}px` }, qe = -50;
@@ -27805,7 +27805,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
27805
27805
  }, D = async (Se, We, Ce) => {
27806
27806
  const Fe = yr(v.value[We][Ce]);
27807
27807
  Fe && (Se.marker?.customPosition && Se.marker?.tooltip?.length ? c.value = Se.marker.customPosition(Fe) : await j(Fe, Se), n("tooltip-open", Se.marker));
27808
- }, L = async (Se, We, Ce) => {
27808
+ }, H = async (Se, We, Ce) => {
27809
27809
  if (A.value && _.value.enabled && _.value.dragSelect)
27810
27810
  return n("select-date", Se);
27811
27811
  if (n("set-hover-date", Se), Se.marker?.tooltip?.length) {
@@ -27900,7 +27900,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
27900
27900
  onClick: Gt((ge) => z(ge, K), ["prevent"]),
27901
27901
  onTouchend: (ge) => z(ge, K, !1),
27902
27902
  onKeydown: (ge) => Z(tn)(ge, () => Se.$emit("select-date", K)),
27903
- onMouseenter: (ge) => L(K, Fe, qe),
27903
+ onMouseenter: (ge) => H(K, Fe, qe),
27904
27904
  onMouseleave: (ge) => B(K),
27905
27905
  onMousedown: (ge) => Ve(K),
27906
27906
  onMouseup: We[0] || (We[0] = (ge) => A.value = !1)
@@ -27908,7 +27908,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
27908
27908
  T("div", {
27909
27909
  class: ve(["dp__cell_inner", K.classData])
27910
27910
  }, [
27911
- Se.$slots.day && H.value(K) ? Ee(Se.$slots, "day", {
27911
+ Se.$slots.day && L.value(K) ? Ee(Se.$slots, "day", {
27912
27912
  key: 0,
27913
27913
  day: +K.text,
27914
27914
  date: K.value
@@ -27916,7 +27916,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
27916
27916
  Se.$slots.day ? fe("", !0) : (q(), Y($e, { key: 1 }, [
27917
27917
  st(Ae(K.text), 1)
27918
27918
  ], 64)),
27919
- K.marker && H.value(K) ? (q(), Y($e, { key: 2 }, [
27919
+ K.marker && L.value(K) ? (q(), Y($e, { key: 2 }, [
27920
27920
  Se.$slots.marker ? Ee(Se.$slots, "marker", {
27921
27921
  key: 0,
27922
27922
  marker: K.marker,
@@ -27987,15 +27987,15 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
27987
27987
  () => (pe) => g.value[pe] ? g.value[pe].month : 0
27988
27988
  ), V = Ie(
27989
27989
  () => (pe) => g.value[pe] ? g.value[pe].year : 0
27990
- ), H = (pe) => !v.value.keepViewOnOffsetClick || pe ? !0 : !u.value, j = (pe, He, nt, bt = !1) => {
27991
- H(bt) && (g.value[pe] || (g.value[pe] = { month: 0, year: 0 }), g.value[pe].month = xw(He) ? g.value[pe]?.month : He, g.value[pe].year = xw(nt) ? g.value[pe]?.year : nt);
27990
+ ), L = (pe) => !v.value.keepViewOnOffsetClick || pe ? !0 : !u.value, j = (pe, He, nt, bt = !1) => {
27991
+ L(bt) && (g.value[pe] || (g.value[pe] = { month: 0, year: 0 }), g.value[pe].month = xw(He) ? g.value[pe]?.month : He, g.value[pe].year = xw(nt) ? g.value[pe]?.year : nt);
27992
27992
  }, D = () => {
27993
27993
  e.autoApply && t("select-date");
27994
- }, L = () => {
27994
+ }, H = () => {
27995
27995
  l.value && F(l.value);
27996
27996
  };
27997
27997
  gr(() => {
27998
- e.shadow || (p.value || (We(), L()), Q(!0), e.focusStartDate && e.startDate && We());
27998
+ e.shadow || (p.value || (We(), H()), Q(!0), e.focusStartDate && e.startDate && We());
27999
27999
  });
28000
28000
  const B = Ie(() => e.flow?.length && !e.partialFlow ? e.flowStep === e.flow.length : !0), J = () => {
28001
28001
  e.autoApply && B.value && t("auto-apply", e.partialFlow ? e.flowStep !== e.flow.length : !1);
@@ -28211,7 +28211,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
28211
28211
  E(pe, He, nt, On);
28212
28212
  },
28213
28213
  assignMonthAndYear: X,
28214
- setStartTime: L
28214
+ setStartTime: H
28215
28215
  };
28216
28216
  }, Q5 = { key: 0 }, z5 = /* @__PURE__ */ Mr({
28217
28217
  __name: "DatePicker",
@@ -28264,7 +28264,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
28264
28264
  updateTime: A,
28265
28265
  assignMonthAndYear: E,
28266
28266
  setStartTime: x
28267
- } = Y5(a, n, se, X), $ = qi(), { setHoverDate: F, getDayClassData: M, clearHoverDate: ae } = f6(p, a), { defaultedMultiCalendars: oe } = er(a), V = Te([]), H = Te([]), j = Te(null), D = Sn($, "calendar"), L = Sn($, "monthYear"), B = Sn($, "timePicker"), J = (Ce) => {
28267
+ } = Y5(a, n, se, X), $ = qi(), { setHoverDate: F, getDayClassData: M, clearHoverDate: ae } = f6(p, a), { defaultedMultiCalendars: oe } = er(a), V = Te([]), L = Te([]), j = Te(null), D = Sn($, "calendar"), H = Sn($, "monthYear"), B = Sn($, "timePicker"), J = (Ce) => {
28268
28268
  a.shadow || n("mount", Ce);
28269
28269
  };
28270
28270
  Hn(
@@ -28287,7 +28287,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
28287
28287
  days: Fe.days.map((K) => (K.marker = c(K), K.classData = M(K), K))
28288
28288
  })));
28289
28289
  function se(Ce) {
28290
- Ce || Ce === 0 ? H.value[Ce]?.triggerTransition(u.value(Ce), f.value(Ce)) : H.value.forEach((Fe, K) => Fe.triggerTransition(u.value(K), f.value(K)));
28290
+ Ce || Ce === 0 ? L.value[Ce]?.triggerTransition(u.value(Ce), f.value(Ce)) : L.value.forEach((Fe, K) => Fe.triggerTransition(u.value(K), f.value(K)));
28291
28291
  }
28292
28292
  function X() {
28293
28293
  n("update-flow-step");
@@ -28366,7 +28366,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
28366
28366
  onOverlayClosed: We,
28367
28367
  onOverlayOpened: Fe[2] || (Fe[2] = (ge) => Ce.$emit("overlay-toggle", { open: !0, overlay: ge }))
28368
28368
  }), Fr({ _: 2 }, [
28369
- Xe(Z(L), (ge, dt) => ({
28369
+ Xe(Z(H), (ge, dt) => ({
28370
28370
  name: ge,
28371
28371
  fn: Ye((rt) => [
28372
28372
  Ee(Ce.$slots, ge, Pr(en(rt)))
@@ -28375,7 +28375,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
28375
28375
  ]), 1040, ["months", "years", "month", "year", "instance", "onUpdateMonthYear"])),
28376
28376
  Tt(V5, Or({
28377
28377
  ref: (ge) => {
28378
- ge && (H.value[qe] = ge);
28378
+ ge && (L.value[qe] = ge);
28379
28379
  },
28380
28380
  "mapped-dates": Q.value(K),
28381
28381
  month: Z(u)(K),
@@ -28454,37 +28454,37 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
28454
28454
  filters: p,
28455
28455
  props: e,
28456
28456
  emit: t
28457
- }), A = (H, j) => [H, j].map((D) => ba(D, "MMMM", { locale: e.formatLocale })).join("-"), E = Ie(() => (H) => y.value ? Array.isArray(y.value) ? y.value.some((j) => Rw(H, j)) : Rw(y.value, H) : !1), x = (H) => {
28457
+ }), A = (L, j) => [L, j].map((D) => ba(D, "MMMM", { locale: e.formatLocale })).join("-"), E = Ie(() => (L) => y.value ? Array.isArray(y.value) ? y.value.some((j) => Rw(L, j)) : Rw(y.value, L) : !1), x = (L) => {
28458
28458
  if (u.value.enabled) {
28459
28459
  if (Array.isArray(y.value)) {
28460
- const j = At(H, y.value[0]) || At(H, y.value[1]);
28461
- return Xu(y.value, r.value, H) && !j;
28460
+ const j = At(L, y.value[0]) || At(L, y.value[1]);
28461
+ return Xu(y.value, r.value, L) && !j;
28462
28462
  }
28463
28463
  return !1;
28464
28464
  }
28465
28465
  return !1;
28466
- }, $ = (H, j) => H.quarter === gw(j) && H.year === pt(j), F = (H) => typeof s.value == "function" ? s.value({ quarter: gw(H), year: pt(H) }) : !!s.value.quarters.find((j) => $(j, H)), M = Ie(() => (H) => {
28467
- const j = Bt(/* @__PURE__ */ new Date(), { year: _.value(H) });
28466
+ }, $ = (L, j) => L.quarter === gw(j) && L.year === pt(j), F = (L) => typeof s.value == "function" ? s.value({ quarter: gw(L), year: pt(L) }) : !!s.value.quarters.find((j) => $(j, L)), M = Ie(() => (L) => {
28467
+ const j = Bt(/* @__PURE__ */ new Date(), { year: _.value(L) });
28468
28468
  return PN({
28469
28469
  start: js(j),
28470
28470
  end: yR(j)
28471
28471
  }).map((D) => {
28472
- const L = Di(D), B = yw(D), J = c(D), Q = x(L), se = F(L);
28472
+ const H = Di(D), B = yw(D), J = c(D), Q = x(H), se = F(H);
28473
28473
  return {
28474
- text: A(L, B),
28475
- value: L,
28476
- active: E.value(L),
28474
+ text: A(H, B),
28475
+ value: H,
28476
+ active: E.value(H),
28477
28477
  highlighted: se,
28478
28478
  disabled: J,
28479
28479
  isBetween: Q
28480
28480
  };
28481
28481
  });
28482
- }), ae = (H) => {
28483
- uv(H, y, g.value.limit), t("auto-apply", !0);
28484
- }, oe = (H) => {
28485
- y.value = lv(y, H, t), Yf(y.value, t, e.autoApply, e.modelAuto);
28486
- }, V = (H) => {
28487
- y.value = H, t("auto-apply");
28482
+ }), ae = (L) => {
28483
+ uv(L, y, g.value.limit), t("auto-apply", !0);
28484
+ }, oe = (L) => {
28485
+ y.value = lv(y, L, t), Yf(y.value, t, e.autoApply, e.modelAuto);
28486
+ }, V = (L) => {
28487
+ y.value = L, t("auto-apply");
28488
28488
  };
28489
28489
  return {
28490
28490
  defaultedConfig: a,
@@ -28495,13 +28495,13 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
28495
28495
  quarters: M,
28496
28496
  showYearPicker: h,
28497
28497
  modelValue: y,
28498
- setHoverDate: (H) => {
28499
- r.value = H;
28498
+ setHoverDate: (L) => {
28499
+ r.value = L;
28500
28500
  },
28501
28501
  selectYear: v,
28502
- selectQuarter: (H, j, D) => {
28502
+ selectQuarter: (L, j, D) => {
28503
28503
  if (!D)
28504
- return l.value[j].month = xt(yw(H)), g.value.enabled ? ae(H) : u.value.enabled ? oe(H) : V(H);
28504
+ return l.value[j].month = xt(yw(L)), g.value.enabled ? ae(L) : u.value.enabled ? oe(L) : V(L);
28505
28505
  },
28506
28506
  toggleYearPicker: S,
28507
28507
  handleYearSelect: P,
@@ -28707,7 +28707,7 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
28707
28707
  const x = () => {
28708
28708
  const be = yr(S);
28709
28709
  be && (w.value = be.getBoundingClientRect().width);
28710
- }, { arrowRight: $, arrowLeft: F, arrowDown: M, arrowUp: ae } = gi(), { flowStep: oe, updateFlowStep: V, childMount: H, resetFlow: j, handleFlow: D } = d6(a, n, O), L = Ie(() => a.monthPicker ? v5 : a.yearPicker ? y5 : a.timePicker ? k5 : a.quarterPicker ? X5 : z5), B = Ie(() => {
28710
+ }, { arrowRight: $, arrowLeft: F, arrowDown: M, arrowUp: ae } = gi(), { flowStep: oe, updateFlowStep: V, childMount: L, resetFlow: j, handleFlow: D } = d6(a, n, O), H = Ie(() => a.monthPicker ? v5 : a.yearPicker ? y5 : a.timePicker ? k5 : a.quarterPicker ? X5 : z5), B = Ie(() => {
28711
28711
  if (l.value.arrowLeft) return l.value.arrowLeft;
28712
28712
  const be = s.value?.getBoundingClientRect(), Be = a.getInputRect();
28713
28713
  return Be?.width < w?.value && Be?.left <= (be?.left ?? 0) ? `${Be?.width / 2}px` : Be?.right >= (be?.right ?? 0) && Be?.width < w?.value ? `${w?.value - Be?.width / 2}px` : "50%";
@@ -28857,12 +28857,12 @@ const Om = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), iv = (e, t) =
28857
28857
  class: "dp__instance_calendar",
28858
28858
  role: "document"
28859
28859
  }, [
28860
- (q(), mt(Nf(L.value), Or({
28860
+ (q(), mt(Nf(H.value), Or({
28861
28861
  ref_key: "dynCmpRef",
28862
28862
  ref: O
28863
28863
  }, u.value, {
28864
28864
  "flow-step": Z(oe),
28865
- onMount: Z(H),
28865
+ onMount: Z(L),
28866
28866
  onUpdateFlowStep: Z(V),
28867
28867
  onResetFlow: Z(j),
28868
28868
  onFocusMenu: J,
@@ -28957,8 +28957,8 @@ const u6 = ({
28957
28957
  }, h = (j, D) => {
28958
28958
  u.position === xs.left && b(j), u.position === xs.right && v(j, D), u.position === xs.center && (_.value.left = `${j + D / 2 - g.value.width / 2}px`);
28959
28959
  }, w = (j) => {
28960
- const { width: D, height: L } = j.getBoundingClientRect(), { top: B, left: J } = c(j);
28961
- return { top: +B, left: +J, width: D, height: L };
28960
+ const { width: D, height: H } = j.getBoundingClientRect(), { top: B, left: J } = c(j);
28961
+ return { top: +B, left: +J, width: D, height: H };
28962
28962
  }, S = () => {
28963
28963
  _.value.left = "50%", _.value.top = "50%", _.value.transform = "translate(-50%, -50%)", _.value.position = "fixed", delete _.value.opacity;
28964
28964
  }, P = () => {
@@ -28974,25 +28974,25 @@ const u6 = ({
28974
28974
  }
28975
28975
  return ae();
28976
28976
  }
28977
- }, A = ({ inputEl: j, left: D, width: L }) => {
28978
- window.screen.width > 768 && !y.value && h(D, L), $(j);
28977
+ }, A = ({ inputEl: j, left: D, width: H }) => {
28978
+ window.screen.width > 768 && !y.value && h(D, H), $(j);
28979
28979
  }, E = (j) => {
28980
- const { top: D, left: L, height: B, width: J } = w(j);
28981
- _.value.top = `${B + D + +u.offset}px`, d.value = !1, y.value || (_.value.left = `${L + J / 2 - g.value.width / 2}px`), A({ inputEl: j, left: L, width: J });
28980
+ const { top: D, left: H, height: B, width: J } = w(j);
28981
+ _.value.top = `${B + D + +u.offset}px`, d.value = !1, y.value || (_.value.left = `${H + J / 2 - g.value.width / 2}px`), A({ inputEl: j, left: H, width: J });
28982
28982
  }, x = (j) => {
28983
- const { top: D, left: L, width: B } = w(j);
28984
- _.value.top = `${D - +u.offset - g.value.height}px`, d.value = !0, A({ inputEl: j, left: L, width: B });
28983
+ const { top: D, left: H, width: B } = w(j);
28984
+ _.value.top = `${D - +u.offset - g.value.height}px`, d.value = !0, A({ inputEl: j, left: H, width: B });
28985
28985
  }, $ = (j) => {
28986
28986
  if (u.autoPosition) {
28987
- const { left: D, width: L } = w(j), { left: B, right: J } = g.value;
28987
+ const { left: D, width: H } = w(j), { left: B, right: J } = g.value;
28988
28988
  if (!y.value) {
28989
28989
  if (Math.abs(B) !== Math.abs(J)) {
28990
28990
  if (B <= 0)
28991
28991
  return y.value = !0, b(D);
28992
28992
  if (J >= document.documentElement.clientWidth)
28993
- return y.value = !0, v(D, L);
28993
+ return y.value = !0, v(D, H);
28994
28994
  }
28995
- return h(D, L);
28995
+ return h(D, H);
28996
28996
  }
28997
28997
  }
28998
28998
  }, F = () => {
@@ -29000,7 +29000,7 @@ const u6 = ({
29000
29000
  if (j) {
29001
29001
  if (u.autoPosition === Gn.top) return Gn.top;
29002
29002
  if (u.autoPosition === Gn.bottom) return Gn.bottom;
29003
- const { height: D } = g.value, { top: L, height: B } = j.getBoundingClientRect(), J = window.innerHeight - L - B, Q = L;
29003
+ const { height: D } = g.value, { top: H, height: B } = j.getBoundingClientRect(), J = window.innerHeight - H - B, Q = H;
29004
29004
  return D <= J ? Gn.bottom : D > J && D <= Q ? Gn.top : J >= Q ? Gn.bottom : Gn.top;
29005
29005
  }
29006
29006
  return Gn.bottom;
@@ -29010,15 +29010,15 @@ const u6 = ({
29010
29010
  return u.autoPosition ? M(j) : E(j);
29011
29011
  }, oe = function(j) {
29012
29012
  if (j) {
29013
- const D = j.scrollHeight > j.clientHeight, L = window.getComputedStyle(j).overflowY.indexOf("hidden") !== -1;
29014
- return D && !L;
29013
+ const D = j.scrollHeight > j.clientHeight, H = window.getComputedStyle(j).overflowY.indexOf("hidden") !== -1;
29014
+ return D && !H;
29015
29015
  }
29016
29016
  return !0;
29017
29017
  }, V = function(j) {
29018
29018
  return !j || j === document.body || j.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? window : oe(j) ? j : V(
29019
29019
  j.assignedSlot && p.value.shadowDom ? j.assignedSlot.parentNode : j.parentNode
29020
29020
  );
29021
- }, H = (j) => {
29021
+ }, L = (j) => {
29022
29022
  if (j)
29023
29023
  switch (u.position) {
29024
29024
  case xs.left:
@@ -29036,17 +29036,17 @@ const u6 = ({
29036
29036
  xCorrect: y,
29037
29037
  setMenuPosition: O,
29038
29038
  getScrollableParent: V,
29039
- shadowRender: (j, D, L) => {
29039
+ shadowRender: (j, D, H) => {
29040
29040
  const B = document.createElement("div"), J = yr(r)?.getBoundingClientRect();
29041
29041
  B.setAttribute("id", "dp--temp-container");
29042
29042
  const Q = n.value?.clientWidth ? n.value : document.body;
29043
29043
  Q.append(B);
29044
- const se = H(J), X = p.value.shadowDom ? Object.keys(f).filter(
29044
+ const se = L(J), X = p.value.shadowDom ? Object.keys(f).filter(
29045
29045
  (ee) => ["right-sidebar", "left-sidebar", "top-extra", "action-extra"].includes(ee)
29046
29046
  ) : Object.keys(f), ue = Cs(
29047
29047
  D,
29048
29048
  {
29049
- ...L,
29049
+ ...H,
29050
29050
  shadow: !0,
29051
29051
  style: { opacity: 0, position: "absolute", ...se }
29052
29052
  },
@@ -29224,7 +29224,7 @@ const u6 = ({
29224
29224
  }, M = (te) => p.value.enabled ? t.modelAuto ? x() && S(te) : !1 : S(te), ae = (te) => s.value ? CH(te.value, f.value.highlight) : !1, oe = (te) => {
29225
29225
  const z = g(te.value);
29226
29226
  return z && (typeof s.value == "function" ? !s.value(te.value, z) : !s.value.options.highlightDisabled);
29227
- }, V = (te) => typeof s.value == "function" ? s.value(te.value) : s.value.weekdays?.includes(te.value.getDay()), H = (te) => (p.value.enabled || t.weekPicker) && (!(r.value.count > 0) || te.current) && $() && !(!te.current && t.hideOffsetDates) && !S(te) ? E(te) : !1, j = (te) => {
29227
+ }, V = (te) => typeof s.value == "function" ? s.value(te.value) : s.value.weekdays?.includes(te.value.getDay()), L = (te) => (p.value.enabled || t.weekPicker) && (!(r.value.count > 0) || te.current) && $() && !(!te.current && t.hideOffsetDates) && !S(te) ? E(te) : !1, j = (te) => {
29228
29228
  if (Array.isArray(e.value) && e.value.length === 1) {
29229
29229
  const { before: z, after: we } = Ew(+p.value.maxRange, e.value[0]);
29230
29230
  return Ws(te.value, z) || Hi(te.value, we);
@@ -29236,13 +29236,13 @@ const u6 = ({
29236
29236
  return Xu([z, we], e.value[0], te.value);
29237
29237
  }
29238
29238
  return !1;
29239
- }, L = (te) => p.value.enabled && (p.value.maxRange || p.value.minRange) ? p.value.maxRange && p.value.minRange ? j(te) || D(te) : p.value.maxRange ? j(te) : D(te) : !1, B = (te) => {
29239
+ }, H = (te) => p.value.enabled && (p.value.maxRange || p.value.minRange) ? p.value.maxRange && p.value.minRange ? j(te) || D(te) : p.value.maxRange ? j(te) : D(te) : !1, B = (te) => {
29240
29240
  const { isRangeStart: z, isRangeEnd: we } = X(te), Ve = p.value.enabled ? z || we : !1;
29241
29241
  return {
29242
29242
  dp__cell_offset: !te.current,
29243
- dp__pointer: !t.disabled && !(!te.current && t.hideOffsetDates) && !g(te.value) && !L(te),
29244
- dp__cell_disabled: g(te.value) || L(te),
29245
- dp__cell_highlight: !oe(te) && (ae(te) || V(te)) && !M(te) && !Ve && !A(te) && !(H(te) && t.weekPicker) && !we,
29243
+ dp__pointer: !t.disabled && !(!te.current && t.hideOffsetDates) && !g(te.value) && !H(te),
29244
+ dp__cell_disabled: g(te.value) || H(te),
29245
+ dp__cell_highlight: !oe(te) && (ae(te) || V(te)) && !M(te) && !Ve && !A(te) && !(L(te) && t.weekPicker) && !we,
29246
29246
  dp__cell_highlight_active: !oe(te) && (ae(te) || V(te)) && M(te),
29247
29247
  dp__today: !t.noToday && At(te.value, _.value) && te.current,
29248
29248
  "dp--past": sr(te.value, _.value),
@@ -29286,7 +29286,7 @@ const u6 = ({
29286
29286
  return {
29287
29287
  dp__range_start: z,
29288
29288
  dp__range_end: we,
29289
- dp__range_between: H(te),
29289
+ dp__range_between: L(te),
29290
29290
  dp__date_hover: At(te.value, y.value) && !z && !we && !t.weekPicker,
29291
29291
  dp__date_hover_start: w(te, !0),
29292
29292
  dp__date_hover_end: w(te, !1)
@@ -29309,75 +29309,75 @@ const u6 = ({
29309
29309
  };
29310
29310
  }, yi = (e) => {
29311
29311
  const { defaultedFilters: t, defaultedRange: r, propDates: n, defaultedMultiDates: a } = er(e), s = (V) => n.value.disabledDates ? typeof n.value.disabledDates == "function" ? n.value.disabledDates(je(V)) : !!Ff(V, n.value.disabledDates) : !1, u = (V) => n.value.maxDate ? e.yearPicker ? pt(V) > pt(n.value.maxDate) : pr(V, n.value.maxDate) : !1, f = (V) => n.value.minDate ? e.yearPicker ? pt(V) < pt(n.value.minDate) : sr(V, n.value.minDate) : !1, p = (V) => {
29312
- const H = u(V), j = f(V), D = s(V), L = t.value.months.map((X) => +X).includes(xt(V)), B = e.disabledWeekDays.length ? e.disabledWeekDays.some((X) => +X === gL(V)) : !1, J = l(V), Q = pt(V), se = YR(e.yearRange, Q);
29313
- return !(H || j || D || L || se || B || J);
29314
- }, g = (V, H) => sr(...di(n.value.minDate, V, H)) || At(...di(n.value.minDate, V, H)), y = (V, H) => pr(...di(n.value.maxDate, V, H)) || At(...di(n.value.maxDate, V, H)), _ = (V, H, j) => {
29312
+ const L = u(V), j = f(V), D = s(V), H = t.value.months.map((X) => +X).includes(xt(V)), B = e.disabledWeekDays.length ? e.disabledWeekDays.some((X) => +X === gL(V)) : !1, J = l(V), Q = pt(V), se = YR(e.yearRange, Q);
29313
+ return !(L || j || D || H || se || B || J);
29314
+ }, g = (V, L) => sr(...di(n.value.minDate, V, L)) || At(...di(n.value.minDate, V, L)), y = (V, L) => pr(...di(n.value.maxDate, V, L)) || At(...di(n.value.maxDate, V, L)), _ = (V, L, j) => {
29315
29315
  let D = !1;
29316
- return n.value.maxDate && j && y(V, H) && (D = !0), n.value.minDate && !j && g(V, H) && (D = !0), D;
29317
- }, d = (V, H, j, D) => {
29318
- let L = !1;
29319
- return D && (n.value.minDate || n.value.maxDate) ? n.value.minDate && n.value.maxDate ? L = _(V, H, j) : (n.value.minDate && g(V, H) || n.value.maxDate && y(V, H)) && (L = !0) : L = !0, L;
29320
- }, l = (V) => Array.isArray(n.value.allowedDates) && !n.value.allowedDates.length ? !0 : n.value.allowedDates ? !Ff(V, n.value.allowedDates, DR(e.monthPicker, e.yearPicker)) : !1, c = (V) => !p(V), v = (V) => r.value.noDisabledRange ? !gR({ start: V[0], end: V[1] }).some((H) => c(H)) : !0, b = (V) => {
29316
+ return n.value.maxDate && j && y(V, L) && (D = !0), n.value.minDate && !j && g(V, L) && (D = !0), D;
29317
+ }, d = (V, L, j, D) => {
29318
+ let H = !1;
29319
+ return D && (n.value.minDate || n.value.maxDate) ? n.value.minDate && n.value.maxDate ? H = _(V, L, j) : (n.value.minDate && g(V, L) || n.value.maxDate && y(V, L)) && (H = !0) : H = !0, H;
29320
+ }, l = (V) => Array.isArray(n.value.allowedDates) && !n.value.allowedDates.length ? !0 : n.value.allowedDates ? !Ff(V, n.value.allowedDates, DR(e.monthPicker, e.yearPicker)) : !1, c = (V) => !p(V), v = (V) => r.value.noDisabledRange ? !gR({ start: V[0], end: V[1] }).some((L) => c(L)) : !0, b = (V) => {
29321
29321
  if (V) {
29322
- const H = pt(V);
29323
- return H >= +e.yearRange[0] && H <= e.yearRange[1];
29322
+ const L = pt(V);
29323
+ return L >= +e.yearRange[0] && L <= e.yearRange[1];
29324
29324
  }
29325
29325
  return !0;
29326
- }, h = (V, H) => !!(Array.isArray(V) && V[H] && (r.value.maxRange || r.value.minRange) && b(V[H])), w = (V, H, j = 0) => {
29327
- if (h(H, j) && b(V)) {
29328
- const D = pR(V, H[j]), L = qR(H[j], V), B = L.length === 1 ? 0 : L.filter((Q) => c(Q)).length, J = Math.abs(D) - (r.value.minMaxRawRange ? 0 : B);
29326
+ }, h = (V, L) => !!(Array.isArray(V) && V[L] && (r.value.maxRange || r.value.minRange) && b(V[L])), w = (V, L, j = 0) => {
29327
+ if (h(L, j) && b(V)) {
29328
+ const D = pR(V, L[j]), H = qR(L[j], V), B = H.length === 1 ? 0 : H.filter((Q) => c(Q)).length, J = Math.abs(D) - (r.value.minMaxRawRange ? 0 : B);
29329
29329
  if (r.value.minRange && r.value.maxRange)
29330
29330
  return J >= +r.value.minRange && J <= +r.value.maxRange;
29331
29331
  if (r.value.minRange) return J >= +r.value.minRange;
29332
29332
  if (r.value.maxRange) return J <= +r.value.maxRange;
29333
29333
  }
29334
29334
  return !0;
29335
- }, S = () => !e.enableTimePicker || e.monthPicker || e.yearPicker || e.ignoreTimeValidation, P = (V) => Array.isArray(V) ? [V[0] ? Up(V[0]) : null, V[1] ? Up(V[1]) : null] : Up(V), O = (V, H, j) => V.find(
29336
- (D) => +D.hours === Va(H) && D.minutes === "*" ? !0 : +D.minutes === mi(H) && +D.hours === Va(H)
29337
- ) && j, A = (V, H, j) => {
29338
- const [D, L] = V, [B, J] = H;
29339
- return !O(D, B, j) && !O(L, J, j) && j;
29340
- }, E = (V, H) => {
29341
- const j = Array.isArray(H) ? H : [H];
29335
+ }, S = () => !e.enableTimePicker || e.monthPicker || e.yearPicker || e.ignoreTimeValidation, P = (V) => Array.isArray(V) ? [V[0] ? Up(V[0]) : null, V[1] ? Up(V[1]) : null] : Up(V), O = (V, L, j) => V.find(
29336
+ (D) => +D.hours === Va(L) && D.minutes === "*" ? !0 : +D.minutes === mi(L) && +D.hours === Va(L)
29337
+ ) && j, A = (V, L, j) => {
29338
+ const [D, H] = V, [B, J] = L;
29339
+ return !O(D, B, j) && !O(H, J, j) && j;
29340
+ }, E = (V, L) => {
29341
+ const j = Array.isArray(L) ? L : [L];
29342
29342
  return Array.isArray(e.disabledTimes) ? Array.isArray(e.disabledTimes[0]) ? A(e.disabledTimes, j, V) : !j.some((D) => O(e.disabledTimes, D, V)) : V;
29343
- }, x = (V, H) => {
29344
- const j = Array.isArray(H) ? [Li(H[0]), H[1] ? Li(H[1]) : void 0] : Li(H), D = !e.disabledTimes(j);
29343
+ }, x = (V, L) => {
29344
+ const j = Array.isArray(L) ? [Li(L[0]), L[1] ? Li(L[1]) : void 0] : Li(L), D = !e.disabledTimes(j);
29345
29345
  return V && D;
29346
- }, $ = (V, H) => e.disabledTimes ? Array.isArray(e.disabledTimes) ? E(H, V) : x(H, V) : H, F = (V) => {
29347
- let H = !0;
29346
+ }, $ = (V, L) => e.disabledTimes ? Array.isArray(e.disabledTimes) ? E(L, V) : x(L, V) : L, F = (V) => {
29347
+ let L = !0;
29348
29348
  if (!V || S()) return !0;
29349
29349
  const j = !n.value.minDate && !n.value.maxDate ? P(V) : V;
29350
- return (e.maxTime || n.value.maxDate) && (H = Tw(
29350
+ return (e.maxTime || n.value.maxDate) && (L = Tw(
29351
29351
  e.maxTime,
29352
29352
  n.value.maxDate,
29353
29353
  "max",
29354
29354
  $r(j),
29355
- H
29356
- )), (e.minTime || n.value.minDate) && (H = Tw(
29355
+ L
29356
+ )), (e.minTime || n.value.minDate) && (L = Tw(
29357
29357
  e.minTime,
29358
29358
  n.value.minDate,
29359
29359
  "min",
29360
29360
  $r(j),
29361
- H
29362
- )), $(V, H);
29361
+ L
29362
+ )), $(V, L);
29363
29363
  }, M = (V) => {
29364
29364
  if (!e.monthPicker) return !0;
29365
- let H = !0;
29365
+ let L = !0;
29366
29366
  const j = je(Jn(V));
29367
29367
  if (n.value.minDate && n.value.maxDate) {
29368
- const D = je(Jn(n.value.minDate)), L = je(Jn(n.value.maxDate));
29369
- return pr(j, D) && sr(j, L) || At(j, D) || At(j, L);
29368
+ const D = je(Jn(n.value.minDate)), H = je(Jn(n.value.maxDate));
29369
+ return pr(j, D) && sr(j, H) || At(j, D) || At(j, H);
29370
29370
  }
29371
29371
  if (n.value.minDate) {
29372
29372
  const D = je(Jn(n.value.minDate));
29373
- H = pr(j, D) || At(j, D);
29373
+ L = pr(j, D) || At(j, D);
29374
29374
  }
29375
29375
  if (n.value.maxDate) {
29376
29376
  const D = je(Jn(n.value.maxDate));
29377
- H = sr(j, D) || At(j, D);
29377
+ L = sr(j, D) || At(j, D);
29378
29378
  }
29379
- return H;
29380
- }, ae = Ie(() => (V) => !e.enableTimePicker || e.ignoreTimeValidation ? !0 : F(V)), oe = Ie(() => (V) => e.monthPicker ? Array.isArray(V) && (r.value.enabled || a.value.enabled) ? !V.filter((H) => !M(H)).length : M(V) : !0);
29379
+ return L;
29380
+ }, ae = Ie(() => (V) => !e.enableTimePicker || e.ignoreTimeValidation ? !0 : F(V)), oe = Ie(() => (V) => e.monthPicker ? Array.isArray(V) && (r.value.enabled || a.value.enabled) ? !V.filter((L) => !M(L)).length : M(V) : !0);
29381
29381
  return {
29382
29382
  isDisabled: c,
29383
29383
  validateDate: p,
@@ -29517,7 +29517,7 @@ const u6 = ({
29517
29517
  } else s.value.enabled || n("toggle");
29518
29518
  }, V = () => {
29519
29519
  n("real-blur"), h.value = !1, (!a.isMenuOpen || f.value.enabled && f.value.input) && n("blur"), a.autoApply && s.value.enabled && v.value && !a.isMenuOpen && (n("set-input-date", v.value), n("select-date"), v.value = null);
29520
- }, H = (Q) => {
29520
+ }, L = (Q) => {
29521
29521
  hi(Q, p.value, !0), n("clear");
29522
29522
  }, j = () => {
29523
29523
  n("close");
@@ -29526,7 +29526,7 @@ const u6 = ({
29526
29526
  if (Q.code === "Tab") return;
29527
29527
  Q.preventDefault();
29528
29528
  }
29529
- }, L = () => {
29529
+ }, H = () => {
29530
29530
  b.value?.focus({ preventScroll: !0 });
29531
29531
  }, B = (Q) => {
29532
29532
  v.value = Q;
@@ -29534,7 +29534,7 @@ const u6 = ({
29534
29534
  Q.key === Zt.tab && M(Q, !0);
29535
29535
  };
29536
29536
  return t({
29537
- focusInput: L,
29537
+ focusInput: H,
29538
29538
  setParsedDate: B
29539
29539
  }), (Q, se) => (q(), Y("div", { onClick: oe }, [
29540
29540
  Q.$slots.trigger && !Q.$slots["dp-input"] && !Z(f).enabled ? Ee(Q.$slots, "trigger", { key: 0 }) : fe("", !0),
@@ -29546,7 +29546,7 @@ const u6 = ({
29546
29546
  onInput: $,
29547
29547
  onEnter: F,
29548
29548
  onTab: M,
29549
- onClear: H,
29549
+ onClear: L,
29550
29550
  onBlur: V,
29551
29551
  onKeypress: D,
29552
29552
  onPaste: E,
@@ -29598,15 +29598,15 @@ const u6 = ({
29598
29598
  }, null, 8, ["aria-label"])) : fe("", !0)
29599
29599
  ]),
29600
29600
  Q.$slots["clear-icon"] && (Q.alwaysClearable || e.inputValue && Q.clearable && !Q.disabled && !Q.readonly) ? (q(), Y("span", m6, [
29601
- Ee(Q.$slots, "clear-icon", { clear: H })
29601
+ Ee(Q.$slots, "clear-icon", { clear: L })
29602
29602
  ])) : fe("", !0),
29603
29603
  !Q.$slots["clear-icon"] && (Q.alwaysClearable || Q.clearable && e.inputValue && !Q.disabled && !Q.readonly) ? (q(), Y("button", {
29604
29604
  key: 3,
29605
29605
  "aria-label": Z(u)?.clearInput,
29606
29606
  class: "dp--clear-btn",
29607
29607
  type: "button",
29608
- onKeydown: se[4] || (se[4] = (X) => Z(tn)(X, () => H(X), !0, J)),
29609
- onClick: se[5] || (se[5] = Gt((X) => H(X), ["prevent"]))
29608
+ onKeydown: se[4] || (se[4] = (X) => Z(tn)(X, () => L(X), !0, J)),
29609
+ onClick: se[5] || (se[5] = Gt((X) => L(X), ["prevent"]))
29610
29610
  }, [
29611
29611
  Tt(Z(jR), {
29612
29612
  class: "dp__input_icons",
@@ -29681,7 +29681,7 @@ const u6 = ({
29681
29681
  defaultedConfig: F,
29682
29682
  defaultedRange: M,
29683
29683
  defaultedMultiDates: ae
29684
- } = er(a), { menuTransition: oe, showTransition: V } = ul(E), { isMobile: H } = eP(F), j = PC();
29684
+ } = er(a), { menuTransition: oe, showTransition: V } = ul(E), { isMobile: L } = eP(F), j = PC();
29685
29685
  gr(() => {
29686
29686
  te(a.modelValue), Pn().then(() => {
29687
29687
  $.value.enabled || (X(l.value)?.addEventListener("scroll", ge), window?.addEventListener("resize", dt));
@@ -29689,7 +29689,7 @@ const u6 = ({
29689
29689
  }), Ys(() => {
29690
29690
  $.value.enabled || (X(l.value)?.removeEventListener("scroll", ge), window?.removeEventListener("resize", dt)), window?.removeEventListener("keyup", rt), window?.removeEventListener("keydown", Yt);
29691
29691
  });
29692
- const D = Sn(s, "all", a.presetDates), L = Sn(s, "input");
29692
+ const D = Sn(s, "all", a.presetDates), H = Sn(s, "input");
29693
29693
  Hn(
29694
29694
  [f, p],
29695
29695
  () => {
@@ -29808,7 +29808,7 @@ const u6 = ({
29808
29808
  ref: l,
29809
29809
  class: ve(Se.value),
29810
29810
  "data-datepicker-instance": "",
29811
- "data-dp-mobile": Z(H)
29811
+ "data-dp-mobile": Z(L)
29812
29812
  }, [
29813
29813
  Tt(g6, Or({
29814
29814
  ref_key: "inputRef",
@@ -29829,7 +29829,7 @@ const u6 = ({
29829
29829
  onRealBlur: et[1] || (et[1] = (at) => d.value = !1),
29830
29830
  onTextInput: et[2] || (et[2] = (at) => Me.$emit("text-input", at))
29831
29831
  }), Fr({ _: 2 }, [
29832
- Xe(Z(L), (at, mn) => ({
29832
+ Xe(Z(H), (at, mn) => ({
29833
29833
  name: at,
29834
29834
  fn: Ye((rn) => [
29835
29835
  Ee(Me.$slots, at, Pr(en(rn)))
@@ -30077,15 +30077,15 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30077
30077
  router: K1({
30078
30078
  // Disable scroll restoration to prevent erratic behavior
30079
30079
  writeDelay: 0,
30080
- parseURL({ qsModule: H, location: j }) {
30081
- const D = H.parse(j.search.slice(1));
30080
+ parseURL({ qsModule: L, location: j }) {
30081
+ const D = L.parse(j.search.slice(1));
30082
30082
  return b(D), D;
30083
30083
  },
30084
- createURL({ qsModule: H, location: j, routeState: D }) {
30085
- const { origin: L, pathname: B, hash: J } = j;
30084
+ createURL({ qsModule: L, location: j, routeState: D }) {
30085
+ const { origin: H, pathname: B, hash: J } = j;
30086
30086
  D.instant_search;
30087
- const Q = H.stringify(D), se = H.parse(j.search.slice(1));
30088
- return h(se), `${L}${B}?${Q}${J}`;
30087
+ const Q = L.stringify(D), se = L.parse(j.search.slice(1));
30088
+ return sessionStorage.setItem("previousPageUrl", window.location.href), h(se), `${H}${B}?${Q}${J}`;
30089
30089
  }
30090
30090
  }),
30091
30091
  stateMapping: J1()
@@ -30111,17 +30111,17 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30111
30111
  }
30112
30112
  }), l = d.searchClient, c = () => {
30113
30113
  f.value = !f.value;
30114
- const H = document.getElementById(`${t.indexName}_filterRail`), j = H.querySelectorAll("*");
30115
- H && H.classList.contains("closed") ? j.forEach((D) => {
30114
+ const L = document.getElementById(`${t.indexName}_filterRail`), j = L.querySelectorAll("*");
30115
+ L && L.classList.contains("closed") ? j.forEach((D) => {
30116
30116
  D.setAttribute("tabindex", -1);
30117
30117
  }) : j.forEach((D) => {
30118
30118
  D.removeAttribute("tabindex");
30119
30119
  });
30120
30120
  }, v = () => {
30121
- const H = document.getElementById(`${t.indexName}_filterRail`), j = document.getElementById(`${t.indexName}_eventsSearch__results`), D = document.querySelectorAll(".container"), L = document.querySelectorAll(".mobileHide");
30122
- H.classList.toggle("openMobile"), j.classList.toggle("openMobile"), D.forEach((J) => {
30121
+ const L = document.getElementById(`${t.indexName}_filterRail`), j = document.getElementById(`${t.indexName}_eventsSearch__results`), D = document.querySelectorAll(".container"), H = document.querySelectorAll(".mobileHide");
30122
+ L.classList.remove("closed"), L.classList.toggle("openMobile"), j.classList.toggle("openMobile"), D.forEach((J) => {
30123
30123
  J.style.display != "none" ? J.style.display = "none" : J.style.display = "grid";
30124
- }), L.forEach((J) => {
30124
+ }), H.forEach((J) => {
30125
30125
  J.style.display != "none" ? J.style.display = "none" : J.style.display = "grid";
30126
30126
  }), document.querySelectorAll("details").forEach((J) => {
30127
30127
  const se = J.querySelector("summary:first-of-type")?.clientHeight;
@@ -30129,37 +30129,37 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30129
30129
  J.open = !1, J.classList.remove("-closing"), J.style.setProperty("--accordion-height-closed", "auto");
30130
30130
  }, 0);
30131
30131
  });
30132
- }, b = (H) => {
30133
- H && H[t.indexName] && (u.value = H[t.indexName].query, u.value ? r.value != "Most Relevant" && (r.value = "Most Relevant") : r.value != "Most Recent" && (r.value = "Most Recent"), O(), n.value = u.value || H[t.indexName].refinementList || H[t.indexName].range || H[t.indexName].menu, s.value = H[t.indexName].refinementList && Object.keys(H[t.indexName].refinementList).length !== 0 ? w(H[t.indexName].refinementList) : [], a.value = Object.keys(s.value).length !== 0, P(H[t.indexName]));
30134
- }, h = (H) => {
30132
+ }, b = (L) => {
30133
+ L && L[t.indexName] && (u.value = L[t.indexName].query, u.value ? r.value != "Most Relevant" && (r.value = "Most Relevant") : r.value != "Most Recent" && (r.value = "Most Recent"), O(), n.value = u.value || L[t.indexName].refinementList || L[t.indexName].range || L[t.indexName].menu, s.value = L[t.indexName].refinementList && Object.keys(L[t.indexName].refinementList).length !== 0 ? w(L[t.indexName].refinementList) : [], a.value = Object.keys(s.value).length !== 0, P(L[t.indexName]));
30134
+ }, h = (L) => {
30135
30135
  let j = sessionStorage.getItem("searchHistory") ? JSON.parse(sessionStorage.getItem("searchHistory")) : [];
30136
- if (!H[t.indexName] || H[t.indexName].page && !H[t.indexName].query && !H[t.indexName].refinementList && !H[t.indexName].menu)
30136
+ if (!L[t.indexName] || L[t.indexName].page && !L[t.indexName].query && !L[t.indexName].refinementList && !L[t.indexName].menu)
30137
30137
  return;
30138
- j = j.map((L) => H[t.indexName].query?.includes(L.query) && H[t.indexName].query != L.query ? {
30138
+ j = j.map((H) => L[t.indexName].query?.includes(H.query) && L[t.indexName].query != H.query ? {
30139
30139
  date: /* @__PURE__ */ new Date(),
30140
- uiState: H,
30141
- query: H[t.indexName].query,
30140
+ uiState: L,
30141
+ query: L[t.indexName].query,
30142
30142
  link: document.location.href
30143
- } : L);
30143
+ } : H);
30144
30144
  let D = !0;
30145
- j.forEach((L) => {
30146
- if (L.link.replace(/\&page=\d*/, "") == document.location.href.replace(/\&page=\d*/, "")) {
30145
+ j.forEach((H) => {
30146
+ if (H.link.replace(/\&page=\d*/, "") == document.location.href.replace(/\&page=\d*/, "")) {
30147
30147
  D = !1;
30148
30148
  return;
30149
30149
  }
30150
- if (HC.isEqual(L.uiState[t.indexName], H[t.indexName])) {
30150
+ if (HC.isEqual(H.uiState[t.indexName], L[t.indexName])) {
30151
30151
  D = !1;
30152
30152
  return;
30153
30153
  }
30154
- }), D && !j.map((L) => L.link).includes(document.location.href) && document.location.search != "" && j.push({
30154
+ }), D && !j.map((H) => H.link).includes(document.location.href) && document.location.search != "" && j.push({
30155
30155
  date: /* @__PURE__ */ new Date(),
30156
- uiState: H,
30157
- query: H[t.indexName].query,
30156
+ uiState: L,
30157
+ query: L[t.indexName].query,
30158
30158
  link: document.location.href
30159
30159
  }), sessionStorage.setItem("searchHistory", JSON.stringify(j));
30160
- }, w = (H) => {
30160
+ }, w = (L) => {
30161
30161
  let j = {};
30162
- return Object.entries(H).forEach(([D, L]) => {
30162
+ return Object.entries(L).forEach(([D, H]) => {
30163
30163
  if (D.includes("works")) {
30164
30164
  let B = D.substring(D.indexOf("works.") + 6, D.length);
30165
30165
  const J = {};
@@ -30167,16 +30167,16 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30167
30167
  const Q = B.substring(B.indexOf(".") + 1, B.length);
30168
30168
  B = B.substring(0, B.indexOf("."));
30169
30169
  const se = {};
30170
- se[Q] = L, J[B] = se;
30170
+ se[Q] = H, J[B] = se;
30171
30171
  } else
30172
- J[B] = L;
30172
+ J[B] = H;
30173
30173
  j = { ...j, ...J };
30174
30174
  }
30175
30175
  }), j;
30176
- }, S = ({ uiState: H, setUiState: j }) => {
30177
- b(H), j(H);
30178
- }, P = (H) => {
30179
- document.title = "BSO HENRY | " + Mi(H);
30176
+ }, S = ({ uiState: L, setUiState: j }) => {
30177
+ b(L), j(L);
30178
+ }, P = (L) => {
30179
+ document.title = "BSO HENRY | " + Mi(L);
30180
30180
  }, O = () => {
30181
30181
  r.value == "Oldest First" ? d.updateConfiguration({ ...d.configuration, additionalSearchParameters: {
30182
30182
  query_by: t.queryByFields,
@@ -30188,7 +30188,7 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30188
30188
  query_by: t.queryByFields,
30189
30189
  sort_by: `${t.sortField}:desc`
30190
30190
  } }), p.value++;
30191
- }, A = (H) => {
30191
+ }, A = (L) => {
30192
30192
  const j = {
30193
30193
  "works.composers": "Composer",
30194
30194
  "works.title": "Work",
@@ -30218,46 +30218,46 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30218
30218
  "creators.name": "Additional Creator",
30219
30219
  "creators.role": "Creator Role"
30220
30220
  };
30221
- return H.attribute == "performance_date" || H.attribute == "last_performance_date" ? "Date: " + H.label[0] + " " + Rn(H.value) + " ×" : j[H.attribute] ? j[H.attribute] + ": " + H.value + ' <span="activeFilters__removeIcon">×</span>' : H.attribute + ": " + H.value + " ×";
30222
- }, E = (H, j) => {
30223
- let D = Object.keys(H).filter((B) => Object.hasOwn(j, B)), L = [];
30221
+ return L.attribute == "performance_date" || L.attribute == "last_performance_date" ? "Date: " + L.label[0] + " " + Rn(L.value) + " ×" : j[L.attribute] ? j[L.attribute] + ": " + L.value + ' <span="activeFilters__removeIcon">×</span>' : L.attribute + ": " + L.value + " ×";
30222
+ }, E = (L, j) => {
30223
+ let D = Object.keys(L).filter((B) => Object.hasOwn(j, B)), H = [];
30224
30224
  return D.forEach((B) => {
30225
- typeof H[B] == "object" && typeof j[B] == "object" ? Array.isArray(j[B]) && Array.isArray(H[B]) ? j[B].forEach((J) => {
30226
- H[B].forEach((Q) => {
30227
- J == Q && L.push(J);
30225
+ typeof L[B] == "object" && typeof j[B] == "object" ? Array.isArray(j[B]) && Array.isArray(L[B]) ? j[B].forEach((J) => {
30226
+ L[B].forEach((Q) => {
30227
+ J == Q && H.push(J);
30228
30228
  });
30229
- }) : Array.isArray(j[B]) && Object.entries(H[B])?.forEach(([J, Q]) => {
30229
+ }) : Array.isArray(j[B]) && Object.entries(L[B])?.forEach(([J, Q]) => {
30230
30230
  j[B]?.forEach((se) => {
30231
30231
  typeof se == "object" && Object.entries(se).forEach(([X, ue]) => {
30232
- J == X && Q.includes(ue) && L.push(se[X]);
30232
+ J == X && Q.includes(ue) && H.push(se[X]);
30233
30233
  });
30234
30234
  });
30235
- }) : H[B].includes(j[B]) && L.push(j[B]);
30236
- }), L;
30237
- }, x = (H) => {
30235
+ }) : L[B].includes(j[B]) && H.push(j[B]);
30236
+ }), H;
30237
+ }, x = (L) => {
30238
30238
  if (a.value && t.indexName == "dev_henry_perfs") {
30239
- let j = H, D = 0;
30240
- return j.forEach((L) => {
30239
+ let j = L, D = 0;
30240
+ return j.forEach((H) => {
30241
30241
  let B = [];
30242
- L?.works?.forEach((J) => {
30242
+ H?.works?.forEach((J) => {
30243
30243
  let Q = !1;
30244
30244
  E(s.value, J)?.length && (B.push(J), Q = !0), !Q && u.value && JSON.stringify(J).includes(u.value) && B.push(J);
30245
30245
  }), j[D].works = B, D++;
30246
30246
  }), j;
30247
30247
  } else
30248
- return H;
30249
- }, $ = (H, j, D) => {
30250
- H(j), document.getElementById(D).scrollIntoView();
30251
- }, F = (H, j) => typeof H.min == "number" && H.min != 0 ? H.min * 1e3 : j.min * 1e3, M = (H, j) => typeof H.max == "number" && H.max != 0 ? H.max * 1e3 : j.max * 1e3, ae = (H, j) => typeof H == "number" && H !== null && H !== j ? H : j, oe = (H, j) => typeof H == "number" && H !== null && H !== j ? H : j, V = (H) => {
30252
- if (y.value && typeof y.value[H] < "u" && y.value[H])
30248
+ return L;
30249
+ }, $ = (L, j, D) => {
30250
+ L(j), document.getElementById(D).scrollIntoView();
30251
+ }, F = (L, j) => typeof L.min == "number" && L.min != 0 ? L.min * 1e3 : j.min * 1e3, M = (L, j) => typeof L.max == "number" && L.max != 0 ? L.max * 1e3 : j.max * 1e3, ae = (L, j) => typeof L == "number" && L !== null && L !== j ? L : j, oe = (L, j) => typeof L == "number" && L !== null && L !== j ? L : j, V = (L) => {
30252
+ if (y.value && typeof y.value[L] < "u" && y.value[L])
30253
30253
  try {
30254
- return y.value[H] && typeof y.value[H].items < "u" && y.value[H].items.length ? "" : "-gray";
30254
+ return y.value[L] && typeof y.value[L].items < "u" && y.value[L].items.length ? "" : "-gray";
30255
30255
  } catch {
30256
30256
  return "";
30257
30257
  }
30258
30258
  return "";
30259
30259
  };
30260
- return (H, j) => (q(), mt(Z(PD), {
30260
+ return (L, j) => (q(), mt(Z(PD), {
30261
30261
  "search-client": Z(l),
30262
30262
  "index-name": t.indexName,
30263
30263
  routing: g.value,
@@ -30273,7 +30273,7 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30273
30273
  T("div", E6, [
30274
30274
  T("div", C6, [
30275
30275
  Tt(Z(sS), { class: "searchBox" }, {
30276
- default: Ye(({ currentRefinement: D, isSearchStalled: L, refine: B }) => [
30276
+ default: Ye(({ currentRefinement: D, isSearchStalled: H, refine: B }) => [
30277
30277
  T("label", $6, Ae(t.searchPlaceholder), 1),
30278
30278
  T("input", {
30279
30279
  class: "ais-SearchBox-input",
@@ -30299,7 +30299,7 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30299
30299
  ])
30300
30300
  ], -1)),
30301
30301
  T("span", {
30302
- hidden: !L
30302
+ hidden: !H
30303
30303
  }, "Loading...", 8, j6)
30304
30304
  ]),
30305
30305
  _: 1
@@ -30309,18 +30309,18 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30309
30309
  Tt(Z(iS), {
30310
30310
  attribute: t.sortField
30311
30311
  }, {
30312
- default: Ye(({ currentRefinement: D, range: L, refine: B }) => [
30312
+ default: Ye(({ currentRefinement: D, range: H, refine: B }) => [
30313
30313
  j[11] || (j[11] = T("label", {
30314
30314
  for: "start",
30315
30315
  class: "label__hidden"
30316
30316
  }, "Start Date", -1)),
30317
30317
  Tt(Z(Mf), {
30318
30318
  "aria-labels": { input: "Start Date" },
30319
- "model-value": F(D, L),
30319
+ "model-value": F(D, H),
30320
30320
  "onUpdate:modelValue": (J) => {
30321
30321
  B({
30322
- min: ae(J / 1e3, L.min),
30323
- max: oe(D.max, L.max)
30322
+ min: ae(J / 1e3, H.min),
30323
+ max: oe(D.max, H.max)
30324
30324
  });
30325
30325
  },
30326
30326
  clearable: !1,
@@ -30338,11 +30338,11 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30338
30338
  }, "End Date", -1)),
30339
30339
  Tt(Z(Mf), {
30340
30340
  "aria-labels": { input: "End Date" },
30341
- "model-value": M(D, L),
30341
+ "model-value": M(D, H),
30342
30342
  "onUpdate:modelValue": (J) => {
30343
30343
  B({
30344
- min: ae(D.min, L.min),
30345
- max: oe(J / 1e3, L.max)
30344
+ min: ae(D.min, H.min),
30345
+ max: oe(J / 1e3, H.max)
30346
30346
  });
30347
30347
  },
30348
30348
  clearable: !1,
@@ -30498,12 +30498,12 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30498
30498
  attribute: D.attribute,
30499
30499
  operator: "and",
30500
30500
  ref_for: !0,
30501
- ref: (L) => {
30502
- y.value[D.attribute] = L;
30501
+ ref: (H) => {
30502
+ y.value[D.attribute] = H;
30503
30503
  }
30504
30504
  }, {
30505
- default: Ye(({ items: L, refine: B, searchForItems: J, isFromSearch: Q }) => [
30506
- L.length || Q ? (q(), Y("div", H6, [
30505
+ default: Ye(({ items: H, refine: B, searchForItems: J, isFromSearch: Q }) => [
30506
+ H.length || Q ? (q(), Y("div", H6, [
30507
30507
  T("div", q6, [
30508
30508
  T("label", {
30509
30509
  class: "label__hidden",
@@ -30547,11 +30547,11 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30547
30547
  ], 40, U6)
30548
30548
  ]),
30549
30549
  T("div", Y6, [
30550
- L.length ? fe("", !0) : (q(), Y("span", Q6, [...j[18] || (j[18] = [
30550
+ H.length ? fe("", !0) : (q(), Y("span", Q6, [...j[18] || (j[18] = [
30551
30551
  T("span", { class: "checkBoxes__alertIcon" }, "!", -1),
30552
30552
  st("No matches found", -1)
30553
30553
  ])])),
30554
- (q(!0), Y($e, null, Xe(L, (se) => (q(), Y("label", {
30554
+ (q(!0), Y($e, null, Xe(H, (se) => (q(), Y("label", {
30555
30555
  class: "checkBoxes__boxLabel",
30556
30556
  for: Z(Ps)(D.title + " " + se.value)
30557
30557
  }, [
@@ -30597,7 +30597,7 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30597
30597
  attribute: D.attribute,
30598
30598
  operator: "and"
30599
30599
  }, {
30600
- default: Ye(({ items: L, refine: B, searchForItems: J, isFromSearch: Q }) => [
30600
+ default: Ye(({ items: H, refine: B, searchForItems: J, isFromSearch: Q }) => [
30601
30601
  Tt(mf, {
30602
30602
  name: D.title,
30603
30603
  class: "accordion",
@@ -30606,9 +30606,9 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30606
30606
  default: Ye(() => [
30607
30607
  T("summary", eq, [
30608
30608
  T("h6", {
30609
- class: ve(`accordion__heading ${L.length || Q ? "" : "-gray"}`)
30609
+ class: ve(`accordion__heading ${H.length || Q ? "" : "-gray"}`)
30610
30610
  }, Ae(D.title), 3),
30611
- L.length ? (q(), Y("div", tq, [...j[19] || (j[19] = [
30611
+ H.length ? (q(), Y("div", tq, [...j[19] || (j[19] = [
30612
30612
  T("svg", {
30613
30613
  class: "accordion__icon icon icon--chevron-right",
30614
30614
  "aria-hidden": "true",
@@ -30626,7 +30626,7 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30626
30626
  ], -1)
30627
30627
  ])])) : fe("", !0)
30628
30628
  ]),
30629
- L.length || Q ? (q(), Y("div", rq, [
30629
+ H.length || Q ? (q(), Y("div", rq, [
30630
30630
  D.hideSearch ? fe("", !0) : (q(), Y("div", nq, [
30631
30631
  T("label", {
30632
30632
  class: "label__hidden",
@@ -30670,11 +30670,11 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30670
30670
  ], 40, iq)
30671
30671
  ])),
30672
30672
  T("div", uq, [
30673
- L.length ? fe("", !0) : (q(), Y("span", lq, [...j[21] || (j[21] = [
30673
+ H.length ? fe("", !0) : (q(), Y("span", lq, [...j[21] || (j[21] = [
30674
30674
  T("span", { class: "checkBoxes__alertIcon" }, "!", -1),
30675
30675
  st("No matches found", -1)
30676
30676
  ])])),
30677
- (q(!0), Y($e, null, Xe(L, (se) => (q(), Y("label", {
30677
+ (q(!0), Y($e, null, Xe(H, (se) => (q(), Y("label", {
30678
30678
  class: "checkBoxes__boxLabel",
30679
30679
  for: Z(Ps)(D.title + " " + se.value)
30680
30680
  }, [
@@ -30734,12 +30734,12 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30734
30734
  attribute: "location.country",
30735
30735
  operator: "and"
30736
30736
  }, {
30737
- default: Ye(({ items: L, refine: B }) => [
30737
+ default: Ye(({ items: H, refine: B }) => [
30738
30738
  T("select", {
30739
30739
  onChange: (J) => B(J.currentTarget.value)
30740
30740
  }, [
30741
30741
  j[22] || (j[22] = T("option", null, "Select Country", -1)),
30742
- (q(!0), Y($e, null, Xe(L, (J) => (q(), Y("option", {
30742
+ (q(!0), Y($e, null, Xe(H, (J) => (q(), Y("option", {
30743
30743
  value: J.value
30744
30744
  }, Ae(J.label), 9, gq))), 256))
30745
30745
  ], 40, vq)
@@ -30751,12 +30751,12 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30751
30751
  attribute: "location.state",
30752
30752
  operator: "and"
30753
30753
  }, {
30754
- default: Ye(({ items: L, refine: B }) => [
30754
+ default: Ye(({ items: H, refine: B }) => [
30755
30755
  T("select", {
30756
30756
  onChange: (J) => B(J.currentTarget.value)
30757
30757
  }, [
30758
30758
  j[23] || (j[23] = T("option", null, "Select State", -1)),
30759
- (q(!0), Y($e, null, Xe(L, (J) => (q(), Y("option", {
30759
+ (q(!0), Y($e, null, Xe(H, (J) => (q(), Y("option", {
30760
30760
  value: J.value
30761
30761
  }, Ae(J.label), 9, bq))), 256))
30762
30762
  ], 40, yq)
@@ -30769,12 +30769,12 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30769
30769
  attribute: "location.city",
30770
30770
  operator: "and"
30771
30771
  }, {
30772
- default: Ye(({ items: L, refine: B }) => [
30772
+ default: Ye(({ items: H, refine: B }) => [
30773
30773
  T("select", {
30774
30774
  onChange: (J) => B(J.currentTarget.value)
30775
30775
  }, [
30776
30776
  j[24] || (j[24] = T("option", null, "Select City", -1)),
30777
- (q(!0), Y($e, null, Xe(L, (J) => (q(), Y("option", {
30777
+ (q(!0), Y($e, null, Xe(H, (J) => (q(), Y("option", {
30778
30778
  value: J.value
30779
30779
  }, Ae(J.label), 9, wq))), 256))
30780
30780
  ], 40, _q)
@@ -30793,9 +30793,9 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30793
30793
  ]),
30794
30794
  T("div", Sq, [
30795
30795
  Tt(Z(cm), { "excluded-attributes": [] }, {
30796
- default: Ye(({ refine: D, createURL: L }) => [
30796
+ default: Ye(({ refine: D, createURL: H }) => [
30797
30797
  T("a", {
30798
- href: L(),
30798
+ href: H(),
30799
30799
  onClick: Gt(D, ["prevent"])
30800
30800
  }, [
30801
30801
  T("button", {
@@ -30826,7 +30826,7 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30826
30826
  T("div", xq, [
30827
30827
  T("button", {
30828
30828
  class: "filterButton",
30829
- onClick: j[6] || (j[6] = (L) => v())
30829
+ onClick: j[6] || (j[6] = (H) => v())
30830
30830
  }, [...j[27] || (j[27] = [
30831
30831
  T("svg", {
30832
30832
  width: "24",
@@ -30881,7 +30881,7 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30881
30881
  j[29] || (j[29] = st("Sort by: ", -1)),
30882
30882
  $s(T("select", {
30883
30883
  name: "Sort Order",
30884
- "onUpdate:modelValue": j[7] || (j[7] = (L) => r.value = L),
30884
+ "onUpdate:modelValue": j[7] || (j[7] = (H) => r.value = H),
30885
30885
  onChange: O
30886
30886
  }, [...j[28] || (j[28] = [
30887
30887
  T("option", { value: "Most Recent" }, "Most Recent", -1),
@@ -30901,7 +30901,7 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30901
30901
  viewBox: "0 0 24 24",
30902
30902
  id: `${t.indexName}_filterToggleOn`,
30903
30903
  class: ve(`filters__toggleOn ${f.value ? "closed" : ""}`),
30904
- onClick: j[8] || (j[8] = (L) => c())
30904
+ onClick: j[8] || (j[8] = (H) => c())
30905
30905
  }, [...j[30] || (j[30] = [
30906
30906
  T("rect", {
30907
30907
  width: "24",
@@ -30938,8 +30938,8 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30938
30938
  ])], 10, Cq)),
30939
30939
  n.value ? (q(), Y("h2", $q, [
30940
30940
  Tt(Z(gm), null, {
30941
- default: Ye(({ nbHits: L }) => [
30942
- st(Ae(L) + " " + Ae(L > 1 ? "Results" : "Result"), 1)
30941
+ default: Ye(({ nbHits: H }) => [
30942
+ st(Ae(H) + " " + Ae(H > 1 ? "Results" : "Result"), 1)
30943
30943
  ]),
30944
30944
  _: 1
30945
30945
  })
@@ -30950,7 +30950,7 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
30950
30950
  j[32] || (j[32] = T("label", { class: "resultActions__sortText" }, "Sort by: ", -1)),
30951
30951
  $s(T("select", {
30952
30952
  name: "sort_order",
30953
- "onUpdate:modelValue": j[9] || (j[9] = (L) => r.value = L),
30953
+ "onUpdate:modelValue": j[9] || (j[9] = (H) => r.value = H),
30954
30954
  onChange: O
30955
30955
  }, [...j[31] || (j[31] = [
30956
30956
  T("option", { value: "Most Recent" }, "Most Recent", -1),
@@ -31020,10 +31020,10 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
31020
31020
  ])
31021
31021
  ]),
31022
31022
  Tt(Z(C1), { "excluded-attributes": [] }, {
31023
- default: Ye(({ items: L, createURL: B }) => [
31023
+ default: Ye(({ items: H, createURL: B }) => [
31024
31024
  T("div", Nq, [
31025
- L.length ? (q(), Y("div", Lq, "Applied Filters")) : fe("", !0),
31026
- L.length ? (q(), mt(Z(cm), {
31025
+ H.length ? (q(), Y("div", Lq, "Applied Filters")) : fe("", !0),
31026
+ H.length ? (q(), mt(Z(cm), {
31027
31027
  key: 1,
31028
31028
  "excluded-attributes": []
31029
31029
  }, {
@@ -31038,7 +31038,7 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
31038
31038
  _: 2
31039
31039
  }, 1024)) : fe("", !0),
31040
31040
  T("ul", Wq, [
31041
- (q(!0), Y($e, null, Xe(L, (J) => (q(), Y($e, {
31041
+ (q(!0), Y($e, null, Xe(H, (J) => (q(), Y($e, {
31042
31042
  key: J.attribute
31043
31043
  }, [
31044
31044
  (q(!0), Y($e, null, Xe(J.refinements, (Q) => (q(), Y("li", {
@@ -31063,12 +31063,12 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
31063
31063
  ]),
31064
31064
  _: 2
31065
31065
  }, 1024),
31066
- Ee(H.$slots, "default", {
31066
+ Ee(L.$slots, "default", {
31067
31067
  items: D,
31068
31068
  showByWorks: a.value
31069
31069
  }, () => [
31070
- (q(!0), Y($e, null, Xe(D, (L) => (q(), Y("div", null, [
31071
- st(Ae(JSON.stringify(L)), 1),
31070
+ (q(!0), Y($e, null, Xe(D, (H) => (q(), Y("div", null, [
31071
+ st(Ae(JSON.stringify(H)), 1),
31072
31072
  j[36] || (j[36] = T("br", null, null, -1)),
31073
31073
  j[37] || (j[37] = T("br", null, null, -1))
31074
31074
  ]))), 256))
@@ -31078,15 +31078,15 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
31078
31078
  })),
31079
31079
  T("nav", Bq, [
31080
31080
  Tt(Z(gm), null, {
31081
- default: Ye(({ hitsPerPage: D, nbHits: L, page: B }) => [
31082
- st(Ae(L == 0 ? L : B * D + 1) + " - " + Ae((B + 1) * D < L ? (B + 1) * D : L) + " of " + Ae(L) + " Results ", 1)
31081
+ default: Ye(({ hitsPerPage: D, nbHits: H, page: B }) => [
31082
+ st(Ae(H == 0 ? H : B * D + 1) + " - " + Ae((B + 1) * D < H ? (B + 1) * D : H) + " of " + Ae(H) + " Results ", 1)
31083
31083
  ]),
31084
31084
  _: 1
31085
31085
  }),
31086
31086
  Tt(Z(aS), null, {
31087
31087
  default: Ye(({
31088
31088
  currentRefinement: D,
31089
- nbPages: L,
31089
+ nbPages: H,
31090
31090
  pages: B,
31091
31091
  isFirstPage: J,
31092
31092
  isLastPage: Q,
@@ -31094,19 +31094,19 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
31094
31094
  createURL: X
31095
31095
  }) => [
31096
31096
  B.length > 1 ? (q(), Y("ul", Vq, [
31097
- !J && L > 5 ? (q(), Y("li", Yq, [
31097
+ !J && H > 5 ? (q(), Y("li", Yq, [
31098
31098
  T("a", {
31099
31099
  href: X(0),
31100
31100
  onClick: Gt((ue) => $(se, 0, "resultsTitle"), ["prevent"])
31101
31101
  }, " ‹‹ ", 8, Qq)
31102
31102
  ])) : fe("", !0),
31103
- !J && L > 5 ? (q(), Y("li", zq, [
31103
+ !J && H > 5 ? (q(), Y("li", zq, [
31104
31104
  T("a", {
31105
31105
  href: X(D - 1),
31106
31106
  onClick: Gt((ue) => $(se, D - 1, "resultsTitle"), ["prevent"])
31107
31107
  }, " ‹ ", 8, Gq)
31108
31108
  ])) : fe("", !0),
31109
- L - 5 > D ? (q(), Y($e, { key: 2 }, [
31109
+ H - 5 > D ? (q(), Y($e, { key: 2 }, [
31110
31110
  (q(!0), Y($e, null, Xe(B.slice(0, 5), (ue) => (q(), Y("li", { key: ue }, [
31111
31111
  T("a", {
31112
31112
  href: X(ue),
@@ -31117,9 +31117,9 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
31117
31117
  B.length > 5 ? (q(), Y("li", Jq, "...")) : fe("", !0),
31118
31118
  B.length > 5 ? (q(), Y("li", Xq, [
31119
31119
  T("a", {
31120
- href: X(L - 1),
31121
- onClick: Gt((ue) => $(se, L - 1, "resultsTitle"), ["prevent"])
31122
- }, Ae(L), 9, Zq)
31120
+ href: X(H - 1),
31121
+ onClick: Gt((ue) => $(se, H - 1, "resultsTitle"), ["prevent"])
31122
+ }, Ae(H), 9, Zq)
31123
31123
  ])) : fe("", !0)
31124
31124
  ], 64)) : (q(), Y($e, { key: 3 }, [
31125
31125
  T("li", null, [
@@ -31130,14 +31130,14 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
31130
31130
  }, " 1 ", 12, e4)
31131
31131
  ]),
31132
31132
  B.length > 5 ? (q(), Y("li", t4, "...")) : fe("", !0),
31133
- L > 5 ? (q(), Y($e, { key: 1 }, Xe(5, (ue) => T("li", { key: ue }, [
31133
+ H > 5 ? (q(), Y($e, { key: 1 }, Xe(5, (ue) => T("li", { key: ue }, [
31134
31134
  T("a", {
31135
- href: X(L - (5 - ue) - 1),
31136
- onClick: Gt((ee) => $(se, L - (5 - ue) - 1, "resultsTitle"), ["prevent"]),
31137
- style: Yr({ fontWeight: L - (5 - ue) - 1 === D ? "bold" : "" })
31138
- }, Ae(L - (5 - ue)), 13, r4)
31135
+ href: X(H - (5 - ue) - 1),
31136
+ onClick: Gt((ee) => $(se, H - (5 - ue) - 1, "resultsTitle"), ["prevent"]),
31137
+ style: Yr({ fontWeight: H - (5 - ue) - 1 === D ? "bold" : "" })
31138
+ }, Ae(H - (5 - ue)), 13, r4)
31139
31139
  ])), 64)) : fe("", !0),
31140
- L <= 5 ? (q(!0), Y($e, { key: 2 }, Xe(L - 1, (ue) => (q(), Y("li", null, [
31140
+ H <= 5 ? (q(!0), Y($e, { key: 2 }, Xe(H - 1, (ue) => (q(), Y("li", null, [
31141
31141
  T("a", {
31142
31142
  href: X(ue),
31143
31143
  onClick: Gt((ee) => $(se, ue, "resultsTitle"), ["prevent"]),
@@ -31145,15 +31145,15 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
31145
31145
  }, Ae(ue + 1), 13, n4)
31146
31146
  ]))), 256)) : fe("", !0)
31147
31147
  ], 64)),
31148
- !Q && L > 5 ? (q(), Y("li", a4, [
31148
+ !Q && H > 5 ? (q(), Y("li", a4, [
31149
31149
  T("a", {
31150
31150
  href: X(D + 1),
31151
31151
  onClick: Gt((ue) => $(se, D + 1, "resultsTitle"), ["prevent"])
31152
31152
  }, " › ", 8, i4)
31153
31153
  ])) : fe("", !0),
31154
- !Q && L > 5 ? (q(), Y("li", s4, [
31154
+ !Q && H > 5 ? (q(), Y("li", s4, [
31155
31155
  T("a", {
31156
- href: X(L),
31156
+ href: X(H),
31157
31157
  onClick: Gt((ue) => $(se, D + 1, "resultsTitle"), ["prevent"])
31158
31158
  }, " ›› ", 8, o4)
31159
31159
  ])) : fe("", !0)
@@ -31349,15 +31349,18 @@ const x6 = ["id"], A6 = { class: "eventsSearch__topSection" }, T6 = { class: "fi
31349
31349
  T("circle", {
31350
31350
  cx: "9",
31351
31351
  cy: "9",
31352
- r: "8.5"
31352
+ r: "8.5",
31353
+ "vector-effect": "non-scaling-stroke"
31353
31354
  }),
31354
31355
  T("path", {
31355
31356
  d: "M5 9H13",
31356
- "stroke-width": "1.5"
31357
+ "stroke-width": "1.5",
31358
+ "vector-effect": "non-scaling-stroke"
31357
31359
  }),
31358
31360
  T("path", {
31359
31361
  d: "M9 5L13 9L9 13",
31360
- "stroke-width": "1.5"
31362
+ "stroke-width": "1.5",
31363
+ "vector-effect": "non-scaling-stroke"
31361
31364
  })
31362
31365
  ], -1)),
31363
31366
  T("a", {
@@ -32001,7 +32004,7 @@ const V4 = /* @__PURE__ */ zs(B4), Y4 = { class: "breadCrumb" }, Q4 = ["href"],
32001
32004
  }
32002
32005
  },
32003
32006
  setup(e) {
32004
- const t = e, r = Te(null), n = Te(JSON.parse(sessionStorage.getItem("searchHistory")));
32007
+ const t = e, r = Te(null), n = Te(sessionStorage.getItem("previousPageUrl"));
32005
32008
  gr(() => {
32006
32009
  new V4.Client({
32007
32010
  nodes: [{
@@ -32041,7 +32044,7 @@ const V4 = /* @__PURE__ */ zs(B4), Y4 = { class: "breadCrumb" }, Q4 = ["href"],
32041
32044
  return (p, g) => r.value ? (q(), Y($e, { key: 0 }, [
32042
32045
  T("div", Y4, [
32043
32046
  T("a", {
32044
- href: n.value && n.value.length ? n.value[n.value.length - 1].link : "/"
32047
+ href: n.value ? n.value : "/"
32045
32048
  }, "Back to Search Results", 8, Q4)
32046
32049
  ]),
32047
32050
  T("div", z4, [