@searchstax-inc/searchstudio-ux-react 0.2.7 → 0.2.8

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.
@@ -1,4 +1,4 @@
1
- import nt, { useState as H, useEffect as ee, createRef as et } from "react";
1
+ import nt, { useState as H, useEffect as ee, useRef as Ft, createRef as et } from "react";
2
2
  var Pe = { exports: {} }, oe = {};
3
3
  /**
4
4
  * @license React
@@ -10,20 +10,20 @@ var Pe = { exports: {} }, oe = {};
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
12
  var tt;
13
- function Ft() {
13
+ function Ot() {
14
14
  if (tt)
15
15
  return oe;
16
16
  tt = 1;
17
17
  var i = nt, e = Symbol.for("react.element"), t = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, a = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, r = { key: !0, ref: !0, __self: !0, __source: !0 };
18
18
  function c(l, u, d) {
19
- var p, v = {}, y = null, k = null;
19
+ var g, m = {}, y = null, k = null;
20
20
  d !== void 0 && (y = "" + d), u.key !== void 0 && (y = "" + u.key), u.ref !== void 0 && (k = u.ref);
21
- for (p in u)
22
- s.call(u, p) && !r.hasOwnProperty(p) && (v[p] = u[p]);
21
+ for (g in u)
22
+ s.call(u, g) && !r.hasOwnProperty(g) && (m[g] = u[g]);
23
23
  if (l && l.defaultProps)
24
- for (p in u = l.defaultProps, u)
25
- v[p] === void 0 && (v[p] = u[p]);
26
- return { $$typeof: e, type: l, key: y, ref: k, props: v, _owner: a.current };
24
+ for (g in u = l.defaultProps, u)
25
+ m[g] === void 0 && (m[g] = u[g]);
26
+ return { $$typeof: e, type: l, key: y, ref: k, props: m, _owner: a.current };
27
27
  }
28
28
  return oe.Fragment = t, oe.jsx = c, oe.jsxs = c, oe;
29
29
  }
@@ -38,48 +38,48 @@ var he = {};
38
38
  * LICENSE file in the root directory of this source tree.
39
39
  */
40
40
  var at;
41
- function Ot() {
41
+ function Mt() {
42
42
  return at || (at = 1, process.env.NODE_ENV !== "production" && function() {
43
- var i = nt, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), l = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), k = Symbol.for("react.offscreen"), M = Symbol.iterator, R = "@@iterator";
43
+ var i = nt, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), l = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), k = Symbol.for("react.offscreen"), F = Symbol.iterator, R = "@@iterator";
44
44
  function T(n) {
45
45
  if (n === null || typeof n != "object")
46
46
  return null;
47
- var g = M && n[M] || n[R];
48
- return typeof g == "function" ? g : null;
47
+ var p = F && n[F] || n[R];
48
+ return typeof p == "function" ? p : null;
49
49
  }
50
50
  var I = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
51
  function L(n) {
52
52
  {
53
- for (var g = arguments.length, f = new Array(g > 1 ? g - 1 : 0), S = 1; S < g; S++)
54
- f[S - 1] = arguments[S];
55
- N("error", n, f);
53
+ for (var p = arguments.length, v = new Array(p > 1 ? p - 1 : 0), S = 1; S < p; S++)
54
+ v[S - 1] = arguments[S];
55
+ N("error", n, v);
56
56
  }
57
57
  }
