@searchcraft/react-sdk 0.12.1 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/index.js +604 -487
- 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 +27 -0
- package/dist/server/index.js +626 -509
- package/dist/server/index.js.map +1 -1
- package/package.json +3 -3
package/dist/client/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var c = (t, r, e) =>
|
|
4
|
-
import { jsx as
|
|
5
|
-
import
|
|
1
|
+
var wn = Object.defineProperty;
|
|
2
|
+
var Sn = (t, r, e) => r in t ? wn(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
|
|
3
|
+
var c = (t, r, e) => Sn(t, typeof r != "symbol" ? r + "" : r, e);
|
|
4
|
+
import { jsx as Fe } from "react/jsx-runtime";
|
|
5
|
+
import Le from "react";
|
|
6
6
|
const Rn = "searchcraft-javascript-sdk", Et = (
|
|
7
7
|
/* searchcraft-javascript-sdk */
|
|
8
8
|
{ experimentalSlotFixes: !1, hydratedSelectorName: "hydrated", lazyLoad: !1, shadowDom: !1, slotRelocation: !0, updatable: !0 }
|
|
@@ -38,8 +38,8 @@ var En = Object.defineProperty, Tn = (t, r) => {
|
|
|
38
38
|
e.$onReadyPromise$ = new Promise((a) => e.$onReadyResolve$ = a), t["s-p"] = [], t["s-rc"] = [];
|
|
39
39
|
const s = as.set(t, e);
|
|
40
40
|
return In(t, e), s;
|
|
41
|
-
},
|
|
42
|
-
},
|
|
41
|
+
}, Fs = (t, r) => r in t, wr = (t, r) => (0, console.error)(t, r), Sr = typeof window < "u" ? window : {}, Rt = Sr.document || { head: {} }, J = Sr.HTMLElement || class {
|
|
42
|
+
}, we = {
|
|
43
43
|
$flags$: 0,
|
|
44
44
|
$resourcesUrl$: "",
|
|
45
45
|
jmp: (t) => t(),
|
|
@@ -47,19 +47,19 @@ var En = Object.defineProperty, Tn = (t, r) => {
|
|
|
47
47
|
ael: (t, r, e, s) => t.addEventListener(r, e, s),
|
|
48
48
|
rel: (t, r, e, s) => t.removeEventListener(r, e, s),
|
|
49
49
|
ce: (t, r) => new CustomEvent(t, r)
|
|
50
|
-
}, Mn = Et.shadowDom, On = (t) => Promise.resolve(t), Kr = !1,
|
|
51
|
-
t.push(e), Kr || (Kr = !0,
|
|
50
|
+
}, Mn = Et.shadowDom, On = (t) => Promise.resolve(t), Kr = !1, Ls = [], ia = [], Fn = (t, r) => (e) => {
|
|
51
|
+
t.push(e), Kr || (Kr = !0, we.$flags$ & 4 ? ns(Xr) : we.raf(Xr));
|
|
52
52
|
}, Ds = (t) => {
|
|
53
53
|
for (let r = 0; r < t.length; r++)
|
|
54
54
|
try {
|
|
55
55
|
t[r](performance.now());
|
|
56
56
|
} catch (e) {
|
|
57
|
-
|
|
57
|
+
wr(e);
|
|
58
58
|
}
|
|
59
59
|
t.length = 0;
|
|
60
60
|
}, Xr = () => {
|
|
61
|
-
Ds(
|
|
62
|
-
}, ns = (t) => On().then(t),
|
|
61
|
+
Ds(Ls), Ds(ia), (Kr = Ls.length > 0) && we.raf(Xr);
|
|
62
|
+
}, ns = (t) => On().then(t), Ln = /* @__PURE__ */ Fn(ia), os = (t) => (t = typeof t, t === "object" || t === "function"), Dn = {};
|
|
63
63
|
Tn(Dn, {
|
|
64
64
|
err: () => ca,
|
|
65
65
|
map: () => Nn,
|
|
@@ -99,7 +99,7 @@ var zn = (t) => {
|
|
|
99
99
|
const r = t.__childNodes || t.childNodes;
|
|
100
100
|
t.tagName && t.tagName.includes("-") && t["s-cr"] && t.tagName !== "SLOT-FB" && ua(r, t.tagName).forEach((e) => {
|
|
101
101
|
var s;
|
|
102
|
-
e.nodeType === 1 && e.tagName === "SLOT-FB" && ((s =
|
|
102
|
+
e.nodeType === 1 && e.tagName === "SLOT-FB" && ((s = Bn(e, e["s-sn"], !1)) != null && s.length ? e.hidden = !0 : e.hidden = !1);
|
|
103
103
|
});
|
|
104
104
|
for (const e of r)
|
|
105
105
|
e.nodeType === 1 && (e.__childNodes || e.childNodes).length && la(e);
|
|
@@ -110,30 +110,30 @@ function ua(t, r, e) {
|
|
|
110
110
|
o = t[s], o["s-sr"] && o["s-hn"] === r && e === void 0 && a.push(o), a = [...a, ...ua(o.childNodes, r, e)];
|
|
111
111
|
return a;
|
|
112
112
|
}
|
|
113
|
-
var
|
|
113
|
+
var Bn = (t, r, e = !0) => {
|
|
114
114
|
const s = [];
|
|
115
115
|
for ((e && t["s-sr"] || !t["s-sr"]) && s.push(t); (t = t.nextSibling) && t["s-sn"] === r; )
|
|
116
116
|
s.push(t);
|
|
117
117
|
return s;
|
|
118
|
-
}, Ns = (t, r) => t.nodeType === 1 ? t.getAttribute("slot") === null && r === "" || t.getAttribute("slot") === r : t["s-sn"] === r ? !0 : r === "",
|
|
118
|
+
}, Ns = (t, r) => t.nodeType === 1 ? t.getAttribute("slot") === null && r === "" || t.getAttribute("slot") === r : t["s-sn"] === r ? !0 : r === "", Bt = (t, r = "") => () => {
|
|
119
119
|
}, m = (t, r, ...e) => {
|
|
120
120
|
let s = null, a = null, o = null, n = !1, h = !1;
|
|
121
121
|
const u = [], l = (C) => {
|
|
122
|
-
for (let
|
|
123
|
-
s = C[
|
|
122
|
+
for (let S = 0; S < C.length; S++)
|
|
123
|
+
s = C[S], Array.isArray(s) ? l(s) : s != null && typeof s != "boolean" && ((n = typeof t != "function" && !os(s)) && (s = String(s)), n && h ? u[u.length - 1].$text$ += s : u.push(n ? yr(null, s) : s), h = n);
|
|
124
124
|
};
|
|
125
125
|
if (l(e), r) {
|
|
126
126
|
r.key && (a = r.key), r.name && (o = r.name);
|
|
127
127
|
{
|
|
128
128
|
const C = r.className || r.class;
|
|
129
|
-
C && (r.class = typeof C != "object" ? C : Object.keys(C).filter((
|
|
129
|
+
C && (r.class = typeof C != "object" ? C : Object.keys(C).filter((S) => C[S]).join(" "));
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
if (typeof t == "function")
|
|
133
133
|
return t(
|
|
134
134
|
r === null ? {} : r,
|
|
135
135
|
u,
|
|
136
|
-
|
|
136
|
+
qn
|
|
137
137
|
);
|
|
138
138
|
const p = yr(t, null);
|
|
139
139
|
return p.$attrs$ = r, u.length > 0 && (p.$children$ = u), p.$key$ = a, p.$name$ = o, p;
|
|
@@ -146,7 +146,7 @@ var Un = (t, r, e = !0) => {
|
|
|
146
146
|
$children$: null
|
|
147
147
|
};
|
|
148
148
|
return e.$attrs$ = null, e.$key$ = null, e.$name$ = null, e;
|
|
149
|
-
},
|
|
149
|
+
}, Un = {}, Vn = (t) => t && t.$tag$ === Un, qn = {
|
|
150
150
|
forEach: (t, r) => t.map(zs).forEach(r),
|
|
151
151
|
map: (t, r) => t.map(zs).map(r).map(jn)
|
|
152
152
|
}, zs = (t) => ({
|
|
@@ -174,14 +174,14 @@ var Un = (t, r, e = !0) => {
|
|
|
174
174
|
})
|
|
175
175
|
};
|
|
176
176
|
}, da = (t, r, e) => {
|
|
177
|
-
const s =
|
|
177
|
+
const s = we.ce(r, e);
|
|
178
178
|
return t.dispatchEvent(s), s;
|
|
179
179
|
}, dr = /* @__PURE__ */ new WeakMap(), Hs = (t, r, e, s, a, o) => {
|
|
180
180
|
if (e !== s) {
|
|
181
|
-
let n =
|
|
181
|
+
let n = Fs(t, r), h = r.toLowerCase();
|
|
182
182
|
if (r === "class") {
|
|
183
|
-
const u = t.classList, l =
|
|
184
|
-
let p =
|
|
183
|
+
const u = t.classList, l = Bs(e);
|
|
184
|
+
let p = Bs(s);
|
|
185
185
|
t["s-si"] ? (p.push(t["s-si"]), l.forEach((C) => {
|
|
186
186
|
C.startsWith(t["s-si"]) && p.push(C);
|
|
187
187
|
}), p = [...new Set(p)], u.add(...p), delete t["s-si"]) : (u.remove(...l.filter((C) => C && !p.includes(C))), u.add(...p.filter((C) => C && !l.includes(C))));
|
|
@@ -191,9 +191,9 @@ var Un = (t, r, e = !0) => {
|
|
|
191
191
|
for (const u in s)
|
|
192
192
|
(!e || s[u] !== e[u]) && (u.includes("-") ? t.style.setProperty(u, s[u]) : t.style[u] = s[u]);
|
|
193
193
|
} else if (r !== "key") if (!t.__lookupSetter__(r) && r[0] === "o" && r[1] === "n") {
|
|
194
|
-
if (r[2] === "-" ? r = r.slice(3) :
|
|
194
|
+
if (r[2] === "-" ? r = r.slice(3) : Fs(Sr, h) ? r = h.slice(2) : r = h[2] + r.slice(3), e || s) {
|
|
195
195
|
const u = r.endsWith(fa);
|
|
196
|
-
r = r.replace(Zn, ""), e &&
|
|
196
|
+
r = r.replace(Zn, ""), e && we.rel(t, r, e, u), s && we.ael(t, r, s, u);
|
|
197
197
|
}
|
|
198
198
|
} else {
|
|
199
199
|
const u = os(s);
|
|
@@ -210,14 +210,14 @@ var Un = (t, r, e = !0) => {
|
|
|
210
210
|
s == null || s === !1 ? (s !== !1 || t.getAttribute(r) === "") && t.removeAttribute(r) : (!n || o & 4 || a) && !u && (s = s === !0 ? "" : s, t.setAttribute(r, s));
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
}, Gn = /\s/,
|
|
213
|
+
}, Gn = /\s/, Bs = (t) => (typeof t == "object" && "baseVal" in t && (t = t.baseVal), t ? t.split(Gn) : []), fa = "Capture", Zn = new RegExp(fa + "$"), pa = (t, r, e) => {
|
|
214
214
|
const s = r.$elm$.nodeType === 11 && r.$elm$.host ? r.$elm$.host : r.$elm$, a = t && t.$attrs$ || {}, o = r.$attrs$ || {};
|
|
215
|
-
for (const n of
|
|
215
|
+
for (const n of Us(Object.keys(a)))
|
|
216
216
|
n in o || Hs(s, n, a[n], void 0, e, r.$flags$);
|
|
217
|
-
for (const n of
|
|
217
|
+
for (const n of Us(Object.keys(o)))
|
|
218
218
|
Hs(s, n, a[n], o[n], e, r.$flags$);
|
|
219
219
|
};
|
|
220
|
-
function
|
|
220
|
+
function Us(t) {
|
|
221
221
|
return t.includes("ref") ? (
|
|
222
222
|
// we need to sort these to ensure that `'ref'` is the last attr
|
|
223
223
|
[...t.filter((r) => r !== "ref"), "ref"]
|
|
@@ -252,31 +252,31 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
|
|
|
252
252
|
h = xr(t, 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"] = is, a.$flags$ & 3 && (n["s-sr"] = !0, n["s-cr"] = es, n["s-sn"] = a.$name$ || "", n["s-rf"] = (s = a.$attrs$) == null ? void 0 : s.ref, u = t && t.$children$ && t.$children$[e], u && u.$tag$ === a.$tag$ && t.$elm$ &&
|
|
256
|
-
},
|
|
257
|
-
|
|
255
|
+
return n["s-hn"] = is, a.$flags$ & 3 && (n["s-sr"] = !0, n["s-cr"] = es, n["s-sn"] = a.$name$ || "", n["s-rf"] = (s = a.$attrs$) == null ? void 0 : s.ref, u = t && t.$children$ && t.$children$[e], u && u.$tag$ === a.$tag$ && t.$elm$ && Ut(t.$elm$, !1)), n;
|
|
256
|
+
}, Ut = (t, r) => {
|
|
257
|
+
we.$flags$ |= 1;
|
|
258
258
|
const e = Array.from(t.__childNodes || t.childNodes);
|
|
259
259
|
t["s-sr"] && Et.experimentalSlotFixes;
|
|
260
260
|
for (let s = e.length - 1; s >= 0; s--) {
|
|
261
261
|
const a = e[s];
|
|
262
|
-
a["s-hn"] !== is && a["s-ol"] && (st(
|
|
262
|
+
a["s-hn"] !== is && a["s-ol"] && (st(Vt(a).parentNode, a, Vt(a)), a["s-ol"].remove(), a["s-ol"] = void 0, a["s-sh"] = void 0, cs = !0), r && Ut(a, r);
|
|
263
263
|
}
|
|
264
|
-
|
|
264
|
+
we.$flags$ &= -2;
|
|
265
265
|
}, ma = (t, r, e, s, a, o) => {
|
|
266
266
|
let n = t["s-cr"] && t["s-cr"].parentNode || t, h;
|
|
267
267
|
for (; a <= o; ++a)
|
|
268
|
-
s[a] && (h = xr(null, e, a), h && (s[a].$elm$ = h, st(n, h,
|
|
268
|
+
s[a] && (h = xr(null, e, a), h && (s[a].$elm$ = h, st(n, h, Vt(r))));
|
|
269
269
|
}, ga = (t, r, e) => {
|
|
270
270
|
for (let s = r; s <= e; ++s) {
|
|
271
271
|
const a = t[s];
|
|
272
272
|
if (a) {
|
|
273
273
|
const o = a.$elm$;
|
|
274
|
-
o && (Cr = !0, o["s-ol"] ? o["s-ol"].remove() :
|
|
274
|
+
o && (Cr = !0, o["s-ol"] ? o["s-ol"].remove() : Ut(o, !0), o.remove());
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
}, Yn = (t, r, e, s, a = !1) => {
|
|
278
|
-
let o = 0, n = 0, h = 0, u = 0, l = r.length - 1, p = r[0], C = r[l],
|
|
279
|
-
for (; o <= l && n <=
|
|
278
|
+
let o = 0, n = 0, h = 0, u = 0, l = r.length - 1, p = r[0], C = r[l], S = s.length - 1, P = s[0], $ = s[S], z, D;
|
|
279
|
+
for (; o <= l && n <= S; )
|
|
280
280
|
if (p == null)
|
|
281
281
|
p = r[++o];
|
|
282
282
|
else if (C == null)
|
|
@@ -284,36 +284,36 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
|
|
|
284
284
|
else if (P == null)
|
|
285
285
|
P = s[++n];
|
|
286
286
|
else if ($ == null)
|
|
287
|
-
$ = s[--
|
|
287
|
+
$ = s[--S];
|
|
288
288
|
else if (fr(p, P, a))
|
|
289
|
-
|
|
289
|
+
wt(p, P, a), p = r[++o], P = s[++n];
|
|
290
290
|
else if (fr(C, $, a))
|
|
291
|
-
|
|
291
|
+
wt(C, $, a), C = r[--l], $ = s[--S];
|
|
292
292
|
else if (fr(p, $, a))
|
|
293
|
-
(p.$tag$ === "slot" || $.$tag$ === "slot") &&
|
|
293
|
+
(p.$tag$ === "slot" || $.$tag$ === "slot") && Ut(p.$elm$.parentNode, !1), wt(p, $, a), st(t, p.$elm$, C.$elm$.nextSibling), p = r[++o], $ = s[--S];
|
|
294
294
|
else if (fr(C, P, a))
|
|
295
|
-
(p.$tag$ === "slot" || $.$tag$ === "slot") &&
|
|
295
|
+
(p.$tag$ === "slot" || $.$tag$ === "slot") && Ut(C.$elm$.parentNode, !1), wt(C, P, a), st(t, C.$elm$, p.$elm$), C = r[--l], P = s[++n];
|
|
296
296
|
else {
|
|
297
297
|
for (h = -1, u = o; u <= l; ++u)
|
|
298
298
|
if (r[u] && r[u].$key$ !== null && r[u].$key$ === P.$key$) {
|
|
299
299
|
h = u;
|
|
300
300
|
break;
|
|
301
301
|
}
|
|
302
|
-
h >= 0 ? (D = r[h], D.$tag$ !== P.$tag$ ? z = xr(r && r[n], e, h) : (
|
|
303
|
-
|
|
302
|
+
h >= 0 ? (D = r[h], D.$tag$ !== P.$tag$ ? z = xr(r && r[n], e, h) : (wt(D, P, a), r[h] = void 0, z = D.$elm$), P = s[++n]) : (z = xr(r && r[n], e, n), P = s[++n]), z && st(
|
|
303
|
+
Vt(p.$elm$).parentNode,
|
|
304
304
|
z,
|
|
305
|
-
|
|
305
|
+
Vt(p.$elm$)
|
|
306
306
|
);
|
|
307
307
|
}
|
|
308
308
|
o > l ? ma(
|
|
309
309
|
t,
|
|
310
|
-
s[
|
|
310
|
+
s[S + 1] == null ? null : s[S + 1].$elm$,
|
|
311
311
|
e,
|
|
312
312
|
s,
|
|
313
313
|
n,
|
|
314
|
-
|
|
315
|
-
) : n >
|
|
316
|
-
}, fr = (t, r, e = !1) => t.$tag$ === r.$tag$ ? t.$tag$ === "slot" ? t.$name$ === r.$name$ : e ? (e && !t.$key$ && r.$key$ && (t.$key$ = r.$key$), !0) : t.$key$ === r.$key$ : !1,
|
|
314
|
+
S
|
|
315
|
+
) : n > S && ga(r, o, l);
|
|
316
|
+
}, fr = (t, r, e = !1) => t.$tag$ === r.$tag$ ? t.$tag$ === "slot" ? t.$name$ === r.$name$ : e ? (e && !t.$key$ && r.$key$ && (t.$key$ = r.$key$), !0) : t.$key$ === r.$key$ : !1, Vt = (t) => t && t["s-ol"] || t, wt = (t, r, e = !1) => {
|
|
317
317
|
const s = r.$elm$ = t.$elm$, a = t.$children$, o = r.$children$, n = r.$tag$, h = r.$text$;
|
|
318
318
|
let u;
|
|
319
319
|
h === null ? (Re = n === "svg" ? !0 : n === "foreignObject" ? !1 : Re, n === "slot" && !kr || pa(t, r, Re), a !== null && o !== null ? Yn(s, a, r, o, e) : o !== null ? (t.$text$ !== null && (s.textContent = ""), ma(s, null, r, o, 0, o.length - 1)) : (
|
|
@@ -345,26 +345,26 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
|
|
|
345
345
|
}
|
|
346
346
|
}, st = (t, r, e) => t == null ? void 0 : t.insertBefore(r, e), Qn = (t, r, e = !1) => {
|
|
347
347
|
var s, a, o, n;
|
|
348
|
-
const h = t.$hostElement$, u = t.$vnode$ || yr(null, null), l =
|
|
348
|
+
const h = t.$hostElement$, u = t.$vnode$ || yr(null, null), l = Vn(r) ? r : m(null, null, r);
|
|
349
349
|
if (is = h.tagName, e && l.$attrs$)
|
|
350
350
|
for (const p of Object.keys(l.$attrs$))
|
|
351
351
|
h.hasAttribute(p) && !["key", "ref", "style", "class"].includes(p) && (l.$attrs$[p] = h[p]);
|
|
352
|
-
l.$tag$ = null, l.$flags$ |= 4, t.$vnode$ = l, l.$elm$ = u.$elm$ = h, kr = Mn, es = h["s-cr"], Cr = !1,
|
|
352
|
+
l.$tag$ = null, l.$flags$ |= 4, t.$vnode$ = l, l.$elm$ = u.$elm$ = h, kr = Mn, es = h["s-cr"], Cr = !1, wt(u, l, e);
|
|
353
353
|
{
|
|
354
|
-
if (
|
|
354
|
+
if (we.$flags$ |= 1, cs) {
|
|
355
355
|
ba(l.$elm$);
|
|
356
356
|
for (const p of Ge) {
|
|
357
357
|
const C = p.$nodeToRelocate$;
|
|
358
358
|
if (!C["s-ol"]) {
|
|
359
|
-
const
|
|
360
|
-
|
|
359
|
+
const S = Rt.createTextNode("");
|
|
360
|
+
S["s-nr"] = C, st(C.parentNode, C["s-ol"] = S, C);
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
for (const p of Ge) {
|
|
364
|
-
const C = p.$nodeToRelocate$,
|
|
365
|
-
if (
|
|
366
|
-
const P =
|
|
367
|
-
let $ =
|
|
364
|
+
const C = p.$nodeToRelocate$, S = p.$slotRefNode$;
|
|
365
|
+
if (S) {
|
|
366
|
+
const P = S.parentNode;
|
|
367
|
+
let $ = S.nextSibling;
|
|
368
368
|
{
|
|
369
369
|
let I = (s = C["s-ol"]) == null ? void 0 : s.previousSibling;
|
|
370
370
|
for (; I; ) {
|
|
@@ -381,12 +381,12 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
|
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
const z = C.__parentNode || C.parentNode, D = C.__nextSibling || C.nextSibling;
|
|
384
|
-
(!$ && P !== z || D !== $) && C !== $ && (!C["s-hn"] && C["s-ol"] && (C["s-hn"] = C["s-ol"].parentNode.nodeName), st(P, C, $), C.nodeType === 1 && C.tagName !== "SLOT-FB" && (C.hidden = (o = C["s-ih"]) != null ? o : !1)), C && typeof
|
|
384
|
+
(!$ && P !== z || D !== $) && C !== $ && (!C["s-hn"] && C["s-ol"] && (C["s-hn"] = C["s-ol"].parentNode.nodeName), st(P, C, $), C.nodeType === 1 && C.tagName !== "SLOT-FB" && (C.hidden = (o = C["s-ih"]) != null ? o : !1)), C && typeof S["s-rf"] == "function" && S["s-rf"](C);
|
|
385
385
|
} else
|
|
386
386
|
C.nodeType === 1 && (e && (C["s-ih"] = (n = C.hidden) != null ? n : !1), C.hidden = !0);
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
|
-
Cr && la(l.$elm$),
|
|
389
|
+
Cr && la(l.$elm$), we.$flags$ &= -2, Ge.length = 0;
|
|
390
390
|
}
|
|
391
391
|
es = void 0;
|
|
392
392
|
}, va = (t, r) => {
|
|
@@ -404,9 +404,9 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
|
|
|
404
404
|
t.$flags$ |= 512;
|
|
405
405
|
return;
|
|
406
406
|
}
|
|
407
|
-
return va(t, t.$ancestorComponent$),
|
|
407
|
+
return va(t, t.$ancestorComponent$), Ln(() => Kn(t, r));
|
|
408
408
|
}, Kn = (t, r) => {
|
|
409
|
-
const e = t.$hostElement$, s =
|
|
409
|
+
const e = t.$hostElement$, s = Bt("scheduleUpdate", t.$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 es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
|
|
|
417
417
|
console.error(e), r();
|
|
418
418
|
}) : r(), Jn = (t) => t instanceof Promise || t && t.then && typeof t.then == "function", eo = async (t, r, e) => {
|
|
419
419
|
var s;
|
|
420
|
-
const a = t.$hostElement$, o =
|
|
420
|
+
const a = t.$hostElement$, o = Bt("update", t.$cmpMeta$.$tagName$), n = a["s-rc"], h = Bt("render", t.$cmpMeta$.$tagName$);
|
|
421
421
|
to(t, r, 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 = () => ro(t);
|
|
@@ -427,25 +427,25 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
|
|
|
427
427
|
try {
|
|
428
428
|
r = r.render(), t.$flags$ &= -17, t.$flags$ |= 2, Qn(t, r, s);
|
|
429
429
|
} catch (a) {
|
|
430
|
-
|
|
430
|
+
wr(a, t.$hostElement$);
|
|
431
431
|
}
|
|
432
432
|
return null;
|
|
433
433
|
}, ro = (t) => {
|
|
434
|
-
const r = t.$cmpMeta$.$tagName$, e = t.$hostElement$, s =
|
|
434
|
+
const r = t.$cmpMeta$.$tagName$, e = t.$hostElement$, s = Bt("postUpdate", r), a = e, o = t.$ancestorComponent$;
|
|
435
435
|
t.$flags$ & 64 ? s() : (t.$flags$ |= 64, ya(e), ao(a, "componentDidLoad", void 0, e), s(), t.$onReadyResolve$(e), o || so()), t.$onRenderResolve$ && (t.$onRenderResolve$(), t.$onRenderResolve$ = void 0), t.$flags$ & 512 && ns(() => ls(t, !1)), t.$flags$ &= -517;
|
|
436
436
|
}, so = (t) => {
|
|
437
|
-
ya(Rt.documentElement), ns(() => da(
|
|
437
|
+
ya(Rt.documentElement), ns(() => da(Sr, "appload", { detail: { namespace: Rn } }));
|
|
438
438
|
}, ao = (t, r, e, s) => {
|
|
439
439
|
if (t && t[r])
|
|
440
440
|
try {
|
|
441
441
|
return t[r](e);
|
|
442
442
|
} catch (a) {
|
|
443
|
-
|
|
443
|
+
wr(a, s);
|
|
444
444
|
}
|
|
445
445
|
}, ya = (t) => {
|
|
446
446
|
var r;
|
|
447
447
|
return t.classList.add((r = Et.hydratedSelectorName) != null ? r : "hydrated");
|
|
448
|
-
}, no = (t, r) => at(t).$instanceValues$.get(r),
|
|
448
|
+
}, no = (t, r) => at(t).$instanceValues$.get(r), Vs = (t, r, e, s) => {
|
|
449
449
|
const a = at(t), o = t, n = a.$instanceValues$.get(r), h = a.$flags$, u = o;
|
|
450
450
|
e = ha(e, s.$members$[r][0]);
|
|
451
451
|
const l = Number.isNaN(n) && Number.isNaN(e);
|
|
@@ -454,11 +454,11 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
|
|
|
454
454
|
{
|
|
455
455
|
if (s.$watchers$ && h & 128) {
|
|
456
456
|
const C = s.$watchers$[r];
|
|
457
|
-
C && C.map((
|
|
457
|
+
C && C.map((S) => {
|
|
458
458
|
try {
|
|
459
|
-
u[
|
|
459
|
+
u[S](e, n, r);
|
|
460
460
|
} catch (P) {
|
|
461
|
-
|
|
461
|
+
wr(P, o);
|
|
462
462
|
}
|
|
463
463
|
});
|
|
464
464
|
}
|
|
@@ -482,14 +482,14 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
|
|
|
482
482
|
enumerable: !0
|
|
483
483
|
}), Object.defineProperty(o, h, {
|
|
484
484
|
set(C) {
|
|
485
|
-
const
|
|
485
|
+
const S = at(this);
|
|
486
486
|
if (p) {
|
|
487
|
-
const P = u & 32 ? this[h] :
|
|
488
|
-
typeof P > "u" &&
|
|
487
|
+
const P = u & 32 ? this[h] : S.$hostElement$[h];
|
|
488
|
+
typeof P > "u" && S.$instanceValues$.get(h) ? C = S.$instanceValues$.get(h) : !S.$instanceValues$.get(h) && P && S.$instanceValues$.set(h, P), p.apply(this, [ha(C, u)]), C = u & 32 ? this[h] : S.$hostElement$[h], Vs(this, h, C, r);
|
|
489
489
|
return;
|
|
490
490
|
}
|
|
491
491
|
{
|
|
492
|
-
|
|
492
|
+
Vs(this, h, C, r);
|
|
493
493
|
return;
|
|
494
494
|
}
|
|
495
495
|
}
|
|
@@ -499,26 +499,26 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
|
|
|
499
499
|
{
|
|
500
500
|
const h = /* @__PURE__ */ new Map();
|
|
501
501
|
o.attributeChangedCallback = function(u, l, p) {
|
|
502
|
-
|
|
502
|
+
we.jmp(() => {
|
|
503
503
|
var C;
|
|
504
|
-
const
|
|
505
|
-
if (!(this.hasOwnProperty(
|
|
506
|
-
if (o.hasOwnProperty(
|
|
507
|
-
this[
|
|
504
|
+
const S = h.get(u);
|
|
505
|
+
if (!(this.hasOwnProperty(S) && Et.lazyLoad)) {
|
|
506
|
+
if (o.hasOwnProperty(S) && typeof this[S] == "number" && // cast type to number to avoid TS compiler issues
|
|
507
|
+
this[S] == p)
|
|
508
508
|
return;
|
|
509
|
-
if (
|
|
509
|
+
if (S == null) {
|
|
510
510
|
const $ = at(this), z = $ == null ? void 0 : $.$flags$;
|
|
511
511
|
if (z && !(z & 8) && z & 128 && p !== l) {
|
|
512
512
|
const I = this, M = (C = r.$watchers$) == null ? void 0 : C[u];
|
|
513
|
-
M == null || M.forEach((
|
|
514
|
-
I[
|
|
513
|
+
M == null || M.forEach((V) => {
|
|
514
|
+
I[V] != null && I[V].call(I, p, l, u);
|
|
515
515
|
});
|
|
516
516
|
}
|
|
517
517
|
return;
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
|
-
const P = Object.getOwnPropertyDescriptor(o,
|
|
521
|
-
p = p === null && typeof this[
|
|
520
|
+
const P = Object.getOwnPropertyDescriptor(o, S);
|
|
521
|
+
p = p === null && typeof this[S] == "boolean" ? !1 : p, p !== this[S] && (!P.get || P.set) && (this[S] = p);
|
|
522
522
|
});
|
|
523
523
|
}, t.observedAttributes = Array.from(
|
|
524
524
|
/* @__PURE__ */ new Set([
|
|
@@ -550,8 +550,8 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
|
|
|
550
550
|
a && a["s-rc"] ? a["s-rc"].push(o) : o();
|
|
551
551
|
}, co = (t, r) => {
|
|
552
552
|
}, lo = (t) => {
|
|
553
|
-
if (!(
|
|
554
|
-
const r = at(t), e = r.$cmpMeta$, s =
|
|
553
|
+
if (!(we.$flags$ & 1)) {
|
|
554
|
+
const r = at(t), e = r.$cmpMeta$, s = Bt("connectedCallback", e.$tagName$);
|
|
555
555
|
if (r.$flags$ & 1)
|
|
556
556
|
r != null && r.$lazyInstance$ || r != null && r.$onReadyPromise$ && r.$onReadyPromise$.then(() => co());
|
|
557
557
|
else {
|
|
@@ -580,7 +580,7 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
|
|
|
580
580
|
);
|
|
581
581
|
r["s-cn"] = !0, st(t, r, t.firstChild);
|
|
582
582
|
}, ho = async (t) => {
|
|
583
|
-
|
|
583
|
+
we.$flags$ & 1 || at(t), dr.has(t) && dr.delete(t), t.shadowRoot && dr.has(t.shadowRoot) && dr.delete(t.shadowRoot);
|
|
584
584
|
}, ee = (t, r) => {
|
|
585
585
|
const e = {
|
|
586
586
|
$flags$: r[0],
|
|
@@ -597,7 +597,7 @@ var es, is, kr = !1, Cr = !1, cs = !1, Re = !1, xr = (t, r, e) => {
|
|
|
597
597
|
this.__hasHostListenerAttached || (at(this), this.__hasHostListenerAttached = !0), lo(this), s && s.call(this);
|
|
598
598
|
},
|
|
599
599
|
disconnectedCallback() {
|
|
600
|
-
ho(this), a && a.call(this),
|
|
600
|
+
ho(this), a && a.call(this), we.raf(() => {
|
|
601
601
|
var o;
|
|
602
602
|
const n = at(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 && _n(this);
|
|
@@ -669,66 +669,66 @@ var Ca = 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
|
|
678
|
-
function oe(
|
|
677
|
+
const S = oe(Array.prototype.forEach), P = oe(Array.prototype.lastIndexOf), $ = oe(Array.prototype.pop), z = oe(Array.prototype.push), D = oe(Array.prototype.splice), I = 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), Ke = Pr(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 Pr(
|
|
685
|
+
function Pr(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] : I;
|
|
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 $r(
|
|
707
|
-
for (let O = 0; O <
|
|
708
|
-
ae(
|
|
709
|
-
return
|
|
706
|
+
function $r(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] = $r(U) : U && typeof U == "object" && U.constructor === Object ? O[q] = $e(U) : O[q] = U);
|
|
715
715
|
return O;
|
|
716
716
|
}
|
|
717
|
-
function nt(
|
|
718
|
-
for (;
|
|
719
|
-
const
|
|
720
|
-
if (
|
|
721
|
-
if (
|
|
722
|
-
return oe(
|
|
723
|
-
if (typeof
|
|
724
|
-
return oe(
|
|
717
|
+
function nt(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 Wt = 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"]), Xe = 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"]), ot = 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"]), Ir = 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"]), ft = 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"]), pt = h(["#text"]), Pt = 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"]), $t = 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"]), Gt = 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"]), mt = h(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ar = u(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Zt = u(/<%[\w\W]*|[\w\W]*%>/gm), Mr = u(/\$\{[\w\W]*/gm), gt = u(/^data-[\-\w.\u00B7-\uFFFF]+$/), It = u(/^aria-[\-\w]+$/), _t = u(
|
|
734
734
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
@@ -736,12 +736,12 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
736
736
|
), Or = u(/^(?:\w+script|data):/i), Yt = u(
|
|
737
737
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
738
738
|
// eslint-disable-line no-control-regex
|
|
739
|
-
), Qt = u(/^html$/i),
|
|
739
|
+
), Qt = u(/^html$/i), Fr = u(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
740
740
|
var Kt = /* @__PURE__ */ Object.freeze({
|
|
741
741
|
__proto__: null,
|
|
742
742
|
ARIA_ATTR: It,
|
|
743
743
|
ATTR_WHITESPACE: Yt,
|
|
744
|
-
CUSTOM_ELEMENT:
|
|
744
|
+
CUSTOM_ELEMENT: Fr,
|
|
745
745
|
DATA_ATTR: gt,
|
|
746
746
|
DOCTYPE_NAME: Qt,
|
|
747
747
|
ERB_EXPR: Zt,
|
|
@@ -757,15 +757,15 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
757
757
|
progressingInstruction: 7,
|
|
758
758
|
comment: 8,
|
|
759
759
|
document: 9
|
|
760
|
-
},
|
|
760
|
+
}, Lr = function() {
|
|
761
761
|
return typeof window > "u" ? null : window;
|
|
762
|
-
}, Dr = function(O,
|
|
762
|
+
}, Dr = 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(et) {
|
|
@@ -792,39 +792,39 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
792
792
|
};
|
|
793
793
|
};
|
|
794
794
|
function Xt() {
|
|
795
|
-
let
|
|
796
|
-
const O = (
|
|
797
|
-
if (O.version = "3.2.4", O.removed = [], !
|
|
795
|
+
let B = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Lr();
|
|
796
|
+
const O = (F) => Xt(F);
|
|
797
|
+
if (O.version = "3.2.4", O.removed = [], !B || !B.document || B.document.nodeType !== Je.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: et,
|
|
805
805
|
Node: bt,
|
|
806
806
|
Element: Mt,
|
|
807
807
|
NodeFilter: it,
|
|
808
|
-
NamedNodeMap: Ot =
|
|
808
|
+
NamedNodeMap: Ot = B.NamedNodeMap || B.MozNamedAttrMap,
|
|
809
809
|
HTMLFormElement: zr,
|
|
810
|
-
DOMParser:
|
|
810
|
+
DOMParser: Ft,
|
|
811
811
|
trustedTypes: vt
|
|
812
|
-
} =
|
|
812
|
+
} = B, Ae = Mt.prototype, ct = nt(Ae, "cloneNode"), Hr = nt(Ae, "remove"), Jt = nt(Ae, "nextSibling"), Ee = nt(Ae, "childNodes"), lt = nt(Ae, "parentNode");
|
|
813
813
|
if (typeof et == "function") {
|
|
814
|
-
const
|
|
815
|
-
|
|
814
|
+
const F = q.createElement("template");
|
|
815
|
+
F.content && F.content.ownerDocument && (q = F.content.ownerDocument);
|
|
816
816
|
}
|
|
817
817
|
let ce, Ie = "";
|
|
818
818
|
const {
|
|
819
|
-
implementation:
|
|
819
|
+
implementation: Lt,
|
|
820
820
|
createNodeIterator: er,
|
|
821
|
-
createDocumentFragment:
|
|
821
|
+
createDocumentFragment: Br,
|
|
822
822
|
getElementsByTagName: ut
|
|
823
|
-
} =
|
|
823
|
+
} = q, {
|
|
824
824
|
importNode: Te
|
|
825
|
-
} =
|
|
825
|
+
} = U;
|
|
826
826
|
let te = At();
|
|
827
|
-
O.isSupported = typeof e == "function" && typeof lt == "function" &&
|
|
827
|
+
O.isSupported = typeof e == "function" && typeof lt == "function" && Lt && Lt.createHTMLDocument !== void 0;
|
|
828
828
|
const {
|
|
829
829
|
MUSTACHE_EXPR: tt,
|
|
830
830
|
ERB_EXPR: ke,
|
|
@@ -833,7 +833,7 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
833
833
|
ARIA_ATTR: ze,
|
|
834
834
|
IS_SCRIPT_OR_DATA: j,
|
|
835
835
|
ATTR_WHITESPACE: rr,
|
|
836
|
-
CUSTOM_ELEMENT:
|
|
836
|
+
CUSTOM_ELEMENT: Ur
|
|
837
837
|
} = Kt;
|
|
838
838
|
let {
|
|
839
839
|
IS_ALLOWED_URI: sr
|
|
@@ -860,28 +860,28 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
860
860
|
enumerable: !0,
|
|
861
861
|
value: !1
|
|
862
862
|
}
|
|
863
|
-
})), He = null, f = null, i = !0, d = !0, g = !1, v = !0, y = !1, R = !0, k = !1, T = !1, x = !1,
|
|
863
|
+
})), He = null, f = null, i = !0, d = !0, g = !1, v = !0, y = !1, R = !0, k = !1, T = !1, x = !1, w = !1, G = !1, _ = !1, se = !0, W = !1;
|
|
864
864
|
const fe = "user-content-";
|
|
865
|
-
let yt = !0,
|
|
865
|
+
let yt = !0, Be = !1, Ue = {}, Ve = null;
|
|
866
866
|
const Dt = 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 or = null;
|
|
868
868
|
const kt = N({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
869
|
-
let
|
|
869
|
+
let qe = null;
|
|
870
870
|
const xs = N({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), ir = "http://www.w3.org/1998/Math/MathML", cr = "http://www.w3.org/2000/svg", je = "http://www.w3.org/1999/xhtml";
|
|
871
|
-
let Ct = je,
|
|
871
|
+
let Ct = je, Vr = !1, qr = null;
|
|
872
872
|
const gn = N({}, [ir, cr, je], M);
|
|
873
873
|
let lr = N({}, ["mi", "mo", "mn", "ms", "mtext"]), ur = N({}, ["annotation-xml"]);
|
|
874
874
|
const bn = N({}, ["title", "style", "font", "a", "script"]);
|
|
875
875
|
let Nt = null;
|
|
876
876
|
const vn = ["application/xhtml+xml", "text/html"], yn = "text/html";
|
|
877
877
|
let le = null, xt = null;
|
|
878
|
-
const kn =
|
|
878
|
+
const kn = q.createElement("form"), ws = function(b) {
|
|
879
879
|
return b instanceof RegExp || b instanceof Function;
|
|
880
880
|
}, jr = function() {
|
|
881
881
|
let b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
882
882
|
if (!(xt && xt === b)) {
|
|
883
883
|
if ((!b || typeof b != "object") && (b = {}), b = $e(b), Nt = // eslint-disable-next-line unicorn/prefer-includes
|
|
884
|
-
vn.indexOf(b.PARSER_MEDIA_TYPE) === -1 ? yn : b.PARSER_MEDIA_TYPE, le = Nt === "application/xhtml+xml" ? M : I, re = ae(b, "ALLOWED_TAGS") ? N({}, b.ALLOWED_TAGS, le) : ar, ne = ae(b, "ALLOWED_ATTR") ? N({}, b.ALLOWED_ATTR, le) : nr,
|
|
884
|
+
vn.indexOf(b.PARSER_MEDIA_TYPE) === -1 ? yn : b.PARSER_MEDIA_TYPE, le = Nt === "application/xhtml+xml" ? M : I, re = ae(b, "ALLOWED_TAGS") ? N({}, b.ALLOWED_TAGS, le) : ar, ne = ae(b, "ALLOWED_ATTR") ? N({}, b.ALLOWED_ATTR, le) : nr, qr = ae(b, "ALLOWED_NAMESPACES") ? N({}, b.ALLOWED_NAMESPACES, M) : gn, qe = ae(b, "ADD_URI_SAFE_ATTR") ? N($e(xs), b.ADD_URI_SAFE_ATTR, le) : xs, or = ae(b, "ADD_DATA_URI_TAGS") ? N($e(kt), b.ADD_DATA_URI_TAGS, le) : kt, Ve = ae(b, "FORBID_CONTENTS") ? N({}, b.FORBID_CONTENTS, le) : Dt, He = ae(b, "FORBID_TAGS") ? N({}, b.FORBID_TAGS, le) : {}, f = ae(b, "FORBID_ATTR") ? N({}, b.FORBID_ATTR, le) : {}, Ue = ae(b, "USE_PROFILES") ? b.USE_PROFILES : !1, i = b.ALLOW_ARIA_ATTR !== !1, d = b.ALLOW_DATA_ATTR !== !1, g = b.ALLOW_UNKNOWN_PROTOCOLS || !1, v = b.ALLOW_SELF_CLOSE_IN_ATTR !== !1, y = b.SAFE_FOR_TEMPLATES || !1, R = 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, yt = b.KEEP_CONTENT !== !1, Be = b.IN_PLACE || !1, sr = b.ALLOWED_URI_REGEXP || _t, Ct = b.NAMESPACE || je, lr = b.MATHML_TEXT_INTEGRATION_POINTS || lr, ur = b.HTML_INTEGRATION_POINTS || ur, K = b.CUSTOM_ELEMENT_HANDLING || {}, b.CUSTOM_ELEMENT_HANDLING && ws(b.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (K.tagNameCheck = b.CUSTOM_ELEMENT_HANDLING.tagNameCheck), b.CUSTOM_ELEMENT_HANDLING && ws(b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (K.attributeNameCheck = b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), b.CUSTOM_ELEMENT_HANDLING && typeof b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (K.allowCustomizedBuiltInElements = b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), y && (d = !1), G && (w = !0), Ue && (re = N({}, pt), ne = [], Ue.html === !0 && (N(re, Wt), N(ne, Pt)), Ue.svg === !0 && (N(re, Xe), N(ne, $t), N(ne, mt)), Ue.svgFilters === !0 && (N(re, ot), N(ne, $t), N(ne, mt)), Ue.mathMl === !0 && (N(re, ft), N(ne, Gt), N(ne, mt))), b.ADD_TAGS && (re === ar && (re = $e(re)), N(re, b.ADD_TAGS, le)), b.ADD_ATTR && (ne === nr && (ne = $e(ne)), N(ne, b.ADD_ATTR, le)), b.ADD_URI_SAFE_ATTR && N(qe, b.ADD_URI_SAFE_ATTR, le), b.FORBID_CONTENTS && (Ve === Dt && (Ve = $e(Ve)), N(Ve, b.FORBID_CONTENTS, le)), yt && (re["#text"] = !0), k && N(re, ["html", "head", "body"]), re.table && (N(re, ["tbody"]), delete He.tbody), b.TRUSTED_TYPES_POLICY) {
|
|
885
885
|
if (typeof b.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
886
886
|
throw Ke('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
887
887
|
if (typeof b.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -891,14 +891,14 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
891
891
|
ce === void 0 && (ce = Dr(vt, ie)), ce !== null && typeof Ie == "string" && (Ie = ce.createHTML(""));
|
|
892
892
|
h && h(b), xt = b;
|
|
893
893
|
}
|
|
894
|
-
},
|
|
894
|
+
}, Ss = N({}, [...Xe, ...ot, ...Ir]), Rs = N({}, [...ft, ..._r]), Cn = function(b) {
|
|
895
895
|
let E = lt(b);
|
|
896
896
|
(!E || !E.tagName) && (E = {
|
|
897
897
|
namespaceURI: Ct,
|
|
898
898
|
tagName: "template"
|
|
899
899
|
});
|
|
900
900
|
const A = I(b.tagName), Q = I(E.tagName);
|
|
901
|
-
return
|
|
901
|
+
return qr[b.namespaceURI] ? b.namespaceURI === cr ? E.namespaceURI === je ? A === "svg" : E.namespaceURI === ir ? A === "svg" && (Q === "annotation-xml" || lr[Q]) : !!Ss[A] : b.namespaceURI === ir ? E.namespaceURI === je ? A === "math" : E.namespaceURI === cr ? A === "math" && ur[Q] : !!Rs[A] : b.namespaceURI === je ? E.namespaceURI === cr && !ur[Q] || E.namespaceURI === ir && !lr[Q] ? !1 : !Rs[A] && (bn[A] || !Ss[A]) : !!(Nt === "application/xhtml+xml" && qr[b.namespaceURI]) : !1;
|
|
902
902
|
}, Me = function(b) {
|
|
903
903
|
z(O.removed, {
|
|
904
904
|
element: b
|
|
@@ -921,7 +921,7 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
921
921
|
});
|
|
922
922
|
}
|
|
923
923
|
if (E.removeAttribute(b), b === "is")
|
|
924
|
-
if (
|
|
924
|
+
if (w || G)
|
|
925
925
|
try {
|
|
926
926
|
Me(E);
|
|
927
927
|
} catch {
|
|
@@ -936,25 +936,25 @@ var Ca = 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
942
|
Nt === "application/xhtml+xml" && Ct === je && (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
944
|
if (Ct === je)
|
|
945
945
|
try {
|
|
946
|
-
E = new
|
|
946
|
+
E = new Ft().parseFromString(Q, Nt);
|
|
947
947
|
} catch {
|
|
948
948
|
}
|
|
949
949
|
if (!E || !E.documentElement) {
|
|
950
|
-
E =
|
|
950
|
+
E = Lt.createDocument(Ct, "template", null);
|
|
951
951
|
try {
|
|
952
|
-
E.documentElement.innerHTML =
|
|
952
|
+
E.documentElement.innerHTML = Vr ? Ie : Q;
|
|
953
953
|
} catch {
|
|
954
954
|
}
|
|
955
955
|
}
|
|
956
956
|
const pe = E.body || E.documentElement;
|
|
957
|
-
return b && A && pe.insertBefore(
|
|
957
|
+
return b && A && pe.insertBefore(q.createTextNode(A), pe.childNodes[0] || null), Ct === je ? ut.call(E, k ? "html" : "body")[0] : k ? E.documentElement : pe;
|
|
958
958
|
}, Ts = function(b) {
|
|
959
959
|
return er.call(
|
|
960
960
|
b.ownerDocument || b,
|
|
@@ -968,8 +968,8 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
968
968
|
}, Ps = function(b) {
|
|
969
969
|
return typeof bt == "function" && b instanceof bt;
|
|
970
970
|
};
|
|
971
|
-
function We(
|
|
972
|
-
|
|
971
|
+
function We(F, b, E) {
|
|
972
|
+
S(F, (A) => {
|
|
973
973
|
A.call(O, b, E, xt);
|
|
974
974
|
});
|
|
975
975
|
}
|
|
@@ -986,7 +986,7 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
986
986
|
if (!re[A] || He[A]) {
|
|
987
987
|
if (!He[A] && _s(A) && (K.tagNameCheck instanceof RegExp && Z(K.tagNameCheck, A) || K.tagNameCheck instanceof Function && K.tagNameCheck(A)))
|
|
988
988
|
return !1;
|
|
989
|
-
if (yt && !
|
|
989
|
+
if (yt && !Ve[A]) {
|
|
990
990
|
const Q = lt(b) || b.parentNode, pe = Ee(b) || b.childNodes;
|
|
991
991
|
if (pe && Q) {
|
|
992
992
|
const ue = pe.length;
|
|
@@ -998,13 +998,13 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
998
998
|
}
|
|
999
999
|
return Me(b), !0;
|
|
1000
1000
|
}
|
|
1001
|
-
return b instanceof Mt && !Cn(b) || (A === "noscript" || A === "noembed" || A === "noframes") && Z(/<\/no(script|embed|frames)/i, b.innerHTML) ? (Me(b), !0) : (y && b.nodeType === Je.text && (E = b.textContent,
|
|
1001
|
+
return b instanceof Mt && !Cn(b) || (A === "noscript" || A === "noembed" || A === "noframes") && Z(/<\/no(script|embed|frames)/i, b.innerHTML) ? (Me(b), !0) : (y && b.nodeType === Je.text && (E = b.textContent, S([tt, ke, Ne], (Q) => {
|
|
1002
1002
|
E = Y(E, Q, " ");
|
|
1003
1003
|
}), b.textContent !== E && (z(O.removed, {
|
|
1004
1004
|
element: b.cloneNode()
|
|
1005
1005
|
}), b.textContent = E)), We(te.afterSanitizeElements, b, null), !1);
|
|
1006
1006
|
}, Is = function(b, E, A) {
|
|
1007
|
-
if (se && (E === "id" || E === "name") && (A in
|
|
1007
|
+
if (se && (E === "id" || E === "name") && (A in q || A in kn))
|
|
1008
1008
|
return !1;
|
|
1009
1009
|
if (!(d && !f[E] && Z(tr, E))) {
|
|
1010
1010
|
if (!(i && Z(ze, E))) {
|
|
@@ -1017,7 +1017,7 @@ var Ca = 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
|
E === "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 (!qe[E]) {
|
|
1021
1021
|
if (!Z(sr, Y(A, rr, ""))) {
|
|
1022
1022
|
if (!((E === "src" || E === "xlink:href" || E === "href") && b !== "script" && ge(A, "data:") === 0 && or[b])) {
|
|
1023
1023
|
if (!(g && !Z(j, Y(A, rr, "")))) {
|
|
@@ -1031,7 +1031,7 @@ var Ca = 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, Ur);
|
|
1035
1035
|
}, As = function(b) {
|
|
1036
1036
|
We(te.beforeSanitizeAttributes, b, null);
|
|
1037
1037
|
const {
|
|
@@ -1053,7 +1053,7 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1053
1053
|
namespaceURI: Ce,
|
|
1054
1054
|
value: Oe
|
|
1055
1055
|
} = pe, zt = le(ue);
|
|
1056
|
-
let be = ue === "value" ? Oe :
|
|
1056
|
+
let be = ue === "value" ? Oe : Se(Oe);
|
|
1057
1057
|
if (A.attrName = zt, A.attrValue = be, A.keepAttr = !0, A.forceKeepAttr = void 0, We(te.uponSanitizeAttribute, b, A), be = A.attrValue, W && (zt === "id" || zt === "name") && (hr(ue, b), be = fe + be), R && Z(/((--!?|])>)|<\/(style|title)/i, be)) {
|
|
1058
1058
|
hr(ue, b);
|
|
1059
1059
|
continue;
|
|
@@ -1064,7 +1064,7 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1064
1064
|
hr(ue, b);
|
|
1065
1065
|
continue;
|
|
1066
1066
|
}
|
|
1067
|
-
y &&
|
|
1067
|
+
y && S([tt, ke, Ne], (Os) => {
|
|
1068
1068
|
be = Y(be, Os, " ");
|
|
1069
1069
|
});
|
|
1070
1070
|
const Ms = le(b.nodeName);
|
|
@@ -1087,76 +1087,76 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1087
1087
|
}
|
|
1088
1088
|
}
|
|
1089
1089
|
We(te.afterSanitizeAttributes, b, null);
|
|
1090
|
-
}, xn = function
|
|
1090
|
+
}, xn = function F(b) {
|
|
1091
1091
|
let E = null;
|
|
1092
1092
|
const A = Ts(b);
|
|
1093
1093
|
for (We(te.beforeSanitizeShadowDOM, b, null); E = A.nextNode(); )
|
|
1094
|
-
We(te.uponSanitizeShadowNode, E, null), $s(E), As(E), E.content instanceof ye &&
|
|
1094
|
+
We(te.uponSanitizeShadowNode, E, null), $s(E), As(E), E.content instanceof ye && F(E.content);
|
|
1095
1095
|
We(te.afterSanitizeShadowDOM, b, null);
|
|
1096
1096
|
};
|
|
1097
|
-
return O.sanitize = function(
|
|
1097
|
+
return O.sanitize = function(F) {
|
|
1098
1098
|
let b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, E = null, A = null, Q = null, pe = null;
|
|
1099
|
-
if (
|
|
1100
|
-
if (typeof
|
|
1101
|
-
if (
|
|
1099
|
+
if (Vr = !F, Vr && (F = "<!-->"), typeof F != "string" && !Ps(F))
|
|
1100
|
+
if (typeof F.toString == "function") {
|
|
1101
|
+
if (F = F.toString(), typeof F != "string")
|
|
1102
1102
|
throw Ke("dirty is not a string, aborting");
|
|
1103
1103
|
} else
|
|
1104
1104
|
throw Ke("toString is not a function");
|
|
1105
1105
|
if (!O.isSupported)
|
|
1106
|
-
return
|
|
1107
|
-
if (T || jr(b), O.removed = [], typeof
|
|
1108
|
-
if (
|
|
1109
|
-
const Oe = le(
|
|
1106
|
+
return F;
|
|
1107
|
+
if (T || jr(b), O.removed = [], typeof F == "string" && (Be = !1), Be) {
|
|
1108
|
+
if (F.nodeName) {
|
|
1109
|
+
const Oe = le(F.nodeName);
|
|
1110
1110
|
if (!re[Oe] || He[Oe])
|
|
1111
1111
|
throw Ke("root node is forbidden and cannot be sanitized in-place");
|
|
1112
1112
|
}
|
|
1113
|
-
} else if (
|
|
1114
|
-
E = Es("<!---->"), A = E.ownerDocument.importNode(
|
|
1113
|
+
} else if (F instanceof bt)
|
|
1114
|
+
E = Es("<!---->"), A = E.ownerDocument.importNode(F, !0), A.nodeType === Je.element && A.nodeName === "BODY" || A.nodeName === "HTML" ? E = A : E.appendChild(A);
|
|
1115
1115
|
else {
|
|
1116
|
-
if (!
|
|
1117
|
-
|
|
1118
|
-
return ce && _ ? ce.createHTML(
|
|
1119
|
-
if (E = Es(
|
|
1120
|
-
return
|
|
1116
|
+
if (!w && !y && !k && // eslint-disable-next-line unicorn/prefer-includes
|
|
1117
|
+
F.indexOf("<") === -1)
|
|
1118
|
+
return ce && _ ? ce.createHTML(F) : F;
|
|
1119
|
+
if (E = Es(F), !E)
|
|
1120
|
+
return w ? null : _ ? Ie : "";
|
|
1121
1121
|
}
|
|
1122
1122
|
E && x && Me(E.firstChild);
|
|
1123
|
-
const ue = Ts(
|
|
1123
|
+
const ue = Ts(Be ? F : E);
|
|
1124
1124
|
for (; Q = ue.nextNode(); )
|
|
1125
1125
|
$s(Q), As(Q), Q.content instanceof ye && xn(Q.content);
|
|
1126
|
-
if (
|
|
1127
|
-
return
|
|
1128
|
-
if (
|
|
1126
|
+
if (Be)
|
|
1127
|
+
return F;
|
|
1128
|
+
if (w) {
|
|
1129
1129
|
if (G)
|
|
1130
|
-
for (pe =
|
|
1130
|
+
for (pe = Br.call(E.ownerDocument); E.firstChild; )
|
|
1131
1131
|
pe.appendChild(E.firstChild);
|
|
1132
1132
|
else
|
|
1133
1133
|
pe = E;
|
|
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 ? E.outerHTML : E.innerHTML;
|
|
1137
1137
|
return k && re["!doctype"] && E.ownerDocument && E.ownerDocument.doctype && E.ownerDocument.doctype.name && Z(Qt, E.ownerDocument.doctype.name) && (Ce = "<!DOCTYPE " + E.ownerDocument.doctype.name + `>
|
|
1138
|
-
` + Ce), y &&
|
|
1138
|
+
` + Ce), y && S([tt, ke, Ne], (Oe) => {
|
|
1139
1139
|
Ce = Y(Ce, Oe, " ");
|
|
1140
1140
|
}), ce && _ ? ce.createHTML(Ce) : Ce;
|
|
1141
1141
|
}, O.setConfig = function() {
|
|
1142
|
-
let
|
|
1143
|
-
jr(
|
|
1142
|
+
let F = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1143
|
+
jr(F), T = !0;
|
|
1144
1144
|
}, O.clearConfig = function() {
|
|
1145
1145
|
xt = null, T = !1;
|
|
1146
|
-
}, O.isValidAttribute = function(
|
|
1146
|
+
}, O.isValidAttribute = function(F, b, E) {
|
|
1147
1147
|
xt || jr({});
|
|
1148
|
-
const A = le(
|
|
1148
|
+
const A = le(F), Q = le(b);
|
|
1149
1149
|
return Is(A, Q, E);
|
|
1150
|
-
}, O.addHook = function(
|
|
1151
|
-
typeof b == "function" && z(te[
|
|
1152
|
-
}, O.removeHook = function(
|
|
1150
|
+
}, O.addHook = function(F, b) {
|
|
1151
|
+
typeof b == "function" && z(te[F], b);
|
|
1152
|
+
}, O.removeHook = function(F, b) {
|
|
1153
1153
|
if (b !== void 0) {
|
|
1154
|
-
const E = P(te[
|
|
1155
|
-
return E === -1 ? void 0 : D(te[
|
|
1154
|
+
const E = P(te[F], b);
|
|
1155
|
+
return E === -1 ? void 0 : D(te[F], E, 1)[0];
|
|
1156
1156
|
}
|
|
1157
|
-
return $(te[
|
|
1158
|
-
}, O.removeHooks = function(
|
|
1159
|
-
te[
|
|
1157
|
+
return $(te[F]);
|
|
1158
|
+
}, O.removeHooks = function(F) {
|
|
1159
|
+
te[F] = [];
|
|
1160
1160
|
}, O.removeAllHooks = function() {
|
|
1161
1161
|
te = At();
|
|
1162
1162
|
}, O;
|
|
@@ -1165,10 +1165,10 @@ var Ca = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1165
1165
|
return Nr;
|
|
1166
1166
|
});
|
|
1167
1167
|
})(xa);
|
|
1168
|
-
const
|
|
1168
|
+
const wa = xa.exports, qt = (t, ...r) => {
|
|
1169
1169
|
let e = t[0];
|
|
1170
1170
|
for (let s = 0; s < r.length; s++)
|
|
1171
|
-
e +=
|
|
1171
|
+
e += wa.sanitize(r[s] ? String(r[s]) : "") + t[s + 1];
|
|
1172
1172
|
return e || "";
|
|
1173
1173
|
}, ts = "searchcraft";
|
|
1174
1174
|
class po {
|
|
@@ -1303,7 +1303,7 @@ const go = /* @__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: qt
|
|
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 go = /* @__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: qt })), 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;
|
|
@@ -1440,7 +1440,7 @@ function Tr() {
|
|
|
1440
1440
|
}
|
|
1441
1441
|
});
|
|
1442
1442
|
}
|
|
1443
|
-
const Co = Tr,
|
|
1443
|
+
const Co = Tr, Sa = (t, r) => {
|
|
1444
1444
|
let e = t;
|
|
1445
1445
|
for (const s of r)
|
|
1446
1446
|
e = e == null ? void 0 : e.children[s];
|
|
@@ -1454,10 +1454,10 @@ const Co = Tr, wa = (t, r) => {
|
|
|
1454
1454
|
function xo(t) {
|
|
1455
1455
|
return t.filter((r, e, s) => !s.some((a, o) => o !== e && a.includes(r)));
|
|
1456
1456
|
}
|
|
1457
|
-
const
|
|
1457
|
+
const qs = (t, r) => {
|
|
1458
1458
|
const e = structuredClone(t), s = (a, o) => {
|
|
1459
1459
|
var u;
|
|
1460
|
-
const n = structuredClone(a), h =
|
|
1460
|
+
const n = structuredClone(a), h = Sa(r, o);
|
|
1461
1461
|
if (!h)
|
|
1462
1462
|
return n;
|
|
1463
1463
|
for (const l of Object.keys(a.children))
|
|
@@ -1468,32 +1468,47 @@ const Vs = (t, r) => {
|
|
|
1468
1468
|
return n;
|
|
1469
1469
|
};
|
|
1470
1470
|
return s(e, []);
|
|
1471
|
-
}, Gr = (t) => {
|
|
1472
|
-
const
|
|
1471
|
+
}, Gr = (t, r) => {
|
|
1472
|
+
const e = {
|
|
1473
1473
|
path: "/",
|
|
1474
1474
|
count: 0,
|
|
1475
1475
|
children: {}
|
|
1476
|
-
},
|
|
1477
|
-
if (
|
|
1478
|
-
for (const
|
|
1479
|
-
|
|
1476
|
+
}, s = [], a = (o) => {
|
|
1477
|
+
if (o.path !== "/" && s.push({ path: o.path, count: o.count }), o.children)
|
|
1478
|
+
for (const n of o.children)
|
|
1479
|
+
a(n);
|
|
1480
1480
|
};
|
|
1481
|
-
|
|
1482
|
-
for (const { path:
|
|
1483
|
-
const
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
const
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1481
|
+
a(t);
|
|
1482
|
+
for (const { path: o, count: n } of s) {
|
|
1483
|
+
const h = o.split("/").filter(Boolean);
|
|
1484
|
+
if (r && r.length > 0) {
|
|
1485
|
+
let l = !1;
|
|
1486
|
+
for (const p of r)
|
|
1487
|
+
if (p.startsWith("/")) {
|
|
1488
|
+
if (o === p || o.startsWith(`${p}/`)) {
|
|
1489
|
+
l = !0;
|
|
1490
|
+
break;
|
|
1491
|
+
}
|
|
1492
|
+
} else if (h.includes(p)) {
|
|
1493
|
+
l = !0;
|
|
1494
|
+
break;
|
|
1495
|
+
}
|
|
1496
|
+
if (l)
|
|
1497
|
+
continue;
|
|
1498
|
+
}
|
|
1499
|
+
let u = e;
|
|
1500
|
+
for (const l of h) {
|
|
1501
|
+
const p = u.path === "/" ? `/${l}` : `${u.path}/${l}`;
|
|
1502
|
+
u.children[l] || (u.children[l] = {
|
|
1503
|
+
path: p,
|
|
1504
|
+
count: n,
|
|
1490
1505
|
children: {}
|
|
1491
|
-
}),
|
|
1506
|
+
}), u = u.children[l];
|
|
1492
1507
|
}
|
|
1493
|
-
|
|
1508
|
+
u.count = n;
|
|
1494
1509
|
}
|
|
1495
|
-
return
|
|
1496
|
-
},
|
|
1510
|
+
return e;
|
|
1511
|
+
}, wo = /* @__PURE__ */ ee(class extends J {
|
|
1497
1512
|
constructor() {
|
|
1498
1513
|
super();
|
|
1499
1514
|
/**
|
|
@@ -1504,6 +1519,10 @@ const Vs = (t, r) => {
|
|
|
1504
1519
|
* The name of the field where facets are applied.
|
|
1505
1520
|
*/
|
|
1506
1521
|
c(this, "fieldName", "");
|
|
1522
|
+
/**
|
|
1523
|
+
* Array of facet values to exclude from rendering.
|
|
1524
|
+
*/
|
|
1525
|
+
c(this, "exclude");
|
|
1507
1526
|
/**
|
|
1508
1527
|
* Emitted when the facets are updated.
|
|
1509
1528
|
*/
|
|
@@ -1559,7 +1578,7 @@ const Vs = (t, r) => {
|
|
|
1559
1578
|
path: "/",
|
|
1560
1579
|
count: 0,
|
|
1561
1580
|
children: o || []
|
|
1562
|
-
});
|
|
1581
|
+
}, this.exclude);
|
|
1563
1582
|
switch (s) {
|
|
1564
1583
|
case "SEARCH_TERM_EMPTY":
|
|
1565
1584
|
this.facetTreeCollectedFromSearchResponse = {
|
|
@@ -1575,19 +1594,19 @@ const Vs = (t, r) => {
|
|
|
1575
1594
|
case "EXACT_MATCH_UPDATE":
|
|
1576
1595
|
case "RANGE_VALUE_UPDATE": {
|
|
1577
1596
|
if (e.supplementalFacetPrime) {
|
|
1578
|
-
const C = (l = e.supplementalFacetPrime) == null ? void 0 : l.find(($) => this.fieldName === Object.keys($)[0]),
|
|
1597
|
+
const C = (l = e.supplementalFacetPrime) == null ? void 0 : l.find(($) => this.fieldName === Object.keys($)[0]), S = C == null ? void 0 : C[this.fieldName], P = Gr({
|
|
1579
1598
|
path: "/",
|
|
1580
1599
|
count: 0,
|
|
1581
|
-
children:
|
|
1582
|
-
});
|
|
1583
|
-
this.facetTreeCollectedFromSearchResponse =
|
|
1600
|
+
children: S || []
|
|
1601
|
+
}, this.exclude);
|
|
1602
|
+
this.facetTreeCollectedFromSearchResponse = qs(P, n);
|
|
1584
1603
|
} else
|
|
1585
1604
|
this.facetTreeCollectedFromSearchResponse = n;
|
|
1586
1605
|
break;
|
|
1587
1606
|
}
|
|
1588
1607
|
case "FACET_UPDATE":
|
|
1589
1608
|
case "SORT_ORDER_UPDATE":
|
|
1590
|
-
this.facetTreeCollectedFromSearchResponse =
|
|
1609
|
+
this.facetTreeCollectedFromSearchResponse = qs(this.facetTreeCollectedFromSearchResponse, n);
|
|
1591
1610
|
break;
|
|
1592
1611
|
default:
|
|
1593
1612
|
return;
|
|
@@ -1602,15 +1621,15 @@ const Vs = (t, r) => {
|
|
|
1602
1621
|
count: 0,
|
|
1603
1622
|
children: []
|
|
1604
1623
|
};
|
|
1605
|
-
for (const C of Object.keys(this.selectedPaths).filter((
|
|
1606
|
-
const
|
|
1624
|
+
for (const C of Object.keys(this.selectedPaths).filter((S) => this.selectedPaths[S])) {
|
|
1625
|
+
const S = C.startsWith("/") ? C.substring(1).split("/") : C.split("/"), P = !!Sa(this.facetTreeCollectedFromSearchResponse, S), $ = S.at(-1);
|
|
1607
1626
|
!P && $ && ((p = h.children) == null || p.push({
|
|
1608
1627
|
children: [],
|
|
1609
1628
|
count: 0,
|
|
1610
1629
|
path: C
|
|
1611
1630
|
}));
|
|
1612
1631
|
}
|
|
1613
|
-
this.facetTreeFromFacetPathsNotInSearchResponse = Gr(h), this.renderedFacetTree = us(this.facetTreeFromFacetPathsNotInSearchResponse, this.facetTreeCollectedFromSearchResponse);
|
|
1632
|
+
this.facetTreeFromFacetPathsNotInSearchResponse = Gr(h, this.exclude), this.renderedFacetTree = us(this.facetTreeFromFacetPathsNotInSearchResponse, this.facetTreeCollectedFromSearchResponse);
|
|
1614
1633
|
}
|
|
1615
1634
|
handleStateUpdate(e) {
|
|
1616
1635
|
const s = { ...e }, a = typeof s.searchClientRequestProperties == "string" && s.searchTerm.trim() === "";
|
|
@@ -1676,6 +1695,7 @@ const Vs = (t, r) => {
|
|
|
1676
1695
|
}, [0, "searchcraft-facet-list", {
|
|
1677
1696
|
searchcraftId: [1, "searchcraft-id"],
|
|
1678
1697
|
fieldName: [1, "field-name"],
|
|
1698
|
+
exclude: [16],
|
|
1679
1699
|
selectedPaths: [32],
|
|
1680
1700
|
facetTreeCollectedFromSearchResponse: [32],
|
|
1681
1701
|
renderedFacetTree: [32]
|
|
@@ -1686,12 +1706,12 @@ function Ra() {
|
|
|
1686
1706
|
["searchcraft-facet-list"].forEach((r) => {
|
|
1687
1707
|
switch (r) {
|
|
1688
1708
|
case "searchcraft-facet-list":
|
|
1689
|
-
customElements.get(r) || customElements.define(r,
|
|
1709
|
+
customElements.get(r) || customElements.define(r, wo);
|
|
1690
1710
|
break;
|
|
1691
1711
|
}
|
|
1692
1712
|
});
|
|
1693
1713
|
}
|
|
1694
|
-
const
|
|
1714
|
+
const So = Ra;
|
|
1695
1715
|
function Ht(t, r) {
|
|
1696
1716
|
if (t && r)
|
|
1697
1717
|
return r.fieldNames.map((e) => {
|
|
@@ -1887,10 +1907,10 @@ const $o = /* @__PURE__ */ ee(class extends J {
|
|
|
1887
1907
|
}
|
|
1888
1908
|
render() {
|
|
1889
1909
|
const e = (this.startValue - this.lowerBound) / (this.upperBound - this.lowerBound) * 100, s = (this.endValue - this.lowerBound) / (this.upperBound - this.lowerBound) * 100, a = this.getLabel(this.startValue), o = this.getLabel(this.endValue);
|
|
1890
|
-
return 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: {
|
|
1891
1911
|
left: `${e}%`,
|
|
1892
1912
|
width: `${s - e}%`
|
|
1893
|
-
} }), 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)));
|
|
1894
1914
|
}
|
|
1895
1915
|
}, [0, "searchcraft-slider", {
|
|
1896
1916
|
max: [2],
|
|
@@ -1957,9 +1977,9 @@ const Io = /* @__PURE__ */ ee(class extends J {
|
|
|
1957
1977
|
(e = this.unsubscribe) == null || e.call(this), (s = this.cleanupCore) == null || s.call(this);
|
|
1958
1978
|
}
|
|
1959
1979
|
render() {
|
|
1960
|
-
return m("div", { key: "
|
|
1980
|
+
return m("div", { key: "7dad6f4e4422a62f6403724ff16fe25e042ae2ac", class: xe("searchcraft-toggle-button", {
|
|
1961
1981
|
"searchcraft-toggle-button-active": this.isActive
|
|
1962
|
-
}) }, 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" })));
|
|
1963
1983
|
}
|
|
1964
1984
|
}, [0, "searchcraft-toggle-button", {
|
|
1965
1985
|
label: [1],
|
|
@@ -1990,23 +2010,113 @@ const $a = /* @__PURE__ */ ee(class extends J {
|
|
|
1990
2010
|
* The items to filter.
|
|
1991
2011
|
*/
|
|
1992
2012
|
c(this, "items", []);
|
|
2013
|
+
/**
|
|
2014
|
+
* The breakpoint (in pixels) below which the filter panel will be hidden.
|
|
2015
|
+
* Defaults to 768px (--sc-breakpoint-md).
|
|
2016
|
+
*/
|
|
2017
|
+
c(this, "responsiveBreakpoint", 768);
|
|
2018
|
+
/**
|
|
2019
|
+
* Controls whether the filter panel automatically hides/shows based on window size.
|
|
2020
|
+
* - 'auto': Automatically hide/show based on window width
|
|
2021
|
+
* - 'manual': User controls visibility manually
|
|
2022
|
+
*/
|
|
2023
|
+
c(this, "responsiveBehavior", "auto");
|
|
1993
2024
|
c(this, "lastSearchTerm");
|
|
2025
|
+
c(this, "isFilterPanelVisible", !0);
|
|
1994
2026
|
c(this, "core");
|
|
1995
2027
|
c(this, "unsubscribe");
|
|
1996
2028
|
c(this, "cleanupCore");
|
|
2029
|
+
c(this, "resizeObserver");
|
|
2030
|
+
c(this, "manuallyToggled", !1);
|
|
2031
|
+
// Track if user manually toggled visibility
|
|
2032
|
+
c(this, "toggleClickHandler");
|
|
2033
|
+
/**
|
|
2034
|
+
* Handles window resize events
|
|
2035
|
+
*/
|
|
2036
|
+
c(this, "handleWindowResize", () => {
|
|
2037
|
+
this.responsiveBehavior === "auto" && this.updateVisibilityBasedOnWindowSize();
|
|
2038
|
+
});
|
|
1997
2039
|
this.__registerHost();
|
|
1998
2040
|
}
|
|
2041
|
+
get hostElement() {
|
|
2042
|
+
return this;
|
|
2043
|
+
}
|
|
1999
2044
|
onCoreAvailable(e) {
|
|
2000
|
-
this.core = e, this.setInitialDateRanges(), this.unsubscribe = e.store.subscribe((s) => {
|
|
2001
|
-
this.lastSearchTerm = s.searchTerm || ""
|
|
2045
|
+
this.core = e, this.setInitialDateRanges(), this.responsiveBehavior === "auto" && this.updateVisibilityBasedOnWindowSize(), this.unsubscribe = e.store.subscribe((s, a) => {
|
|
2046
|
+
if (this.lastSearchTerm = s.searchTerm || "", a.isFilterPanelVisible !== s.isFilterPanelVisible) {
|
|
2047
|
+
const n = window.innerWidth >= (this.responsiveBreakpoint || 768);
|
|
2048
|
+
s.isFilterPanelVisible !== n && (this.manuallyToggled = !0), this.updateToggleElementAttributes(s.isFilterPanelVisible);
|
|
2049
|
+
}
|
|
2050
|
+
this.isFilterPanelVisible = s.isFilterPanelVisible;
|
|
2002
2051
|
});
|
|
2003
2052
|
}
|
|
2004
2053
|
componentDidLoad() {
|
|
2005
|
-
this.cleanupCore = de.useCoreInstance(this.searchcraftId, this.onCoreAvailable.bind(this))
|
|
2054
|
+
this.cleanupCore = de.useCoreInstance(this.searchcraftId, this.onCoreAvailable.bind(this)), this.responsiveBehavior === "auto" && typeof window < "u" && this.setupResizeObserver(), this.setupToggleClickHandlers(), setTimeout(() => {
|
|
2055
|
+
if (this.core) {
|
|
2056
|
+
const e = this.core.store.getState().isFilterPanelVisible;
|
|
2057
|
+
this.updateToggleElementAttributes(e);
|
|
2058
|
+
}
|
|
2059
|
+
}, 0);
|
|
2006
2060
|
}
|
|
2007
2061
|
disconnectedCallback() {
|
|
2008
|
-
var e, s;
|
|
2009
|
-
(e = this.unsubscribe) == null || e.call(this), (s = this.cleanupCore) == null || s.call(this);
|
|
2062
|
+
var e, s, a;
|
|
2063
|
+
(e = this.unsubscribe) == null || e.call(this), (s = this.cleanupCore) == null || s.call(this), (a = this.resizeObserver) == null || a.disconnect(), typeof window < "u" && window.removeEventListener("resize", this.handleWindowResize), this.cleanupToggleClickHandlers();
|
|
2064
|
+
}
|
|
2065
|
+
/**
|
|
2066
|
+
* Sets up a ResizeObserver to watch for window size changes
|
|
2067
|
+
*/
|
|
2068
|
+
setupResizeObserver() {
|
|
2069
|
+
if (typeof ResizeObserver > "u") {
|
|
2070
|
+
window.addEventListener("resize", this.handleWindowResize);
|
|
2071
|
+
return;
|
|
2072
|
+
}
|
|
2073
|
+
this.resizeObserver = new ResizeObserver(() => {
|
|
2074
|
+
this.handleWindowResize();
|
|
2075
|
+
}), this.resizeObserver.observe(document.body);
|
|
2076
|
+
}
|
|
2077
|
+
/**
|
|
2078
|
+
* Updates filter panel visibility based on current window width
|
|
2079
|
+
*/
|
|
2080
|
+
updateVisibilityBasedOnWindowSize() {
|
|
2081
|
+
if (typeof window > "u" || this.manuallyToggled)
|
|
2082
|
+
return;
|
|
2083
|
+
const s = window.innerWidth >= (this.responsiveBreakpoint || 768);
|
|
2084
|
+
this.core && this.isFilterPanelVisible !== s && this.core.store.getState().setFilterPanelVisibility(s);
|
|
2085
|
+
}
|
|
2086
|
+
/**
|
|
2087
|
+
* Sets up click handlers for elements with data-toggle-filter-panel attribute
|
|
2088
|
+
*/
|
|
2089
|
+
setupToggleClickHandlers() {
|
|
2090
|
+
if (typeof document > "u")
|
|
2091
|
+
return;
|
|
2092
|
+
this.toggleClickHandler = (s) => {
|
|
2093
|
+
if (!(window.innerWidth >= (this.responsiveBreakpoint || 768)) && (s.preventDefault(), this.core)) {
|
|
2094
|
+
const o = this.core.store.getState().isFilterPanelVisible;
|
|
2095
|
+
this.core.store.getState().setFilterPanelVisibility(!o);
|
|
2096
|
+
}
|
|
2097
|
+
}, document.querySelectorAll("[data-toggle-filter-panel]").forEach((s) => {
|
|
2098
|
+
this.toggleClickHandler && s.addEventListener("click", this.toggleClickHandler);
|
|
2099
|
+
});
|
|
2100
|
+
}
|
|
2101
|
+
/**
|
|
2102
|
+
* Updates data attributes on toggle elements to reflect panel visibility state
|
|
2103
|
+
*/
|
|
2104
|
+
updateToggleElementAttributes(e) {
|
|
2105
|
+
if (typeof document > "u")
|
|
2106
|
+
return;
|
|
2107
|
+
document.querySelectorAll("[data-toggle-filter-panel]").forEach((a) => {
|
|
2108
|
+
e ? (a.removeAttribute("data-filter-panel-collapsed"), a.setAttribute("data-filter-panel-expanded", "")) : (a.removeAttribute("data-filter-panel-expanded"), a.setAttribute("data-filter-panel-collapsed", ""));
|
|
2109
|
+
});
|
|
2110
|
+
}
|
|
2111
|
+
/**
|
|
2112
|
+
* Cleans up click handlers for toggle elements
|
|
2113
|
+
*/
|
|
2114
|
+
cleanupToggleClickHandlers() {
|
|
2115
|
+
if (typeof document > "u" || !this.toggleClickHandler)
|
|
2116
|
+
return;
|
|
2117
|
+
document.querySelectorAll("[data-toggle-filter-panel]").forEach((s) => {
|
|
2118
|
+
this.toggleClickHandler && s.removeEventListener("click", this.toggleClickHandler);
|
|
2119
|
+
});
|
|
2010
2120
|
}
|
|
2011
2121
|
/**
|
|
2012
2122
|
* Sets the initial min/max date range values for search queries based on the filter items provided.
|
|
@@ -2062,7 +2172,7 @@ const $a = /* @__PURE__ */ ee(class extends J {
|
|
|
2062
2172
|
* Iterate through `items` and render them based on `type`
|
|
2063
2173
|
*/
|
|
2064
2174
|
render() {
|
|
2065
|
-
return m("div", {
|
|
2175
|
+
return this.isFilterPanelVisible ? m("div", { class: "searchcraft-filter-panel" }, this.items.map((e) => {
|
|
2066
2176
|
switch (e.type) {
|
|
2067
2177
|
case "dateRange": {
|
|
2068
2178
|
const s = e, a = s.options.maxDate || /* @__PURE__ */ new Date();
|
|
@@ -2078,7 +2188,7 @@ const $a = /* @__PURE__ */ ee(class extends J {
|
|
|
2078
2188
|
}
|
|
2079
2189
|
case "facets": {
|
|
2080
2190
|
const s = e;
|
|
2081
|
-
return m("div", { class: "searchcraft-filter-panel-section" }, m("p", { class: "searchcraft-filter-panel-label" }, e.label), m("searchcraft-facet-list", { fieldName: s.fieldName, onFacetSelectionUpdated: (a) => {
|
|
2191
|
+
return m("div", { class: "searchcraft-filter-panel-section" }, m("p", { class: "searchcraft-filter-panel-label" }, e.label), m("searchcraft-facet-list", { fieldName: s.fieldName, exclude: s.options.exclude, onFacetSelectionUpdated: (a) => {
|
|
2082
2192
|
this.handleFacetSelectionUpdated(s.fieldName, a.detail.paths);
|
|
2083
2193
|
} }));
|
|
2084
2194
|
}
|
|
@@ -2095,12 +2205,15 @@ const $a = /* @__PURE__ */ ee(class extends J {
|
|
|
2095
2205
|
} });
|
|
2096
2206
|
}
|
|
2097
2207
|
}
|
|
2098
|
-
}));
|
|
2208
|
+
})) : null;
|
|
2099
2209
|
}
|
|
2100
2210
|
}, [0, "searchcraft-filter-panel", {
|
|
2101
2211
|
searchcraftId: [1, "searchcraft-id"],
|
|
2102
2212
|
items: [16],
|
|
2103
|
-
|
|
2213
|
+
responsiveBreakpoint: [2, "responsive-breakpoint"],
|
|
2214
|
+
responsiveBehavior: [1, "responsive-behavior"],
|
|
2215
|
+
lastSearchTerm: [32],
|
|
2216
|
+
isFilterPanelVisible: [32]
|
|
2104
2217
|
}]);
|
|
2105
2218
|
function _o() {
|
|
2106
2219
|
if (typeof customElements > "u")
|
|
@@ -2133,7 +2246,7 @@ const Ao = $a, Ia = _o, Mo = /* @__PURE__ */ ee(class extends J {
|
|
|
2133
2246
|
this.__registerHost();
|
|
2134
2247
|
}
|
|
2135
2248
|
render() {
|
|
2136
|
-
return m("label", { key: "
|
|
2249
|
+
return m("label", { key: "1008f9beb320aaa94026604b283eb65a96023265", class: xe("searchcraft-input-label", this.inputLabelClassName), htmlFor: "searchcraft-input-id" }, this.label);
|
|
2137
2250
|
}
|
|
2138
2251
|
}, [0, "searchcraft-input-label", {
|
|
2139
2252
|
inputLabelClassName: [1, "input-label-class-name"],
|
|
@@ -2259,7 +2372,7 @@ const _a = /* @__PURE__ */ ee(class extends J {
|
|
|
2259
2372
|
}), o = {
|
|
2260
2373
|
gap: this.inputLabel || this.error ? "4px 8px" : "0px 8px"
|
|
2261
2374
|
};
|
|
2262
|
-
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", {
|
|
2263
2376
|
"searchcraft-placeholder-hide-on-focus": this.placeholderBehavior === "hide-on-focus"
|
|
2264
2377
|
}), onFocus: () => {
|
|
2265
2378
|
var n;
|
|
@@ -2269,7 +2382,7 @@ const _a = /* @__PURE__ */ ee(class extends J {
|
|
|
2269
2382
|
return (n = this.inputBlur) == null ? void 0 : n.emit();
|
|
2270
2383
|
}, onInput: (n) => {
|
|
2271
2384
|
this.handleInput(n);
|
|
2272
|
-
}, placeholder: this.placeholderValue, type: "text", value: this.inputValue }), 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" }))))));
|
|
2273
2386
|
}
|
|
2274
2387
|
static get watchers() {
|
|
2275
2388
|
return {
|
|
@@ -2313,14 +2426,14 @@ function Aa() {
|
|
|
2313
2426
|
}
|
|
2314
2427
|
});
|
|
2315
2428
|
}
|
|
2316
|
-
const Oo = _a, Ma = Aa,
|
|
2429
|
+
const Oo = _a, Ma = Aa, Fo = hs, Lo = /* @__PURE__ */ ee(class extends J {
|
|
2317
2430
|
constructor() {
|
|
2318
2431
|
super();
|
|
2319
2432
|
c(this, "label");
|
|
2320
2433
|
this.__registerHost();
|
|
2321
2434
|
}
|
|
2322
2435
|
render() {
|
|
2323
|
-
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));
|
|
2324
2437
|
}
|
|
2325
2438
|
}, [0, "searchcraft-loading", {
|
|
2326
2439
|
label: [1]
|
|
@@ -2331,12 +2444,12 @@ function Oa() {
|
|
|
2331
2444
|
["searchcraft-loading"].forEach((r) => {
|
|
2332
2445
|
switch (r) {
|
|
2333
2446
|
case "searchcraft-loading":
|
|
2334
|
-
customElements.get(r) || customElements.define(r,
|
|
2447
|
+
customElements.get(r) || customElements.define(r, Lo);
|
|
2335
2448
|
break;
|
|
2336
2449
|
}
|
|
2337
2450
|
});
|
|
2338
2451
|
}
|
|
2339
|
-
const Do = Oa,
|
|
2452
|
+
const Do = Oa, Fa = /* @__PURE__ */ ee(class extends J {
|
|
2340
2453
|
constructor() {
|
|
2341
2454
|
super();
|
|
2342
2455
|
/**
|
|
@@ -2418,7 +2531,7 @@ function No() {
|
|
|
2418
2531
|
["searchcraft-pagination", "searchcraft-button"].forEach((r) => {
|
|
2419
2532
|
switch (r) {
|
|
2420
2533
|
case "searchcraft-pagination":
|
|
2421
|
-
customElements.get(r) || customElements.define(r,
|
|
2534
|
+
customElements.get(r) || customElements.define(r, Fa);
|
|
2422
2535
|
break;
|
|
2423
2536
|
case "searchcraft-button":
|
|
2424
2537
|
customElements.get(r) || Er();
|
|
@@ -2426,7 +2539,7 @@ function No() {
|
|
|
2426
2539
|
}
|
|
2427
2540
|
});
|
|
2428
2541
|
}
|
|
2429
|
-
const zo =
|
|
2542
|
+
const zo = Fa, La = No, Da = /* @__PURE__ */ ee(class extends J {
|
|
2430
2543
|
constructor() {
|
|
2431
2544
|
super();
|
|
2432
2545
|
/**
|
|
@@ -2508,7 +2621,7 @@ const zo = La, Fa = No, Da = /* @__PURE__ */ ee(class extends J {
|
|
|
2508
2621
|
}
|
|
2509
2622
|
}
|
|
2510
2623
|
render() {
|
|
2511
|
-
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: qt }) : void 0, onClick: this.handleOnClick.bind(this), type: "button" }, typeof this.template < "u" ? void 0 : this.type ? this.renderSlot() : "Open Popover");
|
|
2512
2625
|
}
|
|
2513
2626
|
}, [4, "searchcraft-popover-button", {
|
|
2514
2627
|
template: [16],
|
|
@@ -2531,7 +2644,7 @@ function Ho() {
|
|
|
2531
2644
|
}
|
|
2532
2645
|
});
|
|
2533
2646
|
}
|
|
2534
|
-
const
|
|
2647
|
+
const Bo = Da, Na = Ho, Uo = /* @__PURE__ */ ee(class extends J {
|
|
2535
2648
|
constructor() {
|
|
2536
2649
|
super();
|
|
2537
2650
|
/**
|
|
@@ -2557,7 +2670,7 @@ const Uo = Da, Na = Ho, Bo = /* @__PURE__ */ ee(class extends J {
|
|
|
2557
2670
|
(e = this.unsubscribe) == null || e.call(this), (s = this.cleanupCore) == null || s.call(this);
|
|
2558
2671
|
}
|
|
2559
2672
|
render() {
|
|
2560
|
-
return 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 ? `${Ea(this.searchResultsCount)} Results Found` : " "), m("a", { key: "8cd1bd1ad4e3a91e7221c5d38650b10a66dc884e", class: "searchcraft-popover-footer-link", href: "https://searchcraft.io/", target: "_blank", rel: "noreferrer" }, m("svg", { key: "4ebaa80bc3ee8cc2643368d84158cc46ac141376", class: "searchcraft-popover-footer-link-image", width: "169", height: "16", viewBox: "0 0 169 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, m("title", { key: "804857d081cf5cbd8e63af05c3479a96872d136d" }, "Powered by Searchcraft"), m("path", { key: "43d4a2b110134036b8823e508f535c293fb2df0c", d: "M5.07288 0.608C7.60088 0.608 8.84888 2.064 8.84888 4.112C8.84888 6.16 7.60088 7.616 5.07288 7.616H1.68088V12H0.336875V0.608H5.07288ZM5.07288 6.4C6.67288 6.4 7.45688 5.552 7.45688 4.112C7.45688 2.672 6.67288 1.824 5.07288 1.824H1.68088V6.4H5.07288ZM13.31 12.192C10.99 12.192 9.31 10.512 9.31 7.872C9.31 5.232 10.99 3.552 13.31 3.552C15.63 3.552 17.31 5.232 17.31 7.872C17.31 10.512 15.63 12.192 13.31 12.192ZM13.31 11.04C14.91 11.04 15.966 9.872 15.966 7.872C15.966 5.872 14.91 4.704 13.31 4.704C11.71 4.704 10.654 5.872 10.654 7.872C10.654 9.872 11.71 11.04 13.31 11.04ZM28.3826 3.744H29.7586L27.0066 12H25.6626L24.4466 8.176C24.1586 7.264 23.8706 6.304 23.6146 5.376C23.3426 6.304 23.0546 7.264 22.7666 8.176L21.5666 12H20.2226L17.4706 3.744H18.8466L20.0146 7.472C20.3346 8.48 20.6226 9.472 20.9106 10.48C21.1826 9.472 21.4706 8.48 21.7906 7.472L22.9426 3.744H24.2866L25.4386 7.472C25.7426 8.464 26.0466 9.456 26.3346 10.448C26.6066 9.456 26.9106 8.464 27.2146 7.472L28.3826 3.744ZM37.5194 7.872V8.32H31.2474C31.3754 10.176 32.3514 11.024 33.7914 11.024C34.9594 11.024 35.6954 10.416 35.9834 9.488H37.3114C36.9114 11.04 35.7274 12.192 33.7594 12.192C31.5034 12.192 29.9194 10.544 29.9194 7.872C29.9194 5.28 31.4394 3.552 33.7274 3.552C36.1914 3.552 37.5194 5.504 37.5194 7.872ZM33.7274 4.72C32.4314 4.72 31.4874 5.536 31.2794 7.168H36.1434C36.0154 5.808 35.1994 4.72 33.7274 4.72ZM42.9101 3.616C43.0381 3.616 43.1661 3.616 43.3421 3.632V4.864H43.0221C41.3741 4.864 40.3181 5.696 40.3181 7.296V12H39.0381V3.744H40.2541V5.2C40.7181 4.336 41.5661 3.616 42.9101 3.616ZM51.2538 7.872V8.32H44.9818C45.1098 10.176 46.0858 11.024 47.5258 11.024C48.6938 11.024 49.4298 10.416 49.7178 9.488H51.0458C50.6458 11.04 49.4618 12.192 47.4938 12.192C45.2378 12.192 43.6538 10.544 43.6538 7.872C43.6538 5.28 45.1738 3.552 47.4618 3.552C49.9258 3.552 51.2538 5.504 51.2538 7.872ZM47.4618 4.72C46.1658 4.72 45.2218 5.536 45.0138 7.168H49.8778C49.7498 5.808 48.9338 4.72 47.4618 4.72ZM58.9805 0.608H60.2605V12H59.0445V10.72C58.4205 11.664 57.4445 12.192 56.2125 12.192C53.8925 12.192 52.3725 10.512 52.3725 7.872C52.3725 5.232 53.8925 3.552 56.2125 3.552C57.4125 3.552 58.3565 4.048 58.9805 4.928V0.608ZM56.3725 11.04C57.9725 11.04 59.0285 9.872 59.0285 7.872C59.0285 5.872 57.9725 4.704 56.3725 4.704C54.7725 4.704 53.7165 5.936 53.7165 7.936C53.7165 9.936 54.7725 11.04 56.3725 11.04ZM69.2736 3.552C71.5936 3.552 73.1136 5.232 73.1136 7.872C73.1136 10.512 71.5936 12.192 69.2736 12.192C68.0416 12.192 67.0656 11.664 66.4416 10.72V12H65.2256V0.608H66.5056V4.928C67.1296 4.048 68.0736 3.552 69.2736 3.552ZM69.1136 11.04C70.7136 11.04 71.7696 9.808 71.7696 7.808C71.7696 5.808 70.7136 4.704 69.1136 4.704C67.5136 4.704 66.4576 5.872 66.4576 7.872C66.4576 9.872 67.5136 11.04 69.1136 11.04ZM79.3795 3.744H80.7715L77.2835 13.296C76.7555 14.752 75.9075 15.184 74.5955 15.184C74.3395 15.184 74.0995 15.168 73.8275 15.136V14.064H74.5795C75.3955 14.064 75.8275 13.696 76.0835 13.04C76.1795 12.8 76.2755 12.528 76.3715 12.272L73.2675 3.744H74.6755L75.8435 7.184C76.2595 8.384 76.6435 9.568 77.0275 10.752C77.3955 9.568 77.7955 8.368 78.2115 7.168L79.3795 3.744ZM89.1546 12.256C86.1146 12.256 84.2906 10.864 84.2746 8.24H86.4026C86.4346 10.032 87.6346 10.512 89.2186 10.512C90.7066 10.512 91.5226 9.936 91.5226 8.864C91.5226 7.968 90.9306 7.568 89.1866 7.216L88.2266 7.024C86.0186 6.608 84.5626 5.632 84.5626 3.568C84.5626 1.68 86.0506 0.351999 88.7866 0.351999C91.9866 0.351999 93.3466 1.856 93.4266 4H91.3306C91.2506 2.784 90.6266 2.096 88.8186 2.096C87.4426 2.096 86.7706 2.64 86.7706 3.504C86.7706 4.416 87.2986 4.832 88.9946 5.184L89.9866 5.376C92.6746 5.904 93.7626 6.944 93.7626 8.752C93.7626 11.008 92.0026 12.256 89.1546 12.256ZM102.952 8.016V8.496H96.7758C96.9198 9.968 97.7518 10.624 98.9198 10.624C99.8798 10.624 100.504 10.176 100.808 9.44H102.744C102.328 11.12 100.888 12.192 98.9038 12.192C96.4718 12.192 94.7918 10.512 94.7918 7.872C94.7918 5.28 96.4238 3.552 98.8718 3.552C101.4 3.552 102.952 5.392 102.952 8.016ZM98.8558 5.12C97.7838 5.12 96.9838 5.728 96.7918 7.088H100.936C100.776 5.92 100.056 5.12 98.8558 5.12ZM111.599 12H109.583C109.455 11.776 109.391 11.392 109.359 10.992C108.815 11.76 107.919 12.192 106.703 12.192C104.943 12.192 103.727 11.312 103.727 9.712C103.727 8.336 104.559 7.36 106.895 7.136L108.143 7.024C108.911 6.928 109.311 6.688 109.311 6.08C109.311 5.44 108.975 5.056 107.807 5.056C106.655 5.056 106.175 5.36 106.095 6.368H104.111C104.223 4.624 105.247 3.552 107.823 3.552C110.287 3.552 111.263 4.544 111.263 6.032V10.432C111.263 11.024 111.375 11.68 111.599 12ZM107.183 10.752C108.255 10.752 109.311 10.176 109.311 8.736V7.984C109.103 8.176 108.799 8.272 108.367 8.32L107.279 8.448C106.159 8.576 105.791 8.976 105.791 9.632C105.791 10.32 106.255 10.752 107.183 10.752ZM117.216 3.616C117.392 3.616 117.536 3.616 117.712 3.648V5.504H117.2C115.712 5.504 114.816 6.24 114.816 7.808V12H112.8V3.744H114.752V5.216C115.152 4.288 115.936 3.616 117.216 3.616ZM122.137 12.192C119.689 12.192 118.057 10.512 118.057 7.872C118.057 5.232 119.673 3.552 122.137 3.552C124.297 3.552 125.737 4.784 125.977 6.72H123.961C123.769 5.696 123.033 5.232 122.137 5.232C120.937 5.232 120.121 6.064 120.121 7.872C120.121 9.68 120.969 10.512 122.137 10.512C123.049 10.512 123.833 10.016 123.993 8.928H126.009C125.785 10.944 124.249 12.192 122.137 12.192ZM131.641 3.552C133.369 3.552 134.537 4.56 134.537 6.528V12H132.521V6.864C132.521 5.808 131.993 5.296 130.969 5.296C130.089 5.296 129.129 5.904 129.129 7.376V12H127.113V0.608H129.129V4.848C129.673 4.096 130.521 3.552 131.641 3.552ZM139.887 12.192C137.439 12.192 135.807 10.512 135.807 7.872C135.807 5.232 137.423 3.552 139.887 3.552C142.047 3.552 143.487 4.784 143.727 6.72H141.711C141.519 5.696 140.783 5.232 139.887 5.232C138.687 5.232 137.871 6.064 137.871 7.872C137.871 9.68 138.719 10.512 139.887 10.512C140.799 10.512 141.583 10.016 141.743 8.928H143.759C143.535 10.944 141.999 12.192 139.887 12.192ZM149.279 3.616C149.455 3.616 149.599 3.616 149.775 3.648V5.504H149.263C147.775 5.504 146.879 6.24 146.879 7.808V12H144.863V3.744H146.815V5.216C147.215 4.288 147.999 3.616 149.279 3.616ZM157.803 12H155.787C155.659 11.776 155.595 11.392 155.563 10.992C155.019 11.76 154.123 12.192 152.907 12.192C151.147 12.192 149.931 11.312 149.931 9.712C149.931 8.336 150.763 7.36 153.099 7.136L154.347 7.024C155.115 6.928 155.515 6.688 155.515 6.08C155.515 5.44 155.179 5.056 154.011 5.056C152.859 5.056 152.379 5.36 152.299 6.368H150.315C150.427 4.624 151.451 3.552 154.027 3.552C156.491 3.552 157.467 4.544 157.467 6.032V10.432C157.467 11.024 157.579 11.68 157.803 12ZM153.387 10.752C154.459 10.752 155.515 10.176 155.515 8.736V7.984C155.307 8.176 155.003 8.272 154.571 8.32L153.483 8.448C152.363 8.576 151.995 8.976 151.995 9.632C151.995 10.32 152.459 10.752 153.387 10.752ZM162.466 2.16C161.746 2.16 161.426 2.512 161.426 3.152V3.744H163.122V5.28H161.426V12H159.426V5.28H158.146V3.744H159.426V3.12C159.426 1.664 160.146 0.559999 162.13 0.559999C162.45 0.559999 162.882 0.575999 163.17 0.608V2.16H162.466ZM168.636 5.28H167.004V9.744C167.004 10.288 167.276 10.464 167.948 10.464H168.636V12C168.268 12.032 167.9 12.064 167.58 12.064C165.836 12.064 165.004 11.472 165.004 9.952V5.28H163.724V3.744H165.004V1.344H167.004V3.744H168.636V5.28Z", fill: "currentColor" }))));
|
|
2561
2674
|
}
|
|
2562
2675
|
}, [0, "searchcraft-popover-footer", {
|
|
2563
2676
|
searchcraftId: [1, "searchcraft-id"],
|
|
@@ -2569,12 +2682,12 @@ function za() {
|
|
|
2569
2682
|
["searchcraft-popover-footer"].forEach((r) => {
|
|
2570
2683
|
switch (r) {
|
|
2571
2684
|
case "searchcraft-popover-footer":
|
|
2572
|
-
customElements.get(r) || customElements.define(r,
|
|
2685
|
+
customElements.get(r) || customElements.define(r, Uo);
|
|
2573
2686
|
break;
|
|
2574
2687
|
}
|
|
2575
2688
|
});
|
|
2576
2689
|
}
|
|
2577
|
-
const
|
|
2690
|
+
const Vo = za, qo = /* @__PURE__ */ ee(class extends J {
|
|
2578
2691
|
constructor() {
|
|
2579
2692
|
super();
|
|
2580
2693
|
c(this, "item");
|
|
@@ -2620,7 +2733,7 @@ const qo = za, Vo = /* @__PURE__ */ ee(class extends J {
|
|
|
2620
2733
|
(e = this.cleanupCore) == null || e.call(this);
|
|
2621
2734
|
}
|
|
2622
2735
|
render() {
|
|
2623
|
-
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))));
|
|
2624
2737
|
}
|
|
2625
2738
|
}, [0, "searchcraft-popover-list-item", {
|
|
2626
2739
|
item: [16],
|
|
@@ -2639,7 +2752,7 @@ function ds() {
|
|
|
2639
2752
|
["searchcraft-popover-list-item"].forEach((r) => {
|
|
2640
2753
|
switch (r) {
|
|
2641
2754
|
case "searchcraft-popover-list-item":
|
|
2642
|
-
customElements.get(r) || customElements.define(r,
|
|
2755
|
+
customElements.get(r) || customElements.define(r, qo);
|
|
2643
2756
|
break;
|
|
2644
2757
|
}
|
|
2645
2758
|
});
|
|
@@ -2682,8 +2795,8 @@ const jo = /* @__PURE__ */ ee(class extends J {
|
|
|
2682
2795
|
return m("div", { class: "searchcraft-popover-list-view" }, (e = this.adClientResponseItems) == null ? void 0 : e.map((a) => m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adClientResponseItem: a, adSource: "adMarketplace", key: a.id, renderPosition: "top" })), (s = this.searchClientResponseItems) == null ? void 0 : s.map((a, o) => m("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: a, key: a.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + o })));
|
|
2683
2796
|
}
|
|
2684
2797
|
renderWithCustomAds() {
|
|
2685
|
-
var u, l, p, C,
|
|
2686
|
-
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 = ((P = (
|
|
2798
|
+
var u, l, p, C, S, P, $, z;
|
|
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 = ((P = (S = this.config) == null ? void 0 : S.customAdConfig) == null ? void 0 : P.adStartQuantity) || 0, n = ((z = ($ = this.config) == null ? void 0 : $.customAdConfig) == null ? void 0 : z.adEndQuantity) || 0, h = this.searchClientResponseItems || [];
|
|
2687
2800
|
for (let D = 0; D < o; D++)
|
|
2688
2801
|
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${D}-ad`, renderPosition: "top" }));
|
|
2689
2802
|
h.forEach((D, I) => {
|
|
@@ -2697,18 +2810,18 @@ const jo = /* @__PURE__ */ ee(class extends J {
|
|
|
2697
2810
|
return m("div", { class: "searchcraft-popover-list-view" }, e);
|
|
2698
2811
|
}
|
|
2699
2812
|
renderWithNativoAds() {
|
|
2700
|
-
var l, p, C,
|
|
2701
|
-
const e = [], s = ((p = (l = this.config) == null ? void 0 : l.nativoConfig) == null ? void 0 : p.adInterstialStartIndex) || 0, a = ((
|
|
2702
|
-
for (let
|
|
2703
|
-
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${
|
|
2704
|
-
u.forEach((
|
|
2813
|
+
var l, p, C, S, P, $, z, D, I, M;
|
|
2814
|
+
const e = [], s = ((p = (l = this.config) == null ? void 0 : l.nativoConfig) == null ? void 0 : p.adInterstialStartIndex) || 0, a = ((S = (C = this.config) == null ? void 0 : C.nativoConfig) == null ? void 0 : S.adInterstitialInterval) || 0, o = (($ = (P = this.config) == null ? void 0 : P.nativoConfig) == null ? void 0 : $.adInterstitialQuantity) || 1, n = ((D = (z = this.config) == null ? void 0 : z.nativoConfig) == null ? void 0 : D.adStartQuantity) || 0, h = ((M = (I = this.config) == null ? void 0 : I.nativoConfig) == null ? void 0 : M.adEndQuantity) || 0, u = this.searchClientResponseItems || [];
|
|
2815
|
+
for (let V = 0; V < n; V++)
|
|
2816
|
+
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${V}-ad`, renderPosition: "top" }));
|
|
2817
|
+
u.forEach((V, Y) => {
|
|
2705
2818
|
if (a && (Y + s) % a === 0 && Y + a < u.length && Y >= a)
|
|
2706
2819
|
for (let ge = 0; ge < o; ge++)
|
|
2707
|
-
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${
|
|
2708
|
-
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 }));
|
|
2709
2822
|
});
|
|
2710
|
-
for (let
|
|
2711
|
-
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" }));
|
|
2712
2825
|
return m("div", { class: "searchcraft-popover-list-view" }, e);
|
|
2713
2826
|
}
|
|
2714
2827
|
renderWithNoAds() {
|
|
@@ -2744,7 +2857,7 @@ function Ha() {
|
|
|
2744
2857
|
}
|
|
2745
2858
|
});
|
|
2746
2859
|
}
|
|
2747
|
-
const
|
|
2860
|
+
const Ba = /* @__PURE__ */ ee(class extends J {
|
|
2748
2861
|
constructor() {
|
|
2749
2862
|
super();
|
|
2750
2863
|
/**
|
|
@@ -2946,13 +3059,13 @@ const Ua = /* @__PURE__ */ ee(class extends J {
|
|
|
2946
3059
|
searchResultsPerPage: [32],
|
|
2947
3060
|
modalElement: [32]
|
|
2948
3061
|
}]);
|
|
2949
|
-
function
|
|
3062
|
+
function Ua() {
|
|
2950
3063
|
if (typeof customElements > "u")
|
|
2951
3064
|
return;
|
|
2952
3065
|
["searchcraft-popover-form", "searchcraft-ad", "searchcraft-button", "searchcraft-error-message", "searchcraft-input-form", "searchcraft-input-label", "searchcraft-popover-footer", "searchcraft-popover-form", "searchcraft-popover-list-item", "searchcraft-popover-list-view"].forEach((r) => {
|
|
2953
3066
|
switch (r) {
|
|
2954
3067
|
case "searchcraft-popover-form":
|
|
2955
|
-
customElements.get(r) || customElements.define(r,
|
|
3068
|
+
customElements.get(r) || customElements.define(r, Ba);
|
|
2956
3069
|
break;
|
|
2957
3070
|
case "searchcraft-ad":
|
|
2958
3071
|
customElements.get(r) || Rr();
|
|
@@ -2973,7 +3086,7 @@ function Ba() {
|
|
|
2973
3086
|
customElements.get(r) || za();
|
|
2974
3087
|
break;
|
|
2975
3088
|
case "searchcraft-popover-form":
|
|
2976
|
-
customElements.get(r) ||
|
|
3089
|
+
customElements.get(r) || Ua();
|
|
2977
3090
|
break;
|
|
2978
3091
|
case "searchcraft-popover-list-item":
|
|
2979
3092
|
customElements.get(r) || ds();
|
|
@@ -2984,7 +3097,7 @@ function Ba() {
|
|
|
2984
3097
|
}
|
|
2985
3098
|
});
|
|
2986
3099
|
}
|
|
2987
|
-
const Wo =
|
|
3100
|
+
const Wo = Ba, Va = Ua, Go = ds, Zo = Ha, qa = /* @__PURE__ */ ee(class extends J {
|
|
2988
3101
|
constructor() {
|
|
2989
3102
|
super();
|
|
2990
3103
|
/**
|
|
@@ -3028,7 +3141,7 @@ const Wo = Ua, qa = Ba, Go = ds, Zo = Ha, Va = /* @__PURE__ */ ee(class extends
|
|
|
3028
3141
|
range: [Number(this.range[0]), Number(this.range[1])],
|
|
3029
3142
|
count: this.count,
|
|
3030
3143
|
responseTime: this.responseTime
|
|
3031
|
-
}, { html:
|
|
3144
|
+
}, { html: qt }) : `${Ea(this.count)} results found in ${this.responseTime}ms`);
|
|
3032
3145
|
}
|
|
3033
3146
|
}, [0, "searchcraft-results-info", {
|
|
3034
3147
|
template: [16],
|
|
@@ -3048,12 +3161,12 @@ function Yo() {
|
|
|
3048
3161
|
["searchcraft-results-info"].forEach((r) => {
|
|
3049
3162
|
switch (r) {
|
|
3050
3163
|
case "searchcraft-results-info":
|
|
3051
|
-
customElements.get(r) || customElements.define(r,
|
|
3164
|
+
customElements.get(r) || customElements.define(r, qa);
|
|
3052
3165
|
break;
|
|
3053
3166
|
}
|
|
3054
3167
|
});
|
|
3055
3168
|
}
|
|
3056
|
-
const Qo =
|
|
3169
|
+
const Qo = qa, ja = Yo, Ko = /* @__PURE__ */ ee(class extends J {
|
|
3057
3170
|
constructor() {
|
|
3058
3171
|
super();
|
|
3059
3172
|
c(this, "item");
|
|
@@ -3105,7 +3218,7 @@ const Qo = Va, ja = Yo, Ko = /* @__PURE__ */ ee(class extends J {
|
|
|
3105
3218
|
if (this.cleanupCore = de.useCoreInstance(this.searchcraftId, this.onCoreAvailable.bind(this)), this.item)
|
|
3106
3219
|
try {
|
|
3107
3220
|
this.templateHtml = (e = this.template) == null ? void 0 : e.call(this, this.item.document, this.index, {
|
|
3108
|
-
html:
|
|
3221
|
+
html: qt,
|
|
3109
3222
|
source_index: this.item.source_index
|
|
3110
3223
|
});
|
|
3111
3224
|
} catch (s) {
|
|
@@ -3193,8 +3306,8 @@ const Xo = Wa, Ga = /* @__PURE__ */ ee(class extends J {
|
|
|
3193
3306
|
return m("div", { class: "searchcraft-search-results" }, (s = this.adClientResponseItems) == null ? void 0 : s.map((a) => m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "adMarketplace", adClientResponseItem: a, key: a.id, renderPosition: "top" })), e.map((a, o) => m("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: a.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + o, index: o, item: a, template: this.template })));
|
|
3194
3307
|
}
|
|
3195
3308
|
renderWithCustomAds() {
|
|
3196
|
-
var u, l, p, C,
|
|
3197
|
-
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 = ((P = (
|
|
3309
|
+
var u, l, p, C, S, P, $, z;
|
|
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 = ((P = (S = this.config) == null ? void 0 : S.customAdConfig) == null ? void 0 : P.adStartQuantity) || 0, n = ((z = ($ = this.config) == null ? void 0 : $.customAdConfig) == null ? void 0 : z.adEndQuantity) || 0, h = this.searchClientResponseItems || [];
|
|
3198
3311
|
for (let D = 0; D < o; D++)
|
|
3199
3312
|
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${D}-ad`, renderPosition: "top" }));
|
|
3200
3313
|
h.forEach((D, I) => {
|
|
@@ -3208,18 +3321,18 @@ const Xo = Wa, Ga = /* @__PURE__ */ ee(class extends J {
|
|
|
3208
3321
|
return m("div", { class: "searchcraft-search-results" }, e);
|
|
3209
3322
|
}
|
|
3210
3323
|
renderWithNativoAds() {
|
|
3211
|
-
var l, p, C,
|
|
3212
|
-
const e = [], s = ((p = (l = this.config) == null ? void 0 : l.nativoConfig) == null ? void 0 : p.adInterstialStartIndex) || 0, a = ((
|
|
3213
|
-
for (let
|
|
3214
|
-
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${
|
|
3215
|
-
u.forEach((
|
|
3324
|
+
var l, p, C, S, P, $, z, D, I, M;
|
|
3325
|
+
const e = [], s = ((p = (l = this.config) == null ? void 0 : l.nativoConfig) == null ? void 0 : p.adInterstialStartIndex) || 0, a = ((S = (C = this.config) == null ? void 0 : C.nativoConfig) == null ? void 0 : S.adInterstitialInterval) || 0, o = (($ = (P = this.config) == null ? void 0 : P.nativoConfig) == null ? void 0 : $.adInterstitialQuantity) || 1, n = ((D = (z = this.config) == null ? void 0 : z.nativoConfig) == null ? void 0 : D.adStartQuantity) || 0, h = ((M = (I = this.config) == null ? void 0 : I.nativoConfig) == null ? void 0 : M.adEndQuantity) || 0, u = this.searchClientResponseItems || [];
|
|
3326
|
+
for (let V = 0; V < n; V++)
|
|
3327
|
+
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${V}-ad`, renderPosition: "top" }));
|
|
3328
|
+
u.forEach((V, Y) => {
|
|
3216
3329
|
if (a && (Y + s) % a === 0 && Y + a < u.length && Y >= a)
|
|
3217
3330
|
for (let ge = 0; ge < o; ge++)
|
|
3218
|
-
e.push(m("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${
|
|
3219
|
-
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 }));
|
|
3220
3333
|
});
|
|
3221
|
-
for (let
|
|
3222
|
-
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" }));
|
|
3223
3336
|
return m("div", { class: "searchcraft-search-results" }, e);
|
|
3224
3337
|
}
|
|
3225
3338
|
renderWithNoAds() {
|
|
@@ -3435,8 +3548,8 @@ var Xa = { exports: {} };
|
|
|
3435
3548
|
for (let v of h(i))
|
|
3436
3549
|
!u.call(f, v) && v !== d && o(f, v, { get: () => i[v], enumerable: !(g = n(i, v)) || g.enumerable });
|
|
3437
3550
|
return f;
|
|
3438
|
-
}, C = (f) => p(o({}, "__esModule", { value: !0 }), f),
|
|
3439
|
-
l(
|
|
3551
|
+
}, C = (f) => p(o({}, "__esModule", { value: !0 }), f), S = {};
|
|
3552
|
+
l(S, {
|
|
3440
3553
|
Hooks: () => Ne,
|
|
3441
3554
|
Lexer: () => Te,
|
|
3442
3555
|
Marked: () => tr,
|
|
@@ -3452,10 +3565,10 @@ var Xa = { exports: {} };
|
|
|
3452
3565
|
parse: () => ne,
|
|
3453
3566
|
parseInline: () => ar,
|
|
3454
3567
|
parser: () => nr,
|
|
3455
|
-
setOptions: () =>
|
|
3568
|
+
setOptions: () => Ur,
|
|
3456
3569
|
use: () => sr,
|
|
3457
3570
|
walkTokens: () => re
|
|
3458
|
-
}), a.exports = C(
|
|
3571
|
+
}), a.exports = C(S);
|
|
3459
3572
|
function P() {
|
|
3460
3573
|
return {
|
|
3461
3574
|
async: !1,
|
|
@@ -3543,30 +3656,30 @@ var Xa = { exports: {} };
|
|
|
3543
3656
|
fencesBeginRegex: (f) => new RegExp(`^ {0,${Math.min(3, f - 1)}}(?:\`\`\`|~~~)`),
|
|
3544
3657
|
headingBeginRegex: (f) => new RegExp(`^ {0,${Math.min(3, f - 1)}}#`),
|
|
3545
3658
|
htmlBeginRegex: (f) => new RegExp(`^ {0,${Math.min(3, f - 1)}}<(?:[a-z].*>|!--)`, "i")
|
|
3546
|
-
},
|
|
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}[.)])/, Ke = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, oe = I(Ke).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(), Pr = I(Ke).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]+)*)/, $r = /^[^\n]+/, $e = /(?!\s*\])(?:\\.|[^\[\]\\])+/, nt = I(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", $e).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Wt = I(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Z).getRegex(), Xe = "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", ot = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Ir = I(
|
|
3547
3660
|
"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))",
|
|
3548
3661
|
"i"
|
|
3549
|
-
).replace("comment", ot).replace("tag", Xe).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), ft = I(N).replace("hr",
|
|
3662
|
+
).replace("comment", ot).replace("tag", Xe).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), ft = I(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", Xe).getRegex(), _r = I(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", ft).getRegex(), pt = {
|
|
3550
3663
|
blockquote: _r,
|
|
3551
3664
|
code: Y,
|
|
3552
3665
|
def: nt,
|
|
3553
3666
|
fences: ge,
|
|
3554
3667
|
heading: ae,
|
|
3555
|
-
hr:
|
|
3668
|
+
hr: Se,
|
|
3556
3669
|
html: Ir,
|
|
3557
3670
|
lheading: oe,
|
|
3558
3671
|
list: Wt,
|
|
3559
|
-
newline:
|
|
3672
|
+
newline: V,
|
|
3560
3673
|
paragraph: ft,
|
|
3561
3674
|
table: D,
|
|
3562
3675
|
text: $r
|
|
3563
3676
|
}, Pt = I(
|
|
3564
3677
|
"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"
|
|
3565
|
-
).replace("hr",
|
|
3678
|
+
).replace("hr", Se).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").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", Xe).getRegex(), $t = {
|
|
3566
3679
|
...pt,
|
|
3567
3680
|
lheading: Pr,
|
|
3568
3681
|
table: Pt,
|
|
3569
|
-
paragraph: I(N).replace("hr",
|
|
3682
|
+
paragraph: I(N).replace("hr", Se).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Pt).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", Xe).getRegex()
|
|
3570
3683
|
}, Gt = {
|
|
3571
3684
|
...pt,
|
|
3572
3685
|
html: I(
|
|
@@ -3577,25 +3690,25 @@ var Xa = { exports: {} };
|
|
|
3577
3690
|
fences: D,
|
|
3578
3691
|
// fences not supported
|
|
3579
3692
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
|
3580
|
-
paragraph: I(N).replace("hr",
|
|
3693
|
+
paragraph: I(N).replace("hr", Se).replace("heading", ` *#{1,6} *[^
|
|
3581
3694
|
]`).replace("lheading", oe).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
|
|
3582
|
-
}, mt = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ar = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Zt = /^( {2,}|\\)\n(?!\s*$)/, Mr = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, gt = /[\p{P}\p{S}]/u, It = /[\s\p{P}\p{S}]/u, _t = /[^\s\p{P}\p{S}]/u, Or = I(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, It).getRegex(), Yt = /(?!~)[\p{P}\p{S}]/u, Qt = /(?!~)[\s\p{P}\p{S}]/u,
|
|
3695
|
+
}, mt = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ar = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Zt = /^( {2,}|\\)\n(?!\s*$)/, Mr = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, gt = /[\p{P}\p{S}]/u, It = /[\s\p{P}\p{S}]/u, _t = /[^\s\p{P}\p{S}]/u, Or = I(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, It).getRegex(), Yt = /(?!~)[\p{P}\p{S}]/u, Qt = /(?!~)[\s\p{P}\p{S}]/u, Fr = /(?:[^\s\p{P}\p{S}]|~)/u, Kt = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Je = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Lr = I(Je, "u").replace(/punct/g, gt).getRegex(), Dr = I(Je, "u").replace(/punct/g, Yt).getRegex(), At = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Xt = I(At, "gu").replace(/notPunctSpace/g, _t).replace(/punctSpace/g, It).replace(/punct/g, gt).getRegex(), Nr = I(At, "gu").replace(/notPunctSpace/g, Fr).replace(/punctSpace/g, Qt).replace(/punct/g, Yt).getRegex(), B = I(
|
|
3583
3696
|
"^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)",
|
|
3584
3697
|
"gu"
|
|
3585
|
-
).replace(/notPunctSpace/g, _t).replace(/punctSpace/g, It).replace(/punct/g, gt).getRegex(), O = I(/\\(punct)/, "gu").replace(/punct/g, gt).getRegex(),
|
|
3698
|
+
).replace(/notPunctSpace/g, _t).replace(/punctSpace/g, It).replace(/punct/g, gt).getRegex(), O = I(/\\(punct)/, "gu").replace(/punct/g, gt).getRegex(), q = I(/^<(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 = I(ot).replace("(?:-->|$)", "-->").getRegex(), ie = I(
|
|
3586
3699
|
"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>"
|
|
3587
|
-
).replace("comment",
|
|
3700
|
+
).replace("comment", U).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), ye = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, et = I(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", ye).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), bt = I(/^!?\[(label)\]\[(ref)\]/).replace("label", ye).replace("ref", $e).getRegex(), Mt = I(/^!?\[(ref)\](?:\[\])?/).replace("ref", $e).getRegex(), it = I("reflink|nolink(?!\\()", "g").replace("reflink", bt).replace("nolink", Mt).getRegex(), Ot = {
|
|
3588
3701
|
_backpedal: D,
|
|
3589
3702
|
// only used for GFM url
|
|
3590
3703
|
anyPunctuation: O,
|
|
3591
|
-
autolink:
|
|
3704
|
+
autolink: q,
|
|
3592
3705
|
blockSkip: Kt,
|
|
3593
3706
|
br: Zt,
|
|
3594
3707
|
code: Ar,
|
|
3595
3708
|
del: D,
|
|
3596
|
-
emStrongLDelim:
|
|
3709
|
+
emStrongLDelim: Lr,
|
|
3597
3710
|
emStrongRDelimAst: Xt,
|
|
3598
|
-
emStrongRDelimUnd:
|
|
3711
|
+
emStrongRDelimUnd: B,
|
|
3599
3712
|
escape: mt,
|
|
3600
3713
|
link: et,
|
|
3601
3714
|
nolink: Mt,
|
|
@@ -3609,7 +3722,7 @@ var Xa = { exports: {} };
|
|
|
3609
3722
|
...Ot,
|
|
3610
3723
|
link: I(/^!?\[(label)\]\((.*?)\)/).replace("label", ye).getRegex(),
|
|
3611
3724
|
reflink: I(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", ye).getRegex()
|
|
3612
|
-
},
|
|
3725
|
+
}, Ft = {
|
|
3613
3726
|
...Ot,
|
|
3614
3727
|
emStrongRDelimAst: Nr,
|
|
3615
3728
|
emStrongLDelim: Dr,
|
|
@@ -3618,16 +3731,16 @@ var Xa = { exports: {} };
|
|
|
3618
3731
|
del: /^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,
|
|
3619
3732
|
text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
|
|
3620
3733
|
}, vt = {
|
|
3621
|
-
...
|
|
3734
|
+
...Ft,
|
|
3622
3735
|
br: I(Zt).replace("{2,}", "*").getRegex(),
|
|
3623
|
-
text: I(
|
|
3736
|
+
text: I(Ft.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
|
|
3624
3737
|
}, Ae = {
|
|
3625
3738
|
normal: pt,
|
|
3626
3739
|
gfm: $t,
|
|
3627
3740
|
pedantic: Gt
|
|
3628
3741
|
}, ct = {
|
|
3629
3742
|
normal: Ot,
|
|
3630
|
-
gfm:
|
|
3743
|
+
gfm: Ft,
|
|
3631
3744
|
breaks: vt,
|
|
3632
3745
|
pedantic: zr
|
|
3633
3746
|
}, Hr = {
|
|
@@ -3656,8 +3769,8 @@ var Xa = { exports: {} };
|
|
|
3656
3769
|
function ce(f, i) {
|
|
3657
3770
|
var y;
|
|
3658
3771
|
const d = f.replace(M.findPipe, (R, k, T) => {
|
|
3659
|
-
let x = !1,
|
|
3660
|
-
for (; --
|
|
3772
|
+
let x = !1, w = k;
|
|
3773
|
+
for (; --w >= 0 && T[w] === "\\"; ) x = !x;
|
|
3661
3774
|
return x ? "|" : " |";
|
|
3662
3775
|
}), g = d.split(M.splitPipe);
|
|
3663
3776
|
let v = 0;
|
|
@@ -3679,7 +3792,7 @@ var Xa = { exports: {} };
|
|
|
3679
3792
|
v++;
|
|
3680
3793
|
return f.slice(0, g - v);
|
|
3681
3794
|
}
|
|
3682
|
-
function
|
|
3795
|
+
function Lt(f, i) {
|
|
3683
3796
|
if (f.indexOf(i[1]) === -1)
|
|
3684
3797
|
return -1;
|
|
3685
3798
|
let d = 0;
|
|
@@ -3705,7 +3818,7 @@ var Xa = { exports: {} };
|
|
|
3705
3818
|
};
|
|
3706
3819
|
return g.state.inLink = !1, T;
|
|
3707
3820
|
}
|
|
3708
|
-
function
|
|
3821
|
+
function Br(f, i, d) {
|
|
3709
3822
|
const g = f.match(d.other.indentCodeCompensation);
|
|
3710
3823
|
if (g === null)
|
|
3711
3824
|
return i;
|
|
@@ -3753,7 +3866,7 @@ var Xa = { exports: {} };
|
|
|
3753
3866
|
fences(f) {
|
|
3754
3867
|
const i = this.rules.block.fences.exec(f);
|
|
3755
3868
|
if (i) {
|
|
3756
|
-
const d = i[0], g =
|
|
3869
|
+
const d = i[0], g = Br(d, i[3] || "", this.rules);
|
|
3757
3870
|
return {
|
|
3758
3871
|
type: "code",
|
|
3759
3872
|
raw: d,
|
|
@@ -3808,13 +3921,13 @@ var Xa = { exports: {} };
|
|
|
3808
3921
|
break;
|
|
3809
3922
|
d = d.slice(T);
|
|
3810
3923
|
const x = k.join(`
|
|
3811
|
-
`),
|
|
3924
|
+
`), w = x.replace(this.rules.other.blockquoteSetextReplace, `
|
|
3812
3925
|
$1`).replace(this.rules.other.blockquoteSetextReplace2, "");
|
|
3813
3926
|
g = g ? `${g}
|
|
3814
3927
|
${x}` : x, v = v ? `${v}
|
|
3815
|
-
${
|
|
3928
|
+
${w}` : w;
|
|
3816
3929
|
const G = this.lexer.state.top;
|
|
3817
|
-
if (this.lexer.state.top = !0, this.lexer.blockTokens(
|
|
3930
|
+
if (this.lexer.state.top = !0, this.lexer.blockTokens(w, y, !0), this.lexer.state.top = G, d.length === 0)
|
|
3818
3931
|
break;
|
|
3819
3932
|
const _ = y.at(-1);
|
|
3820
3933
|
if ((_ == null ? void 0 : _.type) === "code")
|
|
@@ -3858,44 +3971,44 @@ ${S}` : S;
|
|
|
3858
3971
|
const y = this.rules.other.listItemRegex(d);
|
|
3859
3972
|
let R = !1;
|
|
3860
3973
|
for (; f; ) {
|
|
3861
|
-
let T = !1, x = "",
|
|
3974
|
+
let T = !1, x = "", w = "";
|
|
3862
3975
|
if (!(i = y.exec(f)) || this.rules.block.hr.test(f))
|
|
3863
3976
|
break;
|
|
3864
3977
|
x = i[0], f = f.substring(x.length);
|
|
3865
3978
|
let G = i[2].split(`
|
|
3866
|
-
`, 1)[0].replace(this.rules.other.listReplaceTabs, (
|
|
3979
|
+
`, 1)[0].replace(this.rules.other.listReplaceTabs, (Be) => " ".repeat(3 * Be.length)), _ = f.split(`
|
|
3867
3980
|
`, 1)[0], se = !G.trim(), W = 0;
|
|
3868
|
-
if (this.options.pedantic ? (W = 2,
|
|
3981
|
+
if (this.options.pedantic ? (W = 2, w = G.trimStart()) : se ? W = i[1].length + 1 : (W = i[2].search(this.rules.other.nonSpaceChar), W = W > 4 ? 1 : W, w = G.slice(W), W += i[1].length), se && this.rules.other.blankLine.test(_) && (x += _ + `
|
|
3869
3982
|
`, f = f.substring(_.length + 1), T = !0), !T) {
|
|
3870
|
-
const
|
|
3983
|
+
const Be = this.rules.other.nextBulletRegex(W), Ue = this.rules.other.hrRegex(W), Ve = this.rules.other.fencesBeginRegex(W), Dt = this.rules.other.headingBeginRegex(W), or = this.rules.other.htmlBeginRegex(W);
|
|
3871
3984
|
for (; f; ) {
|
|
3872
3985
|
const kt = f.split(`
|
|
3873
3986
|
`, 1)[0];
|
|
3874
|
-
let
|
|
3875
|
-
if (_ = kt, this.options.pedantic ? (_ = _.replace(this.rules.other.listReplaceNesting, " "),
|
|
3987
|
+
let qe;
|
|
3988
|
+
if (_ = kt, this.options.pedantic ? (_ = _.replace(this.rules.other.listReplaceNesting, " "), qe = _) : qe = _.replace(this.rules.other.tabCharGlobal, " "), Ve.test(_) || Dt.test(_) || or.test(_) || Be.test(_) || Ue.test(_))
|
|
3876
3989
|
break;
|
|
3877
|
-
if (
|
|
3878
|
-
|
|
3879
|
-
` +
|
|
3990
|
+
if (qe.search(this.rules.other.nonSpaceChar) >= W || !_.trim())
|
|
3991
|
+
w += `
|
|
3992
|
+
` + qe.slice(W);
|
|
3880
3993
|
else {
|
|
3881
|
-
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 || Ve.test(G) || Dt.test(G) || Ue.test(G))
|
|
3882
3995
|
break;
|
|
3883
|
-
|
|
3996
|
+
w += `
|
|
3884
3997
|
` + _;
|
|
3885
3998
|
}
|
|
3886
3999
|
!se && !_.trim() && (se = !0), x += kt + `
|
|
3887
|
-
`, f = f.substring(kt.length + 1), G =
|
|
4000
|
+
`, f = f.substring(kt.length + 1), G = qe.slice(W);
|
|
3888
4001
|
}
|
|
3889
4002
|
}
|
|
3890
4003
|
v.loose || (R ? v.loose = !0 : this.rules.other.doubleBlankLine.test(x) && (R = !0));
|
|
3891
4004
|
let fe = null, yt;
|
|
3892
|
-
this.options.gfm && (fe = this.rules.other.listIsTask.exec(
|
|
4005
|
+
this.options.gfm && (fe = this.rules.other.listIsTask.exec(w), fe && (yt = fe[0] !== "[ ] ", w = w.replace(this.rules.other.listReplaceTask, ""))), v.items.push({
|
|
3893
4006
|
type: "list_item",
|
|
3894
4007
|
raw: x,
|
|
3895
4008
|
task: !!fe,
|
|
3896
4009
|
checked: yt,
|
|
3897
4010
|
loose: !1,
|
|
3898
|
-
text:
|
|
4011
|
+
text: w,
|
|
3899
4012
|
tokens: []
|
|
3900
4013
|
}), v.raw += x;
|
|
3901
4014
|
}
|
|
@@ -3907,8 +4020,8 @@ ${S}` : S;
|
|
|
3907
4020
|
v.raw = v.raw.trimEnd();
|
|
3908
4021
|
for (let T = 0; T < v.items.length; T++)
|
|
3909
4022
|
if (this.lexer.state.top = !1, v.items[T].tokens = this.lexer.blockTokens(v.items[T].text, []), !v.loose) {
|
|
3910
|
-
const x = v.items[T].tokens.filter((G) => G.type === "space"),
|
|
3911
|
-
v.loose =
|
|
4023
|
+
const x = v.items[T].tokens.filter((G) => G.type === "space"), w = x.length > 0 && x.some((G) => this.rules.other.anyLine.test(G.raw));
|
|
4024
|
+
v.loose = w;
|
|
3912
4025
|
}
|
|
3913
4026
|
if (v.loose)
|
|
3914
4027
|
for (let T = 0; T < v.items.length; T++)
|
|
@@ -4039,7 +4152,7 @@ ${S}` : S;
|
|
|
4039
4152
|
if ((d.length - y.length) % 2 === 0)
|
|
4040
4153
|
return;
|
|
4041
4154
|
} else {
|
|
4042
|
-
const y =
|
|
4155
|
+
const y = Lt(i[2], "()");
|
|
4043
4156
|
if (y === -2)
|
|
4044
4157
|
return;
|
|
4045
4158
|
if (y > -1) {
|
|
@@ -4080,8 +4193,8 @@ ${S}` : S;
|
|
|
4080
4193
|
if (!(g[1] || g[2] || "") || !d || this.rules.inline.punctuation.exec(d)) {
|
|
4081
4194
|
const y = [...g[0]].length - 1;
|
|
4082
4195
|
let R, k, T = y, x = 0;
|
|
4083
|
-
const
|
|
4084
|
-
for (
|
|
4196
|
+
const w = g[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
|
|
4197
|
+
for (w.lastIndex = 0, i = i.slice(-1 * f.length + y); (g = w.exec(i)) != null; ) {
|
|
4085
4198
|
if (R = g[1] || g[2] || g[3] || g[4] || g[5] || g[6], !R) continue;
|
|
4086
4199
|
if (k = [...R].length, g[3] || g[4]) {
|
|
4087
4200
|
T += k;
|
|
@@ -4321,10 +4434,10 @@ ${S}` : S;
|
|
|
4321
4434
|
let T = i;
|
|
4322
4435
|
if ((R = this.options.extensions) != null && R.startBlock) {
|
|
4323
4436
|
let x = 1 / 0;
|
|
4324
|
-
const
|
|
4437
|
+
const w = i.slice(1);
|
|
4325
4438
|
let G;
|
|
4326
4439
|
this.options.extensions.startBlock.forEach((_) => {
|
|
4327
|
-
G = _.call({ lexer: this },
|
|
4440
|
+
G = _.call({ lexer: this }, w), typeof G == "number" && G >= 0 && (x = Math.min(x, G));
|
|
4328
4441
|
}), x < 1 / 0 && x >= 0 && (T = i.substring(0, x + 1));
|
|
4329
4442
|
}
|
|
4330
4443
|
if (this.state.top && (k = this.tokenizer.paragraph(T))) {
|
|
@@ -4363,10 +4476,10 @@ ${S}` : S;
|
|
|
4363
4476
|
var k, T, x;
|
|
4364
4477
|
let g = i, v = null;
|
|
4365
4478
|
if (this.tokens.links) {
|
|
4366
|
-
const
|
|
4367
|
-
if (
|
|
4479
|
+
const w = Object.keys(this.tokens.links);
|
|
4480
|
+
if (w.length > 0)
|
|
4368
4481
|
for (; (v = this.tokenizer.rules.inline.reflinkSearch.exec(g)) != null; )
|
|
4369
|
-
|
|
4482
|
+
w.includes(v[0].slice(v[0].lastIndexOf("[") + 1, -1)) && (g = g.slice(0, v.index) + "[" + "a".repeat(v[0].length - 2) + "]" + g.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
|
|
4370
4483
|
}
|
|
4371
4484
|
for (; (v = this.tokenizer.rules.inline.anyPunctuation.exec(g)) != null; )
|
|
4372
4485
|
g = g.slice(0, v.index) + "++" + g.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);
|
|
@@ -4375,49 +4488,49 @@ ${S}` : S;
|
|
|
4375
4488
|
let y = !1, R = "";
|
|
4376
4489
|
for (; i; ) {
|
|
4377
4490
|
y || (R = ""), y = !1;
|
|
4378
|
-
let
|
|
4379
|
-
if ((T = (k = this.options.extensions) == null ? void 0 : k.inline) != null && T.some((_) => (
|
|
4491
|
+
let w;
|
|
4492
|
+
if ((T = (k = this.options.extensions) == null ? void 0 : k.inline) != null && T.some((_) => (w = _.call({ lexer: this }, i, d)) ? (i = i.substring(w.raw.length), d.push(w), !0) : !1))
|
|
4380
4493
|
continue;
|
|
4381
|
-
if (
|
|
4382
|
-
i = i.substring(
|
|
4494
|
+
if (w = this.tokenizer.escape(i)) {
|
|
4495
|
+
i = i.substring(w.raw.length), d.push(w);
|
|
4383
4496
|
continue;
|
|
4384
4497
|
}
|
|
4385
|
-
if (
|
|
4386
|
-
i = i.substring(
|
|
4498
|
+
if (w = this.tokenizer.tag(i)) {
|
|
4499
|
+
i = i.substring(w.raw.length), d.push(w);
|
|
4387
4500
|
continue;
|
|
4388
4501
|
}
|
|
4389
|
-
if (
|
|
4390
|
-
i = i.substring(
|
|
4502
|
+
if (w = this.tokenizer.link(i)) {
|
|
4503
|
+
i = i.substring(w.raw.length), d.push(w);
|
|
4391
4504
|
continue;
|
|
4392
4505
|
}
|
|
4393
|
-
if (
|
|
4394
|
-
i = i.substring(
|
|
4506
|
+
if (w = this.tokenizer.reflink(i, this.tokens.links)) {
|
|
4507
|
+
i = i.substring(w.raw.length);
|
|
4395
4508
|
const _ = d.at(-1);
|
|
4396
|
-
|
|
4509
|
+
w.type === "text" && (_ == null ? void 0 : _.type) === "text" ? (_.raw += w.raw, _.text += w.text) : d.push(w);
|
|
4397
4510
|
continue;
|
|
4398
4511
|
}
|
|
4399
|
-
if (
|
|
4400
|
-
i = i.substring(
|
|
4512
|
+
if (w = this.tokenizer.emStrong(i, g, R)) {
|
|
4513
|
+
i = i.substring(w.raw.length), d.push(w);
|
|
4401
4514
|
continue;
|
|
4402
4515
|
}
|
|
4403
|
-
if (
|
|
4404
|
-
i = i.substring(
|
|
4516
|
+
if (w = this.tokenizer.codespan(i)) {
|
|
4517
|
+
i = i.substring(w.raw.length), d.push(w);
|
|
4405
4518
|
continue;
|
|
4406
4519
|
}
|
|
4407
|
-
if (
|
|
4408
|
-
i = i.substring(
|
|
4520
|
+
if (w = this.tokenizer.br(i)) {
|
|
4521
|
+
i = i.substring(w.raw.length), d.push(w);
|
|
4409
4522
|
continue;
|
|
4410
4523
|
}
|
|
4411
|
-
if (
|
|
4412
|
-
i = i.substring(
|
|
4524
|
+
if (w = this.tokenizer.del(i)) {
|
|
4525
|
+
i = i.substring(w.raw.length), d.push(w);
|
|
4413
4526
|
continue;
|
|
4414
4527
|
}
|
|
4415
|
-
if (
|
|
4416
|
-
i = i.substring(
|
|
4528
|
+
if (w = this.tokenizer.autolink(i)) {
|
|
4529
|
+
i = i.substring(w.raw.length), d.push(w);
|
|
4417
4530
|
continue;
|
|
4418
4531
|
}
|
|
4419
|
-
if (!this.state.inLink && (
|
|
4420
|
-
i = i.substring(
|
|
4532
|
+
if (!this.state.inLink && (w = this.tokenizer.url(i))) {
|
|
4533
|
+
i = i.substring(w.raw.length), d.push(w);
|
|
4421
4534
|
continue;
|
|
4422
4535
|
}
|
|
4423
4536
|
let G = i;
|
|
@@ -4429,10 +4542,10 @@ ${S}` : S;
|
|
|
4429
4542
|
W = fe.call({ lexer: this }, se), typeof W == "number" && W >= 0 && (_ = Math.min(_, W));
|
|
4430
4543
|
}), _ < 1 / 0 && _ >= 0 && (G = i.substring(0, _ + 1));
|
|
4431
4544
|
}
|
|
4432
|
-
if (
|
|
4433
|
-
i = i.substring(
|
|
4545
|
+
if (w = this.tokenizer.inlineText(G)) {
|
|
4546
|
+
i = i.substring(w.raw.length), w.raw.slice(-1) !== "_" && (R = w.raw.slice(-1)), y = !0;
|
|
4434
4547
|
const _ = d.at(-1);
|
|
4435
|
-
(_ == null ? void 0 : _.type) === "text" ? (_.raw +=
|
|
4548
|
+
(_ == null ? void 0 : _.type) === "text" ? (_.raw += w.raw, _.text += w.text) : d.push(w);
|
|
4436
4549
|
continue;
|
|
4437
4550
|
}
|
|
4438
4551
|
if (i) {
|
|
@@ -4638,9 +4751,9 @@ ${f}</tr>
|
|
|
4638
4751
|
for (let R = 0; R < i.length; R++) {
|
|
4639
4752
|
const k = i[R];
|
|
4640
4753
|
if ((y = (v = this.options.extensions) == null ? void 0 : v.renderers) != null && y[k.type]) {
|
|
4641
|
-
const x = k,
|
|
4642
|
-
if (
|
|
4643
|
-
g +=
|
|
4754
|
+
const x = k, w = this.options.extensions.renderers[x.type].call({ parser: this }, x);
|
|
4755
|
+
if (w !== !1 || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "paragraph", "text"].includes(x.type)) {
|
|
4756
|
+
g += w || "";
|
|
4644
4757
|
continue;
|
|
4645
4758
|
}
|
|
4646
4759
|
}
|
|
@@ -4683,16 +4796,16 @@ ${f}</tr>
|
|
|
4683
4796
|
continue;
|
|
4684
4797
|
}
|
|
4685
4798
|
case "text": {
|
|
4686
|
-
let x = T,
|
|
4799
|
+
let x = T, w = this.renderer.text(x);
|
|
4687
4800
|
for (; R + 1 < i.length && i[R + 1].type === "text"; )
|
|
4688
|
-
x = i[++R],
|
|
4801
|
+
x = i[++R], w += `
|
|
4689
4802
|
` + this.renderer.text(x);
|
|
4690
4803
|
d ? g += this.renderer.paragraph({
|
|
4691
4804
|
type: "paragraph",
|
|
4692
|
-
raw:
|
|
4693
|
-
text:
|
|
4694
|
-
tokens: [{ type: "text", raw:
|
|
4695
|
-
}) : g +=
|
|
4805
|
+
raw: w,
|
|
4806
|
+
text: w,
|
|
4807
|
+
tokens: [{ type: "text", raw: w, text: w, escaped: !0 }]
|
|
4808
|
+
}) : g += w;
|
|
4696
4809
|
continue;
|
|
4697
4810
|
}
|
|
4698
4811
|
default: {
|
|
@@ -4888,8 +5001,8 @@ ${f}</tr>
|
|
|
4888
5001
|
continue;
|
|
4889
5002
|
const R = y, k = d.renderer[R], T = v[R];
|
|
4890
5003
|
v[R] = (...x) => {
|
|
4891
|
-
let
|
|
4892
|
-
return
|
|
5004
|
+
let w = k.apply(v, x);
|
|
5005
|
+
return w === !1 && (w = T.apply(v, x)), w || "";
|
|
4893
5006
|
};
|
|
4894
5007
|
}
|
|
4895
5008
|
g.renderer = v;
|
|
@@ -4903,8 +5016,8 @@ ${f}</tr>
|
|
|
4903
5016
|
continue;
|
|
4904
5017
|
const R = y, k = d.tokenizer[R], T = v[R];
|
|
4905
5018
|
v[R] = (...x) => {
|
|
4906
|
-
let
|
|
4907
|
-
return
|
|
5019
|
+
let w = k.apply(v, x);
|
|
5020
|
+
return w === !1 && (w = T.apply(v, x)), w;
|
|
4908
5021
|
};
|
|
4909
5022
|
}
|
|
4910
5023
|
g.tokenizer = v;
|
|
@@ -4920,11 +5033,11 @@ ${f}</tr>
|
|
|
4920
5033
|
Ne.passThroughHooks.has(y) ? v[R] = (x) => {
|
|
4921
5034
|
if (this.defaults.async)
|
|
4922
5035
|
return Promise.resolve(k.call(v, x)).then((G) => T.call(v, G));
|
|
4923
|
-
const
|
|
4924
|
-
return T.call(v,
|
|
5036
|
+
const w = k.call(v, x);
|
|
5037
|
+
return T.call(v, w);
|
|
4925
5038
|
} : v[R] = (...x) => {
|
|
4926
|
-
let
|
|
4927
|
-
return
|
|
5039
|
+
let w = k.apply(v, x);
|
|
5040
|
+
return w === !1 && (w = T.apply(v, x)), w;
|
|
4928
5041
|
};
|
|
4929
5042
|
}
|
|
4930
5043
|
g.hooks = v;
|
|
@@ -4965,8 +5078,8 @@ ${f}</tr>
|
|
|
4965
5078
|
y.hooks && (d = y.hooks.preprocess(d));
|
|
4966
5079
|
let x = k(d, y);
|
|
4967
5080
|
y.hooks && (x = y.hooks.processAllTokens(x)), y.walkTokens && this.walkTokens(x, y.walkTokens);
|
|
4968
|
-
let
|
|
4969
|
-
return y.hooks && (
|
|
5081
|
+
let w = T(x, y);
|
|
5082
|
+
return y.hooks && (w = y.hooks.postprocess(w)), w;
|
|
4970
5083
|
} catch (x) {
|
|
4971
5084
|
return R(x);
|
|
4972
5085
|
}
|
|
@@ -4995,7 +5108,7 @@ Please report this to https://github.com/markedjs/marked.`, f) {
|
|
|
4995
5108
|
}, j.walkTokens = function(f, i) {
|
|
4996
5109
|
return ze.walkTokens(f, i);
|
|
4997
5110
|
}, j.parseInline = ze.parseInline, j.Parser = ke, j.parser = ke.parse, j.Renderer = te, j.TextRenderer = tt, j.Lexer = Te, j.lexer = Te.lex, j.Tokenizer = ut, j.Hooks = Ne, j.parse = j;
|
|
4998
|
-
var rr = j.options,
|
|
5111
|
+
var rr = j.options, Ur = j.setOptions, sr = j.use, re = j.walkTokens, ar = j.parseInline, ne = j, nr = ke.parse, K = Te.lex;
|
|
4999
5112
|
return s != e && (a.exports = e), a.exports;
|
|
5000
5113
|
});
|
|
5001
5114
|
})(Xa);
|
|
@@ -5036,7 +5149,7 @@ const Ja = /* @__PURE__ */ ee(class extends J {
|
|
|
5036
5149
|
* Sanitizes and converts markdown to HTML.
|
|
5037
5150
|
*/
|
|
5038
5151
|
sanitizeMarkdown(e) {
|
|
5039
|
-
return
|
|
5152
|
+
return wa.sanitize(Xa.exports.marked.parse(e));
|
|
5040
5153
|
}
|
|
5041
5154
|
/**
|
|
5042
5155
|
* Updates the content element directly without triggering a re-render.
|
|
@@ -5053,7 +5166,7 @@ const Ja = /* @__PURE__ */ ee(class extends J {
|
|
|
5053
5166
|
return this.isLoading ? m("searchcraft-loading", { label: "LOADING" }) : this.isSummaryNotEnabled ? m("div", { class: "searchcraft-summary-box-content" }, "AI summaries are not enabled") : m("div", { class: "searchcraft-summary-box-content" }, this.summary);
|
|
5054
5167
|
}
|
|
5055
5168
|
render() {
|
|
5056
|
-
return m("div", { key: "
|
|
5169
|
+
return m("div", { key: "94033d861f93036430eca149b3c017fb6099fb17", class: "searchcraft-summary-box" }, this.renderContent());
|
|
5057
5170
|
}
|
|
5058
5171
|
}, [0, "searchcraft-summary-box", {
|
|
5059
5172
|
searchcraftId: [1, "searchcraft-id"],
|
|
@@ -5075,13 +5188,13 @@ function oi() {
|
|
|
5075
5188
|
}
|
|
5076
5189
|
});
|
|
5077
5190
|
}
|
|
5078
|
-
const ii = Ja, en = oi, ci = `[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 ii = Ja, en = oi, ci = `\uFEFF[class*=searchcraft-],[class*=searchcraft-] *,[class*=searchcraft-]::before,[class*=searchcraft-]::after,[class*=searchcraft-] *,::before,[class*=searchcraft-] *,::after{box-sizing:border-box;padding:0;margin:0}:root{--sc-text-base-size: 1em;--sc-text-scale-ratio: 1.1;--sc-font-family: sans-serif;--sc-font-bold: 700;--sc-font-normal: 400;--sc-heading-1-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-2-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-3-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-4-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-5-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-6-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) );--sc-body-font-size: calc(var(--sc-text-base-size));--sc-body-small-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) )}:root{--sc-border-radius: 8px;--sc-border-radius-sm: calc(var(--sc-border-radius) / 2);--sc-border-radius-lg: calc(var(--sc-border-radius) * 2);--sc-border-radius-xl: calc(var(--sc-border-radius) * 3);--sc-border-radius-2xl: calc(var(--sc-border-radius) * 4);--sc-border-radius-full: 9999px}:root{--sc-breakpoint-sm: 576px;--sc-breakpoint-md: 768px;--sc-breakpoint-lg: 992px}:root{--sc-surface-neutral-primary: var(--sc-color-background, #ffffff);--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-primary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #fafafa) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-primary-active: var( --sc-color-background-active, var(--sc-color-background-active-computed, #f7f7f7) );--sc-surface-neutral-secondary: var( --sc-color-background-secondary, var(--sc-color-background, #f3f3f3) );--sc-color-background-secondary-hover-computed: hsl( from var(--sc-color-background-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #e6e6e6) );--sc-color-background-secondary-active-computed: hsl( from var(--sc-color-background-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-secondary-active: var( --sc-color-background-secondary-active, var(--sc-color-background-active-computed, #e0e0e0) );--sc-surface-neutral-light: #ffffff;--sc-content-neutral-primary: var(--sc-color-foreground, #292929);--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10, calc(l + 5), 90) );--sc-content-neutral-secondary: var( --sc-color-foreground-secondary, var(--sc-color-foreground-secondary-computed, #404040) );--sc-border-neutral: var(--sc-color-border, rgba(0, 0, 0, 0.1));--sc-surface-brand-primary: var(--sc-color-brand, #000000);--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20, calc(l + 5), 95) );--sc-surface-brand-primary-hover: var( --sc-color-brand-hover, var(--sc-color-brand-hover-computed, #2e2e2e) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10, calc(l - 5), 85) );--sc-surface-brand-primary-active: var( --sc-color-brand-active, var(--sc-color-brand-active-computed, #292929) );--sc-surface-brand-secondary: var( --sc-color-brand-secondary, var(--sc-color-brand, #e6e6e6) );--sc-color-brand-secondary-hover-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-brand-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #ebebeb) );--sc-color-brand-secondary-active-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-brand-secondary-active: var( --sc-color-brand-secondary-active, var(--sc-color-brand-active-computed, #e0e0e0) );--sc-content-brand: var( --sc-color-brand-text, var(--sc-surface-brand-primary) );--sc-content-brand-on-primary: #ffffff;--sc-border-brand: var(--sc-surface-brand-primary);--sc-surface-success-primary: var(--sc-color-success, #008000);--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30 );--sc-surface-success-primary-hover: var( --sc-color-success-primary-hover, var(--sc-color-success-primary-hover-computed, #009900) );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20 );--sc-surface-success-primary-active: var( --sc-color-success-primary-active, var(--sc-color-success-primary-active-computed, #006600) );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90 );--sc-surface-success-secondary: var( --sc-color-success-secondary, var(--sc-color-success-secondary-computed, #ccffcc) );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95 );--sc-surface-success-secondary-hover: var( --sc-color-success-secondary-hover, var(--sc-color-success-secondary-hover-computed, #e6ffe6) );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85 );--sc-surface-success-secondary-active: var( --sc-color-success-secondary-active, var(--sc-color-success-secondary-active-computed, #b2ffb2) );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30) );--sc-content-success-on-primary: #ffffff;--sc-border-success: var(--sc-surface-success-primary);--sc-surface-caution-primary: var(--sc-color-caution, #cc6600);--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30 );--sc-surface-caution-primary-hover: var( --sc-color-caution-primary-hover, var(--sc-color-caution-primary-hover-computed, #e57300) );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20 );--sc-surface-caution-primary-active: var( --sc-color-caution-primary-active, var(--sc-color-caution-primary-active-computed, #b25a00) );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90 );--sc-surface-caution-secondary: var( --sc-color-caution-secondary, var(--sc-color-caution-secondary-computed, #ffd9b3) );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95 );--sc-surface-caution-secondary-hover: var( --sc-color-caution-secondary-hover, var(--sc-color-caution-secondary-hover-computed, #ffe5cc) );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85 );--sc-surface-caution-secondary-active: var( --sc-color-caution-secondary-active, var(--sc-color-caution-secondary-active-computed, #ffcc99) );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30) );--sc-content-caution-on-primary: #ffffff;--sc-border-caution: var(--sc-surface-caution-primary);--sc-surface-danger-primary: var(--sc-color-danger, #cc0000);--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30 );--sc-surface-danger-primary-hover: var( --sc-color-danger-primary-hover, var(--sc-color-danger-primary-hover-computed, #e50000) );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20 );--sc-surface-danger-primary-active: var( --sc-color-danger-primary-active, var(--sc-color-danger-primary-active-computed, #b30000) );--sc-color-danger-secondary-computed: hsl(from var(--sc-color-danger) h s 90);--sc-surface-danger-secondary: var( --sc-color-danger-secondary, var(--sc-color-danger-secondary-computed, #ffcccc) );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95 );--sc-surface-danger-secondary-hover: var( --sc-color-danger-secondary-hover, var(--sc-color-danger-secondary-hover-computed, #ffe7e7) );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85 );--sc-surface-danger-secondary-active: var( --sc-color-danger-secondary-active, var(--sc-color-danger-secondary-active-computed, #ffb3b3) );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30) );--sc-content-danger-on-primary: #ffffff;--sc-border-danger: var(--sc-surface-danger-primary);--sc-color-disabled: hsl(from var(--sc-color-page-primary) h s calc(l * 0.5));--sc-surface-disabled: var(--sc-color-disabled, #d9d9d9);--sc-color-disabled-text: hsl( from var(--sc-color-text-primary) h s calc(l * 0.5) );--sc-content-disabled: var(--sc-color-disabled-text, #737373);--sc-content-disabled-on-disabled: var(--sc-color-disabled-text, #737373)}@supports(hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none){:root{--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10%, calc(l + 5%), 95%) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5%, calc(l - 5%), 90%) );--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10%, calc(l + 5%), 90%) );--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20%, calc(l + 5%), 95%) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10%, calc(l - 5%), 85%) );--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30% );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20% );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90% );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95% );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85% );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30%) );--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30% );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20% );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90% );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95% );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85% );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30%) );--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30% );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20% );--sc-color-danger-secondary-computed: hsl( from var(--sc-color-danger) h s 90% );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95% );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85% );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30%) )}}.searchcraft-ad{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-ad-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-ad-no-template>p{margin:0}.searchcraft-adm-ad{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-result{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-search-result-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-search-result-no-template>p{margin:0}.searchcraft-search-results{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-results-empty-state{text-align:center}.searchcraft-search-results-error-message{text-align:center}.searchcraft-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background:none;border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;gap:4px;padding:12px;position:relative}.searchcraft-button.searchcraft-button-disabled{cursor:not-allowed}.searchcraft-button-primary{background-color:var(--sc-surface-brand-primary);color:var(--sc-content-brand-on-primary);font-weight:var(--sc-font-bold)}.searchcraft-button-primary:hover{background-color:var(--sc-surface-brand-primary-hover)}.searchcraft-button-primary:focus{border-color:var(--sc-border-primary)}.searchcraft-button-primary:active{background-color:var(--sc-surface-brand-primary-active)}.searchcraft-button-primary.searchcraft-button-disabled,.searchcraft-button-primary.searchcraft-button-disabled:hover,.searchcraft-button-primary.searchcraft-button-disabled:focus,.searchcraft-button-primary.searchcraft-button-disabled:active{background-color:var(--sc-surface-disabled);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-tertiary{background-color:var(--sc-surface-neutral-primary);color:var(--sc-content-brand);font-weight:var(--sc-font-normal)}.searchcraft-button-tertiary:hover{background-color:var(--sc-surface-brand-secondary-hover)}.searchcraft-button-tertiary:focus{background-color:var(--sc-surface-neutral-light);border-color:var(--sc-border-primary)}.searchcraft-button-tertiary:active{background-color:var(--sc-surface-brand-secondary-active)}.searchcraft-button-tertiary.searchcraft-button-disabled,.searchcraft-button-tertiary.searchcraft-button-disabled:hover,.searchcraft-button-tertiary.searchcraft-button-disabled:focus,.searchcraft-button-tertiary.searchcraft-button-disabled:active{background-color:var(--sc-surface-neutral-light);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-icon{fill:none}.searchcraft-error-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-danger);margin:0}.searchcraft-facet-list{display:flex;flex-direction:column;gap:8px;width:100%}.searchcraft-facet-list-checkbox-label{align-items:center;color:var(--sc-content-neutral-primary);display:flex;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);gap:8px;position:relative;-webkit-font-smoothing:antialiased}.searchcraft-facet-list-checkbox-input-wrapper{position:relative}.searchcraft-facet-list-checkbox-input{align-items:center;appearance:none;background-color:var(--sc-surface-neutral-secondary);border:1px solid var(--sc-surface-disabled);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;height:24px;justify-content:center;width:24px;margin:0}.searchcraft-facet-list-checkbox-input:focus{outline:2px solid var(--sc-surface-brand-primary);outline-offset:2px}.searchcraft-facet-list-checkbox-input:checked{background-color:var(--sc-surface-brand-primary);position:relative}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-check-icon{display:flex}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-dash-icon{display:flex}.searchcraft-facet-child-list{display:flex;flex-direction:column;gap:6px}.searchcraft-facet-child-list-checkbox-label{margin-left:24px}.searchcraft-facet-child-list-checkbox-label:first-child{margin-top:6px}.searchcraft-facet-list-checkbox-input-check-icon{display:none;height:16px;left:50%;position:absolute;margin-top:2px;top:50%;transform:translate(-50%, -50%);width:16px}.searchcraft-facet-list-checkbox-input-dash-icon{display:none;height:3px;left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);width:14px}.searchcraft-facet-list-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-disabled);text-align:center}.searchcraft-filter-panel{display:flex;flex-direction:column;gap:16px}.searchcraft-filter-panel-section{display:flex;flex-direction:column;gap:8px}.searchcraft-filter-panel-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}@media(max-width: 767px){[data-toggle-filter-panel]{cursor:pointer;display:flex !important;align-items:center;justify-content:space-between;width:100%}[data-toggle-filter-panel]::after{content:"›";display:inline-block;font-size:1.5em;line-height:1;margin-left:auto;flex-shrink:0;transition:transform .2s ease;transform-origin:center}[data-toggle-filter-panel][data-filter-panel-collapsed]::after{transform:rotate(90deg)}[data-toggle-filter-panel][data-filter-panel-expanded]::after{transform:rotate(-90deg)}}@media(min-width: 768px){[data-toggle-filter-panel]{cursor:default}[data-toggle-filter-panel]::after{display:none}}:root{--sc-input-form-border-radius: var(--sc-border-radius);--sc-input-form-search-icon-size: 20px;--sc-input-form-clear-icon-size: 20px}.searchcraft-input-form-grid{display:grid;gap:4px 8px}.searchcraft-input-form-grid-button-left{grid-template-rows:repeat(3, auto);grid-template-columns:auto 1fr}.searchcraft-input-form-grid-button-left .searchcraft-input-form-button{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-label{grid-column:2/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-error-message{grid-column:2/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-input-wrapper{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right{grid-template-rows:repeat(3, auto);grid-template-columns:1fr auto}.searchcraft-input-form-grid-button-right .searchcraft-input-form-button{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-none{grid-template-rows:repeat(3, auto);grid-template-columns:auto}.searchcraft-input-form-grid-button-none .searchcraft-input-form-button{display:none}.searchcraft-input-form-grid-button-none .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-input-wrapper{display:flex;position:relative}.searchcraft-input-form-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background-color:var(--sc-surface-neutral-secondary);border-radius:var(--sc-input-form-border-radius);border:none;color:var(--sc-content-neutral-primary);flex:1;outline:none;padding:12px 44px}.searchcraft-input-form-input::placeholder{color:var(--sc-content-disabled)}.searchcraft-input-form-input:focus{outline:var(--sc-border-brand) solid 2px;outline-offset:-1px}.searchcraft-input-form-input.searchcraft-placeholder-hide-on-focus:focus::placeholder{opacity:0}.searchcraft-input-form-error{color:var(--sc-content-danger);outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-error:focus{outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-input-icon{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;pointer-events:none;top:0;width:44px}.searchcraft-input-form-input-search-icon{color:var(--sc-content-neutral-secondary);fill:none;height:var(--sc-input-form-search-icon-size);pointer-events:none;width:var(--sc-input-form-search-icon-size)}.searchcraft-input-form-clear-button{all:unset;align-items:center;bottom:0;border:none;cursor:pointer;display:flex;justify-content:center;outline:none;position:absolute;right:0;top:0;width:44px}.searchcraft-input-form-clear-icon{color:var(--sc-content-brand);fill:none;height:var(--sc-input-form-clear-icon-size);width:var(--sc-input-form-clear-icon-size)}.searchcraft-input-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);font-weight:var(--sc-font-bold);margin-top:4px;margin-bottom:4px}:root{--sc-popover-button-border-radius: var(--sc-border-radius)}@media(min-width: 576px){:root{--sc-popover-button-border-radius: var(--sc-border-radius-lg)}}.searchcraft-popover-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);cursor:pointer}.searchcraft-popover-button-skeuomorphic{appearance:none;background:none;border:none;color:var(--sc-content-neutral-primary);display:block;width:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-popover-button-border-radius);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;display:flex;gap:24px;height:40px;justify-content:space-between;line-height:1;padding:4px 5px 4px 10px;background:var(--sc-surface-neutral-primary)}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;height:63px;padding:8px 10px 8px 16px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{align-items:center;display:flex;gap:4px}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{color:var(--sc-content-neutral-secondary);display:flex;gap:4px;font-size:20px;font-weight:500}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 3px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 3px);background-color:var(--sc-surface-neutral-primary);box-shadow:0 3px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 6px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 2px);position:relative}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 8px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 8px);box-shadow:0 4px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 6px 1px rgb(from var(--sc-content-neutral-secondary) r g b/20%),0 7px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 9px 4px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 13px 8px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 5px)}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before,.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{content:"";display:block}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 4px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 4px);background:linear-gradient(340deg, rgb(from var(--sc-surface-neutral-secondary) r g b/2%) 0%, var(--sc-surface-neutral-secondary) 100%);inset:2px;position:absolute}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 12px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 12px);inset:4px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{aspect-ratio:1/1;height:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap>span{display:flex;line-height:1;left:50%;margin-top:2%;position:absolute;top:50%;transform:translate(-50%, -50%)}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:60%;width:auto}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:50%}}:root{--sc-popover-list-view-height: 600px;--sc-popover-modal-max-width: 800px}.searchcraft-popover-form{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);display:flex;flex:1;flex-direction:column}.searchcraft-popover-form searchcraft-input-form,.searchcraft-popover-form searchcraft-popover-footer{width:100%}.searchcraft-popover-form.searchcraft-popover-form-active .searchcraft-popover-form-input{padding-bottom:1px}.searchcraft-popover-form searchcraft-popover-list-view{flex-shrink:1;height:100%;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-input{display:flex;flex-direction:row;gap:12px}.searchcraft-popover-form-input .searchcraft-input-form-input{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius-lg);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset;width:0}.searchcraft-popover-form-cancel-button{background:none;border:none;cursor:pointer;font-size:14px}.searchcraft-popover-form-modal-input,.searchcraft-popover-form-fullscreen-input{padding:24px}.searchcraft-popover-form-modal-popover-list-view,.searchcraft-popover-form-fullscreen-popover-list-view{flex-grow:1;flex-shrink:1;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-inline{background-color:var(--sc-surface-neutral-primary);border:1px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius-xl);padding:12px;position:relative}.searchcraft-popover-form-inline.searchcraft-popover-form-active{border:1px solid var(--sc-border-neutral);border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;padding-bottom:1px}.searchcraft-popover-form-inline searchcraft-popover-list-view{padding:0 12px}.searchcraft-popover-form-inline .searchcraft-input-form-input,.searchcraft-popover-form-inline .searchcraft-popover-list-item-link,.searchcraft-popover-form-inline .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-xl - 12px);border-radius:calc(var(--sc-border-radius-xl) - 12px)}.searchcraft-popover-form-inline-wrapper{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-top:none;border-bottom-left-radius:var(--sc-border-radius-xl);border-bottom-right-radius:var(--sc-border-radius-xl);display:flex;flex-direction:column;left:-1px;max-height:var(--sc-popover-list-view-height);overflow:hidden;position:absolute;right:-1px;top:100%}.searchcraft-popover-form-modal{align-items:center;display:flex;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-modal .searchcraft-input-form-input,.searchcraft-popover-form-modal .searchcraft-popover-list-item-link,.searchcraft-popover-form-modal .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px)}.searchcraft-popover-form-modal-backdrop{background-color:rgb(from var(--sc-content-neutral-primary) r g b/50%);display:none;inset:0;position:fixed}@media(min-width: 576px){.searchcraft-popover-form-modal-backdrop{display:block}}.searchcraft-popover-form-modal-wrapper{background-color:var(--sc-surface-neutral-primary);box-shadow:1px 2px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 2px 4px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 4px 8px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 8px 16px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 16px 32px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 32px 64px rgb(from var(--sc-content-neutral-primary) r g b/7%);display:flex;flex-direction:column;inset:0;max-width:var(--sc-popover-modal-max-width);overflow:hidden;position:absolute;width:100%;z-index:1001}@media(min-width: 576px){.searchcraft-popover-form-modal-wrapper{border-radius:var(--sc-border-radius-2xl);inset:0;margin-top:100px;max-height:var(--sc-popover-list-view-height);max-width:var(--sc-popover-modal-max-width);position:relative}}.searchcraft-popover-form-modal-cancel-button{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-modal-cancel-button{padding:8px 12px}}.searchcraft-popover-form-fullscreen{background-color:var(--sc-surface-neutral-primary);display:flex;flex-direction:column;justify-content:space-between;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-fullscreen .searchcraft-popover-list-item-link,.searchcraft-popover-form-fullscreen .searchcraft-adm-ad-link{border-radius:var(--sc-border-radius-lg)}.searchcraft-popover-form-fullscreen-cancel-button{border-radius:var(--sc-border-radius-lg);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-fullscreen-cancel-button{padding:8px 12px}}.searchcraft-popover-footer{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;background-color:var(--sc-surface-neutral-secondary);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset;display:flex;gap:8px;justify-content:space-between;line-height:1;padding:20px 24px}@media(min-width: 576px){.searchcraft-popover-footer{padding:20px 32px}}.searchcraft-popover-footer-results-info{margin:0}.searchcraft-popover-footer-link{color:var(--sc-content-neutral-primary);display:flex;max-width:160px;width:100%}:root{--sc-popover-list-item-image-fit: contain}.searchcraft-popover-list-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;border-bottom:1px solid var(--sc-border-neutral);padding:12px 0}searchcraft-popover-list-item:last-child .searchcraft-popover-list-item{border-bottom:none}.searchcraft-popover-list-item-link{align-items:flex-start;color:var(--sc-content-neutral-primary);display:flex;gap:24px;padding:12px;text-decoration:none}.searchcraft-popover-list-item-link:focus,.searchcraft-popover-list-item-link:active{background-color:var(--sc-surface-neutral-primary-active)}.searchcraft-popover-list-item-link:hover{background-color:var(--sc-surface-neutral-primary-hover)}.searchcraft-popover-list-item-image-wrapper{align-items:center;aspect-ratio:16/9;display:flex;flex-shrink:0;justify-content:center;width:160px}.searchcraft-popover-list-item-image{height:100%;object-fit:var(--sc-popover-list-item-image-fit);width:100%}.searchcraft-popover-list-item-content{display:flex;flex-direction:column;flex-grow:1;gap:4px;justify-content:center}.searchcraft-popover-list-item-content-title,.searchcraft-popover-list-item-content-subtitle{display:-webkit-box;line-clamp:2;margin:0;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.searchcraft-popover-list-item-content-title{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-heading-5-font-size);font-weight:var(--sc-font-bold)}.searchcraft-popover-list-item-content-subtitle{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-popover-list-view{display:flex;flex-direction:column}.searchcraft-results-info{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-primary);margin:0}.searchcraft-slider{align-items:center;display:flex;flex-direction:column;gap:10px;width:100%;margin-top:4px}.searchcraft-slider-range{align-items:center;background-color:var(--sc-surface-disabled);border-radius:999px;display:flex;position:relative;height:4px;width:100%}.searchcraft-slider-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range{background-color:var(--sc-surface-brand-primary);border-radius:2px;height:4px;position:absolute;top:50%;transform:translateY(-50%);z-index:0}.searchcraft-slider-range .searchcraft-slider-active-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range::-moz-range-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-input{appearance:none;background:rgba(0,0,0,0);border-radius:2px;height:4px;margin:0;outline:none;pointer-events:none;position:absolute;width:100%;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-webkit-slider-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:1px solid var(--sc-border-neutral);cursor:pointer;height:18px;pointer-events:all;width:18px;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-moz-range-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:1px solid var(--sc-border-neutral);cursor:pointer;height:18px;pointer-events:all;width:18px}.searchcraft-slider-range .searchcraft-slider-input:focus::-webkit-slider-thumb{outline:2px solid var(--sc-surface-brand-primary)}.searchcraft-slider-range .searchcraft-slider-input:focus::-moz-range-thumb{outline:2px solid var(--sc-surface-brand-primary)}.searchcraft-slider-label{color:var(--sc-content-primary);display:flex;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);justify-content:space-between;margin-top:4px;width:100%}.searchcraft-slider-start-label,.searchcraft-slider-end-label{min-width:30px;text-align:center}.searchcraft-toggle-button{align-items:flex-start;display:flex;gap:10px;justify-content:space-between}.searchcraft-toggle-button-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);margin:0}.searchcraft-toggle-button-sub-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-secondary);margin:0}.searchcraft-toggle-button-background{background:var(--sc-surface-disabled);border-radius:var(--sc-border-radius-full);border:none;cursor:pointer;flex-shrink:0;height:26px;position:relative;transition:background-color .2s;width:44px}.searchcraft-toggle-button-handle{background:var(--sc-surface-neutral-light);border-radius:50%;height:18px;left:4px;position:absolute;top:calc(50% - 9px);transition:transform .3s ease;width:18px}.searchcraft-toggle-button-active .searchcraft-toggle-button-background{background:var(--sc-surface-brand-primary);box-shadow:0px 0px 0px 1px rgba(0,0,0,.05)}.searchcraft-toggle-button-active .searchcraft-toggle-button-handle{transform:translateX(16px)}.searchcraft-pagination{display:inline-grid;gap:16px;grid-template-columns:repeat(3, auto);grid-template-rows:1fr}.searchcraft-pagination-list{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius);display:flex;list-style-type:none;margin:0;overflow:hidden;padding:0;width:auto}.searchcraft-pagination-list li{border-right:1px solid var(--sc-border-neutral);height:100%;min-height:44px;width:44px}.searchcraft-pagination-list li:last-child{border-right:none}.searchcraft-pagination-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;background-color:var(--sc-surface-neutral-primary);border:none;display:flex;height:100%;justify-content:center;width:100%}.searchcraft-pagination-item-active{background-color:var(--sc-surface-brand-secondary);font-weight:var(--sc-font-bold)}.searchcraft-pagination-control{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius)}.searchcraft-pagination-range{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;display:flex}.searchcraft-select{display:flex;flex-direction:column;gap:4px}.searchcraft-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}.searchcraft-select-input-wrapper{position:relative}.searchcraft-select-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);appearance:none;background-color:var(--sc-surface-neutral-secondary);border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;height:44px;padding:0 44px 0 16px;width:100%}.searchcraft-select-input:hover{background-color:var(--sc-surface-neutral-secondary-hover)}.searchcraft-select-input:active{background-color:var(--sc-surface-neutral-secondary-active)}.searchcraft-select-input:focus{border-color:var(--sc-border-brand);outline:none}.searchcraft-select-input-icon{fill:none;pointer-events:none;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.searchcraft-select-caption{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page{display:flex}.searchcraft-search-results-per-page-select{align-items:center;display:flex;gap:12px}.searchcraft-search-results-per-page-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page-select-input{min-width:120px}.searchcraft-summary-box{padding:20px;border-radius:var(--sc-border-radius);background-color:var(--sc-surface-neutral-secondary);position:relative;min-height:200px;color:var(--sc-content-neutral-primary);font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-summary-box h1,.searchcraft-summary-box h2,.searchcraft-summary-box h3,.searchcraft-summary-box h4,.searchcraft-summary-box h5{padding-top:10px;padding-bottom:10px}.searchcraft-summary-box p{padding-bottom:10px}.searchcraft-summary-box img{max-width:200px}.searchcraft-summary-box ol,.searchcraft-summary-box ul{padding-left:1em;padding-bottom:10px}.searchcraft-summary-box a{color:var(--sc-content-brand)}.searchcraft-loading-label{position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);margin-top:40px;letter-spacing:2px;color:#828282;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal)}.searchcraft-loading-bars{margin:0 auto;width:60px;height:50px;text-align:center;position:absolute;top:50%;left:50%;transform:translateY(-50%) translateX(-50%);display:flex;gap:2px}.searchcraft-loading-bars>div{height:100%;width:8px;-webkit-animation:delay .8s infinite ease-in-out;animation:delay .8s infinite ease-in-out;opacity:.2}.searchcraft-loading-bars .searchcraft-loading-bar-1{background-color:var(--sc-surface-brand-primary);opacity:.1}.searchcraft-loading-bars .searchcraft-loading-bar-2{background-color:var(--sc-surface-brand-primary);animation-delay:-0.7s;opacity:.2}.searchcraft-loading-bars .searchcraft-loading-bar-3{background-color:var(--sc-surface-brand-primary);animation-delay:-0.6s;opacity:.3}.searchcraft-loading-bars .searchcraft-loading-bar-4{background-color:var(--sc-surface-brand-primary);animation-delay:-0.5s;opacity:.4}.searchcraft-loading-bars .searchcraft-loading-bar-5{background-color:var(--sc-surface-brand-primary);animation-delay:-0.4s;opacity:.5}.searchcraft-loading-bars .searchcraft-loading-bar-6{background-color:var(--sc-surface-brand-primary);animation-delay:-0.3s;opacity:.6}@keyframes delay{0%,40%,100%{transform:scaleY(0.05)}20%{transform:scaleY(1)}}/*# sourceMappingURL=hologram.css.map */
|
|
5079
5192
|
`, tn = /* @__PURE__ */ ee(class extends J {
|
|
5080
5193
|
constructor() {
|
|
5081
5194
|
super(), this.__registerHost();
|
|
5082
5195
|
}
|
|
5083
5196
|
render() {
|
|
5084
|
-
return m("style", { key: "
|
|
5197
|
+
return m("style", { key: "13c28bb6075d6fcbec33938fd2227d9fb6129bf2" }, ci);
|
|
5085
5198
|
}
|
|
5086
5199
|
}, [0, "searchcraft-theme"]);
|
|
5087
5200
|
function li() {
|
|
@@ -5096,7 +5209,7 @@ function li() {
|
|
|
5096
5209
|
});
|
|
5097
5210
|
}
|
|
5098
5211
|
const ui = tn, rn = li, hi = Pa, di = () => {
|
|
5099
|
-
bo(), yo(), Co(),
|
|
5212
|
+
bo(), yo(), Co(), So(), Ia(), Ma(), Fo(), Do(), La(), Na(), Vo(), Va(), Go(), Zo(), ja(), Xo(), Ka(), Za(), ai(), ni(), en(), rn(), hi();
|
|
5100
5213
|
};
|
|
5101
5214
|
globalThis.__scDefineCustomElements__ = di;
|
|
5102
5215
|
var he;
|
|
@@ -5425,7 +5538,7 @@ jt().name != "Firefox" && _e("canvas", function() {
|
|
|
5425
5538
|
t({ commonImageDataHash: fs(nn(r, Ws, Gs).data.toString()).toString() });
|
|
5426
5539
|
});
|
|
5427
5540
|
});
|
|
5428
|
-
var Yr,
|
|
5541
|
+
var Yr, wi = ["Arial", "Arial Black", "Arial Narrow", "Arial Rounded MT", "Arimo", "Archivo", "Barlow", "Bebas Neue", "Bitter", "Bookman", "Calibri", "Cabin", "Candara", "Century", "Century Gothic", "Comic Sans MS", "Constantia", "Courier", "Courier New", "Crimson Text", "DM Mono", "DM Sans", "DM Serif Display", "DM Serif Text", "Dosis", "Droid Sans", "Exo", "Fira Code", "Fira Sans", "Franklin Gothic Medium", "Garamond", "Geneva", "Georgia", "Gill Sans", "Helvetica", "Impact", "Inconsolata", "Indie Flower", "Inter", "Josefin Sans", "Karla", "Lato", "Lexend", "Lucida Bright", "Lucida Console", "Lucida Sans Unicode", "Manrope", "Merriweather", "Merriweather Sans", "Montserrat", "Myriad", "Noto Sans", "Nunito", "Nunito Sans", "Open Sans", "Optima", "Orbitron", "Oswald", "Pacifico", "Palatino", "Perpetua", "PT Sans", "PT Serif", "Poppins", "Prompt", "Public Sans", "Quicksand", "Rajdhani", "Recursive", "Roboto", "Roboto Condensed", "Rockwell", "Rubik", "Segoe Print", "Segoe Script", "Segoe UI", "Sora", "Source Sans Pro", "Space Mono", "Tahoma", "Taviraj", "Times", "Times New Roman", "Titillium Web", "Trebuchet MS", "Ubuntu", "Varela Round", "Verdana", "Work Sans"], Si = ["monospace", "sans-serif", "serif"];
|
|
5429
5542
|
function Zs(t, r) {
|
|
5430
5543
|
if (!t) throw new Error("Canvas context not supported");
|
|
5431
5544
|
return t.font = "72px ".concat(r), t.measureText("WwMmLli0Oo").width;
|
|
@@ -5518,9 +5631,9 @@ jt().name != "Firefox" && _e("fonts", function() {
|
|
|
5518
5631
|
return Ze(t, void 0, void 0, function() {
|
|
5519
5632
|
var o, n, h, u;
|
|
5520
5633
|
return Ye(this, function(l) {
|
|
5521
|
-
return o = a.createElement("canvas"), n = o.getContext("2d"), h =
|
|
5634
|
+
return o = a.createElement("canvas"), n = o.getContext("2d"), h = Si.map(function(p) {
|
|
5522
5635
|
return Zs(n, p);
|
|
5523
|
-
}), u = {},
|
|
5636
|
+
}), u = {}, wi.forEach(function(p) {
|
|
5524
5637
|
var C = Zs(n, p);
|
|
5525
5638
|
h.includes(C) || (u[p] = C);
|
|
5526
5639
|
}), r(u), [2];
|
|
@@ -5593,18 +5706,18 @@ jt().name != "Firefox" && _e("fonts", function() {
|
|
|
5593
5706
|
t({ platform: window.navigator.platform, cookieEnabled: window.navigator.cookieEnabled, productSub: navigator.productSub, product: navigator.product, useragent: navigator.userAgent, hardwareConcurrency: navigator.hardwareConcurrency, browser: { name: r.name, version: r.version }, applePayVersion: $i() });
|
|
5594
5707
|
});
|
|
5595
5708
|
});
|
|
5596
|
-
var ve, Ii = jt().name !== "SamsungBrowser" ? 1 : 3,
|
|
5709
|
+
var ve, Ii = jt().name !== "SamsungBrowser" ? 1 : 3, L = null;
|
|
5597
5710
|
_e("webgl", function() {
|
|
5598
5711
|
return Ze(this, void 0, void 0, function() {
|
|
5599
5712
|
var t;
|
|
5600
5713
|
return Ye(this, function(r) {
|
|
5601
|
-
typeof document < "u" && ((ve = document.createElement("canvas")).width = 200, ve.height = 100,
|
|
5714
|
+
typeof document < "u" && ((ve = document.createElement("canvas")).width = 200, ve.height = 100, L = ve.getContext("webgl"));
|
|
5602
5715
|
try {
|
|
5603
|
-
if (!
|
|
5716
|
+
if (!L) throw new Error("WebGL not supported");
|
|
5604
5717
|
return t = Array.from({ length: Ii }, function() {
|
|
5605
5718
|
return function() {
|
|
5606
5719
|
try {
|
|
5607
|
-
if (!
|
|
5720
|
+
if (!L) throw new Error("WebGL not supported");
|
|
5608
5721
|
var e = `
|
|
5609
5722
|
attribute vec2 position;
|
|
5610
5723
|
void main() {
|
|
@@ -5615,28 +5728,28 @@ _e("webgl", function() {
|
|
|
5615
5728
|
void main() {
|
|
5616
5729
|
gl_FragColor = vec4(0.812, 0.195, 0.553, 0.921); // Set line color
|
|
5617
5730
|
}
|
|
5618
|
-
`, a =
|
|
5731
|
+
`, a = L.createShader(L.VERTEX_SHADER), o = L.createShader(L.FRAGMENT_SHADER);
|
|
5619
5732
|
if (!a || !o) throw new Error("Failed to create shaders");
|
|
5620
|
-
if (
|
|
5621
|
-
if (
|
|
5622
|
-
var n =
|
|
5733
|
+
if (L.shaderSource(a, e), L.shaderSource(o, s), L.compileShader(a), !L.getShaderParameter(a, L.COMPILE_STATUS)) throw new Error("Vertex shader compilation failed: " + L.getShaderInfoLog(a));
|
|
5734
|
+
if (L.compileShader(o), !L.getShaderParameter(o, L.COMPILE_STATUS)) throw new Error("Fragment shader compilation failed: " + L.getShaderInfoLog(o));
|
|
5735
|
+
var n = L.createProgram();
|
|
5623
5736
|
if (!n) throw new Error("Failed to create shader program");
|
|
5624
|
-
if (
|
|
5625
|
-
|
|
5737
|
+
if (L.attachShader(n, a), L.attachShader(n, o), L.linkProgram(n), !L.getProgramParameter(n, L.LINK_STATUS)) throw new Error("Shader program linking failed: " + L.getProgramInfoLog(n));
|
|
5738
|
+
L.useProgram(n);
|
|
5626
5739
|
for (var h = 137, u = new Float32Array(4 * h), l = 2 * Math.PI / h, p = 0; p < h; p++) {
|
|
5627
5740
|
var C = p * l;
|
|
5628
5741
|
u[4 * p] = 0, u[4 * p + 1] = 0, u[4 * p + 2] = Math.cos(C) * (ve.width / 2), u[4 * p + 3] = Math.sin(C) * (ve.height / 2);
|
|
5629
5742
|
}
|
|
5630
|
-
var
|
|
5631
|
-
|
|
5632
|
-
var P =
|
|
5633
|
-
|
|
5743
|
+
var S = L.createBuffer();
|
|
5744
|
+
L.bindBuffer(L.ARRAY_BUFFER, S), L.bufferData(L.ARRAY_BUFFER, u, L.STATIC_DRAW);
|
|
5745
|
+
var P = L.getAttribLocation(n, "position");
|
|
5746
|
+
L.enableVertexAttribArray(P), L.vertexAttribPointer(P, 2, L.FLOAT, !1, 0, 0), L.viewport(0, 0, ve.width, ve.height), L.clearColor(0, 0, 0, 1), L.clear(L.COLOR_BUFFER_BIT), L.drawArrays(L.LINES, 0, 2 * h);
|
|
5634
5747
|
var $ = new Uint8ClampedArray(ve.width * ve.height * 4);
|
|
5635
|
-
return
|
|
5748
|
+
return L.readPixels(0, 0, ve.width, ve.height, L.RGBA, L.UNSIGNED_BYTE, $), new ImageData($, ve.width, ve.height);
|
|
5636
5749
|
} catch {
|
|
5637
5750
|
return new ImageData(1, 1);
|
|
5638
5751
|
} finally {
|
|
5639
|
-
|
|
5752
|
+
L && (L.bindBuffer(L.ARRAY_BUFFER, null), L.useProgram(null), L.viewport(0, 0, L.drawingBufferWidth, L.drawingBufferHeight), L.clearColor(0, 0, 0, 0));
|
|
5640
5753
|
}
|
|
5641
5754
|
}();
|
|
5642
5755
|
}), [2, { commonImageHash: fs(nn(t, ve.width, ve.height).data.toString()).toString() }];
|
|
@@ -5763,8 +5876,8 @@ class Oi extends ps {
|
|
|
5763
5876
|
e && document.head.removeChild(e);
|
|
5764
5877
|
}
|
|
5765
5878
|
}
|
|
5766
|
-
const
|
|
5767
|
-
class
|
|
5879
|
+
const Fi = 600;
|
|
5880
|
+
class Li {
|
|
5768
5881
|
constructor(r, e, s) {
|
|
5769
5882
|
c(this, "measureRequestTimeout");
|
|
5770
5883
|
c(this, "measureRequestsBatched", []);
|
|
@@ -5833,7 +5946,7 @@ class Fi {
|
|
|
5833
5946
|
} catch (h) {
|
|
5834
5947
|
throw this.measureRequestsBatched = [], console.error("Error sending MeasureRequest:", h), h;
|
|
5835
5948
|
}
|
|
5836
|
-
},
|
|
5949
|
+
}, Fi);
|
|
5837
5950
|
});
|
|
5838
5951
|
this.config = r, this.sdkInfo = e, this.userId = s, this.sessionId = dt(), this.sendMeasureEvent("sdk_initialized");
|
|
5839
5952
|
}
|
|
@@ -5891,7 +6004,7 @@ class zi {
|
|
|
5891
6004
|
* @returns
|
|
5892
6005
|
*/
|
|
5893
6006
|
c(this, "getSearchResponseItems", async (r, e = !1) => {
|
|
5894
|
-
var n, h, u, l, p, C,
|
|
6007
|
+
var n, h, u, l, p, C, S;
|
|
5895
6008
|
let s, a = "", o;
|
|
5896
6009
|
return e ? ((n = this.supplementalAbortController) == null || n.abort("A newer search request has replaced this one."), o = new AbortController(), this.supplementalAbortController = o) : ((h = this.abortController) == null || h.abort("A newer search request has replaced this one."), o = new AbortController(), this.abortController = o), typeof r == "string" ? a = gr(r) : (r.searchTerm = gr(r.searchTerm), a = r.searchTerm), (u = this.parent.measureClient) == null || u.sendMeasureEvent("search_requested", {
|
|
5897
6010
|
search_term: a
|
|
@@ -5916,7 +6029,7 @@ class zi {
|
|
|
5916
6029
|
}
|
|
5917
6030
|
}), (((C = s.data.hits) == null ? void 0 : C.length) || 0) === 0 && this.parent.emitEvent("no_results_returned", {
|
|
5918
6031
|
name: "no_results_returned"
|
|
5919
|
-
}), (
|
|
6032
|
+
}), (S = this.parent.adClient) == null || S.onQueryFetched(typeof r == "string" ? { searchTerm: a, mode: "exact" } : r, s)), s;
|
|
5920
6033
|
});
|
|
5921
6034
|
c(this, "handleGetSearchResponseItemsWithString", async (r, e) => {
|
|
5922
6035
|
var o;
|
|
@@ -6028,8 +6141,8 @@ const Ys = (t) => {
|
|
|
6028
6141
|
const e = /* @__PURE__ */ new Set(), s = (l, p) => {
|
|
6029
6142
|
const C = typeof l == "function" ? l(r) : l;
|
|
6030
6143
|
if (!Object.is(C, r)) {
|
|
6031
|
-
const
|
|
6032
|
-
r = p ?? (typeof C != "object" || C === null) ? C : Object.assign({}, r, C), e.forEach((P) => P(r,
|
|
6144
|
+
const S = r;
|
|
6145
|
+
r = p ?? (typeof C != "object" || C === null) ? C : Object.assign({}, r, C), e.forEach((P) => P(r, S));
|
|
6033
6146
|
}
|
|
6034
6147
|
}, a = () => r, h = { setState: s, getState: a, getInitialState: () => u, subscribe: (l) => (e.add(l), () => e.delete(l)) }, u = r = t(s, a, h);
|
|
6035
6148
|
return h;
|
|
@@ -6045,7 +6158,7 @@ var gs = {}, cn = { exports: {} }, H = {};
|
|
|
6045
6158
|
* This source code is licensed under the MIT license found in the
|
|
6046
6159
|
* LICENSE file in the root directory of this source tree.
|
|
6047
6160
|
*/
|
|
6048
|
-
var bs = Symbol.for("react.transitional.element"),
|
|
6161
|
+
var bs = Symbol.for("react.transitional.element"), Bi = Symbol.for("react.portal"), Ui = Symbol.for("react.fragment"), Vi = Symbol.for("react.strict_mode"), qi = Symbol.for("react.profiler"), ji = Symbol.for("react.consumer"), Wi = Symbol.for("react.context"), Gi = Symbol.for("react.forward_ref"), Zi = Symbol.for("react.suspense"), Yi = Symbol.for("react.memo"), ln = Symbol.for("react.lazy"), Qs = Symbol.iterator;
|
|
6049
6162
|
function Qi(t) {
|
|
6050
6163
|
return t === null || typeof t != "object" ? null : (t = Qs && t[Qs] || t["@@iterator"], typeof t == "function" ? t : null);
|
|
6051
6164
|
}
|
|
@@ -6142,7 +6255,7 @@ function Ji(t) {
|
|
|
6142
6255
|
}
|
|
6143
6256
|
throw t;
|
|
6144
6257
|
}
|
|
6145
|
-
function
|
|
6258
|
+
function St(t, r, e, s, a) {
|
|
6146
6259
|
var o = typeof t;
|
|
6147
6260
|
(o === "undefined" || o === "boolean") && (t = null);
|
|
6148
6261
|
var n = !1;
|
|
@@ -6157,11 +6270,11 @@ function wt(t, r, e, s, a) {
|
|
|
6157
6270
|
case "object":
|
|
6158
6271
|
switch (t.$$typeof) {
|
|
6159
6272
|
case bs:
|
|
6160
|
-
case
|
|
6273
|
+
case Bi:
|
|
6161
6274
|
n = !0;
|
|
6162
6275
|
break;
|
|
6163
6276
|
case ln:
|
|
6164
|
-
return n = t._init,
|
|
6277
|
+
return n = t._init, St(
|
|
6165
6278
|
n(t._payload),
|
|
6166
6279
|
r,
|
|
6167
6280
|
e,
|
|
@@ -6171,7 +6284,7 @@ function wt(t, r, e, s, a) {
|
|
|
6171
6284
|
}
|
|
6172
6285
|
}
|
|
6173
6286
|
if (n)
|
|
6174
|
-
return a = a(t), n = s === "" ? "." + Qr(t, 0) : s, Ks(a) ? (e = "", n != null && (e = n.replace(Xs, "$&/") + "/"),
|
|
6287
|
+
return a = a(t), n = s === "" ? "." + Qr(t, 0) : s, Ks(a) ? (e = "", n != null && (e = n.replace(Xs, "$&/") + "/"), St(a, r, e, "", function(l) {
|
|
6175
6288
|
return l;
|
|
6176
6289
|
})) : a != null && (Cs(a) && (a = Ki(
|
|
6177
6290
|
a,
|
|
@@ -6184,7 +6297,7 @@ function wt(t, r, e, s, a) {
|
|
|
6184
6297
|
var h = s === "" ? "." : s + ":";
|
|
6185
6298
|
if (Ks(t))
|
|
6186
6299
|
for (var u = 0; u < t.length; u++)
|
|
6187
|
-
s = t[u], o = h + Qr(s, u), n +=
|
|
6300
|
+
s = t[u], o = h + Qr(s, u), n += St(
|
|
6188
6301
|
s,
|
|
6189
6302
|
r,
|
|
6190
6303
|
e,
|
|
@@ -6193,7 +6306,7 @@ function wt(t, r, e, s, a) {
|
|
|
6193
6306
|
);
|
|
6194
6307
|
else if (u = Qi(t), typeof u == "function")
|
|
6195
6308
|
for (t = u.call(t), u = 0; !(s = t.next()).done; )
|
|
6196
|
-
s = s.value, o = h + Qr(s, u++), n +=
|
|
6309
|
+
s = s.value, o = h + Qr(s, u++), n += St(
|
|
6197
6310
|
s,
|
|
6198
6311
|
r,
|
|
6199
6312
|
e,
|
|
@@ -6202,7 +6315,7 @@ function wt(t, r, e, s, a) {
|
|
|
6202
6315
|
);
|
|
6203
6316
|
else if (o === "object") {
|
|
6204
6317
|
if (typeof t.then == "function")
|
|
6205
|
-
return
|
|
6318
|
+
return St(
|
|
6206
6319
|
Ji(t),
|
|
6207
6320
|
r,
|
|
6208
6321
|
e,
|
|
@@ -6218,7 +6331,7 @@ function wt(t, r, e, s, a) {
|
|
|
6218
6331
|
function br(t, r, e) {
|
|
6219
6332
|
if (t == null) return t;
|
|
6220
6333
|
var s = [], a = 0;
|
|
6221
|
-
return
|
|
6334
|
+
return St(t, s, "", "", function(o) {
|
|
6222
6335
|
return r.call(e, o, a++);
|
|
6223
6336
|
}), s;
|
|
6224
6337
|
}
|
|
@@ -6285,10 +6398,10 @@ H.Children = {
|
|
|
6285
6398
|
}
|
|
6286
6399
|
};
|
|
6287
6400
|
H.Component = Tt;
|
|
6288
|
-
H.Fragment =
|
|
6289
|
-
H.Profiler =
|
|
6401
|
+
H.Fragment = Ui;
|
|
6402
|
+
H.Profiler = qi;
|
|
6290
6403
|
H.PureComponent = vs;
|
|
6291
|
-
H.StrictMode =
|
|
6404
|
+
H.StrictMode = Vi;
|
|
6292
6405
|
H.Suspense = Zi;
|
|
6293
6406
|
H.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = X;
|
|
6294
6407
|
H.act = function() {
|
|
@@ -6488,7 +6601,7 @@ class oc {
|
|
|
6488
6601
|
streamSummaryData() {
|
|
6489
6602
|
var s;
|
|
6490
6603
|
const r = async () => {
|
|
6491
|
-
var u, l, p, C,
|
|
6604
|
+
var u, l, p, C, S, P;
|
|
6492
6605
|
const a = this.get(), o = (u = a.core) == null ? void 0 : u.config;
|
|
6493
6606
|
if (!o) {
|
|
6494
6607
|
console.error("Could not stream summary data, no config found.");
|
|
@@ -6515,7 +6628,7 @@ class oc {
|
|
|
6515
6628
|
},
|
|
6516
6629
|
body: JSON.stringify({
|
|
6517
6630
|
searchQuery: a.searchClientRequest,
|
|
6518
|
-
summaryInstructionsPrompt: (
|
|
6631
|
+
summaryInstructionsPrompt: (S = a.core) == null ? void 0 : S.config.summaryInstructionsPrompt,
|
|
6519
6632
|
indexName: n,
|
|
6520
6633
|
endpointUrl: (P = a.core) == null ? void 0 : P.config.endpointURL
|
|
6521
6634
|
}),
|
|
@@ -6538,9 +6651,9 @@ class oc {
|
|
|
6538
6651
|
const z = $.body.getReader(), D = new TextDecoder();
|
|
6539
6652
|
let I = !1;
|
|
6540
6653
|
do {
|
|
6541
|
-
const { done: M, value:
|
|
6654
|
+
const { done: M, value: V } = await z.read();
|
|
6542
6655
|
I = M;
|
|
6543
|
-
const Y = D.decode(
|
|
6656
|
+
const Y = D.decode(V, { stream: !0 });
|
|
6544
6657
|
this.set((ge) => ({
|
|
6545
6658
|
isSummaryLoading: !1,
|
|
6546
6659
|
summary: `${ge.summary}${Y}`
|
|
@@ -6562,6 +6675,7 @@ const sa = {
|
|
|
6562
6675
|
hotkey: "k",
|
|
6563
6676
|
hotkeyModifier: "meta",
|
|
6564
6677
|
facetPathsForIndexFields: {},
|
|
6678
|
+
isFilterPanelVisible: !0,
|
|
6565
6679
|
isPopoverVisible: !1,
|
|
6566
6680
|
isSearchInProgress: !1,
|
|
6567
6681
|
rangeValueForIndexFields: {},
|
|
@@ -6651,24 +6765,24 @@ const sa = {
|
|
|
6651
6765
|
if (!l.core)
|
|
6652
6766
|
throw new Error("Searchcraft instance is not initialized.");
|
|
6653
6767
|
l.core.config.cortexURL && !(u != null && u.skipSummary) && ((z = l.summaryClient) == null || z.streamSummaryData());
|
|
6654
|
-
const p = typeof l.cachedSearchClientRequestProperties == "string" && l.searchTerm.trim() === "", C = Object.keys(l.facetPathsForIndexFields).length > 0 || Object.keys(l.rangeValueForIndexFields).length > 0,
|
|
6768
|
+
const p = typeof l.cachedSearchClientRequestProperties == "string" && l.searchTerm.trim() === "", C = Object.keys(l.facetPathsForIndexFields).length > 0 || Object.keys(l.rangeValueForIndexFields).length > 0, S = l.searchResultsPage !== 1, P = l.searchMode !== "fuzzy";
|
|
6655
6769
|
if (!l.searchTerm.trim()) {
|
|
6656
|
-
if (p && (C ||
|
|
6770
|
+
if (p && (C || S || P)) {
|
|
6657
6771
|
const M = JSON.parse(l.cachedSearchClientRequestProperties);
|
|
6658
6772
|
a({ isSearchInProgress: !0 });
|
|
6659
|
-
const Y = [...Array.isArray(M.query) ? M.query.filter((
|
|
6660
|
-
l.facetPathsForIndexFields && Object.keys(l.facetPathsForIndexFields).forEach((
|
|
6773
|
+
const Y = [...Array.isArray(M.query) ? M.query.filter((Se) => !Se.occur) : [M.query]];
|
|
6774
|
+
l.facetPathsForIndexFields && Object.keys(l.facetPathsForIndexFields).forEach((Se) => {
|
|
6661
6775
|
var Z;
|
|
6662
|
-
const ae = (Z = l.facetPathsForIndexFields) == null ? void 0 : Z[
|
|
6776
|
+
const ae = (Z = l.facetPathsForIndexFields) == null ? void 0 : Z[Se];
|
|
6663
6777
|
ae && Y.push({
|
|
6664
6778
|
occur: "must",
|
|
6665
6779
|
exact: {
|
|
6666
6780
|
ctx: ae.value
|
|
6667
6781
|
}
|
|
6668
6782
|
});
|
|
6669
|
-
}), l.rangeValueForIndexFields && Object.keys(l.rangeValueForIndexFields).forEach((
|
|
6783
|
+
}), l.rangeValueForIndexFields && Object.keys(l.rangeValueForIndexFields).forEach((Se) => {
|
|
6670
6784
|
var Z;
|
|
6671
|
-
const ae = (Z = l.rangeValueForIndexFields) == null ? void 0 : Z[
|
|
6785
|
+
const ae = (Z = l.rangeValueForIndexFields) == null ? void 0 : Z[Se];
|
|
6672
6786
|
ae && Y.push({
|
|
6673
6787
|
occur: "must",
|
|
6674
6788
|
exact: {
|
|
@@ -6719,6 +6833,9 @@ const sa = {
|
|
|
6719
6833
|
shouldCacheResultsForEmptyState: !1
|
|
6720
6834
|
});
|
|
6721
6835
|
},
|
|
6836
|
+
setFilterPanelVisibility: (u) => a({
|
|
6837
|
+
isFilterPanelVisible: u
|
|
6838
|
+
}),
|
|
6722
6839
|
setPopoverVisibility: (u) => a({
|
|
6723
6840
|
isPopoverVisible: u
|
|
6724
6841
|
}),
|
|
@@ -6824,14 +6941,14 @@ class cc {
|
|
|
6824
6941
|
} else if (typeof r.requestProperties == "string") {
|
|
6825
6942
|
const u = JSON.parse(r.requestProperties), l = Array.isArray(u.query) ? u.query : [u.query];
|
|
6826
6943
|
if (l.length > 1) {
|
|
6827
|
-
const p = l.filter((
|
|
6944
|
+
const p = l.filter((S) => S.occur !== "must"), C = {
|
|
6828
6945
|
...u,
|
|
6829
6946
|
query: p.length > 0 ? p : l.slice(0, 1)
|
|
6830
6947
|
};
|
|
6831
6948
|
try {
|
|
6832
6949
|
o = await ((h = this == null ? void 0 : this.searchClient) == null ? void 0 : h.getSearchResponseItems(JSON.stringify(C), !0));
|
|
6833
|
-
} catch (
|
|
6834
|
-
pr.info(`Search request error: ${
|
|
6950
|
+
} catch (S) {
|
|
6951
|
+
pr.info(`Search request error: ${S}`);
|
|
6835
6952
|
return;
|
|
6836
6953
|
}
|
|
6837
6954
|
}
|
|
@@ -6891,7 +7008,7 @@ class cc {
|
|
|
6891
7008
|
}
|
|
6892
7009
|
async initClients(r, e) {
|
|
6893
7010
|
let s = this.config.measureUserIdentifier;
|
|
6894
|
-
s || (s = await yi()), this.measureClient = new
|
|
7011
|
+
s || (s = await yi()), this.measureClient = new Li(r, e, s), this.searchClient = new zi(this, r, s), r.customAdConfig ? this.adClient = new Ai(r) : r.nativoConfig ? this.adClient = new Oi(r) : r.admAdConfig && (this.adClient = new _i(r)), this.emitEvent("initialized", {
|
|
6895
7012
|
name: "initialized"
|
|
6896
7013
|
});
|
|
6897
7014
|
}
|
|
@@ -6942,7 +7059,7 @@ class cc {
|
|
|
6942
7059
|
}), (r = this.adClient) == null || r.onInputCleared();
|
|
6943
7060
|
}
|
|
6944
7061
|
}
|
|
6945
|
-
const lc = "@searchcraft/react-sdk", uc = "0.
|
|
7062
|
+
const lc = "@searchcraft/react-sdk", uc = "0.13.0", aa = {
|
|
6946
7063
|
name: lc,
|
|
6947
7064
|
version: uc
|
|
6948
7065
|
};
|
|
@@ -6961,12 +7078,12 @@ const hc = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "cl
|
|
|
6961
7078
|
})(t, o, e);
|
|
6962
7079
|
}, dc = ({ react: t, tagName: r, elementClass: e, events: s, displayName: a }) => {
|
|
6963
7080
|
const o = new Set(Object.keys(s ?? {})), n = t.forwardRef((h, u) => {
|
|
6964
|
-
const l = t.useRef(/* @__PURE__ */ new Map()), p = t.useRef(null), C = {},
|
|
6965
|
-
for (const [P, $] of Object.entries(h)) hc.has(P) ? C[P === "className" ? "class" : P] = $ : o.has(P) || P in e.prototype ?
|
|
7081
|
+
const l = t.useRef(/* @__PURE__ */ new Map()), p = t.useRef(null), C = {}, S = {};
|
|
7082
|
+
for (const [P, $] of Object.entries(h)) hc.has(P) ? C[P === "className" ? "class" : P] = $ : o.has(P) || P in e.prototype ? S[P] = $ : C[P] = $;
|
|
6966
7083
|
return t.useLayoutEffect(() => {
|
|
6967
7084
|
if (p.current === null) return;
|
|
6968
7085
|
const P = /* @__PURE__ */ new Map();
|
|
6969
|
-
for (const $ in
|
|
7086
|
+
for (const $ in S) oa(p.current, $, h[$], l.current.get($), s), l.current.delete($), P.set($, h[$]);
|
|
6970
7087
|
for (const [$, z] of l.current) oa(p.current, $, void 0, z, s);
|
|
6971
7088
|
l.current = P;
|
|
6972
7089
|
}), t.useLayoutEffect(() => {
|
|
@@ -6984,14 +7101,14 @@ const hc = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "cl
|
|
|
6984
7101
|
tagName: "searchcraft-filter-panel",
|
|
6985
7102
|
elementClass: Ao,
|
|
6986
7103
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
6987
|
-
react:
|
|
7104
|
+
react: Le,
|
|
6988
7105
|
events: {},
|
|
6989
7106
|
defineCustomElement: Ia
|
|
6990
7107
|
}), pc = /* @__PURE__ */ De({
|
|
6991
7108
|
tagName: "searchcraft-input-form",
|
|
6992
7109
|
elementClass: Oo,
|
|
6993
7110
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
6994
|
-
react:
|
|
7111
|
+
react: Le,
|
|
6995
7112
|
events: {
|
|
6996
7113
|
onInputFocus: "inputFocus",
|
|
6997
7114
|
onInputBlur: "inputBlur",
|
|
@@ -7002,59 +7119,59 @@ const hc = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "cl
|
|
|
7002
7119
|
tagName: "searchcraft-pagination",
|
|
7003
7120
|
elementClass: zo,
|
|
7004
7121
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
7005
|
-
react:
|
|
7122
|
+
react: Le,
|
|
7006
7123
|
events: {},
|
|
7007
|
-
defineCustomElement:
|
|
7124
|
+
defineCustomElement: La
|
|
7008
7125
|
}), gc = /* @__PURE__ */ De({
|
|
7009
7126
|
tagName: "searchcraft-popover-button",
|
|
7010
|
-
elementClass:
|
|
7127
|
+
elementClass: Bo,
|
|
7011
7128
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
7012
|
-
react:
|
|
7129
|
+
react: Le,
|
|
7013
7130
|
events: {},
|
|
7014
7131
|
defineCustomElement: Na
|
|
7015
7132
|
}), bc = /* @__PURE__ */ De({
|
|
7016
7133
|
tagName: "searchcraft-popover-form",
|
|
7017
7134
|
elementClass: Wo,
|
|
7018
7135
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
7019
|
-
react:
|
|
7136
|
+
react: Le,
|
|
7020
7137
|
events: {},
|
|
7021
|
-
defineCustomElement:
|
|
7138
|
+
defineCustomElement: Va
|
|
7022
7139
|
}), vc = /* @__PURE__ */ De({
|
|
7023
7140
|
tagName: "searchcraft-results-info",
|
|
7024
7141
|
elementClass: Qo,
|
|
7025
7142
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
7026
|
-
react:
|
|
7143
|
+
react: Le,
|
|
7027
7144
|
events: {},
|
|
7028
7145
|
defineCustomElement: ja
|
|
7029
7146
|
}), yc = /* @__PURE__ */ De({
|
|
7030
7147
|
tagName: "searchcraft-search-results",
|
|
7031
7148
|
elementClass: ei,
|
|
7032
7149
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
7033
|
-
react:
|
|
7150
|
+
react: Le,
|
|
7034
7151
|
events: {},
|
|
7035
7152
|
defineCustomElement: Za
|
|
7036
7153
|
}), kc = /* @__PURE__ */ De({
|
|
7037
7154
|
tagName: "searchcraft-search-results-per-page",
|
|
7038
7155
|
elementClass: si,
|
|
7039
7156
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
7040
|
-
react:
|
|
7157
|
+
react: Le,
|
|
7041
7158
|
events: {},
|
|
7042
7159
|
defineCustomElement: Ka
|
|
7043
7160
|
}), Cc = /* @__PURE__ */ De({
|
|
7044
7161
|
tagName: "searchcraft-summary-box",
|
|
7045
7162
|
elementClass: ii,
|
|
7046
7163
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
7047
|
-
react:
|
|
7164
|
+
react: Le,
|
|
7048
7165
|
events: {},
|
|
7049
7166
|
defineCustomElement: en
|
|
7050
7167
|
}), xc = /* @__PURE__ */ De({
|
|
7051
7168
|
tagName: "searchcraft-theme",
|
|
7052
7169
|
elementClass: ui,
|
|
7053
7170
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
7054
|
-
react:
|
|
7171
|
+
react: Le,
|
|
7055
7172
|
events: {},
|
|
7056
7173
|
defineCustomElement: rn
|
|
7057
|
-
}), Yc = (t) => /* @__PURE__ */
|
|
7174
|
+
}), Yc = (t) => /* @__PURE__ */ Fe(fc, { ...t }), Qc = (t) => /* @__PURE__ */ Fe(pc, { ...t }), Kc = (t) => /* @__PURE__ */ Fe(gc, { ...t }), Xc = (t) => /* @__PURE__ */ Fe(bc, { ...t }), Jc = (t) => /* @__PURE__ */ Fe(vc, { ...t }), el = (t) => /* @__PURE__ */ Fe(xc, { ...t }), tl = (t) => /* @__PURE__ */ Fe(mc, { ...t }), rl = (t) => /* @__PURE__ */ Fe(kc, { ...t }), sl = (t) => /* @__PURE__ */ Fe(yc, { ...t }), al = (t) => /* @__PURE__ */ Fe(Cc, { ...t });
|
|
7058
7175
|
class nl extends cc {
|
|
7059
7176
|
constructor(r, e = void 0) {
|
|
7060
7177
|
super(
|