@searchcraft/react-sdk 0.12.1 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -115,8 +115,8 @@ var yn = (r, t, e = !0) => {
115
115
  for ((e && r["s-sr"] || !r["s-sr"]) && s.push(r); (r = r.nextSibling) && r["s-sn"] === t; )
116
116
  s.push(r);
117
117
  return s;
118
- }, Ds = (r, t) => r.nodeType === 1 ? r.getAttribute("slot") === null && t === "" || r.getAttribute("slot") === t : r["s-sn"] === t ? !0 : t === "", zt = (r, t = "") => () => {
119
- }, p = (r, t, ...e) => {
118
+ }, Ds = (r, t) => r.nodeType === 1 ? r.getAttribute("slot") === null && t === "" || r.getAttribute("slot") === t : r["s-sn"] === t ? !0 : t === "", Ht = (r, t = "") => () => {
119
+ }, m = (r, t, ...e) => {
120
120
  let s = null, a = null, o = null, n = !1, h = !1;
121
121
  const u = [], l = (C) => {
122
122
  for (let E = 0; E < C.length; E++)
@@ -135,8 +135,8 @@ var yn = (r, t, e = !0) => {
135
135
  u,
136
136
  xn
137
137
  );
138
- const m = vr(r, null);
139
- return m.$attrs$ = t, u.length > 0 && (m.$children$ = u), m.$key$ = a, m.$name$ = o, m;
138
+ const p = vr(r, null);
139
+ return p.$attrs$ = t, u.length > 0 && (p.$children$ = u), p.$key$ = a, p.$name$ = o, p;
140
140
  }, vr = (r, t) => {
141
141
  const e = {
142
142
  $flags$: 0,
@@ -159,7 +159,7 @@ var yn = (r, t, e = !0) => {
159
159
  }), wn = (r) => {
160
160
  if (typeof r.vtag == "function") {
161
161
  const e = { ...r.vattrs };
162
- return r.vkey && (e.key = r.vkey), r.vname && (e.name = r.vname), p(r.vtag, e, ...r.vchildren || []);
162
+ return r.vkey && (e.key = r.vkey), r.vname && (e.name = r.vname), m(r.vtag, e, ...r.vchildren || []);
163
163
  }
164
164
  const t = vr(r.vtag, r.vtext);
165
165
  return t.$attrs$ = r.vattrs, t.$children$ = r.vchildren, t.$key$ = r.vkey, t.$name$ = r.vname, t;
@@ -176,15 +176,15 @@ var yn = (r, t, e = !0) => {
176
176
  }, ca = (r, t, e) => {
177
177
  const s = we.ce(t, e);
178
178
  return r.dispatchEvent(s), s;
179
- }, hr = /* @__PURE__ */ new WeakMap(), Hs = (r, t, e, s, a, o) => {
179
+ }, hr = /* @__PURE__ */ new WeakMap(), zs = (r, t, e, s, a, o) => {
180
180
  if (e !== s) {
181
181
  let n = Os(r, t), h = t.toLowerCase();
182
182
  if (t === "class") {
183
- const u = r.classList, l = zs(e);
184
- let m = zs(s);
185
- r["s-si"] ? (m.push(r["s-si"]), l.forEach((C) => {
186
- C.startsWith(r["s-si"]) && m.push(C);
187
- }), m = [...new Set(m)], u.add(...m), delete r["s-si"]) : (u.remove(...l.filter((C) => C && !m.includes(C))), u.add(...m.filter((C) => C && !l.includes(C))));
183
+ const u = r.classList, l = Hs(e);
184
+ let p = Hs(s);
185
+ r["s-si"] ? (p.push(r["s-si"]), l.forEach((C) => {
186
+ C.startsWith(r["s-si"]) && p.push(C);
187
+ }), p = [...new Set(p)], u.add(...p), delete r["s-si"]) : (u.remove(...l.filter((C) => C && !p.includes(C))), u.add(...p.filter((C) => C && !l.includes(C))));
188
188
  } else if (t === "style") {
189
189
  for (const u in e)
190
190
  (!s || s[u] == null) && (u.includes("-") ? r.style.removeProperty(u) : r.style[u] = "");
@@ -210,14 +210,14 @@ var yn = (r, t, e = !0) => {
210
210
  s == null || s === !1 ? (s !== !1 || r.getAttribute(t) === "") && r.removeAttribute(t) : (!n || o & 4 || a) && !u && (s = s === !0 ? "" : s, r.setAttribute(t, s));
211
211
  }
212
212
  }
213
- }, Rn = /\s/, zs = (r) => (typeof r == "object" && "baseVal" in r && (r = r.baseVal), r ? r.split(Rn) : []), la = "Capture", En = new RegExp(la + "$"), ua = (r, t, e) => {
213
+ }, Rn = /\s/, Hs = (r) => (typeof r == "object" && "baseVal" in r && (r = r.baseVal), r ? r.split(Rn) : []), la = "Capture", En = new RegExp(la + "$"), ua = (r, t, e) => {
214
214
  const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, a = r && r.$attrs$ || {}, o = t.$attrs$ || {};
215
- for (const n of Us(Object.keys(a)))
216
- n in o || Hs(s, n, a[n], void 0, e, t.$flags$);
217
- for (const n of Us(Object.keys(o)))
218
- Hs(s, n, a[n], o[n], e, t.$flags$);
215
+ for (const n of Bs(Object.keys(a)))
216
+ n in o || zs(s, n, a[n], void 0, e, t.$flags$);
217
+ for (const n of Bs(Object.keys(o)))
218
+ zs(s, n, a[n], o[n], e, t.$flags$);
219
219
  };
220
- function Us(r) {
220
+ function Bs(r) {
221
221
  return r.includes("ref") ? (
222
222
  // we need to sort these to ensure that `'ref'` is the last attr
223
223
  [...r.filter((t) => t !== "ref"), "ref"]
@@ -252,57 +252,57 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
252
252
  h = Cr(r, a, o), h && n.appendChild(h);
253
253
  a.$tag$ === "svg" ? Re = !1 : n.tagName === "foreignObject" && (Re = !0);
254
254
  }
255
- return n["s-hn"] = os, a.$flags$ & 3 && (n["s-sr"] = !0, n["s-cr"] = Jr, n["s-sn"] = a.$name$ || "", n["s-rf"] = (s = a.$attrs$) == null ? void 0 : s.ref, u = r && r.$children$ && r.$children$[e], u && u.$tag$ === a.$tag$ && r.$elm$ && Ut(r.$elm$, !1)), n;
256
- }, Ut = (r, t) => {
255
+ return n["s-hn"] = os, a.$flags$ & 3 && (n["s-sr"] = !0, n["s-cr"] = Jr, n["s-sn"] = a.$name$ || "", n["s-rf"] = (s = a.$attrs$) == null ? void 0 : s.ref, u = r && r.$children$ && r.$children$[e], u && u.$tag$ === a.$tag$ && r.$elm$ && Bt(r.$elm$, !1)), n;
256
+ }, Bt = (r, t) => {
257
257
  we.$flags$ |= 1;
258
258
  const e = Array.from(r.__childNodes || r.childNodes);
259
259
  r["s-sr"] && Rt.experimentalSlotFixes;
260
260
  for (let s = e.length - 1; s >= 0; s--) {
261
261
  const a = e[s];
262
- a["s-hn"] !== os && a["s-ol"] && (rt(Bt(a).parentNode, a, Bt(a)), a["s-ol"].remove(), a["s-ol"] = void 0, a["s-sh"] = void 0, is = !0), t && Ut(a, t);
262
+ a["s-hn"] !== os && a["s-ol"] && (rt(Ut(a).parentNode, a, Ut(a)), a["s-ol"].remove(), a["s-ol"] = void 0, a["s-sh"] = void 0, is = !0), t && Bt(a, t);
263
263
  }
264
264
  we.$flags$ &= -2;
265
265
  }, ha = (r, t, e, s, a, o) => {
266
266
  let n = r["s-cr"] && r["s-cr"].parentNode || r, h;
267
267
  for (; a <= o; ++a)
268
- s[a] && (h = Cr(null, e, a), h && (s[a].$elm$ = h, rt(n, h, Bt(t))));
268
+ s[a] && (h = Cr(null, e, a), h && (s[a].$elm$ = h, rt(n, h, Ut(t))));
269
269
  }, da = (r, t, e) => {
270
270
  for (let s = t; s <= e; ++s) {
271
271
  const a = r[s];
272
272
  if (a) {
273
273
  const o = a.$elm$;
274
- o && (kr = !0, o["s-ol"] ? o["s-ol"].remove() : Ut(o, !0), o.remove());
274
+ o && (kr = !0, o["s-ol"] ? o["s-ol"].remove() : Bt(o, !0), o.remove());
275
275
  }
276
276
  }
277
277
  }, Tn = (r, t, e, s, a = !1) => {
278
- let o = 0, n = 0, h = 0, u = 0, l = t.length - 1, m = t[0], C = t[l], E = s.length - 1, _ = s[0], I = s[E], z, D;
278
+ let o = 0, n = 0, h = 0, u = 0, l = t.length - 1, p = t[0], C = t[l], E = s.length - 1, _ = s[0], I = s[E], H, D;
279
279
  for (; o <= l && n <= E; )
280
- if (m == null)
281
- m = t[++o];
280
+ if (p == null)
281
+ p = t[++o];
282
282
  else if (C == null)
283
283
  C = t[--l];
284
284
  else if (_ == null)
285
285
  _ = s[++n];
286
286
  else if (I == null)
287
287
  I = s[--E];
288
- else if (dr(m, _, a))
289
- xt(m, _, a), m = t[++o], _ = s[++n];
288
+ else if (dr(p, _, a))
289
+ xt(p, _, a), p = t[++o], _ = s[++n];
290
290
  else if (dr(C, I, a))
291
291
  xt(C, I, a), C = t[--l], I = s[--E];
292
- else if (dr(m, I, a))
293
- (m.$tag$ === "slot" || I.$tag$ === "slot") && Ut(m.$elm$.parentNode, !1), xt(m, I, a), rt(r, m.$elm$, C.$elm$.nextSibling), m = t[++o], I = s[--E];
292
+ else if (dr(p, I, a))
293
+ (p.$tag$ === "slot" || I.$tag$ === "slot") && Bt(p.$elm$.parentNode, !1), xt(p, I, a), rt(r, p.$elm$, C.$elm$.nextSibling), p = t[++o], I = s[--E];
294
294
  else if (dr(C, _, a))
295
- (m.$tag$ === "slot" || I.$tag$ === "slot") && Ut(C.$elm$.parentNode, !1), xt(C, _, a), rt(r, C.$elm$, m.$elm$), C = t[--l], _ = s[++n];
295
+ (p.$tag$ === "slot" || I.$tag$ === "slot") && Bt(C.$elm$.parentNode, !1), xt(C, _, a), rt(r, C.$elm$, p.$elm$), C = t[--l], _ = s[++n];
296
296
  else {
297
297
  for (h = -1, u = o; u <= l; ++u)
298
298
  if (t[u] && t[u].$key$ !== null && t[u].$key$ === _.$key$) {
299
299
  h = u;
300
300
  break;
301
301
  }
302
- h >= 0 ? (D = t[h], D.$tag$ !== _.$tag$ ? z = Cr(t && t[n], e, h) : (xt(D, _, a), t[h] = void 0, z = D.$elm$), _ = s[++n]) : (z = Cr(t && t[n], e, n), _ = s[++n]), z && rt(
303
- Bt(m.$elm$).parentNode,
304
- z,
305
- Bt(m.$elm$)
302
+ h >= 0 ? (D = t[h], D.$tag$ !== _.$tag$ ? H = Cr(t && t[n], e, h) : (xt(D, _, a), t[h] = void 0, H = D.$elm$), _ = s[++n]) : (H = Cr(t && t[n], e, n), _ = s[++n]), H && rt(
303
+ Ut(p.$elm$).parentNode,
304
+ H,
305
+ Ut(p.$elm$)
306
306
  );
307
307
  }
308
308
  o > l ? ha(
@@ -313,7 +313,7 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
313
313
  n,
314
314
  E
315
315
  ) : n > E && da(t, o, l);
316
- }, dr = (r, t, e = !1) => r.$tag$ === t.$tag$ ? r.$tag$ === "slot" ? r.$name$ === t.$name$ : e ? (e && !r.$key$ && t.$key$ && (r.$key$ = t.$key$), !0) : r.$key$ === t.$key$ : !1, Bt = (r) => r && r["s-ol"] || r, xt = (r, t, e = !1) => {
316
+ }, dr = (r, t, e = !1) => r.$tag$ === t.$tag$ ? r.$tag$ === "slot" ? r.$name$ === t.$name$ : e ? (e && !r.$key$ && t.$key$ && (r.$key$ = t.$key$), !0) : r.$key$ === t.$key$ : !1, Ut = (r) => r && r["s-ol"] || r, xt = (r, t, e = !1) => {
317
317
  const s = t.$elm$ = r.$elm$, a = r.$children$, o = t.$children$, n = t.$tag$, h = t.$text$;
318
318
  let u;
319
319
  h === null ? (Re = n === "svg" ? !0 : n === "foreignObject" ? !1 : Re, n === "slot" && !yr || ua(r, t, Re), a !== null && o !== null ? Tn(s, a, t, o, e) : o !== null ? (r.$text$ !== null && (s.textContent = ""), ha(s, null, t, o, 0, o.length - 1)) : (
@@ -345,23 +345,23 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
345
345
  }
346
346
  }, rt = (r, t, e) => r == null ? void 0 : r.insertBefore(t, e), Pn = (r, t, e = !1) => {
347
347
  var s, a, o, n;
348
- const h = r.$hostElement$, u = r.$vnode$ || vr(null, null), l = Cn(t) ? t : p(null, null, t);
348
+ const h = r.$hostElement$, u = r.$vnode$ || vr(null, null), l = Cn(t) ? t : m(null, null, t);
349
349
  if (os = h.tagName, e && l.$attrs$)
350
- for (const m of Object.keys(l.$attrs$))
351
- h.hasAttribute(m) && !["key", "ref", "style", "class"].includes(m) && (l.$attrs$[m] = h[m]);
350
+ for (const p of Object.keys(l.$attrs$))
351
+ h.hasAttribute(p) && !["key", "ref", "style", "class"].includes(p) && (l.$attrs$[p] = h[p]);
352
352
  l.$tag$ = null, l.$flags$ |= 4, r.$vnode$ = l, l.$elm$ = u.$elm$ = h, yr = hn, Jr = h["s-cr"], kr = !1, xt(u, l, e);
353
353
  {
354
354
  if (we.$flags$ |= 1, is) {
355
355
  fa(l.$elm$);
356
- for (const m of We) {
357
- const C = m.$nodeToRelocate$;
356
+ for (const p of We) {
357
+ const C = p.$nodeToRelocate$;
358
358
  if (!C["s-ol"]) {
359
359
  const E = St.createTextNode("");
360
360
  E["s-nr"] = C, rt(C.parentNode, C["s-ol"] = E, C);
361
361
  }
362
362
  }
363
- for (const m of We) {
364
- const C = m.$nodeToRelocate$, E = m.$slotRefNode$;
363
+ for (const p of We) {
364
+ const C = p.$nodeToRelocate$, E = p.$slotRefNode$;
365
365
  if (E) {
366
366
  const _ = E.parentNode;
367
367
  let I = E.nextSibling;
@@ -380,8 +380,8 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
380
380
  P = P.previousSibling;
381
381
  }
382
382
  }
383
- const z = C.__parentNode || C.parentNode, D = C.__nextSibling || C.nextSibling;
384
- (!I && _ !== z || D !== I) && C !== I && (!C["s-hn"] && C["s-ol"] && (C["s-hn"] = C["s-ol"].parentNode.nodeName), rt(_, C, I), C.nodeType === 1 && C.tagName !== "SLOT-FB" && (C.hidden = (o = C["s-ih"]) != null ? o : !1)), C && typeof E["s-rf"] == "function" && E["s-rf"](C);
383
+ const H = C.__parentNode || C.parentNode, D = C.__nextSibling || C.nextSibling;
384
+ (!I && _ !== H || D !== I) && C !== I && (!C["s-hn"] && C["s-ol"] && (C["s-hn"] = C["s-ol"].parentNode.nodeName), rt(_, C, I), C.nodeType === 1 && C.tagName !== "SLOT-FB" && (C.hidden = (o = C["s-ih"]) != null ? o : !1)), C && typeof E["s-rf"] == "function" && E["s-rf"](C);
385
385
  } else
386
386
  C.nodeType === 1 && (e && (C["s-ih"] = (n = C.hidden) != null ? n : !1), C.hidden = !0);
387
387
  }
@@ -406,7 +406,7 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
406
406
  }
407
407
  return pa(r, r.$ancestorComponent$), pn(() => $n(r, t));
408
408
  }, $n = (r, t) => {
409
- const e = r.$hostElement$, s = zt("scheduleUpdate", r.$cmpMeta$.$tagName$), a = e;
409
+ const e = r.$hostElement$, s = Ht("scheduleUpdate", r.$cmpMeta$.$tagName$), a = e;
410
410
  if (!a)
411
411
  throw new Error(
412
412
  `Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
@@ -417,7 +417,7 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
417
417
  console.error(e), t();
418
418
  }) : t(), In = (r) => r instanceof Promise || r && r.then && typeof r.then == "function", An = async (r, t, e) => {
419
419
  var s;
420
- const a = r.$hostElement$, o = zt("update", r.$cmpMeta$.$tagName$), n = a["s-rc"], h = zt("render", r.$cmpMeta$.$tagName$);
420
+ const a = r.$hostElement$, o = Ht("update", r.$cmpMeta$.$tagName$), n = a["s-rc"], h = Ht("render", r.$cmpMeta$.$tagName$);
421
421
  Mn(r, t, a, e), n && (n.map((u) => u()), a["s-rc"] = void 0), h(), o();
422
422
  {
423
423
  const u = (s = a["s-p"]) != null ? s : [], l = () => On(r);
@@ -431,7 +431,7 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
431
431
  }
432
432
  return null;
433
433
  }, On = (r) => {
434
- const t = r.$cmpMeta$.$tagName$, e = r.$hostElement$, s = zt("postUpdate", t), a = e, o = r.$ancestorComponent$;
434
+ const t = r.$cmpMeta$.$tagName$, e = r.$hostElement$, s = Ht("postUpdate", t), a = e, o = r.$ancestorComponent$;
435
435
  r.$flags$ & 64 ? s() : (r.$flags$ |= 64, ma(e), Fn(a, "componentDidLoad", void 0, e), s(), r.$onReadyResolve$(e), o || Ln()), r.$onRenderResolve$ && (r.$onRenderResolve$(), r.$onRenderResolve$ = void 0), r.$flags$ & 512 && as(() => cs(r, !1)), r.$flags$ &= -517;
436
436
  }, Ln = (r) => {
437
437
  ma(St.documentElement), as(() => ca(wr, "appload", { detail: { namespace: rn } }));
@@ -445,7 +445,7 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
445
445
  }, ma = (r) => {
446
446
  var t;
447
447
  return r.classList.add((t = Rt.hydratedSelectorName) != null ? t : "hydrated");
448
- }, Dn = (r, t) => st(r).$instanceValues$.get(t), Bs = (r, t, e, s) => {
448
+ }, Dn = (r, t) => st(r).$instanceValues$.get(t), Us = (r, t, e, s) => {
449
449
  const a = st(r), o = r, n = a.$instanceValues$.get(t), h = a.$flags$, u = o;
450
450
  e = ia(e, s.$members$[t][0]);
451
451
  const l = Number.isNaN(n) && Number.isNaN(e);
@@ -473,8 +473,8 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
473
473
  const n = Object.entries((s = t.$members$) != null ? s : {});
474
474
  n.map(([h, [u]]) => {
475
475
  if (u & 31 || u & 32) {
476
- const { get: l, set: m } = Object.getOwnPropertyDescriptor(o, h) || {};
477
- l && (t.$members$[h][0] |= 2048), m && (t.$members$[h][0] |= 4096), Object.defineProperty(o, h, {
476
+ const { get: l, set: p } = Object.getOwnPropertyDescriptor(o, h) || {};
477
+ l && (t.$members$[h][0] |= 2048), p && (t.$members$[h][0] |= 4096), Object.defineProperty(o, h, {
478
478
  get() {
479
479
  return l ? l.apply(this) : Dn(this, h);
480
480
  },
@@ -483,13 +483,13 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
483
483
  }), Object.defineProperty(o, h, {
484
484
  set(C) {
485
485
  const E = st(this);
486
- if (m) {
486
+ if (p) {
487
487
  const _ = u & 32 ? this[h] : E.$hostElement$[h];
488
- typeof _ > "u" && E.$instanceValues$.get(h) ? C = E.$instanceValues$.get(h) : !E.$instanceValues$.get(h) && _ && E.$instanceValues$.set(h, _), m.apply(this, [ia(C, u)]), C = u & 32 ? this[h] : E.$hostElement$[h], Bs(this, h, C, t);
488
+ typeof _ > "u" && E.$instanceValues$.get(h) ? C = E.$instanceValues$.get(h) : !E.$instanceValues$.get(h) && _ && E.$instanceValues$.set(h, _), p.apply(this, [ia(C, u)]), C = u & 32 ? this[h] : E.$hostElement$[h], Us(this, h, C, t);
489
489
  return;
490
490
  }
491
491
  {
492
- Bs(this, h, C, t);
492
+ Us(this, h, C, t);
493
493
  return;
494
494
  }
495
495
  }
@@ -498,27 +498,27 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
498
498
  });
499
499
  {
500
500
  const h = /* @__PURE__ */ new Map();
501
- o.attributeChangedCallback = function(u, l, m) {
501
+ o.attributeChangedCallback = function(u, l, p) {
502
502
  we.jmp(() => {
503
503
  var C;
504
504
  const E = h.get(u);
505
505
  if (!(this.hasOwnProperty(E) && Rt.lazyLoad)) {
506
506
  if (o.hasOwnProperty(E) && typeof this[E] == "number" && // cast type to number to avoid TS compiler issues
507
- this[E] == m)
507
+ this[E] == p)
508
508
  return;
509
509
  if (E == null) {
510
- const I = st(this), z = I == null ? void 0 : I.$flags$;
511
- if (z && !(z & 8) && z & 128 && m !== l) {
510
+ const I = st(this), H = I == null ? void 0 : I.$flags$;
511
+ if (H && !(H & 8) && H & 128 && p !== l) {
512
512
  const P = this, M = (C = t.$watchers$) == null ? void 0 : C[u];
513
- M == null || M.forEach((q) => {
514
- P[q] != null && P[q].call(P, m, l, u);
513
+ M == null || M.forEach((V) => {
514
+ P[V] != null && P[V].call(P, p, l, u);
515
515
  });
516
516
  }
517
517
  return;
518
518
  }
519
519
  }
520
520
  const _ = Object.getOwnPropertyDescriptor(o, E);
521
- m = m === null && typeof this[E] == "boolean" ? !1 : m, m !== this[E] && (!_.get || _.set) && (this[E] = m);
521
+ p = p === null && typeof this[E] == "boolean" ? !1 : p, p !== this[E] && (!_.get || _.set) && (this[E] = p);
522
522
  });
523
523
  }, r.observedAttributes = Array.from(
524
524
  /* @__PURE__ */ new Set([
@@ -527,15 +527,15 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
527
527
  ([u, l]) => l[0] & 15
528
528
  /* HasAttribute */
529
529
  ).map(([u, l]) => {
530
- const m = l[1] || u;
531
- return h.set(m, u), m;
530
+ const p = l[1] || u;
531
+ return h.set(p, u), p;
532
532
  })
533
533
  ])
534
534
  );
535
535
  }
536
536
  }
537
537
  return r;
538
- }, Hn = async (r, t, e, s) => {
538
+ }, zn = async (r, t, e, s) => {
539
539
  if (!(t.$flags$ & 32)) {
540
540
  t.$flags$ |= 32;
541
541
  {
@@ -548,15 +548,15 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
548
548
  }
549
549
  const a = t.$ancestorComponent$, o = () => cs(t, !0);
550
550
  a && a["s-rc"] ? a["s-rc"].push(o) : o();
551
- }, zn = (r, t) => {
552
- }, Un = (r) => {
551
+ }, Hn = (r, t) => {
552
+ }, Bn = (r) => {
553
553
  if (!(we.$flags$ & 1)) {
554
- const t = st(r), e = t.$cmpMeta$, s = zt("connectedCallback", e.$tagName$);
554
+ const t = st(r), e = t.$cmpMeta$, s = Ht("connectedCallback", e.$tagName$);
555
555
  if (t.$flags$ & 1)
556
- t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => zn());
556
+ t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Hn());
557
557
  else {
558
558
  t.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
559
- e.$flags$ & 12 && Bn(r);
559
+ e.$flags$ & 12 && Un(r);
560
560
  {
561
561
  let a = r;
562
562
  for (; a = a.parentNode || a.host; )
@@ -570,16 +570,16 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
570
570
  const n = r[a];
571
571
  delete r[a], r[a] = n;
572
572
  }
573
- }), Hn(r, t);
573
+ }), zn(r, t);
574
574
  }
575
575
  s();
576
576
  }
577
- }, Bn = (r) => {
577
+ }, Un = (r) => {
578
578
  const t = r["s-cr"] = St.createComment(
579
579
  ""
580
580
  );
581
581
  t["s-cn"] = !0, rt(r, t, r.firstChild);
582
- }, qn = async (r) => {
582
+ }, Vn = async (r) => {
583
583
  we.$flags$ & 1 || st(r), hr.has(r) && hr.delete(r), r.shadowRoot && hr.has(r.shadowRoot) && hr.delete(r.shadowRoot);
584
584
  }, ee = (r, t) => {
585
585
  const e = {
@@ -594,10 +594,10 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
594
594
  un(this, e);
595
595
  },
596
596
  connectedCallback() {
597
- this.__hasHostListenerAttached || (st(this), this.__hasHostListenerAttached = !0), Un(this), s && s.call(this);
597
+ this.__hasHostListenerAttached || (st(this), this.__hasHostListenerAttached = !0), Bn(this), s && s.call(this);
598
598
  },
599
599
  disconnectedCallback() {
600
- qn(this), a && a.call(this), we.raf(() => {
600
+ Vn(this), a && a.call(this), we.raf(() => {
601
601
  var o;
602
602
  const n = st(this);
603
603
  ((o = n == null ? void 0 : n.$vnode$) == null ? void 0 : o.$elm$) instanceof Node && !n.$vnode$.$elm$.isConnected && delete n.$vnode$, this instanceof Node && !this.isConnected && ln(this);
@@ -607,7 +607,7 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
607
607
  this.shadowRoot = this;
608
608
  }
609
609
  }), r.is = e.$tagName$, Nn(r, e);
610
- }, Vn = (r, t) => t, ga = { exports: {} };
610
+ }, qn = (r, t) => t, ga = { exports: {} };
611
611
  /*!
612
612
  Copyright (c) 2018 Jed Watson.
613
613
  Licensed under the MIT License (MIT), see
@@ -662,73 +662,73 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
662
662
  seal: u,
663
663
  create: l
664
664
  } = Object, {
665
- apply: m,
665
+ apply: p,
666
666
  construct: C
667
667
  } = typeof Reflect < "u" && Reflect;
668
668
  h || (h = function(O) {
669
669
  return O;
670
670
  }), u || (u = function(O) {
671
671
  return O;
672
- }), m || (m = function(O, V, B) {
673
- return O.apply(V, B);
674
- }), C || (C = function(O, V) {
675
- return new O(...V);
672
+ }), p || (p = function(O, q, U) {
673
+ return O.apply(q, U);
674
+ }), C || (C = function(O, q) {
675
+ return new O(...q);
676
676
  });
677
- const E = oe(Array.prototype.forEach), _ = oe(Array.prototype.lastIndexOf), I = oe(Array.prototype.pop), z = oe(Array.prototype.push), D = oe(Array.prototype.splice), P = oe(String.prototype.toLowerCase), M = oe(String.prototype.toString), q = oe(String.prototype.match), Y = oe(String.prototype.replace), ge = oe(String.prototype.indexOf), Se = oe(String.prototype.trim), ae = oe(Object.prototype.hasOwnProperty), Z = oe(RegExp.prototype.test), Qe = Tr(TypeError);
678
- function oe(U) {
677
+ const E = oe(Array.prototype.forEach), _ = oe(Array.prototype.lastIndexOf), I = oe(Array.prototype.pop), H = oe(Array.prototype.push), D = oe(Array.prototype.splice), P = oe(String.prototype.toLowerCase), M = oe(String.prototype.toString), V = oe(String.prototype.match), Y = oe(String.prototype.replace), ge = oe(String.prototype.indexOf), Se = oe(String.prototype.trim), ae = oe(Object.prototype.hasOwnProperty), Z = oe(RegExp.prototype.test), Qe = Tr(TypeError);
678
+ function oe(B) {
679
679
  return function(O) {
680
- for (var V = arguments.length, B = new Array(V > 1 ? V - 1 : 0), ie = 1; ie < V; ie++)
681
- B[ie - 1] = arguments[ie];
682
- return m(U, O, B);
680
+ for (var q = arguments.length, U = new Array(q > 1 ? q - 1 : 0), ie = 1; ie < q; ie++)
681
+ U[ie - 1] = arguments[ie];
682
+ return p(B, O, U);
683
683
  };
684
684
  }
685
- function Tr(U) {
685
+ function Tr(B) {
686
686
  return function() {
687
- for (var O = arguments.length, V = new Array(O), B = 0; B < O; B++)
688
- V[B] = arguments[B];
689
- return C(U, V);
687
+ for (var O = arguments.length, q = new Array(O), U = 0; U < O; U++)
688
+ q[U] = arguments[U];
689
+ return C(B, q);
690
690
  };
691
691
  }
692
- function N(U, O) {
693
- let V = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : P;
694
- s && s(U, null);
695
- let B = O.length;
696
- for (; B--; ) {
697
- let ie = O[B];
692
+ function N(B, O) {
693
+ let q = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : P;
694
+ s && s(B, null);
695
+ let U = O.length;
696
+ for (; U--; ) {
697
+ let ie = O[U];
698
698
  if (typeof ie == "string") {
699
- const ye = V(ie);
700
- ye !== ie && (a(O) || (O[B] = ye), ie = ye);
699
+ const ye = q(ie);
700
+ ye !== ie && (a(O) || (O[U] = ye), ie = ye);
701
701
  }
702
- U[ie] = !0;
702
+ B[ie] = !0;
703
703
  }
704
- return U;
704
+ return B;
705
705
  }
706
- function Pr(U) {
707
- for (let O = 0; O < U.length; O++)
708
- ae(U, O) || (U[O] = null);
709
- return U;
706
+ function Pr(B) {
707
+ for (let O = 0; O < B.length; O++)
708
+ ae(B, O) || (B[O] = null);
709
+ return B;
710
710
  }
711
- function $e(U) {
711
+ function $e(B) {
712
712
  const O = l(null);
713
- for (const [V, B] of e(U))
714
- ae(U, V) && (Array.isArray(B) ? O[V] = Pr(B) : B && typeof B == "object" && B.constructor === Object ? O[V] = $e(B) : O[V] = B);
713
+ for (const [q, U] of e(B))
714
+ ae(B, q) && (Array.isArray(U) ? O[q] = Pr(U) : U && typeof U == "object" && U.constructor === Object ? O[q] = $e(U) : O[q] = U);
715
715
  return O;
716
716
  }
717
- function at(U, O) {
718
- for (; U !== null; ) {
719
- const B = n(U, O);
720
- if (B) {
721
- if (B.get)
722
- return oe(B.get);
723
- if (typeof B.value == "function")
724
- return oe(B.value);
717
+ function at(B, O) {
718
+ for (; B !== null; ) {
719
+ const U = n(B, O);
720
+ if (U) {
721
+ if (U.get)
722
+ return oe(U.get);
723
+ if (typeof U.value == "function")
724
+ return oe(U.value);
725
725
  }
726
- U = o(U);
726
+ B = o(B);
727
727
  }
728
- function V() {
728
+ function q() {
729
729
  return null;
730
730
  }
731
- return V;
731
+ return q;
732
732
  }
733
733
  const jt = h(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Ke = h(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), nt = h(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), $r = h(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), dt = h(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), _r = h(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), ft = h(["#text"]), Tt = h(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Pt = h(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Wt = h(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), pt = h(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ir = u(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Gt = u(/<%[\w\W]*|[\w\W]*%>/gm), Ar = u(/\$\{[\w\W]*/gm), mt = u(/^data-[\-\w.\u00B7-\uFFFF]+$/), $t = u(/^aria-[\-\w]+$/), _t = u(
734
734
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
@@ -759,13 +759,13 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
759
759
  document: 9
760
760
  }, Lr = function() {
761
761
  return typeof window > "u" ? null : window;
762
- }, Fr = function(O, V) {
762
+ }, Fr = function(O, q) {
763
763
  if (typeof O != "object" || typeof O.createPolicy != "function")
764
764
  return null;
765
- let B = null;
765
+ let U = null;
766
766
  const ie = "data-tt-policy-suffix";
767
- V && V.hasAttribute(ie) && (B = V.getAttribute(ie));
768
- const ye = "dompurify" + (B ? "#" + B : "");
767
+ q && q.hasAttribute(ie) && (U = q.getAttribute(ie));
768
+ const ye = "dompurify" + (U ? "#" + U : "");
769
769
  try {
770
770
  return O.createPolicy(ye, {
771
771
  createHTML(Je) {
@@ -792,37 +792,37 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
792
792
  };
793
793
  };
794
794
  function Kt() {
795
- let U = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Lr();
795
+ let B = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Lr();
796
796
  const O = (L) => Kt(L);
797
- if (O.version = "3.2.4", O.removed = [], !U || !U.document || U.document.nodeType !== Xe.document || !U.Element)
797
+ if (O.version = "3.2.4", O.removed = [], !B || !B.document || B.document.nodeType !== Xe.document || !B.Element)
798
798
  return O.isSupported = !1, O;
799
799
  let {
800
- document: V
801
- } = U;
802
- const B = V, ie = B.currentScript, {
800
+ document: q
801
+ } = B;
802
+ const U = q, ie = U.currentScript, {
803
803
  DocumentFragment: ye,
804
804
  HTMLTemplateElement: Je,
805
805
  Node: gt,
806
806
  Element: At,
807
807
  NodeFilter: ot,
808
- NamedNodeMap: Mt = U.NamedNodeMap || U.MozNamedAttrMap,
808
+ NamedNodeMap: Mt = B.NamedNodeMap || B.MozNamedAttrMap,
809
809
  HTMLFormElement: Nr,
810
810
  DOMParser: Ot,
811
811
  trustedTypes: bt
812
- } = U, Ae = At.prototype, it = at(Ae, "cloneNode"), Hr = at(Ae, "remove"), Xt = at(Ae, "nextSibling"), Ee = at(Ae, "childNodes"), ct = at(Ae, "parentNode");
812
+ } = B, Ae = At.prototype, it = at(Ae, "cloneNode"), zr = at(Ae, "remove"), Xt = at(Ae, "nextSibling"), Ee = at(Ae, "childNodes"), ct = at(Ae, "parentNode");
813
813
  if (typeof Je == "function") {
814
- const L = V.createElement("template");
815
- L.content && L.content.ownerDocument && (V = L.content.ownerDocument);
814
+ const L = q.createElement("template");
815
+ L.content && L.content.ownerDocument && (q = L.content.ownerDocument);
816
816
  }
817
817
  let ce, _e = "";
818
818
  const {
819
819
  implementation: Lt,
820
820
  createNodeIterator: Jt,
821
- createDocumentFragment: zr,
821
+ createDocumentFragment: Hr,
822
822
  getElementsByTagName: lt
823
- } = V, {
823
+ } = q, {
824
824
  importNode: Te
825
- } = B;
825
+ } = U;
826
826
  let te = It();
827
827
  O.isSupported = typeof e == "function" && typeof ct == "function" && Lt && Lt.createHTMLDocument !== void 0;
828
828
  const {
@@ -833,7 +833,7 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
833
833
  ARIA_ATTR: Ne,
834
834
  IS_SCRIPT_OR_DATA: j,
835
835
  ATTR_WHITESPACE: tr,
836
- CUSTOM_ELEMENT: Ur
836
+ CUSTOM_ELEMENT: Br
837
837
  } = Qt;
838
838
  let {
839
839
  IS_ALLOWED_URI: rr
@@ -860,28 +860,28 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
860
860
  enumerable: !0,
861
861
  value: !1
862
862
  }
863
- })), He = null, f = null, i = !0, d = !0, g = !1, v = !0, y = !1, S = !0, k = !1, T = !1, x = !1, w = !1, G = !1, $ = !1, se = !0, W = !1;
863
+ })), ze = null, f = null, i = !0, d = !0, g = !1, v = !0, y = !1, S = !0, k = !1, T = !1, x = !1, w = !1, G = !1, $ = !1, se = !0, W = !1;
864
864
  const fe = "user-content-";
865
- let vt = !0, ze = !1, Ue = {}, Be = null;
865
+ let vt = !0, He = !1, Be = {}, Ue = null;
866
866
  const Ft = N({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
867
867
  let nr = null;
868
868
  const yt = N({}, ["audio", "video", "img", "source", "image", "track"]);
869
- let qe = null;
870
- const Cs = N({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), or = "http://www.w3.org/1998/Math/MathML", ir = "http://www.w3.org/2000/svg", Ve = "http://www.w3.org/1999/xhtml";
871
- let kt = Ve, Br = !1, qr = null;
872
- const Wa = N({}, [or, ir, Ve], M);
869
+ let Ve = null;
870
+ const Cs = N({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), or = "http://www.w3.org/1998/Math/MathML", ir = "http://www.w3.org/2000/svg", qe = "http://www.w3.org/1999/xhtml";
871
+ let kt = qe, Ur = !1, Vr = null;
872
+ const Wa = N({}, [or, ir, qe], M);
873
873
  let cr = N({}, ["mi", "mo", "mn", "ms", "mtext"]), lr = N({}, ["annotation-xml"]);
874
874
  const Ga = N({}, ["title", "style", "font", "a", "script"]);
875
875
  let Dt = null;
876
876
  const Za = ["application/xhtml+xml", "text/html"], Ya = "text/html";
877
877
  let le = null, Ct = null;
878
- const Qa = V.createElement("form"), xs = function(b) {
878
+ const Qa = q.createElement("form"), xs = function(b) {
879
879
  return b instanceof RegExp || b instanceof Function;
880
- }, Vr = function() {
880
+ }, qr = function() {
881
881
  let b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
882
882
  if (!(Ct && Ct === b)) {
883
883
  if ((!b || typeof b != "object") && (b = {}), b = $e(b), Dt = // eslint-disable-next-line unicorn/prefer-includes
884
- Za.indexOf(b.PARSER_MEDIA_TYPE) === -1 ? Ya : b.PARSER_MEDIA_TYPE, le = Dt === "application/xhtml+xml" ? M : P, re = ae(b, "ALLOWED_TAGS") ? N({}, b.ALLOWED_TAGS, le) : sr, ne = ae(b, "ALLOWED_ATTR") ? N({}, b.ALLOWED_ATTR, le) : ar, qr = ae(b, "ALLOWED_NAMESPACES") ? N({}, b.ALLOWED_NAMESPACES, M) : Wa, qe = ae(b, "ADD_URI_SAFE_ATTR") ? N($e(Cs), b.ADD_URI_SAFE_ATTR, le) : Cs, nr = ae(b, "ADD_DATA_URI_TAGS") ? N($e(yt), b.ADD_DATA_URI_TAGS, le) : yt, Be = ae(b, "FORBID_CONTENTS") ? N({}, b.FORBID_CONTENTS, le) : Ft, He = ae(b, "FORBID_TAGS") ? N({}, b.FORBID_TAGS, le) : {}, f = ae(b, "FORBID_ATTR") ? N({}, b.FORBID_ATTR, le) : {}, Ue = ae(b, "USE_PROFILES") ? b.USE_PROFILES : !1, i = b.ALLOW_ARIA_ATTR !== !1, d = b.ALLOW_DATA_ATTR !== !1, g = b.ALLOW_UNKNOWN_PROTOCOLS || !1, v = b.ALLOW_SELF_CLOSE_IN_ATTR !== !1, y = b.SAFE_FOR_TEMPLATES || !1, S = b.SAFE_FOR_XML !== !1, k = b.WHOLE_DOCUMENT || !1, w = b.RETURN_DOM || !1, G = b.RETURN_DOM_FRAGMENT || !1, $ = b.RETURN_TRUSTED_TYPE || !1, x = b.FORCE_BODY || !1, se = b.SANITIZE_DOM !== !1, W = b.SANITIZE_NAMED_PROPS || !1, vt = b.KEEP_CONTENT !== !1, ze = b.IN_PLACE || !1, rr = b.ALLOWED_URI_REGEXP || _t, kt = b.NAMESPACE || Ve, cr = b.MATHML_TEXT_INTEGRATION_POINTS || cr, lr = b.HTML_INTEGRATION_POINTS || lr, K = b.CUSTOM_ELEMENT_HANDLING || {}, b.CUSTOM_ELEMENT_HANDLING && xs(b.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (K.tagNameCheck = b.CUSTOM_ELEMENT_HANDLING.tagNameCheck), b.CUSTOM_ELEMENT_HANDLING && xs(b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (K.attributeNameCheck = b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), b.CUSTOM_ELEMENT_HANDLING && typeof b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (K.allowCustomizedBuiltInElements = b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), y && (d = !1), G && (w = !0), Ue && (re = N({}, ft), ne = [], Ue.html === !0 && (N(re, jt), N(ne, Tt)), Ue.svg === !0 && (N(re, Ke), N(ne, Pt), N(ne, pt)), Ue.svgFilters === !0 && (N(re, nt), N(ne, Pt), N(ne, pt)), Ue.mathMl === !0 && (N(re, dt), N(ne, Wt), N(ne, pt))), b.ADD_TAGS && (re === sr && (re = $e(re)), N(re, b.ADD_TAGS, le)), b.ADD_ATTR && (ne === ar && (ne = $e(ne)), N(ne, b.ADD_ATTR, le)), b.ADD_URI_SAFE_ATTR && N(qe, b.ADD_URI_SAFE_ATTR, le), b.FORBID_CONTENTS && (Be === Ft && (Be = $e(Be)), N(Be, b.FORBID_CONTENTS, le)), vt && (re["#text"] = !0), k && N(re, ["html", "head", "body"]), re.table && (N(re, ["tbody"]), delete He.tbody), b.TRUSTED_TYPES_POLICY) {
884
+ Za.indexOf(b.PARSER_MEDIA_TYPE) === -1 ? Ya : b.PARSER_MEDIA_TYPE, le = Dt === "application/xhtml+xml" ? M : P, re = ae(b, "ALLOWED_TAGS") ? N({}, b.ALLOWED_TAGS, le) : sr, ne = ae(b, "ALLOWED_ATTR") ? N({}, b.ALLOWED_ATTR, le) : ar, Vr = ae(b, "ALLOWED_NAMESPACES") ? N({}, b.ALLOWED_NAMESPACES, M) : Wa, Ve = ae(b, "ADD_URI_SAFE_ATTR") ? N($e(Cs), b.ADD_URI_SAFE_ATTR, le) : Cs, nr = ae(b, "ADD_DATA_URI_TAGS") ? N($e(yt), b.ADD_DATA_URI_TAGS, le) : yt, Ue = ae(b, "FORBID_CONTENTS") ? N({}, b.FORBID_CONTENTS, le) : Ft, ze = ae(b, "FORBID_TAGS") ? N({}, b.FORBID_TAGS, le) : {}, f = ae(b, "FORBID_ATTR") ? N({}, b.FORBID_ATTR, le) : {}, Be = ae(b, "USE_PROFILES") ? b.USE_PROFILES : !1, i = b.ALLOW_ARIA_ATTR !== !1, d = b.ALLOW_DATA_ATTR !== !1, g = b.ALLOW_UNKNOWN_PROTOCOLS || !1, v = b.ALLOW_SELF_CLOSE_IN_ATTR !== !1, y = b.SAFE_FOR_TEMPLATES || !1, S = b.SAFE_FOR_XML !== !1, k = b.WHOLE_DOCUMENT || !1, w = b.RETURN_DOM || !1, G = b.RETURN_DOM_FRAGMENT || !1, $ = b.RETURN_TRUSTED_TYPE || !1, x = b.FORCE_BODY || !1, se = b.SANITIZE_DOM !== !1, W = b.SANITIZE_NAMED_PROPS || !1, vt = b.KEEP_CONTENT !== !1, He = b.IN_PLACE || !1, rr = b.ALLOWED_URI_REGEXP || _t, kt = b.NAMESPACE || qe, cr = b.MATHML_TEXT_INTEGRATION_POINTS || cr, lr = b.HTML_INTEGRATION_POINTS || lr, K = b.CUSTOM_ELEMENT_HANDLING || {}, b.CUSTOM_ELEMENT_HANDLING && xs(b.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (K.tagNameCheck = b.CUSTOM_ELEMENT_HANDLING.tagNameCheck), b.CUSTOM_ELEMENT_HANDLING && xs(b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (K.attributeNameCheck = b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), b.CUSTOM_ELEMENT_HANDLING && typeof b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (K.allowCustomizedBuiltInElements = b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), y && (d = !1), G && (w = !0), Be && (re = N({}, ft), ne = [], Be.html === !0 && (N(re, jt), N(ne, Tt)), Be.svg === !0 && (N(re, Ke), N(ne, Pt), N(ne, pt)), Be.svgFilters === !0 && (N(re, nt), N(ne, Pt), N(ne, pt)), Be.mathMl === !0 && (N(re, dt), N(ne, Wt), N(ne, pt))), b.ADD_TAGS && (re === sr && (re = $e(re)), N(re, b.ADD_TAGS, le)), b.ADD_ATTR && (ne === ar && (ne = $e(ne)), N(ne, b.ADD_ATTR, le)), b.ADD_URI_SAFE_ATTR && N(Ve, b.ADD_URI_SAFE_ATTR, le), b.FORBID_CONTENTS && (Ue === Ft && (Ue = $e(Ue)), N(Ue, b.FORBID_CONTENTS, le)), vt && (re["#text"] = !0), k && N(re, ["html", "head", "body"]), re.table && (N(re, ["tbody"]), delete ze.tbody), b.TRUSTED_TYPES_POLICY) {
885
885
  if (typeof b.TRUSTED_TYPES_POLICY.createHTML != "function")
886
886
  throw Qe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
887
887
  if (typeof b.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -898,24 +898,24 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
898
898
  tagName: "template"
899
899
  });
900
900
  const A = P(b.tagName), Q = P(R.tagName);
901
- return qr[b.namespaceURI] ? b.namespaceURI === ir ? R.namespaceURI === Ve ? A === "svg" : R.namespaceURI === or ? A === "svg" && (Q === "annotation-xml" || cr[Q]) : !!ws[A] : b.namespaceURI === or ? R.namespaceURI === Ve ? A === "math" : R.namespaceURI === ir ? A === "math" && lr[Q] : !!Ss[A] : b.namespaceURI === Ve ? R.namespaceURI === ir && !lr[Q] || R.namespaceURI === or && !cr[Q] ? !1 : !Ss[A] && (Ga[A] || !ws[A]) : !!(Dt === "application/xhtml+xml" && qr[b.namespaceURI]) : !1;
901
+ return Vr[b.namespaceURI] ? b.namespaceURI === ir ? R.namespaceURI === qe ? A === "svg" : R.namespaceURI === or ? A === "svg" && (Q === "annotation-xml" || cr[Q]) : !!ws[A] : b.namespaceURI === or ? R.namespaceURI === qe ? A === "math" : R.namespaceURI === ir ? A === "math" && lr[Q] : !!Ss[A] : b.namespaceURI === qe ? R.namespaceURI === ir && !lr[Q] || R.namespaceURI === or && !cr[Q] ? !1 : !Ss[A] && (Ga[A] || !ws[A]) : !!(Dt === "application/xhtml+xml" && Vr[b.namespaceURI]) : !1;
902
902
  }, Me = function(b) {
903
- z(O.removed, {
903
+ H(O.removed, {
904
904
  element: b
905
905
  });
906
906
  try {
907
907
  ct(b).removeChild(b);
908
908
  } catch {
909
- Hr(b);
909
+ zr(b);
910
910
  }
911
911
  }, ur = function(b, R) {
912
912
  try {
913
- z(O.removed, {
913
+ H(O.removed, {
914
914
  attribute: R.getAttributeNode(b),
915
915
  from: R
916
916
  });
917
917
  } catch {
918
- z(O.removed, {
918
+ H(O.removed, {
919
919
  attribute: null,
920
920
  from: R
921
921
  });
@@ -936,12 +936,12 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
936
936
  if (x)
937
937
  b = "<remove></remove>" + b;
938
938
  else {
939
- const ue = q(b, /^[\r\n\t ]+/);
939
+ const ue = V(b, /^[\r\n\t ]+/);
940
940
  A = ue && ue[0];
941
941
  }
942
- Dt === "application/xhtml+xml" && kt === Ve && (b = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + b + "</body></html>");
942
+ Dt === "application/xhtml+xml" && kt === qe && (b = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + b + "</body></html>");
943
943
  const Q = ce ? ce.createHTML(b) : b;
944
- if (kt === Ve)
944
+ if (kt === qe)
945
945
  try {
946
946
  R = new Ot().parseFromString(Q, Dt);
947
947
  } catch {
@@ -949,12 +949,12 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
949
949
  if (!R || !R.documentElement) {
950
950
  R = Lt.createDocument(kt, "template", null);
951
951
  try {
952
- R.documentElement.innerHTML = Br ? _e : Q;
952
+ R.documentElement.innerHTML = Ur ? _e : Q;
953
953
  } catch {
954
954
  }
955
955
  }
956
956
  const pe = R.body || R.documentElement;
957
- return b && A && pe.insertBefore(V.createTextNode(A), pe.childNodes[0] || null), kt === Ve ? lt.call(R, k ? "html" : "body")[0] : k ? R.documentElement : pe;
957
+ return b && A && pe.insertBefore(q.createTextNode(A), pe.childNodes[0] || null), kt === qe ? lt.call(R, k ? "html" : "body")[0] : k ? R.documentElement : pe;
958
958
  }, Es = function(b) {
959
959
  return Jt.call(
960
960
  b.ownerDocument || b,
@@ -983,10 +983,10 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
983
983
  allowedTags: re
984
984
  }), b.hasChildNodes() && !Ts(b.firstElementChild) && Z(/<[/\w]/g, b.innerHTML) && Z(/<[/\w]/g, b.textContent) || b.nodeType === Xe.progressingInstruction || S && b.nodeType === Xe.comment && Z(/<[/\w]/g, b.data))
985
985
  return Me(b), !0;
986
- if (!re[A] || He[A]) {
987
- if (!He[A] && _s(A) && (K.tagNameCheck instanceof RegExp && Z(K.tagNameCheck, A) || K.tagNameCheck instanceof Function && K.tagNameCheck(A)))
986
+ if (!re[A] || ze[A]) {
987
+ if (!ze[A] && _s(A) && (K.tagNameCheck instanceof RegExp && Z(K.tagNameCheck, A) || K.tagNameCheck instanceof Function && K.tagNameCheck(A)))
988
988
  return !1;
989
- if (vt && !Be[A]) {
989
+ if (vt && !Ue[A]) {
990
990
  const Q = ct(b) || b.parentNode, pe = Ee(b) || b.childNodes;
991
991
  if (pe && Q) {
992
992
  const ue = pe.length;
@@ -1000,11 +1000,11 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1000
1000
  }
1001
1001
  return b instanceof At && !Ka(b) || (A === "noscript" || A === "noembed" || A === "noframes") && Z(/<\/no(script|embed|frames)/i, b.innerHTML) ? (Me(b), !0) : (y && b.nodeType === Xe.text && (R = b.textContent, E([et, ke, De], (Q) => {
1002
1002
  R = Y(R, Q, " ");
1003
- }), b.textContent !== R && (z(O.removed, {
1003
+ }), b.textContent !== R && (H(O.removed, {
1004
1004
  element: b.cloneNode()
1005
1005
  }), b.textContent = R)), je(te.afterSanitizeElements, b, null), !1);
1006
1006
  }, $s = function(b, R, A) {
1007
- if (se && (R === "id" || R === "name") && (A in V || A in Qa))
1007
+ if (se && (R === "id" || R === "name") && (A in q || A in Qa))
1008
1008
  return !1;
1009
1009
  if (!(d && !f[R] && Z(er, R))) {
1010
1010
  if (!(i && Z(Ne, R))) {
@@ -1017,7 +1017,7 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1017
1017
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
1018
1018
  R === "is" && K.allowCustomizedBuiltInElements && (K.tagNameCheck instanceof RegExp && Z(K.tagNameCheck, A) || K.tagNameCheck instanceof Function && K.tagNameCheck(A)))
1019
1019
  ) return !1;
1020
- } else if (!qe[R]) {
1020
+ } else if (!Ve[R]) {
1021
1021
  if (!Z(rr, Y(A, tr, ""))) {
1022
1022
  if (!((R === "src" || R === "xlink:href" || R === "href") && b !== "script" && ge(A, "data:") === 0 && nr[b])) {
1023
1023
  if (!(g && !Z(j, Y(A, tr, "")))) {
@@ -1031,7 +1031,7 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1031
1031
  }
1032
1032
  return !0;
1033
1033
  }, _s = function(b) {
1034
- return b !== "annotation-xml" && q(b, Ur);
1034
+ return b !== "annotation-xml" && V(b, Br);
1035
1035
  }, Is = function(b) {
1036
1036
  je(te.beforeSanitizeAttributes, b, null);
1037
1037
  const {
@@ -1096,7 +1096,7 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1096
1096
  };
1097
1097
  return O.sanitize = function(L) {
1098
1098
  let b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, R = null, A = null, Q = null, pe = null;
1099
- if (Br = !L, Br && (L = "<!-->"), typeof L != "string" && !Ts(L))
1099
+ if (Ur = !L, Ur && (L = "<!-->"), typeof L != "string" && !Ts(L))
1100
1100
  if (typeof L.toString == "function") {
1101
1101
  if (L = L.toString(), typeof L != "string")
1102
1102
  throw Qe("dirty is not a string, aborting");
@@ -1104,10 +1104,10 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1104
1104
  throw Qe("toString is not a function");
1105
1105
  if (!O.isSupported)
1106
1106
  return L;
1107
- if (T || Vr(b), O.removed = [], typeof L == "string" && (ze = !1), ze) {
1107
+ if (T || qr(b), O.removed = [], typeof L == "string" && (He = !1), He) {
1108
1108
  if (L.nodeName) {
1109
1109
  const Oe = le(L.nodeName);
1110
- if (!re[Oe] || He[Oe])
1110
+ if (!re[Oe] || ze[Oe])
1111
1111
  throw Qe("root node is forbidden and cannot be sanitized in-place");
1112
1112
  }
1113
1113
  } else if (L instanceof gt)
@@ -1120,18 +1120,18 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1120
1120
  return w ? null : $ ? _e : "";
1121
1121
  }
1122
1122
  R && x && Me(R.firstChild);
1123
- const ue = Es(ze ? L : R);
1123
+ const ue = Es(He ? L : R);
1124
1124
  for (; Q = ue.nextNode(); )
1125
1125
  Ps(Q), Is(Q), Q.content instanceof ye && Xa(Q.content);
1126
- if (ze)
1126
+ if (He)
1127
1127
  return L;
1128
1128
  if (w) {
1129
1129
  if (G)
1130
- for (pe = zr.call(R.ownerDocument); R.firstChild; )
1130
+ for (pe = Hr.call(R.ownerDocument); R.firstChild; )
1131
1131
  pe.appendChild(R.firstChild);
1132
1132
  else
1133
1133
  pe = R;
1134
- return (ne.shadowroot || ne.shadowrootmode) && (pe = Te.call(B, pe, !0)), pe;
1134
+ return (ne.shadowroot || ne.shadowrootmode) && (pe = Te.call(U, pe, !0)), pe;
1135
1135
  }
1136
1136
  let Ce = k ? R.outerHTML : R.innerHTML;
1137
1137
  return k && re["!doctype"] && R.ownerDocument && R.ownerDocument.doctype && R.ownerDocument.doctype.name && Z(Yt, R.ownerDocument.doctype.name) && (Ce = "<!DOCTYPE " + R.ownerDocument.doctype.name + `>
@@ -1140,15 +1140,15 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1140
1140
  }), ce && $ ? ce.createHTML(Ce) : Ce;
1141
1141
  }, O.setConfig = function() {
1142
1142
  let L = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1143
- Vr(L), T = !0;
1143
+ qr(L), T = !0;
1144
1144
  }, O.clearConfig = function() {
1145
1145
  Ct = null, T = !1;
1146
1146
  }, O.isValidAttribute = function(L, b, R) {
1147
- Ct || Vr({});
1147
+ Ct || qr({});
1148
1148
  const A = le(L), Q = le(b);
1149
1149
  return $s(A, Q, R);
1150
1150
  }, O.addHook = function(L, b) {
1151
- typeof b == "function" && z(te[L], b);
1151
+ typeof b == "function" && H(te[L], b);
1152
1152
  }, O.removeHook = function(L, b) {
1153
1153
  if (b !== void 0) {
1154
1154
  const R = _(te[L], b);
@@ -1165,7 +1165,7 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1165
1165
  return Dr;
1166
1166
  });
1167
1167
  })(va);
1168
- const ya = va.exports, qt = (r, ...t) => {
1168
+ const ya = va.exports, Vt = (r, ...t) => {
1169
1169
  let e = r[0];
1170
1170
  for (let s = 0; s < t.length; s++)
1171
1171
  e += ya.sanitize(t[s] ? String(t[s]) : "") + r[s + 1];
@@ -1303,8 +1303,8 @@ const Gn = /* @__PURE__ */ ee(class extends J {
1303
1303
  return;
1304
1304
  let s = "<p>Ad Marketplace Ad Placeholder</p>";
1305
1305
  return (n = (o = (a = this.core) == null ? void 0 : a.config) == null ? void 0 : o.admAdConfig) != null && n.template && (s = (u = (h = this.core) == null ? void 0 : h.config) == null ? void 0 : u.admAdConfig.template(e.admAd, {
1306
- html: qt
1307
- })), p("div", { class: "searchcraft-ad searchcraft-adm-ad", "data-searchcraft-ad-container-id": this.adContainerId, id: `searchcraft-adm-ad-${this.adContainerId}`, innerHTML: s });
1306
+ html: Vt
1307
+ })), m("div", { class: "searchcraft-ad searchcraft-adm-ad", "data-searchcraft-ad-container-id": this.adContainerId, id: `searchcraft-adm-ad-${this.adContainerId}`, innerHTML: s });
1308
1308
  }
1309
1309
  renderCustomAd() {
1310
1310
  var o, n, h;
@@ -1313,12 +1313,12 @@ const Gn = /* @__PURE__ */ ee(class extends J {
1313
1313
  return e && (a = e({
1314
1314
  searchTerm: this.searchTerm || "",
1315
1315
  adContainerId: this.adContainerId
1316
- }, { html: qt })), p("div", { class: "searchcraft-ad searchcraft-custom-ad", id: s, "data-searchcraft-ad-container-id": this.adContainerId, innerHTML: a });
1316
+ }, { html: Vt })), m("div", { class: "searchcraft-ad searchcraft-custom-ad", id: s, "data-searchcraft-ad-container-id": this.adContainerId, innerHTML: a });
1317
1317
  }
1318
1318
  renderNativoAd() {
1319
1319
  var s, a;
1320
1320
  const e = ((a = (s = this.core) == null ? void 0 : s.config.nativoConfig) == null ? void 0 : a.adClassName) || "ntv-item";
1321
- return p("div", { id: `searchcraft-native-ad-${this.adContainerId}`, class: xe("searchcraft-ad", e), "data-searchcraft-ad-container-id": this.adContainerId });
1321
+ return m("div", { id: `searchcraft-native-ad-${this.adContainerId}`, class: xe("searchcraft-ad", e), "data-searchcraft-ad-container-id": this.adContainerId });
1322
1322
  }
1323
1323
  render() {
1324
1324
  if (this.searchResultCount !== 0)
@@ -1395,11 +1395,11 @@ const Zn = Sr, Yn = /* @__PURE__ */ ee(class extends J {
1395
1395
  this.__registerHost(), this.buttonClick = tt(this, "buttonClick");
1396
1396
  }
1397
1397
  render() {
1398
- return p("button", { key: "e54b4566e0286265bc0c8b6bb4e9ef26108575da", "aria-label": this.label, class: xe("searchcraft-button", {
1398
+ return m("button", { key: "e54b4566e0286265bc0c8b6bb4e9ef26108575da", "aria-label": this.label, class: xe("searchcraft-button", {
1399
1399
  "searchcraft-button-primary": this.hierarchy === "primary",
1400
1400
  "searchcraft-button-tertiary": this.hierarchy === "tertiary",
1401
1401
  "searchcraft-button-disabled": this.disabled
1402
- }), disabled: this.disabled, onClick: this.handleButtonClick, type: this.type }, this.iconOnly ? this.icon : p(Vn, null, this.iconPosition === "left" && this.icon, p("span", null, this.label), this.iconPosition === "right" && this.icon));
1402
+ }), disabled: this.disabled, onClick: this.handleButtonClick, type: this.type }, this.iconOnly ? this.icon : m(qn, null, this.iconPosition === "left" && this.icon, m("span", null, this.label), this.iconPosition === "right" && this.icon));
1403
1403
  }
1404
1404
  }, [0, "searchcraft-button", {
1405
1405
  hierarchy: [1],
@@ -1426,7 +1426,7 @@ const Qn = Rr, Kn = /* @__PURE__ */ ee(class extends J {
1426
1426
  super(), this.__registerHost();
1427
1427
  }
1428
1428
  render() {
1429
- return p("div", { key: "d42f7abf8dfb2620622b8012d868d32f04b2f354", class: "searchcraft-error-message" }, p("slot", { key: "75a7811576ea8afe80a7ae739f5cf2d411f976df" }, "Search term is required."));
1429
+ return m("div", { key: "d42f7abf8dfb2620622b8012d868d32f04b2f354", class: "searchcraft-error-message" }, m("slot", { key: "75a7811576ea8afe80a7ae739f5cf2d411f976df" }, "Search term is required."));
1430
1430
  }
1431
1431
  }, [4, "searchcraft-error-message"]);
1432
1432
  function Er() {
@@ -1454,7 +1454,7 @@ const Xn = Er, ka = (r, t) => {
1454
1454
  function Jn(r) {
1455
1455
  return r.filter((t, e, s) => !s.some((a, o) => o !== e && a.includes(t)));
1456
1456
  }
1457
- const qs = (r, t) => {
1457
+ const Vs = (r, t) => {
1458
1458
  const e = structuredClone(r), s = (a, o) => {
1459
1459
  var u;
1460
1460
  const n = structuredClone(a), h = ka(t, o);
@@ -1468,31 +1468,46 @@ const qs = (r, t) => {
1468
1468
  return n;
1469
1469
  };
1470
1470
  return s(e, []);
1471
- }, Wr = (r) => {
1472
- const t = {
1471
+ }, Wr = (r, t) => {
1472
+ const e = {
1473
1473
  path: "/",
1474
1474
  count: 0,
1475
1475
  children: {}
1476
- }, e = [], s = (a) => {
1477
- if (a.path !== "/" && e.push({ path: a.path, count: a.count }), a.children)
1478
- for (const o of a.children)
1479
- s(o);
1476
+ }, s = [], a = (o) => {
1477
+ if (o.path !== "/" && s.push({ path: o.path, count: o.count }), o.children)
1478
+ for (const n of o.children)
1479
+ a(n);
1480
1480
  };
1481
- s(r);
1482
- for (const { path: a, count: o } of e) {
1483
- const n = a.split("/").filter(Boolean);
1484
- let h = t;
1485
- for (const u of n) {
1486
- const l = h.path === "/" ? `/${u}` : `${h.path}/${u}`;
1487
- h.children[u] || (h.children[u] = {
1488
- path: l,
1489
- count: o,
1481
+ a(r);
1482
+ for (const { path: o, count: n } of s) {
1483
+ const h = o.split("/").filter(Boolean);
1484
+ if (t && t.length > 0) {
1485
+ let l = !1;
1486
+ for (const p of t)
1487
+ if (p.startsWith("/")) {
1488
+ if (o === p || o.startsWith(`${p}/`)) {
1489
+ l = !0;
1490
+ break;
1491
+ }
1492
+ } else if (h.includes(p)) {
1493
+ l = !0;
1494
+ break;
1495
+ }
1496
+ if (l)
1497
+ continue;
1498
+ }
1499
+ let u = e;
1500
+ for (const l of h) {
1501
+ const p = u.path === "/" ? `/${l}` : `${u.path}/${l}`;
1502
+ u.children[l] || (u.children[l] = {
1503
+ path: p,
1504
+ count: n,
1490
1505
  children: {}
1491
- }), h = h.children[u];
1506
+ }), u = u.children[l];
1492
1507
  }
1493
- h.count = o;
1508
+ u.count = n;
1494
1509
  }
1495
- return t;
1510
+ return e;
1496
1511
  }, eo = /* @__PURE__ */ ee(class extends J {
1497
1512
  constructor() {
1498
1513
  super();
@@ -1504,6 +1519,10 @@ const qs = (r, t) => {
1504
1519
  * The name of the field where facets are applied.
1505
1520
  */
1506
1521
  c(this, "fieldName", "");
1522
+ /**
1523
+ * Array of facet values to exclude from rendering.
1524
+ */
1525
+ c(this, "exclude");
1507
1526
  /**
1508
1527
  * Emitted when the facets are updated.
1509
1528
  */
@@ -1554,12 +1573,12 @@ const qs = (r, t) => {
1554
1573
  return Object.keys(this.selectedPaths).some((e) => this.selectedPaths[e]);
1555
1574
  }
1556
1575
  handleIncomingSearchResponse(e, s) {
1557
- var u, l, m;
1576
+ var u, l, p;
1558
1577
  const a = (u = e.searchResponseFacetPrime) == null ? void 0 : u.find((C) => this.fieldName === Object.keys(C)[0]), o = a == null ? void 0 : a[this.fieldName], n = Wr({
1559
1578
  path: "/",
1560
1579
  count: 0,
1561
1580
  children: o || []
1562
- });
1581
+ }, this.exclude);
1563
1582
  switch (s) {
1564
1583
  case "SEARCH_TERM_EMPTY":
1565
1584
  this.facetTreeCollectedFromSearchResponse = {
@@ -1579,15 +1598,15 @@ const qs = (r, t) => {
1579
1598
  path: "/",
1580
1599
  count: 0,
1581
1600
  children: E || []
1582
- });
1583
- this.facetTreeCollectedFromSearchResponse = qs(_, n);
1601
+ }, this.exclude);
1602
+ this.facetTreeCollectedFromSearchResponse = Vs(_, n);
1584
1603
  } else
1585
1604
  this.facetTreeCollectedFromSearchResponse = n;
1586
1605
  break;
1587
1606
  }
1588
1607
  case "FACET_UPDATE":
1589
1608
  case "SORT_ORDER_UPDATE":
1590
- this.facetTreeCollectedFromSearchResponse = qs(this.facetTreeCollectedFromSearchResponse, n);
1609
+ this.facetTreeCollectedFromSearchResponse = Vs(this.facetTreeCollectedFromSearchResponse, n);
1591
1610
  break;
1592
1611
  default:
1593
1612
  return;
@@ -1604,13 +1623,13 @@ const qs = (r, t) => {
1604
1623
  };
1605
1624
  for (const C of Object.keys(this.selectedPaths).filter((E) => this.selectedPaths[E])) {
1606
1625
  const E = C.startsWith("/") ? C.substring(1).split("/") : C.split("/"), _ = !!ka(this.facetTreeCollectedFromSearchResponse, E), I = E.at(-1);
1607
- !_ && I && ((m = h.children) == null || m.push({
1626
+ !_ && I && ((p = h.children) == null || p.push({
1608
1627
  children: [],
1609
1628
  count: 0,
1610
1629
  path: C
1611
1630
  }));
1612
1631
  }
1613
- this.facetTreeFromFacetPathsNotInSearchResponse = Wr(h), this.renderedFacetTree = ls(this.facetTreeFromFacetPathsNotInSearchResponse, this.facetTreeCollectedFromSearchResponse);
1632
+ this.facetTreeFromFacetPathsNotInSearchResponse = Wr(h, this.exclude), this.renderedFacetTree = ls(this.facetTreeFromFacetPathsNotInSearchResponse, this.facetTreeCollectedFromSearchResponse);
1614
1633
  }
1615
1634
  handleStateUpdate(e) {
1616
1635
  const s = { ...e }, a = typeof s.searchClientRequestProperties == "string" && s.searchTerm.trim() === "";
@@ -1623,7 +1642,7 @@ const qs = (r, t) => {
1623
1642
  this.lastSearchTerm !== o.searchTerm ? this.areAnyFacetPathsSelected ? n = "NEW_SEARCH_TERM_WHILE_FACETS_ACTIVE" : n = "NEW_SEARCH_TERM" : this.lastRangeValues !== JSON.stringify(o.rangeValueForIndexFields) ? n = "RANGE_VALUE_UPDATE" : this.lastFacetValues !== JSON.stringify(o.facetPathsForIndexFields) ? n = "FACET_UPDATE" : this.lastSortType !== o.order_by ? n = "SORT_ORDER_UPDATE" : this.lastSearchMode !== o.mode && (n = "EXACT_MATCH_UPDATE"), this.lastRangeValues = JSON.stringify(o.rangeValueForIndexFields), this.lastFacetValues = JSON.stringify(o.facetPathsForIndexFields), this.lastSortType = o.order_by, this.lastSearchMode = o.mode, this.lastSearchTerm = o.searchTerm, this.lastTimeTaken = s.searchResponseTimeTaken, this.handleIncomingSearchResponse(s, n);
1624
1643
  } else if (typeof s.searchClientRequestProperties == "string") {
1625
1644
  let o = "NEW_SEARCH_TERM";
1626
- const n = JSON.parse(s.searchClientRequestProperties), u = (Array.isArray(n.query) ? n.query : [n.query]).filter((m) => m.occur === "must"), l = JSON.stringify(u);
1645
+ const n = JSON.parse(s.searchClientRequestProperties), u = (Array.isArray(n.query) ? n.query : [n.query]).filter((p) => p.occur === "must"), l = JSON.stringify(u);
1627
1646
  this.lastFacetValues !== void 0 && this.lastFacetValues !== l ? o = "FACET_UPDATE" : s.searchTerm.trim() === "" && this.lastSearchTerm === "" ? o = "NEW_SEARCH_TERM" : this.lastSearchTerm !== s.searchTerm && (this.areAnyFacetPathsSelected ? o = "NEW_SEARCH_TERM_WHILE_FACETS_ACTIVE" : o = "NEW_SEARCH_TERM"), this.lastFacetValues = l, this.lastSearchTerm = s.searchTerm, this.lastTimeTaken = s.searchResponseTimeTaken, this.handleIncomingSearchResponse(s, o);
1628
1647
  }
1629
1648
  }
@@ -1659,9 +1678,9 @@ const qs = (r, t) => {
1659
1678
  for (const h of Object.keys(this.selectedPaths))
1660
1679
  this.selectedPaths[h] && h.startsWith(s.path) && h.length > s.path.length && (a = !0);
1661
1680
  const o = Object.keys(this.selectedPaths).includes(s.path), n = Object.keys(s.children).length > 0 && (o || a) || e === "@@root";
1662
- return p("div", { class: "searchcraft-facet-list-item" }, e !== "@@root" && p("label", { class: "searchcraft-facet-list-checkbox-label" }, p("div", { class: "searchcraft-facet-list-checkbox-input-wrapper" }, p("input", { class: "searchcraft-facet-list-checkbox-input", checked: this.selectedPaths[s.path], onChange: (h) => {
1681
+ return m("div", { class: "searchcraft-facet-list-item" }, e !== "@@root" && m("label", { class: "searchcraft-facet-list-checkbox-label" }, m("div", { class: "searchcraft-facet-list-checkbox-input-wrapper" }, m("input", { class: "searchcraft-facet-list-checkbox-input", checked: this.selectedPaths[s.path], onChange: (h) => {
1663
1682
  this.handleCheckboxChange(s.path);
1664
- }, type: "checkbox" }), a ? p("div", { class: "searchcraft-facet-list-checkbox-input-dash-icon" }, p("svg", { viewBox: "0 0 14 3", fill: "none" }, p("title", null, "Checkbox dash"), p("line", { x1: "1.5", y1: "1.5", x2: "12.5", y2: "1.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" }))) : p("div", { class: "searchcraft-facet-list-checkbox-input-check-icon" }, p("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, p("title", null, "Checkbox check"), p("path", { d: "M13.9999 2L5.74988 10L1.99988 6.36364", stroke: "white", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round" })))), p("span", null, this.formatFacetName(e), " (", s.count, ")")), n && p("div", { class: "searchcraft-facet-list", style: {
1683
+ }, type: "checkbox" }), a ? m("div", { class: "searchcraft-facet-list-checkbox-input-dash-icon" }, m("svg", { viewBox: "0 0 14 3", fill: "none" }, m("title", null, "Checkbox dash"), m("line", { x1: "1.5", y1: "1.5", x2: "12.5", y2: "1.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" }))) : m("div", { class: "searchcraft-facet-list-checkbox-input-check-icon" }, m("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, m("title", null, "Checkbox check"), m("path", { d: "M13.9999 2L5.74988 10L1.99988 6.36364", stroke: "white", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round" })))), m("span", null, this.formatFacetName(e), " (", s.count, ")")), n && m("div", { class: "searchcraft-facet-list", style: {
1665
1684
  paddingLeft: e !== "@@root" ? "24px" : "0px",
1666
1685
  paddingTop: e !== "@@root" ? "6px" : "0px"
1667
1686
  } }, Object.keys(s.children).map((h) => {
@@ -1671,11 +1690,12 @@ const qs = (r, t) => {
1671
1690
  }
1672
1691
  render() {
1673
1692
  if (this.fieldName && !(Object.keys(this.facetTreeCollectedFromSearchResponse.children).length === 0 && (this.lastSearchTerm || "").trim().length === 0))
1674
- return Object.keys(this.facetTreeCollectedFromSearchResponse.children).length === 0 && (this.lastSearchTerm || "").trim().length > 0 ? p("p", { class: "searchcraft-facet-list-message" }, "No facets are available for this search query.") : p("div", { class: "searchcraft-facet-list" }, this.renderFacet("@@root", this.renderedFacetTree));
1693
+ return Object.keys(this.facetTreeCollectedFromSearchResponse.children).length === 0 && (this.lastSearchTerm || "").trim().length > 0 ? m("p", { class: "searchcraft-facet-list-message" }, "No facets are available for this search query.") : m("div", { class: "searchcraft-facet-list" }, this.renderFacet("@@root", this.renderedFacetTree));
1675
1694
  }
1676
1695
  }, [0, "searchcraft-facet-list", {
1677
1696
  searchcraftId: [1, "searchcraft-id"],
1678
1697
  fieldName: [1, "field-name"],
1698
+ exclude: [16],
1679
1699
  selectedPaths: [32],
1680
1700
  facetTreeCollectedFromSearchResponse: [32],
1681
1701
  renderedFacetTree: [32]
@@ -1692,7 +1712,7 @@ function Ca() {
1692
1712
  });
1693
1713
  }
1694
1714
  const to = Ca;
1695
- function Ht(r, t) {
1715
+ function zt(r, t) {
1696
1716
  if (r && t)
1697
1717
  return t.fieldNames.map((e) => {
1698
1718
  let s = r[e.fieldName];
@@ -1720,8 +1740,8 @@ function ro(r, t = "en-US", e = {
1720
1740
  }) {
1721
1741
  const s = new Date(r), o = (/* @__PURE__ */ new Date()).getTime() - s.getTime(), n = 30 * 24 * 60 * 60 * 1e3;
1722
1742
  if (o < n) {
1723
- const h = Math.trunc(o / 1e3), u = Math.trunc(h / 60), l = Math.trunc(u / 60), m = Math.trunc(l / 24), C = new Intl.RelativeTimeFormat(t, e);
1724
- return m >= 1 ? C.format(-m, "day") : l >= 1 ? C.format(-l, "hour") : u >= 1 ? C.format(-u, "minute") : C.format(0, "second");
1743
+ const h = Math.trunc(o / 1e3), u = Math.trunc(h / 60), l = Math.trunc(u / 60), p = Math.trunc(l / 24), C = new Intl.RelativeTimeFormat(t, e);
1744
+ return p >= 1 ? C.format(-p, "day") : l >= 1 ? C.format(-l, "hour") : u >= 1 ? C.format(-u, "minute") : C.format(0, "second");
1725
1745
  }
1726
1746
  return new Intl.DateTimeFormat(t, e).format(s);
1727
1747
  }
@@ -1755,7 +1775,7 @@ function so(r, t, e) {
1755
1775
  throw new Error(`Unsupported unit: ${r}`);
1756
1776
  }
1757
1777
  }
1758
- const Vs = (r) => {
1778
+ const qs = (r) => {
1759
1779
  if (r >= 11 && r <= 13)
1760
1780
  return `${r}th`;
1761
1781
  switch (r % 10) {
@@ -1777,14 +1797,14 @@ function ao(r, t) {
1777
1797
  case "month":
1778
1798
  return `${e.format(t)} ${t.getFullYear()}`;
1779
1799
  case "day":
1780
- return `${e.format(t)} ${Vs(t.getDate())}, ${t.getFullYear()}`;
1800
+ return `${e.format(t)} ${qs(t.getDate())}, ${t.getFullYear()}`;
1781
1801
  case "hour": {
1782
1802
  const s = new Intl.DateTimeFormat("en-US", {
1783
1803
  hour: "numeric",
1784
1804
  minute: "2-digit",
1785
1805
  hour12: !0
1786
1806
  });
1787
- return `${e.format(t)} ${Vs(t.getDate())}, ${s.format(t)}`;
1807
+ return `${e.format(t)} ${qs(t.getDate())}, ${s.format(t)}`;
1788
1808
  }
1789
1809
  default:
1790
1810
  throw new Error(`Unsupported granularity: ${r}`);
@@ -1887,10 +1907,10 @@ const oo = /* @__PURE__ */ ee(class extends J {
1887
1907
  }
1888
1908
  render() {
1889
1909
  const e = (this.startValue - this.lowerBound) / (this.upperBound - this.lowerBound) * 100, s = (this.endValue - this.lowerBound) / (this.upperBound - this.lowerBound) * 100, a = this.getLabel(this.startValue), o = this.getLabel(this.endValue);
1890
- return p("div", { key: "2c72254f52151edd2e2fa89c092fc788db0b5562", class: "searchcraft-slider" }, p("div", { key: "98c25badf2c9386d7173ea552e510dcc168e7fc7", class: "searchcraft-slider-range" }, p("div", { key: "50774db2253e34b1bce68acc0a40b2706cab542d", class: "searchcraft-slider-active-range", style: {
1910
+ return m("div", { key: "d5035ed8bcbf95c0ef5b2a7a9ef471e318a9dc30", class: "searchcraft-slider" }, m("div", { key: "f5f7bc48703250b4f6c75a1f07c921233bd957d5", class: "searchcraft-slider-range" }, m("div", { key: "fc2ec9f9786986a7306ffe43b54c47c35a1f086a", class: "searchcraft-slider-active-range", style: {
1891
1911
  left: `${e}%`,
1892
1912
  width: `${s - e}%`
1893
- } }), p("input", { key: "229afedc1318a63cbd75806805210cf4f5695e6e", class: xe("searchcraft-slider-input", "searchcraft-slider-input-min-handle"), max: this.upperBound, min: this.lowerBound, onInput: this.handleStartValueChange.bind(this), step: this.step, style: { zIndex: this.lastFocusedHandle === "min" ? "2" : "1" }, type: "range", value: this.startValue }), p("input", { key: "6aa038b01daaba86f501ebbbec30fc6720b549b3", class: xe("searchcraft-slider-input", "searchcraft-slider-input-max-handle"), max: this.upperBound, min: this.lowerBound, onInput: this.handleEndValueChange.bind(this), step: this.step, style: { zIndex: this.lastFocusedHandle === "max" ? "2" : "1" }, type: "range", value: this.endValue })), p("div", { key: "f70501538635c3b08ad1e6ac101d0b3192ef8e04", class: "searchcraft-slider-label" }, p("span", { key: "ddd539b86774f8900771d77d5ef7eb3a67c98d59", class: "searchcraft-slider-start-label" }, a), p("span", { key: "b754a9c8d284e0623032cee6b92f9df88873ec04", class: "searchcraft-slider-end-label" }, o)));
1913
+ } }), m("input", { key: "716316b5ce507c40db5b7bd408f47b3bece88494", class: xe("searchcraft-slider-input", "searchcraft-slider-input-min-handle"), max: this.upperBound, min: this.lowerBound, onInput: this.handleStartValueChange.bind(this), step: this.step, style: { zIndex: this.lastFocusedHandle === "min" ? "2" : "1" }, type: "range", value: this.startValue }), m("input", { key: "e2ad0d586136185faccb50d6d7fb113a64ddac42", class: xe("searchcraft-slider-input", "searchcraft-slider-input-max-handle"), max: this.upperBound, min: this.lowerBound, onInput: this.handleEndValueChange.bind(this), step: this.step, style: { zIndex: this.lastFocusedHandle === "max" ? "2" : "1" }, type: "range", value: this.endValue })), m("div", { key: "7e9ab9fa9563cac6a1dfdd11910e04084ae5348d", class: "searchcraft-slider-label" }, m("span", { key: "0909279f460c4be84c1088c5981a5f5299e8e2a0", class: "searchcraft-slider-start-label" }, a), m("span", { key: "4b610a68f97fcbc0aa1eda428dfa1e53b00efe43", class: "searchcraft-slider-end-label" }, o)));
1894
1914
  }
1895
1915
  }, [0, "searchcraft-slider", {
1896
1916
  max: [2],
@@ -1957,9 +1977,9 @@ const io = /* @__PURE__ */ ee(class extends J {
1957
1977
  (e = this.unsubscribe) == null || e.call(this), (s = this.cleanupCore) == null || s.call(this);
1958
1978
  }
1959
1979
  render() {
1960
- return p("div", { key: "ab1d5ee21c7aaa28af1c405edc986556858366e8", class: xe("searchcraft-toggle-button", {
1980
+ return m("div", { key: "7dad6f4e4422a62f6403724ff16fe25e042ae2ac", class: xe("searchcraft-toggle-button", {
1961
1981
  "searchcraft-toggle-button-active": this.isActive
1962
- }) }, p("div", { key: "44f86a16d796d448bdb2fb3af72d4d8e1484364b" }, p("p", { key: "9fedb38795d6379cae56dc005ab8e4a944b4261b", class: "searchcraft-toggle-button-label" }, this.label), this.subLabel && p("p", { key: "44f3d17175184032275fec89a4cfe7f8266b7014", class: "searchcraft-toggle-button-sub-label" }, this.subLabel)), p("button", { key: "15fc18906ff2fb21fe646a4e3a8a2ace4a37cae2", class: "searchcraft-toggle-button-background", onClick: this.handleToggle, type: "button" }, p("div", { key: "716d29c65a199f63f5fd294dc3e3ad2ea4d53aa3", class: "searchcraft-toggle-button-handle" })));
1982
+ }) }, m("div", { key: "2faa2ee1eb5cb78dc39f523415f2be96bc23fed1" }, m("p", { key: "29ea63c281b8f1ae041ba75a149ce1b60e936662", class: "searchcraft-toggle-button-label" }, this.label), this.subLabel && m("p", { key: "e51efaae5ca79eede71852e6dec8eff4575139fe", class: "searchcraft-toggle-button-sub-label" }, this.subLabel)), m("button", { key: "d590da981692db162df9b8086ba2444d6a56ef9d", class: "searchcraft-toggle-button-background", onClick: this.handleToggle, type: "button" }, m("div", { key: "5be6ee1dd7dc58bd67fff18923569caee37b4936", class: "searchcraft-toggle-button-handle" })));
1963
1983
  }
1964
1984
  }, [0, "searchcraft-toggle-button", {
1965
1985
  label: [1],
@@ -1990,23 +2010,113 @@ const co = /* @__PURE__ */ ee(class extends J {
1990
2010
  * The items to filter.
1991
2011
  */
1992
2012
  c(this, "items", []);
2013
+ /**
2014
+ * The breakpoint (in pixels) below which the filter panel will be hidden.
2015
+ * Defaults to 768px (--sc-breakpoint-md).
2016
+ */
2017
+ c(this, "responsiveBreakpoint", 768);
2018
+ /**
2019
+ * Controls whether the filter panel automatically hides/shows based on window size.
2020
+ * - 'auto': Automatically hide/show based on window width
2021
+ * - 'manual': User controls visibility manually
2022
+ */
2023
+ c(this, "responsiveBehavior", "auto");
1993
2024
  c(this, "lastSearchTerm");
2025
+ c(this, "isFilterPanelVisible", !0);
1994
2026
  c(this, "core");
1995
2027
  c(this, "unsubscribe");
1996
2028
  c(this, "cleanupCore");
2029
+ c(this, "resizeObserver");
2030
+ c(this, "manuallyToggled", !1);
2031
+ // Track if user manually toggled visibility
2032
+ c(this, "toggleClickHandler");
2033
+ /**
2034
+ * Handles window resize events
2035
+ */
2036
+ c(this, "handleWindowResize", () => {
2037
+ this.responsiveBehavior === "auto" && this.updateVisibilityBasedOnWindowSize();
2038
+ });
1997
2039
  this.__registerHost();
1998
2040
  }
2041
+ get hostElement() {
2042
+ return this;
2043
+ }
1999
2044
  onCoreAvailable(e) {
2000
- this.core = e, this.setInitialDateRanges(), this.unsubscribe = e.store.subscribe((s) => {
2001
- this.lastSearchTerm = s.searchTerm || "";
2045
+ this.core = e, this.setInitialDateRanges(), this.responsiveBehavior === "auto" && this.updateVisibilityBasedOnWindowSize(), this.unsubscribe = e.store.subscribe((s, a) => {
2046
+ if (this.lastSearchTerm = s.searchTerm || "", a.isFilterPanelVisible !== s.isFilterPanelVisible) {
2047
+ const n = window.innerWidth >= (this.responsiveBreakpoint || 768);
2048
+ s.isFilterPanelVisible !== n && (this.manuallyToggled = !0), this.updateToggleElementAttributes(s.isFilterPanelVisible);
2049
+ }
2050
+ this.isFilterPanelVisible = s.isFilterPanelVisible;
2002
2051
  });
2003
2052
  }
2004
2053
  componentDidLoad() {
2005
- this.cleanupCore = de.useCoreInstance(this.searchcraftId, this.onCoreAvailable.bind(this));
2054
+ this.cleanupCore = de.useCoreInstance(this.searchcraftId, this.onCoreAvailable.bind(this)), this.responsiveBehavior === "auto" && typeof window < "u" && this.setupResizeObserver(), this.setupToggleClickHandlers(), setTimeout(() => {
2055
+ if (this.core) {
2056
+ const e = this.core.store.getState().isFilterPanelVisible;
2057
+ this.updateToggleElementAttributes(e);
2058
+ }
2059
+ }, 0);
2006
2060
  }
2007
2061
  disconnectedCallback() {
2008
- var e, s;
2009
- (e = this.unsubscribe) == null || e.call(this), (s = this.cleanupCore) == null || s.call(this);
2062
+ var e, s, a;
2063
+ (e = this.unsubscribe) == null || e.call(this), (s = this.cleanupCore) == null || s.call(this), (a = this.resizeObserver) == null || a.disconnect(), typeof window < "u" && window.removeEventListener("resize", this.handleWindowResize), this.cleanupToggleClickHandlers();
2064
+ }
2065
+ /**
2066
+ * Sets up a ResizeObserver to watch for window size changes
2067
+ */
2068
+ setupResizeObserver() {
2069
+ if (typeof ResizeObserver > "u") {
2070
+ window.addEventListener("resize", this.handleWindowResize);
2071
+ return;
2072
+ }
2073
+ this.resizeObserver = new ResizeObserver(() => {
2074
+ this.handleWindowResize();
2075
+ }), this.resizeObserver.observe(document.body);
2076
+ }
2077
+ /**
2078
+ * Updates filter panel visibility based on current window width
2079
+ */
2080
+ updateVisibilityBasedOnWindowSize() {
2081
+ if (typeof window > "u" || this.manuallyToggled)
2082
+ return;
2083
+ const s = window.innerWidth >= (this.responsiveBreakpoint || 768);
2084
+ this.core && this.isFilterPanelVisible !== s && this.core.store.getState().setFilterPanelVisibility(s);
2085
+ }
2086
+ /**
2087
+ * Sets up click handlers for elements with data-toggle-filter-panel attribute
2088
+ */
2089
+ setupToggleClickHandlers() {
2090
+ if (typeof document > "u")
2091
+ return;
2092
+ this.toggleClickHandler = (s) => {
2093
+ if (!(window.innerWidth >= (this.responsiveBreakpoint || 768)) && (s.preventDefault(), this.core)) {
2094
+ const o = this.core.store.getState().isFilterPanelVisible;
2095
+ this.core.store.getState().setFilterPanelVisibility(!o);
2096
+ }
2097
+ }, document.querySelectorAll("[data-toggle-filter-panel]").forEach((s) => {
2098
+ this.toggleClickHandler && s.addEventListener("click", this.toggleClickHandler);
2099
+ });
2100
+ }
2101
+ /**
2102
+ * Updates data attributes on toggle elements to reflect panel visibility state
2103
+ */
2104
+ updateToggleElementAttributes(e) {
2105
+ if (typeof document > "u")
2106
+ return;
2107
+ document.querySelectorAll("[data-toggle-filter-panel]").forEach((a) => {
2108
+ e ? (a.removeAttribute("data-filter-panel-collapsed"), a.setAttribute("data-filter-panel-expanded", "")) : (a.removeAttribute("data-filter-panel-expanded"), a.setAttribute("data-filter-panel-collapsed", ""));
2109
+ });
2110
+ }
2111
+ /**
2112
+ * Cleans up click handlers for toggle elements
2113
+ */
2114
+ cleanupToggleClickHandlers() {
2115
+ if (typeof document > "u" || !this.toggleClickHandler)
2116
+ return;
2117
+ document.querySelectorAll("[data-toggle-filter-panel]").forEach((s) => {
2118
+ this.toggleClickHandler && s.removeEventListener("click", this.toggleClickHandler);
2119
+ });
2010
2120
  }
2011
2121
  /**
2012
2122
  * Sets the initial min/max date range values for search queries based on the filter items provided.
@@ -2023,12 +2133,12 @@ const co = /* @__PURE__ */ ee(class extends J {
2023
2133
  }
2024
2134
  }
2025
2135
  handleDateRangeChanged(e, s, a) {
2026
- var h, u, l, m;
2136
+ var h, u, l, p;
2027
2137
  const o = new Date(s), n = new Date(a);
2028
2138
  (u = (h = this.core) == null ? void 0 : h.store.getState()) == null || u.addRangeValueForIndexField({
2029
2139
  fieldName: e.fieldName,
2030
2140
  value: `${e.fieldName}:[${o.toISOString()} TO ${n.toISOString()}]`
2031
- }), (m = (l = this.core) == null ? void 0 : l.store.getState()) == null || m.search();
2141
+ }), (p = (l = this.core) == null ? void 0 : l.store.getState()) == null || p.search();
2032
2142
  }
2033
2143
  handleNumericRangeChanged(e, s, a) {
2034
2144
  var o, n, h, u;
@@ -2062,45 +2172,48 @@ const co = /* @__PURE__ */ ee(class extends J {
2062
2172
  * Iterate through `items` and render them based on `type`
2063
2173
  */
2064
2174
  render() {
2065
- return p("div", { key: "ee8974e38b296a1ba27111bc2a4244d8915f5839", class: "searchcraft-filter-panel" }, this.items.map((e) => {
2175
+ return this.isFilterPanelVisible ? m("div", { class: "searchcraft-filter-panel" }, this.items.map((e) => {
2066
2176
  switch (e.type) {
2067
2177
  case "dateRange": {
2068
2178
  const s = e, a = s.options.maxDate || /* @__PURE__ */ new Date();
2069
- return p("div", { class: "searchcraft-filter-panel-section" }, p("p", { class: "searchcraft-filter-panel-label" }, e.label), p("searchcraft-slider", { min: s.options.minDate.getTime(), max: a.getTime(), dataType: "date", step: 1, dateGranularity: s.options.granularity, onRangeChanged: (o) => {
2179
+ return m("div", { class: "searchcraft-filter-panel-section" }, m("p", { class: "searchcraft-filter-panel-label" }, e.label), m("searchcraft-slider", { min: s.options.minDate.getTime(), max: a.getTime(), dataType: "date", step: 1, dateGranularity: s.options.granularity, onRangeChanged: (o) => {
2070
2180
  this.handleDateRangeChanged(s, o.detail.startValue, o.detail.endValue);
2071
2181
  } }));
2072
2182
  }
2073
2183
  case "numericRange": {
2074
2184
  const s = e;
2075
- return p("div", { class: "searchcraft-filter-panel-section" }, p("p", { class: "searchcraft-filter-panel-label" }, e.label), p("searchcraft-slider", { min: s.options.min, max: s.options.max, step: s.options.granularity, onRangeChanged: (a) => {
2185
+ return m("div", { class: "searchcraft-filter-panel-section" }, m("p", { class: "searchcraft-filter-panel-label" }, e.label), m("searchcraft-slider", { min: s.options.min, max: s.options.max, step: s.options.granularity, onRangeChanged: (a) => {
2076
2186
  this.handleNumericRangeChanged(s.fieldName, a.detail.startValue, a.detail.endValue);
2077
2187
  } }));
2078
2188
  }
2079
2189
  case "facets": {
2080
2190
  const s = e;
2081
- return p("div", { class: "searchcraft-filter-panel-section" }, p("p", { class: "searchcraft-filter-panel-label" }, e.label), p("searchcraft-facet-list", { fieldName: s.fieldName, onFacetSelectionUpdated: (a) => {
2191
+ return m("div", { class: "searchcraft-filter-panel-section" }, m("p", { class: "searchcraft-filter-panel-label" }, e.label), m("searchcraft-facet-list", { fieldName: s.fieldName, exclude: s.options.exclude, onFacetSelectionUpdated: (a) => {
2082
2192
  this.handleFacetSelectionUpdated(s.fieldName, a.detail.paths);
2083
2193
  } }));
2084
2194
  }
2085
2195
  case "exactMatchToggle": {
2086
2196
  const s = e;
2087
- return p("searchcraft-toggle-button", { label: s.label, subLabel: s.options.subLabel, onToggleUpdated: (a) => {
2197
+ return m("searchcraft-toggle-button", { label: s.label, subLabel: s.options.subLabel, onToggleUpdated: (a) => {
2088
2198
  this.handleExactMatchToggleUpdated(a.detail);
2089
2199
  } });
2090
2200
  }
2091
2201
  case "mostRecentToggle": {
2092
2202
  const s = e;
2093
- return p("searchcraft-toggle-button", { label: s.label, subLabel: s.options.subLabel, onToggleUpdated: (a) => {
2203
+ return m("searchcraft-toggle-button", { label: s.label, subLabel: s.options.subLabel, onToggleUpdated: (a) => {
2094
2204
  this.handleMostRecentToggleUpdated(s.fieldName, a.detail);
2095
2205
  } });
2096
2206
  }
2097
2207
  }
2098
- }));
2208
+ })) : null;
2099
2209
  }
2100
2210
  }, [0, "searchcraft-filter-panel", {
2101
2211
  searchcraftId: [1, "searchcraft-id"],
2102
2212
  items: [16],
2103
- lastSearchTerm: [32]
2213
+ responsiveBreakpoint: [2, "responsive-breakpoint"],
2214
+ responsiveBehavior: [1, "responsive-behavior"],
2215
+ lastSearchTerm: [32],
2216
+ isFilterPanelVisible: [32]
2104
2217
  }]);
2105
2218
  function lo() {
2106
2219
  if (typeof customElements > "u")
@@ -2133,7 +2246,7 @@ const uo = lo, ho = /* @__PURE__ */ ee(class extends J {
2133
2246
  this.__registerHost();
2134
2247
  }
2135
2248
  render() {
2136
- return p("label", { key: "3622c616d480e57b1dfaa2d61637a30b843cb968", class: xe("searchcraft-input-label", this.inputLabelClassName), htmlFor: "searchcraft-input-id" }, this.label);
2249
+ return m("label", { key: "1008f9beb320aaa94026604b283eb65a96023265", class: xe("searchcraft-input-label", this.inputLabelClassName), htmlFor: "searchcraft-input-id" }, this.label);
2137
2250
  }
2138
2251
  }, [0, "searchcraft-input-label", {
2139
2252
  inputLabelClassName: [1, "input-label-class-name"],
@@ -2259,7 +2372,7 @@ const fo = /* @__PURE__ */ ee(class extends J {
2259
2372
  }), o = {
2260
2373
  gap: this.inputLabel || this.error ? "4px 8px" : "0px 8px"
2261
2374
  };
2262
- return p("form", { key: "d214ace44e9209154d215e803de088aefa58a285", class: "searchcraft-input-form", onSubmit: this.handleFormSubmit }, p("div", { key: "5699f5dca28caf5e9584401f1883d2e08d26e3ec", class: s, style: o }, p("div", { key: "ef792a946414a680e9c99c145246d00b9b8f2ffb", class: "searchcraft-input-form-button" }, p("searchcraft-button", { key: "ba5a8cb98889bb486781af4915a21c94a0b1498a", onButtonClick: this.handleFormSubmit, label: this.buttonLabel })), this.inputLabel && p("div", { key: "a9e770ef967f7ab1c6ddf8f87f23cea509894536", class: "searchcraft-input-form-label" }, p("searchcraft-input-label", { key: "93b29e630e71a3c7724921aa9586aab76e592f4f", label: this.inputLabel })), this.error && p("div", { key: "641ef4f468d527c24a1635d49dcbbba03030686f", class: "searchcraft-input-form-error-message" }, p("searchcraft-error-message", { key: "2d839d17b702fe1b41d7e49aacfc52fb53315766" }, "Something went wrong.")), p("div", { key: "af0c73478de21447c992bd0037ba007d54f53a86", class: "searchcraft-input-form-input-wrapper" }, p("input", { key: "3de1be1aa71c143b58cd6080d422410bd400e4e5", autoComplete: "off", class: xe("searchcraft-input-form-input", {
2375
+ return m("form", { key: "8ba91615394f95c0d5bd26a3006d3e8b454f047e", class: "searchcraft-input-form", onSubmit: this.handleFormSubmit }, m("div", { key: "d9025a1c041e3132280b22e5a1b039df0196cea5", class: s, style: o }, m("div", { key: "a8c3a80a0ccb718f974902fb1d163d5c3ee6194a", class: "searchcraft-input-form-button" }, m("searchcraft-button", { key: "a12ff9a8cdb9a4ce3c3fd54b1c2ae084edd37069", onButtonClick: this.handleFormSubmit, label: this.buttonLabel })), this.inputLabel && m("div", { key: "866e7162c402524eaca864bb6e950a244245dc48", class: "searchcraft-input-form-label" }, m("searchcraft-input-label", { key: "c57217cd5924c827df08e22a728067e3bfc63a26", label: this.inputLabel })), this.error && m("div", { key: "4a54728bf366db50de39470cf31860a6307dafea", class: "searchcraft-input-form-error-message" }, m("searchcraft-error-message", { key: "5fa5b5f5677350338d15c8e6614b0d9f584141b0" }, "Something went wrong.")), m("div", { key: "67be766103a3bca11cff6f83a2a6dea7c6c6f106", class: "searchcraft-input-form-input-wrapper" }, m("input", { key: "931609a4e8fc55d688077ec6cb04f2bb9b86b5fe", autoComplete: "off", class: xe("searchcraft-input-form-input", {
2263
2376
  "searchcraft-placeholder-hide-on-focus": this.placeholderBehavior === "hide-on-focus"
2264
2377
  }), onFocus: () => {
2265
2378
  var n;
@@ -2269,7 +2382,7 @@ const fo = /* @__PURE__ */ ee(class extends J {
2269
2382
  return (n = this.inputBlur) == null ? void 0 : n.emit();
2270
2383
  }, onInput: (n) => {
2271
2384
  this.handleInput(n);
2272
- }, placeholder: this.placeholderValue, type: "text", value: this.inputValue }), p("div", { key: "fe9043c046e3b1b91129299f0860919ba8a8416b", class: "searchcraft-input-form-input-icon" }, p("svg", { key: "31ae1553cd214d5e2f97c9e3699862dff51a0916", class: "searchcraft-input-form-input-search-icon", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "searchcraft-title" }, p("title", { key: "9db677da65283ff15b0d4e79b5d9daf89637b33f" }, "Search icon"), p("path", { key: "2a002eae6ed3725a432e7c3e4649c0bd2ffff7a0", d: "M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), e && p("button", { key: "b7e92b22c3234eb31d85b0aa98d7c682b2fc0021", type: "button", class: "searchcraft-input-form-clear-button", onClick: this.handleClearInput }, p("svg", { key: "bfbeb742f197da0cac6dd5df2627db9df5349207", class: "searchcraft-input-form-clear-icon", viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "icon-title" }, p("title", { key: "c62b9d237b3762609fed72e0520322fb5eabe979" }, "Clear icon"), p("path", { key: "198a13760ce8b076ef8e791dec933b210ff3017a", d: "M14 8L8 14M8 8L14 14M21 11C21 16.5228 16.5228 21 11 21C5.47715 21 1 16.5228 1 11C1 5.47715 5.47715 1 11 1C16.5228 1 21 5.47715 21 11Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))));
2385
+ }, placeholder: this.placeholderValue, type: "text", value: this.inputValue }), m("div", { key: "7feb32348b7faec4104137a142ba8150149498a5", class: "searchcraft-input-form-input-icon" }, m("svg", { key: "8b9abd236d4896b8dbd5c14e06019c116e3675be", class: "searchcraft-input-form-input-search-icon", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "searchcraft-title" }, m("title", { key: "4d3b6724f6532920f5531d2e15b28a06f0770688" }, "Search icon"), m("path", { key: "65a46a1916c1f020c9bebffd42aa016b59177376", d: "M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), e && m("button", { key: "65278eb0ab49415dce79c874adf90adcb5854db5", type: "button", class: "searchcraft-input-form-clear-button", onClick: this.handleClearInput }, m("svg", { key: "0016263afe32250ace58cc4b98ff6106d7d9d4a0", class: "searchcraft-input-form-clear-icon", viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "icon-title" }, m("title", { key: "9b40d806455ab9c19c0cddb4c76101debdb0266c" }, "Clear icon"), m("path", { key: "2954ee1496d6736d6e780755034902c76adb81e9", d: "M14 8L8 14M8 8L14 14M21 11C21 16.5228 16.5228 21 11 21C5.47715 21 1 16.5228 1 11C1 5.47715 5.47715 1 11 1C16.5228 1 21 5.47715 21 11Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))));
2273
2386
  }
2274
2387
  static get watchers() {
2275
2388
  return {
@@ -2320,7 +2433,7 @@ const po = Ra, mo = us, go = /* @__PURE__ */ ee(class extends J {
2320
2433
  this.__registerHost();
2321
2434
  }
2322
2435
  render() {
2323
- return p("div", { key: "507cde7e8f74682d0535a65fbc787b18fa4c49f7", class: "searchcraft-loading" }, p("div", { key: "de8d4db44bd0d54baa276403063327b040a39ee4", class: "searchcraft-loading-bars" }, p("div", { key: "3ef1ad066aef5582de0afe08c598747e48533f0a", class: "searchcraft-loading-bar-1" }), p("div", { key: "0e9b5bfb8c031b1d788b0f39a63b1b325f123aad", class: "searchcraft-loading-bar-2" }), p("div", { key: "b342f47a3869301d17e66f0ae79cbea6b2a7ed41", class: "searchcraft-loading-bar-3" }), p("div", { key: "c11c58254a005b80c54b98f6713acb4c7f376a58", class: "searchcraft-loading-bar-4" }), p("div", { key: "c53ff4d003ed8e1d17fdc2ab8d61b2d3313dd5ac", class: "searchcraft-loading-bar-5" }), p("div", { key: "3f517f20a24a844c04562cbb95b3a39502905405", class: "searchcraft-loading-bar-6" })), p("p", { key: "11a63145472d8ded9d28bf7e9cfde9097e6a02e2", class: "searchcraft-loading-label" }, this.label));
2436
+ return m("div", { key: "5bda164202246eeb2e56bb6a25bede9931898e7a", class: "searchcraft-loading" }, m("div", { key: "e33a5abc6686f9983c718a2532aa2d46902d98a2", class: "searchcraft-loading-bars" }, m("div", { key: "85ff7af527b8f419c9bfd6e84331dd68772e6fdd", class: "searchcraft-loading-bar-1" }), m("div", { key: "1485d17e9262dbec6d2e5976a63149878137821c", class: "searchcraft-loading-bar-2" }), m("div", { key: "d2939b9f7bc0599df7d96db91802ebfcbf232f3e", class: "searchcraft-loading-bar-3" }), m("div", { key: "7a73bd5baf25ec789c3170e066d1333b905bfe7b", class: "searchcraft-loading-bar-4" }), m("div", { key: "b644b618766727773b21d288945c21b6ef0be958", class: "searchcraft-loading-bar-5" }), m("div", { key: "4f5123a786fc40891ca54edc538dd56f683b26ce", class: "searchcraft-loading-bar-6" })), m("p", { key: "967c1a6fb41231c8d713b78facca98e7f5a80709", class: "searchcraft-loading-label" }, this.label));
2324
2437
  }
2325
2438
  }, [0, "searchcraft-loading", {
2326
2439
  label: [1]
@@ -2377,28 +2490,28 @@ const bo = Ea, vo = /* @__PURE__ */ ee(class extends J {
2377
2490
  this.setSearchResultsPage(e);
2378
2491
  }
2379
2492
  renderOddPaginationItem(e) {
2380
- return p("li", null, p("button", { class: xe("searchcraft-pagination-item", {
2493
+ return m("li", null, m("button", { class: xe("searchcraft-pagination-item", {
2381
2494
  "searchcraft-pagination-item-active": this.searchResultsPage === e
2382
2495
  }), onClick: () => this.handleGoToPage(e), type: "button" }, e));
2383
2496
  }
2384
2497
  renderEvenPaginationItem(e) {
2385
2498
  if (!(this.searchResultsPagesCount <= e))
2386
- return (this.searchResultsPagesCount <= 5 || e < Math.ceil(this.searchResultsPagesCount / 2) ? this.searchResultsPage <= e + 1 : this.searchResultsPage >= e - 1) ? p("li", null, p("button", { class: xe("searchcraft-pagination-item", {
2499
+ return (this.searchResultsPagesCount <= 5 || e < Math.ceil(this.searchResultsPagesCount / 2) ? this.searchResultsPage <= e + 1 : this.searchResultsPage >= e - 1) ? m("li", null, m("button", { class: xe("searchcraft-pagination-item", {
2387
2500
  "searchcraft-pagination-item-active": this.searchResultsPage === e
2388
- }), onClick: () => this.handleGoToPage(e), type: "button" }, e)) : p("li", null, p("span", { class: "searchcraft-pagination-item" }, "..."));
2501
+ }), onClick: () => this.handleGoToPage(e), type: "button" }, e)) : m("li", null, m("span", { class: "searchcraft-pagination-item" }, "..."));
2389
2502
  }
2390
2503
  renderMiddlePaginationItem() {
2391
2504
  if (!(this.searchResultsPagesCount <= 3))
2392
- return this.searchResultsPagesCount <= 5 || this.searchResultsPage <= 3 || this.searchResultsPage >= this.searchResultsPagesCount - 2 ? p("li", null, p("button", { class: xe("searchcraft-pagination-item", {
2505
+ return this.searchResultsPagesCount <= 5 || this.searchResultsPage <= 3 || this.searchResultsPage >= this.searchResultsPagesCount - 2 ? m("li", null, m("button", { class: xe("searchcraft-pagination-item", {
2393
2506
  "searchcraft-pagination-item-active": this.searchResultsPage === 3 || this.searchResultsPage === this.searchResultsPagesCount - 2
2394
- }), type: "button", onClick: () => this.handleGoToPage(this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3) }, this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3)) : p("li", null, p("span", { class: "searchcraft-pagination-item searchcraft-pagination-item-active" }, this.searchResultsPage));
2507
+ }), type: "button", onClick: () => this.handleGoToPage(this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3) }, this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3)) : m("li", null, m("span", { class: "searchcraft-pagination-item searchcraft-pagination-item-active" }, this.searchResultsPage));
2395
2508
  }
2396
2509
  render() {
2397
2510
  const e = typeof this.searchClientRequestProperties == "string" && this.searchTerm.trim() === "";
2398
2511
  if (!(!this.searchTerm && !e || this.searchResultsPagesCount <= 1))
2399
- return p("div", { class: "searchcraft-pagination" }, p("div", { class: "searchcraft-pagination-control" }, p("searchcraft-button", { disabled: this.searchResultsPage === 1, hierarchy: "tertiary", onButtonClick: () => this.handleGoToPage(Math.max(1, this.searchResultsPage - 1)), label: "Previous", iconPosition: "left", icon: p("svg", { class: "searchcraft-button-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, p("title", null, "Previous page icon"), p("path", { d: "M12.5 15L7.5 10L12.5 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), iconOnly: !0 })), p("ul", { class: "searchcraft-pagination-list" }, this.renderOddPaginationItem(1), this.renderEvenPaginationItem(2), this.renderMiddlePaginationItem(), this.renderEvenPaginationItem(this.searchResultsPagesCount > 4 ? this.searchResultsPagesCount - 1 : 4), this.renderOddPaginationItem(this.searchResultsPagesCount)), p("div", { class: "searchcraft-pagination-control" }, p("searchcraft-button", { disabled: this.searchResultsPage === this.searchResultsPagesCount, hierarchy: "tertiary", onButtonClick: () => {
2512
+ return m("div", { class: "searchcraft-pagination" }, m("div", { class: "searchcraft-pagination-control" }, m("searchcraft-button", { disabled: this.searchResultsPage === 1, hierarchy: "tertiary", onButtonClick: () => this.handleGoToPage(Math.max(1, this.searchResultsPage - 1)), label: "Previous", iconPosition: "left", icon: m("svg", { class: "searchcraft-button-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, m("title", null, "Previous page icon"), m("path", { d: "M12.5 15L7.5 10L12.5 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), iconOnly: !0 })), m("ul", { class: "searchcraft-pagination-list" }, this.renderOddPaginationItem(1), this.renderEvenPaginationItem(2), this.renderMiddlePaginationItem(), this.renderEvenPaginationItem(this.searchResultsPagesCount > 4 ? this.searchResultsPagesCount - 1 : 4), this.renderOddPaginationItem(this.searchResultsPagesCount)), m("div", { class: "searchcraft-pagination-control" }, m("searchcraft-button", { disabled: this.searchResultsPage === this.searchResultsPagesCount, hierarchy: "tertiary", onButtonClick: () => {
2400
2513
  this.handleGoToPage(Math.min(this.searchResultsPagesCount, this.searchResultsPage + 1));
2401
- }, label: "Next", iconPosition: "right", icon: p("svg", { class: "searchcraft-button-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, p("title", null, "Next page icon"), p("path", { d: "M7.5 15L12.5 10L7.5 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), iconOnly: !0 })));
2514
+ }, label: "Next", iconPosition: "right", icon: m("svg", { class: "searchcraft-button-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, m("title", null, "Next page icon"), m("path", { d: "M7.5 15L12.5 10L7.5 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), iconOnly: !0 })));
2402
2515
  }
2403
2516
  }, [0, "searchcraft-pagination", {
2404
2517
  searchcraftId: [1, "searchcraft-id"],
@@ -2450,10 +2563,10 @@ const ko = yo, Co = /* @__PURE__ */ ee(class extends J {
2450
2563
  });
2451
2564
  c(this, "cleanupCore");
2452
2565
  c(this, "core");
2453
- c(this, "renderOptionSymbol", () => p("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, p("title", null, "Option key"), p("path", { d: "M283,112c0-11.58,9.42-21,21-21h160c11.58,0,21,9.42,21,21s-9.42,21-21,21h-160c-11.58,0-21-9.42-21-21Z", fill: "currentColor" }), p("path", { d: "M485,400c0,11.58-9.42,21-21,21h-128c-8.29,0-15.82-4.9-19.19-12.47l-122.46-275.53H48c-11.58,0-21-9.42-21-21s9.42-21,21-21h160c8.29,0,15.82,4.9,19.19,12.47l122.46,275.53h114.35c11.58,0,21,9.42,21,21Z", fill: "currentColor" })));
2454
- c(this, "renderCtrlSymbol", () => p("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, p("title", null, "Ctrl key"), p("path", { d: "M388.95,209.4c-.37,5.59-2.9,10.71-7.12,14.4-3.83,3.35-8.74,5.2-13.82,5.2-6.06,0-11.83-2.61-15.81-7.17l-96.2-109.94-96.2,109.94c-3.98,4.56-9.75,7.17-15.81,7.17-5.08,0-9.99-1.84-13.82-5.2-4.22-3.69-6.75-8.81-7.12-14.4-.38-5.6,1.45-11.01,5.15-15.23l112-128c3.98-4.56,9.74-7.17,15.8-7.17s11.82,2.61,15.8,7.17l112,128c3.7,4.22,5.53,9.63,5.15,15.23Z", fill: "currentColor" })));
2455
- c(this, "renderWindowsMetaSymbol", () => p("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, p("title", null, "Windows meta key"), p("path", { d: "M206.115 255.957c-23.854-12.259-47.043-18.479-68.94-18.479-2.978 0-5.976 0.090-8.974 0.354-27.94 2.312-53.461 9.684-69.875 15.414-4.354 1.599-8.817 3.288-13.415 5.153l-44.911 155.697c30.851-11.416 58.146-16.969 83.135-16.969 40.423 0 69.764 15.104 93.996 30.652 11.481-38.959 39.022-133.045 47.241-161.162-5.975-3.642-12.038-7.285-18.257-10.66zM264.174 295.535l-45.223 157.074c13.416 7.686 58.549 32.025 93.106 32.025 27.896 0 59.126-7.148 95.417-21.896l43.178-150.988c-29.316 9.461-57.438 14.26-83.732 14.26-47.975 0-81.557-15.549-102.746-30.475zM146.411 184.395c38.559 0.399 67.076 15.104 90.708 30.251l46.376-158.672c-9.773-5.598-35.403-19.547-53.929-24.3-12.193-2.842-25.010-4.308-38.602-4.308-25.898 0.488-54.194 6.973-86.444 19.9l-44.22 155.298c32.404-12.218 60.322-18.17 86.043-18.17 0.023 0.001 0.068 0.001 0.068 0.001zM512 99.062c-29.407 11.416-58.104 17.233-85.514 17.233-45.843 0-79.646-15.901-101.547-31.183l-45.975 159.118c30.873 19.854 64.145 29.939 99.061 29.939 28.474 0 57.97-6.84 87.731-20.344l-0.091-1.111 1.867-0.443 44.468-153.209z", fill: "currentColor" })));
2456
- c(this, "renderMacMetaSymbol", () => p("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, p("title", null, "Mac meta key"), p("path", { d: "M368,283h-43v-54h43c46.87,0,85-38.13,85-85s-38.13-85-85-85-85,38.13-85,85v43h-54v-43c0-46.87-38.13-85-85-85s-85,38.13-85,85,38.13,85,85,85h43v54h-43c-46.87,0-85,38.13-85,85s38.13,85,85,85,85-38.13,85-85v-43h54v43c0,46.87,38.13,85,85,85s85-38.13,85-85-38.13-85-85-85ZM325,144c0-23.71,19.29-43,43-43s43,19.29,43,43-19.29,43-43,43h-43v-43ZM144,187c-23.71,0-43-19.29-43-43s19.29-43,43-43,43,19.29,43,43v43h-43ZM187,368c0,23.71-19.29,43-43,43s-43-19.29-43-43,19.29-43,43-43h43v43ZM283,283h-54v-54h54v54ZM368,411c-23.71,0-43-19.29-43-43v-43h43c23.71,0,43,19.29,43,43s-19.29,43-43,43Z", fill: "currentColor" })));
2566
+ c(this, "renderOptionSymbol", () => m("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, m("title", null, "Option key"), m("path", { d: "M283,112c0-11.58,9.42-21,21-21h160c11.58,0,21,9.42,21,21s-9.42,21-21,21h-160c-11.58,0-21-9.42-21-21Z", fill: "currentColor" }), m("path", { d: "M485,400c0,11.58-9.42,21-21,21h-128c-8.29,0-15.82-4.9-19.19-12.47l-122.46-275.53H48c-11.58,0-21-9.42-21-21s9.42-21,21-21h160c8.29,0,15.82,4.9,19.19,12.47l122.46,275.53h114.35c11.58,0,21,9.42,21,21Z", fill: "currentColor" })));
2567
+ c(this, "renderCtrlSymbol", () => m("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, m("title", null, "Ctrl key"), m("path", { d: "M388.95,209.4c-.37,5.59-2.9,10.71-7.12,14.4-3.83,3.35-8.74,5.2-13.82,5.2-6.06,0-11.83-2.61-15.81-7.17l-96.2-109.94-96.2,109.94c-3.98,4.56-9.75,7.17-15.81,7.17-5.08,0-9.99-1.84-13.82-5.2-4.22-3.69-6.75-8.81-7.12-14.4-.38-5.6,1.45-11.01,5.15-15.23l112-128c3.98-4.56,9.74-7.17,15.8-7.17s11.82,2.61,15.8,7.17l112,128c3.7,4.22,5.53,9.63,5.15,15.23Z", fill: "currentColor" })));
2568
+ c(this, "renderWindowsMetaSymbol", () => m("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, m("title", null, "Windows meta key"), m("path", { d: "M206.115 255.957c-23.854-12.259-47.043-18.479-68.94-18.479-2.978 0-5.976 0.090-8.974 0.354-27.94 2.312-53.461 9.684-69.875 15.414-4.354 1.599-8.817 3.288-13.415 5.153l-44.911 155.697c30.851-11.416 58.146-16.969 83.135-16.969 40.423 0 69.764 15.104 93.996 30.652 11.481-38.959 39.022-133.045 47.241-161.162-5.975-3.642-12.038-7.285-18.257-10.66zM264.174 295.535l-45.223 157.074c13.416 7.686 58.549 32.025 93.106 32.025 27.896 0 59.126-7.148 95.417-21.896l43.178-150.988c-29.316 9.461-57.438 14.26-83.732 14.26-47.975 0-81.557-15.549-102.746-30.475zM146.411 184.395c38.559 0.399 67.076 15.104 90.708 30.251l46.376-158.672c-9.773-5.598-35.403-19.547-53.929-24.3-12.193-2.842-25.010-4.308-38.602-4.308-25.898 0.488-54.194 6.973-86.444 19.9l-44.22 155.298c32.404-12.218 60.322-18.17 86.043-18.17 0.023 0.001 0.068 0.001 0.068 0.001zM512 99.062c-29.407 11.416-58.104 17.233-85.514 17.233-45.843 0-79.646-15.901-101.547-31.183l-45.975 159.118c30.873 19.854 64.145 29.939 99.061 29.939 28.474 0 57.97-6.84 87.731-20.344l-0.091-1.111 1.867-0.443 44.468-153.209z", fill: "currentColor" })));
2569
+ c(this, "renderMacMetaSymbol", () => m("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, m("title", null, "Mac meta key"), m("path", { d: "M368,283h-43v-54h43c46.87,0,85-38.13,85-85s-38.13-85-85-85-85,38.13-85,85v43h-54v-43c0-46.87-38.13-85-85-85s-85,38.13-85,85,38.13,85,85,85h43v54h-43c-46.87,0-85,38.13-85,85s38.13,85,85,85,85-38.13,85-85v-43h54v43c0,46.87,38.13,85,85,85s85-38.13,85-85-38.13-85-85-85ZM325,144c0-23.71,19.29-43,43-43s43,19.29,43,43-19.29,43-43,43h-43v-43ZM144,187c-23.71,0-43-19.29-43-43s19.29-43,43-43,43,19.29,43,43v43h-43ZM187,368c0,23.71-19.29,43-43,43s-43-19.29-43-43,19.29-43,43-43h43v43ZM283,283h-54v-54h54v54ZM368,411c-23.71,0-43-19.29-43-43v-43h43c23.71,0,43,19.29,43,43s-19.29,43-43,43Z", fill: "currentColor" })));
2457
2570
  this.__registerHost();
2458
2571
  }
2459
2572
  onCoreAvailable(e) {
@@ -2497,18 +2610,18 @@ const ko = yo, Co = /* @__PURE__ */ ee(class extends J {
2497
2610
  }
2498
2611
  }
2499
2612
  renderSkeuomorphicSlot() {
2500
- return p("div", { class: "searchcraft-popover-button-wrapper" }, p("div", { class: "searchcraft-popover-button-input" }, p("svg", { class: "searchcraft-popover-button-input-search-icon", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", version: "1.1" }, p("title", null, "Search icon"), p("path", { d: "M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), p("span", null, "Search")), p("div", { class: "searchcraft-popover-button-keycaps" }, p("div", { class: "searchcraft-popover-button-keycaps-keycap searchcraft-popover-button-keycaps-keycap-modifier" }, p("span", null, this.hotkeyModifierSymbol)), p("div", { class: "searchcraft-popover-button-keycaps-keycap searchcraft-popover-button-keycaps-keycap-key" }, p("span", null, this.hotkey))));
2613
+ return m("div", { class: "searchcraft-popover-button-wrapper" }, m("div", { class: "searchcraft-popover-button-input" }, m("svg", { class: "searchcraft-popover-button-input-search-icon", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", version: "1.1" }, m("title", null, "Search icon"), m("path", { d: "M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), m("span", null, "Search")), m("div", { class: "searchcraft-popover-button-keycaps" }, m("div", { class: "searchcraft-popover-button-keycaps-keycap searchcraft-popover-button-keycaps-keycap-modifier" }, m("span", null, this.hotkeyModifierSymbol)), m("div", { class: "searchcraft-popover-button-keycaps-keycap searchcraft-popover-button-keycaps-keycap-key" }, m("span", null, this.hotkey))));
2501
2614
  }
2502
2615
  renderSlot() {
2503
2616
  switch (this.type) {
2504
2617
  case "skeuomorphic":
2505
2618
  return this.renderSkeuomorphicSlot();
2506
2619
  default:
2507
- return p("div", null, p("slot", null));
2620
+ return m("div", null, m("slot", null));
2508
2621
  }
2509
2622
  }
2510
2623
  render() {
2511
- return p("button", { key: "ef815c1ea4ecde68fe152f80b811a95ccb9a38be", class: `searchcraft-popover-button ${this.type ? ` searchcraft-popover-button-${this.type}` : ""}`, innerHTML: typeof this.template < "u" ? this.template({ isPopoverVisible: this.isPopoverVisible }, { html: qt }) : void 0, onClick: this.handleOnClick.bind(this), type: "button" }, typeof this.template < "u" ? void 0 : this.type ? this.renderSlot() : "Open Popover");
2624
+ return m("button", { key: "4f11d81bb189a929372d9e398a0913b3b626e42c", class: `searchcraft-popover-button ${this.type ? ` searchcraft-popover-button-${this.type}` : ""}`, innerHTML: typeof this.template < "u" ? this.template({ isPopoverVisible: this.isPopoverVisible }, { html: Vt }) : void 0, onClick: this.handleOnClick.bind(this), type: "button" }, typeof this.template < "u" ? void 0 : this.type ? this.renderSlot() : "Open Popover");
2512
2625
  }
2513
2626
  }, [4, "searchcraft-popover-button", {
2514
2627
  template: [16],
@@ -2557,7 +2670,7 @@ const wo = xo, So = /* @__PURE__ */ ee(class extends J {
2557
2670
  (e = this.unsubscribe) == null || e.call(this), (s = this.cleanupCore) == null || s.call(this);
2558
2671
  }
2559
2672
  render() {
2560
- return p("footer", { key: "e12fa32df3c1137e643af22323feb3dc33f7718f", class: "searchcraft-popover-footer" }, p("p", { key: "73a33859c1702d82625748f398d5402030cc71f4", class: "searchcraft-popover-footer-results-info" }, this.searchResultsCount ? `${xa(this.searchResultsCount)} Results Found` : " "), p("a", { key: "9d32f6b21b166fef3e17e5b2eb81bfafe32f8d1a", class: "searchcraft-popover-footer-link", href: "https://searchcraft.io/", target: "_blank", rel: "noreferrer" }, p("svg", { key: "e47249460b6e2b5bb2a25d37c33d8a85b8c6013e", class: "searchcraft-popover-footer-link-image", width: "169", height: "16", viewBox: "0 0 169 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, p("title", { key: "438e675ff71edfc2176c08abe8efa34aaf7496ca" }, "Powered by Searchcraft"), p("path", { key: "484e8935fb1cb84a79b8402748bac1da8171e9de", d: "M5.07288 0.608C7.60088 0.608 8.84888 2.064 8.84888 4.112C8.84888 6.16 7.60088 7.616 5.07288 7.616H1.68088V12H0.336875V0.608H5.07288ZM5.07288 6.4C6.67288 6.4 7.45688 5.552 7.45688 4.112C7.45688 2.672 6.67288 1.824 5.07288 1.824H1.68088V6.4H5.07288ZM13.31 12.192C10.99 12.192 9.31 10.512 9.31 7.872C9.31 5.232 10.99 3.552 13.31 3.552C15.63 3.552 17.31 5.232 17.31 7.872C17.31 10.512 15.63 12.192 13.31 12.192ZM13.31 11.04C14.91 11.04 15.966 9.872 15.966 7.872C15.966 5.872 14.91 4.704 13.31 4.704C11.71 4.704 10.654 5.872 10.654 7.872C10.654 9.872 11.71 11.04 13.31 11.04ZM28.3826 3.744H29.7586L27.0066 12H25.6626L24.4466 8.176C24.1586 7.264 23.8706 6.304 23.6146 5.376C23.3426 6.304 23.0546 7.264 22.7666 8.176L21.5666 12H20.2226L17.4706 3.744H18.8466L20.0146 7.472C20.3346 8.48 20.6226 9.472 20.9106 10.48C21.1826 9.472 21.4706 8.48 21.7906 7.472L22.9426 3.744H24.2866L25.4386 7.472C25.7426 8.464 26.0466 9.456 26.3346 10.448C26.6066 9.456 26.9106 8.464 27.2146 7.472L28.3826 3.744ZM37.5194 7.872V8.32H31.2474C31.3754 10.176 32.3514 11.024 33.7914 11.024C34.9594 11.024 35.6954 10.416 35.9834 9.488H37.3114C36.9114 11.04 35.7274 12.192 33.7594 12.192C31.5034 12.192 29.9194 10.544 29.9194 7.872C29.9194 5.28 31.4394 3.552 33.7274 3.552C36.1914 3.552 37.5194 5.504 37.5194 7.872ZM33.7274 4.72C32.4314 4.72 31.4874 5.536 31.2794 7.168H36.1434C36.0154 5.808 35.1994 4.72 33.7274 4.72ZM42.9101 3.616C43.0381 3.616 43.1661 3.616 43.3421 3.632V4.864H43.0221C41.3741 4.864 40.3181 5.696 40.3181 7.296V12H39.0381V3.744H40.2541V5.2C40.7181 4.336 41.5661 3.616 42.9101 3.616ZM51.2538 7.872V8.32H44.9818C45.1098 10.176 46.0858 11.024 47.5258 11.024C48.6938 11.024 49.4298 10.416 49.7178 9.488H51.0458C50.6458 11.04 49.4618 12.192 47.4938 12.192C45.2378 12.192 43.6538 10.544 43.6538 7.872C43.6538 5.28 45.1738 3.552 47.4618 3.552C49.9258 3.552 51.2538 5.504 51.2538 7.872ZM47.4618 4.72C46.1658 4.72 45.2218 5.536 45.0138 7.168H49.8778C49.7498 5.808 48.9338 4.72 47.4618 4.72ZM58.9805 0.608H60.2605V12H59.0445V10.72C58.4205 11.664 57.4445 12.192 56.2125 12.192C53.8925 12.192 52.3725 10.512 52.3725 7.872C52.3725 5.232 53.8925 3.552 56.2125 3.552C57.4125 3.552 58.3565 4.048 58.9805 4.928V0.608ZM56.3725 11.04C57.9725 11.04 59.0285 9.872 59.0285 7.872C59.0285 5.872 57.9725 4.704 56.3725 4.704C54.7725 4.704 53.7165 5.936 53.7165 7.936C53.7165 9.936 54.7725 11.04 56.3725 11.04ZM69.2736 3.552C71.5936 3.552 73.1136 5.232 73.1136 7.872C73.1136 10.512 71.5936 12.192 69.2736 12.192C68.0416 12.192 67.0656 11.664 66.4416 10.72V12H65.2256V0.608H66.5056V4.928C67.1296 4.048 68.0736 3.552 69.2736 3.552ZM69.1136 11.04C70.7136 11.04 71.7696 9.808 71.7696 7.808C71.7696 5.808 70.7136 4.704 69.1136 4.704C67.5136 4.704 66.4576 5.872 66.4576 7.872C66.4576 9.872 67.5136 11.04 69.1136 11.04ZM79.3795 3.744H80.7715L77.2835 13.296C76.7555 14.752 75.9075 15.184 74.5955 15.184C74.3395 15.184 74.0995 15.168 73.8275 15.136V14.064H74.5795C75.3955 14.064 75.8275 13.696 76.0835 13.04C76.1795 12.8 76.2755 12.528 76.3715 12.272L73.2675 3.744H74.6755L75.8435 7.184C76.2595 8.384 76.6435 9.568 77.0275 10.752C77.3955 9.568 77.7955 8.368 78.2115 7.168L79.3795 3.744ZM89.1546 12.256C86.1146 12.256 84.2906 10.864 84.2746 8.24H86.4026C86.4346 10.032 87.6346 10.512 89.2186 10.512C90.7066 10.512 91.5226 9.936 91.5226 8.864C91.5226 7.968 90.9306 7.568 89.1866 7.216L88.2266 7.024C86.0186 6.608 84.5626 5.632 84.5626 3.568C84.5626 1.68 86.0506 0.351999 88.7866 0.351999C91.9866 0.351999 93.3466 1.856 93.4266 4H91.3306C91.2506 2.784 90.6266 2.096 88.8186 2.096C87.4426 2.096 86.7706 2.64 86.7706 3.504C86.7706 4.416 87.2986 4.832 88.9946 5.184L89.9866 5.376C92.6746 5.904 93.7626 6.944 93.7626 8.752C93.7626 11.008 92.0026 12.256 89.1546 12.256ZM102.952 8.016V8.496H96.7758C96.9198 9.968 97.7518 10.624 98.9198 10.624C99.8798 10.624 100.504 10.176 100.808 9.44H102.744C102.328 11.12 100.888 12.192 98.9038 12.192C96.4718 12.192 94.7918 10.512 94.7918 7.872C94.7918 5.28 96.4238 3.552 98.8718 3.552C101.4 3.552 102.952 5.392 102.952 8.016ZM98.8558 5.12C97.7838 5.12 96.9838 5.728 96.7918 7.088H100.936C100.776 5.92 100.056 5.12 98.8558 5.12ZM111.599 12H109.583C109.455 11.776 109.391 11.392 109.359 10.992C108.815 11.76 107.919 12.192 106.703 12.192C104.943 12.192 103.727 11.312 103.727 9.712C103.727 8.336 104.559 7.36 106.895 7.136L108.143 7.024C108.911 6.928 109.311 6.688 109.311 6.08C109.311 5.44 108.975 5.056 107.807 5.056C106.655 5.056 106.175 5.36 106.095 6.368H104.111C104.223 4.624 105.247 3.552 107.823 3.552C110.287 3.552 111.263 4.544 111.263 6.032V10.432C111.263 11.024 111.375 11.68 111.599 12ZM107.183 10.752C108.255 10.752 109.311 10.176 109.311 8.736V7.984C109.103 8.176 108.799 8.272 108.367 8.32L107.279 8.448C106.159 8.576 105.791 8.976 105.791 9.632C105.791 10.32 106.255 10.752 107.183 10.752ZM117.216 3.616C117.392 3.616 117.536 3.616 117.712 3.648V5.504H117.2C115.712 5.504 114.816 6.24 114.816 7.808V12H112.8V3.744H114.752V5.216C115.152 4.288 115.936 3.616 117.216 3.616ZM122.137 12.192C119.689 12.192 118.057 10.512 118.057 7.872C118.057 5.232 119.673 3.552 122.137 3.552C124.297 3.552 125.737 4.784 125.977 6.72H123.961C123.769 5.696 123.033 5.232 122.137 5.232C120.937 5.232 120.121 6.064 120.121 7.872C120.121 9.68 120.969 10.512 122.137 10.512C123.049 10.512 123.833 10.016 123.993 8.928H126.009C125.785 10.944 124.249 12.192 122.137 12.192ZM131.641 3.552C133.369 3.552 134.537 4.56 134.537 6.528V12H132.521V6.864C132.521 5.808 131.993 5.296 130.969 5.296C130.089 5.296 129.129 5.904 129.129 7.376V12H127.113V0.608H129.129V4.848C129.673 4.096 130.521 3.552 131.641 3.552ZM139.887 12.192C137.439 12.192 135.807 10.512 135.807 7.872C135.807 5.232 137.423 3.552 139.887 3.552C142.047 3.552 143.487 4.784 143.727 6.72H141.711C141.519 5.696 140.783 5.232 139.887 5.232C138.687 5.232 137.871 6.064 137.871 7.872C137.871 9.68 138.719 10.512 139.887 10.512C140.799 10.512 141.583 10.016 141.743 8.928H143.759C143.535 10.944 141.999 12.192 139.887 12.192ZM149.279 3.616C149.455 3.616 149.599 3.616 149.775 3.648V5.504H149.263C147.775 5.504 146.879 6.24 146.879 7.808V12H144.863V3.744H146.815V5.216C147.215 4.288 147.999 3.616 149.279 3.616ZM157.803 12H155.787C155.659 11.776 155.595 11.392 155.563 10.992C155.019 11.76 154.123 12.192 152.907 12.192C151.147 12.192 149.931 11.312 149.931 9.712C149.931 8.336 150.763 7.36 153.099 7.136L154.347 7.024C155.115 6.928 155.515 6.688 155.515 6.08C155.515 5.44 155.179 5.056 154.011 5.056C152.859 5.056 152.379 5.36 152.299 6.368H150.315C150.427 4.624 151.451 3.552 154.027 3.552C156.491 3.552 157.467 4.544 157.467 6.032V10.432C157.467 11.024 157.579 11.68 157.803 12ZM153.387 10.752C154.459 10.752 155.515 10.176 155.515 8.736V7.984C155.307 8.176 155.003 8.272 154.571 8.32L153.483 8.448C152.363 8.576 151.995 8.976 151.995 9.632C151.995 10.32 152.459 10.752 153.387 10.752ZM162.466 2.16C161.746 2.16 161.426 2.512 161.426 3.152V3.744H163.122V5.28H161.426V12H159.426V5.28H158.146V3.744H159.426V3.12C159.426 1.664 160.146 0.559999 162.13 0.559999C162.45 0.559999 162.882 0.575999 163.17 0.608V2.16H162.466ZM168.636 5.28H167.004V9.744C167.004 10.288 167.276 10.464 167.948 10.464H168.636V12C168.268 12.032 167.9 12.064 167.58 12.064C165.836 12.064 165.004 11.472 165.004 9.952V5.28H163.724V3.744H165.004V1.344H167.004V3.744H168.636V5.28Z", fill: "currentColor" }))));
2673
+ return m("footer", { key: "5e3c0da21c63453ac705d0ea2dbb1ee5053bd527", class: "searchcraft-popover-footer" }, m("p", { key: "34332a6a54af63717a6f6c36c65a321b2d18c82c", class: "searchcraft-popover-footer-results-info" }, this.searchResultsCount ? `${xa(this.searchResultsCount)} Results Found` : " "), m("a", { key: "8cd1bd1ad4e3a91e7221c5d38650b10a66dc884e", class: "searchcraft-popover-footer-link", href: "https://searchcraft.io/", target: "_blank", rel: "noreferrer" }, m("svg", { key: "4ebaa80bc3ee8cc2643368d84158cc46ac141376", class: "searchcraft-popover-footer-link-image", width: "169", height: "16", viewBox: "0 0 169 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, m("title", { key: "804857d081cf5cbd8e63af05c3479a96872d136d" }, "Powered by Searchcraft"), m("path", { key: "43d4a2b110134036b8823e508f535c293fb2df0c", d: "M5.07288 0.608C7.60088 0.608 8.84888 2.064 8.84888 4.112C8.84888 6.16 7.60088 7.616 5.07288 7.616H1.68088V12H0.336875V0.608H5.07288ZM5.07288 6.4C6.67288 6.4 7.45688 5.552 7.45688 4.112C7.45688 2.672 6.67288 1.824 5.07288 1.824H1.68088V6.4H5.07288ZM13.31 12.192C10.99 12.192 9.31 10.512 9.31 7.872C9.31 5.232 10.99 3.552 13.31 3.552C15.63 3.552 17.31 5.232 17.31 7.872C17.31 10.512 15.63 12.192 13.31 12.192ZM13.31 11.04C14.91 11.04 15.966 9.872 15.966 7.872C15.966 5.872 14.91 4.704 13.31 4.704C11.71 4.704 10.654 5.872 10.654 7.872C10.654 9.872 11.71 11.04 13.31 11.04ZM28.3826 3.744H29.7586L27.0066 12H25.6626L24.4466 8.176C24.1586 7.264 23.8706 6.304 23.6146 5.376C23.3426 6.304 23.0546 7.264 22.7666 8.176L21.5666 12H20.2226L17.4706 3.744H18.8466L20.0146 7.472C20.3346 8.48 20.6226 9.472 20.9106 10.48C21.1826 9.472 21.4706 8.48 21.7906 7.472L22.9426 3.744H24.2866L25.4386 7.472C25.7426 8.464 26.0466 9.456 26.3346 10.448C26.6066 9.456 26.9106 8.464 27.2146 7.472L28.3826 3.744ZM37.5194 7.872V8.32H31.2474C31.3754 10.176 32.3514 11.024 33.7914 11.024C34.9594 11.024 35.6954 10.416 35.9834 9.488H37.3114C36.9114 11.04 35.7274 12.192 33.7594 12.192C31.5034 12.192 29.9194 10.544 29.9194 7.872C29.9194 5.28 31.4394 3.552 33.7274 3.552C36.1914 3.552 37.5194 5.504 37.5194 7.872ZM33.7274 4.72C32.4314 4.72 31.4874 5.536 31.2794 7.168H36.1434C36.0154 5.808 35.1994 4.72 33.7274 4.72ZM42.9101 3.616C43.0381 3.616 43.1661 3.616 43.3421 3.632V4.864H43.0221C41.3741 4.864 40.3181 5.696 40.3181 7.296V12H39.0381V3.744H40.2541V5.2C40.7181 4.336 41.5661 3.616 42.9101 3.616ZM51.2538 7.872V8.32H44.9818C45.1098 10.176 46.0858 11.024 47.5258 11.024C48.6938 11.024 49.4298 10.416 49.7178 9.488H51.0458C50.6458 11.04 49.4618 12.192 47.4938 12.192C45.2378 12.192 43.6538 10.544 43.6538 7.872C43.6538 5.28 45.1738 3.552 47.4618 3.552C49.9258 3.552 51.2538 5.504 51.2538 7.872ZM47.4618 4.72C46.1658 4.72 45.2218 5.536 45.0138 7.168H49.8778C49.7498 5.808 48.9338 4.72 47.4618 4.72ZM58.9805 0.608H60.2605V12H59.0445V10.72C58.4205 11.664 57.4445 12.192 56.2125 12.192C53.8925 12.192 52.3725 10.512 52.3725 7.872C52.3725 5.232 53.8925 3.552 56.2125 3.552C57.4125 3.552 58.3565 4.048 58.9805 4.928V0.608ZM56.3725 11.04C57.9725 11.04 59.0285 9.872 59.0285 7.872C59.0285 5.872 57.9725 4.704 56.3725 4.704C54.7725 4.704 53.7165 5.936 53.7165 7.936C53.7165 9.936 54.7725 11.04 56.3725 11.04ZM69.2736 3.552C71.5936 3.552 73.1136 5.232 73.1136 7.872C73.1136 10.512 71.5936 12.192 69.2736 12.192C68.0416 12.192 67.0656 11.664 66.4416 10.72V12H65.2256V0.608H66.5056V4.928C67.1296 4.048 68.0736 3.552 69.2736 3.552ZM69.1136 11.04C70.7136 11.04 71.7696 9.808 71.7696 7.808C71.7696 5.808 70.7136 4.704 69.1136 4.704C67.5136 4.704 66.4576 5.872 66.4576 7.872C66.4576 9.872 67.5136 11.04 69.1136 11.04ZM79.3795 3.744H80.7715L77.2835 13.296C76.7555 14.752 75.9075 15.184 74.5955 15.184C74.3395 15.184 74.0995 15.168 73.8275 15.136V14.064H74.5795C75.3955 14.064 75.8275 13.696 76.0835 13.04C76.1795 12.8 76.2755 12.528 76.3715 12.272L73.2675 3.744H74.6755L75.8435 7.184C76.2595 8.384 76.6435 9.568 77.0275 10.752C77.3955 9.568 77.7955 8.368 78.2115 7.168L79.3795 3.744ZM89.1546 12.256C86.1146 12.256 84.2906 10.864 84.2746 8.24H86.4026C86.4346 10.032 87.6346 10.512 89.2186 10.512C90.7066 10.512 91.5226 9.936 91.5226 8.864C91.5226 7.968 90.9306 7.568 89.1866 7.216L88.2266 7.024C86.0186 6.608 84.5626 5.632 84.5626 3.568C84.5626 1.68 86.0506 0.351999 88.7866 0.351999C91.9866 0.351999 93.3466 1.856 93.4266 4H91.3306C91.2506 2.784 90.6266 2.096 88.8186 2.096C87.4426 2.096 86.7706 2.64 86.7706 3.504C86.7706 4.416 87.2986 4.832 88.9946 5.184L89.9866 5.376C92.6746 5.904 93.7626 6.944 93.7626 8.752C93.7626 11.008 92.0026 12.256 89.1546 12.256ZM102.952 8.016V8.496H96.7758C96.9198 9.968 97.7518 10.624 98.9198 10.624C99.8798 10.624 100.504 10.176 100.808 9.44H102.744C102.328 11.12 100.888 12.192 98.9038 12.192C96.4718 12.192 94.7918 10.512 94.7918 7.872C94.7918 5.28 96.4238 3.552 98.8718 3.552C101.4 3.552 102.952 5.392 102.952 8.016ZM98.8558 5.12C97.7838 5.12 96.9838 5.728 96.7918 7.088H100.936C100.776 5.92 100.056 5.12 98.8558 5.12ZM111.599 12H109.583C109.455 11.776 109.391 11.392 109.359 10.992C108.815 11.76 107.919 12.192 106.703 12.192C104.943 12.192 103.727 11.312 103.727 9.712C103.727 8.336 104.559 7.36 106.895 7.136L108.143 7.024C108.911 6.928 109.311 6.688 109.311 6.08C109.311 5.44 108.975 5.056 107.807 5.056C106.655 5.056 106.175 5.36 106.095 6.368H104.111C104.223 4.624 105.247 3.552 107.823 3.552C110.287 3.552 111.263 4.544 111.263 6.032V10.432C111.263 11.024 111.375 11.68 111.599 12ZM107.183 10.752C108.255 10.752 109.311 10.176 109.311 8.736V7.984C109.103 8.176 108.799 8.272 108.367 8.32L107.279 8.448C106.159 8.576 105.791 8.976 105.791 9.632C105.791 10.32 106.255 10.752 107.183 10.752ZM117.216 3.616C117.392 3.616 117.536 3.616 117.712 3.648V5.504H117.2C115.712 5.504 114.816 6.24 114.816 7.808V12H112.8V3.744H114.752V5.216C115.152 4.288 115.936 3.616 117.216 3.616ZM122.137 12.192C119.689 12.192 118.057 10.512 118.057 7.872C118.057 5.232 119.673 3.552 122.137 3.552C124.297 3.552 125.737 4.784 125.977 6.72H123.961C123.769 5.696 123.033 5.232 122.137 5.232C120.937 5.232 120.121 6.064 120.121 7.872C120.121 9.68 120.969 10.512 122.137 10.512C123.049 10.512 123.833 10.016 123.993 8.928H126.009C125.785 10.944 124.249 12.192 122.137 12.192ZM131.641 3.552C133.369 3.552 134.537 4.56 134.537 6.528V12H132.521V6.864C132.521 5.808 131.993 5.296 130.969 5.296C130.089 5.296 129.129 5.904 129.129 7.376V12H127.113V0.608H129.129V4.848C129.673 4.096 130.521 3.552 131.641 3.552ZM139.887 12.192C137.439 12.192 135.807 10.512 135.807 7.872C135.807 5.232 137.423 3.552 139.887 3.552C142.047 3.552 143.487 4.784 143.727 6.72H141.711C141.519 5.696 140.783 5.232 139.887 5.232C138.687 5.232 137.871 6.064 137.871 7.872C137.871 9.68 138.719 10.512 139.887 10.512C140.799 10.512 141.583 10.016 141.743 8.928H143.759C143.535 10.944 141.999 12.192 139.887 12.192ZM149.279 3.616C149.455 3.616 149.599 3.616 149.775 3.648V5.504H149.263C147.775 5.504 146.879 6.24 146.879 7.808V12H144.863V3.744H146.815V5.216C147.215 4.288 147.999 3.616 149.279 3.616ZM157.803 12H155.787C155.659 11.776 155.595 11.392 155.563 10.992C155.019 11.76 154.123 12.192 152.907 12.192C151.147 12.192 149.931 11.312 149.931 9.712C149.931 8.336 150.763 7.36 153.099 7.136L154.347 7.024C155.115 6.928 155.515 6.688 155.515 6.08C155.515 5.44 155.179 5.056 154.011 5.056C152.859 5.056 152.379 5.36 152.299 6.368H150.315C150.427 4.624 151.451 3.552 154.027 3.552C156.491 3.552 157.467 4.544 157.467 6.032V10.432C157.467 11.024 157.579 11.68 157.803 12ZM153.387 10.752C154.459 10.752 155.515 10.176 155.515 8.736V7.984C155.307 8.176 155.003 8.272 154.571 8.32L153.483 8.448C152.363 8.576 151.995 8.976 151.995 9.632C151.995 10.32 152.459 10.752 153.387 10.752ZM162.466 2.16C161.746 2.16 161.426 2.512 161.426 3.152V3.744H163.122V5.28H161.426V12H159.426V5.28H158.146V3.744H159.426V3.12C159.426 1.664 160.146 0.559999 162.13 0.559999C162.45 0.559999 162.882 0.575999 163.17 0.608V2.16H162.466ZM168.636 5.28H167.004V9.744C167.004 10.288 167.276 10.464 167.948 10.464H168.636V12C168.268 12.032 167.9 12.064 167.58 12.064C165.836 12.064 165.004 11.472 165.004 9.952V5.28H163.724V3.744H165.004V1.344H167.004V3.744H168.636V5.28Z", fill: "currentColor" }))));
2561
2674
  }
2562
2675
  }, [0, "searchcraft-popover-footer", {
2563
2676
  searchcraftId: [1, "searchcraft-id"],
@@ -2607,7 +2720,7 @@ const Ro = Ta, Eo = /* @__PURE__ */ ee(class extends J {
2607
2720
  }
2608
2721
  mapValuesFromDocument(e) {
2609
2722
  var s, a, o, n, h;
2610
- this.title = Ht(e, (s = this.popoverResultMappings) == null ? void 0 : s.title), this.subtitle = Ht(e, (a = this.popoverResultMappings) == null ? void 0 : a.subtitle), this.href = Ht(e, (o = this.popoverResultMappings) == null ? void 0 : o.href), this.imageSource = Ht(e, (n = this.popoverResultMappings) == null ? void 0 : n.imageSource), this.imageAlt = Ht(e, (h = this.popoverResultMappings) == null ? void 0 : h.imageAlt);
2723
+ this.title = zt(e, (s = this.popoverResultMappings) == null ? void 0 : s.title), this.subtitle = zt(e, (a = this.popoverResultMappings) == null ? void 0 : a.subtitle), this.href = zt(e, (o = this.popoverResultMappings) == null ? void 0 : o.href), this.imageSource = zt(e, (n = this.popoverResultMappings) == null ? void 0 : n.imageSource), this.imageAlt = zt(e, (h = this.popoverResultMappings) == null ? void 0 : h.imageAlt);
2611
2724
  }
2612
2725
  onCoreAvailable(e) {
2613
2726
  this.core = e;
@@ -2620,7 +2733,7 @@ const Ro = Ta, Eo = /* @__PURE__ */ ee(class extends J {
2620
2733
  (e = this.cleanupCore) == null || e.call(this);
2621
2734
  }
2622
2735
  render() {
2623
- return p("div", { key: "fe1f0a2803c05c7f7901a1e34e3751283683b841", class: "searchcraft-popover-list-item" }, p("a", { key: "b1765b28e4df4483554e4aa1e776f85817f45709", class: "searchcraft-popover-list-item-link", href: this.href, onClick: this.handleLinkClick.bind(this) }, this.imageSource && p("div", { key: "d47112466fe3414278f88db73294c829eceb63ba", class: "searchcraft-popover-list-item-image-wrapper" }, p("img", { key: "cf65d6520a2586f9b056775a0d1c3e85cb81cdd7", alt: this.imageAlt, src: this.imageSource, class: "searchcraft-popover-list-item-image" })), p("div", { key: "b6bdaf2e52e216d20c23790b4b53563be8709d40", class: "searchcraft-popover-list-item-content" }, this.title && p("p", { key: "21a6541924914c8ea2b798d0e910c6e4544b7e46", class: "searchcraft-popover-list-item-content-title" }, this.title), this.subtitle && p("p", { key: "625a1d6b1a7e6bfb848fd49cb316968b396b0473", class: "searchcraft-popover-list-item-content-subtitle" }, this.subtitle))));
2736
+ return m("div", { key: "d1c9c310b8abc9d2370efb802eac1edf4189519d", class: "searchcraft-popover-list-item" }, m("a", { key: "30eb1a5076c5b4b95ae43147eaee0bb72ce46179", class: "searchcraft-popover-list-item-link", href: this.href, onClick: this.handleLinkClick.bind(this) }, this.imageSource && m("div", { key: "d18ff55823dc2c61f3786f423936af8b009aeeda", class: "searchcraft-popover-list-item-image-wrapper" }, m("img", { key: "56f4cc1d472f7da05e64fcf52c560a7ad0cdf7a6", alt: this.imageAlt, src: this.imageSource, class: "searchcraft-popover-list-item-image" })), m("div", { key: "78a0f0235d5e71d10076b70ccbaf4b58e0d6fea0", class: "searchcraft-popover-list-item-content" }, this.title && m("p", { key: "4489047af56e5aa295cb5f036e970dcad053d3b7", class: "searchcraft-popover-list-item-content-title" }, this.title), this.subtitle && m("p", { key: "4d177c227a1dbf1233022d738403c8eb93ba328d", class: "searchcraft-popover-list-item-content-subtitle" }, this.subtitle))));
2624
2737
  }
2625
2738
  }, [0, "searchcraft-popover-list-item", {
2626
2739
  item: [16],
@@ -2679,41 +2792,41 @@ const To = /* @__PURE__ */ ee(class extends J {
2679
2792
  }
2680
2793
  renderWithADMAds() {
2681
2794
  var e, s;
2682
- return p("div", { class: "searchcraft-popover-list-view" }, (e = this.adClientResponseItems) == null ? void 0 : e.map((a) => p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adClientResponseItem: a, adSource: "adMarketplace", key: a.id, renderPosition: "top" })), (s = this.searchClientResponseItems) == null ? void 0 : s.map((a, o) => p("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: a, key: a.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + o })));
2795
+ return m("div", { class: "searchcraft-popover-list-view" }, (e = this.adClientResponseItems) == null ? void 0 : e.map((a) => m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adClientResponseItem: a, adSource: "adMarketplace", key: a.id, renderPosition: "top" })), (s = this.searchClientResponseItems) == null ? void 0 : s.map((a, o) => m("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: a, key: a.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + o })));
2683
2796
  }
2684
2797
  renderWithCustomAds() {
2685
- var u, l, m, C, E, _, I, z;
2686
- const e = [], s = ((l = (u = this.config) == null ? void 0 : u.customAdConfig) == null ? void 0 : l.adInterstitialInterval) || 0, a = ((C = (m = this.config) == null ? void 0 : m.customAdConfig) == null ? void 0 : C.adInterstitialQuantity) || 1, o = ((_ = (E = this.config) == null ? void 0 : E.customAdConfig) == null ? void 0 : _.adStartQuantity) || 0, n = ((z = (I = this.config) == null ? void 0 : I.customAdConfig) == null ? void 0 : z.adEndQuantity) || 0, h = this.searchClientResponseItems || [];
2798
+ var u, l, p, C, E, _, I, H;
2799
+ const e = [], s = ((l = (u = this.config) == null ? void 0 : u.customAdConfig) == null ? void 0 : l.adInterstitialInterval) || 0, a = ((C = (p = this.config) == null ? void 0 : p.customAdConfig) == null ? void 0 : C.adInterstitialQuantity) || 1, o = ((_ = (E = this.config) == null ? void 0 : E.customAdConfig) == null ? void 0 : _.adStartQuantity) || 0, n = ((H = (I = this.config) == null ? void 0 : I.customAdConfig) == null ? void 0 : H.adEndQuantity) || 0, h = this.searchClientResponseItems || [];
2687
2800
  for (let D = 0; D < o; D++)
2688
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${D}-ad`, renderPosition: "top" }));
2801
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${D}-ad`, renderPosition: "top" }));
2689
2802
  h.forEach((D, P) => {
2690
2803
  if (s && P % s === 0 && P + s < h.length && P >= s)
2691
2804
  for (let M = 0; M < a; M++)
2692
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${D.id}-ad-${M}`, renderPosition: "interstitial" }));
2693
- e.push(p("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: D, key: D.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + P }));
2805
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${D.id}-ad-${M}`, renderPosition: "interstitial" }));
2806
+ e.push(m("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: D, key: D.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + P }));
2694
2807
  });
2695
2808
  for (let D = 0; D < n; D++)
2696
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${D}-ad`, renderPosition: "bottom" }));
2697
- return p("div", { class: "searchcraft-popover-list-view" }, e);
2809
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${D}-ad`, renderPosition: "bottom" }));
2810
+ return m("div", { class: "searchcraft-popover-list-view" }, e);
2698
2811
  }
2699
2812
  renderWithNativoAds() {
2700
- var l, m, C, E, _, I, z, D, P, M;
2701
- const e = [], s = ((m = (l = this.config) == null ? void 0 : l.nativoConfig) == null ? void 0 : m.adInterstialStartIndex) || 0, a = ((E = (C = this.config) == null ? void 0 : C.nativoConfig) == null ? void 0 : E.adInterstitialInterval) || 0, o = ((I = (_ = this.config) == null ? void 0 : _.nativoConfig) == null ? void 0 : I.adInterstitialQuantity) || 1, n = ((D = (z = this.config) == null ? void 0 : z.nativoConfig) == null ? void 0 : D.adStartQuantity) || 0, h = ((M = (P = this.config) == null ? void 0 : P.nativoConfig) == null ? void 0 : M.adEndQuantity) || 0, u = this.searchClientResponseItems || [];
2702
- for (let q = 0; q < n; q++)
2703
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${q}-ad`, renderPosition: "top" }));
2704
- u.forEach((q, Y) => {
2813
+ var l, p, C, E, _, I, H, D, P, M;
2814
+ const e = [], s = ((p = (l = this.config) == null ? void 0 : l.nativoConfig) == null ? void 0 : p.adInterstialStartIndex) || 0, a = ((E = (C = this.config) == null ? void 0 : C.nativoConfig) == null ? void 0 : E.adInterstitialInterval) || 0, o = ((I = (_ = this.config) == null ? void 0 : _.nativoConfig) == null ? void 0 : I.adInterstitialQuantity) || 1, n = ((D = (H = this.config) == null ? void 0 : H.nativoConfig) == null ? void 0 : D.adStartQuantity) || 0, h = ((M = (P = this.config) == null ? void 0 : P.nativoConfig) == null ? void 0 : M.adEndQuantity) || 0, u = this.searchClientResponseItems || [];
2815
+ for (let V = 0; V < n; V++)
2816
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${V}-ad`, renderPosition: "top" }));
2817
+ u.forEach((V, Y) => {
2705
2818
  if (a && (Y + s) % a === 0 && Y + a < u.length && Y >= a)
2706
2819
  for (let ge = 0; ge < o; ge++)
2707
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${q.id}-ad-${ge}`, renderPosition: "interstitial" }));
2708
- e.push(p("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: q, key: q.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + Y }));
2820
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${V.id}-ad-${ge}`, renderPosition: "interstitial" }));
2821
+ e.push(m("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: V, key: V.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + Y }));
2709
2822
  });
2710
- for (let q = 0; q < h; q++)
2711
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${q}-ad`, renderPosition: "bottom" }));
2712
- return p("div", { class: "searchcraft-popover-list-view" }, e);
2823
+ for (let V = 0; V < h; V++)
2824
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${V}-ad`, renderPosition: "bottom" }));
2825
+ return m("div", { class: "searchcraft-popover-list-view" }, e);
2713
2826
  }
2714
2827
  renderWithNoAds() {
2715
2828
  var e;
2716
- return p("div", { class: "searchcraft-popover-list-view" }, (e = this.searchClientResponseItems) == null ? void 0 : e.map((s, a) => p("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: s, key: s.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + a })));
2829
+ return m("div", { class: "searchcraft-popover-list-view" }, (e = this.searchClientResponseItems) == null ? void 0 : e.map((s, a) => m("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: s, key: s.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + a })));
2717
2830
  }
2718
2831
  render() {
2719
2832
  var e, s, a;
@@ -2900,21 +3013,21 @@ const Po = /* @__PURE__ */ ee(class extends J {
2900
3013
  }
2901
3014
  renderInlinePopover() {
2902
3015
  const e = this.hasResultsToShow && this.isFocused;
2903
- return p("div", { class: xe("searchcraft-popover-form searchcraft-popover-form-inline", {
3016
+ return m("div", { class: xe("searchcraft-popover-form searchcraft-popover-form-inline", {
2904
3017
  "searchcraft-popover-form-active": e
2905
- }) }, p("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-inline-input" }, p("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), searchcraftId: this.searchcraftId, placeholderValue: this.placeholderValue, placeholderBehavior: this.placeholderBehavior })), e && p("div", { class: "searchcraft-popover-form-inline-wrapper" }, p("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage, searchcraftId: this.searchcraftId }), p("searchcraft-popover-footer", { searchcraftId: this.searchcraftId })));
3018
+ }) }, m("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-inline-input" }, m("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), searchcraftId: this.searchcraftId, placeholderValue: this.placeholderValue, placeholderBehavior: this.placeholderBehavior })), e && m("div", { class: "searchcraft-popover-form-inline-wrapper" }, m("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage, searchcraftId: this.searchcraftId }), m("searchcraft-popover-footer", { searchcraftId: this.searchcraftId })));
2906
3019
  }
2907
3020
  renderModalPopover() {
2908
3021
  if (this.isPopoverVisibleInState)
2909
- return p("div", { class: xe("searchcraft-popover-form searchcraft-popover-form-modal", {
3022
+ return m("div", { class: xe("searchcraft-popover-form searchcraft-popover-form-modal", {
2910
3023
  "searchcraft-popover-form-active": this.hasResultsToShow
2911
- }) }, p("div", { class: "searchcraft-popover-form-modal-backdrop", onClick: this.handleModalBackdropClick }), p("div", { class: "searchcraft-popover-form-modal-wrapper" }, p("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-modal-input" }, p("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), onInputInit: this.handleInputInit.bind(this), searchcraftId: this.searchcraftId, placeholderValue: this.placeholderValue, placeholderBehavior: this.placeholderBehavior }), p("button", { type: "button", class: "searchcraft-popover-form-cancel-button searchcraft-popover-form-modal-cancel-button", onClick: this.handleCancelButtonClick.bind(this) }, "Cancel")), p("div", { class: "searchcraft-popover-form-modal-popover-list-view" }, this.hasResultsToShow && p("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage, searchcraftId: this.searchcraftId })), p("searchcraft-popover-footer", { searchcraftId: this.searchcraftId })));
3024
+ }) }, m("div", { class: "searchcraft-popover-form-modal-backdrop", onClick: this.handleModalBackdropClick }), m("div", { class: "searchcraft-popover-form-modal-wrapper" }, m("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-modal-input" }, m("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), onInputInit: this.handleInputInit.bind(this), searchcraftId: this.searchcraftId, placeholderValue: this.placeholderValue, placeholderBehavior: this.placeholderBehavior }), m("button", { type: "button", class: "searchcraft-popover-form-cancel-button searchcraft-popover-form-modal-cancel-button", onClick: this.handleCancelButtonClick.bind(this) }, "Cancel")), m("div", { class: "searchcraft-popover-form-modal-popover-list-view" }, this.hasResultsToShow && m("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage, searchcraftId: this.searchcraftId })), m("searchcraft-popover-footer", { searchcraftId: this.searchcraftId })));
2912
3025
  }
2913
3026
  renderFullscreenPopover() {
2914
3027
  if (this.isPopoverVisibleInState)
2915
- return p("div", { class: xe("searchcraft-popover-form searchcraft-popover-form-fullscreen", {
3028
+ return m("div", { class: xe("searchcraft-popover-form searchcraft-popover-form-fullscreen", {
2916
3029
  "searchcraft-popover-form-active": this.hasResultsToShow
2917
- }) }, p("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-fullscreen-input" }, p("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), onInputInit: this.handleInputInit.bind(this), searchcraftId: this.searchcraftId, placeholderValue: this.placeholderValue, placeholderBehavior: this.placeholderBehavior }), p("button", { type: "button", class: "searchcraft-popover-form-cancel-button searchcraft-popover-form-fullscreen-cancel-button", onClick: this.handleCancelButtonClick.bind(this) }, "Cancel")), p("div", { class: "searchcraft-popover-form-fullscreen-popover-list-view" }, this.hasResultsToShow && p("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage, searchcraftId: this.searchcraftId })), p("searchcraft-popover-footer", { searchcraftId: this.searchcraftId }));
3030
+ }) }, m("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-fullscreen-input" }, m("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), onInputInit: this.handleInputInit.bind(this), searchcraftId: this.searchcraftId, placeholderValue: this.placeholderValue, placeholderBehavior: this.placeholderBehavior }), m("button", { type: "button", class: "searchcraft-popover-form-cancel-button searchcraft-popover-form-fullscreen-cancel-button", onClick: this.handleCancelButtonClick.bind(this) }, "Cancel")), m("div", { class: "searchcraft-popover-form-fullscreen-popover-list-view" }, this.hasResultsToShow && m("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage, searchcraftId: this.searchcraftId })), m("searchcraft-popover-footer", { searchcraftId: this.searchcraftId }));
2918
3031
  }
2919
3032
  render() {
2920
3033
  switch (this.type) {
@@ -3024,11 +3137,11 @@ const $o = $a, _o = hs, Io = Pa, Ao = /* @__PURE__ */ ee(class extends J {
3024
3137
  }
3025
3138
  render() {
3026
3139
  const e = typeof this.searchClientRequestProperties == "string" && this.searchTerm.trim() === "";
3027
- return !this.searchTerm && !e || this.searchResultsCount === 0 ? null : p("p", { class: "searchcraft-results-info" }, typeof this.template < "u" ? this.template({
3140
+ return !this.searchTerm && !e || this.searchResultsCount === 0 ? null : m("p", { class: "searchcraft-results-info" }, typeof this.template < "u" ? this.template({
3028
3141
  range: [Number(this.range[0]), Number(this.range[1])],
3029
3142
  count: this.count,
3030
3143
  responseTime: this.responseTime
3031
- }, { html: qt }) : `${xa(this.count)} results found in ${this.responseTime}ms`);
3144
+ }, { html: Vt }) : `${xa(this.count)} results found in ${this.responseTime}ms`);
3032
3145
  }
3033
3146
  }, [0, "searchcraft-results-info", {
3034
3147
  template: [16],
@@ -3105,7 +3218,7 @@ const Oo = Mo, Lo = /* @__PURE__ */ ee(class extends J {
3105
3218
  if (this.cleanupCore = de.useCoreInstance(this.searchcraftId, this.onCoreAvailable.bind(this)), this.item)
3106
3219
  try {
3107
3220
  this.templateHtml = (e = this.template) == null ? void 0 : e.call(this, this.item.document, this.index, {
3108
- html: qt,
3221
+ html: Vt,
3109
3222
  source_index: this.item.source_index
3110
3223
  });
3111
3224
  } catch (s) {
@@ -3118,7 +3231,7 @@ const Oo = Mo, Lo = /* @__PURE__ */ ee(class extends J {
3118
3231
  }
3119
3232
  render() {
3120
3233
  if (this.item)
3121
- return typeof this.template > "u" ? p("div", { class: "searchcraft-search-result searchcraft-search-result-no-template", onClick: this.handleResultContainerClick, onKeyDown: this.handleKeyDown }, Object.entries(this.item.document).map(([e, s]) => p("p", { key: e }, p("strong", null, e), ": ", s))) : p("div", { class: "searchcraft-search-result", innerHTML: this.templateHtml, onClick: this.handleResultContainerClick, onKeyDown: this.handleKeyDown });
3234
+ return typeof this.template > "u" ? m("div", { class: "searchcraft-search-result searchcraft-search-result-no-template", onClick: this.handleResultContainerClick, onKeyDown: this.handleKeyDown }, Object.entries(this.item.document).map(([e, s]) => m("p", { key: e }, m("strong", null, e), ": ", s))) : m("div", { class: "searchcraft-search-result", innerHTML: this.templateHtml, onClick: this.handleResultContainerClick, onKeyDown: this.handleKeyDown });
3122
3235
  }
3123
3236
  }, [0, "searchcraft-search-result", {
3124
3237
  item: [16],
@@ -3182,49 +3295,49 @@ const Fo = _a, Do = /* @__PURE__ */ ee(class extends J {
3182
3295
  this.adClientResponseItems = [...e.adClientResponseItems], this.config = (s = e.core) == null ? void 0 : s.config, this.isSearchInProgress = e.isSearchInProgress, this.searchClientResponseItems = [...e.searchClientResponseItems], this.searchResultsPage = e.searchResultsPage, this.searchResultsPerPage = e.searchResultsPerPage, this.searchTerm = e.searchTerm;
3183
3296
  }
3184
3297
  renderEmptyState() {
3185
- return p("div", { class: "searchcraft-search-results-empty-state" }, p("slot", { name: "empty-search" }));
3298
+ return m("div", { class: "searchcraft-search-results-empty-state" }, m("slot", { name: "empty-search" }));
3186
3299
  }
3187
3300
  renderNoResultsFoundState() {
3188
- return p("div", { class: "searchcraft-search-results" }, p("div", { class: "searchcraft-search-results-error-message" }, p("searchcraft-error-message", null, 'No search results found for "', this.searchTerm, '" query.')));
3301
+ return m("div", { class: "searchcraft-search-results" }, m("div", { class: "searchcraft-search-results-error-message" }, m("searchcraft-error-message", null, 'No search results found for "', this.searchTerm, '" query.')));
3189
3302
  }
3190
3303
  renderWithADMAds() {
3191
3304
  var s;
3192
3305
  const e = this.searchClientResponseItems || [];
3193
- return p("div", { class: "searchcraft-search-results" }, (s = this.adClientResponseItems) == null ? void 0 : s.map((a) => p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "adMarketplace", adClientResponseItem: a, key: a.id, renderPosition: "top" })), e.map((a, o) => p("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: a.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + o, index: o, item: a, template: this.template })));
3306
+ return m("div", { class: "searchcraft-search-results" }, (s = this.adClientResponseItems) == null ? void 0 : s.map((a) => m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "adMarketplace", adClientResponseItem: a, key: a.id, renderPosition: "top" })), e.map((a, o) => m("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: a.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + o, index: o, item: a, template: this.template })));
3194
3307
  }
3195
3308
  renderWithCustomAds() {
3196
- var u, l, m, C, E, _, I, z;
3197
- const e = [], s = ((l = (u = this.config) == null ? void 0 : u.customAdConfig) == null ? void 0 : l.adInterstitialInterval) || 0, a = ((C = (m = this.config) == null ? void 0 : m.customAdConfig) == null ? void 0 : C.adInterstitialQuantity) || 1, o = ((_ = (E = this.config) == null ? void 0 : E.customAdConfig) == null ? void 0 : _.adStartQuantity) || 0, n = ((z = (I = this.config) == null ? void 0 : I.customAdConfig) == null ? void 0 : z.adEndQuantity) || 0, h = this.searchClientResponseItems || [];
3309
+ var u, l, p, C, E, _, I, H;
3310
+ const e = [], s = ((l = (u = this.config) == null ? void 0 : u.customAdConfig) == null ? void 0 : l.adInterstitialInterval) || 0, a = ((C = (p = this.config) == null ? void 0 : p.customAdConfig) == null ? void 0 : C.adInterstitialQuantity) || 1, o = ((_ = (E = this.config) == null ? void 0 : E.customAdConfig) == null ? void 0 : _.adStartQuantity) || 0, n = ((H = (I = this.config) == null ? void 0 : I.customAdConfig) == null ? void 0 : H.adEndQuantity) || 0, h = this.searchClientResponseItems || [];
3198
3311
  for (let D = 0; D < o; D++)
3199
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${D}-ad`, renderPosition: "top" }));
3312
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${D}-ad`, renderPosition: "top" }));
3200
3313
  h.forEach((D, P) => {
3201
3314
  if (s && P % s === 0 && P + s < h.length && P >= s)
3202
3315
  for (let M = 0; M < a; M++)
3203
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${D.id}-ad-${M}`, renderPosition: "interstitial" }));
3204
- e.push(p("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: D.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + P, index: P, item: D, template: this.template }));
3316
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${D.id}-ad-${M}`, renderPosition: "interstitial" }));
3317
+ e.push(m("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: D.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + P, index: P, item: D, template: this.template }));
3205
3318
  });
3206
3319
  for (let D = 0; D < n; D++)
3207
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${D}-ad`, renderPosition: "bottom" }));
3208
- return p("div", { class: "searchcraft-search-results" }, e);
3320
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${D}-ad`, renderPosition: "bottom" }));
3321
+ return m("div", { class: "searchcraft-search-results" }, e);
3209
3322
  }
3210
3323
  renderWithNativoAds() {
3211
- var l, m, C, E, _, I, z, D, P, M;
3212
- const e = [], s = ((m = (l = this.config) == null ? void 0 : l.nativoConfig) == null ? void 0 : m.adInterstialStartIndex) || 0, a = ((E = (C = this.config) == null ? void 0 : C.nativoConfig) == null ? void 0 : E.adInterstitialInterval) || 0, o = ((I = (_ = this.config) == null ? void 0 : _.nativoConfig) == null ? void 0 : I.adInterstitialQuantity) || 1, n = ((D = (z = this.config) == null ? void 0 : z.nativoConfig) == null ? void 0 : D.adStartQuantity) || 0, h = ((M = (P = this.config) == null ? void 0 : P.nativoConfig) == null ? void 0 : M.adEndQuantity) || 0, u = this.searchClientResponseItems || [];
3213
- for (let q = 0; q < n; q++)
3214
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${q}-ad`, renderPosition: "top" }));
3215
- u.forEach((q, Y) => {
3324
+ var l, p, C, E, _, I, H, D, P, M;
3325
+ const e = [], s = ((p = (l = this.config) == null ? void 0 : l.nativoConfig) == null ? void 0 : p.adInterstialStartIndex) || 0, a = ((E = (C = this.config) == null ? void 0 : C.nativoConfig) == null ? void 0 : E.adInterstitialInterval) || 0, o = ((I = (_ = this.config) == null ? void 0 : _.nativoConfig) == null ? void 0 : I.adInterstitialQuantity) || 1, n = ((D = (H = this.config) == null ? void 0 : H.nativoConfig) == null ? void 0 : D.adStartQuantity) || 0, h = ((M = (P = this.config) == null ? void 0 : P.nativoConfig) == null ? void 0 : M.adEndQuantity) || 0, u = this.searchClientResponseItems || [];
3326
+ for (let V = 0; V < n; V++)
3327
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${V}-ad`, renderPosition: "top" }));
3328
+ u.forEach((V, Y) => {
3216
3329
  if (a && (Y + s) % a === 0 && Y + a < u.length && Y >= a)
3217
3330
  for (let ge = 0; ge < o; ge++)
3218
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${q.id}-ad-${ge}`, renderPosition: "interstitial" }));
3219
- e.push(p("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: q.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + Y, index: Y, item: q, template: this.template }));
3331
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${V.id}-ad-${ge}`, renderPosition: "interstitial" }));
3332
+ e.push(m("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: V.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + Y, index: Y, item: V, template: this.template }));
3220
3333
  });
3221
- for (let q = 0; q < h; q++)
3222
- e.push(p("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${q}-ad`, renderPosition: "bottom" }));
3223
- return p("div", { class: "searchcraft-search-results" }, e);
3334
+ for (let V = 0; V < h; V++)
3335
+ e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${V}-ad`, renderPosition: "bottom" }));
3336
+ return m("div", { class: "searchcraft-search-results" }, e);
3224
3337
  }
3225
3338
  renderWithNoAds() {
3226
3339
  const e = this.searchClientResponseItems || [];
3227
- return p("div", { class: "searchcraft-search-results" }, e.map((s, a) => p("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: s.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + a, index: a, item: s, template: this.template })));
3340
+ return m("div", { class: "searchcraft-search-results" }, e.map((s, a) => m("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: s.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + a, index: a, item: s, template: this.template })));
3228
3341
  }
3229
3342
  render() {
3230
3343
  var s, a, o;
@@ -3263,7 +3376,7 @@ function No() {
3263
3376
  }
3264
3377
  });
3265
3378
  }
3266
- const Ho = No, zo = /* @__PURE__ */ ee(class extends J {
3379
+ const zo = No, Ho = /* @__PURE__ */ ee(class extends J {
3267
3380
  constructor() {
3268
3381
  super();
3269
3382
  /**
@@ -3312,7 +3425,7 @@ const Ho = No, zo = /* @__PURE__ */ ee(class extends J {
3312
3425
  this.setSearchResultsPage(e);
3313
3426
  }
3314
3427
  render() {
3315
- return p("div", { key: "15ecbf48c824a161cd83bdab99dace8e44f1ab39", class: "searchcraft-select" }, this.label && p("label", { key: "aba433ae9c27c9405099cffcef923c3ad22d7fda", class: "searchcraft-select-label", id: this.labelId || `${this.inputId}-label`, htmlFor: this.inputId }, this.label), p("div", { key: "8df8a2ff05924c9c55cdd6e3827cd927cddab82a", class: "searchcraft-select-input-wrapper" }, p("select", { key: "1d5f492c2255f8ca1b6ea5e04a2726dda2f2c52f", "aria-labelledby": this.label ? this.labelId || `${this.inputId}-label` : void 0, class: "searchcraft-select-input", disabled: this.disabled, id: this.inputId, name: this.name, onChange: this.handleSelectChange }, (typeof this.options == "string" ? JSON.parse(this.options) : this.options).map(({ label: e, value: s, selected: a }) => p("option", { key: s, value: s, selected: a }, e))), p("svg", { key: "0ec6892b529f2e70027aadea47208582a65a97b7", class: "searchcraft-select-input-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, p("title", { key: "bced6b62378491d1d1c629b602d7d033d912c761" }, "Select dropdown icon"), p("path", { key: "659f8ebf9129e2e7941da949d29688c41c1472bb", d: "M5 7.5L10 12.5L15 7.5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.caption && p("p", { key: "51217d926f68f79b6c3514f5fd769b56549fdce9", class: "searchcraft-select-caption" }, this.caption));
3428
+ return m("div", { key: "15ecbf48c824a161cd83bdab99dace8e44f1ab39", class: "searchcraft-select" }, this.label && m("label", { key: "aba433ae9c27c9405099cffcef923c3ad22d7fda", class: "searchcraft-select-label", id: this.labelId || `${this.inputId}-label`, htmlFor: this.inputId }, this.label), m("div", { key: "8df8a2ff05924c9c55cdd6e3827cd927cddab82a", class: "searchcraft-select-input-wrapper" }, m("select", { key: "1d5f492c2255f8ca1b6ea5e04a2726dda2f2c52f", "aria-labelledby": this.label ? this.labelId || `${this.inputId}-label` : void 0, class: "searchcraft-select-input", disabled: this.disabled, id: this.inputId, name: this.name, onChange: this.handleSelectChange }, (typeof this.options == "string" ? JSON.parse(this.options) : this.options).map(({ label: e, value: s, selected: a }) => m("option", { key: s, value: s, selected: a }, e))), m("svg", { key: "0ec6892b529f2e70027aadea47208582a65a97b7", class: "searchcraft-select-input-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, m("title", { key: "bced6b62378491d1d1c629b602d7d033d912c761" }, "Select dropdown icon"), m("path", { key: "659f8ebf9129e2e7941da949d29688c41c1472bb", d: "M5 7.5L10 12.5L15 7.5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.caption && m("p", { key: "51217d926f68f79b6c3514f5fd769b56549fdce9", class: "searchcraft-select-caption" }, this.caption));
3316
3429
  }
3317
3430
  }, [0, "searchcraft-select", {
3318
3431
  caption: [1],
@@ -3332,12 +3445,12 @@ function Ia() {
3332
3445
  ["searchcraft-select"].forEach((t) => {
3333
3446
  switch (t) {
3334
3447
  case "searchcraft-select":
3335
- customElements.get(t) || customElements.define(t, zo);
3448
+ customElements.get(t) || customElements.define(t, Ho);
3336
3449
  break;
3337
3450
  }
3338
3451
  });
3339
3452
  }
3340
- const Uo = /* @__PURE__ */ ee(class extends J {
3453
+ const Bo = /* @__PURE__ */ ee(class extends J {
3341
3454
  constructor() {
3342
3455
  super();
3343
3456
  /**
@@ -3383,7 +3496,7 @@ const Uo = /* @__PURE__ */ ee(class extends J {
3383
3496
  render() {
3384
3497
  const e = typeof this.searchClientRequestProperties == "string" && this.searchTerm.trim() === "";
3385
3498
  if (!(!this.searchTerm && !e || this.searchResultsPagesCount <= 1))
3386
- return p("div", { class: "searchcraft-search-results-per-page" }, p("div", { class: "searchcraft-search-results-per-page-select" }, p("label", { class: "searchcraft-search-results-per-page-select-label", htmlFor: "searchcraft-search-results-per-page-select-input" }, "Results Per Page"), p("div", { class: "searchcraft-search-results-per-page-select-input" }, p("searchcraft-select", { inputId: "searchcraft-search-results-per-page-select-input", name: "results-per-page", options: [...Array(5)].map((s, a) => {
3499
+ return m("div", { class: "searchcraft-search-results-per-page" }, m("div", { class: "searchcraft-search-results-per-page-select" }, m("label", { class: "searchcraft-search-results-per-page-select-label", htmlFor: "searchcraft-search-results-per-page-select-input" }, "Results Per Page"), m("div", { class: "searchcraft-search-results-per-page-select-input" }, m("searchcraft-select", { inputId: "searchcraft-search-results-per-page-select-input", name: "results-per-page", options: [...Array(5)].map((s, a) => {
3387
3500
  const o = this.initialSearchResultsPerPage + Number(this.increment) * a;
3388
3501
  return {
3389
3502
  label: `${o}`,
@@ -3406,13 +3519,13 @@ const Uo = /* @__PURE__ */ ee(class extends J {
3406
3519
  setSearchResultsPerPage: [32],
3407
3520
  setSearchResultsPage: [32]
3408
3521
  }]);
3409
- function Bo() {
3522
+ function Uo() {
3410
3523
  if (typeof customElements > "u")
3411
3524
  return;
3412
3525
  ["searchcraft-search-results-per-page", "searchcraft-select"].forEach((t) => {
3413
3526
  switch (t) {
3414
3527
  case "searchcraft-search-results-per-page":
3415
- customElements.get(t) || customElements.define(t, Uo);
3528
+ customElements.get(t) || customElements.define(t, Bo);
3416
3529
  break;
3417
3530
  case "searchcraft-select":
3418
3531
  customElements.get(t) || Ia();
@@ -3420,22 +3533,22 @@ function Bo() {
3420
3533
  }
3421
3534
  });
3422
3535
  }
3423
- const qo = Bo, Vo = Ia, jo = wa;
3536
+ const Vo = Uo, qo = Ia, jo = wa;
3424
3537
  var Aa = { exports: {} };
3425
3538
  (function(r, t) {
3426
3539
  (function(e, s) {
3427
3540
  r.exports = s();
3428
3541
  })(typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : ba, function() {
3429
- var He;
3542
+ var ze;
3430
3543
  var e = {}, s = e, a = { exports: e }, o = Object.defineProperty, n = Object.getOwnPropertyDescriptor, h = Object.getOwnPropertyNames, u = Object.prototype.hasOwnProperty, l = (f, i) => {
3431
3544
  for (var d in i)
3432
3545
  o(f, d, { get: i[d], enumerable: !0 });
3433
- }, m = (f, i, d, g) => {
3546
+ }, p = (f, i, d, g) => {
3434
3547
  if (i && typeof i == "object" || typeof i == "function")
3435
3548
  for (let v of h(i))
3436
3549
  !u.call(f, v) && v !== d && o(f, v, { get: () => i[v], enumerable: !(g = n(i, v)) || g.enumerable });
3437
3550
  return f;
3438
- }, C = (f) => m(o({}, "__esModule", { value: !0 }), f), E = {};
3551
+ }, C = (f) => p(o({}, "__esModule", { value: !0 }), f), E = {};
3439
3552
  l(E, {
3440
3553
  Hooks: () => De,
3441
3554
  Lexer: () => Te,
@@ -3452,7 +3565,7 @@ var Aa = { exports: {} };
3452
3565
  parse: () => ne,
3453
3566
  parseInline: () => sr,
3454
3567
  parser: () => ar,
3455
- setOptions: () => Ur,
3568
+ setOptions: () => Br,
3456
3569
  use: () => rr,
3457
3570
  walkTokens: () => re
3458
3571
  }), a.exports = C(E);
@@ -3471,7 +3584,7 @@ var Aa = { exports: {} };
3471
3584
  };
3472
3585
  }
3473
3586
  var I = _();
3474
- function z(f) {
3587
+ function H(f) {
3475
3588
  I = f;
3476
3589
  }
3477
3590
  var D = { exec: () => null };
@@ -3543,7 +3656,7 @@ var Aa = { exports: {} };
3543
3656
  fencesBeginRegex: (f) => new RegExp(`^ {0,${Math.min(3, f - 1)}}(?:\`\`\`|~~~)`),
3544
3657
  headingBeginRegex: (f) => new RegExp(`^ {0,${Math.min(3, f - 1)}}#`),
3545
3658
  htmlBeginRegex: (f) => new RegExp(`^ {0,${Math.min(3, f - 1)}}<(?:[a-z].*>|!--)`, "i")
3546
- }, q = /^(?:[ \t]*(?:\n|$))+/, Y = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, ge = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Se = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, ae = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Z = /(?:[*+-]|\d{1,9}[.)])/, Qe = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, oe = P(Qe).replace(/bull/g, Z).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Tr = P(Qe).replace(/bull/g, Z).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), N = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Pr = /^[^\n]+/, $e = /(?!\s*\])(?:\\.|[^\[\]\\])+/, at = P(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", $e).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), jt = P(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Z).getRegex(), Ke = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", nt = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, $r = P(
3659
+ }, V = /^(?:[ \t]*(?:\n|$))+/, Y = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, ge = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Se = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, ae = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Z = /(?:[*+-]|\d{1,9}[.)])/, Qe = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, oe = P(Qe).replace(/bull/g, Z).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Tr = P(Qe).replace(/bull/g, Z).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), N = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Pr = /^[^\n]+/, $e = /(?!\s*\])(?:\\.|[^\[\]\\])+/, at = P(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", $e).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), jt = P(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Z).getRegex(), Ke = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", nt = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, $r = P(
3547
3660
  "^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))",
3548
3661
  "i"
3549
3662
  ).replace("comment", nt).replace("tag", Ke).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), dt = P(N).replace("hr", Se).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Ke).getRegex(), _r = P(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", dt).getRegex(), ft = {
@@ -3556,7 +3669,7 @@ var Aa = { exports: {} };
3556
3669
  html: $r,
3557
3670
  lheading: oe,
3558
3671
  list: jt,
3559
- newline: q,
3672
+ newline: V,
3560
3673
  paragraph: dt,
3561
3674
  table: D,
3562
3675
  text: Pr
@@ -3579,23 +3692,23 @@ var Aa = { exports: {} };
3579
3692
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
3580
3693
  paragraph: P(N).replace("hr", Se).replace("heading", ` *#{1,6} *[^
3581
3694
  ]`).replace("lheading", oe).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
3582
- }, pt = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ir = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Gt = /^( {2,}|\\)\n(?!\s*$)/, Ar = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, mt = /[\p{P}\p{S}]/u, $t = /[\s\p{P}\p{S}]/u, _t = /[^\s\p{P}\p{S}]/u, Mr = P(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, $t).getRegex(), Zt = /(?!~)[\p{P}\p{S}]/u, Yt = /(?!~)[\s\p{P}\p{S}]/u, Or = /(?:[^\s\p{P}\p{S}]|~)/u, Qt = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Xe = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Lr = P(Xe, "u").replace(/punct/g, mt).getRegex(), Fr = P(Xe, "u").replace(/punct/g, Zt).getRegex(), It = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Kt = P(It, "gu").replace(/notPunctSpace/g, _t).replace(/punctSpace/g, $t).replace(/punct/g, mt).getRegex(), Dr = P(It, "gu").replace(/notPunctSpace/g, Or).replace(/punctSpace/g, Yt).replace(/punct/g, Zt).getRegex(), U = P(
3695
+ }, pt = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ir = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Gt = /^( {2,}|\\)\n(?!\s*$)/, Ar = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, mt = /[\p{P}\p{S}]/u, $t = /[\s\p{P}\p{S}]/u, _t = /[^\s\p{P}\p{S}]/u, Mr = P(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, $t).getRegex(), Zt = /(?!~)[\p{P}\p{S}]/u, Yt = /(?!~)[\s\p{P}\p{S}]/u, Or = /(?:[^\s\p{P}\p{S}]|~)/u, Qt = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Xe = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Lr = P(Xe, "u").replace(/punct/g, mt).getRegex(), Fr = P(Xe, "u").replace(/punct/g, Zt).getRegex(), It = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Kt = P(It, "gu").replace(/notPunctSpace/g, _t).replace(/punctSpace/g, $t).replace(/punct/g, mt).getRegex(), Dr = P(It, "gu").replace(/notPunctSpace/g, Or).replace(/punctSpace/g, Yt).replace(/punct/g, Zt).getRegex(), B = P(
3583
3696
  "^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)",
3584
3697
  "gu"
3585
- ).replace(/notPunctSpace/g, _t).replace(/punctSpace/g, $t).replace(/punct/g, mt).getRegex(), O = P(/\\(punct)/, "gu").replace(/punct/g, mt).getRegex(), V = P(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), B = P(nt).replace("(?:-->|$)", "-->").getRegex(), ie = P(
3698
+ ).replace(/notPunctSpace/g, _t).replace(/punctSpace/g, $t).replace(/punct/g, mt).getRegex(), O = P(/\\(punct)/, "gu").replace(/punct/g, mt).getRegex(), q = P(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), U = P(nt).replace("(?:-->|$)", "-->").getRegex(), ie = P(
3586
3699
  "^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>"
3587
- ).replace("comment", B).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), ye = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Je = P(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", ye).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), gt = P(/^!?\[(label)\]\[(ref)\]/).replace("label", ye).replace("ref", $e).getRegex(), At = P(/^!?\[(ref)\](?:\[\])?/).replace("ref", $e).getRegex(), ot = P("reflink|nolink(?!\\()", "g").replace("reflink", gt).replace("nolink", At).getRegex(), Mt = {
3700
+ ).replace("comment", U).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), ye = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Je = P(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", ye).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), gt = P(/^!?\[(label)\]\[(ref)\]/).replace("label", ye).replace("ref", $e).getRegex(), At = P(/^!?\[(ref)\](?:\[\])?/).replace("ref", $e).getRegex(), ot = P("reflink|nolink(?!\\()", "g").replace("reflink", gt).replace("nolink", At).getRegex(), Mt = {
3588
3701
  _backpedal: D,
3589
3702
  // only used for GFM url
3590
3703
  anyPunctuation: O,
3591
- autolink: V,
3704
+ autolink: q,
3592
3705
  blockSkip: Qt,
3593
3706
  br: Gt,
3594
3707
  code: Ir,
3595
3708
  del: D,
3596
3709
  emStrongLDelim: Lr,
3597
3710
  emStrongRDelimAst: Kt,
3598
- emStrongRDelimUnd: U,
3711
+ emStrongRDelimUnd: B,
3599
3712
  escape: pt,
3600
3713
  link: Je,
3601
3714
  nolink: At,
@@ -3630,13 +3743,13 @@ var Aa = { exports: {} };
3630
3743
  gfm: Ot,
3631
3744
  breaks: bt,
3632
3745
  pedantic: Nr
3633
- }, Hr = {
3746
+ }, zr = {
3634
3747
  "&": "&amp;",
3635
3748
  "<": "&lt;",
3636
3749
  ">": "&gt;",
3637
3750
  '"': "&quot;",
3638
3751
  "'": "&#39;"
3639
- }, Xt = (f) => Hr[f];
3752
+ }, Xt = (f) => zr[f];
3640
3753
  function Ee(f, i) {
3641
3754
  if (i) {
3642
3755
  if (M.escapeTest.test(f))
@@ -3705,7 +3818,7 @@ var Aa = { exports: {} };
3705
3818
  };
3706
3819
  return g.state.inLink = !1, T;
3707
3820
  }
3708
- function zr(f, i, d) {
3821
+ function Hr(f, i, d) {
3709
3822
  const g = f.match(d.other.indentCodeCompensation);
3710
3823
  if (g === null)
3711
3824
  return i;
@@ -3753,7 +3866,7 @@ var Aa = { exports: {} };
3753
3866
  fences(f) {
3754
3867
  const i = this.rules.block.fences.exec(f);
3755
3868
  if (i) {
3756
- const d = i[0], g = zr(d, i[3] || "", this.rules);
3869
+ const d = i[0], g = Hr(d, i[3] || "", this.rules);
3757
3870
  return {
3758
3871
  type: "code",
3759
3872
  raw: d,
@@ -3863,28 +3976,28 @@ ${w}` : w;
3863
3976
  break;
3864
3977
  x = i[0], f = f.substring(x.length);
3865
3978
  let G = i[2].split(`
3866
- `, 1)[0].replace(this.rules.other.listReplaceTabs, (ze) => " ".repeat(3 * ze.length)), $ = f.split(`
3979
+ `, 1)[0].replace(this.rules.other.listReplaceTabs, (He) => " ".repeat(3 * He.length)), $ = f.split(`
3867
3980
  `, 1)[0], se = !G.trim(), W = 0;
3868
3981
  if (this.options.pedantic ? (W = 2, w = G.trimStart()) : se ? W = i[1].length + 1 : (W = i[2].search(this.rules.other.nonSpaceChar), W = W > 4 ? 1 : W, w = G.slice(W), W += i[1].length), se && this.rules.other.blankLine.test($) && (x += $ + `
3869
3982
  `, f = f.substring($.length + 1), T = !0), !T) {
3870
- const ze = this.rules.other.nextBulletRegex(W), Ue = this.rules.other.hrRegex(W), Be = this.rules.other.fencesBeginRegex(W), Ft = this.rules.other.headingBeginRegex(W), nr = this.rules.other.htmlBeginRegex(W);
3983
+ const He = this.rules.other.nextBulletRegex(W), Be = this.rules.other.hrRegex(W), Ue = this.rules.other.fencesBeginRegex(W), Ft = this.rules.other.headingBeginRegex(W), nr = this.rules.other.htmlBeginRegex(W);
3871
3984
  for (; f; ) {
3872
3985
  const yt = f.split(`
3873
3986
  `, 1)[0];
3874
- let qe;
3875
- if ($ = yt, this.options.pedantic ? ($ = $.replace(this.rules.other.listReplaceNesting, " "), qe = $) : qe = $.replace(this.rules.other.tabCharGlobal, " "), Be.test($) || Ft.test($) || nr.test($) || ze.test($) || Ue.test($))
3987
+ let Ve;
3988
+ if ($ = yt, this.options.pedantic ? ($ = $.replace(this.rules.other.listReplaceNesting, " "), Ve = $) : Ve = $.replace(this.rules.other.tabCharGlobal, " "), Ue.test($) || Ft.test($) || nr.test($) || He.test($) || Be.test($))
3876
3989
  break;
3877
- if (qe.search(this.rules.other.nonSpaceChar) >= W || !$.trim())
3990
+ if (Ve.search(this.rules.other.nonSpaceChar) >= W || !$.trim())
3878
3991
  w += `
3879
- ` + qe.slice(W);
3992
+ ` + Ve.slice(W);
3880
3993
  else {
3881
- if (se || G.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || Be.test(G) || Ft.test(G) || Ue.test(G))
3994
+ if (se || G.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || Ue.test(G) || Ft.test(G) || Be.test(G))
3882
3995
  break;
3883
3996
  w += `
3884
3997
  ` + $;
3885
3998
  }
3886
3999
  !se && !$.trim() && (se = !0), x += yt + `
3887
- `, f = f.substring(yt.length + 1), G = qe.slice(W);
4000
+ `, f = f.substring(yt.length + 1), G = Ve.slice(W);
3888
4001
  }
3889
4002
  }
3890
4003
  v.loose || (S ? v.loose = !0 : this.rules.other.doubleBlankLine.test(x) && (S = !0));
@@ -4772,7 +4885,7 @@ ${f}</tr>
4772
4885
  }
4773
4886
  return g;
4774
4887
  }
4775
- }, De = (He = class {
4888
+ }, De = (ze = class {
4776
4889
  constructor(f) {
4777
4890
  c(this, "options");
4778
4891
  c(this, "block");
@@ -4808,11 +4921,11 @@ ${f}</tr>
4808
4921
  provideParser() {
4809
4922
  return this.block ? ke.parse : ke.parseInline;
4810
4923
  }
4811
- }, c(He, "passThroughHooks", /* @__PURE__ */ new Set([
4924
+ }, c(ze, "passThroughHooks", /* @__PURE__ */ new Set([
4812
4925
  "preprocess",
4813
4926
  "postprocess",
4814
4927
  "processAllTokens"
4815
- ])), He), er = class {
4928
+ ])), ze), er = class {
4816
4929
  constructor(...f) {
4817
4930
  c(this, "defaults", _());
4818
4931
  c(this, "options", this.setOptions);
@@ -4989,13 +5102,13 @@ Please report this to https://github.com/markedjs/marked.`, f) {
4989
5102
  return Ne.parse(f, i);
4990
5103
  }
4991
5104
  j.options = j.setOptions = function(f) {
4992
- return Ne.setOptions(f), j.defaults = Ne.defaults, z(j.defaults), j;
5105
+ return Ne.setOptions(f), j.defaults = Ne.defaults, H(j.defaults), j;
4993
5106
  }, j.getDefaults = _, j.defaults = I, j.use = function(...f) {
4994
- return Ne.use(...f), j.defaults = Ne.defaults, z(j.defaults), j;
5107
+ return Ne.use(...f), j.defaults = Ne.defaults, H(j.defaults), j;
4995
5108
  }, j.walkTokens = function(f, i) {
4996
5109
  return Ne.walkTokens(f, i);
4997
5110
  }, j.parseInline = Ne.parseInline, j.Parser = ke, j.parser = ke.parse, j.Renderer = te, j.TextRenderer = et, j.Lexer = Te, j.lexer = Te.lex, j.Tokenizer = lt, j.Hooks = De, j.parse = j;
4998
- var tr = j.options, Ur = j.setOptions, rr = j.use, re = j.walkTokens, sr = j.parseInline, ne = j, ar = ke.parse, K = Te.lex;
5111
+ var tr = j.options, Br = j.setOptions, rr = j.use, re = j.walkTokens, sr = j.parseInline, ne = j, ar = ke.parse, K = Te.lex;
4999
5112
  return s != e && (a.exports = e), a.exports;
5000
5113
  });
5001
5114
  })(Aa);
@@ -5050,10 +5163,10 @@ const Wo = /* @__PURE__ */ ee(class extends J {
5050
5163
  * Renders the appropriate content based on current state.
5051
5164
  */
5052
5165
  renderContent() {
5053
- return this.isLoading ? p("searchcraft-loading", { label: "LOADING" }) : this.isSummaryNotEnabled ? p("div", { class: "searchcraft-summary-box-content" }, "AI summaries are not enabled") : p("div", { class: "searchcraft-summary-box-content" }, this.summary);
5166
+ return this.isLoading ? m("searchcraft-loading", { label: "LOADING" }) : this.isSummaryNotEnabled ? m("div", { class: "searchcraft-summary-box-content" }, "AI summaries are not enabled") : m("div", { class: "searchcraft-summary-box-content" }, this.summary);
5054
5167
  }
5055
5168
  render() {
5056
- return p("div", { key: "c88d0bf7e12ad0fa0c019d207854a6e92babc683", class: "searchcraft-summary-box" }, this.renderContent());
5169
+ return m("div", { key: "94033d861f93036430eca149b3c017fb6099fb17", class: "searchcraft-summary-box" }, this.renderContent());
5057
5170
  }
5058
5171
  }, [0, "searchcraft-summary-box", {
5059
5172
  searchcraftId: [1, "searchcraft-id"],
@@ -5075,13 +5188,13 @@ function Go() {
5075
5188
  }
5076
5189
  });
5077
5190
  }
5078
- const Zo = Go, Yo = `[class*=searchcraft-],[class*=searchcraft-] *,[class*=searchcraft-]::before,[class*=searchcraft-]::after,[class*=searchcraft-] *,::before,[class*=searchcraft-] *,::after{box-sizing:border-box;padding:0;margin:0}:root{--sc-text-base-size: 1em;--sc-text-scale-ratio: 1.1;--sc-font-family: sans-serif;--sc-font-bold: 700;--sc-font-normal: 400;--sc-heading-1-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-2-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-3-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-4-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-5-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-6-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) );--sc-body-font-size: calc(var(--sc-text-base-size));--sc-body-small-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) )}:root{--sc-border-radius: 8px;--sc-border-radius-sm: calc(var(--sc-border-radius) / 2);--sc-border-radius-lg: calc(var(--sc-border-radius) * 2);--sc-border-radius-xl: calc(var(--sc-border-radius) * 3);--sc-border-radius-2xl: calc(var(--sc-border-radius) * 4);--sc-border-radius-full: 9999px}:root{--sc-breakpoint-sm: 576px;--sc-breakpoint-md: 768px;--sc-breakpoint-lg: 992px}:root{--sc-surface-neutral-primary: var(--sc-color-background, #ffffff);--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-primary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #fafafa) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-primary-active: var( --sc-color-background-active, var(--sc-color-background-active-computed, #f7f7f7) );--sc-surface-neutral-secondary: var( --sc-color-background-secondary, var(--sc-color-background, #f3f3f3) );--sc-color-background-secondary-hover-computed: hsl( from var(--sc-color-background-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #e6e6e6) );--sc-color-background-secondary-active-computed: hsl( from var(--sc-color-background-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-secondary-active: var( --sc-color-background-secondary-active, var(--sc-color-background-active-computed, #e0e0e0) );--sc-surface-neutral-light: #ffffff;--sc-content-neutral-primary: var(--sc-color-foreground, #292929);--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10, calc(l + 5), 90) );--sc-content-neutral-secondary: var( --sc-color-foreground-secondary, var(--sc-color-foreground-secondary-computed, #404040) );--sc-border-neutral: var(--sc-color-border, rgba(0, 0, 0, 0.1));--sc-surface-brand-primary: var(--sc-color-brand, #000000);--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20, calc(l + 5), 95) );--sc-surface-brand-primary-hover: var( --sc-color-brand-hover, var(--sc-color-brand-hover-computed, #2e2e2e) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10, calc(l - 5), 85) );--sc-surface-brand-primary-active: var( --sc-color-brand-active, var(--sc-color-brand-active-computed, #292929) );--sc-surface-brand-secondary: var( --sc-color-brand-secondary, var(--sc-color-brand, #e6e6e6) );--sc-color-brand-secondary-hover-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-brand-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #ebebeb) );--sc-color-brand-secondary-active-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-brand-secondary-active: var( --sc-color-brand-secondary-active, var(--sc-color-brand-active-computed, #e0e0e0) );--sc-content-brand: var( --sc-color-brand-text, var(--sc-surface-brand-primary) );--sc-content-brand-on-primary: #ffffff;--sc-border-brand: var(--sc-surface-brand-primary);--sc-surface-success-primary: var(--sc-color-success, #008000);--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30 );--sc-surface-success-primary-hover: var( --sc-color-success-primary-hover, var(--sc-color-success-primary-hover-computed, #009900) );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20 );--sc-surface-success-primary-active: var( --sc-color-success-primary-active, var(--sc-color-success-primary-active-computed, #006600) );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90 );--sc-surface-success-secondary: var( --sc-color-success-secondary, var(--sc-color-success-secondary-computed, #ccffcc) );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95 );--sc-surface-success-secondary-hover: var( --sc-color-success-secondary-hover, var(--sc-color-success-secondary-hover-computed, #e6ffe6) );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85 );--sc-surface-success-secondary-active: var( --sc-color-success-secondary-active, var(--sc-color-success-secondary-active-computed, #b2ffb2) );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30) );--sc-content-success-on-primary: #ffffff;--sc-border-success: var(--sc-surface-success-primary);--sc-surface-caution-primary: var(--sc-color-caution, #cc6600);--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30 );--sc-surface-caution-primary-hover: var( --sc-color-caution-primary-hover, var(--sc-color-caution-primary-hover-computed, #e57300) );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20 );--sc-surface-caution-primary-active: var( --sc-color-caution-primary-active, var(--sc-color-caution-primary-active-computed, #b25a00) );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90 );--sc-surface-caution-secondary: var( --sc-color-caution-secondary, var(--sc-color-caution-secondary-computed, #ffd9b3) );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95 );--sc-surface-caution-secondary-hover: var( --sc-color-caution-secondary-hover, var(--sc-color-caution-secondary-hover-computed, #ffe5cc) );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85 );--sc-surface-caution-secondary-active: var( --sc-color-caution-secondary-active, var(--sc-color-caution-secondary-active-computed, #ffcc99) );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30) );--sc-content-caution-on-primary: #ffffff;--sc-border-caution: var(--sc-surface-caution-primary);--sc-surface-danger-primary: var(--sc-color-danger, #cc0000);--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30 );--sc-surface-danger-primary-hover: var( --sc-color-danger-primary-hover, var(--sc-color-danger-primary-hover-computed, #e50000) );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20 );--sc-surface-danger-primary-active: var( --sc-color-danger-primary-active, var(--sc-color-danger-primary-active-computed, #b30000) );--sc-color-danger-secondary-computed: hsl(from var(--sc-color-danger) h s 90);--sc-surface-danger-secondary: var( --sc-color-danger-secondary, var(--sc-color-danger-secondary-computed, #ffcccc) );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95 );--sc-surface-danger-secondary-hover: var( --sc-color-danger-secondary-hover, var(--sc-color-danger-secondary-hover-computed, #ffe7e7) );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85 );--sc-surface-danger-secondary-active: var( --sc-color-danger-secondary-active, var(--sc-color-danger-secondary-active-computed, #ffb3b3) );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30) );--sc-content-danger-on-primary: #ffffff;--sc-border-danger: var(--sc-surface-danger-primary);--sc-color-disabled: hsl(from var(--sc-color-page-primary) h s calc(l * 0.5));--sc-surface-disabled: var(--sc-color-disabled, #d9d9d9);--sc-color-disabled-text: hsl( from var(--sc-color-text-primary) h s calc(l * 0.5) );--sc-content-disabled: var(--sc-color-disabled-text, #737373);--sc-content-disabled-on-disabled: var(--sc-color-disabled-text, #737373)}@supports(hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none){:root{--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10%, calc(l + 5%), 95%) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5%, calc(l - 5%), 90%) );--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10%, calc(l + 5%), 90%) );--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20%, calc(l + 5%), 95%) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10%, calc(l - 5%), 85%) );--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30% );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20% );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90% );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95% );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85% );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30%) );--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30% );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20% );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90% );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95% );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85% );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30%) );--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30% );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20% );--sc-color-danger-secondary-computed: hsl( from var(--sc-color-danger) h s 90% );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95% );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85% );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30%) )}}.searchcraft-ad{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-ad-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-ad-no-template>p{margin:0}.searchcraft-adm-ad{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-result{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-search-result-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-search-result-no-template>p{margin:0}.searchcraft-search-results{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-results-empty-state{text-align:center}.searchcraft-search-results-error-message{text-align:center}.searchcraft-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background:none;border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;gap:4px;padding:12px;position:relative}.searchcraft-button.searchcraft-button-disabled{cursor:not-allowed}.searchcraft-button-primary{background-color:var(--sc-surface-brand-primary);color:var(--sc-content-brand-on-primary);font-weight:var(--sc-font-bold)}.searchcraft-button-primary:hover{background-color:var(--sc-surface-brand-primary-hover)}.searchcraft-button-primary:focus{border-color:var(--sc-border-primary)}.searchcraft-button-primary:active{background-color:var(--sc-surface-brand-primary-active)}.searchcraft-button-primary.searchcraft-button-disabled,.searchcraft-button-primary.searchcraft-button-disabled:hover,.searchcraft-button-primary.searchcraft-button-disabled:focus,.searchcraft-button-primary.searchcraft-button-disabled:active{background-color:var(--sc-surface-disabled);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-tertiary{background-color:var(--sc-surface-neutral-primary);color:var(--sc-content-brand);font-weight:var(--sc-font-normal)}.searchcraft-button-tertiary:hover{background-color:var(--sc-surface-brand-secondary-hover)}.searchcraft-button-tertiary:focus{background-color:var(--sc-surface-neutral-light);border-color:var(--sc-border-primary)}.searchcraft-button-tertiary:active{background-color:var(--sc-surface-brand-secondary-active)}.searchcraft-button-tertiary.searchcraft-button-disabled,.searchcraft-button-tertiary.searchcraft-button-disabled:hover,.searchcraft-button-tertiary.searchcraft-button-disabled:focus,.searchcraft-button-tertiary.searchcraft-button-disabled:active{background-color:var(--sc-surface-neutral-light);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-icon{fill:none}.searchcraft-error-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-danger);margin:0}.searchcraft-facet-list{display:flex;flex-direction:column;gap:8px;width:100%}.searchcraft-facet-list-checkbox-label{align-items:center;color:var(--sc-content-neutral-primary);display:flex;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);gap:8px;position:relative;-webkit-font-smoothing:antialiased}.searchcraft-facet-list-checkbox-input-wrapper{position:relative}.searchcraft-facet-list-checkbox-input{align-items:center;appearance:none;background-color:var(--sc-surface-neutral-secondary);border:1px solid var(--sc-surface-disabled);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;height:24px;justify-content:center;width:24px;margin:0}.searchcraft-facet-list-checkbox-input:focus{outline:2px solid var(--sc-surface-brand-primary);outline-offset:2px}.searchcraft-facet-list-checkbox-input:checked{background-color:var(--sc-surface-brand-primary);position:relative}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-check-icon{display:flex}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-dash-icon{display:flex}.searchcraft-facet-child-list{display:flex;flex-direction:column;gap:6px}.searchcraft-facet-child-list-checkbox-label{margin-left:24px}.searchcraft-facet-child-list-checkbox-label:first-child{margin-top:6px}.searchcraft-facet-list-checkbox-input-check-icon{display:none;height:16px;left:50%;position:absolute;margin-top:2px;top:50%;transform:translate(-50%, -50%);width:16px}.searchcraft-facet-list-checkbox-input-dash-icon{display:none;height:3px;left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);width:14px}.searchcraft-facet-list-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-disabled);text-align:center}.searchcraft-filter-panel{display:flex;flex-direction:column;gap:16px}.searchcraft-filter-panel-section{display:flex;flex-direction:column;gap:8px}.searchcraft-filter-panel-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}:root{--sc-input-form-border-radius: var(--sc-border-radius);--sc-input-form-search-icon-size: 20px;--sc-input-form-clear-icon-size: 20px}.searchcraft-input-form-grid{display:grid;gap:4px 8px}.searchcraft-input-form-grid-button-left{grid-template-rows:repeat(3, auto);grid-template-columns:auto 1fr}.searchcraft-input-form-grid-button-left .searchcraft-input-form-button{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-label{grid-column:2/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-error-message{grid-column:2/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-input-wrapper{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right{grid-template-rows:repeat(3, auto);grid-template-columns:1fr auto}.searchcraft-input-form-grid-button-right .searchcraft-input-form-button{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-none{grid-template-rows:repeat(3, auto);grid-template-columns:auto}.searchcraft-input-form-grid-button-none .searchcraft-input-form-button{display:none}.searchcraft-input-form-grid-button-none .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-input-wrapper{display:flex;position:relative}.searchcraft-input-form-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background-color:var(--sc-surface-neutral-secondary);border-radius:var(--sc-input-form-border-radius);border:none;color:var(--sc-content-neutral-primary);flex:1;outline:none;padding:12px 44px}.searchcraft-input-form-input::placeholder{color:var(--sc-content-disabled)}.searchcraft-input-form-input:focus{outline:var(--sc-border-brand) solid 2px;outline-offset:-1px}.searchcraft-input-form-input.searchcraft-placeholder-hide-on-focus:focus::placeholder{opacity:0}.searchcraft-input-form-error{color:var(--sc-content-danger);outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-error:focus{outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-input-icon{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;pointer-events:none;top:0;width:44px}.searchcraft-input-form-input-search-icon{color:var(--sc-content-neutral-secondary);fill:none;height:var(--sc-input-form-search-icon-size);pointer-events:none;width:var(--sc-input-form-search-icon-size)}.searchcraft-input-form-clear-button{all:unset;align-items:center;bottom:0;border:none;cursor:pointer;display:flex;justify-content:center;outline:none;position:absolute;right:0;top:0;width:44px}.searchcraft-input-form-clear-icon{color:var(--sc-content-brand);fill:none;height:var(--sc-input-form-clear-icon-size);width:var(--sc-input-form-clear-icon-size)}.searchcraft-input-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);font-weight:var(--sc-font-bold);margin-top:4px;margin-bottom:4px}:root{--sc-popover-button-border-radius: var(--sc-border-radius)}@media(min-width: 576px){:root{--sc-popover-button-border-radius: var(--sc-border-radius-lg)}}.searchcraft-popover-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);cursor:pointer}.searchcraft-popover-button-skeuomorphic{appearance:none;background:none;border:none;color:var(--sc-content-neutral-primary);display:block;width:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-popover-button-border-radius);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;display:flex;gap:24px;height:40px;justify-content:space-between;line-height:1;padding:4px 5px 4px 10px;background:var(--sc-surface-neutral-primary)}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;height:63px;padding:8px 10px 8px 16px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{align-items:center;display:flex;gap:4px}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{color:var(--sc-content-neutral-secondary);display:flex;gap:4px;font-size:20px;font-weight:500}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 3px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 3px);background-color:var(--sc-surface-neutral-primary);box-shadow:0 3px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 6px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 2px);position:relative}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 8px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 8px);box-shadow:0 4px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 6px 1px rgb(from var(--sc-content-neutral-secondary) r g b/20%),0 7px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 9px 4px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 13px 8px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 5px)}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before,.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{content:"";display:block}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 4px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 4px);background:linear-gradient(340deg, rgb(from var(--sc-surface-neutral-secondary) r g b/2%) 0%, var(--sc-surface-neutral-secondary) 100%);inset:2px;position:absolute}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 12px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 12px);inset:4px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{aspect-ratio:1/1;height:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap>span{display:flex;line-height:1;left:50%;margin-top:2%;position:absolute;top:50%;transform:translate(-50%, -50%)}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:60%;width:auto}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:50%}}:root{--sc-popover-list-view-height: 600px;--sc-popover-modal-max-width: 800px}.searchcraft-popover-form{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);display:flex;flex:1;flex-direction:column}.searchcraft-popover-form searchcraft-input-form,.searchcraft-popover-form searchcraft-popover-footer{width:100%}.searchcraft-popover-form.searchcraft-popover-form-active .searchcraft-popover-form-input{padding-bottom:1px}.searchcraft-popover-form searchcraft-popover-list-view{flex-shrink:1;height:100%;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-input{display:flex;flex-direction:row;gap:12px}.searchcraft-popover-form-input .searchcraft-input-form-input{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius-lg);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset;width:0}.searchcraft-popover-form-cancel-button{background:none;border:none;cursor:pointer;font-size:14px}.searchcraft-popover-form-modal-input,.searchcraft-popover-form-fullscreen-input{padding:24px}.searchcraft-popover-form-modal-popover-list-view,.searchcraft-popover-form-fullscreen-popover-list-view{flex-grow:1;flex-shrink:1;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-inline{background-color:var(--sc-surface-neutral-primary);border:1px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius-xl);padding:12px;position:relative}.searchcraft-popover-form-inline.searchcraft-popover-form-active{border:1px solid var(--sc-border-neutral);border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;padding-bottom:1px}.searchcraft-popover-form-inline searchcraft-popover-list-view{padding:0 12px}.searchcraft-popover-form-inline .searchcraft-input-form-input,.searchcraft-popover-form-inline .searchcraft-popover-list-item-link,.searchcraft-popover-form-inline .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-xl - 12px);border-radius:calc(var(--sc-border-radius-xl) - 12px)}.searchcraft-popover-form-inline-wrapper{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-top:none;border-bottom-left-radius:var(--sc-border-radius-xl);border-bottom-right-radius:var(--sc-border-radius-xl);display:flex;flex-direction:column;left:-1px;max-height:var(--sc-popover-list-view-height);overflow:hidden;position:absolute;right:-1px;top:100%}.searchcraft-popover-form-modal{align-items:center;display:flex;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-modal .searchcraft-input-form-input,.searchcraft-popover-form-modal .searchcraft-popover-list-item-link,.searchcraft-popover-form-modal .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px)}.searchcraft-popover-form-modal-backdrop{background-color:rgb(from var(--sc-content-neutral-primary) r g b/50%);display:none;inset:0;position:fixed}@media(min-width: 576px){.searchcraft-popover-form-modal-backdrop{display:block}}.searchcraft-popover-form-modal-wrapper{background-color:var(--sc-surface-neutral-primary);box-shadow:1px 2px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 2px 4px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 4px 8px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 8px 16px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 16px 32px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 32px 64px rgb(from var(--sc-content-neutral-primary) r g b/7%);display:flex;flex-direction:column;inset:0;max-width:var(--sc-popover-modal-max-width);overflow:hidden;position:absolute;width:100%;z-index:1001}@media(min-width: 576px){.searchcraft-popover-form-modal-wrapper{border-radius:var(--sc-border-radius-2xl);inset:0;margin-top:100px;max-height:var(--sc-popover-list-view-height);max-width:var(--sc-popover-modal-max-width);position:relative}}.searchcraft-popover-form-modal-cancel-button{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-modal-cancel-button{padding:8px 12px}}.searchcraft-popover-form-fullscreen{background-color:var(--sc-surface-neutral-primary);display:flex;flex-direction:column;justify-content:space-between;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-fullscreen .searchcraft-popover-list-item-link,.searchcraft-popover-form-fullscreen .searchcraft-adm-ad-link{border-radius:var(--sc-border-radius-lg)}.searchcraft-popover-form-fullscreen-cancel-button{border-radius:var(--sc-border-radius-lg);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-fullscreen-cancel-button{padding:8px 12px}}.searchcraft-popover-footer{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;background-color:var(--sc-surface-neutral-secondary);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset;display:flex;gap:8px;justify-content:space-between;line-height:1;padding:20px 24px}@media(min-width: 576px){.searchcraft-popover-footer{padding:20px 32px}}.searchcraft-popover-footer-results-info{margin:0}.searchcraft-popover-footer-link{color:var(--sc-content-neutral-primary);display:flex;max-width:160px;width:100%}:root{--sc-popover-list-item-image-fit: contain}.searchcraft-popover-list-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;border-bottom:1px solid var(--sc-border-neutral);padding:12px 0}searchcraft-popover-list-item:last-child .searchcraft-popover-list-item{border-bottom:none}.searchcraft-popover-list-item-link{align-items:flex-start;color:var(--sc-content-neutral-primary);display:flex;gap:24px;padding:12px;text-decoration:none}.searchcraft-popover-list-item-link:focus,.searchcraft-popover-list-item-link:active{background-color:var(--sc-surface-neutral-primary-active)}.searchcraft-popover-list-item-link:hover{background-color:var(--sc-surface-neutral-primary-hover)}.searchcraft-popover-list-item-image-wrapper{align-items:center;aspect-ratio:16/9;display:flex;flex-shrink:0;justify-content:center;width:160px}.searchcraft-popover-list-item-image{height:100%;object-fit:var(--sc-popover-list-item-image-fit);width:100%}.searchcraft-popover-list-item-content{display:flex;flex-direction:column;flex-grow:1;gap:4px;justify-content:center}.searchcraft-popover-list-item-content-title,.searchcraft-popover-list-item-content-subtitle{display:-webkit-box;line-clamp:2;margin:0;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.searchcraft-popover-list-item-content-title{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-heading-5-font-size);font-weight:var(--sc-font-bold)}.searchcraft-popover-list-item-content-subtitle{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-popover-list-view{display:flex;flex-direction:column}.searchcraft-results-info{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-primary);margin:0}.searchcraft-slider{align-items:center;display:flex;flex-direction:column;gap:10px;width:100%;margin-top:4px}.searchcraft-slider-range{align-items:center;background-color:var(--sc-surface-disabled);border-radius:999px;display:flex;position:relative;height:4px;width:100%}.searchcraft-slider-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range{background-color:var(--sc-surface-brand-primary);border-radius:2px;height:4px;position:absolute;top:50%;transform:translateY(-50%);z-index:0}.searchcraft-slider-range .searchcraft-slider-active-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range::-moz-range-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-input{appearance:none;background:rgba(0,0,0,0);border-radius:2px;height:4px;margin:0;outline:none;pointer-events:none;position:absolute;width:100%;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-webkit-slider-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:1px solid var(--sc-border-neutral);cursor:pointer;height:18px;pointer-events:all;width:18px;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-moz-range-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:1px solid var(--sc-border-neutral);cursor:pointer;height:18px;pointer-events:all;width:18px}.searchcraft-slider-range .searchcraft-slider-input:focus::-webkit-slider-thumb{outline:2px solid var(--sc-surface-brand-primary)}.searchcraft-slider-range .searchcraft-slider-input:focus::-moz-range-thumb{outline:2px solid var(--sc-surface-brand-primary)}.searchcraft-slider-label{color:var(--sc-content-primary);display:flex;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);justify-content:space-between;margin-top:4px;width:100%}.searchcraft-slider-start-label,.searchcraft-slider-end-label{min-width:30px;text-align:center}.searchcraft-toggle-button{align-items:flex-start;display:flex;gap:10px;justify-content:space-between}.searchcraft-toggle-button-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);margin:0}.searchcraft-toggle-button-sub-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-secondary);margin:0}.searchcraft-toggle-button-background{background:var(--sc-surface-disabled);border-radius:var(--sc-border-radius-full);border:none;cursor:pointer;flex-shrink:0;height:26px;position:relative;transition:background-color .2s;width:44px}.searchcraft-toggle-button-handle{background:var(--sc-surface-neutral-light);border-radius:50%;height:18px;left:4px;position:absolute;top:calc(50% - 9px);transition:transform .3s ease;width:18px}.searchcraft-toggle-button-active .searchcraft-toggle-button-background{background:var(--sc-surface-brand-primary);box-shadow:0px 0px 0px 1px rgba(0,0,0,.05)}.searchcraft-toggle-button-active .searchcraft-toggle-button-handle{transform:translateX(16px)}.searchcraft-pagination{display:inline-grid;gap:16px;grid-template-columns:repeat(3, auto);grid-template-rows:1fr}.searchcraft-pagination-list{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius);display:flex;list-style-type:none;margin:0;overflow:hidden;padding:0;width:auto}.searchcraft-pagination-list li{border-right:1px solid var(--sc-border-neutral);height:100%;min-height:44px;width:44px}.searchcraft-pagination-list li:last-child{border-right:none}.searchcraft-pagination-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;background-color:var(--sc-surface-neutral-primary);border:none;display:flex;height:100%;justify-content:center;width:100%}.searchcraft-pagination-item-active{background-color:var(--sc-surface-brand-secondary);font-weight:var(--sc-font-bold)}.searchcraft-pagination-control{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius)}.searchcraft-pagination-range{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;display:flex}.searchcraft-select{display:flex;flex-direction:column;gap:4px}.searchcraft-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}.searchcraft-select-input-wrapper{position:relative}.searchcraft-select-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);appearance:none;background-color:var(--sc-surface-neutral-secondary);border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;height:44px;padding:0 44px 0 16px;width:100%}.searchcraft-select-input:hover{background-color:var(--sc-surface-neutral-secondary-hover)}.searchcraft-select-input:active{background-color:var(--sc-surface-neutral-secondary-active)}.searchcraft-select-input:focus{border-color:var(--sc-border-brand);outline:none}.searchcraft-select-input-icon{fill:none;pointer-events:none;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.searchcraft-select-caption{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page{display:flex}.searchcraft-search-results-per-page-select{align-items:center;display:flex;gap:12px}.searchcraft-search-results-per-page-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page-select-input{min-width:120px}.searchcraft-summary-box{padding:20px;border-radius:var(--sc-border-radius);background-color:var(--sc-surface-neutral-secondary);position:relative;min-height:200px;color:var(--sc-content-neutral-primary);font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-summary-box h1,.searchcraft-summary-box h2,.searchcraft-summary-box h3,.searchcraft-summary-box h4,.searchcraft-summary-box h5{padding-top:10px;padding-bottom:10px}.searchcraft-summary-box p{padding-bottom:10px}.searchcraft-summary-box img{max-width:200px}.searchcraft-summary-box ol,.searchcraft-summary-box ul{padding-left:1em;padding-bottom:10px}.searchcraft-summary-box a{color:var(--sc-content-brand)}.searchcraft-loading-label{position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);margin-top:40px;letter-spacing:2px;color:#828282;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal)}.searchcraft-loading-bars{margin:0 auto;width:60px;height:50px;text-align:center;position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);display:flex;gap:2px}.searchcraft-loading-bars>div{height:100%;width:8px;-webkit-animation:delay .8s infinite ease-in-out;animation:delay .8s infinite ease-in-out;opacity:.2}.searchcraft-loading-bars .searchcraft-loading-bar-1{background-color:var(--sc-surface-brand-primary);opacity:.1}.searchcraft-loading-bars .searchcraft-loading-bar-2{background-color:var(--sc-surface-brand-primary);animation-delay:-0.7s;opacity:.2}.searchcraft-loading-bars .searchcraft-loading-bar-3{background-color:var(--sc-surface-brand-primary);animation-delay:-0.6s;opacity:.3}.searchcraft-loading-bars .searchcraft-loading-bar-4{background-color:var(--sc-surface-brand-primary);animation-delay:-0.5s;opacity:.4}.searchcraft-loading-bars .searchcraft-loading-bar-5{background-color:var(--sc-surface-brand-primary);animation-delay:-0.4s;opacity:.5}.searchcraft-loading-bars .searchcraft-loading-bar-6{background-color:var(--sc-surface-brand-primary);animation-delay:-0.3s;opacity:.6}@keyframes delay{0%,40%,100%{transform:scaleY(0.05)}20%{transform:scaleY(1)}}/*# sourceMappingURL=hologram.css.map */
5191
+ const Zo = Go, Yo = `\uFEFF[class*=searchcraft-],[class*=searchcraft-] *,[class*=searchcraft-]::before,[class*=searchcraft-]::after,[class*=searchcraft-] *,::before,[class*=searchcraft-] *,::after{box-sizing:border-box;padding:0;margin:0}:root{--sc-text-base-size: 1em;--sc-text-scale-ratio: 1.1;--sc-font-family: sans-serif;--sc-font-bold: 700;--sc-font-normal: 400;--sc-heading-1-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-2-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-3-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-4-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-5-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-6-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) );--sc-body-font-size: calc(var(--sc-text-base-size));--sc-body-small-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) )}:root{--sc-border-radius: 8px;--sc-border-radius-sm: calc(var(--sc-border-radius) / 2);--sc-border-radius-lg: calc(var(--sc-border-radius) * 2);--sc-border-radius-xl: calc(var(--sc-border-radius) * 3);--sc-border-radius-2xl: calc(var(--sc-border-radius) * 4);--sc-border-radius-full: 9999px}:root{--sc-breakpoint-sm: 576px;--sc-breakpoint-md: 768px;--sc-breakpoint-lg: 992px}:root{--sc-surface-neutral-primary: var(--sc-color-background, #ffffff);--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-primary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #fafafa) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-primary-active: var( --sc-color-background-active, var(--sc-color-background-active-computed, #f7f7f7) );--sc-surface-neutral-secondary: var( --sc-color-background-secondary, var(--sc-color-background, #f3f3f3) );--sc-color-background-secondary-hover-computed: hsl( from var(--sc-color-background-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #e6e6e6) );--sc-color-background-secondary-active-computed: hsl( from var(--sc-color-background-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-secondary-active: var( --sc-color-background-secondary-active, var(--sc-color-background-active-computed, #e0e0e0) );--sc-surface-neutral-light: #ffffff;--sc-content-neutral-primary: var(--sc-color-foreground, #292929);--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10, calc(l + 5), 90) );--sc-content-neutral-secondary: var( --sc-color-foreground-secondary, var(--sc-color-foreground-secondary-computed, #404040) );--sc-border-neutral: var(--sc-color-border, rgba(0, 0, 0, 0.1));--sc-surface-brand-primary: var(--sc-color-brand, #000000);--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20, calc(l + 5), 95) );--sc-surface-brand-primary-hover: var( --sc-color-brand-hover, var(--sc-color-brand-hover-computed, #2e2e2e) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10, calc(l - 5), 85) );--sc-surface-brand-primary-active: var( --sc-color-brand-active, var(--sc-color-brand-active-computed, #292929) );--sc-surface-brand-secondary: var( --sc-color-brand-secondary, var(--sc-color-brand, #e6e6e6) );--sc-color-brand-secondary-hover-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-brand-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #ebebeb) );--sc-color-brand-secondary-active-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-brand-secondary-active: var( --sc-color-brand-secondary-active, var(--sc-color-brand-active-computed, #e0e0e0) );--sc-content-brand: var( --sc-color-brand-text, var(--sc-surface-brand-primary) );--sc-content-brand-on-primary: #ffffff;--sc-border-brand: var(--sc-surface-brand-primary);--sc-surface-success-primary: var(--sc-color-success, #008000);--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30 );--sc-surface-success-primary-hover: var( --sc-color-success-primary-hover, var(--sc-color-success-primary-hover-computed, #009900) );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20 );--sc-surface-success-primary-active: var( --sc-color-success-primary-active, var(--sc-color-success-primary-active-computed, #006600) );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90 );--sc-surface-success-secondary: var( --sc-color-success-secondary, var(--sc-color-success-secondary-computed, #ccffcc) );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95 );--sc-surface-success-secondary-hover: var( --sc-color-success-secondary-hover, var(--sc-color-success-secondary-hover-computed, #e6ffe6) );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85 );--sc-surface-success-secondary-active: var( --sc-color-success-secondary-active, var(--sc-color-success-secondary-active-computed, #b2ffb2) );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30) );--sc-content-success-on-primary: #ffffff;--sc-border-success: var(--sc-surface-success-primary);--sc-surface-caution-primary: var(--sc-color-caution, #cc6600);--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30 );--sc-surface-caution-primary-hover: var( --sc-color-caution-primary-hover, var(--sc-color-caution-primary-hover-computed, #e57300) );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20 );--sc-surface-caution-primary-active: var( --sc-color-caution-primary-active, var(--sc-color-caution-primary-active-computed, #b25a00) );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90 );--sc-surface-caution-secondary: var( --sc-color-caution-secondary, var(--sc-color-caution-secondary-computed, #ffd9b3) );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95 );--sc-surface-caution-secondary-hover: var( --sc-color-caution-secondary-hover, var(--sc-color-caution-secondary-hover-computed, #ffe5cc) );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85 );--sc-surface-caution-secondary-active: var( --sc-color-caution-secondary-active, var(--sc-color-caution-secondary-active-computed, #ffcc99) );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30) );--sc-content-caution-on-primary: #ffffff;--sc-border-caution: var(--sc-surface-caution-primary);--sc-surface-danger-primary: var(--sc-color-danger, #cc0000);--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30 );--sc-surface-danger-primary-hover: var( --sc-color-danger-primary-hover, var(--sc-color-danger-primary-hover-computed, #e50000) );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20 );--sc-surface-danger-primary-active: var( --sc-color-danger-primary-active, var(--sc-color-danger-primary-active-computed, #b30000) );--sc-color-danger-secondary-computed: hsl(from var(--sc-color-danger) h s 90);--sc-surface-danger-secondary: var( --sc-color-danger-secondary, var(--sc-color-danger-secondary-computed, #ffcccc) );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95 );--sc-surface-danger-secondary-hover: var( --sc-color-danger-secondary-hover, var(--sc-color-danger-secondary-hover-computed, #ffe7e7) );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85 );--sc-surface-danger-secondary-active: var( --sc-color-danger-secondary-active, var(--sc-color-danger-secondary-active-computed, #ffb3b3) );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30) );--sc-content-danger-on-primary: #ffffff;--sc-border-danger: var(--sc-surface-danger-primary);--sc-color-disabled: hsl(from var(--sc-color-page-primary) h s calc(l * 0.5));--sc-surface-disabled: var(--sc-color-disabled, #d9d9d9);--sc-color-disabled-text: hsl( from var(--sc-color-text-primary) h s calc(l * 0.5) );--sc-content-disabled: var(--sc-color-disabled-text, #737373);--sc-content-disabled-on-disabled: var(--sc-color-disabled-text, #737373)}@supports(hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none){:root{--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10%, calc(l + 5%), 95%) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5%, calc(l - 5%), 90%) );--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10%, calc(l + 5%), 90%) );--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20%, calc(l + 5%), 95%) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10%, calc(l - 5%), 85%) );--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30% );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20% );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90% );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95% );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85% );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30%) );--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30% );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20% );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90% );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95% );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85% );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30%) );--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30% );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20% );--sc-color-danger-secondary-computed: hsl( from var(--sc-color-danger) h s 90% );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95% );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85% );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30%) )}}.searchcraft-ad{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-ad-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-ad-no-template>p{margin:0}.searchcraft-adm-ad{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-result{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-search-result-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-search-result-no-template>p{margin:0}.searchcraft-search-results{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-results-empty-state{text-align:center}.searchcraft-search-results-error-message{text-align:center}.searchcraft-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background:none;border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;gap:4px;padding:12px;position:relative}.searchcraft-button.searchcraft-button-disabled{cursor:not-allowed}.searchcraft-button-primary{background-color:var(--sc-surface-brand-primary);color:var(--sc-content-brand-on-primary);font-weight:var(--sc-font-bold)}.searchcraft-button-primary:hover{background-color:var(--sc-surface-brand-primary-hover)}.searchcraft-button-primary:focus{border-color:var(--sc-border-primary)}.searchcraft-button-primary:active{background-color:var(--sc-surface-brand-primary-active)}.searchcraft-button-primary.searchcraft-button-disabled,.searchcraft-button-primary.searchcraft-button-disabled:hover,.searchcraft-button-primary.searchcraft-button-disabled:focus,.searchcraft-button-primary.searchcraft-button-disabled:active{background-color:var(--sc-surface-disabled);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-tertiary{background-color:var(--sc-surface-neutral-primary);color:var(--sc-content-brand);font-weight:var(--sc-font-normal)}.searchcraft-button-tertiary:hover{background-color:var(--sc-surface-brand-secondary-hover)}.searchcraft-button-tertiary:focus{background-color:var(--sc-surface-neutral-light);border-color:var(--sc-border-primary)}.searchcraft-button-tertiary:active{background-color:var(--sc-surface-brand-secondary-active)}.searchcraft-button-tertiary.searchcraft-button-disabled,.searchcraft-button-tertiary.searchcraft-button-disabled:hover,.searchcraft-button-tertiary.searchcraft-button-disabled:focus,.searchcraft-button-tertiary.searchcraft-button-disabled:active{background-color:var(--sc-surface-neutral-light);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-icon{fill:none}.searchcraft-error-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-danger);margin:0}.searchcraft-facet-list{display:flex;flex-direction:column;gap:8px;width:100%}.searchcraft-facet-list-checkbox-label{align-items:center;color:var(--sc-content-neutral-primary);display:flex;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);gap:8px;position:relative;-webkit-font-smoothing:antialiased}.searchcraft-facet-list-checkbox-input-wrapper{position:relative}.searchcraft-facet-list-checkbox-input{align-items:center;appearance:none;background-color:var(--sc-surface-neutral-secondary);border:1px solid var(--sc-surface-disabled);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;height:24px;justify-content:center;width:24px;margin:0}.searchcraft-facet-list-checkbox-input:focus{outline:2px solid var(--sc-surface-brand-primary);outline-offset:2px}.searchcraft-facet-list-checkbox-input:checked{background-color:var(--sc-surface-brand-primary);position:relative}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-check-icon{display:flex}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-dash-icon{display:flex}.searchcraft-facet-child-list{display:flex;flex-direction:column;gap:6px}.searchcraft-facet-child-list-checkbox-label{margin-left:24px}.searchcraft-facet-child-list-checkbox-label:first-child{margin-top:6px}.searchcraft-facet-list-checkbox-input-check-icon{display:none;height:16px;left:50%;position:absolute;margin-top:2px;top:50%;transform:translate(-50%, -50%);width:16px}.searchcraft-facet-list-checkbox-input-dash-icon{display:none;height:3px;left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);width:14px}.searchcraft-facet-list-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-disabled);text-align:center}.searchcraft-filter-panel{display:flex;flex-direction:column;gap:16px}.searchcraft-filter-panel-section{display:flex;flex-direction:column;gap:8px}.searchcraft-filter-panel-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}@media(max-width: 767px){[data-toggle-filter-panel]{cursor:pointer;display:flex !important;align-items:center;justify-content:space-between;width:100%}[data-toggle-filter-panel]::after{content:"›";display:inline-block;font-size:1.5em;line-height:1;margin-left:auto;flex-shrink:0;transition:transform .2s ease;transform-origin:center}[data-toggle-filter-panel][data-filter-panel-collapsed]::after{transform:rotate(90deg)}[data-toggle-filter-panel][data-filter-panel-expanded]::after{transform:rotate(-90deg)}}@media(min-width: 768px){[data-toggle-filter-panel]{cursor:default}[data-toggle-filter-panel]::after{display:none}}:root{--sc-input-form-border-radius: var(--sc-border-radius);--sc-input-form-search-icon-size: 20px;--sc-input-form-clear-icon-size: 20px}.searchcraft-input-form-grid{display:grid;gap:4px 8px}.searchcraft-input-form-grid-button-left{grid-template-rows:repeat(3, auto);grid-template-columns:auto 1fr}.searchcraft-input-form-grid-button-left .searchcraft-input-form-button{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-label{grid-column:2/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-error-message{grid-column:2/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-input-wrapper{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right{grid-template-rows:repeat(3, auto);grid-template-columns:1fr auto}.searchcraft-input-form-grid-button-right .searchcraft-input-form-button{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-none{grid-template-rows:repeat(3, auto);grid-template-columns:auto}.searchcraft-input-form-grid-button-none .searchcraft-input-form-button{display:none}.searchcraft-input-form-grid-button-none .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-input-wrapper{display:flex;position:relative}.searchcraft-input-form-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background-color:var(--sc-surface-neutral-secondary);border-radius:var(--sc-input-form-border-radius);border:none;color:var(--sc-content-neutral-primary);flex:1;outline:none;padding:12px 44px}.searchcraft-input-form-input::placeholder{color:var(--sc-content-disabled)}.searchcraft-input-form-input:focus{outline:var(--sc-border-brand) solid 2px;outline-offset:-1px}.searchcraft-input-form-input.searchcraft-placeholder-hide-on-focus:focus::placeholder{opacity:0}.searchcraft-input-form-error{color:var(--sc-content-danger);outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-error:focus{outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-input-icon{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;pointer-events:none;top:0;width:44px}.searchcraft-input-form-input-search-icon{color:var(--sc-content-neutral-secondary);fill:none;height:var(--sc-input-form-search-icon-size);pointer-events:none;width:var(--sc-input-form-search-icon-size)}.searchcraft-input-form-clear-button{all:unset;align-items:center;bottom:0;border:none;cursor:pointer;display:flex;justify-content:center;outline:none;position:absolute;right:0;top:0;width:44px}.searchcraft-input-form-clear-icon{color:var(--sc-content-brand);fill:none;height:var(--sc-input-form-clear-icon-size);width:var(--sc-input-form-clear-icon-size)}.searchcraft-input-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);font-weight:var(--sc-font-bold);margin-top:4px;margin-bottom:4px}:root{--sc-popover-button-border-radius: var(--sc-border-radius)}@media(min-width: 576px){:root{--sc-popover-button-border-radius: var(--sc-border-radius-lg)}}.searchcraft-popover-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);cursor:pointer}.searchcraft-popover-button-skeuomorphic{appearance:none;background:none;border:none;color:var(--sc-content-neutral-primary);display:block;width:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-popover-button-border-radius);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;display:flex;gap:24px;height:40px;justify-content:space-between;line-height:1;padding:4px 5px 4px 10px;background:var(--sc-surface-neutral-primary)}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;height:63px;padding:8px 10px 8px 16px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{align-items:center;display:flex;gap:4px}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{color:var(--sc-content-neutral-secondary);display:flex;gap:4px;font-size:20px;font-weight:500}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 3px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 3px);background-color:var(--sc-surface-neutral-primary);box-shadow:0 3px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 6px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 2px);position:relative}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 8px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 8px);box-shadow:0 4px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 6px 1px rgb(from var(--sc-content-neutral-secondary) r g b/20%),0 7px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 9px 4px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 13px 8px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 5px)}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before,.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{content:"";display:block}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 4px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 4px);background:linear-gradient(340deg, rgb(from var(--sc-surface-neutral-secondary) r g b/2%) 0%, var(--sc-surface-neutral-secondary) 100%);inset:2px;position:absolute}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 12px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 12px);inset:4px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{aspect-ratio:1/1;height:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap>span{display:flex;line-height:1;left:50%;margin-top:2%;position:absolute;top:50%;transform:translate(-50%, -50%)}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:60%;width:auto}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:50%}}:root{--sc-popover-list-view-height: 600px;--sc-popover-modal-max-width: 800px}.searchcraft-popover-form{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);display:flex;flex:1;flex-direction:column}.searchcraft-popover-form searchcraft-input-form,.searchcraft-popover-form searchcraft-popover-footer{width:100%}.searchcraft-popover-form.searchcraft-popover-form-active .searchcraft-popover-form-input{padding-bottom:1px}.searchcraft-popover-form searchcraft-popover-list-view{flex-shrink:1;height:100%;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-input{display:flex;flex-direction:row;gap:12px}.searchcraft-popover-form-input .searchcraft-input-form-input{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius-lg);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset;width:0}.searchcraft-popover-form-cancel-button{background:none;border:none;cursor:pointer;font-size:14px}.searchcraft-popover-form-modal-input,.searchcraft-popover-form-fullscreen-input{padding:24px}.searchcraft-popover-form-modal-popover-list-view,.searchcraft-popover-form-fullscreen-popover-list-view{flex-grow:1;flex-shrink:1;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-inline{background-color:var(--sc-surface-neutral-primary);border:1px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius-xl);padding:12px;position:relative}.searchcraft-popover-form-inline.searchcraft-popover-form-active{border:1px solid var(--sc-border-neutral);border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;padding-bottom:1px}.searchcraft-popover-form-inline searchcraft-popover-list-view{padding:0 12px}.searchcraft-popover-form-inline .searchcraft-input-form-input,.searchcraft-popover-form-inline .searchcraft-popover-list-item-link,.searchcraft-popover-form-inline .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-xl - 12px);border-radius:calc(var(--sc-border-radius-xl) - 12px)}.searchcraft-popover-form-inline-wrapper{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-top:none;border-bottom-left-radius:var(--sc-border-radius-xl);border-bottom-right-radius:var(--sc-border-radius-xl);display:flex;flex-direction:column;left:-1px;max-height:var(--sc-popover-list-view-height);overflow:hidden;position:absolute;right:-1px;top:100%}.searchcraft-popover-form-modal{align-items:center;display:flex;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-modal .searchcraft-input-form-input,.searchcraft-popover-form-modal .searchcraft-popover-list-item-link,.searchcraft-popover-form-modal .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px)}.searchcraft-popover-form-modal-backdrop{background-color:rgb(from var(--sc-content-neutral-primary) r g b/50%);display:none;inset:0;position:fixed}@media(min-width: 576px){.searchcraft-popover-form-modal-backdrop{display:block}}.searchcraft-popover-form-modal-wrapper{background-color:var(--sc-surface-neutral-primary);box-shadow:1px 2px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 2px 4px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 4px 8px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 8px 16px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 16px 32px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 32px 64px rgb(from var(--sc-content-neutral-primary) r g b/7%);display:flex;flex-direction:column;inset:0;max-width:var(--sc-popover-modal-max-width);overflow:hidden;position:absolute;width:100%;z-index:1001}@media(min-width: 576px){.searchcraft-popover-form-modal-wrapper{border-radius:var(--sc-border-radius-2xl);inset:0;margin-top:100px;max-height:var(--sc-popover-list-view-height);max-width:var(--sc-popover-modal-max-width);position:relative}}.searchcraft-popover-form-modal-cancel-button{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-modal-cancel-button{padding:8px 12px}}.searchcraft-popover-form-fullscreen{background-color:var(--sc-surface-neutral-primary);display:flex;flex-direction:column;justify-content:space-between;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-fullscreen .searchcraft-popover-list-item-link,.searchcraft-popover-form-fullscreen .searchcraft-adm-ad-link{border-radius:var(--sc-border-radius-lg)}.searchcraft-popover-form-fullscreen-cancel-button{border-radius:var(--sc-border-radius-lg);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-fullscreen-cancel-button{padding:8px 12px}}.searchcraft-popover-footer{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;background-color:var(--sc-surface-neutral-secondary);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset;display:flex;gap:8px;justify-content:space-between;line-height:1;padding:20px 24px}@media(min-width: 576px){.searchcraft-popover-footer{padding:20px 32px}}.searchcraft-popover-footer-results-info{margin:0}.searchcraft-popover-footer-link{color:var(--sc-content-neutral-primary);display:flex;max-width:160px;width:100%}:root{--sc-popover-list-item-image-fit: contain}.searchcraft-popover-list-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;border-bottom:1px solid var(--sc-border-neutral);padding:12px 0}searchcraft-popover-list-item:last-child .searchcraft-popover-list-item{border-bottom:none}.searchcraft-popover-list-item-link{align-items:flex-start;color:var(--sc-content-neutral-primary);display:flex;gap:24px;padding:12px;text-decoration:none}.searchcraft-popover-list-item-link:focus,.searchcraft-popover-list-item-link:active{background-color:var(--sc-surface-neutral-primary-active)}.searchcraft-popover-list-item-link:hover{background-color:var(--sc-surface-neutral-primary-hover)}.searchcraft-popover-list-item-image-wrapper{align-items:center;aspect-ratio:16/9;display:flex;flex-shrink:0;justify-content:center;width:160px}.searchcraft-popover-list-item-image{height:100%;object-fit:var(--sc-popover-list-item-image-fit);width:100%}.searchcraft-popover-list-item-content{display:flex;flex-direction:column;flex-grow:1;gap:4px;justify-content:center}.searchcraft-popover-list-item-content-title,.searchcraft-popover-list-item-content-subtitle{display:-webkit-box;line-clamp:2;margin:0;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.searchcraft-popover-list-item-content-title{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-heading-5-font-size);font-weight:var(--sc-font-bold)}.searchcraft-popover-list-item-content-subtitle{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-popover-list-view{display:flex;flex-direction:column}.searchcraft-results-info{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-primary);margin:0}.searchcraft-slider{align-items:center;display:flex;flex-direction:column;gap:10px;width:100%;margin-top:4px}.searchcraft-slider-range{align-items:center;background-color:var(--sc-surface-disabled);border-radius:999px;display:flex;position:relative;height:4px;width:100%}.searchcraft-slider-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range{background-color:var(--sc-surface-brand-primary);border-radius:2px;height:4px;position:absolute;top:50%;transform:translateY(-50%);z-index:0}.searchcraft-slider-range .searchcraft-slider-active-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range::-moz-range-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-input{appearance:none;background:rgba(0,0,0,0);border-radius:2px;height:4px;margin:0;outline:none;pointer-events:none;position:absolute;width:100%;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-webkit-slider-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:1px solid var(--sc-border-neutral);cursor:pointer;height:18px;pointer-events:all;width:18px;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-moz-range-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:1px solid var(--sc-border-neutral);cursor:pointer;height:18px;pointer-events:all;width:18px}.searchcraft-slider-range .searchcraft-slider-input:focus::-webkit-slider-thumb{outline:2px solid var(--sc-surface-brand-primary)}.searchcraft-slider-range .searchcraft-slider-input:focus::-moz-range-thumb{outline:2px solid var(--sc-surface-brand-primary)}.searchcraft-slider-label{color:var(--sc-content-primary);display:flex;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);justify-content:space-between;margin-top:4px;width:100%}.searchcraft-slider-start-label,.searchcraft-slider-end-label{min-width:30px;text-align:center}.searchcraft-toggle-button{align-items:flex-start;display:flex;gap:10px;justify-content:space-between}.searchcraft-toggle-button-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);margin:0}.searchcraft-toggle-button-sub-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-secondary);margin:0}.searchcraft-toggle-button-background{background:var(--sc-surface-disabled);border-radius:var(--sc-border-radius-full);border:none;cursor:pointer;flex-shrink:0;height:26px;position:relative;transition:background-color .2s;width:44px}.searchcraft-toggle-button-handle{background:var(--sc-surface-neutral-light);border-radius:50%;height:18px;left:4px;position:absolute;top:calc(50% - 9px);transition:transform .3s ease;width:18px}.searchcraft-toggle-button-active .searchcraft-toggle-button-background{background:var(--sc-surface-brand-primary);box-shadow:0px 0px 0px 1px rgba(0,0,0,.05)}.searchcraft-toggle-button-active .searchcraft-toggle-button-handle{transform:translateX(16px)}.searchcraft-pagination{display:inline-grid;gap:16px;grid-template-columns:repeat(3, auto);grid-template-rows:1fr}.searchcraft-pagination-list{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius);display:flex;list-style-type:none;margin:0;overflow:hidden;padding:0;width:auto}.searchcraft-pagination-list li{border-right:1px solid var(--sc-border-neutral);height:100%;min-height:44px;width:44px}.searchcraft-pagination-list li:last-child{border-right:none}.searchcraft-pagination-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;background-color:var(--sc-surface-neutral-primary);border:none;display:flex;height:100%;justify-content:center;width:100%}.searchcraft-pagination-item-active{background-color:var(--sc-surface-brand-secondary);font-weight:var(--sc-font-bold)}.searchcraft-pagination-control{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius)}.searchcraft-pagination-range{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;display:flex}.searchcraft-select{display:flex;flex-direction:column;gap:4px}.searchcraft-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}.searchcraft-select-input-wrapper{position:relative}.searchcraft-select-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);appearance:none;background-color:var(--sc-surface-neutral-secondary);border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;height:44px;padding:0 44px 0 16px;width:100%}.searchcraft-select-input:hover{background-color:var(--sc-surface-neutral-secondary-hover)}.searchcraft-select-input:active{background-color:var(--sc-surface-neutral-secondary-active)}.searchcraft-select-input:focus{border-color:var(--sc-border-brand);outline:none}.searchcraft-select-input-icon{fill:none;pointer-events:none;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.searchcraft-select-caption{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page{display:flex}.searchcraft-search-results-per-page-select{align-items:center;display:flex;gap:12px}.searchcraft-search-results-per-page-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page-select-input{min-width:120px}.searchcraft-summary-box{padding:20px;border-radius:var(--sc-border-radius);background-color:var(--sc-surface-neutral-secondary);position:relative;min-height:200px;color:var(--sc-content-neutral-primary);font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-summary-box h1,.searchcraft-summary-box h2,.searchcraft-summary-box h3,.searchcraft-summary-box h4,.searchcraft-summary-box h5{padding-top:10px;padding-bottom:10px}.searchcraft-summary-box p{padding-bottom:10px}.searchcraft-summary-box img{max-width:200px}.searchcraft-summary-box ol,.searchcraft-summary-box ul{padding-left:1em;padding-bottom:10px}.searchcraft-summary-box a{color:var(--sc-content-brand)}.searchcraft-loading-label{position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);margin-top:40px;letter-spacing:2px;color:#828282;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal)}.searchcraft-loading-bars{margin:0 auto;width:60px;height:50px;text-align:center;position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);display:flex;gap:2px}.searchcraft-loading-bars>div{height:100%;width:8px;-webkit-animation:delay .8s infinite ease-in-out;animation:delay .8s infinite ease-in-out;opacity:.2}.searchcraft-loading-bars .searchcraft-loading-bar-1{background-color:var(--sc-surface-brand-primary);opacity:.1}.searchcraft-loading-bars .searchcraft-loading-bar-2{background-color:var(--sc-surface-brand-primary);animation-delay:-0.7s;opacity:.2}.searchcraft-loading-bars .searchcraft-loading-bar-3{background-color:var(--sc-surface-brand-primary);animation-delay:-0.6s;opacity:.3}.searchcraft-loading-bars .searchcraft-loading-bar-4{background-color:var(--sc-surface-brand-primary);animation-delay:-0.5s;opacity:.4}.searchcraft-loading-bars .searchcraft-loading-bar-5{background-color:var(--sc-surface-brand-primary);animation-delay:-0.4s;opacity:.5}.searchcraft-loading-bars .searchcraft-loading-bar-6{background-color:var(--sc-surface-brand-primary);animation-delay:-0.3s;opacity:.6}@keyframes delay{0%,40%,100%{transform:scaleY(0.05)}20%{transform:scaleY(1)}}/*# sourceMappingURL=hologram.css.map */
5079
5192
  `, Qo = /* @__PURE__ */ ee(class extends J {
5080
5193
  constructor() {
5081
5194
  super(), this.__registerHost();
5082
5195
  }
5083
5196
  render() {
5084
- return p("style", { key: "ef26626cdfa4fa98d516802d71443c49a9c6ecf9" }, Yo);
5197
+ return m("style", { key: "13c28bb6075d6fcbec33938fd2227d9fb6129bf2" }, Yo);
5085
5198
  }
5086
5199
  }, [0, "searchcraft-theme"]);
5087
5200
  function Ko() {
@@ -5096,7 +5209,7 @@ function Ko() {
5096
5209
  });
5097
5210
  }
5098
5211
  const Xo = Ko, Jo = Sa, Ma = () => {
5099
- Zn(), Qn(), Xn(), to(), uo(), po(), mo(), bo(), ko(), wo(), Ro(), $o(), _o(), Io(), Oo(), Fo(), qo(), Ho(), Vo(), jo(), Zo(), Xo(), Jo();
5212
+ Zn(), Qn(), Xn(), to(), uo(), po(), mo(), bo(), ko(), wo(), Ro(), $o(), _o(), Io(), Oo(), Fo(), Vo(), zo(), qo(), jo(), Zo(), Xo(), Jo();
5100
5213
  };
5101
5214
  globalThis.__scDefineCustomElements__ = Ma;
5102
5215
  var he;
@@ -5147,21 +5260,21 @@ function Ge(r, t, e, s) {
5147
5260
  function n(l) {
5148
5261
  try {
5149
5262
  u(s.next(l));
5150
- } catch (m) {
5151
- o(m);
5263
+ } catch (p) {
5264
+ o(p);
5152
5265
  }
5153
5266
  }
5154
5267
  function h(l) {
5155
5268
  try {
5156
5269
  u(s.throw(l));
5157
- } catch (m) {
5158
- o(m);
5270
+ } catch (p) {
5271
+ o(p);
5159
5272
  }
5160
5273
  }
5161
5274
  function u(l) {
5162
- var m;
5163
- l.done ? a(l.value) : (m = l.value, m instanceof e ? m : new e(function(C) {
5164
- C(m);
5275
+ var p;
5276
+ l.done ? a(l.value) : (p = l.value, p instanceof e ? p : new e(function(C) {
5277
+ C(p);
5165
5278
  })).then(n, h);
5166
5279
  }
5167
5280
  u((s = s.apply(r, [])).next());
@@ -5177,51 +5290,51 @@ function Ze(r, t) {
5177
5290
  }), o;
5178
5291
  function h(u) {
5179
5292
  return function(l) {
5180
- return function(m) {
5293
+ return function(p) {
5181
5294
  if (e) throw new TypeError("Generator is already executing.");
5182
- for (; o && (o = 0, m[0] && (n = 0)), n; ) try {
5183
- if (e = 1, s && (a = 2 & m[0] ? s.return : m[0] ? s.throw || ((a = s.return) && a.call(s), 0) : s.next) && !(a = a.call(s, m[1])).done) return a;
5184
- switch (s = 0, a && (m = [2 & m[0], a.value]), m[0]) {
5295
+ for (; o && (o = 0, p[0] && (n = 0)), n; ) try {
5296
+ if (e = 1, s && (a = 2 & p[0] ? s.return : p[0] ? s.throw || ((a = s.return) && a.call(s), 0) : s.next) && !(a = a.call(s, p[1])).done) return a;
5297
+ switch (s = 0, a && (p = [2 & p[0], a.value]), p[0]) {
5185
5298
  case 0:
5186
5299
  case 1:
5187
- a = m;
5300
+ a = p;
5188
5301
  break;
5189
5302
  case 4:
5190
- return n.label++, { value: m[1], done: !1 };
5303
+ return n.label++, { value: p[1], done: !1 };
5191
5304
  case 5:
5192
- n.label++, s = m[1], m = [0];
5305
+ n.label++, s = p[1], p = [0];
5193
5306
  continue;
5194
5307
  case 7:
5195
- m = n.ops.pop(), n.trys.pop();
5308
+ p = n.ops.pop(), n.trys.pop();
5196
5309
  continue;
5197
5310
  default:
5198
- if (a = n.trys, !((a = a.length > 0 && a[a.length - 1]) || m[0] !== 6 && m[0] !== 2)) {
5311
+ if (a = n.trys, !((a = a.length > 0 && a[a.length - 1]) || p[0] !== 6 && p[0] !== 2)) {
5199
5312
  n = 0;
5200
5313
  continue;
5201
5314
  }
5202
- if (m[0] === 3 && (!a || m[1] > a[0] && m[1] < a[3])) {
5203
- n.label = m[1];
5315
+ if (p[0] === 3 && (!a || p[1] > a[0] && p[1] < a[3])) {
5316
+ n.label = p[1];
5204
5317
  break;
5205
5318
  }
5206
- if (m[0] === 6 && n.label < a[1]) {
5207
- n.label = a[1], a = m;
5319
+ if (p[0] === 6 && n.label < a[1]) {
5320
+ n.label = a[1], a = p;
5208
5321
  break;
5209
5322
  }
5210
5323
  if (a && n.label < a[2]) {
5211
- n.label = a[2], n.ops.push(m);
5324
+ n.label = a[2], n.ops.push(p);
5212
5325
  break;
5213
5326
  }
5214
5327
  a[2] && n.ops.pop(), n.trys.pop();
5215
5328
  continue;
5216
5329
  }
5217
- m = t.call(r, n);
5330
+ p = t.call(r, n);
5218
5331
  } catch (C) {
5219
- m = [6, C], s = 0;
5332
+ p = [6, C], s = 0;
5220
5333
  } finally {
5221
5334
  e = a = 0;
5222
5335
  }
5223
- if (5 & m[0]) throw m[1];
5224
- return { value: m[0] ? m[1] : void 0, done: !0 };
5336
+ if (5 & p[0]) throw p[1];
5337
+ return { value: p[0] ? p[1] : void 0, done: !0 };
5225
5338
  }([u, l]);
5226
5339
  };
5227
5340
  }
@@ -5249,42 +5362,42 @@ function ds(r, t) {
5249
5362
  var s = new Uint32Array([t, t, t, t]);
5250
5363
  (function(o, n) {
5251
5364
  for (var h = o.byteLength / 16 | 0, u = new Uint32Array(o, 0, 4 * h), l = 0; l < h; l++) {
5252
- var m = u.subarray(4 * l, 4 * (l + 1));
5253
- m[0] = Math.imul(m[0], me[0]), m[0] = Pe(m[0], 15), m[0] = Math.imul(m[0], me[1]), n[0] = n[0] ^ m[0], n[0] = Pe(n[0], 19), n[0] = n[0] + n[1], n[0] = Math.imul(n[0], 5) + 1444728091, m[1] = Math.imul(m[1], me[1]), m[1] = Pe(m[1], 16), m[1] = Math.imul(m[1], me[2]), n[1] = n[1] ^ m[1], n[1] = Pe(n[1], 17), n[1] = n[1] + n[2], n[1] = Math.imul(n[1], 5) + 197830471, m[2] = Math.imul(m[2], me[2]), m[2] = Pe(m[2], 17), m[2] = Math.imul(m[2], me[3]), n[2] = n[2] ^ m[2], n[2] = Pe(n[2], 15), n[2] = n[2] + n[3], n[2] = Math.imul(n[2], 5) + 2530024501, m[3] = Math.imul(m[3], me[3]), m[3] = Pe(m[3], 18), m[3] = Math.imul(m[3], me[0]), n[3] = n[3] ^ m[3], n[3] = Pe(n[3], 13), n[3] = n[3] + n[0], n[3] = Math.imul(n[3], 5) + 850148119;
5365
+ var p = u.subarray(4 * l, 4 * (l + 1));
5366
+ p[0] = Math.imul(p[0], me[0]), p[0] = Pe(p[0], 15), p[0] = Math.imul(p[0], me[1]), n[0] = n[0] ^ p[0], n[0] = Pe(n[0], 19), n[0] = n[0] + n[1], n[0] = Math.imul(n[0], 5) + 1444728091, p[1] = Math.imul(p[1], me[1]), p[1] = Pe(p[1], 16), p[1] = Math.imul(p[1], me[2]), n[1] = n[1] ^ p[1], n[1] = Pe(n[1], 17), n[1] = n[1] + n[2], n[1] = Math.imul(n[1], 5) + 197830471, p[2] = Math.imul(p[2], me[2]), p[2] = Pe(p[2], 17), p[2] = Math.imul(p[2], me[3]), n[2] = n[2] ^ p[2], n[2] = Pe(n[2], 15), n[2] = n[2] + n[3], n[2] = Math.imul(n[2], 5) + 2530024501, p[3] = Math.imul(p[3], me[3]), p[3] = Pe(p[3], 18), p[3] = Math.imul(p[3], me[0]), n[3] = n[3] ^ p[3], n[3] = Pe(n[3], 13), n[3] = n[3] + n[0], n[3] = Math.imul(n[3], 5) + 850148119;
5254
5367
  }
5255
5368
  })(r, s), function(o, n) {
5256
- var h = o.byteLength / 16 | 0, u = o.byteLength % 16, l = new Uint32Array(4), m = new Uint8Array(o, 16 * h, u);
5369
+ var h = o.byteLength / 16 | 0, u = o.byteLength % 16, l = new Uint32Array(4), p = new Uint8Array(o, 16 * h, u);
5257
5370
  switch (u) {
5258
5371
  case 15:
5259
- l[3] = l[3] ^ m[14] << 16;
5372
+ l[3] = l[3] ^ p[14] << 16;
5260
5373
  case 14:
5261
- l[3] = l[3] ^ m[13] << 8;
5374
+ l[3] = l[3] ^ p[13] << 8;
5262
5375
  case 13:
5263
- l[3] = l[3] ^ m[12] << 0, l[3] = Math.imul(l[3], me[3]), l[3] = Pe(l[3], 18), l[3] = Math.imul(l[3], me[0]), n[3] = n[3] ^ l[3];
5376
+ l[3] = l[3] ^ p[12] << 0, l[3] = Math.imul(l[3], me[3]), l[3] = Pe(l[3], 18), l[3] = Math.imul(l[3], me[0]), n[3] = n[3] ^ l[3];
5264
5377
  case 12:
5265
- l[2] = l[2] ^ m[11] << 24;
5378
+ l[2] = l[2] ^ p[11] << 24;
5266
5379
  case 11:
5267
- l[2] = l[2] ^ m[10] << 16;
5380
+ l[2] = l[2] ^ p[10] << 16;
5268
5381
  case 10:
5269
- l[2] = l[2] ^ m[9] << 8;
5382
+ l[2] = l[2] ^ p[9] << 8;
5270
5383
  case 9:
5271
- l[2] = l[2] ^ m[8] << 0, l[2] = Math.imul(l[2], me[2]), l[2] = Pe(l[2], 17), l[2] = Math.imul(l[2], me[3]), n[2] = n[2] ^ l[2];
5384
+ l[2] = l[2] ^ p[8] << 0, l[2] = Math.imul(l[2], me[2]), l[2] = Pe(l[2], 17), l[2] = Math.imul(l[2], me[3]), n[2] = n[2] ^ l[2];
5272
5385
  case 8:
5273
- l[1] = l[1] ^ m[7] << 24;
5386
+ l[1] = l[1] ^ p[7] << 24;
5274
5387
  case 7:
5275
- l[1] = l[1] ^ m[6] << 16;
5388
+ l[1] = l[1] ^ p[6] << 16;
5276
5389
  case 6:
5277
- l[1] = l[1] ^ m[5] << 8;
5390
+ l[1] = l[1] ^ p[5] << 8;
5278
5391
  case 5:
5279
- l[1] = l[1] ^ m[4] << 0, l[1] = Math.imul(l[1], me[1]), l[1] = Pe(l[1], 16), l[1] = Math.imul(l[1], me[2]), n[1] = n[1] ^ l[1];
5392
+ l[1] = l[1] ^ p[4] << 0, l[1] = Math.imul(l[1], me[1]), l[1] = Pe(l[1], 16), l[1] = Math.imul(l[1], me[2]), n[1] = n[1] ^ l[1];
5280
5393
  case 4:
5281
- l[0] = l[0] ^ m[3] << 24;
5394
+ l[0] = l[0] ^ p[3] << 24;
5282
5395
  case 3:
5283
- l[0] = l[0] ^ m[2] << 16;
5396
+ l[0] = l[0] ^ p[2] << 16;
5284
5397
  case 2:
5285
- l[0] = l[0] ^ m[1] << 8;
5398
+ l[0] = l[0] ^ p[1] << 8;
5286
5399
  case 1:
5287
- l[0] = l[0] ^ m[0] << 0, l[0] = Math.imul(l[0], me[0]), l[0] = Pe(l[0], 15), l[0] = Math.imul(l[0], me[1]), n[0] = n[0] ^ l[0];
5400
+ l[0] = l[0] ^ p[0] << 0, l[0] = Math.imul(l[0], me[0]), l[0] = Pe(l[0], 15), l[0] = Math.imul(l[0], me[1]), n[0] = n[0] ^ l[0];
5288
5401
  }
5289
5402
  }(r, s), function(o, n) {
5290
5403
  n[0] = n[0] ^ o.byteLength, n[1] = n[1] ^ o.byteLength, n[2] = n[2] ^ o.byteLength, n[3] = n[3] ^ o.byteLength, n[0] = n[0] + n[1] | 0, n[0] = n[0] + n[2] | 0, n[0] = n[0] + n[3] | 0, n[1] = n[1] + n[0] | 0, n[2] = n[2] + n[0] | 0, n[3] = n[3] + n[0] | 0, n[0] = pr(n[0]), n[1] = pr(n[1]), n[2] = pr(n[2]), n[3] = pr(n[3]), n[0] = n[0] + n[1] | 0, n[0] = n[0] + n[2] | 0, n[0] = n[0] + n[3] | 0, n[1] = n[1] + n[0] | 0, n[2] = n[2] + n[0] | 0, n[3] = n[3] + n[0] | 0;
@@ -5380,7 +5493,7 @@ function ci(r) {
5380
5493
  for (var o in t) t[o] > t[a] && (a = parseInt(o, 10));
5381
5494
  return a;
5382
5495
  }
5383
- function Vt() {
5496
+ function qt() {
5384
5497
  if (typeof navigator > "u") return { name: "unknown", version: "unknown" };
5385
5498
  for (var r = navigator.userAgent, t = { Edg: "Edge", OPR: "Opera" }, e = 0, s = [/(?<name>Edge|Edg)\/(?<version>\d+(?:\.\d+)?)/, /(?<name>(?:Chrome|Chromium|OPR|Opera|Vivaldi|Brave))\/(?<version>\d+(?:\.\d+)?)/, /(?<name>(?:Firefox|Waterfox|Iceweasel|IceCat))\/(?<version>\d+(?:\.\d+)?)/, /(?<name>Safari)\/(?<version>\d+(?:\.\d+)?)/, /(?<name>MSIE|Trident|IEMobile).+?(?<version>\d+(?:\.\d+)?)/, /(?<name>[A-Za-z]+)\/(?<version>\d+(?:\.\d+)?)/, /(?<name>SamsungBrowser)\/(?<version>\d+(?:\.\d+)?)/]; e < s.length; e++) {
5386
5499
  var a = s[e], o = r.match(a);
@@ -5406,8 +5519,8 @@ Ie("audio", function() {
5406
5519
  });
5407
5520
  });
5408
5521
  });
5409
- var li = Vt().name !== "SamsungBrowser" ? 1 : 3, js = 280, Ws = 20;
5410
- Vt().name != "Firefox" && Ie("canvas", function() {
5522
+ var li = qt().name !== "SamsungBrowser" ? 1 : 3, js = 280, Ws = 20;
5523
+ qt().name != "Firefox" && Ie("canvas", function() {
5411
5524
  return document.createElement("canvas").getContext("2d"), new Promise(function(r) {
5412
5525
  var t = Array.from({ length: li }, function() {
5413
5526
  return function() {
@@ -5457,8 +5570,8 @@ function pi(r, t) {
5457
5570
  if (o.length === 0) return null;
5458
5571
  var n = {};
5459
5572
  o.forEach(function(l) {
5460
- var m = String(l);
5461
- n[m] = (n[m] || 0) + 1;
5573
+ var p = String(l);
5574
+ n[p] = (n[p] || 0) + 1;
5462
5575
  });
5463
5576
  var h = o[0], u = 1;
5464
5577
  return Object.keys(n).forEach(function(l) {
@@ -5488,7 +5601,7 @@ function gi() {
5488
5601
  }
5489
5602
  return 0;
5490
5603
  }
5491
- Vt().name != "Firefox" && Ie("fonts", function() {
5604
+ qt().name != "Firefox" && Ie("fonts", function() {
5492
5605
  var r = this;
5493
5606
  return new Promise(function(t, e) {
5494
5607
  try {
@@ -5500,7 +5613,7 @@ Vt().name != "Firefox" && Ie("fonts", function() {
5500
5613
  switch (u.label) {
5501
5614
  case 0:
5502
5615
  return document.body ? [3, 2] : [4, (l = 50, new Promise(function(C) {
5503
- return setTimeout(C, l, m);
5616
+ return setTimeout(C, l, p);
5504
5617
  }))];
5505
5618
  case 1:
5506
5619
  return u.sent(), [3, 0];
@@ -5510,7 +5623,7 @@ Vt().name != "Firefox" && Ie("fonts", function() {
5510
5623
  document.body.removeChild(o);
5511
5624
  }, 0), [2];
5512
5625
  }
5513
- var l, m;
5626
+ var l, p;
5514
5627
  });
5515
5628
  });
5516
5629
  })(function(s) {
@@ -5518,11 +5631,11 @@ Vt().name != "Firefox" && Ie("fonts", function() {
5518
5631
  return Ge(r, void 0, void 0, function() {
5519
5632
  var o, n, h, u;
5520
5633
  return Ze(this, function(l) {
5521
- return o = a.createElement("canvas"), n = o.getContext("2d"), h = hi.map(function(m) {
5522
- return Gs(n, m);
5523
- }), u = {}, ui.forEach(function(m) {
5524
- var C = Gs(n, m);
5525
- h.includes(C) || (u[m] = C);
5634
+ return o = a.createElement("canvas"), n = o.getContext("2d"), h = hi.map(function(p) {
5635
+ return Gs(n, p);
5636
+ }), u = {}, ui.forEach(function(p) {
5637
+ var C = Gs(n, p);
5638
+ h.includes(C) || (u[p] = C);
5526
5639
  }), t(u), [2];
5527
5640
  });
5528
5641
  });
@@ -5589,11 +5702,11 @@ Vt().name != "Firefox" && Ie("fonts", function() {
5589
5702
  });
5590
5703
  }), Ie("system", function() {
5591
5704
  return new Promise(function(r) {
5592
- var t = Vt();
5705
+ var t = qt();
5593
5706
  r({ platform: window.navigator.platform, cookieEnabled: window.navigator.cookieEnabled, productSub: navigator.productSub, product: navigator.product, useragent: navigator.userAgent, hardwareConcurrency: navigator.hardwareConcurrency, browser: { name: t.name, version: t.version }, applePayVersion: gi() });
5594
5707
  });
5595
5708
  });
5596
- var ve, bi = Vt().name !== "SamsungBrowser" ? 1 : 3, F = null;
5709
+ var ve, bi = qt().name !== "SamsungBrowser" ? 1 : 3, F = null;
5597
5710
  Ie("webgl", function() {
5598
5711
  return Ge(this, void 0, void 0, function() {
5599
5712
  var r;
@@ -5623,9 +5736,9 @@ Ie("webgl", function() {
5623
5736
  if (!n) throw new Error("Failed to create shader program");
5624
5737
  if (F.attachShader(n, a), F.attachShader(n, o), F.linkProgram(n), !F.getProgramParameter(n, F.LINK_STATUS)) throw new Error("Shader program linking failed: " + F.getProgramInfoLog(n));
5625
5738
  F.useProgram(n);
5626
- for (var h = 137, u = new Float32Array(4 * h), l = 2 * Math.PI / h, m = 0; m < h; m++) {
5627
- var C = m * l;
5628
- u[4 * m] = 0, u[4 * m + 1] = 0, u[4 * m + 2] = Math.cos(C) * (ve.width / 2), u[4 * m + 3] = Math.sin(C) * (ve.height / 2);
5739
+ for (var h = 137, u = new Float32Array(4 * h), l = 2 * Math.PI / h, p = 0; p < h; p++) {
5740
+ var C = p * l;
5741
+ u[4 * p] = 0, u[4 * p + 1] = 0, u[4 * p + 2] = Math.cos(C) * (ve.width / 2), u[4 * p + 3] = Math.sin(C) * (ve.height / 2);
5629
5742
  }
5630
5743
  var E = F.createBuffer();
5631
5744
  F.bindBuffer(F.ARRAY_BUFFER, E), F.bufferData(F.ARRAY_BUFFER, u, F.STATIC_DRAW);
@@ -5694,16 +5807,16 @@ class vi extends fs {
5694
5807
  rfr: "searchcraft.io",
5695
5808
  "results-ta": `${e.textAdQuantity || 0}`,
5696
5809
  "results-pa": `${e.productAdQuantity || 0}`
5697
- }).toString()}`, n = await (await fetch(a, { method: "GET" })).json(), h = n.product_ads.map((m) => ({
5810
+ }).toString()}`, n = await (await fetch(a, { method: "GET" })).json(), h = n.product_ads.map((p) => ({
5698
5811
  id: ht(),
5699
5812
  adSource: "adMarketplace",
5700
5813
  admAdType: "adm-product-ad",
5701
- admAd: m
5702
- })), u = n.text_ads.map((m) => ({
5814
+ admAd: p
5815
+ })), u = n.text_ads.map((p) => ({
5703
5816
  id: ht(),
5704
5817
  adSource: "adMarketplace",
5705
5818
  admAdType: "adm-text-ad",
5706
- admAd: m
5819
+ admAd: p
5707
5820
  }));
5708
5821
  return h.concat(u);
5709
5822
  }
@@ -5891,7 +6004,7 @@ class Ei {
5891
6004
  * @returns
5892
6005
  */
5893
6006
  c(this, "getSearchResponseItems", async (t, e = !1) => {
5894
- var n, h, u, l, m, C, E;
6007
+ var n, h, u, l, p, C, E;
5895
6008
  let s, a = "", o;
5896
6009
  return e ? ((n = this.supplementalAbortController) == null || n.abort("A newer search request has replaced this one."), o = new AbortController(), this.supplementalAbortController = o) : ((h = this.abortController) == null || h.abort("A newer search request has replaced this one."), o = new AbortController(), this.abortController = o), typeof t == "string" ? a = mr(t) : (t.searchTerm = mr(t.searchTerm), a = t.searchTerm), (u = this.parent.measureClient) == null || u.sendMeasureEvent("search_requested", {
5897
6010
  search_term: a
@@ -5900,7 +6013,7 @@ class Ei {
5900
6013
  data: {
5901
6014
  searchTerm: a
5902
6015
  }
5903
- }), (l = this.parent.adClient) == null || l.onQuerySubmitted(typeof t == "string" ? { searchTerm: a, mode: "exact" } : t), typeof t == "string" ? s = await this.handleGetSearchResponseItemsWithString(a, o) : s = await this.handleGetSearchResponseItemsWithObject(t, o), e || ((m = this.parent.measureClient) == null || m.sendMeasureEvent("search_response_received", {
6016
+ }), (l = this.parent.adClient) == null || l.onQuerySubmitted(typeof t == "string" ? { searchTerm: a, mode: "exact" } : t), typeof t == "string" ? s = await this.handleGetSearchResponseItemsWithString(a, o) : s = await this.handleGetSearchResponseItemsWithObject(t, o), e || ((p = this.parent.measureClient) == null || p.sendMeasureEvent("search_response_received", {
5904
6017
  search_term: a,
5905
6018
  number_of_documents: s.data.count
5906
6019
  }), clearTimeout(this.searchCompletedEventTimeout), this.searchCompletedEventTimeout = setTimeout(() => {
@@ -6025,17 +6138,17 @@ class Ei {
6025
6138
  var Da = {}, ps = {};
6026
6139
  const Zs = (r) => {
6027
6140
  let t;
6028
- const e = /* @__PURE__ */ new Set(), s = (l, m) => {
6141
+ const e = /* @__PURE__ */ new Set(), s = (l, p) => {
6029
6142
  const C = typeof l == "function" ? l(t) : l;
6030
6143
  if (!Object.is(C, t)) {
6031
6144
  const E = t;
6032
- t = m ?? (typeof C != "object" || C === null) ? C : Object.assign({}, t, C), e.forEach((_) => _(t, E));
6145
+ t = p ?? (typeof C != "object" || C === null) ? C : Object.assign({}, t, C), e.forEach((_) => _(t, E));
6033
6146
  }
6034
6147
  }, a = () => t, h = { setState: s, getState: a, getInitialState: () => u, subscribe: (l) => (e.add(l), () => e.delete(l)) }, u = t = r(s, a, h);
6035
6148
  return h;
6036
6149
  }, Ti = (r) => r ? Zs(r) : Zs;
6037
6150
  ps.createStore = Ti;
6038
- var ms = {}, Na = { exports: {} }, H = {};
6151
+ var ms = {}, Na = { exports: {} }, z = {};
6039
6152
  /**
6040
6153
  * @license React
6041
6154
  * react.production.js
@@ -6045,11 +6158,11 @@ var ms = {}, Na = { exports: {} }, H = {};
6045
6158
  * This source code is licensed under the MIT license found in the
6046
6159
  * LICENSE file in the root directory of this source tree.
6047
6160
  */
6048
- var gs = Symbol.for("react.transitional.element"), Pi = Symbol.for("react.portal"), $i = Symbol.for("react.fragment"), _i = Symbol.for("react.strict_mode"), Ii = Symbol.for("react.profiler"), Ai = Symbol.for("react.consumer"), Mi = Symbol.for("react.context"), Oi = Symbol.for("react.forward_ref"), Li = Symbol.for("react.suspense"), Fi = Symbol.for("react.memo"), Ha = Symbol.for("react.lazy"), Ys = Symbol.iterator;
6161
+ var gs = Symbol.for("react.transitional.element"), Pi = Symbol.for("react.portal"), $i = Symbol.for("react.fragment"), _i = Symbol.for("react.strict_mode"), Ii = Symbol.for("react.profiler"), Ai = Symbol.for("react.consumer"), Mi = Symbol.for("react.context"), Oi = Symbol.for("react.forward_ref"), Li = Symbol.for("react.suspense"), Fi = Symbol.for("react.memo"), za = Symbol.for("react.lazy"), Ys = Symbol.iterator;
6049
6162
  function Di(r) {
6050
6163
  return r === null || typeof r != "object" ? null : (r = Ys && r[Ys] || r["@@iterator"], typeof r == "function" ? r : null);
6051
6164
  }
6052
- var za = {
6165
+ var Ha = {
6053
6166
  isMounted: function() {
6054
6167
  return !1;
6055
6168
  },
@@ -6059,9 +6172,9 @@ var za = {
6059
6172
  },
6060
6173
  enqueueSetState: function() {
6061
6174
  }
6062
- }, Ua = Object.assign, Ba = {};
6175
+ }, Ba = Object.assign, Ua = {};
6063
6176
  function Et(r, t, e) {
6064
- this.props = r, this.context = t, this.refs = Ba, this.updater = e || za;
6177
+ this.props = r, this.context = t, this.refs = Ua, this.updater = e || Ha;
6065
6178
  }
6066
6179
  Et.prototype.isReactComponent = {};
6067
6180
  Et.prototype.setState = function(r, t) {
@@ -6074,17 +6187,17 @@ Et.prototype.setState = function(r, t) {
6074
6187
  Et.prototype.forceUpdate = function(r) {
6075
6188
  this.updater.enqueueForceUpdate(this, r, "forceUpdate");
6076
6189
  };
6077
- function qa() {
6190
+ function Va() {
6078
6191
  }
6079
- qa.prototype = Et.prototype;
6192
+ Va.prototype = Et.prototype;
6080
6193
  function bs(r, t, e) {
6081
- this.props = r, this.context = t, this.refs = Ba, this.updater = e || za;
6194
+ this.props = r, this.context = t, this.refs = Ua, this.updater = e || Ha;
6082
6195
  }
6083
- var vs = bs.prototype = new qa();
6196
+ var vs = bs.prototype = new Va();
6084
6197
  vs.constructor = bs;
6085
- Ua(vs, Et.prototype);
6198
+ Ba(vs, Et.prototype);
6086
6199
  vs.isPureReactComponent = !0;
6087
- var Qs = Array.isArray, X = { H: null, A: null, T: null, S: null }, Va = Object.prototype.hasOwnProperty;
6200
+ var Qs = Array.isArray, X = { H: null, A: null, T: null, S: null }, qa = Object.prototype.hasOwnProperty;
6088
6201
  function ys(r, t, e, s, a, o) {
6089
6202
  return e = o.ref, {
6090
6203
  $$typeof: gs,
@@ -6107,7 +6220,7 @@ function Ni(r, t) {
6107
6220
  function ks(r) {
6108
6221
  return typeof r == "object" && r !== null && r.$$typeof === gs;
6109
6222
  }
6110
- function Hi(r) {
6223
+ function zi(r) {
6111
6224
  var t = { "=": "=0", ":": "=2" };
6112
6225
  return "$" + r.replace(/[=:]/g, function(e) {
6113
6226
  return t[e];
@@ -6115,11 +6228,11 @@ function Hi(r) {
6115
6228
  }
6116
6229
  var Ks = /\/+/g;
6117
6230
  function Yr(r, t) {
6118
- return typeof r == "object" && r !== null && r.key != null ? Hi("" + r.key) : t.toString(36);
6231
+ return typeof r == "object" && r !== null && r.key != null ? zi("" + r.key) : t.toString(36);
6119
6232
  }
6120
6233
  function Xs() {
6121
6234
  }
6122
- function zi(r) {
6235
+ function Hi(r) {
6123
6236
  switch (r.status) {
6124
6237
  case "fulfilled":
6125
6238
  return r.value;
@@ -6160,7 +6273,7 @@ function wt(r, t, e, s, a) {
6160
6273
  case Pi:
6161
6274
  n = !0;
6162
6275
  break;
6163
- case Ha:
6276
+ case za:
6164
6277
  return n = r._init, wt(
6165
6278
  n(r._payload),
6166
6279
  t,
@@ -6203,7 +6316,7 @@ function wt(r, t, e, s, a) {
6203
6316
  else if (o === "object") {
6204
6317
  if (typeof r.then == "function")
6205
6318
  return wt(
6206
- zi(r),
6319
+ Hi(r),
6207
6320
  t,
6208
6321
  e,
6209
6322
  s,
@@ -6222,7 +6335,7 @@ function gr(r, t, e) {
6222
6335
  return t.call(e, o, a++);
6223
6336
  }), s;
6224
6337
  }
6225
- function Ui(r) {
6338
+ function Bi(r) {
6226
6339
  if (r._status === -1) {
6227
6340
  var t = r._result;
6228
6341
  t = t(), t.then(
@@ -6252,9 +6365,9 @@ var Js = typeof reportError == "function" ? reportError : function(r) {
6252
6365
  }
6253
6366
  console.error(r);
6254
6367
  };
6255
- function Bi() {
6368
+ function Ui() {
6256
6369
  }
6257
- H.Children = {
6370
+ z.Children = {
6258
6371
  map: gr,
6259
6372
  forEach: function(r, t, e) {
6260
6373
  gr(
@@ -6284,30 +6397,30 @@ H.Children = {
6284
6397
  return r;
6285
6398
  }
6286
6399
  };
6287
- H.Component = Et;
6288
- H.Fragment = $i;
6289
- H.Profiler = Ii;
6290
- H.PureComponent = bs;
6291
- H.StrictMode = _i;
6292
- H.Suspense = Li;
6293
- H.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = X;
6294
- H.act = function() {
6400
+ z.Component = Et;
6401
+ z.Fragment = $i;
6402
+ z.Profiler = Ii;
6403
+ z.PureComponent = bs;
6404
+ z.StrictMode = _i;
6405
+ z.Suspense = Li;
6406
+ z.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = X;
6407
+ z.act = function() {
6295
6408
  throw Error("act(...) is not supported in production builds of React.");
6296
6409
  };
6297
- H.cache = function(r) {
6410
+ z.cache = function(r) {
6298
6411
  return function() {
6299
6412
  return r.apply(null, arguments);
6300
6413
  };
6301
6414
  };
6302
- H.cloneElement = function(r, t, e) {
6415
+ z.cloneElement = function(r, t, e) {
6303
6416
  if (r == null)
6304
6417
  throw Error(
6305
6418
  "The argument must be a React element, but you passed " + r + "."
6306
6419
  );
6307
- var s = Ua({}, r.props), a = r.key, o = void 0;
6420
+ var s = Ba({}, r.props), a = r.key, o = void 0;
6308
6421
  if (t != null)
6309
6422
  for (n in t.ref !== void 0 && (o = void 0), t.key !== void 0 && (a = "" + t.key), t)
6310
- !Va.call(t, n) || n === "key" || n === "__self" || n === "__source" || n === "ref" && t.ref === void 0 || (s[n] = t[n]);
6423
+ !qa.call(t, n) || n === "key" || n === "__self" || n === "__source" || n === "ref" && t.ref === void 0 || (s[n] = t[n]);
6311
6424
  var n = arguments.length - 2;
6312
6425
  if (n === 1) s.children = e;
6313
6426
  else if (1 < n) {
@@ -6317,7 +6430,7 @@ H.cloneElement = function(r, t, e) {
6317
6430
  }
6318
6431
  return ys(r.type, a, void 0, void 0, o, s);
6319
6432
  };
6320
- H.createContext = function(r) {
6433
+ z.createContext = function(r) {
6321
6434
  return r = {
6322
6435
  $$typeof: Mi,
6323
6436
  _currentValue: r,
@@ -6330,11 +6443,11 @@ H.createContext = function(r) {
6330
6443
  _context: r
6331
6444
  }, r;
6332
6445
  };
6333
- H.createElement = function(r, t, e) {
6446
+ z.createElement = function(r, t, e) {
6334
6447
  var s, a = {}, o = null;
6335
6448
  if (t != null)
6336
6449
  for (s in t.key !== void 0 && (o = "" + t.key), t)
6337
- Va.call(t, s) && s !== "key" && s !== "__self" && s !== "__source" && (a[s] = t[s]);
6450
+ qa.call(t, s) && s !== "key" && s !== "__self" && s !== "__source" && (a[s] = t[s]);
6338
6451
  var n = arguments.length - 2;
6339
6452
  if (n === 1) a.children = e;
6340
6453
  else if (1 < n) {
@@ -6347,104 +6460,104 @@ H.createElement = function(r, t, e) {
6347
6460
  a[s] === void 0 && (a[s] = n[s]);
6348
6461
  return ys(r, o, void 0, void 0, null, a);
6349
6462
  };
6350
- H.createRef = function() {
6463
+ z.createRef = function() {
6351
6464
  return { current: null };
6352
6465
  };
6353
- H.forwardRef = function(r) {
6466
+ z.forwardRef = function(r) {
6354
6467
  return { $$typeof: Oi, render: r };
6355
6468
  };
6356
- H.isValidElement = ks;
6357
- H.lazy = function(r) {
6469
+ z.isValidElement = ks;
6470
+ z.lazy = function(r) {
6358
6471
  return {
6359
- $$typeof: Ha,
6472
+ $$typeof: za,
6360
6473
  _payload: { _status: -1, _result: r },
6361
- _init: Ui
6474
+ _init: Bi
6362
6475
  };
6363
6476
  };
6364
- H.memo = function(r, t) {
6477
+ z.memo = function(r, t) {
6365
6478
  return {
6366
6479
  $$typeof: Fi,
6367
6480
  type: r,
6368
6481
  compare: t === void 0 ? null : t
6369
6482
  };
6370
6483
  };
6371
- H.startTransition = function(r) {
6484
+ z.startTransition = function(r) {
6372
6485
  var t = X.T, e = {};
6373
6486
  X.T = e;
6374
6487
  try {
6375
6488
  var s = r(), a = X.S;
6376
- a !== null && a(e, s), typeof s == "object" && s !== null && typeof s.then == "function" && s.then(Bi, Js);
6489
+ a !== null && a(e, s), typeof s == "object" && s !== null && typeof s.then == "function" && s.then(Ui, Js);
6377
6490
  } catch (o) {
6378
6491
  Js(o);
6379
6492
  } finally {
6380
6493
  X.T = t;
6381
6494
  }
6382
6495
  };
6383
- H.unstable_useCacheRefresh = function() {
6496
+ z.unstable_useCacheRefresh = function() {
6384
6497
  return X.H.useCacheRefresh();
6385
6498
  };
6386
- H.use = function(r) {
6499
+ z.use = function(r) {
6387
6500
  return X.H.use(r);
6388
6501
  };
6389
- H.useActionState = function(r, t, e) {
6502
+ z.useActionState = function(r, t, e) {
6390
6503
  return X.H.useActionState(r, t, e);
6391
6504
  };
6392
- H.useCallback = function(r, t) {
6505
+ z.useCallback = function(r, t) {
6393
6506
  return X.H.useCallback(r, t);
6394
6507
  };
6395
- H.useContext = function(r) {
6508
+ z.useContext = function(r) {
6396
6509
  return X.H.useContext(r);
6397
6510
  };
6398
- H.useDebugValue = function() {
6511
+ z.useDebugValue = function() {
6399
6512
  };
6400
- H.useDeferredValue = function(r, t) {
6513
+ z.useDeferredValue = function(r, t) {
6401
6514
  return X.H.useDeferredValue(r, t);
6402
6515
  };
6403
- H.useEffect = function(r, t) {
6516
+ z.useEffect = function(r, t) {
6404
6517
  return X.H.useEffect(r, t);
6405
6518
  };
6406
- H.useId = function() {
6519
+ z.useId = function() {
6407
6520
  return X.H.useId();
6408
6521
  };
6409
- H.useImperativeHandle = function(r, t, e) {
6522
+ z.useImperativeHandle = function(r, t, e) {
6410
6523
  return X.H.useImperativeHandle(r, t, e);
6411
6524
  };
6412
- H.useInsertionEffect = function(r, t) {
6525
+ z.useInsertionEffect = function(r, t) {
6413
6526
  return X.H.useInsertionEffect(r, t);
6414
6527
  };
6415
- H.useLayoutEffect = function(r, t) {
6528
+ z.useLayoutEffect = function(r, t) {
6416
6529
  return X.H.useLayoutEffect(r, t);
6417
6530
  };
6418
- H.useMemo = function(r, t) {
6531
+ z.useMemo = function(r, t) {
6419
6532
  return X.H.useMemo(r, t);
6420
6533
  };
6421
- H.useOptimistic = function(r, t) {
6534
+ z.useOptimistic = function(r, t) {
6422
6535
  return X.H.useOptimistic(r, t);
6423
6536
  };
6424
- H.useReducer = function(r, t, e) {
6537
+ z.useReducer = function(r, t, e) {
6425
6538
  return X.H.useReducer(r, t, e);
6426
6539
  };
6427
- H.useRef = function(r) {
6540
+ z.useRef = function(r) {
6428
6541
  return X.H.useRef(r);
6429
6542
  };
6430
- H.useState = function(r) {
6543
+ z.useState = function(r) {
6431
6544
  return X.H.useState(r);
6432
6545
  };
6433
- H.useSyncExternalStore = function(r, t, e) {
6546
+ z.useSyncExternalStore = function(r, t, e) {
6434
6547
  return X.H.useSyncExternalStore(
6435
6548
  r,
6436
6549
  t,
6437
6550
  e
6438
6551
  );
6439
6552
  };
6440
- H.useTransition = function() {
6553
+ z.useTransition = function() {
6441
6554
  return X.H.useTransition();
6442
6555
  };
6443
- H.version = "19.0.0";
6444
- Na.exports = H;
6445
- var ea = Na.exports, qi = ps;
6446
- const Vi = (r) => r;
6447
- function ja(r, t = Vi) {
6556
+ z.version = "19.0.0";
6557
+ Na.exports = z;
6558
+ var ea = Na.exports, Vi = ps;
6559
+ const qi = (r) => r;
6560
+ function ja(r, t = qi) {
6448
6561
  const e = ea.useSyncExternalStore(
6449
6562
  r.subscribe,
6450
6563
  () => t(r.getState()),
@@ -6453,7 +6566,7 @@ function ja(r, t = Vi) {
6453
6566
  return ea.useDebugValue(e), e;
6454
6567
  }
6455
6568
  const ta = (r) => {
6456
- const t = qi.createStore(r), e = (s) => ja(t, s);
6569
+ const t = Vi.createStore(r), e = (s) => ja(t, s);
6457
6570
  return Object.assign(e, t), e;
6458
6571
  }, ji = (r) => r ? ta(r) : ta;
6459
6572
  ms.create = ji;
@@ -6488,7 +6601,7 @@ class Gi {
6488
6601
  streamSummaryData() {
6489
6602
  var s;
6490
6603
  const t = async () => {
6491
- var u, l, m, C, E, _;
6604
+ var u, l, p, C, E, _;
6492
6605
  const a = this.get(), o = (u = a.core) == null ? void 0 : u.config;
6493
6606
  if (!o) {
6494
6607
  console.error("Could not stream summary data, no config found.");
@@ -6501,7 +6614,7 @@ class Gi {
6501
6614
  const n = (l = a.core) == null ? void 0 : l.config.indexName;
6502
6615
  if (!a.hasSummaryBox || !n)
6503
6616
  return;
6504
- (m = this.abortController) == null || m.abort("A newer request has replaced this one."), this.abortController = new AbortController(), this.set({
6617
+ (p = this.abortController) == null || p.abort("A newer request has replaced this one."), this.abortController = new AbortController(), this.set({
6505
6618
  isSummaryLoading: !0,
6506
6619
  summary: ""
6507
6620
  });
@@ -6535,12 +6648,12 @@ class Gi {
6535
6648
  }
6536
6649
  throw new Error(`HTTP ${I.status}`);
6537
6650
  }
6538
- const z = I.body.getReader(), D = new TextDecoder();
6651
+ const H = I.body.getReader(), D = new TextDecoder();
6539
6652
  let P = !1;
6540
6653
  do {
6541
- const { done: M, value: q } = await z.read();
6654
+ const { done: M, value: V } = await H.read();
6542
6655
  P = M;
6543
- const Y = D.decode(q, { stream: !0 });
6656
+ const Y = D.decode(V, { stream: !0 });
6544
6657
  this.set((ge) => ({
6545
6658
  isSummaryLoading: !1,
6546
6659
  summary: `${ge.summary}${Y}`
@@ -6562,6 +6675,7 @@ const ra = {
6562
6675
  hotkey: "k",
6563
6676
  hotkeyModifier: "meta",
6564
6677
  facetPathsForIndexFields: {},
6678
+ isFilterPanelVisible: !0,
6565
6679
  isPopoverVisible: !1,
6566
6680
  isSearchInProgress: !1,
6567
6681
  rangeValueForIndexFields: {},
@@ -6617,10 +6731,10 @@ const ra = {
6617
6731
  currentPage: o().searchResultsPage,
6618
6732
  stackTrace: new Error().stack
6619
6733
  }), a((l) => {
6620
- const m = l.facetPathsForIndexFields;
6621
- return delete m[u], {
6734
+ const p = l.facetPathsForIndexFields;
6735
+ return delete p[u], {
6622
6736
  facetPathsForIndexFields: {
6623
- ...m
6737
+ ...p
6624
6738
  },
6625
6739
  searchResultsPage: 1
6626
6740
  // Reset to page 1 when filters change
@@ -6628,17 +6742,17 @@ const ra = {
6628
6742
  });
6629
6743
  },
6630
6744
  removeRangeValueForIndexField: (u) => a((l) => {
6631
- const m = l.rangeValueForIndexFields;
6632
- return delete m[u], {
6745
+ const p = l.rangeValueForIndexFields;
6746
+ return delete p[u], {
6633
6747
  rangeValueForIndexFields: {
6634
- ...m
6748
+ ...p
6635
6749
  }
6636
6750
  };
6637
6751
  }),
6638
6752
  resetSearchValues: () => {
6639
- var l, m;
6753
+ var l, p;
6640
6754
  const u = o();
6641
- (m = (l = u.core) == null ? void 0 : l.searchClient) == null || m.abortRequests(), a({
6755
+ (p = (l = u.core) == null ? void 0 : l.searchClient) == null || p.abortRequests(), a({
6642
6756
  searchTerm: "",
6643
6757
  searchResultsPage: 1,
6644
6758
  searchClientResponseItems: [...u.cachedSearchClientResponseItems],
@@ -6646,14 +6760,14 @@ const ra = {
6646
6760
  });
6647
6761
  },
6648
6762
  search: async (u) => {
6649
- var z, D, P;
6763
+ var H, D, P;
6650
6764
  const l = o();
6651
6765
  if (!l.core)
6652
6766
  throw new Error("Searchcraft instance is not initialized.");
6653
- l.core.config.cortexURL && !(u != null && u.skipSummary) && ((z = l.summaryClient) == null || z.streamSummaryData());
6654
- const m = typeof l.cachedSearchClientRequestProperties == "string" && l.searchTerm.trim() === "", C = Object.keys(l.facetPathsForIndexFields).length > 0 || Object.keys(l.rangeValueForIndexFields).length > 0, E = l.searchResultsPage !== 1, _ = l.searchMode !== "fuzzy";
6767
+ l.core.config.cortexURL && !(u != null && u.skipSummary) && ((H = l.summaryClient) == null || H.streamSummaryData());
6768
+ const p = typeof l.cachedSearchClientRequestProperties == "string" && l.searchTerm.trim() === "", C = Object.keys(l.facetPathsForIndexFields).length > 0 || Object.keys(l.rangeValueForIndexFields).length > 0, E = l.searchResultsPage !== 1, _ = l.searchMode !== "fuzzy";
6655
6769
  if (!l.searchTerm.trim()) {
6656
- if (m && (C || E || _)) {
6770
+ if (p && (C || E || _)) {
6657
6771
  const M = JSON.parse(l.cachedSearchClientRequestProperties);
6658
6772
  a({ isSearchInProgress: !0 });
6659
6773
  const Y = [...Array.isArray(M.query) ? M.query.filter((Se) => !Se.occur) : [M.query]];
@@ -6719,15 +6833,18 @@ const ra = {
6719
6833
  shouldCacheResultsForEmptyState: !1
6720
6834
  });
6721
6835
  },
6836
+ setFilterPanelVisibility: (u) => a({
6837
+ isFilterPanelVisible: u
6838
+ }),
6722
6839
  setPopoverVisibility: (u) => a({
6723
6840
  isPopoverVisible: u
6724
6841
  }),
6725
6842
  setSearchMode: (u) => a({ searchMode: u }),
6726
6843
  setSortOrder: ({ orderByField: u, sortType: l }) => a({ sortType: l, orderByField: u }),
6727
6844
  setSearchTerm: (u) => {
6728
- var m;
6845
+ var p;
6729
6846
  const l = o();
6730
- u.length === 0 && ((m = l.core) == null || m.handleInputCleared()), a({
6847
+ u.length === 0 && ((p = l.core) == null || p.handleInputCleared()), a({
6731
6848
  searchTerm: u,
6732
6849
  searchResultsPage: 1,
6733
6850
  ...u.trim().length === 0 && {
@@ -6754,9 +6871,9 @@ const ra = {
6754
6871
  a({ searchResultsPerPage: u }), await n.search({ skipSummary: !0 });
6755
6872
  },
6756
6873
  setHotKeyAndHotKeyModifier: (u, l) => {
6757
- const { hotkey: m, hotkeyModifier: C } = ra;
6874
+ const { hotkey: p, hotkeyModifier: C } = ra;
6758
6875
  a({
6759
- hotkey: u || m,
6876
+ hotkey: u || p,
6760
6877
  hotkeyModifier: l || C
6761
6878
  });
6762
6879
  }
@@ -6816,17 +6933,17 @@ class Yi {
6816
6933
  const { facetPathsForIndexFields: u, ...l } = t.requestProperties;
6817
6934
  try {
6818
6935
  o = await ((n = this == null ? void 0 : this.searchClient) == null ? void 0 : n.getSearchResponseItems(l, !0));
6819
- } catch (m) {
6820
- fr.info(`Search request error: ${m}`);
6936
+ } catch (p) {
6937
+ fr.info(`Search request error: ${p}`);
6821
6938
  return;
6822
6939
  }
6823
6940
  }
6824
6941
  } else if (typeof t.requestProperties == "string") {
6825
6942
  const u = JSON.parse(t.requestProperties), l = Array.isArray(u.query) ? u.query : [u.query];
6826
6943
  if (l.length > 1) {
6827
- const m = l.filter((E) => E.occur !== "must"), C = {
6944
+ const p = l.filter((E) => E.occur !== "must"), C = {
6828
6945
  ...u,
6829
- query: m.length > 0 ? m : l.slice(0, 1)
6946
+ query: p.length > 0 ? p : l.slice(0, 1)
6830
6947
  };
6831
6948
  try {
6832
6949
  o = await ((h = this == null ? void 0 : this.searchClient) == null ? void 0 : h.getSearchResponseItems(JSON.stringify(C), !0));
@@ -6942,7 +7059,7 @@ class Yi {
6942
7059
  }), (t = this.adClient) == null || t.onInputCleared();
6943
7060
  }
6944
7061
  }
6945
- const Qi = "@searchcraft/react-sdk", Ki = "0.12.1";
7062
+ const Qi = "@searchcraft/react-sdk", Ki = "0.13.0";
6946
7063
  async function Fe(r, t) {
6947
7064
  const e = Object.entries(t).map(([o, n]) => typeof n == "boolean" ? n ? o : "" : `${o}="${String(n)}"`).filter(Boolean).join(" "), s = `<${r} ${e}></${r}>`, a = await tn(s, {
6948
7065
  fullDocument: !1,