@searchcraft/vue-sdk 0.15.0 → 0.15.1
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.
- package/dist/index.es.js +492 -492
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +18 -18
- package/dist/index.umd.js.map +1 -1
- package/dist/themes/hologram.css +1 -1
- package/dist/themes/hologram.css.map +1 -1
- package/package.json +3 -3
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var ro = Object.defineProperty;
|
|
2
2
|
var so = (s, e, t) => e in s ? ro(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
|
|
3
|
-
var
|
|
3
|
+
var f = (s, e, t) => so(s, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import { defineComponent as sn, ref as ao, onMounted as no, getCurrentInstance as oo, inject as io, h as an } from "vue";
|
|
5
5
|
const co = "searchcraft-javascript-sdk", vt = (
|
|
6
6
|
/* searchcraft-javascript-sdk */
|
|
@@ -60,7 +60,7 @@ var et = (s) => {
|
|
|
60
60
|
ce: (s, e) => new CustomEvent(s, e)
|
|
61
61
|
}, ko = vt.shadowDom, So = (s) => Promise.resolve(s), xs = !1, ha = [], cn = [], xo = (s, e) => (t) => {
|
|
62
62
|
s.push(t), xs || (xs = !0, X.$flags$ & 4 ? Bs(Cs) : X.raf(Cs));
|
|
63
|
-
},
|
|
63
|
+
}, fa = (s) => {
|
|
64
64
|
for (let e = 0; e < s.length; e++)
|
|
65
65
|
try {
|
|
66
66
|
s[e](performance.now());
|
|
@@ -69,7 +69,7 @@ var et = (s) => {
|
|
|
69
69
|
}
|
|
70
70
|
s.length = 0;
|
|
71
71
|
}, Cs = () => {
|
|
72
|
-
|
|
72
|
+
fa(ha), fa(cn), (xs = ha.length > 0) && X.raf(Cs);
|
|
73
73
|
}, Bs = (s) => So().then(s), Co = /* @__PURE__ */ xo(cn), Hs = (s) => (s = typeof s, s === "object" || s === "function"), Ro = (s) => s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), To = class gt {
|
|
74
74
|
/**
|
|
75
75
|
* Deserializes a LocalValue serialized object back to its original JavaScript representation
|
|
@@ -214,7 +214,7 @@ var Mo = (s, e, t = !0) => {
|
|
|
214
214
|
for (; a = a.nextSibling; )
|
|
215
215
|
qs(a) === e && (t || !a["s-sr"]) && r.push(a);
|
|
216
216
|
return r;
|
|
217
|
-
},
|
|
217
|
+
}, da = (s, e) => s.nodeType === 1 ? s.getAttribute("slot") === null && e === "" || s.getAttribute("slot") === e : s["s-sn"] === e ? !0 : e === "", Lo = (s, e, t, r) => {
|
|
218
218
|
if (s["s-ol"] && s["s-ol"].isConnected)
|
|
219
219
|
return;
|
|
220
220
|
const a = document.createTextNode("");
|
|
@@ -230,7 +230,7 @@ var Mo = (s, e, t = !0) => {
|
|
|
230
230
|
o.call(n, a);
|
|
231
231
|
s["s-ol"] = a, s["s-sh"] = e["s-hn"];
|
|
232
232
|
}, qs = (s) => typeof s["s-sn"] == "string" ? s["s-sn"] : s.nodeType === 1 && s.getAttribute("slot") || void 0;
|
|
233
|
-
function
|
|
233
|
+
function fn(s) {
|
|
234
234
|
if (s.assignedElements || s.assignedNodes || !s["s-sr"]) return;
|
|
235
235
|
const e = (t) => (function(r) {
|
|
236
236
|
const a = [], n = this["s-sn"];
|
|
@@ -257,7 +257,7 @@ function _r(s, e) {
|
|
|
257
257
|
return typeof s[e] != "function" ? s[e] : s[e].bind(s);
|
|
258
258
|
}
|
|
259
259
|
var Ct = (s, e = "") => () => {
|
|
260
|
-
}, br = /* @__PURE__ */ new WeakMap(), Oo = (s, e) => "sc-" + s.$tagName$,
|
|
260
|
+
}, br = /* @__PURE__ */ new WeakMap(), Oo = (s, e) => "sc-" + s.$tagName$, d = (s, e, ...t) => {
|
|
261
261
|
typeof s == "string" && (s = s);
|
|
262
262
|
let r = null, a = null, n = null, o = !1, c = !1;
|
|
263
263
|
const u = [], i = (g) => {
|
|
@@ -301,7 +301,7 @@ var Ct = (s, e = "") => () => {
|
|
|
301
301
|
}), zo = (s) => {
|
|
302
302
|
if (typeof s.vtag == "function") {
|
|
303
303
|
const t = { ...s.vattrs };
|
|
304
|
-
return s.vkey && (t.key = s.vkey), s.vname && (t.name = s.vname),
|
|
304
|
+
return s.vkey && (t.key = s.vkey), s.vname && (t.name = s.vname), d(s.vtag, t, ...s.vchildren || []);
|
|
305
305
|
}
|
|
306
306
|
const e = Rt(s.vtag, s.vtext);
|
|
307
307
|
return e.$attrs$ = s.vattrs, e.$children$ = s.vchildren, e.$key$ = s.vkey, e.$name$ = s.vname, e;
|
|
@@ -484,7 +484,7 @@ function ga(s, e, t, r, a, n, o, c, u) {
|
|
|
484
484
|
const i = a != null && a.$elm$ ? a.$elm$["s-id"] || a.$elm$.getAttribute("s-id") : "";
|
|
485
485
|
{
|
|
486
486
|
const h = t.$elm$, g = i && i !== t.$hostId$ && a.$elm$.shadowRoot;
|
|
487
|
-
Bo(u, e, s, r, g ? i : t.$hostId$),
|
|
487
|
+
Bo(u, e, s, r, g ? i : t.$hostId$), fn(r), g && a.$elm$.insertBefore(h, a.$elm$.children[0]);
|
|
488
488
|
}
|
|
489
489
|
n.push(t), o.push(t), a.$children$ || (a.$children$ = []), a.$children$[t.$index$] = t;
|
|
490
490
|
}
|
|
@@ -513,7 +513,7 @@ var Bo = (s, e, t, r, a) => {
|
|
|
513
513
|
Ws("::slotted");
|
|
514
514
|
Ws(":host");
|
|
515
515
|
Ws(":host-context");
|
|
516
|
-
var
|
|
516
|
+
var dn = (s, e, t) => typeof s == "string" && s.startsWith(ks) ? (s = _o(s), s) : s != null && !Hs(s) ? e & 4 ? s === "false" ? !1 : s === "" || !!s : e & 2 ? typeof s == "string" ? parseFloat(s) : typeof s == "number" ? s : NaN : e & 1 ? String(s) : s : s, Ho = (s) => s, Ze = (s, e, t) => {
|
|
517
517
|
const r = Ho(s);
|
|
518
518
|
return {
|
|
519
519
|
emit: (a) => pn(r, e, {
|
|
@@ -628,25 +628,25 @@ var $s, Vs, Ps = !1, Ir = !1, js = !1, pe = !1, Mr = (s, e, t) => {
|
|
|
628
628
|
c = Mr(s, a, n), c && o.appendChild(c);
|
|
629
629
|
a.$tag$ === "svg" ? pe = !1 : o.tagName === "foreignObject" && (pe = !0);
|
|
630
630
|
}
|
|
631
|
-
return o["s-hn"] = Vs, a.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = $s, o["s-sn"] = a.$name$ || "", o["s-rf"] = (r = a.$attrs$) == null ? void 0 : r.ref,
|
|
632
|
-
},
|
|
631
|
+
return o["s-hn"] = Vs, a.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = $s, o["s-sn"] = a.$name$ || "", o["s-rf"] = (r = a.$attrs$) == null ? void 0 : r.ref, fn(o), u = s && s.$children$ && s.$children$[t], u && u.$tag$ === a.$tag$ && s.$elm$ && fr(s.$elm$, !1)), o;
|
|
632
|
+
}, fr = (s, e) => {
|
|
633
633
|
X.$flags$ |= 1;
|
|
634
634
|
const t = Array.from(s.__childNodes || s.childNodes);
|
|
635
635
|
for (let r = t.length - 1; r >= 0; r--) {
|
|
636
636
|
const a = t[r];
|
|
637
|
-
a["s-hn"] !== Vs && a["s-ol"] && (Je(
|
|
637
|
+
a["s-hn"] !== Vs && a["s-ol"] && (Je(dr(a).parentNode, a, dr(a)), a["s-ol"].remove(), a["s-ol"] = void 0, a["s-sh"] = void 0, js = !0), e && fr(a, e);
|
|
638
638
|
}
|
|
639
639
|
X.$flags$ &= -2;
|
|
640
640
|
}, gn = (s, e, t, r, a, n) => {
|
|
641
641
|
let o = s["s-cr"] && s["s-cr"].parentNode || s, c;
|
|
642
642
|
for (; a <= n; ++a)
|
|
643
|
-
r[a] && (c = Mr(null, t, a), c && (r[a].$elm$ = c, Je(o, c,
|
|
643
|
+
r[a] && (c = Mr(null, t, a), c && (r[a].$elm$ = c, Je(o, c, dr(e))));
|
|
644
644
|
}, bn = (s, e, t) => {
|
|
645
645
|
for (let r = e; r <= t; ++r) {
|
|
646
646
|
const a = s[r];
|
|
647
647
|
if (a) {
|
|
648
648
|
const n = a.$elm$;
|
|
649
|
-
yn(a), n && (Ir = !0, n["s-ol"] ? n["s-ol"].remove() :
|
|
649
|
+
yn(a), n && (Ir = !0, n["s-ol"] ? n["s-ol"].remove() : fr(n, !0), n.remove());
|
|
650
650
|
}
|
|
651
651
|
}
|
|
652
652
|
}, Vo = (s, e, t, r, a = !1) => {
|
|
@@ -665,9 +665,9 @@ var $s, Vs, Ps = !1, Ir = !1, js = !1, pe = !1, Mr = (s, e, t) => {
|
|
|
665
665
|
else if (vr(g, w, a))
|
|
666
666
|
St(g, w, a), g = e[--i], w = r[--p];
|
|
667
667
|
else if (vr(h, w, a))
|
|
668
|
-
(h.$tag$ === "slot" || w.$tag$ === "slot") &&
|
|
668
|
+
(h.$tag$ === "slot" || w.$tag$ === "slot") && fr(h.$elm$.parentNode, !1), St(h, w, a), Je(s, h.$elm$, g.$elm$.nextSibling), h = e[++n], w = r[--p];
|
|
669
669
|
else if (vr(g, y, a))
|
|
670
|
-
(h.$tag$ === "slot" || w.$tag$ === "slot") &&
|
|
670
|
+
(h.$tag$ === "slot" || w.$tag$ === "slot") && fr(g.$elm$.parentNode, !1), St(g, y, a), Je(s, g.$elm$, h.$elm$), g = e[--i], y = r[++o];
|
|
671
671
|
else {
|
|
672
672
|
for (c = -1, u = n; u <= i; ++u)
|
|
673
673
|
if (e[u] && e[u].$key$ !== null && e[u].$key$ === y.$key$) {
|
|
@@ -675,9 +675,9 @@ var $s, Vs, Ps = !1, Ir = !1, js = !1, pe = !1, Mr = (s, e, t) => {
|
|
|
675
675
|
break;
|
|
676
676
|
}
|
|
677
677
|
c >= 0 ? (C = e[c], C.$tag$ !== y.$tag$ ? S = Mr(e && e[o], t, c) : (St(C, y, a), e[c] = void 0, S = C.$elm$), y = r[++o]) : (S = Mr(e && e[o], t, o), y = r[++o]), S && Je(
|
|
678
|
-
|
|
678
|
+
dr(h.$elm$).parentNode,
|
|
679
679
|
S,
|
|
680
|
-
|
|
680
|
+
dr(h.$elm$)
|
|
681
681
|
);
|
|
682
682
|
}
|
|
683
683
|
n > i ? gn(
|
|
@@ -688,7 +688,7 @@ var $s, Vs, Ps = !1, Ir = !1, js = !1, pe = !1, Mr = (s, e, t) => {
|
|
|
688
688
|
o,
|
|
689
689
|
p
|
|
690
690
|
) : o > p && bn(e, n, i);
|
|
691
|
-
}, vr = (s, e, t = !1) => s.$tag$ === e.$tag$ ? s.$tag$ === "slot" ? s.$name$ === e.$name$ : t ? (t && !s.$key$ && e.$key$ && (s.$key$ = e.$key$), !0) : s.$key$ === e.$key$ : !1,
|
|
691
|
+
}, vr = (s, e, t = !1) => s.$tag$ === e.$tag$ ? s.$tag$ === "slot" ? s.$name$ === e.$name$ : t ? (t && !s.$key$ && e.$key$ && (s.$key$ = e.$key$), !0) : s.$key$ === e.$key$ : !1, dr = (s) => s && s["s-ol"] || s, St = (s, e, t = !1) => {
|
|
692
692
|
const r = e.$elm$ = s.$elm$, a = s.$children$, n = e.$children$, o = e.$tag$, c = e.$text$;
|
|
693
693
|
let u;
|
|
694
694
|
c === null ? (pe = o === "svg" ? !0 : o === "foreignObject" ? !1 : pe, As(s, e, pe, t), a !== null && n !== null ? Vo(r, a, e, n, t) : n !== null ? (s.$text$ !== null && (r.textContent = ""), gn(r, null, e, n, 0, n.length - 1)) : /* don't do this on initial render as it can cause non-hydrated content to be removed */ !t && vt.updatable && a !== null ? bn(a, 0, a.length - 1) : t && vt.updatable && a !== null && n === null && (e.$children$ = a), pe && o === "svg" && (pe = !1)) : (u = r["s-cr"]) ? u.parentNode.textContent = c : s.$text$ !== c && (r.data = c);
|
|
@@ -701,13 +701,13 @@ var $s, Vs, Ps = !1, Ir = !1, js = !1, pe = !1, Mr = (s, e, t) => {
|
|
|
701
701
|
const o = n["s-sn"];
|
|
702
702
|
for (r = t.length - 1; r >= 0; r--)
|
|
703
703
|
if (e = t[r], !e["s-cn"] && !e["s-nr"] && e["s-hn"] !== n["s-hn"])
|
|
704
|
-
if (
|
|
704
|
+
if (da(e, o)) {
|
|
705
705
|
let c = Ve.find((u) => u.$nodeToRelocate$ === e);
|
|
706
706
|
Ir = !0, e["s-sn"] = e["s-sn"] || o, c ? (c.$nodeToRelocate$["s-sh"] = n["s-hn"], c.$slotRefNode$ = n) : (e["s-sh"] = n["s-hn"], Ve.push({
|
|
707
707
|
$slotRefNode$: n,
|
|
708
708
|
$nodeToRelocate$: e
|
|
709
709
|
})), e["s-sr"] && Ve.map((u) => {
|
|
710
|
-
|
|
710
|
+
da(u.$nodeToRelocate$, e["s-sn"]) && (c = Ve.find((i) => i.$nodeToRelocate$ === e), c && !u.$slotRefNode$ && (u.$slotRefNode$ = c.$slotRefNode$));
|
|
711
711
|
});
|
|
712
712
|
} else Ve.some((c) => c.$nodeToRelocate$ === e) || Ve.push({
|
|
713
713
|
$nodeToRelocate$: e
|
|
@@ -719,7 +719,7 @@ var $s, Vs, Ps = !1, Ir = !1, js = !1, pe = !1, Mr = (s, e, t) => {
|
|
|
719
719
|
s.$attrs$ && s.$attrs$.ref && s.$attrs$.ref(null), s.$children$ && s.$children$.map(yn);
|
|
720
720
|
}, Je = (s, e, t) => s == null ? void 0 : s.insertBefore(e, t), jo = (s, e, t = !1) => {
|
|
721
721
|
var r, a, n, o;
|
|
722
|
-
const c = s.$hostElement$, u = s.$vnode$ || Rt(null, null), h = Do(e) ? e :
|
|
722
|
+
const c = s.$hostElement$, u = s.$vnode$ || Rt(null, null), h = Do(e) ? e : d(null, null, e);
|
|
723
723
|
if (Vs = c.tagName, t && h.$attrs$)
|
|
724
724
|
for (const g of Object.keys(h.$attrs$))
|
|
725
725
|
c.hasAttribute(g) && !["key", "ref", "style", "class"].includes(g) && (h.$attrs$[g] = c[g]);
|
|
@@ -833,7 +833,7 @@ var $s, Vs, Ps = !1, Ir = !1, js = !1, pe = !1, Mr = (s, e, t) => {
|
|
|
833
833
|
if (!a)
|
|
834
834
|
return;
|
|
835
835
|
const n = s, o = a.$instanceValues$.get(e), c = a.$flags$, u = n;
|
|
836
|
-
t =
|
|
836
|
+
t = dn(
|
|
837
837
|
t,
|
|
838
838
|
r.$members$[e][0]
|
|
839
839
|
);
|
|
@@ -879,7 +879,7 @@ var $s, Vs, Ps = !1, Ir = !1, js = !1, pe = !1, Mr = (s, e, t) => {
|
|
|
879
879
|
if (p) {
|
|
880
880
|
if (h) {
|
|
881
881
|
typeof (u & 32 ? this[c] : p.$hostElement$[c]) > "u" && p.$instanceValues$.get(c) && (g = p.$instanceValues$.get(c)), h.apply(this, [
|
|
882
|
-
|
|
882
|
+
dn(
|
|
883
883
|
g,
|
|
884
884
|
u
|
|
885
885
|
)
|
|
@@ -1061,8 +1061,8 @@ var ui = li(), ge = /* @__PURE__ */ ci(ui);
|
|
|
1061
1061
|
const _s = "searchcraft";
|
|
1062
1062
|
class hi {
|
|
1063
1063
|
constructor() {
|
|
1064
|
-
|
|
1065
|
-
|
|
1064
|
+
f(this, "coreInstances", {});
|
|
1065
|
+
f(this, "subscriptions", {});
|
|
1066
1066
|
}
|
|
1067
1067
|
/**
|
|
1068
1068
|
* Adds a SearchcraftCore instance to the Registry.
|
|
@@ -1099,8 +1099,8 @@ const ee = new hi();
|
|
|
1099
1099
|
const {
|
|
1100
1100
|
entries: kn,
|
|
1101
1101
|
setPrototypeOf: Ca,
|
|
1102
|
-
isFrozen:
|
|
1103
|
-
getPrototypeOf:
|
|
1102
|
+
isFrozen: fi,
|
|
1103
|
+
getPrototypeOf: di,
|
|
1104
1104
|
getOwnPropertyDescriptor: pi
|
|
1105
1105
|
} = Object;
|
|
1106
1106
|
let {
|
|
@@ -1151,7 +1151,7 @@ function M(s, e) {
|
|
|
1151
1151
|
let a = e[r];
|
|
1152
1152
|
if (typeof a == "string") {
|
|
1153
1153
|
const n = t(a);
|
|
1154
|
-
n !== a && (
|
|
1154
|
+
n !== a && (fi(e) || (e[r] = n), a = n);
|
|
1155
1155
|
}
|
|
1156
1156
|
s[a] = !0;
|
|
1157
1157
|
}
|
|
@@ -1177,7 +1177,7 @@ function Jt(s, e) {
|
|
|
1177
1177
|
if (typeof r.value == "function")
|
|
1178
1178
|
return he(r.value);
|
|
1179
1179
|
}
|
|
1180
|
-
s =
|
|
1180
|
+
s = di(s);
|
|
1181
1181
|
}
|
|
1182
1182
|
function t() {
|
|
1183
1183
|
return null;
|
|
@@ -1346,7 +1346,7 @@ function Cn() {
|
|
|
1346
1346
|
let _ = null, Se = null;
|
|
1347
1347
|
const Jr = t.createElement("form"), Nt = function(l) {
|
|
1348
1348
|
return l instanceof RegExp || l instanceof Function;
|
|
1349
|
-
},
|
|
1349
|
+
}, ft = function() {
|
|
1350
1350
|
let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1351
1351
|
if (!(Se && Se === l)) {
|
|
1352
1352
|
if ((!l || typeof l != "object") && (l = {}), l = Oe(l), $e = // eslint-disable-next-line unicorn/prefer-includes
|
|
@@ -1432,7 +1432,7 @@ function Cn() {
|
|
|
1432
1432
|
i.SHOW_ELEMENT | i.SHOW_COMMENT | i.SHOW_TEXT | i.SHOW_PROCESSING_INSTRUCTION | i.SHOW_CDATA_SECTION,
|
|
1433
1433
|
null
|
|
1434
1434
|
);
|
|
1435
|
-
},
|
|
1435
|
+
}, dt = function(l) {
|
|
1436
1436
|
return l instanceof g && (typeof l.nodeName != "string" || typeof l.textContent != "string" || typeof l.removeChild != "function" || !(l.attributes instanceof h) || typeof l.removeAttribute != "function" || typeof l.setAttribute != "function" || typeof l.namespaceURI != "string" || typeof l.insertBefore != "function" || typeof l.hasChildNodes != "function");
|
|
1437
1437
|
}, qt = function(l) {
|
|
1438
1438
|
return typeof c == "function" && l instanceof c;
|
|
@@ -1444,7 +1444,7 @@ function Cn() {
|
|
|
1444
1444
|
}
|
|
1445
1445
|
const Wt = function(l) {
|
|
1446
1446
|
let m = null;
|
|
1447
|
-
if (Z(U.beforeSanitizeElements, l, null),
|
|
1447
|
+
if (Z(U.beforeSanitizeElements, l, null), dt(l))
|
|
1448
1448
|
return Q(l), !0;
|
|
1449
1449
|
const b = _(l.nodeName);
|
|
1450
1450
|
if (Z(U.uponSanitizeElement, l, {
|
|
@@ -1508,7 +1508,7 @@ function Cn() {
|
|
|
1508
1508
|
const {
|
|
1509
1509
|
attributes: m
|
|
1510
1510
|
} = l;
|
|
1511
|
-
if (!m ||
|
|
1511
|
+
if (!m || dt(l))
|
|
1512
1512
|
return;
|
|
1513
1513
|
const b = {
|
|
1514
1514
|
attrName: "",
|
|
@@ -1564,7 +1564,7 @@ function Cn() {
|
|
|
1564
1564
|
}
|
|
1565
1565
|
if (N !== pt)
|
|
1566
1566
|
try {
|
|
1567
|
-
q ? l.setAttributeNS(q, P, N) : l.setAttribute(P, N),
|
|
1567
|
+
q ? l.setAttributeNS(q, P, N) : l.setAttribute(P, N), dt(l) ? Q(l) : Ra(e.removed);
|
|
1568
1568
|
} catch {
|
|
1569
1569
|
ne(P, l);
|
|
1570
1570
|
}
|
|
@@ -1587,7 +1587,7 @@ function Cn() {
|
|
|
1587
1587
|
throw Zt("toString is not a function");
|
|
1588
1588
|
if (!e.isSupported)
|
|
1589
1589
|
return v;
|
|
1590
|
-
if (nt ||
|
|
1590
|
+
if (nt || ft(l), e.removed = [], typeof v == "string" && (Ae = !1), Ae) {
|
|
1591
1591
|
if (v.nodeName) {
|
|
1592
1592
|
const J = _(v.nodeName);
|
|
1593
1593
|
if (!O[J] || Ee[J])
|
|
@@ -1623,11 +1623,11 @@ function Cn() {
|
|
|
1623
1623
|
}), x && Ue ? x.createHTML(q) : q;
|
|
1624
1624
|
}, e.setConfig = function() {
|
|
1625
1625
|
let v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1626
|
-
|
|
1626
|
+
ft(v), nt = !0;
|
|
1627
1627
|
}, e.clearConfig = function() {
|
|
1628
1628
|
Se = null, nt = !1;
|
|
1629
1629
|
}, e.isValidAttribute = function(v, l, m) {
|
|
1630
|
-
Se ||
|
|
1630
|
+
Se || ft({});
|
|
1631
1631
|
const b = _(v), A = _(l);
|
|
1632
1632
|
return Vt(b, A, m);
|
|
1633
1633
|
}, e.addHook = function(v, l) {
|
|
@@ -1663,26 +1663,26 @@ const Li = /* @__PURE__ */ G(class extends j {
|
|
|
1663
1663
|
/**
|
|
1664
1664
|
* The id of the Searchcraft instance that this component should use.
|
|
1665
1665
|
*/
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1666
|
+
f(this, "searchcraftId");
|
|
1667
|
+
f(this, "adSource", "Custom");
|
|
1668
|
+
f(this, "adClientResponseItem");
|
|
1669
1669
|
/**
|
|
1670
1670
|
* Where the ad is being rendered within the search results div.
|
|
1671
1671
|
* Lifecycle behavior differs for ads being rendered in different positions,
|
|
1672
1672
|
* so we need to be able to handle all of those cases.
|
|
1673
1673
|
*/
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1674
|
+
f(this, "renderPosition", "interstitial");
|
|
1675
|
+
f(this, "searchTerm");
|
|
1676
|
+
f(this, "isSearchInProgress", !1);
|
|
1677
|
+
f(this, "searchResultCount", 0);
|
|
1678
|
+
f(this, "core");
|
|
1679
|
+
f(this, "intersectionObserver");
|
|
1680
|
+
f(this, "storeUnsubscribe");
|
|
1681
|
+
f(this, "cleanupCore");
|
|
1682
|
+
f(this, "adContainerRenderedTimeout");
|
|
1683
|
+
f(this, "isComponentConnected", !1);
|
|
1684
|
+
f(this, "timeTaken");
|
|
1685
|
+
f(this, "adContainerId", "");
|
|
1686
1686
|
t !== !1 && this.__registerHost();
|
|
1687
1687
|
}
|
|
1688
1688
|
get hostElement() {
|
|
@@ -1748,7 +1748,7 @@ const Li = /* @__PURE__ */ G(class extends j {
|
|
|
1748
1748
|
let r = "<p>Ad Marketplace Ad Placeholder</p>";
|
|
1749
1749
|
return (o = (n = (a = this.core) == null ? void 0 : a.config) == null ? void 0 : n.admAdConfig) != null && o.template && (r = (u = (c = this.core) == null ? void 0 : c.config) == null ? void 0 : u.admAdConfig.template(t.admAd, {
|
|
1750
1750
|
html: pr
|
|
1751
|
-
})),
|
|
1751
|
+
})), d("div", { class: "searchcraft-ad searchcraft-adm-ad", "data-searchcraft-ad-container-id": this.adContainerId, id: `searchcraft-adm-ad-${this.adContainerId}`, innerHTML: r });
|
|
1752
1752
|
}
|
|
1753
1753
|
renderCustomAd() {
|
|
1754
1754
|
var n, o, c;
|
|
@@ -1757,12 +1757,12 @@ const Li = /* @__PURE__ */ G(class extends j {
|
|
|
1757
1757
|
return t && (a = t({
|
|
1758
1758
|
searchTerm: this.searchTerm || "",
|
|
1759
1759
|
adContainerId: this.adContainerId
|
|
1760
|
-
}, { html: pr })),
|
|
1760
|
+
}, { html: pr })), d("div", { class: "searchcraft-ad searchcraft-custom-ad", id: r, "data-searchcraft-ad-container-id": this.adContainerId, innerHTML: a });
|
|
1761
1761
|
}
|
|
1762
1762
|
renderNativoAd() {
|
|
1763
1763
|
var r, a;
|
|
1764
1764
|
const t = ((a = (r = this.core) == null ? void 0 : r.config.nativoConfig) == null ? void 0 : a.adClassName) || "ntv-item";
|
|
1765
|
-
return
|
|
1765
|
+
return d("div", { id: `searchcraft-native-ad-${this.adContainerId}`, class: ge("searchcraft-ad", t), "data-searchcraft-ad-container-id": this.adContainerId });
|
|
1766
1766
|
}
|
|
1767
1767
|
render() {
|
|
1768
1768
|
if (this.searchResultCount !== 0)
|
|
@@ -1905,14 +1905,14 @@ const {
|
|
|
1905
1905
|
getOwnPropertyDescriptor: Ui
|
|
1906
1906
|
} = Object;
|
|
1907
1907
|
let {
|
|
1908
|
-
freeze:
|
|
1908
|
+
freeze: fe,
|
|
1909
1909
|
seal: Te,
|
|
1910
1910
|
create: Os
|
|
1911
1911
|
} = Object, {
|
|
1912
1912
|
apply: Fs,
|
|
1913
1913
|
construct: Ds
|
|
1914
1914
|
} = typeof Reflect < "u" && Reflect;
|
|
1915
|
-
|
|
1915
|
+
fe || (fe = function(e) {
|
|
1916
1916
|
return e;
|
|
1917
1917
|
});
|
|
1918
1918
|
Te || (Te = function(e) {
|
|
@@ -1928,8 +1928,8 @@ Ds || (Ds = function(e) {
|
|
|
1928
1928
|
r[a - 1] = arguments[a];
|
|
1929
1929
|
return new e(...r);
|
|
1930
1930
|
});
|
|
1931
|
-
const kr =
|
|
1932
|
-
function
|
|
1931
|
+
const kr = de(Array.prototype.forEach), Bi = de(Array.prototype.lastIndexOf), La = de(Array.prototype.pop), rr = de(Array.prototype.push), Hi = de(Array.prototype.splice), $r = de(String.prototype.toLowerCase), fs = de(String.prototype.toString), ds = de(String.prototype.match), sr = de(String.prototype.replace), qi = de(String.prototype.indexOf), Wi = de(String.prototype.trim), _e = de(Object.prototype.hasOwnProperty), ie = de(RegExp.prototype.test), ar = Vi(TypeError);
|
|
1932
|
+
function de(s) {
|
|
1933
1933
|
return function(e) {
|
|
1934
1934
|
e instanceof RegExp && (e.lastIndex = 0);
|
|
1935
1935
|
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
@@ -1974,9 +1974,9 @@ function nr(s, e) {
|
|
|
1974
1974
|
const r = Ui(s, e);
|
|
1975
1975
|
if (r) {
|
|
1976
1976
|
if (r.get)
|
|
1977
|
-
return
|
|
1977
|
+
return de(r.get);
|
|
1978
1978
|
if (typeof r.value == "function")
|
|
1979
|
-
return
|
|
1979
|
+
return de(r.value);
|
|
1980
1980
|
}
|
|
1981
1981
|
s = zi(s);
|
|
1982
1982
|
}
|
|
@@ -1985,7 +1985,7 @@ function nr(s, e) {
|
|
|
1985
1985
|
}
|
|
1986
1986
|
return t;
|
|
1987
1987
|
}
|
|
1988
|
-
const Oa =
|
|
1988
|
+
const Oa = fe(["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", "search", "section", "select", "shadow", "slot", "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"]), ps = fe(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), ms = fe(["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"]), Gi = fe(["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"]), gs = fe(["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"]), Yi = fe(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Fa = fe(["#text"]), Da = fe(["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", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "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", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), bs = fe(["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", "mask-type", "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"]), Na = fe(["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"]), Sr = fe(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Qi = Te(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Xi = Te(/<%[\w\W]*|[\w\W]*%>/gm), Ki = Te(/\$\{[\w\W]*/gm), Zi = Te(/^data-[\-\w.\u00B7-\uFFFF]+$/), Ji = Te(/^aria-[\-\w]+$/), En = Te(
|
|
1989
1989
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
1990
1990
|
// eslint-disable-line no-useless-escape
|
|
1991
1991
|
), ec = Te(/^(?:\w+script|data):/i), tc = Te(
|
|
@@ -2139,7 +2139,7 @@ function $n() {
|
|
|
2139
2139
|
let lt = null;
|
|
2140
2140
|
const Dt = L({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Be = "http://www.w3.org/1998/Math/MathML", He = "http://www.w3.org/2000/svg", K = "http://www.w3.org/1999/xhtml";
|
|
2141
2141
|
let ke = K, ut = !1, ht = null;
|
|
2142
|
-
const Qr = L({}, [Be, He, K],
|
|
2142
|
+
const Qr = L({}, [Be, He, K], fs);
|
|
2143
2143
|
let qe = L({}, ["mi", "mo", "mn", "ms", "mtext"]), We = L({}, ["annotation-xml"]);
|
|
2144
2144
|
const Xr = L({}, ["title", "style", "font", "a", "script"]);
|
|
2145
2145
|
let $e = null;
|
|
@@ -2147,11 +2147,11 @@ function $n() {
|
|
|
2147
2147
|
let _ = null, Se = null;
|
|
2148
2148
|
const Jr = t.createElement("form"), Nt = function(l) {
|
|
2149
2149
|
return l instanceof RegExp || l instanceof Function;
|
|
2150
|
-
},
|
|
2150
|
+
}, ft = function() {
|
|
2151
2151
|
let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2152
2152
|
if (!(Se && Se === l)) {
|
|
2153
2153
|
if ((!l || typeof l != "object") && (l = {}), l = Fe(l), $e = // eslint-disable-next-line unicorn/prefer-includes
|
|
2154
|
-
Kr.indexOf(l.PARSER_MEDIA_TYPE) === -1 ? Zr : l.PARSER_MEDIA_TYPE, _ = $e === "application/xhtml+xml" ?
|
|
2154
|
+
Kr.indexOf(l.PARSER_MEDIA_TYPE) === -1 ? Zr : l.PARSER_MEDIA_TYPE, _ = $e === "application/xhtml+xml" ? fs : $r, O = _e(l, "ALLOWED_TAGS") ? L({}, l.ALLOWED_TAGS, _) : At, D = _e(l, "ALLOWED_ATTR") ? L({}, l.ALLOWED_ATTR, _) : $t, ht = _e(l, "ALLOWED_NAMESPACES") ? L({}, l.ALLOWED_NAMESPACES, fs) : Qr, lt = _e(l, "ADD_URI_SAFE_ATTR") ? L(Fe(Dt), l.ADD_URI_SAFE_ATTR, _) : Dt, Ot = _e(l, "ADD_DATA_URI_TAGS") ? L(Fe(Ft), l.ADD_DATA_URI_TAGS, _) : Ft, Y = _e(l, "FORBID_CONTENTS") ? L({}, l.FORBID_CONTENTS, _) : ct, Ee = _e(l, "FORBID_TAGS") ? L({}, l.FORBID_TAGS, _) : Fe({}), st = _e(l, "FORBID_ATTR") ? L({}, l.FORBID_ATTR, _) : Fe({}), we = _e(l, "USE_PROFILES") ? l.USE_PROFILES : !1, Pt = l.ALLOW_ARIA_ATTR !== !1, at = l.ALLOW_DATA_ATTR !== !1, _t = l.ALLOW_UNKNOWN_PROTOCOLS || !1, It = l.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ve = l.SAFE_FOR_TEMPLATES || !1, Ne = l.SAFE_FOR_XML !== !1, ae = l.WHOLE_DOCUMENT || !1, ye = l.RETURN_DOM || !1, ze = l.RETURN_DOM_FRAGMENT || !1, Ue = l.RETURN_TRUSTED_TYPE || !1, ot = l.FORCE_BODY || !1, Mt = l.SANITIZE_DOM !== !1, Lt = l.SANITIZE_NAMED_PROPS || !1, it = l.KEEP_CONTENT !== !1, Ae = l.IN_PLACE || !1, Et = l.ALLOWED_URI_REGEXP || En, ke = l.NAMESPACE || K, qe = l.MATHML_TEXT_INTEGRATION_POINTS || qe, We = l.HTML_INTEGRATION_POINTS || We, $ = l.CUSTOM_ELEMENT_HANDLING || {}, l.CUSTOM_ELEMENT_HANDLING && Nt(l.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && ($.tagNameCheck = l.CUSTOM_ELEMENT_HANDLING.tagNameCheck), l.CUSTOM_ELEMENT_HANDLING && Nt(l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && ($.attributeNameCheck = l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), l.CUSTOM_ELEMENT_HANDLING && typeof l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && ($.allowCustomizedBuiltInElements = l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ve && (at = !1), ze && (ye = !0), we && (O = L({}, Fa), D = [], we.html === !0 && (L(O, Oa), L(D, Da)), we.svg === !0 && (L(O, ps), L(D, bs), L(D, Sr)), we.svgFilters === !0 && (L(O, ms), L(D, bs), L(D, Sr)), we.mathMl === !0 && (L(O, gs), L(D, Na), L(D, Sr))), l.ADD_TAGS && (typeof l.ADD_TAGS == "function" ? be.tagCheck = l.ADD_TAGS : (O === At && (O = Fe(O)), L(O, l.ADD_TAGS, _))), l.ADD_ATTR && (typeof l.ADD_ATTR == "function" ? be.attributeCheck = l.ADD_ATTR : (D === $t && (D = Fe(D)), L(D, l.ADD_ATTR, _))), l.ADD_URI_SAFE_ATTR && L(lt, l.ADD_URI_SAFE_ATTR, _), l.FORBID_CONTENTS && (Y === ct && (Y = Fe(Y)), L(Y, l.FORBID_CONTENTS, _)), l.ADD_FORBID_CONTENTS && (Y === ct && (Y = Fe(Y)), L(Y, l.ADD_FORBID_CONTENTS, _)), it && (O["#text"] = !0), ae && L(O, ["html", "head", "body"]), O.table && (L(O, ["tbody"]), delete Ee.tbody), l.TRUSTED_TYPES_POLICY) {
|
|
2155
2155
|
if (typeof l.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
2156
2156
|
throw ar('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
2157
2157
|
if (typeof l.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -2159,7 +2159,7 @@ function $n() {
|
|
|
2159
2159
|
x = l.TRUSTED_TYPES_POLICY, F = x.createHTML("");
|
|
2160
2160
|
} else
|
|
2161
2161
|
x === void 0 && (x = ac(y, a)), x !== null && typeof F == "string" && (F = x.createHTML(""));
|
|
2162
|
-
|
|
2162
|
+
fe && fe(l), Se = l;
|
|
2163
2163
|
}
|
|
2164
2164
|
}, zt = L({}, [...ps, ...ms, ...Gi]), Ut = L({}, [...gs, ...Yi]), es = function(l) {
|
|
2165
2165
|
let m = k(l);
|
|
@@ -2206,7 +2206,7 @@ function $n() {
|
|
|
2206
2206
|
if (ot)
|
|
2207
2207
|
l = "<remove></remove>" + l;
|
|
2208
2208
|
else {
|
|
2209
|
-
const P =
|
|
2209
|
+
const P = ds(l, /^[\r\n\t ]+/);
|
|
2210
2210
|
b = P && P[0];
|
|
2211
2211
|
}
|
|
2212
2212
|
$e === "application/xhtml+xml" && ke === K && (l = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + l + "</body></html>");
|
|
@@ -2233,7 +2233,7 @@ function $n() {
|
|
|
2233
2233
|
i.SHOW_ELEMENT | i.SHOW_COMMENT | i.SHOW_TEXT | i.SHOW_PROCESSING_INSTRUCTION | i.SHOW_CDATA_SECTION,
|
|
2234
2234
|
null
|
|
2235
2235
|
);
|
|
2236
|
-
},
|
|
2236
|
+
}, dt = function(l) {
|
|
2237
2237
|
return l instanceof g && (typeof l.nodeName != "string" || typeof l.textContent != "string" || typeof l.removeChild != "function" || !(l.attributes instanceof h) || typeof l.removeAttribute != "function" || typeof l.setAttribute != "function" || typeof l.namespaceURI != "string" || typeof l.insertBefore != "function" || typeof l.hasChildNodes != "function");
|
|
2238
2238
|
}, qt = function(l) {
|
|
2239
2239
|
return typeof c == "function" && l instanceof c;
|
|
@@ -2245,7 +2245,7 @@ function $n() {
|
|
|
2245
2245
|
}
|
|
2246
2246
|
const Wt = function(l) {
|
|
2247
2247
|
let m = null;
|
|
2248
|
-
if (Z(U.beforeSanitizeElements, l, null),
|
|
2248
|
+
if (Z(U.beforeSanitizeElements, l, null), dt(l))
|
|
2249
2249
|
return Q(l), !0;
|
|
2250
2250
|
const b = _(l.nodeName);
|
|
2251
2251
|
if (Z(U.uponSanitizeElement, l, {
|
|
@@ -2303,13 +2303,13 @@ function $n() {
|
|
|
2303
2303
|
}
|
|
2304
2304
|
return !0;
|
|
2305
2305
|
}, jt = function(l) {
|
|
2306
|
-
return l !== "annotation-xml" &&
|
|
2306
|
+
return l !== "annotation-xml" && ds(l, Gr);
|
|
2307
2307
|
}, Gt = function(l) {
|
|
2308
2308
|
Z(U.beforeSanitizeAttributes, l, null);
|
|
2309
2309
|
const {
|
|
2310
2310
|
attributes: m
|
|
2311
2311
|
} = l;
|
|
2312
|
-
if (!m ||
|
|
2312
|
+
if (!m || dt(l))
|
|
2313
2313
|
return;
|
|
2314
2314
|
const b = {
|
|
2315
2315
|
attrName: "",
|
|
@@ -2330,7 +2330,7 @@ function $n() {
|
|
|
2330
2330
|
ne(P, l);
|
|
2331
2331
|
continue;
|
|
2332
2332
|
}
|
|
2333
|
-
if (xe === "attributename" &&
|
|
2333
|
+
if (xe === "attributename" && ds(N, "href")) {
|
|
2334
2334
|
ne(P, l);
|
|
2335
2335
|
continue;
|
|
2336
2336
|
}
|
|
@@ -2365,7 +2365,7 @@ function $n() {
|
|
|
2365
2365
|
}
|
|
2366
2366
|
if (N !== pt)
|
|
2367
2367
|
try {
|
|
2368
|
-
q ? l.setAttributeNS(q, P, N) : l.setAttribute(P, N),
|
|
2368
|
+
q ? l.setAttributeNS(q, P, N) : l.setAttribute(P, N), dt(l) ? Q(l) : La(e.removed);
|
|
2369
2369
|
} catch {
|
|
2370
2370
|
ne(P, l);
|
|
2371
2371
|
}
|
|
@@ -2388,7 +2388,7 @@ function $n() {
|
|
|
2388
2388
|
throw ar("toString is not a function");
|
|
2389
2389
|
if (!e.isSupported)
|
|
2390
2390
|
return v;
|
|
2391
|
-
if (nt ||
|
|
2391
|
+
if (nt || ft(l), e.removed = [], typeof v == "string" && (Ae = !1), Ae) {
|
|
2392
2392
|
if (v.nodeName) {
|
|
2393
2393
|
const J = _(v.nodeName);
|
|
2394
2394
|
if (!O[J] || Ee[J])
|
|
@@ -2424,11 +2424,11 @@ function $n() {
|
|
|
2424
2424
|
}), x && Ue ? x.createHTML(q) : q;
|
|
2425
2425
|
}, e.setConfig = function() {
|
|
2426
2426
|
let v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2427
|
-
|
|
2427
|
+
ft(v), nt = !0;
|
|
2428
2428
|
}, e.clearConfig = function() {
|
|
2429
2429
|
Se = null, nt = !1;
|
|
2430
2430
|
}, e.isValidAttribute = function(v, l, m) {
|
|
2431
|
-
Se ||
|
|
2431
|
+
Se || ft({});
|
|
2432
2432
|
const b = _(v), A = _(l);
|
|
2433
2433
|
return Vt(b, A, m);
|
|
2434
2434
|
}, e.addHook = function(v, l) {
|
|
@@ -2446,31 +2446,31 @@ function $n() {
|
|
|
2446
2446
|
}, e;
|
|
2447
2447
|
}
|
|
2448
2448
|
$n();
|
|
2449
|
-
const nc = "0.15.
|
|
2449
|
+
const nc = "0.15.1", oc = /* @__PURE__ */ G(class extends j {
|
|
2450
2450
|
constructor(t) {
|
|
2451
2451
|
super();
|
|
2452
2452
|
/**
|
|
2453
2453
|
* The id of the Searchcraft instance that this component should use.
|
|
2454
2454
|
*/
|
|
2455
|
-
|
|
2455
|
+
f(this, "searchcraftId");
|
|
2456
2456
|
/**
|
|
2457
2457
|
* The SDK variant used to render this component. Used for UTM attribution. This isn't exposed for developer consumption, it's set automatically.
|
|
2458
2458
|
*
|
|
2459
2459
|
* @internal
|
|
2460
2460
|
*/
|
|
2461
|
-
|
|
2461
|
+
f(this, "sdkVariant", "js");
|
|
2462
2462
|
/**
|
|
2463
2463
|
* Optional href for the "View all" button.
|
|
2464
2464
|
*/
|
|
2465
|
-
|
|
2465
|
+
f(this, "viewAllResultsHref");
|
|
2466
2466
|
/**
|
|
2467
2467
|
* Optional label for the "View all" button.
|
|
2468
2468
|
*/
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2469
|
+
f(this, "viewAllResultsLabel");
|
|
2470
|
+
f(this, "searchResultsCount");
|
|
2471
|
+
f(this, "unsubscribe", () => {
|
|
2472
2472
|
});
|
|
2473
|
-
|
|
2473
|
+
f(this, "cleanupCore");
|
|
2474
2474
|
t !== !1 && this.__registerHost();
|
|
2475
2475
|
}
|
|
2476
2476
|
onCoreAvailable(t) {
|
|
@@ -2503,7 +2503,7 @@ const nc = "0.15.0", oc = /* @__PURE__ */ G(class extends j {
|
|
|
2503
2503
|
utm_content: "popover-footer",
|
|
2504
2504
|
sc_sdk_version: nc
|
|
2505
2505
|
}).toString()}`, n = typeof this.searchResultsCount == "number" && this.searchResultsCount > 0, o = !!this.safeViewAllHref && n;
|
|
2506
|
-
return
|
|
2506
|
+
return d("footer", { key: "548704335f80a2b4bc7ebd4ea2d0a2eb73376fde", class: "searchcraft-popover-footer" }, d("a", { key: "a10cbfd833ef0c6016932fede6ca3195eecdfaea", class: "searchcraft-popover-footer-link", href: a, target: "_blank", rel: "noreferrer" }, d("span", { key: "6c6333a61ae282419e32721fc9760d3d237870df", class: "searchcraft-popover-footer-link-prefix" }, "Powered by "), " ", "Searchcraft"), d("div", { key: "ac3af12966e7de74be888511493cc8b5411be6f5", class: "searchcraft-popover-footer-results" }, d("p", { key: "4a8bbc33d91852efb12b11ed7a82d34a91718456", class: "searchcraft-popover-footer-results-info" }, n ? d("span", null, Rn(this.searchResultsCount), " Results", d("span", { class: "searchcraft-popover-footer-results-found" }, " Found")) : " "), o && d("a", { key: "480adfb8b751ce450c6547a78750d29cbe542359", class: "searchcraft-popover-footer-view-all", href: this.safeViewAllHref }, d("span", { key: "5cb8eb24a192fc3c22784e72414a5b8bf8070c8b", class: "searchcraft-popover-footer-view-all-label" }, this.viewAllResultsLabel), d("span", { key: "cc6e55e19527e99eded57edb5b35eebc574fbec0", class: "searchcraft-popover-footer-view-all-shortcut", "aria-hidden": "true" }, d("kbd", { key: "8e55153e517ca311239d9029073d127b9638ba05" }, "⌘"), d("kbd", { key: "71e773899f5abe1bcf8d94c3617732f2c213571a" }, "↵")))));
|
|
2507
2507
|
}
|
|
2508
2508
|
}, [768, "searchcraft-popover-footer", {
|
|
2509
2509
|
searchcraftId: [1, "searchcraft-id"],
|
|
@@ -2529,46 +2529,46 @@ const ic = Nr, cc = /* @__PURE__ */ G(class extends j {
|
|
|
2529
2529
|
/**
|
|
2530
2530
|
* Controls the visual representation of the button.
|
|
2531
2531
|
*/
|
|
2532
|
-
|
|
2532
|
+
f(this, "hierarchy", "primary");
|
|
2533
2533
|
/**
|
|
2534
2534
|
* Whether the button is disabled.
|
|
2535
2535
|
*/
|
|
2536
|
-
|
|
2536
|
+
f(this, "disabled", !1);
|
|
2537
2537
|
/**
|
|
2538
2538
|
* The icon element.
|
|
2539
2539
|
*/
|
|
2540
|
-
|
|
2540
|
+
f(this, "icon");
|
|
2541
2541
|
/**
|
|
2542
2542
|
* Should the button only display an icon.
|
|
2543
2543
|
*/
|
|
2544
|
-
|
|
2544
|
+
f(this, "iconOnly", !1);
|
|
2545
2545
|
/**
|
|
2546
2546
|
* The position of the icon.
|
|
2547
2547
|
*/
|
|
2548
|
-
|
|
2548
|
+
f(this, "iconPosition", "left");
|
|
2549
2549
|
/**
|
|
2550
2550
|
* The label for the button.
|
|
2551
2551
|
*/
|
|
2552
|
-
|
|
2552
|
+
f(this, "label", "Search");
|
|
2553
2553
|
/**
|
|
2554
2554
|
* The type of the button.
|
|
2555
2555
|
*/
|
|
2556
|
-
|
|
2556
|
+
f(this, "type", "button");
|
|
2557
2557
|
/**
|
|
2558
2558
|
* The event fired when the button is clicked.
|
|
2559
2559
|
*/
|
|
2560
|
-
|
|
2561
|
-
|
|
2560
|
+
f(this, "buttonClick");
|
|
2561
|
+
f(this, "handleButtonClick", () => {
|
|
2562
2562
|
this.buttonClick.emit();
|
|
2563
2563
|
});
|
|
2564
2564
|
t !== !1 && this.__registerHost(), this.buttonClick = Ze(this, "buttonClick");
|
|
2565
2565
|
}
|
|
2566
2566
|
render() {
|
|
2567
|
-
return
|
|
2567
|
+
return d("button", { key: "e54b4566e0286265bc0c8b6bb4e9ef26108575da", "aria-label": this.label, class: ge("searchcraft-button", {
|
|
2568
2568
|
"searchcraft-button-primary": this.hierarchy === "primary",
|
|
2569
2569
|
"searchcraft-button-tertiary": this.hierarchy === "tertiary",
|
|
2570
2570
|
"searchcraft-button-disabled": this.disabled
|
|
2571
|
-
}), disabled: this.disabled, onClick: this.handleButtonClick, type: this.type }, this.iconOnly ? this.icon :
|
|
2571
|
+
}), disabled: this.disabled, onClick: this.handleButtonClick, type: this.type }, this.iconOnly ? this.icon : d(ii, null, this.iconPosition === "left" && this.icon, d("span", null, this.label), this.iconPosition === "right" && this.icon));
|
|
2572
2572
|
}
|
|
2573
2573
|
}, [768, "searchcraft-button", {
|
|
2574
2574
|
hierarchy: [1],
|
|
@@ -2595,7 +2595,7 @@ const lc = zr, uc = /* @__PURE__ */ G(class extends j {
|
|
|
2595
2595
|
super(), e !== !1 && this.__registerHost();
|
|
2596
2596
|
}
|
|
2597
2597
|
render() {
|
|
2598
|
-
return
|
|
2598
|
+
return d("div", { key: "d42f7abf8dfb2620622b8012d868d32f04b2f354", class: "searchcraft-error-message" }, d("slot", { key: "75a7811576ea8afe80a7ae739f5cf2d411f976df" }, "Search term is required."));
|
|
2599
2599
|
}
|
|
2600
2600
|
}, [260, "searchcraft-error-message"]);
|
|
2601
2601
|
function Ur() {
|
|
@@ -2620,7 +2620,7 @@ const hc = Ur, _n = (s, e) => {
|
|
|
2620
2620
|
e.hasOwnProperty(r) && (e[r] instanceof Object && s[r] instanceof Object ? t[r] = Qs(s[r], e[r]) : t[r] = e[r]);
|
|
2621
2621
|
return t;
|
|
2622
2622
|
};
|
|
2623
|
-
function
|
|
2623
|
+
function fc(s) {
|
|
2624
2624
|
return s.filter((e, t, r) => !r.some((a, n) => n !== t && a.includes(e)));
|
|
2625
2625
|
}
|
|
2626
2626
|
const Ba = (s, e) => {
|
|
@@ -2677,44 +2677,44 @@ const Ba = (s, e) => {
|
|
|
2677
2677
|
u.count = o;
|
|
2678
2678
|
}
|
|
2679
2679
|
return t;
|
|
2680
|
-
},
|
|
2680
|
+
}, dc = /* @__PURE__ */ G(class extends j {
|
|
2681
2681
|
constructor(t) {
|
|
2682
2682
|
super();
|
|
2683
2683
|
/**
|
|
2684
2684
|
* The id of the Searchcraft instance that this component should use.
|
|
2685
2685
|
*/
|
|
2686
|
-
|
|
2686
|
+
f(this, "searchcraftId");
|
|
2687
2687
|
/**
|
|
2688
2688
|
* The name of the field where facets are applied.
|
|
2689
2689
|
*/
|
|
2690
|
-
|
|
2690
|
+
f(this, "fieldName", "");
|
|
2691
2691
|
/**
|
|
2692
2692
|
* Array of facet values to exclude from rendering.
|
|
2693
2693
|
*/
|
|
2694
|
-
|
|
2694
|
+
f(this, "exclude");
|
|
2695
2695
|
/**
|
|
2696
2696
|
* Initial collapse state of the facet section.
|
|
2697
2697
|
* @default 'open'
|
|
2698
2698
|
*/
|
|
2699
|
-
|
|
2699
|
+
f(this, "initialCollapseState", "open");
|
|
2700
2700
|
/**
|
|
2701
2701
|
* The number of facets to show before displaying a "view more" link.
|
|
2702
2702
|
* Set to 0 to show all facets without a "view more" link.
|
|
2703
2703
|
* @default 8
|
|
2704
2704
|
*/
|
|
2705
|
-
|
|
2705
|
+
f(this, "viewMoreThreshold", 8);
|
|
2706
2706
|
/**
|
|
2707
2707
|
* Emitted when the facets are updated.
|
|
2708
2708
|
*/
|
|
2709
|
-
|
|
2709
|
+
f(this, "facetSelectionUpdated");
|
|
2710
2710
|
/**
|
|
2711
2711
|
* The currently selected facet paths.
|
|
2712
2712
|
*/
|
|
2713
|
-
|
|
2713
|
+
f(this, "selectedPaths", {});
|
|
2714
2714
|
/**
|
|
2715
2715
|
* A Tree representing all of the facets collected from search responses.
|
|
2716
2716
|
*/
|
|
2717
|
-
|
|
2717
|
+
f(this, "facetTreeCollectedFromSearchResponse", {
|
|
2718
2718
|
path: "/",
|
|
2719
2719
|
count: 0,
|
|
2720
2720
|
children: {}
|
|
@@ -2723,7 +2723,7 @@ const Ba = (s, e) => {
|
|
|
2723
2723
|
* A Tree representing the facet paths that are selected, but were not included
|
|
2724
2724
|
* in any search response.
|
|
2725
2725
|
*/
|
|
2726
|
-
|
|
2726
|
+
f(this, "facetTreeFromFacetPathsNotInSearchResponse", {
|
|
2727
2727
|
path: "/",
|
|
2728
2728
|
count: 0,
|
|
2729
2729
|
children: {}
|
|
@@ -2732,7 +2732,7 @@ const Ba = (s, e) => {
|
|
|
2732
2732
|
* The facet tree that ultimately gets rendered.
|
|
2733
2733
|
* This is a mergin of the facetTreeCollectedFromSearchResponse and the facetTreeFromFacetPathsNotInSearchResponse tree
|
|
2734
2734
|
*/
|
|
2735
|
-
|
|
2735
|
+
f(this, "renderedFacetTree", {
|
|
2736
2736
|
path: "/",
|
|
2737
2737
|
count: 0,
|
|
2738
2738
|
children: {}
|
|
@@ -2740,22 +2740,22 @@ const Ba = (s, e) => {
|
|
|
2740
2740
|
/**
|
|
2741
2741
|
* Tracks whether the facet section is collapsed or expanded.
|
|
2742
2742
|
*/
|
|
2743
|
-
|
|
2743
|
+
f(this, "isCollapsed", !1);
|
|
2744
2744
|
/**
|
|
2745
2745
|
* Tracks whether all facets are shown or limited by the threshold.
|
|
2746
2746
|
*/
|
|
2747
|
-
|
|
2747
|
+
f(this, "showAllFacets", !1);
|
|
2748
2748
|
// Internal vars used to track when to perform various facet actions.
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2749
|
+
f(this, "lastTimeTaken");
|
|
2750
|
+
f(this, "lastSearchTerm");
|
|
2751
|
+
f(this, "lastSearchMode");
|
|
2752
|
+
f(this, "lastSortType");
|
|
2753
|
+
f(this, "lastRangeValues");
|
|
2754
|
+
f(this, "lastFacetValues");
|
|
2755
|
+
f(this, "unsubscribe");
|
|
2756
|
+
f(this, "cleanupCore");
|
|
2757
|
+
f(this, "formatFacetName", (t) => `${t.replace(/^\//, "").replace(/-/g, " ").replace(/\b\w/g, (a) => a.toUpperCase())}`);
|
|
2758
|
+
f(this, "handleViewMoreToggle", () => {
|
|
2759
2759
|
this.showAllFacets = !this.showAllFacets;
|
|
2760
2760
|
});
|
|
2761
2761
|
t !== !1 && this.__registerHost(), this.facetSelectionUpdated = Ze(this, "facetSelectionUpdated");
|
|
@@ -2861,7 +2861,7 @@ const Ba = (s, e) => {
|
|
|
2861
2861
|
const c = Object.keys(this.selectedPaths).filter((u) => !u.includes(t));
|
|
2862
2862
|
this.selectedPaths = c.reduce((u, i) => (u[i] = !0, u), {});
|
|
2863
2863
|
}
|
|
2864
|
-
const a = Object.keys(this.selectedPaths).filter((c) => this.selectedPaths[c]), n =
|
|
2864
|
+
const a = Object.keys(this.selectedPaths).filter((c) => this.selectedPaths[c]), n = fc(a);
|
|
2865
2865
|
(o = this.facetSelectionUpdated) == null || o.emit({ paths: n });
|
|
2866
2866
|
}
|
|
2867
2867
|
/**
|
|
@@ -2883,9 +2883,9 @@ const Ba = (s, e) => {
|
|
|
2883
2883
|
for (const c of Object.keys(this.selectedPaths))
|
|
2884
2884
|
this.selectedPaths[c] && c.startsWith(r.path) && c.length > r.path.length && (a = !0);
|
|
2885
2885
|
const n = Object.keys(this.selectedPaths).includes(r.path), o = Object.keys(r.children).length > 0 && (n || a) || t === "@@root";
|
|
2886
|
-
return
|
|
2886
|
+
return d("div", { class: "searchcraft-facet-list-item" }, t !== "@@root" && d("label", { class: "searchcraft-facet-list-checkbox-label" }, d("div", { class: "searchcraft-facet-list-checkbox-input-wrapper" }, d("input", { class: "searchcraft-facet-list-checkbox-input", checked: this.selectedPaths[r.path], onChange: (c) => {
|
|
2887
2887
|
this.handleCheckboxChange(r.path);
|
|
2888
|
-
}, type: "checkbox" }), a ?
|
|
2888
|
+
}, type: "checkbox" }), a ? d("div", { class: "searchcraft-facet-list-checkbox-input-dash-icon" }, d("svg", { viewBox: "0 0 14 3", fill: "none" }, d("title", null, "Checkbox dash"), d("line", { x1: "1.5", y1: "1.5", x2: "12.5", y2: "1.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" }))) : d("div", { class: "searchcraft-facet-list-checkbox-input-check-icon" }, d("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, d("title", null, "Checkbox check"), d("path", { d: "M13.9999 2L5.74988 10L1.99988 6.36364", stroke: "white", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round" })))), d("span", null, this.formatFacetName(t), " (", r.count, ")")), o && d("div", { class: "searchcraft-facet-list", style: {
|
|
2889
2889
|
paddingLeft: t !== "@@root" ? "24px" : "0px",
|
|
2890
2890
|
paddingTop: t !== "@@root" ? "6px" : "0px"
|
|
2891
2891
|
} }, Object.keys(r.children).map((c) => {
|
|
@@ -2897,12 +2897,12 @@ const Ba = (s, e) => {
|
|
|
2897
2897
|
if (!this.fieldName || Object.keys(this.facetTreeCollectedFromSearchResponse.children).length === 0 && (this.lastSearchTerm || "").trim().length === 0)
|
|
2898
2898
|
return;
|
|
2899
2899
|
if (Object.keys(this.facetTreeCollectedFromSearchResponse.children).length === 0 && (this.lastSearchTerm || "").trim().length > 0)
|
|
2900
|
-
return
|
|
2900
|
+
return d("p", { class: "searchcraft-facet-list-message" }, "No facets are available for this search query.");
|
|
2901
2901
|
const t = Object.keys(this.renderedFacetTree.children), r = this.viewMoreThreshold ?? 8, a = r > 0 && t.length > r, n = a && !this.showAllFacets ? t.slice(0, r) : t;
|
|
2902
|
-
return
|
|
2902
|
+
return d("div", { class: "searchcraft-facet-list-wrapper", "data-facet-section-collapsed": this.isCollapsed ? "" : void 0, "data-facet-section-expanded": this.isCollapsed ? void 0 : "" }, !this.isCollapsed && d("div", { class: "searchcraft-facet-list-content" }, d("div", { class: "searchcraft-facet-list" }, n.map((o) => {
|
|
2903
2903
|
if (this.renderedFacetTree.children[o])
|
|
2904
2904
|
return this.renderFacet(o, this.renderedFacetTree.children[o]);
|
|
2905
|
-
})), a &&
|
|
2905
|
+
})), a && d("button", { class: "searchcraft-facet-list-view-more", onClick: this.handleViewMoreToggle, type: "button" }, this.showAllFacets ? "View less" : "View more...")));
|
|
2906
2906
|
}
|
|
2907
2907
|
}, [768, "searchcraft-facet-list", {
|
|
2908
2908
|
searchcraftId: [1, "searchcraft-id"],
|
|
@@ -2924,7 +2924,7 @@ function In() {
|
|
|
2924
2924
|
["searchcraft-facet-list"].forEach((e) => {
|
|
2925
2925
|
switch (e) {
|
|
2926
2926
|
case "searchcraft-facet-list":
|
|
2927
|
-
customElements.get(e) || customElements.define(e,
|
|
2927
|
+
customElements.get(e) || customElements.define(e, dc);
|
|
2928
2928
|
break;
|
|
2929
2929
|
}
|
|
2930
2930
|
});
|
|
@@ -2950,31 +2950,31 @@ const gc = /* @__PURE__ */ G(class extends j {
|
|
|
2950
2950
|
/**
|
|
2951
2951
|
* The maximum value allowed.
|
|
2952
2952
|
*/
|
|
2953
|
-
|
|
2953
|
+
f(this, "max", 100);
|
|
2954
2954
|
/**
|
|
2955
2955
|
* The minimum value allowed.
|
|
2956
2956
|
*/
|
|
2957
|
-
|
|
2957
|
+
f(this, "min", 0);
|
|
2958
2958
|
/**
|
|
2959
2959
|
* The step amount for the slider inputs.
|
|
2960
2960
|
*/
|
|
2961
|
-
|
|
2961
|
+
f(this, "step", 1);
|
|
2962
2962
|
/** The type of data the sliders are using. */
|
|
2963
|
-
|
|
2963
|
+
f(this, "dataType", "number");
|
|
2964
2964
|
/** The date granularity to use. Used to format date labels. */
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2965
|
+
f(this, "dateGranularity");
|
|
2966
|
+
f(this, "lowerBound", 0);
|
|
2967
|
+
f(this, "upperBound", 1);
|
|
2968
|
+
f(this, "endValue", 0);
|
|
2969
|
+
f(this, "startValue", 0);
|
|
2970
|
+
f(this, "lastFocusedHandle", "max");
|
|
2971
|
+
f(this, "throttledEmitUpdate", () => {
|
|
2972
2972
|
});
|
|
2973
2973
|
/**
|
|
2974
2974
|
* When the range has changed.
|
|
2975
2975
|
* */
|
|
2976
|
-
|
|
2977
|
-
|
|
2976
|
+
f(this, "rangeChanged");
|
|
2977
|
+
f(this, "emitUpdate", async () => {
|
|
2978
2978
|
var t, r;
|
|
2979
2979
|
switch (this.dataType) {
|
|
2980
2980
|
case "number":
|
|
@@ -2993,15 +2993,15 @@ const gc = /* @__PURE__ */ G(class extends j {
|
|
|
2993
2993
|
}
|
|
2994
2994
|
}
|
|
2995
2995
|
});
|
|
2996
|
-
|
|
2996
|
+
f(this, "handleStartValueChange", (t) => {
|
|
2997
2997
|
const r = t.target, a = Number.parseInt(r.value, 10);
|
|
2998
2998
|
this.lastFocusedHandle = "min", a <= this.endValue ? (this.startValue = a, this.throttledEmitUpdate()) : (this.startValue = this.endValue, r.value = `${this.endValue}`);
|
|
2999
2999
|
});
|
|
3000
|
-
|
|
3000
|
+
f(this, "handleEndValueChange", (t) => {
|
|
3001
3001
|
const r = t.target, a = Number.parseInt(r.value, 10);
|
|
3002
3002
|
this.lastFocusedHandle = "max", a >= this.startValue ? (this.endValue = a, this.throttledEmitUpdate()) : (this.endValue = this.startValue, r.value = `${this.startValue}`);
|
|
3003
3003
|
});
|
|
3004
|
-
|
|
3004
|
+
f(this, "getLabel", (t) => {
|
|
3005
3005
|
switch (this.dataType) {
|
|
3006
3006
|
case "number":
|
|
3007
3007
|
return `${this.startValue}`;
|
|
@@ -3027,10 +3027,10 @@ const gc = /* @__PURE__ */ G(class extends j {
|
|
|
3027
3027
|
}
|
|
3028
3028
|
render() {
|
|
3029
3029
|
const t = (this.startValue - this.lowerBound) / (this.upperBound - this.lowerBound) * 100, r = (this.endValue - this.lowerBound) / (this.upperBound - this.lowerBound) * 100, a = this.getLabel(this.startValue), n = this.getLabel(this.endValue);
|
|
3030
|
-
return
|
|
3030
|
+
return d("div", { key: "2c72254f52151edd2e2fa89c092fc788db0b5562", class: "searchcraft-slider" }, d("div", { key: "98c25badf2c9386d7173ea552e510dcc168e7fc7", class: "searchcraft-slider-range" }, d("div", { key: "50774db2253e34b1bce68acc0a40b2706cab542d", class: "searchcraft-slider-active-range", style: {
|
|
3031
3031
|
left: `${t}%`,
|
|
3032
3032
|
width: `${r - t}%`
|
|
3033
|
-
} }),
|
|
3033
|
+
} }), d("input", { key: "229afedc1318a63cbd75806805210cf4f5695e6e", class: ge("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 }), d("input", { key: "6aa038b01daaba86f501ebbbec30fc6720b549b3", class: ge("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 })), d("div", { key: "f70501538635c3b08ad1e6ac101d0b3192ef8e04", class: "searchcraft-slider-label" }, d("span", { key: "ddd539b86774f8900771d77d5ef7eb3a67c98d59", class: "searchcraft-slider-start-label" }, a), d("span", { key: "b754a9c8d284e0623032cee6b92f9df88873ec04", class: "searchcraft-slider-end-label" }, n)));
|
|
3034
3034
|
}
|
|
3035
3035
|
}, [768, "searchcraft-slider", {
|
|
3036
3036
|
max: [2],
|
|
@@ -3061,24 +3061,24 @@ const bc = /* @__PURE__ */ G(class extends j {
|
|
|
3061
3061
|
/**
|
|
3062
3062
|
* The label.
|
|
3063
3063
|
*/
|
|
3064
|
-
|
|
3064
|
+
f(this, "label", "Toggle");
|
|
3065
3065
|
/**
|
|
3066
3066
|
* The secondary label displayed below the main label.
|
|
3067
3067
|
*/
|
|
3068
|
-
|
|
3068
|
+
f(this, "subLabel");
|
|
3069
3069
|
/**
|
|
3070
3070
|
* The id of the Searchcraft instance that this component should use.
|
|
3071
3071
|
*/
|
|
3072
|
-
|
|
3072
|
+
f(this, "searchcraftId");
|
|
3073
3073
|
/**
|
|
3074
3074
|
* When the toggle element is changed.
|
|
3075
3075
|
*/
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3076
|
+
f(this, "toggleUpdated");
|
|
3077
|
+
f(this, "isActive", !1);
|
|
3078
|
+
f(this, "lastSearchTerm");
|
|
3079
|
+
f(this, "unsubscribe");
|
|
3080
|
+
f(this, "cleanupCore");
|
|
3081
|
+
f(this, "handleToggle", async () => {
|
|
3082
3082
|
var t;
|
|
3083
3083
|
this.isActive = !this.isActive, (t = this.toggleUpdated) == null || t.emit(this.isActive);
|
|
3084
3084
|
});
|
|
@@ -3097,9 +3097,9 @@ const bc = /* @__PURE__ */ G(class extends j {
|
|
|
3097
3097
|
(t = this.unsubscribe) == null || t.call(this), (r = this.cleanupCore) == null || r.call(this);
|
|
3098
3098
|
}
|
|
3099
3099
|
render() {
|
|
3100
|
-
return
|
|
3100
|
+
return d("div", { key: "ab1d5ee21c7aaa28af1c405edc986556858366e8", class: ge("searchcraft-toggle-button", {
|
|
3101
3101
|
"searchcraft-toggle-button-active": this.isActive
|
|
3102
|
-
}) },
|
|
3102
|
+
}) }, d("div", { key: "44f86a16d796d448bdb2fb3af72d4d8e1484364b" }, d("p", { key: "9fedb38795d6379cae56dc005ab8e4a944b4261b", class: "searchcraft-toggle-button-label" }, this.label), this.subLabel && d("p", { key: "44f3d17175184032275fec89a4cfe7f8266b7014", class: "searchcraft-toggle-button-sub-label" }, this.subLabel)), d("button", { key: "15fc18906ff2fb21fe646a4e3a8a2ace4a37cae2", class: "searchcraft-toggle-button-background", onClick: this.handleToggle, type: "button" }, d("div", { key: "716d29c65a199f63f5fd294dc3e3ad2ea4d53aa3", class: "searchcraft-toggle-button-handle" })));
|
|
3103
3103
|
}
|
|
3104
3104
|
}, [768, "searchcraft-toggle-button", {
|
|
3105
3105
|
label: [1],
|
|
@@ -3125,35 +3125,35 @@ const vc = /* @__PURE__ */ G(class extends j {
|
|
|
3125
3125
|
/**
|
|
3126
3126
|
* The id of the Searchcraft instance that this component should use.
|
|
3127
3127
|
*/
|
|
3128
|
-
|
|
3128
|
+
f(this, "searchcraftId");
|
|
3129
3129
|
/**
|
|
3130
3130
|
* The items to filter.
|
|
3131
3131
|
*/
|
|
3132
|
-
|
|
3132
|
+
f(this, "items", []);
|
|
3133
3133
|
/**
|
|
3134
3134
|
* The breakpoint (in pixels) below which the filter panel will be hidden.
|
|
3135
3135
|
* Defaults to 768px (--sc-breakpoint-md).
|
|
3136
3136
|
*/
|
|
3137
|
-
|
|
3137
|
+
f(this, "responsiveBreakpoint", 768);
|
|
3138
3138
|
/**
|
|
3139
3139
|
* Controls whether the filter panel automatically hides/shows based on window size.
|
|
3140
3140
|
* - 'auto': Automatically hide/show based on window width
|
|
3141
3141
|
* - 'manual': User controls visibility manually
|
|
3142
3142
|
*/
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3143
|
+
f(this, "responsiveBehavior", "auto");
|
|
3144
|
+
f(this, "lastSearchTerm");
|
|
3145
|
+
f(this, "isFilterPanelVisible", !0);
|
|
3146
|
+
f(this, "core");
|
|
3147
|
+
f(this, "unsubscribe");
|
|
3148
|
+
f(this, "cleanupCore");
|
|
3149
|
+
f(this, "resizeObserver");
|
|
3150
|
+
f(this, "manuallyToggled", !1);
|
|
3151
3151
|
// Track if user manually toggled visibility
|
|
3152
|
-
|
|
3152
|
+
f(this, "toggleClickHandler");
|
|
3153
3153
|
/**
|
|
3154
3154
|
* Handles window resize events
|
|
3155
3155
|
*/
|
|
3156
|
-
|
|
3156
|
+
f(this, "handleWindowResize", () => {
|
|
3157
3157
|
this.responsiveBehavior === "auto" && this.updateVisibilityBasedOnWindowSize();
|
|
3158
3158
|
});
|
|
3159
3159
|
t !== !1 && this.__registerHost();
|
|
@@ -3292,17 +3292,17 @@ const vc = /* @__PURE__ */ G(class extends j {
|
|
|
3292
3292
|
* Iterate through `items` and render them based on `type`
|
|
3293
3293
|
*/
|
|
3294
3294
|
render() {
|
|
3295
|
-
return this.isFilterPanelVisible ?
|
|
3295
|
+
return this.isFilterPanelVisible ? d("div", { class: "searchcraft-filter-panel" }, this.items.map((t) => {
|
|
3296
3296
|
switch (t.type) {
|
|
3297
3297
|
case "dateRange": {
|
|
3298
3298
|
const r = t, a = r.options.maxDate || /* @__PURE__ */ new Date();
|
|
3299
|
-
return
|
|
3299
|
+
return d("div", { class: "searchcraft-filter-panel-section" }, d("p", { class: "searchcraft-filter-panel-label" }, t.label), d("searchcraft-slider", { min: r.options.minDate.getTime(), max: a.getTime(), dataType: "date", step: 1, dateGranularity: r.options.granularity, onRangeChanged: (n) => {
|
|
3300
3300
|
this.handleDateRangeChanged(r, n.detail.startValue, n.detail.endValue);
|
|
3301
3301
|
} }));
|
|
3302
3302
|
}
|
|
3303
3303
|
case "numericRange": {
|
|
3304
3304
|
const r = t;
|
|
3305
|
-
return
|
|
3305
|
+
return d("div", { class: "searchcraft-filter-panel-section" }, d("p", { class: "searchcraft-filter-panel-label" }, t.label), d("searchcraft-slider", { min: r.options.min, max: r.options.max, step: r.options.granularity, onRangeChanged: (a) => {
|
|
3306
3306
|
this.handleNumericRangeChanged(r.fieldName, a.detail.startValue, a.detail.endValue);
|
|
3307
3307
|
} }));
|
|
3308
3308
|
}
|
|
@@ -3318,7 +3318,7 @@ const vc = /* @__PURE__ */ G(class extends j {
|
|
|
3318
3318
|
o(u);
|
|
3319
3319
|
}
|
|
3320
3320
|
};
|
|
3321
|
-
return
|
|
3321
|
+
return d("div", { class: "searchcraft-filter-panel-section" }, d("p", {
|
|
3322
3322
|
ref: (u) => {
|
|
3323
3323
|
n = u || null;
|
|
3324
3324
|
},
|
|
@@ -3335,7 +3335,7 @@ const vc = /* @__PURE__ */ G(class extends j {
|
|
|
3335
3335
|
/* biome-ignore lint/a11y/noNoninteractiveElementToInteractiveRole: This <p> is intentionally used as an interactive control. */
|
|
3336
3336
|
role: "button",
|
|
3337
3337
|
tabIndex: 0
|
|
3338
|
-
}, t.label),
|
|
3338
|
+
}, t.label), d("searchcraft-facet-list", { ref: (u) => {
|
|
3339
3339
|
a = u || null;
|
|
3340
3340
|
}, fieldName: r.fieldName, exclude: r.options.exclude, initialCollapseState: r.options.initialCollapseState, viewMoreThreshold: r.options.viewMoreThreshold, onFacetSelectionUpdated: (u) => {
|
|
3341
3341
|
this.handleFacetSelectionUpdated(r.fieldName, u.detail.paths);
|
|
@@ -3343,13 +3343,13 @@ const vc = /* @__PURE__ */ G(class extends j {
|
|
|
3343
3343
|
}
|
|
3344
3344
|
case "exactMatchToggle": {
|
|
3345
3345
|
const r = t;
|
|
3346
|
-
return
|
|
3346
|
+
return d("searchcraft-toggle-button", { label: r.label, subLabel: r.options.subLabel, onToggleUpdated: (a) => {
|
|
3347
3347
|
this.handleExactMatchToggleUpdated(a.detail);
|
|
3348
3348
|
} });
|
|
3349
3349
|
}
|
|
3350
3350
|
case "mostRecentToggle": {
|
|
3351
3351
|
const r = t;
|
|
3352
|
-
return
|
|
3352
|
+
return d("searchcraft-toggle-button", { label: r.label, subLabel: r.options.subLabel, onToggleUpdated: (a) => {
|
|
3353
3353
|
this.handleMostRecentToggleUpdated(r.fieldName, a.detail);
|
|
3354
3354
|
} });
|
|
3355
3355
|
}
|
|
@@ -3390,12 +3390,12 @@ const wc = yc, kc = /* @__PURE__ */ G(class extends j {
|
|
|
3390
3390
|
/**
|
|
3391
3391
|
* The classname applied to the label element.
|
|
3392
3392
|
*/
|
|
3393
|
-
|
|
3394
|
-
|
|
3393
|
+
f(this, "inputLabelClassName", "");
|
|
3394
|
+
f(this, "label", "");
|
|
3395
3395
|
t !== !1 && this.__registerHost();
|
|
3396
3396
|
}
|
|
3397
3397
|
render() {
|
|
3398
|
-
return
|
|
3398
|
+
return d("label", { key: "1008f9beb320aaa94026604b283eb65a96023265", class: ge("searchcraft-input-label", this.inputLabelClassName), htmlFor: "searchcraft-input-id" }, this.label);
|
|
3399
3399
|
}
|
|
3400
3400
|
}, [768, "searchcraft-input-label", {
|
|
3401
3401
|
inputLabelClassName: [1, "input-label-class-name"],
|
|
@@ -3418,61 +3418,61 @@ const Sc = /* @__PURE__ */ G(class extends j {
|
|
|
3418
3418
|
/**
|
|
3419
3419
|
* The id of the Searchcraft instance that this component should use.
|
|
3420
3420
|
*/
|
|
3421
|
-
|
|
3421
|
+
f(this, "searchcraftId");
|
|
3422
3422
|
/**
|
|
3423
3423
|
* Whether or not to automatically submit the search term when the input changes.
|
|
3424
3424
|
*/
|
|
3425
|
-
|
|
3425
|
+
f(this, "autoSearch", !0);
|
|
3426
3426
|
/**
|
|
3427
3427
|
* Where to place the search button.
|
|
3428
3428
|
*/
|
|
3429
|
-
|
|
3429
|
+
f(this, "buttonPlacement", "none");
|
|
3430
3430
|
/**
|
|
3431
3431
|
* The label for the submit button.
|
|
3432
3432
|
*/
|
|
3433
|
-
|
|
3433
|
+
f(this, "buttonLabel");
|
|
3434
3434
|
/**
|
|
3435
3435
|
* The label rendered above the input.
|
|
3436
3436
|
*/
|
|
3437
|
-
|
|
3437
|
+
f(this, "inputLabel");
|
|
3438
3438
|
/**
|
|
3439
3439
|
* The input element's placeholder value.
|
|
3440
3440
|
*/
|
|
3441
|
-
|
|
3441
|
+
f(this, "placeholderValue", "Enter Search");
|
|
3442
3442
|
/**
|
|
3443
3443
|
* The placeholder's render behavior.
|
|
3444
3444
|
* 'hide-on-focus' - Hide the placeholder text immediately when the input form gains focus.
|
|
3445
3445
|
* 'hide-on-text-entered' - Only hide the placeholder when the input form has text entered into it.
|
|
3446
3446
|
*/
|
|
3447
|
-
|
|
3447
|
+
f(this, "placeholderBehavior");
|
|
3448
3448
|
/**
|
|
3449
3449
|
* The value to display in the input field.
|
|
3450
3450
|
*/
|
|
3451
|
-
|
|
3451
|
+
f(this, "value");
|
|
3452
3452
|
/**
|
|
3453
3453
|
* When the input becomes focused.
|
|
3454
3454
|
*/
|
|
3455
|
-
|
|
3455
|
+
f(this, "inputFocus");
|
|
3456
3456
|
/**
|
|
3457
3457
|
* When the input becomes unfocused.
|
|
3458
3458
|
*/
|
|
3459
|
-
|
|
3459
|
+
f(this, "inputBlur");
|
|
3460
3460
|
/**
|
|
3461
3461
|
* Event emitted when input initializes.
|
|
3462
3462
|
*/
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3463
|
+
f(this, "inputInit");
|
|
3464
|
+
f(this, "inputValue", "");
|
|
3465
|
+
f(this, "searchTerm", "");
|
|
3466
|
+
f(this, "error", !1);
|
|
3467
|
+
f(this, "core");
|
|
3468
|
+
f(this, "unsubscribe");
|
|
3469
|
+
f(this, "cleanupCore");
|
|
3470
|
+
f(this, "handleInput", (t) => {
|
|
3471
3471
|
var a;
|
|
3472
3472
|
const r = t.target;
|
|
3473
3473
|
this.inputValue = r.value, (a = this.core) == null || a.store.getState().setSearchTerm(r.value), this.autoSearch && this.performSearch();
|
|
3474
3474
|
});
|
|
3475
|
-
|
|
3475
|
+
f(this, "performSearch", async () => {
|
|
3476
3476
|
var t;
|
|
3477
3477
|
this.error = !1;
|
|
3478
3478
|
try {
|
|
@@ -3481,11 +3481,11 @@ const Sc = /* @__PURE__ */ G(class extends j {
|
|
|
3481
3481
|
this.error = !0;
|
|
3482
3482
|
}
|
|
3483
3483
|
});
|
|
3484
|
-
|
|
3484
|
+
f(this, "handleClearInput", () => {
|
|
3485
3485
|
var t;
|
|
3486
3486
|
this.inputValue = "", (t = this.core) == null || t.store.getState().resetSearchValues(), this.error = !1;
|
|
3487
3487
|
});
|
|
3488
|
-
|
|
3488
|
+
f(this, "handleFormSubmit", async (t) => {
|
|
3489
3489
|
t.preventDefault(), await this.performSearch();
|
|
3490
3490
|
});
|
|
3491
3491
|
t !== !1 && this.__registerHost(), this.inputFocus = Ze(this, "inputFocus"), this.inputBlur = Ze(this, "inputBlur"), this.inputInit = Ze(this, "inputInit");
|
|
@@ -3521,7 +3521,7 @@ const Sc = /* @__PURE__ */ G(class extends j {
|
|
|
3521
3521
|
}), n = {
|
|
3522
3522
|
gap: this.inputLabel || this.error ? "4px 8px" : "0px 8px"
|
|
3523
3523
|
};
|
|
3524
|
-
return
|
|
3524
|
+
return d("form", { key: "8ba91615394f95c0d5bd26a3006d3e8b454f047e", class: "searchcraft-input-form", onSubmit: this.handleFormSubmit }, d("div", { key: "d9025a1c041e3132280b22e5a1b039df0196cea5", class: r, style: n }, d("div", { key: "a8c3a80a0ccb718f974902fb1d163d5c3ee6194a", class: "searchcraft-input-form-button" }, d("searchcraft-button", { key: "a12ff9a8cdb9a4ce3c3fd54b1c2ae084edd37069", onButtonClick: this.handleFormSubmit, label: this.buttonLabel })), this.inputLabel && d("div", { key: "866e7162c402524eaca864bb6e950a244245dc48", class: "searchcraft-input-form-label" }, d("searchcraft-input-label", { key: "c57217cd5924c827df08e22a728067e3bfc63a26", label: this.inputLabel })), this.error && d("div", { key: "4a54728bf366db50de39470cf31860a6307dafea", class: "searchcraft-input-form-error-message" }, d("searchcraft-error-message", { key: "5fa5b5f5677350338d15c8e6614b0d9f584141b0" }, "Something went wrong.")), d("div", { key: "67be766103a3bca11cff6f83a2a6dea7c6c6f106", class: "searchcraft-input-form-input-wrapper" }, d("input", { key: "931609a4e8fc55d688077ec6cb04f2bb9b86b5fe", autoComplete: "off", class: ge("searchcraft-input-form-input", {
|
|
3525
3525
|
"searchcraft-placeholder-hide-on-focus": this.placeholderBehavior === "hide-on-focus"
|
|
3526
3526
|
}), onFocus: () => {
|
|
3527
3527
|
var o;
|
|
@@ -3531,7 +3531,7 @@ const Sc = /* @__PURE__ */ G(class extends j {
|
|
|
3531
3531
|
return (o = this.inputBlur) == null ? void 0 : o.emit();
|
|
3532
3532
|
}, onInput: (o) => {
|
|
3533
3533
|
this.handleInput(o);
|
|
3534
|
-
}, placeholder: this.placeholderValue, type: "text", value: this.inputValue }),
|
|
3534
|
+
}, placeholder: this.placeholderValue, type: "text", value: this.inputValue }), d("div", { key: "7feb32348b7faec4104137a142ba8150149498a5", class: "searchcraft-input-form-input-icon" }, d("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" }, d("title", { key: "4d3b6724f6532920f5531d2e15b28a06f0770688" }, "Search icon"), d("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" }))), t && d("button", { key: "65278eb0ab49415dce79c874adf90adcb5854db5", type: "button", class: "searchcraft-input-form-clear-button", onClick: this.handleClearInput }, d("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" }, d("title", { key: "9b40d806455ab9c19c0cddb4c76101debdb0266c" }, "Clear icon"), d("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" }))))));
|
|
3535
3535
|
}
|
|
3536
3536
|
static get watchers() {
|
|
3537
3537
|
return {
|
|
@@ -3578,19 +3578,19 @@ function On() {
|
|
|
3578
3578
|
const xc = On, Cc = Xs, Rc = /* @__PURE__ */ G(class extends j {
|
|
3579
3579
|
constructor(t) {
|
|
3580
3580
|
super();
|
|
3581
|
-
|
|
3581
|
+
f(this, "label");
|
|
3582
3582
|
t !== !1 && this.__registerHost();
|
|
3583
3583
|
}
|
|
3584
3584
|
render() {
|
|
3585
3585
|
const t = this.label ?? "Loading";
|
|
3586
|
-
return
|
|
3586
|
+
return d("div", {
|
|
3587
3587
|
key: "d749250c5f56c703da7f1cba4a226a202ae269c0",
|
|
3588
3588
|
class: "searchcraft-loading",
|
|
3589
3589
|
// biome-ignore lint/a11y/useSemanticElements: <output> is semantically incorrect for a loading indicator
|
|
3590
3590
|
role: "status",
|
|
3591
3591
|
"aria-live": "polite",
|
|
3592
3592
|
"aria-label": t
|
|
3593
|
-
},
|
|
3593
|
+
}, d("div", { key: "0f834793686bcf8dff56769ad65311c1f591e8dd", class: "searchcraft-loading-dots", "aria-hidden": "true" }, d("div", { key: "2174c333eecf0630ce984b2dece74675356259d9", class: "searchcraft-loading-dot-1" }), d("div", { key: "927fee69cd86dbd9ae57776c2a15fa6956707fac", class: "searchcraft-loading-dot-2" }), d("div", { key: "cfd37c9a9a12dfc9963aa53c3979fb59dc7a132c", class: "searchcraft-loading-dot-3" })), this.label ? d("p", { class: "searchcraft-loading-label" }, this.label) : null);
|
|
3594
3594
|
}
|
|
3595
3595
|
}, [768, "searchcraft-loading", {
|
|
3596
3596
|
label: [1]
|
|
@@ -3612,46 +3612,46 @@ const Tc = Br, Ec = /* @__PURE__ */ G(class extends j {
|
|
|
3612
3612
|
/**
|
|
3613
3613
|
* The id of the Searchcraft instance that this component should use.
|
|
3614
3614
|
*/
|
|
3615
|
-
|
|
3615
|
+
f(this, "searchcraftId");
|
|
3616
3616
|
/**
|
|
3617
3617
|
* Whether to scroll to the top of the search results when pagination buttons are clicked.
|
|
3618
3618
|
* @default true
|
|
3619
3619
|
*/
|
|
3620
|
-
|
|
3620
|
+
f(this, "scrollToTop", !0);
|
|
3621
3621
|
/**
|
|
3622
3622
|
* The URL query string parameter name used to track the current page. When a user navigates
|
|
3623
3623
|
* to a URL that contains this parameter, the pagination component will automatically navigate
|
|
3624
3624
|
* to that page.
|
|
3625
3625
|
* @default "p"
|
|
3626
3626
|
*/
|
|
3627
|
-
|
|
3627
|
+
f(this, "pageQueryParam", "p");
|
|
3628
3628
|
/**
|
|
3629
3629
|
* Whether to use a query string parameter to track and restore the current page.
|
|
3630
3630
|
* Set to `false` to disable query string synchronisation entirely.
|
|
3631
3631
|
* @default true
|
|
3632
3632
|
*/
|
|
3633
|
-
|
|
3633
|
+
f(this, "usePageQueryParam", !0);
|
|
3634
3634
|
// store vars
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3635
|
+
f(this, "searchTerm");
|
|
3636
|
+
f(this, "searchResultsPerPage");
|
|
3637
|
+
f(this, "searchResultsPage");
|
|
3638
|
+
f(this, "searchResultsCount");
|
|
3639
|
+
f(this, "searchClientRequestProperties");
|
|
3640
3640
|
// local vars
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3641
|
+
f(this, "searchResultsPagesCount", 1);
|
|
3642
|
+
f(this, "searchResultsRangeMin", 1);
|
|
3643
|
+
f(this, "searchResultsRangeMax", 1);
|
|
3644
3644
|
// store functions
|
|
3645
|
-
|
|
3645
|
+
f(this, "setSearchResultsPage", () => {
|
|
3646
3646
|
});
|
|
3647
|
-
|
|
3647
|
+
f(this, "unsubscribe", () => {
|
|
3648
3648
|
});
|
|
3649
|
-
|
|
3650
|
-
|
|
3649
|
+
f(this, "cleanupCore");
|
|
3650
|
+
f(this, "_initialPageApplied", !1);
|
|
3651
3651
|
/**
|
|
3652
3652
|
* Smooth scroll to the top of the search results component
|
|
3653
3653
|
*/
|
|
3654
|
-
|
|
3654
|
+
f(this, "scrollAnimationId");
|
|
3655
3655
|
t !== !1 && this.__registerHost();
|
|
3656
3656
|
}
|
|
3657
3657
|
onCoreAvailable(t) {
|
|
@@ -3726,28 +3726,28 @@ const Tc = Br, Ec = /* @__PURE__ */ G(class extends j {
|
|
|
3726
3726
|
this.setSearchResultsPage(t), this.updateUrlPage(t), this.scrollToTop && this.smoothScrollToSearchResults();
|
|
3727
3727
|
}
|
|
3728
3728
|
renderOddPaginationItem(t) {
|
|
3729
|
-
return
|
|
3729
|
+
return d("li", null, d("button", { class: ge("searchcraft-pagination-item", {
|
|
3730
3730
|
"searchcraft-pagination-item-active": this.searchResultsPage === t
|
|
3731
3731
|
}), onClick: () => this.handleGoToPage(t), type: "button" }, t));
|
|
3732
3732
|
}
|
|
3733
3733
|
renderEvenPaginationItem(t) {
|
|
3734
3734
|
if (!(this.searchResultsPagesCount <= t))
|
|
3735
|
-
return (this.searchResultsPagesCount <= 5 || t < Math.ceil(this.searchResultsPagesCount / 2) ? this.searchResultsPage <= t + 1 : this.searchResultsPage >= t - 1) ?
|
|
3735
|
+
return (this.searchResultsPagesCount <= 5 || t < Math.ceil(this.searchResultsPagesCount / 2) ? this.searchResultsPage <= t + 1 : this.searchResultsPage >= t - 1) ? d("li", null, d("button", { class: ge("searchcraft-pagination-item", {
|
|
3736
3736
|
"searchcraft-pagination-item-active": this.searchResultsPage === t
|
|
3737
|
-
}), onClick: () => this.handleGoToPage(t), type: "button" }, t)) :
|
|
3737
|
+
}), onClick: () => this.handleGoToPage(t), type: "button" }, t)) : d("li", null, d("span", { class: "searchcraft-pagination-item" }, "..."));
|
|
3738
3738
|
}
|
|
3739
3739
|
renderMiddlePaginationItem() {
|
|
3740
3740
|
if (!(this.searchResultsPagesCount <= 3))
|
|
3741
|
-
return this.searchResultsPagesCount <= 5 || this.searchResultsPage <= 3 || this.searchResultsPage >= this.searchResultsPagesCount - 2 ?
|
|
3741
|
+
return this.searchResultsPagesCount <= 5 || this.searchResultsPage <= 3 || this.searchResultsPage >= this.searchResultsPagesCount - 2 ? d("li", null, d("button", { class: ge("searchcraft-pagination-item", {
|
|
3742
3742
|
"searchcraft-pagination-item-active": this.searchResultsPage === 3 || this.searchResultsPage === this.searchResultsPagesCount - 2
|
|
3743
|
-
}), type: "button", onClick: () => this.handleGoToPage(this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3) }, this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3)) :
|
|
3743
|
+
}), type: "button", onClick: () => this.handleGoToPage(this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3) }, this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3)) : d("li", null, d("span", { class: "searchcraft-pagination-item searchcraft-pagination-item-active" }, this.searchResultsPage));
|
|
3744
3744
|
}
|
|
3745
3745
|
render() {
|
|
3746
3746
|
const t = typeof this.searchClientRequestProperties == "string" && this.searchTerm.trim() === "";
|
|
3747
3747
|
if (!(!this.searchTerm && !t || this.searchResultsPagesCount <= 1))
|
|
3748
|
-
return
|
|
3748
|
+
return d("div", { class: "searchcraft-pagination" }, d("div", { class: "searchcraft-pagination-control" }, d("searchcraft-button", { disabled: this.searchResultsPage === 1, hierarchy: "tertiary", onButtonClick: () => this.handleGoToPage(Math.max(1, this.searchResultsPage - 1)), label: "Previous", iconPosition: "left", icon: d("svg", { class: "searchcraft-button-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, d("title", null, "Previous page icon"), d("path", { d: "M12.5 15L7.5 10L12.5 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), iconOnly: !0 })), d("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)), d("div", { class: "searchcraft-pagination-control" }, d("searchcraft-button", { disabled: this.searchResultsPage === this.searchResultsPagesCount, hierarchy: "tertiary", onButtonClick: () => {
|
|
3749
3749
|
this.handleGoToPage(Math.min(this.searchResultsPagesCount, this.searchResultsPage + 1));
|
|
3750
|
-
}, label: "Next", iconPosition: "right", icon:
|
|
3750
|
+
}, label: "Next", iconPosition: "right", icon: d("svg", { class: "searchcraft-button-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, d("title", null, "Next page icon"), d("path", { d: "M7.5 15L12.5 10L7.5 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), iconOnly: !0 })));
|
|
3751
3751
|
}
|
|
3752
3752
|
}, [768, "searchcraft-pagination", {
|
|
3753
3753
|
searchcraftId: [1, "searchcraft-id"],
|
|
@@ -3784,28 +3784,28 @@ const $c = Ac, Pc = /* @__PURE__ */ G(class extends j {
|
|
|
3784
3784
|
/**
|
|
3785
3785
|
* A callback function responsible for rendering the button contents.
|
|
3786
3786
|
*/
|
|
3787
|
-
|
|
3787
|
+
f(this, "template");
|
|
3788
3788
|
/**
|
|
3789
3789
|
* The type of popover button to render.
|
|
3790
3790
|
*/
|
|
3791
|
-
|
|
3791
|
+
f(this, "type");
|
|
3792
3792
|
/**
|
|
3793
3793
|
* The id of the Searchcraft instance that this component should use.
|
|
3794
3794
|
*/
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3795
|
+
f(this, "searchcraftId");
|
|
3796
|
+
f(this, "hotkey");
|
|
3797
|
+
f(this, "hotkeyModifier");
|
|
3798
|
+
f(this, "hotkeyModifierSymbol");
|
|
3799
|
+
f(this, "isPopoverVisible");
|
|
3800
|
+
f(this, "userAgent");
|
|
3801
|
+
f(this, "unsubscribe", () => {
|
|
3802
3802
|
});
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3803
|
+
f(this, "cleanupCore");
|
|
3804
|
+
f(this, "core");
|
|
3805
|
+
f(this, "renderOptionSymbol", () => d("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, d("title", null, "Option key"), d("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" }), d("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" })));
|
|
3806
|
+
f(this, "renderCtrlSymbol", () => d("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, d("title", null, "Ctrl key"), d("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" })));
|
|
3807
|
+
f(this, "renderWindowsMetaSymbol", () => d("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, d("title", null, "Windows meta key"), d("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" })));
|
|
3808
|
+
f(this, "renderMacMetaSymbol", () => d("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, d("title", null, "Mac meta key"), d("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" })));
|
|
3809
3809
|
t !== !1 && this.__registerHost();
|
|
3810
3810
|
}
|
|
3811
3811
|
onCoreAvailable(t) {
|
|
@@ -3849,20 +3849,20 @@ const $c = Ac, Pc = /* @__PURE__ */ G(class extends j {
|
|
|
3849
3849
|
}
|
|
3850
3850
|
}
|
|
3851
3851
|
renderSkeuomorphicSlot() {
|
|
3852
|
-
return
|
|
3852
|
+
return d("div", { class: "searchcraft-popover-button-wrapper" }, d("div", { class: "searchcraft-popover-button-input" }, d("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" }, d("title", null, "Search icon"), d("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" })), d("span", null, "Search")), d("div", { class: "searchcraft-popover-button-keycaps" }, d("div", { class: "searchcraft-popover-button-keycaps-keycap searchcraft-popover-button-keycaps-keycap-modifier" }, d("span", null, this.hotkeyModifierSymbol)), d("div", { class: "searchcraft-popover-button-keycaps-keycap searchcraft-popover-button-keycaps-keycap-key" }, d("span", null, this.hotkey))));
|
|
3853
3853
|
}
|
|
3854
3854
|
renderSlot() {
|
|
3855
3855
|
switch (this.type) {
|
|
3856
3856
|
case "skeuomorphic":
|
|
3857
3857
|
return this.renderSkeuomorphicSlot();
|
|
3858
3858
|
case "magnifying-glass":
|
|
3859
|
-
return
|
|
3859
|
+
return d("div", { class: "searchcraft-popover-button-input" }, d("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", "aria-hidden": "true" }, d("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" })));
|
|
3860
3860
|
default:
|
|
3861
|
-
return
|
|
3861
|
+
return d("div", null, d("slot", null));
|
|
3862
3862
|
}
|
|
3863
3863
|
}
|
|
3864
3864
|
render() {
|
|
3865
|
-
return
|
|
3865
|
+
return d("button", { key: "760f4f8d8daddaaadc0367e21b9efe23c4ef7c7d", "aria-label": this.type === "magnifying-glass" ? "Search" : void 0, class: `searchcraft-popover-button ${this.type ? ` searchcraft-popover-button-${this.type}` : ""}`, innerHTML: typeof this.template < "u" ? this.template({ isPopoverVisible: this.isPopoverVisible }, { html: pr }) : void 0, onClick: this.handleOnClick.bind(this), type: "button" }, typeof this.template < "u" ? void 0 : this.type ? this.renderSlot() : "Open Popover");
|
|
3866
3866
|
}
|
|
3867
3867
|
}, [772, "searchcraft-popover-button", {
|
|
3868
3868
|
template: [16],
|
|
@@ -3888,22 +3888,22 @@ function _c() {
|
|
|
3888
3888
|
const Ic = _c, Mc = Pn, Lc = /* @__PURE__ */ G(class extends j {
|
|
3889
3889
|
constructor(t) {
|
|
3890
3890
|
super();
|
|
3891
|
-
|
|
3892
|
-
|
|
3891
|
+
f(this, "item");
|
|
3892
|
+
f(this, "popoverResultMappings");
|
|
3893
3893
|
/** The document position relative to the search results (For Measure) */
|
|
3894
|
-
|
|
3894
|
+
f(this, "documentPosition", 0);
|
|
3895
3895
|
/**
|
|
3896
3896
|
* The id of the Searchcraft instance that this component should use.
|
|
3897
3897
|
*/
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3898
|
+
f(this, "searchcraftId");
|
|
3899
|
+
f(this, "title");
|
|
3900
|
+
f(this, "subtitle");
|
|
3901
|
+
f(this, "href");
|
|
3902
|
+
f(this, "imageSource");
|
|
3903
|
+
f(this, "imageAlt");
|
|
3904
|
+
f(this, "core");
|
|
3905
|
+
f(this, "cleanupCore");
|
|
3906
|
+
f(this, "handleLinkClick", () => {
|
|
3907
3907
|
var t;
|
|
3908
3908
|
if (this.core) {
|
|
3909
3909
|
const r = this.documentPosition, a = this.core.store.getState().searchTerm, n = this.core.store.getState().searchClientResponseItems.length || 0;
|
|
@@ -3931,7 +3931,7 @@ const Ic = _c, Mc = Pn, Lc = /* @__PURE__ */ G(class extends j {
|
|
|
3931
3931
|
(t = this.cleanupCore) == null || t.call(this);
|
|
3932
3932
|
}
|
|
3933
3933
|
render() {
|
|
3934
|
-
return
|
|
3934
|
+
return d("div", { key: "d1c9c310b8abc9d2370efb802eac1edf4189519d", class: "searchcraft-popover-list-item" }, d("a", { key: "30eb1a5076c5b4b95ae43147eaee0bb72ce46179", class: "searchcraft-popover-list-item-link", href: this.href, onClick: this.handleLinkClick.bind(this) }, this.imageSource && d("div", { key: "d18ff55823dc2c61f3786f423936af8b009aeeda", class: "searchcraft-popover-list-item-image-wrapper" }, d("img", { key: "56f4cc1d472f7da05e64fcf52c560a7ad0cdf7a6", alt: this.imageAlt, src: this.imageSource, class: "searchcraft-popover-list-item-image" })), d("div", { key: "78a0f0235d5e71d10076b70ccbaf4b58e0d6fea0", class: "searchcraft-popover-list-item-content" }, this.title && d("p", { key: "4489047af56e5aa295cb5f036e970dcad053d3b7", class: "searchcraft-popover-list-item-content-title" }, this.title), this.subtitle && d("p", { key: "4d177c227a1dbf1233022d738403c8eb93ba328d", class: "searchcraft-popover-list-item-content-subtitle" }, this.subtitle))));
|
|
3935
3935
|
}
|
|
3936
3936
|
}, [768, "searchcraft-popover-list-item", {
|
|
3937
3937
|
item: [16],
|
|
@@ -3961,21 +3961,21 @@ const Oc = /* @__PURE__ */ G(class extends j {
|
|
|
3961
3961
|
/**
|
|
3962
3962
|
* The id of the Searchcraft instance that this component should use.
|
|
3963
3963
|
*/
|
|
3964
|
-
|
|
3964
|
+
f(this, "searchcraftId");
|
|
3965
3965
|
/**
|
|
3966
3966
|
* The mappings that define how the data in the documents are mapped to the
|
|
3967
3967
|
* list-view-item elements.
|
|
3968
3968
|
*/
|
|
3969
|
-
|
|
3969
|
+
f(this, "popoverResultMappings");
|
|
3970
3970
|
/**
|
|
3971
3971
|
* The items to render in the list view.
|
|
3972
3972
|
*/
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3973
|
+
f(this, "searchClientResponseItems");
|
|
3974
|
+
f(this, "adClientResponseItems");
|
|
3975
|
+
f(this, "searchResultsPage");
|
|
3976
|
+
f(this, "searchResultsPerPage");
|
|
3977
|
+
f(this, "config");
|
|
3978
|
+
f(this, "cleanupCore");
|
|
3979
3979
|
t !== !1 && this.__registerHost();
|
|
3980
3980
|
}
|
|
3981
3981
|
onCoreAvailable(t) {
|
|
@@ -3990,41 +3990,41 @@ const Oc = /* @__PURE__ */ G(class extends j {
|
|
|
3990
3990
|
}
|
|
3991
3991
|
renderWithADMAds() {
|
|
3992
3992
|
var t, r;
|
|
3993
|
-
return
|
|
3993
|
+
return d("div", { class: "searchcraft-popover-list-view" }, (t = this.adClientResponseItems) == null ? void 0 : t.map((a) => d("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adClientResponseItem: a, adSource: "adMarketplace", key: a.id, renderPosition: "top" })), (r = this.searchClientResponseItems) == null ? void 0 : r.map((a, n) => d("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: a, key: a.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + n })));
|
|
3994
3994
|
}
|
|
3995
3995
|
renderWithCustomAds() {
|
|
3996
3996
|
var u, i, h, g, p, y, w, S;
|
|
3997
3997
|
const t = [], r = ((i = (u = this.config) == null ? void 0 : u.customAdConfig) == null ? void 0 : i.adInterstitialInterval) || 0, a = ((g = (h = this.config) == null ? void 0 : h.customAdConfig) == null ? void 0 : g.adInterstitialQuantity) || 1, n = ((y = (p = this.config) == null ? void 0 : p.customAdConfig) == null ? void 0 : y.adStartQuantity) || 0, o = ((S = (w = this.config) == null ? void 0 : w.customAdConfig) == null ? void 0 : S.adEndQuantity) || 0, c = this.searchClientResponseItems || [];
|
|
3998
3998
|
for (let C = 0; C < n; C++)
|
|
3999
|
-
t.push(
|
|
3999
|
+
t.push(d("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${C}-ad`, renderPosition: "top" }));
|
|
4000
4000
|
c.forEach((C, I) => {
|
|
4001
4001
|
if (r && I % r === 0 && I + r < c.length && I >= r)
|
|
4002
4002
|
for (let E = 0; E < a; E++)
|
|
4003
|
-
t.push(
|
|
4004
|
-
t.push(
|
|
4003
|
+
t.push(d("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${C.id}-ad-${E}`, renderPosition: "interstitial" }));
|
|
4004
|
+
t.push(d("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: C, key: C.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + I }));
|
|
4005
4005
|
});
|
|
4006
4006
|
for (let C = 0; C < o; C++)
|
|
4007
|
-
t.push(
|
|
4008
|
-
return
|
|
4007
|
+
t.push(d("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${C}-ad`, renderPosition: "bottom" }));
|
|
4008
|
+
return d("div", { class: "searchcraft-popover-list-view" }, t);
|
|
4009
4009
|
}
|
|
4010
4010
|
renderWithNativoAds() {
|
|
4011
4011
|
var i, h, g, p, y, w, S, C, I, E;
|
|
4012
4012
|
const t = [], r = ((h = (i = this.config) == null ? void 0 : i.nativoConfig) == null ? void 0 : h.adInterstialStartIndex) || 0, a = ((p = (g = this.config) == null ? void 0 : g.nativoConfig) == null ? void 0 : p.adInterstitialInterval) || 0, n = ((w = (y = this.config) == null ? void 0 : y.nativoConfig) == null ? void 0 : w.adInterstitialQuantity) || 1, o = ((C = (S = this.config) == null ? void 0 : S.nativoConfig) == null ? void 0 : C.adStartQuantity) || 0, c = ((E = (I = this.config) == null ? void 0 : I.nativoConfig) == null ? void 0 : E.adEndQuantity) || 0, u = this.searchClientResponseItems || [];
|
|
4013
4013
|
for (let k = 0; k < o; k++)
|
|
4014
|
-
t.push(
|
|
4014
|
+
t.push(d("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${k}-ad`, renderPosition: "top" }));
|
|
4015
4015
|
u.forEach((k, x) => {
|
|
4016
4016
|
if (a && (x + r) % a === 0 && x + a < u.length && x >= a)
|
|
4017
4017
|
for (let F = 0; F < n; F++)
|
|
4018
|
-
t.push(
|
|
4019
|
-
t.push(
|
|
4018
|
+
t.push(d("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${k.id}-ad-${F}`, renderPosition: "interstitial" }));
|
|
4019
|
+
t.push(d("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: k, key: k.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + x }));
|
|
4020
4020
|
});
|
|
4021
4021
|
for (let k = 0; k < c; k++)
|
|
4022
|
-
t.push(
|
|
4023
|
-
return
|
|
4022
|
+
t.push(d("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${k}-ad`, renderPosition: "bottom" }));
|
|
4023
|
+
return d("div", { class: "searchcraft-popover-list-view" }, t);
|
|
4024
4024
|
}
|
|
4025
4025
|
renderWithNoAds() {
|
|
4026
4026
|
var t;
|
|
4027
|
-
return
|
|
4027
|
+
return d("div", { class: "searchcraft-popover-list-view" }, (t = this.searchClientResponseItems) == null ? void 0 : t.map((r, a) => d("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: r, key: r.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + a })));
|
|
4028
4028
|
}
|
|
4029
4029
|
render() {
|
|
4030
4030
|
var t, r, a;
|
|
@@ -4204,7 +4204,7 @@ var le = {
|
|
|
4204
4204
|
tag: ll,
|
|
4205
4205
|
text: Xc,
|
|
4206
4206
|
url: ur
|
|
4207
|
-
},
|
|
4207
|
+
}, fl = {
|
|
4208
4208
|
...na,
|
|
4209
4209
|
link: H(/^!?\[(label)\]\((.*?)\)/).replace("label", Lr).getRegex(),
|
|
4210
4210
|
reflink: H(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", Lr).getRegex()
|
|
@@ -4216,7 +4216,7 @@ var le = {
|
|
|
4216
4216
|
_backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
|
|
4217
4217
|
del: /^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,
|
|
4218
4218
|
text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
|
|
4219
|
-
},
|
|
4219
|
+
}, dl = {
|
|
4220
4220
|
...Ns,
|
|
4221
4221
|
br: H(Bn).replace("{2,}", "*").getRegex(),
|
|
4222
4222
|
text: H(Ns.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
|
|
@@ -4227,8 +4227,8 @@ var le = {
|
|
|
4227
4227
|
}, ir = {
|
|
4228
4228
|
normal: na,
|
|
4229
4229
|
gfm: Ns,
|
|
4230
|
-
breaks:
|
|
4231
|
-
pedantic:
|
|
4230
|
+
breaks: dl,
|
|
4231
|
+
pedantic: fl
|
|
4232
4232
|
}, pl = {
|
|
4233
4233
|
"&": "&",
|
|
4234
4234
|
"<": "<",
|
|
@@ -4322,10 +4322,10 @@ function gl(s, e, t) {
|
|
|
4322
4322
|
var Or = class {
|
|
4323
4323
|
// set by the lexer
|
|
4324
4324
|
constructor(s) {
|
|
4325
|
-
|
|
4326
|
-
|
|
4325
|
+
f(this, "options");
|
|
4326
|
+
f(this, "rules");
|
|
4327
4327
|
// set by the lexer
|
|
4328
|
-
|
|
4328
|
+
f(this, "lexer");
|
|
4329
4329
|
this.options = s || kt;
|
|
4330
4330
|
}
|
|
4331
4331
|
space(s) {
|
|
@@ -4803,11 +4803,11 @@ ${h}` : h;
|
|
|
4803
4803
|
}
|
|
4804
4804
|
}, Xe = class zs {
|
|
4805
4805
|
constructor(e) {
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4806
|
+
f(this, "tokens");
|
|
4807
|
+
f(this, "options");
|
|
4808
|
+
f(this, "state");
|
|
4809
|
+
f(this, "tokenizer");
|
|
4810
|
+
f(this, "inlineQueue");
|
|
4811
4811
|
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || kt, this.options.tokenizer = this.options.tokenizer || new Or(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
|
|
4812
4812
|
inLink: !1,
|
|
4813
4813
|
inRawBlock: !1,
|
|
@@ -5048,8 +5048,8 @@ ${h}` : h;
|
|
|
5048
5048
|
}, Fr = class {
|
|
5049
5049
|
// set by the parser
|
|
5050
5050
|
constructor(s) {
|
|
5051
|
-
|
|
5052
|
-
|
|
5051
|
+
f(this, "options");
|
|
5052
|
+
f(this, "parser");
|
|
5053
5053
|
this.options = s || kt;
|
|
5054
5054
|
}
|
|
5055
5055
|
space(s) {
|
|
@@ -5211,9 +5211,9 @@ ${s}</tr>
|
|
|
5211
5211
|
}
|
|
5212
5212
|
}, Ke = class Us {
|
|
5213
5213
|
constructor(e) {
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5214
|
+
f(this, "options");
|
|
5215
|
+
f(this, "renderer");
|
|
5216
|
+
f(this, "textRenderer");
|
|
5217
5217
|
this.options = e || kt, this.options.renderer = this.options.renderer || new Fr(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new oa();
|
|
5218
5218
|
}
|
|
5219
5219
|
/**
|
|
@@ -5373,8 +5373,8 @@ ${s}</tr>
|
|
|
5373
5373
|
}
|
|
5374
5374
|
}, ws, Pr = (ws = class {
|
|
5375
5375
|
constructor(s) {
|
|
5376
|
-
|
|
5377
|
-
|
|
5376
|
+
f(this, "options");
|
|
5377
|
+
f(this, "block");
|
|
5378
5378
|
this.options = s || kt;
|
|
5379
5379
|
}
|
|
5380
5380
|
/**
|
|
@@ -5407,22 +5407,22 @@ ${s}</tr>
|
|
|
5407
5407
|
provideParser() {
|
|
5408
5408
|
return this.block ? Ke.parse : Ke.parseInline;
|
|
5409
5409
|
}
|
|
5410
|
-
},
|
|
5410
|
+
}, f(ws, "passThroughHooks", /* @__PURE__ */ new Set([
|
|
5411
5411
|
"preprocess",
|
|
5412
5412
|
"postprocess",
|
|
5413
5413
|
"processAllTokens"
|
|
5414
5414
|
])), ws), bl = class {
|
|
5415
5415
|
constructor(...s) {
|
|
5416
|
-
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5416
|
+
f(this, "defaults", Zs());
|
|
5417
|
+
f(this, "options", this.setOptions);
|
|
5418
|
+
f(this, "parse", this.parseMarkdown(!0));
|
|
5419
|
+
f(this, "parseInline", this.parseMarkdown(!1));
|
|
5420
|
+
f(this, "Parser", Ke);
|
|
5421
|
+
f(this, "Renderer", Fr);
|
|
5422
|
+
f(this, "TextRenderer", oa);
|
|
5423
|
+
f(this, "Lexer", Xe);
|
|
5424
|
+
f(this, "Tokenizer", Or);
|
|
5425
|
+
f(this, "Hooks", Pr);
|
|
5426
5426
|
this.use(...s);
|
|
5427
5427
|
}
|
|
5428
5428
|
/**
|
|
@@ -5614,20 +5614,20 @@ const vl = /* @__PURE__ */ G(class extends j {
|
|
|
5614
5614
|
/**
|
|
5615
5615
|
* The id of the Searchcraft instance that this component should use.
|
|
5616
5616
|
*/
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5617
|
+
f(this, "searchcraftId");
|
|
5618
|
+
f(this, "summary", "");
|
|
5619
|
+
f(this, "summaryErrorMessage", "");
|
|
5620
|
+
f(this, "isLoading", !1);
|
|
5621
|
+
f(this, "isSummaryNotEnabled", !1);
|
|
5622
|
+
f(this, "unsubscribe");
|
|
5623
|
+
f(this, "cleanupCore");
|
|
5624
5624
|
t !== !1 && this.__registerHost();
|
|
5625
5625
|
}
|
|
5626
5626
|
/**
|
|
5627
|
-
|
|
5628
|
-
|
|
5627
|
+
* Callback invoked when the Searchcraft core instance is available.
|
|
5628
|
+
*/
|
|
5629
5629
|
onCoreAvailable(t) {
|
|
5630
|
-
t.store.setState({ hasSummaryBox: !0 }), this.unsubscribe = t.store.subscribe(this.handleStateChange.bind(this));
|
|
5630
|
+
t.store.setState({ hasSummaryBox: !0 }), this.handleStateChange(t.store.getState()), this.unsubscribe = t.store.subscribe(this.handleStateChange.bind(this));
|
|
5631
5631
|
}
|
|
5632
5632
|
connectedCallback() {
|
|
5633
5633
|
this.cleanupCore = ee.useCoreInstance(this.searchcraftId, this.onCoreAvailable.bind(this));
|
|
@@ -5652,10 +5652,10 @@ const vl = /* @__PURE__ */ G(class extends j {
|
|
|
5652
5652
|
* Renders the appropriate content based on current state.
|
|
5653
5653
|
*/
|
|
5654
5654
|
renderContent() {
|
|
5655
|
-
return this.isLoading ?
|
|
5655
|
+
return this.isLoading ? d("searchcraft-loading", { label: "LOADING" }) : this.isSummaryNotEnabled ? d("div", { class: "searchcraft-results-summary-content" }, this.summaryErrorMessage || "AI summaries are not enabled") : d("div", { class: "searchcraft-results-summary-content", innerHTML: this.summary, "aria-live": "polite" });
|
|
5656
5656
|
}
|
|
5657
5657
|
render() {
|
|
5658
|
-
return
|
|
5658
|
+
return d("div", { key: "aca6fe712c108fd3cb886be7dacfb763d2df8a92", class: "searchcraft-results-summary" }, this.renderContent());
|
|
5659
5659
|
}
|
|
5660
5660
|
}, [768, "searchcraft-results-summary", {
|
|
5661
5661
|
searchcraftId: [1, "searchcraft-id"],
|
|
@@ -5687,75 +5687,75 @@ const yl = /* @__PURE__ */ G(class extends j {
|
|
|
5687
5687
|
* - `fullscreen` - Renders in fullscreen view. Used together with the `searchcraft-popover-button` component.
|
|
5688
5688
|
* - `modal` - Renders in a modal view. Used together with the `searchcraft-popover-button` component.
|
|
5689
5689
|
*/
|
|
5690
|
-
|
|
5690
|
+
f(this, "type", "inline");
|
|
5691
5691
|
/**
|
|
5692
5692
|
* Formats the content rendered for each result.
|
|
5693
5693
|
*/
|
|
5694
|
-
|
|
5694
|
+
f(this, "popoverResultMappings");
|
|
5695
5695
|
/**
|
|
5696
5696
|
* The hotkey that activates the popover.
|
|
5697
5697
|
*/
|
|
5698
|
-
|
|
5698
|
+
f(this, "hotkey", "k");
|
|
5699
5699
|
/**
|
|
5700
5700
|
* The hotkey modifier that activates the popover. Used together with the `hotkey` prop.
|
|
5701
5701
|
*/
|
|
5702
|
-
|
|
5702
|
+
f(this, "hotkeyModifier", "meta");
|
|
5703
5703
|
/**
|
|
5704
5704
|
* The id of the Searchcraft instance that this component should use.
|
|
5705
5705
|
*/
|
|
5706
|
-
|
|
5706
|
+
f(this, "searchcraftId");
|
|
5707
5707
|
/**
|
|
5708
5708
|
* The input element's placeholder value.
|
|
5709
5709
|
*/
|
|
5710
|
-
|
|
5710
|
+
f(this, "placeholderValue", "Enter Search");
|
|
5711
5711
|
/**
|
|
5712
5712
|
* The placeholder's render behavior.
|
|
5713
5713
|
* 'hide-on-focus' - Hide the placeholder text immediately when the input form gains focus.
|
|
5714
5714
|
* 'hide-on-text-entered' - Only hide the placeholder when the input form has text entered into it.
|
|
5715
5715
|
*/
|
|
5716
|
-
|
|
5716
|
+
f(this, "placeholderBehavior");
|
|
5717
5717
|
/**
|
|
5718
5718
|
* Base URL for the "View all" footer link. The current search term will be appended (URL encoded).
|
|
5719
5719
|
*
|
|
5720
5720
|
* For example, in a CMS-backed site you might set this to `/?s=` so the final URL becomes `/?s=<search-term>`.
|
|
5721
5721
|
*/
|
|
5722
|
-
|
|
5722
|
+
f(this, "viewAllResultsBaseUrl");
|
|
5723
5723
|
/**
|
|
5724
5724
|
* Optional label for the "View All" footer button. Defaults to "View All".
|
|
5725
5725
|
*/
|
|
5726
|
-
|
|
5726
|
+
f(this, "viewAllResultsLabel");
|
|
5727
5727
|
/**
|
|
5728
5728
|
* Whether to display the AI generative summary box before the search results.
|
|
5729
5729
|
* NOTE: This requires the usage of a read key that has "SUMMARY" permissions and either a subscription to Searchcraft Cloud with AI features enabled or a self-hosted model connected.
|
|
5730
5730
|
*/
|
|
5731
|
-
|
|
5731
|
+
f(this, "showSummaryBox", !1);
|
|
5732
5732
|
/**
|
|
5733
5733
|
* The SDK variant used to render this component. Used for UTM attribution on the footer link.
|
|
5734
5734
|
*
|
|
5735
5735
|
* @internal
|
|
5736
5736
|
*/
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5737
|
+
f(this, "sdkVariant", "js");
|
|
5738
|
+
f(this, "isPopoverVisibleInState", !1);
|
|
5739
|
+
f(this, "searchClientResponseItems", []);
|
|
5740
|
+
f(this, "adClientResponseItems", []);
|
|
5741
|
+
f(this, "searchTerm");
|
|
5742
|
+
f(this, "isFocused", !1);
|
|
5743
|
+
f(this, "breakpointSm", 576);
|
|
5744
|
+
f(this, "breakpointMd", 768);
|
|
5745
|
+
f(this, "breakpointLg", 992);
|
|
5746
|
+
f(this, "searchResultsPage");
|
|
5747
|
+
f(this, "searchResultsPerPage");
|
|
5748
|
+
f(this, "modalElement");
|
|
5749
|
+
f(this, "unsubscribe");
|
|
5750
|
+
f(this, "cleanupCore");
|
|
5751
|
+
f(this, "core");
|
|
5752
|
+
f(this, "handleDocumentClick", (t) => {
|
|
5753
5753
|
this.hostElement.contains(t.target) || (this.isFocused = !1);
|
|
5754
5754
|
});
|
|
5755
5755
|
/**
|
|
5756
5756
|
* Actions to perform when various keys are pressed within the popover form.
|
|
5757
5757
|
*/
|
|
5758
|
-
|
|
5758
|
+
f(this, "handleDocumentKeyDown", (t) => {
|
|
5759
5759
|
var r;
|
|
5760
5760
|
if (t.key === this.hotkey && this.handleHotkeyPressed(t), !!this.hostElement.contains(document.activeElement))
|
|
5761
5761
|
switch (t.key) {
|
|
@@ -5773,7 +5773,7 @@ const yl = /* @__PURE__ */ G(class extends j {
|
|
|
5773
5773
|
return;
|
|
5774
5774
|
}
|
|
5775
5775
|
});
|
|
5776
|
-
|
|
5776
|
+
f(this, "handleInputInit", () => {
|
|
5777
5777
|
const t = this.hostElement.querySelector(".searchcraft-input-form-input");
|
|
5778
5778
|
t == null || t.focus();
|
|
5779
5779
|
});
|
|
@@ -5873,21 +5873,21 @@ const yl = /* @__PURE__ */ G(class extends j {
|
|
|
5873
5873
|
}
|
|
5874
5874
|
renderInlinePopover() {
|
|
5875
5875
|
const t = this.hasResultsToShow && this.isFocused;
|
|
5876
|
-
return
|
|
5876
|
+
return d("div", { class: ge("searchcraft-popover-form searchcraft-popover-form-inline", {
|
|
5877
5877
|
"searchcraft-popover-form-active": t
|
|
5878
|
-
}) },
|
|
5878
|
+
}) }, d("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-inline-input" }, d("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), searchcraftId: this.searchcraftId, placeholderValue: this.placeholderValue, placeholderBehavior: this.placeholderBehavior })), t && d("div", { class: "searchcraft-popover-form-inline-wrapper" }, d("div", { class: "searchcraft-popover-form-inline-scroll-area" }, this.showSummaryBox && d("searchcraft-results-summary", { searchcraftId: this.searchcraftId }), d("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage, searchcraftId: this.searchcraftId })), d("searchcraft-popover-footer", { searchcraftId: this.searchcraftId, sdkVariant: this.sdkVariant, viewAllResultsHref: this.viewAllResultsHref, viewAllResultsLabel: this.resolvedViewAllResultsLabel })));
|
|
5879
5879
|
}
|
|
5880
5880
|
renderModalPopover() {
|
|
5881
5881
|
if (this.isPopoverVisibleInState)
|
|
5882
|
-
return
|
|
5882
|
+
return d("div", { class: ge("searchcraft-popover-form searchcraft-popover-form-modal", {
|
|
5883
5883
|
"searchcraft-popover-form-active": this.hasResultsToShow
|
|
5884
|
-
}) },
|
|
5884
|
+
}) }, d("div", { class: "searchcraft-popover-form-modal-backdrop", onClick: this.handleModalBackdropClick }), d("div", { class: "searchcraft-popover-form-modal-wrapper" }, d("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-modal-input" }, d("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), onInputInit: this.handleInputInit.bind(this), searchcraftId: this.searchcraftId, placeholderValue: this.placeholderValue, placeholderBehavior: this.placeholderBehavior }), d("button", { type: "button", class: "searchcraft-popover-form-cancel-button searchcraft-popover-form-modal-cancel-button", onClick: this.handleCancelButtonClick.bind(this) }, "Cancel")), d("div", { class: "searchcraft-popover-form-modal-popover-list-view" }, this.showSummaryBox && this.hasResultsToShow && d("searchcraft-results-summary", { searchcraftId: this.searchcraftId }), this.hasResultsToShow && d("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage, searchcraftId: this.searchcraftId })), d("searchcraft-popover-footer", { searchcraftId: this.searchcraftId, sdkVariant: this.sdkVariant, viewAllResultsHref: this.viewAllResultsHref, viewAllResultsLabel: this.resolvedViewAllResultsLabel })));
|
|
5885
5885
|
}
|
|
5886
5886
|
renderFullscreenPopover() {
|
|
5887
5887
|
if (this.isPopoverVisibleInState)
|
|
5888
|
-
return
|
|
5888
|
+
return d("div", { class: ge("searchcraft-popover-form searchcraft-popover-form-fullscreen", {
|
|
5889
5889
|
"searchcraft-popover-form-active": this.hasResultsToShow
|
|
5890
|
-
}) },
|
|
5890
|
+
}) }, d("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-fullscreen-input" }, d("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), onInputInit: this.handleInputInit.bind(this), searchcraftId: this.searchcraftId, placeholderValue: this.placeholderValue, placeholderBehavior: this.placeholderBehavior }), d("button", { type: "button", class: "searchcraft-popover-form-cancel-button searchcraft-popover-form-fullscreen-cancel-button", onClick: this.handleCancelButtonClick.bind(this) }, "Cancel")), d("div", { class: "searchcraft-popover-form-fullscreen-popover-list-view" }, this.showSummaryBox && this.hasResultsToShow && d("searchcraft-results-summary", { searchcraftId: this.searchcraftId }), this.hasResultsToShow && d("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage, searchcraftId: this.searchcraftId })), d("searchcraft-popover-footer", { searchcraftId: this.searchcraftId, sdkVariant: this.sdkVariant, viewAllResultsHref: this.viewAllResultsHref, viewAllResultsLabel: this.resolvedViewAllResultsLabel }));
|
|
5891
5891
|
}
|
|
5892
5892
|
render() {
|
|
5893
5893
|
switch (this.type) {
|
|
@@ -5973,24 +5973,24 @@ const wl = Qn, kl = Ks, Sl = Fn, xl = /* @__PURE__ */ G(class extends j {
|
|
|
5973
5973
|
/**
|
|
5974
5974
|
* A callback function responsible for rendering the results info.
|
|
5975
5975
|
*/
|
|
5976
|
-
|
|
5976
|
+
f(this, "template");
|
|
5977
5977
|
/**
|
|
5978
5978
|
* The id of the Searchcraft instance that this component should use.
|
|
5979
5979
|
*/
|
|
5980
|
-
|
|
5980
|
+
f(this, "searchcraftId");
|
|
5981
5981
|
// store vars
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
|
|
5982
|
+
f(this, "searchTerm");
|
|
5983
|
+
f(this, "searchResultsPage");
|
|
5984
|
+
f(this, "searchResultsPerPage");
|
|
5985
|
+
f(this, "searchResultsCount");
|
|
5986
|
+
f(this, "searchClientRequestProperties");
|
|
5987
5987
|
// local vars
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
|
|
5988
|
+
f(this, "count", 0);
|
|
5989
|
+
f(this, "range", [0, 0]);
|
|
5990
|
+
f(this, "responseTime", "0");
|
|
5991
|
+
f(this, "unsubscribe", () => {
|
|
5992
5992
|
});
|
|
5993
|
-
|
|
5993
|
+
f(this, "cleanupCore");
|
|
5994
5994
|
t !== !1 && this.__registerHost();
|
|
5995
5995
|
}
|
|
5996
5996
|
onCoreAvailable(t) {
|
|
@@ -6007,7 +6007,7 @@ const wl = Qn, kl = Ks, Sl = Fn, xl = /* @__PURE__ */ G(class extends j {
|
|
|
6007
6007
|
}
|
|
6008
6008
|
render() {
|
|
6009
6009
|
const t = typeof this.searchClientRequestProperties == "string" && this.searchTerm.trim() === "";
|
|
6010
|
-
return !this.searchTerm && !t || this.searchResultsCount === 0 ? null :
|
|
6010
|
+
return !this.searchTerm && !t || this.searchResultsCount === 0 ? null : d("p", { class: "searchcraft-results-info" }, typeof this.template < "u" ? this.template({
|
|
6011
6011
|
range: [Number(this.range[0]), Number(this.range[1])],
|
|
6012
6012
|
count: this.count,
|
|
6013
6013
|
responseTime: this.responseTime
|
|
@@ -6039,27 +6039,27 @@ function Cl() {
|
|
|
6039
6039
|
const Rl = Cl, Tl = Yn, El = /* @__PURE__ */ G(class extends j {
|
|
6040
6040
|
constructor(t) {
|
|
6041
6041
|
super();
|
|
6042
|
-
|
|
6042
|
+
f(this, "item");
|
|
6043
6043
|
/**
|
|
6044
6044
|
* The index.
|
|
6045
6045
|
*/
|
|
6046
|
-
|
|
6046
|
+
f(this, "index");
|
|
6047
6047
|
/**
|
|
6048
6048
|
* The position in the document. Used with the "document_clicked" measure event.
|
|
6049
6049
|
*/
|
|
6050
|
-
|
|
6050
|
+
f(this, "documentPosition", 0);
|
|
6051
6051
|
/**
|
|
6052
6052
|
* A callback function responsible for rendering a result.
|
|
6053
6053
|
*/
|
|
6054
|
-
|
|
6054
|
+
f(this, "template");
|
|
6055
6055
|
/**
|
|
6056
6056
|
* The id of the Searchcraft instance that this component should use.
|
|
6057
6057
|
*/
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6061
|
-
|
|
6062
|
-
|
|
6058
|
+
f(this, "searchcraftId");
|
|
6059
|
+
f(this, "templateHtml");
|
|
6060
|
+
f(this, "core");
|
|
6061
|
+
f(this, "cleanupCore");
|
|
6062
|
+
f(this, "handleResultContainerClick", (t) => {
|
|
6063
6063
|
var u;
|
|
6064
6064
|
if (!t.target)
|
|
6065
6065
|
return;
|
|
@@ -6073,7 +6073,7 @@ const Rl = Cl, Tl = Yn, El = /* @__PURE__ */ G(class extends j {
|
|
|
6073
6073
|
search_term: o
|
|
6074
6074
|
});
|
|
6075
6075
|
});
|
|
6076
|
-
|
|
6076
|
+
f(this, "handleKeyDown", () => {
|
|
6077
6077
|
});
|
|
6078
6078
|
t !== !1 && this.__registerHost();
|
|
6079
6079
|
}
|
|
@@ -6101,7 +6101,7 @@ const Rl = Cl, Tl = Yn, El = /* @__PURE__ */ G(class extends j {
|
|
|
6101
6101
|
}
|
|
6102
6102
|
render() {
|
|
6103
6103
|
if (this.item)
|
|
6104
|
-
return typeof this.template > "u" ?
|
|
6104
|
+
return typeof this.template > "u" ? d("div", { class: "searchcraft-search-result searchcraft-search-result-no-template", onClick: this.handleResultContainerClick, onKeyDown: this.handleKeyDown }, Object.entries(this.item.document).map(([t, r]) => d("p", { key: t }, d("strong", null, t), ": ", r))) : d("div", { class: "searchcraft-search-result", innerHTML: this.templateHtml, onClick: this.handleResultContainerClick, onKeyDown: this.handleKeyDown });
|
|
6105
6105
|
}
|
|
6106
6106
|
}, [768, "searchcraft-search-result", {
|
|
6107
6107
|
item: [16],
|
|
@@ -6128,24 +6128,24 @@ const Al = Xn, $l = /* @__PURE__ */ G(class extends j {
|
|
|
6128
6128
|
/**
|
|
6129
6129
|
* The id of the Searchcraft instance that this component should use.
|
|
6130
6130
|
*/
|
|
6131
|
-
|
|
6131
|
+
f(this, "searchcraftId");
|
|
6132
6132
|
/**
|
|
6133
6133
|
* A query that will appears when the component initializes or the search term is ''..
|
|
6134
6134
|
*/
|
|
6135
|
-
|
|
6135
|
+
f(this, "initialQuery");
|
|
6136
6136
|
/**
|
|
6137
6137
|
* A callback function responsible for rendering a result. Passed to `searchcraft-search-result`.
|
|
6138
6138
|
*/
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6139
|
+
f(this, "template");
|
|
6140
|
+
f(this, "adClientResponseItems", []);
|
|
6141
|
+
f(this, "config");
|
|
6142
|
+
f(this, "isSearchInProgress", !0);
|
|
6143
|
+
f(this, "searchClientResponseItems");
|
|
6144
|
+
f(this, "searchResultsPage");
|
|
6145
|
+
f(this, "searchResultsPerPage");
|
|
6146
|
+
f(this, "searchTerm", "");
|
|
6147
|
+
f(this, "unsubscribe");
|
|
6148
|
+
f(this, "cleanupCore");
|
|
6149
6149
|
t !== !1 && this.__registerHost();
|
|
6150
6150
|
}
|
|
6151
6151
|
onCoreAvailable(t) {
|
|
@@ -6165,49 +6165,49 @@ const Al = Xn, $l = /* @__PURE__ */ G(class extends j {
|
|
|
6165
6165
|
this.adClientResponseItems = [...t.adClientResponseItems], this.config = (r = t.core) == null ? void 0 : r.config, this.isSearchInProgress = t.isSearchInProgress, this.searchClientResponseItems = [...t.searchClientResponseItems], this.searchResultsPage = t.searchResultsPage, this.searchResultsPerPage = t.searchResultsPerPage, this.searchTerm = t.searchTerm;
|
|
6166
6166
|
}
|
|
6167
6167
|
renderEmptyState() {
|
|
6168
|
-
return
|
|
6168
|
+
return d("div", { class: "searchcraft-search-results-empty-state" }, d("slot", { name: "empty-search" }));
|
|
6169
6169
|
}
|
|
6170
6170
|
renderNoResultsFoundState() {
|
|
6171
|
-
return
|
|
6171
|
+
return d("div", { class: "searchcraft-search-results" }, d("div", { class: "searchcraft-search-results-error-message" }, d("searchcraft-error-message", null, 'No search results found for "', this.searchTerm, '" query.')));
|
|
6172
6172
|
}
|
|
6173
6173
|
renderWithADMAds() {
|
|
6174
6174
|
var r;
|
|
6175
6175
|
const t = this.searchClientResponseItems || [];
|
|
6176
|
-
return
|
|
6176
|
+
return d("div", { class: "searchcraft-search-results" }, (r = this.adClientResponseItems) == null ? void 0 : r.map((a) => d("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "adMarketplace", adClientResponseItem: a, key: a.id, renderPosition: "top" })), t.map((a, n) => d("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: a.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + n, index: n, item: a, template: this.template })));
|
|
6177
6177
|
}
|
|
6178
6178
|
renderWithCustomAds() {
|
|
6179
6179
|
var u, i, h, g, p, y, w, S;
|
|
6180
6180
|
const t = [], r = ((i = (u = this.config) == null ? void 0 : u.customAdConfig) == null ? void 0 : i.adInterstitialInterval) || 0, a = ((g = (h = this.config) == null ? void 0 : h.customAdConfig) == null ? void 0 : g.adInterstitialQuantity) || 1, n = ((y = (p = this.config) == null ? void 0 : p.customAdConfig) == null ? void 0 : y.adStartQuantity) || 0, o = ((S = (w = this.config) == null ? void 0 : w.customAdConfig) == null ? void 0 : S.adEndQuantity) || 0, c = this.searchClientResponseItems || [];
|
|
6181
6181
|
for (let C = 0; C < n; C++)
|
|
6182
|
-
t.push(
|
|
6182
|
+
t.push(d("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${C}-ad`, renderPosition: "top" }));
|
|
6183
6183
|
c.forEach((C, I) => {
|
|
6184
6184
|
if (r && I % r === 0 && I + r < c.length && I >= r)
|
|
6185
6185
|
for (let E = 0; E < a; E++)
|
|
6186
|
-
t.push(
|
|
6187
|
-
t.push(
|
|
6186
|
+
t.push(d("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${C.id}-ad-${E}`, renderPosition: "interstitial" }));
|
|
6187
|
+
t.push(d("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: C.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + I, index: I, item: C, template: this.template }));
|
|
6188
6188
|
});
|
|
6189
6189
|
for (let C = 0; C < o; C++)
|
|
6190
|
-
t.push(
|
|
6191
|
-
return
|
|
6190
|
+
t.push(d("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${C}-ad`, renderPosition: "bottom" }));
|
|
6191
|
+
return d("div", { class: "searchcraft-search-results" }, t);
|
|
6192
6192
|
}
|
|
6193
6193
|
renderWithNativoAds() {
|
|
6194
6194
|
var i, h, g, p, y, w, S, C, I, E;
|
|
6195
6195
|
const t = [], r = ((h = (i = this.config) == null ? void 0 : i.nativoConfig) == null ? void 0 : h.adInterstialStartIndex) || 0, a = ((p = (g = this.config) == null ? void 0 : g.nativoConfig) == null ? void 0 : p.adInterstitialInterval) || 0, n = ((w = (y = this.config) == null ? void 0 : y.nativoConfig) == null ? void 0 : w.adInterstitialQuantity) || 1, o = ((C = (S = this.config) == null ? void 0 : S.nativoConfig) == null ? void 0 : C.adStartQuantity) || 0, c = ((E = (I = this.config) == null ? void 0 : I.nativoConfig) == null ? void 0 : E.adEndQuantity) || 0, u = this.searchClientResponseItems || [];
|
|
6196
6196
|
for (let k = 0; k < o; k++)
|
|
6197
|
-
t.push(
|
|
6197
|
+
t.push(d("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${k}-ad`, renderPosition: "top" }));
|
|
6198
6198
|
u.forEach((k, x) => {
|
|
6199
6199
|
if (a && (x + r) % a === 0 && x + a < u.length && x >= a)
|
|
6200
6200
|
for (let F = 0; F < n; F++)
|
|
6201
|
-
t.push(
|
|
6202
|
-
t.push(
|
|
6201
|
+
t.push(d("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${k.id}-ad-${F}`, renderPosition: "interstitial" }));
|
|
6202
|
+
t.push(d("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: k.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + x, index: x, item: k, template: this.template }));
|
|
6203
6203
|
});
|
|
6204
6204
|
for (let k = 0; k < c; k++)
|
|
6205
|
-
t.push(
|
|
6206
|
-
return
|
|
6205
|
+
t.push(d("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${k}-ad`, renderPosition: "bottom" }));
|
|
6206
|
+
return d("div", { class: "searchcraft-search-results" }, t);
|
|
6207
6207
|
}
|
|
6208
6208
|
renderWithNoAds() {
|
|
6209
6209
|
const t = this.searchClientResponseItems || [];
|
|
6210
|
-
return
|
|
6210
|
+
return d("div", { class: "searchcraft-search-results" }, t.map((r, a) => d("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: r.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + a, index: a, item: r, template: this.template })));
|
|
6211
6211
|
}
|
|
6212
6212
|
render() {
|
|
6213
6213
|
var r, a, n;
|
|
@@ -6252,41 +6252,41 @@ const _l = Pl, Il = /* @__PURE__ */ G(class extends j {
|
|
|
6252
6252
|
/**
|
|
6253
6253
|
* The caption displayed below the select input.
|
|
6254
6254
|
*/
|
|
6255
|
-
|
|
6255
|
+
f(this, "caption");
|
|
6256
6256
|
/**
|
|
6257
6257
|
* Whether the select input is disabled.
|
|
6258
6258
|
*/
|
|
6259
|
-
|
|
6259
|
+
f(this, "disabled", !1);
|
|
6260
6260
|
/**
|
|
6261
6261
|
* The ID for the select input.
|
|
6262
6262
|
*/
|
|
6263
|
-
|
|
6263
|
+
f(this, "inputId");
|
|
6264
6264
|
/**
|
|
6265
6265
|
* The label of the select input.
|
|
6266
6266
|
*/
|
|
6267
|
-
|
|
6267
|
+
f(this, "label");
|
|
6268
6268
|
/**
|
|
6269
6269
|
* The ID for the label of the select input.
|
|
6270
6270
|
*/
|
|
6271
|
-
|
|
6271
|
+
f(this, "labelId");
|
|
6272
6272
|
/**
|
|
6273
6273
|
* The name of the select input.
|
|
6274
6274
|
*/
|
|
6275
|
-
|
|
6275
|
+
f(this, "name");
|
|
6276
6276
|
/**
|
|
6277
6277
|
* The options for the select input.
|
|
6278
6278
|
*/
|
|
6279
|
-
|
|
6279
|
+
f(this, "options", []);
|
|
6280
6280
|
/**
|
|
6281
6281
|
* The event fired when the select is changed.
|
|
6282
6282
|
*/
|
|
6283
|
-
|
|
6284
|
-
|
|
6285
|
-
|
|
6283
|
+
f(this, "selectChange");
|
|
6284
|
+
f(this, "searchResultsPerPage");
|
|
6285
|
+
f(this, "setSearchResultsPage", () => {
|
|
6286
6286
|
});
|
|
6287
|
-
|
|
6287
|
+
f(this, "setSearchResultsPerPage", () => {
|
|
6288
6288
|
});
|
|
6289
|
-
|
|
6289
|
+
f(this, "handleSelectChange", (t) => {
|
|
6290
6290
|
this.selectChange.emit(t.target.value);
|
|
6291
6291
|
});
|
|
6292
6292
|
t !== !1 && this.__registerHost(), this.selectChange = Ze(this, "selectChange");
|
|
@@ -6295,7 +6295,7 @@ const _l = Pl, Il = /* @__PURE__ */ G(class extends j {
|
|
|
6295
6295
|
this.setSearchResultsPage(t);
|
|
6296
6296
|
}
|
|
6297
6297
|
render() {
|
|
6298
|
-
return
|
|
6298
|
+
return d("div", { key: "15ecbf48c824a161cd83bdab99dace8e44f1ab39", class: "searchcraft-select" }, this.label && d("label", { key: "aba433ae9c27c9405099cffcef923c3ad22d7fda", class: "searchcraft-select-label", id: this.labelId || `${this.inputId}-label`, htmlFor: this.inputId }, this.label), d("div", { key: "8df8a2ff05924c9c55cdd6e3827cd927cddab82a", class: "searchcraft-select-input-wrapper" }, d("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: t, value: r, selected: a }) => d("option", { key: r, value: r, selected: a }, t))), d("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" }, d("title", { key: "bced6b62378491d1d1c629b602d7d033d912c761" }, "Select dropdown icon"), d("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 && d("p", { key: "51217d926f68f79b6c3514f5fd769b56549fdce9", class: "searchcraft-select-caption" }, this.caption));
|
|
6299
6299
|
}
|
|
6300
6300
|
}, [768, "searchcraft-select", {
|
|
6301
6301
|
caption: [1],
|
|
@@ -6327,28 +6327,28 @@ const Ml = /* @__PURE__ */ G(class extends j {
|
|
|
6327
6327
|
* The amount the options will increase (e.g. 20 = [20, 40, 60, 80, 100]).
|
|
6328
6328
|
* The base value is defined by the `searchResultsPerPage` option in the configuration.
|
|
6329
6329
|
*/
|
|
6330
|
-
|
|
6330
|
+
f(this, "increment", 20);
|
|
6331
6331
|
/**
|
|
6332
6332
|
* The id of the Searchcraft instance that this component should use.
|
|
6333
6333
|
*/
|
|
6334
|
-
|
|
6334
|
+
f(this, "searchcraftId");
|
|
6335
6335
|
// store vars
|
|
6336
|
-
|
|
6337
|
-
|
|
6338
|
-
|
|
6339
|
-
|
|
6340
|
-
|
|
6341
|
-
|
|
6336
|
+
f(this, "searchTerm");
|
|
6337
|
+
f(this, "searchResultsPage");
|
|
6338
|
+
f(this, "searchResultsPerPage");
|
|
6339
|
+
f(this, "searchResultsCount");
|
|
6340
|
+
f(this, "searchResultsPagesCount");
|
|
6341
|
+
f(this, "searchClientRequestProperties");
|
|
6342
6342
|
// local vars
|
|
6343
|
-
|
|
6343
|
+
f(this, "initialSearchResultsPerPage");
|
|
6344
6344
|
// store functions
|
|
6345
|
-
|
|
6345
|
+
f(this, "setSearchResultsPerPage", () => {
|
|
6346
6346
|
});
|
|
6347
|
-
|
|
6347
|
+
f(this, "setSearchResultsPage", () => {
|
|
6348
6348
|
});
|
|
6349
|
-
|
|
6349
|
+
f(this, "unsubscribe", () => {
|
|
6350
6350
|
});
|
|
6351
|
-
|
|
6351
|
+
f(this, "cleanupCore");
|
|
6352
6352
|
t !== !1 && this.__registerHost();
|
|
6353
6353
|
}
|
|
6354
6354
|
onCoreAvailable(t) {
|
|
@@ -6366,7 +6366,7 @@ const Ml = /* @__PURE__ */ G(class extends j {
|
|
|
6366
6366
|
render() {
|
|
6367
6367
|
const t = typeof this.searchClientRequestProperties == "string" && this.searchTerm.trim() === "";
|
|
6368
6368
|
if (!(!this.searchTerm && !t || this.searchResultsPagesCount <= 1))
|
|
6369
|
-
return
|
|
6369
|
+
return d("div", { class: "searchcraft-search-results-per-page" }, d("div", { class: "searchcraft-search-results-per-page-select" }, d("label", { class: "searchcraft-search-results-per-page-select-label", htmlFor: "searchcraft-search-results-per-page-select-input" }, "Results Per Page"), d("div", { class: "searchcraft-search-results-per-page-select-input" }, d("searchcraft-select", { inputId: "searchcraft-search-results-per-page-select-input", name: "results-per-page", options: [...Array(5)].map((r, a) => {
|
|
6370
6370
|
const n = this.initialSearchResultsPerPage + Number(this.increment) * a;
|
|
6371
6371
|
return {
|
|
6372
6372
|
label: `${n}`,
|
|
@@ -6409,13 +6409,13 @@ const Ol = Ll, Fl = Kn, Dl = Mn, Nl = /* @__PURE__ */ G(class extends j {
|
|
|
6409
6409
|
/**
|
|
6410
6410
|
* The id of the Searchcraft instance that this component should use.
|
|
6411
6411
|
*/
|
|
6412
|
-
|
|
6413
|
-
|
|
6414
|
-
|
|
6415
|
-
|
|
6416
|
-
|
|
6417
|
-
|
|
6418
|
-
|
|
6412
|
+
f(this, "searchcraftId");
|
|
6413
|
+
f(this, "summary", "");
|
|
6414
|
+
f(this, "summaryErrorMessage", "");
|
|
6415
|
+
f(this, "isLoading", !1);
|
|
6416
|
+
f(this, "isSummaryNotEnabled", !1);
|
|
6417
|
+
f(this, "unsubscribe");
|
|
6418
|
+
f(this, "cleanupCore");
|
|
6419
6419
|
t !== !1 && this.__registerHost();
|
|
6420
6420
|
}
|
|
6421
6421
|
onCoreAvailable(t) {
|
|
@@ -6444,10 +6444,10 @@ const Ol = Ll, Fl = Kn, Dl = Mn, Nl = /* @__PURE__ */ G(class extends j {
|
|
|
6444
6444
|
* Renders the appropriate content based on current state.
|
|
6445
6445
|
*/
|
|
6446
6446
|
renderContent() {
|
|
6447
|
-
return this.isLoading ?
|
|
6447
|
+
return this.isLoading ? d("searchcraft-loading", { label: "LOADING" }) : this.isSummaryNotEnabled ? d("div", { class: "searchcraft-summary-box-content" }, this.summaryErrorMessage || "AI summaries are not enabled") : d("div", { class: "searchcraft-summary-box-content", innerHTML: this.summary });
|
|
6448
6448
|
}
|
|
6449
6449
|
render() {
|
|
6450
|
-
return
|
|
6450
|
+
return d("div", { key: "a33091962cfbbcf0399e9e15e8346590511090e1", class: "searchcraft-summary-box" }, this.renderContent());
|
|
6451
6451
|
}
|
|
6452
6452
|
}, [768, "searchcraft-summary-box", {
|
|
6453
6453
|
searchcraftId: [1, "searchcraft-id"],
|
|
@@ -6471,14 +6471,14 @@ function zl() {
|
|
|
6471
6471
|
});
|
|
6472
6472
|
}
|
|
6473
6473
|
const Ul = zl;
|
|
6474
|
-
var Bl = `\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-facet-list-wrapper{display:flex;flex-direction:column;width:100%;min-height:0}.searchcraft-facet-list-content{display:flex;flex-direction:column;gap:8px;min-height:0;flex-shrink:0}.searchcraft-facet-list-view-more{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:none;color:var(--sc-content-brand);cursor:pointer;padding:8px 0;text-align:left;text-decoration:underline}.searchcraft-facet-list-view-more:hover{color:var(--sc-surface-brand-primary-hover)}.searchcraft-facet-list-view-more:focus{outline:2px solid var(--sc-surface-brand-primary);outline-offset:2px}.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)}[data-toggle-facet-section]{cursor:pointer;display:flex;align-items:center;justify-content:space-between;width:100%;position:relative}[data-toggle-facet-section]::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-facet-section][data-facet-section-collapsed]::after{transform:rotate(90deg)}[data-toggle-facet-section][data-facet-section-expanded]::after{transform:rotate(-90deg)}@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-button-magnifying-glass-icon-size: 20px;--sc-popover-button-magnifying-glass-icon-color: var(--sc-content-neutral-secondary);--sc-popover-button-magnifying-glass-icon-color-hover: var(--sc-content-brand);--sc-popover-button-magnifying-glass-padding: 12px}@media(min-width: 576px){:root{--sc-popover-button-magnifying-glass-padding: 16px}}.searchcraft-popover-button-magnifying-glass{appearance:none;background:none;border:none;color:var(--sc-content-neutral-primary);cursor:pointer;display:flex;align-items:center;justify-content:center}.searchcraft-popover-button-magnifying-glass .searchcraft-popover-button-input{display:flex;align-items:center;justify-content:center;padding:var(--sc-popover-button-magnifying-glass-padding)}.searchcraft-popover-button-magnifying-glass .searchcraft-popover-button-input-search-icon{color:var(--sc-popover-button-magnifying-glass-icon-color);display:block;fill:none;stroke:currentcolor;stroke-width:1.5;width:var(--sc-popover-button-magnifying-glass-icon-size);height:var(--sc-popover-button-magnifying-glass-icon-size);transition:color .2s ease}.searchcraft-popover-button-magnifying-glass:hover .searchcraft-popover-button-input-search-icon{color:var(--sc-popover-button-magnifying-glass-icon-color-hover)}: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 searchcraft-results-summary,.searchcraft-popover-form searchcraft-summary-box{margin-bottom:16px}.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);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-modal-popover-list-view searchcraft-results-summary,.searchcraft-popover-form-modal-popover-list-view searchcraft-summary-box,.searchcraft-popover-form-fullscreen-popover-list-view searchcraft-results-summary,.searchcraft-popover-form-fullscreen-popover-list-view searchcraft-summary-box{padding:20px 0;margin-bottom:0;border-bottom:1px solid var(--sc-border-neutral-subtle)}.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-inline-wrapper searchcraft-results-summary,.searchcraft-popover-form-inline-wrapper searchcraft-summary-box{padding:16px 12px;margin-bottom:0;border-bottom:1px solid var(--sc-border-neutral-subtle)}.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;align-items:center;background-color:var(--sc-surface-neutral-secondary);display:flex;gap:.5rem;justify-content:space-between;line-height:1;padding:1.25rem 1.5rem}@media(min-width: 576px){.searchcraft-popover-footer{padding:1.25rem 2rem}}.searchcraft-popover-footer-results-info{margin:0}.searchcraft-popover-footer-results-found{display:none}@media(min-width: 576px){.searchcraft-popover-footer-results-found{display:inline}}.searchcraft-popover-footer-link{align-items:center;color:var(--sc-content-neutral-primary);display:flex;font-weight:var(--sc-font-bold);text-decoration:none;white-space:nowrap}.searchcraft-popover-footer-link-prefix{display:none;font-weight:var(--sc-font-normal)}@media(min-width: 576px){.searchcraft-popover-footer-link-prefix{display:inline}}.searchcraft-popover-footer-results{align-items:center;display:flex;gap:.5rem}.searchcraft-popover-footer-view-all{align-items:center;border-radius:999px;border:.0625rem solid var(--sc-border-neutral-strong);color:var(--sc-content-neutral-primary);display:inline-flex;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-bold);gap:.375rem;line-height:1;padding:.375rem .625rem;text-decoration:none}.searchcraft-popover-footer-view-all-shortcut{display:none}@media(min-width: 576px){.searchcraft-popover-footer-view-all-shortcut{display:inline-flex;gap:.125rem}.searchcraft-popover-footer-view-all-shortcut kbd{align-items:center;border-radius:.25rem;border:1px solid var(--sc-content-neutral-primary);display:flex;font-family:Helvetica,Arial,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;height:1.5rem;justify-content:center;line-height:1rem;width:1.5rem}}: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-results-summary{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-results-summary h1,.searchcraft-results-summary h2,.searchcraft-results-summary h3,.searchcraft-results-summary h4,.searchcraft-results-summary h5{padding-top:10px;padding-bottom:10px}.searchcraft-results-summary p{padding-bottom:10px}.searchcraft-results-summary img{max-width:200px}.searchcraft-results-summary ol,.searchcraft-results-summary ul{padding-left:1em;padding-bottom:10px}.searchcraft-results-summary a{color:var(--sc-content-brand)}.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{display:flex;flex-direction:column;align-items:center;gap:12px;position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%)}.searchcraft-loading-dots{display:flex;gap:8px;align-items:center;height:40px}.searchcraft-loading-dots>div{width:10px;height:10px;border-radius:50%;background-color:var(--sc-surface-brand-primary);animation:searchcraft-jump .6s ease-in-out infinite}.searchcraft-loading-dots .searchcraft-loading-dot-2{animation-delay:.15s}.searchcraft-loading-dots .searchcraft-loading-dot-3{animation-delay:.3s}.searchcraft-loading-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);letter-spacing:2px;color:#828282;margin:0}@keyframes searchcraft-jump{0%{transform:translateY(0);animation-timing-function:cubic-bezier(0.33, 1, 0.68, 1)}50%{transform:translateY(-20px);animation-timing-function:cubic-bezier(0.32, 0, 0.67, 0)}100%{transform:translateY(0)}}/*# sourceMappingURL=hologram.css.map */
|
|
6474
|
+
var Bl = `\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-facet-list-wrapper{display:flex;flex-direction:column;width:100%;min-height:0}.searchcraft-facet-list-content{display:flex;flex-direction:column;gap:8px;min-height:0;flex-shrink:0}.searchcraft-facet-list-view-more{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:none;color:var(--sc-content-brand);cursor:pointer;padding:8px 0;text-align:left;text-decoration:underline}.searchcraft-facet-list-view-more:hover{color:var(--sc-surface-brand-primary-hover)}.searchcraft-facet-list-view-more:focus{outline:2px solid var(--sc-surface-brand-primary);outline-offset:2px}.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)}[data-toggle-facet-section]{cursor:pointer;display:flex;align-items:center;justify-content:space-between;width:100%;position:relative}[data-toggle-facet-section]::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-facet-section][data-facet-section-collapsed]::after{transform:rotate(90deg)}[data-toggle-facet-section][data-facet-section-expanded]::after{transform:rotate(-90deg)}@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-button-magnifying-glass-icon-size: 20px;--sc-popover-button-magnifying-glass-icon-color: var(--sc-content-neutral-secondary);--sc-popover-button-magnifying-glass-icon-color-hover: var(--sc-content-brand);--sc-popover-button-magnifying-glass-padding: 12px}@media(min-width: 576px){:root{--sc-popover-button-magnifying-glass-padding: 16px}}.searchcraft-popover-button-magnifying-glass{appearance:none;background:none;border:none;color:var(--sc-content-neutral-primary);cursor:pointer;display:flex;align-items:center;justify-content:center}.searchcraft-popover-button-magnifying-glass .searchcraft-popover-button-input{display:flex;align-items:center;justify-content:center;padding:var(--sc-popover-button-magnifying-glass-padding)}.searchcraft-popover-button-magnifying-glass .searchcraft-popover-button-input-search-icon{color:var(--sc-popover-button-magnifying-glass-icon-color);display:block;fill:none;stroke:currentcolor;stroke-width:1.5;width:var(--sc-popover-button-magnifying-glass-icon-size);height:var(--sc-popover-button-magnifying-glass-icon-size);transition:color .2s ease}.searchcraft-popover-button-magnifying-glass:hover .searchcraft-popover-button-input-search-icon{color:var(--sc-popover-button-magnifying-glass-icon-color-hover)}: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 searchcraft-results-summary,.searchcraft-popover-form searchcraft-summary-box{margin-bottom:16px}.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);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-modal-popover-list-view searchcraft-results-summary,.searchcraft-popover-form-modal-popover-list-view searchcraft-summary-box,.searchcraft-popover-form-fullscreen-popover-list-view searchcraft-results-summary,.searchcraft-popover-form-fullscreen-popover-list-view searchcraft-summary-box{padding:20px 0;margin-bottom:0;border-bottom:1px solid var(--sc-border-neutral-subtle)}.searchcraft-popover-form-modal-popover-list-view searchcraft-popover-list-view,.searchcraft-popover-form-fullscreen-popover-list-view searchcraft-popover-list-view{overflow:visible;height:auto}.searchcraft-popover-form-inline{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{background-color:var(--sc-surface-neutral-primary);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-inline-wrapper searchcraft-results-summary,.searchcraft-popover-form-inline-wrapper searchcraft-summary-box{padding:16px 12px;margin-bottom:0;border-bottom:1px solid var(--sc-border-neutral-subtle)}.searchcraft-popover-form-inline-scroll-area{flex:1;min-height:0;overflow:auto;padding:0 12px}.searchcraft-popover-form-inline-scroll-area searchcraft-popover-list-view{overflow:visible;height:auto;padding:0}.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;font-size:1rem;align-items:center;background-color:var(--sc-surface-neutral-secondary);display:flex;gap:.5rem;justify-content:space-between;line-height:1;padding:1.25rem 1.5rem}@media(min-width: 576px){.searchcraft-popover-footer{padding:1.25rem 2rem}}.searchcraft-popover-footer-results-info{margin:0}.searchcraft-popover-footer-results-found{display:none}@media(min-width: 576px){.searchcraft-popover-footer-results-found{display:inline}}.searchcraft-popover-footer-link{align-items:center;color:var(--sc-content-neutral-primary);display:flex;font-weight:var(--sc-font-bold);text-decoration:none;white-space:nowrap}.searchcraft-popover-footer-link-prefix{display:none;font-weight:var(--sc-font-normal)}@media(min-width: 576px){.searchcraft-popover-footer-link-prefix{display:inline}}.searchcraft-popover-footer-results{align-items:center;display:flex;gap:.5rem}.searchcraft-popover-footer-view-all{align-items:center;border-radius:999px;border:.0625rem solid var(--sc-border-neutral-strong);color:var(--sc-content-neutral-primary);display:inline-flex;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-bold);gap:.375rem;line-height:1;padding:.375rem .625rem;text-decoration:none}.searchcraft-popover-footer-view-all-shortcut{display:none}@media(min-width: 576px){.searchcraft-popover-footer-view-all-shortcut{display:inline-flex;gap:.125rem}.searchcraft-popover-footer-view-all-shortcut kbd{align-items:center;border-radius:.25rem;border:1px solid var(--sc-content-neutral-primary);display:flex;font-family:Helvetica,Arial,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;height:1.5rem;justify-content:center;line-height:1rem;width:1.5rem}}: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 0;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-results-summary{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-results-summary h1,.searchcraft-results-summary h2,.searchcraft-results-summary h3,.searchcraft-results-summary h4,.searchcraft-results-summary h5{padding-top:10px;padding-bottom:10px}.searchcraft-results-summary p{padding-bottom:10px}.searchcraft-results-summary img{max-width:200px}.searchcraft-results-summary ol,.searchcraft-results-summary ul{padding-left:1em;padding-bottom:10px}.searchcraft-results-summary a{color:var(--sc-content-brand)}.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{display:flex;flex-direction:column;align-items:center;gap:12px;position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%)}.searchcraft-loading-dots{display:flex;gap:8px;align-items:center;height:40px}.searchcraft-loading-dots>div{width:10px;height:10px;border-radius:50%;background-color:var(--sc-surface-brand-primary);animation:searchcraft-jump .6s ease-in-out infinite}.searchcraft-loading-dots .searchcraft-loading-dot-2{animation-delay:.15s}.searchcraft-loading-dots .searchcraft-loading-dot-3{animation-delay:.3s}.searchcraft-loading-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);letter-spacing:2px;color:#828282;margin:0}@keyframes searchcraft-jump{0%{transform:translateY(0);animation-timing-function:cubic-bezier(0.33, 1, 0.68, 1)}50%{transform:translateY(-20px);animation-timing-function:cubic-bezier(0.32, 0, 0.67, 0)}100%{transform:translateY(0)}}/*# sourceMappingURL=hologram.css.map */
|
|
6475
6475
|
`;
|
|
6476
6476
|
const Hl = /* @__PURE__ */ G(class extends j {
|
|
6477
6477
|
constructor(e) {
|
|
6478
6478
|
super(), e !== !1 && this.__registerHost();
|
|
6479
6479
|
}
|
|
6480
6480
|
render() {
|
|
6481
|
-
return
|
|
6481
|
+
return d("style", { key: "ef26626cdfa4fa98d516802d71443c49a9c6ecf9" }, Bl);
|
|
6482
6482
|
}
|
|
6483
6483
|
}, [256, "searchcraft-theme"]);
|
|
6484
6484
|
function ql() {
|
|
@@ -6502,8 +6502,8 @@ var te;
|
|
|
6502
6502
|
})(te || (te = {}));
|
|
6503
6503
|
class jl {
|
|
6504
6504
|
constructor(e) {
|
|
6505
|
-
|
|
6506
|
-
|
|
6505
|
+
f(this, "logLevel");
|
|
6506
|
+
f(this, "logFormatter");
|
|
6507
6507
|
this.logLevel = e.logLevel || te.INFO, this.logFormatter = e.logFormatter || this.defaultFormatter;
|
|
6508
6508
|
}
|
|
6509
6509
|
defaultFormatter(e, t) {
|
|
@@ -7058,7 +7058,7 @@ Ie("math", function() {
|
|
|
7058
7058
|
});
|
|
7059
7059
|
class ca {
|
|
7060
7060
|
constructor(e) {
|
|
7061
|
-
|
|
7061
|
+
f(this, "config");
|
|
7062
7062
|
this.config = e;
|
|
7063
7063
|
}
|
|
7064
7064
|
async getAds(e) {
|
|
@@ -7115,11 +7115,11 @@ class hu extends ca {
|
|
|
7115
7115
|
return [];
|
|
7116
7116
|
}
|
|
7117
7117
|
}
|
|
7118
|
-
const
|
|
7119
|
-
class
|
|
7118
|
+
const fu = 1e3;
|
|
7119
|
+
class du extends ca {
|
|
7120
7120
|
constructor(t) {
|
|
7121
7121
|
super(t);
|
|
7122
|
-
|
|
7122
|
+
f(this, "adCallTimeout");
|
|
7123
7123
|
this.addScriptTagToDocument();
|
|
7124
7124
|
}
|
|
7125
7125
|
async onQuerySubmitted(t) {
|
|
@@ -7131,7 +7131,7 @@ class fu extends ca {
|
|
|
7131
7131
|
this.removeScriptTagFromDocument();
|
|
7132
7132
|
return;
|
|
7133
7133
|
}
|
|
7134
|
-
this.performAdCall(
|
|
7134
|
+
this.performAdCall(fu);
|
|
7135
7135
|
}
|
|
7136
7136
|
async onInputCleared() {
|
|
7137
7137
|
this.removeScriptTagFromDocument();
|
|
@@ -7163,13 +7163,13 @@ class fu extends ca {
|
|
|
7163
7163
|
const pu = 600;
|
|
7164
7164
|
class mu {
|
|
7165
7165
|
constructor(e, t, r, a) {
|
|
7166
|
-
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7166
|
+
f(this, "measureRequestTimeout");
|
|
7167
|
+
f(this, "measureRequestsBatched", []);
|
|
7168
|
+
f(this, "config");
|
|
7169
|
+
f(this, "sdkInfo");
|
|
7170
|
+
f(this, "userId");
|
|
7171
|
+
f(this, "userType");
|
|
7172
|
+
f(this, "sessionId");
|
|
7173
7173
|
/**
|
|
7174
7174
|
* Sends a measure event to the `/measure/event` endpoint for analytics purposes.
|
|
7175
7175
|
*
|
|
@@ -7177,7 +7177,7 @@ class mu {
|
|
|
7177
7177
|
* @param {Partial<MeasureRequestProperties>} properties - Additional properties to send with the event.
|
|
7178
7178
|
* @param {Partial<MeasureRequestUser>} user - Additional user properites to send with the event.
|
|
7179
7179
|
*/
|
|
7180
|
-
|
|
7180
|
+
f(this, "sendMeasureEvent", async (e, t = {}, r = {}) => {
|
|
7181
7181
|
const a = {
|
|
7182
7182
|
event_name: e,
|
|
7183
7183
|
properties: {
|
|
@@ -7274,16 +7274,16 @@ const gu = (s) => s.endsWith("/") ? s.slice(0, -1) : s, bt = (s) => {
|
|
|
7274
7274
|
}, bu = 500;
|
|
7275
7275
|
class vu {
|
|
7276
7276
|
constructor(e, t, r) {
|
|
7277
|
-
|
|
7278
|
-
|
|
7279
|
-
|
|
7280
|
-
|
|
7281
|
-
|
|
7282
|
-
|
|
7277
|
+
f(this, "config");
|
|
7278
|
+
f(this, "userId");
|
|
7279
|
+
f(this, "parent");
|
|
7280
|
+
f(this, "searchCompletedEventTimeout");
|
|
7281
|
+
f(this, "abortController");
|
|
7282
|
+
f(this, "supplementalAbortController");
|
|
7283
7283
|
/**
|
|
7284
7284
|
* Immediately cancels all pending search requests.
|
|
7285
7285
|
*/
|
|
7286
|
-
|
|
7286
|
+
f(this, "abortRequests", () => {
|
|
7287
7287
|
var e, t;
|
|
7288
7288
|
(e = this.abortController) == null || e.abort("The pending search request has been cancelled."), (t = this.supplementalAbortController) == null || t.abort("The pending search request has been cancelled.");
|
|
7289
7289
|
});
|
|
@@ -7293,7 +7293,7 @@ class vu {
|
|
|
7293
7293
|
* @param isSupplemental - Whether or not this is a supplemental search request (for the purpose of getting top-level facet counts)
|
|
7294
7294
|
* @returns
|
|
7295
7295
|
*/
|
|
7296
|
-
|
|
7296
|
+
f(this, "getSearchResponseItems", async (e, t = !1) => {
|
|
7297
7297
|
var o, c, u, i, h, g, p;
|
|
7298
7298
|
let r, a = "", n;
|
|
7299
7299
|
return t ? ((o = this.supplementalAbortController) == null || o.abort("A newer search request has replaced this one."), n = new AbortController(), this.supplementalAbortController = n) : ((c = this.abortController) == null || c.abort("A newer search request has replaced this one."), n = new AbortController(), this.abortController = n), typeof e == "string" ? a = bt(e) : (e.searchTerm = bt(e.searchTerm), a = e.searchTerm), (u = this.parent.measureClient) == null || u.sendMeasureEvent("search_requested", {
|
|
@@ -7321,7 +7321,7 @@ class vu {
|
|
|
7321
7321
|
name: "no_results_returned"
|
|
7322
7322
|
}), (p = this.parent.adClient) == null || p.onQueryFetched(typeof e == "string" ? { searchTerm: a, mode: "exact" } : e, r)), r;
|
|
7323
7323
|
});
|
|
7324
|
-
|
|
7324
|
+
f(this, "handleGetSearchResponseItemsWithString", async (e, t) => {
|
|
7325
7325
|
var n;
|
|
7326
7326
|
let r;
|
|
7327
7327
|
try {
|
|
@@ -7349,7 +7349,7 @@ class vu {
|
|
|
7349
7349
|
throw new Error(`Error: ${a.statusText} (Status: ${a.status})`);
|
|
7350
7350
|
return await a.json();
|
|
7351
7351
|
});
|
|
7352
|
-
|
|
7352
|
+
f(this, "handleGetSearchResponseItemsWithObject", async (e, t) => {
|
|
7353
7353
|
var n;
|
|
7354
7354
|
const r = {
|
|
7355
7355
|
query: this.formatParamsForRequest(e),
|
|
@@ -7440,11 +7440,11 @@ const Xa = (s) => {
|
|
|
7440
7440
|
}, yu = (s) => s ? Xa(s) : Xa, wu = 1e3, Ka = "Your read key does not have permission to generate AI summaries.", Za = "AI summaries are not enabled for this account. Please contact Searchcraft to enable them.";
|
|
7441
7441
|
class ku {
|
|
7442
7442
|
constructor(e, t) {
|
|
7443
|
-
|
|
7444
|
-
|
|
7445
|
-
|
|
7446
|
-
|
|
7447
|
-
|
|
7443
|
+
f(this, "set");
|
|
7444
|
+
f(this, "get");
|
|
7445
|
+
f(this, "abortController");
|
|
7446
|
+
f(this, "timeout");
|
|
7447
|
+
f(this, "hasWarnedAboutDeprecatedCortexURL", !1);
|
|
7448
7448
|
this.get = e, this.set = t;
|
|
7449
7449
|
}
|
|
7450
7450
|
streamSummaryData(e) {
|
|
@@ -7874,16 +7874,16 @@ class xu {
|
|
|
7874
7874
|
* @param searchcraftId The identifier to use to reference this instance of SearchcraftCore.
|
|
7875
7875
|
*/
|
|
7876
7876
|
constructor(e, t, r) {
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
|
|
7883
|
-
|
|
7884
|
-
|
|
7885
|
-
|
|
7886
|
-
|
|
7877
|
+
f(this, "store");
|
|
7878
|
+
f(this, "config");
|
|
7879
|
+
f(this, "measureClient");
|
|
7880
|
+
f(this, "searchClient");
|
|
7881
|
+
f(this, "adClient");
|
|
7882
|
+
f(this, "userId");
|
|
7883
|
+
f(this, "userType");
|
|
7884
|
+
f(this, "requestTimeout");
|
|
7885
|
+
f(this, "subscriptionEvents", {});
|
|
7886
|
+
f(this, "getResponseItems", (e) => {
|
|
7887
7887
|
const t = async () => {
|
|
7888
7888
|
(async () => {
|
|
7889
7889
|
var o, c;
|
|
@@ -7989,7 +7989,7 @@ class xu {
|
|
|
7989
7989
|
}
|
|
7990
7990
|
async initClients(e, t) {
|
|
7991
7991
|
let r = this.config.measureUserIdentifier;
|
|
7992
|
-
r ? (this.userType = "authenticated", await Promise.resolve()) : (r = await Zl(), this.userType = "anonymous"), this.measureClient = new mu(e, t, r, this.userType), this.searchClient = new vu(this, e, r), e.customAdConfig ? this.adClient = new hu(e) : e.nativoConfig ? this.adClient = new
|
|
7992
|
+
r ? (this.userType = "authenticated", await Promise.resolve()) : (r = await Zl(), this.userType = "anonymous"), this.measureClient = new mu(e, t, r, this.userType), this.searchClient = new vu(this, e, r), e.customAdConfig ? this.adClient = new hu(e) : e.nativoConfig ? this.adClient = new du(e) : e.admAdConfig && (this.adClient = new uu(e)), this.emitEvent("initialized", {
|
|
7993
7993
|
name: "initialized"
|
|
7994
7994
|
});
|
|
7995
7995
|
}
|
|
@@ -8040,7 +8040,7 @@ class xu {
|
|
|
8040
8040
|
}), (e = this.adClient) == null || e.onInputCleared();
|
|
8041
8041
|
}
|
|
8042
8042
|
}
|
|
8043
|
-
const Cu = "@searchcraft/vue-sdk", Ru = "0.15.
|
|
8043
|
+
const Cu = "@searchcraft/vue-sdk", Ru = "0.15.1", Er = "routerLink", en = "navManager", Tu = "router", Eu = "aria", lr = Symbol(), tn = { default: lr }, rn = (s) => (s == null ? void 0 : s.split(" ")) || [], Au = (s, e, t = []) => {
|
|
8044
8044
|
var r;
|
|
8045
8045
|
return [...Array.from(((r = s.value) == null ? void 0 : r.classList) || []), ...t].filter((a, n, o) => !e.has(a) && o.indexOf(a) === n);
|
|
8046
8046
|
}, Me = (s, e, t = [], r = [], a, n) => {
|
|
@@ -8165,7 +8165,7 @@ const Cu = "@searchcraft/vue-sdk", Ru = "0.15.0", Er = "routerLink", en = "navMa
|
|
|
8165
8165
|
}, [
|
|
8166
8166
|
"searchcraftId"
|
|
8167
8167
|
]), zu = /* @__PURE__ */ Me("searchcraft-theme", () => {
|
|
8168
|
-
}),
|
|
8168
|
+
}), fh = Fu, dh = $u, ph = Pu, mh = Iu, gh = /* @__PURE__ */ sn({
|
|
8169
8169
|
name: "SearchcraftPopoverForm",
|
|
8170
8170
|
inheritAttrs: !1,
|
|
8171
8171
|
setup(s, {
|
|
@@ -8193,14 +8193,14 @@ class xh extends xu {
|
|
|
8193
8193
|
Zn();
|
|
8194
8194
|
export {
|
|
8195
8195
|
xh as Searchcraft,
|
|
8196
|
-
|
|
8196
|
+
dh as SearchcraftFilterPanel,
|
|
8197
8197
|
ph as SearchcraftInputForm,
|
|
8198
8198
|
wh as SearchcraftPagination,
|
|
8199
8199
|
mh as SearchcraftPopoverButton,
|
|
8200
8200
|
gh as SearchcraftPopoverForm,
|
|
8201
8201
|
bh as SearchcraftResultsInfo,
|
|
8202
8202
|
vh as SearchcraftResultsSummary,
|
|
8203
|
-
|
|
8203
|
+
fh as SearchcraftSearchResults,
|
|
8204
8204
|
kh as SearchcraftSearchResultsPerPage,
|
|
8205
8205
|
Sh as SearchcraftSummaryBox,
|
|
8206
8206
|
yh as SearchcraftTheme
|