@searchcraft/react-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/client/index.js +562 -465
- package/dist/client/index.js.map +1 -1
- package/dist/client/themes/hologram.css +1 -1
- package/dist/client/themes/hologram.css.map +1 -1
- package/dist/server/index.d.ts +18 -0
- package/dist/server/index.js +411 -314
- package/dist/server/index.js.map +1 -1
- package/package.json +3 -3
package/dist/server/index.js
CHANGED
|
@@ -115,7 +115,7 @@ var yn = (r, t, e = !0) => {
|
|
|
115
115
|
for ((e && r["s-sr"] || !r["s-sr"]) && s.push(r); (r = r.nextSibling) && r["s-sn"] === t; )
|
|
116
116
|
s.push(r);
|
|
117
117
|
return s;
|
|
118
|
-
}, Ds = (r, t) => r.nodeType === 1 ? r.getAttribute("slot") === null && t === "" || r.getAttribute("slot") === t : r["s-sn"] === t ? !0 : t === "",
|
|
118
|
+
}, Ds = (r, t) => r.nodeType === 1 ? r.getAttribute("slot") === null && t === "" || r.getAttribute("slot") === t : r["s-sn"] === t ? !0 : t === "", Ht = (r, t = "") => () => {
|
|
119
119
|
}, m = (r, t, ...e) => {
|
|
120
120
|
let s = null, a = null, o = null, n = !1, h = !1;
|
|
121
121
|
const u = [], l = (C) => {
|
|
@@ -176,12 +176,12 @@ var yn = (r, t, e = !0) => {
|
|
|
176
176
|
}, ca = (r, t, e) => {
|
|
177
177
|
const s = we.ce(t, e);
|
|
178
178
|
return r.dispatchEvent(s), s;
|
|
179
|
-
}, hr = /* @__PURE__ */ new WeakMap(),
|
|
179
|
+
}, hr = /* @__PURE__ */ new WeakMap(), zs = (r, t, e, s, a, o) => {
|
|
180
180
|
if (e !== s) {
|
|
181
181
|
let n = Os(r, t), h = t.toLowerCase();
|
|
182
182
|
if (t === "class") {
|
|
183
|
-
const u = r.classList, l =
|
|
184
|
-
let p =
|
|
183
|
+
const u = r.classList, l = Hs(e);
|
|
184
|
+
let p = Hs(s);
|
|
185
185
|
r["s-si"] ? (p.push(r["s-si"]), l.forEach((C) => {
|
|
186
186
|
C.startsWith(r["s-si"]) && p.push(C);
|
|
187
187
|
}), p = [...new Set(p)], u.add(...p), delete r["s-si"]) : (u.remove(...l.filter((C) => C && !p.includes(C))), u.add(...p.filter((C) => C && !l.includes(C))));
|
|
@@ -210,14 +210,14 @@ var yn = (r, t, e = !0) => {
|
|
|
210
210
|
s == null || s === !1 ? (s !== !1 || r.getAttribute(t) === "") && r.removeAttribute(t) : (!n || o & 4 || a) && !u && (s = s === !0 ? "" : s, r.setAttribute(t, s));
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
}, Rn = /\s/,
|
|
213
|
+
}, Rn = /\s/, Hs = (r) => (typeof r == "object" && "baseVal" in r && (r = r.baseVal), r ? r.split(Rn) : []), la = "Capture", En = new RegExp(la + "$"), ua = (r, t, e) => {
|
|
214
214
|
const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, a = r && r.$attrs$ || {}, o = t.$attrs$ || {};
|
|
215
|
-
for (const n of
|
|
216
|
-
n in o ||
|
|
217
|
-
for (const n of
|
|
218
|
-
|
|
215
|
+
for (const n of Bs(Object.keys(a)))
|
|
216
|
+
n in o || zs(s, n, a[n], void 0, e, t.$flags$);
|
|
217
|
+
for (const n of Bs(Object.keys(o)))
|
|
218
|
+
zs(s, n, a[n], o[n], e, t.$flags$);
|
|
219
219
|
};
|
|
220
|
-
function
|
|
220
|
+
function Bs(r) {
|
|
221
221
|
return r.includes("ref") ? (
|
|
222
222
|
// we need to sort these to ensure that `'ref'` is the last attr
|
|
223
223
|
[...r.filter((t) => t !== "ref"), "ref"]
|
|
@@ -252,30 +252,30 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
|
|
|
252
252
|
h = Cr(r, a, o), h && n.appendChild(h);
|
|
253
253
|
a.$tag$ === "svg" ? Re = !1 : n.tagName === "foreignObject" && (Re = !0);
|
|
254
254
|
}
|
|
255
|
-
return n["s-hn"] = os, a.$flags$ & 3 && (n["s-sr"] = !0, n["s-cr"] = Jr, n["s-sn"] = a.$name$ || "", n["s-rf"] = (s = a.$attrs$) == null ? void 0 : s.ref, u = r && r.$children$ && r.$children$[e], u && u.$tag$ === a.$tag$ && r.$elm$ &&
|
|
256
|
-
},
|
|
255
|
+
return n["s-hn"] = os, a.$flags$ & 3 && (n["s-sr"] = !0, n["s-cr"] = Jr, n["s-sn"] = a.$name$ || "", n["s-rf"] = (s = a.$attrs$) == null ? void 0 : s.ref, u = r && r.$children$ && r.$children$[e], u && u.$tag$ === a.$tag$ && r.$elm$ && Bt(r.$elm$, !1)), n;
|
|
256
|
+
}, Bt = (r, t) => {
|
|
257
257
|
we.$flags$ |= 1;
|
|
258
258
|
const e = Array.from(r.__childNodes || r.childNodes);
|
|
259
259
|
r["s-sr"] && Rt.experimentalSlotFixes;
|
|
260
260
|
for (let s = e.length - 1; s >= 0; s--) {
|
|
261
261
|
const a = e[s];
|
|
262
|
-
a["s-hn"] !== os && a["s-ol"] && (rt(
|
|
262
|
+
a["s-hn"] !== os && a["s-ol"] && (rt(Ut(a).parentNode, a, Ut(a)), a["s-ol"].remove(), a["s-ol"] = void 0, a["s-sh"] = void 0, is = !0), t && Bt(a, t);
|
|
263
263
|
}
|
|
264
264
|
we.$flags$ &= -2;
|
|
265
265
|
}, ha = (r, t, e, s, a, o) => {
|
|
266
266
|
let n = r["s-cr"] && r["s-cr"].parentNode || r, h;
|
|
267
267
|
for (; a <= o; ++a)
|
|
268
|
-
s[a] && (h = Cr(null, e, a), h && (s[a].$elm$ = h, rt(n, h,
|
|
268
|
+
s[a] && (h = Cr(null, e, a), h && (s[a].$elm$ = h, rt(n, h, Ut(t))));
|
|
269
269
|
}, da = (r, t, e) => {
|
|
270
270
|
for (let s = t; s <= e; ++s) {
|
|
271
271
|
const a = r[s];
|
|
272
272
|
if (a) {
|
|
273
273
|
const o = a.$elm$;
|
|
274
|
-
o && (kr = !0, o["s-ol"] ? o["s-ol"].remove() :
|
|
274
|
+
o && (kr = !0, o["s-ol"] ? o["s-ol"].remove() : Bt(o, !0), o.remove());
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
}, Tn = (r, t, e, s, a = !1) => {
|
|
278
|
-
let o = 0, n = 0, h = 0, u = 0, l = t.length - 1, p = t[0], C = t[l], E = s.length - 1, _ = s[0], I = s[E],
|
|
278
|
+
let o = 0, n = 0, h = 0, u = 0, l = t.length - 1, p = t[0], C = t[l], E = s.length - 1, _ = s[0], I = s[E], H, D;
|
|
279
279
|
for (; o <= l && n <= E; )
|
|
280
280
|
if (p == null)
|
|
281
281
|
p = t[++o];
|
|
@@ -290,19 +290,19 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
|
|
|
290
290
|
else if (dr(C, I, a))
|
|
291
291
|
xt(C, I, a), C = t[--l], I = s[--E];
|
|
292
292
|
else if (dr(p, I, a))
|
|
293
|
-
(p.$tag$ === "slot" || I.$tag$ === "slot") &&
|
|
293
|
+
(p.$tag$ === "slot" || I.$tag$ === "slot") && Bt(p.$elm$.parentNode, !1), xt(p, I, a), rt(r, p.$elm$, C.$elm$.nextSibling), p = t[++o], I = s[--E];
|
|
294
294
|
else if (dr(C, _, a))
|
|
295
|
-
(p.$tag$ === "slot" || I.$tag$ === "slot") &&
|
|
295
|
+
(p.$tag$ === "slot" || I.$tag$ === "slot") && Bt(C.$elm$.parentNode, !1), xt(C, _, a), rt(r, C.$elm$, p.$elm$), C = t[--l], _ = s[++n];
|
|
296
296
|
else {
|
|
297
297
|
for (h = -1, u = o; u <= l; ++u)
|
|
298
298
|
if (t[u] && t[u].$key$ !== null && t[u].$key$ === _.$key$) {
|
|
299
299
|
h = u;
|
|
300
300
|
break;
|
|
301
301
|
}
|
|
302
|
-
h >= 0 ? (D = t[h], D.$tag$ !== _.$tag$ ?
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
302
|
+
h >= 0 ? (D = t[h], D.$tag$ !== _.$tag$ ? H = Cr(t && t[n], e, h) : (xt(D, _, a), t[h] = void 0, H = D.$elm$), _ = s[++n]) : (H = Cr(t && t[n], e, n), _ = s[++n]), H && rt(
|
|
303
|
+
Ut(p.$elm$).parentNode,
|
|
304
|
+
H,
|
|
305
|
+
Ut(p.$elm$)
|
|
306
306
|
);
|
|
307
307
|
}
|
|
308
308
|
o > l ? ha(
|
|
@@ -313,7 +313,7 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
|
|
|
313
313
|
n,
|
|
314
314
|
E
|
|
315
315
|
) : n > E && da(t, o, l);
|
|
316
|
-
}, dr = (r, t, e = !1) => r.$tag$ === t.$tag$ ? r.$tag$ === "slot" ? r.$name$ === t.$name$ : e ? (e && !r.$key$ && t.$key$ && (r.$key$ = t.$key$), !0) : r.$key$ === t.$key$ : !1,
|
|
316
|
+
}, dr = (r, t, e = !1) => r.$tag$ === t.$tag$ ? r.$tag$ === "slot" ? r.$name$ === t.$name$ : e ? (e && !r.$key$ && t.$key$ && (r.$key$ = t.$key$), !0) : r.$key$ === t.$key$ : !1, Ut = (r) => r && r["s-ol"] || r, xt = (r, t, e = !1) => {
|
|
317
317
|
const s = t.$elm$ = r.$elm$, a = r.$children$, o = t.$children$, n = t.$tag$, h = t.$text$;
|
|
318
318
|
let u;
|
|
319
319
|
h === null ? (Re = n === "svg" ? !0 : n === "foreignObject" ? !1 : Re, n === "slot" && !yr || ua(r, t, Re), a !== null && o !== null ? Tn(s, a, t, o, e) : o !== null ? (r.$text$ !== null && (s.textContent = ""), ha(s, null, t, o, 0, o.length - 1)) : (
|
|
@@ -380,8 +380,8 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
|
|
|
380
380
|
P = P.previousSibling;
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
|
-
const
|
|
384
|
-
(!I && _ !==
|
|
383
|
+
const H = C.__parentNode || C.parentNode, D = C.__nextSibling || C.nextSibling;
|
|
384
|
+
(!I && _ !== H || D !== I) && C !== I && (!C["s-hn"] && C["s-ol"] && (C["s-hn"] = C["s-ol"].parentNode.nodeName), rt(_, C, I), C.nodeType === 1 && C.tagName !== "SLOT-FB" && (C.hidden = (o = C["s-ih"]) != null ? o : !1)), C && typeof E["s-rf"] == "function" && E["s-rf"](C);
|
|
385
385
|
} else
|
|
386
386
|
C.nodeType === 1 && (e && (C["s-ih"] = (n = C.hidden) != null ? n : !1), C.hidden = !0);
|
|
387
387
|
}
|
|
@@ -406,7 +406,7 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
|
|
|
406
406
|
}
|
|
407
407
|
return pa(r, r.$ancestorComponent$), pn(() => $n(r, t));
|
|
408
408
|
}, $n = (r, t) => {
|
|
409
|
-
const e = r.$hostElement$, s =
|
|
409
|
+
const e = r.$hostElement$, s = Ht("scheduleUpdate", r.$cmpMeta$.$tagName$), a = e;
|
|
410
410
|
if (!a)
|
|
411
411
|
throw new Error(
|
|
412
412
|
`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
|
|
@@ -417,7 +417,7 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
|
|
|
417
417
|
console.error(e), t();
|
|
418
418
|
}) : t(), In = (r) => r instanceof Promise || r && r.then && typeof r.then == "function", An = async (r, t, e) => {
|
|
419
419
|
var s;
|
|
420
|
-
const a = r.$hostElement$, o =
|
|
420
|
+
const a = r.$hostElement$, o = Ht("update", r.$cmpMeta$.$tagName$), n = a["s-rc"], h = Ht("render", r.$cmpMeta$.$tagName$);
|
|
421
421
|
Mn(r, t, a, e), n && (n.map((u) => u()), a["s-rc"] = void 0), h(), o();
|
|
422
422
|
{
|
|
423
423
|
const u = (s = a["s-p"]) != null ? s : [], l = () => On(r);
|
|
@@ -431,7 +431,7 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
|
|
|
431
431
|
}
|
|
432
432
|
return null;
|
|
433
433
|
}, On = (r) => {
|
|
434
|
-
const t = r.$cmpMeta$.$tagName$, e = r.$hostElement$, s =
|
|
434
|
+
const t = r.$cmpMeta$.$tagName$, e = r.$hostElement$, s = Ht("postUpdate", t), a = e, o = r.$ancestorComponent$;
|
|
435
435
|
r.$flags$ & 64 ? s() : (r.$flags$ |= 64, ma(e), Fn(a, "componentDidLoad", void 0, e), s(), r.$onReadyResolve$(e), o || Ln()), r.$onRenderResolve$ && (r.$onRenderResolve$(), r.$onRenderResolve$ = void 0), r.$flags$ & 512 && as(() => cs(r, !1)), r.$flags$ &= -517;
|
|
436
436
|
}, Ln = (r) => {
|
|
437
437
|
ma(St.documentElement), as(() => ca(wr, "appload", { detail: { namespace: rn } }));
|
|
@@ -445,7 +445,7 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
|
|
|
445
445
|
}, ma = (r) => {
|
|
446
446
|
var t;
|
|
447
447
|
return r.classList.add((t = Rt.hydratedSelectorName) != null ? t : "hydrated");
|
|
448
|
-
}, Dn = (r, t) => st(r).$instanceValues$.get(t),
|
|
448
|
+
}, Dn = (r, t) => st(r).$instanceValues$.get(t), Us = (r, t, e, s) => {
|
|
449
449
|
const a = st(r), o = r, n = a.$instanceValues$.get(t), h = a.$flags$, u = o;
|
|
450
450
|
e = ia(e, s.$members$[t][0]);
|
|
451
451
|
const l = Number.isNaN(n) && Number.isNaN(e);
|
|
@@ -485,11 +485,11 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
|
|
|
485
485
|
const E = st(this);
|
|
486
486
|
if (p) {
|
|
487
487
|
const _ = u & 32 ? this[h] : E.$hostElement$[h];
|
|
488
|
-
typeof _ > "u" && E.$instanceValues$.get(h) ? C = E.$instanceValues$.get(h) : !E.$instanceValues$.get(h) && _ && E.$instanceValues$.set(h, _), p.apply(this, [ia(C, u)]), C = u & 32 ? this[h] : E.$hostElement$[h],
|
|
488
|
+
typeof _ > "u" && E.$instanceValues$.get(h) ? C = E.$instanceValues$.get(h) : !E.$instanceValues$.get(h) && _ && E.$instanceValues$.set(h, _), p.apply(this, [ia(C, u)]), C = u & 32 ? this[h] : E.$hostElement$[h], Us(this, h, C, t);
|
|
489
489
|
return;
|
|
490
490
|
}
|
|
491
491
|
{
|
|
492
|
-
|
|
492
|
+
Us(this, h, C, t);
|
|
493
493
|
return;
|
|
494
494
|
}
|
|
495
495
|
}
|
|
@@ -507,11 +507,11 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
|
|
|
507
507
|
this[E] == p)
|
|
508
508
|
return;
|
|
509
509
|
if (E == null) {
|
|
510
|
-
const I = st(this),
|
|
511
|
-
if (
|
|
510
|
+
const I = st(this), H = I == null ? void 0 : I.$flags$;
|
|
511
|
+
if (H && !(H & 8) && H & 128 && p !== l) {
|
|
512
512
|
const P = this, M = (C = t.$watchers$) == null ? void 0 : C[u];
|
|
513
|
-
M == null || M.forEach((
|
|
514
|
-
P[
|
|
513
|
+
M == null || M.forEach((V) => {
|
|
514
|
+
P[V] != null && P[V].call(P, p, l, u);
|
|
515
515
|
});
|
|
516
516
|
}
|
|
517
517
|
return;
|
|
@@ -535,7 +535,7 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
|
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
537
|
return r;
|
|
538
|
-
},
|
|
538
|
+
}, zn = async (r, t, e, s) => {
|
|
539
539
|
if (!(t.$flags$ & 32)) {
|
|
540
540
|
t.$flags$ |= 32;
|
|
541
541
|
{
|
|
@@ -548,15 +548,15 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
|
|
|
548
548
|
}
|
|
549
549
|
const a = t.$ancestorComponent$, o = () => cs(t, !0);
|
|
550
550
|
a && a["s-rc"] ? a["s-rc"].push(o) : o();
|
|
551
|
-
},
|
|
552
|
-
},
|
|
551
|
+
}, Hn = (r, t) => {
|
|
552
|
+
}, Bn = (r) => {
|
|
553
553
|
if (!(we.$flags$ & 1)) {
|
|
554
|
-
const t = st(r), e = t.$cmpMeta$, s =
|
|
554
|
+
const t = st(r), e = t.$cmpMeta$, s = Ht("connectedCallback", e.$tagName$);
|
|
555
555
|
if (t.$flags$ & 1)
|
|
556
|
-
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() =>
|
|
556
|
+
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Hn());
|
|
557
557
|
else {
|
|
558
558
|
t.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
|
559
|
-
e.$flags$ & 12 &&
|
|
559
|
+
e.$flags$ & 12 && Un(r);
|
|
560
560
|
{
|
|
561
561
|
let a = r;
|
|
562
562
|
for (; a = a.parentNode || a.host; )
|
|
@@ -570,16 +570,16 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
|
|
|
570
570
|
const n = r[a];
|
|
571
571
|
delete r[a], r[a] = n;
|
|
572
572
|
}
|
|
573
|
-
}),
|
|
573
|
+
}), zn(r, t);
|
|
574
574
|
}
|
|
575
575
|
s();
|
|
576
576
|
}
|
|
577
|
-
},
|
|
577
|
+
}, Un = (r) => {
|
|
578
578
|
const t = r["s-cr"] = St.createComment(
|
|
579
579
|
""
|
|
580
580
|
);
|
|
581
581
|
t["s-cn"] = !0, rt(r, t, r.firstChild);
|
|
582
|
-
},
|
|
582
|
+
}, Vn = async (r) => {
|
|
583
583
|
we.$flags$ & 1 || st(r), hr.has(r) && hr.delete(r), r.shadowRoot && hr.has(r.shadowRoot) && hr.delete(r.shadowRoot);
|
|
584
584
|
}, ee = (r, t) => {
|
|
585
585
|
const e = {
|
|
@@ -594,10 +594,10 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
|
|
|
594
594
|
un(this, e);
|
|
595
595
|
},
|
|
596
596
|
connectedCallback() {
|
|
597
|
-
this.__hasHostListenerAttached || (st(this), this.__hasHostListenerAttached = !0),
|
|
597
|
+
this.__hasHostListenerAttached || (st(this), this.__hasHostListenerAttached = !0), Bn(this), s && s.call(this);
|
|
598
598
|
},
|
|
599
599
|
disconnectedCallback() {
|
|
600
|
-
|
|
600
|
+
Vn(this), a && a.call(this), we.raf(() => {
|
|
601
601
|
var o;
|
|
602
602
|
const n = st(this);
|
|
603
603
|
((o = n == null ? void 0 : n.$vnode$) == null ? void 0 : o.$elm$) instanceof Node && !n.$vnode$.$elm$.isConnected && delete n.$vnode$, this instanceof Node && !this.isConnected && ln(this);
|
|
@@ -607,7 +607,7 @@ var Jr, os, yr = !1, kr = !1, is = !1, Re = !1, Cr = (r, t, e) => {
|
|
|
607
607
|
this.shadowRoot = this;
|
|
608
608
|
}
|
|
609
609
|
}), r.is = e.$tagName$, Nn(r, e);
|
|
610
|
-
},
|
|
610
|
+
}, qn = (r, t) => t, ga = { exports: {} };
|
|
611
611
|
/*!
|
|
612
612
|
Copyright (c) 2018 Jed Watson.
|
|
613
613
|
Licensed under the MIT License (MIT), see
|
|
@@ -669,66 +669,66 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
669
669
|
return O;
|
|
670
670
|
}), u || (u = function(O) {
|
|
671
671
|
return O;
|
|
672
|
-
}), p || (p = function(O,
|
|
673
|
-
return O.apply(
|
|
674
|
-
}), C || (C = function(O,
|
|
675
|
-
return new O(...
|
|
672
|
+
}), p || (p = function(O, q, U) {
|
|
673
|
+
return O.apply(q, U);
|
|
674
|
+
}), C || (C = function(O, q) {
|
|
675
|
+
return new O(...q);
|
|
676
676
|
});
|
|
677
|
-
const E = oe(Array.prototype.forEach), _ = oe(Array.prototype.lastIndexOf), I = oe(Array.prototype.pop),
|
|
678
|
-
function oe(
|
|
677
|
+
const E = oe(Array.prototype.forEach), _ = oe(Array.prototype.lastIndexOf), I = oe(Array.prototype.pop), H = oe(Array.prototype.push), D = oe(Array.prototype.splice), P = oe(String.prototype.toLowerCase), M = oe(String.prototype.toString), V = oe(String.prototype.match), Y = oe(String.prototype.replace), ge = oe(String.prototype.indexOf), Se = oe(String.prototype.trim), ae = oe(Object.prototype.hasOwnProperty), Z = oe(RegExp.prototype.test), Qe = Tr(TypeError);
|
|
678
|
+
function oe(B) {
|
|
679
679
|
return function(O) {
|
|
680
|
-
for (var
|
|
681
|
-
|
|
682
|
-
return p(
|
|
680
|
+
for (var q = arguments.length, U = new Array(q > 1 ? q - 1 : 0), ie = 1; ie < q; ie++)
|
|
681
|
+
U[ie - 1] = arguments[ie];
|
|
682
|
+
return p(B, O, U);
|
|
683
683
|
};
|
|
684
684
|
}
|
|
685
|
-
function Tr(
|
|
685
|
+
function Tr(B) {
|
|
686
686
|
return function() {
|
|
687
|
-
for (var O = arguments.length,
|
|
688
|
-
|
|
689
|
-
return C(
|
|
687
|
+
for (var O = arguments.length, q = new Array(O), U = 0; U < O; U++)
|
|
688
|
+
q[U] = arguments[U];
|
|
689
|
+
return C(B, q);
|
|
690
690
|
};
|
|
691
691
|
}
|
|
692
|
-
function N(
|
|
693
|
-
let
|
|
694
|
-
s && s(
|
|
695
|
-
let
|
|
696
|
-
for (;
|
|
697
|
-
let ie = O[
|
|
692
|
+
function N(B, O) {
|
|
693
|
+
let q = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : P;
|
|
694
|
+
s && s(B, null);
|
|
695
|
+
let U = O.length;
|
|
696
|
+
for (; U--; ) {
|
|
697
|
+
let ie = O[U];
|
|
698
698
|
if (typeof ie == "string") {
|
|
699
|
-
const ye =
|
|
700
|
-
ye !== ie && (a(O) || (O[
|
|
699
|
+
const ye = q(ie);
|
|
700
|
+
ye !== ie && (a(O) || (O[U] = ye), ie = ye);
|
|
701
701
|
}
|
|
702
|
-
|
|
702
|
+
B[ie] = !0;
|
|
703
703
|
}
|
|
704
|
-
return
|
|
704
|
+
return B;
|
|
705
705
|
}
|
|
706
|
-
function Pr(
|
|
707
|
-
for (let O = 0; O <
|
|
708
|
-
ae(
|
|
709
|
-
return
|
|
706
|
+
function Pr(B) {
|
|
707
|
+
for (let O = 0; O < B.length; O++)
|
|
708
|
+
ae(B, O) || (B[O] = null);
|
|
709
|
+
return B;
|
|
710
710
|
}
|
|
711
|
-
function $e(
|
|
711
|
+
function $e(B) {
|
|
712
712
|
const O = l(null);
|
|
713
|
-
for (const [
|
|
714
|
-
ae(
|
|
713
|
+
for (const [q, U] of e(B))
|
|
714
|
+
ae(B, q) && (Array.isArray(U) ? O[q] = Pr(U) : U && typeof U == "object" && U.constructor === Object ? O[q] = $e(U) : O[q] = U);
|
|
715
715
|
return O;
|
|
716
716
|
}
|
|
717
|
-
function at(
|
|
718
|
-
for (;
|
|
719
|
-
const
|
|
720
|
-
if (
|
|
721
|
-
if (
|
|
722
|
-
return oe(
|
|
723
|
-
if (typeof
|
|
724
|
-
return oe(
|
|
717
|
+
function at(B, O) {
|
|
718
|
+
for (; B !== null; ) {
|
|
719
|
+
const U = n(B, O);
|
|
720
|
+
if (U) {
|
|
721
|
+
if (U.get)
|
|
722
|
+
return oe(U.get);
|
|
723
|
+
if (typeof U.value == "function")
|
|
724
|
+
return oe(U.value);
|
|
725
725
|
}
|
|
726
|
-
|
|
726
|
+
B = o(B);
|
|
727
727
|
}
|
|
728
|
-
function
|
|
728
|
+
function q() {
|
|
729
729
|
return null;
|
|
730
730
|
}
|
|
731
|
-
return
|
|
731
|
+
return q;
|
|
732
732
|
}
|
|
733
733
|
const jt = h(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Ke = h(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), nt = h(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), $r = h(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), dt = h(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), _r = h(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), ft = h(["#text"]), Tt = h(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Pt = h(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Wt = h(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), pt = h(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ir = u(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Gt = u(/<%[\w\W]*|[\w\W]*%>/gm), Ar = u(/\$\{[\w\W]*/gm), mt = u(/^data-[\-\w.\u00B7-\uFFFF]+$/), $t = u(/^aria-[\-\w]+$/), _t = u(
|
|
734
734
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
@@ -759,13 +759,13 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
759
759
|
document: 9
|
|
760
760
|
}, Lr = function() {
|
|
761
761
|
return typeof window > "u" ? null : window;
|
|
762
|
-
}, Fr = function(O,
|
|
762
|
+
}, Fr = function(O, q) {
|
|
763
763
|
if (typeof O != "object" || typeof O.createPolicy != "function")
|
|
764
764
|
return null;
|
|
765
|
-
let
|
|
765
|
+
let U = null;
|
|
766
766
|
const ie = "data-tt-policy-suffix";
|
|
767
|
-
|
|
768
|
-
const ye = "dompurify" + (
|
|
767
|
+
q && q.hasAttribute(ie) && (U = q.getAttribute(ie));
|
|
768
|
+
const ye = "dompurify" + (U ? "#" + U : "");
|
|
769
769
|
try {
|
|
770
770
|
return O.createPolicy(ye, {
|
|
771
771
|
createHTML(Je) {
|
|
@@ -792,37 +792,37 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
792
792
|
};
|
|
793
793
|
};
|
|
794
794
|
function Kt() {
|
|
795
|
-
let
|
|
795
|
+
let B = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Lr();
|
|
796
796
|
const O = (L) => Kt(L);
|
|
797
|
-
if (O.version = "3.2.4", O.removed = [], !
|
|
797
|
+
if (O.version = "3.2.4", O.removed = [], !B || !B.document || B.document.nodeType !== Xe.document || !B.Element)
|
|
798
798
|
return O.isSupported = !1, O;
|
|
799
799
|
let {
|
|
800
|
-
document:
|
|
801
|
-
} =
|
|
802
|
-
const
|
|
800
|
+
document: q
|
|
801
|
+
} = B;
|
|
802
|
+
const U = q, ie = U.currentScript, {
|
|
803
803
|
DocumentFragment: ye,
|
|
804
804
|
HTMLTemplateElement: Je,
|
|
805
805
|
Node: gt,
|
|
806
806
|
Element: At,
|
|
807
807
|
NodeFilter: ot,
|
|
808
|
-
NamedNodeMap: Mt =
|
|
808
|
+
NamedNodeMap: Mt = B.NamedNodeMap || B.MozNamedAttrMap,
|
|
809
809
|
HTMLFormElement: Nr,
|
|
810
810
|
DOMParser: Ot,
|
|
811
811
|
trustedTypes: bt
|
|
812
|
-
} =
|
|
812
|
+
} = B, Ae = At.prototype, it = at(Ae, "cloneNode"), zr = at(Ae, "remove"), Xt = at(Ae, "nextSibling"), Ee = at(Ae, "childNodes"), ct = at(Ae, "parentNode");
|
|
813
813
|
if (typeof Je == "function") {
|
|
814
|
-
const L =
|
|
815
|
-
L.content && L.content.ownerDocument && (
|
|
814
|
+
const L = q.createElement("template");
|
|
815
|
+
L.content && L.content.ownerDocument && (q = L.content.ownerDocument);
|
|
816
816
|
}
|
|
817
817
|
let ce, _e = "";
|
|
818
818
|
const {
|
|
819
819
|
implementation: Lt,
|
|
820
820
|
createNodeIterator: Jt,
|
|
821
|
-
createDocumentFragment:
|
|
821
|
+
createDocumentFragment: Hr,
|
|
822
822
|
getElementsByTagName: lt
|
|
823
|
-
} =
|
|
823
|
+
} = q, {
|
|
824
824
|
importNode: Te
|
|
825
|
-
} =
|
|
825
|
+
} = U;
|
|
826
826
|
let te = It();
|
|
827
827
|
O.isSupported = typeof e == "function" && typeof ct == "function" && Lt && Lt.createHTMLDocument !== void 0;
|
|
828
828
|
const {
|
|
@@ -833,7 +833,7 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
833
833
|
ARIA_ATTR: Ne,
|
|
834
834
|
IS_SCRIPT_OR_DATA: j,
|
|
835
835
|
ATTR_WHITESPACE: tr,
|
|
836
|
-
CUSTOM_ELEMENT:
|
|
836
|
+
CUSTOM_ELEMENT: Br
|
|
837
837
|
} = Qt;
|
|
838
838
|
let {
|
|
839
839
|
IS_ALLOWED_URI: rr
|
|
@@ -860,28 +860,28 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
860
860
|
enumerable: !0,
|
|
861
861
|
value: !1
|
|
862
862
|
}
|
|
863
|
-
})),
|
|
863
|
+
})), ze = null, f = null, i = !0, d = !0, g = !1, v = !0, y = !1, S = !0, k = !1, T = !1, x = !1, w = !1, G = !1, $ = !1, se = !0, W = !1;
|
|
864
864
|
const fe = "user-content-";
|
|
865
|
-
let vt = !0,
|
|
865
|
+
let vt = !0, He = !1, Be = {}, Ue = null;
|
|
866
866
|
const Ft = N({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
867
867
|
let nr = null;
|
|
868
868
|
const yt = N({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
869
|
-
let
|
|
870
|
-
const Cs = N({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), or = "http://www.w3.org/1998/Math/MathML", ir = "http://www.w3.org/2000/svg",
|
|
871
|
-
let kt =
|
|
872
|
-
const Wa = N({}, [or, ir,
|
|
869
|
+
let Ve = null;
|
|
870
|
+
const Cs = N({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), or = "http://www.w3.org/1998/Math/MathML", ir = "http://www.w3.org/2000/svg", qe = "http://www.w3.org/1999/xhtml";
|
|
871
|
+
let kt = qe, Ur = !1, Vr = null;
|
|
872
|
+
const Wa = N({}, [or, ir, qe], M);
|
|
873
873
|
let cr = N({}, ["mi", "mo", "mn", "ms", "mtext"]), lr = N({}, ["annotation-xml"]);
|
|
874
874
|
const Ga = N({}, ["title", "style", "font", "a", "script"]);
|
|
875
875
|
let Dt = null;
|
|
876
876
|
const Za = ["application/xhtml+xml", "text/html"], Ya = "text/html";
|
|
877
877
|
let le = null, Ct = null;
|
|
878
|
-
const Qa =
|
|
878
|
+
const Qa = q.createElement("form"), xs = function(b) {
|
|
879
879
|
return b instanceof RegExp || b instanceof Function;
|
|
880
|
-
},
|
|
880
|
+
}, qr = function() {
|
|
881
881
|
let b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
882
882
|
if (!(Ct && Ct === b)) {
|
|
883
883
|
if ((!b || typeof b != "object") && (b = {}), b = $e(b), Dt = // eslint-disable-next-line unicorn/prefer-includes
|
|
884
|
-
Za.indexOf(b.PARSER_MEDIA_TYPE) === -1 ? Ya : b.PARSER_MEDIA_TYPE, le = Dt === "application/xhtml+xml" ? M : P, re = ae(b, "ALLOWED_TAGS") ? N({}, b.ALLOWED_TAGS, le) : sr, ne = ae(b, "ALLOWED_ATTR") ? N({}, b.ALLOWED_ATTR, le) : ar,
|
|
884
|
+
Za.indexOf(b.PARSER_MEDIA_TYPE) === -1 ? Ya : b.PARSER_MEDIA_TYPE, le = Dt === "application/xhtml+xml" ? M : P, re = ae(b, "ALLOWED_TAGS") ? N({}, b.ALLOWED_TAGS, le) : sr, ne = ae(b, "ALLOWED_ATTR") ? N({}, b.ALLOWED_ATTR, le) : ar, Vr = ae(b, "ALLOWED_NAMESPACES") ? N({}, b.ALLOWED_NAMESPACES, M) : Wa, Ve = ae(b, "ADD_URI_SAFE_ATTR") ? N($e(Cs), b.ADD_URI_SAFE_ATTR, le) : Cs, nr = ae(b, "ADD_DATA_URI_TAGS") ? N($e(yt), b.ADD_DATA_URI_TAGS, le) : yt, Ue = ae(b, "FORBID_CONTENTS") ? N({}, b.FORBID_CONTENTS, le) : Ft, ze = ae(b, "FORBID_TAGS") ? N({}, b.FORBID_TAGS, le) : {}, f = ae(b, "FORBID_ATTR") ? N({}, b.FORBID_ATTR, le) : {}, Be = ae(b, "USE_PROFILES") ? b.USE_PROFILES : !1, i = b.ALLOW_ARIA_ATTR !== !1, d = b.ALLOW_DATA_ATTR !== !1, g = b.ALLOW_UNKNOWN_PROTOCOLS || !1, v = b.ALLOW_SELF_CLOSE_IN_ATTR !== !1, y = b.SAFE_FOR_TEMPLATES || !1, S = b.SAFE_FOR_XML !== !1, k = b.WHOLE_DOCUMENT || !1, w = b.RETURN_DOM || !1, G = b.RETURN_DOM_FRAGMENT || !1, $ = b.RETURN_TRUSTED_TYPE || !1, x = b.FORCE_BODY || !1, se = b.SANITIZE_DOM !== !1, W = b.SANITIZE_NAMED_PROPS || !1, vt = b.KEEP_CONTENT !== !1, He = b.IN_PLACE || !1, rr = b.ALLOWED_URI_REGEXP || _t, kt = b.NAMESPACE || qe, cr = b.MATHML_TEXT_INTEGRATION_POINTS || cr, lr = b.HTML_INTEGRATION_POINTS || lr, K = b.CUSTOM_ELEMENT_HANDLING || {}, b.CUSTOM_ELEMENT_HANDLING && xs(b.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (K.tagNameCheck = b.CUSTOM_ELEMENT_HANDLING.tagNameCheck), b.CUSTOM_ELEMENT_HANDLING && xs(b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (K.attributeNameCheck = b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), b.CUSTOM_ELEMENT_HANDLING && typeof b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (K.allowCustomizedBuiltInElements = b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), y && (d = !1), G && (w = !0), Be && (re = N({}, ft), ne = [], Be.html === !0 && (N(re, jt), N(ne, Tt)), Be.svg === !0 && (N(re, Ke), N(ne, Pt), N(ne, pt)), Be.svgFilters === !0 && (N(re, nt), N(ne, Pt), N(ne, pt)), Be.mathMl === !0 && (N(re, dt), N(ne, Wt), N(ne, pt))), b.ADD_TAGS && (re === sr && (re = $e(re)), N(re, b.ADD_TAGS, le)), b.ADD_ATTR && (ne === ar && (ne = $e(ne)), N(ne, b.ADD_ATTR, le)), b.ADD_URI_SAFE_ATTR && N(Ve, b.ADD_URI_SAFE_ATTR, le), b.FORBID_CONTENTS && (Ue === Ft && (Ue = $e(Ue)), N(Ue, b.FORBID_CONTENTS, le)), vt && (re["#text"] = !0), k && N(re, ["html", "head", "body"]), re.table && (N(re, ["tbody"]), delete ze.tbody), b.TRUSTED_TYPES_POLICY) {
|
|
885
885
|
if (typeof b.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
886
886
|
throw Qe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
887
887
|
if (typeof b.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -898,24 +898,24 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
898
898
|
tagName: "template"
|
|
899
899
|
});
|
|
900
900
|
const A = P(b.tagName), Q = P(R.tagName);
|
|
901
|
-
return
|
|
901
|
+
return Vr[b.namespaceURI] ? b.namespaceURI === ir ? R.namespaceURI === qe ? A === "svg" : R.namespaceURI === or ? A === "svg" && (Q === "annotation-xml" || cr[Q]) : !!ws[A] : b.namespaceURI === or ? R.namespaceURI === qe ? A === "math" : R.namespaceURI === ir ? A === "math" && lr[Q] : !!Ss[A] : b.namespaceURI === qe ? R.namespaceURI === ir && !lr[Q] || R.namespaceURI === or && !cr[Q] ? !1 : !Ss[A] && (Ga[A] || !ws[A]) : !!(Dt === "application/xhtml+xml" && Vr[b.namespaceURI]) : !1;
|
|
902
902
|
}, Me = function(b) {
|
|
903
|
-
|
|
903
|
+
H(O.removed, {
|
|
904
904
|
element: b
|
|
905
905
|
});
|
|
906
906
|
try {
|
|
907
907
|
ct(b).removeChild(b);
|
|
908
908
|
} catch {
|
|
909
|
-
|
|
909
|
+
zr(b);
|
|
910
910
|
}
|
|
911
911
|
}, ur = function(b, R) {
|
|
912
912
|
try {
|
|
913
|
-
|
|
913
|
+
H(O.removed, {
|
|
914
914
|
attribute: R.getAttributeNode(b),
|
|
915
915
|
from: R
|
|
916
916
|
});
|
|
917
917
|
} catch {
|
|
918
|
-
|
|
918
|
+
H(O.removed, {
|
|
919
919
|
attribute: null,
|
|
920
920
|
from: R
|
|
921
921
|
});
|
|
@@ -936,12 +936,12 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
936
936
|
if (x)
|
|
937
937
|
b = "<remove></remove>" + b;
|
|
938
938
|
else {
|
|
939
|
-
const ue =
|
|
939
|
+
const ue = V(b, /^[\r\n\t ]+/);
|
|
940
940
|
A = ue && ue[0];
|
|
941
941
|
}
|
|
942
|
-
Dt === "application/xhtml+xml" && kt ===
|
|
942
|
+
Dt === "application/xhtml+xml" && kt === qe && (b = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + b + "</body></html>");
|
|
943
943
|
const Q = ce ? ce.createHTML(b) : b;
|
|
944
|
-
if (kt ===
|
|
944
|
+
if (kt === qe)
|
|
945
945
|
try {
|
|
946
946
|
R = new Ot().parseFromString(Q, Dt);
|
|
947
947
|
} catch {
|
|
@@ -949,12 +949,12 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
949
949
|
if (!R || !R.documentElement) {
|
|
950
950
|
R = Lt.createDocument(kt, "template", null);
|
|
951
951
|
try {
|
|
952
|
-
R.documentElement.innerHTML =
|
|
952
|
+
R.documentElement.innerHTML = Ur ? _e : Q;
|
|
953
953
|
} catch {
|
|
954
954
|
}
|
|
955
955
|
}
|
|
956
956
|
const pe = R.body || R.documentElement;
|
|
957
|
-
return b && A && pe.insertBefore(
|
|
957
|
+
return b && A && pe.insertBefore(q.createTextNode(A), pe.childNodes[0] || null), kt === qe ? lt.call(R, k ? "html" : "body")[0] : k ? R.documentElement : pe;
|
|
958
958
|
}, Es = function(b) {
|
|
959
959
|
return Jt.call(
|
|
960
960
|
b.ownerDocument || b,
|
|
@@ -983,10 +983,10 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
983
983
|
allowedTags: re
|
|
984
984
|
}), b.hasChildNodes() && !Ts(b.firstElementChild) && Z(/<[/\w]/g, b.innerHTML) && Z(/<[/\w]/g, b.textContent) || b.nodeType === Xe.progressingInstruction || S && b.nodeType === Xe.comment && Z(/<[/\w]/g, b.data))
|
|
985
985
|
return Me(b), !0;
|
|
986
|
-
if (!re[A] ||
|
|
987
|
-
if (!
|
|
986
|
+
if (!re[A] || ze[A]) {
|
|
987
|
+
if (!ze[A] && _s(A) && (K.tagNameCheck instanceof RegExp && Z(K.tagNameCheck, A) || K.tagNameCheck instanceof Function && K.tagNameCheck(A)))
|
|
988
988
|
return !1;
|
|
989
|
-
if (vt && !
|
|
989
|
+
if (vt && !Ue[A]) {
|
|
990
990
|
const Q = ct(b) || b.parentNode, pe = Ee(b) || b.childNodes;
|
|
991
991
|
if (pe && Q) {
|
|
992
992
|
const ue = pe.length;
|
|
@@ -1000,11 +1000,11 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1000
1000
|
}
|
|
1001
1001
|
return b instanceof At && !Ka(b) || (A === "noscript" || A === "noembed" || A === "noframes") && Z(/<\/no(script|embed|frames)/i, b.innerHTML) ? (Me(b), !0) : (y && b.nodeType === Xe.text && (R = b.textContent, E([et, ke, De], (Q) => {
|
|
1002
1002
|
R = Y(R, Q, " ");
|
|
1003
|
-
}), b.textContent !== R && (
|
|
1003
|
+
}), b.textContent !== R && (H(O.removed, {
|
|
1004
1004
|
element: b.cloneNode()
|
|
1005
1005
|
}), b.textContent = R)), je(te.afterSanitizeElements, b, null), !1);
|
|
1006
1006
|
}, $s = function(b, R, A) {
|
|
1007
|
-
if (se && (R === "id" || R === "name") && (A in
|
|
1007
|
+
if (se && (R === "id" || R === "name") && (A in q || A in Qa))
|
|
1008
1008
|
return !1;
|
|
1009
1009
|
if (!(d && !f[R] && Z(er, R))) {
|
|
1010
1010
|
if (!(i && Z(Ne, R))) {
|
|
@@ -1017,7 +1017,7 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1017
1017
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
1018
1018
|
R === "is" && K.allowCustomizedBuiltInElements && (K.tagNameCheck instanceof RegExp && Z(K.tagNameCheck, A) || K.tagNameCheck instanceof Function && K.tagNameCheck(A)))
|
|
1019
1019
|
) return !1;
|
|
1020
|
-
} else if (!
|
|
1020
|
+
} else if (!Ve[R]) {
|
|
1021
1021
|
if (!Z(rr, Y(A, tr, ""))) {
|
|
1022
1022
|
if (!((R === "src" || R === "xlink:href" || R === "href") && b !== "script" && ge(A, "data:") === 0 && nr[b])) {
|
|
1023
1023
|
if (!(g && !Z(j, Y(A, tr, "")))) {
|
|
@@ -1031,7 +1031,7 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1031
1031
|
}
|
|
1032
1032
|
return !0;
|
|
1033
1033
|
}, _s = function(b) {
|
|
1034
|
-
return b !== "annotation-xml" &&
|
|
1034
|
+
return b !== "annotation-xml" && V(b, Br);
|
|
1035
1035
|
}, Is = function(b) {
|
|
1036
1036
|
je(te.beforeSanitizeAttributes, b, null);
|
|
1037
1037
|
const {
|
|
@@ -1096,7 +1096,7 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1096
1096
|
};
|
|
1097
1097
|
return O.sanitize = function(L) {
|
|
1098
1098
|
let b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, R = null, A = null, Q = null, pe = null;
|
|
1099
|
-
if (
|
|
1099
|
+
if (Ur = !L, Ur && (L = "<!-->"), typeof L != "string" && !Ts(L))
|
|
1100
1100
|
if (typeof L.toString == "function") {
|
|
1101
1101
|
if (L = L.toString(), typeof L != "string")
|
|
1102
1102
|
throw Qe("dirty is not a string, aborting");
|
|
@@ -1104,10 +1104,10 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1104
1104
|
throw Qe("toString is not a function");
|
|
1105
1105
|
if (!O.isSupported)
|
|
1106
1106
|
return L;
|
|
1107
|
-
if (T ||
|
|
1107
|
+
if (T || qr(b), O.removed = [], typeof L == "string" && (He = !1), He) {
|
|
1108
1108
|
if (L.nodeName) {
|
|
1109
1109
|
const Oe = le(L.nodeName);
|
|
1110
|
-
if (!re[Oe] ||
|
|
1110
|
+
if (!re[Oe] || ze[Oe])
|
|
1111
1111
|
throw Qe("root node is forbidden and cannot be sanitized in-place");
|
|
1112
1112
|
}
|
|
1113
1113
|
} else if (L instanceof gt)
|
|
@@ -1120,18 +1120,18 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1120
1120
|
return w ? null : $ ? _e : "";
|
|
1121
1121
|
}
|
|
1122
1122
|
R && x && Me(R.firstChild);
|
|
1123
|
-
const ue = Es(
|
|
1123
|
+
const ue = Es(He ? L : R);
|
|
1124
1124
|
for (; Q = ue.nextNode(); )
|
|
1125
1125
|
Ps(Q), Is(Q), Q.content instanceof ye && Xa(Q.content);
|
|
1126
|
-
if (
|
|
1126
|
+
if (He)
|
|
1127
1127
|
return L;
|
|
1128
1128
|
if (w) {
|
|
1129
1129
|
if (G)
|
|
1130
|
-
for (pe =
|
|
1130
|
+
for (pe = Hr.call(R.ownerDocument); R.firstChild; )
|
|
1131
1131
|
pe.appendChild(R.firstChild);
|
|
1132
1132
|
else
|
|
1133
1133
|
pe = R;
|
|
1134
|
-
return (ne.shadowroot || ne.shadowrootmode) && (pe = Te.call(
|
|
1134
|
+
return (ne.shadowroot || ne.shadowrootmode) && (pe = Te.call(U, pe, !0)), pe;
|
|
1135
1135
|
}
|
|
1136
1136
|
let Ce = k ? R.outerHTML : R.innerHTML;
|
|
1137
1137
|
return k && re["!doctype"] && R.ownerDocument && R.ownerDocument.doctype && R.ownerDocument.doctype.name && Z(Yt, R.ownerDocument.doctype.name) && (Ce = "<!DOCTYPE " + R.ownerDocument.doctype.name + `>
|
|
@@ -1140,15 +1140,15 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1140
1140
|
}), ce && $ ? ce.createHTML(Ce) : Ce;
|
|
1141
1141
|
}, O.setConfig = function() {
|
|
1142
1142
|
let L = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1143
|
-
|
|
1143
|
+
qr(L), T = !0;
|
|
1144
1144
|
}, O.clearConfig = function() {
|
|
1145
1145
|
Ct = null, T = !1;
|
|
1146
1146
|
}, O.isValidAttribute = function(L, b, R) {
|
|
1147
|
-
Ct ||
|
|
1147
|
+
Ct || qr({});
|
|
1148
1148
|
const A = le(L), Q = le(b);
|
|
1149
1149
|
return $s(A, Q, R);
|
|
1150
1150
|
}, O.addHook = function(L, b) {
|
|
1151
|
-
typeof b == "function" &&
|
|
1151
|
+
typeof b == "function" && H(te[L], b);
|
|
1152
1152
|
}, O.removeHook = function(L, b) {
|
|
1153
1153
|
if (b !== void 0) {
|
|
1154
1154
|
const R = _(te[L], b);
|
|
@@ -1165,7 +1165,7 @@ var ba = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1165
1165
|
return Dr;
|
|
1166
1166
|
});
|
|
1167
1167
|
})(va);
|
|
1168
|
-
const ya = va.exports,
|
|
1168
|
+
const ya = va.exports, Vt = (r, ...t) => {
|
|
1169
1169
|
let e = r[0];
|
|
1170
1170
|
for (let s = 0; s < t.length; s++)
|
|
1171
1171
|
e += ya.sanitize(t[s] ? String(t[s]) : "") + r[s + 1];
|
|
@@ -1303,7 +1303,7 @@ const Gn = /* @__PURE__ */ ee(class extends J {
|
|
|
1303
1303
|
return;
|
|
1304
1304
|
let s = "<p>Ad Marketplace Ad Placeholder</p>";
|
|
1305
1305
|
return (n = (o = (a = this.core) == null ? void 0 : a.config) == null ? void 0 : o.admAdConfig) != null && n.template && (s = (u = (h = this.core) == null ? void 0 : h.config) == null ? void 0 : u.admAdConfig.template(e.admAd, {
|
|
1306
|
-
html:
|
|
1306
|
+
html: Vt
|
|
1307
1307
|
})), m("div", { class: "searchcraft-ad searchcraft-adm-ad", "data-searchcraft-ad-container-id": this.adContainerId, id: `searchcraft-adm-ad-${this.adContainerId}`, innerHTML: s });
|
|
1308
1308
|
}
|
|
1309
1309
|
renderCustomAd() {
|
|
@@ -1313,7 +1313,7 @@ const Gn = /* @__PURE__ */ ee(class extends J {
|
|
|
1313
1313
|
return e && (a = e({
|
|
1314
1314
|
searchTerm: this.searchTerm || "",
|
|
1315
1315
|
adContainerId: this.adContainerId
|
|
1316
|
-
}, { html:
|
|
1316
|
+
}, { html: Vt })), m("div", { class: "searchcraft-ad searchcraft-custom-ad", id: s, "data-searchcraft-ad-container-id": this.adContainerId, innerHTML: a });
|
|
1317
1317
|
}
|
|
1318
1318
|
renderNativoAd() {
|
|
1319
1319
|
var s, a;
|
|
@@ -1399,7 +1399,7 @@ const Zn = Sr, Yn = /* @__PURE__ */ ee(class extends J {
|
|
|
1399
1399
|
"searchcraft-button-primary": this.hierarchy === "primary",
|
|
1400
1400
|
"searchcraft-button-tertiary": this.hierarchy === "tertiary",
|
|
1401
1401
|
"searchcraft-button-disabled": this.disabled
|
|
1402
|
-
}), disabled: this.disabled, onClick: this.handleButtonClick, type: this.type }, this.iconOnly ? this.icon : m(
|
|
1402
|
+
}), disabled: this.disabled, onClick: this.handleButtonClick, type: this.type }, this.iconOnly ? this.icon : m(qn, null, this.iconPosition === "left" && this.icon, m("span", null, this.label), this.iconPosition === "right" && this.icon));
|
|
1403
1403
|
}
|
|
1404
1404
|
}, [0, "searchcraft-button", {
|
|
1405
1405
|
hierarchy: [1],
|
|
@@ -1454,7 +1454,7 @@ const Xn = Er, ka = (r, t) => {
|
|
|
1454
1454
|
function Jn(r) {
|
|
1455
1455
|
return r.filter((t, e, s) => !s.some((a, o) => o !== e && a.includes(t)));
|
|
1456
1456
|
}
|
|
1457
|
-
const
|
|
1457
|
+
const Vs = (r, t) => {
|
|
1458
1458
|
const e = structuredClone(r), s = (a, o) => {
|
|
1459
1459
|
var u;
|
|
1460
1460
|
const n = structuredClone(a), h = ka(t, o);
|
|
@@ -1599,14 +1599,14 @@ const qs = (r, t) => {
|
|
|
1599
1599
|
count: 0,
|
|
1600
1600
|
children: E || []
|
|
1601
1601
|
}, this.exclude);
|
|
1602
|
-
this.facetTreeCollectedFromSearchResponse =
|
|
1602
|
+
this.facetTreeCollectedFromSearchResponse = Vs(_, n);
|
|
1603
1603
|
} else
|
|
1604
1604
|
this.facetTreeCollectedFromSearchResponse = n;
|
|
1605
1605
|
break;
|
|
1606
1606
|
}
|
|
1607
1607
|
case "FACET_UPDATE":
|
|
1608
1608
|
case "SORT_ORDER_UPDATE":
|
|
1609
|
-
this.facetTreeCollectedFromSearchResponse =
|
|
1609
|
+
this.facetTreeCollectedFromSearchResponse = Vs(this.facetTreeCollectedFromSearchResponse, n);
|
|
1610
1610
|
break;
|
|
1611
1611
|
default:
|
|
1612
1612
|
return;
|
|
@@ -1712,7 +1712,7 @@ function Ca() {
|
|
|
1712
1712
|
});
|
|
1713
1713
|
}
|
|
1714
1714
|
const to = Ca;
|
|
1715
|
-
function
|
|
1715
|
+
function zt(r, t) {
|
|
1716
1716
|
if (r && t)
|
|
1717
1717
|
return t.fieldNames.map((e) => {
|
|
1718
1718
|
let s = r[e.fieldName];
|
|
@@ -1775,7 +1775,7 @@ function so(r, t, e) {
|
|
|
1775
1775
|
throw new Error(`Unsupported unit: ${r}`);
|
|
1776
1776
|
}
|
|
1777
1777
|
}
|
|
1778
|
-
const
|
|
1778
|
+
const qs = (r) => {
|
|
1779
1779
|
if (r >= 11 && r <= 13)
|
|
1780
1780
|
return `${r}th`;
|
|
1781
1781
|
switch (r % 10) {
|
|
@@ -1797,14 +1797,14 @@ function ao(r, t) {
|
|
|
1797
1797
|
case "month":
|
|
1798
1798
|
return `${e.format(t)} ${t.getFullYear()}`;
|
|
1799
1799
|
case "day":
|
|
1800
|
-
return `${e.format(t)} ${
|
|
1800
|
+
return `${e.format(t)} ${qs(t.getDate())}, ${t.getFullYear()}`;
|
|
1801
1801
|
case "hour": {
|
|
1802
1802
|
const s = new Intl.DateTimeFormat("en-US", {
|
|
1803
1803
|
hour: "numeric",
|
|
1804
1804
|
minute: "2-digit",
|
|
1805
1805
|
hour12: !0
|
|
1806
1806
|
});
|
|
1807
|
-
return `${e.format(t)} ${
|
|
1807
|
+
return `${e.format(t)} ${qs(t.getDate())}, ${s.format(t)}`;
|
|
1808
1808
|
}
|
|
1809
1809
|
default:
|
|
1810
1810
|
throw new Error(`Unsupported granularity: ${r}`);
|
|
@@ -1907,10 +1907,10 @@ const oo = /* @__PURE__ */ ee(class extends J {
|
|
|
1907
1907
|
}
|
|
1908
1908
|
render() {
|
|
1909
1909
|
const e = (this.startValue - this.lowerBound) / (this.upperBound - this.lowerBound) * 100, s = (this.endValue - this.lowerBound) / (this.upperBound - this.lowerBound) * 100, a = this.getLabel(this.startValue), o = this.getLabel(this.endValue);
|
|
1910
|
-
return m("div", { key: "
|
|
1910
|
+
return m("div", { key: "d5035ed8bcbf95c0ef5b2a7a9ef471e318a9dc30", class: "searchcraft-slider" }, m("div", { key: "f5f7bc48703250b4f6c75a1f07c921233bd957d5", class: "searchcraft-slider-range" }, m("div", { key: "fc2ec9f9786986a7306ffe43b54c47c35a1f086a", class: "searchcraft-slider-active-range", style: {
|
|
1911
1911
|
left: `${e}%`,
|
|
1912
1912
|
width: `${s - e}%`
|
|
1913
|
-
} }), m("input", { key: "
|
|
1913
|
+
} }), m("input", { key: "716316b5ce507c40db5b7bd408f47b3bece88494", class: xe("searchcraft-slider-input", "searchcraft-slider-input-min-handle"), max: this.upperBound, min: this.lowerBound, onInput: this.handleStartValueChange.bind(this), step: this.step, style: { zIndex: this.lastFocusedHandle === "min" ? "2" : "1" }, type: "range", value: this.startValue }), m("input", { key: "e2ad0d586136185faccb50d6d7fb113a64ddac42", class: xe("searchcraft-slider-input", "searchcraft-slider-input-max-handle"), max: this.upperBound, min: this.lowerBound, onInput: this.handleEndValueChange.bind(this), step: this.step, style: { zIndex: this.lastFocusedHandle === "max" ? "2" : "1" }, type: "range", value: this.endValue })), m("div", { key: "7e9ab9fa9563cac6a1dfdd11910e04084ae5348d", class: "searchcraft-slider-label" }, m("span", { key: "0909279f460c4be84c1088c5981a5f5299e8e2a0", class: "searchcraft-slider-start-label" }, a), m("span", { key: "4b610a68f97fcbc0aa1eda428dfa1e53b00efe43", class: "searchcraft-slider-end-label" }, o)));
|
|
1914
1914
|
}
|
|
1915
1915
|
}, [0, "searchcraft-slider", {
|
|
1916
1916
|
max: [2],
|
|
@@ -1977,9 +1977,9 @@ const io = /* @__PURE__ */ ee(class extends J {
|
|
|
1977
1977
|
(e = this.unsubscribe) == null || e.call(this), (s = this.cleanupCore) == null || s.call(this);
|
|
1978
1978
|
}
|
|
1979
1979
|
render() {
|
|
1980
|
-
return m("div", { key: "
|
|
1980
|
+
return m("div", { key: "7dad6f4e4422a62f6403724ff16fe25e042ae2ac", class: xe("searchcraft-toggle-button", {
|
|
1981
1981
|
"searchcraft-toggle-button-active": this.isActive
|
|
1982
|
-
}) }, m("div", { key: "
|
|
1982
|
+
}) }, m("div", { key: "2faa2ee1eb5cb78dc39f523415f2be96bc23fed1" }, m("p", { key: "29ea63c281b8f1ae041ba75a149ce1b60e936662", class: "searchcraft-toggle-button-label" }, this.label), this.subLabel && m("p", { key: "e51efaae5ca79eede71852e6dec8eff4575139fe", class: "searchcraft-toggle-button-sub-label" }, this.subLabel)), m("button", { key: "d590da981692db162df9b8086ba2444d6a56ef9d", class: "searchcraft-toggle-button-background", onClick: this.handleToggle, type: "button" }, m("div", { key: "5be6ee1dd7dc58bd67fff18923569caee37b4936", class: "searchcraft-toggle-button-handle" })));
|
|
1983
1983
|
}
|
|
1984
1984
|
}, [0, "searchcraft-toggle-button", {
|
|
1985
1985
|
label: [1],
|
|
@@ -2010,23 +2010,113 @@ const co = /* @__PURE__ */ ee(class extends J {
|
|
|
2010
2010
|
* The items to filter.
|
|
2011
2011
|
*/
|
|
2012
2012
|
c(this, "items", []);
|
|
2013
|
+
/**
|
|
2014
|
+
* The breakpoint (in pixels) below which the filter panel will be hidden.
|
|
2015
|
+
* Defaults to 768px (--sc-breakpoint-md).
|
|
2016
|
+
*/
|
|
2017
|
+
c(this, "responsiveBreakpoint", 768);
|
|
2018
|
+
/**
|
|
2019
|
+
* Controls whether the filter panel automatically hides/shows based on window size.
|
|
2020
|
+
* - 'auto': Automatically hide/show based on window width
|
|
2021
|
+
* - 'manual': User controls visibility manually
|
|
2022
|
+
*/
|
|
2023
|
+
c(this, "responsiveBehavior", "auto");
|
|
2013
2024
|
c(this, "lastSearchTerm");
|
|
2025
|
+
c(this, "isFilterPanelVisible", !0);
|
|
2014
2026
|
c(this, "core");
|
|
2015
2027
|
c(this, "unsubscribe");
|
|
2016
2028
|
c(this, "cleanupCore");
|
|
2029
|
+
c(this, "resizeObserver");
|
|
2030
|
+
c(this, "manuallyToggled", !1);
|
|
2031
|
+
// Track if user manually toggled visibility
|
|
2032
|
+
c(this, "toggleClickHandler");
|
|
2033
|
+
/**
|
|
2034
|
+
* Handles window resize events
|
|
2035
|
+
*/
|
|
2036
|
+
c(this, "handleWindowResize", () => {
|
|
2037
|
+
this.responsiveBehavior === "auto" && this.updateVisibilityBasedOnWindowSize();
|
|
2038
|
+
});
|
|
2017
2039
|
this.__registerHost();
|
|
2018
2040
|
}
|
|
2041
|
+
get hostElement() {
|
|
2042
|
+
return this;
|
|
2043
|
+
}
|
|
2019
2044
|
onCoreAvailable(e) {
|
|
2020
|
-
this.core = e, this.setInitialDateRanges(), this.unsubscribe = e.store.subscribe((s) => {
|
|
2021
|
-
this.lastSearchTerm = s.searchTerm || ""
|
|
2045
|
+
this.core = e, this.setInitialDateRanges(), this.responsiveBehavior === "auto" && this.updateVisibilityBasedOnWindowSize(), this.unsubscribe = e.store.subscribe((s, a) => {
|
|
2046
|
+
if (this.lastSearchTerm = s.searchTerm || "", a.isFilterPanelVisible !== s.isFilterPanelVisible) {
|
|
2047
|
+
const n = window.innerWidth >= (this.responsiveBreakpoint || 768);
|
|
2048
|
+
s.isFilterPanelVisible !== n && (this.manuallyToggled = !0), this.updateToggleElementAttributes(s.isFilterPanelVisible);
|
|
2049
|
+
}
|
|
2050
|
+
this.isFilterPanelVisible = s.isFilterPanelVisible;
|
|
2022
2051
|
});
|
|
2023
2052
|
}
|
|
2024
2053
|
componentDidLoad() {
|
|
2025
|
-
this.cleanupCore = de.useCoreInstance(this.searchcraftId, this.onCoreAvailable.bind(this))
|
|
2054
|
+
this.cleanupCore = de.useCoreInstance(this.searchcraftId, this.onCoreAvailable.bind(this)), this.responsiveBehavior === "auto" && typeof window < "u" && this.setupResizeObserver(), this.setupToggleClickHandlers(), setTimeout(() => {
|
|
2055
|
+
if (this.core) {
|
|
2056
|
+
const e = this.core.store.getState().isFilterPanelVisible;
|
|
2057
|
+
this.updateToggleElementAttributes(e);
|
|
2058
|
+
}
|
|
2059
|
+
}, 0);
|
|
2026
2060
|
}
|
|
2027
2061
|
disconnectedCallback() {
|
|
2028
|
-
var e, s;
|
|
2029
|
-
(e = this.unsubscribe) == null || e.call(this), (s = this.cleanupCore) == null || s.call(this);
|
|
2062
|
+
var e, s, a;
|
|
2063
|
+
(e = this.unsubscribe) == null || e.call(this), (s = this.cleanupCore) == null || s.call(this), (a = this.resizeObserver) == null || a.disconnect(), typeof window < "u" && window.removeEventListener("resize", this.handleWindowResize), this.cleanupToggleClickHandlers();
|
|
2064
|
+
}
|
|
2065
|
+
/**
|
|
2066
|
+
* Sets up a ResizeObserver to watch for window size changes
|
|
2067
|
+
*/
|
|
2068
|
+
setupResizeObserver() {
|
|
2069
|
+
if (typeof ResizeObserver > "u") {
|
|
2070
|
+
window.addEventListener("resize", this.handleWindowResize);
|
|
2071
|
+
return;
|
|
2072
|
+
}
|
|
2073
|
+
this.resizeObserver = new ResizeObserver(() => {
|
|
2074
|
+
this.handleWindowResize();
|
|
2075
|
+
}), this.resizeObserver.observe(document.body);
|
|
2076
|
+
}
|
|
2077
|
+
/**
|
|
2078
|
+
* Updates filter panel visibility based on current window width
|
|
2079
|
+
*/
|
|
2080
|
+
updateVisibilityBasedOnWindowSize() {
|
|
2081
|
+
if (typeof window > "u" || this.manuallyToggled)
|
|
2082
|
+
return;
|
|
2083
|
+
const s = window.innerWidth >= (this.responsiveBreakpoint || 768);
|
|
2084
|
+
this.core && this.isFilterPanelVisible !== s && this.core.store.getState().setFilterPanelVisibility(s);
|
|
2085
|
+
}
|
|
2086
|
+
/**
|
|
2087
|
+
* Sets up click handlers for elements with data-toggle-filter-panel attribute
|
|
2088
|
+
*/
|
|
2089
|
+
setupToggleClickHandlers() {
|
|
2090
|
+
if (typeof document > "u")
|
|
2091
|
+
return;
|
|
2092
|
+
this.toggleClickHandler = (s) => {
|
|
2093
|
+
if (!(window.innerWidth >= (this.responsiveBreakpoint || 768)) && (s.preventDefault(), this.core)) {
|
|
2094
|
+
const o = this.core.store.getState().isFilterPanelVisible;
|
|
2095
|
+
this.core.store.getState().setFilterPanelVisibility(!o);
|
|
2096
|
+
}
|
|
2097
|
+
}, document.querySelectorAll("[data-toggle-filter-panel]").forEach((s) => {
|
|
2098
|
+
this.toggleClickHandler && s.addEventListener("click", this.toggleClickHandler);
|
|
2099
|
+
});
|
|
2100
|
+
}
|
|
2101
|
+
/**
|
|
2102
|
+
* Updates data attributes on toggle elements to reflect panel visibility state
|
|
2103
|
+
*/
|
|
2104
|
+
updateToggleElementAttributes(e) {
|
|
2105
|
+
if (typeof document > "u")
|
|
2106
|
+
return;
|
|
2107
|
+
document.querySelectorAll("[data-toggle-filter-panel]").forEach((a) => {
|
|
2108
|
+
e ? (a.removeAttribute("data-filter-panel-collapsed"), a.setAttribute("data-filter-panel-expanded", "")) : (a.removeAttribute("data-filter-panel-expanded"), a.setAttribute("data-filter-panel-collapsed", ""));
|
|
2109
|
+
});
|
|
2110
|
+
}
|
|
2111
|
+
/**
|
|
2112
|
+
* Cleans up click handlers for toggle elements
|
|
2113
|
+
*/
|
|
2114
|
+
cleanupToggleClickHandlers() {
|
|
2115
|
+
if (typeof document > "u" || !this.toggleClickHandler)
|
|
2116
|
+
return;
|
|
2117
|
+
document.querySelectorAll("[data-toggle-filter-panel]").forEach((s) => {
|
|
2118
|
+
this.toggleClickHandler && s.removeEventListener("click", this.toggleClickHandler);
|
|
2119
|
+
});
|
|
2030
2120
|
}
|
|
2031
2121
|
/**
|
|
2032
2122
|
* Sets the initial min/max date range values for search queries based on the filter items provided.
|
|
@@ -2082,7 +2172,7 @@ const co = /* @__PURE__ */ ee(class extends J {
|
|
|
2082
2172
|
* Iterate through `items` and render them based on `type`
|
|
2083
2173
|
*/
|
|
2084
2174
|
render() {
|
|
2085
|
-
return m("div", {
|
|
2175
|
+
return this.isFilterPanelVisible ? m("div", { class: "searchcraft-filter-panel" }, this.items.map((e) => {
|
|
2086
2176
|
switch (e.type) {
|
|
2087
2177
|
case "dateRange": {
|
|
2088
2178
|
const s = e, a = s.options.maxDate || /* @__PURE__ */ new Date();
|
|
@@ -2115,12 +2205,15 @@ const co = /* @__PURE__ */ ee(class extends J {
|
|
|
2115
2205
|
} });
|
|
2116
2206
|
}
|
|
2117
2207
|
}
|
|
2118
|
-
}));
|
|
2208
|
+
})) : null;
|
|
2119
2209
|
}
|
|
2120
2210
|
}, [0, "searchcraft-filter-panel", {
|
|
2121
2211
|
searchcraftId: [1, "searchcraft-id"],
|
|
2122
2212
|
items: [16],
|
|
2123
|
-
|
|
2213
|
+
responsiveBreakpoint: [2, "responsive-breakpoint"],
|
|
2214
|
+
responsiveBehavior: [1, "responsive-behavior"],
|
|
2215
|
+
lastSearchTerm: [32],
|
|
2216
|
+
isFilterPanelVisible: [32]
|
|
2124
2217
|
}]);
|
|
2125
2218
|
function lo() {
|
|
2126
2219
|
if (typeof customElements > "u")
|
|
@@ -2153,7 +2246,7 @@ const uo = lo, ho = /* @__PURE__ */ ee(class extends J {
|
|
|
2153
2246
|
this.__registerHost();
|
|
2154
2247
|
}
|
|
2155
2248
|
render() {
|
|
2156
|
-
return m("label", { key: "
|
|
2249
|
+
return m("label", { key: "1008f9beb320aaa94026604b283eb65a96023265", class: xe("searchcraft-input-label", this.inputLabelClassName), htmlFor: "searchcraft-input-id" }, this.label);
|
|
2157
2250
|
}
|
|
2158
2251
|
}, [0, "searchcraft-input-label", {
|
|
2159
2252
|
inputLabelClassName: [1, "input-label-class-name"],
|
|
@@ -2279,7 +2372,7 @@ const fo = /* @__PURE__ */ ee(class extends J {
|
|
|
2279
2372
|
}), o = {
|
|
2280
2373
|
gap: this.inputLabel || this.error ? "4px 8px" : "0px 8px"
|
|
2281
2374
|
};
|
|
2282
|
-
return m("form", { key: "
|
|
2375
|
+
return m("form", { key: "8ba91615394f95c0d5bd26a3006d3e8b454f047e", class: "searchcraft-input-form", onSubmit: this.handleFormSubmit }, m("div", { key: "d9025a1c041e3132280b22e5a1b039df0196cea5", class: s, style: o }, m("div", { key: "a8c3a80a0ccb718f974902fb1d163d5c3ee6194a", class: "searchcraft-input-form-button" }, m("searchcraft-button", { key: "a12ff9a8cdb9a4ce3c3fd54b1c2ae084edd37069", onButtonClick: this.handleFormSubmit, label: this.buttonLabel })), this.inputLabel && m("div", { key: "866e7162c402524eaca864bb6e950a244245dc48", class: "searchcraft-input-form-label" }, m("searchcraft-input-label", { key: "c57217cd5924c827df08e22a728067e3bfc63a26", label: this.inputLabel })), this.error && m("div", { key: "4a54728bf366db50de39470cf31860a6307dafea", class: "searchcraft-input-form-error-message" }, m("searchcraft-error-message", { key: "5fa5b5f5677350338d15c8e6614b0d9f584141b0" }, "Something went wrong.")), m("div", { key: "67be766103a3bca11cff6f83a2a6dea7c6c6f106", class: "searchcraft-input-form-input-wrapper" }, m("input", { key: "931609a4e8fc55d688077ec6cb04f2bb9b86b5fe", autoComplete: "off", class: xe("searchcraft-input-form-input", {
|
|
2283
2376
|
"searchcraft-placeholder-hide-on-focus": this.placeholderBehavior === "hide-on-focus"
|
|
2284
2377
|
}), onFocus: () => {
|
|
2285
2378
|
var n;
|
|
@@ -2289,7 +2382,7 @@ const fo = /* @__PURE__ */ ee(class extends J {
|
|
|
2289
2382
|
return (n = this.inputBlur) == null ? void 0 : n.emit();
|
|
2290
2383
|
}, onInput: (n) => {
|
|
2291
2384
|
this.handleInput(n);
|
|
2292
|
-
}, placeholder: this.placeholderValue, type: "text", value: this.inputValue }), m("div", { key: "
|
|
2385
|
+
}, placeholder: this.placeholderValue, type: "text", value: this.inputValue }), m("div", { key: "7feb32348b7faec4104137a142ba8150149498a5", class: "searchcraft-input-form-input-icon" }, m("svg", { key: "8b9abd236d4896b8dbd5c14e06019c116e3675be", class: "searchcraft-input-form-input-search-icon", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "searchcraft-title" }, m("title", { key: "4d3b6724f6532920f5531d2e15b28a06f0770688" }, "Search icon"), m("path", { key: "65a46a1916c1f020c9bebffd42aa016b59177376", d: "M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), e && m("button", { key: "65278eb0ab49415dce79c874adf90adcb5854db5", type: "button", class: "searchcraft-input-form-clear-button", onClick: this.handleClearInput }, m("svg", { key: "0016263afe32250ace58cc4b98ff6106d7d9d4a0", class: "searchcraft-input-form-clear-icon", viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "icon-title" }, m("title", { key: "9b40d806455ab9c19c0cddb4c76101debdb0266c" }, "Clear icon"), m("path", { key: "2954ee1496d6736d6e780755034902c76adb81e9", d: "M14 8L8 14M8 8L14 14M21 11C21 16.5228 16.5228 21 11 21C5.47715 21 1 16.5228 1 11C1 5.47715 5.47715 1 11 1C16.5228 1 21 5.47715 21 11Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))));
|
|
2293
2386
|
}
|
|
2294
2387
|
static get watchers() {
|
|
2295
2388
|
return {
|
|
@@ -2340,7 +2433,7 @@ const po = Ra, mo = us, go = /* @__PURE__ */ ee(class extends J {
|
|
|
2340
2433
|
this.__registerHost();
|
|
2341
2434
|
}
|
|
2342
2435
|
render() {
|
|
2343
|
-
return m("div", { key: "
|
|
2436
|
+
return m("div", { key: "5bda164202246eeb2e56bb6a25bede9931898e7a", class: "searchcraft-loading" }, m("div", { key: "e33a5abc6686f9983c718a2532aa2d46902d98a2", class: "searchcraft-loading-bars" }, m("div", { key: "85ff7af527b8f419c9bfd6e84331dd68772e6fdd", class: "searchcraft-loading-bar-1" }), m("div", { key: "1485d17e9262dbec6d2e5976a63149878137821c", class: "searchcraft-loading-bar-2" }), m("div", { key: "d2939b9f7bc0599df7d96db91802ebfcbf232f3e", class: "searchcraft-loading-bar-3" }), m("div", { key: "7a73bd5baf25ec789c3170e066d1333b905bfe7b", class: "searchcraft-loading-bar-4" }), m("div", { key: "b644b618766727773b21d288945c21b6ef0be958", class: "searchcraft-loading-bar-5" }), m("div", { key: "4f5123a786fc40891ca54edc538dd56f683b26ce", class: "searchcraft-loading-bar-6" })), m("p", { key: "967c1a6fb41231c8d713b78facca98e7f5a80709", class: "searchcraft-loading-label" }, this.label));
|
|
2344
2437
|
}
|
|
2345
2438
|
}, [0, "searchcraft-loading", {
|
|
2346
2439
|
label: [1]
|
|
@@ -2528,7 +2621,7 @@ const ko = yo, Co = /* @__PURE__ */ ee(class extends J {
|
|
|
2528
2621
|
}
|
|
2529
2622
|
}
|
|
2530
2623
|
render() {
|
|
2531
|
-
return m("button", { key: "
|
|
2624
|
+
return m("button", { key: "4f11d81bb189a929372d9e398a0913b3b626e42c", class: `searchcraft-popover-button ${this.type ? ` searchcraft-popover-button-${this.type}` : ""}`, innerHTML: typeof this.template < "u" ? this.template({ isPopoverVisible: this.isPopoverVisible }, { html: Vt }) : void 0, onClick: this.handleOnClick.bind(this), type: "button" }, typeof this.template < "u" ? void 0 : this.type ? this.renderSlot() : "Open Popover");
|
|
2532
2625
|
}
|
|
2533
2626
|
}, [4, "searchcraft-popover-button", {
|
|
2534
2627
|
template: [16],
|
|
@@ -2577,7 +2670,7 @@ const wo = xo, So = /* @__PURE__ */ ee(class extends J {
|
|
|
2577
2670
|
(e = this.unsubscribe) == null || e.call(this), (s = this.cleanupCore) == null || s.call(this);
|
|
2578
2671
|
}
|
|
2579
2672
|
render() {
|
|
2580
|
-
return m("footer", { key: "
|
|
2673
|
+
return m("footer", { key: "5e3c0da21c63453ac705d0ea2dbb1ee5053bd527", class: "searchcraft-popover-footer" }, m("p", { key: "34332a6a54af63717a6f6c36c65a321b2d18c82c", class: "searchcraft-popover-footer-results-info" }, this.searchResultsCount ? `${xa(this.searchResultsCount)} Results Found` : " "), m("a", { key: "8cd1bd1ad4e3a91e7221c5d38650b10a66dc884e", class: "searchcraft-popover-footer-link", href: "https://searchcraft.io/", target: "_blank", rel: "noreferrer" }, m("svg", { key: "4ebaa80bc3ee8cc2643368d84158cc46ac141376", class: "searchcraft-popover-footer-link-image", width: "169", height: "16", viewBox: "0 0 169 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, m("title", { key: "804857d081cf5cbd8e63af05c3479a96872d136d" }, "Powered by Searchcraft"), m("path", { key: "43d4a2b110134036b8823e508f535c293fb2df0c", d: "M5.07288 0.608C7.60088 0.608 8.84888 2.064 8.84888 4.112C8.84888 6.16 7.60088 7.616 5.07288 7.616H1.68088V12H0.336875V0.608H5.07288ZM5.07288 6.4C6.67288 6.4 7.45688 5.552 7.45688 4.112C7.45688 2.672 6.67288 1.824 5.07288 1.824H1.68088V6.4H5.07288ZM13.31 12.192C10.99 12.192 9.31 10.512 9.31 7.872C9.31 5.232 10.99 3.552 13.31 3.552C15.63 3.552 17.31 5.232 17.31 7.872C17.31 10.512 15.63 12.192 13.31 12.192ZM13.31 11.04C14.91 11.04 15.966 9.872 15.966 7.872C15.966 5.872 14.91 4.704 13.31 4.704C11.71 4.704 10.654 5.872 10.654 7.872C10.654 9.872 11.71 11.04 13.31 11.04ZM28.3826 3.744H29.7586L27.0066 12H25.6626L24.4466 8.176C24.1586 7.264 23.8706 6.304 23.6146 5.376C23.3426 6.304 23.0546 7.264 22.7666 8.176L21.5666 12H20.2226L17.4706 3.744H18.8466L20.0146 7.472C20.3346 8.48 20.6226 9.472 20.9106 10.48C21.1826 9.472 21.4706 8.48 21.7906 7.472L22.9426 3.744H24.2866L25.4386 7.472C25.7426 8.464 26.0466 9.456 26.3346 10.448C26.6066 9.456 26.9106 8.464 27.2146 7.472L28.3826 3.744ZM37.5194 7.872V8.32H31.2474C31.3754 10.176 32.3514 11.024 33.7914 11.024C34.9594 11.024 35.6954 10.416 35.9834 9.488H37.3114C36.9114 11.04 35.7274 12.192 33.7594 12.192C31.5034 12.192 29.9194 10.544 29.9194 7.872C29.9194 5.28 31.4394 3.552 33.7274 3.552C36.1914 3.552 37.5194 5.504 37.5194 7.872ZM33.7274 4.72C32.4314 4.72 31.4874 5.536 31.2794 7.168H36.1434C36.0154 5.808 35.1994 4.72 33.7274 4.72ZM42.9101 3.616C43.0381 3.616 43.1661 3.616 43.3421 3.632V4.864H43.0221C41.3741 4.864 40.3181 5.696 40.3181 7.296V12H39.0381V3.744H40.2541V5.2C40.7181 4.336 41.5661 3.616 42.9101 3.616ZM51.2538 7.872V8.32H44.9818C45.1098 10.176 46.0858 11.024 47.5258 11.024C48.6938 11.024 49.4298 10.416 49.7178 9.488H51.0458C50.6458 11.04 49.4618 12.192 47.4938 12.192C45.2378 12.192 43.6538 10.544 43.6538 7.872C43.6538 5.28 45.1738 3.552 47.4618 3.552C49.9258 3.552 51.2538 5.504 51.2538 7.872ZM47.4618 4.72C46.1658 4.72 45.2218 5.536 45.0138 7.168H49.8778C49.7498 5.808 48.9338 4.72 47.4618 4.72ZM58.9805 0.608H60.2605V12H59.0445V10.72C58.4205 11.664 57.4445 12.192 56.2125 12.192C53.8925 12.192 52.3725 10.512 52.3725 7.872C52.3725 5.232 53.8925 3.552 56.2125 3.552C57.4125 3.552 58.3565 4.048 58.9805 4.928V0.608ZM56.3725 11.04C57.9725 11.04 59.0285 9.872 59.0285 7.872C59.0285 5.872 57.9725 4.704 56.3725 4.704C54.7725 4.704 53.7165 5.936 53.7165 7.936C53.7165 9.936 54.7725 11.04 56.3725 11.04ZM69.2736 3.552C71.5936 3.552 73.1136 5.232 73.1136 7.872C73.1136 10.512 71.5936 12.192 69.2736 12.192C68.0416 12.192 67.0656 11.664 66.4416 10.72V12H65.2256V0.608H66.5056V4.928C67.1296 4.048 68.0736 3.552 69.2736 3.552ZM69.1136 11.04C70.7136 11.04 71.7696 9.808 71.7696 7.808C71.7696 5.808 70.7136 4.704 69.1136 4.704C67.5136 4.704 66.4576 5.872 66.4576 7.872C66.4576 9.872 67.5136 11.04 69.1136 11.04ZM79.3795 3.744H80.7715L77.2835 13.296C76.7555 14.752 75.9075 15.184 74.5955 15.184C74.3395 15.184 74.0995 15.168 73.8275 15.136V14.064H74.5795C75.3955 14.064 75.8275 13.696 76.0835 13.04C76.1795 12.8 76.2755 12.528 76.3715 12.272L73.2675 3.744H74.6755L75.8435 7.184C76.2595 8.384 76.6435 9.568 77.0275 10.752C77.3955 9.568 77.7955 8.368 78.2115 7.168L79.3795 3.744ZM89.1546 12.256C86.1146 12.256 84.2906 10.864 84.2746 8.24H86.4026C86.4346 10.032 87.6346 10.512 89.2186 10.512C90.7066 10.512 91.5226 9.936 91.5226 8.864C91.5226 7.968 90.9306 7.568 89.1866 7.216L88.2266 7.024C86.0186 6.608 84.5626 5.632 84.5626 3.568C84.5626 1.68 86.0506 0.351999 88.7866 0.351999C91.9866 0.351999 93.3466 1.856 93.4266 4H91.3306C91.2506 2.784 90.6266 2.096 88.8186 2.096C87.4426 2.096 86.7706 2.64 86.7706 3.504C86.7706 4.416 87.2986 4.832 88.9946 5.184L89.9866 5.376C92.6746 5.904 93.7626 6.944 93.7626 8.752C93.7626 11.008 92.0026 12.256 89.1546 12.256ZM102.952 8.016V8.496H96.7758C96.9198 9.968 97.7518 10.624 98.9198 10.624C99.8798 10.624 100.504 10.176 100.808 9.44H102.744C102.328 11.12 100.888 12.192 98.9038 12.192C96.4718 12.192 94.7918 10.512 94.7918 7.872C94.7918 5.28 96.4238 3.552 98.8718 3.552C101.4 3.552 102.952 5.392 102.952 8.016ZM98.8558 5.12C97.7838 5.12 96.9838 5.728 96.7918 7.088H100.936C100.776 5.92 100.056 5.12 98.8558 5.12ZM111.599 12H109.583C109.455 11.776 109.391 11.392 109.359 10.992C108.815 11.76 107.919 12.192 106.703 12.192C104.943 12.192 103.727 11.312 103.727 9.712C103.727 8.336 104.559 7.36 106.895 7.136L108.143 7.024C108.911 6.928 109.311 6.688 109.311 6.08C109.311 5.44 108.975 5.056 107.807 5.056C106.655 5.056 106.175 5.36 106.095 6.368H104.111C104.223 4.624 105.247 3.552 107.823 3.552C110.287 3.552 111.263 4.544 111.263 6.032V10.432C111.263 11.024 111.375 11.68 111.599 12ZM107.183 10.752C108.255 10.752 109.311 10.176 109.311 8.736V7.984C109.103 8.176 108.799 8.272 108.367 8.32L107.279 8.448C106.159 8.576 105.791 8.976 105.791 9.632C105.791 10.32 106.255 10.752 107.183 10.752ZM117.216 3.616C117.392 3.616 117.536 3.616 117.712 3.648V5.504H117.2C115.712 5.504 114.816 6.24 114.816 7.808V12H112.8V3.744H114.752V5.216C115.152 4.288 115.936 3.616 117.216 3.616ZM122.137 12.192C119.689 12.192 118.057 10.512 118.057 7.872C118.057 5.232 119.673 3.552 122.137 3.552C124.297 3.552 125.737 4.784 125.977 6.72H123.961C123.769 5.696 123.033 5.232 122.137 5.232C120.937 5.232 120.121 6.064 120.121 7.872C120.121 9.68 120.969 10.512 122.137 10.512C123.049 10.512 123.833 10.016 123.993 8.928H126.009C125.785 10.944 124.249 12.192 122.137 12.192ZM131.641 3.552C133.369 3.552 134.537 4.56 134.537 6.528V12H132.521V6.864C132.521 5.808 131.993 5.296 130.969 5.296C130.089 5.296 129.129 5.904 129.129 7.376V12H127.113V0.608H129.129V4.848C129.673 4.096 130.521 3.552 131.641 3.552ZM139.887 12.192C137.439 12.192 135.807 10.512 135.807 7.872C135.807 5.232 137.423 3.552 139.887 3.552C142.047 3.552 143.487 4.784 143.727 6.72H141.711C141.519 5.696 140.783 5.232 139.887 5.232C138.687 5.232 137.871 6.064 137.871 7.872C137.871 9.68 138.719 10.512 139.887 10.512C140.799 10.512 141.583 10.016 141.743 8.928H143.759C143.535 10.944 141.999 12.192 139.887 12.192ZM149.279 3.616C149.455 3.616 149.599 3.616 149.775 3.648V5.504H149.263C147.775 5.504 146.879 6.24 146.879 7.808V12H144.863V3.744H146.815V5.216C147.215 4.288 147.999 3.616 149.279 3.616ZM157.803 12H155.787C155.659 11.776 155.595 11.392 155.563 10.992C155.019 11.76 154.123 12.192 152.907 12.192C151.147 12.192 149.931 11.312 149.931 9.712C149.931 8.336 150.763 7.36 153.099 7.136L154.347 7.024C155.115 6.928 155.515 6.688 155.515 6.08C155.515 5.44 155.179 5.056 154.011 5.056C152.859 5.056 152.379 5.36 152.299 6.368H150.315C150.427 4.624 151.451 3.552 154.027 3.552C156.491 3.552 157.467 4.544 157.467 6.032V10.432C157.467 11.024 157.579 11.68 157.803 12ZM153.387 10.752C154.459 10.752 155.515 10.176 155.515 8.736V7.984C155.307 8.176 155.003 8.272 154.571 8.32L153.483 8.448C152.363 8.576 151.995 8.976 151.995 9.632C151.995 10.32 152.459 10.752 153.387 10.752ZM162.466 2.16C161.746 2.16 161.426 2.512 161.426 3.152V3.744H163.122V5.28H161.426V12H159.426V5.28H158.146V3.744H159.426V3.12C159.426 1.664 160.146 0.559999 162.13 0.559999C162.45 0.559999 162.882 0.575999 163.17 0.608V2.16H162.466ZM168.636 5.28H167.004V9.744C167.004 10.288 167.276 10.464 167.948 10.464H168.636V12C168.268 12.032 167.9 12.064 167.58 12.064C165.836 12.064 165.004 11.472 165.004 9.952V5.28H163.724V3.744H165.004V1.344H167.004V3.744H168.636V5.28Z", fill: "currentColor" }))));
|
|
2581
2674
|
}
|
|
2582
2675
|
}, [0, "searchcraft-popover-footer", {
|
|
2583
2676
|
searchcraftId: [1, "searchcraft-id"],
|
|
@@ -2627,7 +2720,7 @@ const Ro = Ta, Eo = /* @__PURE__ */ ee(class extends J {
|
|
|
2627
2720
|
}
|
|
2628
2721
|
mapValuesFromDocument(e) {
|
|
2629
2722
|
var s, a, o, n, h;
|
|
2630
|
-
this.title =
|
|
2723
|
+
this.title = zt(e, (s = this.popoverResultMappings) == null ? void 0 : s.title), this.subtitle = zt(e, (a = this.popoverResultMappings) == null ? void 0 : a.subtitle), this.href = zt(e, (o = this.popoverResultMappings) == null ? void 0 : o.href), this.imageSource = zt(e, (n = this.popoverResultMappings) == null ? void 0 : n.imageSource), this.imageAlt = zt(e, (h = this.popoverResultMappings) == null ? void 0 : h.imageAlt);
|
|
2631
2724
|
}
|
|
2632
2725
|
onCoreAvailable(e) {
|
|
2633
2726
|
this.core = e;
|
|
@@ -2640,7 +2733,7 @@ const Ro = Ta, Eo = /* @__PURE__ */ ee(class extends J {
|
|
|
2640
2733
|
(e = this.cleanupCore) == null || e.call(this);
|
|
2641
2734
|
}
|
|
2642
2735
|
render() {
|
|
2643
|
-
return m("div", { key: "
|
|
2736
|
+
return m("div", { key: "d1c9c310b8abc9d2370efb802eac1edf4189519d", class: "searchcraft-popover-list-item" }, m("a", { key: "30eb1a5076c5b4b95ae43147eaee0bb72ce46179", class: "searchcraft-popover-list-item-link", href: this.href, onClick: this.handleLinkClick.bind(this) }, this.imageSource && m("div", { key: "d18ff55823dc2c61f3786f423936af8b009aeeda", class: "searchcraft-popover-list-item-image-wrapper" }, m("img", { key: "56f4cc1d472f7da05e64fcf52c560a7ad0cdf7a6", alt: this.imageAlt, src: this.imageSource, class: "searchcraft-popover-list-item-image" })), m("div", { key: "78a0f0235d5e71d10076b70ccbaf4b58e0d6fea0", class: "searchcraft-popover-list-item-content" }, this.title && m("p", { key: "4489047af56e5aa295cb5f036e970dcad053d3b7", class: "searchcraft-popover-list-item-content-title" }, this.title), this.subtitle && m("p", { key: "4d177c227a1dbf1233022d738403c8eb93ba328d", class: "searchcraft-popover-list-item-content-subtitle" }, this.subtitle))));
|
|
2644
2737
|
}
|
|
2645
2738
|
}, [0, "searchcraft-popover-list-item", {
|
|
2646
2739
|
item: [16],
|
|
@@ -2702,8 +2795,8 @@ const To = /* @__PURE__ */ ee(class extends J {
|
|
|
2702
2795
|
return m("div", { class: "searchcraft-popover-list-view" }, (e = this.adClientResponseItems) == null ? void 0 : e.map((a) => m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adClientResponseItem: a, adSource: "adMarketplace", key: a.id, renderPosition: "top" })), (s = this.searchClientResponseItems) == null ? void 0 : s.map((a, o) => m("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: a, key: a.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + o })));
|
|
2703
2796
|
}
|
|
2704
2797
|
renderWithCustomAds() {
|
|
2705
|
-
var u, l, p, C, E, _, I,
|
|
2706
|
-
const e = [], s = ((l = (u = this.config) == null ? void 0 : u.customAdConfig) == null ? void 0 : l.adInterstitialInterval) || 0, a = ((C = (p = this.config) == null ? void 0 : p.customAdConfig) == null ? void 0 : C.adInterstitialQuantity) || 1, o = ((_ = (E = this.config) == null ? void 0 : E.customAdConfig) == null ? void 0 : _.adStartQuantity) || 0, n = ((
|
|
2798
|
+
var u, l, p, C, E, _, I, H;
|
|
2799
|
+
const e = [], s = ((l = (u = this.config) == null ? void 0 : u.customAdConfig) == null ? void 0 : l.adInterstitialInterval) || 0, a = ((C = (p = this.config) == null ? void 0 : p.customAdConfig) == null ? void 0 : C.adInterstitialQuantity) || 1, o = ((_ = (E = this.config) == null ? void 0 : E.customAdConfig) == null ? void 0 : _.adStartQuantity) || 0, n = ((H = (I = this.config) == null ? void 0 : I.customAdConfig) == null ? void 0 : H.adEndQuantity) || 0, h = this.searchClientResponseItems || [];
|
|
2707
2800
|
for (let D = 0; D < o; D++)
|
|
2708
2801
|
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${D}-ad`, renderPosition: "top" }));
|
|
2709
2802
|
h.forEach((D, P) => {
|
|
@@ -2717,18 +2810,18 @@ const To = /* @__PURE__ */ ee(class extends J {
|
|
|
2717
2810
|
return m("div", { class: "searchcraft-popover-list-view" }, e);
|
|
2718
2811
|
}
|
|
2719
2812
|
renderWithNativoAds() {
|
|
2720
|
-
var l, p, C, E, _, I,
|
|
2721
|
-
const e = [], s = ((p = (l = this.config) == null ? void 0 : l.nativoConfig) == null ? void 0 : p.adInterstialStartIndex) || 0, a = ((E = (C = this.config) == null ? void 0 : C.nativoConfig) == null ? void 0 : E.adInterstitialInterval) || 0, o = ((I = (_ = this.config) == null ? void 0 : _.nativoConfig) == null ? void 0 : I.adInterstitialQuantity) || 1, n = ((D = (
|
|
2722
|
-
for (let
|
|
2723
|
-
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${
|
|
2724
|
-
u.forEach((
|
|
2813
|
+
var l, p, C, E, _, I, H, D, P, M;
|
|
2814
|
+
const e = [], s = ((p = (l = this.config) == null ? void 0 : l.nativoConfig) == null ? void 0 : p.adInterstialStartIndex) || 0, a = ((E = (C = this.config) == null ? void 0 : C.nativoConfig) == null ? void 0 : E.adInterstitialInterval) || 0, o = ((I = (_ = this.config) == null ? void 0 : _.nativoConfig) == null ? void 0 : I.adInterstitialQuantity) || 1, n = ((D = (H = this.config) == null ? void 0 : H.nativoConfig) == null ? void 0 : D.adStartQuantity) || 0, h = ((M = (P = this.config) == null ? void 0 : P.nativoConfig) == null ? void 0 : M.adEndQuantity) || 0, u = this.searchClientResponseItems || [];
|
|
2815
|
+
for (let V = 0; V < n; V++)
|
|
2816
|
+
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${V}-ad`, renderPosition: "top" }));
|
|
2817
|
+
u.forEach((V, Y) => {
|
|
2725
2818
|
if (a && (Y + s) % a === 0 && Y + a < u.length && Y >= a)
|
|
2726
2819
|
for (let ge = 0; ge < o; ge++)
|
|
2727
|
-
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${
|
|
2728
|
-
e.push(m("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item:
|
|
2820
|
+
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${V.id}-ad-${ge}`, renderPosition: "interstitial" }));
|
|
2821
|
+
e.push(m("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: V, key: V.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + Y }));
|
|
2729
2822
|
});
|
|
2730
|
-
for (let
|
|
2731
|
-
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${
|
|
2823
|
+
for (let V = 0; V < h; V++)
|
|
2824
|
+
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${V}-ad`, renderPosition: "bottom" }));
|
|
2732
2825
|
return m("div", { class: "searchcraft-popover-list-view" }, e);
|
|
2733
2826
|
}
|
|
2734
2827
|
renderWithNoAds() {
|
|
@@ -3048,7 +3141,7 @@ const $o = $a, _o = hs, Io = Pa, Ao = /* @__PURE__ */ ee(class extends J {
|
|
|
3048
3141
|
range: [Number(this.range[0]), Number(this.range[1])],
|
|
3049
3142
|
count: this.count,
|
|
3050
3143
|
responseTime: this.responseTime
|
|
3051
|
-
}, { html:
|
|
3144
|
+
}, { html: Vt }) : `${xa(this.count)} results found in ${this.responseTime}ms`);
|
|
3052
3145
|
}
|
|
3053
3146
|
}, [0, "searchcraft-results-info", {
|
|
3054
3147
|
template: [16],
|
|
@@ -3125,7 +3218,7 @@ const Oo = Mo, Lo = /* @__PURE__ */ ee(class extends J {
|
|
|
3125
3218
|
if (this.cleanupCore = de.useCoreInstance(this.searchcraftId, this.onCoreAvailable.bind(this)), this.item)
|
|
3126
3219
|
try {
|
|
3127
3220
|
this.templateHtml = (e = this.template) == null ? void 0 : e.call(this, this.item.document, this.index, {
|
|
3128
|
-
html:
|
|
3221
|
+
html: Vt,
|
|
3129
3222
|
source_index: this.item.source_index
|
|
3130
3223
|
});
|
|
3131
3224
|
} catch (s) {
|
|
@@ -3213,8 +3306,8 @@ const Fo = _a, Do = /* @__PURE__ */ ee(class extends J {
|
|
|
3213
3306
|
return m("div", { class: "searchcraft-search-results" }, (s = this.adClientResponseItems) == null ? void 0 : s.map((a) => m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "adMarketplace", adClientResponseItem: a, key: a.id, renderPosition: "top" })), e.map((a, o) => m("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: a.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + o, index: o, item: a, template: this.template })));
|
|
3214
3307
|
}
|
|
3215
3308
|
renderWithCustomAds() {
|
|
3216
|
-
var u, l, p, C, E, _, I,
|
|
3217
|
-
const e = [], s = ((l = (u = this.config) == null ? void 0 : u.customAdConfig) == null ? void 0 : l.adInterstitialInterval) || 0, a = ((C = (p = this.config) == null ? void 0 : p.customAdConfig) == null ? void 0 : C.adInterstitialQuantity) || 1, o = ((_ = (E = this.config) == null ? void 0 : E.customAdConfig) == null ? void 0 : _.adStartQuantity) || 0, n = ((
|
|
3309
|
+
var u, l, p, C, E, _, I, H;
|
|
3310
|
+
const e = [], s = ((l = (u = this.config) == null ? void 0 : u.customAdConfig) == null ? void 0 : l.adInterstitialInterval) || 0, a = ((C = (p = this.config) == null ? void 0 : p.customAdConfig) == null ? void 0 : C.adInterstitialQuantity) || 1, o = ((_ = (E = this.config) == null ? void 0 : E.customAdConfig) == null ? void 0 : _.adStartQuantity) || 0, n = ((H = (I = this.config) == null ? void 0 : I.customAdConfig) == null ? void 0 : H.adEndQuantity) || 0, h = this.searchClientResponseItems || [];
|
|
3218
3311
|
for (let D = 0; D < o; D++)
|
|
3219
3312
|
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${D}-ad`, renderPosition: "top" }));
|
|
3220
3313
|
h.forEach((D, P) => {
|
|
@@ -3228,18 +3321,18 @@ const Fo = _a, Do = /* @__PURE__ */ ee(class extends J {
|
|
|
3228
3321
|
return m("div", { class: "searchcraft-search-results" }, e);
|
|
3229
3322
|
}
|
|
3230
3323
|
renderWithNativoAds() {
|
|
3231
|
-
var l, p, C, E, _, I,
|
|
3232
|
-
const e = [], s = ((p = (l = this.config) == null ? void 0 : l.nativoConfig) == null ? void 0 : p.adInterstialStartIndex) || 0, a = ((E = (C = this.config) == null ? void 0 : C.nativoConfig) == null ? void 0 : E.adInterstitialInterval) || 0, o = ((I = (_ = this.config) == null ? void 0 : _.nativoConfig) == null ? void 0 : I.adInterstitialQuantity) || 1, n = ((D = (
|
|
3233
|
-
for (let
|
|
3234
|
-
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${
|
|
3235
|
-
u.forEach((
|
|
3324
|
+
var l, p, C, E, _, I, H, D, P, M;
|
|
3325
|
+
const e = [], s = ((p = (l = this.config) == null ? void 0 : l.nativoConfig) == null ? void 0 : p.adInterstialStartIndex) || 0, a = ((E = (C = this.config) == null ? void 0 : C.nativoConfig) == null ? void 0 : E.adInterstitialInterval) || 0, o = ((I = (_ = this.config) == null ? void 0 : _.nativoConfig) == null ? void 0 : I.adInterstitialQuantity) || 1, n = ((D = (H = this.config) == null ? void 0 : H.nativoConfig) == null ? void 0 : D.adStartQuantity) || 0, h = ((M = (P = this.config) == null ? void 0 : P.nativoConfig) == null ? void 0 : M.adEndQuantity) || 0, u = this.searchClientResponseItems || [];
|
|
3326
|
+
for (let V = 0; V < n; V++)
|
|
3327
|
+
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${V}-ad`, renderPosition: "top" }));
|
|
3328
|
+
u.forEach((V, Y) => {
|
|
3236
3329
|
if (a && (Y + s) % a === 0 && Y + a < u.length && Y >= a)
|
|
3237
3330
|
for (let ge = 0; ge < o; ge++)
|
|
3238
|
-
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${
|
|
3239
|
-
e.push(m("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key:
|
|
3331
|
+
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${V.id}-ad-${ge}`, renderPosition: "interstitial" }));
|
|
3332
|
+
e.push(m("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: V.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + Y, index: Y, item: V, template: this.template }));
|
|
3240
3333
|
});
|
|
3241
|
-
for (let
|
|
3242
|
-
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${
|
|
3334
|
+
for (let V = 0; V < h; V++)
|
|
3335
|
+
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${V}-ad`, renderPosition: "bottom" }));
|
|
3243
3336
|
return m("div", { class: "searchcraft-search-results" }, e);
|
|
3244
3337
|
}
|
|
3245
3338
|
renderWithNoAds() {
|
|
@@ -3283,7 +3376,7 @@ function No() {
|
|
|
3283
3376
|
}
|
|
3284
3377
|
});
|
|
3285
3378
|
}
|
|
3286
|
-
const
|
|
3379
|
+
const zo = No, Ho = /* @__PURE__ */ ee(class extends J {
|
|
3287
3380
|
constructor() {
|
|
3288
3381
|
super();
|
|
3289
3382
|
/**
|
|
@@ -3352,12 +3445,12 @@ function Ia() {
|
|
|
3352
3445
|
["searchcraft-select"].forEach((t) => {
|
|
3353
3446
|
switch (t) {
|
|
3354
3447
|
case "searchcraft-select":
|
|
3355
|
-
customElements.get(t) || customElements.define(t,
|
|
3448
|
+
customElements.get(t) || customElements.define(t, Ho);
|
|
3356
3449
|
break;
|
|
3357
3450
|
}
|
|
3358
3451
|
});
|
|
3359
3452
|
}
|
|
3360
|
-
const
|
|
3453
|
+
const Bo = /* @__PURE__ */ ee(class extends J {
|
|
3361
3454
|
constructor() {
|
|
3362
3455
|
super();
|
|
3363
3456
|
/**
|
|
@@ -3426,13 +3519,13 @@ const Uo = /* @__PURE__ */ ee(class extends J {
|
|
|
3426
3519
|
setSearchResultsPerPage: [32],
|
|
3427
3520
|
setSearchResultsPage: [32]
|
|
3428
3521
|
}]);
|
|
3429
|
-
function
|
|
3522
|
+
function Uo() {
|
|
3430
3523
|
if (typeof customElements > "u")
|
|
3431
3524
|
return;
|
|
3432
3525
|
["searchcraft-search-results-per-page", "searchcraft-select"].forEach((t) => {
|
|
3433
3526
|
switch (t) {
|
|
3434
3527
|
case "searchcraft-search-results-per-page":
|
|
3435
|
-
customElements.get(t) || customElements.define(t,
|
|
3528
|
+
customElements.get(t) || customElements.define(t, Bo);
|
|
3436
3529
|
break;
|
|
3437
3530
|
case "searchcraft-select":
|
|
3438
3531
|
customElements.get(t) || Ia();
|
|
@@ -3440,13 +3533,13 @@ function Bo() {
|
|
|
3440
3533
|
}
|
|
3441
3534
|
});
|
|
3442
3535
|
}
|
|
3443
|
-
const
|
|
3536
|
+
const Vo = Uo, qo = Ia, jo = wa;
|
|
3444
3537
|
var Aa = { exports: {} };
|
|
3445
3538
|
(function(r, t) {
|
|
3446
3539
|
(function(e, s) {
|
|
3447
3540
|
r.exports = s();
|
|
3448
3541
|
})(typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : ba, function() {
|
|
3449
|
-
var
|
|
3542
|
+
var ze;
|
|
3450
3543
|
var e = {}, s = e, a = { exports: e }, o = Object.defineProperty, n = Object.getOwnPropertyDescriptor, h = Object.getOwnPropertyNames, u = Object.prototype.hasOwnProperty, l = (f, i) => {
|
|
3451
3544
|
for (var d in i)
|
|
3452
3545
|
o(f, d, { get: i[d], enumerable: !0 });
|
|
@@ -3472,7 +3565,7 @@ var Aa = { exports: {} };
|
|
|
3472
3565
|
parse: () => ne,
|
|
3473
3566
|
parseInline: () => sr,
|
|
3474
3567
|
parser: () => ar,
|
|
3475
|
-
setOptions: () =>
|
|
3568
|
+
setOptions: () => Br,
|
|
3476
3569
|
use: () => rr,
|
|
3477
3570
|
walkTokens: () => re
|
|
3478
3571
|
}), a.exports = C(E);
|
|
@@ -3491,7 +3584,7 @@ var Aa = { exports: {} };
|
|
|
3491
3584
|
};
|
|
3492
3585
|
}
|
|
3493
3586
|
var I = _();
|
|
3494
|
-
function
|
|
3587
|
+
function H(f) {
|
|
3495
3588
|
I = f;
|
|
3496
3589
|
}
|
|
3497
3590
|
var D = { exec: () => null };
|
|
@@ -3563,7 +3656,7 @@ var Aa = { exports: {} };
|
|
|
3563
3656
|
fencesBeginRegex: (f) => new RegExp(`^ {0,${Math.min(3, f - 1)}}(?:\`\`\`|~~~)`),
|
|
3564
3657
|
headingBeginRegex: (f) => new RegExp(`^ {0,${Math.min(3, f - 1)}}#`),
|
|
3565
3658
|
htmlBeginRegex: (f) => new RegExp(`^ {0,${Math.min(3, f - 1)}}<(?:[a-z].*>|!--)`, "i")
|
|
3566
|
-
},
|
|
3659
|
+
}, V = /^(?:[ \t]*(?:\n|$))+/, Y = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, ge = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Se = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, ae = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Z = /(?:[*+-]|\d{1,9}[.)])/, Qe = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, oe = P(Qe).replace(/bull/g, Z).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Tr = P(Qe).replace(/bull/g, Z).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), N = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Pr = /^[^\n]+/, $e = /(?!\s*\])(?:\\.|[^\[\]\\])+/, at = P(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", $e).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), jt = P(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Z).getRegex(), Ke = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", nt = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, $r = P(
|
|
3567
3660
|
"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))",
|
|
3568
3661
|
"i"
|
|
3569
3662
|
).replace("comment", nt).replace("tag", Ke).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), dt = P(N).replace("hr", Se).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Ke).getRegex(), _r = P(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", dt).getRegex(), ft = {
|
|
@@ -3576,7 +3669,7 @@ var Aa = { exports: {} };
|
|
|
3576
3669
|
html: $r,
|
|
3577
3670
|
lheading: oe,
|
|
3578
3671
|
list: jt,
|
|
3579
|
-
newline:
|
|
3672
|
+
newline: V,
|
|
3580
3673
|
paragraph: dt,
|
|
3581
3674
|
table: D,
|
|
3582
3675
|
text: Pr
|
|
@@ -3599,23 +3692,23 @@ var Aa = { exports: {} };
|
|
|
3599
3692
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
|
3600
3693
|
paragraph: P(N).replace("hr", Se).replace("heading", ` *#{1,6} *[^
|
|
3601
3694
|
]`).replace("lheading", oe).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
|
|
3602
|
-
}, pt = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ir = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Gt = /^( {2,}|\\)\n(?!\s*$)/, Ar = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, mt = /[\p{P}\p{S}]/u, $t = /[\s\p{P}\p{S}]/u, _t = /[^\s\p{P}\p{S}]/u, Mr = P(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, $t).getRegex(), Zt = /(?!~)[\p{P}\p{S}]/u, Yt = /(?!~)[\s\p{P}\p{S}]/u, Or = /(?:[^\s\p{P}\p{S}]|~)/u, Qt = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Xe = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Lr = P(Xe, "u").replace(/punct/g, mt).getRegex(), Fr = P(Xe, "u").replace(/punct/g, Zt).getRegex(), It = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Kt = P(It, "gu").replace(/notPunctSpace/g, _t).replace(/punctSpace/g, $t).replace(/punct/g, mt).getRegex(), Dr = P(It, "gu").replace(/notPunctSpace/g, Or).replace(/punctSpace/g, Yt).replace(/punct/g, Zt).getRegex(),
|
|
3695
|
+
}, pt = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ir = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Gt = /^( {2,}|\\)\n(?!\s*$)/, Ar = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, mt = /[\p{P}\p{S}]/u, $t = /[\s\p{P}\p{S}]/u, _t = /[^\s\p{P}\p{S}]/u, Mr = P(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, $t).getRegex(), Zt = /(?!~)[\p{P}\p{S}]/u, Yt = /(?!~)[\s\p{P}\p{S}]/u, Or = /(?:[^\s\p{P}\p{S}]|~)/u, Qt = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Xe = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Lr = P(Xe, "u").replace(/punct/g, mt).getRegex(), Fr = P(Xe, "u").replace(/punct/g, Zt).getRegex(), It = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Kt = P(It, "gu").replace(/notPunctSpace/g, _t).replace(/punctSpace/g, $t).replace(/punct/g, mt).getRegex(), Dr = P(It, "gu").replace(/notPunctSpace/g, Or).replace(/punctSpace/g, Yt).replace(/punct/g, Zt).getRegex(), B = P(
|
|
3603
3696
|
"^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)",
|
|
3604
3697
|
"gu"
|
|
3605
|
-
).replace(/notPunctSpace/g, _t).replace(/punctSpace/g, $t).replace(/punct/g, mt).getRegex(), O = P(/\\(punct)/, "gu").replace(/punct/g, mt).getRegex(),
|
|
3698
|
+
).replace(/notPunctSpace/g, _t).replace(/punctSpace/g, $t).replace(/punct/g, mt).getRegex(), O = P(/\\(punct)/, "gu").replace(/punct/g, mt).getRegex(), q = P(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), U = P(nt).replace("(?:-->|$)", "-->").getRegex(), ie = P(
|
|
3606
3699
|
"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>"
|
|
3607
|
-
).replace("comment",
|
|
3700
|
+
).replace("comment", U).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), ye = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Je = P(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", ye).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), gt = P(/^!?\[(label)\]\[(ref)\]/).replace("label", ye).replace("ref", $e).getRegex(), At = P(/^!?\[(ref)\](?:\[\])?/).replace("ref", $e).getRegex(), ot = P("reflink|nolink(?!\\()", "g").replace("reflink", gt).replace("nolink", At).getRegex(), Mt = {
|
|
3608
3701
|
_backpedal: D,
|
|
3609
3702
|
// only used for GFM url
|
|
3610
3703
|
anyPunctuation: O,
|
|
3611
|
-
autolink:
|
|
3704
|
+
autolink: q,
|
|
3612
3705
|
blockSkip: Qt,
|
|
3613
3706
|
br: Gt,
|
|
3614
3707
|
code: Ir,
|
|
3615
3708
|
del: D,
|
|
3616
3709
|
emStrongLDelim: Lr,
|
|
3617
3710
|
emStrongRDelimAst: Kt,
|
|
3618
|
-
emStrongRDelimUnd:
|
|
3711
|
+
emStrongRDelimUnd: B,
|
|
3619
3712
|
escape: pt,
|
|
3620
3713
|
link: Je,
|
|
3621
3714
|
nolink: At,
|
|
@@ -3650,13 +3743,13 @@ var Aa = { exports: {} };
|
|
|
3650
3743
|
gfm: Ot,
|
|
3651
3744
|
breaks: bt,
|
|
3652
3745
|
pedantic: Nr
|
|
3653
|
-
},
|
|
3746
|
+
}, zr = {
|
|
3654
3747
|
"&": "&",
|
|
3655
3748
|
"<": "<",
|
|
3656
3749
|
">": ">",
|
|
3657
3750
|
'"': """,
|
|
3658
3751
|
"'": "'"
|
|
3659
|
-
}, Xt = (f) =>
|
|
3752
|
+
}, Xt = (f) => zr[f];
|
|
3660
3753
|
function Ee(f, i) {
|
|
3661
3754
|
if (i) {
|
|
3662
3755
|
if (M.escapeTest.test(f))
|
|
@@ -3725,7 +3818,7 @@ var Aa = { exports: {} };
|
|
|
3725
3818
|
};
|
|
3726
3819
|
return g.state.inLink = !1, T;
|
|
3727
3820
|
}
|
|
3728
|
-
function
|
|
3821
|
+
function Hr(f, i, d) {
|
|
3729
3822
|
const g = f.match(d.other.indentCodeCompensation);
|
|
3730
3823
|
if (g === null)
|
|
3731
3824
|
return i;
|
|
@@ -3773,7 +3866,7 @@ var Aa = { exports: {} };
|
|
|
3773
3866
|
fences(f) {
|
|
3774
3867
|
const i = this.rules.block.fences.exec(f);
|
|
3775
3868
|
if (i) {
|
|
3776
|
-
const d = i[0], g =
|
|
3869
|
+
const d = i[0], g = Hr(d, i[3] || "", this.rules);
|
|
3777
3870
|
return {
|
|
3778
3871
|
type: "code",
|
|
3779
3872
|
raw: d,
|
|
@@ -3883,28 +3976,28 @@ ${w}` : w;
|
|
|
3883
3976
|
break;
|
|
3884
3977
|
x = i[0], f = f.substring(x.length);
|
|
3885
3978
|
let G = i[2].split(`
|
|
3886
|
-
`, 1)[0].replace(this.rules.other.listReplaceTabs, (
|
|
3979
|
+
`, 1)[0].replace(this.rules.other.listReplaceTabs, (He) => " ".repeat(3 * He.length)), $ = f.split(`
|
|
3887
3980
|
`, 1)[0], se = !G.trim(), W = 0;
|
|
3888
3981
|
if (this.options.pedantic ? (W = 2, w = G.trimStart()) : se ? W = i[1].length + 1 : (W = i[2].search(this.rules.other.nonSpaceChar), W = W > 4 ? 1 : W, w = G.slice(W), W += i[1].length), se && this.rules.other.blankLine.test($) && (x += $ + `
|
|
3889
3982
|
`, f = f.substring($.length + 1), T = !0), !T) {
|
|
3890
|
-
const
|
|
3983
|
+
const He = this.rules.other.nextBulletRegex(W), Be = this.rules.other.hrRegex(W), Ue = this.rules.other.fencesBeginRegex(W), Ft = this.rules.other.headingBeginRegex(W), nr = this.rules.other.htmlBeginRegex(W);
|
|
3891
3984
|
for (; f; ) {
|
|
3892
3985
|
const yt = f.split(`
|
|
3893
3986
|
`, 1)[0];
|
|
3894
|
-
let
|
|
3895
|
-
if ($ = yt, this.options.pedantic ? ($ = $.replace(this.rules.other.listReplaceNesting, " "),
|
|
3987
|
+
let Ve;
|
|
3988
|
+
if ($ = yt, this.options.pedantic ? ($ = $.replace(this.rules.other.listReplaceNesting, " "), Ve = $) : Ve = $.replace(this.rules.other.tabCharGlobal, " "), Ue.test($) || Ft.test($) || nr.test($) || He.test($) || Be.test($))
|
|
3896
3989
|
break;
|
|
3897
|
-
if (
|
|
3990
|
+
if (Ve.search(this.rules.other.nonSpaceChar) >= W || !$.trim())
|
|
3898
3991
|
w += `
|
|
3899
|
-
` +
|
|
3992
|
+
` + Ve.slice(W);
|
|
3900
3993
|
else {
|
|
3901
|
-
if (se || G.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 ||
|
|
3994
|
+
if (se || G.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || Ue.test(G) || Ft.test(G) || Be.test(G))
|
|
3902
3995
|
break;
|
|
3903
3996
|
w += `
|
|
3904
3997
|
` + $;
|
|
3905
3998
|
}
|
|
3906
3999
|
!se && !$.trim() && (se = !0), x += yt + `
|
|
3907
|
-
`, f = f.substring(yt.length + 1), G =
|
|
4000
|
+
`, f = f.substring(yt.length + 1), G = Ve.slice(W);
|
|
3908
4001
|
}
|
|
3909
4002
|
}
|
|
3910
4003
|
v.loose || (S ? v.loose = !0 : this.rules.other.doubleBlankLine.test(x) && (S = !0));
|
|
@@ -4792,7 +4885,7 @@ ${f}</tr>
|
|
|
4792
4885
|
}
|
|
4793
4886
|
return g;
|
|
4794
4887
|
}
|
|
4795
|
-
}, De = (
|
|
4888
|
+
}, De = (ze = class {
|
|
4796
4889
|
constructor(f) {
|
|
4797
4890
|
c(this, "options");
|
|
4798
4891
|
c(this, "block");
|
|
@@ -4828,11 +4921,11 @@ ${f}</tr>
|
|
|
4828
4921
|
provideParser() {
|
|
4829
4922
|
return this.block ? ke.parse : ke.parseInline;
|
|
4830
4923
|
}
|
|
4831
|
-
}, c(
|
|
4924
|
+
}, c(ze, "passThroughHooks", /* @__PURE__ */ new Set([
|
|
4832
4925
|
"preprocess",
|
|
4833
4926
|
"postprocess",
|
|
4834
4927
|
"processAllTokens"
|
|
4835
|
-
])),
|
|
4928
|
+
])), ze), er = class {
|
|
4836
4929
|
constructor(...f) {
|
|
4837
4930
|
c(this, "defaults", _());
|
|
4838
4931
|
c(this, "options", this.setOptions);
|
|
@@ -5009,13 +5102,13 @@ Please report this to https://github.com/markedjs/marked.`, f) {
|
|
|
5009
5102
|
return Ne.parse(f, i);
|
|
5010
5103
|
}
|
|
5011
5104
|
j.options = j.setOptions = function(f) {
|
|
5012
|
-
return Ne.setOptions(f), j.defaults = Ne.defaults,
|
|
5105
|
+
return Ne.setOptions(f), j.defaults = Ne.defaults, H(j.defaults), j;
|
|
5013
5106
|
}, j.getDefaults = _, j.defaults = I, j.use = function(...f) {
|
|
5014
|
-
return Ne.use(...f), j.defaults = Ne.defaults,
|
|
5107
|
+
return Ne.use(...f), j.defaults = Ne.defaults, H(j.defaults), j;
|
|
5015
5108
|
}, j.walkTokens = function(f, i) {
|
|
5016
5109
|
return Ne.walkTokens(f, i);
|
|
5017
5110
|
}, j.parseInline = Ne.parseInline, j.Parser = ke, j.parser = ke.parse, j.Renderer = te, j.TextRenderer = et, j.Lexer = Te, j.lexer = Te.lex, j.Tokenizer = lt, j.Hooks = De, j.parse = j;
|
|
5018
|
-
var tr = j.options,
|
|
5111
|
+
var tr = j.options, Br = j.setOptions, rr = j.use, re = j.walkTokens, sr = j.parseInline, ne = j, ar = ke.parse, K = Te.lex;
|
|
5019
5112
|
return s != e && (a.exports = e), a.exports;
|
|
5020
5113
|
});
|
|
5021
5114
|
})(Aa);
|
|
@@ -5073,7 +5166,7 @@ const Wo = /* @__PURE__ */ ee(class extends J {
|
|
|
5073
5166
|
return this.isLoading ? m("searchcraft-loading", { label: "LOADING" }) : this.isSummaryNotEnabled ? m("div", { class: "searchcraft-summary-box-content" }, "AI summaries are not enabled") : m("div", { class: "searchcraft-summary-box-content" }, this.summary);
|
|
5074
5167
|
}
|
|
5075
5168
|
render() {
|
|
5076
|
-
return m("div", { key: "
|
|
5169
|
+
return m("div", { key: "94033d861f93036430eca149b3c017fb6099fb17", class: "searchcraft-summary-box" }, this.renderContent());
|
|
5077
5170
|
}
|
|
5078
5171
|
}, [0, "searchcraft-summary-box", {
|
|
5079
5172
|
searchcraftId: [1, "searchcraft-id"],
|
|
@@ -5095,13 +5188,13 @@ function Go() {
|
|
|
5095
5188
|
}
|
|
5096
5189
|
});
|
|
5097
5190
|
}
|
|
5098
|
-
const Zo = Go, Yo = `[class*=searchcraft-],[class*=searchcraft-] *,[class*=searchcraft-]::before,[class*=searchcraft-]::after,[class*=searchcraft-] *,::before,[class*=searchcraft-] *,::after{box-sizing:border-box;padding:0;margin:0}:root{--sc-text-base-size: 1em;--sc-text-scale-ratio: 1.1;--sc-font-family: sans-serif;--sc-font-bold: 700;--sc-font-normal: 400;--sc-heading-1-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-2-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-3-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-4-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-5-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-6-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) );--sc-body-font-size: calc(var(--sc-text-base-size));--sc-body-small-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) )}:root{--sc-border-radius: 8px;--sc-border-radius-sm: calc(var(--sc-border-radius) / 2);--sc-border-radius-lg: calc(var(--sc-border-radius) * 2);--sc-border-radius-xl: calc(var(--sc-border-radius) * 3);--sc-border-radius-2xl: calc(var(--sc-border-radius) * 4);--sc-border-radius-full: 9999px}:root{--sc-breakpoint-sm: 576px;--sc-breakpoint-md: 768px;--sc-breakpoint-lg: 992px}:root{--sc-surface-neutral-primary: var(--sc-color-background, #ffffff);--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-primary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #fafafa) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-primary-active: var( --sc-color-background-active, var(--sc-color-background-active-computed, #f7f7f7) );--sc-surface-neutral-secondary: var( --sc-color-background-secondary, var(--sc-color-background, #f3f3f3) );--sc-color-background-secondary-hover-computed: hsl( from var(--sc-color-background-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #e6e6e6) );--sc-color-background-secondary-active-computed: hsl( from var(--sc-color-background-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-secondary-active: var( --sc-color-background-secondary-active, var(--sc-color-background-active-computed, #e0e0e0) );--sc-surface-neutral-light: #ffffff;--sc-content-neutral-primary: var(--sc-color-foreground, #292929);--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10, calc(l + 5), 90) );--sc-content-neutral-secondary: var( --sc-color-foreground-secondary, var(--sc-color-foreground-secondary-computed, #404040) );--sc-border-neutral: var(--sc-color-border, rgba(0, 0, 0, 0.1));--sc-surface-brand-primary: var(--sc-color-brand, #000000);--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20, calc(l + 5), 95) );--sc-surface-brand-primary-hover: var( --sc-color-brand-hover, var(--sc-color-brand-hover-computed, #2e2e2e) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10, calc(l - 5), 85) );--sc-surface-brand-primary-active: var( --sc-color-brand-active, var(--sc-color-brand-active-computed, #292929) );--sc-surface-brand-secondary: var( --sc-color-brand-secondary, var(--sc-color-brand, #e6e6e6) );--sc-color-brand-secondary-hover-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-brand-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #ebebeb) );--sc-color-brand-secondary-active-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-brand-secondary-active: var( --sc-color-brand-secondary-active, var(--sc-color-brand-active-computed, #e0e0e0) );--sc-content-brand: var( --sc-color-brand-text, var(--sc-surface-brand-primary) );--sc-content-brand-on-primary: #ffffff;--sc-border-brand: var(--sc-surface-brand-primary);--sc-surface-success-primary: var(--sc-color-success, #008000);--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30 );--sc-surface-success-primary-hover: var( --sc-color-success-primary-hover, var(--sc-color-success-primary-hover-computed, #009900) );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20 );--sc-surface-success-primary-active: var( --sc-color-success-primary-active, var(--sc-color-success-primary-active-computed, #006600) );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90 );--sc-surface-success-secondary: var( --sc-color-success-secondary, var(--sc-color-success-secondary-computed, #ccffcc) );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95 );--sc-surface-success-secondary-hover: var( --sc-color-success-secondary-hover, var(--sc-color-success-secondary-hover-computed, #e6ffe6) );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85 );--sc-surface-success-secondary-active: var( --sc-color-success-secondary-active, var(--sc-color-success-secondary-active-computed, #b2ffb2) );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30) );--sc-content-success-on-primary: #ffffff;--sc-border-success: var(--sc-surface-success-primary);--sc-surface-caution-primary: var(--sc-color-caution, #cc6600);--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30 );--sc-surface-caution-primary-hover: var( --sc-color-caution-primary-hover, var(--sc-color-caution-primary-hover-computed, #e57300) );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20 );--sc-surface-caution-primary-active: var( --sc-color-caution-primary-active, var(--sc-color-caution-primary-active-computed, #b25a00) );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90 );--sc-surface-caution-secondary: var( --sc-color-caution-secondary, var(--sc-color-caution-secondary-computed, #ffd9b3) );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95 );--sc-surface-caution-secondary-hover: var( --sc-color-caution-secondary-hover, var(--sc-color-caution-secondary-hover-computed, #ffe5cc) );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85 );--sc-surface-caution-secondary-active: var( --sc-color-caution-secondary-active, var(--sc-color-caution-secondary-active-computed, #ffcc99) );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30) );--sc-content-caution-on-primary: #ffffff;--sc-border-caution: var(--sc-surface-caution-primary);--sc-surface-danger-primary: var(--sc-color-danger, #cc0000);--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30 );--sc-surface-danger-primary-hover: var( --sc-color-danger-primary-hover, var(--sc-color-danger-primary-hover-computed, #e50000) );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20 );--sc-surface-danger-primary-active: var( --sc-color-danger-primary-active, var(--sc-color-danger-primary-active-computed, #b30000) );--sc-color-danger-secondary-computed: hsl(from var(--sc-color-danger) h s 90);--sc-surface-danger-secondary: var( --sc-color-danger-secondary, var(--sc-color-danger-secondary-computed, #ffcccc) );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95 );--sc-surface-danger-secondary-hover: var( --sc-color-danger-secondary-hover, var(--sc-color-danger-secondary-hover-computed, #ffe7e7) );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85 );--sc-surface-danger-secondary-active: var( --sc-color-danger-secondary-active, var(--sc-color-danger-secondary-active-computed, #ffb3b3) );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30) );--sc-content-danger-on-primary: #ffffff;--sc-border-danger: var(--sc-surface-danger-primary);--sc-color-disabled: hsl(from var(--sc-color-page-primary) h s calc(l * 0.5));--sc-surface-disabled: var(--sc-color-disabled, #d9d9d9);--sc-color-disabled-text: hsl( from var(--sc-color-text-primary) h s calc(l * 0.5) );--sc-content-disabled: var(--sc-color-disabled-text, #737373);--sc-content-disabled-on-disabled: var(--sc-color-disabled-text, #737373)}@supports(hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none){:root{--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10%, calc(l + 5%), 95%) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5%, calc(l - 5%), 90%) );--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10%, calc(l + 5%), 90%) );--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20%, calc(l + 5%), 95%) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10%, calc(l - 5%), 85%) );--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30% );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20% );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90% );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95% );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85% );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30%) );--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30% );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20% );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90% );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95% );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85% );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30%) );--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30% );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20% );--sc-color-danger-secondary-computed: hsl( from var(--sc-color-danger) h s 90% );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95% );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85% );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30%) )}}.searchcraft-ad{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-ad-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-ad-no-template>p{margin:0}.searchcraft-adm-ad{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-result{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-search-result-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-search-result-no-template>p{margin:0}.searchcraft-search-results{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-results-empty-state{text-align:center}.searchcraft-search-results-error-message{text-align:center}.searchcraft-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background:none;border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;gap:4px;padding:12px;position:relative}.searchcraft-button.searchcraft-button-disabled{cursor:not-allowed}.searchcraft-button-primary{background-color:var(--sc-surface-brand-primary);color:var(--sc-content-brand-on-primary);font-weight:var(--sc-font-bold)}.searchcraft-button-primary:hover{background-color:var(--sc-surface-brand-primary-hover)}.searchcraft-button-primary:focus{border-color:var(--sc-border-primary)}.searchcraft-button-primary:active{background-color:var(--sc-surface-brand-primary-active)}.searchcraft-button-primary.searchcraft-button-disabled,.searchcraft-button-primary.searchcraft-button-disabled:hover,.searchcraft-button-primary.searchcraft-button-disabled:focus,.searchcraft-button-primary.searchcraft-button-disabled:active{background-color:var(--sc-surface-disabled);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-tertiary{background-color:var(--sc-surface-neutral-primary);color:var(--sc-content-brand);font-weight:var(--sc-font-normal)}.searchcraft-button-tertiary:hover{background-color:var(--sc-surface-brand-secondary-hover)}.searchcraft-button-tertiary:focus{background-color:var(--sc-surface-neutral-light);border-color:var(--sc-border-primary)}.searchcraft-button-tertiary:active{background-color:var(--sc-surface-brand-secondary-active)}.searchcraft-button-tertiary.searchcraft-button-disabled,.searchcraft-button-tertiary.searchcraft-button-disabled:hover,.searchcraft-button-tertiary.searchcraft-button-disabled:focus,.searchcraft-button-tertiary.searchcraft-button-disabled:active{background-color:var(--sc-surface-neutral-light);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-icon{fill:none}.searchcraft-error-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-danger);margin:0}.searchcraft-facet-list{display:flex;flex-direction:column;gap:8px;width:100%}.searchcraft-facet-list-checkbox-label{align-items:center;color:var(--sc-content-neutral-primary);display:flex;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);gap:8px;position:relative;-webkit-font-smoothing:antialiased}.searchcraft-facet-list-checkbox-input-wrapper{position:relative}.searchcraft-facet-list-checkbox-input{align-items:center;appearance:none;background-color:var(--sc-surface-neutral-secondary);border:1px solid var(--sc-surface-disabled);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;height:24px;justify-content:center;width:24px;margin:0}.searchcraft-facet-list-checkbox-input:focus{outline:2px solid var(--sc-surface-brand-primary);outline-offset:2px}.searchcraft-facet-list-checkbox-input:checked{background-color:var(--sc-surface-brand-primary);position:relative}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-check-icon{display:flex}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-dash-icon{display:flex}.searchcraft-facet-child-list{display:flex;flex-direction:column;gap:6px}.searchcraft-facet-child-list-checkbox-label{margin-left:24px}.searchcraft-facet-child-list-checkbox-label:first-child{margin-top:6px}.searchcraft-facet-list-checkbox-input-check-icon{display:none;height:16px;left:50%;position:absolute;margin-top:2px;top:50%;transform:translate(-50%, -50%);width:16px}.searchcraft-facet-list-checkbox-input-dash-icon{display:none;height:3px;left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);width:14px}.searchcraft-facet-list-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-disabled);text-align:center}.searchcraft-filter-panel{display:flex;flex-direction:column;gap:16px}.searchcraft-filter-panel-section{display:flex;flex-direction:column;gap:8px}.searchcraft-filter-panel-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}:root{--sc-input-form-border-radius: var(--sc-border-radius);--sc-input-form-search-icon-size: 20px;--sc-input-form-clear-icon-size: 20px}.searchcraft-input-form-grid{display:grid;gap:4px 8px}.searchcraft-input-form-grid-button-left{grid-template-rows:repeat(3, auto);grid-template-columns:auto 1fr}.searchcraft-input-form-grid-button-left .searchcraft-input-form-button{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-label{grid-column:2/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-error-message{grid-column:2/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-input-wrapper{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right{grid-template-rows:repeat(3, auto);grid-template-columns:1fr auto}.searchcraft-input-form-grid-button-right .searchcraft-input-form-button{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-none{grid-template-rows:repeat(3, auto);grid-template-columns:auto}.searchcraft-input-form-grid-button-none .searchcraft-input-form-button{display:none}.searchcraft-input-form-grid-button-none .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-input-wrapper{display:flex;position:relative}.searchcraft-input-form-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background-color:var(--sc-surface-neutral-secondary);border-radius:var(--sc-input-form-border-radius);border:none;color:var(--sc-content-neutral-primary);flex:1;outline:none;padding:12px 44px}.searchcraft-input-form-input::placeholder{color:var(--sc-content-disabled)}.searchcraft-input-form-input:focus{outline:var(--sc-border-brand) solid 2px;outline-offset:-1px}.searchcraft-input-form-input.searchcraft-placeholder-hide-on-focus:focus::placeholder{opacity:0}.searchcraft-input-form-error{color:var(--sc-content-danger);outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-error:focus{outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-input-icon{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;pointer-events:none;top:0;width:44px}.searchcraft-input-form-input-search-icon{color:var(--sc-content-neutral-secondary);fill:none;height:var(--sc-input-form-search-icon-size);pointer-events:none;width:var(--sc-input-form-search-icon-size)}.searchcraft-input-form-clear-button{all:unset;align-items:center;bottom:0;border:none;cursor:pointer;display:flex;justify-content:center;outline:none;position:absolute;right:0;top:0;width:44px}.searchcraft-input-form-clear-icon{color:var(--sc-content-brand);fill:none;height:var(--sc-input-form-clear-icon-size);width:var(--sc-input-form-clear-icon-size)}.searchcraft-input-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);font-weight:var(--sc-font-bold);margin-top:4px;margin-bottom:4px}:root{--sc-popover-button-border-radius: var(--sc-border-radius)}@media(min-width: 576px){:root{--sc-popover-button-border-radius: var(--sc-border-radius-lg)}}.searchcraft-popover-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);cursor:pointer}.searchcraft-popover-button-skeuomorphic{appearance:none;background:none;border:none;color:var(--sc-content-neutral-primary);display:block;width:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-popover-button-border-radius);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;display:flex;gap:24px;height:40px;justify-content:space-between;line-height:1;padding:4px 5px 4px 10px;background:var(--sc-surface-neutral-primary)}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;height:63px;padding:8px 10px 8px 16px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{align-items:center;display:flex;gap:4px}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{color:var(--sc-content-neutral-secondary);display:flex;gap:4px;font-size:20px;font-weight:500}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 3px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 3px);background-color:var(--sc-surface-neutral-primary);box-shadow:0 3px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 6px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 2px);position:relative}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 8px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 8px);box-shadow:0 4px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 6px 1px rgb(from var(--sc-content-neutral-secondary) r g b/20%),0 7px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 9px 4px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 13px 8px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 5px)}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before,.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{content:"";display:block}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 4px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 4px);background:linear-gradient(340deg, rgb(from var(--sc-surface-neutral-secondary) r g b/2%) 0%, var(--sc-surface-neutral-secondary) 100%);inset:2px;position:absolute}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 12px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 12px);inset:4px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{aspect-ratio:1/1;height:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap>span{display:flex;line-height:1;left:50%;margin-top:2%;position:absolute;top:50%;transform:translate(-50%, -50%)}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:60%;width:auto}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:50%}}:root{--sc-popover-list-view-height: 600px;--sc-popover-modal-max-width: 800px}.searchcraft-popover-form{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);display:flex;flex:1;flex-direction:column}.searchcraft-popover-form searchcraft-input-form,.searchcraft-popover-form searchcraft-popover-footer{width:100%}.searchcraft-popover-form.searchcraft-popover-form-active .searchcraft-popover-form-input{padding-bottom:1px}.searchcraft-popover-form searchcraft-popover-list-view{flex-shrink:1;height:100%;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-input{display:flex;flex-direction:row;gap:12px}.searchcraft-popover-form-input .searchcraft-input-form-input{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius-lg);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset;width:0}.searchcraft-popover-form-cancel-button{background:none;border:none;cursor:pointer;font-size:14px}.searchcraft-popover-form-modal-input,.searchcraft-popover-form-fullscreen-input{padding:24px}.searchcraft-popover-form-modal-popover-list-view,.searchcraft-popover-form-fullscreen-popover-list-view{flex-grow:1;flex-shrink:1;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-inline{background-color:var(--sc-surface-neutral-primary);border:1px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius-xl);padding:12px;position:relative}.searchcraft-popover-form-inline.searchcraft-popover-form-active{border:1px solid var(--sc-border-neutral);border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;padding-bottom:1px}.searchcraft-popover-form-inline searchcraft-popover-list-view{padding:0 12px}.searchcraft-popover-form-inline .searchcraft-input-form-input,.searchcraft-popover-form-inline .searchcraft-popover-list-item-link,.searchcraft-popover-form-inline .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-xl - 12px);border-radius:calc(var(--sc-border-radius-xl) - 12px)}.searchcraft-popover-form-inline-wrapper{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-top:none;border-bottom-left-radius:var(--sc-border-radius-xl);border-bottom-right-radius:var(--sc-border-radius-xl);display:flex;flex-direction:column;left:-1px;max-height:var(--sc-popover-list-view-height);overflow:hidden;position:absolute;right:-1px;top:100%}.searchcraft-popover-form-modal{align-items:center;display:flex;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-modal .searchcraft-input-form-input,.searchcraft-popover-form-modal .searchcraft-popover-list-item-link,.searchcraft-popover-form-modal .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px)}.searchcraft-popover-form-modal-backdrop{background-color:rgb(from var(--sc-content-neutral-primary) r g b/50%);display:none;inset:0;position:fixed}@media(min-width: 576px){.searchcraft-popover-form-modal-backdrop{display:block}}.searchcraft-popover-form-modal-wrapper{background-color:var(--sc-surface-neutral-primary);box-shadow:1px 2px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 2px 4px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 4px 8px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 8px 16px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 16px 32px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 32px 64px rgb(from var(--sc-content-neutral-primary) r g b/7%);display:flex;flex-direction:column;inset:0;max-width:var(--sc-popover-modal-max-width);overflow:hidden;position:absolute;width:100%;z-index:1001}@media(min-width: 576px){.searchcraft-popover-form-modal-wrapper{border-radius:var(--sc-border-radius-2xl);inset:0;margin-top:100px;max-height:var(--sc-popover-list-view-height);max-width:var(--sc-popover-modal-max-width);position:relative}}.searchcraft-popover-form-modal-cancel-button{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-modal-cancel-button{padding:8px 12px}}.searchcraft-popover-form-fullscreen{background-color:var(--sc-surface-neutral-primary);display:flex;flex-direction:column;justify-content:space-between;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-fullscreen .searchcraft-popover-list-item-link,.searchcraft-popover-form-fullscreen .searchcraft-adm-ad-link{border-radius:var(--sc-border-radius-lg)}.searchcraft-popover-form-fullscreen-cancel-button{border-radius:var(--sc-border-radius-lg);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-fullscreen-cancel-button{padding:8px 12px}}.searchcraft-popover-footer{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;background-color:var(--sc-surface-neutral-secondary);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset;display:flex;gap:8px;justify-content:space-between;line-height:1;padding:20px 24px}@media(min-width: 576px){.searchcraft-popover-footer{padding:20px 32px}}.searchcraft-popover-footer-results-info{margin:0}.searchcraft-popover-footer-link{color:var(--sc-content-neutral-primary);display:flex;max-width:160px;width:100%}:root{--sc-popover-list-item-image-fit: contain}.searchcraft-popover-list-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;border-bottom:1px solid var(--sc-border-neutral);padding:12px 0}searchcraft-popover-list-item:last-child .searchcraft-popover-list-item{border-bottom:none}.searchcraft-popover-list-item-link{align-items:flex-start;color:var(--sc-content-neutral-primary);display:flex;gap:24px;padding:12px;text-decoration:none}.searchcraft-popover-list-item-link:focus,.searchcraft-popover-list-item-link:active{background-color:var(--sc-surface-neutral-primary-active)}.searchcraft-popover-list-item-link:hover{background-color:var(--sc-surface-neutral-primary-hover)}.searchcraft-popover-list-item-image-wrapper{align-items:center;aspect-ratio:16/9;display:flex;flex-shrink:0;justify-content:center;width:160px}.searchcraft-popover-list-item-image{height:100%;object-fit:var(--sc-popover-list-item-image-fit);width:100%}.searchcraft-popover-list-item-content{display:flex;flex-direction:column;flex-grow:1;gap:4px;justify-content:center}.searchcraft-popover-list-item-content-title,.searchcraft-popover-list-item-content-subtitle{display:-webkit-box;line-clamp:2;margin:0;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.searchcraft-popover-list-item-content-title{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-heading-5-font-size);font-weight:var(--sc-font-bold)}.searchcraft-popover-list-item-content-subtitle{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-popover-list-view{display:flex;flex-direction:column}.searchcraft-results-info{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-primary);margin:0}.searchcraft-slider{align-items:center;display:flex;flex-direction:column;gap:10px;width:100%;margin-top:4px}.searchcraft-slider-range{align-items:center;background-color:var(--sc-surface-disabled);border-radius:999px;display:flex;position:relative;height:4px;width:100%}.searchcraft-slider-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range{background-color:var(--sc-surface-brand-primary);border-radius:2px;height:4px;position:absolute;top:50%;transform:translateY(-50%);z-index:0}.searchcraft-slider-range .searchcraft-slider-active-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range::-moz-range-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-input{appearance:none;background:rgba(0,0,0,0);border-radius:2px;height:4px;margin:0;outline:none;pointer-events:none;position:absolute;width:100%;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-webkit-slider-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:1px solid var(--sc-border-neutral);cursor:pointer;height:18px;pointer-events:all;width:18px;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-moz-range-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:1px solid var(--sc-border-neutral);cursor:pointer;height:18px;pointer-events:all;width:18px}.searchcraft-slider-range .searchcraft-slider-input:focus::-webkit-slider-thumb{outline:2px solid var(--sc-surface-brand-primary)}.searchcraft-slider-range .searchcraft-slider-input:focus::-moz-range-thumb{outline:2px solid var(--sc-surface-brand-primary)}.searchcraft-slider-label{color:var(--sc-content-primary);display:flex;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);justify-content:space-between;margin-top:4px;width:100%}.searchcraft-slider-start-label,.searchcraft-slider-end-label{min-width:30px;text-align:center}.searchcraft-toggle-button{align-items:flex-start;display:flex;gap:10px;justify-content:space-between}.searchcraft-toggle-button-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);margin:0}.searchcraft-toggle-button-sub-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-secondary);margin:0}.searchcraft-toggle-button-background{background:var(--sc-surface-disabled);border-radius:var(--sc-border-radius-full);border:none;cursor:pointer;flex-shrink:0;height:26px;position:relative;transition:background-color .2s;width:44px}.searchcraft-toggle-button-handle{background:var(--sc-surface-neutral-light);border-radius:50%;height:18px;left:4px;position:absolute;top:calc(50% - 9px);transition:transform .3s ease;width:18px}.searchcraft-toggle-button-active .searchcraft-toggle-button-background{background:var(--sc-surface-brand-primary);box-shadow:0px 0px 0px 1px rgba(0,0,0,.05)}.searchcraft-toggle-button-active .searchcraft-toggle-button-handle{transform:translateX(16px)}.searchcraft-pagination{display:inline-grid;gap:16px;grid-template-columns:repeat(3, auto);grid-template-rows:1fr}.searchcraft-pagination-list{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius);display:flex;list-style-type:none;margin:0;overflow:hidden;padding:0;width:auto}.searchcraft-pagination-list li{border-right:1px solid var(--sc-border-neutral);height:100%;min-height:44px;width:44px}.searchcraft-pagination-list li:last-child{border-right:none}.searchcraft-pagination-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;background-color:var(--sc-surface-neutral-primary);border:none;display:flex;height:100%;justify-content:center;width:100%}.searchcraft-pagination-item-active{background-color:var(--sc-surface-brand-secondary);font-weight:var(--sc-font-bold)}.searchcraft-pagination-control{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius)}.searchcraft-pagination-range{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;display:flex}.searchcraft-select{display:flex;flex-direction:column;gap:4px}.searchcraft-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}.searchcraft-select-input-wrapper{position:relative}.searchcraft-select-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);appearance:none;background-color:var(--sc-surface-neutral-secondary);border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;height:44px;padding:0 44px 0 16px;width:100%}.searchcraft-select-input:hover{background-color:var(--sc-surface-neutral-secondary-hover)}.searchcraft-select-input:active{background-color:var(--sc-surface-neutral-secondary-active)}.searchcraft-select-input:focus{border-color:var(--sc-border-brand);outline:none}.searchcraft-select-input-icon{fill:none;pointer-events:none;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.searchcraft-select-caption{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page{display:flex}.searchcraft-search-results-per-page-select{align-items:center;display:flex;gap:12px}.searchcraft-search-results-per-page-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page-select-input{min-width:120px}.searchcraft-summary-box{padding:20px;border-radius:var(--sc-border-radius);background-color:var(--sc-surface-neutral-secondary);position:relative;min-height:200px;color:var(--sc-content-neutral-primary);font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-summary-box h1,.searchcraft-summary-box h2,.searchcraft-summary-box h3,.searchcraft-summary-box h4,.searchcraft-summary-box h5{padding-top:10px;padding-bottom:10px}.searchcraft-summary-box p{padding-bottom:10px}.searchcraft-summary-box img{max-width:200px}.searchcraft-summary-box ol,.searchcraft-summary-box ul{padding-left:1em;padding-bottom:10px}.searchcraft-summary-box a{color:var(--sc-content-brand)}.searchcraft-loading-label{position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);margin-top:40px;letter-spacing:2px;color:#828282;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal)}.searchcraft-loading-bars{margin:0 auto;width:60px;height:50px;text-align:center;position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);display:flex;gap:2px}.searchcraft-loading-bars>div{height:100%;width:8px;-webkit-animation:delay .8s infinite ease-in-out;animation:delay .8s infinite ease-in-out;opacity:.2}.searchcraft-loading-bars .searchcraft-loading-bar-1{background-color:var(--sc-surface-brand-primary);opacity:.1}.searchcraft-loading-bars .searchcraft-loading-bar-2{background-color:var(--sc-surface-brand-primary);animation-delay:-0.7s;opacity:.2}.searchcraft-loading-bars .searchcraft-loading-bar-3{background-color:var(--sc-surface-brand-primary);animation-delay:-0.6s;opacity:.3}.searchcraft-loading-bars .searchcraft-loading-bar-4{background-color:var(--sc-surface-brand-primary);animation-delay:-0.5s;opacity:.4}.searchcraft-loading-bars .searchcraft-loading-bar-5{background-color:var(--sc-surface-brand-primary);animation-delay:-0.4s;opacity:.5}.searchcraft-loading-bars .searchcraft-loading-bar-6{background-color:var(--sc-surface-brand-primary);animation-delay:-0.3s;opacity:.6}@keyframes delay{0%,40%,100%{transform:scaleY(0.05)}20%{transform:scaleY(1)}}/*# sourceMappingURL=hologram.css.map */
|
|
5191
|
+
const Zo = Go, Yo = `\uFEFF[class*=searchcraft-],[class*=searchcraft-] *,[class*=searchcraft-]::before,[class*=searchcraft-]::after,[class*=searchcraft-] *,::before,[class*=searchcraft-] *,::after{box-sizing:border-box;padding:0;margin:0}:root{--sc-text-base-size: 1em;--sc-text-scale-ratio: 1.1;--sc-font-family: sans-serif;--sc-font-bold: 700;--sc-font-normal: 400;--sc-heading-1-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-2-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-3-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-4-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-5-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-6-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) );--sc-body-font-size: calc(var(--sc-text-base-size));--sc-body-small-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) )}:root{--sc-border-radius: 8px;--sc-border-radius-sm: calc(var(--sc-border-radius) / 2);--sc-border-radius-lg: calc(var(--sc-border-radius) * 2);--sc-border-radius-xl: calc(var(--sc-border-radius) * 3);--sc-border-radius-2xl: calc(var(--sc-border-radius) * 4);--sc-border-radius-full: 9999px}:root{--sc-breakpoint-sm: 576px;--sc-breakpoint-md: 768px;--sc-breakpoint-lg: 992px}:root{--sc-surface-neutral-primary: var(--sc-color-background, #ffffff);--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-primary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #fafafa) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-primary-active: var( --sc-color-background-active, var(--sc-color-background-active-computed, #f7f7f7) );--sc-surface-neutral-secondary: var( --sc-color-background-secondary, var(--sc-color-background, #f3f3f3) );--sc-color-background-secondary-hover-computed: hsl( from var(--sc-color-background-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #e6e6e6) );--sc-color-background-secondary-active-computed: hsl( from var(--sc-color-background-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-secondary-active: var( --sc-color-background-secondary-active, var(--sc-color-background-active-computed, #e0e0e0) );--sc-surface-neutral-light: #ffffff;--sc-content-neutral-primary: var(--sc-color-foreground, #292929);--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10, calc(l + 5), 90) );--sc-content-neutral-secondary: var( --sc-color-foreground-secondary, var(--sc-color-foreground-secondary-computed, #404040) );--sc-border-neutral: var(--sc-color-border, rgba(0, 0, 0, 0.1));--sc-surface-brand-primary: var(--sc-color-brand, #000000);--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20, calc(l + 5), 95) );--sc-surface-brand-primary-hover: var( --sc-color-brand-hover, var(--sc-color-brand-hover-computed, #2e2e2e) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10, calc(l - 5), 85) );--sc-surface-brand-primary-active: var( --sc-color-brand-active, var(--sc-color-brand-active-computed, #292929) );--sc-surface-brand-secondary: var( --sc-color-brand-secondary, var(--sc-color-brand, #e6e6e6) );--sc-color-brand-secondary-hover-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-brand-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #ebebeb) );--sc-color-brand-secondary-active-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-brand-secondary-active: var( --sc-color-brand-secondary-active, var(--sc-color-brand-active-computed, #e0e0e0) );--sc-content-brand: var( --sc-color-brand-text, var(--sc-surface-brand-primary) );--sc-content-brand-on-primary: #ffffff;--sc-border-brand: var(--sc-surface-brand-primary);--sc-surface-success-primary: var(--sc-color-success, #008000);--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30 );--sc-surface-success-primary-hover: var( --sc-color-success-primary-hover, var(--sc-color-success-primary-hover-computed, #009900) );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20 );--sc-surface-success-primary-active: var( --sc-color-success-primary-active, var(--sc-color-success-primary-active-computed, #006600) );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90 );--sc-surface-success-secondary: var( --sc-color-success-secondary, var(--sc-color-success-secondary-computed, #ccffcc) );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95 );--sc-surface-success-secondary-hover: var( --sc-color-success-secondary-hover, var(--sc-color-success-secondary-hover-computed, #e6ffe6) );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85 );--sc-surface-success-secondary-active: var( --sc-color-success-secondary-active, var(--sc-color-success-secondary-active-computed, #b2ffb2) );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30) );--sc-content-success-on-primary: #ffffff;--sc-border-success: var(--sc-surface-success-primary);--sc-surface-caution-primary: var(--sc-color-caution, #cc6600);--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30 );--sc-surface-caution-primary-hover: var( --sc-color-caution-primary-hover, var(--sc-color-caution-primary-hover-computed, #e57300) );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20 );--sc-surface-caution-primary-active: var( --sc-color-caution-primary-active, var(--sc-color-caution-primary-active-computed, #b25a00) );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90 );--sc-surface-caution-secondary: var( --sc-color-caution-secondary, var(--sc-color-caution-secondary-computed, #ffd9b3) );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95 );--sc-surface-caution-secondary-hover: var( --sc-color-caution-secondary-hover, var(--sc-color-caution-secondary-hover-computed, #ffe5cc) );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85 );--sc-surface-caution-secondary-active: var( --sc-color-caution-secondary-active, var(--sc-color-caution-secondary-active-computed, #ffcc99) );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30) );--sc-content-caution-on-primary: #ffffff;--sc-border-caution: var(--sc-surface-caution-primary);--sc-surface-danger-primary: var(--sc-color-danger, #cc0000);--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30 );--sc-surface-danger-primary-hover: var( --sc-color-danger-primary-hover, var(--sc-color-danger-primary-hover-computed, #e50000) );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20 );--sc-surface-danger-primary-active: var( --sc-color-danger-primary-active, var(--sc-color-danger-primary-active-computed, #b30000) );--sc-color-danger-secondary-computed: hsl(from var(--sc-color-danger) h s 90);--sc-surface-danger-secondary: var( --sc-color-danger-secondary, var(--sc-color-danger-secondary-computed, #ffcccc) );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95 );--sc-surface-danger-secondary-hover: var( --sc-color-danger-secondary-hover, var(--sc-color-danger-secondary-hover-computed, #ffe7e7) );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85 );--sc-surface-danger-secondary-active: var( --sc-color-danger-secondary-active, var(--sc-color-danger-secondary-active-computed, #ffb3b3) );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30) );--sc-content-danger-on-primary: #ffffff;--sc-border-danger: var(--sc-surface-danger-primary);--sc-color-disabled: hsl(from var(--sc-color-page-primary) h s calc(l * 0.5));--sc-surface-disabled: var(--sc-color-disabled, #d9d9d9);--sc-color-disabled-text: hsl( from var(--sc-color-text-primary) h s calc(l * 0.5) );--sc-content-disabled: var(--sc-color-disabled-text, #737373);--sc-content-disabled-on-disabled: var(--sc-color-disabled-text, #737373)}@supports(hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none){:root{--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10%, calc(l + 5%), 95%) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5%, calc(l - 5%), 90%) );--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10%, calc(l + 5%), 90%) );--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20%, calc(l + 5%), 95%) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10%, calc(l - 5%), 85%) );--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30% );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20% );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90% );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95% );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85% );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30%) );--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30% );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20% );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90% );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95% );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85% );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30%) );--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30% );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20% );--sc-color-danger-secondary-computed: hsl( from var(--sc-color-danger) h s 90% );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95% );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85% );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30%) )}}.searchcraft-ad{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-ad-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-ad-no-template>p{margin:0}.searchcraft-adm-ad{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-result{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-search-result-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-search-result-no-template>p{margin:0}.searchcraft-search-results{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-results-empty-state{text-align:center}.searchcraft-search-results-error-message{text-align:center}.searchcraft-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background:none;border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;gap:4px;padding:12px;position:relative}.searchcraft-button.searchcraft-button-disabled{cursor:not-allowed}.searchcraft-button-primary{background-color:var(--sc-surface-brand-primary);color:var(--sc-content-brand-on-primary);font-weight:var(--sc-font-bold)}.searchcraft-button-primary:hover{background-color:var(--sc-surface-brand-primary-hover)}.searchcraft-button-primary:focus{border-color:var(--sc-border-primary)}.searchcraft-button-primary:active{background-color:var(--sc-surface-brand-primary-active)}.searchcraft-button-primary.searchcraft-button-disabled,.searchcraft-button-primary.searchcraft-button-disabled:hover,.searchcraft-button-primary.searchcraft-button-disabled:focus,.searchcraft-button-primary.searchcraft-button-disabled:active{background-color:var(--sc-surface-disabled);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-tertiary{background-color:var(--sc-surface-neutral-primary);color:var(--sc-content-brand);font-weight:var(--sc-font-normal)}.searchcraft-button-tertiary:hover{background-color:var(--sc-surface-brand-secondary-hover)}.searchcraft-button-tertiary:focus{background-color:var(--sc-surface-neutral-light);border-color:var(--sc-border-primary)}.searchcraft-button-tertiary:active{background-color:var(--sc-surface-brand-secondary-active)}.searchcraft-button-tertiary.searchcraft-button-disabled,.searchcraft-button-tertiary.searchcraft-button-disabled:hover,.searchcraft-button-tertiary.searchcraft-button-disabled:focus,.searchcraft-button-tertiary.searchcraft-button-disabled:active{background-color:var(--sc-surface-neutral-light);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-icon{fill:none}.searchcraft-error-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-danger);margin:0}.searchcraft-facet-list{display:flex;flex-direction:column;gap:8px;width:100%}.searchcraft-facet-list-checkbox-label{align-items:center;color:var(--sc-content-neutral-primary);display:flex;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);gap:8px;position:relative;-webkit-font-smoothing:antialiased}.searchcraft-facet-list-checkbox-input-wrapper{position:relative}.searchcraft-facet-list-checkbox-input{align-items:center;appearance:none;background-color:var(--sc-surface-neutral-secondary);border:1px solid var(--sc-surface-disabled);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;height:24px;justify-content:center;width:24px;margin:0}.searchcraft-facet-list-checkbox-input:focus{outline:2px solid var(--sc-surface-brand-primary);outline-offset:2px}.searchcraft-facet-list-checkbox-input:checked{background-color:var(--sc-surface-brand-primary);position:relative}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-check-icon{display:flex}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-dash-icon{display:flex}.searchcraft-facet-child-list{display:flex;flex-direction:column;gap:6px}.searchcraft-facet-child-list-checkbox-label{margin-left:24px}.searchcraft-facet-child-list-checkbox-label:first-child{margin-top:6px}.searchcraft-facet-list-checkbox-input-check-icon{display:none;height:16px;left:50%;position:absolute;margin-top:2px;top:50%;transform:translate(-50%, -50%);width:16px}.searchcraft-facet-list-checkbox-input-dash-icon{display:none;height:3px;left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);width:14px}.searchcraft-facet-list-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-disabled);text-align:center}.searchcraft-filter-panel{display:flex;flex-direction:column;gap:16px}.searchcraft-filter-panel-section{display:flex;flex-direction:column;gap:8px}.searchcraft-filter-panel-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}@media(max-width: 767px){[data-toggle-filter-panel]{cursor:pointer;display:flex !important;align-items:center;justify-content:space-between;width:100%}[data-toggle-filter-panel]::after{content:"›";display:inline-block;font-size:1.5em;line-height:1;margin-left:auto;flex-shrink:0;transition:transform .2s ease;transform-origin:center}[data-toggle-filter-panel][data-filter-panel-collapsed]::after{transform:rotate(90deg)}[data-toggle-filter-panel][data-filter-panel-expanded]::after{transform:rotate(-90deg)}}@media(min-width: 768px){[data-toggle-filter-panel]{cursor:default}[data-toggle-filter-panel]::after{display:none}}:root{--sc-input-form-border-radius: var(--sc-border-radius);--sc-input-form-search-icon-size: 20px;--sc-input-form-clear-icon-size: 20px}.searchcraft-input-form-grid{display:grid;gap:4px 8px}.searchcraft-input-form-grid-button-left{grid-template-rows:repeat(3, auto);grid-template-columns:auto 1fr}.searchcraft-input-form-grid-button-left .searchcraft-input-form-button{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-label{grid-column:2/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-error-message{grid-column:2/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-input-wrapper{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right{grid-template-rows:repeat(3, auto);grid-template-columns:1fr auto}.searchcraft-input-form-grid-button-right .searchcraft-input-form-button{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-none{grid-template-rows:repeat(3, auto);grid-template-columns:auto}.searchcraft-input-form-grid-button-none .searchcraft-input-form-button{display:none}.searchcraft-input-form-grid-button-none .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-input-wrapper{display:flex;position:relative}.searchcraft-input-form-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background-color:var(--sc-surface-neutral-secondary);border-radius:var(--sc-input-form-border-radius);border:none;color:var(--sc-content-neutral-primary);flex:1;outline:none;padding:12px 44px}.searchcraft-input-form-input::placeholder{color:var(--sc-content-disabled)}.searchcraft-input-form-input:focus{outline:var(--sc-border-brand) solid 2px;outline-offset:-1px}.searchcraft-input-form-input.searchcraft-placeholder-hide-on-focus:focus::placeholder{opacity:0}.searchcraft-input-form-error{color:var(--sc-content-danger);outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-error:focus{outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-input-icon{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;pointer-events:none;top:0;width:44px}.searchcraft-input-form-input-search-icon{color:var(--sc-content-neutral-secondary);fill:none;height:var(--sc-input-form-search-icon-size);pointer-events:none;width:var(--sc-input-form-search-icon-size)}.searchcraft-input-form-clear-button{all:unset;align-items:center;bottom:0;border:none;cursor:pointer;display:flex;justify-content:center;outline:none;position:absolute;right:0;top:0;width:44px}.searchcraft-input-form-clear-icon{color:var(--sc-content-brand);fill:none;height:var(--sc-input-form-clear-icon-size);width:var(--sc-input-form-clear-icon-size)}.searchcraft-input-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);font-weight:var(--sc-font-bold);margin-top:4px;margin-bottom:4px}:root{--sc-popover-button-border-radius: var(--sc-border-radius)}@media(min-width: 576px){:root{--sc-popover-button-border-radius: var(--sc-border-radius-lg)}}.searchcraft-popover-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);cursor:pointer}.searchcraft-popover-button-skeuomorphic{appearance:none;background:none;border:none;color:var(--sc-content-neutral-primary);display:block;width:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-popover-button-border-radius);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;display:flex;gap:24px;height:40px;justify-content:space-between;line-height:1;padding:4px 5px 4px 10px;background:var(--sc-surface-neutral-primary)}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;height:63px;padding:8px 10px 8px 16px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{align-items:center;display:flex;gap:4px}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{color:var(--sc-content-neutral-secondary);display:flex;gap:4px;font-size:20px;font-weight:500}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 3px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 3px);background-color:var(--sc-surface-neutral-primary);box-shadow:0 3px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 6px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 2px);position:relative}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 8px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 8px);box-shadow:0 4px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 6px 1px rgb(from var(--sc-content-neutral-secondary) r g b/20%),0 7px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 9px 4px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 13px 8px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 5px)}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before,.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{content:"";display:block}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 4px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 4px);background:linear-gradient(340deg, rgb(from var(--sc-surface-neutral-secondary) r g b/2%) 0%, var(--sc-surface-neutral-secondary) 100%);inset:2px;position:absolute}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 12px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 12px);inset:4px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{aspect-ratio:1/1;height:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap>span{display:flex;line-height:1;left:50%;margin-top:2%;position:absolute;top:50%;transform:translate(-50%, -50%)}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:60%;width:auto}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:50%}}:root{--sc-popover-list-view-height: 600px;--sc-popover-modal-max-width: 800px}.searchcraft-popover-form{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);display:flex;flex:1;flex-direction:column}.searchcraft-popover-form searchcraft-input-form,.searchcraft-popover-form searchcraft-popover-footer{width:100%}.searchcraft-popover-form.searchcraft-popover-form-active .searchcraft-popover-form-input{padding-bottom:1px}.searchcraft-popover-form searchcraft-popover-list-view{flex-shrink:1;height:100%;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-input{display:flex;flex-direction:row;gap:12px}.searchcraft-popover-form-input .searchcraft-input-form-input{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius-lg);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset;width:0}.searchcraft-popover-form-cancel-button{background:none;border:none;cursor:pointer;font-size:14px}.searchcraft-popover-form-modal-input,.searchcraft-popover-form-fullscreen-input{padding:24px}.searchcraft-popover-form-modal-popover-list-view,.searchcraft-popover-form-fullscreen-popover-list-view{flex-grow:1;flex-shrink:1;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-inline{background-color:var(--sc-surface-neutral-primary);border:1px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius-xl);padding:12px;position:relative}.searchcraft-popover-form-inline.searchcraft-popover-form-active{border:1px solid var(--sc-border-neutral);border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;padding-bottom:1px}.searchcraft-popover-form-inline searchcraft-popover-list-view{padding:0 12px}.searchcraft-popover-form-inline .searchcraft-input-form-input,.searchcraft-popover-form-inline .searchcraft-popover-list-item-link,.searchcraft-popover-form-inline .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-xl - 12px);border-radius:calc(var(--sc-border-radius-xl) - 12px)}.searchcraft-popover-form-inline-wrapper{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-top:none;border-bottom-left-radius:var(--sc-border-radius-xl);border-bottom-right-radius:var(--sc-border-radius-xl);display:flex;flex-direction:column;left:-1px;max-height:var(--sc-popover-list-view-height);overflow:hidden;position:absolute;right:-1px;top:100%}.searchcraft-popover-form-modal{align-items:center;display:flex;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-modal .searchcraft-input-form-input,.searchcraft-popover-form-modal .searchcraft-popover-list-item-link,.searchcraft-popover-form-modal .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px)}.searchcraft-popover-form-modal-backdrop{background-color:rgb(from var(--sc-content-neutral-primary) r g b/50%);display:none;inset:0;position:fixed}@media(min-width: 576px){.searchcraft-popover-form-modal-backdrop{display:block}}.searchcraft-popover-form-modal-wrapper{background-color:var(--sc-surface-neutral-primary);box-shadow:1px 2px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 2px 4px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 4px 8px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 8px 16px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 16px 32px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 32px 64px rgb(from var(--sc-content-neutral-primary) r g b/7%);display:flex;flex-direction:column;inset:0;max-width:var(--sc-popover-modal-max-width);overflow:hidden;position:absolute;width:100%;z-index:1001}@media(min-width: 576px){.searchcraft-popover-form-modal-wrapper{border-radius:var(--sc-border-radius-2xl);inset:0;margin-top:100px;max-height:var(--sc-popover-list-view-height);max-width:var(--sc-popover-modal-max-width);position:relative}}.searchcraft-popover-form-modal-cancel-button{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-modal-cancel-button{padding:8px 12px}}.searchcraft-popover-form-fullscreen{background-color:var(--sc-surface-neutral-primary);display:flex;flex-direction:column;justify-content:space-between;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-fullscreen .searchcraft-popover-list-item-link,.searchcraft-popover-form-fullscreen .searchcraft-adm-ad-link{border-radius:var(--sc-border-radius-lg)}.searchcraft-popover-form-fullscreen-cancel-button{border-radius:var(--sc-border-radius-lg);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-fullscreen-cancel-button{padding:8px 12px}}.searchcraft-popover-footer{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;background-color:var(--sc-surface-neutral-secondary);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset;display:flex;gap:8px;justify-content:space-between;line-height:1;padding:20px 24px}@media(min-width: 576px){.searchcraft-popover-footer{padding:20px 32px}}.searchcraft-popover-footer-results-info{margin:0}.searchcraft-popover-footer-link{color:var(--sc-content-neutral-primary);display:flex;max-width:160px;width:100%}:root{--sc-popover-list-item-image-fit: contain}.searchcraft-popover-list-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;border-bottom:1px solid var(--sc-border-neutral);padding:12px 0}searchcraft-popover-list-item:last-child .searchcraft-popover-list-item{border-bottom:none}.searchcraft-popover-list-item-link{align-items:flex-start;color:var(--sc-content-neutral-primary);display:flex;gap:24px;padding:12px;text-decoration:none}.searchcraft-popover-list-item-link:focus,.searchcraft-popover-list-item-link:active{background-color:var(--sc-surface-neutral-primary-active)}.searchcraft-popover-list-item-link:hover{background-color:var(--sc-surface-neutral-primary-hover)}.searchcraft-popover-list-item-image-wrapper{align-items:center;aspect-ratio:16/9;display:flex;flex-shrink:0;justify-content:center;width:160px}.searchcraft-popover-list-item-image{height:100%;object-fit:var(--sc-popover-list-item-image-fit);width:100%}.searchcraft-popover-list-item-content{display:flex;flex-direction:column;flex-grow:1;gap:4px;justify-content:center}.searchcraft-popover-list-item-content-title,.searchcraft-popover-list-item-content-subtitle{display:-webkit-box;line-clamp:2;margin:0;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.searchcraft-popover-list-item-content-title{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-heading-5-font-size);font-weight:var(--sc-font-bold)}.searchcraft-popover-list-item-content-subtitle{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-popover-list-view{display:flex;flex-direction:column}.searchcraft-results-info{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-primary);margin:0}.searchcraft-slider{align-items:center;display:flex;flex-direction:column;gap:10px;width:100%;margin-top:4px}.searchcraft-slider-range{align-items:center;background-color:var(--sc-surface-disabled);border-radius:999px;display:flex;position:relative;height:4px;width:100%}.searchcraft-slider-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range{background-color:var(--sc-surface-brand-primary);border-radius:2px;height:4px;position:absolute;top:50%;transform:translateY(-50%);z-index:0}.searchcraft-slider-range .searchcraft-slider-active-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range::-moz-range-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-input{appearance:none;background:rgba(0,0,0,0);border-radius:2px;height:4px;margin:0;outline:none;pointer-events:none;position:absolute;width:100%;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-webkit-slider-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:1px solid var(--sc-border-neutral);cursor:pointer;height:18px;pointer-events:all;width:18px;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-moz-range-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:1px solid var(--sc-border-neutral);cursor:pointer;height:18px;pointer-events:all;width:18px}.searchcraft-slider-range .searchcraft-slider-input:focus::-webkit-slider-thumb{outline:2px solid var(--sc-surface-brand-primary)}.searchcraft-slider-range .searchcraft-slider-input:focus::-moz-range-thumb{outline:2px solid var(--sc-surface-brand-primary)}.searchcraft-slider-label{color:var(--sc-content-primary);display:flex;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);justify-content:space-between;margin-top:4px;width:100%}.searchcraft-slider-start-label,.searchcraft-slider-end-label{min-width:30px;text-align:center}.searchcraft-toggle-button{align-items:flex-start;display:flex;gap:10px;justify-content:space-between}.searchcraft-toggle-button-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);margin:0}.searchcraft-toggle-button-sub-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-secondary);margin:0}.searchcraft-toggle-button-background{background:var(--sc-surface-disabled);border-radius:var(--sc-border-radius-full);border:none;cursor:pointer;flex-shrink:0;height:26px;position:relative;transition:background-color .2s;width:44px}.searchcraft-toggle-button-handle{background:var(--sc-surface-neutral-light);border-radius:50%;height:18px;left:4px;position:absolute;top:calc(50% - 9px);transition:transform .3s ease;width:18px}.searchcraft-toggle-button-active .searchcraft-toggle-button-background{background:var(--sc-surface-brand-primary);box-shadow:0px 0px 0px 1px rgba(0,0,0,.05)}.searchcraft-toggle-button-active .searchcraft-toggle-button-handle{transform:translateX(16px)}.searchcraft-pagination{display:inline-grid;gap:16px;grid-template-columns:repeat(3, auto);grid-template-rows:1fr}.searchcraft-pagination-list{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius);display:flex;list-style-type:none;margin:0;overflow:hidden;padding:0;width:auto}.searchcraft-pagination-list li{border-right:1px solid var(--sc-border-neutral);height:100%;min-height:44px;width:44px}.searchcraft-pagination-list li:last-child{border-right:none}.searchcraft-pagination-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;background-color:var(--sc-surface-neutral-primary);border:none;display:flex;height:100%;justify-content:center;width:100%}.searchcraft-pagination-item-active{background-color:var(--sc-surface-brand-secondary);font-weight:var(--sc-font-bold)}.searchcraft-pagination-control{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius)}.searchcraft-pagination-range{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;display:flex}.searchcraft-select{display:flex;flex-direction:column;gap:4px}.searchcraft-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}.searchcraft-select-input-wrapper{position:relative}.searchcraft-select-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);appearance:none;background-color:var(--sc-surface-neutral-secondary);border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;height:44px;padding:0 44px 0 16px;width:100%}.searchcraft-select-input:hover{background-color:var(--sc-surface-neutral-secondary-hover)}.searchcraft-select-input:active{background-color:var(--sc-surface-neutral-secondary-active)}.searchcraft-select-input:focus{border-color:var(--sc-border-brand);outline:none}.searchcraft-select-input-icon{fill:none;pointer-events:none;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.searchcraft-select-caption{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page{display:flex}.searchcraft-search-results-per-page-select{align-items:center;display:flex;gap:12px}.searchcraft-search-results-per-page-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page-select-input{min-width:120px}.searchcraft-summary-box{padding:20px;border-radius:var(--sc-border-radius);background-color:var(--sc-surface-neutral-secondary);position:relative;min-height:200px;color:var(--sc-content-neutral-primary);font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-summary-box h1,.searchcraft-summary-box h2,.searchcraft-summary-box h3,.searchcraft-summary-box h4,.searchcraft-summary-box h5{padding-top:10px;padding-bottom:10px}.searchcraft-summary-box p{padding-bottom:10px}.searchcraft-summary-box img{max-width:200px}.searchcraft-summary-box ol,.searchcraft-summary-box ul{padding-left:1em;padding-bottom:10px}.searchcraft-summary-box a{color:var(--sc-content-brand)}.searchcraft-loading-label{position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);margin-top:40px;letter-spacing:2px;color:#828282;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal)}.searchcraft-loading-bars{margin:0 auto;width:60px;height:50px;text-align:center;position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);display:flex;gap:2px}.searchcraft-loading-bars>div{height:100%;width:8px;-webkit-animation:delay .8s infinite ease-in-out;animation:delay .8s infinite ease-in-out;opacity:.2}.searchcraft-loading-bars .searchcraft-loading-bar-1{background-color:var(--sc-surface-brand-primary);opacity:.1}.searchcraft-loading-bars .searchcraft-loading-bar-2{background-color:var(--sc-surface-brand-primary);animation-delay:-0.7s;opacity:.2}.searchcraft-loading-bars .searchcraft-loading-bar-3{background-color:var(--sc-surface-brand-primary);animation-delay:-0.6s;opacity:.3}.searchcraft-loading-bars .searchcraft-loading-bar-4{background-color:var(--sc-surface-brand-primary);animation-delay:-0.5s;opacity:.4}.searchcraft-loading-bars .searchcraft-loading-bar-5{background-color:var(--sc-surface-brand-primary);animation-delay:-0.4s;opacity:.5}.searchcraft-loading-bars .searchcraft-loading-bar-6{background-color:var(--sc-surface-brand-primary);animation-delay:-0.3s;opacity:.6}@keyframes delay{0%,40%,100%{transform:scaleY(0.05)}20%{transform:scaleY(1)}}/*# sourceMappingURL=hologram.css.map */
|
|
5099
5192
|
`, Qo = /* @__PURE__ */ ee(class extends J {
|
|
5100
5193
|
constructor() {
|
|
5101
5194
|
super(), this.__registerHost();
|
|
5102
5195
|
}
|
|
5103
5196
|
render() {
|
|
5104
|
-
return m("style", { key: "
|
|
5197
|
+
return m("style", { key: "13c28bb6075d6fcbec33938fd2227d9fb6129bf2" }, Yo);
|
|
5105
5198
|
}
|
|
5106
5199
|
}, [0, "searchcraft-theme"]);
|
|
5107
5200
|
function Ko() {
|
|
@@ -5116,7 +5209,7 @@ function Ko() {
|
|
|
5116
5209
|
});
|
|
5117
5210
|
}
|
|
5118
5211
|
const Xo = Ko, Jo = Sa, Ma = () => {
|
|
5119
|
-
Zn(), Qn(), Xn(), to(), uo(), po(), mo(), bo(), ko(), wo(), Ro(), $o(), _o(), Io(), Oo(), Fo(),
|
|
5212
|
+
Zn(), Qn(), Xn(), to(), uo(), po(), mo(), bo(), ko(), wo(), Ro(), $o(), _o(), Io(), Oo(), Fo(), Vo(), zo(), qo(), jo(), Zo(), Xo(), Jo();
|
|
5120
5213
|
};
|
|
5121
5214
|
globalThis.__scDefineCustomElements__ = Ma;
|
|
5122
5215
|
var he;
|
|
@@ -5400,7 +5493,7 @@ function ci(r) {
|
|
|
5400
5493
|
for (var o in t) t[o] > t[a] && (a = parseInt(o, 10));
|
|
5401
5494
|
return a;
|
|
5402
5495
|
}
|
|
5403
|
-
function
|
|
5496
|
+
function qt() {
|
|
5404
5497
|
if (typeof navigator > "u") return { name: "unknown", version: "unknown" };
|
|
5405
5498
|
for (var r = navigator.userAgent, t = { Edg: "Edge", OPR: "Opera" }, e = 0, s = [/(?<name>Edge|Edg)\/(?<version>\d+(?:\.\d+)?)/, /(?<name>(?:Chrome|Chromium|OPR|Opera|Vivaldi|Brave))\/(?<version>\d+(?:\.\d+)?)/, /(?<name>(?:Firefox|Waterfox|Iceweasel|IceCat))\/(?<version>\d+(?:\.\d+)?)/, /(?<name>Safari)\/(?<version>\d+(?:\.\d+)?)/, /(?<name>MSIE|Trident|IEMobile).+?(?<version>\d+(?:\.\d+)?)/, /(?<name>[A-Za-z]+)\/(?<version>\d+(?:\.\d+)?)/, /(?<name>SamsungBrowser)\/(?<version>\d+(?:\.\d+)?)/]; e < s.length; e++) {
|
|
5406
5499
|
var a = s[e], o = r.match(a);
|
|
@@ -5426,8 +5519,8 @@ Ie("audio", function() {
|
|
|
5426
5519
|
});
|
|
5427
5520
|
});
|
|
5428
5521
|
});
|
|
5429
|
-
var li =
|
|
5430
|
-
|
|
5522
|
+
var li = qt().name !== "SamsungBrowser" ? 1 : 3, js = 280, Ws = 20;
|
|
5523
|
+
qt().name != "Firefox" && Ie("canvas", function() {
|
|
5431
5524
|
return document.createElement("canvas").getContext("2d"), new Promise(function(r) {
|
|
5432
5525
|
var t = Array.from({ length: li }, function() {
|
|
5433
5526
|
return function() {
|
|
@@ -5508,7 +5601,7 @@ function gi() {
|
|
|
5508
5601
|
}
|
|
5509
5602
|
return 0;
|
|
5510
5603
|
}
|
|
5511
|
-
|
|
5604
|
+
qt().name != "Firefox" && Ie("fonts", function() {
|
|
5512
5605
|
var r = this;
|
|
5513
5606
|
return new Promise(function(t, e) {
|
|
5514
5607
|
try {
|
|
@@ -5609,11 +5702,11 @@ Vt().name != "Firefox" && Ie("fonts", function() {
|
|
|
5609
5702
|
});
|
|
5610
5703
|
}), Ie("system", function() {
|
|
5611
5704
|
return new Promise(function(r) {
|
|
5612
|
-
var t =
|
|
5705
|
+
var t = qt();
|
|
5613
5706
|
r({ platform: window.navigator.platform, cookieEnabled: window.navigator.cookieEnabled, productSub: navigator.productSub, product: navigator.product, useragent: navigator.userAgent, hardwareConcurrency: navigator.hardwareConcurrency, browser: { name: t.name, version: t.version }, applePayVersion: gi() });
|
|
5614
5707
|
});
|
|
5615
5708
|
});
|
|
5616
|
-
var ve, bi =
|
|
5709
|
+
var ve, bi = qt().name !== "SamsungBrowser" ? 1 : 3, F = null;
|
|
5617
5710
|
Ie("webgl", function() {
|
|
5618
5711
|
return Ge(this, void 0, void 0, function() {
|
|
5619
5712
|
var r;
|
|
@@ -6055,7 +6148,7 @@ const Zs = (r) => {
|
|
|
6055
6148
|
return h;
|
|
6056
6149
|
}, Ti = (r) => r ? Zs(r) : Zs;
|
|
6057
6150
|
ps.createStore = Ti;
|
|
6058
|
-
var ms = {}, Na = { exports: {} },
|
|
6151
|
+
var ms = {}, Na = { exports: {} }, z = {};
|
|
6059
6152
|
/**
|
|
6060
6153
|
* @license React
|
|
6061
6154
|
* react.production.js
|
|
@@ -6065,11 +6158,11 @@ var ms = {}, Na = { exports: {} }, H = {};
|
|
|
6065
6158
|
* This source code is licensed under the MIT license found in the
|
|
6066
6159
|
* LICENSE file in the root directory of this source tree.
|
|
6067
6160
|
*/
|
|
6068
|
-
var gs = Symbol.for("react.transitional.element"), Pi = Symbol.for("react.portal"), $i = Symbol.for("react.fragment"), _i = Symbol.for("react.strict_mode"), Ii = Symbol.for("react.profiler"), Ai = Symbol.for("react.consumer"), Mi = Symbol.for("react.context"), Oi = Symbol.for("react.forward_ref"), Li = Symbol.for("react.suspense"), Fi = Symbol.for("react.memo"),
|
|
6161
|
+
var gs = Symbol.for("react.transitional.element"), Pi = Symbol.for("react.portal"), $i = Symbol.for("react.fragment"), _i = Symbol.for("react.strict_mode"), Ii = Symbol.for("react.profiler"), Ai = Symbol.for("react.consumer"), Mi = Symbol.for("react.context"), Oi = Symbol.for("react.forward_ref"), Li = Symbol.for("react.suspense"), Fi = Symbol.for("react.memo"), za = Symbol.for("react.lazy"), Ys = Symbol.iterator;
|
|
6069
6162
|
function Di(r) {
|
|
6070
6163
|
return r === null || typeof r != "object" ? null : (r = Ys && r[Ys] || r["@@iterator"], typeof r == "function" ? r : null);
|
|
6071
6164
|
}
|
|
6072
|
-
var
|
|
6165
|
+
var Ha = {
|
|
6073
6166
|
isMounted: function() {
|
|
6074
6167
|
return !1;
|
|
6075
6168
|
},
|
|
@@ -6079,9 +6172,9 @@ var za = {
|
|
|
6079
6172
|
},
|
|
6080
6173
|
enqueueSetState: function() {
|
|
6081
6174
|
}
|
|
6082
|
-
},
|
|
6175
|
+
}, Ba = Object.assign, Ua = {};
|
|
6083
6176
|
function Et(r, t, e) {
|
|
6084
|
-
this.props = r, this.context = t, this.refs =
|
|
6177
|
+
this.props = r, this.context = t, this.refs = Ua, this.updater = e || Ha;
|
|
6085
6178
|
}
|
|
6086
6179
|
Et.prototype.isReactComponent = {};
|
|
6087
6180
|
Et.prototype.setState = function(r, t) {
|
|
@@ -6094,17 +6187,17 @@ Et.prototype.setState = function(r, t) {
|
|
|
6094
6187
|
Et.prototype.forceUpdate = function(r) {
|
|
6095
6188
|
this.updater.enqueueForceUpdate(this, r, "forceUpdate");
|
|
6096
6189
|
};
|
|
6097
|
-
function
|
|
6190
|
+
function Va() {
|
|
6098
6191
|
}
|
|
6099
|
-
|
|
6192
|
+
Va.prototype = Et.prototype;
|
|
6100
6193
|
function bs(r, t, e) {
|
|
6101
|
-
this.props = r, this.context = t, this.refs =
|
|
6194
|
+
this.props = r, this.context = t, this.refs = Ua, this.updater = e || Ha;
|
|
6102
6195
|
}
|
|
6103
|
-
var vs = bs.prototype = new
|
|
6196
|
+
var vs = bs.prototype = new Va();
|
|
6104
6197
|
vs.constructor = bs;
|
|
6105
|
-
|
|
6198
|
+
Ba(vs, Et.prototype);
|
|
6106
6199
|
vs.isPureReactComponent = !0;
|
|
6107
|
-
var Qs = Array.isArray, X = { H: null, A: null, T: null, S: null },
|
|
6200
|
+
var Qs = Array.isArray, X = { H: null, A: null, T: null, S: null }, qa = Object.prototype.hasOwnProperty;
|
|
6108
6201
|
function ys(r, t, e, s, a, o) {
|
|
6109
6202
|
return e = o.ref, {
|
|
6110
6203
|
$$typeof: gs,
|
|
@@ -6127,7 +6220,7 @@ function Ni(r, t) {
|
|
|
6127
6220
|
function ks(r) {
|
|
6128
6221
|
return typeof r == "object" && r !== null && r.$$typeof === gs;
|
|
6129
6222
|
}
|
|
6130
|
-
function
|
|
6223
|
+
function zi(r) {
|
|
6131
6224
|
var t = { "=": "=0", ":": "=2" };
|
|
6132
6225
|
return "$" + r.replace(/[=:]/g, function(e) {
|
|
6133
6226
|
return t[e];
|
|
@@ -6135,11 +6228,11 @@ function Hi(r) {
|
|
|
6135
6228
|
}
|
|
6136
6229
|
var Ks = /\/+/g;
|
|
6137
6230
|
function Yr(r, t) {
|
|
6138
|
-
return typeof r == "object" && r !== null && r.key != null ?
|
|
6231
|
+
return typeof r == "object" && r !== null && r.key != null ? zi("" + r.key) : t.toString(36);
|
|
6139
6232
|
}
|
|
6140
6233
|
function Xs() {
|
|
6141
6234
|
}
|
|
6142
|
-
function
|
|
6235
|
+
function Hi(r) {
|
|
6143
6236
|
switch (r.status) {
|
|
6144
6237
|
case "fulfilled":
|
|
6145
6238
|
return r.value;
|
|
@@ -6180,7 +6273,7 @@ function wt(r, t, e, s, a) {
|
|
|
6180
6273
|
case Pi:
|
|
6181
6274
|
n = !0;
|
|
6182
6275
|
break;
|
|
6183
|
-
case
|
|
6276
|
+
case za:
|
|
6184
6277
|
return n = r._init, wt(
|
|
6185
6278
|
n(r._payload),
|
|
6186
6279
|
t,
|
|
@@ -6223,7 +6316,7 @@ function wt(r, t, e, s, a) {
|
|
|
6223
6316
|
else if (o === "object") {
|
|
6224
6317
|
if (typeof r.then == "function")
|
|
6225
6318
|
return wt(
|
|
6226
|
-
|
|
6319
|
+
Hi(r),
|
|
6227
6320
|
t,
|
|
6228
6321
|
e,
|
|
6229
6322
|
s,
|
|
@@ -6242,7 +6335,7 @@ function gr(r, t, e) {
|
|
|
6242
6335
|
return t.call(e, o, a++);
|
|
6243
6336
|
}), s;
|
|
6244
6337
|
}
|
|
6245
|
-
function
|
|
6338
|
+
function Bi(r) {
|
|
6246
6339
|
if (r._status === -1) {
|
|
6247
6340
|
var t = r._result;
|
|
6248
6341
|
t = t(), t.then(
|
|
@@ -6272,9 +6365,9 @@ var Js = typeof reportError == "function" ? reportError : function(r) {
|
|
|
6272
6365
|
}
|
|
6273
6366
|
console.error(r);
|
|
6274
6367
|
};
|
|
6275
|
-
function
|
|
6368
|
+
function Ui() {
|
|
6276
6369
|
}
|
|
6277
|
-
|
|
6370
|
+
z.Children = {
|
|
6278
6371
|
map: gr,
|
|
6279
6372
|
forEach: function(r, t, e) {
|
|
6280
6373
|
gr(
|
|
@@ -6304,30 +6397,30 @@ H.Children = {
|
|
|
6304
6397
|
return r;
|
|
6305
6398
|
}
|
|
6306
6399
|
};
|
|
6307
|
-
|
|
6308
|
-
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
-
|
|
6400
|
+
z.Component = Et;
|
|
6401
|
+
z.Fragment = $i;
|
|
6402
|
+
z.Profiler = Ii;
|
|
6403
|
+
z.PureComponent = bs;
|
|
6404
|
+
z.StrictMode = _i;
|
|
6405
|
+
z.Suspense = Li;
|
|
6406
|
+
z.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = X;
|
|
6407
|
+
z.act = function() {
|
|
6315
6408
|
throw Error("act(...) is not supported in production builds of React.");
|
|
6316
6409
|
};
|
|
6317
|
-
|
|
6410
|
+
z.cache = function(r) {
|
|
6318
6411
|
return function() {
|
|
6319
6412
|
return r.apply(null, arguments);
|
|
6320
6413
|
};
|
|
6321
6414
|
};
|
|
6322
|
-
|
|
6415
|
+
z.cloneElement = function(r, t, e) {
|
|
6323
6416
|
if (r == null)
|
|
6324
6417
|
throw Error(
|
|
6325
6418
|
"The argument must be a React element, but you passed " + r + "."
|
|
6326
6419
|
);
|
|
6327
|
-
var s =
|
|
6420
|
+
var s = Ba({}, r.props), a = r.key, o = void 0;
|
|
6328
6421
|
if (t != null)
|
|
6329
6422
|
for (n in t.ref !== void 0 && (o = void 0), t.key !== void 0 && (a = "" + t.key), t)
|
|
6330
|
-
!
|
|
6423
|
+
!qa.call(t, n) || n === "key" || n === "__self" || n === "__source" || n === "ref" && t.ref === void 0 || (s[n] = t[n]);
|
|
6331
6424
|
var n = arguments.length - 2;
|
|
6332
6425
|
if (n === 1) s.children = e;
|
|
6333
6426
|
else if (1 < n) {
|
|
@@ -6337,7 +6430,7 @@ H.cloneElement = function(r, t, e) {
|
|
|
6337
6430
|
}
|
|
6338
6431
|
return ys(r.type, a, void 0, void 0, o, s);
|
|
6339
6432
|
};
|
|
6340
|
-
|
|
6433
|
+
z.createContext = function(r) {
|
|
6341
6434
|
return r = {
|
|
6342
6435
|
$$typeof: Mi,
|
|
6343
6436
|
_currentValue: r,
|
|
@@ -6350,11 +6443,11 @@ H.createContext = function(r) {
|
|
|
6350
6443
|
_context: r
|
|
6351
6444
|
}, r;
|
|
6352
6445
|
};
|
|
6353
|
-
|
|
6446
|
+
z.createElement = function(r, t, e) {
|
|
6354
6447
|
var s, a = {}, o = null;
|
|
6355
6448
|
if (t != null)
|
|
6356
6449
|
for (s in t.key !== void 0 && (o = "" + t.key), t)
|
|
6357
|
-
|
|
6450
|
+
qa.call(t, s) && s !== "key" && s !== "__self" && s !== "__source" && (a[s] = t[s]);
|
|
6358
6451
|
var n = arguments.length - 2;
|
|
6359
6452
|
if (n === 1) a.children = e;
|
|
6360
6453
|
else if (1 < n) {
|
|
@@ -6367,104 +6460,104 @@ H.createElement = function(r, t, e) {
|
|
|
6367
6460
|
a[s] === void 0 && (a[s] = n[s]);
|
|
6368
6461
|
return ys(r, o, void 0, void 0, null, a);
|
|
6369
6462
|
};
|
|
6370
|
-
|
|
6463
|
+
z.createRef = function() {
|
|
6371
6464
|
return { current: null };
|
|
6372
6465
|
};
|
|
6373
|
-
|
|
6466
|
+
z.forwardRef = function(r) {
|
|
6374
6467
|
return { $$typeof: Oi, render: r };
|
|
6375
6468
|
};
|
|
6376
|
-
|
|
6377
|
-
|
|
6469
|
+
z.isValidElement = ks;
|
|
6470
|
+
z.lazy = function(r) {
|
|
6378
6471
|
return {
|
|
6379
|
-
$$typeof:
|
|
6472
|
+
$$typeof: za,
|
|
6380
6473
|
_payload: { _status: -1, _result: r },
|
|
6381
|
-
_init:
|
|
6474
|
+
_init: Bi
|
|
6382
6475
|
};
|
|
6383
6476
|
};
|
|
6384
|
-
|
|
6477
|
+
z.memo = function(r, t) {
|
|
6385
6478
|
return {
|
|
6386
6479
|
$$typeof: Fi,
|
|
6387
6480
|
type: r,
|
|
6388
6481
|
compare: t === void 0 ? null : t
|
|
6389
6482
|
};
|
|
6390
6483
|
};
|
|
6391
|
-
|
|
6484
|
+
z.startTransition = function(r) {
|
|
6392
6485
|
var t = X.T, e = {};
|
|
6393
6486
|
X.T = e;
|
|
6394
6487
|
try {
|
|
6395
6488
|
var s = r(), a = X.S;
|
|
6396
|
-
a !== null && a(e, s), typeof s == "object" && s !== null && typeof s.then == "function" && s.then(
|
|
6489
|
+
a !== null && a(e, s), typeof s == "object" && s !== null && typeof s.then == "function" && s.then(Ui, Js);
|
|
6397
6490
|
} catch (o) {
|
|
6398
6491
|
Js(o);
|
|
6399
6492
|
} finally {
|
|
6400
6493
|
X.T = t;
|
|
6401
6494
|
}
|
|
6402
6495
|
};
|
|
6403
|
-
|
|
6496
|
+
z.unstable_useCacheRefresh = function() {
|
|
6404
6497
|
return X.H.useCacheRefresh();
|
|
6405
6498
|
};
|
|
6406
|
-
|
|
6499
|
+
z.use = function(r) {
|
|
6407
6500
|
return X.H.use(r);
|
|
6408
6501
|
};
|
|
6409
|
-
|
|
6502
|
+
z.useActionState = function(r, t, e) {
|
|
6410
6503
|
return X.H.useActionState(r, t, e);
|
|
6411
6504
|
};
|
|
6412
|
-
|
|
6505
|
+
z.useCallback = function(r, t) {
|
|
6413
6506
|
return X.H.useCallback(r, t);
|
|
6414
6507
|
};
|
|
6415
|
-
|
|
6508
|
+
z.useContext = function(r) {
|
|
6416
6509
|
return X.H.useContext(r);
|
|
6417
6510
|
};
|
|
6418
|
-
|
|
6511
|
+
z.useDebugValue = function() {
|
|
6419
6512
|
};
|
|
6420
|
-
|
|
6513
|
+
z.useDeferredValue = function(r, t) {
|
|
6421
6514
|
return X.H.useDeferredValue(r, t);
|
|
6422
6515
|
};
|
|
6423
|
-
|
|
6516
|
+
z.useEffect = function(r, t) {
|
|
6424
6517
|
return X.H.useEffect(r, t);
|
|
6425
6518
|
};
|
|
6426
|
-
|
|
6519
|
+
z.useId = function() {
|
|
6427
6520
|
return X.H.useId();
|
|
6428
6521
|
};
|
|
6429
|
-
|
|
6522
|
+
z.useImperativeHandle = function(r, t, e) {
|
|
6430
6523
|
return X.H.useImperativeHandle(r, t, e);
|
|
6431
6524
|
};
|
|
6432
|
-
|
|
6525
|
+
z.useInsertionEffect = function(r, t) {
|
|
6433
6526
|
return X.H.useInsertionEffect(r, t);
|
|
6434
6527
|
};
|
|
6435
|
-
|
|
6528
|
+
z.useLayoutEffect = function(r, t) {
|
|
6436
6529
|
return X.H.useLayoutEffect(r, t);
|
|
6437
6530
|
};
|
|
6438
|
-
|
|
6531
|
+
z.useMemo = function(r, t) {
|
|
6439
6532
|
return X.H.useMemo(r, t);
|
|
6440
6533
|
};
|
|
6441
|
-
|
|
6534
|
+
z.useOptimistic = function(r, t) {
|
|
6442
6535
|
return X.H.useOptimistic(r, t);
|
|
6443
6536
|
};
|
|
6444
|
-
|
|
6537
|
+
z.useReducer = function(r, t, e) {
|
|
6445
6538
|
return X.H.useReducer(r, t, e);
|
|
6446
6539
|
};
|
|
6447
|
-
|
|
6540
|
+
z.useRef = function(r) {
|
|
6448
6541
|
return X.H.useRef(r);
|
|
6449
6542
|
};
|
|
6450
|
-
|
|
6543
|
+
z.useState = function(r) {
|
|
6451
6544
|
return X.H.useState(r);
|
|
6452
6545
|
};
|
|
6453
|
-
|
|
6546
|
+
z.useSyncExternalStore = function(r, t, e) {
|
|
6454
6547
|
return X.H.useSyncExternalStore(
|
|
6455
6548
|
r,
|
|
6456
6549
|
t,
|
|
6457
6550
|
e
|
|
6458
6551
|
);
|
|
6459
6552
|
};
|
|
6460
|
-
|
|
6553
|
+
z.useTransition = function() {
|
|
6461
6554
|
return X.H.useTransition();
|
|
6462
6555
|
};
|
|
6463
|
-
|
|
6464
|
-
Na.exports =
|
|
6465
|
-
var ea = Na.exports,
|
|
6466
|
-
const
|
|
6467
|
-
function ja(r, t =
|
|
6556
|
+
z.version = "19.0.0";
|
|
6557
|
+
Na.exports = z;
|
|
6558
|
+
var ea = Na.exports, Vi = ps;
|
|
6559
|
+
const qi = (r) => r;
|
|
6560
|
+
function ja(r, t = qi) {
|
|
6468
6561
|
const e = ea.useSyncExternalStore(
|
|
6469
6562
|
r.subscribe,
|
|
6470
6563
|
() => t(r.getState()),
|
|
@@ -6473,7 +6566,7 @@ function ja(r, t = Vi) {
|
|
|
6473
6566
|
return ea.useDebugValue(e), e;
|
|
6474
6567
|
}
|
|
6475
6568
|
const ta = (r) => {
|
|
6476
|
-
const t =
|
|
6569
|
+
const t = Vi.createStore(r), e = (s) => ja(t, s);
|
|
6477
6570
|
return Object.assign(e, t), e;
|
|
6478
6571
|
}, ji = (r) => r ? ta(r) : ta;
|
|
6479
6572
|
ms.create = ji;
|
|
@@ -6555,12 +6648,12 @@ class Gi {
|
|
|
6555
6648
|
}
|
|
6556
6649
|
throw new Error(`HTTP ${I.status}`);
|
|
6557
6650
|
}
|
|
6558
|
-
const
|
|
6651
|
+
const H = I.body.getReader(), D = new TextDecoder();
|
|
6559
6652
|
let P = !1;
|
|
6560
6653
|
do {
|
|
6561
|
-
const { done: M, value:
|
|
6654
|
+
const { done: M, value: V } = await H.read();
|
|
6562
6655
|
P = M;
|
|
6563
|
-
const Y = D.decode(
|
|
6656
|
+
const Y = D.decode(V, { stream: !0 });
|
|
6564
6657
|
this.set((ge) => ({
|
|
6565
6658
|
isSummaryLoading: !1,
|
|
6566
6659
|
summary: `${ge.summary}${Y}`
|
|
@@ -6582,6 +6675,7 @@ const ra = {
|
|
|
6582
6675
|
hotkey: "k",
|
|
6583
6676
|
hotkeyModifier: "meta",
|
|
6584
6677
|
facetPathsForIndexFields: {},
|
|
6678
|
+
isFilterPanelVisible: !0,
|
|
6585
6679
|
isPopoverVisible: !1,
|
|
6586
6680
|
isSearchInProgress: !1,
|
|
6587
6681
|
rangeValueForIndexFields: {},
|
|
@@ -6666,11 +6760,11 @@ const ra = {
|
|
|
6666
6760
|
});
|
|
6667
6761
|
},
|
|
6668
6762
|
search: async (u) => {
|
|
6669
|
-
var
|
|
6763
|
+
var H, D, P;
|
|
6670
6764
|
const l = o();
|
|
6671
6765
|
if (!l.core)
|
|
6672
6766
|
throw new Error("Searchcraft instance is not initialized.");
|
|
6673
|
-
l.core.config.cortexURL && !(u != null && u.skipSummary) && ((
|
|
6767
|
+
l.core.config.cortexURL && !(u != null && u.skipSummary) && ((H = l.summaryClient) == null || H.streamSummaryData());
|
|
6674
6768
|
const p = typeof l.cachedSearchClientRequestProperties == "string" && l.searchTerm.trim() === "", C = Object.keys(l.facetPathsForIndexFields).length > 0 || Object.keys(l.rangeValueForIndexFields).length > 0, E = l.searchResultsPage !== 1, _ = l.searchMode !== "fuzzy";
|
|
6675
6769
|
if (!l.searchTerm.trim()) {
|
|
6676
6770
|
if (p && (C || E || _)) {
|
|
@@ -6739,6 +6833,9 @@ const ra = {
|
|
|
6739
6833
|
shouldCacheResultsForEmptyState: !1
|
|
6740
6834
|
});
|
|
6741
6835
|
},
|
|
6836
|
+
setFilterPanelVisibility: (u) => a({
|
|
6837
|
+
isFilterPanelVisible: u
|
|
6838
|
+
}),
|
|
6742
6839
|
setPopoverVisibility: (u) => a({
|
|
6743
6840
|
isPopoverVisible: u
|
|
6744
6841
|
}),
|
|
@@ -6962,7 +7059,7 @@ class Yi {
|
|
|
6962
7059
|
}), (t = this.adClient) == null || t.onInputCleared();
|
|
6963
7060
|
}
|
|
6964
7061
|
}
|
|
6965
|
-
const Qi = "@searchcraft/react-sdk", Ki = "0.
|
|
7062
|
+
const Qi = "@searchcraft/react-sdk", Ki = "0.13.0";
|
|
6966
7063
|
async function Fe(r, t) {
|
|
6967
7064
|
const e = Object.entries(t).map(([o, n]) => typeof n == "boolean" ? n ? o : "" : `${o}="${String(n)}"`).filter(Boolean).join(" "), s = `<${r} ${e}></${r}>`, a = await tn(s, {
|
|
6968
7065
|
fullDocument: !1,
|