@searchstax-inc/searchstudio-ux-react 1.0.1 → 1.0.2

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,5 +1,5 @@
1
- import ct, { useState as q, useEffect as ae, useRef as Ot, createRef as tt } from "react";
2
- var je = { exports: {} }, ue = {};
1
+ import ot, { useState as q, useEffect as ae, useRef as $t, createRef as st } from "react";
2
+ var Oe = { exports: {} }, ge = {};
3
3
  /**
4
4
  * @license React
5
5
  * react-jsx-runtime.production.min.js
@@ -9,12 +9,12 @@ var je = { exports: {} }, ue = {};
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
- var at;
13
- function At() {
14
- if (at)
15
- return ue;
16
- at = 1;
17
- var n = ct, e = Symbol.for("react.element"), t = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, a = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, r = { key: !0, ref: !0, __self: !0, __source: !0 };
12
+ var rt;
13
+ function Nt() {
14
+ if (rt)
15
+ return ge;
16
+ rt = 1;
17
+ var n = ot, e = Symbol.for("react.element"), t = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, a = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, r = { key: !0, ref: !0, __self: !0, __source: !0 };
18
18
  function i(l, o, d) {
19
19
  var f, g = {}, m = null, C = null;
20
20
  d !== void 0 && (m = "" + d), o.key !== void 0 && (m = "" + o.key), o.ref !== void 0 && (C = o.ref);
@@ -25,9 +25,9 @@ function At() {
25
25
  g[f] === void 0 && (g[f] = o[f]);
26
26
  return { $$typeof: e, type: l, key: m, ref: C, props: g, _owner: a.current };
27
27
  }
28
- return ue.Fragment = t, ue.jsx = i, ue.jsxs = i, ue;
28
+ return ge.Fragment = t, ge.jsx = i, ge.jsxs = i, ge;
29
29
  }
30
- var de = {};
30
+ var pe = {};
31
31
  /**
32
32
  * @license React
33
33
  * react-jsx-runtime.development.js
@@ -37,10 +37,10 @@ var de = {};
37
37
  * This source code is licensed under the MIT license found in the
38
38
  * LICENSE file in the root directory of this source tree.
39
39
  */