58
- function N(n, g, f) {
58
+ function N(n, p, v) {
59
59
  {
60
60
  var S = I.ReactDebugCurrentFrame, j = S.getStackAddendum();
61
- j !== "" && (g += "%s", f = f.concat([j]));
62
- var O = f.map(function(E) {
61
+ j !== "" && (p += "%s", v = v.concat([j]));
62
+ var M = v.map(function(E) {
63
63
  return String(E);
64
64
  });
65
- O.unshift("Warning: " + g), Function.prototype.apply.call(console[n], console, O);
65
+ M.unshift("Warning: " + p), Function.prototype.apply.call(console[n], console, M);
66
66
  }
67
67
  }
68
- var W = !1, A = !1, Q = !1, m = !1, b = !1, F;
69
- F = Symbol.for("react.module.reference");
68
+ var W = !1, A = !1, Q = !1, f = !1, b = !1, O;
69
+ O = Symbol.for("react.module.reference");
70
70
  function $(n) {
71
- return !!(typeof n == "string" || typeof n == "function" || n === s || n === r || b || n === a || n === d || n === p || m || n === k || W || A || Q || typeof n == "object" && n !== null && (n.$$typeof === y || n.$$typeof === v || n.$$typeof === c || n.$$typeof === l || n.$$typeof === u || // This needs to include all possible module reference object
71
+ return !!(typeof n == "string" || typeof n == "function" || n === s || n === r || b || n === a || n === d || n === g || f || n === k || W || A || Q || typeof n == "object" && n !== null && (n.$$typeof === y || n.$$typeof === m || n.$$typeof === c || n.$$typeof === l || n.$$typeof === u || // This needs to include all possible module reference object
72
72
  // types supported by any Flight configuration anywhere since
73
73
  // we don't know which Flight build this will end up being used
74
74
  // with.
75
- n.$$typeof === F || n.getModuleId !== void 0));
75
+ n.$$typeof === O || n.getModuleId !== void 0));
76
76
  }
77
- function G(n, g, f) {
77
+ function G(n, p, v) {
78
78
  var S = n.displayName;
79
79
  if (S)
80
80
  return S;
81
- var j = g.displayName || g.name || "";
82
- return j !== "" ? f + "(" + j + ")" : f;
81
+ var j = p.displayName || p.name || "";
82
+ return j !== "" ? v + "(" + j + ")" : v;
83
83
  }
84
84
  function ne(n) {
85
85
  return n.displayName || "Context";
@@ -102,26 +102,26 @@ function Ot() {
102
102
  return "StrictMode";
103
103
  case d:
104
104
  return "Suspense";
105
- case p:
105
+ case g:
106
106
  return "SuspenseList";
107
107
  }
108
108
  if (typeof n == "object")
109
109
  switch (n.$$typeof) {
110
110
  case l:
111
- var g = n;
112
- return ne(g) + ".Consumer";
111
+ var p = n;
112
+ return ne(p) + ".Consumer";
113
113
  case c:
114
- var f = n;
115
- return ne(f._context) + ".Provider";
114
+ var v = n;
115
+ return ne(v._context) + ".Provider";
116
116
  case u:
117
117
  return G(n, n.render, "ForwardRef");
118
- case v:
118
+ case m:
119
119
  var S = n.displayName || null;
120
120
  return S !== null ? S : K(n.type) || "Memo";
121
121
  case y: {
122
- var j = n, O = j._payload, E = j._init;
122
+ var j = n, M = j._payload, E = j._init;
123
123
  try {
124
- return K(E(O));
124
+ return K(E(M));
125
125
  } catch {
126
126
  return null;
127
127
  }
@@ -192,7 +192,7 @@ function Ot() {
192
192
  }
193
193
  }
194
194
  var be = I.ReactCurrentDispatcher, Ce;
195
- function me(n, g, f) {
195
+ function me(n, p, v) {
196
196
  {
197
197
  if (Ce === void 0)
198
198
  try {
@@ -210,22 +210,22 @@ function Ot() {
210
210
  var ot = typeof WeakMap == "function" ? WeakMap : Map;
211
211
  fe = new ot();
212
212
  }
213
- function _e(n, g) {
213
+ function _e(n, p) {
214
214
  if (!n || Se)
215
215
  return "";
216
216
  {
217
- var f = fe.get(n);
218
- if (f !== void 0)
219
- return f;
217
+ var v = fe.get(n);
218
+ if (v !== void 0)
219
+ return v;
220
220
  }
221
221
  var S;
222
222
  Se = !0;
223
223
  var j = Error.prepareStackTrace;
224
224
  Error.prepareStackTrace = void 0;
225
- var O;
226
- O = be.current, be.current = null, ct();
225
+ var M;
226
+ M = be.current, be.current = null, ct();
227
227
  try {
228
- if (g) {
228
+ if (p) {
229
229
  var E = function() {
230
230
  throw Error();
231
231
  };
@@ -276,19 +276,19 @@ function Ot() {
276
276
  }
277
277
  }
278
278
  } finally {
279
- Se = !1, be.current = O, lt(), Error.prepareStackTrace = j;
279
+ Se = !1, be.current = M, lt(), Error.prepareStackTrace = j;
280
280
  }
281
281
  var ae = n ? n.displayName || n.name : "", Ze = ae ? me(ae) : "";
282
282
  return typeof n == "function" && fe.set(n, Ze), Ze;
283
283
  }
284
- function ht(n, g, f) {
284
+ function ht(n, p, v) {
285
285
  return _e(n, !1);
286
286
  }
287
287
  function ut(n) {
288
- var g = n.prototype;
289
- return !!(g && g.isReactComponent);
288
+ var p = n.prototype;
289
+ return !!(p && p.isReactComponent);
290
290
  }
291
- function ve(n, g, f) {
291
+ function ve(n, p, v) {
292
292
  if (n == null)
293
293
  return "";
294
294
  if (typeof n == "function")
@@ -298,19 +298,19 @@ function Ot() {
298
298
  switch (n) {
299
299
  case d:
300
300
  return me("Suspense");
301
- case p:
301
+ case g:
302
302
  return me("SuspenseList");
303
303
  }
304
304
  if (typeof n == "object")
305
305
  switch (n.$$typeof) {
306
306
  case u:
307
307
  return ht(n.render);
308
- case v:
309
- return ve(n.type, g, f);
308
+ case m:
309
+ return ve(n.type, p, v);
310
310
  case y: {
311
- var S = n, j = S._payload, O = S._init;
311
+ var S = n, j = S._payload, M = S._init;
312
312
  try {
313
- return ve(O(j), g, f);
313
+ return ve(M(j), p, v);
314
314
  } catch {
315
315
  }
316
316
  }
@@ -320,27 +320,27 @@ function Ot() {
320
320
  var ye = Object.prototype.hasOwnProperty, He = {}, We = I.ReactDebugCurrentFrame;
321
321
  function xe(n) {
322
322
  if (n) {
323
- var g = n._owner, f = ve(n.type, n._source, g ? g.type : null);
324
- We.setExtraStackFrame(f);
323
+ var p = n._owner, v = ve(n.type, n._source, p ? p.type : null);
324
+ We.setExtraStackFrame(v);
325
325
  } else
326
326
  We.setExtraStackFrame(null);
327
327
  }
328
- function dt(n, g, f, S, j) {
328
+ function dt(n, p, v, S, j) {
329
329
  {
330
- var O = Function.call.bind(ye);
330
+ var M = Function.call.bind(ye);
331
331
  for (var E in n)
332
- if (O(n, E)) {
332
+ if (M(n, E)) {
333
333
  var w = void 0;
334
334
  try {
335
335
  if (typeof n[E] != "function") {
336
- var V = Error((S || "React class") + ": " + f + " type `" + E + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[E] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
336
+ var V = Error((S || "React class") + ": " + v + " type `" + E + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[E] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
337
  throw V.name = "Invariant Violation", V;
338
338
  }
339
- w = n[E](g, E, S, f, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
339
+ w = n[E](p, E, S, v, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
340
  } catch (q) {
341
341
  w = q;
342
342
  }
343
- w && !(w instanceof Error) && (xe(j), L("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", S || "React class", f, E, typeof w), xe(null)), w instanceof Error && !(w.message in He) && (He[w.message] = !0, xe(j), L("Failed %s type: %s", f, w.message), xe(null));
343
+ w && !(w instanceof Error) && (xe(j), L("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", S || "React class", v, E, typeof w), xe(null)), w instanceof Error && !(w.message in He) && (He[w.message] = !0, xe(j), L("Failed %s type: %s", v, w.message), xe(null));
344
344
  }
345
345
  }
346
346
  }
@@ -350,8 +350,8 @@ function Ot() {
350
350
  }
351
351
  function pt(n) {
352
352
  {
353
- var g = typeof Symbol == "function" && Symbol.toStringTag, f = g && n[Symbol.toStringTag] || n.constructor.name || "Object";
354
- return f;
353
+ var p = typeof Symbol == "function" && Symbol.toStringTag, v = p && n[Symbol.toStringTag] || n.constructor.name || "Object";
354
+ return v;
355
355
  }
356
356
  }
357
357
  function mt(n) {
@@ -377,59 +377,59 @@ function Ot() {
377
377
  Te = {};
378
378
  function vt(n) {
379
379
  if (ye.call(n, "ref")) {
380
- var g = Object.getOwnPropertyDescriptor(n, "ref").get;
381
- if (g && g.isReactWarning)
380
+ var p = Object.getOwnPropertyDescriptor(n, "ref").get;
381
+ if (p && p.isReactWarning)
382
382
  return !1;
383
383
  }
384
384
  return n.ref !== void 0;
385
385
  }
386
386
  function yt(n) {
387
387
  if (ye.call(n, "key")) {
388
- var g = Object.getOwnPropertyDescriptor(n, "key").get;
389
- if (g && g.isReactWarning)
388
+ var p = Object.getOwnPropertyDescriptor(n, "key").get;
389
+ if (p && p.isReactWarning)
390
390
  return !1;
391
391
  }
392
392
  return n.key !== void 0;
393
393
  }
394
- function xt(n, g) {
395
- if (typeof n.ref == "string" && le.current && g && le.current.stateNode !== g) {
396
- var f = K(le.current.type);
397
- Te[f] || (L('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', K(le.current.type), n.ref), Te[f] = !0);
394
+ function xt(n, p) {
395
+ if (typeof n.ref == "string" && le.current && p && le.current.stateNode !== p) {
396
+ var v = K(le.current.type);
397
+ Te[v] || (L('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', K(le.current.type), n.ref), Te[v] = !0);
398
398
  }
399
399
  }
400
- function bt(n, g) {
400
+ function bt(n, p) {
401
401
  {
402
- var f = function() {
403
- Ue || (Ue = !0, L("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", g));
402
+ var v = function() {
403
+ Ue || (Ue = !0, L("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", p));
404
404
  };
405
- f.isReactWarning = !0, Object.defineProperty(n, "key", {
406
- get: f,
405
+ v.isReactWarning = !0, Object.defineProperty(n, "key", {
406
+ get: v,
407
407
  configurable: !0
408
408
  });
409
409
  }
410
410
  }
411
- function Ct(n, g) {
411
+ function Ct(n, p) {
412
412
  {
413
- var f = function() {
414
- Qe || (Qe = !0, L("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", g));
413
+ var v = function() {
414
+ Qe || (Qe = !0, L("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", p));
415
415
  };
416
- f.isReactWarning = !0, Object.defineProperty(n, "ref", {
417
- get: f,
416
+ v.isReactWarning = !0, Object.defineProperty(n, "ref", {
417
+ get: v,
418
418
  configurable: !0
419
419
  });
420
420
  }
421
421
  }
422
- var St = function(n, g, f, S, j, O, E) {
422
+ var St = function(n, p, v, S, j, M, E) {
423
423
  var w = {
424
424
  // This tag allows us to uniquely identify this as a React Element
425
425
  $$typeof: e,
426
426
  // Built-in properties that belong on the element
427
427
  type: n,
428
- key: g,
429
- ref: f,
428
+ key: p,
429
+ ref: v,
430
430
  props: E,
431
431
  // Record the component responsible for creating this element.
432
- _owner: O
432
+ _owner: M
433
433
  };
434
434
  return w._store = {}, Object.defineProperty(w._store, "validated", {
435
435
  configurable: !1,
@@ -448,16 +448,16 @@ function Ot() {
448
448
  value: j
449
449
  }), Object.freeze && (Object.freeze(w.props), Object.freeze(w)), w;
450
450
  };
451
- function Lt(n, g, f, S, j) {
451
+ function Lt(n, p, v, S, j) {
452
452
  {
453
- var O, E = {}, w = null, V = null;
454
- f !== void 0 && (Ve(f), w = "" + f), yt(g) && (Ve(g.key), w = "" + g.key), vt(g) && (V = g.ref, xt(g, j));
455
- for (O in g)
456
- ye.call(g, O) && !ft.hasOwnProperty(O) && (E[O] = g[O]);
453
+ var M, E = {}, w = null, V = null;
454
+ v !== void 0 && (Ve(v), w = "" + v), yt(p) && (Ve(p.key), w = "" + p.key), vt(p) && (V = p.ref, xt(p, j));
455
+ for (M in p)
456
+ ye.call(p, M) && !ft.hasOwnProperty(M) && (E[M] = p[M]);
457
457
  if (n && n.defaultProps) {
458
458
  var q = n.defaultProps;
459
- for (O in q)
460
- E[O] === void 0 && (E[O] = q[O]);
459
+ for (M in q)
460
+ E[M] === void 0 && (E[M] = q[M]);
461
461
  }
462
462
  if (w || V) {
463
463
  var _ = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
@@ -469,8 +469,8 @@ function Ot() {
469
469
  var ke = I.ReactCurrentOwner, Ke = I.ReactDebugCurrentFrame;
470
470
  function te(n) {
471
471
  if (n) {
472
- var g = n._owner, f = ve(n.type, n._source, g ? g.type : null);
473
- Ke.setExtraStackFrame(f);
472
+ var p = n._owner, v = ve(n.type, n._source, p ? p.type : null);
473
+ Ke.setExtraStackFrame(v);
474
474
  } else
475
475
  Ke.setExtraStackFrame(null);
476
476
  }
@@ -494,10 +494,10 @@ Check the render method of \`` + n + "`.";
494
494
  function Tt(n) {
495
495
  {
496
496
  if (n !== void 0) {
497
- var g = n.fileName.replace(/^.*[\\\/]/, ""), f = n.lineNumber;
497
+ var p = n.fileName.replace(/^.*[\\\/]/, ""), v = n.lineNumber;
498
498
  return `
499
499
 
500
- Check your code at ` + g + ":" + f + ".";
500
+ Check your code at ` + p + ":" + v + ".";
501
501
  }
502
502
  return "";
503
503
  }
@@ -505,77 +505,77 @@ Check your code at ` + g + ":" + f + ".";
505
505
  var Je = {};
506
506
  function kt(n) {
507
507
  {
508
- var g = ze();
509
- if (!g) {
510
- var f = typeof n == "string" ? n : n.displayName || n.name;
511
- f && (g = `
508
+ var p = ze();
509
+ if (!p) {
510
+ var v = typeof n == "string" ? n : n.displayName || n.name;
511
+ v && (p = `
512
512
 
513
- Check the top-level render call using <` + f + ">.");
513
+ Check the top-level render call using <` + v + ">.");
514
514
  }
515
- return g;
515
+ return p;
516
516
  }
517
517
  }
518
- function Ye(n, g) {
518
+ function Ye(n, p) {
519
519
  {
520
520
  if (!n._store || n._store.validated || n.key != null)
521
521
  return;
522
522
  n._store.validated = !0;
523
- var f = kt(g);
524
- if (Je[f])
523
+ var v = kt(p);
524
+ if (Je[v])
525
525
  return;
526
- Je[f] = !0;
526
+ Je[v] = !0;
527
527
  var S = "";
528
- n && n._owner && n._owner !== ke.current && (S = " It was passed a child from " + K(n._owner.type) + "."), te(n), L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', f, S), te(null);
528
+ n && n._owner && n._owner !== ke.current && (S = " It was passed a child from " + K(n._owner.type) + "."), te(n), L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', v, S), te(null);
529
529
  }
530
530
  }
531
- function Ge(n, g) {
531
+ function Ge(n, p) {
532
532
  {
533
533
  if (typeof n != "object")
534
534
  return;
535
535
  if (Le(n))
536
- for (var f = 0; f < n.length; f++) {
537
- var S = n[f];
538
- we(S) && Ye(S, g);
536
+ for (var v = 0; v < n.length; v++) {
537
+ var S = n[v];
538
+ we(S) && Ye(S, p);
539
539
  }
540
540
  else if (we(n))
541
541
  n._store && (n._store.validated = !0);
542
542
  else if (n) {
543
543
  var j = T(n);
544
544
  if (typeof j == "function" && j !== n.entries)
545
- for (var O = j.call(n), E; !(E = O.next()).done; )
546
- we(E.value) && Ye(E.value, g);
545
+ for (var M = j.call(n), E; !(E = M.next()).done; )
546
+ we(E.value) && Ye(E.value, p);
547
547
  }
548
548
  }
549
549
  }
550
550
  function Rt(n) {
551
551
  {
552
- var g = n.type;
553
- if (g == null || typeof g == "string")
552
+ var p = n.type;
553
+ if (p == null || typeof p == "string")
554
554
  return;
555
- var f;
556
- if (typeof g == "function")
557
- f = g.propTypes;
558
- else if (typeof g == "object" && (g.$$typeof === u || // Note: Memo only checks outer props here.
555
+ var v;
556
+ if (typeof p == "function")
557
+ v = p.propTypes;
558
+ else if (typeof p == "object" && (p.$$typeof === u || // Note: Memo only checks outer props here.
559
559
  // Inner props are checked in the reconciler.
560
- g.$$typeof === v))
561
- f = g.propTypes;
560
+ p.$$typeof === m))
561
+ v = p.propTypes;
562
562
  else
563
563
  return;
564
- if (f) {
565
- var S = K(g);
566
- dt(f, n.props, "prop", S, n);
567
- } else if (g.PropTypes !== void 0 && !Re) {
564
+ if (v) {
565
+ var S = K(p);
566
+ dt(v, n.props, "prop", S, n);
567
+ } else if (p.PropTypes !== void 0 && !Re) {
568
568
  Re = !0;
569
- var j = K(g);
569
+ var j = K(p);
570
570
  L("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", j || "Unknown");
571
571
  }
572
- typeof g.getDefaultProps == "function" && !g.getDefaultProps.isReactClassApproved && L("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
572
+ typeof p.getDefaultProps == "function" && !p.getDefaultProps.isReactClassApproved && L("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
573
573
  }
574
574
  }
575
575
  function wt(n) {
576
576
  {
577
- for (var g = Object.keys(n.props), f = 0; f < g.length; f++) {
578
- var S = g[f];
577
+ for (var p = Object.keys(n.props), v = 0; v < p.length; v++) {
578
+ var S = p[v];
579
579
  if (S !== "children" && S !== "key") {
580
580
  te(n), L("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", S), te(null);
581
581
  break;
@@ -584,7 +584,7 @@ Check the top-level render call using <` + f + ">.");
584
584
  n.ref !== null && (te(n), L("Invalid attribute `ref` supplied to `React.Fragment`."), te(null));
585
585
  }
586
586
  }
587
- function Xe(n, g, f, S, j, O) {
587
+ function Xe(n, p, v, S, j, M) {
588
588
  {
589
589
  var E = $(n);
590
590
  if (!E) {
@@ -595,11 +595,11 @@ Check the top-level render call using <` + f + ">.");
595
595
  var q;
596
596
  n === null ? q = "null" : Le(n) ? q = "array" : n !== void 0 && n.$$typeof === e ? (q = "<" + (K(n.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : q = typeof n, L("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", q, w);
597
597
  }
598
- var _ = Lt(n, g, f, j, O);
598
+ var _ = Lt(n, p, v, j, M);
599
599
  if (_ == null)
600
600
  return _;
601
601
  if (E) {
602
- var z = g.children;
602
+ var z = p.children;
603
603
  if (z !== void 0)
604
604
  if (S)
605
605
  if (Le(z)) {
@@ -614,19 +614,19 @@ Check the top-level render call using <` + f + ">.");
614
614
  return n === s ? wt(_) : Rt(_), _;
615
615
  }
616
616
  }
617
- function Et(n, g, f) {
618
- return Xe(n, g, f, !0);
617
+ function Et(n, p, v) {
618
+ return Xe(n, p, v, !0);
619
619
  }
620
- function It(n, g, f) {
621
- return Xe(n, g, f, !1);
620
+ function It(n, p, v) {
621
+ return Xe(n, p, v, !1);
622
622
  }
623
623
  var Pt = It, jt = Et;
624
624
  he.Fragment = s, he.jsx = Pt, he.jsxs = jt;
625
625
  }()), he;
626
626
  }
627
- process.env.NODE_ENV === "production" ? Pe.exports = Ft() : Pe.exports = Ot();
628
- var o = Pe.exports, Mt = Object.defineProperty, At = (i, e, t) => e in i ? Mt(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, h = (i, e, t) => (At(i, typeof e != "symbol" ? e + "" : e, t), t), B = /* @__PURE__ */ ((i) => (i[i.mustache = 0] = "mustache", i[i.vue = 1] = "vue", i[i.react = 2] = "react", i[i.angular = 3] = "angular", i))(B || {});
629
- class Dt {
627
+ process.env.NODE_ENV === "production" ? Pe.exports = Ot() : Pe.exports = Mt();
628
+ var o = Pe.exports, At = Object.defineProperty, Dt = (i, e, t) => e in i ? At(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, h = (i, e, t) => (Dt(i, typeof e != "symbol" ? e + "" : e, t), t), B = /* @__PURE__ */ ((i) => (i[i.mustache = 0] = "mustache", i[i.vue = 1] = "vue", i[i.react = 2] = "react", i[i.angular = 3] = "angular", i))(B || {});
629
+ class Nt {
630
630
  constructor(e) {
631
631
  h(this, "dataLayer"), this.dataLayer = e;
632
632
  }
@@ -838,7 +838,7 @@ class Z {
838
838
  return e ? e.replace(s, "") : "";
839
839
  }
840
840
  }
841
- class Nt {
841
+ class $t {
842
842
  constructor(e) {
843
843
  h(this, "$searchTermChange", new D("")), h(this, "$loadingChange", new D(!1)), h(this, "$searchResults", new D(null)), h(this, "$searchResultsMetadata", new D(null)), h(this, "$searchAutosuggest", new D(null)), h(this, "$searchFacets", new D(null)), h(this, "$searchFacetsCached", new D(null)), h(this, "$searchstaxConfig", new D(null)), h(this, "$autosuggestResults", new D(null)), h(this, "$searchObject", new D({
844
844
  query: "",
@@ -847,7 +847,7 @@ class Nt {
847
847
  order: "",
848
848
  facets: [],
849
849
  additionalProps: []
850
- })), h(this, "$searchRelatedSearches", new D(null)), h(this, "$searchInputConfig", new D(null)), h(this, "$searchExternalPromotions", new D(null)), h(this, "$facetsTemplateData", new D(null)), h(this, "$selectedFacetsTemplateData", new D(null)), h(this, "$paginationData", new D(null)), h(this, "$searchFeedbackData", new D(null)), h(this, "$searchSortingData", new D(null)), h(this, "$searchRelatedSearchesData", new D(null)), h(this, "$searchExternalPromotionsData", new D(null)), h(this, "$cookiesDisabled", new D(null)), h(this, "$answer", new D("")), h(this, "$language", new D("en")), h(this, "currentPageValue", 1), h(this, "isAnswerWidgetCreatedValue", !1), h(this, "renderingEngineValue", B.mustache), h(this, "parsedData", new Dt(this)), h(this, "sessionId"), h(this, "autoCorrect", !0), h(this, "forceNotCorrect", !1), h(this, "lastSearchValue", ""), h(this, "turnAIAnswerGenerationOn", !1), h(this, "isInfiniteScroll", !1), this.sessionId = e, this.cookieHandlingCallback(), this.$cookiesDisabled.subscribe(() => {
850
+ })), h(this, "$searchRelatedSearches", new D(null)), h(this, "$searchInputConfig", new D(null)), h(this, "$searchExternalPromotions", new D(null)), h(this, "$facetsTemplateData", new D(null)), h(this, "$selectedFacetsTemplateData", new D(null)), h(this, "$paginationData", new D(null)), h(this, "$searchFeedbackData", new D(null)), h(this, "$searchSortingData", new D(null)), h(this, "$searchRelatedSearchesData", new D(null)), h(this, "$searchExternalPromotionsData", new D(null)), h(this, "$cookiesDisabled", new D(null)), h(this, "$answer", new D("")), h(this, "$language", new D("en")), h(this, "currentPageValue", 1), h(this, "isAnswerWidgetCreatedValue", !1), h(this, "renderingEngineValue", B.mustache), h(this, "parsedData", new Nt(this)), h(this, "sessionId"), h(this, "autoCorrect", !0), h(this, "forceNotCorrect", !1), h(this, "lastSearchValue", ""), h(this, "turnAIAnswerGenerationOn", !1), h(this, "isInfiniteScroll", !1), this.sessionId = e, this.cookieHandlingCallback(), this.$cookiesDisabled.subscribe(() => {
851
851
  this.cookieHandlingCallback();
852
852
  });
853
853
  }
@@ -1130,7 +1130,7 @@ class ue {
1130
1130
  }
1131
1131
  class st {
1132
1132
  constructor(e) {
1133
- h(this, "routeName", "searchstax"), h(this, "ignoredKeys", []), h(this, "queryStringHelper"), h(this, "titleParser"), e.routeName && (this.routeName = e.routeName), e.ignoredKeys && (this.ignoredKeys = e.ignoredKeys), e.title && (this.titleParser = e.title), this.queryStringHelper = new $t(this.routeName);
1133
+ h(this, "routeName", "searchstax"), h(this, "ignoredKeys", []), h(this, "queryStringHelper"), h(this, "titleParser"), e.routeName && (this.routeName = e.routeName), e.ignoredKeys && (this.ignoredKeys = e.ignoredKeys), e.title && (this.titleParser = e.title), this.queryStringHelper = new qt(this.routeName);
1134
1134
  }
1135
1135
  updateUrl(e) {
1136
1136
  const t = this.searchObjectToUrl(e);
@@ -1182,7 +1182,7 @@ class st {
1182
1182
  };
1183
1183
  }
1184
1184
  }
1185
- class $t {
1185
+ class qt {
1186
1186
  constructor(e) {
1187
1187
  h(this, "routeName", ""), h(this, "stringify", (t, s) => {
1188
1188
  const a = this.filterOutIgnoredKeys(t, s.ignoredKeys);
@@ -1218,7 +1218,7 @@ const se = {
1218
1218
  notQuestion: "I_AM_NOT_A_QUESTION",
1219
1219
  close: "CLOSE"
1220
1220
  };
1221
- class qt {
1221
+ class _t {
1222
1222
  constructor(e, t) {
1223
1223
  h(this, "cachedQuery", ""), h(this, "url", ""), h(this, "relatedSearches", ""), h(this, "suggester", ""), h(this, "authHeader"), h(this, "authHeaderRelated"), h(this, "trackApiKey", ""), h(this, "session", ""), h(this, "searchAuthType"), h(this, "searchAuth", ""), h(this, "controllerSearch"), h(this, "signalSearch"), h(this, "controllerSuggest"), h(this, "signalSuggest"), h(this, "dataLayer"), this.dataLayer = t, this.url = e.searchURL, this.dataLayer.setLanguage(e.language), this.suggester = e.suggesterURL, this.trackApiKey = e.trackApiKey, this.session = e.sessionId, this.searchAuthType = e.authType, this.searchAuth = e.searchAuth, this.authHeader = new Headers(), this.authHeader.append("Accept", "application/json");
1224
1224
  const s = this.searchAuthType === "token" ? `Token ${e.searchAuth}` : `Basic ${e.searchAuth}`;
@@ -1289,19 +1289,19 @@ class qt {
1289
1289
  "&fq=_language:" + r.languageVariant
1290
1290
  ) : "";
1291
1291
  let l = e.itemsPerPage, u = e.itemsPerPage * (e.page - 1), d = e.order ? `&sort=${e.order}` : "";
1292
- const p = this.url + "?q=" + encodeURIComponent(e.query.trim()) + "&start=" + u + this.toQueryString(e.additionalProps ?? []) + this.generateFacetQuery(
1292
+ const g = this.url + "?q=" + encodeURIComponent(e.query.trim()) + "&start=" + u + this.toQueryString(e.additionalProps ?? []) + this.generateFacetQuery(
1293
1293
  e.facets.filter((y) => y.type === "or" || y.type === "showUnavailable"),
1294
1294
  !0
1295
1295
  ) + this.generateFacetQuery(
1296
1296
  e.facets.filter((y) => y.type === "and" || y.type === "tabs"),
1297
1297
  !1
1298
- ) + d + `&spellcheck.correct=${this.dataLayer.autoCorrect && !a}&rows=${l}&language=` + this.dataLayer.language + c, v = {
1298
+ ) + d + `&spellcheck.correct=${this.dataLayer.autoCorrect && !a}&rows=${l}&language=` + this.dataLayer.language + c, m = {
1299
1299
  method: "GET",
1300
1300
  headers: this.authHeader,
1301
1301
  credentials: "same-origin",
1302
1302
  signal: this.signalSearch
1303
1303
  };
1304
- s && delete v.signal, fetch(p, v).then((y) => y.json()).then((y) => {
1304
+ s && delete m.signal, fetch(g, m).then((y) => y.json()).then((y) => {
1305
1305
  this.dataLayer.setLoading(!1), t(y);
1306
1306
  }).catch(() => {
1307
1307
  this.dataLayer.setLoading(!1);
@@ -1422,13 +1422,13 @@ h(de, "msq", window._msq || []);
1422
1422
  * mustache.js - Logic-less {{mustache}} templates with JavaScript
1423
1423
  * http://github.com/janl/mustache.js
1424
1424
  */
1425
- var _t = Object.prototype.toString, ie = Array.isArray || function(i) {
1426
- return _t.call(i) === "[object Array]";
1425
+ var Ht = Object.prototype.toString, ie = Array.isArray || function(i) {
1426
+ return Ht.call(i) === "[object Array]";
1427
1427
  };
1428
1428
  function je(i) {
1429
1429
  return typeof i == "function";
1430
1430
  }
1431
- function Ht(i) {
1431
+ function Wt(i) {
1432
1432
  return ie(i) ? "array" : typeof i;
1433
1433
  }
1434
1434
  function Ie(i) {
@@ -1437,18 +1437,18 @@ function Ie(i) {
1437
1437
  function rt(i, e) {
1438
1438
  return i != null && typeof i == "object" && e in i;
1439
1439
  }
1440
- function Wt(i, e) {
1440
+ function Bt(i, e) {
1441
1441
  return i != null && typeof i != "object" && i.hasOwnProperty && i.hasOwnProperty(e);
1442
1442
  }
1443
- var Bt = RegExp.prototype.test;
1444
- function Vt(i, e) {
1445
- return Bt.call(i, e);
1443
+ var Vt = RegExp.prototype.test;
1444
+ function Ut(i, e) {
1445
+ return Vt.call(i, e);
1446
1446
  }
1447
- var Ut = /\S/;
1448
- function Qt(i) {
1449
- return !Vt(Ut, i);
1447
+ var Qt = /\S/;
1448
+ function Kt(i) {
1449
+ return !Ut(Qt, i);
1450
1450
  }
1451
- var Kt = {
1451
+ var zt = {
1452
1452
  "&": "&amp;",
1453
1453
  "<": "&lt;",
1454
1454
  ">": "&gt;",
@@ -1458,17 +1458,17 @@ var Kt = {
1458
1458
  "`": "&#x60;",
1459
1459
  "=": "&#x3D;"
1460
1460
  };
1461
- function zt(i) {
1461
+ function Jt(i) {
1462
1462
  return String(i).replace(/[&<>"'`=\/]/g, function(e) {
1463
- return Kt[e];
1463
+ return zt[e];
1464
1464
  });
1465
1465
  }
1466
- var Jt = /\s*/, Yt = /\s+/, it = /\s*=/, Gt = /\s*\}/, Xt = /#|\^|\/|>|\{|&|=|!/;
1467
- function Zt(i, e) {
1466
+ var Yt = /\s*/, Gt = /\s+/, it = /\s*=/, Xt = /\s*\}/, Zt = /#|\^|\/|>|\{|&|=|!/;
1467
+ function ea(i, e) {
1468
1468
  if (!i)
1469
1469
  return [];
1470
1470
  var t = !1, s = [], a = [], r = [], c = !1, l = !1, u = "", d = 0;
1471
- function p() {
1471
+ function g() {
1472
1472
  if (c && !l)
1473
1473
  for (; r.length; )
1474
1474
  delete a[r.pop()];
@@ -1476,21 +1476,21 @@ function Zt(i, e) {
1476
1476
  r = [];
1477
1477
  c = !1, l = !1;
1478
1478
  }
1479
- var v, y, k;
1480
- function M(b) {
1481
- if (typeof b == "string" && (b = b.split(Yt, 2)), !ie(b) || b.length !== 2)
1479
+ var m, y, k;
1480
+ function F(b) {
1481
+ if (typeof b == "string" && (b = b.split(Gt, 2)), !ie(b) || b.length !== 2)
1482
1482
  throw new Error("Invalid tags: " + b);
1483
- v = new RegExp(Ie(b[0]) + "\\s*"), y = new RegExp("\\s*" + Ie(b[1])), k = new RegExp("\\s*" + Ie("}" + b[1]));
1483
+ m = new RegExp(Ie(b[0]) + "\\s*"), y = new RegExp("\\s*" + Ie(b[1])), k = new RegExp("\\s*" + Ie("}" + b[1]));
1484
1484
  }
1485
- M(e || P.tags);
1485
+ F(e || P.tags);
1486
1486
  for (var R = new pe(i), T, I, L, N, W, A; !R.eos(); ) {
1487
- if (T = R.pos, L = R.scanUntil(v), L)
1488
- for (var Q = 0, m = L.length; Q < m; ++Q)
1489
- N = L.charAt(Q), Qt(N) ? (r.push(a.length), u += N) : (l = !0, t = !0, u += " "), a.push(["text", N, T, T + 1]), T += 1, N === `
1490
- ` && (p(), u = "", d = 0, t = !1);
1491
- if (!R.scan(v))
1487
+ if (T = R.pos, L = R.scanUntil(m), L)
1488
+ for (var Q = 0, f = L.length; Q < f; ++Q)
1489
+ N = L.charAt(Q), Kt(N) ? (r.push(a.length), u += N) : (l = !0, t = !0, u += " "), a.push(["text", N, T, T + 1]), T += 1, N === `
1490
+ ` && (g(), u = "", d = 0, t = !1);
1491
+ if (!R.scan(m))
1492
1492
  break;
1493
- if (c = !0, I = R.scan(Xt) || "name", R.scan(Jt), I === "=" ? (L = R.scanUntil(it), R.scan(it), R.scanUntil(y)) : I === "{" ? (L = R.scanUntil(k), R.scan(Gt), R.scanUntil(y), I = "&") : L = R.scanUntil(y), !R.scan(y))
1493
+ if (c = !0, I = R.scan(Zt) || "name", R.scan(Yt), I === "=" ? (L = R.scanUntil(it), R.scan(it), R.scanUntil(y)) : I === "{" ? (L = R.scanUntil(k), R.scan(Xt), R.scanUntil(y), I = "&") : L = R.scanUntil(y), !R.scan(y))
1494
1494
  throw new Error("Unclosed tag at " + R.pos);
1495
1495
  if (I == ">" ? W = [I, L, T, R.pos, u, d, t] : W = [I, L, T, R.pos], d++, a.push(W), I === "#" || I === "^")
1496
1496
  s.push(W);
@@ -1500,18 +1500,18 @@ function Zt(i, e) {
1500
1500
  if (A[1] !== L)
1501
1501
  throw new Error('Unclosed section "' + A[1] + '" at ' + T);
1502
1502
  } else
1503
- I === "name" || I === "{" || I === "&" ? l = !0 : I === "=" && M(L);
1503
+ I === "name" || I === "{" || I === "&" ? l = !0 : I === "=" && F(L);
1504
1504
  }
1505
- if (p(), A = s.pop(), A)
1505
+ if (g(), A = s.pop(), A)
1506
1506
  throw new Error('Unclosed section "' + A[1] + '" at ' + R.pos);
1507
- return ta(ea(a));
1507
+ return aa(ta(a));
1508
1508
  }
1509
- function ea(i) {
1509
+ function ta(i) {
1510
1510
  for (var e = [], t, s, a = 0, r = i.length; a < r; ++a)
1511
1511
  t = i[a], t && (t[0] === "text" && s && s[0] === "text" ? (s[1] += t[1], s[3] = t[3]) : (e.push(t), s = t));
1512
1512
  return e;
1513
1513
  }
1514
- function ta(i) {
1514
+ function aa(i) {
1515
1515
  for (var e = [], t = e, s = [], a, r, c = 0, l = i.length; c < l; ++c)
1516
1516
  switch (a = i[c], a[0]) {
1517
1517
  case "#":
@@ -1567,7 +1567,7 @@ re.prototype.lookup = function(i) {
1567
1567
  for (var s = this, a, r, c, l = !1; s; ) {
1568
1568
  if (i.indexOf(".") > 0)
1569
1569
  for (a = s.view, r = i.split("."), c = 0; a != null && c < r.length; )
1570
- c === r.length - 1 && (l = rt(a, r[c]) || Wt(a, r[c])), a = a[r[c++]];
1570
+ c === r.length - 1 && (l = rt(a, r[c]) || Bt(a, r[c])), a = a[r[c++]];
1571
1571
  else
1572
1572
  a = s.view[i], l = rt(s.view, i);
1573
1573
  if (l) {
@@ -1599,25 +1599,25 @@ U.prototype.clearCache = function() {
1599
1599
  };
1600
1600
  U.prototype.parse = function(i, e) {
1601
1601
  var t = this.templateCache, s = i + ":" + (e || P.tags).join(":"), a = typeof t < "u", r = a ? t.get(s) : void 0;
1602
- return r == null && (r = Zt(i, e), a && t.set(s, r)), r;
1602
+ return r == null && (r = ea(i, e), a && t.set(s, r)), r;
1603
1603
  };
1604
1604
  U.prototype.render = function(i, e, t, s) {
1605
1605
  var a = this.getConfigTags(s), r = this.parse(i, a), c = e instanceof re ? e : new re(e, void 0);
1606
1606
  return this.renderTokens(r, c, t, i, s);
1607
1607
  };
1608
1608
  U.prototype.renderTokens = function(i, e, t, s, a) {
1609
- for (var r = "", c, l, u, d = 0, p = i.length; d < p; ++d)
1609
+ for (var r = "", c, l, u, d = 0, g = i.length; d < g; ++d)
1610
1610
  u = void 0, c = i[d], l = c[0], l === "#" ? u = this.renderSection(c, e, t, s, a) : l === "^" ? u = this.renderInverted(c, e, t, s, a) : l === ">" ? u = this.renderPartial(c, e, t, a) : l === "&" ? u = this.unescapedValue(c, e) : l === "name" ? u = this.escapedValue(c, e, a) : l === "text" && (u = this.rawValue(c)), u !== void 0 && (r += u);
1611
1611
  return r;
1612
1612
  };
1613
1613
  U.prototype.renderSection = function(i, e, t, s, a) {
1614
1614
  var r = this, c = "", l = e.lookup(i[1]);
1615
- function u(v) {
1616
- return r.render(v, e, t, a);
1615
+ function u(m) {
1616
+ return r.render(m, e, t, a);
1617
1617
  }
1618
1618
  if (l) {
1619
1619
  if (ie(l))
1620
- for (var d = 0, p = l.length; d < p; ++d)
1620
+ for (var d = 0, g = l.length; d < g; ++d)
1621
1621
  c += this.renderTokens(i[4], e.push(l[d]), t, s, a);
1622
1622
  else if (typeof l == "object" || typeof l == "string" || typeof l == "number")
1623
1623
  c += this.renderTokens(i[4], e.push(l), t, s, a);
@@ -1648,8 +1648,8 @@ U.prototype.renderPartial = function(i, e, t, s) {
1648
1648
  if (r != null) {
1649
1649
  var c = i[6], l = i[5], u = i[4], d = r;
1650
1650
  l == 0 && u && (d = this.indentPartial(r, u, c));
1651
- var p = this.parse(d, a);
1652
- return this.renderTokens(p, e, t, d, s);
1651
+ var g = this.parse(d, a);
1652
+ return this.renderTokens(g, e, t, d, s);
1653
1653
  }
1654
1654
  }
1655
1655
  };
@@ -1707,14 +1707,14 @@ P.parse = function(i, e) {
1707
1707
  };
1708
1708
  P.render = function(i, e, t, s) {
1709
1709
  if (typeof i != "string")
1710
- throw new TypeError('Invalid template! Template should be a "string" but "' + Ht(i) + '" was given as the first argument for mustache#render(template, view, partials)');
1710
+ throw new TypeError('Invalid template! Template should be a "string" but "' + Wt(i) + '" was given as the first argument for mustache#render(template, view, partials)');
1711
1711
  return ge.render(i, e, t, s);
1712
1712
  };
1713
- P.escape = zt;
1713
+ P.escape = Jt;
1714
1714
  P.Scanner = pe;
1715
1715
  P.Context = re;
1716
1716
  P.Writer = U;
1717
- const aa = {
1717
+ const sa = {
1718
1718
  main: {
1719
1719
  template: `
1720
1720
  {{#shouldShowAnswer}}
@@ -1727,7 +1727,7 @@ const aa = {
1727
1727
  {{/shouldShowAnswer}}
1728
1728
  `
1729
1729
  }
1730
- }, sa = {
1730
+ }, ra = {
1731
1731
  mainTemplate: {
1732
1732
  template: `
1733
1733
  {{#hasExternalPromotions}}
@@ -1761,7 +1761,7 @@ const aa = {
1761
1761
  </div>
1762
1762
  `
1763
1763
  }
1764
- }, ra = {
1764
+ }, ia = {
1765
1765
  mainTemplateDesktop: {
1766
1766
  template: `
1767
1767
  {{#hasResultsOrExternalPromotions}}
@@ -1864,7 +1864,7 @@ const aa = {
1864
1864
  `,
1865
1865
  containerClass: "searchstax-facets-pill-facets"
1866
1866
  }
1867
- }, ia = {
1867
+ }, na = {
1868
1868
  mainTemplate: {
1869
1869
  template: `
1870
1870
  {{#results.length}}
@@ -1892,7 +1892,7 @@ const aa = {
1892
1892
  `,
1893
1893
  loadMoreButtonClass: "searchstax-pagination-load-more"
1894
1894
  }
1895
- }, na = {
1895
+ }, ca = {
1896
1896
  main: {
1897
1897
  template: `
1898
1898
  {{#hasRelatedSearches}}
@@ -1916,7 +1916,7 @@ const aa = {
1916
1916
  `,
1917
1917
  relatedSearchContainerClass: "searchstax-related-search-item"
1918
1918
  }
1919
- }, ca = {
1919
+ }, la = {
1920
1920
  main: {
1921
1921
  template: `
1922
1922
  {{#searchExecuted}}
@@ -1934,7 +1934,7 @@ const aa = {
1934
1934
  `,
1935
1935
  originalQueryClass: "searchstax-feedback-original-query"
1936
1936
  }
1937
- }, la = {
1937
+ }, oa = {
1938
1938
  mainTemplate: {
1939
1939
  template: `
1940
1940
  <div class="searchstax-search-input-container">
@@ -1951,7 +1951,7 @@ const aa = {
1951
1951
  <div class="searchstax-autosuggest-item-term-container">{{{term}}}</div>
1952
1952
  `
1953
1953
  }
1954
- }, oa = {
1954
+ }, ha = {
1955
1955
  mainTemplate: {
1956
1956
  template: `
1957
1957
  <div class="searchstax-search-results-container">
@@ -2029,7 +2029,7 @@ const aa = {
2029
2029
  {{/searchExecuted}}
2030
2030
  `
2031
2031
  }
2032
- }, ha = {
2032
+ }, ua = {
2033
2033
  main: {
2034
2034
  template: `
2035
2035
  {{#searchExecuted}}
@@ -2056,8 +2056,8 @@ const aa = {
2056
2056
  };
2057
2057
  class x {
2058
2058
  }
2059
- h(x, "answer", aa), h(x, "externalPromotions", sa), h(x, "facets", ra), h(x, "pagination", ia), h(x, "relatedSearches", na), h(x, "searchFeedback", ca), h(x, "searchInput", la), h(x, "searchResults", oa), h(x, "sorting", ha);
2060
- class ua {
2059
+ h(x, "answer", sa), h(x, "externalPromotions", ra), h(x, "facets", ia), h(x, "pagination", na), h(x, "relatedSearches", ca), h(x, "searchFeedback", la), h(x, "searchInput", oa), h(x, "searchResults", ha), h(x, "sorting", ua);
2060
+ class da {
2061
2061
  constructor(e) {
2062
2062
  h(this, "dataLayer"), h(this, "config"), h(this, "containerId"), h(this, "externalPromotionsContainerId"), h(this, "searchExternalPromotionsMainContainer", null);
2063
2063
  var t, s;
@@ -2105,7 +2105,7 @@ class ua {
2105
2105
  }
2106
2106
  }
2107
2107
  }
2108
- class da {
2108
+ class ga {
2109
2109
  constructor(e, t) {
2110
2110
  h(this, "dataLayer"), h(this, "config"), h(this, "containerId"), h(this, "routerHelper"), h(this, "cachedPhrase", ""), h(this, "isCached", !1), h(this, "overlayOpened", !1), h(this, "facetPaginationStep"), h(this, "facetPaginationStepMobile"), h(this, "searchFacetsMainContainer", null), h(this, "searchFacetsMobileContainer", null), h(this, "searchFacetsDesktopContainer", null), h(this, "facetLimits", {}), h(this, "facetLimitsMobile", {}), h(this, "deactivatedFacets", {}), h(this, "cachedData", null), h(this, "cacheFacets"), h(this, "onFacetSelect", (s, a, r, c) => {
2111
2111
  if (s.stopPropagation(), !a.disabled) {
@@ -2113,8 +2113,8 @@ class da {
2113
2113
  l.checked = c ? l.checked : !l.checked;
2114
2114
  const u = this.dataLayer.searchObject;
2115
2115
  let d = [...u.facets];
2116
- const p = this.extractFacetValue(a);
2117
- l.checked ? d.find((v) => J.deepEqual(v, p) ? v : !1) || (this.config.facetingType === "tabs" && (d = d.filter((v) => v.name !== p.name)), d.push(p)) : d = d.filter((v) => !J.deepEqual(v, p)), setTimeout(() => {
2116
+ const g = this.extractFacetValue(a);
2117
+ l.checked ? d.find((m) => J.deepEqual(m, g) ? m : !1) || (this.config.facetingType === "tabs" && (d = d.filter((m) => m.name !== g.name)), d.push(g)) : d = d.filter((m) => !J.deepEqual(m, g)), setTimeout(() => {
2118
2118
  this.dataLayer.setSearchObject({ ...u, facets: d, page: 1 }), this.config.facetingType === "tabs" && this.renderMainTemplate(this.generateTemplateData(), !0);
2119
2119
  }, 0);
2120
2120
  }
@@ -2193,19 +2193,19 @@ class da {
2193
2193
  }
2194
2194
  }
2195
2195
  createFacetItem(e, t, s) {
2196
- var a, r, c, l, u, d, p, v, y, k, M, R;
2196
+ var a, r, c, l, u, d, g, m, y, k, F, R;
2197
2197
  const T = document.createElement("div");
2198
2198
  T.classList.add("searchstax-facet-container"), this.deactivatedFacets[e.name] || T.classList.add("active");
2199
2199
  const I = ((c = (r = (a = this.config) == null ? void 0 : a.templates) == null ? void 0 : r.facetItemContainerTemplate) == null ? void 0 : c.template) || ((l = x.facets.facetItemContainerTemplate) == null ? void 0 : l.template);
2200
2200
  T.innerHTML = P.render(I, e), t.appendChild(T);
2201
2201
  const L = T.querySelector(
2202
- "." + (((p = (d = (u = this.config) == null ? void 0 : u.templates) == null ? void 0 : d.facetItemContainerTemplate) == null ? void 0 : p.facetListTitleContainerClass) || ((v = x.facets.facetItemContainerTemplate) == null ? void 0 : v.facetListTitleContainerClass))
2202
+ "." + (((g = (d = (u = this.config) == null ? void 0 : u.templates) == null ? void 0 : d.facetItemContainerTemplate) == null ? void 0 : g.facetListTitleContainerClass) || ((m = x.facets.facetItemContainerTemplate) == null ? void 0 : m.facetListTitleContainerClass))
2203
2203
  );
2204
2204
  L == null || L.addEventListener("click", () => {
2205
2205
  T.classList.toggle("active");
2206
2206
  });
2207
2207
  const N = T.querySelector(
2208
- "." + (((M = (k = (y = this.config) == null ? void 0 : y.templates) == null ? void 0 : k.facetItemContainerTemplate) == null ? void 0 : M.facetListContainerClass) || ((R = x.facets.facetItemContainerTemplate) == null ? void 0 : R.facetListContainerClass))
2208
+ "." + (((F = (k = (y = this.config) == null ? void 0 : y.templates) == null ? void 0 : k.facetItemContainerTemplate) == null ? void 0 : F.facetListContainerClass) || ((R = x.facets.facetItemContainerTemplate) == null ? void 0 : R.facetListContainerClass))
2209
2209
  );
2210
2210
  N && (e.values.forEach((W) => {
2211
2211
  this.createFacetListItem(W, N);
@@ -2216,33 +2216,33 @@ class da {
2216
2216
  return !!((t = this.dataLayer.searchObject.facets) != null && t.find((s) => J.deepEqual(s, this.extractFacetValue(e))));
2217
2217
  }
2218
2218
  createFacetListItem(e, t) {
2219
- var s, a, r, c, l, u, d, p, v, y, k, M, R;
2219
+ var s, a, r, c, l, u, d, g, m, y, k, F, R;
2220
2220
  const T = document.createElement("div");
2221
2221
  T.classList.add("searchstax-facet-value-container"), e.disabled && T.classList.add("searchstax-facet-value-disabled");
2222
2222
  const I = this.isChecked(e), L = ((r = (a = (s = this.config) == null ? void 0 : s.templates) == null ? void 0 : a.facetItemTemplate) == null ? void 0 : r.template) || ((c = x.facets.facetItemTemplate) == null ? void 0 : c.template);
2223
2223
  T.innerHTML = P.render(L, { ...e, isChecked: I });
2224
2224
  let N = (l = x.facets.facetItemTemplate) == null ? void 0 : l.checkTriggerClasses;
2225
- N = ((p = (d = (u = this.config) == null ? void 0 : u.templates) == null ? void 0 : d.facetItemTemplate) == null ? void 0 : p.checkTriggerClasses) || N, N.forEach((W) => {
2225
+ N = ((g = (d = (u = this.config) == null ? void 0 : u.templates) == null ? void 0 : d.facetItemTemplate) == null ? void 0 : g.checkTriggerClasses) || N, N.forEach((W) => {
2226
2226
  var A;
2227
2227
  (A = T.querySelector("." + W)) == null || A.addEventListener("click", (Q) => {
2228
2228
  this.onFacetSelect(Q, e, T);
2229
2229
  });
2230
2230
  }), (R = T.querySelector(
2231
- "." + (((k = (y = (v = this.config) == null ? void 0 : v.templates) == null ? void 0 : y.facetItemTemplate) == null ? void 0 : k.inputCheckboxClass) || ((M = x.facets.facetItemTemplate) == null ? void 0 : M.inputCheckboxClass))
2231
+ "." + (((k = (y = (m = this.config) == null ? void 0 : m.templates) == null ? void 0 : y.facetItemTemplate) == null ? void 0 : k.inputCheckboxClass) || ((F = x.facets.facetItemTemplate) == null ? void 0 : F.inputCheckboxClass))
2232
2232
  )) == null || R.addEventListener("click", (W) => {
2233
2233
  this.onFacetSelect(W, e, T, !0);
2234
2234
  }), t.appendChild(T);
2235
2235
  }
2236
2236
  createHasMoreComponent(e, t, s) {
2237
- var a, r, c, l, u, d, p, v;
2237
+ var a, r, c, l, u, d, g, m;
2238
2238
  const y = document.createElement("div");
2239
2239
  y.classList.add("searchstax-facet-show-more-container");
2240
2240
  const k = ((c = (r = (a = this.config) == null ? void 0 : a.templates) == null ? void 0 : r.showMoreButtonContainerTemplate) == null ? void 0 : c.template) || ((l = x.facets.showMoreButtonContainerTemplate) == null ? void 0 : l.template);
2241
2241
  y.innerHTML = P.render(k, e);
2242
- const M = y.querySelector(
2243
- "." + (((p = (d = (u = this.config) == null ? void 0 : u.templates) == null ? void 0 : d.showMoreButtonContainerTemplate) == null ? void 0 : p.showMoreButtonClass) || ((v = x.facets.showMoreButtonContainerTemplate) == null ? void 0 : v.showMoreButtonClass))
2242
+ const F = y.querySelector(
2243
+ "." + (((g = (d = (u = this.config) == null ? void 0 : u.templates) == null ? void 0 : d.showMoreButtonContainerTemplate) == null ? void 0 : g.showMoreButtonClass) || ((m = x.facets.showMoreButtonContainerTemplate) == null ? void 0 : m.showMoreButtonClass))
2244
2244
  );
2245
- M && (this.attachOnclickToShowMore(e, M, s), t && t.appendChild(M));
2245
+ F && (this.attachOnclickToShowMore(e, F, s), t && t.appendChild(F));
2246
2246
  }
2247
2247
  attachOnclickToShowMore(e, t, s) {
2248
2248
  t.addEventListener("click", (a) => {
@@ -2255,15 +2255,15 @@ class da {
2255
2255
  r[t.name] === void 0 ? r[t.name] = a * 2 : r[t.name] <= t.values.length ? r[t.name] = r[t.name] + a : r[t.name] = a, this.generateTemplateData(s), this.renderMainTemplate(this.generateTemplateData());
2256
2256
  }
2257
2257
  renderMainTemplate(e, t) {
2258
- var s, a, r, c, l, u, d, p, v, y, k;
2258
+ var s, a, r, c, l, u, d, g, m, y, k;
2259
2259
  if (e && (!J.deepEqual(this.cachedData ?? {}, e) || t)) {
2260
2260
  this.cachedData = e;
2261
- const M = ((r = (a = (s = this.config) == null ? void 0 : s.templates) == null ? void 0 : a.mainTemplateDesktop) == null ? void 0 : r.template) || ((c = x.facets.mainTemplateDesktop) == null ? void 0 : c.template);
2261
+ const F = ((r = (a = (s = this.config) == null ? void 0 : s.templates) == null ? void 0 : a.mainTemplateDesktop) == null ? void 0 : r.template) || ((c = x.facets.mainTemplateDesktop) == null ? void 0 : c.template);
2262
2262
  if (this.dataLayer.renderingEngine === B.mustache && this.searchFacetsMainContainer) {
2263
- this.searchFacetsMainContainer.innerHTML = P.render(M, {
2263
+ this.searchFacetsMainContainer.innerHTML = P.render(F, {
2264
2264
  ...e
2265
2265
  });
2266
- const R = (p = this.searchFacetsMainContainer) == null ? void 0 : p.querySelector(
2266
+ const R = (g = this.searchFacetsMainContainer) == null ? void 0 : g.querySelector(
2267
2267
  "." + (((d = (u = (l = this.config) == null ? void 0 : l.templates) == null ? void 0 : u.mainTemplateDesktop) == null ? void 0 : d.facetsContainerClass) || x.facets.mainTemplateDesktop.facetsContainerClass)
2268
2268
  );
2269
2269
  if (R) {
@@ -2272,7 +2272,7 @@ class da {
2272
2272
  this.createFacetItem(T, R);
2273
2273
  if (this.searchFacetsMainContainer) {
2274
2274
  const T = this.searchFacetsMainContainer.querySelector(
2275
- "." + (((k = (y = (v = this.config) == null ? void 0 : v.templates) == null ? void 0 : y.mainTemplateDesktop) == null ? void 0 : k.selectedFacetsContainerClass) || x.facets.mainTemplateDesktop.selectedFacetsContainerClass)
2275
+ "." + (((k = (y = (m = this.config) == null ? void 0 : m.templates) == null ? void 0 : y.mainTemplateDesktop) == null ? void 0 : k.selectedFacetsContainerClass) || x.facets.mainTemplateDesktop.selectedFacetsContainerClass)
2276
2276
  );
2277
2277
  T && (this.createSelectedFacetsComponents(T), this.createClearFacetsComponents(T));
2278
2278
  }
@@ -2304,9 +2304,9 @@ class da {
2304
2304
  }
2305
2305
  createClearFacetsComponents(e) {
2306
2306
  var t, s, a, r, c, l, u, d;
2307
- const p = this.dataLayer.searchObject, v = ((a = (s = (t = this.config) == null ? void 0 : t.templates) == null ? void 0 : s.clearFacetsTemplate) == null ? void 0 : a.template) || ((r = x.facets.clearFacetsTemplate) == null ? void 0 : r.template), y = document.createElement("div");
2308
- y.innerHTML = P.render(v, {
2309
- shouldShow: p.facets.length > 0
2307
+ const g = this.dataLayer.searchObject, m = ((a = (s = (t = this.config) == null ? void 0 : t.templates) == null ? void 0 : s.clearFacetsTemplate) == null ? void 0 : a.template) || ((r = x.facets.clearFacetsTemplate) == null ? void 0 : r.template), y = document.createElement("div");
2308
+ y.innerHTML = P.render(m, {
2309
+ shouldShow: g.facets.length > 0
2310
2310
  });
2311
2311
  const k = y.querySelector(
2312
2312
  "." + (((u = (l = (c = this.config) == null ? void 0 : c.templates) == null ? void 0 : l.clearFacetsTemplate) == null ? void 0 : u.containerClass) || ((d = x.facets.clearFacetsTemplate) == null ? void 0 : d.containerClass))
@@ -2316,11 +2316,11 @@ class da {
2316
2316
  }), e.appendChild(k));
2317
2317
  }
2318
2318
  createSelectedFacetsComponent(e, t) {
2319
- var s, a, r, c, l, u, d, p;
2320
- const v = ((r = (a = (s = this.config) == null ? void 0 : s.templates) == null ? void 0 : a.selectedFacetsTemplate) == null ? void 0 : r.template) || ((c = x.facets.selectedFacetsTemplate) == null ? void 0 : c.template), y = document.createElement("div");
2321
- y.innerHTML = P.render(v, t);
2319
+ var s, a, r, c, l, u, d, g;
2320
+ const m = ((r = (a = (s = this.config) == null ? void 0 : s.templates) == null ? void 0 : a.selectedFacetsTemplate) == null ? void 0 : r.template) || ((c = x.facets.selectedFacetsTemplate) == null ? void 0 : c.template), y = document.createElement("div");
2321
+ y.innerHTML = P.render(m, t);
2322
2322
  const k = y.querySelector(
2323
- "." + (((d = (u = (l = this.config) == null ? void 0 : l.templates) == null ? void 0 : u.selectedFacetsTemplate) == null ? void 0 : d.containerClass) || ((p = x.facets.selectedFacetsTemplate) == null ? void 0 : p.containerClass))
2323
+ "." + (((d = (u = (l = this.config) == null ? void 0 : l.templates) == null ? void 0 : u.selectedFacetsTemplate) == null ? void 0 : d.containerClass) || ((g = x.facets.selectedFacetsTemplate) == null ? void 0 : g.containerClass))
2324
2324
  );
2325
2325
  k && (k.addEventListener("click", () => {
2326
2326
  this.unselectFacet(t);
@@ -2339,9 +2339,9 @@ class da {
2339
2339
  }
2340
2340
  createFilterByComponent(e) {
2341
2341
  var t, s, a, r, c, l, u, d;
2342
- const p = ((a = (s = (t = this.config) == null ? void 0 : t.templates) == null ? void 0 : s.filterByTemplate) == null ? void 0 : a.template) || ((r = x.facets.filterByTemplate) == null ? void 0 : r.template), v = document.createElement("div");
2343
- v.innerHTML = P.render(p, {});
2344
- const y = v.querySelector(
2342
+ const g = ((a = (s = (t = this.config) == null ? void 0 : t.templates) == null ? void 0 : s.filterByTemplate) == null ? void 0 : a.template) || ((r = x.facets.filterByTemplate) == null ? void 0 : r.template), m = document.createElement("div");
2343
+ m.innerHTML = P.render(g, {});
2344
+ const y = m.querySelector(
2345
2345
  "." + (((u = (l = (c = this.config) == null ? void 0 : c.templates) == null ? void 0 : l.filterByTemplate) == null ? void 0 : u.containerClass) || ((d = x.facets.filterByTemplate) == null ? void 0 : d.containerClass))
2346
2346
  );
2347
2347
  y && (e.prepend(y), y.addEventListener("click", this.openOverlay.bind(this)));
@@ -2355,7 +2355,7 @@ class da {
2355
2355
  this.overlayOpened = !1, this.searchFacetsMainContainer && (document.body.classList.toggle("searchstax-no-scroll"), (e = this.searchFacetsMainContainer.querySelector(".searchstax-facets-mobile-overlay")) == null || e.classList.remove("searchstax-show"));
2356
2356
  }
2357
2357
  renderMobileTemplate(e) {
2358
- var t, s, a, r, c, l, u, d, p, v, y, k, M, R, T, I, L, N, W;
2358
+ var t, s, a, r, c, l, u, d, g, m, y, k, F, R, T, I, L, N, W;
2359
2359
  if (e) {
2360
2360
  const A = document.createElement("div");
2361
2361
  A.classList.add("searchstax-facets-container-mobile");
@@ -2365,7 +2365,7 @@ class da {
2365
2365
  ...e,
2366
2366
  overlayOpened: this.overlayOpened
2367
2367
  }), (c = this.searchFacetsMainContainer) == null || c.appendChild(A), (u = (l = this.config) == null ? void 0 : l.templates) != null && u.mainTemplateMobile)
2368
- for (const $ of ((v = (p = (d = this.config) == null ? void 0 : d.templates) == null ? void 0 : p.mainTemplateMobile) == null ? void 0 : v.closeOverlayTriggerClasses) || []) {
2368
+ for (const $ of ((m = (g = (d = this.config) == null ? void 0 : d.templates) == null ? void 0 : g.mainTemplateMobile) == null ? void 0 : m.closeOverlayTriggerClasses) || []) {
2369
2369
  const G = A.querySelector("." + $);
2370
2370
  G && G.addEventListener("click", this.closeOverlay.bind(this));
2371
2371
  }
@@ -2374,31 +2374,31 @@ class da {
2374
2374
  const G = A.querySelector("." + $);
2375
2375
  G && G.addEventListener("click", this.closeOverlay.bind(this));
2376
2376
  }
2377
- const m = A.querySelector(
2378
- "." + (((M = (k = (y = this.config) == null ? void 0 : y.templates) == null ? void 0 : k.mainTemplateMobile) == null ? void 0 : M.filterByContainerClass) || x.facets.mainTemplateMobile.filterByContainerClass)
2377
+ const f = A.querySelector(
2378
+ "." + (((F = (k = (y = this.config) == null ? void 0 : y.templates) == null ? void 0 : k.mainTemplateMobile) == null ? void 0 : F.filterByContainerClass) || x.facets.mainTemplateMobile.filterByContainerClass)
2379
2379
  );
2380
- m && this.createFilterByComponent(m);
2380
+ f && this.createFilterByComponent(f);
2381
2381
  const b = A.querySelector(
2382
2382
  "." + (((I = (T = (R = this.config) == null ? void 0 : R.templates) == null ? void 0 : T.mainTemplateMobile) == null ? void 0 : I.selectedFacetsContainerClass) || x.facets.mainTemplateMobile.selectedFacetsContainerClass)
2383
2383
  );
2384
2384
  b && (this.createSelectedFacetsComponents(b), this.createClearFacetsComponents(b));
2385
- const F = A.querySelector(
2385
+ const O = A.querySelector(
2386
2386
  "." + (((W = (N = (L = this.config) == null ? void 0 : L.templates) == null ? void 0 : N.mainTemplateMobile) == null ? void 0 : W.facetsContainerClass) || x.facets.mainTemplateMobile.facetsContainerClass)
2387
2387
  );
2388
- if (F) {
2389
- F.innerHTML = "";
2388
+ if (O) {
2389
+ O.innerHTML = "";
2390
2390
  for (const $ of e.facets)
2391
- this.createFacetItem($, F, !0);
2391
+ this.createFacetItem($, O, !0);
2392
2392
  }
2393
2393
  }
2394
2394
  }
2395
2395
  }
2396
2396
  }
2397
- class ga {
2397
+ class pa {
2398
2398
  constructor(e) {
2399
2399
  h(this, "dataLayer"), h(this, "config"), h(this, "containerId"), h(this, "previousButtonClass"), h(this, "nextButtonClass"), h(this, "loadMoreButtonClass"), h(this, "routerHelper"), h(this, "searchPaginationMainContainer", null);
2400
- var t, s, a, r, c, l, u, d, p;
2401
- this.dataLayer = e.dataLayer, this.config = e.config, this.containerId = e.containerId, this.routerHelper = e.routerHelper, this.previousButtonClass = ((a = (s = (t = this.config) == null ? void 0 : t.templates) == null ? void 0 : s.mainTemplate) == null ? void 0 : a.previousButtonClass) ?? x.pagination.mainTemplate.previousButtonClass, this.nextButtonClass = ((l = (c = (r = this.config) == null ? void 0 : r.templates) == null ? void 0 : c.mainTemplate) == null ? void 0 : l.nextButtonClass) ?? x.pagination.mainTemplate.nextButtonClass, this.loadMoreButtonClass = ((p = (d = (u = this.config) == null ? void 0 : u.templates) == null ? void 0 : d.infiniteScrollTemplate) == null ? void 0 : p.loadMoreButtonClass) ?? x.pagination.infiniteScrollTemplate.loadMoreButtonClass, this.searchPaginationMainContainer = document.getElementById(
2400
+ var t, s, a, r, c, l, u, d, g;
2401
+ this.dataLayer = e.dataLayer, this.config = e.config, this.containerId = e.containerId, this.routerHelper = e.routerHelper, this.previousButtonClass = ((a = (s = (t = this.config) == null ? void 0 : t.templates) == null ? void 0 : s.mainTemplate) == null ? void 0 : a.previousButtonClass) ?? x.pagination.mainTemplate.previousButtonClass, this.nextButtonClass = ((l = (c = (r = this.config) == null ? void 0 : r.templates) == null ? void 0 : c.mainTemplate) == null ? void 0 : l.nextButtonClass) ?? x.pagination.mainTemplate.nextButtonClass, this.loadMoreButtonClass = ((g = (d = (u = this.config) == null ? void 0 : u.templates) == null ? void 0 : d.infiniteScrollTemplate) == null ? void 0 : g.loadMoreButtonClass) ?? x.pagination.infiniteScrollTemplate.loadMoreButtonClass, this.searchPaginationMainContainer = document.getElementById(
2402
2402
  this.containerId
2403
2403
  ), this.initializeSubscriptions(), this.renderMainTemplate(this.generateTemplateData());
2404
2404
  }
@@ -2460,10 +2460,10 @@ class ga {
2460
2460
  }
2461
2461
  }
2462
2462
  renderMainTemplate(e) {
2463
- var t, s, a, r, c, l, u, d, p, v;
2463
+ var t, s, a, r, c, l, u, d, g, m;
2464
2464
  this.searchPaginationMainContainer && ((t = this.searchPaginationMainContainer.querySelector("." + this.previousButtonClass)) == null || t.removeEventListener("click", this.previousPage), (s = this.searchPaginationMainContainer.querySelector("." + this.nextButtonClass)) == null || s.removeEventListener("click", this.nextPage));
2465
2465
  let y = ((c = (r = (a = this.config) == null ? void 0 : a.templates) == null ? void 0 : r.mainTemplate) == null ? void 0 : c.template) || ((l = x.pagination.mainTemplate) == null ? void 0 : l.template);
2466
- this.dataLayer.isInfiniteScroll && (y = ((p = (d = (u = this.config) == null ? void 0 : u.templates) == null ? void 0 : d.infiniteScrollTemplate) == null ? void 0 : p.template) || ((v = x.pagination.infiniteScrollTemplate) == null ? void 0 : v.template)), this.dataLayer.renderingEngine === B.mustache && (this.searchPaginationMainContainer.innerHTML = P.render(
2466
+ this.dataLayer.isInfiniteScroll && (y = ((g = (d = (u = this.config) == null ? void 0 : u.templates) == null ? void 0 : d.infiniteScrollTemplate) == null ? void 0 : g.template) || ((m = x.pagination.infiniteScrollTemplate) == null ? void 0 : m.template)), this.dataLayer.renderingEngine === B.mustache && (this.searchPaginationMainContainer.innerHTML = P.render(
2467
2467
  y,
2468
2468
  e
2469
2469
  ), setTimeout(() => {
@@ -2471,7 +2471,7 @@ class ga {
2471
2471
  }, 0));
2472
2472
  }
2473
2473
  }
2474
- class pa {
2474
+ class ma {
2475
2475
  constructor(e) {
2476
2476
  h(this, "dataLayer"), h(this, "config"), h(this, "containerId"), h(this, "relatedSearchesContainerClass"), h(this, "searchRelatedSearchesMainContainer", null), h(this, "track");
2477
2477
  var t, s;
@@ -2493,10 +2493,10 @@ class pa {
2493
2493
  const u = document.createElement("div"), d = ((r = (a = (s = this.config) == null ? void 0 : s.templates) == null ? void 0 : a.relatedSearch) == null ? void 0 : r.template) || x.relatedSearches.relatedSearch.template;
2494
2494
  if (this.dataLayer.renderingEngine === B.mustache) {
2495
2495
  u.innerHTML = P.render(d, e);
2496
- const p = u.querySelector(
2496
+ const g = u.querySelector(
2497
2497
  "." + (((l = (c = this.config.templates) == null ? void 0 : c.relatedSearch) == null ? void 0 : l.relatedSearchContainerClass) || x.relatedSearches.relatedSearch.relatedSearchContainerClass)
2498
2498
  );
2499
- p && (t.appendChild(p), p.addEventListener("click", () => {
2499
+ g && (t.appendChild(g), g.addEventListener("click", () => {
2500
2500
  this.executeSearch(e);
2501
2501
  }));
2502
2502
  }
@@ -2520,7 +2520,7 @@ class pa {
2520
2520
  }
2521
2521
  }
2522
2522
  }
2523
- class ma {
2523
+ class fa {
2524
2524
  constructor(e) {
2525
2525
  h(this, "dataLayer"), h(this, "config"), h(this, "containerId"), h(this, "searchFeedbackMainContainer", null), h(this, "searchTrigger"), this.dataLayer = e.dataLayer, this.config = e.config, this.containerId = e.containerId, this.searchTrigger = e.searchTrigger, this.searchFeedbackMainContainer = document.getElementById(this.containerId), this.initializeSubscriptions();
2526
2526
  }
@@ -2556,7 +2556,7 @@ class ma {
2556
2556
  }, 0));
2557
2557
  }
2558
2558
  }
2559
- class fa {
2559
+ class va {
2560
2560
  constructor(e) {
2561
2561
  h(this, "dataLayer"), h(this, "config"), h(this, "suggestAfterMinChars"), h(this, "containerId"), h(this, "currentInputValue", ""), h(this, "autosuggestResults"), h(this, "searchInput"), h(this, "actionButton"), h(this, "autosuggestContainer"), h(this, "buttonState", "search"), h(this, "selectedAutosuggestItem", -1), h(this, "suggestTrigger"), h(this, "searchTrigger"), this.dataLayer = e.dataLayer, this.config = e.config, this.searchTrigger = e.searchTrigger, this.suggestTrigger = e.suggestTrigger, this.containerId = e.containerId, this.suggestAfterMinChars = e.config.suggestAfterMinChars, this.renderMainTemplate(), this.actionButtonInit(), this.updateActionButtonState("search"), this.searchInput && (this.createAutosuggestContainer(), this.attachSubscriptions());
2562
2562
  }
@@ -2698,7 +2698,7 @@ class fa {
2698
2698
  }
2699
2699
  }
2700
2700
  }
2701
- class va {
2701
+ class ya {
2702
2702
  constructor(e) {
2703
2703
  h(this, "dataLayer"), h(this, "config"), h(this, "linkClickCallback"), h(this, "searchCallback"), h(this, "containerId"), h(this, "searchResultsMainContainer"), h(this, "searchResultsContainer"), h(this, "searchResultLinks", []), this.linkClickCallback = e.linkClickCallback, this.searchCallback = e.searchTrigger, this.dataLayer = e.dataLayer, this.config = e.config, setTimeout(() => {
2704
2704
  this.dataLayer.setSearchObject({ ...this.dataLayer.searchObject, itemsPerPage: this.config.resultsPerPage || 10 });
@@ -2776,16 +2776,16 @@ class va {
2776
2776
  r,
2777
2777
  {}
2778
2778
  ), setTimeout(() => {
2779
- var c, l, u, d, p, v, y;
2780
- const k = (u = (l = (c = this.config) == null ? void 0 : c.templates) == null ? void 0 : l.mainTemplate) != null && u.searchResultsContainerId ? (v = (p = (d = this.config) == null ? void 0 : d.templates) == null ? void 0 : p.mainTemplate) == null ? void 0 : v.searchResultsContainerId : (y = x.searchResults.mainTemplate) == null ? void 0 : y.searchResultsContainerId, M = document.getElementById(k);
2781
- if (M)
2782
- this.searchResultsContainer = M;
2779
+ var c, l, u, d, g, m, y;
2780
+ const k = (u = (l = (c = this.config) == null ? void 0 : c.templates) == null ? void 0 : l.mainTemplate) != null && u.searchResultsContainerId ? (m = (g = (d = this.config) == null ? void 0 : d.templates) == null ? void 0 : g.mainTemplate) == null ? void 0 : m.searchResultsContainerId : (y = x.searchResults.mainTemplate) == null ? void 0 : y.searchResultsContainerId, F = document.getElementById(k);
2781
+ if (F)
2782
+ this.searchResultsContainer = F;
2783
2783
  else
2784
2784
  throw new Error(`Search Results Container with id ${k} not found`);
2785
2785
  }, 0));
2786
2786
  }
2787
2787
  }
2788
- class ya {
2788
+ class xa {
2789
2789
  constructor(e) {
2790
2790
  h(this, "dataLayer"), h(this, "config"), h(this, "containerId"), h(this, "selectId"), h(this, "searchSortingMainContainer", null);
2791
2791
  var t, s;
@@ -2836,7 +2836,7 @@ class ya {
2836
2836
  }
2837
2837
  }
2838
2838
  }
2839
- class xa {
2839
+ class ba {
2840
2840
  constructor(e) {
2841
2841
  h(this, "dataLayer"), h(this, "config"), h(this, "containerId"), h(this, "answerContainer", null), this.dataLayer = e.dataLayer, this.config = e.config, this.containerId = e.containerId, this.answerContainer = document.getElementById(this.containerId), this.initializeSubscriptions(), this.dataLayer.setIsAnswerWidgetCreated(!0);
2842
2842
  }
@@ -2856,9 +2856,9 @@ class xa {
2856
2856
  ));
2857
2857
  }
2858
2858
  }
2859
- class ba {
2859
+ class Ca {
2860
2860
  constructor(e = B.mustache) {
2861
- h(this, "routerEnabled", !1), h(this, "cachedQuery", ""), h(this, "routerHelper"), h(this, "searchHelper"), h(this, "searchResultsConfig"), h(this, "searchPaginationConfig"), h(this, "searchFeedbackConfig"), h(this, "searchSortingConfig"), h(this, "searchFacetsConfig"), h(this, "relatedSearchesConfig"), h(this, "externalPromotionsConfig"), h(this, "searchInputWidget"), h(this, "searchResultsWidget"), h(this, "searchFacetsWidget"), h(this, "searchPaginationWidget"), h(this, "searchFeedbackWidget"), h(this, "searchSortingWidget"), h(this, "relatedSearchesWidget"), h(this, "externalPromotionsWidget"), h(this, "answerWidget"), h(this, "dataLayer"), h(this, "firstRequest", !0), this.dataLayer = new Nt("searchstax_session_id"), e && this.dataLayer.setRenderingEngine(e), this.handleHooks();
2861
+ h(this, "routerEnabled", !1), h(this, "cachedQuery", ""), h(this, "routerHelper"), h(this, "searchHelper"), h(this, "searchResultsConfig"), h(this, "searchPaginationConfig"), h(this, "searchFeedbackConfig"), h(this, "searchSortingConfig"), h(this, "searchFacetsConfig"), h(this, "relatedSearchesConfig"), h(this, "externalPromotionsConfig"), h(this, "searchInputWidget"), h(this, "searchResultsWidget"), h(this, "searchFacetsWidget"), h(this, "searchPaginationWidget"), h(this, "searchFeedbackWidget"), h(this, "searchSortingWidget"), h(this, "relatedSearchesWidget"), h(this, "externalPromotionsWidget"), h(this, "answerWidget"), h(this, "dataLayer"), h(this, "firstRequest", !0), this.dataLayer = new $t("searchstax_session_id"), e && this.dataLayer.setRenderingEngine(e), this.handleHooks();
2862
2862
  }
2863
2863
  setRenderingEngine(e = B.mustache) {
2864
2864
  this.dataLayer.setRenderingEngine(e);
@@ -2882,7 +2882,7 @@ class ba {
2882
2882
  }
2883
2883
  initialize(e) {
2884
2884
  var t, s;
2885
- e.turnAIAnswerGenerationOn === !0 && (this.dataLayer.turnAIAnswerGenerationOn = !0), e.autoCorrect === !1 && (this.dataLayer.autoCorrect = !1), this.dataLayer.searchstaxConfig || (this.dataLayer.setSearchstaxConfig(e), this.searchHelper = new qt(
2885
+ e.turnAIAnswerGenerationOn === !0 && (this.dataLayer.turnAIAnswerGenerationOn = !0), e.autoCorrect === !1 && (this.dataLayer.autoCorrect = !1), this.dataLayer.searchstaxConfig || (this.dataLayer.setSearchstaxConfig(e), this.searchHelper = new _t(
2886
2886
  { ...e, sessionId: this.dataLayer.sessionId },
2887
2887
  this.dataLayer
2888
2888
  )), ((t = e.router) == null ? void 0 : t.enabled) === void 0 || ((s = e.router) == null ? void 0 : s.enabled) === !0 ? (this.routerEnabled = !0, this.routerHelper = new st(
@@ -2964,7 +2964,7 @@ class ba {
2964
2964
  this.searchHelper && this.dataLayer.setLanguage(e);
2965
2965
  }
2966
2966
  addSearchInputWidget(e, t) {
2967
- this.dataLayer.searchInputConfig || (this.dataLayer.setSearchInputConfig(t), this.searchInputWidget = new fa({
2967
+ this.dataLayer.searchInputConfig || (this.dataLayer.setSearchInputConfig(t), this.searchInputWidget = new va({
2968
2968
  containerId: e,
2969
2969
  config: t,
2970
2970
  searchTrigger: this.executeSearch.bind(this),
@@ -2973,14 +2973,14 @@ class ba {
2973
2973
  }));
2974
2974
  }
2975
2975
  addAnswerWidget(e, t) {
2976
- this.dataLayer.setAnswerData(""), this.answerWidget = new xa({
2976
+ this.dataLayer.setAnswerData(""), this.answerWidget = new ba({
2977
2977
  containerId: e,
2978
2978
  config: t,
2979
2979
  dataLayer: this.dataLayer
2980
2980
  });
2981
2981
  }
2982
2982
  addSearchResultsWidget(e, t) {
2983
- this.searchResultsConfig || (this.searchResultsConfig = t, this.searchResultsWidget = new va({
2983
+ this.searchResultsConfig || (this.searchResultsConfig = t, this.searchResultsWidget = new ya({
2984
2984
  containerId: e,
2985
2985
  linkClickCallback: this.executeLinkClick.bind(this),
2986
2986
  searchTrigger: this.executeSearch.bind(this),
@@ -2989,7 +2989,7 @@ class ba {
2989
2989
  }));
2990
2990
  }
2991
2991
  addPaginationWidget(e, t) {
2992
- this.searchPaginationConfig = t, this.searchPaginationWidget = new ga({
2992
+ this.searchPaginationConfig = t, this.searchPaginationWidget = new pa({
2993
2993
  containerId: e,
2994
2994
  config: t,
2995
2995
  dataLayer: this.dataLayer,
@@ -2997,7 +2997,7 @@ class ba {
2997
2997
  });
2998
2998
  }
2999
2999
  addSearchFeedbackWidget(e, t) {
3000
- this.searchFeedbackConfig || (this.searchFeedbackConfig = t, this.searchFeedbackWidget = new ma({
3000
+ this.searchFeedbackConfig || (this.searchFeedbackConfig = t, this.searchFeedbackWidget = new fa({
3001
3001
  containerId: e,
3002
3002
  config: t,
3003
3003
  dataLayer: this.dataLayer,
@@ -3005,14 +3005,14 @@ class ba {
3005
3005
  }));
3006
3006
  }
3007
3007
  addSearchSortingWidget(e, t) {
3008
- this.searchSortingConfig || (this.searchSortingConfig = t, this.searchSortingWidget = new ya({
3008
+ this.searchSortingConfig || (this.searchSortingConfig = t, this.searchSortingWidget = new xa({
3009
3009
  containerId: e,
3010
3010
  config: t,
3011
3011
  dataLayer: this.dataLayer
3012
3012
  }));
3013
3013
  }
3014
3014
  addRelatedSearchesWidget(e, t) {
3015
- this.relatedSearchesConfig || (this.relatedSearchesConfig = t, this.relatedSearchesWidget = new pa({
3015
+ this.relatedSearchesConfig || (this.relatedSearchesConfig = t, this.relatedSearchesWidget = new ma({
3016
3016
  containerId: e,
3017
3017
  config: t,
3018
3018
  dataLayer: this.dataLayer,
@@ -3022,14 +3022,14 @@ class ba {
3022
3022
  }, 0));
3023
3023
  }
3024
3024
  addExternalPromotionsWidget(e, t) {
3025
- this.externalPromotionsConfig || (this.externalPromotionsConfig = t, this.externalPromotionsWidget = new ua({
3025
+ this.externalPromotionsConfig || (this.externalPromotionsConfig = t, this.externalPromotionsWidget = new da({
3026
3026
  containerId: e,
3027
3027
  config: t,
3028
3028
  dataLayer: this.dataLayer
3029
3029
  }));
3030
3030
  }
3031
3031
  addFacetsWidget(e, t) {
3032
- this.searchFacetsConfig = t, this.searchFacetsWidget = new da(
3032
+ this.searchFacetsConfig = t, this.searchFacetsWidget = new ga(
3033
3033
  {
3034
3034
  containerId: e,
3035
3035
  config: t,
@@ -3084,9 +3084,9 @@ class ba {
3084
3084
  }
3085
3085
  const C = {
3086
3086
  //@ts-ignore
3087
- searchstax: new ba("react")
3087
+ searchstax: new Ca("react")
3088
3088
  };
3089
- function Sa(i) {
3089
+ function La(i) {
3090
3090
  let e = !1;
3091
3091
  const [t, s] = H([]);
3092
3092
  ee(() => {
@@ -3160,7 +3160,7 @@ function Sa(i) {
3160
3160
  i.inputTemplate && /* @__PURE__ */ o.jsx(o.Fragment, { children: i.inputTemplate(t, r, c, l) })
3161
3161
  ] }) }) });
3162
3162
  }
3163
- function La(i) {
3163
+ function Ta(i) {
3164
3164
  return ee(() => {
3165
3165
  const e = {};
3166
3166
  i.beforeSearch && (e.beforeSearch = i.beforeSearch), i != null && i.afterSearch && (e.afterSearch = i.afterSearch), C.searchstax.initialize({
@@ -3176,36 +3176,38 @@ function La(i) {
3176
3176
  }), i.initialized(C.searchstax);
3177
3177
  }, [i.initialized]), /* @__PURE__ */ o.jsx(o.Fragment, { children: i.children });
3178
3178
  }
3179
- function Ta(i) {
3179
+ function ka(i) {
3180
3180
  const [e, t] = H(
3181
3181
  null
3182
- ), [s, a] = H(""), [r, c] = H(
3182
+ ), s = Ft();
3183
+ s.current = e;
3184
+ const [a, r] = H(""), [c, l] = H(
3183
3185
  null
3184
- ), l = (d, p) => {
3185
- p.preventDefault(), p.stopPropagation(), C.searchstax.executeLinkClick(d.uniqueId);
3186
+ ), u = (g, m) => {
3187
+ m.preventDefault(), m.stopPropagation(), C.searchstax.executeLinkClick(g.uniqueId);
3186
3188
  };
3187
3189
  ee(() => {
3188
- u();
3189
- const d = {};
3190
- i.afterLinkClick && (d.afterLinkClick = i.afterLinkClick), C.searchstax.addSearchResultsWidget("searchstax-results-container", {
3190
+ d();
3191
+ const g = {};
3192
+ i.afterLinkClick && (g.afterLinkClick = i.afterLinkClick), C.searchstax.addSearchResultsWidget("searchstax-results-container", {
3191
3193
  templates: {},
3192
3194
  resultsPerPage: i.resultsPerPage ?? 10,
3193
3195
  renderMethod: i.renderMethod ?? "pagination",
3194
- hooks: d
3196
+ hooks: g
3195
3197
  });
3196
3198
  }, []);
3197
- function u() {
3199
+ function d() {
3198
3200
  C.searchstax.dataLayer.$searchResults.subscribe(
3199
- (d) => {
3200
- var k;
3201
- const p = e ?? [], v = d ?? [], y = i.renderMethod === "infiniteScroll" ? [...p, ...v] : d;
3202
- ((k = C.searchstax.dataLayer.$searchObject.value) == null ? void 0 : k.page) === 1 ? t(v) : t(y);
3201
+ (g) => {
3202
+ var F;
3203
+ const m = s.current ?? [], y = g ?? [], k = i.renderMethod === "infiniteScroll" ? [...m, ...y] : g;
3204
+ ((F = C.searchstax.dataLayer.$searchObject.value) == null ? void 0 : F.page) === 1 ? t(y) : t(k);
3203
3205
  }
3204
- ), C.searchstax.dataLayer.$searchTermChange.subscribe((d) => {
3205
- a(d);
3206
+ ), C.searchstax.dataLayer.$searchTermChange.subscribe((g) => {
3207
+ r(g);
3206
3208
  }), C.searchstax.dataLayer.$searchResultsMetadata.subscribe(
3207
- (d) => {
3208
- c(d);
3209
+ (g) => {
3210
+ l(g);
3209
3211
  }
3210
3212
  );
3211
3213
  }
@@ -3219,14 +3221,14 @@ function Ta(i) {
3219
3221
  " ",
3220
3222
  /* @__PURE__ */ o.jsxs("strong", { children: [
3221
3223
  '"',
3222
- s,
3224
+ a,
3223
3225
  '"'
3224
3226
  ] }),
3225
3227
  /* @__PURE__ */ o.jsx("br", {}),
3226
- (r == null ? void 0 : r.spellingSuggestion) && /* @__PURE__ */ o.jsxs("span", { children: [
3228
+ (c == null ? void 0 : c.spellingSuggestion) && /* @__PURE__ */ o.jsxs("span", { children: [
3227
3229
  " Did you mean",
3228
3230
  " ",
3229
- /* @__PURE__ */ o.jsx("a", { href: "#", className: "searchstax-suggestion-term", children: r == null ? void 0 : r.spellingSuggestion }),
3231
+ /* @__PURE__ */ o.jsx("a", { href: "#", className: "searchstax-suggestion-term", children: c == null ? void 0 : c.spellingSuggestion }),
3230
3232
  "?"
3231
3233
  ] })
3232
3234
  ] }),
@@ -3239,57 +3241,57 @@ function Ta(i) {
3239
3241
  /* @__PURE__ */ o.jsx("p", { children: "Lost? Click on the ‘X” in the Search Box to reset your search." })
3240
3242
  ] })
3241
3243
  ] }),
3242
- e && e.length === 0 && i.noResultTemplate && /* @__PURE__ */ o.jsx(o.Fragment, { children: i.noResultTemplate(s, r) }),
3243
- e && e.length > 0 && !i.resultsTemplate && /* @__PURE__ */ o.jsx("div", { className: "searchstax-search-results", children: e !== null && e.map(function(d) {
3244
+ e && e.length === 0 && i.noResultTemplate && /* @__PURE__ */ o.jsx(o.Fragment, { children: i.noResultTemplate(a, c) }),
3245
+ e && e.length > 0 && !i.resultsTemplate && /* @__PURE__ */ o.jsx("div", { className: "searchstax-search-results", children: e !== null && e.map(function(g) {
3244
3246
  return /* @__PURE__ */ o.jsxs(
3245
3247
  "div",
3246
3248
  {
3247
- className: `searchstax-search-result ${d.thumbnail ? "has-thumbnail" : ""}`,
3249
+ className: `searchstax-search-result ${g.thumbnail ? "has-thumbnail" : ""}`,
3248
3250
  children: [
3249
- d.promoted && /* @__PURE__ */ o.jsx("div", { className: "searchstax-search-result-promoted" }),
3250
- d.url && /* @__PURE__ */ o.jsx(
3251
+ g.promoted && /* @__PURE__ */ o.jsx("div", { className: "searchstax-search-result-promoted" }),
3252
+ g.url && /* @__PURE__ */ o.jsx(
3251
3253
  "a",
3252
3254
  {
3253
- href: d.url,
3254
- "data-searchstax-unique-result-id": d.uniqueId,
3255
- onClick: (p) => {
3256
- l(d, p);
3255
+ href: g.url,
3256
+ "data-searchstax-unique-result-id": g.uniqueId,
3257
+ onClick: (m) => {
3258
+ u(g, m);
3257
3259
  },
3258
3260
  className: "searchstax-result-item-link"
3259
3261
  }
3260
3262
  ),
3261
- d.ribbon && /* @__PURE__ */ o.jsx("div", { className: "searchstax-search-result-ribbon", children: d.ribbon }),
3262
- d.thumbnail && /* @__PURE__ */ o.jsx(
3263
+ g.ribbon && /* @__PURE__ */ o.jsx("div", { className: "searchstax-search-result-ribbon", children: g.ribbon }),
3264
+ g.thumbnail && /* @__PURE__ */ o.jsx(
3263
3265
  "img",
3264
3266
  {
3265
- src: d.thumbnail,
3267
+ src: g.thumbnail,
3266
3268
  className: "searchstax-thumbnail"
3267
3269
  }
3268
3270
  ),
3269
- /* @__PURE__ */ o.jsx("div", { className: "searchstax-search-result-title-container", children: /* @__PURE__ */ o.jsx("span", { className: "searchstax-search-result-title", children: d.title }) }),
3270
- d.paths && /* @__PURE__ */ o.jsx("p", { className: "searchstax-search-result-common", children: d.paths }),
3271
- d.description && /* @__PURE__ */ o.jsx("p", { className: "searchstax-search-result-description searchstax-search-result-common", children: d.description }),
3272
- d.unmappedFields.map(function(p) {
3271
+ /* @__PURE__ */ o.jsx("div", { className: "searchstax-search-result-title-container", children: /* @__PURE__ */ o.jsx("span", { className: "searchstax-search-result-title", children: g.title }) }),
3272
+ g.paths && /* @__PURE__ */ o.jsx("p", { className: "searchstax-search-result-common", children: g.paths }),
3273
+ g.description && /* @__PURE__ */ o.jsx("p", { className: "searchstax-search-result-description searchstax-search-result-common", children: g.description }),
3274
+ g.unmappedFields.map(function(m) {
3273
3275
  return /* @__PURE__ */ o.jsxs("div", { children: [
3274
- p.isImage && typeof p.value == "string" && /* @__PURE__ */ o.jsx("div", { className: "searchstax-search-result-image-container", children: /* @__PURE__ */ o.jsx(
3276
+ m.isImage && typeof m.value == "string" && /* @__PURE__ */ o.jsx("div", { className: "searchstax-search-result-image-container", children: /* @__PURE__ */ o.jsx(
3275
3277
  "img",
3276
3278
  {
3277
- src: p.value,
3279
+ src: m.value,
3278
3280
  className: "searchstax-result-image"
3279
3281
  }
3280
3282
  ) }),
3281
- !p.isImage && /* @__PURE__ */ o.jsx("div", { children: /* @__PURE__ */ o.jsx("p", { className: "searchstax-search-result-common", children: p.value }) })
3282
- ] }, p.key);
3283
+ !m.isImage && /* @__PURE__ */ o.jsx("div", { children: /* @__PURE__ */ o.jsx("p", { className: "searchstax-search-result-common", children: m.value }) })
3284
+ ] }, m.key);
3283
3285
  })
3284
3286
  ]
3285
3287
  },
3286
- d.uniqueId
3288
+ g.uniqueId
3287
3289
  );
3288
3290
  }) }),
3289
- e && e.length > 0 && i.resultsTemplate && /* @__PURE__ */ o.jsx(o.Fragment, { children: i.resultsTemplate(e, l) })
3291
+ e && e.length > 0 && i.resultsTemplate && /* @__PURE__ */ o.jsx(o.Fragment, { children: i.resultsTemplate(e, u) })
3290
3292
  ] }) }) }) });
3291
3293
  }
3292
- function ka(i) {
3294
+ function Ra(i) {
3293
3295
  let e = !1;
3294
3296
  const [t, s] = H(!1), [a, r] = H(
3295
3297
  null
@@ -3307,8 +3309,8 @@ function ka(i) {
3307
3309
  e || (C.searchstax.dataLayer.$searchObject.subscribe(() => {
3308
3310
  u();
3309
3311
  }), C.searchstax.dataLayer.$paginationData.subscribe(
3310
- (v) => {
3311
- r(v);
3312
+ (m) => {
3313
+ r(m);
3312
3314
  }
3313
3315
  ), e = !0);
3314
3316
  }
@@ -3318,16 +3320,16 @@ function ka(i) {
3318
3320
  {}
3319
3321
  ));
3320
3322
  }
3321
- function d(v) {
3323
+ function d(m) {
3322
3324
  var y;
3323
- (y = C.searchstax.searchPaginationWidget) == null || y.nextPage(
3324
- v
3325
+ console.log("nextPage", m), (y = C.searchstax.searchPaginationWidget) == null || y.nextPage(
3326
+ m
3325
3327
  );
3326
3328
  }
3327
- function p(v) {
3329
+ function g(m) {
3328
3330
  var y;
3329
3331
  (y = C.searchstax.searchPaginationWidget) == null || y.previousPage(
3330
- v
3332
+ m
3331
3333
  );
3332
3334
  }
3333
3335
  return /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsxs("div", { id: "searchstax-pagination-container" + c, children: [
@@ -3337,8 +3339,8 @@ function ka(i) {
3337
3339
  {
3338
3340
  className: "searchstax-pagination-previous",
3339
3341
  style: a != null && a.isFirstPage ? { pointerEvents: "none" } : {},
3340
- onClick: (v) => {
3341
- p(v);
3342
+ onClick: (m) => {
3343
+ g(m);
3342
3344
  },
3343
3345
  id: "searchstax-pagination-previous",
3344
3346
  children: [
@@ -3363,21 +3365,21 @@ function ka(i) {
3363
3365
  {
3364
3366
  className: "searchstax-pagination-next",
3365
3367
  style: a != null && a.isLastPage ? { pointerEvents: "none" } : {},
3366
- onClick: (v) => {
3367
- d(v);
3368
+ onClick: (m) => {
3369
+ d(m);
3368
3370
  },
3369
3371
  id: "searchstax-pagination-next",
3370
3372
  children: "Next >"
3371
3373
  }
3372
3374
  )
3373
3375
  ] }) }),
3374
- i.paginationTemplate && a && !a.isInfiniteScroll && /* @__PURE__ */ o.jsx(o.Fragment, { children: i.paginationTemplate(a, d, p) }),
3376
+ i.paginationTemplate && a && !a.isInfiniteScroll && /* @__PURE__ */ o.jsx(o.Fragment, { children: i.paginationTemplate(a, d, g) }),
3375
3377
  !i.infiniteScrollTemplate && a && a.isInfiniteScroll && (a == null ? void 0 : a.totalResults) !== 0 && !(a != null && a.isLastPage) && /* @__PURE__ */ o.jsx(
3376
3378
  "a",
3377
3379
  {
3378
3380
  className: "searchstax-pagination-load-more",
3379
- onClick: (v) => {
3380
- d(v);
3381
+ onClick: (m) => {
3382
+ d(m);
3381
3383
  },
3382
3384
  children: "Show More >"
3383
3385
  }
@@ -3385,7 +3387,7 @@ function ka(i) {
3385
3387
  i.infiniteScrollTemplate && a && a.isInfiniteScroll && /* @__PURE__ */ o.jsx(o.Fragment, { children: i.infiniteScrollTemplate(a, d) })
3386
3388
  ] }) });
3387
3389
  }
3388
- function Ra(i) {
3390
+ function wa(i) {
3389
3391
  let e = !1;
3390
3392
  const [t, s] = H(null), [a, r] = H(""), [c] = H(Math.random());
3391
3393
  ee(() => {
@@ -3402,8 +3404,8 @@ function Ra(i) {
3402
3404
  }), e = !0);
3403
3405
  }
3404
3406
  function u(d) {
3405
- var p;
3406
- (p = C.searchstax.searchSortingWidget) == null || p.setOrderQuery(d);
3407
+ var g;
3408
+ (g = C.searchstax.searchSortingWidget) == null || g.setOrderQuery(d);
3407
3409
  }
3408
3410
  return /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsxs("div", { id: "search-sorting-container" + c, children: [
3409
3411
  !i.searchSortingTemplate && t && (t == null ? void 0 : t.searchExecuted) && (t == null ? void 0 : t.hasResultsOrExternalPromotions) && /* @__PURE__ */ o.jsxs("div", { className: "searchstax-sorting-container", children: [
@@ -3428,7 +3430,7 @@ function Ra(i) {
3428
3430
  i.searchSortingTemplate && /* @__PURE__ */ o.jsx(o.Fragment, { children: i.searchSortingTemplate(t, u, a) })
3429
3431
  ] }) });
3430
3432
  }
3431
- function wa(i) {
3433
+ function Ea(i) {
3432
3434
  let e = !1;
3433
3435
  const [t, s] = H(null), [a] = H(Math.random());
3434
3436
  ee(() => {
@@ -3490,7 +3492,7 @@ function wa(i) {
3490
3492
  i.searchOverviewTemplate && /* @__PURE__ */ o.jsx(o.Fragment, { children: i.searchOverviewTemplate(t, c) })
3491
3493
  ] }) });
3492
3494
  }
3493
- function Ea(i) {
3495
+ function Ia(i) {
3494
3496
  const [e, t] = H(
3495
3497
  null
3496
3498
  ), [s, a] = H(
@@ -3499,11 +3501,11 @@ function Ea(i) {
3499
3501
  []
3500
3502
  ), [l, u] = H(
3501
3503
  {}
3502
- ), d = {}, p = Math.random();
3503
- let v = !1;
3504
+ ), d = {}, g = Math.random();
3505
+ let m = !1;
3504
3506
  ee(() => {
3505
3507
  if (y(), C.searchstax)
3506
- C.searchstax.addFacetsWidget("searchstax-facets-container" + p, {
3508
+ C.searchstax.addFacetsWidget("searchstax-facets-container" + g, {
3507
3509
  facetingType: i.facetingType,
3508
3510
  specificFacets: i.specificFacets,
3509
3511
  itemsPerPageDesktop: i.itemsPerPageDesktop,
@@ -3513,87 +3515,87 @@ function Ea(i) {
3513
3515
  throw Error("Searchstax instance needs to be passed via props");
3514
3516
  }, []);
3515
3517
  function y() {
3516
- v || (C.searchstax.dataLayer.$facetsTemplateData.subscribe(
3517
- (m) => {
3518
- m != null && m.isMobile ? a(m) : t(m);
3518
+ m || (C.searchstax.dataLayer.$facetsTemplateData.subscribe(
3519
+ (f) => {
3520
+ f != null && f.isMobile ? a(f) : t(f);
3519
3521
  }
3520
3522
  ), C.searchstax.dataLayer.$selectedFacetsTemplateData.subscribe(
3521
- (m) => {
3523
+ (f) => {
3522
3524
  c(
3523
- (m ?? []).filter((F) => F.type === "checkbox")
3525
+ (f ?? []).filter((O) => O.type === "checkbox")
3524
3526
  );
3525
3527
  }
3526
- ), v = !0);
3528
+ ), m = !0);
3527
3529
  }
3528
- function k(m) {
3530
+ function k(f) {
3529
3531
  var b;
3530
- (b = C.searchstax.searchFacetsWidget) == null || b.unselectFacet(m);
3532
+ (b = C.searchstax.searchFacetsWidget) == null || b.unselectFacet(f);
3531
3533
  }
3532
- function M() {
3533
- var m;
3534
- (m = C.searchstax.searchFacetsWidget) == null || m.removeSelectedFacets();
3534
+ function F() {
3535
+ var f;
3536
+ (f = C.searchstax.searchFacetsWidget) == null || f.removeSelectedFacets();
3535
3537
  }
3536
- function R(m) {
3537
- return !l[m];
3538
+ function R(f) {
3539
+ return !l[f];
3538
3540
  }
3539
- function T(m) {
3540
- R(m) ? u({ ...l, [m]: !0 }) : u({ ...l, [m]: !1 });
3541
+ function T(f) {
3542
+ R(f) ? u({ ...l, [f]: !0 }) : u({ ...l, [f]: !1 });
3541
3543
  }
3542
- function I(m) {
3544
+ function I(f) {
3543
3545
  var b;
3544
- return (b = C.searchstax.searchFacetsWidget) == null ? void 0 : b.isChecked(m);
3546
+ return (b = C.searchstax.searchFacetsWidget) == null ? void 0 : b.isChecked(f);
3545
3547
  }
3546
- function L(m, b, F, $) {
3548
+ function L(f, b, O, $) {
3547
3549
  var K, Y;
3548
- const G = document.createElement("div"), ne = (K = d[m]) == null ? void 0 : K.current;
3550
+ const G = document.createElement("div"), ne = (K = d[f]) == null ? void 0 : K.current;
3549
3551
  G.innerHTML = ne.outerHTML, (Y = C.searchstax.searchFacetsWidget) == null || Y.onFacetSelect(
3550
3552
  b,
3551
- F,
3553
+ O,
3552
3554
  ne,
3553
3555
  $
3554
3556
  );
3555
3557
  }
3556
- function N(m, b) {
3557
- var F;
3558
- (F = C.searchstax.searchFacetsWidget) == null || F.onShowMoreLessClick(
3559
- m,
3558
+ function N(f, b) {
3559
+ var O;
3560
+ (O = C.searchstax.searchFacetsWidget) == null || O.onShowMoreLessClick(
3561
+ f,
3560
3562
  b,
3561
3563
  !1
3562
3564
  );
3563
3565
  }
3564
- function W(m, b) {
3565
- var F;
3566
- (F = C.searchstax.searchFacetsWidget) == null || F.onShowMoreLessClick(
3567
- m,
3566
+ function W(f, b) {
3567
+ var O;
3568
+ (O = C.searchstax.searchFacetsWidget) == null || O.onShowMoreLessClick(
3569
+ f,
3568
3570
  b,
3569
3571
  !0
3570
3572
  );
3571
3573
  }
3572
3574
  function A() {
3573
- var m;
3574
- (m = C.searchstax.searchFacetsWidget) == null || m.openOverlay();
3575
+ var f;
3576
+ (f = C.searchstax.searchFacetsWidget) == null || f.openOverlay();
3575
3577
  }
3576
3578
  function Q() {
3577
- var m;
3578
- (m = C.searchstax.searchFacetsWidget) == null || m.closeOverlay();
3579
+ var f;
3580
+ (f = C.searchstax.searchFacetsWidget) == null || f.closeOverlay();
3579
3581
  }
3580
- return /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsxs("div", { id: "searchstax-facets-container" + p, children: [
3581
- (e == null ? void 0 : e.hasResultsOrExternalPromotions) && !i.facetsTemplateDesktop && /* @__PURE__ */ o.jsx("div", { className: "searchstax-facets-container-desktop", children: e == null ? void 0 : e.facets.map((m) => /* @__PURE__ */ o.jsx(
3582
+ return /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsxs("div", { id: "searchstax-facets-container" + g, children: [
3583
+ (e == null ? void 0 : e.hasResultsOrExternalPromotions) && !i.facetsTemplateDesktop && /* @__PURE__ */ o.jsx("div", { className: "searchstax-facets-container-desktop", children: e == null ? void 0 : e.facets.map((f) => /* @__PURE__ */ o.jsx(
3582
3584
  "div",
3583
3585
  {
3584
- className: `searchstax-facet-container ${R(m.name) ? "active" : ""}`,
3586
+ className: `searchstax-facet-container ${R(f.name) ? "active" : ""}`,
3585
3587
  children: /* @__PURE__ */ o.jsxs("div", { children: [
3586
3588
  /* @__PURE__ */ o.jsxs(
3587
3589
  "div",
3588
3590
  {
3589
3591
  className: "searchstax-facet-title-container",
3590
3592
  onClick: () => {
3591
- T(m.name);
3593
+ T(f.name);
3592
3594
  },
3593
3595
  children: [
3594
3596
  /* @__PURE__ */ o.jsxs("div", { className: "searchstax-facet-title", children: [
3595
3597
  " ",
3596
- m.label,
3598
+ f.label,
3597
3599
  " "
3598
3600
  ] }),
3599
3601
  /* @__PURE__ */ o.jsx("div", { className: "searchstax-facet-title-arrow active" })
@@ -3601,13 +3603,13 @@ function Ea(i) {
3601
3603
  }
3602
3604
  ),
3603
3605
  /* @__PURE__ */ o.jsxs("div", { className: "searchstax-facet-values-container", children: [
3604
- m.values.map(
3606
+ f.values.map(
3605
3607
  //@ts-ignore
3606
- (b, F) => (d[F + m.name] = et(), /* @__PURE__ */ o.jsxs(
3608
+ (b, O) => (d[O + f.name] = et(), /* @__PURE__ */ o.jsxs(
3607
3609
  "div",
3608
3610
  {
3609
3611
  className: `searchstax-facet-value-container ${b.disabled ? "searchstax-facet-value-disabled" : ""}`,
3610
- ref: d[F + m.name],
3612
+ ref: d[O + f.name],
3611
3613
  children: [
3612
3614
  /* @__PURE__ */ o.jsx("div", { className: "searchstax-facet-input", children: /* @__PURE__ */ o.jsx(
3613
3615
  "input",
@@ -3619,7 +3621,7 @@ function Ea(i) {
3619
3621
  disabled: b.disabled,
3620
3622
  onClick: ($) => {
3621
3623
  L(
3622
- F + m.name,
3624
+ O + f.name,
3623
3625
  $,
3624
3626
  b,
3625
3627
  !0
@@ -3633,7 +3635,7 @@ function Ea(i) {
3633
3635
  className: "searchstax-facet-value-label",
3634
3636
  onClick: ($) => {
3635
3637
  L(
3636
- F + m.name,
3638
+ O + f.name,
3637
3639
  $,
3638
3640
  b,
3639
3641
  !1
@@ -3648,7 +3650,7 @@ function Ea(i) {
3648
3650
  className: "searchstax-facet-value-count",
3649
3651
  onClick: ($) => {
3650
3652
  L(
3651
- F + m.name,
3653
+ O + f.name,
3652
3654
  $,
3653
3655
  b,
3654
3656
  !1
@@ -3666,23 +3668,23 @@ function Ea(i) {
3666
3668
  b.value + b.parentName
3667
3669
  ))
3668
3670
  ),
3669
- m.hasMoreFacets && /* @__PURE__ */ o.jsx("div", { className: "searchstax-facet-show-more-container", children: /* @__PURE__ */ o.jsxs(
3671
+ f.hasMoreFacets && /* @__PURE__ */ o.jsx("div", { className: "searchstax-facet-show-more-container", children: /* @__PURE__ */ o.jsxs(
3670
3672
  "div",
3671
3673
  {
3672
3674
  className: "searchstax-facet-show-more-container",
3673
3675
  onClick: (b) => {
3674
- N(b, m);
3676
+ N(b, f);
3675
3677
  },
3676
3678
  children: [
3677
- m.showingAllFacets && /* @__PURE__ */ o.jsx("div", { className: "searchstax-facet-show-less-button searchstax-facet-show-button", children: "less" }),
3678
- !m.showingAllFacets && /* @__PURE__ */ o.jsx("div", { className: "searchstax-facet-show-more-button searchstax-facet-show-button", children: "more" })
3679
+ f.showingAllFacets && /* @__PURE__ */ o.jsx("div", { className: "searchstax-facet-show-less-button searchstax-facet-show-button", children: "less" }),
3680
+ !f.showingAllFacets && /* @__PURE__ */ o.jsx("div", { className: "searchstax-facet-show-more-button searchstax-facet-show-button", children: "more" })
3679
3681
  ]
3680
3682
  }
3681
3683
  ) })
3682
3684
  ] })
3683
3685
  ] })
3684
3686
  },
3685
- m.name + "desktop"
3687
+ f.name + "desktop"
3686
3688
  )) }),
3687
3689
  i.facetsTemplateDesktop && /* @__PURE__ */ o.jsx(o.Fragment, { children: i.facetsTemplateDesktop(
3688
3690
  e,
@@ -3705,31 +3707,31 @@ function Ea(i) {
3705
3707
  }
3706
3708
  ),
3707
3709
  /* @__PURE__ */ o.jsxs("div", { className: "searchstax-facets-pills-selected", children: [
3708
- r.map((m) => /* @__PURE__ */ o.jsxs(
3710
+ r.map((f) => /* @__PURE__ */ o.jsxs(
3709
3711
  "div",
3710
3712
  {
3711
3713
  className: "searchstax-facets-pill searchstax-facets-pill-facets",
3712
3714
  onClick: () => {
3713
- k(m);
3715
+ k(f);
3714
3716
  },
3715
3717
  children: [
3716
3718
  /* @__PURE__ */ o.jsxs("div", { className: "searchstax-facets-pill-label", children: [
3717
- m.value,
3719
+ f.value,
3718
3720
  " (",
3719
- m.count,
3721
+ f.count,
3720
3722
  ")"
3721
3723
  ] }),
3722
3724
  /* @__PURE__ */ o.jsx("div", { className: "searchstax-facets-pill-icon-close" })
3723
3725
  ]
3724
3726
  },
3725
- m.value
3727
+ f.value
3726
3728
  )),
3727
3729
  r.length !== 0 && /* @__PURE__ */ o.jsx(
3728
3730
  "div",
3729
3731
  {
3730
3732
  className: "searchstax-facets-pill searchstax-clear-filters searchstax-facets-pill-clear-all",
3731
3733
  onClick: () => {
3732
- M();
3734
+ F();
3733
3735
  },
3734
3736
  children: /* @__PURE__ */ o.jsx("div", { className: "searchstax-facets-pill-label", children: "Clear Filters" })
3735
3737
  }
@@ -3753,22 +3755,22 @@ function Ea(i) {
3753
3755
  }
3754
3756
  )
3755
3757
  ] }),
3756
- /* @__PURE__ */ o.jsx("div", { className: "searchstax-facets-container-mobile", children: s == null ? void 0 : s.facets.map((m) => /* @__PURE__ */ o.jsx(
3758
+ /* @__PURE__ */ o.jsx("div", { className: "searchstax-facets-container-mobile", children: s == null ? void 0 : s.facets.map((f) => /* @__PURE__ */ o.jsx(
3757
3759
  "div",
3758
3760
  {
3759
- className: `searchstax-facet-container ${R(m.name) ? "active" : ""}`,
3761
+ className: `searchstax-facet-container ${R(f.name) ? "active" : ""}`,
3760
3762
  children: /* @__PURE__ */ o.jsxs("div", { children: [
3761
3763
  /* @__PURE__ */ o.jsxs(
3762
3764
  "div",
3763
3765
  {
3764
3766
  className: "searchstax-facet-title-container",
3765
3767
  onClick: () => {
3766
- T(m.name);
3768
+ T(f.name);
3767
3769
  },
3768
3770
  children: [
3769
3771
  /* @__PURE__ */ o.jsxs("div", { className: "searchstax-facet-title", children: [
3770
3772
  " ",
3771
- m.label,
3773
+ f.label,
3772
3774
  " "
3773
3775
  ] }),
3774
3776
  /* @__PURE__ */ o.jsx("div", { className: "searchstax-facet-title-arrow active" })
@@ -3776,13 +3778,13 @@ function Ea(i) {
3776
3778
  }
3777
3779
  ),
3778
3780
  /* @__PURE__ */ o.jsxs("div", { className: "searchstax-facet-values-container", children: [
3779
- m.values.map(
3781
+ f.values.map(
3780
3782
  //@ts-ignore
3781
- (b, F) => (d[F + m.name] = et(), /* @__PURE__ */ o.jsxs(
3783
+ (b, O) => (d[O + f.name] = et(), /* @__PURE__ */ o.jsxs(
3782
3784
  "div",
3783
3785
  {
3784
3786
  className: `searchstax-facet-value-container ${b.disabled ? "searchstax-facet-value-disabled" : ""}`,
3785
- ref: d[F + m.name],
3787
+ ref: d[O + f.name],
3786
3788
  children: [
3787
3789
  /* @__PURE__ */ o.jsx("div", { className: "searchstax-facet-input", children: /* @__PURE__ */ o.jsx(
3788
3790
  "input",
@@ -3794,7 +3796,7 @@ function Ea(i) {
3794
3796
  disabled: b.disabled,
3795
3797
  onClick: ($) => {
3796
3798
  L(
3797
- F + m.name,
3799
+ O + f.name,
3798
3800
  $,
3799
3801
  b,
3800
3802
  !0
@@ -3808,7 +3810,7 @@ function Ea(i) {
3808
3810
  className: "searchstax-facet-value-label",
3809
3811
  onClick: ($) => {
3810
3812
  L(
3811
- F + m.name,
3813
+ O + f.name,
3812
3814
  $,
3813
3815
  b,
3814
3816
  !1
@@ -3823,7 +3825,7 @@ function Ea(i) {
3823
3825
  className: "searchstax-facet-value-count",
3824
3826
  onClick: ($) => {
3825
3827
  L(
3826
- F + m.name,
3828
+ O + f.name,
3827
3829
  $,
3828
3830
  b,
3829
3831
  !1
@@ -3851,11 +3853,11 @@ function Ea(i) {
3851
3853
  {
3852
3854
  className: "searchstax-facet-show-more-container",
3853
3855
  onClick: (b) => {
3854
- W(b, m);
3856
+ W(b, f);
3855
3857
  },
3856
3858
  children: [
3857
- m.showingAllFacets && /* @__PURE__ */ o.jsx("div", { className: "searchstax-facet-show-less-button searchstax-facet-show-button", children: "less" }),
3858
- !m.showingAllFacets && /* @__PURE__ */ o.jsx("div", { className: "searchstax-facet-show-more-button searchstax-facet-show-button", children: "more" })
3859
+ f.showingAllFacets && /* @__PURE__ */ o.jsx("div", { className: "searchstax-facet-show-less-button searchstax-facet-show-button", children: "less" }),
3860
+ !f.showingAllFacets && /* @__PURE__ */ o.jsx("div", { className: "searchstax-facet-show-more-button searchstax-facet-show-button", children: "more" })
3859
3861
  ]
3860
3862
  }
3861
3863
  )
@@ -3864,7 +3866,7 @@ function Ea(i) {
3864
3866
  ] })
3865
3867
  ] })
3866
3868
  },
3867
- m.name + "mobile"
3869
+ f.name + "mobile"
3868
3870
  )) }),
3869
3871
  /* @__PURE__ */ o.jsx(
3870
3872
  "button",
@@ -3892,11 +3894,11 @@ function Ea(i) {
3892
3894
  W,
3893
3895
  A,
3894
3896
  Q,
3895
- M
3897
+ F
3896
3898
  ) })
3897
3899
  ] }) });
3898
3900
  }
3899
- function Ia(i) {
3901
+ function Pa(i) {
3900
3902
  let e = !1;
3901
3903
  const [t, s] = H(null), [a] = H(Math.random());
3902
3904
  ee(() => {
@@ -3943,7 +3945,7 @@ function Ia(i) {
3943
3945
  i.searchRelatedSearchesTemplate && /* @__PURE__ */ o.jsx(o.Fragment, { children: i.searchRelatedSearchesTemplate(t, c) })
3944
3946
  ] });
3945
3947
  }
3946
- function Pa(i) {
3948
+ function ja(i) {
3947
3949
  let e = !1;
3948
3950
  const [t, s] = H(
3949
3951
  null
@@ -3994,13 +3996,13 @@ function Pa(i) {
3994
3996
  ] }) });
3995
3997
  }
3996
3998
  export {
3997
- Pa as SearchstaxExternalPromotionsWidget,
3998
- Ea as SearchstaxFacetsWidget,
3999
- Sa as SearchstaxInputWidget,
4000
- wa as SearchstaxOverviewWidget,
4001
- ka as SearchstaxPaginationWidget,
4002
- Ia as SearchstaxRelatedSearchesWidget,
4003
- Ta as SearchstaxResultWidget,
4004
- Ra as SearchstaxSortingWidget,
4005
- La as SearchstaxWrapper
3999
+ ja as SearchstaxExternalPromotionsWidget,
4000
+ Ia as SearchstaxFacetsWidget,
4001
+ La as SearchstaxInputWidget,
4002
+ Ea as SearchstaxOverviewWidget,
4003
+ Ra as SearchstaxPaginationWidget,
4004
+ Pa as SearchstaxRelatedSearchesWidget,
4005
+ ka as SearchstaxResultWidget,
4006
+ wa as SearchstaxSortingWidget,
4007
+ Ta as SearchstaxWrapper
4006
4008
  };