@searchcraft/vue-sdk 0.12.2 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +18 -0
- package/dist/index.es.js +335 -236
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +21 -21
- 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
|
@@ -37,7 +37,7 @@ var dn = Object.defineProperty, fn = (r, t) => {
|
|
|
37
37
|
e.$onReadyPromise$ = new Promise((a) => e.$onReadyResolve$ = a), r["s-p"] = [], r["s-rc"] = [];
|
|
38
38
|
const s = as.set(r, e);
|
|
39
39
|
return gn(r, e), s;
|
|
40
|
-
},
|
|
40
|
+
}, Fs = (r, t) => t in r, xr = (r, t) => (0, console.error)(r, t), wr = typeof window < "u" ? window : {}, wt = wr.document || { head: {} }, ee = wr.HTMLElement || class {
|
|
41
41
|
}, Se = {
|
|
42
42
|
$flags$: 0,
|
|
43
43
|
$resourcesUrl$: "",
|
|
@@ -46,7 +46,7 @@ var dn = Object.defineProperty, fn = (r, t) => {
|
|
|
46
46
|
ael: (r, t, e, s) => r.addEventListener(t, e, s),
|
|
47
47
|
rel: (r, t, e, s) => r.removeEventListener(t, e, s),
|
|
48
48
|
ce: (r, t) => new CustomEvent(r, t)
|
|
49
|
-
}, yn = St.shadowDom, kn = (r) => Promise.resolve(r), Kr = !1,
|
|
49
|
+
}, yn = St.shadowDom, kn = (r) => Promise.resolve(r), Kr = !1, Ls = [], ia = [], Cn = (r, t) => (e) => {
|
|
50
50
|
r.push(e), Kr || (Kr = !0, Se.$flags$ & 4 ? ns(Xr) : Se.raf(Xr));
|
|
51
51
|
}, Ds = (r) => {
|
|
52
52
|
for (let t = 0; t < r.length; t++)
|
|
@@ -57,7 +57,7 @@ var dn = Object.defineProperty, fn = (r, t) => {
|
|
|
57
57
|
}
|
|
58
58
|
r.length = 0;
|
|
59
59
|
}, Xr = () => {
|
|
60
|
-
Ds(
|
|
60
|
+
Ds(Ls), Ds(ia), (Kr = Ls.length > 0) && Se.raf(Xr);
|
|
61
61
|
}, ns = (r) => kn().then(r), xn = /* @__PURE__ */ Cn(ia), os = (r) => (r = typeof r, r === "object" || r === "function"), wn = {};
|
|
62
62
|
fn(wn, {
|
|
63
63
|
err: () => ca,
|
|
@@ -177,7 +177,7 @@ var Tn = (r, t, e = !0) => {
|
|
|
177
177
|
return r.dispatchEvent(s), s;
|
|
178
178
|
}, hr = /* @__PURE__ */ new WeakMap(), Hs = (r, t, e, s, a, o) => {
|
|
179
179
|
if (e !== s) {
|
|
180
|
-
let n =
|
|
180
|
+
let n = Fs(r, t), h = t.toLowerCase();
|
|
181
181
|
if (t === "class") {
|
|
182
182
|
const u = r.classList, l = Us(e);
|
|
183
183
|
let p = Us(s);
|
|
@@ -190,7 +190,7 @@ var Tn = (r, t, e = !0) => {
|
|
|
190
190
|
for (const u in s)
|
|
191
191
|
(!e || s[u] !== e[u]) && (u.includes("-") ? r.style.setProperty(u, s[u]) : r.style[u] = s[u]);
|
|
192
192
|
} else if (t !== "key") if (!r.__lookupSetter__(t) && t[0] === "o" && t[1] === "n") {
|
|
193
|
-
if (t[2] === "-" ? t = t.slice(3) :
|
|
193
|
+
if (t[2] === "-" ? t = t.slice(3) : Fs(wr, h) ? t = h.slice(2) : t = h[2] + t.slice(3), e || s) {
|
|
194
194
|
const u = t.endsWith(fa);
|
|
195
195
|
t = t.replace(On, ""), e && Se.rel(r, t, e, u), s && Se.ael(r, t, s, u);
|
|
196
196
|
}
|
|
@@ -273,8 +273,8 @@ var es, is, yr = !1, kr = !1, cs = !1, Re = !1, Cr = (r, t, e) => {
|
|
|
273
273
|
o && (kr = !0, o["s-ol"] ? o["s-ol"].remove() : Ut(o, !0), o.remove());
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
|
-
},
|
|
277
|
-
let o = 0, n = 0, h = 0, u = 0, l = t.length - 1, p = t[0], C = t[l], S = s.length - 1, $ = s[0], A = s[S], N,
|
|
276
|
+
}, Fn = (r, t, e, s, a = !1) => {
|
|
277
|
+
let o = 0, n = 0, h = 0, u = 0, l = t.length - 1, p = t[0], C = t[l], S = s.length - 1, $ = s[0], A = s[S], N, L;
|
|
278
278
|
for (; o <= l && n <= S; )
|
|
279
279
|
if (p == null)
|
|
280
280
|
p = t[++o];
|
|
@@ -298,7 +298,7 @@ var es, is, yr = !1, kr = !1, cs = !1, Re = !1, Cr = (r, t, e) => {
|
|
|
298
298
|
h = u;
|
|
299
299
|
break;
|
|
300
300
|
}
|
|
301
|
-
h >= 0 ? (
|
|
301
|
+
h >= 0 ? (L = t[h], L.$tag$ !== $.$tag$ ? N = Cr(t && t[n], e, h) : (Ct(L, $, a), t[h] = void 0, N = L.$elm$), $ = s[++n]) : (N = Cr(t && t[n], e, n), $ = s[++n]), N && tt(
|
|
302
302
|
Bt(p.$elm$).parentNode,
|
|
303
303
|
N,
|
|
304
304
|
Bt(p.$elm$)
|
|
@@ -315,7 +315,7 @@ var es, is, yr = !1, kr = !1, cs = !1, Re = !1, Cr = (r, t, e) => {
|
|
|
315
315
|
}, dr = (r, t, e = !1) => r.$tag$ === t.$tag$ ? r.$tag$ === "slot" ? r.$name$ === t.$name$ : e ? (e && !r.$key$ && t.$key$ && (r.$key$ = t.$key$), !0) : r.$key$ === t.$key$ : !1, Bt = (r) => r && r["s-ol"] || r, Ct = (r, t, e = !1) => {
|
|
316
316
|
const s = t.$elm$ = r.$elm$, a = r.$children$, o = t.$children$, n = t.$tag$, h = t.$text$;
|
|
317
317
|
let u;
|
|
318
|
-
h === null ? (Re = n === "svg" ? !0 : n === "foreignObject" ? !1 : Re, n === "slot" && !yr || pa(r, t, Re), a !== null && o !== null ?
|
|
318
|
+
h === null ? (Re = n === "svg" ? !0 : n === "foreignObject" ? !1 : Re, n === "slot" && !yr || pa(r, t, Re), a !== null && o !== null ? Fn(s, a, t, o, e) : o !== null ? (r.$text$ !== null && (s.textContent = ""), ma(s, null, t, o, 0, o.length - 1)) : (
|
|
319
319
|
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
320
320
|
!e && St.updatable && a !== null && ga(a, 0, a.length - 1)
|
|
321
321
|
), Re && n === "svg" && (Re = !1)) : (u = s["s-cr"]) ? u.parentNode.textContent = h : r.$text$ !== h && (s.data = h);
|
|
@@ -342,7 +342,7 @@ var es, is, yr = !1, kr = !1, cs = !1, Re = !1, Cr = (r, t, e) => {
|
|
|
342
342
|
}
|
|
343
343
|
o.nodeType === 1 && ba(o);
|
|
344
344
|
}
|
|
345
|
-
}, tt = (r, t, e) => r == null ? void 0 : r.insertBefore(t, e),
|
|
345
|
+
}, tt = (r, t, e) => r == null ? void 0 : r.insertBefore(t, e), Ln = (r, t, e = !1) => {
|
|
346
346
|
var s, a, o, n;
|
|
347
347
|
const h = r.$hostElement$, u = r.$vnode$ || vr(null, null), l = $n(t) ? t : m(null, null, t);
|
|
348
348
|
if (is = h.tagName, e && l.$attrs$)
|
|
@@ -379,8 +379,8 @@ var es, is, yr = !1, kr = !1, cs = !1, Re = !1, Cr = (r, t, e) => {
|
|
|
379
379
|
P = P.previousSibling;
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
|
-
const N = C.__parentNode || C.parentNode,
|
|
383
|
-
(!A && $ !== N ||
|
|
382
|
+
const N = C.__parentNode || C.parentNode, L = C.__nextSibling || C.nextSibling;
|
|
383
|
+
(!A && $ !== N || L !== A) && C !== A && (!C["s-hn"] && C["s-ol"] && (C["s-hn"] = C["s-ol"].parentNode.nodeName), tt($, C, A), C.nodeType === 1 && C.tagName !== "SLOT-FB" && (C.hidden = (o = C["s-ih"]) != null ? o : !1)), C && typeof S["s-rf"] == "function" && S["s-rf"](C);
|
|
384
384
|
} else
|
|
385
385
|
C.nodeType === 1 && (e && (C["s-ih"] = (n = C.hidden) != null ? n : !1), C.hidden = !0);
|
|
386
386
|
}
|
|
@@ -424,17 +424,17 @@ var es, is, yr = !1, kr = !1, cs = !1, Re = !1, Cr = (r, t, e) => {
|
|
|
424
424
|
}
|
|
425
425
|
}, Un = (r, t, e, s) => {
|
|
426
426
|
try {
|
|
427
|
-
t = t.render(), r.$flags$ &= -17, r.$flags$ |= 2,
|
|
427
|
+
t = t.render(), r.$flags$ &= -17, r.$flags$ |= 2, Ln(r, t, s);
|
|
428
428
|
} catch (a) {
|
|
429
429
|
xr(a, r.$hostElement$);
|
|
430
430
|
}
|
|
431
431
|
return null;
|
|
432
432
|
}, Bn = (r) => {
|
|
433
433
|
const t = r.$cmpMeta$.$tagName$, e = r.$hostElement$, s = Ht("postUpdate", t), a = e, o = r.$ancestorComponent$;
|
|
434
|
-
r.$flags$ & 64 ? s() : (r.$flags$ |= 64, ya(e),
|
|
435
|
-
},
|
|
434
|
+
r.$flags$ & 64 ? s() : (r.$flags$ |= 64, ya(e), qn(a, "componentDidLoad", void 0, e), s(), r.$onReadyResolve$(e), o || Vn()), r.$onRenderResolve$ && (r.$onRenderResolve$(), r.$onRenderResolve$ = void 0), r.$flags$ & 512 && ns(() => ls(r, !1)), r.$flags$ &= -517;
|
|
435
|
+
}, Vn = (r) => {
|
|
436
436
|
ya(wt.documentElement), ns(() => da(wr, "appload", { detail: { namespace: hn } }));
|
|
437
|
-
},
|
|
437
|
+
}, qn = (r, t, e, s) => {
|
|
438
438
|
if (r && r[t])
|
|
439
439
|
try {
|
|
440
440
|
return r[t](e);
|
|
@@ -444,7 +444,7 @@ var es, is, yr = !1, kr = !1, cs = !1, Re = !1, Cr = (r, t, e) => {
|
|
|
444
444
|
}, ya = (r) => {
|
|
445
445
|
var t;
|
|
446
446
|
return r.classList.add((t = St.hydratedSelectorName) != null ? t : "hydrated");
|
|
447
|
-
}, jn = (r, t) => rt(r).$instanceValues$.get(t),
|
|
447
|
+
}, jn = (r, t) => rt(r).$instanceValues$.get(t), Vs = (r, t, e, s) => {
|
|
448
448
|
const a = rt(r), o = r, n = a.$instanceValues$.get(t), h = a.$flags$, u = o;
|
|
449
449
|
e = ha(e, s.$members$[t][0]);
|
|
450
450
|
const l = Number.isNaN(n) && Number.isNaN(e);
|
|
@@ -484,11 +484,11 @@ var es, is, yr = !1, kr = !1, cs = !1, Re = !1, Cr = (r, t, e) => {
|
|
|
484
484
|
const S = rt(this);
|
|
485
485
|
if (p) {
|
|
486
486
|
const $ = u & 32 ? this[h] : S.$hostElement$[h];
|
|
487
|
-
typeof $ > "u" && S.$instanceValues$.get(h) ? C = S.$instanceValues$.get(h) : !S.$instanceValues$.get(h) && $ && S.$instanceValues$.set(h, $), p.apply(this, [ha(C, u)]), C = u & 32 ? this[h] : S.$hostElement$[h],
|
|
487
|
+
typeof $ > "u" && S.$instanceValues$.get(h) ? C = S.$instanceValues$.get(h) : !S.$instanceValues$.get(h) && $ && S.$instanceValues$.set(h, $), p.apply(this, [ha(C, u)]), C = u & 32 ? this[h] : S.$hostElement$[h], Vs(this, h, C, t);
|
|
488
488
|
return;
|
|
489
489
|
}
|
|
490
490
|
{
|
|
491
|
-
|
|
491
|
+
Vs(this, h, C, t);
|
|
492
492
|
return;
|
|
493
493
|
}
|
|
494
494
|
}
|
|
@@ -668,35 +668,35 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
668
668
|
return O;
|
|
669
669
|
}), u || (u = function(O) {
|
|
670
670
|
return O;
|
|
671
|
-
}), p || (p = function(O,
|
|
672
|
-
return O.apply(
|
|
673
|
-
}), C || (C = function(O,
|
|
674
|
-
return new O(...
|
|
671
|
+
}), p || (p = function(O, q, V) {
|
|
672
|
+
return O.apply(q, V);
|
|
673
|
+
}), C || (C = function(O, q) {
|
|
674
|
+
return new O(...q);
|
|
675
675
|
});
|
|
676
|
-
const S = ce(Array.prototype.forEach), $ = ce(Array.prototype.lastIndexOf), A = ce(Array.prototype.pop), N = ce(Array.prototype.push),
|
|
676
|
+
const S = ce(Array.prototype.forEach), $ = ce(Array.prototype.lastIndexOf), A = ce(Array.prototype.pop), N = ce(Array.prototype.push), L = ce(Array.prototype.splice), P = ce(String.prototype.toLowerCase), _ = ce(String.prototype.toString), U = ce(String.prototype.match), j = ce(String.prototype.replace), se = ce(String.prototype.indexOf), Y = ce(String.prototype.trim), re = ce(Object.prototype.hasOwnProperty), Q = ce(RegExp.prototype.test), Ae = Tr(TypeError);
|
|
677
677
|
function ce(B) {
|
|
678
678
|
return function(O) {
|
|
679
|
-
for (var
|
|
680
|
-
|
|
681
|
-
return p(B, O,
|
|
679
|
+
for (var q = arguments.length, V = new Array(q > 1 ? q - 1 : 0), le = 1; le < q; le++)
|
|
680
|
+
V[le - 1] = arguments[le];
|
|
681
|
+
return p(B, O, V);
|
|
682
682
|
};
|
|
683
683
|
}
|
|
684
684
|
function Tr(B) {
|
|
685
685
|
return function() {
|
|
686
|
-
for (var O = arguments.length,
|
|
687
|
-
V
|
|
688
|
-
return C(B,
|
|
686
|
+
for (var O = arguments.length, q = new Array(O), V = 0; V < O; V++)
|
|
687
|
+
q[V] = arguments[V];
|
|
688
|
+
return C(B, q);
|
|
689
689
|
};
|
|
690
690
|
}
|
|
691
691
|
function z(B, O) {
|
|
692
|
-
let
|
|
692
|
+
let q = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : P;
|
|
693
693
|
s && s(B, null);
|
|
694
|
-
let
|
|
695
|
-
for (;
|
|
696
|
-
let le = O[
|
|
694
|
+
let V = O.length;
|
|
695
|
+
for (; V--; ) {
|
|
696
|
+
let le = O[V];
|
|
697
697
|
if (typeof le == "string") {
|
|
698
|
-
const ke =
|
|
699
|
-
ke !== le && (a(O) || (O[
|
|
698
|
+
const ke = q(le);
|
|
699
|
+
ke !== le && (a(O) || (O[V] = ke), le = ke);
|
|
700
700
|
}
|
|
701
701
|
B[le] = !0;
|
|
702
702
|
}
|
|
@@ -709,25 +709,25 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
709
709
|
}
|
|
710
710
|
function $e(B) {
|
|
711
711
|
const O = l(null);
|
|
712
|
-
for (const [
|
|
713
|
-
re(B,
|
|
712
|
+
for (const [q, V] of e(B))
|
|
713
|
+
re(B, q) && (Array.isArray(V) ? O[q] = Pr(V) : V && typeof V == "object" && V.constructor === Object ? O[q] = $e(V) : O[q] = V);
|
|
714
714
|
return O;
|
|
715
715
|
}
|
|
716
716
|
function st(B, O) {
|
|
717
717
|
for (; B !== null; ) {
|
|
718
|
-
const
|
|
719
|
-
if (
|
|
720
|
-
if (
|
|
721
|
-
return ce(
|
|
722
|
-
if (typeof
|
|
723
|
-
return ce(
|
|
718
|
+
const V = n(B, O);
|
|
719
|
+
if (V) {
|
|
720
|
+
if (V.get)
|
|
721
|
+
return ce(V.get);
|
|
722
|
+
if (typeof V.value == "function")
|
|
723
|
+
return ce(V.value);
|
|
724
724
|
}
|
|
725
725
|
B = o(B);
|
|
726
726
|
}
|
|
727
|
-
function
|
|
727
|
+
function q() {
|
|
728
728
|
return null;
|
|
729
729
|
}
|
|
730
|
-
return
|
|
730
|
+
return q;
|
|
731
731
|
}
|
|
732
732
|
const jt = h(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Qe = h(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), at = h(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), $r = h(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), ht = h(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), _r = h(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), dt = h(["#text"]), Et = h(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Tt = h(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Wt = h(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), ft = h(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ir = u(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Gt = u(/<%[\w\W]*|[\w\W]*%>/gm), Ar = u(/\$\{[\w\W]*/gm), pt = u(/^data-[\-\w.\u00B7-\uFFFF]+$/), Pt = u(/^aria-[\-\w]+$/), $t = u(
|
|
733
733
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
@@ -756,15 +756,15 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
756
756
|
progressingInstruction: 7,
|
|
757
757
|
comment: 8,
|
|
758
758
|
document: 9
|
|
759
|
-
},
|
|
759
|
+
}, Fr = function() {
|
|
760
760
|
return typeof window > "u" ? null : window;
|
|
761
|
-
},
|
|
761
|
+
}, Lr = function(O, q) {
|
|
762
762
|
if (typeof O != "object" || typeof O.createPolicy != "function")
|
|
763
763
|
return null;
|
|
764
|
-
let
|
|
764
|
+
let V = null;
|
|
765
765
|
const le = "data-tt-policy-suffix";
|
|
766
|
-
|
|
767
|
-
const ke = "dompurify" + (
|
|
766
|
+
q && q.hasAttribute(le) && (V = q.getAttribute(le));
|
|
767
|
+
const ke = "dompurify" + (V ? "#" + V : "");
|
|
768
768
|
try {
|
|
769
769
|
return O.createPolicy(ke, {
|
|
770
770
|
createHTML(Xe) {
|
|
@@ -791,14 +791,14 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
791
791
|
};
|
|
792
792
|
};
|
|
793
793
|
function Kt() {
|
|
794
|
-
let B = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
795
|
-
const O = (
|
|
794
|
+
let B = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Fr();
|
|
795
|
+
const O = (F) => Kt(F);
|
|
796
796
|
if (O.version = "3.2.4", O.removed = [], !B || !B.document || B.document.nodeType !== Ke.document || !B.Element)
|
|
797
797
|
return O.isSupported = !1, O;
|
|
798
798
|
let {
|
|
799
|
-
document:
|
|
799
|
+
document: q
|
|
800
800
|
} = B;
|
|
801
|
-
const
|
|
801
|
+
const V = q, le = V.currentScript, {
|
|
802
802
|
DocumentFragment: ke,
|
|
803
803
|
HTMLTemplateElement: Xe,
|
|
804
804
|
Node: mt,
|
|
@@ -810,8 +810,8 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
810
810
|
trustedTypes: gt
|
|
811
811
|
} = B, Me = It.prototype, ot = st(Me, "cloneNode"), zr = st(Me, "remove"), Xt = st(Me, "nextSibling"), Ee = st(Me, "childNodes"), it = st(Me, "parentNode");
|
|
812
812
|
if (typeof Xe == "function") {
|
|
813
|
-
const
|
|
814
|
-
|
|
813
|
+
const F = q.createElement("template");
|
|
814
|
+
F.content && F.content.ownerDocument && (q = F.content.ownerDocument);
|
|
815
815
|
}
|
|
816
816
|
let ue, _e = "";
|
|
817
817
|
const {
|
|
@@ -819,9 +819,9 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
819
819
|
createNodeIterator: Jt,
|
|
820
820
|
createDocumentFragment: Hr,
|
|
821
821
|
getElementsByTagName: ct
|
|
822
|
-
} =
|
|
822
|
+
} = q, {
|
|
823
823
|
importNode: Te
|
|
824
|
-
} =
|
|
824
|
+
} = V;
|
|
825
825
|
let ae = _t();
|
|
826
826
|
O.isSupported = typeof e == "function" && typeof it == "function" && Ot && Ot.createHTMLDocument !== void 0;
|
|
827
827
|
const {
|
|
@@ -862,32 +862,32 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
862
862
|
})), ze = null, f = null, i = !0, d = !0, g = !1, v = !0, y = !1, R = !0, k = !1, T = !1, x = !1, w = !1, Z = !1, I = !1, oe = !0, G = !1;
|
|
863
863
|
const me = "user-content-";
|
|
864
864
|
let bt = !0, He = !1, Ue = {}, Be = null;
|
|
865
|
-
const
|
|
865
|
+
const Ft = z({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
866
866
|
let nr = null;
|
|
867
867
|
const vt = z({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
868
|
-
let
|
|
869
|
-
const xs = z({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), or = "http://www.w3.org/1998/Math/MathML", ir = "http://www.w3.org/2000/svg",
|
|
870
|
-
let yt =
|
|
871
|
-
const Qa = z({}, [or, ir,
|
|
868
|
+
let Ve = null;
|
|
869
|
+
const xs = z({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), or = "http://www.w3.org/1998/Math/MathML", ir = "http://www.w3.org/2000/svg", qe = "http://www.w3.org/1999/xhtml";
|
|
870
|
+
let yt = qe, Br = !1, Vr = null;
|
|
871
|
+
const Qa = z({}, [or, ir, qe], _);
|
|
872
872
|
let cr = z({}, ["mi", "mo", "mn", "ms", "mtext"]), lr = z({}, ["annotation-xml"]);
|
|
873
873
|
const Ka = z({}, ["title", "style", "font", "a", "script"]);
|
|
874
|
-
let
|
|
874
|
+
let Lt = null;
|
|
875
875
|
const Xa = ["application/xhtml+xml", "text/html"], Ja = "text/html";
|
|
876
876
|
let he = null, kt = null;
|
|
877
|
-
const en =
|
|
877
|
+
const en = q.createElement("form"), ws = function(b) {
|
|
878
878
|
return b instanceof RegExp || b instanceof Function;
|
|
879
|
-
},
|
|
879
|
+
}, qr = function() {
|
|
880
880
|
let b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
881
881
|
if (!(kt && kt === b)) {
|
|
882
|
-
if ((!b || typeof b != "object") && (b = {}), b = $e(b),
|
|
883
|
-
Xa.indexOf(b.PARSER_MEDIA_TYPE) === -1 ? Ja : b.PARSER_MEDIA_TYPE, he =
|
|
882
|
+
if ((!b || typeof b != "object") && (b = {}), b = $e(b), Lt = // eslint-disable-next-line unicorn/prefer-includes
|
|
883
|
+
Xa.indexOf(b.PARSER_MEDIA_TYPE) === -1 ? Ja : b.PARSER_MEDIA_TYPE, he = Lt === "application/xhtml+xml" ? _ : P, ne = re(b, "ALLOWED_TAGS") ? z({}, b.ALLOWED_TAGS, he) : sr, ie = re(b, "ALLOWED_ATTR") ? z({}, b.ALLOWED_ATTR, he) : ar, Vr = re(b, "ALLOWED_NAMESPACES") ? z({}, b.ALLOWED_NAMESPACES, _) : Qa, Ve = re(b, "ADD_URI_SAFE_ATTR") ? z($e(xs), b.ADD_URI_SAFE_ATTR, he) : xs, nr = re(b, "ADD_DATA_URI_TAGS") ? z($e(vt), b.ADD_DATA_URI_TAGS, he) : vt, Be = re(b, "FORBID_CONTENTS") ? z({}, b.FORBID_CONTENTS, he) : Ft, ze = re(b, "FORBID_TAGS") ? z({}, b.FORBID_TAGS, he) : {}, f = re(b, "FORBID_ATTR") ? z({}, b.FORBID_ATTR, he) : {}, Ue = re(b, "USE_PROFILES") ? b.USE_PROFILES : !1, i = b.ALLOW_ARIA_ATTR !== !1, d = b.ALLOW_DATA_ATTR !== !1, g = b.ALLOW_UNKNOWN_PROTOCOLS || !1, v = b.ALLOW_SELF_CLOSE_IN_ATTR !== !1, y = b.SAFE_FOR_TEMPLATES || !1, R = b.SAFE_FOR_XML !== !1, k = b.WHOLE_DOCUMENT || !1, w = b.RETURN_DOM || !1, Z = b.RETURN_DOM_FRAGMENT || !1, I = b.RETURN_TRUSTED_TYPE || !1, x = b.FORCE_BODY || !1, oe = b.SANITIZE_DOM !== !1, G = b.SANITIZE_NAMED_PROPS || !1, bt = b.KEEP_CONTENT !== !1, He = b.IN_PLACE || !1, rr = b.ALLOWED_URI_REGEXP || $t, yt = b.NAMESPACE || qe, cr = b.MATHML_TEXT_INTEGRATION_POINTS || cr, lr = b.HTML_INTEGRATION_POINTS || lr, X = b.CUSTOM_ELEMENT_HANDLING || {}, b.CUSTOM_ELEMENT_HANDLING && ws(b.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (X.tagNameCheck = b.CUSTOM_ELEMENT_HANDLING.tagNameCheck), b.CUSTOM_ELEMENT_HANDLING && ws(b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (X.attributeNameCheck = b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), b.CUSTOM_ELEMENT_HANDLING && typeof b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (X.allowCustomizedBuiltInElements = b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), y && (d = !1), Z && (w = !0), Ue && (ne = z({}, dt), ie = [], Ue.html === !0 && (z(ne, jt), z(ie, Et)), Ue.svg === !0 && (z(ne, Qe), z(ie, Tt), z(ie, ft)), Ue.svgFilters === !0 && (z(ne, at), z(ie, Tt), z(ie, ft)), Ue.mathMl === !0 && (z(ne, ht), z(ie, Wt), z(ie, ft))), b.ADD_TAGS && (ne === sr && (ne = $e(ne)), z(ne, b.ADD_TAGS, he)), b.ADD_ATTR && (ie === ar && (ie = $e(ie)), z(ie, b.ADD_ATTR, he)), b.ADD_URI_SAFE_ATTR && z(Ve, b.ADD_URI_SAFE_ATTR, he), b.FORBID_CONTENTS && (Be === Ft && (Be = $e(Be)), z(Be, b.FORBID_CONTENTS, he)), bt && (ne["#text"] = !0), k && z(ne, ["html", "head", "body"]), ne.table && (z(ne, ["tbody"]), delete ze.tbody), b.TRUSTED_TYPES_POLICY) {
|
|
884
884
|
if (typeof b.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
885
885
|
throw Ae('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
886
886
|
if (typeof b.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
887
887
|
throw Ae('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
888
888
|
ue = b.TRUSTED_TYPES_POLICY, _e = ue.createHTML("");
|
|
889
889
|
} else
|
|
890
|
-
ue === void 0 && (ue =
|
|
890
|
+
ue === void 0 && (ue = Lr(gt, le)), ue !== null && typeof _e == "string" && (_e = ue.createHTML(""));
|
|
891
891
|
h && h(b), kt = b;
|
|
892
892
|
}
|
|
893
893
|
}, Ss = z({}, [...Qe, ...at, ...$r]), Rs = z({}, [...ht, ..._r]), tn = function(b) {
|
|
@@ -897,7 +897,7 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
897
897
|
tagName: "template"
|
|
898
898
|
});
|
|
899
899
|
const M = P(b.tagName), K = P(E.tagName);
|
|
900
|
-
return
|
|
900
|
+
return Vr[b.namespaceURI] ? b.namespaceURI === ir ? E.namespaceURI === qe ? M === "svg" : E.namespaceURI === or ? M === "svg" && (K === "annotation-xml" || cr[K]) : !!Ss[M] : b.namespaceURI === or ? E.namespaceURI === qe ? M === "math" : E.namespaceURI === ir ? M === "math" && lr[K] : !!Rs[M] : b.namespaceURI === qe ? E.namespaceURI === ir && !lr[K] || E.namespaceURI === or && !cr[K] ? !1 : !Rs[M] && (Ka[M] || !Ss[M]) : !!(Lt === "application/xhtml+xml" && Vr[b.namespaceURI]) : !1;
|
|
901
901
|
}, Oe = function(b) {
|
|
902
902
|
N(O.removed, {
|
|
903
903
|
element: b
|
|
@@ -938,11 +938,11 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
938
938
|
const de = U(b, /^[\r\n\t ]+/);
|
|
939
939
|
M = de && de[0];
|
|
940
940
|
}
|
|
941
|
-
|
|
941
|
+
Lt === "application/xhtml+xml" && yt === qe && (b = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + b + "</body></html>");
|
|
942
942
|
const K = ue ? ue.createHTML(b) : b;
|
|
943
|
-
if (yt ===
|
|
943
|
+
if (yt === qe)
|
|
944
944
|
try {
|
|
945
|
-
E = new Mt().parseFromString(K,
|
|
945
|
+
E = new Mt().parseFromString(K, Lt);
|
|
946
946
|
} catch {
|
|
947
947
|
}
|
|
948
948
|
if (!E || !E.documentElement) {
|
|
@@ -953,7 +953,7 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
953
953
|
}
|
|
954
954
|
}
|
|
955
955
|
const ge = E.body || E.documentElement;
|
|
956
|
-
return b && M && ge.insertBefore(
|
|
956
|
+
return b && M && ge.insertBefore(q.createTextNode(M), ge.childNodes[0] || null), yt === qe ? ct.call(E, k ? "html" : "body")[0] : k ? E.documentElement : ge;
|
|
957
957
|
}, Ts = function(b) {
|
|
958
958
|
return Jt.call(
|
|
959
959
|
b.ownerDocument || b,
|
|
@@ -967,8 +967,8 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
967
967
|
}, Ps = function(b) {
|
|
968
968
|
return typeof mt == "function" && b instanceof mt;
|
|
969
969
|
};
|
|
970
|
-
function je(
|
|
971
|
-
S(
|
|
970
|
+
function je(F, b, E) {
|
|
971
|
+
S(F, (M) => {
|
|
972
972
|
M.call(O, b, E, kt);
|
|
973
973
|
});
|
|
974
974
|
}
|
|
@@ -990,8 +990,8 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
990
990
|
if (ge && K) {
|
|
991
991
|
const de = ge.length;
|
|
992
992
|
for (let xe = de - 1; xe >= 0; --xe) {
|
|
993
|
-
const
|
|
994
|
-
|
|
993
|
+
const Fe = ot(ge[xe], !0);
|
|
994
|
+
Fe.__removalCount = (b.__removalCount || 0) + 1, K.insertBefore(Fe, Xt(b));
|
|
995
995
|
}
|
|
996
996
|
}
|
|
997
997
|
}
|
|
@@ -1003,7 +1003,7 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1003
1003
|
element: b.cloneNode()
|
|
1004
1004
|
}), b.textContent = E)), je(ae.afterSanitizeElements, b, null), !1);
|
|
1005
1005
|
}, _s = function(b, E, M) {
|
|
1006
|
-
if (oe && (E === "id" || E === "name") && (M in
|
|
1006
|
+
if (oe && (E === "id" || E === "name") && (M in q || M in en))
|
|
1007
1007
|
return !1;
|
|
1008
1008
|
if (!(d && !f[E] && Q(er, E))) {
|
|
1009
1009
|
if (!(i && Q(Ne, E))) {
|
|
@@ -1016,7 +1016,7 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1016
1016
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
1017
1017
|
E === "is" && X.allowCustomizedBuiltInElements && (X.tagNameCheck instanceof RegExp && Q(X.tagNameCheck, M) || X.tagNameCheck instanceof Function && X.tagNameCheck(M)))
|
|
1018
1018
|
) return !1;
|
|
1019
|
-
} else if (!
|
|
1019
|
+
} else if (!Ve[E]) {
|
|
1020
1020
|
if (!Q(rr, j(M, tr, ""))) {
|
|
1021
1021
|
if (!((E === "src" || E === "xlink:href" || E === "href") && b !== "script" && se(M, "data:") === 0 && nr[b])) {
|
|
1022
1022
|
if (!(g && !Q(W, j(M, tr, "")))) {
|
|
@@ -1050,9 +1050,9 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1050
1050
|
const ge = E[K], {
|
|
1051
1051
|
name: de,
|
|
1052
1052
|
namespaceURI: xe,
|
|
1053
|
-
value:
|
|
1053
|
+
value: Fe
|
|
1054
1054
|
} = ge, Dt = he(de);
|
|
1055
|
-
let ve = de === "value" ?
|
|
1055
|
+
let ve = de === "value" ? Fe : Y(Fe);
|
|
1056
1056
|
if (M.attrName = Dt, M.attrValue = ve, M.keepAttr = !0, M.forceKeepAttr = void 0, je(ae.uponSanitizeAttribute, b, M), ve = M.attrValue, G && (Dt === "id" || Dt === "name") && (ur(de, b), ve = me + ve), R && Q(/((--!?|])>)|<\/(style|title)/i, ve)) {
|
|
1057
1057
|
ur(de, b);
|
|
1058
1058
|
continue;
|
|
@@ -1086,76 +1086,76 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1086
1086
|
}
|
|
1087
1087
|
}
|
|
1088
1088
|
je(ae.afterSanitizeAttributes, b, null);
|
|
1089
|
-
}, rn = function
|
|
1089
|
+
}, rn = function F(b) {
|
|
1090
1090
|
let E = null;
|
|
1091
1091
|
const M = Ts(b);
|
|
1092
1092
|
for (je(ae.beforeSanitizeShadowDOM, b, null); E = M.nextNode(); )
|
|
1093
|
-
je(ae.uponSanitizeShadowNode, E, null), $s(E), As(E), E.content instanceof ke &&
|
|
1093
|
+
je(ae.uponSanitizeShadowNode, E, null), $s(E), As(E), E.content instanceof ke && F(E.content);
|
|
1094
1094
|
je(ae.afterSanitizeShadowDOM, b, null);
|
|
1095
1095
|
};
|
|
1096
|
-
return O.sanitize = function(
|
|
1096
|
+
return O.sanitize = function(F) {
|
|
1097
1097
|
let b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, E = null, M = null, K = null, ge = null;
|
|
1098
|
-
if (Br = !
|
|
1099
|
-
if (typeof
|
|
1100
|
-
if (
|
|
1098
|
+
if (Br = !F, Br && (F = "<!-->"), typeof F != "string" && !Ps(F))
|
|
1099
|
+
if (typeof F.toString == "function") {
|
|
1100
|
+
if (F = F.toString(), typeof F != "string")
|
|
1101
1101
|
throw Ae("dirty is not a string, aborting");
|
|
1102
1102
|
} else
|
|
1103
1103
|
throw Ae("toString is not a function");
|
|
1104
1104
|
if (!O.isSupported)
|
|
1105
|
-
return
|
|
1106
|
-
if (T ||
|
|
1107
|
-
if (
|
|
1108
|
-
const
|
|
1109
|
-
if (!ne[
|
|
1105
|
+
return F;
|
|
1106
|
+
if (T || qr(b), O.removed = [], typeof F == "string" && (He = !1), He) {
|
|
1107
|
+
if (F.nodeName) {
|
|
1108
|
+
const Fe = he(F.nodeName);
|
|
1109
|
+
if (!ne[Fe] || ze[Fe])
|
|
1110
1110
|
throw Ae("root node is forbidden and cannot be sanitized in-place");
|
|
1111
1111
|
}
|
|
1112
|
-
} else if (
|
|
1113
|
-
E = Es("<!---->"), M = E.ownerDocument.importNode(
|
|
1112
|
+
} else if (F instanceof mt)
|
|
1113
|
+
E = Es("<!---->"), M = E.ownerDocument.importNode(F, !0), M.nodeType === Ke.element && M.nodeName === "BODY" || M.nodeName === "HTML" ? E = M : E.appendChild(M);
|
|
1114
1114
|
else {
|
|
1115
1115
|
if (!w && !y && !k && // eslint-disable-next-line unicorn/prefer-includes
|
|
1116
|
-
|
|
1117
|
-
return ue && I ? ue.createHTML(
|
|
1118
|
-
if (E = Es(
|
|
1116
|
+
F.indexOf("<") === -1)
|
|
1117
|
+
return ue && I ? ue.createHTML(F) : F;
|
|
1118
|
+
if (E = Es(F), !E)
|
|
1119
1119
|
return w ? null : I ? _e : "";
|
|
1120
1120
|
}
|
|
1121
1121
|
E && x && Oe(E.firstChild);
|
|
1122
|
-
const de = Ts(He ?
|
|
1122
|
+
const de = Ts(He ? F : E);
|
|
1123
1123
|
for (; K = de.nextNode(); )
|
|
1124
1124
|
$s(K), As(K), K.content instanceof ke && rn(K.content);
|
|
1125
1125
|
if (He)
|
|
1126
|
-
return
|
|
1126
|
+
return F;
|
|
1127
1127
|
if (w) {
|
|
1128
1128
|
if (Z)
|
|
1129
1129
|
for (ge = Hr.call(E.ownerDocument); E.firstChild; )
|
|
1130
1130
|
ge.appendChild(E.firstChild);
|
|
1131
1131
|
else
|
|
1132
1132
|
ge = E;
|
|
1133
|
-
return (ie.shadowroot || ie.shadowrootmode) && (ge = Te.call(
|
|
1133
|
+
return (ie.shadowroot || ie.shadowrootmode) && (ge = Te.call(V, ge, !0)), ge;
|
|
1134
1134
|
}
|
|
1135
1135
|
let xe = k ? E.outerHTML : E.innerHTML;
|
|
1136
1136
|
return k && ne["!doctype"] && E.ownerDocument && E.ownerDocument.doctype && E.ownerDocument.doctype.name && Q(Yt, E.ownerDocument.doctype.name) && (xe = "<!DOCTYPE " + E.ownerDocument.doctype.name + `>
|
|
1137
|
-
` + xe), y && S([Je, Ce, De], (
|
|
1138
|
-
xe = j(xe,
|
|
1137
|
+
` + xe), y && S([Je, Ce, De], (Fe) => {
|
|
1138
|
+
xe = j(xe, Fe, " ");
|
|
1139
1139
|
}), ue && I ? ue.createHTML(xe) : xe;
|
|
1140
1140
|
}, O.setConfig = function() {
|
|
1141
|
-
let
|
|
1142
|
-
|
|
1141
|
+
let F = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1142
|
+
qr(F), T = !0;
|
|
1143
1143
|
}, O.clearConfig = function() {
|
|
1144
1144
|
kt = null, T = !1;
|
|
1145
|
-
}, O.isValidAttribute = function(
|
|
1146
|
-
kt ||
|
|
1147
|
-
const M = he(
|
|
1145
|
+
}, O.isValidAttribute = function(F, b, E) {
|
|
1146
|
+
kt || qr({});
|
|
1147
|
+
const M = he(F), K = he(b);
|
|
1148
1148
|
return _s(M, K, E);
|
|
1149
|
-
}, O.addHook = function(
|
|
1150
|
-
typeof b == "function" && N(ae[
|
|
1151
|
-
}, O.removeHook = function(
|
|
1149
|
+
}, O.addHook = function(F, b) {
|
|
1150
|
+
typeof b == "function" && N(ae[F], b);
|
|
1151
|
+
}, O.removeHook = function(F, b) {
|
|
1152
1152
|
if (b !== void 0) {
|
|
1153
|
-
const E = $(ae[
|
|
1154
|
-
return E === -1 ? void 0 :
|
|
1153
|
+
const E = $(ae[F], b);
|
|
1154
|
+
return E === -1 ? void 0 : L(ae[F], E, 1)[0];
|
|
1155
1155
|
}
|
|
1156
|
-
return A(ae[
|
|
1157
|
-
}, O.removeHooks = function(
|
|
1158
|
-
ae[
|
|
1156
|
+
return A(ae[F]);
|
|
1157
|
+
}, O.removeHooks = function(F) {
|
|
1158
|
+
ae[F] = [];
|
|
1159
1159
|
}, O.removeAllHooks = function() {
|
|
1160
1160
|
ae = _t();
|
|
1161
1161
|
}, O;
|
|
@@ -1164,7 +1164,7 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1164
1164
|
return Dr;
|
|
1165
1165
|
});
|
|
1166
1166
|
})(xa);
|
|
1167
|
-
const wa = xa.exports,
|
|
1167
|
+
const wa = xa.exports, Vt = (r, ...t) => {
|
|
1168
1168
|
let e = r[0];
|
|
1169
1169
|
for (let s = 0; s < t.length; s++)
|
|
1170
1170
|
e += wa.sanitize(t[s] ? String(t[s]) : "") + r[s + 1];
|
|
@@ -1302,7 +1302,7 @@ const to = /* @__PURE__ */ te(class extends ee {
|
|
|
1302
1302
|
return;
|
|
1303
1303
|
let s = "<p>Ad Marketplace Ad Placeholder</p>";
|
|
1304
1304
|
return (n = (o = (a = this.core) == null ? void 0 : a.config) == null ? void 0 : o.admAdConfig) != null && n.template && (s = (u = (h = this.core) == null ? void 0 : h.config) == null ? void 0 : u.admAdConfig.template(e.admAd, {
|
|
1305
|
-
html:
|
|
1305
|
+
html: Vt
|
|
1306
1306
|
})), m("div", { class: "searchcraft-ad searchcraft-adm-ad", "data-searchcraft-ad-container-id": this.adContainerId, id: `searchcraft-adm-ad-${this.adContainerId}`, innerHTML: s });
|
|
1307
1307
|
}
|
|
1308
1308
|
renderCustomAd() {
|
|
@@ -1312,7 +1312,7 @@ const to = /* @__PURE__ */ te(class extends ee {
|
|
|
1312
1312
|
return e && (a = e({
|
|
1313
1313
|
searchTerm: this.searchTerm || "",
|
|
1314
1314
|
adContainerId: this.adContainerId
|
|
1315
|
-
}, { html:
|
|
1315
|
+
}, { html: Vt })), m("div", { class: "searchcraft-ad searchcraft-custom-ad", id: s, "data-searchcraft-ad-container-id": this.adContainerId, innerHTML: a });
|
|
1316
1316
|
}
|
|
1317
1317
|
renderNativoAd() {
|
|
1318
1318
|
var s, a;
|
|
@@ -1453,7 +1453,7 @@ const oo = Er, Sa = (r, t) => {
|
|
|
1453
1453
|
function io(r) {
|
|
1454
1454
|
return r.filter((t, e, s) => !s.some((a, o) => o !== e && a.includes(t)));
|
|
1455
1455
|
}
|
|
1456
|
-
const
|
|
1456
|
+
const qs = (r, t) => {
|
|
1457
1457
|
const e = structuredClone(r), s = (a, o) => {
|
|
1458
1458
|
var u;
|
|
1459
1459
|
const n = structuredClone(a), h = Sa(t, o);
|
|
@@ -1598,14 +1598,14 @@ const Vs = (r, t) => {
|
|
|
1598
1598
|
count: 0,
|
|
1599
1599
|
children: S || []
|
|
1600
1600
|
}, this.exclude);
|
|
1601
|
-
this.facetTreeCollectedFromSearchResponse =
|
|
1601
|
+
this.facetTreeCollectedFromSearchResponse = qs($, n);
|
|
1602
1602
|
} else
|
|
1603
1603
|
this.facetTreeCollectedFromSearchResponse = n;
|
|
1604
1604
|
break;
|
|
1605
1605
|
}
|
|
1606
1606
|
case "FACET_UPDATE":
|
|
1607
1607
|
case "SORT_ORDER_UPDATE":
|
|
1608
|
-
this.facetTreeCollectedFromSearchResponse =
|
|
1608
|
+
this.facetTreeCollectedFromSearchResponse = qs(this.facetTreeCollectedFromSearchResponse, n);
|
|
1609
1609
|
break;
|
|
1610
1610
|
default:
|
|
1611
1611
|
return;
|
|
@@ -1906,10 +1906,10 @@ const mo = /* @__PURE__ */ te(class extends ee {
|
|
|
1906
1906
|
}
|
|
1907
1907
|
render() {
|
|
1908
1908
|
const e = (this.startValue - this.lowerBound) / (this.upperBound - this.lowerBound) * 100, s = (this.endValue - this.lowerBound) / (this.upperBound - this.lowerBound) * 100, a = this.getLabel(this.startValue), o = this.getLabel(this.endValue);
|
|
1909
|
-
return m("div", { key: "
|
|
1909
|
+
return m("div", { key: "d5035ed8bcbf95c0ef5b2a7a9ef471e318a9dc30", class: "searchcraft-slider" }, m("div", { key: "f5f7bc48703250b4f6c75a1f07c921233bd957d5", class: "searchcraft-slider-range" }, m("div", { key: "fc2ec9f9786986a7306ffe43b54c47c35a1f086a", class: "searchcraft-slider-active-range", style: {
|
|
1910
1910
|
left: `${e}%`,
|
|
1911
1911
|
width: `${s - e}%`
|
|
1912
|
-
} }), m("input", { key: "
|
|
1912
|
+
} }), m("input", { key: "716316b5ce507c40db5b7bd408f47b3bece88494", class: we("searchcraft-slider-input", "searchcraft-slider-input-min-handle"), max: this.upperBound, min: this.lowerBound, onInput: this.handleStartValueChange.bind(this), step: this.step, style: { zIndex: this.lastFocusedHandle === "min" ? "2" : "1" }, type: "range", value: this.startValue }), m("input", { key: "e2ad0d586136185faccb50d6d7fb113a64ddac42", class: we("searchcraft-slider-input", "searchcraft-slider-input-max-handle"), max: this.upperBound, min: this.lowerBound, onInput: this.handleEndValueChange.bind(this), step: this.step, style: { zIndex: this.lastFocusedHandle === "max" ? "2" : "1" }, type: "range", value: this.endValue })), m("div", { key: "7e9ab9fa9563cac6a1dfdd11910e04084ae5348d", class: "searchcraft-slider-label" }, m("span", { key: "0909279f460c4be84c1088c5981a5f5299e8e2a0", class: "searchcraft-slider-start-label" }, a), m("span", { key: "4b610a68f97fcbc0aa1eda428dfa1e53b00efe43", class: "searchcraft-slider-end-label" }, o)));
|
|
1913
1913
|
}
|
|
1914
1914
|
}, [0, "searchcraft-slider", {
|
|
1915
1915
|
max: [2],
|
|
@@ -1976,9 +1976,9 @@ const go = /* @__PURE__ */ te(class extends ee {
|
|
|
1976
1976
|
(e = this.unsubscribe) == null || e.call(this), (s = this.cleanupCore) == null || s.call(this);
|
|
1977
1977
|
}
|
|
1978
1978
|
render() {
|
|
1979
|
-
return m("div", { key: "
|
|
1979
|
+
return m("div", { key: "7dad6f4e4422a62f6403724ff16fe25e042ae2ac", class: we("searchcraft-toggle-button", {
|
|
1980
1980
|
"searchcraft-toggle-button-active": this.isActive
|
|
1981
|
-
}) }, m("div", { key: "
|
|
1981
|
+
}) }, m("div", { key: "2faa2ee1eb5cb78dc39f523415f2be96bc23fed1" }, m("p", { key: "29ea63c281b8f1ae041ba75a149ce1b60e936662", class: "searchcraft-toggle-button-label" }, this.label), this.subLabel && m("p", { key: "e51efaae5ca79eede71852e6dec8eff4575139fe", class: "searchcraft-toggle-button-sub-label" }, this.subLabel)), m("button", { key: "d590da981692db162df9b8086ba2444d6a56ef9d", class: "searchcraft-toggle-button-background", onClick: this.handleToggle, type: "button" }, m("div", { key: "5be6ee1dd7dc58bd67fff18923569caee37b4936", class: "searchcraft-toggle-button-handle" })));
|
|
1982
1982
|
}
|
|
1983
1983
|
}, [0, "searchcraft-toggle-button", {
|
|
1984
1984
|
label: [1],
|
|
@@ -2009,23 +2009,113 @@ const bo = /* @__PURE__ */ te(class extends ee {
|
|
|
2009
2009
|
* The items to filter.
|
|
2010
2010
|
*/
|
|
2011
2011
|
c(this, "items", []);
|
|
2012
|
+
/**
|
|
2013
|
+
* The breakpoint (in pixels) below which the filter panel will be hidden.
|
|
2014
|
+
* Defaults to 768px (--sc-breakpoint-md).
|
|
2015
|
+
*/
|
|
2016
|
+
c(this, "responsiveBreakpoint", 768);
|
|
2017
|
+
/**
|
|
2018
|
+
* Controls whether the filter panel automatically hides/shows based on window size.
|
|
2019
|
+
* - 'auto': Automatically hide/show based on window width
|
|
2020
|
+
* - 'manual': User controls visibility manually
|
|
2021
|
+
*/
|
|
2022
|
+
c(this, "responsiveBehavior", "auto");
|
|
2012
2023
|
c(this, "lastSearchTerm");
|
|
2024
|
+
c(this, "isFilterPanelVisible", !0);
|
|
2013
2025
|
c(this, "core");
|
|
2014
2026
|
c(this, "unsubscribe");
|
|
2015
2027
|
c(this, "cleanupCore");
|
|
2028
|
+
c(this, "resizeObserver");
|
|
2029
|
+
c(this, "manuallyToggled", !1);
|
|
2030
|
+
// Track if user manually toggled visibility
|
|
2031
|
+
c(this, "toggleClickHandler");
|
|
2032
|
+
/**
|
|
2033
|
+
* Handles window resize events
|
|
2034
|
+
*/
|
|
2035
|
+
c(this, "handleWindowResize", () => {
|
|
2036
|
+
this.responsiveBehavior === "auto" && this.updateVisibilityBasedOnWindowSize();
|
|
2037
|
+
});
|
|
2016
2038
|
this.__registerHost();
|
|
2017
2039
|
}
|
|
2040
|
+
get hostElement() {
|
|
2041
|
+
return this;
|
|
2042
|
+
}
|
|
2018
2043
|
onCoreAvailable(e) {
|
|
2019
|
-
this.core = e, this.setInitialDateRanges(), this.unsubscribe = e.store.subscribe((s) => {
|
|
2020
|
-
this.lastSearchTerm = s.searchTerm || ""
|
|
2044
|
+
this.core = e, this.setInitialDateRanges(), this.responsiveBehavior === "auto" && this.updateVisibilityBasedOnWindowSize(), this.unsubscribe = e.store.subscribe((s, a) => {
|
|
2045
|
+
if (this.lastSearchTerm = s.searchTerm || "", a.isFilterPanelVisible !== s.isFilterPanelVisible) {
|
|
2046
|
+
const n = window.innerWidth >= (this.responsiveBreakpoint || 768);
|
|
2047
|
+
s.isFilterPanelVisible !== n && (this.manuallyToggled = !0), this.updateToggleElementAttributes(s.isFilterPanelVisible);
|
|
2048
|
+
}
|
|
2049
|
+
this.isFilterPanelVisible = s.isFilterPanelVisible;
|
|
2021
2050
|
});
|
|
2022
2051
|
}
|
|
2023
2052
|
componentDidLoad() {
|
|
2024
|
-
this.cleanupCore = pe.useCoreInstance(this.searchcraftId, this.onCoreAvailable.bind(this))
|
|
2053
|
+
this.cleanupCore = pe.useCoreInstance(this.searchcraftId, this.onCoreAvailable.bind(this)), this.responsiveBehavior === "auto" && typeof window < "u" && this.setupResizeObserver(), this.setupToggleClickHandlers(), setTimeout(() => {
|
|
2054
|
+
if (this.core) {
|
|
2055
|
+
const e = this.core.store.getState().isFilterPanelVisible;
|
|
2056
|
+
this.updateToggleElementAttributes(e);
|
|
2057
|
+
}
|
|
2058
|
+
}, 0);
|
|
2025
2059
|
}
|
|
2026
2060
|
disconnectedCallback() {
|
|
2027
|
-
var e, s;
|
|
2028
|
-
(e = this.unsubscribe) == null || e.call(this), (s = this.cleanupCore) == null || s.call(this);
|
|
2061
|
+
var e, s, a;
|
|
2062
|
+
(e = this.unsubscribe) == null || e.call(this), (s = this.cleanupCore) == null || s.call(this), (a = this.resizeObserver) == null || a.disconnect(), typeof window < "u" && window.removeEventListener("resize", this.handleWindowResize), this.cleanupToggleClickHandlers();
|
|
2063
|
+
}
|
|
2064
|
+
/**
|
|
2065
|
+
* Sets up a ResizeObserver to watch for window size changes
|
|
2066
|
+
*/
|
|
2067
|
+
setupResizeObserver() {
|
|
2068
|
+
if (typeof ResizeObserver > "u") {
|
|
2069
|
+
window.addEventListener("resize", this.handleWindowResize);
|
|
2070
|
+
return;
|
|
2071
|
+
}
|
|
2072
|
+
this.resizeObserver = new ResizeObserver(() => {
|
|
2073
|
+
this.handleWindowResize();
|
|
2074
|
+
}), this.resizeObserver.observe(document.body);
|
|
2075
|
+
}
|
|
2076
|
+
/**
|
|
2077
|
+
* Updates filter panel visibility based on current window width
|
|
2078
|
+
*/
|
|
2079
|
+
updateVisibilityBasedOnWindowSize() {
|
|
2080
|
+
if (typeof window > "u" || this.manuallyToggled)
|
|
2081
|
+
return;
|
|
2082
|
+
const s = window.innerWidth >= (this.responsiveBreakpoint || 768);
|
|
2083
|
+
this.core && this.isFilterPanelVisible !== s && this.core.store.getState().setFilterPanelVisibility(s);
|
|
2084
|
+
}
|
|
2085
|
+
/**
|
|
2086
|
+
* Sets up click handlers for elements with data-toggle-filter-panel attribute
|
|
2087
|
+
*/
|
|
2088
|
+
setupToggleClickHandlers() {
|
|
2089
|
+
if (typeof document > "u")
|
|
2090
|
+
return;
|
|
2091
|
+
this.toggleClickHandler = (s) => {
|
|
2092
|
+
if (!(window.innerWidth >= (this.responsiveBreakpoint || 768)) && (s.preventDefault(), this.core)) {
|
|
2093
|
+
const o = this.core.store.getState().isFilterPanelVisible;
|
|
2094
|
+
this.core.store.getState().setFilterPanelVisibility(!o);
|
|
2095
|
+
}
|
|
2096
|
+
}, document.querySelectorAll("[data-toggle-filter-panel]").forEach((s) => {
|
|
2097
|
+
this.toggleClickHandler && s.addEventListener("click", this.toggleClickHandler);
|
|
2098
|
+
});
|
|
2099
|
+
}
|
|
2100
|
+
/**
|
|
2101
|
+
* Updates data attributes on toggle elements to reflect panel visibility state
|
|
2102
|
+
*/
|
|
2103
|
+
updateToggleElementAttributes(e) {
|
|
2104
|
+
if (typeof document > "u")
|
|
2105
|
+
return;
|
|
2106
|
+
document.querySelectorAll("[data-toggle-filter-panel]").forEach((a) => {
|
|
2107
|
+
e ? (a.removeAttribute("data-filter-panel-collapsed"), a.setAttribute("data-filter-panel-expanded", "")) : (a.removeAttribute("data-filter-panel-expanded"), a.setAttribute("data-filter-panel-collapsed", ""));
|
|
2108
|
+
});
|
|
2109
|
+
}
|
|
2110
|
+
/**
|
|
2111
|
+
* Cleans up click handlers for toggle elements
|
|
2112
|
+
*/
|
|
2113
|
+
cleanupToggleClickHandlers() {
|
|
2114
|
+
if (typeof document > "u" || !this.toggleClickHandler)
|
|
2115
|
+
return;
|
|
2116
|
+
document.querySelectorAll("[data-toggle-filter-panel]").forEach((s) => {
|
|
2117
|
+
this.toggleClickHandler && s.removeEventListener("click", this.toggleClickHandler);
|
|
2118
|
+
});
|
|
2029
2119
|
}
|
|
2030
2120
|
/**
|
|
2031
2121
|
* Sets the initial min/max date range values for search queries based on the filter items provided.
|
|
@@ -2081,7 +2171,7 @@ const bo = /* @__PURE__ */ te(class extends ee {
|
|
|
2081
2171
|
* Iterate through `items` and render them based on `type`
|
|
2082
2172
|
*/
|
|
2083
2173
|
render() {
|
|
2084
|
-
return m("div", {
|
|
2174
|
+
return this.isFilterPanelVisible ? m("div", { class: "searchcraft-filter-panel" }, this.items.map((e) => {
|
|
2085
2175
|
switch (e.type) {
|
|
2086
2176
|
case "dateRange": {
|
|
2087
2177
|
const s = e, a = s.options.maxDate || /* @__PURE__ */ new Date();
|
|
@@ -2114,12 +2204,15 @@ const bo = /* @__PURE__ */ te(class extends ee {
|
|
|
2114
2204
|
} });
|
|
2115
2205
|
}
|
|
2116
2206
|
}
|
|
2117
|
-
}));
|
|
2207
|
+
})) : null;
|
|
2118
2208
|
}
|
|
2119
2209
|
}, [0, "searchcraft-filter-panel", {
|
|
2120
2210
|
searchcraftId: [1, "searchcraft-id"],
|
|
2121
2211
|
items: [16],
|
|
2122
|
-
|
|
2212
|
+
responsiveBreakpoint: [2, "responsive-breakpoint"],
|
|
2213
|
+
responsiveBehavior: [1, "responsive-behavior"],
|
|
2214
|
+
lastSearchTerm: [32],
|
|
2215
|
+
isFilterPanelVisible: [32]
|
|
2123
2216
|
}]);
|
|
2124
2217
|
function vo() {
|
|
2125
2218
|
if (typeof customElements > "u")
|
|
@@ -2152,7 +2245,7 @@ const yo = vo, ko = /* @__PURE__ */ te(class extends ee {
|
|
|
2152
2245
|
this.__registerHost();
|
|
2153
2246
|
}
|
|
2154
2247
|
render() {
|
|
2155
|
-
return m("label", { key: "
|
|
2248
|
+
return m("label", { key: "1008f9beb320aaa94026604b283eb65a96023265", class: we("searchcraft-input-label", this.inputLabelClassName), htmlFor: "searchcraft-input-id" }, this.label);
|
|
2156
2249
|
}
|
|
2157
2250
|
}, [0, "searchcraft-input-label", {
|
|
2158
2251
|
inputLabelClassName: [1, "input-label-class-name"],
|
|
@@ -2278,7 +2371,7 @@ const Co = /* @__PURE__ */ te(class extends ee {
|
|
|
2278
2371
|
}), o = {
|
|
2279
2372
|
gap: this.inputLabel || this.error ? "4px 8px" : "0px 8px"
|
|
2280
2373
|
};
|
|
2281
|
-
return m("form", { key: "
|
|
2374
|
+
return m("form", { key: "8ba91615394f95c0d5bd26a3006d3e8b454f047e", class: "searchcraft-input-form", onSubmit: this.handleFormSubmit }, m("div", { key: "d9025a1c041e3132280b22e5a1b039df0196cea5", class: s, style: o }, m("div", { key: "a8c3a80a0ccb718f974902fb1d163d5c3ee6194a", class: "searchcraft-input-form-button" }, m("searchcraft-button", { key: "a12ff9a8cdb9a4ce3c3fd54b1c2ae084edd37069", onButtonClick: this.handleFormSubmit, label: this.buttonLabel })), this.inputLabel && m("div", { key: "866e7162c402524eaca864bb6e950a244245dc48", class: "searchcraft-input-form-label" }, m("searchcraft-input-label", { key: "c57217cd5924c827df08e22a728067e3bfc63a26", label: this.inputLabel })), this.error && m("div", { key: "4a54728bf366db50de39470cf31860a6307dafea", class: "searchcraft-input-form-error-message" }, m("searchcraft-error-message", { key: "5fa5b5f5677350338d15c8e6614b0d9f584141b0" }, "Something went wrong.")), m("div", { key: "67be766103a3bca11cff6f83a2a6dea7c6c6f106", class: "searchcraft-input-form-input-wrapper" }, m("input", { key: "931609a4e8fc55d688077ec6cb04f2bb9b86b5fe", autoComplete: "off", class: we("searchcraft-input-form-input", {
|
|
2282
2375
|
"searchcraft-placeholder-hide-on-focus": this.placeholderBehavior === "hide-on-focus"
|
|
2283
2376
|
}), onFocus: () => {
|
|
2284
2377
|
var n;
|
|
@@ -2288,7 +2381,7 @@ const Co = /* @__PURE__ */ te(class extends ee {
|
|
|
2288
2381
|
return (n = this.inputBlur) == null ? void 0 : n.emit();
|
|
2289
2382
|
}, onInput: (n) => {
|
|
2290
2383
|
this.handleInput(n);
|
|
2291
|
-
}, placeholder: this.placeholderValue, type: "text", value: this.inputValue }), m("div", { key: "
|
|
2384
|
+
}, placeholder: this.placeholderValue, type: "text", value: this.inputValue }), m("div", { key: "7feb32348b7faec4104137a142ba8150149498a5", class: "searchcraft-input-form-input-icon" }, m("svg", { key: "8b9abd236d4896b8dbd5c14e06019c116e3675be", class: "searchcraft-input-form-input-search-icon", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "searchcraft-title" }, m("title", { key: "4d3b6724f6532920f5531d2e15b28a06f0770688" }, "Search icon"), m("path", { key: "65a46a1916c1f020c9bebffd42aa016b59177376", d: "M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), e && m("button", { key: "65278eb0ab49415dce79c874adf90adcb5854db5", type: "button", class: "searchcraft-input-form-clear-button", onClick: this.handleClearInput }, m("svg", { key: "0016263afe32250ace58cc4b98ff6106d7d9d4a0", class: "searchcraft-input-form-clear-icon", viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "icon-title" }, m("title", { key: "9b40d806455ab9c19c0cddb4c76101debdb0266c" }, "Clear icon"), m("path", { key: "2954ee1496d6736d6e780755034902c76adb81e9", d: "M14 8L8 14M8 8L14 14M21 11C21 16.5228 16.5228 21 11 21C5.47715 21 1 16.5228 1 11C1 5.47715 5.47715 1 11 1C16.5228 1 21 5.47715 21 11Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))));
|
|
2292
2385
|
}
|
|
2293
2386
|
static get watchers() {
|
|
2294
2387
|
return {
|
|
@@ -2339,7 +2432,7 @@ const xo = $a, wo = hs, So = /* @__PURE__ */ te(class extends ee {
|
|
|
2339
2432
|
this.__registerHost();
|
|
2340
2433
|
}
|
|
2341
2434
|
render() {
|
|
2342
|
-
return m("div", { key: "
|
|
2435
|
+
return m("div", { key: "5bda164202246eeb2e56bb6a25bede9931898e7a", class: "searchcraft-loading" }, m("div", { key: "e33a5abc6686f9983c718a2532aa2d46902d98a2", class: "searchcraft-loading-bars" }, m("div", { key: "85ff7af527b8f419c9bfd6e84331dd68772e6fdd", class: "searchcraft-loading-bar-1" }), m("div", { key: "1485d17e9262dbec6d2e5976a63149878137821c", class: "searchcraft-loading-bar-2" }), m("div", { key: "d2939b9f7bc0599df7d96db91802ebfcbf232f3e", class: "searchcraft-loading-bar-3" }), m("div", { key: "7a73bd5baf25ec789c3170e066d1333b905bfe7b", class: "searchcraft-loading-bar-4" }), m("div", { key: "b644b618766727773b21d288945c21b6ef0be958", class: "searchcraft-loading-bar-5" }), m("div", { key: "4f5123a786fc40891ca54edc538dd56f683b26ce", class: "searchcraft-loading-bar-6" })), m("p", { key: "967c1a6fb41231c8d713b78facca98e7f5a80709", class: "searchcraft-loading-label" }, this.label));
|
|
2343
2436
|
}
|
|
2344
2437
|
}, [0, "searchcraft-loading", {
|
|
2345
2438
|
label: [1]
|
|
@@ -2527,7 +2620,7 @@ const Po = To, $o = /* @__PURE__ */ te(class extends ee {
|
|
|
2527
2620
|
}
|
|
2528
2621
|
}
|
|
2529
2622
|
render() {
|
|
2530
|
-
return m("button", { key: "
|
|
2623
|
+
return m("button", { key: "4f11d81bb189a929372d9e398a0913b3b626e42c", class: `searchcraft-popover-button ${this.type ? ` searchcraft-popover-button-${this.type}` : ""}`, innerHTML: typeof this.template < "u" ? this.template({ isPopoverVisible: this.isPopoverVisible }, { html: Vt }) : void 0, onClick: this.handleOnClick.bind(this), type: "button" }, typeof this.template < "u" ? void 0 : this.type ? this.renderSlot() : "Open Popover");
|
|
2531
2624
|
}
|
|
2532
2625
|
}, [4, "searchcraft-popover-button", {
|
|
2533
2626
|
template: [16],
|
|
@@ -2576,7 +2669,7 @@ const Io = _o, Ao = /* @__PURE__ */ te(class extends ee {
|
|
|
2576
2669
|
(e = this.unsubscribe) == null || e.call(this), (s = this.cleanupCore) == null || s.call(this);
|
|
2577
2670
|
}
|
|
2578
2671
|
render() {
|
|
2579
|
-
return m("footer", { key: "
|
|
2672
|
+
return m("footer", { key: "5e3c0da21c63453ac705d0ea2dbb1ee5053bd527", class: "searchcraft-popover-footer" }, m("p", { key: "34332a6a54af63717a6f6c36c65a321b2d18c82c", class: "searchcraft-popover-footer-results-info" }, this.searchResultsCount ? `${Ea(this.searchResultsCount)} Results Found` : " "), m("a", { key: "8cd1bd1ad4e3a91e7221c5d38650b10a66dc884e", class: "searchcraft-popover-footer-link", href: "https://searchcraft.io/", target: "_blank", rel: "noreferrer" }, m("svg", { key: "4ebaa80bc3ee8cc2643368d84158cc46ac141376", class: "searchcraft-popover-footer-link-image", width: "169", height: "16", viewBox: "0 0 169 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, m("title", { key: "804857d081cf5cbd8e63af05c3479a96872d136d" }, "Powered by Searchcraft"), m("path", { key: "43d4a2b110134036b8823e508f535c293fb2df0c", d: "M5.07288 0.608C7.60088 0.608 8.84888 2.064 8.84888 4.112C8.84888 6.16 7.60088 7.616 5.07288 7.616H1.68088V12H0.336875V0.608H5.07288ZM5.07288 6.4C6.67288 6.4 7.45688 5.552 7.45688 4.112C7.45688 2.672 6.67288 1.824 5.07288 1.824H1.68088V6.4H5.07288ZM13.31 12.192C10.99 12.192 9.31 10.512 9.31 7.872C9.31 5.232 10.99 3.552 13.31 3.552C15.63 3.552 17.31 5.232 17.31 7.872C17.31 10.512 15.63 12.192 13.31 12.192ZM13.31 11.04C14.91 11.04 15.966 9.872 15.966 7.872C15.966 5.872 14.91 4.704 13.31 4.704C11.71 4.704 10.654 5.872 10.654 7.872C10.654 9.872 11.71 11.04 13.31 11.04ZM28.3826 3.744H29.7586L27.0066 12H25.6626L24.4466 8.176C24.1586 7.264 23.8706 6.304 23.6146 5.376C23.3426 6.304 23.0546 7.264 22.7666 8.176L21.5666 12H20.2226L17.4706 3.744H18.8466L20.0146 7.472C20.3346 8.48 20.6226 9.472 20.9106 10.48C21.1826 9.472 21.4706 8.48 21.7906 7.472L22.9426 3.744H24.2866L25.4386 7.472C25.7426 8.464 26.0466 9.456 26.3346 10.448C26.6066 9.456 26.9106 8.464 27.2146 7.472L28.3826 3.744ZM37.5194 7.872V8.32H31.2474C31.3754 10.176 32.3514 11.024 33.7914 11.024C34.9594 11.024 35.6954 10.416 35.9834 9.488H37.3114C36.9114 11.04 35.7274 12.192 33.7594 12.192C31.5034 12.192 29.9194 10.544 29.9194 7.872C29.9194 5.28 31.4394 3.552 33.7274 3.552C36.1914 3.552 37.5194 5.504 37.5194 7.872ZM33.7274 4.72C32.4314 4.72 31.4874 5.536 31.2794 7.168H36.1434C36.0154 5.808 35.1994 4.72 33.7274 4.72ZM42.9101 3.616C43.0381 3.616 43.1661 3.616 43.3421 3.632V4.864H43.0221C41.3741 4.864 40.3181 5.696 40.3181 7.296V12H39.0381V3.744H40.2541V5.2C40.7181 4.336 41.5661 3.616 42.9101 3.616ZM51.2538 7.872V8.32H44.9818C45.1098 10.176 46.0858 11.024 47.5258 11.024C48.6938 11.024 49.4298 10.416 49.7178 9.488H51.0458C50.6458 11.04 49.4618 12.192 47.4938 12.192C45.2378 12.192 43.6538 10.544 43.6538 7.872C43.6538 5.28 45.1738 3.552 47.4618 3.552C49.9258 3.552 51.2538 5.504 51.2538 7.872ZM47.4618 4.72C46.1658 4.72 45.2218 5.536 45.0138 7.168H49.8778C49.7498 5.808 48.9338 4.72 47.4618 4.72ZM58.9805 0.608H60.2605V12H59.0445V10.72C58.4205 11.664 57.4445 12.192 56.2125 12.192C53.8925 12.192 52.3725 10.512 52.3725 7.872C52.3725 5.232 53.8925 3.552 56.2125 3.552C57.4125 3.552 58.3565 4.048 58.9805 4.928V0.608ZM56.3725 11.04C57.9725 11.04 59.0285 9.872 59.0285 7.872C59.0285 5.872 57.9725 4.704 56.3725 4.704C54.7725 4.704 53.7165 5.936 53.7165 7.936C53.7165 9.936 54.7725 11.04 56.3725 11.04ZM69.2736 3.552C71.5936 3.552 73.1136 5.232 73.1136 7.872C73.1136 10.512 71.5936 12.192 69.2736 12.192C68.0416 12.192 67.0656 11.664 66.4416 10.72V12H65.2256V0.608H66.5056V4.928C67.1296 4.048 68.0736 3.552 69.2736 3.552ZM69.1136 11.04C70.7136 11.04 71.7696 9.808 71.7696 7.808C71.7696 5.808 70.7136 4.704 69.1136 4.704C67.5136 4.704 66.4576 5.872 66.4576 7.872C66.4576 9.872 67.5136 11.04 69.1136 11.04ZM79.3795 3.744H80.7715L77.2835 13.296C76.7555 14.752 75.9075 15.184 74.5955 15.184C74.3395 15.184 74.0995 15.168 73.8275 15.136V14.064H74.5795C75.3955 14.064 75.8275 13.696 76.0835 13.04C76.1795 12.8 76.2755 12.528 76.3715 12.272L73.2675 3.744H74.6755L75.8435 7.184C76.2595 8.384 76.6435 9.568 77.0275 10.752C77.3955 9.568 77.7955 8.368 78.2115 7.168L79.3795 3.744ZM89.1546 12.256C86.1146 12.256 84.2906 10.864 84.2746 8.24H86.4026C86.4346 10.032 87.6346 10.512 89.2186 10.512C90.7066 10.512 91.5226 9.936 91.5226 8.864C91.5226 7.968 90.9306 7.568 89.1866 7.216L88.2266 7.024C86.0186 6.608 84.5626 5.632 84.5626 3.568C84.5626 1.68 86.0506 0.351999 88.7866 0.351999C91.9866 0.351999 93.3466 1.856 93.4266 4H91.3306C91.2506 2.784 90.6266 2.096 88.8186 2.096C87.4426 2.096 86.7706 2.64 86.7706 3.504C86.7706 4.416 87.2986 4.832 88.9946 5.184L89.9866 5.376C92.6746 5.904 93.7626 6.944 93.7626 8.752C93.7626 11.008 92.0026 12.256 89.1546 12.256ZM102.952 8.016V8.496H96.7758C96.9198 9.968 97.7518 10.624 98.9198 10.624C99.8798 10.624 100.504 10.176 100.808 9.44H102.744C102.328 11.12 100.888 12.192 98.9038 12.192C96.4718 12.192 94.7918 10.512 94.7918 7.872C94.7918 5.28 96.4238 3.552 98.8718 3.552C101.4 3.552 102.952 5.392 102.952 8.016ZM98.8558 5.12C97.7838 5.12 96.9838 5.728 96.7918 7.088H100.936C100.776 5.92 100.056 5.12 98.8558 5.12ZM111.599 12H109.583C109.455 11.776 109.391 11.392 109.359 10.992C108.815 11.76 107.919 12.192 106.703 12.192C104.943 12.192 103.727 11.312 103.727 9.712C103.727 8.336 104.559 7.36 106.895 7.136L108.143 7.024C108.911 6.928 109.311 6.688 109.311 6.08C109.311 5.44 108.975 5.056 107.807 5.056C106.655 5.056 106.175 5.36 106.095 6.368H104.111C104.223 4.624 105.247 3.552 107.823 3.552C110.287 3.552 111.263 4.544 111.263 6.032V10.432C111.263 11.024 111.375 11.68 111.599 12ZM107.183 10.752C108.255 10.752 109.311 10.176 109.311 8.736V7.984C109.103 8.176 108.799 8.272 108.367 8.32L107.279 8.448C106.159 8.576 105.791 8.976 105.791 9.632C105.791 10.32 106.255 10.752 107.183 10.752ZM117.216 3.616C117.392 3.616 117.536 3.616 117.712 3.648V5.504H117.2C115.712 5.504 114.816 6.24 114.816 7.808V12H112.8V3.744H114.752V5.216C115.152 4.288 115.936 3.616 117.216 3.616ZM122.137 12.192C119.689 12.192 118.057 10.512 118.057 7.872C118.057 5.232 119.673 3.552 122.137 3.552C124.297 3.552 125.737 4.784 125.977 6.72H123.961C123.769 5.696 123.033 5.232 122.137 5.232C120.937 5.232 120.121 6.064 120.121 7.872C120.121 9.68 120.969 10.512 122.137 10.512C123.049 10.512 123.833 10.016 123.993 8.928H126.009C125.785 10.944 124.249 12.192 122.137 12.192ZM131.641 3.552C133.369 3.552 134.537 4.56 134.537 6.528V12H132.521V6.864C132.521 5.808 131.993 5.296 130.969 5.296C130.089 5.296 129.129 5.904 129.129 7.376V12H127.113V0.608H129.129V4.848C129.673 4.096 130.521 3.552 131.641 3.552ZM139.887 12.192C137.439 12.192 135.807 10.512 135.807 7.872C135.807 5.232 137.423 3.552 139.887 3.552C142.047 3.552 143.487 4.784 143.727 6.72H141.711C141.519 5.696 140.783 5.232 139.887 5.232C138.687 5.232 137.871 6.064 137.871 7.872C137.871 9.68 138.719 10.512 139.887 10.512C140.799 10.512 141.583 10.016 141.743 8.928H143.759C143.535 10.944 141.999 12.192 139.887 12.192ZM149.279 3.616C149.455 3.616 149.599 3.616 149.775 3.648V5.504H149.263C147.775 5.504 146.879 6.24 146.879 7.808V12H144.863V3.744H146.815V5.216C147.215 4.288 147.999 3.616 149.279 3.616ZM157.803 12H155.787C155.659 11.776 155.595 11.392 155.563 10.992C155.019 11.76 154.123 12.192 152.907 12.192C151.147 12.192 149.931 11.312 149.931 9.712C149.931 8.336 150.763 7.36 153.099 7.136L154.347 7.024C155.115 6.928 155.515 6.688 155.515 6.08C155.515 5.44 155.179 5.056 154.011 5.056C152.859 5.056 152.379 5.36 152.299 6.368H150.315C150.427 4.624 151.451 3.552 154.027 3.552C156.491 3.552 157.467 4.544 157.467 6.032V10.432C157.467 11.024 157.579 11.68 157.803 12ZM153.387 10.752C154.459 10.752 155.515 10.176 155.515 8.736V7.984C155.307 8.176 155.003 8.272 154.571 8.32L153.483 8.448C152.363 8.576 151.995 8.976 151.995 9.632C151.995 10.32 152.459 10.752 153.387 10.752ZM162.466 2.16C161.746 2.16 161.426 2.512 161.426 3.152V3.744H163.122V5.28H161.426V12H159.426V5.28H158.146V3.744H159.426V3.12C159.426 1.664 160.146 0.559999 162.13 0.559999C162.45 0.559999 162.882 0.575999 163.17 0.608V2.16H162.466ZM168.636 5.28H167.004V9.744C167.004 10.288 167.276 10.464 167.948 10.464H168.636V12C168.268 12.032 167.9 12.064 167.58 12.064C165.836 12.064 165.004 11.472 165.004 9.952V5.28H163.724V3.744H165.004V1.344H167.004V3.744H168.636V5.28Z", fill: "currentColor" }))));
|
|
2580
2673
|
}
|
|
2581
2674
|
}, [0, "searchcraft-popover-footer", {
|
|
2582
2675
|
searchcraftId: [1, "searchcraft-id"],
|
|
@@ -2639,7 +2732,7 @@ const Mo = Ia, Oo = /* @__PURE__ */ te(class extends ee {
|
|
|
2639
2732
|
(e = this.cleanupCore) == null || e.call(this);
|
|
2640
2733
|
}
|
|
2641
2734
|
render() {
|
|
2642
|
-
return m("div", { key: "
|
|
2735
|
+
return m("div", { key: "d1c9c310b8abc9d2370efb802eac1edf4189519d", class: "searchcraft-popover-list-item" }, m("a", { key: "30eb1a5076c5b4b95ae43147eaee0bb72ce46179", class: "searchcraft-popover-list-item-link", href: this.href, onClick: this.handleLinkClick.bind(this) }, this.imageSource && m("div", { key: "d18ff55823dc2c61f3786f423936af8b009aeeda", class: "searchcraft-popover-list-item-image-wrapper" }, m("img", { key: "56f4cc1d472f7da05e64fcf52c560a7ad0cdf7a6", alt: this.imageAlt, src: this.imageSource, class: "searchcraft-popover-list-item-image" })), m("div", { key: "78a0f0235d5e71d10076b70ccbaf4b58e0d6fea0", class: "searchcraft-popover-list-item-content" }, this.title && m("p", { key: "4489047af56e5aa295cb5f036e970dcad053d3b7", class: "searchcraft-popover-list-item-content-title" }, this.title), this.subtitle && m("p", { key: "4d177c227a1dbf1233022d738403c8eb93ba328d", class: "searchcraft-popover-list-item-content-subtitle" }, this.subtitle))));
|
|
2643
2736
|
}
|
|
2644
2737
|
}, [0, "searchcraft-popover-list-item", {
|
|
2645
2738
|
item: [16],
|
|
@@ -2663,7 +2756,7 @@ function ds() {
|
|
|
2663
2756
|
}
|
|
2664
2757
|
});
|
|
2665
2758
|
}
|
|
2666
|
-
const
|
|
2759
|
+
const Fo = /* @__PURE__ */ te(class extends ee {
|
|
2667
2760
|
constructor() {
|
|
2668
2761
|
super();
|
|
2669
2762
|
/**
|
|
@@ -2703,21 +2796,21 @@ const Lo = /* @__PURE__ */ te(class extends ee {
|
|
|
2703
2796
|
renderWithCustomAds() {
|
|
2704
2797
|
var u, l, p, C, S, $, A, N;
|
|
2705
2798
|
const e = [], s = ((l = (u = this.config) == null ? void 0 : u.customAdConfig) == null ? void 0 : l.adInterstitialInterval) || 0, a = ((C = (p = this.config) == null ? void 0 : p.customAdConfig) == null ? void 0 : C.adInterstitialQuantity) || 1, o = (($ = (S = this.config) == null ? void 0 : S.customAdConfig) == null ? void 0 : $.adStartQuantity) || 0, n = ((N = (A = this.config) == null ? void 0 : A.customAdConfig) == null ? void 0 : N.adEndQuantity) || 0, h = this.searchClientResponseItems || [];
|
|
2706
|
-
for (let
|
|
2707
|
-
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${
|
|
2708
|
-
h.forEach((
|
|
2799
|
+
for (let L = 0; L < o; L++)
|
|
2800
|
+
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${L}-ad`, renderPosition: "top" }));
|
|
2801
|
+
h.forEach((L, P) => {
|
|
2709
2802
|
if (s && P % s === 0 && P + s < h.length && P >= s)
|
|
2710
2803
|
for (let _ = 0; _ < a; _++)
|
|
2711
|
-
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${
|
|
2712
|
-
e.push(m("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item:
|
|
2804
|
+
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${L.id}-ad-${_}`, renderPosition: "interstitial" }));
|
|
2805
|
+
e.push(m("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: L, key: L.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + P }));
|
|
2713
2806
|
});
|
|
2714
|
-
for (let
|
|
2715
|
-
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${
|
|
2807
|
+
for (let L = 0; L < n; L++)
|
|
2808
|
+
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${L}-ad`, renderPosition: "bottom" }));
|
|
2716
2809
|
return m("div", { class: "searchcraft-popover-list-view" }, e);
|
|
2717
2810
|
}
|
|
2718
2811
|
renderWithNativoAds() {
|
|
2719
|
-
var l, p, C, S, $, A, N,
|
|
2720
|
-
const e = [], s = ((p = (l = this.config) == null ? void 0 : l.nativoConfig) == null ? void 0 : p.adInterstialStartIndex) || 0, a = ((S = (C = this.config) == null ? void 0 : C.nativoConfig) == null ? void 0 : S.adInterstitialInterval) || 0, o = ((A = ($ = this.config) == null ? void 0 : $.nativoConfig) == null ? void 0 : A.adInterstitialQuantity) || 1, n = ((
|
|
2812
|
+
var l, p, C, S, $, A, N, L, P, _;
|
|
2813
|
+
const e = [], s = ((p = (l = this.config) == null ? void 0 : l.nativoConfig) == null ? void 0 : p.adInterstialStartIndex) || 0, a = ((S = (C = this.config) == null ? void 0 : C.nativoConfig) == null ? void 0 : S.adInterstitialInterval) || 0, o = ((A = ($ = this.config) == null ? void 0 : $.nativoConfig) == null ? void 0 : A.adInterstitialQuantity) || 1, n = ((L = (N = this.config) == null ? void 0 : N.nativoConfig) == null ? void 0 : L.adStartQuantity) || 0, h = ((_ = (P = this.config) == null ? void 0 : P.nativoConfig) == null ? void 0 : _.adEndQuantity) || 0, u = this.searchClientResponseItems || [];
|
|
2721
2814
|
for (let U = 0; U < n; U++)
|
|
2722
2815
|
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${U}-ad`, renderPosition: "top" }));
|
|
2723
2816
|
u.forEach((U, j) => {
|
|
@@ -2752,7 +2845,7 @@ function Aa() {
|
|
|
2752
2845
|
["searchcraft-popover-list-view", "searchcraft-ad", "searchcraft-popover-list-item"].forEach((t) => {
|
|
2753
2846
|
switch (t) {
|
|
2754
2847
|
case "searchcraft-popover-list-view":
|
|
2755
|
-
customElements.get(t) || customElements.define(t,
|
|
2848
|
+
customElements.get(t) || customElements.define(t, Fo);
|
|
2756
2849
|
break;
|
|
2757
2850
|
case "searchcraft-ad":
|
|
2758
2851
|
customElements.get(t) || Sr();
|
|
@@ -2763,7 +2856,7 @@ function Aa() {
|
|
|
2763
2856
|
}
|
|
2764
2857
|
});
|
|
2765
2858
|
}
|
|
2766
|
-
const
|
|
2859
|
+
const Lo = /* @__PURE__ */ te(class extends ee {
|
|
2767
2860
|
constructor() {
|
|
2768
2861
|
super();
|
|
2769
2862
|
/**
|
|
@@ -2971,7 +3064,7 @@ function Ma() {
|
|
|
2971
3064
|
["searchcraft-popover-form", "searchcraft-ad", "searchcraft-button", "searchcraft-error-message", "searchcraft-input-form", "searchcraft-input-label", "searchcraft-popover-footer", "searchcraft-popover-form", "searchcraft-popover-list-item", "searchcraft-popover-list-view"].forEach((t) => {
|
|
2972
3065
|
switch (t) {
|
|
2973
3066
|
case "searchcraft-popover-form":
|
|
2974
|
-
customElements.get(t) || customElements.define(t,
|
|
3067
|
+
customElements.get(t) || customElements.define(t, Lo);
|
|
2975
3068
|
break;
|
|
2976
3069
|
case "searchcraft-ad":
|
|
2977
3070
|
customElements.get(t) || Sr();
|
|
@@ -3047,7 +3140,7 @@ const Do = Ma, No = ds, zo = Aa, Ho = /* @__PURE__ */ te(class extends ee {
|
|
|
3047
3140
|
range: [Number(this.range[0]), Number(this.range[1])],
|
|
3048
3141
|
count: this.count,
|
|
3049
3142
|
responseTime: this.responseTime
|
|
3050
|
-
}, { html:
|
|
3143
|
+
}, { html: Vt }) : `${Ea(this.count)} results found in ${this.responseTime}ms`);
|
|
3051
3144
|
}
|
|
3052
3145
|
}, [0, "searchcraft-results-info", {
|
|
3053
3146
|
template: [16],
|
|
@@ -3072,7 +3165,7 @@ function Uo() {
|
|
|
3072
3165
|
}
|
|
3073
3166
|
});
|
|
3074
3167
|
}
|
|
3075
|
-
const Bo = Uo,
|
|
3168
|
+
const Bo = Uo, Vo = /* @__PURE__ */ te(class extends ee {
|
|
3076
3169
|
constructor() {
|
|
3077
3170
|
super();
|
|
3078
3171
|
c(this, "item");
|
|
@@ -3124,7 +3217,7 @@ const Bo = Uo, qo = /* @__PURE__ */ te(class extends ee {
|
|
|
3124
3217
|
if (this.cleanupCore = pe.useCoreInstance(this.searchcraftId, this.onCoreAvailable.bind(this)), this.item)
|
|
3125
3218
|
try {
|
|
3126
3219
|
this.templateHtml = (e = this.template) == null ? void 0 : e.call(this, this.item.document, this.index, {
|
|
3127
|
-
html:
|
|
3220
|
+
html: Vt,
|
|
3128
3221
|
source_index: this.item.source_index
|
|
3129
3222
|
});
|
|
3130
3223
|
} catch (s) {
|
|
@@ -3153,12 +3246,12 @@ function Oa() {
|
|
|
3153
3246
|
["searchcraft-search-result"].forEach((t) => {
|
|
3154
3247
|
switch (t) {
|
|
3155
3248
|
case "searchcraft-search-result":
|
|
3156
|
-
customElements.get(t) || customElements.define(t,
|
|
3249
|
+
customElements.get(t) || customElements.define(t, Vo);
|
|
3157
3250
|
break;
|
|
3158
3251
|
}
|
|
3159
3252
|
});
|
|
3160
3253
|
}
|
|
3161
|
-
const
|
|
3254
|
+
const qo = Oa, jo = /* @__PURE__ */ te(class extends ee {
|
|
3162
3255
|
constructor() {
|
|
3163
3256
|
super();
|
|
3164
3257
|
/**
|
|
@@ -3214,21 +3307,21 @@ const Vo = Oa, jo = /* @__PURE__ */ te(class extends ee {
|
|
|
3214
3307
|
renderWithCustomAds() {
|
|
3215
3308
|
var u, l, p, C, S, $, A, N;
|
|
3216
3309
|
const e = [], s = ((l = (u = this.config) == null ? void 0 : u.customAdConfig) == null ? void 0 : l.adInterstitialInterval) || 0, a = ((C = (p = this.config) == null ? void 0 : p.customAdConfig) == null ? void 0 : C.adInterstitialQuantity) || 1, o = (($ = (S = this.config) == null ? void 0 : S.customAdConfig) == null ? void 0 : $.adStartQuantity) || 0, n = ((N = (A = this.config) == null ? void 0 : A.customAdConfig) == null ? void 0 : N.adEndQuantity) || 0, h = this.searchClientResponseItems || [];
|
|
3217
|
-
for (let
|
|
3218
|
-
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${
|
|
3219
|
-
h.forEach((
|
|
3310
|
+
for (let L = 0; L < o; L++)
|
|
3311
|
+
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${L}-ad`, renderPosition: "top" }));
|
|
3312
|
+
h.forEach((L, P) => {
|
|
3220
3313
|
if (s && P % s === 0 && P + s < h.length && P >= s)
|
|
3221
3314
|
for (let _ = 0; _ < a; _++)
|
|
3222
|
-
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${
|
|
3223
|
-
e.push(m("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key:
|
|
3315
|
+
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${L.id}-ad-${_}`, renderPosition: "interstitial" }));
|
|
3316
|
+
e.push(m("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: L.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + P, index: P, item: L, template: this.template }));
|
|
3224
3317
|
});
|
|
3225
|
-
for (let
|
|
3226
|
-
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${
|
|
3318
|
+
for (let L = 0; L < n; L++)
|
|
3319
|
+
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${L}-ad`, renderPosition: "bottom" }));
|
|
3227
3320
|
return m("div", { class: "searchcraft-search-results" }, e);
|
|
3228
3321
|
}
|
|
3229
3322
|
renderWithNativoAds() {
|
|
3230
|
-
var l, p, C, S, $, A, N,
|
|
3231
|
-
const e = [], s = ((p = (l = this.config) == null ? void 0 : l.nativoConfig) == null ? void 0 : p.adInterstialStartIndex) || 0, a = ((S = (C = this.config) == null ? void 0 : C.nativoConfig) == null ? void 0 : S.adInterstitialInterval) || 0, o = ((A = ($ = this.config) == null ? void 0 : $.nativoConfig) == null ? void 0 : A.adInterstitialQuantity) || 1, n = ((
|
|
3323
|
+
var l, p, C, S, $, A, N, L, P, _;
|
|
3324
|
+
const e = [], s = ((p = (l = this.config) == null ? void 0 : l.nativoConfig) == null ? void 0 : p.adInterstialStartIndex) || 0, a = ((S = (C = this.config) == null ? void 0 : C.nativoConfig) == null ? void 0 : S.adInterstitialInterval) || 0, o = ((A = ($ = this.config) == null ? void 0 : $.nativoConfig) == null ? void 0 : A.adInterstitialQuantity) || 1, n = ((L = (N = this.config) == null ? void 0 : N.nativoConfig) == null ? void 0 : L.adStartQuantity) || 0, h = ((_ = (P = this.config) == null ? void 0 : P.nativoConfig) == null ? void 0 : _.adEndQuantity) || 0, u = this.searchClientResponseItems || [];
|
|
3232
3325
|
for (let U = 0; U < n; U++)
|
|
3233
3326
|
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${U}-ad`, renderPosition: "top" }));
|
|
3234
3327
|
u.forEach((U, j) => {
|
|
@@ -3345,7 +3438,7 @@ const Go = Wo, Zo = /* @__PURE__ */ te(class extends ee {
|
|
|
3345
3438
|
setSearchResultsPage: [32],
|
|
3346
3439
|
setSearchResultsPerPage: [32]
|
|
3347
3440
|
}]);
|
|
3348
|
-
function
|
|
3441
|
+
function Fa() {
|
|
3349
3442
|
if (typeof customElements > "u")
|
|
3350
3443
|
return;
|
|
3351
3444
|
["searchcraft-select"].forEach((t) => {
|
|
@@ -3434,13 +3527,13 @@ function Qo() {
|
|
|
3434
3527
|
customElements.get(t) || customElements.define(t, Yo);
|
|
3435
3528
|
break;
|
|
3436
3529
|
case "searchcraft-select":
|
|
3437
|
-
customElements.get(t) ||
|
|
3530
|
+
customElements.get(t) || Fa();
|
|
3438
3531
|
break;
|
|
3439
3532
|
}
|
|
3440
3533
|
});
|
|
3441
3534
|
}
|
|
3442
|
-
const Ko = Qo, Xo =
|
|
3443
|
-
var
|
|
3535
|
+
const Ko = Qo, Xo = Fa, Jo = Ta;
|
|
3536
|
+
var La = { exports: {} };
|
|
3444
3537
|
(function(r, t) {
|
|
3445
3538
|
(function(e, s) {
|
|
3446
3539
|
r.exports = s();
|
|
@@ -3493,7 +3586,7 @@ var Fa = { exports: {} };
|
|
|
3493
3586
|
function N(f) {
|
|
3494
3587
|
A = f;
|
|
3495
3588
|
}
|
|
3496
|
-
var
|
|
3589
|
+
var L = { exec: () => null };
|
|
3497
3590
|
function P(f, i = "") {
|
|
3498
3591
|
let d = typeof f == "string" ? f : f.source;
|
|
3499
3592
|
const g = {
|
|
@@ -3577,7 +3670,7 @@ var Fa = { exports: {} };
|
|
|
3577
3670
|
list: jt,
|
|
3578
3671
|
newline: U,
|
|
3579
3672
|
paragraph: ht,
|
|
3580
|
-
table:
|
|
3673
|
+
table: L,
|
|
3581
3674
|
text: Pr
|
|
3582
3675
|
}, Et = P(
|
|
3583
3676
|
"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"
|
|
@@ -3593,26 +3686,26 @@ var Fa = { exports: {} };
|
|
|
3593
3686
|
).replace("comment", at).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
|
|
3594
3687
|
def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
|
|
3595
3688
|
heading: /^(#{1,6})(.*)(?:\n+|$)/,
|
|
3596
|
-
fences:
|
|
3689
|
+
fences: L,
|
|
3597
3690
|
// fences not supported
|
|
3598
3691
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
|
3599
3692
|
paragraph: P(z).replace("hr", Y).replace("heading", ` *#{1,6} *[^
|
|
3600
3693
|
]`).replace("lheading", ce).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
|
|
3601
|
-
}, ft = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ir = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Gt = /^( {2,}|\\)\n(?!\s*$)/, Ar = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, pt = /[\p{P}\p{S}]/u, Pt = /[\s\p{P}\p{S}]/u, $t = /[^\s\p{P}\p{S}]/u, Mr = P(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Pt).getRegex(), Zt = /(?!~)[\p{P}\p{S}]/u, Yt = /(?!~)[\s\p{P}\p{S}]/u, Or = /(?:[^\s\p{P}\p{S}]|~)/u, Qt = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Ke = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,
|
|
3694
|
+
}, ft = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ir = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Gt = /^( {2,}|\\)\n(?!\s*$)/, Ar = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, pt = /[\p{P}\p{S}]/u, Pt = /[\s\p{P}\p{S}]/u, $t = /[^\s\p{P}\p{S}]/u, Mr = P(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Pt).getRegex(), Zt = /(?!~)[\p{P}\p{S}]/u, Yt = /(?!~)[\s\p{P}\p{S}]/u, Or = /(?:[^\s\p{P}\p{S}]|~)/u, Qt = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Ke = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Fr = P(Ke, "u").replace(/punct/g, pt).getRegex(), Lr = P(Ke, "u").replace(/punct/g, Zt).getRegex(), _t = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Kt = P(_t, "gu").replace(/notPunctSpace/g, $t).replace(/punctSpace/g, Pt).replace(/punct/g, pt).getRegex(), Dr = P(_t, "gu").replace(/notPunctSpace/g, Or).replace(/punctSpace/g, Yt).replace(/punct/g, Zt).getRegex(), B = P(
|
|
3602
3695
|
"^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)",
|
|
3603
3696
|
"gu"
|
|
3604
|
-
).replace(/notPunctSpace/g, $t).replace(/punctSpace/g, Pt).replace(/punct/g, pt).getRegex(), O = P(/\\(punct)/, "gu").replace(/punct/g, pt).getRegex(),
|
|
3697
|
+
).replace(/notPunctSpace/g, $t).replace(/punctSpace/g, Pt).replace(/punct/g, pt).getRegex(), O = P(/\\(punct)/, "gu").replace(/punct/g, pt).getRegex(), q = P(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), V = P(at).replace("(?:-->|$)", "-->").getRegex(), le = P(
|
|
3605
3698
|
"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>"
|
|
3606
|
-
).replace("comment",
|
|
3607
|
-
_backpedal:
|
|
3699
|
+
).replace("comment", V).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), ke = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Xe = P(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", ke).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), mt = P(/^!?\[(label)\]\[(ref)\]/).replace("label", ke).replace("ref", $e).getRegex(), It = P(/^!?\[(ref)\](?:\[\])?/).replace("ref", $e).getRegex(), nt = P("reflink|nolink(?!\\()", "g").replace("reflink", mt).replace("nolink", It).getRegex(), At = {
|
|
3700
|
+
_backpedal: L,
|
|
3608
3701
|
// only used for GFM url
|
|
3609
3702
|
anyPunctuation: O,
|
|
3610
|
-
autolink:
|
|
3703
|
+
autolink: q,
|
|
3611
3704
|
blockSkip: Qt,
|
|
3612
3705
|
br: Gt,
|
|
3613
3706
|
code: Ir,
|
|
3614
|
-
del:
|
|
3615
|
-
emStrongLDelim:
|
|
3707
|
+
del: L,
|
|
3708
|
+
emStrongLDelim: Fr,
|
|
3616
3709
|
emStrongRDelimAst: Kt,
|
|
3617
3710
|
emStrongRDelimUnd: B,
|
|
3618
3711
|
escape: ft,
|
|
@@ -3623,7 +3716,7 @@ var Fa = { exports: {} };
|
|
|
3623
3716
|
reflinkSearch: nt,
|
|
3624
3717
|
tag: le,
|
|
3625
3718
|
text: Ar,
|
|
3626
|
-
url:
|
|
3719
|
+
url: L
|
|
3627
3720
|
}, Nr = {
|
|
3628
3721
|
...At,
|
|
3629
3722
|
link: P(/^!?\[(label)\]\((.*?)\)/).replace("label", ke).getRegex(),
|
|
@@ -3631,7 +3724,7 @@ var Fa = { exports: {} };
|
|
|
3631
3724
|
}, Mt = {
|
|
3632
3725
|
...At,
|
|
3633
3726
|
emStrongRDelimAst: Dr,
|
|
3634
|
-
emStrongLDelim:
|
|
3727
|
+
emStrongLDelim: Lr,
|
|
3635
3728
|
url: P(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
|
|
3636
3729
|
_backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
|
|
3637
3730
|
del: /^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,
|
|
@@ -3886,24 +3979,24 @@ ${w}` : w;
|
|
|
3886
3979
|
`, 1)[0], oe = !Z.trim(), G = 0;
|
|
3887
3980
|
if (this.options.pedantic ? (G = 2, w = Z.trimStart()) : oe ? G = i[1].length + 1 : (G = i[2].search(this.rules.other.nonSpaceChar), G = G > 4 ? 1 : G, w = Z.slice(G), G += i[1].length), oe && this.rules.other.blankLine.test(I) && (x += I + `
|
|
3888
3981
|
`, f = f.substring(I.length + 1), T = !0), !T) {
|
|
3889
|
-
const He = this.rules.other.nextBulletRegex(G), Ue = this.rules.other.hrRegex(G), Be = this.rules.other.fencesBeginRegex(G),
|
|
3982
|
+
const He = this.rules.other.nextBulletRegex(G), Ue = this.rules.other.hrRegex(G), Be = this.rules.other.fencesBeginRegex(G), Ft = this.rules.other.headingBeginRegex(G), nr = this.rules.other.htmlBeginRegex(G);
|
|
3890
3983
|
for (; f; ) {
|
|
3891
3984
|
const vt = f.split(`
|
|
3892
3985
|
`, 1)[0];
|
|
3893
|
-
let
|
|
3894
|
-
if (I = vt, this.options.pedantic ? (I = I.replace(this.rules.other.listReplaceNesting, " "),
|
|
3986
|
+
let Ve;
|
|
3987
|
+
if (I = vt, this.options.pedantic ? (I = I.replace(this.rules.other.listReplaceNesting, " "), Ve = I) : Ve = I.replace(this.rules.other.tabCharGlobal, " "), Be.test(I) || Ft.test(I) || nr.test(I) || He.test(I) || Ue.test(I))
|
|
3895
3988
|
break;
|
|
3896
|
-
if (
|
|
3989
|
+
if (Ve.search(this.rules.other.nonSpaceChar) >= G || !I.trim())
|
|
3897
3990
|
w += `
|
|
3898
|
-
` +
|
|
3991
|
+
` + Ve.slice(G);
|
|
3899
3992
|
else {
|
|
3900
|
-
if (oe || Z.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || Be.test(Z) ||
|
|
3993
|
+
if (oe || Z.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || Be.test(Z) || Ft.test(Z) || Ue.test(Z))
|
|
3901
3994
|
break;
|
|
3902
3995
|
w += `
|
|
3903
3996
|
` + I;
|
|
3904
3997
|
}
|
|
3905
3998
|
!oe && !I.trim() && (oe = !0), x += vt + `
|
|
3906
|
-
`, f = f.substring(vt.length + 1), Z =
|
|
3999
|
+
`, f = f.substring(vt.length + 1), Z = Ve.slice(G);
|
|
3907
4000
|
}
|
|
3908
4001
|
}
|
|
3909
4002
|
v.loose || (R ? v.loose = !0 : this.rules.other.doubleBlankLine.test(x) && (R = !0));
|
|
@@ -5017,7 +5110,7 @@ Please report this to https://github.com/markedjs/marked.`, f) {
|
|
|
5017
5110
|
var tr = W.options, Ur = W.setOptions, rr = W.use, ne = W.walkTokens, sr = W.parseInline, ie = W, ar = Ce.parse, X = Te.lex;
|
|
5018
5111
|
return s != e && (a.exports = e), a.exports;
|
|
5019
5112
|
});
|
|
5020
|
-
})(
|
|
5113
|
+
})(La);
|
|
5021
5114
|
const ei = /* @__PURE__ */ te(class extends ee {
|
|
5022
5115
|
constructor() {
|
|
5023
5116
|
super();
|
|
@@ -5055,7 +5148,7 @@ const ei = /* @__PURE__ */ te(class extends ee {
|
|
|
5055
5148
|
* Sanitizes and converts markdown to HTML.
|
|
5056
5149
|
*/
|
|
5057
5150
|
sanitizeMarkdown(e) {
|
|
5058
|
-
return wa.sanitize(
|
|
5151
|
+
return wa.sanitize(La.exports.marked.parse(e));
|
|
5059
5152
|
}
|
|
5060
5153
|
/**
|
|
5061
5154
|
* Updates the content element directly without triggering a re-render.
|
|
@@ -5072,7 +5165,7 @@ const ei = /* @__PURE__ */ te(class extends ee {
|
|
|
5072
5165
|
return this.isLoading ? m("searchcraft-loading", { label: "LOADING" }) : this.isSummaryNotEnabled ? m("div", { class: "searchcraft-summary-box-content" }, "AI summaries are not enabled") : m("div", { class: "searchcraft-summary-box-content" }, this.summary);
|
|
5073
5166
|
}
|
|
5074
5167
|
render() {
|
|
5075
|
-
return m("div", { key: "
|
|
5168
|
+
return m("div", { key: "94033d861f93036430eca149b3c017fb6099fb17", class: "searchcraft-summary-box" }, this.renderContent());
|
|
5076
5169
|
}
|
|
5077
5170
|
}, [0, "searchcraft-summary-box", {
|
|
5078
5171
|
searchcraftId: [1, "searchcraft-id"],
|
|
@@ -5094,13 +5187,13 @@ function ti() {
|
|
|
5094
5187
|
}
|
|
5095
5188
|
});
|
|
5096
5189
|
}
|
|
5097
|
-
const ri = ti, si = `[class*=searchcraft-],[class*=searchcraft-] *,[class*=searchcraft-]::before,[class*=searchcraft-]::after,[class*=searchcraft-] *,::before,[class*=searchcraft-] *,::after{box-sizing:border-box;padding:0;margin:0}:root{--sc-text-base-size: 1em;--sc-text-scale-ratio: 1.1;--sc-font-family: sans-serif;--sc-font-bold: 700;--sc-font-normal: 400;--sc-heading-1-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-2-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-3-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-4-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-5-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-6-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) );--sc-body-font-size: calc(var(--sc-text-base-size));--sc-body-small-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) )}:root{--sc-border-radius: 8px;--sc-border-radius-sm: calc(var(--sc-border-radius) / 2);--sc-border-radius-lg: calc(var(--sc-border-radius) * 2);--sc-border-radius-xl: calc(var(--sc-border-radius) * 3);--sc-border-radius-2xl: calc(var(--sc-border-radius) * 4);--sc-border-radius-full: 9999px}:root{--sc-breakpoint-sm: 576px;--sc-breakpoint-md: 768px;--sc-breakpoint-lg: 992px}:root{--sc-surface-neutral-primary: var(--sc-color-background, #ffffff);--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-primary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #fafafa) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-primary-active: var( --sc-color-background-active, var(--sc-color-background-active-computed, #f7f7f7) );--sc-surface-neutral-secondary: var( --sc-color-background-secondary, var(--sc-color-background, #f3f3f3) );--sc-color-background-secondary-hover-computed: hsl( from var(--sc-color-background-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #e6e6e6) );--sc-color-background-secondary-active-computed: hsl( from var(--sc-color-background-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-secondary-active: var( --sc-color-background-secondary-active, var(--sc-color-background-active-computed, #e0e0e0) );--sc-surface-neutral-light: #ffffff;--sc-content-neutral-primary: var(--sc-color-foreground, #292929);--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10, calc(l + 5), 90) );--sc-content-neutral-secondary: var( --sc-color-foreground-secondary, var(--sc-color-foreground-secondary-computed, #404040) );--sc-border-neutral: var(--sc-color-border, rgba(0, 0, 0, 0.1));--sc-surface-brand-primary: var(--sc-color-brand, #000000);--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20, calc(l + 5), 95) );--sc-surface-brand-primary-hover: var( --sc-color-brand-hover, var(--sc-color-brand-hover-computed, #2e2e2e) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10, calc(l - 5), 85) );--sc-surface-brand-primary-active: var( --sc-color-brand-active, var(--sc-color-brand-active-computed, #292929) );--sc-surface-brand-secondary: var( --sc-color-brand-secondary, var(--sc-color-brand, #e6e6e6) );--sc-color-brand-secondary-hover-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-brand-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #ebebeb) );--sc-color-brand-secondary-active-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-brand-secondary-active: var( --sc-color-brand-secondary-active, var(--sc-color-brand-active-computed, #e0e0e0) );--sc-content-brand: var( --sc-color-brand-text, var(--sc-surface-brand-primary) );--sc-content-brand-on-primary: #ffffff;--sc-border-brand: var(--sc-surface-brand-primary);--sc-surface-success-primary: var(--sc-color-success, #008000);--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30 );--sc-surface-success-primary-hover: var( --sc-color-success-primary-hover, var(--sc-color-success-primary-hover-computed, #009900) );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20 );--sc-surface-success-primary-active: var( --sc-color-success-primary-active, var(--sc-color-success-primary-active-computed, #006600) );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90 );--sc-surface-success-secondary: var( --sc-color-success-secondary, var(--sc-color-success-secondary-computed, #ccffcc) );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95 );--sc-surface-success-secondary-hover: var( --sc-color-success-secondary-hover, var(--sc-color-success-secondary-hover-computed, #e6ffe6) );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85 );--sc-surface-success-secondary-active: var( --sc-color-success-secondary-active, var(--sc-color-success-secondary-active-computed, #b2ffb2) );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30) );--sc-content-success-on-primary: #ffffff;--sc-border-success: var(--sc-surface-success-primary);--sc-surface-caution-primary: var(--sc-color-caution, #cc6600);--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30 );--sc-surface-caution-primary-hover: var( --sc-color-caution-primary-hover, var(--sc-color-caution-primary-hover-computed, #e57300) );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20 );--sc-surface-caution-primary-active: var( --sc-color-caution-primary-active, var(--sc-color-caution-primary-active-computed, #b25a00) );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90 );--sc-surface-caution-secondary: var( --sc-color-caution-secondary, var(--sc-color-caution-secondary-computed, #ffd9b3) );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95 );--sc-surface-caution-secondary-hover: var( --sc-color-caution-secondary-hover, var(--sc-color-caution-secondary-hover-computed, #ffe5cc) );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85 );--sc-surface-caution-secondary-active: var( --sc-color-caution-secondary-active, var(--sc-color-caution-secondary-active-computed, #ffcc99) );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30) );--sc-content-caution-on-primary: #ffffff;--sc-border-caution: var(--sc-surface-caution-primary);--sc-surface-danger-primary: var(--sc-color-danger, #cc0000);--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30 );--sc-surface-danger-primary-hover: var( --sc-color-danger-primary-hover, var(--sc-color-danger-primary-hover-computed, #e50000) );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20 );--sc-surface-danger-primary-active: var( --sc-color-danger-primary-active, var(--sc-color-danger-primary-active-computed, #b30000) );--sc-color-danger-secondary-computed: hsl(from var(--sc-color-danger) h s 90);--sc-surface-danger-secondary: var( --sc-color-danger-secondary, var(--sc-color-danger-secondary-computed, #ffcccc) );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95 );--sc-surface-danger-secondary-hover: var( --sc-color-danger-secondary-hover, var(--sc-color-danger-secondary-hover-computed, #ffe7e7) );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85 );--sc-surface-danger-secondary-active: var( --sc-color-danger-secondary-active, var(--sc-color-danger-secondary-active-computed, #ffb3b3) );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30) );--sc-content-danger-on-primary: #ffffff;--sc-border-danger: var(--sc-surface-danger-primary);--sc-color-disabled: hsl(from var(--sc-color-page-primary) h s calc(l * 0.5));--sc-surface-disabled: var(--sc-color-disabled, #d9d9d9);--sc-color-disabled-text: hsl( from var(--sc-color-text-primary) h s calc(l * 0.5) );--sc-content-disabled: var(--sc-color-disabled-text, #737373);--sc-content-disabled-on-disabled: var(--sc-color-disabled-text, #737373)}@supports(hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none){:root{--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10%, calc(l + 5%), 95%) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5%, calc(l - 5%), 90%) );--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10%, calc(l + 5%), 90%) );--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20%, calc(l + 5%), 95%) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10%, calc(l - 5%), 85%) );--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30% );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20% );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90% );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95% );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85% );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30%) );--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30% );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20% );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90% );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95% );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85% );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30%) );--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30% );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20% );--sc-color-danger-secondary-computed: hsl( from var(--sc-color-danger) h s 90% );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95% );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85% );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30%) )}}.searchcraft-ad{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-ad-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-ad-no-template>p{margin:0}.searchcraft-adm-ad{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-result{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-search-result-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-search-result-no-template>p{margin:0}.searchcraft-search-results{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-results-empty-state{text-align:center}.searchcraft-search-results-error-message{text-align:center}.searchcraft-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background:none;border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;gap:4px;padding:12px;position:relative}.searchcraft-button.searchcraft-button-disabled{cursor:not-allowed}.searchcraft-button-primary{background-color:var(--sc-surface-brand-primary);color:var(--sc-content-brand-on-primary);font-weight:var(--sc-font-bold)}.searchcraft-button-primary:hover{background-color:var(--sc-surface-brand-primary-hover)}.searchcraft-button-primary:focus{border-color:var(--sc-border-primary)}.searchcraft-button-primary:active{background-color:var(--sc-surface-brand-primary-active)}.searchcraft-button-primary.searchcraft-button-disabled,.searchcraft-button-primary.searchcraft-button-disabled:hover,.searchcraft-button-primary.searchcraft-button-disabled:focus,.searchcraft-button-primary.searchcraft-button-disabled:active{background-color:var(--sc-surface-disabled);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-tertiary{background-color:var(--sc-surface-neutral-primary);color:var(--sc-content-brand);font-weight:var(--sc-font-normal)}.searchcraft-button-tertiary:hover{background-color:var(--sc-surface-brand-secondary-hover)}.searchcraft-button-tertiary:focus{background-color:var(--sc-surface-neutral-light);border-color:var(--sc-border-primary)}.searchcraft-button-tertiary:active{background-color:var(--sc-surface-brand-secondary-active)}.searchcraft-button-tertiary.searchcraft-button-disabled,.searchcraft-button-tertiary.searchcraft-button-disabled:hover,.searchcraft-button-tertiary.searchcraft-button-disabled:focus,.searchcraft-button-tertiary.searchcraft-button-disabled:active{background-color:var(--sc-surface-neutral-light);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-icon{fill:none}.searchcraft-error-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-danger);margin:0}.searchcraft-facet-list{display:flex;flex-direction:column;gap:8px;width:100%}.searchcraft-facet-list-checkbox-label{align-items:center;color:var(--sc-content-neutral-primary);display:flex;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);gap:8px;position:relative;-webkit-font-smoothing:antialiased}.searchcraft-facet-list-checkbox-input-wrapper{position:relative}.searchcraft-facet-list-checkbox-input{align-items:center;appearance:none;background-color:var(--sc-surface-neutral-secondary);border:1px solid var(--sc-surface-disabled);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;height:24px;justify-content:center;width:24px;margin:0}.searchcraft-facet-list-checkbox-input:focus{outline:2px solid var(--sc-surface-brand-primary);outline-offset:2px}.searchcraft-facet-list-checkbox-input:checked{background-color:var(--sc-surface-brand-primary);position:relative}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-check-icon{display:flex}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-dash-icon{display:flex}.searchcraft-facet-child-list{display:flex;flex-direction:column;gap:6px}.searchcraft-facet-child-list-checkbox-label{margin-left:24px}.searchcraft-facet-child-list-checkbox-label:first-child{margin-top:6px}.searchcraft-facet-list-checkbox-input-check-icon{display:none;height:16px;left:50%;position:absolute;margin-top:2px;top:50%;transform:translate(-50%, -50%);width:16px}.searchcraft-facet-list-checkbox-input-dash-icon{display:none;height:3px;left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);width:14px}.searchcraft-facet-list-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-disabled);text-align:center}.searchcraft-filter-panel{display:flex;flex-direction:column;gap:16px}.searchcraft-filter-panel-section{display:flex;flex-direction:column;gap:8px}.searchcraft-filter-panel-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}:root{--sc-input-form-border-radius: var(--sc-border-radius);--sc-input-form-search-icon-size: 20px;--sc-input-form-clear-icon-size: 20px}.searchcraft-input-form-grid{display:grid;gap:4px 8px}.searchcraft-input-form-grid-button-left{grid-template-rows:repeat(3, auto);grid-template-columns:auto 1fr}.searchcraft-input-form-grid-button-left .searchcraft-input-form-button{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-label{grid-column:2/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-error-message{grid-column:2/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-input-wrapper{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right{grid-template-rows:repeat(3, auto);grid-template-columns:1fr auto}.searchcraft-input-form-grid-button-right .searchcraft-input-form-button{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-none{grid-template-rows:repeat(3, auto);grid-template-columns:auto}.searchcraft-input-form-grid-button-none .searchcraft-input-form-button{display:none}.searchcraft-input-form-grid-button-none .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-input-wrapper{display:flex;position:relative}.searchcraft-input-form-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background-color:var(--sc-surface-neutral-secondary);border-radius:var(--sc-input-form-border-radius);border:none;color:var(--sc-content-neutral-primary);flex:1;outline:none;padding:12px 44px}.searchcraft-input-form-input::placeholder{color:var(--sc-content-disabled)}.searchcraft-input-form-input:focus{outline:var(--sc-border-brand) solid 2px;outline-offset:-1px}.searchcraft-input-form-input.searchcraft-placeholder-hide-on-focus:focus::placeholder{opacity:0}.searchcraft-input-form-error{color:var(--sc-content-danger);outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-error:focus{outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-input-icon{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;pointer-events:none;top:0;width:44px}.searchcraft-input-form-input-search-icon{color:var(--sc-content-neutral-secondary);fill:none;height:var(--sc-input-form-search-icon-size);pointer-events:none;width:var(--sc-input-form-search-icon-size)}.searchcraft-input-form-clear-button{all:unset;align-items:center;bottom:0;border:none;cursor:pointer;display:flex;justify-content:center;outline:none;position:absolute;right:0;top:0;width:44px}.searchcraft-input-form-clear-icon{color:var(--sc-content-brand);fill:none;height:var(--sc-input-form-clear-icon-size);width:var(--sc-input-form-clear-icon-size)}.searchcraft-input-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);font-weight:var(--sc-font-bold);margin-top:4px;margin-bottom:4px}:root{--sc-popover-button-border-radius: var(--sc-border-radius)}@media(min-width: 576px){:root{--sc-popover-button-border-radius: var(--sc-border-radius-lg)}}.searchcraft-popover-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);cursor:pointer}.searchcraft-popover-button-skeuomorphic{appearance:none;background:none;border:none;color:var(--sc-content-neutral-primary);display:block;width:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-popover-button-border-radius);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;display:flex;gap:24px;height:40px;justify-content:space-between;line-height:1;padding:4px 5px 4px 10px;background:var(--sc-surface-neutral-primary)}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;height:63px;padding:8px 10px 8px 16px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{align-items:center;display:flex;gap:4px}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{color:var(--sc-content-neutral-secondary);display:flex;gap:4px;font-size:20px;font-weight:500}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 3px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 3px);background-color:var(--sc-surface-neutral-primary);box-shadow:0 3px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 6px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 2px);position:relative}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 8px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 8px);box-shadow:0 4px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 6px 1px rgb(from var(--sc-content-neutral-secondary) r g b/20%),0 7px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 9px 4px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 13px 8px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 5px)}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before,.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{content:"";display:block}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 4px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 4px);background:linear-gradient(340deg, rgb(from var(--sc-surface-neutral-secondary) r g b/2%) 0%, var(--sc-surface-neutral-secondary) 100%);inset:2px;position:absolute}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 12px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 12px);inset:4px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{aspect-ratio:1/1;height:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap>span{display:flex;line-height:1;left:50%;margin-top:2%;position:absolute;top:50%;transform:translate(-50%, -50%)}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:60%;width:auto}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:50%}}:root{--sc-popover-list-view-height: 600px;--sc-popover-modal-max-width: 800px}.searchcraft-popover-form{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);display:flex;flex:1;flex-direction:column}.searchcraft-popover-form searchcraft-input-form,.searchcraft-popover-form searchcraft-popover-footer{width:100%}.searchcraft-popover-form.searchcraft-popover-form-active .searchcraft-popover-form-input{padding-bottom:1px}.searchcraft-popover-form searchcraft-popover-list-view{flex-shrink:1;height:100%;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-input{display:flex;flex-direction:row;gap:12px}.searchcraft-popover-form-input .searchcraft-input-form-input{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius-lg);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset;width:0}.searchcraft-popover-form-cancel-button{background:none;border:none;cursor:pointer;font-size:14px}.searchcraft-popover-form-modal-input,.searchcraft-popover-form-fullscreen-input{padding:24px}.searchcraft-popover-form-modal-popover-list-view,.searchcraft-popover-form-fullscreen-popover-list-view{flex-grow:1;flex-shrink:1;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-inline{background-color:var(--sc-surface-neutral-primary);border:1px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius-xl);padding:12px;position:relative}.searchcraft-popover-form-inline.searchcraft-popover-form-active{border:1px solid var(--sc-border-neutral);border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;padding-bottom:1px}.searchcraft-popover-form-inline searchcraft-popover-list-view{padding:0 12px}.searchcraft-popover-form-inline .searchcraft-input-form-input,.searchcraft-popover-form-inline .searchcraft-popover-list-item-link,.searchcraft-popover-form-inline .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-xl - 12px);border-radius:calc(var(--sc-border-radius-xl) - 12px)}.searchcraft-popover-form-inline-wrapper{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-top:none;border-bottom-left-radius:var(--sc-border-radius-xl);border-bottom-right-radius:var(--sc-border-radius-xl);display:flex;flex-direction:column;left:-1px;max-height:var(--sc-popover-list-view-height);overflow:hidden;position:absolute;right:-1px;top:100%}.searchcraft-popover-form-modal{align-items:center;display:flex;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-modal .searchcraft-input-form-input,.searchcraft-popover-form-modal .searchcraft-popover-list-item-link,.searchcraft-popover-form-modal .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px)}.searchcraft-popover-form-modal-backdrop{background-color:rgb(from var(--sc-content-neutral-primary) r g b/50%);display:none;inset:0;position:fixed}@media(min-width: 576px){.searchcraft-popover-form-modal-backdrop{display:block}}.searchcraft-popover-form-modal-wrapper{background-color:var(--sc-surface-neutral-primary);box-shadow:1px 2px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 2px 4px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 4px 8px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 8px 16px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 16px 32px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 32px 64px rgb(from var(--sc-content-neutral-primary) r g b/7%);display:flex;flex-direction:column;inset:0;max-width:var(--sc-popover-modal-max-width);overflow:hidden;position:absolute;width:100%;z-index:1001}@media(min-width: 576px){.searchcraft-popover-form-modal-wrapper{border-radius:var(--sc-border-radius-2xl);inset:0;margin-top:100px;max-height:var(--sc-popover-list-view-height);max-width:var(--sc-popover-modal-max-width);position:relative}}.searchcraft-popover-form-modal-cancel-button{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-modal-cancel-button{padding:8px 12px}}.searchcraft-popover-form-fullscreen{background-color:var(--sc-surface-neutral-primary);display:flex;flex-direction:column;justify-content:space-between;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-fullscreen .searchcraft-popover-list-item-link,.searchcraft-popover-form-fullscreen .searchcraft-adm-ad-link{border-radius:var(--sc-border-radius-lg)}.searchcraft-popover-form-fullscreen-cancel-button{border-radius:var(--sc-border-radius-lg);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-fullscreen-cancel-button{padding:8px 12px}}.searchcraft-popover-footer{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;background-color:var(--sc-surface-neutral-secondary);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset;display:flex;gap:8px;justify-content:space-between;line-height:1;padding:20px 24px}@media(min-width: 576px){.searchcraft-popover-footer{padding:20px 32px}}.searchcraft-popover-footer-results-info{margin:0}.searchcraft-popover-footer-link{color:var(--sc-content-neutral-primary);display:flex;max-width:160px;width:100%}:root{--sc-popover-list-item-image-fit: contain}.searchcraft-popover-list-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;border-bottom:1px solid var(--sc-border-neutral);padding:12px 0}searchcraft-popover-list-item:last-child .searchcraft-popover-list-item{border-bottom:none}.searchcraft-popover-list-item-link{align-items:flex-start;color:var(--sc-content-neutral-primary);display:flex;gap:24px;padding:12px;text-decoration:none}.searchcraft-popover-list-item-link:focus,.searchcraft-popover-list-item-link:active{background-color:var(--sc-surface-neutral-primary-active)}.searchcraft-popover-list-item-link:hover{background-color:var(--sc-surface-neutral-primary-hover)}.searchcraft-popover-list-item-image-wrapper{align-items:center;aspect-ratio:16/9;display:flex;flex-shrink:0;justify-content:center;width:160px}.searchcraft-popover-list-item-image{height:100%;object-fit:var(--sc-popover-list-item-image-fit);width:100%}.searchcraft-popover-list-item-content{display:flex;flex-direction:column;flex-grow:1;gap:4px;justify-content:center}.searchcraft-popover-list-item-content-title,.searchcraft-popover-list-item-content-subtitle{display:-webkit-box;line-clamp:2;margin:0;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.searchcraft-popover-list-item-content-title{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-heading-5-font-size);font-weight:var(--sc-font-bold)}.searchcraft-popover-list-item-content-subtitle{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-popover-list-view{display:flex;flex-direction:column}.searchcraft-results-info{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-primary);margin:0}.searchcraft-slider{align-items:center;display:flex;flex-direction:column;gap:10px;width:100%;margin-top:4px}.searchcraft-slider-range{align-items:center;background-color:var(--sc-surface-disabled);border-radius:999px;display:flex;position:relative;height:4px;width:100%}.searchcraft-slider-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range{background-color:var(--sc-surface-brand-primary);border-radius:2px;height:4px;position:absolute;top:50%;transform:translateY(-50%);z-index:0}.searchcraft-slider-range .searchcraft-slider-active-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range::-moz-range-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-input{appearance:none;background:rgba(0,0,0,0);border-radius:2px;height:4px;margin:0;outline:none;pointer-events:none;position:absolute;width:100%;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-webkit-slider-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:1px solid var(--sc-border-neutral);cursor:pointer;height:18px;pointer-events:all;width:18px;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-moz-range-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:1px solid var(--sc-border-neutral);cursor:pointer;height:18px;pointer-events:all;width:18px}.searchcraft-slider-range .searchcraft-slider-input:focus::-webkit-slider-thumb{outline:2px solid var(--sc-surface-brand-primary)}.searchcraft-slider-range .searchcraft-slider-input:focus::-moz-range-thumb{outline:2px solid var(--sc-surface-brand-primary)}.searchcraft-slider-label{color:var(--sc-content-primary);display:flex;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);justify-content:space-between;margin-top:4px;width:100%}.searchcraft-slider-start-label,.searchcraft-slider-end-label{min-width:30px;text-align:center}.searchcraft-toggle-button{align-items:flex-start;display:flex;gap:10px;justify-content:space-between}.searchcraft-toggle-button-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);margin:0}.searchcraft-toggle-button-sub-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-secondary);margin:0}.searchcraft-toggle-button-background{background:var(--sc-surface-disabled);border-radius:var(--sc-border-radius-full);border:none;cursor:pointer;flex-shrink:0;height:26px;position:relative;transition:background-color .2s;width:44px}.searchcraft-toggle-button-handle{background:var(--sc-surface-neutral-light);border-radius:50%;height:18px;left:4px;position:absolute;top:calc(50% - 9px);transition:transform .3s ease;width:18px}.searchcraft-toggle-button-active .searchcraft-toggle-button-background{background:var(--sc-surface-brand-primary);box-shadow:0px 0px 0px 1px rgba(0,0,0,.05)}.searchcraft-toggle-button-active .searchcraft-toggle-button-handle{transform:translateX(16px)}.searchcraft-pagination{display:inline-grid;gap:16px;grid-template-columns:repeat(3, auto);grid-template-rows:1fr}.searchcraft-pagination-list{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius);display:flex;list-style-type:none;margin:0;overflow:hidden;padding:0;width:auto}.searchcraft-pagination-list li{border-right:1px solid var(--sc-border-neutral);height:100%;min-height:44px;width:44px}.searchcraft-pagination-list li:last-child{border-right:none}.searchcraft-pagination-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;background-color:var(--sc-surface-neutral-primary);border:none;display:flex;height:100%;justify-content:center;width:100%}.searchcraft-pagination-item-active{background-color:var(--sc-surface-brand-secondary);font-weight:var(--sc-font-bold)}.searchcraft-pagination-control{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius)}.searchcraft-pagination-range{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;display:flex}.searchcraft-select{display:flex;flex-direction:column;gap:4px}.searchcraft-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}.searchcraft-select-input-wrapper{position:relative}.searchcraft-select-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);appearance:none;background-color:var(--sc-surface-neutral-secondary);border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;height:44px;padding:0 44px 0 16px;width:100%}.searchcraft-select-input:hover{background-color:var(--sc-surface-neutral-secondary-hover)}.searchcraft-select-input:active{background-color:var(--sc-surface-neutral-secondary-active)}.searchcraft-select-input:focus{border-color:var(--sc-border-brand);outline:none}.searchcraft-select-input-icon{fill:none;pointer-events:none;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.searchcraft-select-caption{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page{display:flex}.searchcraft-search-results-per-page-select{align-items:center;display:flex;gap:12px}.searchcraft-search-results-per-page-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page-select-input{min-width:120px}.searchcraft-summary-box{padding:20px;border-radius:var(--sc-border-radius);background-color:var(--sc-surface-neutral-secondary);position:relative;min-height:200px;color:var(--sc-content-neutral-primary);font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-summary-box h1,.searchcraft-summary-box h2,.searchcraft-summary-box h3,.searchcraft-summary-box h4,.searchcraft-summary-box h5{padding-top:10px;padding-bottom:10px}.searchcraft-summary-box p{padding-bottom:10px}.searchcraft-summary-box img{max-width:200px}.searchcraft-summary-box ol,.searchcraft-summary-box ul{padding-left:1em;padding-bottom:10px}.searchcraft-summary-box a{color:var(--sc-content-brand)}.searchcraft-loading-label{position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);margin-top:40px;letter-spacing:2px;color:#828282;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal)}.searchcraft-loading-bars{margin:0 auto;width:60px;height:50px;text-align:center;position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);display:flex;gap:2px}.searchcraft-loading-bars>div{height:100%;width:8px;-webkit-animation:delay .8s infinite ease-in-out;animation:delay .8s infinite ease-in-out;opacity:.2}.searchcraft-loading-bars .searchcraft-loading-bar-1{background-color:var(--sc-surface-brand-primary);opacity:.1}.searchcraft-loading-bars .searchcraft-loading-bar-2{background-color:var(--sc-surface-brand-primary);animation-delay:-0.7s;opacity:.2}.searchcraft-loading-bars .searchcraft-loading-bar-3{background-color:var(--sc-surface-brand-primary);animation-delay:-0.6s;opacity:.3}.searchcraft-loading-bars .searchcraft-loading-bar-4{background-color:var(--sc-surface-brand-primary);animation-delay:-0.5s;opacity:.4}.searchcraft-loading-bars .searchcraft-loading-bar-5{background-color:var(--sc-surface-brand-primary);animation-delay:-0.4s;opacity:.5}.searchcraft-loading-bars .searchcraft-loading-bar-6{background-color:var(--sc-surface-brand-primary);animation-delay:-0.3s;opacity:.6}@keyframes delay{0%,40%,100%{transform:scaleY(0.05)}20%{transform:scaleY(1)}}/*# sourceMappingURL=hologram.css.map */
|
|
5190
|
+
const ri = ti, si = `\uFEFF[class*=searchcraft-],[class*=searchcraft-] *,[class*=searchcraft-]::before,[class*=searchcraft-]::after,[class*=searchcraft-] *,::before,[class*=searchcraft-] *,::after{box-sizing:border-box;padding:0;margin:0}:root{--sc-text-base-size: 1em;--sc-text-scale-ratio: 1.1;--sc-font-family: sans-serif;--sc-font-bold: 700;--sc-font-normal: 400;--sc-heading-1-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-2-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-3-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-4-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-5-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-6-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) );--sc-body-font-size: calc(var(--sc-text-base-size));--sc-body-small-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) )}:root{--sc-border-radius: 8px;--sc-border-radius-sm: calc(var(--sc-border-radius) / 2);--sc-border-radius-lg: calc(var(--sc-border-radius) * 2);--sc-border-radius-xl: calc(var(--sc-border-radius) * 3);--sc-border-radius-2xl: calc(var(--sc-border-radius) * 4);--sc-border-radius-full: 9999px}:root{--sc-breakpoint-sm: 576px;--sc-breakpoint-md: 768px;--sc-breakpoint-lg: 992px}:root{--sc-surface-neutral-primary: var(--sc-color-background, #ffffff);--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-primary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #fafafa) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-primary-active: var( --sc-color-background-active, var(--sc-color-background-active-computed, #f7f7f7) );--sc-surface-neutral-secondary: var( --sc-color-background-secondary, var(--sc-color-background, #f3f3f3) );--sc-color-background-secondary-hover-computed: hsl( from var(--sc-color-background-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #e6e6e6) );--sc-color-background-secondary-active-computed: hsl( from var(--sc-color-background-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-secondary-active: var( --sc-color-background-secondary-active, var(--sc-color-background-active-computed, #e0e0e0) );--sc-surface-neutral-light: #ffffff;--sc-content-neutral-primary: var(--sc-color-foreground, #292929);--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10, calc(l + 5), 90) );--sc-content-neutral-secondary: var( --sc-color-foreground-secondary, var(--sc-color-foreground-secondary-computed, #404040) );--sc-border-neutral: var(--sc-color-border, rgba(0, 0, 0, 0.1));--sc-surface-brand-primary: var(--sc-color-brand, #000000);--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20, calc(l + 5), 95) );--sc-surface-brand-primary-hover: var( --sc-color-brand-hover, var(--sc-color-brand-hover-computed, #2e2e2e) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10, calc(l - 5), 85) );--sc-surface-brand-primary-active: var( --sc-color-brand-active, var(--sc-color-brand-active-computed, #292929) );--sc-surface-brand-secondary: var( --sc-color-brand-secondary, var(--sc-color-brand, #e6e6e6) );--sc-color-brand-secondary-hover-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-brand-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #ebebeb) );--sc-color-brand-secondary-active-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-brand-secondary-active: var( --sc-color-brand-secondary-active, var(--sc-color-brand-active-computed, #e0e0e0) );--sc-content-brand: var( --sc-color-brand-text, var(--sc-surface-brand-primary) );--sc-content-brand-on-primary: #ffffff;--sc-border-brand: var(--sc-surface-brand-primary);--sc-surface-success-primary: var(--sc-color-success, #008000);--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30 );--sc-surface-success-primary-hover: var( --sc-color-success-primary-hover, var(--sc-color-success-primary-hover-computed, #009900) );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20 );--sc-surface-success-primary-active: var( --sc-color-success-primary-active, var(--sc-color-success-primary-active-computed, #006600) );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90 );--sc-surface-success-secondary: var( --sc-color-success-secondary, var(--sc-color-success-secondary-computed, #ccffcc) );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95 );--sc-surface-success-secondary-hover: var( --sc-color-success-secondary-hover, var(--sc-color-success-secondary-hover-computed, #e6ffe6) );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85 );--sc-surface-success-secondary-active: var( --sc-color-success-secondary-active, var(--sc-color-success-secondary-active-computed, #b2ffb2) );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30) );--sc-content-success-on-primary: #ffffff;--sc-border-success: var(--sc-surface-success-primary);--sc-surface-caution-primary: var(--sc-color-caution, #cc6600);--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30 );--sc-surface-caution-primary-hover: var( --sc-color-caution-primary-hover, var(--sc-color-caution-primary-hover-computed, #e57300) );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20 );--sc-surface-caution-primary-active: var( --sc-color-caution-primary-active, var(--sc-color-caution-primary-active-computed, #b25a00) );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90 );--sc-surface-caution-secondary: var( --sc-color-caution-secondary, var(--sc-color-caution-secondary-computed, #ffd9b3) );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95 );--sc-surface-caution-secondary-hover: var( --sc-color-caution-secondary-hover, var(--sc-color-caution-secondary-hover-computed, #ffe5cc) );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85 );--sc-surface-caution-secondary-active: var( --sc-color-caution-secondary-active, var(--sc-color-caution-secondary-active-computed, #ffcc99) );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30) );--sc-content-caution-on-primary: #ffffff;--sc-border-caution: var(--sc-surface-caution-primary);--sc-surface-danger-primary: var(--sc-color-danger, #cc0000);--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30 );--sc-surface-danger-primary-hover: var( --sc-color-danger-primary-hover, var(--sc-color-danger-primary-hover-computed, #e50000) );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20 );--sc-surface-danger-primary-active: var( --sc-color-danger-primary-active, var(--sc-color-danger-primary-active-computed, #b30000) );--sc-color-danger-secondary-computed: hsl(from var(--sc-color-danger) h s 90);--sc-surface-danger-secondary: var( --sc-color-danger-secondary, var(--sc-color-danger-secondary-computed, #ffcccc) );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95 );--sc-surface-danger-secondary-hover: var( --sc-color-danger-secondary-hover, var(--sc-color-danger-secondary-hover-computed, #ffe7e7) );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85 );--sc-surface-danger-secondary-active: var( --sc-color-danger-secondary-active, var(--sc-color-danger-secondary-active-computed, #ffb3b3) );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30) );--sc-content-danger-on-primary: #ffffff;--sc-border-danger: var(--sc-surface-danger-primary);--sc-color-disabled: hsl(from var(--sc-color-page-primary) h s calc(l * 0.5));--sc-surface-disabled: var(--sc-color-disabled, #d9d9d9);--sc-color-disabled-text: hsl( from var(--sc-color-text-primary) h s calc(l * 0.5) );--sc-content-disabled: var(--sc-color-disabled-text, #737373);--sc-content-disabled-on-disabled: var(--sc-color-disabled-text, #737373)}@supports(hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none){:root{--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10%, calc(l + 5%), 95%) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5%, calc(l - 5%), 90%) );--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10%, calc(l + 5%), 90%) );--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20%, calc(l + 5%), 95%) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10%, calc(l - 5%), 85%) );--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30% );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20% );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90% );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95% );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85% );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30%) );--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30% );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20% );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90% );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95% );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85% );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30%) );--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30% );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20% );--sc-color-danger-secondary-computed: hsl( from var(--sc-color-danger) h s 90% );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95% );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85% );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30%) )}}.searchcraft-ad{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-ad-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-ad-no-template>p{margin:0}.searchcraft-adm-ad{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-result{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-search-result-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-search-result-no-template>p{margin:0}.searchcraft-search-results{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-results-empty-state{text-align:center}.searchcraft-search-results-error-message{text-align:center}.searchcraft-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background:none;border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;gap:4px;padding:12px;position:relative}.searchcraft-button.searchcraft-button-disabled{cursor:not-allowed}.searchcraft-button-primary{background-color:var(--sc-surface-brand-primary);color:var(--sc-content-brand-on-primary);font-weight:var(--sc-font-bold)}.searchcraft-button-primary:hover{background-color:var(--sc-surface-brand-primary-hover)}.searchcraft-button-primary:focus{border-color:var(--sc-border-primary)}.searchcraft-button-primary:active{background-color:var(--sc-surface-brand-primary-active)}.searchcraft-button-primary.searchcraft-button-disabled,.searchcraft-button-primary.searchcraft-button-disabled:hover,.searchcraft-button-primary.searchcraft-button-disabled:focus,.searchcraft-button-primary.searchcraft-button-disabled:active{background-color:var(--sc-surface-disabled);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-tertiary{background-color:var(--sc-surface-neutral-primary);color:var(--sc-content-brand);font-weight:var(--sc-font-normal)}.searchcraft-button-tertiary:hover{background-color:var(--sc-surface-brand-secondary-hover)}.searchcraft-button-tertiary:focus{background-color:var(--sc-surface-neutral-light);border-color:var(--sc-border-primary)}.searchcraft-button-tertiary:active{background-color:var(--sc-surface-brand-secondary-active)}.searchcraft-button-tertiary.searchcraft-button-disabled,.searchcraft-button-tertiary.searchcraft-button-disabled:hover,.searchcraft-button-tertiary.searchcraft-button-disabled:focus,.searchcraft-button-tertiary.searchcraft-button-disabled:active{background-color:var(--sc-surface-neutral-light);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-icon{fill:none}.searchcraft-error-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-danger);margin:0}.searchcraft-facet-list{display:flex;flex-direction:column;gap:8px;width:100%}.searchcraft-facet-list-checkbox-label{align-items:center;color:var(--sc-content-neutral-primary);display:flex;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);gap:8px;position:relative;-webkit-font-smoothing:antialiased}.searchcraft-facet-list-checkbox-input-wrapper{position:relative}.searchcraft-facet-list-checkbox-input{align-items:center;appearance:none;background-color:var(--sc-surface-neutral-secondary);border:1px solid var(--sc-surface-disabled);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;height:24px;justify-content:center;width:24px;margin:0}.searchcraft-facet-list-checkbox-input:focus{outline:2px solid var(--sc-surface-brand-primary);outline-offset:2px}.searchcraft-facet-list-checkbox-input:checked{background-color:var(--sc-surface-brand-primary);position:relative}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-check-icon{display:flex}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-dash-icon{display:flex}.searchcraft-facet-child-list{display:flex;flex-direction:column;gap:6px}.searchcraft-facet-child-list-checkbox-label{margin-left:24px}.searchcraft-facet-child-list-checkbox-label:first-child{margin-top:6px}.searchcraft-facet-list-checkbox-input-check-icon{display:none;height:16px;left:50%;position:absolute;margin-top:2px;top:50%;transform:translate(-50%, -50%);width:16px}.searchcraft-facet-list-checkbox-input-dash-icon{display:none;height:3px;left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);width:14px}.searchcraft-facet-list-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-disabled);text-align:center}.searchcraft-filter-panel{display:flex;flex-direction:column;gap:16px}.searchcraft-filter-panel-section{display:flex;flex-direction:column;gap:8px}.searchcraft-filter-panel-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}@media(max-width: 767px){[data-toggle-filter-panel]{cursor:pointer;display:flex !important;align-items:center;justify-content:space-between;width:100%}[data-toggle-filter-panel]::after{content:"›";display:inline-block;font-size:1.5em;line-height:1;margin-left:auto;flex-shrink:0;transition:transform .2s ease;transform-origin:center}[data-toggle-filter-panel][data-filter-panel-collapsed]::after{transform:rotate(90deg)}[data-toggle-filter-panel][data-filter-panel-expanded]::after{transform:rotate(-90deg)}}@media(min-width: 768px){[data-toggle-filter-panel]{cursor:default}[data-toggle-filter-panel]::after{display:none}}:root{--sc-input-form-border-radius: var(--sc-border-radius);--sc-input-form-search-icon-size: 20px;--sc-input-form-clear-icon-size: 20px}.searchcraft-input-form-grid{display:grid;gap:4px 8px}.searchcraft-input-form-grid-button-left{grid-template-rows:repeat(3, auto);grid-template-columns:auto 1fr}.searchcraft-input-form-grid-button-left .searchcraft-input-form-button{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-label{grid-column:2/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-error-message{grid-column:2/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-input-wrapper{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right{grid-template-rows:repeat(3, auto);grid-template-columns:1fr auto}.searchcraft-input-form-grid-button-right .searchcraft-input-form-button{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-none{grid-template-rows:repeat(3, auto);grid-template-columns:auto}.searchcraft-input-form-grid-button-none .searchcraft-input-form-button{display:none}.searchcraft-input-form-grid-button-none .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-input-wrapper{display:flex;position:relative}.searchcraft-input-form-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background-color:var(--sc-surface-neutral-secondary);border-radius:var(--sc-input-form-border-radius);border:none;color:var(--sc-content-neutral-primary);flex:1;outline:none;padding:12px 44px}.searchcraft-input-form-input::placeholder{color:var(--sc-content-disabled)}.searchcraft-input-form-input:focus{outline:var(--sc-border-brand) solid 2px;outline-offset:-1px}.searchcraft-input-form-input.searchcraft-placeholder-hide-on-focus:focus::placeholder{opacity:0}.searchcraft-input-form-error{color:var(--sc-content-danger);outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-error:focus{outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-input-icon{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;pointer-events:none;top:0;width:44px}.searchcraft-input-form-input-search-icon{color:var(--sc-content-neutral-secondary);fill:none;height:var(--sc-input-form-search-icon-size);pointer-events:none;width:var(--sc-input-form-search-icon-size)}.searchcraft-input-form-clear-button{all:unset;align-items:center;bottom:0;border:none;cursor:pointer;display:flex;justify-content:center;outline:none;position:absolute;right:0;top:0;width:44px}.searchcraft-input-form-clear-icon{color:var(--sc-content-brand);fill:none;height:var(--sc-input-form-clear-icon-size);width:var(--sc-input-form-clear-icon-size)}.searchcraft-input-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);font-weight:var(--sc-font-bold);margin-top:4px;margin-bottom:4px}:root{--sc-popover-button-border-radius: var(--sc-border-radius)}@media(min-width: 576px){:root{--sc-popover-button-border-radius: var(--sc-border-radius-lg)}}.searchcraft-popover-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);cursor:pointer}.searchcraft-popover-button-skeuomorphic{appearance:none;background:none;border:none;color:var(--sc-content-neutral-primary);display:block;width:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-popover-button-border-radius);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;display:flex;gap:24px;height:40px;justify-content:space-between;line-height:1;padding:4px 5px 4px 10px;background:var(--sc-surface-neutral-primary)}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;height:63px;padding:8px 10px 8px 16px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{align-items:center;display:flex;gap:4px}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{color:var(--sc-content-neutral-secondary);display:flex;gap:4px;font-size:20px;font-weight:500}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 3px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 3px);background-color:var(--sc-surface-neutral-primary);box-shadow:0 3px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 6px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 2px);position:relative}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 8px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 8px);box-shadow:0 4px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 6px 1px rgb(from var(--sc-content-neutral-secondary) r g b/20%),0 7px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 9px 4px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 13px 8px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 5px)}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before,.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{content:"";display:block}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 4px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 4px);background:linear-gradient(340deg, rgb(from var(--sc-surface-neutral-secondary) r g b/2%) 0%, var(--sc-surface-neutral-secondary) 100%);inset:2px;position:absolute}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 12px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 12px);inset:4px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{aspect-ratio:1/1;height:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap>span{display:flex;line-height:1;left:50%;margin-top:2%;position:absolute;top:50%;transform:translate(-50%, -50%)}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:60%;width:auto}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:50%}}:root{--sc-popover-list-view-height: 600px;--sc-popover-modal-max-width: 800px}.searchcraft-popover-form{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);display:flex;flex:1;flex-direction:column}.searchcraft-popover-form searchcraft-input-form,.searchcraft-popover-form searchcraft-popover-footer{width:100%}.searchcraft-popover-form.searchcraft-popover-form-active .searchcraft-popover-form-input{padding-bottom:1px}.searchcraft-popover-form searchcraft-popover-list-view{flex-shrink:1;height:100%;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-input{display:flex;flex-direction:row;gap:12px}.searchcraft-popover-form-input .searchcraft-input-form-input{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius-lg);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset;width:0}.searchcraft-popover-form-cancel-button{background:none;border:none;cursor:pointer;font-size:14px}.searchcraft-popover-form-modal-input,.searchcraft-popover-form-fullscreen-input{padding:24px}.searchcraft-popover-form-modal-popover-list-view,.searchcraft-popover-form-fullscreen-popover-list-view{flex-grow:1;flex-shrink:1;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-inline{background-color:var(--sc-surface-neutral-primary);border:1px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius-xl);padding:12px;position:relative}.searchcraft-popover-form-inline.searchcraft-popover-form-active{border:1px solid var(--sc-border-neutral);border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;padding-bottom:1px}.searchcraft-popover-form-inline searchcraft-popover-list-view{padding:0 12px}.searchcraft-popover-form-inline .searchcraft-input-form-input,.searchcraft-popover-form-inline .searchcraft-popover-list-item-link,.searchcraft-popover-form-inline .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-xl - 12px);border-radius:calc(var(--sc-border-radius-xl) - 12px)}.searchcraft-popover-form-inline-wrapper{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-top:none;border-bottom-left-radius:var(--sc-border-radius-xl);border-bottom-right-radius:var(--sc-border-radius-xl);display:flex;flex-direction:column;left:-1px;max-height:var(--sc-popover-list-view-height);overflow:hidden;position:absolute;right:-1px;top:100%}.searchcraft-popover-form-modal{align-items:center;display:flex;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-modal .searchcraft-input-form-input,.searchcraft-popover-form-modal .searchcraft-popover-list-item-link,.searchcraft-popover-form-modal .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px)}.searchcraft-popover-form-modal-backdrop{background-color:rgb(from var(--sc-content-neutral-primary) r g b/50%);display:none;inset:0;position:fixed}@media(min-width: 576px){.searchcraft-popover-form-modal-backdrop{display:block}}.searchcraft-popover-form-modal-wrapper{background-color:var(--sc-surface-neutral-primary);box-shadow:1px 2px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 2px 4px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 4px 8px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 8px 16px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 16px 32px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 32px 64px rgb(from var(--sc-content-neutral-primary) r g b/7%);display:flex;flex-direction:column;inset:0;max-width:var(--sc-popover-modal-max-width);overflow:hidden;position:absolute;width:100%;z-index:1001}@media(min-width: 576px){.searchcraft-popover-form-modal-wrapper{border-radius:var(--sc-border-radius-2xl);inset:0;margin-top:100px;max-height:var(--sc-popover-list-view-height);max-width:var(--sc-popover-modal-max-width);position:relative}}.searchcraft-popover-form-modal-cancel-button{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-modal-cancel-button{padding:8px 12px}}.searchcraft-popover-form-fullscreen{background-color:var(--sc-surface-neutral-primary);display:flex;flex-direction:column;justify-content:space-between;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-fullscreen .searchcraft-popover-list-item-link,.searchcraft-popover-form-fullscreen .searchcraft-adm-ad-link{border-radius:var(--sc-border-radius-lg)}.searchcraft-popover-form-fullscreen-cancel-button{border-radius:var(--sc-border-radius-lg);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-fullscreen-cancel-button{padding:8px 12px}}.searchcraft-popover-footer{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;background-color:var(--sc-surface-neutral-secondary);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset;display:flex;gap:8px;justify-content:space-between;line-height:1;padding:20px 24px}@media(min-width: 576px){.searchcraft-popover-footer{padding:20px 32px}}.searchcraft-popover-footer-results-info{margin:0}.searchcraft-popover-footer-link{color:var(--sc-content-neutral-primary);display:flex;max-width:160px;width:100%}:root{--sc-popover-list-item-image-fit: contain}.searchcraft-popover-list-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;border-bottom:1px solid var(--sc-border-neutral);padding:12px 0}searchcraft-popover-list-item:last-child .searchcraft-popover-list-item{border-bottom:none}.searchcraft-popover-list-item-link{align-items:flex-start;color:var(--sc-content-neutral-primary);display:flex;gap:24px;padding:12px;text-decoration:none}.searchcraft-popover-list-item-link:focus,.searchcraft-popover-list-item-link:active{background-color:var(--sc-surface-neutral-primary-active)}.searchcraft-popover-list-item-link:hover{background-color:var(--sc-surface-neutral-primary-hover)}.searchcraft-popover-list-item-image-wrapper{align-items:center;aspect-ratio:16/9;display:flex;flex-shrink:0;justify-content:center;width:160px}.searchcraft-popover-list-item-image{height:100%;object-fit:var(--sc-popover-list-item-image-fit);width:100%}.searchcraft-popover-list-item-content{display:flex;flex-direction:column;flex-grow:1;gap:4px;justify-content:center}.searchcraft-popover-list-item-content-title,.searchcraft-popover-list-item-content-subtitle{display:-webkit-box;line-clamp:2;margin:0;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.searchcraft-popover-list-item-content-title{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-heading-5-font-size);font-weight:var(--sc-font-bold)}.searchcraft-popover-list-item-content-subtitle{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-popover-list-view{display:flex;flex-direction:column}.searchcraft-results-info{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-primary);margin:0}.searchcraft-slider{align-items:center;display:flex;flex-direction:column;gap:10px;width:100%;margin-top:4px}.searchcraft-slider-range{align-items:center;background-color:var(--sc-surface-disabled);border-radius:999px;display:flex;position:relative;height:4px;width:100%}.searchcraft-slider-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range{background-color:var(--sc-surface-brand-primary);border-radius:2px;height:4px;position:absolute;top:50%;transform:translateY(-50%);z-index:0}.searchcraft-slider-range .searchcraft-slider-active-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range::-moz-range-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-input{appearance:none;background:rgba(0,0,0,0);border-radius:2px;height:4px;margin:0;outline:none;pointer-events:none;position:absolute;width:100%;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-webkit-slider-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:1px solid var(--sc-border-neutral);cursor:pointer;height:18px;pointer-events:all;width:18px;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-moz-range-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:1px solid var(--sc-border-neutral);cursor:pointer;height:18px;pointer-events:all;width:18px}.searchcraft-slider-range .searchcraft-slider-input:focus::-webkit-slider-thumb{outline:2px solid var(--sc-surface-brand-primary)}.searchcraft-slider-range .searchcraft-slider-input:focus::-moz-range-thumb{outline:2px solid var(--sc-surface-brand-primary)}.searchcraft-slider-label{color:var(--sc-content-primary);display:flex;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);justify-content:space-between;margin-top:4px;width:100%}.searchcraft-slider-start-label,.searchcraft-slider-end-label{min-width:30px;text-align:center}.searchcraft-toggle-button{align-items:flex-start;display:flex;gap:10px;justify-content:space-between}.searchcraft-toggle-button-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);margin:0}.searchcraft-toggle-button-sub-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-secondary);margin:0}.searchcraft-toggle-button-background{background:var(--sc-surface-disabled);border-radius:var(--sc-border-radius-full);border:none;cursor:pointer;flex-shrink:0;height:26px;position:relative;transition:background-color .2s;width:44px}.searchcraft-toggle-button-handle{background:var(--sc-surface-neutral-light);border-radius:50%;height:18px;left:4px;position:absolute;top:calc(50% - 9px);transition:transform .3s ease;width:18px}.searchcraft-toggle-button-active .searchcraft-toggle-button-background{background:var(--sc-surface-brand-primary);box-shadow:0px 0px 0px 1px rgba(0,0,0,.05)}.searchcraft-toggle-button-active .searchcraft-toggle-button-handle{transform:translateX(16px)}.searchcraft-pagination{display:inline-grid;gap:16px;grid-template-columns:repeat(3, auto);grid-template-rows:1fr}.searchcraft-pagination-list{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius);display:flex;list-style-type:none;margin:0;overflow:hidden;padding:0;width:auto}.searchcraft-pagination-list li{border-right:1px solid var(--sc-border-neutral);height:100%;min-height:44px;width:44px}.searchcraft-pagination-list li:last-child{border-right:none}.searchcraft-pagination-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;background-color:var(--sc-surface-neutral-primary);border:none;display:flex;height:100%;justify-content:center;width:100%}.searchcraft-pagination-item-active{background-color:var(--sc-surface-brand-secondary);font-weight:var(--sc-font-bold)}.searchcraft-pagination-control{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius)}.searchcraft-pagination-range{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;display:flex}.searchcraft-select{display:flex;flex-direction:column;gap:4px}.searchcraft-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}.searchcraft-select-input-wrapper{position:relative}.searchcraft-select-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);appearance:none;background-color:var(--sc-surface-neutral-secondary);border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;height:44px;padding:0 44px 0 16px;width:100%}.searchcraft-select-input:hover{background-color:var(--sc-surface-neutral-secondary-hover)}.searchcraft-select-input:active{background-color:var(--sc-surface-neutral-secondary-active)}.searchcraft-select-input:focus{border-color:var(--sc-border-brand);outline:none}.searchcraft-select-input-icon{fill:none;pointer-events:none;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.searchcraft-select-caption{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page{display:flex}.searchcraft-search-results-per-page-select{align-items:center;display:flex;gap:12px}.searchcraft-search-results-per-page-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page-select-input{min-width:120px}.searchcraft-summary-box{padding:20px;border-radius:var(--sc-border-radius);background-color:var(--sc-surface-neutral-secondary);position:relative;min-height:200px;color:var(--sc-content-neutral-primary);font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-summary-box h1,.searchcraft-summary-box h2,.searchcraft-summary-box h3,.searchcraft-summary-box h4,.searchcraft-summary-box h5{padding-top:10px;padding-bottom:10px}.searchcraft-summary-box p{padding-bottom:10px}.searchcraft-summary-box img{max-width:200px}.searchcraft-summary-box ol,.searchcraft-summary-box ul{padding-left:1em;padding-bottom:10px}.searchcraft-summary-box a{color:var(--sc-content-brand)}.searchcraft-loading-label{position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);margin-top:40px;letter-spacing:2px;color:#828282;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal)}.searchcraft-loading-bars{margin:0 auto;width:60px;height:50px;text-align:center;position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);display:flex;gap:2px}.searchcraft-loading-bars>div{height:100%;width:8px;-webkit-animation:delay .8s infinite ease-in-out;animation:delay .8s infinite ease-in-out;opacity:.2}.searchcraft-loading-bars .searchcraft-loading-bar-1{background-color:var(--sc-surface-brand-primary);opacity:.1}.searchcraft-loading-bars .searchcraft-loading-bar-2{background-color:var(--sc-surface-brand-primary);animation-delay:-0.7s;opacity:.2}.searchcraft-loading-bars .searchcraft-loading-bar-3{background-color:var(--sc-surface-brand-primary);animation-delay:-0.6s;opacity:.3}.searchcraft-loading-bars .searchcraft-loading-bar-4{background-color:var(--sc-surface-brand-primary);animation-delay:-0.5s;opacity:.4}.searchcraft-loading-bars .searchcraft-loading-bar-5{background-color:var(--sc-surface-brand-primary);animation-delay:-0.4s;opacity:.5}.searchcraft-loading-bars .searchcraft-loading-bar-6{background-color:var(--sc-surface-brand-primary);animation-delay:-0.3s;opacity:.6}@keyframes delay{0%,40%,100%{transform:scaleY(0.05)}20%{transform:scaleY(1)}}/*# sourceMappingURL=hologram.css.map */
|
|
5098
5191
|
`, ai = /* @__PURE__ */ te(class extends ee {
|
|
5099
5192
|
constructor() {
|
|
5100
5193
|
super(), this.__registerHost();
|
|
5101
5194
|
}
|
|
5102
5195
|
render() {
|
|
5103
|
-
return m("style", { key: "
|
|
5196
|
+
return m("style", { key: "13c28bb6075d6fcbec33938fd2227d9fb6129bf2" }, si);
|
|
5104
5197
|
}
|
|
5105
5198
|
}, [0, "searchcraft-theme"]);
|
|
5106
5199
|
function ni() {
|
|
@@ -5115,7 +5208,7 @@ function ni() {
|
|
|
5115
5208
|
});
|
|
5116
5209
|
}
|
|
5117
5210
|
const oi = ni, ii = Pa, Da = () => {
|
|
5118
|
-
ro(), ao(), oo(), lo(), yo(), xo(), wo(), Ro(), Po(), Io(), Mo(), Do(), No(), zo(), Bo(),
|
|
5211
|
+
ro(), ao(), oo(), lo(), yo(), xo(), wo(), Ro(), Po(), Io(), Mo(), Do(), No(), zo(), Bo(), qo(), Ko(), Go(), Xo(), Jo(), ri(), oi(), ii();
|
|
5119
5212
|
};
|
|
5120
5213
|
globalThis.__scDefineCustomElements__ = Da;
|
|
5121
5214
|
var fe;
|
|
@@ -5399,7 +5492,7 @@ function gi(r) {
|
|
|
5399
5492
|
for (var o in t) t[o] > t[a] && (a = parseInt(o, 10));
|
|
5400
5493
|
return a;
|
|
5401
5494
|
}
|
|
5402
|
-
function
|
|
5495
|
+
function qt() {
|
|
5403
5496
|
if (typeof navigator > "u") return { name: "unknown", version: "unknown" };
|
|
5404
5497
|
for (var r = navigator.userAgent, t = { Edg: "Edge", OPR: "Opera" }, e = 0, s = [/(?<name>Edge|Edg)\/(?<version>\d+(?:\.\d+)?)/, /(?<name>(?:Chrome|Chromium|OPR|Opera|Vivaldi|Brave))\/(?<version>\d+(?:\.\d+)?)/, /(?<name>(?:Firefox|Waterfox|Iceweasel|IceCat))\/(?<version>\d+(?:\.\d+)?)/, /(?<name>Safari)\/(?<version>\d+(?:\.\d+)?)/, /(?<name>MSIE|Trident|IEMobile).+?(?<version>\d+(?:\.\d+)?)/, /(?<name>[A-Za-z]+)\/(?<version>\d+(?:\.\d+)?)/, /(?<name>SamsungBrowser)\/(?<version>\d+(?:\.\d+)?)/]; e < s.length; e++) {
|
|
5405
5498
|
var a = s[e], o = r.match(a);
|
|
@@ -5425,8 +5518,8 @@ Ie("audio", function() {
|
|
|
5425
5518
|
});
|
|
5426
5519
|
});
|
|
5427
5520
|
});
|
|
5428
|
-
var bi =
|
|
5429
|
-
|
|
5521
|
+
var bi = qt().name !== "SamsungBrowser" ? 1 : 3, Ws = 280, Gs = 20;
|
|
5522
|
+
qt().name != "Firefox" && Ie("canvas", function() {
|
|
5430
5523
|
return document.createElement("canvas").getContext("2d"), new Promise(function(r) {
|
|
5431
5524
|
var t = Array.from({ length: bi }, function() {
|
|
5432
5525
|
return function() {
|
|
@@ -5507,7 +5600,7 @@ function Si() {
|
|
|
5507
5600
|
}
|
|
5508
5601
|
return 0;
|
|
5509
5602
|
}
|
|
5510
|
-
|
|
5603
|
+
qt().name != "Firefox" && Ie("fonts", function() {
|
|
5511
5604
|
var r = this;
|
|
5512
5605
|
return new Promise(function(t, e) {
|
|
5513
5606
|
try {
|
|
@@ -5608,11 +5701,11 @@ Vt().name != "Firefox" && Ie("fonts", function() {
|
|
|
5608
5701
|
});
|
|
5609
5702
|
}), Ie("system", function() {
|
|
5610
5703
|
return new Promise(function(r) {
|
|
5611
|
-
var t =
|
|
5704
|
+
var t = qt();
|
|
5612
5705
|
r({ platform: window.navigator.platform, cookieEnabled: window.navigator.cookieEnabled, productSub: navigator.productSub, product: navigator.product, useragent: navigator.userAgent, hardwareConcurrency: navigator.hardwareConcurrency, browser: { name: t.name, version: t.version }, applePayVersion: Si() });
|
|
5613
5706
|
});
|
|
5614
5707
|
});
|
|
5615
|
-
var ye, Ri =
|
|
5708
|
+
var ye, Ri = qt().name !== "SamsungBrowser" ? 1 : 3, D = null;
|
|
5616
5709
|
Ie("webgl", function() {
|
|
5617
5710
|
return Ge(this, void 0, void 0, function() {
|
|
5618
5711
|
var r;
|
|
@@ -6052,8 +6145,8 @@ const Ys = (r) => {
|
|
|
6052
6145
|
}
|
|
6053
6146
|
}, a = () => t, h = { setState: s, getState: a, getInitialState: () => u, subscribe: (l) => (e.add(l), () => e.delete(l)) }, u = t = r(s, a, h);
|
|
6054
6147
|
return h;
|
|
6055
|
-
},
|
|
6056
|
-
ms.createStore =
|
|
6148
|
+
}, Fi = (r) => r ? Ys(r) : Ys;
|
|
6149
|
+
ms.createStore = Fi;
|
|
6057
6150
|
var gs = {}, Ba = { exports: {} }, H = {};
|
|
6058
6151
|
/**
|
|
6059
6152
|
* @license React
|
|
@@ -6064,11 +6157,11 @@ var gs = {}, Ba = { exports: {} }, H = {};
|
|
|
6064
6157
|
* This source code is licensed under the MIT license found in the
|
|
6065
6158
|
* LICENSE file in the root directory of this source tree.
|
|
6066
6159
|
*/
|
|
6067
|
-
var bs = Symbol.for("react.transitional.element"),
|
|
6160
|
+
var bs = Symbol.for("react.transitional.element"), Li = Symbol.for("react.portal"), Di = Symbol.for("react.fragment"), Ni = Symbol.for("react.strict_mode"), zi = Symbol.for("react.profiler"), Hi = Symbol.for("react.consumer"), Ui = Symbol.for("react.context"), Bi = Symbol.for("react.forward_ref"), Vi = Symbol.for("react.suspense"), qi = Symbol.for("react.memo"), Va = Symbol.for("react.lazy"), Qs = Symbol.iterator;
|
|
6068
6161
|
function ji(r) {
|
|
6069
6162
|
return r === null || typeof r != "object" ? null : (r = Qs && r[Qs] || r["@@iterator"], typeof r == "function" ? r : null);
|
|
6070
6163
|
}
|
|
6071
|
-
var
|
|
6164
|
+
var qa = {
|
|
6072
6165
|
isMounted: function() {
|
|
6073
6166
|
return !1;
|
|
6074
6167
|
},
|
|
@@ -6080,7 +6173,7 @@ var Va = {
|
|
|
6080
6173
|
}
|
|
6081
6174
|
}, ja = Object.assign, Wa = {};
|
|
6082
6175
|
function Rt(r, t, e) {
|
|
6083
|
-
this.props = r, this.context = t, this.refs = Wa, this.updater = e ||
|
|
6176
|
+
this.props = r, this.context = t, this.refs = Wa, this.updater = e || qa;
|
|
6084
6177
|
}
|
|
6085
6178
|
Rt.prototype.isReactComponent = {};
|
|
6086
6179
|
Rt.prototype.setState = function(r, t) {
|
|
@@ -6097,7 +6190,7 @@ function Ga() {
|
|
|
6097
6190
|
}
|
|
6098
6191
|
Ga.prototype = Rt.prototype;
|
|
6099
6192
|
function vs(r, t, e) {
|
|
6100
|
-
this.props = r, this.context = t, this.refs = Wa, this.updater = e ||
|
|
6193
|
+
this.props = r, this.context = t, this.refs = Wa, this.updater = e || qa;
|
|
6101
6194
|
}
|
|
6102
6195
|
var ys = vs.prototype = new Ga();
|
|
6103
6196
|
ys.constructor = vs;
|
|
@@ -6176,10 +6269,10 @@ function xt(r, t, e, s, a) {
|
|
|
6176
6269
|
case "object":
|
|
6177
6270
|
switch (r.$$typeof) {
|
|
6178
6271
|
case bs:
|
|
6179
|
-
case
|
|
6272
|
+
case Li:
|
|
6180
6273
|
n = !0;
|
|
6181
6274
|
break;
|
|
6182
|
-
case
|
|
6275
|
+
case Va:
|
|
6183
6276
|
return n = r._init, xt(
|
|
6184
6277
|
n(r._payload),
|
|
6185
6278
|
t,
|
|
@@ -6308,7 +6401,7 @@ H.Fragment = Di;
|
|
|
6308
6401
|
H.Profiler = zi;
|
|
6309
6402
|
H.PureComponent = vs;
|
|
6310
6403
|
H.StrictMode = Ni;
|
|
6311
|
-
H.Suspense =
|
|
6404
|
+
H.Suspense = Vi;
|
|
6312
6405
|
H.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = J;
|
|
6313
6406
|
H.act = function() {
|
|
6314
6407
|
throw Error("act(...) is not supported in production builds of React.");
|
|
@@ -6375,14 +6468,14 @@ H.forwardRef = function(r) {
|
|
|
6375
6468
|
H.isValidElement = Cs;
|
|
6376
6469
|
H.lazy = function(r) {
|
|
6377
6470
|
return {
|
|
6378
|
-
$$typeof:
|
|
6471
|
+
$$typeof: Va,
|
|
6379
6472
|
_payload: { _status: -1, _result: r },
|
|
6380
6473
|
_init: Yi
|
|
6381
6474
|
};
|
|
6382
6475
|
};
|
|
6383
6476
|
H.memo = function(r, t) {
|
|
6384
6477
|
return {
|
|
6385
|
-
$$typeof:
|
|
6478
|
+
$$typeof: qi,
|
|
6386
6479
|
type: r,
|
|
6387
6480
|
compare: t === void 0 ? null : t
|
|
6388
6481
|
};
|
|
@@ -6554,12 +6647,12 @@ class tc {
|
|
|
6554
6647
|
}
|
|
6555
6648
|
throw new Error(`HTTP ${A.status}`);
|
|
6556
6649
|
}
|
|
6557
|
-
const N = A.body.getReader(),
|
|
6650
|
+
const N = A.body.getReader(), L = new TextDecoder();
|
|
6558
6651
|
let P = !1;
|
|
6559
6652
|
do {
|
|
6560
6653
|
const { done: _, value: U } = await N.read();
|
|
6561
6654
|
P = _;
|
|
6562
|
-
const j =
|
|
6655
|
+
const j = L.decode(U, { stream: !0 });
|
|
6563
6656
|
this.set((se) => ({
|
|
6564
6657
|
isSummaryLoading: !1,
|
|
6565
6658
|
summary: `${se.summary}${j}`
|
|
@@ -6581,6 +6674,7 @@ const sa = {
|
|
|
6581
6674
|
hotkey: "k",
|
|
6582
6675
|
hotkeyModifier: "meta",
|
|
6583
6676
|
facetPathsForIndexFields: {},
|
|
6677
|
+
isFilterPanelVisible: !0,
|
|
6584
6678
|
isPopoverVisible: !1,
|
|
6585
6679
|
isSearchInProgress: !1,
|
|
6586
6680
|
rangeValueForIndexFields: {},
|
|
@@ -6665,7 +6759,7 @@ const sa = {
|
|
|
6665
6759
|
});
|
|
6666
6760
|
},
|
|
6667
6761
|
search: async (u) => {
|
|
6668
|
-
var N,
|
|
6762
|
+
var N, L, P;
|
|
6669
6763
|
const l = o();
|
|
6670
6764
|
if (!l.core)
|
|
6671
6765
|
throw new Error("Searchcraft instance is not initialized.");
|
|
@@ -6707,7 +6801,7 @@ const sa = {
|
|
|
6707
6801
|
});
|
|
6708
6802
|
return;
|
|
6709
6803
|
}
|
|
6710
|
-
(P = (
|
|
6804
|
+
(P = (L = l.core) == null ? void 0 : L.searchClient) == null || P.abortRequests(), a({
|
|
6711
6805
|
searchClientResponseItems: [
|
|
6712
6806
|
...l.cachedSearchClientResponseItems
|
|
6713
6807
|
],
|
|
@@ -6738,6 +6832,9 @@ const sa = {
|
|
|
6738
6832
|
shouldCacheResultsForEmptyState: !1
|
|
6739
6833
|
});
|
|
6740
6834
|
},
|
|
6835
|
+
setFilterPanelVisibility: (u) => a({
|
|
6836
|
+
isFilterPanelVisible: u
|
|
6837
|
+
}),
|
|
6741
6838
|
setPopoverVisibility: (u) => a({
|
|
6742
6839
|
isPopoverVisible: u
|
|
6743
6840
|
}),
|
|
@@ -6961,14 +7058,14 @@ class sc {
|
|
|
6961
7058
|
}), (t = this.adClient) == null || t.onInputCleared();
|
|
6962
7059
|
}
|
|
6963
7060
|
}
|
|
6964
|
-
const ac = "@searchcraft/vue-sdk", nc = "0.
|
|
7061
|
+
const ac = "@searchcraft/vue-sdk", nc = "0.13.0", Qr = "routerLink", aa = "navManager", oc = "router", ic = "aria", zt = Symbol(), na = { default: zt }, oa = (r) => (r == null ? void 0 : r.split(" ")) || [], cc = (r, t, e = []) => {
|
|
6965
7062
|
var s;
|
|
6966
7063
|
return [...Array.from(((s = r.value) == null ? void 0 : s.classList) || []), ...e].filter((a, o, n) => !t.has(a) && n.indexOf(a) === o);
|
|
6967
|
-
},
|
|
7064
|
+
}, Le = (r, t, e = [], s = [], a, o) => {
|
|
6968
7065
|
t !== void 0 && t();
|
|
6969
7066
|
const n = nn((h, { attrs: u, slots: l, emit: p }) => {
|
|
6970
7067
|
var P;
|
|
6971
|
-
const C = on(), S = new Set(oa(u.class)), $ = cn(), N = ((P = $ == null ? void 0 : $.appContext) == null ? void 0 : P.provides[aa]) ? ln(aa) : void 0,
|
|
7068
|
+
const C = on(), S = new Set(oa(u.class)), $ = cn(), N = ((P = $ == null ? void 0 : $.appContext) == null ? void 0 : P.provides[aa]) ? ln(aa) : void 0, L = (_) => {
|
|
6972
7069
|
const { routerLink: U } = h;
|
|
6973
7070
|
if (U !== zt)
|
|
6974
7071
|
if (N !== void 0) {
|
|
@@ -6987,7 +7084,7 @@ const ac = "@searchcraft/vue-sdk", nc = "0.12.2", Qr = "routerLink", aa = "navMa
|
|
|
6987
7084
|
S.add(Y);
|
|
6988
7085
|
});
|
|
6989
7086
|
const _ = h.onClick, U = (Y) => {
|
|
6990
|
-
_ !== void 0 && _(Y), Y.defaultPrevented ||
|
|
7087
|
+
_ !== void 0 && _(Y), Y.defaultPrevented || L(Y);
|
|
6991
7088
|
};
|
|
6992
7089
|
let j = {
|
|
6993
7090
|
ref: C,
|
|
@@ -7011,11 +7108,13 @@ const ac = "@searchcraft/vue-sdk", nc = "0.12.2", Qr = "routerLink", aa = "navMa
|
|
|
7011
7108
|
u.ROUTER_LINK_VALUE = na, e.forEach((l) => u[l] = na), h = s, n.name = r, n.emits = h, n.props = u;
|
|
7012
7109
|
}
|
|
7013
7110
|
return n;
|
|
7014
|
-
}, lc = /* @__PURE__ */
|
|
7111
|
+
}, lc = /* @__PURE__ */ Le("searchcraft-filter-panel", () => {
|
|
7015
7112
|
}, [
|
|
7016
7113
|
"searchcraftId",
|
|
7017
|
-
"items"
|
|
7018
|
-
|
|
7114
|
+
"items",
|
|
7115
|
+
"responsiveBreakpoint",
|
|
7116
|
+
"responsiveBehavior"
|
|
7117
|
+
]), uc = /* @__PURE__ */ Le("searchcraft-input-form", () => {
|
|
7019
7118
|
}, [
|
|
7020
7119
|
"searchcraftId",
|
|
7021
7120
|
"autoSearch",
|
|
@@ -7032,15 +7131,15 @@ const ac = "@searchcraft/vue-sdk", nc = "0.12.2", Qr = "routerLink", aa = "navMa
|
|
|
7032
7131
|
"inputFocus",
|
|
7033
7132
|
"inputBlur",
|
|
7034
7133
|
"inputInit"
|
|
7035
|
-
]), hc = /* @__PURE__ */
|
|
7134
|
+
]), hc = /* @__PURE__ */ Le("searchcraft-pagination", () => {
|
|
7036
7135
|
}, [
|
|
7037
7136
|
"searchcraftId"
|
|
7038
|
-
]), dc = /* @__PURE__ */
|
|
7137
|
+
]), dc = /* @__PURE__ */ Le("searchcraft-popover-button", () => {
|
|
7039
7138
|
}, [
|
|
7040
7139
|
"template",
|
|
7041
7140
|
"type",
|
|
7042
7141
|
"searchcraftId"
|
|
7043
|
-
]), fc = /* @__PURE__ */
|
|
7142
|
+
]), fc = /* @__PURE__ */ Le("searchcraft-popover-form", () => {
|
|
7044
7143
|
}, [
|
|
7045
7144
|
"type",
|
|
7046
7145
|
"popoverResultMappings",
|
|
@@ -7049,24 +7148,24 @@ const ac = "@searchcraft/vue-sdk", nc = "0.12.2", Qr = "routerLink", aa = "navMa
|
|
|
7049
7148
|
"searchcraftId",
|
|
7050
7149
|
"placeholderValue",
|
|
7051
7150
|
"placeholderBehavior"
|
|
7052
|
-
]), pc = /* @__PURE__ */
|
|
7151
|
+
]), pc = /* @__PURE__ */ Le("searchcraft-results-info", () => {
|
|
7053
7152
|
}, [
|
|
7054
7153
|
"template",
|
|
7055
7154
|
"searchcraftId"
|
|
7056
|
-
]), mc = /* @__PURE__ */
|
|
7155
|
+
]), mc = /* @__PURE__ */ Le("searchcraft-search-results", () => {
|
|
7057
7156
|
}, [
|
|
7058
7157
|
"searchcraftId",
|
|
7059
7158
|
"initialQuery",
|
|
7060
7159
|
"template"
|
|
7061
|
-
]), gc = /* @__PURE__ */
|
|
7160
|
+
]), gc = /* @__PURE__ */ Le("searchcraft-search-results-per-page", () => {
|
|
7062
7161
|
}, [
|
|
7063
7162
|
"increment",
|
|
7064
7163
|
"searchcraftId"
|
|
7065
|
-
]), bc = /* @__PURE__ */
|
|
7164
|
+
]), bc = /* @__PURE__ */ Le("searchcraft-summary-box", () => {
|
|
7066
7165
|
}, [
|
|
7067
7166
|
"searchcraftId"
|
|
7068
|
-
]), vc = /* @__PURE__ */
|
|
7069
|
-
}),
|
|
7167
|
+
]), vc = /* @__PURE__ */ Le("searchcraft-theme", () => {
|
|
7168
|
+
}), qc = mc, jc = lc, Wc = uc, Gc = dc, Zc = fc, Yc = pc, Qc = vc, Kc = hc, Xc = gc, Jc = bc;
|
|
7070
7169
|
class el extends sc {
|
|
7071
7170
|
constructor(t, e = void 0) {
|
|
7072
7171
|
super(
|
|
@@ -7088,7 +7187,7 @@ export {
|
|
|
7088
7187
|
Gc as SearchcraftPopoverButton,
|
|
7089
7188
|
Zc as SearchcraftPopoverForm,
|
|
7090
7189
|
Yc as SearchcraftResultsInfo,
|
|
7091
|
-
|
|
7190
|
+
qc as SearchcraftSearchResults,
|
|
7092
7191
|
Xc as SearchcraftSearchResultsPerPage,
|
|
7093
7192
|
Jc as SearchcraftSummaryBox,
|
|
7094
7193
|
Qc as SearchcraftTheme
|