40
- var st;
41
- function Mt() {
42
- return st || (st = 1, process.env.NODE_ENV !== "production" && function() {
43
- var n = ct, 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"), i = Symbol.for("react.provider"), l = Symbol.for("react.context"), o = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), E = Symbol.iterator, k = "@@iterator";
40
+ var it;
41
+ function qt() {
42
+ return it || (it = 1, process.env.NODE_ENV !== "production" && function() {
43
+ var n = ot, 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"), i = Symbol.for("react.provider"), l = Symbol.for("react.context"), o = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), E = Symbol.iterator, k = "@@iterator";
44
44
  function R(c) {
45
45
  if (c === null || typeof c != "object")
46
46
  return null;
@@ -48,16 +48,16 @@ function Mt() {
48
48
  return typeof p == "function" ? p : null;
49
49
  }
50
50
  var I = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
- function T(c) {
51
+ function L(c) {
52
52
  {
53
- for (var p = arguments.length, y = new Array(p > 1 ? p - 1 : 0), L = 1; L < p; L++)
54
- y[L - 1] = arguments[L];
55
- N("error", c, y);
53
+ for (var p = arguments.length, y = new Array(p > 1 ? p - 1 : 0), T = 1; T < p; T++)
54
+ y[T - 1] = arguments[T];
55
+ $("error", c, y);
56
56
  }
57
57
  }
58
- function N(c, p, y) {
58
+ function $(c, p, y) {
59
59
  {
60
- var L = I.ReactDebugCurrentFrame, O = L.getStackAddendum();
60
+ var T = I.ReactDebugCurrentFrame, O = T.getStackAddendum();
61
61
  O !== "" && (p += "%s", y = y.concat([O]));
62
62
  var A = y.map(function(P) {
63
63
  return String(P);
@@ -65,29 +65,29 @@ function Mt() {
65
65
  A.unshift("Warning: " + p), Function.prototype.apply.call(console[c], console, A);
66
66
  }
67
67
  }
68
- var B = !1, M = !1, K = !1, v = !1, x = !1, F;
68
+ var B = !1, M = !1, Q = !1, v = !1, x = !1, F;
69
69
  F = Symbol.for("react.module.reference");
70
70
  function _(c) {
71
- return !!(typeof c == "string" || typeof c == "function" || c === s || c === r || x || c === a || c === d || c === f || v || c === C || B || M || K || typeof c == "object" && c !== null && (c.$$typeof === m || c.$$typeof === g || c.$$typeof === i || c.$$typeof === l || c.$$typeof === o || // This needs to include all possible module reference object
71
+ return !!(typeof c == "string" || typeof c == "function" || c === s || c === r || x || c === a || c === d || c === f || v || c === C || B || M || Q || typeof c == "object" && c !== null && (c.$$typeof === m || c.$$typeof === g || c.$$typeof === i || c.$$typeof === l || c.$$typeof === o || // 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
75
  c.$$typeof === F || c.getModuleId !== void 0));
76
76
  }
77
- function J(c, p, y) {
78
- var L = c.displayName;
79
- if (L)
80
- return L;
77
+ function Y(c, p, y) {
78
+ var T = c.displayName;
79
+ if (T)
80
+ return T;
81
81
  var O = p.displayName || p.name || "";
82
82
  return O !== "" ? y + "(" + O + ")" : y;
83
83
  }
84
84
  function G(c) {
85
85
  return c.displayName || "Context";
86
86
  }
87
- function Q(c) {
87
+ function z(c) {
88
88
  if (c == null)
89
89
  return null;
90
- if (typeof c.tag == "number" && T("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof c == "function")
90
+ if (typeof c.tag == "number" && L("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof c == "function")
91
91
  return c.displayName || c.name || null;
92
92
  if (typeof c == "string")
93
93
  return c;
@@ -114,14 +114,14 @@ function Mt() {
114
114
  var y = c;
115
115
  return G(y._context) + ".Provider";
116
116
  case o:
117
- return J(c, c.render, "ForwardRef");
117
+ return Y(c, c.render, "ForwardRef");
118
118
  case g:
119
- var L = c.displayName || null;
120
- return L !== null ? L : Q(c.type) || "Memo";
119
+ var T = c.displayName || null;
120
+ return T !== null ? T : z(c.type) || "Memo";
121
121
  case m: {
122
122
  var O = c, A = O._payload, P = O._init;
123
123
  try {
124
- return Q(P(A));
124
+ return z(P(A));
125
125
  } catch {
126
126
  return null;
127
127
  }
@@ -129,18 +129,18 @@ function Mt() {
129
129
  }
130
130
  return null;
131
131
  }
132
- var X = Object.assign, oe = 0, Oe, Ae, Me, De, Ne, $e, qe;
133
- function _e() {
132
+ var Z = Object.assign, he = 0, Me, De, $e, Ne, qe, _e, He;
133
+ function Be() {
134
134
  }
135
- _e.__reactDisabledLog = !0;
136
- function lt() {
135
+ Be.__reactDisabledLog = !0;
136
+ function ht() {
137
137
  {
138
- if (oe === 0) {
139
- Oe = console.log, Ae = console.info, Me = console.warn, De = console.error, Ne = console.group, $e = console.groupCollapsed, qe = console.groupEnd;
138
+ if (he === 0) {
139
+ Me = console.log, De = console.info, $e = console.warn, Ne = console.error, qe = console.group, _e = console.groupCollapsed, He = console.groupEnd;
140
140
  var c = {
141
141
  configurable: !0,
142
142
  enumerable: !0,
143
- value: _e,
143
+ value: Be,
144
144
  writable: !0
145
145
  };
146
146
  Object.defineProperties(console, {
@@ -153,77 +153,77 @@ function Mt() {
153
153
  groupEnd: c
154
154
  });
155
155
  }
156
- oe++;
156
+ he++;
157
157
  }
158
158
  }
159
- function ot() {
159
+ function ut() {
160
160
  {
161
- if (oe--, oe === 0) {
161
+ if (he--, he === 0) {
162
162
  var c = {
163
163
  configurable: !0,
164
164
  enumerable: !0,
165
165
  writable: !0
166
166
  };
167
167
  Object.defineProperties(console, {
168
- log: X({}, c, {
169
- value: Oe
170
- }),
171
- info: X({}, c, {
172
- value: Ae
173
- }),
174
- warn: X({}, c, {
168
+ log: Z({}, c, {
175
169
  value: Me
176
170
  }),
177
- error: X({}, c, {
171
+ info: Z({}, c, {
178
172
  value: De
179
173
  }),
180
- group: X({}, c, {
181
- value: Ne
182
- }),
183
- groupCollapsed: X({}, c, {
174
+ warn: Z({}, c, {
184
175
  value: $e
185
176
  }),
186
- groupEnd: X({}, c, {
177
+ error: Z({}, c, {
178
+ value: Ne
179
+ }),
180
+ group: Z({}, c, {
187
181
  value: qe
182
+ }),
183
+ groupCollapsed: Z({}, c, {
184
+ value: _e
185
+ }),
186
+ groupEnd: Z({}, c, {
187
+ value: He
188
188
  })
189
189
  });
190
190
  }
191
- oe < 0 && T("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
191
+ he < 0 && L("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
192
  }
193
193
  }
194
- var Se = I.ReactCurrentDispatcher, Ce;
195
- function fe(c, p, y) {
194
+ var Ce = I.ReactCurrentDispatcher, Le;
195
+ function ye(c, p, y) {
196
196
  {
197
- if (Ce === void 0)
197
+ if (Le === void 0)
198
198
  try {
199
199
  throw Error();
200
200
  } catch (O) {
201
- var L = O.stack.trim().match(/\n( *(at )?)/);
202
- Ce = L && L[1] || "";
201
+ var T = O.stack.trim().match(/\n( *(at )?)/);
202
+ Le = T && T[1] || "";
203
203
  }
204
204
  return `
205
- ` + Ce + c;
205
+ ` + Le + c;
206
206
  }
207
207
  }
208
- var Le = !1, ve;
208
+ var Te = !1, xe;
209
209
  {
210
- var ht = typeof WeakMap == "function" ? WeakMap : Map;
211
- ve = new ht();
210
+ var dt = typeof WeakMap == "function" ? WeakMap : Map;
211
+ xe = new dt();
212
212
  }
213
- function He(c, p) {
214
- if (!c || Le)
213
+ function We(c, p) {
214
+ if (!c || Te)
215
215
  return "";
216
216
  {
217
- var y = ve.get(c);
217
+ var y = xe.get(c);
218
218
  if (y !== void 0)
219
219
  return y;
220
220
  }
221
- var L;
222
- Le = !0;
221
+ var T;
222
+ Te = !0;
223
223
  var O = Error.prepareStackTrace;
224
224
  Error.prepareStackTrace = void 0;
225
225
  var A;
226
- A = Se.current, Se.current = null, lt();
226
+ A = Ce.current, Ce.current = null, ht();
227
227
  try {
228
228
  if (p) {
229
229
  var P = function() {
@@ -236,171 +236,171 @@ function Mt() {
236
236
  }), typeof Reflect == "object" && Reflect.construct) {
237
237
  try {
238
238
  Reflect.construct(P, []);
239
- } catch (ee) {
240
- L = ee;
239
+ } catch (K) {
240
+ T = K;
241
241
  }
242
242
  Reflect.construct(c, [], P);
243
243
  } else {
244
244
  try {
245
245
  P.call();
246
- } catch (ee) {
247
- L = ee;
246
+ } catch (K) {
247
+ T = K;
248
248
  }
249
249
  c.call(P.prototype);
250
250
  }
251
251
  } else {
252
252
  try {
253
253
  throw Error();
254
- } catch (ee) {
255
- L = ee;
254
+ } catch (K) {
255
+ T = K;
256
256
  }
257
257
  c();
258
258
  }
259
- } catch (ee) {
260
- if (ee && L && typeof ee.stack == "string") {
261
- for (var w = ee.stack.split(`
262
- `), V = L.stack.split(`
263
- `), $ = w.length - 1, H = V.length - 1; $ >= 1 && H >= 0 && w[$] !== V[H]; )
259
+ } catch (K) {
260
+ if (K && T && typeof K.stack == "string") {
261
+ for (var w = K.stack.split(`
262
+ `), V = T.stack.split(`
263
+ `), N = w.length - 1, H = V.length - 1; N >= 1 && H >= 0 && w[N] !== V[H]; )
264
264
  H--;
265
- for (; $ >= 1 && H >= 0; $--, H--)
266
- if (w[$] !== V[H]) {
267
- if ($ !== 1 || H !== 1)
265
+ for (; N >= 1 && H >= 0; N--, H--)
266
+ if (w[N] !== V[H]) {
267
+ if (N !== 1 || H !== 1)
268
268
  do
269
- if ($--, H--, H < 0 || w[$] !== V[H]) {
270
- var z = `
271
- ` + w[$].replace(" at new ", " at ");
272
- return c.displayName && z.includes("<anonymous>") && (z = z.replace("<anonymous>", c.displayName)), typeof c == "function" && ve.set(c, z), z;
269
+ if (N--, H--, H < 0 || w[N] !== V[H]) {
270
+ var J = `
271
+ ` + w[N].replace(" at new ", " at ");
272
+ return c.displayName && J.includes("<anonymous>") && (J = J.replace("<anonymous>", c.displayName)), typeof c == "function" && xe.set(c, J), J;
273
273
  }
274
- while ($ >= 1 && H >= 0);
274
+ while (N >= 1 && H >= 0);
275
275
  break;
276
276
  }
277
277
  }
278
278
  } finally {
279
- Le = !1, Se.current = A, ot(), Error.prepareStackTrace = O;
279
+ Te = !1, Ce.current = A, ut(), Error.prepareStackTrace = O;
280
280
  }
281
- var re = c ? c.displayName || c.name : "", et = re ? fe(re) : "";
282
- return typeof c == "function" && ve.set(c, et), et;
281
+ var ie = c ? c.displayName || c.name : "", se = ie ? ye(ie) : "";
282
+ return typeof c == "function" && xe.set(c, se), se;
283
283
  }
284
- function ut(c, p, y) {
285
- return He(c, !1);
284
+ function gt(c, p, y) {
285
+ return We(c, !1);
286
286
  }
287
- function dt(c) {
287
+ function pt(c) {
288
288
  var p = c.prototype;
289
289
  return !!(p && p.isReactComponent);
290
290
  }
291
- function ye(c, p, y) {
291
+ function be(c, p, y) {
292
292
  if (c == null)
293
293
  return "";
294
294
  if (typeof c == "function")
295
- return He(c, dt(c));
295
+ return We(c, pt(c));
296
296
  if (typeof c == "string")
297
- return fe(c);
297
+ return ye(c);
298
298
  switch (c) {
299
299
  case d:
300
- return fe("Suspense");
300
+ return ye("Suspense");
301
301
  case f:
302
- return fe("SuspenseList");
302
+ return ye("SuspenseList");
303
303
  }
304
304
  if (typeof c == "object")
305
305
  switch (c.$$typeof) {
306
306
  case o:
307
- return ut(c.render);
307
+ return gt(c.render);
308
308
  case g:
309
- return ye(c.type, p, y);
309
+ return be(c.type, p, y);
310
310
  case m: {
311
- var L = c, O = L._payload, A = L._init;
311
+ var T = c, O = T._payload, A = T._init;
312
312
  try {
313
- return ye(A(O), p, y);
313
+ return be(A(O), p, y);
314
314
  } catch {
315
315
  }
316
316
  }
317
317
  }
318
318
  return "";
319
319
  }
320
- var xe = Object.prototype.hasOwnProperty, Be = {}, We = I.ReactDebugCurrentFrame;
321
- function be(c) {
320
+ var ue = Object.prototype.hasOwnProperty, Ve = {}, Ue = I.ReactDebugCurrentFrame;
321
+ function Se(c) {
322
322
  if (c) {
323
- var p = c._owner, y = ye(c.type, c._source, p ? p.type : null);
324
- We.setExtraStackFrame(y);
323
+ var p = c._owner, y = be(c.type, c._source, p ? p.type : null);
324
+ Ue.setExtraStackFrame(y);
325
325
  } else
326
- We.setExtraStackFrame(null);
326
+ Ue.setExtraStackFrame(null);
327
327
  }
328
- function gt(c, p, y, L, O) {
328
+ function mt(c, p, y, T, O) {
329
329
  {
330
- var A = Function.call.bind(xe);
330
+ var A = Function.call.bind(ue);
331
331
  for (var P in c)
332
332
  if (A(c, P)) {
333
333
  var w = void 0;
334
334
  try {
335
335
  if (typeof c[P] != "function") {
336
- var V = Error((L || "React class") + ": " + y + " type `" + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof c[P] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
336
+ var V = Error((T || "React class") + ": " + y + " type `" + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof c[P] + "`.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 = c[P](p, P, L, y, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
- } catch ($) {
341
- w = $;
339
+ w = c[P](p, P, T, y, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
+ } catch (N) {
341
+ w = N;
342
342
  }
343
- w && !(w instanceof Error) && (be(O), T("%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).", L || "React class", y, P, typeof w), be(null)), w instanceof Error && !(w.message in Be) && (Be[w.message] = !0, be(O), T("Failed %s type: %s", y, w.message), be(null));
343
+ w && !(w instanceof Error) && (Se(O), 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).", T || "React class", y, P, typeof w), Se(null)), w instanceof Error && !(w.message in Ve) && (Ve[w.message] = !0, Se(O), L("Failed %s type: %s", y, w.message), Se(null));
344
344
  }
345
345
  }
346
346
  }
347
- var pt = Array.isArray;
348
- function Te(c) {
349
- return pt(c);
347
+ var ft = Array.isArray;
348
+ function ke(c) {
349
+ return ft(c);
350
350
  }
351
- function mt(c) {
351
+ function vt(c) {
352
352
  {
353
353
  var p = typeof Symbol == "function" && Symbol.toStringTag, y = p && c[Symbol.toStringTag] || c.constructor.name || "Object";
354
354
  return y;
355
355
  }
356
356
  }
357
- function ft(c) {
357
+ function yt(c) {
358
358
  try {
359
- return Ve(c), !1;
359
+ return Ke(c), !1;
360
360
  } catch {
361
361
  return !0;
362
362
  }
363
363
  }
364
- function Ve(c) {
364
+ function Ke(c) {
365
365
  return "" + c;
366
366
  }
367
- function Ue(c) {
368
- if (ft(c))
369
- return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", mt(c)), Ve(c);
367
+ function Qe(c) {
368
+ if (yt(c))
369
+ return L("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", vt(c)), Ke(c);
370
370
  }
371
- var he = I.ReactCurrentOwner, vt = {
371
+ var de = I.ReactCurrentOwner, xt = {
372
372
  key: !0,
373
373
  ref: !0,
374
374
  __self: !0,
375
375
  __source: !0
376
- }, Ke, Qe, ke;
377
- ke = {};
378
- function yt(c) {
379
- if (xe.call(c, "ref")) {
376
+ }, ze, Je, Re;
377
+ Re = {};
378
+ function bt(c) {
379
+ if (ue.call(c, "ref")) {
380
380
  var p = Object.getOwnPropertyDescriptor(c, "ref").get;
381
381
  if (p && p.isReactWarning)
382
382
  return !1;
383
383
  }
384
384
  return c.ref !== void 0;
385
385
  }
386
- function xt(c) {
387
- if (xe.call(c, "key")) {
386
+ function St(c) {
387
+ if (ue.call(c, "key")) {
388
388
  var p = Object.getOwnPropertyDescriptor(c, "key").get;
389
389
  if (p && p.isReactWarning)
390
390
  return !1;
391
391
  }
392
392
  return c.key !== void 0;
393
393
  }
394
- function bt(c, p) {
395
- if (typeof c.ref == "string" && he.current && p && he.current.stateNode !== p) {
396
- var y = Q(he.current.type);
397
- ke[y] || (T('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', Q(he.current.type), c.ref), ke[y] = !0);
394
+ function Ct(c, p) {
395
+ if (typeof c.ref == "string" && de.current && p && de.current.stateNode !== p) {
396
+ var y = z(de.current.type);
397
+ Re[y] || (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', z(de.current.type), c.ref), Re[y] = !0);
398
398
  }
399
399
  }
400
- function St(c, p) {
400
+ function Lt(c, p) {
401
401
  {
402
402
  var y = function() {
403
- Ke || (Ke = !0, T("%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));
403
+ ze || (ze = !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
405
  y.isReactWarning = !0, Object.defineProperty(c, "key", {
406
406
  get: y,
@@ -408,10 +408,10 @@ function Mt() {
408
408
  });
409
409
  }
410
410
  }
411
- function Ct(c, p) {
411
+ function Tt(c, p) {
412
412
  {
413
413
  var y = function() {
414
- Qe || (Qe = !0, T("%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));
414
+ Je || (Je = !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
416
  y.isReactWarning = !0, Object.defineProperty(c, "ref", {
417
417
  get: y,
@@ -419,7 +419,7 @@ function Mt() {
419
419
  });
420
420
  }
421
421
  }
422
- var Lt = function(c, p, y, L, O, A, P) {
422
+ var kt = function(c, p, y, T, O, A, P) {
423
423
  var w = {
424
424
  // This tag allows us to uniquely identify this as a React Element
425
425
  $$typeof: e,
@@ -440,7 +440,7 @@ function Mt() {
440
440
  configurable: !1,
441
441
  enumerable: !1,
442
442
  writable: !1,
443
- value: L
443
+ value: T
444
444
  }), Object.defineProperty(w, "_source", {
445
445
  configurable: !1,
446
446
  enumerable: !1,
@@ -448,41 +448,41 @@ function Mt() {
448
448
  value: O
449
449
  }), Object.freeze && (Object.freeze(w.props), Object.freeze(w)), w;
450
450
  };
451
- function Tt(c, p, y, L, O) {
451
+ function Rt(c, p, y, T, O) {
452
452
  {
453
453
  var A, P = {}, w = null, V = null;
454
- y !== void 0 && (Ue(y), w = "" + y), xt(p) && (Ue(p.key), w = "" + p.key), yt(p) && (V = p.ref, bt(p, O));
454
+ y !== void 0 && (Qe(y), w = "" + y), St(p) && (Qe(p.key), w = "" + p.key), bt(p) && (V = p.ref, Ct(p, O));
455
455
  for (A in p)
456
- xe.call(p, A) && !vt.hasOwnProperty(A) && (P[A] = p[A]);
456
+ ue.call(p, A) && !xt.hasOwnProperty(A) && (P[A] = p[A]);
457
457
  if (c && c.defaultProps) {
458
- var $ = c.defaultProps;
459
- for (A in $)
460
- P[A] === void 0 && (P[A] = $[A]);
458
+ var N = c.defaultProps;
459
+ for (A in N)
460
+ P[A] === void 0 && (P[A] = N[A]);
461
461
  }
462
462
  if (w || V) {
463
463
  var H = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
464
- w && St(P, H), V && Ct(P, H);
464
+ w && Lt(P, H), V && Tt(P, H);
465
465
  }
466
- return Lt(c, w, V, O, L, he.current, P);
466
+ return kt(c, w, V, O, T, de.current, P);
467
467
  }
468
468
  }
469
- var Re = I.ReactCurrentOwner, ze = I.ReactDebugCurrentFrame;
470
- function se(c) {
469
+ var we = I.ReactCurrentOwner, Ye = I.ReactDebugCurrentFrame;
470
+ function re(c) {
471
471
  if (c) {
472
- var p = c._owner, y = ye(c.type, c._source, p ? p.type : null);
473
- ze.setExtraStackFrame(y);
472
+ var p = c._owner, y = be(c.type, c._source, p ? p.type : null);
473
+ Ye.setExtraStackFrame(y);
474
474
  } else
475
- ze.setExtraStackFrame(null);
475
+ Ye.setExtraStackFrame(null);
476
476
  }
477
- var we;
478
- we = !1;
479
- function Ee(c) {
477
+ var Ee;
478
+ Ee = !1;
479
+ function Ie(c) {
480
480
  return typeof c == "object" && c !== null && c.$$typeof === e;
481
481
  }
482
- function Je() {
482
+ function Xe() {
483
483
  {
484
- if (Re.current) {
485
- var c = Q(Re.current.type);
484
+ if (we.current) {
485
+ var c = z(we.current.type);
486
486
  if (c)
487
487
  return `
488
488
 
@@ -491,7 +491,7 @@ Check the render method of \`` + c + "`.";
491
491
  return "";
492
492
  }
493
493
  }
494
- function kt(c) {
494
+ function wt(c) {
495
495
  {
496
496
  if (c !== void 0) {
497
497
  var p = c.fileName.replace(/^.*[\\\/]/, ""), y = c.lineNumber;
@@ -502,10 +502,10 @@ Check your code at ` + p + ":" + y + ".";
502
502
  return "";
503
503
  }
504
504
  }
505
- var Ye = {};
506
- function Rt(c) {
505
+ var Ge = {};
506
+ function Et(c) {
507
507
  {
508
- var p = Je();
508
+ var p = Xe();
509
509
  if (!p) {
510
510
  var y = typeof c == "string" ? c : c.displayName || c.name;
511
511
  y && (p = `
@@ -515,39 +515,39 @@ Check the top-level render call using <` + y + ">.");
515
515
  return p;
516
516
  }
517
517
  }
518
- function Ge(c, p) {
518
+ function Ze(c, p) {
519
519
  {
520
520
  if (!c._store || c._store.validated || c.key != null)
521
521
  return;
522
522
  c._store.validated = !0;
523
- var y = Rt(p);
524
- if (Ye[y])
523
+ var y = Et(p);
524
+ if (Ge[y])
525
525
  return;
526
- Ye[y] = !0;
527
- var L = "";
528
- c && c._owner && c._owner !== Re.current && (L = " It was passed a child from " + Q(c._owner.type) + "."), se(c), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', y, L), se(null);
526
+ Ge[y] = !0;
527
+ var T = "";
528
+ c && c._owner && c._owner !== we.current && (T = " It was passed a child from " + z(c._owner.type) + "."), re(c), L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', y, T), re(null);
529
529
  }
530
530
  }
531
- function Xe(c, p) {
531
+ function et(c, p) {
532
532
  {
533
533
  if (typeof c != "object")
534
534
  return;
535
- if (Te(c))
535
+ if (ke(c))
536
536
  for (var y = 0; y < c.length; y++) {
537
- var L = c[y];
538
- Ee(L) && Ge(L, p);
537
+ var T = c[y];
538
+ Ie(T) && Ze(T, p);
539
539
  }
540
- else if (Ee(c))
540
+ else if (Ie(c))
541
541
  c._store && (c._store.validated = !0);
542
542
  else if (c) {
543
543
  var O = R(c);
544
544
  if (typeof O == "function" && O !== c.entries)
545
545
  for (var A = O.call(c), P; !(P = A.next()).done; )
546
- Ee(P.value) && Ge(P.value, p);
546
+ Ie(P.value) && Ze(P.value, p);
547
547
  }
548
548
  }
549
549
  }
550
- function wt(c) {
550
+ function It(c) {
551
551
  {
552
552
  var p = c.type;
553
553
  if (p == null || typeof p == "string")
@@ -562,71 +562,86 @@ Check the top-level render call using <` + y + ">.");
562
562
  else
563
563
  return;
564
564
  if (y) {
565
- var L = Q(p);
566
- gt(y, c.props, "prop", L, c);
567
- } else if (p.PropTypes !== void 0 && !we) {
568
- we = !0;
569
- var O = Q(p);
570
- T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", O || "Unknown");
565
+ var T = z(p);
566
+ mt(y, c.props, "prop", T, c);
567
+ } else if (p.PropTypes !== void 0 && !Ee) {
568
+ Ee = !0;
569
+ var O = z(p);
570
+ L("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", O || "Unknown");
571
571
  }
572
- typeof p.getDefaultProps == "function" && !p.getDefaultProps.isReactClassApproved && T("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
- function Et(c) {
575
+ function Pt(c) {
576
576
  {
577
577
  for (var p = Object.keys(c.props), y = 0; y < p.length; y++) {
578
- var L = p[y];
579
- if (L !== "children" && L !== "key") {
580
- se(c), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", L), se(null);
578
+ var T = p[y];
579
+ if (T !== "children" && T !== "key") {
580
+ re(c), L("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", T), re(null);
581
581
  break;
582
582
  }
583
583
  }
584
- c.ref !== null && (se(c), T("Invalid attribute `ref` supplied to `React.Fragment`."), se(null));
584
+ c.ref !== null && (re(c), L("Invalid attribute `ref` supplied to `React.Fragment`."), re(null));
585
585
  }
586
586
  }
587
- function Ze(c, p, y, L, O, A) {
587
+ var tt = {};
588
+ function at(c, p, y, T, O, A) {
588
589
  {
589
590
  var P = _(c);
590
591
  if (!P) {
591
592
  var w = "";
592
593
  (c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (w += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
593
- var V = kt(O);
594
- V ? w += V : w += Je();
595
- var $;
596
- c === null ? $ = "null" : Te(c) ? $ = "array" : c !== void 0 && c.$$typeof === e ? ($ = "<" + (Q(c.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : $ = typeof c, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", $, w);
594
+ var V = wt(O);
595
+ V ? w += V : w += Xe();
596
+ var N;
597
+ c === null ? N = "null" : ke(c) ? N = "array" : c !== void 0 && c.$$typeof === e ? (N = "<" + (z(c.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : N = typeof c, L("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", N, w);
597
598
  }
598
- var H = Tt(c, p, y, O, A);
599
+ var H = Rt(c, p, y, O, A);
599
600
  if (H == null)
600
601
  return H;
601
602
  if (P) {
602
- var z = p.children;
603
- if (z !== void 0)
604
- if (L)
605
- if (Te(z)) {
606
- for (var re = 0; re < z.length; re++)
607
- Xe(z[re], c);
608
- Object.freeze && Object.freeze(z);
603
+ var J = p.children;
604
+ if (J !== void 0)
605
+ if (T)
606
+ if (ke(J)) {
607
+ for (var ie = 0; ie < J.length; ie++)
608
+ et(J[ie], c);
609
+ Object.freeze && Object.freeze(J);
609
610
  } else
610
- T("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
611
+ L("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
611
612
  else
612
- Xe(z, c);
613
+ et(J, c);
613
614
  }
614
- return c === s ? Et(H) : wt(H), H;
615
+ if (ue.call(p, "key")) {
616
+ var se = z(c), K = Object.keys(p).filter(function(Dt) {
617
+ return Dt !== "key";
618
+ }), Pe = K.length > 0 ? "{key: someKey, " + K.join(": ..., ") + ": ...}" : "{key: someKey}";
619
+ if (!tt[se + Pe]) {
620
+ var Mt = K.length > 0 ? "{" + K.join(": ..., ") + ": ...}" : "{}";
621
+ L(`A props object containing a "key" prop is being spread into JSX:
622
+ let props = %s;
623
+ <%s {...props} />
624
+ React keys must be passed directly to JSX without using spread:
625
+ let props = %s;
626
+ <%s key={someKey} {...props} />`, Pe, se, Mt, se), tt[se + Pe] = !0;
627
+ }
628
+ }
629
+ return c === s ? Pt(H) : It(H), H;
615
630
  }
616
631
  }
617
- function It(c, p, y) {
618
- return Ze(c, p, y, !0);
632
+ function jt(c, p, y) {
633
+ return at(c, p, y, !0);
619
634
  }
620
- function Pt(c, p, y) {
621
- return Ze(c, p, y, !1);
635
+ function Ft(c, p, y) {
636
+ return at(c, p, y, !1);
622
637
  }
623
- var jt = Pt, Ft = It;
624
- de.Fragment = s, de.jsx = jt, de.jsxs = Ft;
625
- }()), de;
638
+ var Ot = Ft, At = jt;
639
+ pe.Fragment = s, pe.jsx = Ot, pe.jsxs = At;
640
+ }()), pe;
626
641
  }
627
- process.env.NODE_ENV === "production" ? je.exports = At() : je.exports = Mt();
628
- var u = je.exports, Dt = Object.defineProperty, Nt = (n, e, t) => e in n ? Dt(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, h = (n, e, t) => (Nt(n, typeof e != "symbol" ? e + "" : e, t), t), W = /* @__PURE__ */ ((n) => (n[n.mustache = 0] = "mustache", n[n.vue = 1] = "vue", n[n.react = 2] = "react", n[n.angular = 3] = "angular", n))(W || {});
629
- class $t {
642
+ process.env.NODE_ENV === "production" ? Oe.exports = Nt() : Oe.exports = qt();
643
+ var u = Oe.exports, _t = Object.defineProperty, Ht = (n, e, t) => e in n ? _t(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, h = (n, e, t) => (Ht(n, typeof e != "symbol" ? e + "" : e, t), t), W = /* @__PURE__ */ ((n) => (n[n.mustache = 0] = "mustache", n[n.vue = 1] = "vue", n[n.react = 2] = "react", n[n.angular = 3] = "angular", n))(W || {});
644
+ class Bt {
630
645
  constructor(e) {
631
646
  h(this, "dataLayer"), this.dataLayer = e;
632
647
  }
@@ -768,7 +783,7 @@ class $t {
768
783
  };
769
784
  }
770
785
  }
771
- class Y {
786
+ class X {
772
787
  static deepEqual(e, t) {
773
788
  const s = Object.keys(e), a = Object.keys(t);
774
789
  if (s.length !== a.length)
@@ -805,7 +820,7 @@ class D {
805
820
  this.observers.forEach((e) => e(this.value));
806
821
  }
807
822
  }
808
- class Ie {
823
+ class je {
809
824
  static getOrSetCookie(e, t) {
810
825
  let s = this.getCookie(e);
811
826
  return s == null && (s = t ?? this.makeid(25), this.setCookie(e, s, {
@@ -852,7 +867,7 @@ class te {
852
867
  return e ? e.replace(s, "") : "";
853
868
  }
854
869
  }
855
- class qt {
870
+ class Wt {
856
871
  constructor(e, t) {
857
872
  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, "$itemsPerPage", new D(void 0)), h(this, "$searchObject", new D({
858
873
  query: "",
@@ -861,12 +876,12 @@ class qt {
861
876
  order: "",
862
877
  facets: [],
863
878
  additionalProps: []
864
- })), 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", W.mustache), h(this, "parsedData", new $t(this)), h(this, "sessionId"), h(this, "sessionIdValue", null), h(this, "autoCorrect", !0), h(this, "forceNotCorrect", !1), h(this, "lastSearchValue", ""), h(this, "turnAIAnswerGenerationOn", !1), h(this, "isInfiniteScroll", !1), h(this, "firstSearchHappened", !1), h(this, "facetsWereSet", !1), this.sessionId = e, t && (this.sessionIdValue = t), this.cookieHandlingCallback(t), this.$cookiesDisabled.subscribe(() => {
879
+ })), 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", W.mustache), h(this, "parsedData", new Bt(this)), h(this, "sessionId"), h(this, "sessionIdValue", null), h(this, "autoCorrect", !0), h(this, "forceNotCorrect", !1), h(this, "lastSearchValue", ""), h(this, "turnAIAnswerGenerationOn", !1), h(this, "isInfiniteScroll", !1), h(this, "firstSearchHappened", !1), h(this, "facetsWereSet", !1), this.sessionId = e, t && (this.sessionIdValue = t), this.cookieHandlingCallback(t), this.$cookiesDisabled.subscribe(() => {
865
880
  this.cookieHandlingCallback(t);
866
881
  });
867
882
  }
868
883
  cookieHandlingCallback(e) {
869
- this.cookiesDisabled ? (this.sessionIdValue = null, Ie.deleteCookie(this.sessionId), Ie.deleteCookie("ms_visitorid")) : this.sessionIdValue = Ie.getOrSetCookie(this.sessionId, e);
884
+ this.cookiesDisabled ? (this.sessionIdValue = null, je.deleteCookie(this.sessionId), je.deleteCookie("ms_visitorid")) : this.sessionIdValue = je.getOrSetCookie(this.sessionId, e);
870
885
  }
871
886
  setIsInfiniteScroll(e) {
872
887
  this.isInfiniteScroll = e;
@@ -887,10 +902,10 @@ class qt {
887
902
  this.$loadingChange.setValue(e);
888
903
  }
889
904
  setSearchResults(e) {
890
- this.firstSearchHappened = !0, (!Y.deepEqual(e, this.searchResults ?? [""]) || this.facetsWereSet) && (this.facetsWereSet = !1, this.$searchResults.setValue(e));
905
+ this.firstSearchHappened = !0, (!X.deepEqual(e, this.searchResults ?? [""]) || this.facetsWereSet) && (this.facetsWereSet = !1, this.$searchResults.setValue(e));
891
906
  }
892
907
  setSearchResultsMetadata(e) {
893
- Y.deepEqual(e, this.searchResultsMetadata ?? {}) || this.$searchResultsMetadata.setValue(e);
908
+ X.deepEqual(e, this.searchResultsMetadata ?? {}) || this.$searchResultsMetadata.setValue(e);
894
909
  }
895
910
  setSearchAutosuggest(e) {
896
911
  this.$searchAutosuggest.setValue(e);
@@ -898,19 +913,19 @@ class qt {
898
913
  setSearchObject(e) {
899
914
  var t, s;
900
915
  let a = e;
901
- a = { ...a, itemsPerPage: this.itemsPerPage }, (s = (t = this.searchstaxConfig) == null ? void 0 : t.hooks) != null && s.beforeSearch && a && (a = this.searchstaxConfig.hooks.beforeSearch(a)), a && (!Y.deepEqual(a, this.searchObject ?? {}) || this.forceNotCorrect) && this.$searchObject.setValue(a);
916
+ a = { ...a, itemsPerPage: this.itemsPerPage }, (s = (t = this.searchstaxConfig) == null ? void 0 : t.hooks) != null && s.beforeSearch && a && (a = this.searchstaxConfig.hooks.beforeSearch(a)), a && (!X.deepEqual(a, this.searchObject ?? {}) || this.forceNotCorrect) && this.$searchObject.setValue(a);
902
917
  }
903
918
  setSearchFacets(e) {
904
- this.facetsWereSet = !0, Y.deepEqual(e, this.searchFacets ?? []) || this.$searchFacets.setValue(e);
919
+ this.facetsWereSet = !0, X.deepEqual(e, this.searchFacets ?? []) || this.$searchFacets.setValue(e);
905
920
  }
906
921
  setSearchFacetsCached(e) {
907
- Y.deepEqual(e, this.searchFacetsCached ?? []) || this.$searchFacetsCached.setValue(e);
922
+ X.deepEqual(e, this.searchFacetsCached ?? []) || this.$searchFacetsCached.setValue(e);
908
923
  }
909
924
  setSearchRelatedSearches(e) {
910
- Y.deepEqual(e, this.searchRelatedSearches ?? []) || this.$searchRelatedSearches.setValue(e);
925
+ X.deepEqual(e, this.searchRelatedSearches ?? []) || this.$searchRelatedSearches.setValue(e);
911
926
  }
912
927
  setSearchExternalPromotions(e) {
913
- Y.deepEqual(e, this.searchExternalPromotions ?? []) || this.$searchExternalPromotions.setValue(e);
928
+ X.deepEqual(e, this.searchExternalPromotions ?? []) || this.$searchExternalPromotions.setValue(e);
914
929
  }
915
930
  setLanguage(e) {
916
931
  this.$language.setValue(e);
@@ -1039,7 +1054,7 @@ class qt {
1039
1054
  return this.$itemsPerPage.getValue();
1040
1055
  }
1041
1056
  }
1042
- class ge {
1057
+ class me {
1043
1058
  static combineResultsWithMetadata(e) {
1044
1059
  const t = [], s = parseInt(e.response.start + "");
1045
1060
  return e.response.docs.forEach((a, r) => {
@@ -1174,9 +1189,9 @@ class ge {
1174
1189
  return e === null ? "" : typeof e == "string" ? e : Array.isArray(e) ? e.join(" ") : "";
1175
1190
  }
1176
1191
  }
1177
- class rt {
1192
+ class nt {
1178
1193
  constructor(e) {
1179
- 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);
1194
+ 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 Vt(this.routeName);
1180
1195
  }
1181
1196
  updateUrl(e) {
1182
1197
  const t = this.searchObjectToUrl(e);
@@ -1248,7 +1263,7 @@ class rt {
1248
1263
  };
1249
1264
  }
1250
1265
  }
1251
- class _t {
1266
+ class Vt {
1252
1267
  constructor(e) {
1253
1268
  h(this, "routeName", ""), h(this, "stringify", (t, s) => {
1254
1269
  const a = this.filterOutIgnoredKeys(t, s.ignoredKeys);
@@ -1278,13 +1293,13 @@ class _t {
1278
1293
  return e.indexOf("?") !== -1;
1279
1294
  }
1280
1295
  }
1281
- const ie = {
1296
+ const ne = {
1282
1297
  questionURL: "http://smartsearch-dev.searchstax.co/completion/?q=",
1283
1298
  question: "I_AM_A_QUESTION",
1284
1299
  notQuestion: "I_AM_NOT_A_QUESTION",
1285
1300
  close: "CLOSE"
1286
1301
  };
1287
- class Ht {
1302
+ class Ut {
1288
1303
  constructor(e, t) {
1289
1304
  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");
1290
1305
  const s = this.searchAuthType === "token" ? `Token ${e.searchAuth}` : `Basic ${e.searchAuth}`;
@@ -1342,7 +1357,7 @@ class Ht {
1342
1357
  ));
1343
1358
  }
1344
1359
  cacheFacetsCallback(e) {
1345
- let t = ge.extractFacets(e);
1360
+ let t = me.extractFacets(e);
1346
1361
  this.dataLayer.setSearchFacetsCached(t);
1347
1362
  }
1348
1363
  search(e, t, s = !1, a = !1) {
@@ -1377,13 +1392,13 @@ class Ht {
1377
1392
  startSSE(e, t) {
1378
1393
  if (!this.dataLayer.turnAIAnswerGenerationOn || e === "*" || this.dataLayer.lastSearchValue === e || this.dataLayer.searchObject.facets.length > 0 || this.dataLayer.searchObject.page !== 1)
1379
1394
  return;
1380
- const s = new EventSource(ie.questionURL + e), a = this.dataLayer;
1395
+ const s = new EventSource(ne.questionURL + e), a = this.dataLayer;
1381
1396
  s.onmessage = function(r) {
1382
- if (r.data === ie.question || r.data === ie.notQuestion) {
1397
+ if (r.data === ne.question || r.data === ne.notQuestion) {
1383
1398
  a.setAnswerData("");
1384
1399
  return;
1385
1400
  }
1386
- if (r.data === ie.close) {
1401
+ if (r.data === ne.close) {
1387
1402
  s.close();
1388
1403
  return;
1389
1404
  }
@@ -1417,7 +1432,7 @@ class Ht {
1417
1432
  return "&" + t.join("&");
1418
1433
  }
1419
1434
  }
1420
- class ne {
1435
+ class ce {
1421
1436
  static trackClick(e) {
1422
1437
  const t = {
1423
1438
  key: e.trackApiKey,
@@ -1486,38 +1501,38 @@ class ne {
1486
1501
  }, 0);
1487
1502
  }
1488
1503
  }
1489
- h(ne, "subscribedToClickEvent", !1), h(ne, "msq", () => typeof window < "u" && window != null && window._msq ? window == null ? void 0 : window._msq : []);
1504
+ h(ce, "subscribedToClickEvent", !1), h(ce, "msq", () => typeof window < "u" && window != null && window._msq ? window == null ? void 0 : window._msq : []);
1490
1505
  /*!
1491
1506
  * mustache.js - Logic-less {{mustache}} templates with JavaScript
1492
1507
  * http://github.com/janl/mustache.js
1493
1508
  */
1494
- var Bt = Object.prototype.toString, le = Array.isArray || function(n) {
1495
- return Bt.call(n) === "[object Array]";
1509
+ var Kt = Object.prototype.toString, oe = Array.isArray || function(n) {
1510
+ return Kt.call(n) === "[object Array]";
1496
1511
  };
1497
- function Fe(n) {
1512
+ function Ae(n) {
1498
1513
  return typeof n == "function";
1499
1514
  }
1500
- function Wt(n) {
1501
- return le(n) ? "array" : typeof n;
1515
+ function Qt(n) {
1516
+ return oe(n) ? "array" : typeof n;
1502
1517
  }
1503
- function Pe(n) {
1518
+ function Fe(n) {
1504
1519
  return n.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
1505
1520
  }
1506
- function it(n, e) {
1521
+ function ct(n, e) {
1507
1522
  return n != null && typeof n == "object" && e in n;
1508
1523
  }
1509
- function Vt(n, e) {
1524
+ function zt(n, e) {
1510
1525
  return n != null && typeof n != "object" && n.hasOwnProperty && n.hasOwnProperty(e);
1511
1526
  }
1512
- var Ut = RegExp.prototype.test;
1513
- function Kt(n, e) {
1514
- return Ut.call(n, e);
1527
+ var Jt = RegExp.prototype.test;
1528
+ function Yt(n, e) {
1529
+ return Jt.call(n, e);
1515
1530
  }
1516
- var Qt = /\S/;
1517
- function zt(n) {
1518
- return !Kt(Qt, n);
1531
+ var Xt = /\S/;
1532
+ function Gt(n) {
1533
+ return !Yt(Xt, n);
1519
1534
  }
1520
- var Jt = {
1535
+ var Zt = {
1521
1536
  "&": "&amp;",
1522
1537
  "<": "&lt;",
1523
1538
  ">": "&gt;",
@@ -1527,13 +1542,13 @@ var Jt = {
1527
1542
  "`": "&#x60;",
1528
1543
  "=": "&#x3D;"
1529
1544
  };
1530
- function Yt(n) {
1545
+ function ea(n) {
1531
1546
  return String(n).replace(/[&<>"'`=\/]/g, function(e) {
1532
- return Jt[e];
1547
+ return Zt[e];
1533
1548
  });
1534
1549
  }
1535
- var Gt = /\s*/, Xt = /\s+/, nt = /\s*=/, Zt = /\s*\}/, ea = /#|\^|\/|>|\{|&|=|!/;
1536
- function ta(n, e) {
1550
+ var ta = /\s*/, aa = /\s+/, lt = /\s*=/, sa = /\s*\}/, ra = /#|\^|\/|>|\{|&|=|!/;
1551
+ function ia(n, e) {
1537
1552
  if (!n)
1538
1553
  return [];
1539
1554
  var t = !1, s = [], a = [], r = [], i = !1, l = !1, o = "", d = 0;
@@ -1547,40 +1562,40 @@ function ta(n, e) {
1547
1562
  }
1548
1563
  var g, m, C;
1549
1564
  function E(x) {
1550
- if (typeof x == "string" && (x = x.split(Xt, 2)), !le(x) || x.length !== 2)
1565
+ if (typeof x == "string" && (x = x.split(aa, 2)), !oe(x) || x.length !== 2)
1551
1566
  throw new Error("Invalid tags: " + x);
1552
- g = new RegExp(Pe(x[0]) + "\\s*"), m = new RegExp("\\s*" + Pe(x[1])), C = new RegExp("\\s*" + Pe("}" + x[1]));
1567
+ g = new RegExp(Fe(x[0]) + "\\s*"), m = new RegExp("\\s*" + Fe(x[1])), C = new RegExp("\\s*" + Fe("}" + x[1]));
1553
1568
  }
1554
1569
  E(e || j.tags);
1555
- for (var k = new me(n), R, I, T, N, B, M; !k.eos(); ) {
1556
- if (R = k.pos, T = k.scanUntil(g), T)
1557
- for (var K = 0, v = T.length; K < v; ++K)
1558
- N = T.charAt(K), zt(N) ? (r.push(a.length), o += N) : (l = !0, t = !0, o += " "), a.push(["text", N, R, R + 1]), R += 1, N === `
1570
+ for (var k = new ve(n), R, I, L, $, B, M; !k.eos(); ) {
1571
+ if (R = k.pos, L = k.scanUntil(g), L)
1572
+ for (var Q = 0, v = L.length; Q < v; ++Q)
1573
+ $ = L.charAt(Q), Gt($) ? (r.push(a.length), o += $) : (l = !0, t = !0, o += " "), a.push(["text", $, R, R + 1]), R += 1, $ === `
1559
1574
  ` && (f(), o = "", d = 0, t = !1);
1560
1575
  if (!k.scan(g))
1561
1576
  break;
1562
- if (i = !0, I = k.scan(ea) || "name", k.scan(Gt), I === "=" ? (T = k.scanUntil(nt), k.scan(nt), k.scanUntil(m)) : I === "{" ? (T = k.scanUntil(C), k.scan(Zt), k.scanUntil(m), I = "&") : T = k.scanUntil(m), !k.scan(m))
1577
+ if (i = !0, I = k.scan(ra) || "name", k.scan(ta), I === "=" ? (L = k.scanUntil(lt), k.scan(lt), k.scanUntil(m)) : I === "{" ? (L = k.scanUntil(C), k.scan(sa), k.scanUntil(m), I = "&") : L = k.scanUntil(m), !k.scan(m))
1563
1578
  throw new Error("Unclosed tag at " + k.pos);
1564
- if (I == ">" ? B = [I, T, R, k.pos, o, d, t] : B = [I, T, R, k.pos], d++, a.push(B), I === "#" || I === "^")
1579
+ if (I == ">" ? B = [I, L, R, k.pos, o, d, t] : B = [I, L, R, k.pos], d++, a.push(B), I === "#" || I === "^")
1565
1580
  s.push(B);
1566
1581
  else if (I === "/") {
1567
1582
  if (M = s.pop(), !M)
1568
- throw new Error('Unopened section "' + T + '" at ' + R);
1569
- if (M[1] !== T)
1583
+ throw new Error('Unopened section "' + L + '" at ' + R);
1584
+ if (M[1] !== L)
1570
1585
  throw new Error('Unclosed section "' + M[1] + '" at ' + R);
1571
1586
  } else
1572
- I === "name" || I === "{" || I === "&" ? l = !0 : I === "=" && E(T);
1587
+ I === "name" || I === "{" || I === "&" ? l = !0 : I === "=" && E(L);
1573
1588
  }
1574
1589
  if (f(), M = s.pop(), M)
1575
1590
  throw new Error('Unclosed section "' + M[1] + '" at ' + k.pos);
1576
- return sa(aa(a));
1591
+ return ca(na(a));
1577
1592
  }
1578
- function aa(n) {
1593
+ function na(n) {
1579
1594
  for (var e = [], t, s, a = 0, r = n.length; a < r; ++a)
1580
1595
  t = n[a], t && (t[0] === "text" && s && s[0] === "text" ? (s[1] += t[1], s[3] = t[3]) : (e.push(t), s = t));
1581
1596
  return e;
1582
1597
  }
1583
- function sa(n) {
1598
+ function ca(n) {
1584
1599
  for (var e = [], t = e, s = [], a, r, i = 0, l = n.length; i < l; ++i)
1585
1600
  switch (a = n[i], a[0]) {
1586
1601
  case "#":
@@ -1595,20 +1610,20 @@ function sa(n) {
1595
1610
  }
1596
1611
  return e;
1597
1612
  }
1598
- function me(n) {
1613
+ function ve(n) {
1599
1614
  this.string = n, this.tail = n, this.pos = 0;
1600
1615
  }
1601
- me.prototype.eos = function() {
1616
+ ve.prototype.eos = function() {
1602
1617
  return this.tail === "";
1603
1618
  };
1604
- me.prototype.scan = function(n) {
1619
+ ve.prototype.scan = function(n) {
1605
1620
  var e = this.tail.match(n);
1606
1621
  if (!e || e.index !== 0)
1607
1622
  return "";
1608
1623
  var t = e[0];
1609
1624
  return this.tail = this.tail.substring(t.length), this.pos += t.length, t;
1610
1625
  };
1611
- me.prototype.scanUntil = function(n) {
1626
+ ve.prototype.scanUntil = function(n) {
1612
1627
  var e = this.tail.search(n), t;
1613
1628
  switch (e) {
1614
1629
  case -1:
@@ -1622,13 +1637,13 @@ me.prototype.scanUntil = function(n) {
1622
1637
  }
1623
1638
  return this.pos += t.length, t;
1624
1639
  };
1625
- function ce(n, e) {
1640
+ function le(n, e) {
1626
1641
  this.view = n, this.cache = { ".": this.view }, this.parent = e;
1627
1642
  }
1628
- ce.prototype.push = function(n) {
1629
- return new ce(n, this);
1643
+ le.prototype.push = function(n) {
1644
+ return new le(n, this);
1630
1645
  };
1631
- ce.prototype.lookup = function(n) {
1646
+ le.prototype.lookup = function(n) {
1632
1647
  var e = this.cache, t;
1633
1648
  if (e.hasOwnProperty(n))
1634
1649
  t = e[n];
@@ -1636,9 +1651,9 @@ ce.prototype.lookup = function(n) {
1636
1651
  for (var s = this, a, r, i, l = !1; s; ) {
1637
1652
  if (n.indexOf(".") > 0)
1638
1653
  for (a = s.view, r = n.split("."), i = 0; a != null && i < r.length; )
1639
- i === r.length - 1 && (l = it(a, r[i]) || Vt(a, r[i])), a = a[r[i++]];
1654
+ i === r.length - 1 && (l = ct(a, r[i]) || zt(a, r[i])), a = a[r[i++]];
1640
1655
  else
1641
- a = s.view[n], l = it(s.view, n);
1656
+ a = s.view[n], l = ct(s.view, n);
1642
1657
  if (l) {
1643
1658
  t = a;
1644
1659
  break;
@@ -1647,7 +1662,7 @@ ce.prototype.lookup = function(n) {
1647
1662
  }
1648
1663
  e[n] = t;
1649
1664
  }
1650
- return Fe(t) && (t = t.call(this.view)), t;
1665
+ return Ae(t) && (t = t.call(this.view)), t;
1651
1666
  };
1652
1667
  function U() {
1653
1668
  this.templateCache = {
@@ -1668,10 +1683,10 @@ U.prototype.clearCache = function() {
1668
1683
  };
1669
1684
  U.prototype.parse = function(n, e) {
1670
1685
  var t = this.templateCache, s = n + ":" + (e || j.tags).join(":"), a = typeof t < "u", r = a ? t.get(s) : void 0;
1671
- return r == null && (r = ta(n, e), a && t.set(s, r)), r;
1686
+ return r == null && (r = ia(n, e), a && t.set(s, r)), r;
1672
1687
  };
1673
1688
  U.prototype.render = function(n, e, t, s) {
1674
- var a = this.getConfigTags(s), r = this.parse(n, a), i = e instanceof ce ? e : new ce(e, void 0);
1689
+ var a = this.getConfigTags(s), r = this.parse(n, a), i = e instanceof le ? e : new le(e, void 0);
1675
1690
  return this.renderTokens(r, i, t, n, s);
1676
1691
  };
1677
1692
  U.prototype.renderTokens = function(n, e, t, s, a) {
@@ -1685,12 +1700,12 @@ U.prototype.renderSection = function(n, e, t, s, a) {
1685
1700
  return r.render(g, e, t, a);
1686
1701
  }
1687
1702
  if (l) {
1688
- if (le(l))
1703
+ if (oe(l))
1689
1704
  for (var d = 0, f = l.length; d < f; ++d)
1690
1705
  i += this.renderTokens(n[4], e.push(l[d]), t, s, a);
1691
1706
  else if (typeof l == "object" || typeof l == "string" || typeof l == "number")
1692
1707
  i += this.renderTokens(n[4], e.push(l), t, s, a);
1693
- else if (Fe(l)) {
1708
+ else if (Ae(l)) {
1694
1709
  if (typeof s != "string")
1695
1710
  throw new Error("Cannot use higher-order sections without the original template");
1696
1711
  l = l.call(e.view, s.slice(n[3], n[5]), o), l != null && (i += l);
@@ -1701,7 +1716,7 @@ U.prototype.renderSection = function(n, e, t, s, a) {
1701
1716
  };
1702
1717
  U.prototype.renderInverted = function(n, e, t, s, a) {
1703
1718
  var r = e.lookup(n[1]);
1704
- if (!r || le(r) && r.length === 0)
1719
+ if (!r || oe(r) && r.length === 0)
1705
1720
  return this.renderTokens(n[4], e, t, s, a);
1706
1721
  };
1707
1722
  U.prototype.indentPartial = function(n, e, t) {
@@ -1713,7 +1728,7 @@ U.prototype.indentPartial = function(n, e, t) {
1713
1728
  };
1714
1729
  U.prototype.renderPartial = function(n, e, t, s) {
1715
1730
  if (t) {
1716
- var a = this.getConfigTags(s), r = Fe(t) ? t(n[1]) : t[n[1]];
1731
+ var a = this.getConfigTags(s), r = Ae(t) ? t(n[1]) : t[n[1]];
1717
1732
  if (r != null) {
1718
1733
  var i = n[6], l = n[5], o = n[4], d = r;
1719
1734
  l == 0 && o && (d = this.indentPartial(r, o, i));
@@ -1736,10 +1751,10 @@ U.prototype.rawValue = function(n) {
1736
1751
  return n[1];
1737
1752
  };
1738
1753
  U.prototype.getConfigTags = function(n) {
1739
- return le(n) ? n : n && typeof n == "object" ? n.tags : void 0;
1754
+ return oe(n) ? n : n && typeof n == "object" ? n.tags : void 0;
1740
1755
  };
1741
1756
  U.prototype.getConfigEscape = function(n) {
1742
- if (n && typeof n == "object" && !le(n))
1757
+ if (n && typeof n == "object" && !oe(n))
1743
1758
  return n.escape;
1744
1759
  };
1745
1760
  var j = {
@@ -1759,31 +1774,31 @@ var j = {
1759
1774
  * the cache by setting it to the literal `undefined`.
1760
1775
  */
1761
1776
  set templateCache(n) {
1762
- pe.templateCache = n;
1777
+ fe.templateCache = n;
1763
1778
  },
1764
1779
  /**
1765
1780
  * Gets the default or overridden caching object from the default writer.
1766
1781
  */
1767
1782
  get templateCache() {
1768
- return pe.templateCache;
1783
+ return fe.templateCache;
1769
1784
  }
1770
- }, pe = new U();
1785
+ }, fe = new U();
1771
1786
  j.clearCache = function() {
1772
- return pe.clearCache();
1787
+ return fe.clearCache();
1773
1788
  };
1774
1789
  j.parse = function(n, e) {
1775
- return pe.parse(n, e);
1790
+ return fe.parse(n, e);
1776
1791
  };
1777
1792
  j.render = function(n, e, t, s) {
1778
1793
  if (typeof n != "string")
1779
- throw new TypeError('Invalid template! Template should be a "string" but "' + Wt(n) + '" was given as the first argument for mustache#render(template, view, partials)');
1780
- return pe.render(n, e, t, s);
1794
+ throw new TypeError('Invalid template! Template should be a "string" but "' + Qt(n) + '" was given as the first argument for mustache#render(template, view, partials)');
1795
+ return fe.render(n, e, t, s);
1781
1796
  };
1782
- j.escape = Yt;
1783
- j.Scanner = me;
1784
- j.Context = ce;
1797
+ j.escape = ea;
1798
+ j.Scanner = ve;
1799
+ j.Context = le;
1785
1800
  j.Writer = U;
1786
- const ra = {
1801
+ const la = {
1787
1802
  main: {
1788
1803
  template: `
1789
1804
  {{#shouldShowAnswer}}
@@ -1796,7 +1811,7 @@ const ra = {
1796
1811
  {{/shouldShowAnswer}}
1797
1812
  `
1798
1813
  }
1799
- }, ia = {
1814
+ }, oa = {
1800
1815
  mainTemplate: {
1801
1816
  template: `
1802
1817
  {{#hasExternalPromotions}}
@@ -1830,7 +1845,7 @@ const ra = {
1830
1845
  </div>
1831
1846
  `
1832
1847
  }
1833
- }, na = {
1848
+ }, ha = {
1834
1849
  mainTemplateDesktop: {
1835
1850
  template: `
1836
1851
  {{#hasResultsOrExternalPromotions}}
@@ -1933,7 +1948,7 @@ const ra = {
1933
1948
  `,
1934
1949
  containerClass: "searchstax-facets-pill-facets"
1935
1950
  }
1936
- }, ca = {
1951
+ }, ua = {
1937
1952
  mainTemplate: {
1938
1953
  template: `
1939
1954
  {{#results.length}}
@@ -1961,7 +1976,7 @@ const ra = {
1961
1976
  `,
1962
1977
  loadMoreButtonClass: "searchstax-pagination-load-more"
1963
1978
  }
1964
- }, la = {
1979
+ }, da = {
1965
1980
  main: {
1966
1981
  template: `
1967
1982
  {{#hasRelatedSearches}}
@@ -1985,7 +2000,7 @@ const ra = {
1985
2000
  `,
1986
2001
  relatedSearchContainerClass: "searchstax-related-search-item"
1987
2002
  }
1988
- }, oa = {
2003
+ }, ga = {
1989
2004
  main: {
1990
2005
  template: `
1991
2006
  {{#searchExecuted}}
@@ -2004,7 +2019,7 @@ const ra = {
2004
2019
  `,
2005
2020
  originalQueryClass: "searchstax-feedback-original-query"
2006
2021
  }
2007
- }, ha = {
2022
+ }, pa = {
2008
2023
  mainTemplate: {
2009
2024
  template: `
2010
2025
  <div class="searchstax-search-input-container">
@@ -2021,7 +2036,7 @@ const ra = {
2021
2036
  <div class="searchstax-autosuggest-item-term-container">{{{term}}}</div>
2022
2037
  `
2023
2038
  }
2024
- }, ua = {
2039
+ }, ma = {
2025
2040
  mainTemplate: {
2026
2041
  template: `
2027
2042
  <div class="searchstax-search-results-container">
@@ -2098,7 +2113,7 @@ const ra = {
2098
2113
  {{/searchExecuted}}
2099
2114
  `
2100
2115
  }
2101
- }, da = {
2116
+ }, fa = {
2102
2117
  main: {
2103
2118
  template: `
2104
2119
  {{#searchExecuted}}
@@ -2121,8 +2136,8 @@ const ra = {
2121
2136
  };
2122
2137
  class b {
2123
2138
  }
2124
- h(b, "answer", ra), h(b, "externalPromotions", ia), h(b, "facets", na), h(b, "pagination", ca), h(b, "relatedSearches", la), h(b, "searchFeedback", oa), h(b, "searchInput", ha), h(b, "searchResults", ua), h(b, "sorting", da);
2125
- class ga {
2139
+ h(b, "answer", la), h(b, "externalPromotions", oa), h(b, "facets", ha), h(b, "pagination", ua), h(b, "relatedSearches", da), h(b, "searchFeedback", ga), h(b, "searchInput", pa), h(b, "searchResults", ma), h(b, "sorting", fa);
2140
+ class va {
2126
2141
  constructor(e) {
2127
2142
  h(this, "dataLayer"), h(this, "config"), h(this, "containerId"), h(this, "externalPromotionsContainerId"), h(this, "searchExternalPromotionsMainContainer", null);
2128
2143
  var t, s;
@@ -2173,7 +2188,7 @@ class ga {
2173
2188
  }
2174
2189
  }
2175
2190
  }
2176
- class Z {
2191
+ class ee {
2177
2192
  static addAccessibilityNotificationContainerToBody() {
2178
2193
  if (!document.getElementById("searchAccessibilityContainer")) {
2179
2194
  const e = document.createElement("div");
@@ -2192,7 +2207,7 @@ class Z {
2192
2207
  }, t ?? 100);
2193
2208
  }
2194
2209
  }
2195
- class pa {
2210
+ class ya {
2196
2211
  constructor(e, t) {
2197
2212
  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, i, l) => {
2198
2213
  if (s.stopPropagation(), !a.disabled) {
@@ -2202,8 +2217,8 @@ class pa {
2202
2217
  const f = this.dataLayer.searchObject;
2203
2218
  let g = [...f.facets];
2204
2219
  const m = this.extractFacetValue(a);
2205
- d ? g.find((C) => Y.deepEqual(C, m) ? C : !1) || (this.config.facetingType === "tabs" && (g = g.filter((C) => C.name !== m.name)), g.push(m)) : g = g.filter(
2206
- (C) => !Y.deepEqual(C, m)
2220
+ d ? g.find((C) => X.deepEqual(C, m) ? C : !1) || (this.config.facetingType === "tabs" && (g = g.filter((C) => C.name !== m.name)), g.push(m)) : g = g.filter(
2221
+ (C) => !X.deepEqual(C, m)
2207
2222
  ), setTimeout(() => {
2208
2223
  this.dataLayer.setSearchObject({ ...f, facets: g, page: 1 }), this.config.facetingType === "tabs" && this.renderMainTemplate(this.generateTemplateData(), !0);
2209
2224
  }, 0);
@@ -2298,42 +2313,42 @@ class pa {
2298
2313
  I,
2299
2314
  e
2300
2315
  ), t.appendChild(R);
2301
- const T = R.querySelector(
2316
+ const L = R.querySelector(
2302
2317
  "." + (((f = (d = (o = this.config) == null ? void 0 : o.templates) == null ? void 0 : d.facetItemContainerTemplate) == null ? void 0 : f.facetListTitleContainerClass) || ((g = b.facets.facetItemContainerTemplate) == null ? void 0 : g.facetListTitleContainerClass))
2303
2318
  );
2304
- T == null || T.addEventListener("click", () => {
2319
+ L == null || L.addEventListener("click", () => {
2305
2320
  R.classList.toggle("active");
2306
2321
  });
2307
- const N = R.querySelector(
2322
+ const $ = R.querySelector(
2308
2323
  "." + (((E = (C = (m = this.config) == null ? void 0 : m.templates) == null ? void 0 : C.facetItemContainerTemplate) == null ? void 0 : E.facetListContainerClass) || ((k = b.facets.facetItemContainerTemplate) == null ? void 0 : k.facetListContainerClass))
2309
2324
  );
2310
- N && (e.values.forEach((B) => {
2325
+ $ && (e.values.forEach((B) => {
2311
2326
  this.createFacetListItem(
2312
2327
  B,
2313
- N
2328
+ $
2314
2329
  );
2315
- }), e.hasMoreFacets && this.createHasMoreComponent(e, N, s));
2330
+ }), e.hasMoreFacets && this.createHasMoreComponent(e, $, s));
2316
2331
  }
2317
2332
  }
2318
2333
  isChecked(e) {
2319
2334
  var t;
2320
- return !!((t = this.dataLayer.searchObject.facets) != null && t.find((s) => Y.deepEqual(s, this.extractFacetValue(e))));
2335
+ return !!((t = this.dataLayer.searchObject.facets) != null && t.find((s) => X.deepEqual(s, this.extractFacetValue(e))));
2321
2336
  }
2322
2337
  createFacetListItem(e, t) {
2323
2338
  var s, a, r, i, l, o, d, f, g, m, C, E, k;
2324
2339
  if (typeof document < "u") {
2325
2340
  const R = document == null ? void 0 : document.createElement("div");
2326
2341
  R.classList.add("searchstax-facet-value-container"), e.disabled && R.classList.add("searchstax-facet-value-disabled");
2327
- const I = this.isChecked(e), T = ((r = (a = (s = this.config) == null ? void 0 : s.templates) == null ? void 0 : a.facetItemTemplate) == null ? void 0 : r.template) || ((i = b.facets.facetItemTemplate) == null ? void 0 : i.template);
2342
+ 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) || ((i = b.facets.facetItemTemplate) == null ? void 0 : i.template);
2328
2343
  R.innerHTML = j.render(
2329
- T,
2344
+ L,
2330
2345
  { ...e, isChecked: I }
2331
2346
  );
2332
- let N = (l = b.facets.facetItemTemplate) == null ? void 0 : l.checkTriggerClasses;
2333
- N = ((f = (d = (o = this.config) == null ? void 0 : o.templates) == null ? void 0 : d.facetItemTemplate) == null ? void 0 : f.checkTriggerClasses) || N, N.forEach((B) => {
2347
+ let $ = (l = b.facets.facetItemTemplate) == null ? void 0 : l.checkTriggerClasses;
2348
+ $ = ((f = (d = (o = this.config) == null ? void 0 : o.templates) == null ? void 0 : d.facetItemTemplate) == null ? void 0 : f.checkTriggerClasses) || $, $.forEach((B) => {
2334
2349
  var M;
2335
- (M = R.querySelector("." + B)) == null || M.addEventListener("click", (K) => {
2336
- this.onFacetSelect(K, e, R);
2350
+ (M = R.querySelector("." + B)) == null || M.addEventListener("click", (Q) => {
2351
+ this.onFacetSelect(Q, e, R);
2337
2352
  });
2338
2353
  }), (k = R.querySelector(
2339
2354
  "." + (((C = (m = (g = this.config) == null ? void 0 : g.templates) == null ? void 0 : m.facetItemTemplate) == null ? void 0 : C.inputCheckboxClass) || ((E = b.facets.facetItemTemplate) == null ? void 0 : E.inputCheckboxClass))
@@ -2368,11 +2383,11 @@ class pa {
2368
2383
  onShowMoreLessClick(e, t, s) {
2369
2384
  e.preventDefault();
2370
2385
  const a = s ? this.facetPaginationStepMobile : this.facetPaginationStep, r = s ? this.facetLimits : this.facetLimitsMobile;
2371
- r[t.name] === void 0 ? r[t.name] = a * 2 : r[t.name] <= t.values.length ? (Z.setAccessibilityText(`More Facets shown for ${t.label}`), r[t.name] = r[t.name] + a) : (Z.setAccessibilityText(`Less Facets shown for ${t.label}`), r[t.name] = a), this.generateTemplateData(s), this.renderMainTemplate(this.generateTemplateData());
2386
+ r[t.name] === void 0 ? r[t.name] = a * 2 : r[t.name] <= t.values.length ? (ee.setAccessibilityText(`More Facets shown for ${t.label}`), r[t.name] = r[t.name] + a) : (ee.setAccessibilityText(`Less Facets shown for ${t.label}`), r[t.name] = a), this.generateTemplateData(s), this.renderMainTemplate(this.generateTemplateData());
2372
2387
  }
2373
2388
  renderMainTemplate(e, t) {
2374
2389
  var s, a, r, i, l, o, d, f, g, m, C;
2375
- if (e && (!Y.deepEqual(this.cachedData ?? {}, e) || t)) {
2390
+ if (e && (!X.deepEqual(this.cachedData ?? {}, e) || t)) {
2376
2391
  this.cachedData = e;
2377
2392
  const E = ((r = (a = (s = this.config) == null ? void 0 : s.templates) == null ? void 0 : a.mainTemplateDesktop) == null ? void 0 : r.template) || ((i = b.facets.mainTemplateDesktop) == null ? void 0 : i.template);
2378
2393
  if (this.dataLayer.renderingEngine === W.mustache && this.searchFacetsMainContainer) {
@@ -2492,33 +2507,33 @@ class pa {
2492
2507
  }
2493
2508
  openOverlay() {
2494
2509
  var e;
2495
- Z.setAccessibilityText("Facet overlay opened. Tab to select facets."), this.overlayOpened = !0, this.searchFacetsMainContainer && (typeof document < "u" && document.body.classList.toggle("searchstax-no-scroll"), (e = this.searchFacetsMainContainer.querySelector(".searchstax-facets-mobile-overlay")) == null || e.classList.add("searchstax-show"));
2510
+ ee.setAccessibilityText("Facet overlay opened. Tab to select facets."), this.overlayOpened = !0, this.searchFacetsMainContainer && (typeof document < "u" && document.body.classList.toggle("searchstax-no-scroll"), (e = this.searchFacetsMainContainer.querySelector(".searchstax-facets-mobile-overlay")) == null || e.classList.add("searchstax-show"));
2496
2511
  }
2497
2512
  closeOverlay() {
2498
2513
  var e;
2499
- Z.setAccessibilityText("Facet overlay closed"), this.overlayOpened = !1, this.searchFacetsMainContainer && (typeof document < "u" && document.body.classList.toggle("searchstax-no-scroll"), (e = this.searchFacetsMainContainer.querySelector(".searchstax-facets-mobile-overlay")) == null || e.classList.remove("searchstax-show"));
2514
+ ee.setAccessibilityText("Facet overlay closed"), this.overlayOpened = !1, this.searchFacetsMainContainer && (typeof document < "u" && document.body.classList.toggle("searchstax-no-scroll"), (e = this.searchFacetsMainContainer.querySelector(".searchstax-facets-mobile-overlay")) == null || e.classList.remove("searchstax-show"));
2500
2515
  }
2501
2516
  renderMobileTemplate(e) {
2502
- var t, s, a, r, i, l, o, d, f, g, m, C, E, k, R, I, T, N, B;
2517
+ var t, s, a, r, i, l, o, d, f, g, m, C, E, k, R, I, L, $, B;
2503
2518
  if (e && typeof document < "u") {
2504
2519
  const M = document == null ? void 0 : document.createElement("div");
2505
2520
  M.classList.add("searchstax-facets-container-mobile");
2506
- const K = ((a = (s = (t = this.config) == null ? void 0 : t.templates) == null ? void 0 : s.mainTemplateMobile) == null ? void 0 : a.template) || ((r = b.facets.mainTemplateMobile) == null ? void 0 : r.template);
2521
+ const Q = ((a = (s = (t = this.config) == null ? void 0 : t.templates) == null ? void 0 : s.mainTemplateMobile) == null ? void 0 : a.template) || ((r = b.facets.mainTemplateMobile) == null ? void 0 : r.template);
2507
2522
  if (this.dataLayer.renderingEngine === W.mustache) {
2508
- if (M.innerHTML = j.render(K, {
2523
+ if (M.innerHTML = j.render(Q, {
2509
2524
  ...e,
2510
2525
  overlayOpened: this.overlayOpened
2511
2526
  }), (i = this.searchFacetsMainContainer) == null || i.appendChild(M), (o = (l = this.config) == null ? void 0 : l.templates) != null && o.mainTemplateMobile)
2512
2527
  for (const _ of ((g = (f = (d = this.config) == null ? void 0 : d.templates) == null ? void 0 : f.mainTemplateMobile) == null ? void 0 : g.closeOverlayTriggerClasses) || []) {
2513
- const J = M.querySelector("." + _);
2514
- J && (J.addEventListener("click", this.closeOverlay.bind(this)), J.addEventListener("keyup", (G) => {
2528
+ const Y = M.querySelector("." + _);
2529
+ Y && (Y.addEventListener("click", this.closeOverlay.bind(this)), Y.addEventListener("keyup", (G) => {
2515
2530
  (G.code === "Space" || G.code === "Enter") && this.closeOverlay();
2516
2531
  }));
2517
2532
  }
2518
2533
  else
2519
2534
  for (const _ of b.facets.mainTemplateMobile.closeOverlayTriggerClasses) {
2520
- const J = M.querySelector("." + _);
2521
- J && (J.addEventListener("click", this.closeOverlay.bind(this)), J.addEventListener("keyup", (G) => {
2535
+ const Y = M.querySelector("." + _);
2536
+ Y && (Y.addEventListener("click", this.closeOverlay.bind(this)), Y.addEventListener("keyup", (G) => {
2522
2537
  (G.code === "Space" || G.code === "Enter") && this.closeOverlay();
2523
2538
  }));
2524
2539
  }
@@ -2531,7 +2546,7 @@ class pa {
2531
2546
  );
2532
2547
  x && (this.createSelectedFacetsComponents(x), this.createClearFacetsComponents(x));
2533
2548
  const F = M.querySelector(
2534
- "." + (((B = (N = (T = this.config) == null ? void 0 : T.templates) == null ? void 0 : N.mainTemplateMobile) == null ? void 0 : B.facetsContainerClass) || b.facets.mainTemplateMobile.facetsContainerClass)
2549
+ "." + (((B = ($ = (L = this.config) == null ? void 0 : L.templates) == null ? void 0 : $.mainTemplateMobile) == null ? void 0 : B.facetsContainerClass) || b.facets.mainTemplateMobile.facetsContainerClass)
2535
2550
  );
2536
2551
  if (F) {
2537
2552
  F.innerHTML = "";
@@ -2542,7 +2557,7 @@ class pa {
2542
2557
  }
2543
2558
  }
2544
2559
  }
2545
- class ma {
2560
+ class xa {
2546
2561
  constructor(e) {
2547
2562
  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);
2548
2563
  var t, s, a, r, i, l, o, d, f;
@@ -2625,7 +2640,7 @@ class ma {
2625
2640
  }, 0));
2626
2641
  }
2627
2642
  }
2628
- class fa {
2643
+ class ba {
2629
2644
  constructor(e) {
2630
2645
  h(this, "dataLayer"), h(this, "config"), h(this, "containerId"), h(this, "relatedSearchesContainerClass"), h(this, "searchRelatedSearchesMainContainer", null), h(this, "track");
2631
2646
  var t, s;
@@ -2683,7 +2698,7 @@ class fa {
2683
2698
  }
2684
2699
  }
2685
2700
  }
2686
- class va {
2701
+ class Sa {
2687
2702
  constructor(e) {
2688
2703
  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, typeof document < "u" && (this.searchFeedbackMainContainer = document == null ? void 0 : document.getElementById(
2689
2704
  this.containerId
@@ -2727,7 +2742,7 @@ class va {
2727
2742
  }, 0));
2728
2743
  }
2729
2744
  }
2730
- class ya {
2745
+ class Ca {
2731
2746
  constructor(e) {
2732
2747
  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());
2733
2748
  }
@@ -2815,7 +2830,7 @@ class ya {
2815
2830
  );
2816
2831
  for (let t = 0; t < e.length; t++) {
2817
2832
  const s = e[t];
2818
- t === this.selectedAutosuggestItem ? (s.classList.add("active"), Z.setAccessibilityText(`Selected suggestion: ${s.innerText}`)) : s.classList.remove("active");
2833
+ t === this.selectedAutosuggestItem ? (s.classList.add("active"), ee.setAccessibilityText(`Selected suggestion: ${s.innerText}`)) : s.classList.remove("active");
2819
2834
  }
2820
2835
  }
2821
2836
  }
@@ -2878,7 +2893,7 @@ class ya {
2878
2893
  for (const a in s)
2879
2894
  if (Object.prototype.hasOwnProperty.call(s, a)) {
2880
2895
  const r = s[a];
2881
- r.numFound ? Z.setAccessibilityText("Suggestions are available. Use up and down arrows to navigate while focusing input.", 2e3) : Z.setAccessibilityText("", 0), this.autosuggestResults = r, this.dataLayer.setAutosuggestResults(r), r.numFound > 0 ? r.suggestions.forEach((i) => {
2896
+ r.numFound ? ee.setAccessibilityText("Suggestions are available. Use up and down arrows to navigate while focusing input.", 2e3) : ee.setAccessibilityText("", 0), this.autosuggestResults = r, this.dataLayer.setAutosuggestResults(r), r.numFound > 0 ? r.suggestions.forEach((i) => {
2882
2897
  this.autosuggestContainer && typeof document < "u" && this.autosuggestContainer.appendChild(
2883
2898
  this.createAutosuggestItem(i)
2884
2899
  );
@@ -2887,7 +2902,7 @@ class ya {
2887
2902
  }
2888
2903
  }
2889
2904
  }
2890
- class xa {
2905
+ class La {
2891
2906
  constructor(e) {
2892
2907
  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, this.containerId = e.containerId;
2893
2908
  const t = document == null ? void 0 : document.getElementById(this.containerId);
@@ -2901,7 +2916,7 @@ class xa {
2901
2916
  }
2902
2917
  initializeSubscriptions() {
2903
2918
  this.dataLayer.$searchObject.subscribe(() => {
2904
- Z.setAccessibilityText("Searching...");
2919
+ ee.setAccessibilityText("Searching...");
2905
2920
  }), this.dataLayer.$searchResults.subscribe((e) => {
2906
2921
  e && this.searchResultsContainer && this.renderResults(e);
2907
2922
  });
@@ -2930,9 +2945,9 @@ class xa {
2930
2945
  var t, s, a, r, i;
2931
2946
  if (this.dataLayer.renderingEngine === W.mustache && this.searchResultsContainer)
2932
2947
  if (this.removeLinkClickEvents(), e.length === 0)
2933
- Z.setAccessibilityText("Search has no results"), this.renderNoResultsTemplate();
2948
+ ee.setAccessibilityText("Search has no results"), this.renderNoResultsTemplate();
2934
2949
  else {
2935
- Z.setAccessibilityText(`Showing ${this.dataLayer.parsedData.startResultIndex} through ${this.dataLayer.parsedData.endResultIndex} results from ${this.dataLayer.parsedData.totalResults}. Press tab to navigate through results`);
2950
+ ee.setAccessibilityText(`Showing ${this.dataLayer.parsedData.startResultIndex} through ${this.dataLayer.parsedData.endResultIndex} results from ${this.dataLayer.parsedData.totalResults}. Press tab to navigate through results`);
2936
2951
  const l = ((a = (s = (t = this.config) == null ? void 0 : t.templates) == null ? void 0 : s.searchResultTemplate) == null ? void 0 : a.template) || ((r = b.searchResults.searchResultTemplate) == null ? void 0 : r.template), o = e.map((d) => j.render(l, d));
2937
2952
  ((i = this.config) == null ? void 0 : i.renderMethod) === "infiniteScroll" && this.dataLayer.searchObject.page > 1 ? this.searchResultsContainer.innerHTML += o.join("") : this.searchResultsContainer.innerHTML = o.join(""), this.searchResultLinks = Array.from(
2938
2953
  this.searchResultsContainer.querySelectorAll(
@@ -2982,7 +2997,7 @@ class xa {
2982
2997
  }, 0));
2983
2998
  }
2984
2999
  }
2985
- class ba {
3000
+ class Ta {
2986
3001
  constructor(e) {
2987
3002
  h(this, "dataLayer"), h(this, "config"), h(this, "containerId"), h(this, "selectId"), h(this, "searchSortingMainContainer", null);
2988
3003
  var t, s;
@@ -3033,7 +3048,7 @@ class ba {
3033
3048
  }
3034
3049
  }
3035
3050
  }
3036
- class Sa {
3051
+ class ka {
3037
3052
  constructor(e) {
3038
3053
  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, typeof document < "u" && (this.answerContainer = document == null ? void 0 : document.getElementById(this.containerId)), this.initializeSubscriptions(), this.dataLayer.setIsAnswerWidgetCreated(!0);
3039
3054
  }
@@ -3053,7 +3068,7 @@ class Sa {
3053
3068
  ));
3054
3069
  }
3055
3070
  }
3056
- class Ca {
3071
+ class Ra {
3057
3072
  constructor(e = W.mustache) {
3058
3073
  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), h(this, "renderEngine", W.mustache), e && (this.renderEngine = e);
3059
3074
  }
@@ -3071,7 +3086,7 @@ class Ca {
3071
3086
  this.parseAnswerResultsResponse.bind(this)
3072
3087
  )));
3073
3088
  }), this.dataLayer.$searchResults.subscribe((s) => {
3074
- s && this.dataLayer.searchResultsMetadata && !this.dataLayer.cookiesDisabled && ne.trackSearch({
3089
+ s && this.dataLayer.searchResultsMetadata && !this.dataLayer.cookiesDisabled && ce.trackSearch({
3075
3090
  ...this.dataLayer.parsedData.trackingData,
3076
3091
  impressions: this.dataLayer.searchResultsMetadata.impressions
3077
3092
  });
@@ -3086,11 +3101,11 @@ class Ca {
3086
3101
  }
3087
3102
  initialize(e) {
3088
3103
  var t, s;
3089
- if (this.dataLayer = new qt("searchstax_session_id", e.sessionId), this.renderEngine && this.dataLayer.setRenderingEngine(this.renderEngine), this.handleHooks(), e.analyticsBaseUrl && typeof window < "u" && (window.analyticsBaseUrl = e.analyticsBaseUrl, window._msq = e._msq || [], this.attachAnalyticsScript(e.analyticsSrc)), e.turnAIAnswerGenerationOn === !0 && (this.dataLayer.turnAIAnswerGenerationOn = !0), e.autoCorrect === !1 && (this.dataLayer.autoCorrect = !1), e.language && this.dataLayer.setLanguage(e.language), this.dataLayer.searchstaxConfig || (this.dataLayer.setSearchstaxConfig(e), this.searchHelper = new Ht(
3104
+ if (this.dataLayer = new Wt("searchstax_session_id", e.sessionId), this.renderEngine && this.dataLayer.setRenderingEngine(this.renderEngine), this.handleHooks(), e.analyticsBaseUrl && typeof window < "u" && (window.analyticsBaseUrl = e.analyticsBaseUrl, window._msq = e._msq || [], this.attachAnalyticsScript(e.analyticsSrc)), e.turnAIAnswerGenerationOn === !0 && (this.dataLayer.turnAIAnswerGenerationOn = !0), e.autoCorrect === !1 && (this.dataLayer.autoCorrect = !1), e.language && this.dataLayer.setLanguage(e.language), this.dataLayer.searchstaxConfig || (this.dataLayer.setSearchstaxConfig(e), this.searchHelper = new Ut(
3090
3105
  { ...e, sessionId: this.dataLayer.sessionId },
3091
3106
  this.dataLayer
3092
3107
  )), ((t = e.router) == null ? void 0 : t.enabled) === void 0 || ((s = e.router) == null ? void 0 : s.enabled) === !0) {
3093
- this.routerEnabled = !0, this.routerHelper = new rt(
3108
+ this.routerEnabled = !0, this.routerHelper = new nt(
3094
3109
  e.router ? e.router : { enabled: !0 }
3095
3110
  );
3096
3111
  const a = this.routerHelper.urlToSearchObject(
@@ -3105,7 +3120,7 @@ class Ca {
3105
3120
  );
3106
3121
  });
3107
3122
  } else
3108
- this.routerHelper = new rt({});
3123
+ this.routerHelper = new nt({});
3109
3124
  }
3110
3125
  search(e) {
3111
3126
  if (this.searchHelper) {
@@ -3134,7 +3149,7 @@ class Ca {
3134
3149
  relatedSearch: r.related_search,
3135
3150
  position: r.position
3136
3151
  });
3137
- this.dataLayer.searchResultsMetadata && !this.dataLayer.cookiesDisabled && ne.trackRelatedSearches({
3152
+ this.dataLayer.searchResultsMetadata && !this.dataLayer.cookiesDisabled && ce.trackRelatedSearches({
3138
3153
  ...this.dataLayer.parsedData.trackingData,
3139
3154
  impressions: a
3140
3155
  }), this.dataLayer.setSearchRelatedSearches(s);
@@ -3148,13 +3163,13 @@ class Ca {
3148
3163
  parseSearchResultsResponse(e) {
3149
3164
  var t, s;
3150
3165
  this.handleRouter(), this.dataLayer.setItemsPerPage(parseInt(e.responseHeader.params.rows));
3151
- let a = ge.combineResultsWithMetadata(e), r = ge.extractFacets(e);
3166
+ let a = me.combineResultsWithMetadata(e), r = me.extractFacets(e);
3152
3167
  this.dataLayer.setSearchFacets(r), (s = (t = this.dataLayer.searchstaxConfig) == null ? void 0 : t.hooks) != null && s.afterSearch && (a = this.dataLayer.searchstaxConfig.hooks.afterSearch(a)), this.dataLayer.setSearchExternalPromotions(e.externalLinks ?? []);
3153
- const i = ge.extractSearchResultsMetadata(e);
3168
+ const i = me.extractSearchResultsMetadata(e);
3154
3169
  this.dataLayer.setSearchResultsMetadata(i), this.dataLayer.setSearchResults(a);
3155
3170
  }
3156
3171
  parseAnswerResultsResponse(e) {
3157
- this.handleRouter(), e !== ie.question && e !== ie.notQuestion && this.dataLayer.setAnswerData(this.dataLayer.getAnswerData + e);
3172
+ this.handleRouter(), e !== ne.question && e !== ne.notQuestion && this.dataLayer.setAnswerData(this.dataLayer.getAnswerData + e);
3158
3173
  }
3159
3174
  cacheFacets() {
3160
3175
  var e;
@@ -3176,7 +3191,7 @@ class Ca {
3176
3191
  this.searchHelper && this.dataLayer.setLanguage(e);
3177
3192
  }
3178
3193
  addSearchInputWidget(e, t) {
3179
- this.dataLayer.searchInputConfig || (this.dataLayer.setSearchInputConfig(t), this.searchInputWidget = new ya({
3194
+ this.dataLayer.searchInputConfig || (this.dataLayer.setSearchInputConfig(t), this.searchInputWidget = new Ca({
3180
3195
  containerId: e,
3181
3196
  config: t,
3182
3197
  searchTrigger: this.executeSearch.bind(this),
@@ -3185,14 +3200,14 @@ class Ca {
3185
3200
  }));
3186
3201
  }
3187
3202
  addAnswerWidget(e, t) {
3188
- this.dataLayer.setAnswerData(""), this.answerWidget = new Sa({
3203
+ this.dataLayer.setAnswerData(""), this.answerWidget = new ka({
3189
3204
  containerId: e,
3190
3205
  config: t,
3191
3206
  dataLayer: this.dataLayer
3192
3207
  });
3193
3208
  }
3194
3209
  addSearchResultsWidget(e, t) {
3195
- this.searchResultsConfig || (this.searchResultsConfig = t, this.searchResultsWidget = new xa({
3210
+ this.searchResultsConfig || (this.searchResultsConfig = t, this.searchResultsWidget = new La({
3196
3211
  containerId: e,
3197
3212
  linkClickCallback: this.executeLinkClick.bind(this),
3198
3213
  searchTrigger: this.executeSearch.bind(this),
@@ -3201,7 +3216,7 @@ class Ca {
3201
3216
  }));
3202
3217
  }
3203
3218
  addPaginationWidget(e, t) {
3204
- this.searchPaginationConfig = t, this.searchPaginationWidget = new ma({
3219
+ this.searchPaginationConfig = t, this.searchPaginationWidget = new xa({
3205
3220
  containerId: e,
3206
3221
  config: t,
3207
3222
  dataLayer: this.dataLayer,
@@ -3209,22 +3224,22 @@ class Ca {
3209
3224
  });
3210
3225
  }
3211
3226
  addSearchFeedbackWidget(e, t) {
3212
- this.searchFeedbackConfig || (this.searchFeedbackConfig = t, this.searchFeedbackWidget = new va({
3227
+ this.searchFeedbackConfig = t, this.searchFeedbackWidget = new Sa({
3213
3228
  containerId: e,
3214
3229
  config: t,
3215
3230
  dataLayer: this.dataLayer,
3216
3231
  searchTrigger: this.executeSearch.bind(this)
3217
- }));
3232
+ });
3218
3233
  }
3219
3234
  addSearchSortingWidget(e, t) {
3220
- this.searchSortingConfig || (this.searchSortingConfig = t, this.searchSortingWidget = new ba({
3235
+ this.searchSortingConfig = t, this.searchSortingWidget = new Ta({
3221
3236
  containerId: e,
3222
3237
  config: t,
3223
3238
  dataLayer: this.dataLayer
3224
- }));
3239
+ });
3225
3240
  }
3226
3241
  addRelatedSearchesWidget(e, t) {
3227
- this.relatedSearchesConfig || (this.relatedSearchesConfig = t, this.relatedSearchesWidget = new fa({
3242
+ this.relatedSearchesConfig || (this.relatedSearchesConfig = t, this.relatedSearchesWidget = new ba({
3228
3243
  containerId: e,
3229
3244
  config: t,
3230
3245
  dataLayer: this.dataLayer,
@@ -3234,14 +3249,14 @@ class Ca {
3234
3249
  }, 0));
3235
3250
  }
3236
3251
  addExternalPromotionsWidget(e, t) {
3237
- this.externalPromotionsConfig || (this.externalPromotionsConfig = t, this.externalPromotionsWidget = new ga({
3252
+ this.externalPromotionsConfig = t, this.externalPromotionsWidget = new va({
3238
3253
  containerId: e,
3239
3254
  config: t,
3240
3255
  dataLayer: this.dataLayer
3241
- }));
3256
+ });
3242
3257
  }
3243
3258
  addFacetsWidget(e, t) {
3244
- this.searchFacetsConfig = t, this.searchFacetsWidget = new pa(
3259
+ this.searchFacetsConfig = t, this.searchFacetsWidget = new ya(
3245
3260
  {
3246
3261
  containerId: e,
3247
3262
  config: t,
@@ -3264,18 +3279,18 @@ class Ca {
3264
3279
  (s = (t = this.dataLayer.searchInputConfig) == null ? void 0 : t.hooks) != null && s.beforeAutosuggest && (a = this.dataLayer.searchInputConfig.hooks.beforeAutosuggest(a)), a && a.term !== void 0 && a.queryParams !== void 0 && this.suggest(a.term, a.queryParams);
3265
3280
  }
3266
3281
  trackRelatedSearchClick(e) {
3267
- this.dataLayer.searchResultsMetadata && this.dataLayer.searchRelatedSearches && !this.dataLayer.cookiesDisabled && ne.trackRelatedSearchClick({
3282
+ this.dataLayer.searchResultsMetadata && this.dataLayer.searchRelatedSearches && !this.dataLayer.cookiesDisabled && ce.trackRelatedSearchClick({
3268
3283
  ...this.dataLayer.parsedData.trackingData,
3269
3284
  relatedSearch: e
3270
3285
  });
3271
3286
  }
3272
3287
  executeLinkClick(e) {
3273
3288
  var t, s;
3274
- let a = ge.findResultByUniqueId(
3289
+ let a = me.findResultByUniqueId(
3275
3290
  e,
3276
3291
  this.dataLayer.searchResults ?? []
3277
3292
  );
3278
- a && ((s = (t = this.searchResultsConfig) == null ? void 0 : t.hooks) != null && s.afterLinkClick && (a = this.searchResultsConfig.hooks.afterLinkClick(a)), a && this.dataLayer.searchResultsMetadata && !this.dataLayer.cookiesDisabled && ne.trackClick({
3293
+ a && ((s = (t = this.searchResultsConfig) == null ? void 0 : t.hooks) != null && s.afterLinkClick && (a = this.searchResultsConfig.hooks.afterLinkClick(a)), a && this.dataLayer.searchResultsMetadata && !this.dataLayer.cookiesDisabled && ce.trackClick({
3279
3294
  result: a,
3280
3295
  ...this.dataLayer.parsedData.trackingData
3281
3296
  }).then(() => {
@@ -3297,9 +3312,9 @@ class Ca {
3297
3312
  }
3298
3313
  const S = {
3299
3314
  //@ts-ignore
3300
- searchstax: new Ca("react")
3315
+ searchstax: new Ra("react")
3301
3316
  };
3302
- function Ta(n) {
3317
+ function Ea(n) {
3303
3318
  let e = !1;
3304
3319
  const [t, s] = q([]);
3305
3320
  ae(() => {
@@ -3375,7 +3390,7 @@ function Ta(n) {
3375
3390
  n.inputTemplate && /* @__PURE__ */ u.jsx(u.Fragment, { children: n.inputTemplate(t, r, i, l) })
3376
3391
  ] }) }) });
3377
3392
  }
3378
- function ka(n) {
3393
+ function Ia(n) {
3379
3394
  const [e, t] = q(!1);
3380
3395
  return ae(() => {
3381
3396
  const s = {};
@@ -3401,10 +3416,10 @@ function ka(n) {
3401
3416
  " "
3402
3417
  ] }) });
3403
3418
  }
3404
- function Ra(n) {
3419
+ function Pa(n) {
3405
3420
  const [e, t] = q(
3406
3421
  null
3407
- ), s = Ot();
3422
+ ), s = $t();
3408
3423
  s.current = e;
3409
3424
  const [a, r] = q(""), [i, l] = q(
3410
3425
  null
@@ -3533,7 +3548,7 @@ function Ra(n) {
3533
3548
  e && e.length > 0 && n.resultsTemplate && /* @__PURE__ */ u.jsx(u.Fragment, { children: n.resultsTemplate(e, o) })
3534
3549
  ] }) }) }) });
3535
3550
  }
3536
- function wa(n) {
3551
+ function ja(n) {
3537
3552
  let e = !1;
3538
3553
  const [t, s] = q(!1), [a, r] = q(
3539
3554
  null
@@ -3641,7 +3656,7 @@ function wa(n) {
3641
3656
  n.infiniteScrollTemplate && a && a.isInfiniteScroll && (a == null ? void 0 : a.totalResults) !== 0 && !(a != null && a.isLastPage) && /* @__PURE__ */ u.jsx(u.Fragment, { children: n.infiniteScrollTemplate(a, d) })
3642
3657
  ] }) });
3643
3658
  }
3644
- function Ea(n) {
3659
+ function Fa(n) {
3645
3660
  let e = !1;
3646
3661
  const [t, s] = q(
3647
3662
  null
@@ -3695,7 +3710,7 @@ function Ea(n) {
3695
3710
  ) })
3696
3711
  ] }) });
3697
3712
  }
3698
- function Ia(n) {
3713
+ function Oa(n) {
3699
3714
  let e = !1;
3700
3715
  const [t, s] = q(null), [a] = q(Math.random());
3701
3716
  ae(() => {
@@ -3757,7 +3772,7 @@ function Ia(n) {
3757
3772
  n.searchOverviewTemplate && /* @__PURE__ */ u.jsx(u.Fragment, { children: n.searchOverviewTemplate(t, i) })
3758
3773
  ] }) });
3759
3774
  }
3760
- function Pa(n) {
3775
+ function Aa(n) {
3761
3776
  const [e, t] = q(
3762
3777
  null
3763
3778
  ), [s, a] = q(
@@ -3810,18 +3825,18 @@ function Pa(n) {
3810
3825
  var x;
3811
3826
  return (x = S.searchstax.searchFacetsWidget) == null ? void 0 : x.isChecked(v);
3812
3827
  }
3813
- function T(v, x, F, _, J) {
3814
- var X;
3815
- const G = J ? "mobile-" : "desktop-", Q = document.getElementsByClassName(G + v);
3816
- Q[0] && ((X = S.searchstax.searchFacetsWidget) == null || X.onFacetSelect(
3828
+ function L(v, x, F, _, Y) {
3829
+ var Z;
3830
+ const G = Y ? "mobile-" : "desktop-", z = document.getElementsByClassName(G + v);
3831
+ z[0] && ((Z = S.searchstax.searchFacetsWidget) == null || Z.onFacetSelect(
3817
3832
  x,
3818
3833
  F,
3819
- Q[0],
3834
+ z[0],
3820
3835
  !1,
3821
3836
  I(F)
3822
3837
  ));
3823
3838
  }
3824
- function N(v, x) {
3839
+ function $(v, x) {
3825
3840
  var F;
3826
3841
  (F = S.searchstax.searchFacetsWidget) == null || F.onShowMoreLessClick(
3827
3842
  v,
@@ -3841,7 +3856,7 @@ function Pa(n) {
3841
3856
  var v;
3842
3857
  (v = S.searchstax.searchFacetsWidget) == null || v.openOverlay();
3843
3858
  }
3844
- function K() {
3859
+ function Q() {
3845
3860
  var v;
3846
3861
  (v = S.searchstax.searchFacetsWidget) == null || v.closeOverlay();
3847
3862
  }
@@ -3871,7 +3886,7 @@ function Pa(n) {
3871
3886
  /* @__PURE__ */ u.jsxs("div", { className: "searchstax-facet-values-container", children: [
3872
3887
  v.values.map(
3873
3888
  //@ts-ignore
3874
- (x, F) => (d[F + v.name] = tt(), /* @__PURE__ */ u.jsxs(
3889
+ (x, F) => (d[F + v.name] = st(), /* @__PURE__ */ u.jsxs(
3875
3890
  "div",
3876
3891
  {
3877
3892
  className: `searchstax-facet-value-container ${x.disabled ? "searchstax-facet-value-disabled" : ""}`,
@@ -3891,7 +3906,7 @@ function Pa(n) {
3891
3906
  readOnly: !0,
3892
3907
  disabled: x.disabled,
3893
3908
  onClick: (_) => {
3894
- T(
3909
+ L(
3895
3910
  F + v.name,
3896
3911
  _,
3897
3912
  x
@@ -3906,7 +3921,7 @@ function Pa(n) {
3906
3921
  {
3907
3922
  className: "searchstax-facet-value-label",
3908
3923
  onClick: (_) => {
3909
- T(
3924
+ L(
3910
3925
  F + v.name,
3911
3926
  _,
3912
3927
  x
@@ -3920,7 +3935,7 @@ function Pa(n) {
3920
3935
  {
3921
3936
  className: "searchstax-facet-value-count",
3922
3937
  onClick: (_) => {
3923
- T(
3938
+ L(
3924
3939
  F + v.name,
3925
3940
  _,
3926
3941
  x
@@ -3943,10 +3958,10 @@ function Pa(n) {
3943
3958
  {
3944
3959
  className: "searchstax-facet-show-more-container",
3945
3960
  onClick: (x) => {
3946
- N(x, v);
3961
+ $(x, v);
3947
3962
  },
3948
3963
  onKeyDown: (x) => {
3949
- (x.key === "Enter" || x.key === " ") && N(x, v);
3964
+ (x.key === "Enter" || x.key === " ") && $(x, v);
3950
3965
  },
3951
3966
  children: [
3952
3967
  v.showingAllFacets && /* @__PURE__ */ u.jsx("div", { className: "searchstax-facet-show-less-button searchstax-facet-show-button", children: "less" }),
@@ -3964,9 +3979,9 @@ function Pa(n) {
3964
3979
  d,
3965
3980
  k,
3966
3981
  R,
3967
- T,
3982
+ L,
3968
3983
  I,
3969
- N
3984
+ $
3970
3985
  ) }),
3971
3986
  (s == null ? void 0 : s.hasResultsOrExternalPromotions) && !n.facetsTemplateMobile && /* @__PURE__ */ u.jsx("div", { className: "searchstax-facets-container-mobile", children: /* @__PURE__ */ u.jsxs("div", { className: "searchstax-facets-pills-container", children: [
3972
3987
  /* @__PURE__ */ u.jsx(
@@ -4023,7 +4038,7 @@ function Pa(n) {
4023
4038
  {
4024
4039
  className: "searchstax-search-close",
4025
4040
  onClick: () => {
4026
- K();
4041
+ Q();
4027
4042
  }
4028
4043
  }
4029
4044
  )
@@ -4053,7 +4068,7 @@ function Pa(n) {
4053
4068
  /* @__PURE__ */ u.jsxs("div", { className: "searchstax-facet-values-container", children: [
4054
4069
  v.values.map(
4055
4070
  //@ts-ignore
4056
- (x, F) => (d[F + v.name] = tt(), /* @__PURE__ */ u.jsxs(
4071
+ (x, F) => (d[F + v.name] = st(), /* @__PURE__ */ u.jsxs(
4057
4072
  "div",
4058
4073
  {
4059
4074
  className: `searchstax-facet-value-container ${x.disabled ? "searchstax-facet-value-disabled" : ""}`,
@@ -4073,7 +4088,7 @@ function Pa(n) {
4073
4088
  readOnly: !0,
4074
4089
  disabled: x.disabled,
4075
4090
  onClick: (_) => {
4076
- T(
4091
+ L(
4077
4092
  F + v.name,
4078
4093
  _,
4079
4094
  x,
@@ -4090,7 +4105,7 @@ function Pa(n) {
4090
4105
  {
4091
4106
  className: "searchstax-facet-value-label",
4092
4107
  onClick: (_) => {
4093
- T(
4108
+ L(
4094
4109
  F + v.name,
4095
4110
  _,
4096
4111
  x
@@ -4104,7 +4119,7 @@ function Pa(n) {
4104
4119
  {
4105
4120
  className: "searchstax-facet-value-count",
4106
4121
  onClick: (_) => {
4107
- T(
4122
+ L(
4108
4123
  F + v.name,
4109
4124
  _,
4110
4125
  x
@@ -4156,7 +4171,7 @@ function Pa(n) {
4156
4171
  {
4157
4172
  className: "searchstax-facets-mobile-overlay-done",
4158
4173
  onClick: () => {
4159
- K();
4174
+ Q();
4160
4175
  },
4161
4176
  children: "Done"
4162
4177
  }
@@ -4171,17 +4186,17 @@ function Pa(n) {
4171
4186
  d,
4172
4187
  k,
4173
4188
  R,
4174
- T,
4189
+ L,
4175
4190
  I,
4176
4191
  C,
4177
4192
  B,
4178
4193
  M,
4179
- K,
4194
+ Q,
4180
4195
  E
4181
4196
  ) })
4182
4197
  ] }) });
4183
4198
  }
4184
- function ja(n) {
4199
+ function Ma(n) {
4185
4200
  let e = !1;
4186
4201
  const [t, s] = q(null), [a] = q(Math.random());
4187
4202
  ae(() => {
@@ -4232,7 +4247,7 @@ function ja(n) {
4232
4247
  n.searchRelatedSearchesTemplate && /* @__PURE__ */ u.jsx(u.Fragment, { children: n.searchRelatedSearchesTemplate(t, i) })
4233
4248
  ] });
4234
4249
  }
4235
- function Fa(n) {
4250
+ function Da(n) {
4236
4251
  let e = !1;
4237
4252
  const [t, s] = q(
4238
4253
  null
@@ -4283,13 +4298,13 @@ function Fa(n) {
4283
4298
  ] }) });
4284
4299
  }
4285
4300
  export {
4286
- Fa as SearchstaxExternalPromotionsWidget,
4287
- Pa as SearchstaxFacetsWidget,
4288
- Ta as SearchstaxInputWidget,
4289
- Ia as SearchstaxOverviewWidget,
4290
- wa as SearchstaxPaginationWidget,
4291
- ja as SearchstaxRelatedSearchesWidget,
4292
- Ra as SearchstaxResultWidget,
4293
- Ea as SearchstaxSortingWidget,
4294
- ka as SearchstaxWrapper
4301
+ Da as SearchstaxExternalPromotionsWidget,
4302
+ Aa as SearchstaxFacetsWidget,
4303
+ Ea as SearchstaxInputWidget,
4304
+ Oa as SearchstaxOverviewWidget,
4305
+ ja as SearchstaxPaginationWidget,
4306
+ Ma as SearchstaxRelatedSearchesWidget,
4307
+ Pa as SearchstaxResultWidget,
4308
+ Fa as SearchstaxSortingWidget,
4309
+ Ia as SearchstaxWrapper
4295
4310
  };