@searchcraft/react-sdk 0.13.2 → 0.13.3

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.
@@ -1,21 +1,21 @@
1
- var Gn = Object.defineProperty;
2
- var jn = (r, e, t) => e in r ? Gn(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
- var d = (r, e, t) => jn(r, typeof e != "symbol" ? e + "" : e, t);
1
+ var jn = Object.defineProperty;
2
+ var Yn = (r, e, t) => e in r ? jn(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
+ var d = (r, e, t) => Yn(r, typeof e != "symbol" ? e + "" : e, t);
4
4
  import { jsx as Fe } from "react/jsx-runtime";
5
- import { renderToString as Yn } from "@searchcraft/javascript-sdk/hydrate";
6
- const Zn = "searchcraft-javascript-sdk", vt = (
5
+ import { renderToString as Zn } from "@searchcraft/javascript-sdk/hydrate";
6
+ const Xn = "searchcraft-javascript-sdk", vt = (
7
7
  /* searchcraft-javascript-sdk */
8
8
  { hydratedSelectorName: "hydrated", lazyLoad: !1, shadowDom: !1, slotRelocation: !0, state: !0, updatable: !0 }
9
9
  );
10
- var Xn = Object.defineProperty, Qn = (r, e) => {
10
+ var Qn = Object.defineProperty, Kn = (r, e) => {
11
11
  for (var t in e)
12
- Xn(r, t, { get: e[t], enumerable: !0 });
13
- }, Kn = "http://www.w3.org/2000/svg", Jn = "http://www.w3.org/1999/xhtml", Za = /* @__PURE__ */ ((r) => (r.Undefined = "undefined", r.Null = "null", r.String = "string", r.Number = "number", r.SpecialNumber = "number", r.Boolean = "boolean", r.BigInt = "bigint", r))(Za || {}), Xa = /* @__PURE__ */ ((r) => (r.Array = "array", r.Date = "date", r.Map = "map", r.Object = "object", r.RegularExpression = "regexp", r.Set = "set", r.Channel = "channel", r.Symbol = "symbol", r))(Xa || {}), es = "type", ts = "value", ys = "serialized:", eo = (r, e) => {
12
+ Qn(r, t, { get: e[t], enumerable: !0 });
13
+ }, Jn = "http://www.w3.org/2000/svg", eo = "http://www.w3.org/1999/xhtml", Za = /* @__PURE__ */ ((r) => (r.Undefined = "undefined", r.Null = "null", r.String = "string", r.Number = "number", r.SpecialNumber = "number", r.Boolean = "boolean", r.BigInt = "bigint", r))(Za || {}), Xa = /* @__PURE__ */ ((r) => (r.Array = "array", r.Date = "date", r.Map = "map", r.Object = "object", r.RegularExpression = "regexp", r.Set = "set", r.Channel = "channel", r.Symbol = "symbol", r))(Xa || {}), es = "type", ts = "value", ys = "serialized:", to = (r, e) => {
14
14
  var t;
15
15
  const s = e.$cmpMeta$;
16
16
  Object.entries((t = s.$members$) != null ? t : {}).map(([n, [o]]) => {
17
17
  if (o & 31 || o & 32) {
18
- const c = r[n], h = to(Object.getPrototypeOf(r), n) || Object.getOwnPropertyDescriptor(r, n);
18
+ const c = r[n], h = ro(Object.getPrototypeOf(r), n) || Object.getOwnPropertyDescriptor(r, n);
19
19
  h && Object.defineProperty(r, n, {
20
20
  get() {
21
21
  return h.get.call(this);
@@ -29,7 +29,7 @@ var Xn = Object.defineProperty, Qn = (r, e) => {
29
29
  }
30
30
  });
31
31
  };
32
- function to(r, e) {
32
+ function ro(r, e) {
33
33
  for (; r; ) {
34
34
  const t = Object.getOwnPropertyDescriptor(r, e);
35
35
  if (t != null && t.get) return t;
@@ -39,7 +39,7 @@ function to(r, e) {
39
39
  var tt = (r) => {
40
40
  if (r.__stencil__getHostRef)
41
41
  return r.__stencil__getHostRef();
42
- }, ro = (r, e) => {
42
+ }, so = (r, e) => {
43
43
  const t = {
44
44
  $flags$: 0,
45
45
  $hostElement$: r,
@@ -49,8 +49,8 @@ var tt = (r) => {
49
49
  };
50
50
  t.$onReadyPromise$ = new Promise((a) => t.$onReadyResolve$ = a), r["s-p"] = [], r["s-rc"] = [];
51
51
  const s = t;
52
- return r.__stencil__getHostRef = () => s, e.$flags$ & 512 && vt.state && eo(r, t), s;
53
- }, oa = (r, e) => e in r, Dr = (r, e) => (0, console.error)(r, e), so = "r", ao = "o", ks = "s", no = "t", oo = "c", ur = "s-id", ia = "c-id", pe = typeof window < "u" ? window : {}, W = pe.HTMLElement || class {
52
+ return r.__stencil__getHostRef = () => s, e.$flags$ & 512 && vt.state && to(r, t), s;
53
+ }, oa = (r, e) => e in r, Dr = (r, e) => (0, console.error)(r, e), ao = "r", no = "o", Cs = "s", oo = "t", io = "c", ur = "s-id", ia = "c-id", pe = typeof window < "u" ? window : {}, W = pe.HTMLElement || class {
54
54
  }, X = {
55
55
  $flags$: 0,
56
56
  $resourcesUrl$: "",
@@ -59,8 +59,8 @@ var tt = (r) => {
59
59
  ael: (r, e, t, s) => r.addEventListener(e, t, s),
60
60
  rel: (r, e, t, s) => r.removeEventListener(e, t, s),
61
61
  ce: (r, e) => new CustomEvent(r, e)
62
- }, io = vt.shadowDom, co = (r) => Promise.resolve(r), Cs = !1, ca = [], Qa = [], lo = (r, e) => (t) => {
63
- r.push(t), Cs || (Cs = !0, X.$flags$ & 4 ? zs(Ss) : X.raf(Ss));
62
+ }, co = vt.shadowDom, lo = (r) => Promise.resolve(r), ks = !1, ca = [], Qa = [], uo = (r, e) => (t) => {
63
+ r.push(t), ks || (ks = !0, X.$flags$ & 4 ? zs(Ss) : X.raf(Ss));
64
64
  }, la = (r) => {
65
65
  for (let e = 0; e < r.length; e++)
66
66
  try {
@@ -70,8 +70,8 @@ var tt = (r) => {
70
70
  }
71
71
  r.length = 0;
72
72
  }, Ss = () => {
73
- la(ca), la(Qa), (Cs = ca.length > 0) && X.raf(Ss);
74
- }, zs = (r) => co().then(r), uo = /* @__PURE__ */ lo(Qa), Hs = (r) => (r = typeof r, r === "object" || r === "function"), ho = (r) => r.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), fo = class bt {
73
+ la(ca), la(Qa), (ks = ca.length > 0) && X.raf(Ss);
74
+ }, zs = (r) => lo().then(r), ho = /* @__PURE__ */ uo(Qa), Hs = (r) => (r = typeof r, r === "object" || r === "function"), fo = (r) => r.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), po = class bt {
75
75
  /**
76
76
  * Deserializes a LocalValue serialized object back to its original JavaScript representation
77
77
  *
@@ -144,13 +144,13 @@ var tt = (r) => {
144
144
  const t = e[es];
145
145
  return Object.values({ ...Za, ...Xa }).includes(t) ? t !== "null" && t !== "undefined" ? e.hasOwnProperty(ts) : !0 : !1;
146
146
  }
147
- }, po = {};
148
- Qn(po, {
147
+ }, mo = {};
148
+ Kn(mo, {
149
149
  err: () => Ka,
150
- map: () => mo,
150
+ map: () => go,
151
151
  ok: () => xs,
152
- unwrap: () => go,
153
- unwrapErr: () => bo
152
+ unwrap: () => bo,
153
+ unwrapErr: () => vo
154
154
  });
155
155
  var xs = (r) => ({
156
156
  isOk: !0,
@@ -161,7 +161,7 @@ var xs = (r) => ({
161
161
  isErr: !0,
162
162
  value: r
163
163
  });
164
- function mo(r, e) {
164
+ function go(r, e) {
165
165
  if (r.isOk) {
166
166
  const t = e(r.value);
167
167
  return t instanceof Promise ? t.then((s) => xs(s)) : xs(t);
@@ -172,17 +172,17 @@ function mo(r, e) {
172
172
  }
173
173
  throw "should never get here";
174
174
  }
175
- var go = (r) => {
175
+ var bo = (r) => {
176
176
  if (r.isOk)
177
177
  return r.value;
178
178
  throw r.value;
179
- }, bo = (r) => {
179
+ }, vo = (r) => {
180
180
  if (r.isErr)
181
181
  return r.value;
182
182
  throw r.value;
183
183
  };
184
- function vo(r) {
185
- return typeof r != "string" || !r.startsWith(ys) ? r : fo.fromLocalValue(JSON.parse(atob(r.slice(ys.length))));
184
+ function yo(r) {
185
+ return typeof r != "string" || !r.startsWith(ys) ? r : po.fromLocalValue(JSON.parse(atob(r.slice(ys.length))));
186
186
  }
187
187
  var Ja = (r) => {
188
188
  const e = _r(r, "childNodes");
@@ -194,7 +194,7 @@ var Ja = (r) => {
194
194
  const s = e[t];
195
195
  s.nodeType === 1 && _r(s, "childNodes").length && Ja(s);
196
196
  }
197
- }, yo = (r) => {
197
+ }, Co = (r) => {
198
198
  const e = [];
199
199
  for (let t = 0; t < r.length; t++) {
200
200
  const s = r[t]["s-nr"] || void 0;
@@ -215,7 +215,7 @@ var ko = (r, e, t = !0) => {
215
215
  for (; a = a.nextSibling; )
216
216
  Us(a) === e && (t || !a["s-sr"]) && s.push(a);
217
217
  return s;
218
- }, ua = (r, e) => r.nodeType === 1 ? r.getAttribute("slot") === null && e === "" || r.getAttribute("slot") === e : r["s-sn"] === e ? !0 : e === "", Co = (r, e, t, s) => {
218
+ }, ua = (r, e) => r.nodeType === 1 ? r.getAttribute("slot") === null && e === "" || r.getAttribute("slot") === e : r["s-sn"] === e ? !0 : e === "", So = (r, e, t, s) => {
219
219
  if (r["s-ol"] && r["s-ol"].isConnected)
220
220
  return;
221
221
  const a = document.createTextNode("");
@@ -241,7 +241,7 @@ function tn(r) {
241
241
  If you have a particular use case, please open an issue on the Stencil repo.
242
242
  `);
243
243
  const o = this["s-cr"].parentElement;
244
- return (o.__childNodes ? o.childNodes : yo(o.childNodes)).forEach((h) => {
244
+ return (o.__childNodes ? o.childNodes : Co(o.childNodes)).forEach((h) => {
245
245
  n === Us(h) && a.push(h);
246
246
  }), t ? a.filter(
247
247
  (h) => h.nodeType === 1
@@ -258,7 +258,7 @@ function _r(r, e) {
258
258
  return typeof r[e] != "function" ? r[e] : r[e].bind(r);
259
259
  }
260
260
  var wt = (r, e = "") => () => {
261
- }, gr = /* @__PURE__ */ new WeakMap(), So = (r, e) => "sc-" + r.$tagName$, f = (r, e, ...t) => {
261
+ }, gr = /* @__PURE__ */ new WeakMap(), xo = (r, e) => "sc-" + r.$tagName$, f = (r, e, ...t) => {
262
262
  typeof r == "string" && (r = r);
263
263
  let s = null, a = null, n = null, o = !1, c = !1;
264
264
  const h = [], i = (g) => {
@@ -276,7 +276,7 @@ var wt = (r, e = "") => () => {
276
276
  return r(
277
277
  e === null ? {} : e,
278
278
  h,
279
- To
279
+ Eo
280
280
  );
281
281
  const u = Tt(r, null);
282
282
  return u.$attrs$ = e, h.length > 0 && (u.$children$ = h), u.$key$ = a, u.$name$ = n, u;
@@ -289,9 +289,9 @@ var wt = (r, e = "") => () => {
289
289
  $children$: null
290
290
  };
291
291
  return t.$attrs$ = null, t.$key$ = null, t.$name$ = null, t;
292
- }, xo = {}, wo = (r) => r && r.$tag$ === xo, To = {
292
+ }, wo = {}, To = (r) => r && r.$tag$ === wo, Eo = {
293
293
  forEach: (r, e) => r.map(ha).forEach(e),
294
- map: (r, e) => r.map(ha).map(e).map(Eo)
294
+ map: (r, e) => r.map(ha).map(e).map(Ro)
295
295
  }, ha = (r) => ({
296
296
  vattrs: r.$attrs$,
297
297
  vchildren: r.$children$,
@@ -299,14 +299,14 @@ var wt = (r, e = "") => () => {
299
299
  vname: r.$name$,
300
300
  vtag: r.$tag$,
301
301
  vtext: r.$text$
302
- }), Eo = (r) => {
302
+ }), Ro = (r) => {
303
303
  if (typeof r.vtag == "function") {
304
304
  const t = { ...r.vattrs };
305
305
  return r.vkey && (t.key = r.vkey), r.vname && (t.name = r.vname), f(r.vtag, t, ...r.vchildren || []);
306
306
  }
307
307
  const e = Tt(r.vtag, r.vtext);
308
308
  return e.$attrs$ = r.vattrs, e.$children$ = r.vchildren, e.$key$ = r.vkey, e.$name$ = r.vname, e;
309
- }, Ro = (r, e, t, s) => {
309
+ }, $o = (r, e, t, s) => {
310
310
  var a, n;
311
311
  const o = wt("hydrateClient", e), c = r.shadowRoot, h = [], i = [], u = [], g = null, p = Tt(e, null);
312
312
  p.$elm$ = r, pe.document && (!X.$orgLocNodes$ || !X.$orgLocNodes$.size) && Ts(pe.document.body, X.$orgLocNodes$ = /* @__PURE__ */ new Map()), r[ur] = t, r.removeAttribute(ur), s.$vnode$ = ws(
@@ -320,25 +320,25 @@ var wt = (r, e = "") => () => {
320
320
  u
321
321
  );
322
322
  let y = 0;
323
- const k = h.length;
324
- let C;
325
- for (y; y < k; y++) {
326
- C = h[y];
327
- const H = C.$hostId$ + "." + C.$nodeId$, j = X.$orgLocNodes$.get(H), Ie = C.$elm$;
323
+ const C = h.length;
324
+ let k;
325
+ for (y; y < C; y++) {
326
+ k = h[y];
327
+ const H = k.$hostId$ + "." + k.$nodeId$, j = X.$orgLocNodes$.get(H), Ie = k.$elm$;
328
328
  if (!c)
329
- Ie["s-hn"] = e.toUpperCase(), C.$tag$ === "slot" && (Ie["s-cr"] = r["s-cr"]);
330
- else if ((a = C.$tag$) != null && a.toString().includes("-") && C.$tag$ !== "slot-fb" && !C.$elm$.shadowRoot) {
331
- const Xe = tt(C.$elm$);
329
+ Ie["s-hn"] = e.toUpperCase(), k.$tag$ === "slot" && (Ie["s-cr"] = r["s-cr"]);
330
+ else if ((a = k.$tag$) != null && a.toString().includes("-") && k.$tag$ !== "slot-fb" && !k.$elm$.shadowRoot) {
331
+ const Xe = tt(k.$elm$);
332
332
  if (Xe) {
333
- const N = So(
333
+ const N = xo(
334
334
  Xe.$cmpMeta$
335
335
  ), Me = pe.document.querySelector(`style[sty-id="${N}"]`);
336
336
  Me && r.shadowRoot.append(Me.cloneNode(!0));
337
337
  }
338
338
  }
339
- C.$tag$ === "slot" && (C.$name$ = C.$elm$["s-sn"] || C.$elm$.name || null, C.$children$ ? (C.$flags$ |= 2, C.$elm$.childNodes.length || C.$children$.forEach((Xe) => {
340
- C.$elm$.appendChild(Xe.$elm$);
341
- })) : C.$flags$ |= 1), j && j.isConnected && (j.parentElement.shadowRoot && j["s-en"] === "" && j.parentNode.insertBefore(Ie, j.nextSibling), j.parentNode.removeChild(j), c || (Ie["s-oo"] = parseInt(C.$nodeId$))), j && !j["s-id"] && X.$orgLocNodes$.delete(H);
339
+ k.$tag$ === "slot" && (k.$name$ = k.$elm$["s-sn"] || k.$elm$.name || null, k.$children$ ? (k.$flags$ |= 2, k.$elm$.childNodes.length || k.$children$.forEach((Xe) => {
340
+ k.$elm$.appendChild(Xe.$elm$);
341
+ })) : k.$flags$ |= 1), j && j.isConnected && (j.parentElement.shadowRoot && j["s-en"] === "" && j.parentNode.insertBefore(Ie, j.nextSibling), j.parentNode.removeChild(j), c || (Ie["s-oo"] = parseInt(k.$nodeId$))), j && !j["s-id"] && X.$orgLocNodes$.delete(H);
342
342
  }
343
343
  const x = [], O = u.length;
344
344
  let E = 0, S, w, B, _;
@@ -347,7 +347,7 @@ var wt = (r, e = "") => () => {
347
347
  for (B = S.length, w = 0, w; w < B; w++) {
348
348
  if (_ = S[w], x[_.hostId] || (x[_.hostId] = X.$orgLocNodes$.get(_.hostId)), !x[_.hostId]) continue;
349
349
  const H = x[_.hostId];
350
- H.shadowRoot && _.node.parentElement !== H && H.appendChild(_.node), (!H.shadowRoot || !c) && (_.slot["s-cr"] || (_.slot["s-cr"] = H["s-cr"], !_.slot["s-cr"] && H.shadowRoot ? _.slot["s-cr"] = H : _.slot["s-cr"] = (H.__childNodes || H.childNodes)[0]), Co(_.node, _.slot, !1, _.node["s-oo"]), (n = _.node.parentElement) != null && n.shadowRoot && _.node.getAttribute && _.node.getAttribute("slot") && _.node.removeAttribute("slot"));
350
+ H.shadowRoot && _.node.parentElement !== H && H.appendChild(_.node), (!H.shadowRoot || !c) && (_.slot["s-cr"] || (_.slot["s-cr"] = H["s-cr"], !_.slot["s-cr"] && H.shadowRoot ? _.slot["s-cr"] = H : _.slot["s-cr"] = (H.__childNodes || H.childNodes)[0]), So(_.node, _.slot, !1, _.node["s-oo"]), (n = _.node.parentElement) != null && n.shadowRoot && _.node.getAttribute && _.node.getAttribute("slot") && _.node.removeAttribute("slot"));
351
351
  }
352
352
  s.$hostElement$ = r, o();
353
353
  }, ws = (r, e, t, s, a, n, o, c = []) => {
@@ -417,20 +417,20 @@ var wt = (r, e = "") => () => {
417
417
  $name$: null,
418
418
  $tag$: null,
419
419
  $text$: null
420
- }), h === no)
420
+ }), h === oo)
421
421
  u.$elm$ = pa(
422
422
  n,
423
423
  3
424
424
  /* TextNode */
425
425
  ), u.$elm$ && u.$elm$.nodeType === 3 && (u.$text$ = u.$elm$.textContent, e.push(u), n.remove(), o === u.$hostId$ && (r.$children$ || (r.$children$ = []), r.$children$[u.$index$] = u));
426
- else if (h === oo)
426
+ else if (h === io)
427
427
  u.$elm$ = pa(
428
428
  n,
429
429
  8
430
430
  /* CommentNode */
431
431
  ), u.$elm$ && u.$elm$.nodeType === 8 && (e.push(u), n.remove());
432
432
  else if (u.$hostId$ === o)
433
- if (h === ks) {
433
+ if (h === Cs) {
434
434
  const p = n["s-sn"] = i[5] || "";
435
435
  fa(
436
436
  p,
@@ -443,7 +443,7 @@ var wt = (r, e = "") => () => {
443
443
  s,
444
444
  c
445
445
  );
446
- } else h === so && (a["s-cr"] = n, n["s-cn"] = !0);
446
+ } else h === ao && (a["s-cr"] = n, n["s-cn"] = !0);
447
447
  }
448
448
  } else if (r && r.$tag$ === "style") {
449
449
  const p = Tt(null, n.textContent);
@@ -464,7 +464,7 @@ var wt = (r, e = "") => () => {
464
464
  Ts(a[s], e);
465
465
  } else if (r.nodeType === 8) {
466
466
  const t = r.nodeValue.split(".");
467
- t[0] === ao && (e.set(t[1] + "." + t[2], r), r.nodeValue = "", r["s-en"] = t[3]);
467
+ t[0] === no && (e.set(t[1] + "." + t[2], r), r.nodeValue = "", r["s-en"] = t[3]);
468
468
  }
469
469
  }, da = (r) => ({ ...{
470
470
  $flags$: 0,
@@ -485,17 +485,17 @@ function fa(r, e, t, s, a, n, o, c, h) {
485
485
  const i = a != null && a.$elm$ ? a.$elm$["s-id"] || a.$elm$.getAttribute("s-id") : "";
486
486
  {
487
487
  const u = t.$elm$, g = i && i !== t.$hostId$ && a.$elm$.shadowRoot;
488
- $o(h, e, r, s, g ? i : t.$hostId$), tn(s), g && a.$elm$.insertBefore(u, a.$elm$.children[0]);
488
+ Ao(h, e, r, s, g ? i : t.$hostId$), tn(s), g && a.$elm$.insertBefore(u, a.$elm$.children[0]);
489
489
  }
490
490
  n.push(t), o.push(t), a.$children$ || (a.$children$ = []), a.$children$[t.$index$] = t;
491
491
  }
492
- var $o = (r, e, t, s, a) => {
492
+ var Ao = (r, e, t, s, a) => {
493
493
  var n, o;
494
494
  let c = s.nextSibling;
495
- if (r[e] = r[e] || [], !(!c || (n = c.nodeValue) != null && n.startsWith(ks + ".")))
495
+ if (r[e] = r[e] || [], !(!c || (n = c.nodeValue) != null && n.startsWith(Cs + ".")))
496
496
  do
497
497
  c && ((c.getAttribute && c.getAttribute("slot") || c["s-sn"]) === t || t === "" && !c["s-sn"] && (!c.getAttribute || !c.getAttribute("slot")) && (c.nodeType === 8 || c.nodeType === 3)) && (c["s-sn"] = t, r[e].push({ slot: s, node: c, hostId: a })), c = c == null ? void 0 : c.nextSibling;
498
- while (c && !((o = c.nodeValue) != null && o.startsWith(ks + ".")));
498
+ while (c && !((o = c.nodeValue) != null && o.startsWith(Cs + ".")));
499
499
  }, pa = (r, e) => {
500
500
  let t = r;
501
501
  do
@@ -503,7 +503,7 @@ var $o = (r, e, t, s, a) => {
503
503
  while (t && (t.nodeType !== e || !t.nodeValue));
504
504
  return t;
505
505
  }, Bs = (r) => {
506
- const e = ho(r);
506
+ const e = fo(r);
507
507
  return new RegExp(
508
508
  // First capture group: match any context before the selector that's not inside @supports selector()
509
509
  // Using negative lookahead to avoid matching inside @supports selector(...) condition
@@ -514,8 +514,8 @@ var $o = (r, e, t, s, a) => {
514
514
  Bs("::slotted");
515
515
  Bs(":host");
516
516
  Bs(":host-context");
517
- var rn = (r, e, t) => typeof r == "string" && r.startsWith(ys) ? (r = vo(r), r) : r != null && !Hs(r) ? e & 4 ? r === "false" ? !1 : r === "" || !!r : e & 2 ? typeof r == "string" ? parseFloat(r) : typeof r == "number" ? r : NaN : e & 1 ? String(r) : r : r, Ao = (r) => r, Je = (r, e, t) => {
518
- const s = Ao(r);
517
+ var rn = (r, e, t) => typeof r == "string" && r.startsWith(ys) ? (r = yo(r), r) : r != null && !Hs(r) ? e & 4 ? r === "false" ? !1 : r === "" || !!r : e & 2 ? typeof r == "string" ? parseFloat(r) : typeof r == "number" ? r : NaN : e & 1 ? String(r) : r : r, _o = (r) => r, Je = (r, e, t) => {
518
+ const s = _o(r);
519
519
  return {
520
520
  emit: (a) => sn(s, e, {
521
521
  bubbles: !0,
@@ -546,10 +546,12 @@ var rn = (r, e, t) => typeof r == "string" && r.startsWith(ys) ? (r = vo(r), r)
546
546
  (!s || s[i] == null) && (i.includes("-") ? r.style.removeProperty(i) : r.style[i] = "");
547
547
  for (const i in s)
548
548
  (!t || s[i] !== t[i]) && (i.includes("-") ? r.style.setProperty(i, s[i]) : r.style[i] = s[i]);
549
- } else if (e !== "key") if (!r.__lookupSetter__(e) && e[0] === "o" && e[1] === "n") {
549
+ } else if (e !== "key") if (e === "ref")
550
+ s && s(r);
551
+ else if (!r.__lookupSetter__(e) && e[0] === "o" && e[1] === "n") {
550
552
  if (e[2] === "-" ? e = e.slice(3) : oa(pe, h) ? e = h.slice(2) : e = h[2] + e.slice(3), t || s) {
551
553
  const i = e.endsWith(an);
552
- e = e.replace(Po, ""), t && X.rel(r, e, t, i), s && X.ael(r, e, s, i);
554
+ e = e.replace(Io, ""), t && X.rel(r, e, t, i), s && X.ael(r, e, s, i);
553
555
  }
554
556
  } else {
555
557
  const i = Hs(s);
@@ -565,7 +567,7 @@ var rn = (r, e, t) => typeof r == "string" && r.startsWith(ys) ? (r = vo(r), r)
565
567
  }
566
568
  s == null || s === !1 ? (s !== !1 || r.getAttribute(e) === "") && r.removeAttribute(e) : (!c || n & 4 || a) && !i && r.nodeType === 1 && (s = s === !0 ? "" : s, r.setAttribute(e, s));
567
569
  }
568
- }, _o = /\s/, ga = (r) => (typeof r == "object" && r && "baseVal" in r && (r = r.baseVal), !r || typeof r != "string" ? [] : r.split(_o)), an = "Capture", Po = new RegExp(an + "$"), Es = (r, e, t, s) => {
570
+ }, Po = /\s/, ga = (r) => (typeof r == "object" && r && "baseVal" in r && (r = r.baseVal), !r || typeof r != "string" ? [] : r.split(Po)), an = "Capture", Io = new RegExp(an + "$"), Es = (r, e, t, s) => {
569
571
  const a = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, n = r && r.$attrs$ || {}, o = e.$attrs$ || {};
570
572
  for (const c of ba(Object.keys(n)))
571
573
  c in o || ma(
@@ -597,11 +599,11 @@ function ba(r) {
597
599
  r
598
600
  );
599
601
  }
600
- var Rs, qs, $s = !1, Pr = !1, Vs = !1, fe = !1, Ir = (r, e, t) => {
602
+ var Rs, Vs, $s = !1, Pr = !1, qs = !1, fe = !1, Ir = (r, e, t) => {
601
603
  var s;
602
604
  const a = e.$children$[t];
603
605
  let n = 0, o, c, h;
604
- if ($s || (Vs = !0, a.$tag$ === "slot" && (a.$flags$ |= a.$children$ ? (
606
+ if ($s || (qs = !0, a.$tag$ === "slot" && (a.$flags$ |= a.$children$ ? (
605
607
  // slot element has fallback content
606
608
  // still create an element that "mocks" the slot element
607
609
  2
@@ -620,20 +622,20 @@ var Rs, qs, $s = !1, Pr = !1, Vs = !1, fe = !1, Ir = (r, e, t) => {
620
622
  "You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component."
621
623
  );
622
624
  if (o = a.$elm$ = pe.document.createElementNS(
623
- fe ? Kn : Jn,
625
+ fe ? Jn : eo,
624
626
  !$s && vt.slotRelocation && a.$flags$ & 2 ? "slot-fb" : a.$tag$
625
627
  ), fe && a.$tag$ === "foreignObject" && (fe = !1), Es(null, a, fe), a.$children$)
626
628
  for (n = 0; n < a.$children$.length; ++n)
627
629
  c = Ir(r, a, n), c && o.appendChild(c);
628
630
  a.$tag$ === "svg" ? fe = !1 : o.tagName === "foreignObject" && (fe = !0);
629
631
  }
630
- return o["s-hn"] = qs, a.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = Rs, o["s-sn"] = a.$name$ || "", o["s-rf"] = (s = a.$attrs$) == null ? void 0 : s.ref, tn(o), h = r && r.$children$ && r.$children$[t], h && h.$tag$ === a.$tag$ && r.$elm$ && hr(r.$elm$, !1)), o;
632
+ return o["s-hn"] = Vs, a.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = Rs, o["s-sn"] = a.$name$ || "", o["s-rf"] = (s = a.$attrs$) == null ? void 0 : s.ref, tn(o), h = r && r.$children$ && r.$children$[t], h && h.$tag$ === a.$tag$ && r.$elm$ && hr(r.$elm$, !1)), o;
631
633
  }, hr = (r, e) => {
632
634
  X.$flags$ |= 1;
633
635
  const t = Array.from(r.__childNodes || r.childNodes);
634
636
  for (let s = t.length - 1; s >= 0; s--) {
635
637
  const a = t[s];
636
- a["s-hn"] !== qs && a["s-ol"] && (et(dr(a).parentNode, a, dr(a)), a["s-ol"].remove(), a["s-ol"] = void 0, a["s-sh"] = void 0, Vs = !0), e && hr(a, e);
638
+ a["s-hn"] !== Vs && a["s-ol"] && (et(dr(a).parentNode, a, dr(a)), a["s-ol"].remove(), a["s-ol"] = void 0, a["s-sh"] = void 0, qs = !0), e && hr(a, e);
637
639
  }
638
640
  X.$flags$ &= -2;
639
641
  }, nn = (r, e, t, s, a, n) => {
@@ -645,11 +647,11 @@ var Rs, qs, $s = !1, Pr = !1, Vs = !1, fe = !1, Ir = (r, e, t) => {
645
647
  const a = r[s];
646
648
  if (a) {
647
649
  const n = a.$elm$;
648
- n && (Pr = !0, n["s-ol"] ? n["s-ol"].remove() : hr(n, !0), n.remove());
650
+ ln(a), n && (Pr = !0, n["s-ol"] ? n["s-ol"].remove() : hr(n, !0), n.remove());
649
651
  }
650
652
  }
651
- }, Io = (r, e, t, s, a = !1) => {
652
- let n = 0, o = 0, c = 0, h = 0, i = e.length - 1, u = e[0], g = e[i], p = s.length - 1, y = s[0], k = s[p], C, x;
653
+ }, Mo = (r, e, t, s, a = !1) => {
654
+ let n = 0, o = 0, c = 0, h = 0, i = e.length - 1, u = e[0], g = e[i], p = s.length - 1, y = s[0], C = s[p], k, x;
653
655
  for (; n <= i && o <= p; )
654
656
  if (u == null)
655
657
  u = e[++n];
@@ -657,25 +659,25 @@ var Rs, qs, $s = !1, Pr = !1, Vs = !1, fe = !1, Ir = (r, e, t) => {
657
659
  g = e[--i];
658
660
  else if (y == null)
659
661
  y = s[++o];
660
- else if (k == null)
661
- k = s[--p];
662
+ else if (C == null)
663
+ C = s[--p];
662
664
  else if (br(u, y, a))
663
665
  St(u, y, a), u = e[++n], y = s[++o];
664
- else if (br(g, k, a))
665
- St(g, k, a), g = e[--i], k = s[--p];
666
- else if (br(u, k, a))
667
- (u.$tag$ === "slot" || k.$tag$ === "slot") && hr(u.$elm$.parentNode, !1), St(u, k, a), et(r, u.$elm$, g.$elm$.nextSibling), u = e[++n], k = s[--p];
666
+ else if (br(g, C, a))
667
+ St(g, C, a), g = e[--i], C = s[--p];
668
+ else if (br(u, C, a))
669
+ (u.$tag$ === "slot" || C.$tag$ === "slot") && hr(u.$elm$.parentNode, !1), St(u, C, a), et(r, u.$elm$, g.$elm$.nextSibling), u = e[++n], C = s[--p];
668
670
  else if (br(g, y, a))
669
- (u.$tag$ === "slot" || k.$tag$ === "slot") && hr(g.$elm$.parentNode, !1), St(g, y, a), et(r, g.$elm$, u.$elm$), g = e[--i], y = s[++o];
671
+ (u.$tag$ === "slot" || C.$tag$ === "slot") && hr(g.$elm$.parentNode, !1), St(g, y, a), et(r, g.$elm$, u.$elm$), g = e[--i], y = s[++o];
670
672
  else {
671
673
  for (c = -1, h = n; h <= i; ++h)
672
674
  if (e[h] && e[h].$key$ !== null && e[h].$key$ === y.$key$) {
673
675
  c = h;
674
676
  break;
675
677
  }
676
- c >= 0 ? (x = e[c], x.$tag$ !== y.$tag$ ? C = Ir(e && e[o], t, c) : (St(x, y, a), e[c] = void 0, C = x.$elm$), y = s[++o]) : (C = Ir(e && e[o], t, o), y = s[++o]), C && et(
678
+ c >= 0 ? (x = e[c], x.$tag$ !== y.$tag$ ? k = Ir(e && e[o], t, c) : (St(x, y, a), e[c] = void 0, k = x.$elm$), y = s[++o]) : (k = Ir(e && e[o], t, o), y = s[++o]), k && et(
677
679
  dr(u.$elm$).parentNode,
678
- C,
680
+ k,
679
681
  dr(u.$elm$)
680
682
  );
681
683
  }
@@ -690,7 +692,7 @@ var Rs, qs, $s = !1, Pr = !1, Vs = !1, fe = !1, Ir = (r, e, t) => {
690
692
  }, br = (r, e, t = !1) => r.$tag$ === e.$tag$ ? r.$tag$ === "slot" ? r.$name$ === e.$name$ : t ? (t && !r.$key$ && e.$key$ && (r.$key$ = e.$key$), !0) : r.$key$ === e.$key$ : !1, dr = (r) => r && r["s-ol"] || r, St = (r, e, t = !1) => {
691
693
  const s = e.$elm$ = r.$elm$, a = r.$children$, n = e.$children$, o = e.$tag$, c = e.$text$;
692
694
  let h;
693
- c === null ? (fe = o === "svg" ? !0 : o === "foreignObject" ? !1 : fe, Es(r, e, fe, t), a !== null && n !== null ? Io(s, a, e, n, t) : n !== null ? (r.$text$ !== null && (s.textContent = ""), nn(s, null, e, n, 0, n.length - 1)) : /* don't do this on initial render as it can cause non-hydrated content to be removed */ !t && vt.updatable && a !== null ? on(a, 0, a.length - 1) : t && vt.updatable && a !== null && n === null && (e.$children$ = a), fe && o === "svg" && (fe = !1)) : (h = s["s-cr"]) ? h.parentNode.textContent = c : r.$text$ !== c && (s.data = c);
695
+ c === null ? (fe = o === "svg" ? !0 : o === "foreignObject" ? !1 : fe, Es(r, e, fe, t), a !== null && n !== null ? Mo(s, a, e, n, t) : n !== null ? (r.$text$ !== null && (s.textContent = ""), nn(s, null, e, n, 0, n.length - 1)) : /* don't do this on initial render as it can cause non-hydrated content to be removed */ !t && vt.updatable && a !== null ? on(a, 0, a.length - 1) : t && vt.updatable && a !== null && n === null && (e.$children$ = a), fe && o === "svg" && (fe = !1)) : (h = s["s-cr"]) ? h.parentNode.textContent = c : r.$text$ !== c && (s.data = c);
694
696
  }, Ge = [], cn = (r) => {
695
697
  let e, t, s;
696
698
  const a = r.__childNodes || r.childNodes;
@@ -714,15 +716,17 @@ var Rs, qs, $s = !1, Pr = !1, Vs = !1, fe = !1, Ir = (r, e, t) => {
714
716
  }
715
717
  n.nodeType === 1 && cn(n);
716
718
  }
717
- }, et = (r, e, t) => r == null ? void 0 : r.insertBefore(e, t), Mo = (r, e, t = !1) => {
719
+ }, ln = (r) => {
720
+ r.$attrs$ && r.$attrs$.ref && r.$attrs$.ref(null), r.$children$ && r.$children$.map(ln);
721
+ }, et = (r, e, t) => r == null ? void 0 : r.insertBefore(e, t), Lo = (r, e, t = !1) => {
718
722
  var s, a, n, o;
719
- const c = r.$hostElement$, h = r.$vnode$ || Tt(null, null), u = wo(e) ? e : f(null, null, e);
720
- if (qs = c.tagName, t && u.$attrs$)
723
+ const c = r.$hostElement$, h = r.$vnode$ || Tt(null, null), u = To(e) ? e : f(null, null, e);
724
+ if (Vs = c.tagName, t && u.$attrs$)
721
725
  for (const g of Object.keys(u.$attrs$))
722
726
  c.hasAttribute(g) && !["key", "ref", "style", "class"].includes(g) && (u.$attrs$[g] = c[g]);
723
- u.$tag$ = null, u.$flags$ |= 4, r.$vnode$ = u, u.$elm$ = h.$elm$ = c, $s = io, Rs = c["s-cr"], Pr = !1, St(h, u, t);
727
+ u.$tag$ = null, u.$flags$ |= 4, r.$vnode$ = u, u.$elm$ = h.$elm$ = c, $s = co, Rs = c["s-cr"], Pr = !1, St(h, u, t);
724
728
  {
725
- if (X.$flags$ |= 1, Vs) {
729
+ if (X.$flags$ |= 1, qs) {
726
730
  cn(u.$elm$);
727
731
  for (const g of Ge) {
728
732
  const p = g.$nodeToRelocate$;
@@ -734,17 +738,17 @@ var Rs, qs, $s = !1, Pr = !1, Vs = !1, fe = !1, Ir = (r, e, t) => {
734
738
  for (const g of Ge) {
735
739
  const p = g.$nodeToRelocate$, y = g.$slotRefNode$;
736
740
  if (y) {
737
- const k = y.parentNode;
738
- let C = y.nextSibling;
741
+ const C = y.parentNode;
742
+ let k = y.nextSibling;
739
743
  {
740
744
  let E = (s = p["s-ol"]) == null ? void 0 : s.previousSibling;
741
745
  for (; E; ) {
742
746
  let S = (a = E["s-nr"]) != null ? a : null;
743
- if (S && S["s-sn"] === p["s-sn"] && k === (S.__parentNode || S.parentNode)) {
747
+ if (S && S["s-sn"] === p["s-sn"] && C === (S.__parentNode || S.parentNode)) {
744
748
  for (S = S.nextSibling; S === p || S != null && S["s-sr"]; )
745
749
  S = S == null ? void 0 : S.nextSibling;
746
750
  if (!S || !S["s-nr"]) {
747
- C = S;
751
+ k = S;
748
752
  break;
749
753
  }
750
754
  }
@@ -752,7 +756,7 @@ var Rs, qs, $s = !1, Pr = !1, Vs = !1, fe = !1, Ir = (r, e, t) => {
752
756
  }
753
757
  }
754
758
  const x = p.__parentNode || p.parentNode, O = p.__nextSibling || p.nextSibling;
755
- (!C && k !== x || O !== C) && p !== C && (!p["s-hn"] && p["s-ol"] && (p["s-hn"] = p["s-ol"].parentNode.nodeName), et(k, p, C), p.nodeType === 1 && p.tagName !== "SLOT-FB" && (p.hidden = (n = p["s-ih"]) != null ? n : !1)), p && typeof y["s-rf"] == "function" && y["s-rf"](y);
759
+ (!k && C !== x || O !== k) && p !== k && (!p["s-hn"] && p["s-ol"] && (p["s-hn"] = p["s-ol"].parentNode.nodeName), et(C, p, k), p.nodeType === 1 && p.tagName !== "SLOT-FB" && (p.hidden = (n = p["s-ih"]) != null ? n : !1)), p && typeof y["s-rf"] == "function" && y["s-rf"](y);
756
760
  } else
757
761
  p.nodeType === 1 && (t && (p["s-ih"] = (o = p.hidden) != null ? o : !1), p.hidden = !0);
758
762
  }
@@ -760,7 +764,7 @@ var Rs, qs, $s = !1, Pr = !1, Vs = !1, fe = !1, Ir = (r, e, t) => {
760
764
  Pr && Ja(u.$elm$), X.$flags$ &= -2, Ge.length = 0;
761
765
  }
762
766
  Rs = void 0;
763
- }, ln = (r, e) => {
767
+ }, un = (r, e) => {
764
768
  if (e && !r.$onRenderResolve$ && e["s-p"]) {
765
769
  const t = e["s-p"].push(
766
770
  new Promise(
@@ -775,46 +779,46 @@ var Rs, qs, $s = !1, Pr = !1, Vs = !1, fe = !1, Ir = (r, e, t) => {
775
779
  r.$flags$ |= 512;
776
780
  return;
777
781
  }
778
- ln(r, r.$ancestorComponent$);
779
- const t = () => Lo(r, e);
782
+ un(r, r.$ancestorComponent$);
783
+ const t = () => Oo(r, e);
780
784
  if (e) {
781
785
  queueMicrotask(() => {
782
786
  t();
783
787
  });
784
788
  return;
785
789
  }
786
- return uo(t);
787
- }, Lo = (r, e) => {
790
+ return ho(t);
791
+ }, Oo = (r, e) => {
788
792
  const t = r.$hostElement$, s = wt("scheduleUpdate", r.$cmpMeta$.$tagName$), a = t;
789
793
  if (!a)
790
794
  throw new Error(
791
795
  `Can't render component <${t.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`
792
796
  );
793
797
  let n;
794
- return e ? n = xt(a, "componentWillLoad", void 0, t) : n = xt(a, "componentWillUpdate", void 0, t), n = va(n, () => xt(a, "componentWillRender", void 0, t)), s(), va(n, () => Do(r, a, e));
795
- }, va = (r, e) => Oo(r) ? r.then(e).catch((t) => {
798
+ return e ? n = xt(a, "componentWillLoad", void 0, t) : n = xt(a, "componentWillUpdate", void 0, t), n = va(n, () => xt(a, "componentWillRender", void 0, t)), s(), va(n, () => Fo(r, a, e));
799
+ }, va = (r, e) => Do(r) ? r.then(e).catch((t) => {
796
800
  console.error(t), e();
797
- }) : e(), Oo = (r) => r instanceof Promise || r && r.then && typeof r.then == "function", Do = async (r, e, t) => {
801
+ }) : e(), Do = (r) => r instanceof Promise || r && r.then && typeof r.then == "function", Fo = async (r, e, t) => {
798
802
  var s;
799
803
  const a = r.$hostElement$, n = wt("update", r.$cmpMeta$.$tagName$), o = a["s-rc"], c = wt("render", r.$cmpMeta$.$tagName$);
800
- Fo(r, e, a, t), o && (o.map((h) => h()), a["s-rc"] = void 0), c(), n();
804
+ No(r, e, a, t), o && (o.map((h) => h()), a["s-rc"] = void 0), c(), n();
801
805
  {
802
- const h = (s = a["s-p"]) != null ? s : [], i = () => No(r);
806
+ const h = (s = a["s-p"]) != null ? s : [], i = () => zo(r);
803
807
  h.length === 0 ? i() : (Promise.all(h).then(i), r.$flags$ |= 4, h.length = 0);
804
808
  }
805
- }, Fo = (r, e, t, s) => {
809
+ }, No = (r, e, t, s) => {
806
810
  try {
807
- e = e.render(), r.$flags$ &= -17, r.$flags$ |= 2, Mo(r, e, s);
811
+ e = e.render(), r.$flags$ &= -17, r.$flags$ |= 2, Lo(r, e, s);
808
812
  } catch (a) {
809
813
  Dr(a, r.$hostElement$);
810
814
  }
811
815
  return null;
812
- }, No = (r) => {
813
- const e = r.$cmpMeta$.$tagName$, t = r.$hostElement$, s = wt("postUpdate", e), a = t, n = r.$ancestorComponent$;
814
- xt(a, "componentDidRender", void 0, t), r.$flags$ & 64 ? (xt(a, "componentDidUpdate", void 0, t), s()) : (r.$flags$ |= 64, Ho(t), xt(a, "componentDidLoad", void 0, t), s(), r.$onReadyResolve$(t), n || zo()), r.$onRenderResolve$ && (r.$onRenderResolve$(), r.$onRenderResolve$ = void 0), r.$flags$ & 512 && zs(() => Ws(r, !1)), r.$flags$ &= -517;
815
816
  }, zo = (r) => {
817
+ const e = r.$cmpMeta$.$tagName$, t = r.$hostElement$, s = wt("postUpdate", e), a = t, n = r.$ancestorComponent$;
818
+ xt(a, "componentDidRender", void 0, t), r.$flags$ & 64 ? (xt(a, "componentDidUpdate", void 0, t), s()) : (r.$flags$ |= 64, Uo(t), xt(a, "componentDidLoad", void 0, t), s(), r.$onReadyResolve$(t), n || Ho()), r.$onRenderResolve$ && (r.$onRenderResolve$(), r.$onRenderResolve$ = void 0), r.$flags$ & 512 && zs(() => Ws(r, !1)), r.$flags$ &= -517;
819
+ }, Ho = (r) => {
816
820
  var e;
817
- zs(() => sn(pe, "appload", { detail: { namespace: Zn } })), (e = X.$orgLocNodes$) != null && e.size && X.$orgLocNodes$.clear();
821
+ zs(() => sn(pe, "appload", { detail: { namespace: Xn } })), (e = X.$orgLocNodes$) != null && e.size && X.$orgLocNodes$.clear();
818
822
  }, xt = (r, e, t, s) => {
819
823
  if (r && r[e])
820
824
  try {
@@ -822,10 +826,10 @@ var Rs, qs, $s = !1, Pr = !1, Vs = !1, fe = !1, Ir = (r, e, t) => {
822
826
  } catch (a) {
823
827
  Dr(a, s);
824
828
  }
825
- }, Ho = (r) => {
829
+ }, Uo = (r) => {
826
830
  var e;
827
831
  return r.classList.add((e = vt.hydratedSelectorName) != null ? e : "hydrated");
828
- }, Uo = (r, e) => tt(r).$instanceValues$.get(e), ya = (r, e, t, s) => {
832
+ }, Bo = (r, e) => tt(r).$instanceValues$.get(e), ya = (r, e, t, s) => {
829
833
  const a = tt(r);
830
834
  if (!a)
831
835
  return;
@@ -855,7 +859,7 @@ var Rs, qs, $s = !1, Pr = !1, Vs = !1, fe = !1, Ir = (r, e, t) => {
855
859
  }
856
860
  }
857
861
  }
858
- }, Bo = (r, e, t) => {
862
+ }, Vo = (r, e, t) => {
859
863
  var s, a;
860
864
  const n = r.prototype;
861
865
  {
@@ -866,7 +870,7 @@ var Rs, qs, $s = !1, Pr = !1, Vs = !1, fe = !1, Ir = (r, e, t) => {
866
870
  const { get: i, set: u } = Object.getOwnPropertyDescriptor(n, c) || {};
867
871
  i && (e.$members$[c][0] |= 2048), u && (e.$members$[c][0] |= 4096), Object.defineProperty(n, c, {
868
872
  get() {
869
- return i ? i.apply(this) : Uo(this, c);
873
+ return i ? i.apply(this) : Bo(this, c);
870
874
  },
871
875
  configurable: !0,
872
876
  enumerable: !0
@@ -911,10 +915,10 @@ var Rs, qs, $s = !1, Pr = !1, Vs = !1, fe = !1, Ir = (r, e, t) => {
911
915
  }
912
916
  return;
913
917
  }
914
- const k = o.find(([x]) => x === p);
915
- k && k[1][0] & 4 && (u = !(u === null || u === "false"));
916
- const C = Object.getOwnPropertyDescriptor(n, p);
917
- u != this[p] && (!C.get || C.set) && (this[p] = u);
918
+ const C = o.find(([x]) => x === p);
919
+ C && C[1][0] & 4 && (u = !(u === null || u === "false"));
920
+ const k = Object.getOwnPropertyDescriptor(n, p);
921
+ u != this[p] && (!k.get || k.set) && (this[p] = u);
918
922
  });
919
923
  }, r.observedAttributes = Array.from(
920
924
  /* @__PURE__ */ new Set([
@@ -944,25 +948,25 @@ var Rs, qs, $s = !1, Pr = !1, Vs = !1, fe = !1, Ir = (r, e, t) => {
944
948
  }
945
949
  const a = e.$ancestorComponent$, n = () => Ws(e, !0);
946
950
  a && a["s-rc"] ? a["s-rc"].push(n) : n();
947
- }, Vo = (r, e) => {
948
- }, Wo = (r) => {
951
+ }, Wo = (r, e) => {
952
+ }, Go = (r) => {
949
953
  if (!(X.$flags$ & 1)) {
950
954
  const e = tt(r);
951
955
  if (!e)
952
956
  return;
953
957
  const t = e.$cmpMeta$, s = wt("connectedCallback", t.$tagName$);
954
958
  if (e.$flags$ & 1)
955
- e != null && e.$lazyInstance$ || e != null && e.$onReadyPromise$ && e.$onReadyPromise$.then(() => Vo());
959
+ e != null && e.$lazyInstance$ || e != null && e.$onReadyPromise$ && e.$onReadyPromise$.then(() => Wo());
956
960
  else {
957
961
  e.$flags$ |= 1;
958
962
  let a;
959
- a = r.getAttribute(ur), a && Ro(r, t.$tagName$, a, e), a || // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
960
- t.$flags$ & 12 && Go(r);
963
+ a = r.getAttribute(ur), a && $o(r, t.$tagName$, a, e), a || // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
964
+ t.$flags$ & 12 && jo(r);
961
965
  {
962
966
  let n = r;
963
967
  for (; n = n.parentNode || n.host; )
964
968
  if (n.nodeType === 1 && n.hasAttribute("s-id") && n["s-p"] || n["s-p"]) {
965
- ln(e, e.$ancestorComponent$ = n);
969
+ un(e, e.$ancestorComponent$ = n);
966
970
  break;
967
971
  }
968
972
  }
@@ -975,14 +979,14 @@ var Rs, qs, $s = !1, Pr = !1, Vs = !1, fe = !1, Ir = (r, e, t) => {
975
979
  }
976
980
  s();
977
981
  }
978
- }, Go = (r) => {
982
+ }, jo = (r) => {
979
983
  if (!pe.document)
980
984
  return;
981
985
  const e = r["s-cr"] = pe.document.createComment(
982
986
  ""
983
987
  );
984
988
  e["s-cn"] = !0, et(r, e, r.firstChild);
985
- }, jo = async (r) => {
989
+ }, Yo = async (r) => {
986
990
  X.$flags$ & 1 || tt(r), gr.has(r) && gr.delete(r), r.shadowRoot && gr.has(r.shadowRoot) && gr.delete(r.shadowRoot);
987
991
  }, G = (r, e) => {
988
992
  const t = {
@@ -994,7 +998,7 @@ var Rs, qs, $s = !1, Pr = !1, Vs = !1, fe = !1, Ir = (r, e, t) => {
994
998
  return Object.assign(r.prototype, {
995
999
  __hasHostListenerAttached: !1,
996
1000
  __registerHost() {
997
- ro(this, t);
1001
+ so(this, t);
998
1002
  },
999
1003
  connectedCallback() {
1000
1004
  if (!this.__hasHostListenerAttached) {
@@ -1002,17 +1006,17 @@ var Rs, qs, $s = !1, Pr = !1, Vs = !1, fe = !1, Ir = (r, e, t) => {
1002
1006
  return;
1003
1007
  this.__hasHostListenerAttached = !0;
1004
1008
  }
1005
- Wo(this), s && s.call(this);
1009
+ Go(this), s && s.call(this);
1006
1010
  },
1007
1011
  disconnectedCallback() {
1008
- jo(this), a && a.call(this);
1012
+ Yo(this), a && a.call(this);
1009
1013
  },
1010
1014
  __attachShadow() {
1011
1015
  this.shadowRoot = this;
1012
1016
  }
1013
- }), r.is = t.$tagName$, Bo(r, t);
1014
- }, Yo = (r, e) => e;
1015
- function Zo(r) {
1017
+ }), r.is = t.$tagName$, Vo(r, t);
1018
+ }, Zo = (r, e) => e;
1019
+ function Xo(r) {
1016
1020
  return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
1017
1021
  }
1018
1022
  var rs = { exports: {} };
@@ -1021,9 +1025,9 @@ var rs = { exports: {} };
1021
1025
  Licensed under the MIT License (MIT), see
1022
1026
  http://jedwatson.github.io/classnames
1023
1027
  */
1024
- var ka;
1025
- function Xo() {
1026
- return ka || (ka = 1, function(r) {
1028
+ var Ca;
1029
+ function Qo() {
1030
+ return Ca || (Ca = 1, function(r) {
1027
1031
  (function() {
1028
1032
  var e = {}.hasOwnProperty;
1029
1033
  function t() {
@@ -1054,9 +1058,9 @@ function Xo() {
1054
1058
  })();
1055
1059
  }(rs)), rs.exports;
1056
1060
  }
1057
- var Qo = Xo(), me = /* @__PURE__ */ Zo(Qo);
1061
+ var Ko = Qo(), me = /* @__PURE__ */ Xo(Ko);
1058
1062
  const As = "searchcraft";
1059
- class Ko {
1063
+ class Jo {
1060
1064
  constructor() {
1061
1065
  d(this, "coreInstances", {});
1062
1066
  d(this, "subscriptions", {});
@@ -1091,14 +1095,14 @@ class Ko {
1091
1095
  });
1092
1096
  }
1093
1097
  }
1094
- const te = new Ko();
1098
+ const te = new Jo();
1095
1099
  /*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */
1096
1100
  const {
1097
- entries: un,
1098
- setPrototypeOf: Ca,
1099
- isFrozen: Jo,
1100
- getPrototypeOf: ei,
1101
- getOwnPropertyDescriptor: ti
1101
+ entries: hn,
1102
+ setPrototypeOf: ka,
1103
+ isFrozen: ei,
1104
+ getPrototypeOf: ti,
1105
+ getOwnPropertyDescriptor: ri
1102
1106
  } = Object;
1103
1107
  let {
1104
1108
  freeze: le,
@@ -1124,7 +1128,7 @@ Is || (Is = function(e) {
1124
1128
  s[a - 1] = arguments[a];
1125
1129
  return new e(...s);
1126
1130
  });
1127
- const vr = ue(Array.prototype.forEach), ri = ue(Array.prototype.lastIndexOf), Sa = ue(Array.prototype.pop), Xt = ue(Array.prototype.push), si = ue(Array.prototype.splice), Rr = ue(String.prototype.toLowerCase), ss = ue(String.prototype.toString), as = ue(String.prototype.match), Qt = ue(String.prototype.replace), ai = ue(String.prototype.indexOf), ni = ue(String.prototype.trim), Ae = ue(Object.prototype.hasOwnProperty), ne = ue(RegExp.prototype.test), Kt = oi(TypeError);
1131
+ const vr = ue(Array.prototype.forEach), si = ue(Array.prototype.lastIndexOf), Sa = ue(Array.prototype.pop), Xt = ue(Array.prototype.push), ai = ue(Array.prototype.splice), Rr = ue(String.prototype.toLowerCase), ss = ue(String.prototype.toString), as = ue(String.prototype.match), Qt = ue(String.prototype.replace), ni = ue(String.prototype.indexOf), oi = ue(String.prototype.trim), Ae = ue(Object.prototype.hasOwnProperty), ne = ue(RegExp.prototype.test), Kt = ii(TypeError);
1128
1132
  function ue(r) {
1129
1133
  return function(e) {
1130
1134
  e instanceof RegExp && (e.lastIndex = 0);
@@ -1133,7 +1137,7 @@ function ue(r) {
1133
1137
  return Ps(r, e, s);
1134
1138
  };
1135
1139
  }
1136
- function oi(r) {
1140
+ function ii(r) {
1137
1141
  return function() {
1138
1142
  for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
1139
1143
  t[s] = arguments[s];
@@ -1142,64 +1146,64 @@ function oi(r) {
1142
1146
  }
1143
1147
  function I(r, e) {
1144
1148
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Rr;
1145
- Ca && Ca(r, null);
1149
+ ka && ka(r, null);
1146
1150
  let s = e.length;
1147
1151
  for (; s--; ) {
1148
1152
  let a = e[s];
1149
1153
  if (typeof a == "string") {
1150
1154
  const n = t(a);
1151
- n !== a && (Jo(e) || (e[s] = n), a = n);
1155
+ n !== a && (ei(e) || (e[s] = n), a = n);
1152
1156
  }
1153
1157
  r[a] = !0;
1154
1158
  }
1155
1159
  return r;
1156
1160
  }
1157
- function ii(r) {
1161
+ function ci(r) {
1158
1162
  for (let e = 0; e < r.length; e++)
1159
1163
  Ae(r, e) || (r[e] = null);
1160
1164
  return r;
1161
1165
  }
1162
1166
  function Le(r) {
1163
1167
  const e = _s(null);
1164
- for (const [t, s] of un(r))
1165
- Ae(r, t) && (Array.isArray(s) ? e[t] = ii(s) : s && typeof s == "object" && s.constructor === Object ? e[t] = Le(s) : e[t] = s);
1168
+ for (const [t, s] of hn(r))
1169
+ Ae(r, t) && (Array.isArray(s) ? e[t] = ci(s) : s && typeof s == "object" && s.constructor === Object ? e[t] = Le(s) : e[t] = s);
1166
1170
  return e;
1167
1171
  }
1168
1172
  function Jt(r, e) {
1169
1173
  for (; r !== null; ) {
1170
- const s = ti(r, e);
1174
+ const s = ri(r, e);
1171
1175
  if (s) {
1172
1176
  if (s.get)
1173
1177
  return ue(s.get);
1174
1178
  if (typeof s.value == "function")
1175
1179
  return ue(s.value);
1176
1180
  }
1177
- r = ei(r);
1181
+ r = ti(r);
1178
1182
  }
1179
1183
  function t() {
1180
1184
  return null;
1181
1185
  }
1182
1186
  return t;
1183
1187
  }
1184
- const xa = le(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), ns = le(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), os = le(["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"]), ci = le(["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"]), is = le(["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"]), li = le(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), wa = le(["#text"]), Ta = le(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), cs = le(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Ea = le(["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"]), yr = le(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), ui = we(/\{\{[\w\W]*|[\w\W]*\}\}/gm), hi = we(/<%[\w\W]*|[\w\W]*%>/gm), di = we(/\$\{[\w\W]*/gm), fi = we(/^data-[\-\w.\u00B7-\uFFFF]+$/), pi = we(/^aria-[\-\w]+$/), hn = we(
1188
+ const xa = le(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), ns = le(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), os = le(["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"]), li = le(["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"]), is = le(["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"]), ui = le(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), wa = le(["#text"]), Ta = le(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), cs = le(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Ea = le(["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"]), yr = le(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), hi = we(/\{\{[\w\W]*|[\w\W]*\}\}/gm), di = we(/<%[\w\W]*|[\w\W]*%>/gm), fi = we(/\$\{[\w\W]*/gm), pi = we(/^data-[\-\w.\u00B7-\uFFFF]+$/), mi = we(/^aria-[\-\w]+$/), dn = we(
1185
1189
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
1186
1190
  // eslint-disable-line no-useless-escape
1187
- ), mi = we(/^(?:\w+script|data):/i), gi = we(
1191
+ ), gi = we(/^(?:\w+script|data):/i), bi = we(
1188
1192
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
1189
1193
  // eslint-disable-line no-control-regex
1190
- ), dn = we(/^html$/i), bi = we(/^[a-z][.\w]*(-[.\w]+)+$/i);
1194
+ ), fn = we(/^html$/i), vi = we(/^[a-z][.\w]*(-[.\w]+)+$/i);
1191
1195
  var Ra = /* @__PURE__ */ Object.freeze({
1192
1196
  __proto__: null,
1193
- ARIA_ATTR: pi,
1194
- ATTR_WHITESPACE: gi,
1195
- CUSTOM_ELEMENT: bi,
1196
- DATA_ATTR: fi,
1197
- DOCTYPE_NAME: dn,
1198
- ERB_EXPR: hi,
1199
- IS_ALLOWED_URI: hn,
1200
- IS_SCRIPT_OR_DATA: mi,
1201
- MUSTACHE_EXPR: ui,
1202
- TMPLIT_EXPR: di
1197
+ ARIA_ATTR: mi,
1198
+ ATTR_WHITESPACE: bi,
1199
+ CUSTOM_ELEMENT: vi,
1200
+ DATA_ATTR: pi,
1201
+ DOCTYPE_NAME: fn,
1202
+ ERB_EXPR: di,
1203
+ IS_ALLOWED_URI: dn,
1204
+ IS_SCRIPT_OR_DATA: gi,
1205
+ MUSTACHE_EXPR: hi,
1206
+ TMPLIT_EXPR: fi
1203
1207
  });
1204
1208
  const er = {
1205
1209
  element: 1,
@@ -1208,9 +1212,9 @@ const er = {
1208
1212
  progressingInstruction: 7,
1209
1213
  comment: 8,
1210
1214
  document: 9
1211
- }, vi = function() {
1215
+ }, yi = function() {
1212
1216
  return typeof window > "u" ? null : window;
1213
- }, yi = function(e, t) {
1217
+ }, Ci = function(e, t) {
1214
1218
  if (typeof e != "object" || typeof e.createPolicy != "function")
1215
1219
  return null;
1216
1220
  let s = null;
@@ -1242,9 +1246,9 @@ const er = {
1242
1246
  uponSanitizeShadowNode: []
1243
1247
  };
1244
1248
  };
1245
- function fn() {
1246
- let r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : vi();
1247
- const e = (v) => fn(v);
1249
+ function pn() {
1250
+ let r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : yi();
1251
+ const e = (v) => pn(v);
1248
1252
  if (e.version = "3.3.1", e.removed = [], !r || !r.document || r.document.nodeType !== er.document || !r.Element)
1249
1253
  return e.isSupported = !1, e;
1250
1254
  let {
@@ -1260,7 +1264,7 @@ function fn() {
1260
1264
  HTMLFormElement: g,
1261
1265
  DOMParser: p,
1262
1266
  trustedTypes: y
1263
- } = r, k = h.prototype, C = Jt(k, "cloneNode"), x = Jt(k, "remove"), O = Jt(k, "nextSibling"), E = Jt(k, "childNodes"), S = Jt(k, "parentNode");
1267
+ } = r, C = h.prototype, k = Jt(C, "cloneNode"), x = Jt(C, "remove"), O = Jt(C, "nextSibling"), E = Jt(C, "childNodes"), S = Jt(C, "parentNode");
1264
1268
  if (typeof o == "function") {
1265
1269
  const v = t.createElement("template");
1266
1270
  v.content && v.content.ownerDocument && (t = v.content.ownerDocument);
@@ -1275,14 +1279,14 @@ function fn() {
1275
1279
  importNode: Xe
1276
1280
  } = s;
1277
1281
  let N = $a();
1278
- e.isSupported = typeof un == "function" && typeof S == "function" && _ && _.createHTMLDocument !== void 0;
1282
+ e.isSupported = typeof hn == "function" && typeof S == "function" && _ && _.createHTMLDocument !== void 0;
1279
1283
  const {
1280
1284
  MUSTACHE_EXPR: Me,
1281
1285
  ERB_EXPR: rt,
1282
1286
  TMPLIT_EXPR: st,
1283
1287
  DATA_ATTR: Br,
1284
- ARIA_ATTR: qr,
1285
- IS_SCRIPT_OR_DATA: Vr,
1288
+ ARIA_ATTR: Vr,
1289
+ IS_SCRIPT_OR_DATA: qr,
1286
1290
  ATTR_WHITESPACE: Et,
1287
1291
  CUSTOM_ELEMENT: Wr
1288
1292
  } = Ra;
@@ -1333,38 +1337,38 @@ function fn() {
1333
1337
  let Ot = null;
1334
1338
  const Dt = I({}, ["audio", "video", "img", "source", "image", "track"]);
1335
1339
  let ut = null;
1336
- const Ft = I({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Be = "http://www.w3.org/1998/Math/MathML", qe = "http://www.w3.org/2000/svg", Q = "http://www.w3.org/1999/xhtml";
1337
- let ke = Q, ht = !1, dt = null;
1338
- const jr = I({}, [Be, qe, Q], ss);
1339
- let Ve = I({}, ["mi", "mo", "mn", "ms", "mtext"]), We = I({}, ["annotation-xml"]);
1340
+ const Ft = I({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Be = "http://www.w3.org/1998/Math/MathML", Ve = "http://www.w3.org/2000/svg", Q = "http://www.w3.org/1999/xhtml";
1341
+ let Ce = Q, ht = !1, dt = null;
1342
+ const jr = I({}, [Be, Ve, Q], ss);
1343
+ let qe = I({}, ["mi", "mo", "mn", "ms", "mtext"]), We = I({}, ["annotation-xml"]);
1340
1344
  const Yr = I({}, ["title", "style", "font", "a", "script"]);
1341
1345
  let $e = null;
1342
1346
  const Zr = ["application/xhtml+xml", "text/html"], Xr = "text/html";
1343
- let P = null, Ce = null;
1347
+ let P = null, ke = null;
1344
1348
  const Qr = t.createElement("form"), Nt = function(l) {
1345
1349
  return l instanceof RegExp || l instanceof Function;
1346
1350
  }, ft = function() {
1347
1351
  let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1348
- if (!(Ce && Ce === l)) {
1352
+ if (!(ke && ke === l)) {
1349
1353
  if ((!l || typeof l != "object") && (l = {}), l = Le(l), $e = // eslint-disable-next-line unicorn/prefer-includes
1350
- Zr.indexOf(l.PARSER_MEDIA_TYPE) === -1 ? Xr : l.PARSER_MEDIA_TYPE, P = $e === "application/xhtml+xml" ? ss : Rr, L = Ae(l, "ALLOWED_TAGS") ? I({}, l.ALLOWED_TAGS, P) : $t, D = Ae(l, "ALLOWED_ATTR") ? I({}, l.ALLOWED_ATTR, P) : At, dt = Ae(l, "ALLOWED_NAMESPACES") ? I({}, l.ALLOWED_NAMESPACES, ss) : jr, ut = Ae(l, "ADD_URI_SAFE_ATTR") ? I(Le(Ft), l.ADD_URI_SAFE_ATTR, P) : Ft, Ot = Ae(l, "ADD_DATA_URI_TAGS") ? I(Le(Dt), l.ADD_DATA_URI_TAGS, P) : Dt, Y = Ae(l, "FORBID_CONTENTS") ? I({}, l.FORBID_CONTENTS, P) : lt, Ee = Ae(l, "FORBID_TAGS") ? I({}, l.FORBID_TAGS, P) : Le({}), at = Ae(l, "FORBID_ATTR") ? I({}, l.FORBID_ATTR, P) : Le({}), ye = Ae(l, "USE_PROFILES") ? l.USE_PROFILES : !1, _t = l.ALLOW_ARIA_ATTR !== !1, nt = l.ALLOW_DATA_ATTR !== !1, Pt = l.ALLOW_UNKNOWN_PROTOCOLS || !1, It = l.ALLOW_SELF_CLOSE_IN_ATTR !== !1, be = l.SAFE_FOR_TEMPLATES || !1, ze = l.SAFE_FOR_XML !== !1, se = l.WHOLE_DOCUMENT || !1, ve = l.RETURN_DOM || !1, He = l.RETURN_DOM_FRAGMENT || !1, Ue = l.RETURN_TRUSTED_TYPE || !1, it = l.FORCE_BODY || !1, Mt = l.SANITIZE_DOM !== !1, Lt = l.SANITIZE_NAMED_PROPS || !1, ct = l.KEEP_CONTENT !== !1, Re = l.IN_PLACE || !1, Rt = l.ALLOWED_URI_REGEXP || hn, ke = l.NAMESPACE || Q, Ve = l.MATHML_TEXT_INTEGRATION_POINTS || Ve, We = l.HTML_INTEGRATION_POINTS || We, $ = l.CUSTOM_ELEMENT_HANDLING || {}, l.CUSTOM_ELEMENT_HANDLING && Nt(l.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && ($.tagNameCheck = l.CUSTOM_ELEMENT_HANDLING.tagNameCheck), l.CUSTOM_ELEMENT_HANDLING && Nt(l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && ($.attributeNameCheck = l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), l.CUSTOM_ELEMENT_HANDLING && typeof l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && ($.allowCustomizedBuiltInElements = l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), be && (nt = !1), He && (ve = !0), ye && (L = I({}, wa), D = [], ye.html === !0 && (I(L, xa), I(D, Ta)), ye.svg === !0 && (I(L, ns), I(D, cs), I(D, yr)), ye.svgFilters === !0 && (I(L, os), I(D, cs), I(D, yr)), ye.mathMl === !0 && (I(L, is), I(D, Ea), I(D, yr))), l.ADD_TAGS && (typeof l.ADD_TAGS == "function" ? ge.tagCheck = l.ADD_TAGS : (L === $t && (L = Le(L)), I(L, l.ADD_TAGS, P))), l.ADD_ATTR && (typeof l.ADD_ATTR == "function" ? ge.attributeCheck = l.ADD_ATTR : (D === At && (D = Le(D)), I(D, l.ADD_ATTR, P))), l.ADD_URI_SAFE_ATTR && I(ut, l.ADD_URI_SAFE_ATTR, P), l.FORBID_CONTENTS && (Y === lt && (Y = Le(Y)), I(Y, l.FORBID_CONTENTS, P)), l.ADD_FORBID_CONTENTS && (Y === lt && (Y = Le(Y)), I(Y, l.ADD_FORBID_CONTENTS, P)), ct && (L["#text"] = !0), se && I(L, ["html", "head", "body"]), L.table && (I(L, ["tbody"]), delete Ee.tbody), l.TRUSTED_TYPES_POLICY) {
1354
+ Zr.indexOf(l.PARSER_MEDIA_TYPE) === -1 ? Xr : l.PARSER_MEDIA_TYPE, P = $e === "application/xhtml+xml" ? ss : Rr, L = Ae(l, "ALLOWED_TAGS") ? I({}, l.ALLOWED_TAGS, P) : $t, D = Ae(l, "ALLOWED_ATTR") ? I({}, l.ALLOWED_ATTR, P) : At, dt = Ae(l, "ALLOWED_NAMESPACES") ? I({}, l.ALLOWED_NAMESPACES, ss) : jr, ut = Ae(l, "ADD_URI_SAFE_ATTR") ? I(Le(Ft), l.ADD_URI_SAFE_ATTR, P) : Ft, Ot = Ae(l, "ADD_DATA_URI_TAGS") ? I(Le(Dt), l.ADD_DATA_URI_TAGS, P) : Dt, Y = Ae(l, "FORBID_CONTENTS") ? I({}, l.FORBID_CONTENTS, P) : lt, Ee = Ae(l, "FORBID_TAGS") ? I({}, l.FORBID_TAGS, P) : Le({}), at = Ae(l, "FORBID_ATTR") ? I({}, l.FORBID_ATTR, P) : Le({}), ye = Ae(l, "USE_PROFILES") ? l.USE_PROFILES : !1, _t = l.ALLOW_ARIA_ATTR !== !1, nt = l.ALLOW_DATA_ATTR !== !1, Pt = l.ALLOW_UNKNOWN_PROTOCOLS || !1, It = l.ALLOW_SELF_CLOSE_IN_ATTR !== !1, be = l.SAFE_FOR_TEMPLATES || !1, ze = l.SAFE_FOR_XML !== !1, se = l.WHOLE_DOCUMENT || !1, ve = l.RETURN_DOM || !1, He = l.RETURN_DOM_FRAGMENT || !1, Ue = l.RETURN_TRUSTED_TYPE || !1, it = l.FORCE_BODY || !1, Mt = l.SANITIZE_DOM !== !1, Lt = l.SANITIZE_NAMED_PROPS || !1, ct = l.KEEP_CONTENT !== !1, Re = l.IN_PLACE || !1, Rt = l.ALLOWED_URI_REGEXP || dn, Ce = l.NAMESPACE || Q, qe = l.MATHML_TEXT_INTEGRATION_POINTS || qe, We = l.HTML_INTEGRATION_POINTS || We, $ = l.CUSTOM_ELEMENT_HANDLING || {}, l.CUSTOM_ELEMENT_HANDLING && Nt(l.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && ($.tagNameCheck = l.CUSTOM_ELEMENT_HANDLING.tagNameCheck), l.CUSTOM_ELEMENT_HANDLING && Nt(l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && ($.attributeNameCheck = l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), l.CUSTOM_ELEMENT_HANDLING && typeof l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && ($.allowCustomizedBuiltInElements = l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), be && (nt = !1), He && (ve = !0), ye && (L = I({}, wa), D = [], ye.html === !0 && (I(L, xa), I(D, Ta)), ye.svg === !0 && (I(L, ns), I(D, cs), I(D, yr)), ye.svgFilters === !0 && (I(L, os), I(D, cs), I(D, yr)), ye.mathMl === !0 && (I(L, is), I(D, Ea), I(D, yr))), l.ADD_TAGS && (typeof l.ADD_TAGS == "function" ? ge.tagCheck = l.ADD_TAGS : (L === $t && (L = Le(L)), I(L, l.ADD_TAGS, P))), l.ADD_ATTR && (typeof l.ADD_ATTR == "function" ? ge.attributeCheck = l.ADD_ATTR : (D === At && (D = Le(D)), I(D, l.ADD_ATTR, P))), l.ADD_URI_SAFE_ATTR && I(ut, l.ADD_URI_SAFE_ATTR, P), l.FORBID_CONTENTS && (Y === lt && (Y = Le(Y)), I(Y, l.FORBID_CONTENTS, P)), l.ADD_FORBID_CONTENTS && (Y === lt && (Y = Le(Y)), I(Y, l.ADD_FORBID_CONTENTS, P)), ct && (L["#text"] = !0), se && I(L, ["html", "head", "body"]), L.table && (I(L, ["tbody"]), delete Ee.tbody), l.TRUSTED_TYPES_POLICY) {
1351
1355
  if (typeof l.TRUSTED_TYPES_POLICY.createHTML != "function")
1352
1356
  throw Kt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
1353
1357
  if (typeof l.TRUSTED_TYPES_POLICY.createScriptURL != "function")
1354
1358
  throw Kt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
1355
1359
  w = l.TRUSTED_TYPES_POLICY, B = w.createHTML("");
1356
1360
  } else
1357
- w === void 0 && (w = yi(y, a)), w !== null && typeof B == "string" && (B = w.createHTML(""));
1358
- le && le(l), Ce = l;
1361
+ w === void 0 && (w = Ci(y, a)), w !== null && typeof B == "string" && (B = w.createHTML(""));
1362
+ le && le(l), ke = l;
1359
1363
  }
1360
- }, zt = I({}, [...ns, ...os, ...ci]), Ht = I({}, [...is, ...li]), Kr = function(l) {
1364
+ }, zt = I({}, [...ns, ...os, ...li]), Ht = I({}, [...is, ...ui]), Kr = function(l) {
1361
1365
  let m = S(l);
1362
1366
  (!m || !m.tagName) && (m = {
1363
- namespaceURI: ke,
1367
+ namespaceURI: Ce,
1364
1368
  tagName: "template"
1365
1369
  });
1366
1370
  const b = Rr(l.tagName), R = Rr(m.tagName);
1367
- return dt[l.namespaceURI] ? l.namespaceURI === qe ? m.namespaceURI === Q ? b === "svg" : m.namespaceURI === Be ? b === "svg" && (R === "annotation-xml" || Ve[R]) : !!zt[b] : l.namespaceURI === Be ? m.namespaceURI === Q ? b === "math" : m.namespaceURI === qe ? b === "math" && We[R] : !!Ht[b] : l.namespaceURI === Q ? m.namespaceURI === qe && !We[R] || m.namespaceURI === Be && !Ve[R] ? !1 : !Ht[b] && (Yr[b] || !zt[b]) : !!($e === "application/xhtml+xml" && dt[l.namespaceURI]) : !1;
1371
+ return dt[l.namespaceURI] ? l.namespaceURI === Ve ? m.namespaceURI === Q ? b === "svg" : m.namespaceURI === Be ? b === "svg" && (R === "annotation-xml" || qe[R]) : !!zt[b] : l.namespaceURI === Be ? m.namespaceURI === Q ? b === "math" : m.namespaceURI === Ve ? b === "math" && We[R] : !!Ht[b] : l.namespaceURI === Q ? m.namespaceURI === Ve && !We[R] || m.namespaceURI === Be && !qe[R] ? !1 : !Ht[b] && (Yr[b] || !zt[b]) : !!($e === "application/xhtml+xml" && dt[l.namespaceURI]) : !1;
1368
1372
  }, Z = function(l) {
1369
1373
  Xt(e.removed, {
1370
1374
  element: l
@@ -1405,22 +1409,22 @@ function fn() {
1405
1409
  const A = as(l, /^[\r\n\t ]+/);
1406
1410
  b = A && A[0];
1407
1411
  }
1408
- $e === "application/xhtml+xml" && ke === Q && (l = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + l + "</body></html>");
1412
+ $e === "application/xhtml+xml" && Ce === Q && (l = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + l + "</body></html>");
1409
1413
  const R = w ? w.createHTML(l) : l;
1410
- if (ke === Q)
1414
+ if (Ce === Q)
1411
1415
  try {
1412
1416
  m = new p().parseFromString(R, $e);
1413
1417
  } catch {
1414
1418
  }
1415
1419
  if (!m || !m.documentElement) {
1416
- m = _.createDocument(ke, "template", null);
1420
+ m = _.createDocument(Ce, "template", null);
1417
1421
  try {
1418
1422
  m.documentElement.innerHTML = ht ? B : R;
1419
1423
  } catch {
1420
1424
  }
1421
1425
  }
1422
1426
  const z = m.body || m.documentElement;
1423
- return l && b && z.insertBefore(t.createTextNode(b), z.childNodes[0] || null), ke === Q ? Ie.call(m, se ? "html" : "body")[0] : se ? m.documentElement : z;
1427
+ return l && b && z.insertBefore(t.createTextNode(b), z.childNodes[0] || null), Ce === Q ? Ie.call(m, se ? "html" : "body")[0] : se ? m.documentElement : z;
1424
1428
  }, Bt = function(l) {
1425
1429
  return H.call(
1426
1430
  l.ownerDocument || l,
@@ -1431,15 +1435,15 @@ function fn() {
1431
1435
  );
1432
1436
  }, pt = function(l) {
1433
1437
  return l instanceof g && (typeof l.nodeName != "string" || typeof l.textContent != "string" || typeof l.removeChild != "function" || !(l.attributes instanceof u) || typeof l.removeAttribute != "function" || typeof l.setAttribute != "function" || typeof l.namespaceURI != "string" || typeof l.insertBefore != "function" || typeof l.hasChildNodes != "function");
1434
- }, qt = function(l) {
1438
+ }, Vt = function(l) {
1435
1439
  return typeof c == "function" && l instanceof c;
1436
1440
  };
1437
1441
  function K(v, l, m) {
1438
1442
  vr(v, (b) => {
1439
- b.call(e, l, m, Ce);
1443
+ b.call(e, l, m, ke);
1440
1444
  });
1441
1445
  }
1442
- const Vt = function(l) {
1446
+ const qt = function(l) {
1443
1447
  let m = null;
1444
1448
  if (K(N.beforeSanitizeElements, l, null), pt(l))
1445
1449
  return Z(l), !0;
@@ -1447,7 +1451,7 @@ function fn() {
1447
1451
  if (K(N.uponSanitizeElement, l, {
1448
1452
  tagName: b,
1449
1453
  allowedTags: L
1450
- }), ze && l.hasChildNodes() && !qt(l.firstElementChild) && ne(/<[/\w!]/g, l.innerHTML) && ne(/<[/\w!]/g, l.textContent) || l.nodeType === er.progressingInstruction || ze && l.nodeType === er.comment && ne(/<[/\w]/g, l.data))
1454
+ }), ze && l.hasChildNodes() && !Vt(l.firstElementChild) && ne(/<[/\w!]/g, l.innerHTML) && ne(/<[/\w!]/g, l.textContent) || l.nodeType === er.progressingInstruction || ze && l.nodeType === er.comment && ne(/<[/\w]/g, l.data))
1451
1455
  return Z(l), !0;
1452
1456
  if (!(ge.tagCheck instanceof Function && ge.tagCheck(b)) && (!L[b] || Ee[b])) {
1453
1457
  if (!Ee[b] && Gt(b) && ($.tagNameCheck instanceof RegExp && ne($.tagNameCheck, b) || $.tagNameCheck instanceof Function && $.tagNameCheck(b)))
@@ -1456,8 +1460,8 @@ function fn() {
1456
1460
  const R = S(l) || l.parentNode, z = E(l) || l.childNodes;
1457
1461
  if (z && R) {
1458
1462
  const A = z.length;
1459
- for (let q = A - 1; q >= 0; --q) {
1460
- const J = C(z[q], !0);
1463
+ for (let V = A - 1; V >= 0; --V) {
1464
+ const J = k(z[V], !0);
1461
1465
  J.__removalCount = (l.__removalCount || 0) + 1, R.insertBefore(J, O(l));
1462
1466
  }
1463
1467
  }
@@ -1473,7 +1477,7 @@ function fn() {
1473
1477
  if (Mt && (m === "id" || m === "name") && (b in t || b in Qr))
1474
1478
  return !1;
1475
1479
  if (!(nt && !at[m] && ne(Br, m))) {
1476
- if (!(_t && ne(qr, m))) {
1480
+ if (!(_t && ne(Vr, m))) {
1477
1481
  if (!(ge.attributeCheck instanceof Function && ge.attributeCheck(m, l))) {
1478
1482
  if (!D[m] || at[m]) {
1479
1483
  if (
@@ -1486,8 +1490,8 @@ function fn() {
1486
1490
  ) return !1;
1487
1491
  } else if (!ut[m]) {
1488
1492
  if (!ne(Rt, Qt(b, Et, ""))) {
1489
- if (!((m === "src" || m === "xlink:href" || m === "href") && l !== "script" && ai(b, "data:") === 0 && Ot[l])) {
1490
- if (!(Pt && !ne(Vr, Qt(b, Et, "")))) {
1493
+ if (!((m === "src" || m === "xlink:href" || m === "href") && l !== "script" && ni(b, "data:") === 0 && Ot[l])) {
1494
+ if (!(Pt && !ne(qr, Qt(b, Et, "")))) {
1491
1495
  if (b)
1492
1496
  return !1;
1493
1497
  }
@@ -1518,10 +1522,10 @@ function fn() {
1518
1522
  for (; R--; ) {
1519
1523
  const z = m[R], {
1520
1524
  name: A,
1521
- namespaceURI: q,
1525
+ namespaceURI: V,
1522
1526
  value: J
1523
1527
  } = z, Se = P(A), mt = J;
1524
- let F = A === "value" ? mt : ni(mt);
1528
+ let F = A === "value" ? mt : oi(mt);
1525
1529
  if (b.attrName = Se, b.attrValue = F, b.keepAttr = !0, b.forceKeepAttr = void 0, K(N.uponSanitizeAttribute, l, b), F = b.attrValue, Lt && (Se === "id" || Se === "name") && (ae(A, l), F = Gr + F), ze && ne(/((--!?|])>)|<\/(style|title|textarea)/i, F)) {
1526
1530
  ae(A, l);
1527
1531
  continue;
@@ -1548,7 +1552,7 @@ function fn() {
1548
1552
  ae(A, l);
1549
1553
  continue;
1550
1554
  }
1551
- if (w && typeof y == "object" && typeof y.getAttributeType == "function" && !q)
1555
+ if (w && typeof y == "object" && typeof y.getAttributeType == "function" && !V)
1552
1556
  switch (y.getAttributeType(Yt, Se)) {
1553
1557
  case "TrustedHTML": {
1554
1558
  F = w.createHTML(F);
@@ -1561,7 +1565,7 @@ function fn() {
1561
1565
  }
1562
1566
  if (F !== mt)
1563
1567
  try {
1564
- q ? l.setAttributeNS(q, A, F) : l.setAttribute(A, F), pt(l) ? Z(l) : Sa(e.removed);
1568
+ V ? l.setAttributeNS(V, A, F) : l.setAttribute(A, F), pt(l) ? Z(l) : Sa(e.removed);
1565
1569
  } catch {
1566
1570
  ae(A, l);
1567
1571
  }
@@ -1571,12 +1575,12 @@ function fn() {
1571
1575
  let m = null;
1572
1576
  const b = Bt(l);
1573
1577
  for (K(N.beforeSanitizeShadowDOM, l, null); m = b.nextNode(); )
1574
- K(N.uponSanitizeShadowNode, m, null), Vt(m), jt(m), m.content instanceof n && v(m.content);
1578
+ K(N.uponSanitizeShadowNode, m, null), qt(m), jt(m), m.content instanceof n && v(m.content);
1575
1579
  K(N.afterSanitizeShadowDOM, l, null);
1576
1580
  };
1577
1581
  return e.sanitize = function(v) {
1578
1582
  let l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, m = null, b = null, R = null, z = null;
1579
- if (ht = !v, ht && (v = "<!-->"), typeof v != "string" && !qt(v))
1583
+ if (ht = !v, ht && (v = "<!-->"), typeof v != "string" && !Vt(v))
1580
1584
  if (typeof v.toString == "function") {
1581
1585
  if (v = v.toString(), typeof v != "string")
1582
1586
  throw Kt("dirty is not a string, aborting");
@@ -1602,7 +1606,7 @@ function fn() {
1602
1606
  m && it && Z(m.firstChild);
1603
1607
  const A = Bt(Re ? v : m);
1604
1608
  for (; R = A.nextNode(); )
1605
- Vt(R), jt(R), R.content instanceof n && Jr(R.content);
1609
+ qt(R), jt(R), R.content instanceof n && Jr(R.content);
1606
1610
  if (Re)
1607
1611
  return v;
1608
1612
  if (ve) {
@@ -1613,26 +1617,26 @@ function fn() {
1613
1617
  z = m;
1614
1618
  return (D.shadowroot || D.shadowrootmode) && (z = Xe.call(s, z, !0)), z;
1615
1619
  }
1616
- let q = se ? m.outerHTML : m.innerHTML;
1617
- return se && L["!doctype"] && m.ownerDocument && m.ownerDocument.doctype && m.ownerDocument.doctype.name && ne(dn, m.ownerDocument.doctype.name) && (q = "<!DOCTYPE " + m.ownerDocument.doctype.name + `>
1618
- ` + q), be && vr([Me, rt, st], (J) => {
1619
- q = Qt(q, J, " ");
1620
- }), w && Ue ? w.createHTML(q) : q;
1620
+ let V = se ? m.outerHTML : m.innerHTML;
1621
+ return se && L["!doctype"] && m.ownerDocument && m.ownerDocument.doctype && m.ownerDocument.doctype.name && ne(fn, m.ownerDocument.doctype.name) && (V = "<!DOCTYPE " + m.ownerDocument.doctype.name + `>
1622
+ ` + V), be && vr([Me, rt, st], (J) => {
1623
+ V = Qt(V, J, " ");
1624
+ }), w && Ue ? w.createHTML(V) : V;
1621
1625
  }, e.setConfig = function() {
1622
1626
  let v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1623
1627
  ft(v), ot = !0;
1624
1628
  }, e.clearConfig = function() {
1625
- Ce = null, ot = !1;
1629
+ ke = null, ot = !1;
1626
1630
  }, e.isValidAttribute = function(v, l, m) {
1627
- Ce || ft({});
1631
+ ke || ft({});
1628
1632
  const b = P(v), R = P(l);
1629
1633
  return Wt(b, R, m);
1630
1634
  }, e.addHook = function(v, l) {
1631
1635
  typeof l == "function" && Xt(N[v], l);
1632
1636
  }, e.removeHook = function(v, l) {
1633
1637
  if (l !== void 0) {
1634
- const m = ri(N[v], l);
1635
- return m === -1 ? void 0 : si(N[v], m, 1)[0];
1638
+ const m = si(N[v], l);
1639
+ return m === -1 ? void 0 : ai(N[v], m, 1)[0];
1636
1640
  }
1637
1641
  return Sa(N[v]);
1638
1642
  }, e.removeHooks = function(v) {
@@ -1641,11 +1645,11 @@ function fn() {
1641
1645
  N = $a();
1642
1646
  }, e;
1643
1647
  }
1644
- var pn = fn();
1648
+ var mn = pn();
1645
1649
  const fr = (r, ...e) => {
1646
1650
  let t = r[0];
1647
1651
  for (let s = 0; s < e.length; s++)
1648
- t += pn.sanitize(e[s] ? String(e[s]) : "") + r[s + 1];
1652
+ t += mn.sanitize(e[s] ? String(e[s]) : "") + r[s + 1];
1649
1653
  return t || "";
1650
1654
  }, ki = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
1651
1655
  let yt = (r = 21) => {
@@ -1654,7 +1658,7 @@ let yt = (r = 21) => {
1654
1658
  e += ki[t[r] & 63];
1655
1659
  return e;
1656
1660
  };
1657
- const Ci = /* @__PURE__ */ G(class extends W {
1661
+ const Si = /* @__PURE__ */ G(class extends W {
1658
1662
  constructor(t) {
1659
1663
  super();
1660
1664
  /**
@@ -1790,12 +1794,12 @@ function Fr() {
1790
1794
  ["searchcraft-ad"].forEach((e) => {
1791
1795
  switch (e) {
1792
1796
  case "searchcraft-ad":
1793
- customElements.get(e) || customElements.define(e, Ci);
1797
+ customElements.get(e) || customElements.define(e, Si);
1794
1798
  break;
1795
1799
  }
1796
1800
  });
1797
1801
  }
1798
- const Si = Fr, xi = /* @__PURE__ */ G(class extends W {
1802
+ const xi = Fr, wi = /* @__PURE__ */ G(class extends W {
1799
1803
  constructor(t) {
1800
1804
  super();
1801
1805
  /**
@@ -1840,7 +1844,7 @@ const Si = Fr, xi = /* @__PURE__ */ G(class extends W {
1840
1844
  "searchcraft-button-primary": this.hierarchy === "primary",
1841
1845
  "searchcraft-button-tertiary": this.hierarchy === "tertiary",
1842
1846
  "searchcraft-button-disabled": this.disabled
1843
- }), disabled: this.disabled, onClick: this.handleButtonClick, type: this.type }, this.iconOnly ? this.icon : f(Yo, null, this.iconPosition === "left" && this.icon, f("span", null, this.label), this.iconPosition === "right" && this.icon));
1847
+ }), disabled: this.disabled, onClick: this.handleButtonClick, type: this.type }, this.iconOnly ? this.icon : f(Zo, null, this.iconPosition === "left" && this.icon, f("span", null, this.label), this.iconPosition === "right" && this.icon));
1844
1848
  }
1845
1849
  }, [768, "searchcraft-button", {
1846
1850
  hierarchy: [1],
@@ -1857,12 +1861,12 @@ function Nr() {
1857
1861
  ["searchcraft-button"].forEach((e) => {
1858
1862
  switch (e) {
1859
1863
  case "searchcraft-button":
1860
- customElements.get(e) || customElements.define(e, xi);
1864
+ customElements.get(e) || customElements.define(e, wi);
1861
1865
  break;
1862
1866
  }
1863
1867
  });
1864
1868
  }
1865
- const wi = Nr, Ti = /* @__PURE__ */ G(class extends W {
1869
+ const Ti = Nr, Ei = /* @__PURE__ */ G(class extends W {
1866
1870
  constructor(e) {
1867
1871
  super(), e !== !1 && this.__registerHost();
1868
1872
  }
@@ -1876,19 +1880,19 @@ function zr() {
1876
1880
  ["searchcraft-error-message"].forEach((e) => {
1877
1881
  switch (e) {
1878
1882
  case "searchcraft-error-message":
1879
- customElements.get(e) || customElements.define(e, Ti);
1883
+ customElements.get(e) || customElements.define(e, Ei);
1880
1884
  break;
1881
1885
  }
1882
1886
  });
1883
1887
  }
1884
- const Ei = zr;
1888
+ const Ri = zr;
1885
1889
  /*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */
1886
1890
  const {
1887
- entries: mn,
1891
+ entries: gn,
1888
1892
  setPrototypeOf: Aa,
1889
- isFrozen: Ri,
1890
- getPrototypeOf: $i,
1891
- getOwnPropertyDescriptor: Ai
1893
+ isFrozen: $i,
1894
+ getPrototypeOf: Ai,
1895
+ getOwnPropertyDescriptor: _i
1892
1896
  } = Object;
1893
1897
  let {
1894
1898
  freeze: he,
@@ -1914,7 +1918,7 @@ Os || (Os = function(e) {
1914
1918
  s[a - 1] = arguments[a];
1915
1919
  return new e(...s);
1916
1920
  });
1917
- const kr = de(Array.prototype.forEach), _i = de(Array.prototype.lastIndexOf), _a = de(Array.prototype.pop), tr = de(Array.prototype.push), Pi = de(Array.prototype.splice), $r = de(String.prototype.toLowerCase), ls = de(String.prototype.toString), us = de(String.prototype.match), rr = de(String.prototype.replace), Ii = de(String.prototype.indexOf), Mi = de(String.prototype.trim), _e = de(Object.prototype.hasOwnProperty), oe = de(RegExp.prototype.test), sr = Li(TypeError);
1921
+ const Cr = de(Array.prototype.forEach), Pi = de(Array.prototype.lastIndexOf), _a = de(Array.prototype.pop), tr = de(Array.prototype.push), Ii = de(Array.prototype.splice), $r = de(String.prototype.toLowerCase), ls = de(String.prototype.toString), us = de(String.prototype.match), rr = de(String.prototype.replace), Mi = de(String.prototype.indexOf), Li = de(String.prototype.trim), _e = de(Object.prototype.hasOwnProperty), oe = de(RegExp.prototype.test), sr = Oi(TypeError);
1918
1922
  function de(r) {
1919
1923
  return function(e) {
1920
1924
  e instanceof RegExp && (e.lastIndex = 0);
@@ -1923,7 +1927,7 @@ function de(r) {
1923
1927
  return Ls(r, e, s);
1924
1928
  };
1925
1929
  }
1926
- function Li(r) {
1930
+ function Oi(r) {
1927
1931
  return function() {
1928
1932
  for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
1929
1933
  t[s] = arguments[s];
@@ -1938,58 +1942,58 @@ function M(r, e) {
1938
1942
  let a = e[s];
1939
1943
  if (typeof a == "string") {
1940
1944
  const n = t(a);
1941
- n !== a && (Ri(e) || (e[s] = n), a = n);
1945
+ n !== a && ($i(e) || (e[s] = n), a = n);
1942
1946
  }
1943
1947
  r[a] = !0;
1944
1948
  }
1945
1949
  return r;
1946
1950
  }
1947
- function Oi(r) {
1951
+ function Di(r) {
1948
1952
  for (let e = 0; e < r.length; e++)
1949
1953
  _e(r, e) || (r[e] = null);
1950
1954
  return r;
1951
1955
  }
1952
1956
  function Oe(r) {
1953
1957
  const e = Ms(null);
1954
- for (const [t, s] of mn(r))
1955
- _e(r, t) && (Array.isArray(s) ? e[t] = Oi(s) : s && typeof s == "object" && s.constructor === Object ? e[t] = Oe(s) : e[t] = s);
1958
+ for (const [t, s] of gn(r))
1959
+ _e(r, t) && (Array.isArray(s) ? e[t] = Di(s) : s && typeof s == "object" && s.constructor === Object ? e[t] = Oe(s) : e[t] = s);
1956
1960
  return e;
1957
1961
  }
1958
1962
  function ar(r, e) {
1959
1963
  for (; r !== null; ) {
1960
- const s = Ai(r, e);
1964
+ const s = _i(r, e);
1961
1965
  if (s) {
1962
1966
  if (s.get)
1963
1967
  return de(s.get);
1964
1968
  if (typeof s.value == "function")
1965
1969
  return de(s.value);
1966
1970
  }
1967
- r = $i(r);
1971
+ r = Ai(r);
1968
1972
  }
1969
1973
  function t() {
1970
1974
  return null;
1971
1975
  }
1972
1976
  return t;
1973
1977
  }
1974
- const Pa = he(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), hs = he(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), ds = he(["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"]), Di = he(["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"]), fs = he(["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"]), Fi = he(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Ia = he(["#text"]), Ma = he(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), ps = he(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), La = he(["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"]), Cr = he(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ni = Te(/\{\{[\w\W]*|[\w\W]*\}\}/gm), zi = Te(/<%[\w\W]*|[\w\W]*%>/gm), Hi = Te(/\$\{[\w\W]*/gm), Ui = Te(/^data-[\-\w.\u00B7-\uFFFF]+$/), Bi = Te(/^aria-[\-\w]+$/), gn = Te(
1978
+ const Pa = he(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), hs = he(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), ds = he(["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"]), Fi = he(["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"]), fs = he(["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"]), Ni = he(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Ia = he(["#text"]), Ma = he(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), ps = he(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), La = he(["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"]), kr = he(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), zi = Te(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Hi = Te(/<%[\w\W]*|[\w\W]*%>/gm), Ui = Te(/\$\{[\w\W]*/gm), Bi = Te(/^data-[\-\w.\u00B7-\uFFFF]+$/), Vi = Te(/^aria-[\-\w]+$/), bn = Te(
1975
1979
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
1976
1980
  // eslint-disable-line no-useless-escape
1977
- ), qi = Te(/^(?:\w+script|data):/i), Vi = Te(
1981
+ ), qi = Te(/^(?:\w+script|data):/i), Wi = Te(
1978
1982
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
1979
1983
  // eslint-disable-line no-control-regex
1980
- ), bn = Te(/^html$/i), Wi = Te(/^[a-z][.\w]*(-[.\w]+)+$/i);
1984
+ ), vn = Te(/^html$/i), Gi = Te(/^[a-z][.\w]*(-[.\w]+)+$/i);
1981
1985
  var Oa = /* @__PURE__ */ Object.freeze({
1982
1986
  __proto__: null,
1983
- ARIA_ATTR: Bi,
1984
- ATTR_WHITESPACE: Vi,
1985
- CUSTOM_ELEMENT: Wi,
1986
- DATA_ATTR: Ui,
1987
- DOCTYPE_NAME: bn,
1988
- ERB_EXPR: zi,
1989
- IS_ALLOWED_URI: gn,
1987
+ ARIA_ATTR: Vi,
1988
+ ATTR_WHITESPACE: Wi,
1989
+ CUSTOM_ELEMENT: Gi,
1990
+ DATA_ATTR: Bi,
1991
+ DOCTYPE_NAME: vn,
1992
+ ERB_EXPR: Hi,
1993
+ IS_ALLOWED_URI: bn,
1990
1994
  IS_SCRIPT_OR_DATA: qi,
1991
- MUSTACHE_EXPR: Ni,
1992
- TMPLIT_EXPR: Hi
1995
+ MUSTACHE_EXPR: zi,
1996
+ TMPLIT_EXPR: Ui
1993
1997
  });
1994
1998
  const nr = {
1995
1999
  element: 1,
@@ -1998,9 +2002,9 @@ const nr = {
1998
2002
  progressingInstruction: 7,
1999
2003
  comment: 8,
2000
2004
  document: 9
2001
- }, Gi = function() {
2005
+ }, ji = function() {
2002
2006
  return typeof window > "u" ? null : window;
2003
- }, ji = function(e, t) {
2007
+ }, Yi = function(e, t) {
2004
2008
  if (typeof e != "object" || typeof e.createPolicy != "function")
2005
2009
  return null;
2006
2010
  let s = null;
@@ -2032,9 +2036,9 @@ const nr = {
2032
2036
  uponSanitizeShadowNode: []
2033
2037
  };
2034
2038
  };
2035
- function vn() {
2036
- let r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Gi();
2037
- const e = (v) => vn(v);
2039
+ function yn() {
2040
+ let r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ji();
2041
+ const e = (v) => yn(v);
2038
2042
  if (e.version = "3.3.1", e.removed = [], !r || !r.document || r.document.nodeType !== nr.document || !r.Element)
2039
2043
  return e.isSupported = !1, e;
2040
2044
  let {
@@ -2050,7 +2054,7 @@ function vn() {
2050
2054
  HTMLFormElement: g,
2051
2055
  DOMParser: p,
2052
2056
  trustedTypes: y
2053
- } = r, k = h.prototype, C = ar(k, "cloneNode"), x = ar(k, "remove"), O = ar(k, "nextSibling"), E = ar(k, "childNodes"), S = ar(k, "parentNode");
2057
+ } = r, C = h.prototype, k = ar(C, "cloneNode"), x = ar(C, "remove"), O = ar(C, "nextSibling"), E = ar(C, "childNodes"), S = ar(C, "parentNode");
2054
2058
  if (typeof o == "function") {
2055
2059
  const v = t.createElement("template");
2056
2060
  v.content && v.content.ownerDocument && (t = v.content.ownerDocument);
@@ -2065,14 +2069,14 @@ function vn() {
2065
2069
  importNode: Xe
2066
2070
  } = s;
2067
2071
  let N = Da();
2068
- e.isSupported = typeof mn == "function" && typeof S == "function" && _ && _.createHTMLDocument !== void 0;
2072
+ e.isSupported = typeof gn == "function" && typeof S == "function" && _ && _.createHTMLDocument !== void 0;
2069
2073
  const {
2070
2074
  MUSTACHE_EXPR: Me,
2071
2075
  ERB_EXPR: rt,
2072
2076
  TMPLIT_EXPR: st,
2073
2077
  DATA_ATTR: Br,
2074
- ARIA_ATTR: qr,
2075
- IS_SCRIPT_OR_DATA: Vr,
2078
+ ARIA_ATTR: Vr,
2079
+ IS_SCRIPT_OR_DATA: qr,
2076
2080
  ATTR_WHITESPACE: Et,
2077
2081
  CUSTOM_ELEMENT: Wr
2078
2082
  } = Oa;
@@ -2081,7 +2085,7 @@ function vn() {
2081
2085
  } = Oa, L = null;
2082
2086
  const $t = M({}, [...Pa, ...hs, ...ds, ...fs, ...Ia]);
2083
2087
  let D = null;
2084
- const At = M({}, [...Ma, ...ps, ...La, ...Cr]);
2088
+ const At = M({}, [...Ma, ...ps, ...La, ...kr]);
2085
2089
  let $ = Object.seal(Ms(null, {
2086
2090
  tagNameCheck: {
2087
2091
  writable: !0,
@@ -2123,38 +2127,38 @@ function vn() {
2123
2127
  let Ot = null;
2124
2128
  const Dt = M({}, ["audio", "video", "img", "source", "image", "track"]);
2125
2129
  let ut = null;
2126
- const Ft = M({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Be = "http://www.w3.org/1998/Math/MathML", qe = "http://www.w3.org/2000/svg", Q = "http://www.w3.org/1999/xhtml";
2127
- let ke = Q, ht = !1, dt = null;
2128
- const jr = M({}, [Be, qe, Q], ls);
2129
- let Ve = M({}, ["mi", "mo", "mn", "ms", "mtext"]), We = M({}, ["annotation-xml"]);
2130
+ const Ft = M({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Be = "http://www.w3.org/1998/Math/MathML", Ve = "http://www.w3.org/2000/svg", Q = "http://www.w3.org/1999/xhtml";
2131
+ let Ce = Q, ht = !1, dt = null;
2132
+ const jr = M({}, [Be, Ve, Q], ls);
2133
+ let qe = M({}, ["mi", "mo", "mn", "ms", "mtext"]), We = M({}, ["annotation-xml"]);
2130
2134
  const Yr = M({}, ["title", "style", "font", "a", "script"]);
2131
2135
  let $e = null;
2132
2136
  const Zr = ["application/xhtml+xml", "text/html"], Xr = "text/html";
2133
- let P = null, Ce = null;
2137
+ let P = null, ke = null;
2134
2138
  const Qr = t.createElement("form"), Nt = function(l) {
2135
2139
  return l instanceof RegExp || l instanceof Function;
2136
2140
  }, ft = function() {
2137
2141
  let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2138
- if (!(Ce && Ce === l)) {
2142
+ if (!(ke && ke === l)) {
2139
2143
  if ((!l || typeof l != "object") && (l = {}), l = Oe(l), $e = // eslint-disable-next-line unicorn/prefer-includes
2140
- Zr.indexOf(l.PARSER_MEDIA_TYPE) === -1 ? Xr : l.PARSER_MEDIA_TYPE, P = $e === "application/xhtml+xml" ? ls : $r, L = _e(l, "ALLOWED_TAGS") ? M({}, l.ALLOWED_TAGS, P) : $t, D = _e(l, "ALLOWED_ATTR") ? M({}, l.ALLOWED_ATTR, P) : At, dt = _e(l, "ALLOWED_NAMESPACES") ? M({}, l.ALLOWED_NAMESPACES, ls) : jr, ut = _e(l, "ADD_URI_SAFE_ATTR") ? M(Oe(Ft), l.ADD_URI_SAFE_ATTR, P) : Ft, Ot = _e(l, "ADD_DATA_URI_TAGS") ? M(Oe(Dt), l.ADD_DATA_URI_TAGS, P) : Dt, Y = _e(l, "FORBID_CONTENTS") ? M({}, l.FORBID_CONTENTS, P) : lt, Ee = _e(l, "FORBID_TAGS") ? M({}, l.FORBID_TAGS, P) : Oe({}), at = _e(l, "FORBID_ATTR") ? M({}, l.FORBID_ATTR, P) : Oe({}), ye = _e(l, "USE_PROFILES") ? l.USE_PROFILES : !1, _t = l.ALLOW_ARIA_ATTR !== !1, nt = l.ALLOW_DATA_ATTR !== !1, Pt = l.ALLOW_UNKNOWN_PROTOCOLS || !1, It = l.ALLOW_SELF_CLOSE_IN_ATTR !== !1, be = l.SAFE_FOR_TEMPLATES || !1, ze = l.SAFE_FOR_XML !== !1, se = l.WHOLE_DOCUMENT || !1, ve = l.RETURN_DOM || !1, He = l.RETURN_DOM_FRAGMENT || !1, Ue = l.RETURN_TRUSTED_TYPE || !1, it = l.FORCE_BODY || !1, Mt = l.SANITIZE_DOM !== !1, Lt = l.SANITIZE_NAMED_PROPS || !1, ct = l.KEEP_CONTENT !== !1, Re = l.IN_PLACE || !1, Rt = l.ALLOWED_URI_REGEXP || gn, ke = l.NAMESPACE || Q, Ve = l.MATHML_TEXT_INTEGRATION_POINTS || Ve, We = l.HTML_INTEGRATION_POINTS || We, $ = l.CUSTOM_ELEMENT_HANDLING || {}, l.CUSTOM_ELEMENT_HANDLING && Nt(l.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && ($.tagNameCheck = l.CUSTOM_ELEMENT_HANDLING.tagNameCheck), l.CUSTOM_ELEMENT_HANDLING && Nt(l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && ($.attributeNameCheck = l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), l.CUSTOM_ELEMENT_HANDLING && typeof l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && ($.allowCustomizedBuiltInElements = l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), be && (nt = !1), He && (ve = !0), ye && (L = M({}, Ia), D = [], ye.html === !0 && (M(L, Pa), M(D, Ma)), ye.svg === !0 && (M(L, hs), M(D, ps), M(D, Cr)), ye.svgFilters === !0 && (M(L, ds), M(D, ps), M(D, Cr)), ye.mathMl === !0 && (M(L, fs), M(D, La), M(D, Cr))), l.ADD_TAGS && (typeof l.ADD_TAGS == "function" ? ge.tagCheck = l.ADD_TAGS : (L === $t && (L = Oe(L)), M(L, l.ADD_TAGS, P))), l.ADD_ATTR && (typeof l.ADD_ATTR == "function" ? ge.attributeCheck = l.ADD_ATTR : (D === At && (D = Oe(D)), M(D, l.ADD_ATTR, P))), l.ADD_URI_SAFE_ATTR && M(ut, l.ADD_URI_SAFE_ATTR, P), l.FORBID_CONTENTS && (Y === lt && (Y = Oe(Y)), M(Y, l.FORBID_CONTENTS, P)), l.ADD_FORBID_CONTENTS && (Y === lt && (Y = Oe(Y)), M(Y, l.ADD_FORBID_CONTENTS, P)), ct && (L["#text"] = !0), se && M(L, ["html", "head", "body"]), L.table && (M(L, ["tbody"]), delete Ee.tbody), l.TRUSTED_TYPES_POLICY) {
2144
+ Zr.indexOf(l.PARSER_MEDIA_TYPE) === -1 ? Xr : l.PARSER_MEDIA_TYPE, P = $e === "application/xhtml+xml" ? ls : $r, L = _e(l, "ALLOWED_TAGS") ? M({}, l.ALLOWED_TAGS, P) : $t, D = _e(l, "ALLOWED_ATTR") ? M({}, l.ALLOWED_ATTR, P) : At, dt = _e(l, "ALLOWED_NAMESPACES") ? M({}, l.ALLOWED_NAMESPACES, ls) : jr, ut = _e(l, "ADD_URI_SAFE_ATTR") ? M(Oe(Ft), l.ADD_URI_SAFE_ATTR, P) : Ft, Ot = _e(l, "ADD_DATA_URI_TAGS") ? M(Oe(Dt), l.ADD_DATA_URI_TAGS, P) : Dt, Y = _e(l, "FORBID_CONTENTS") ? M({}, l.FORBID_CONTENTS, P) : lt, Ee = _e(l, "FORBID_TAGS") ? M({}, l.FORBID_TAGS, P) : Oe({}), at = _e(l, "FORBID_ATTR") ? M({}, l.FORBID_ATTR, P) : Oe({}), ye = _e(l, "USE_PROFILES") ? l.USE_PROFILES : !1, _t = l.ALLOW_ARIA_ATTR !== !1, nt = l.ALLOW_DATA_ATTR !== !1, Pt = l.ALLOW_UNKNOWN_PROTOCOLS || !1, It = l.ALLOW_SELF_CLOSE_IN_ATTR !== !1, be = l.SAFE_FOR_TEMPLATES || !1, ze = l.SAFE_FOR_XML !== !1, se = l.WHOLE_DOCUMENT || !1, ve = l.RETURN_DOM || !1, He = l.RETURN_DOM_FRAGMENT || !1, Ue = l.RETURN_TRUSTED_TYPE || !1, it = l.FORCE_BODY || !1, Mt = l.SANITIZE_DOM !== !1, Lt = l.SANITIZE_NAMED_PROPS || !1, ct = l.KEEP_CONTENT !== !1, Re = l.IN_PLACE || !1, Rt = l.ALLOWED_URI_REGEXP || bn, Ce = l.NAMESPACE || Q, qe = l.MATHML_TEXT_INTEGRATION_POINTS || qe, We = l.HTML_INTEGRATION_POINTS || We, $ = l.CUSTOM_ELEMENT_HANDLING || {}, l.CUSTOM_ELEMENT_HANDLING && Nt(l.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && ($.tagNameCheck = l.CUSTOM_ELEMENT_HANDLING.tagNameCheck), l.CUSTOM_ELEMENT_HANDLING && Nt(l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && ($.attributeNameCheck = l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), l.CUSTOM_ELEMENT_HANDLING && typeof l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && ($.allowCustomizedBuiltInElements = l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), be && (nt = !1), He && (ve = !0), ye && (L = M({}, Ia), D = [], ye.html === !0 && (M(L, Pa), M(D, Ma)), ye.svg === !0 && (M(L, hs), M(D, ps), M(D, kr)), ye.svgFilters === !0 && (M(L, ds), M(D, ps), M(D, kr)), ye.mathMl === !0 && (M(L, fs), M(D, La), M(D, kr))), l.ADD_TAGS && (typeof l.ADD_TAGS == "function" ? ge.tagCheck = l.ADD_TAGS : (L === $t && (L = Oe(L)), M(L, l.ADD_TAGS, P))), l.ADD_ATTR && (typeof l.ADD_ATTR == "function" ? ge.attributeCheck = l.ADD_ATTR : (D === At && (D = Oe(D)), M(D, l.ADD_ATTR, P))), l.ADD_URI_SAFE_ATTR && M(ut, l.ADD_URI_SAFE_ATTR, P), l.FORBID_CONTENTS && (Y === lt && (Y = Oe(Y)), M(Y, l.FORBID_CONTENTS, P)), l.ADD_FORBID_CONTENTS && (Y === lt && (Y = Oe(Y)), M(Y, l.ADD_FORBID_CONTENTS, P)), ct && (L["#text"] = !0), se && M(L, ["html", "head", "body"]), L.table && (M(L, ["tbody"]), delete Ee.tbody), l.TRUSTED_TYPES_POLICY) {
2141
2145
  if (typeof l.TRUSTED_TYPES_POLICY.createHTML != "function")
2142
2146
  throw sr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
2143
2147
  if (typeof l.TRUSTED_TYPES_POLICY.createScriptURL != "function")
2144
2148
  throw sr('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
2145
2149
  w = l.TRUSTED_TYPES_POLICY, B = w.createHTML("");
2146
2150
  } else
2147
- w === void 0 && (w = ji(y, a)), w !== null && typeof B == "string" && (B = w.createHTML(""));
2148
- he && he(l), Ce = l;
2151
+ w === void 0 && (w = Yi(y, a)), w !== null && typeof B == "string" && (B = w.createHTML(""));
2152
+ he && he(l), ke = l;
2149
2153
  }
2150
- }, zt = M({}, [...hs, ...ds, ...Di]), Ht = M({}, [...fs, ...Fi]), Kr = function(l) {
2154
+ }, zt = M({}, [...hs, ...ds, ...Fi]), Ht = M({}, [...fs, ...Ni]), Kr = function(l) {
2151
2155
  let m = S(l);
2152
2156
  (!m || !m.tagName) && (m = {
2153
- namespaceURI: ke,
2157
+ namespaceURI: Ce,
2154
2158
  tagName: "template"
2155
2159
  });
2156
2160
  const b = $r(l.tagName), R = $r(m.tagName);
2157
- return dt[l.namespaceURI] ? l.namespaceURI === qe ? m.namespaceURI === Q ? b === "svg" : m.namespaceURI === Be ? b === "svg" && (R === "annotation-xml" || Ve[R]) : !!zt[b] : l.namespaceURI === Be ? m.namespaceURI === Q ? b === "math" : m.namespaceURI === qe ? b === "math" && We[R] : !!Ht[b] : l.namespaceURI === Q ? m.namespaceURI === qe && !We[R] || m.namespaceURI === Be && !Ve[R] ? !1 : !Ht[b] && (Yr[b] || !zt[b]) : !!($e === "application/xhtml+xml" && dt[l.namespaceURI]) : !1;
2161
+ return dt[l.namespaceURI] ? l.namespaceURI === Ve ? m.namespaceURI === Q ? b === "svg" : m.namespaceURI === Be ? b === "svg" && (R === "annotation-xml" || qe[R]) : !!zt[b] : l.namespaceURI === Be ? m.namespaceURI === Q ? b === "math" : m.namespaceURI === Ve ? b === "math" && We[R] : !!Ht[b] : l.namespaceURI === Q ? m.namespaceURI === Ve && !We[R] || m.namespaceURI === Be && !qe[R] ? !1 : !Ht[b] && (Yr[b] || !zt[b]) : !!($e === "application/xhtml+xml" && dt[l.namespaceURI]) : !1;
2158
2162
  }, Z = function(l) {
2159
2163
  tr(e.removed, {
2160
2164
  element: l
@@ -2195,22 +2199,22 @@ function vn() {
2195
2199
  const A = us(l, /^[\r\n\t ]+/);
2196
2200
  b = A && A[0];
2197
2201
  }
2198
- $e === "application/xhtml+xml" && ke === Q && (l = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + l + "</body></html>");
2202
+ $e === "application/xhtml+xml" && Ce === Q && (l = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + l + "</body></html>");
2199
2203
  const R = w ? w.createHTML(l) : l;
2200
- if (ke === Q)
2204
+ if (Ce === Q)
2201
2205
  try {
2202
2206
  m = new p().parseFromString(R, $e);
2203
2207
  } catch {
2204
2208
  }
2205
2209
  if (!m || !m.documentElement) {
2206
- m = _.createDocument(ke, "template", null);
2210
+ m = _.createDocument(Ce, "template", null);
2207
2211
  try {
2208
2212
  m.documentElement.innerHTML = ht ? B : R;
2209
2213
  } catch {
2210
2214
  }
2211
2215
  }
2212
2216
  const z = m.body || m.documentElement;
2213
- return l && b && z.insertBefore(t.createTextNode(b), z.childNodes[0] || null), ke === Q ? Ie.call(m, se ? "html" : "body")[0] : se ? m.documentElement : z;
2217
+ return l && b && z.insertBefore(t.createTextNode(b), z.childNodes[0] || null), Ce === Q ? Ie.call(m, se ? "html" : "body")[0] : se ? m.documentElement : z;
2214
2218
  }, Bt = function(l) {
2215
2219
  return H.call(
2216
2220
  l.ownerDocument || l,
@@ -2221,15 +2225,15 @@ function vn() {
2221
2225
  );
2222
2226
  }, pt = function(l) {
2223
2227
  return l instanceof g && (typeof l.nodeName != "string" || typeof l.textContent != "string" || typeof l.removeChild != "function" || !(l.attributes instanceof u) || typeof l.removeAttribute != "function" || typeof l.setAttribute != "function" || typeof l.namespaceURI != "string" || typeof l.insertBefore != "function" || typeof l.hasChildNodes != "function");
2224
- }, qt = function(l) {
2228
+ }, Vt = function(l) {
2225
2229
  return typeof c == "function" && l instanceof c;
2226
2230
  };
2227
2231
  function K(v, l, m) {
2228
- kr(v, (b) => {
2229
- b.call(e, l, m, Ce);
2232
+ Cr(v, (b) => {
2233
+ b.call(e, l, m, ke);
2230
2234
  });
2231
2235
  }
2232
- const Vt = function(l) {
2236
+ const qt = function(l) {
2233
2237
  let m = null;
2234
2238
  if (K(N.beforeSanitizeElements, l, null), pt(l))
2235
2239
  return Z(l), !0;
@@ -2237,7 +2241,7 @@ function vn() {
2237
2241
  if (K(N.uponSanitizeElement, l, {
2238
2242
  tagName: b,
2239
2243
  allowedTags: L
2240
- }), ze && l.hasChildNodes() && !qt(l.firstElementChild) && oe(/<[/\w!]/g, l.innerHTML) && oe(/<[/\w!]/g, l.textContent) || l.nodeType === nr.progressingInstruction || ze && l.nodeType === nr.comment && oe(/<[/\w]/g, l.data))
2244
+ }), ze && l.hasChildNodes() && !Vt(l.firstElementChild) && oe(/<[/\w!]/g, l.innerHTML) && oe(/<[/\w!]/g, l.textContent) || l.nodeType === nr.progressingInstruction || ze && l.nodeType === nr.comment && oe(/<[/\w]/g, l.data))
2241
2245
  return Z(l), !0;
2242
2246
  if (!(ge.tagCheck instanceof Function && ge.tagCheck(b)) && (!L[b] || Ee[b])) {
2243
2247
  if (!Ee[b] && Gt(b) && ($.tagNameCheck instanceof RegExp && oe($.tagNameCheck, b) || $.tagNameCheck instanceof Function && $.tagNameCheck(b)))
@@ -2246,15 +2250,15 @@ function vn() {
2246
2250
  const R = S(l) || l.parentNode, z = E(l) || l.childNodes;
2247
2251
  if (z && R) {
2248
2252
  const A = z.length;
2249
- for (let q = A - 1; q >= 0; --q) {
2250
- const J = C(z[q], !0);
2253
+ for (let V = A - 1; V >= 0; --V) {
2254
+ const J = k(z[V], !0);
2251
2255
  J.__removalCount = (l.__removalCount || 0) + 1, R.insertBefore(J, O(l));
2252
2256
  }
2253
2257
  }
2254
2258
  }
2255
2259
  return Z(l), !0;
2256
2260
  }
2257
- return l instanceof h && !Kr(l) || (b === "noscript" || b === "noembed" || b === "noframes") && oe(/<\/no(script|embed|frames)/i, l.innerHTML) ? (Z(l), !0) : (be && l.nodeType === nr.text && (m = l.textContent, kr([Me, rt, st], (R) => {
2261
+ return l instanceof h && !Kr(l) || (b === "noscript" || b === "noembed" || b === "noframes") && oe(/<\/no(script|embed|frames)/i, l.innerHTML) ? (Z(l), !0) : (be && l.nodeType === nr.text && (m = l.textContent, Cr([Me, rt, st], (R) => {
2258
2262
  m = rr(m, R, " ");
2259
2263
  }), l.textContent !== m && (tr(e.removed, {
2260
2264
  element: l.cloneNode()
@@ -2263,7 +2267,7 @@ function vn() {
2263
2267
  if (Mt && (m === "id" || m === "name") && (b in t || b in Qr))
2264
2268
  return !1;
2265
2269
  if (!(nt && !at[m] && oe(Br, m))) {
2266
- if (!(_t && oe(qr, m))) {
2270
+ if (!(_t && oe(Vr, m))) {
2267
2271
  if (!(ge.attributeCheck instanceof Function && ge.attributeCheck(m, l))) {
2268
2272
  if (!D[m] || at[m]) {
2269
2273
  if (
@@ -2276,8 +2280,8 @@ function vn() {
2276
2280
  ) return !1;
2277
2281
  } else if (!ut[m]) {
2278
2282
  if (!oe(Rt, rr(b, Et, ""))) {
2279
- if (!((m === "src" || m === "xlink:href" || m === "href") && l !== "script" && Ii(b, "data:") === 0 && Ot[l])) {
2280
- if (!(Pt && !oe(Vr, rr(b, Et, "")))) {
2283
+ if (!((m === "src" || m === "xlink:href" || m === "href") && l !== "script" && Mi(b, "data:") === 0 && Ot[l])) {
2284
+ if (!(Pt && !oe(qr, rr(b, Et, "")))) {
2281
2285
  if (b)
2282
2286
  return !1;
2283
2287
  }
@@ -2308,10 +2312,10 @@ function vn() {
2308
2312
  for (; R--; ) {
2309
2313
  const z = m[R], {
2310
2314
  name: A,
2311
- namespaceURI: q,
2315
+ namespaceURI: V,
2312
2316
  value: J
2313
2317
  } = z, Se = P(A), mt = J;
2314
- let F = A === "value" ? mt : Mi(mt);
2318
+ let F = A === "value" ? mt : Li(mt);
2315
2319
  if (b.attrName = Se, b.attrValue = F, b.keepAttr = !0, b.forceKeepAttr = void 0, K(N.uponSanitizeAttribute, l, b), F = b.attrValue, Lt && (Se === "id" || Se === "name") && (ae(A, l), F = Gr + F), ze && oe(/((--!?|])>)|<\/(style|title|textarea)/i, F)) {
2316
2320
  ae(A, l);
2317
2321
  continue;
@@ -2330,7 +2334,7 @@ function vn() {
2330
2334
  ae(A, l);
2331
2335
  continue;
2332
2336
  }
2333
- be && kr([Me, rt, st], (Zt) => {
2337
+ be && Cr([Me, rt, st], (Zt) => {
2334
2338
  F = rr(F, Zt, " ");
2335
2339
  });
2336
2340
  const Yt = P(l.nodeName);
@@ -2338,7 +2342,7 @@ function vn() {
2338
2342
  ae(A, l);
2339
2343
  continue;
2340
2344
  }
2341
- if (w && typeof y == "object" && typeof y.getAttributeType == "function" && !q)
2345
+ if (w && typeof y == "object" && typeof y.getAttributeType == "function" && !V)
2342
2346
  switch (y.getAttributeType(Yt, Se)) {
2343
2347
  case "TrustedHTML": {
2344
2348
  F = w.createHTML(F);
@@ -2351,7 +2355,7 @@ function vn() {
2351
2355
  }
2352
2356
  if (F !== mt)
2353
2357
  try {
2354
- q ? l.setAttributeNS(q, A, F) : l.setAttribute(A, F), pt(l) ? Z(l) : _a(e.removed);
2358
+ V ? l.setAttributeNS(V, A, F) : l.setAttribute(A, F), pt(l) ? Z(l) : _a(e.removed);
2355
2359
  } catch {
2356
2360
  ae(A, l);
2357
2361
  }
@@ -2361,12 +2365,12 @@ function vn() {
2361
2365
  let m = null;
2362
2366
  const b = Bt(l);
2363
2367
  for (K(N.beforeSanitizeShadowDOM, l, null); m = b.nextNode(); )
2364
- K(N.uponSanitizeShadowNode, m, null), Vt(m), jt(m), m.content instanceof n && v(m.content);
2368
+ K(N.uponSanitizeShadowNode, m, null), qt(m), jt(m), m.content instanceof n && v(m.content);
2365
2369
  K(N.afterSanitizeShadowDOM, l, null);
2366
2370
  };
2367
2371
  return e.sanitize = function(v) {
2368
2372
  let l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, m = null, b = null, R = null, z = null;
2369
- if (ht = !v, ht && (v = "<!-->"), typeof v != "string" && !qt(v))
2373
+ if (ht = !v, ht && (v = "<!-->"), typeof v != "string" && !Vt(v))
2370
2374
  if (typeof v.toString == "function") {
2371
2375
  if (v = v.toString(), typeof v != "string")
2372
2376
  throw sr("dirty is not a string, aborting");
@@ -2392,7 +2396,7 @@ function vn() {
2392
2396
  m && it && Z(m.firstChild);
2393
2397
  const A = Bt(Re ? v : m);
2394
2398
  for (; R = A.nextNode(); )
2395
- Vt(R), jt(R), R.content instanceof n && Jr(R.content);
2399
+ qt(R), jt(R), R.content instanceof n && Jr(R.content);
2396
2400
  if (Re)
2397
2401
  return v;
2398
2402
  if (ve) {
@@ -2403,26 +2407,26 @@ function vn() {
2403
2407
  z = m;
2404
2408
  return (D.shadowroot || D.shadowrootmode) && (z = Xe.call(s, z, !0)), z;
2405
2409
  }
2406
- let q = se ? m.outerHTML : m.innerHTML;
2407
- return se && L["!doctype"] && m.ownerDocument && m.ownerDocument.doctype && m.ownerDocument.doctype.name && oe(bn, m.ownerDocument.doctype.name) && (q = "<!DOCTYPE " + m.ownerDocument.doctype.name + `>
2408
- ` + q), be && kr([Me, rt, st], (J) => {
2409
- q = rr(q, J, " ");
2410
- }), w && Ue ? w.createHTML(q) : q;
2410
+ let V = se ? m.outerHTML : m.innerHTML;
2411
+ return se && L["!doctype"] && m.ownerDocument && m.ownerDocument.doctype && m.ownerDocument.doctype.name && oe(vn, m.ownerDocument.doctype.name) && (V = "<!DOCTYPE " + m.ownerDocument.doctype.name + `>
2412
+ ` + V), be && Cr([Me, rt, st], (J) => {
2413
+ V = rr(V, J, " ");
2414
+ }), w && Ue ? w.createHTML(V) : V;
2411
2415
  }, e.setConfig = function() {
2412
2416
  let v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2413
2417
  ft(v), ot = !0;
2414
2418
  }, e.clearConfig = function() {
2415
- Ce = null, ot = !1;
2419
+ ke = null, ot = !1;
2416
2420
  }, e.isValidAttribute = function(v, l, m) {
2417
- Ce || ft({});
2421
+ ke || ft({});
2418
2422
  const b = P(v), R = P(l);
2419
2423
  return Wt(b, R, m);
2420
2424
  }, e.addHook = function(v, l) {
2421
2425
  typeof l == "function" && tr(N[v], l);
2422
2426
  }, e.removeHook = function(v, l) {
2423
2427
  if (l !== void 0) {
2424
- const m = _i(N[v], l);
2425
- return m === -1 ? void 0 : Pi(N[v], m, 1)[0];
2428
+ const m = Pi(N[v], l);
2429
+ return m === -1 ? void 0 : Ii(N[v], m, 1)[0];
2426
2430
  }
2427
2431
  return _a(N[v]);
2428
2432
  }, e.removeHooks = function(v) {
@@ -2431,8 +2435,8 @@ function vn() {
2431
2435
  N = Da();
2432
2436
  }, e;
2433
2437
  }
2434
- vn();
2435
- const yn = (r, e) => {
2438
+ yn();
2439
+ const Cn = (r, e) => {
2436
2440
  let t = r;
2437
2441
  for (const s of e)
2438
2442
  t = t == null ? void 0 : t.children[s];
@@ -2443,13 +2447,13 @@ const yn = (r, e) => {
2443
2447
  e.hasOwnProperty(s) && (e[s] instanceof Object && r[s] instanceof Object ? t[s] = Gs(r[s], e[s]) : t[s] = e[s]);
2444
2448
  return t;
2445
2449
  };
2446
- function Yi(r) {
2450
+ function Zi(r) {
2447
2451
  return r.filter((e, t, s) => !s.some((a, n) => n !== t && a.includes(e)));
2448
2452
  }
2449
2453
  const Fa = (r, e) => {
2450
2454
  const t = structuredClone(r), s = (a, n) => {
2451
2455
  var h;
2452
- const o = structuredClone(a), c = yn(e, n);
2456
+ const o = structuredClone(a), c = Cn(e, n);
2453
2457
  if (!c)
2454
2458
  return o;
2455
2459
  for (const i of Object.keys(a.children))
@@ -2500,7 +2504,7 @@ const Fa = (r, e) => {
2500
2504
  h.count = o;
2501
2505
  }
2502
2506
  return t;
2503
- }, Zi = /* @__PURE__ */ G(class extends W {
2507
+ }, Xi = /* @__PURE__ */ G(class extends W {
2504
2508
  constructor(t) {
2505
2509
  super();
2506
2510
  /**
@@ -2515,6 +2519,17 @@ const Fa = (r, e) => {
2515
2519
  * Array of facet values to exclude from rendering.
2516
2520
  */
2517
2521
  d(this, "exclude");
2522
+ /**
2523
+ * Initial collapse state of the facet section.
2524
+ * @default 'open'
2525
+ */
2526
+ d(this, "initialCollapseState", "open");
2527
+ /**
2528
+ * The number of facets to show before displaying a "view more" link.
2529
+ * Set to 0 to show all facets without a "view more" link.
2530
+ * @default 8
2531
+ */
2532
+ d(this, "viewMoreThreshold", 8);
2518
2533
  /**
2519
2534
  * Emitted when the facets are updated.
2520
2535
  */
@@ -2549,6 +2564,14 @@ const Fa = (r, e) => {
2549
2564
  count: 0,
2550
2565
  children: {}
2551
2566
  });
2567
+ /**
2568
+ * Tracks whether the facet section is collapsed or expanded.
2569
+ */
2570
+ d(this, "isCollapsed", !1);
2571
+ /**
2572
+ * Tracks whether all facets are shown or limited by the threshold.
2573
+ */
2574
+ d(this, "showAllFacets", !1);
2552
2575
  // Internal vars used to track when to perform various facet actions.
2553
2576
  d(this, "lastTimeTaken");
2554
2577
  d(this, "lastSearchTerm");
@@ -2559,6 +2582,9 @@ const Fa = (r, e) => {
2559
2582
  d(this, "unsubscribe");
2560
2583
  d(this, "cleanupCore");
2561
2584
  d(this, "formatFacetName", (t) => `${t.replace(/^\//, "").replace(/-/g, " ").replace(/\b\w/g, (a) => a.toUpperCase())}`);
2585
+ d(this, "handleViewMoreToggle", () => {
2586
+ this.showAllFacets = !this.showAllFacets;
2587
+ });
2562
2588
  t !== !1 && this.__registerHost(), this.facetSelectionUpdated = Je(this, "facetSelectionUpdated");
2563
2589
  }
2564
2590
  get areAnyFacetPathsSelected() {
@@ -2586,7 +2612,7 @@ const Fa = (r, e) => {
2586
2612
  case "EXACT_MATCH_UPDATE":
2587
2613
  case "RANGE_VALUE_UPDATE": {
2588
2614
  if (t.supplementalFacetPrime) {
2589
- const g = (i = t.supplementalFacetPrime) == null ? void 0 : i.find((k) => this.fieldName === Object.keys(k)[0]), p = g == null ? void 0 : g[this.fieldName], y = ms({
2615
+ const g = (i = t.supplementalFacetPrime) == null ? void 0 : i.find((C) => this.fieldName === Object.keys(C)[0]), p = g == null ? void 0 : g[this.fieldName], y = ms({
2590
2616
  path: "/",
2591
2617
  count: 0,
2592
2618
  children: p || []
@@ -2614,8 +2640,8 @@ const Fa = (r, e) => {
2614
2640
  children: []
2615
2641
  };
2616
2642
  for (const g of Object.keys(this.selectedPaths).filter((p) => this.selectedPaths[p])) {
2617
- const p = g.startsWith("/") ? g.substring(1).split("/") : g.split("/"), y = !!yn(this.facetTreeCollectedFromSearchResponse, p), k = p.at(-1);
2618
- !y && k && ((u = c.children) == null || u.push({
2643
+ const p = g.startsWith("/") ? g.substring(1).split("/") : g.split("/"), y = !!Cn(this.facetTreeCollectedFromSearchResponse, p), C = p.at(-1);
2644
+ !y && C && ((u = c.children) == null || u.push({
2619
2645
  children: [],
2620
2646
  count: 0,
2621
2647
  path: g
@@ -2645,7 +2671,7 @@ const Fa = (r, e) => {
2645
2671
  });
2646
2672
  }
2647
2673
  connectedCallback() {
2648
- this.cleanupCore = te.useCoreInstance(this.searchcraftId, this.onCoreAvailable.bind(this));
2674
+ this.isCollapsed = this.initialCollapseState === "closed", this.cleanupCore = te.useCoreInstance(this.searchcraftId, this.onCoreAvailable.bind(this));
2649
2675
  }
2650
2676
  disconnectedCallback() {
2651
2677
  var t, s;
@@ -2662,9 +2688,23 @@ const Fa = (r, e) => {
2662
2688
  const c = Object.keys(this.selectedPaths).filter((h) => !h.includes(t));
2663
2689
  this.selectedPaths = c.reduce((h, i) => (h[i] = !0, h), {});
2664
2690
  }
2665
- const a = Object.keys(this.selectedPaths).filter((c) => this.selectedPaths[c]), n = Yi(a);
2691
+ const a = Object.keys(this.selectedPaths).filter((c) => this.selectedPaths[c]), n = Zi(a);
2666
2692
  (o = this.facetSelectionUpdated) == null || o.emit({ paths: n });
2667
2693
  }
2694
+ /**
2695
+ * Toggles the collapsed state of the facet section.
2696
+ * @returns A promise that resolves when the toggle is complete.
2697
+ */
2698
+ async handleCollapseToggle() {
2699
+ this.isCollapsed = !this.isCollapsed;
2700
+ }
2701
+ /**
2702
+ * Returns whether the facet section is currently collapsed.
2703
+ * @returns A promise that resolves to true if collapsed, false if expanded.
2704
+ */
2705
+ async getIsCollapsed() {
2706
+ return this.isCollapsed;
2707
+ }
2668
2708
  renderFacet(t, s) {
2669
2709
  let a = !1;
2670
2710
  for (const c of Object.keys(this.selectedPaths))
@@ -2681,16 +2721,29 @@ const Fa = (r, e) => {
2681
2721
  })));
2682
2722
  }
2683
2723
  render() {
2684
- if (this.fieldName && !(Object.keys(this.facetTreeCollectedFromSearchResponse.children).length === 0 && (this.lastSearchTerm || "").trim().length === 0))
2685
- return Object.keys(this.facetTreeCollectedFromSearchResponse.children).length === 0 && (this.lastSearchTerm || "").trim().length > 0 ? f("p", { class: "searchcraft-facet-list-message" }, "No facets are available for this search query.") : f("div", { class: "searchcraft-facet-list" }, this.renderFacet("@@root", this.renderedFacetTree));
2724
+ if (!this.fieldName || Object.keys(this.facetTreeCollectedFromSearchResponse.children).length === 0 && (this.lastSearchTerm || "").trim().length === 0)
2725
+ return;
2726
+ if (Object.keys(this.facetTreeCollectedFromSearchResponse.children).length === 0 && (this.lastSearchTerm || "").trim().length > 0)
2727
+ return f("p", { class: "searchcraft-facet-list-message" }, "No facets are available for this search query.");
2728
+ const t = Object.keys(this.renderedFacetTree.children), s = this.viewMoreThreshold ?? 8, a = s > 0 && t.length > s, n = a && !this.showAllFacets ? t.slice(0, s) : t;
2729
+ return f("div", { class: "searchcraft-facet-list-wrapper", "data-facet-section-collapsed": this.isCollapsed ? "" : void 0, "data-facet-section-expanded": this.isCollapsed ? void 0 : "" }, !this.isCollapsed && f("div", { class: "searchcraft-facet-list-content" }, f("div", { class: "searchcraft-facet-list" }, n.map((o) => {
2730
+ if (this.renderedFacetTree.children[o])
2731
+ return this.renderFacet(o, this.renderedFacetTree.children[o]);
2732
+ })), a && f("button", { class: "searchcraft-facet-list-view-more", onClick: this.handleViewMoreToggle, type: "button" }, this.showAllFacets ? "View less" : "View more...")));
2686
2733
  }
2687
2734
  }, [768, "searchcraft-facet-list", {
2688
2735
  searchcraftId: [1, "searchcraft-id"],
2689
2736
  fieldName: [1, "field-name"],
2690
2737
  exclude: [16],
2738
+ initialCollapseState: [1, "initial-collapse-state"],
2739
+ viewMoreThreshold: [2, "view-more-threshold"],
2691
2740
  selectedPaths: [32],
2692
2741
  facetTreeCollectedFromSearchResponse: [32],
2693
- renderedFacetTree: [32]
2742
+ renderedFacetTree: [32],
2743
+ isCollapsed: [32],
2744
+ showAllFacets: [32],
2745
+ handleCollapseToggle: [64],
2746
+ getIsCollapsed: [64]
2694
2747
  }]);
2695
2748
  function kn() {
2696
2749
  if (typeof customElements > "u")
@@ -2698,12 +2751,12 @@ function kn() {
2698
2751
  ["searchcraft-facet-list"].forEach((e) => {
2699
2752
  switch (e) {
2700
2753
  case "searchcraft-facet-list":
2701
- customElements.get(e) || customElements.define(e, Zi);
2754
+ customElements.get(e) || customElements.define(e, Xi);
2702
2755
  break;
2703
2756
  }
2704
2757
  });
2705
2758
  }
2706
- const Xi = kn;
2759
+ const Qi = kn;
2707
2760
  function or(r, e) {
2708
2761
  if (r && e)
2709
2762
  return e.fieldNames.map((t) => {
@@ -2711,7 +2764,7 @@ function or(r, e) {
2711
2764
  if (s)
2712
2765
  switch (t.dataType) {
2713
2766
  case "date": {
2714
- s = Qi(s, t.dateFormatLocale, t.dateFormatOptions);
2767
+ s = Ki(s, t.dateFormatLocale, t.dateFormatOptions);
2715
2768
  break;
2716
2769
  }
2717
2770
  case "number": {
@@ -2722,10 +2775,10 @@ function or(r, e) {
2722
2775
  return s;
2723
2776
  }).filter((t) => !!t).join(e.delimiter || " ");
2724
2777
  }
2725
- function Cn(r) {
2778
+ function Sn(r) {
2726
2779
  return r.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
2727
2780
  }
2728
- function Qi(r, e = "en-US", t = {
2781
+ function Ki(r, e = "en-US", t = {
2729
2782
  day: "numeric",
2730
2783
  month: "long",
2731
2784
  year: "numeric"
@@ -2752,7 +2805,7 @@ function gs(r, e, t = 0) {
2752
2805
  throw new Error(`Unsupported unit: ${e}`);
2753
2806
  }
2754
2807
  }
2755
- function Ki(r, e, t) {
2808
+ function Ji(r, e, t) {
2756
2809
  const s = new Date(e), a = new Date(t);
2757
2810
  switch (r) {
2758
2811
  case "year":
@@ -2781,7 +2834,7 @@ const Na = (r) => {
2781
2834
  return `${r}th`;
2782
2835
  }
2783
2836
  };
2784
- function Ji(r, e) {
2837
+ function ec(r, e) {
2785
2838
  const t = new Intl.DateTimeFormat("en-US", { month: "short" });
2786
2839
  switch (r) {
2787
2840
  case "year":
@@ -2802,7 +2855,7 @@ function Ji(r, e) {
2802
2855
  throw new Error(`Unsupported granularity: ${r}`);
2803
2856
  }
2804
2857
  }
2805
- function ec(r, e) {
2858
+ function tc(r, e) {
2806
2859
  let t = !1, s = null;
2807
2860
  const a = (n) => {
2808
2861
  r(...n), t = !0, setTimeout(() => {
@@ -2816,7 +2869,7 @@ function ec(r, e) {
2816
2869
  t ? s = n : a(n);
2817
2870
  };
2818
2871
  }
2819
- const tc = /* @__PURE__ */ G(class extends W {
2872
+ const rc = /* @__PURE__ */ G(class extends W {
2820
2873
  constructor(t) {
2821
2874
  super();
2822
2875
  /**
@@ -2879,7 +2932,7 @@ const tc = /* @__PURE__ */ G(class extends W {
2879
2932
  return `${this.startValue}`;
2880
2933
  case "date": {
2881
2934
  const s = this.dateGranularity || "year", a = this.lowerBound + t, n = gs(this.min, s, a);
2882
- return Ji(this.dateGranularity || "year", new Date(n));
2935
+ return ec(this.dateGranularity || "year", new Date(n));
2883
2936
  }
2884
2937
  }
2885
2938
  });
@@ -2891,11 +2944,11 @@ const tc = /* @__PURE__ */ G(class extends W {
2891
2944
  this.startValue = this.min, this.endValue = this.max, this.lowerBound = this.min, this.upperBound = this.max;
2892
2945
  break;
2893
2946
  case "date": {
2894
- this.startValue = 0, this.endValue = Ki(this.dateGranularity || "year", this.min, this.max), this.lowerBound = 0, this.upperBound = this.endValue;
2947
+ this.startValue = 0, this.endValue = Ji(this.dateGranularity || "year", this.min, this.max), this.lowerBound = 0, this.upperBound = this.endValue;
2895
2948
  break;
2896
2949
  }
2897
2950
  }
2898
- this.throttledEmitUpdate = ec(this.emitUpdate, 120);
2951
+ this.throttledEmitUpdate = tc(this.emitUpdate, 120);
2899
2952
  }
2900
2953
  render() {
2901
2954
  const t = (this.startValue - this.lowerBound) / (this.upperBound - this.lowerBound) * 100, s = (this.endValue - this.lowerBound) / (this.upperBound - this.lowerBound) * 100, a = this.getLabel(this.startValue), n = this.getLabel(this.endValue);
@@ -2916,18 +2969,18 @@ const tc = /* @__PURE__ */ G(class extends W {
2916
2969
  startValue: [32],
2917
2970
  lastFocusedHandle: [32]
2918
2971
  }]);
2919
- function Sn() {
2972
+ function xn() {
2920
2973
  if (typeof customElements > "u")
2921
2974
  return;
2922
2975
  ["searchcraft-slider"].forEach((e) => {
2923
2976
  switch (e) {
2924
2977
  case "searchcraft-slider":
2925
- customElements.get(e) || customElements.define(e, tc);
2978
+ customElements.get(e) || customElements.define(e, rc);
2926
2979
  break;
2927
2980
  }
2928
2981
  });
2929
2982
  }
2930
- const rc = /* @__PURE__ */ G(class extends W {
2983
+ const sc = /* @__PURE__ */ G(class extends W {
2931
2984
  constructor(t) {
2932
2985
  super();
2933
2986
  /**
@@ -2980,18 +3033,18 @@ const rc = /* @__PURE__ */ G(class extends W {
2980
3033
  isActive: [32],
2981
3034
  lastSearchTerm: [32]
2982
3035
  }]);
2983
- function xn() {
3036
+ function wn() {
2984
3037
  if (typeof customElements > "u")
2985
3038
  return;
2986
3039
  ["searchcraft-toggle-button"].forEach((e) => {
2987
3040
  switch (e) {
2988
3041
  case "searchcraft-toggle-button":
2989
- customElements.get(e) || customElements.define(e, rc);
3042
+ customElements.get(e) || customElements.define(e, sc);
2990
3043
  break;
2991
3044
  }
2992
3045
  });
2993
3046
  }
2994
- const sc = /* @__PURE__ */ G(class extends W {
3047
+ const ac = /* @__PURE__ */ G(class extends W {
2995
3048
  constructor(t) {
2996
3049
  super();
2997
3050
  /**
@@ -3180,8 +3233,24 @@ const sc = /* @__PURE__ */ G(class extends W {
3180
3233
  }
3181
3234
  case "facets": {
3182
3235
  const s = t;
3183
- return f("div", { class: "searchcraft-filter-panel-section" }, f("p", { class: "searchcraft-filter-panel-label" }, t.label), f("searchcraft-facet-list", { fieldName: s.fieldName, exclude: s.options.exclude, onFacetSelectionUpdated: (a) => {
3184
- this.handleFacetSelectionUpdated(s.fieldName, a.detail.paths);
3236
+ let a = null, n = null;
3237
+ const o = (h) => {
3238
+ n && (h ? (n.removeAttribute("data-facet-section-expanded"), n.setAttribute("data-facet-section-collapsed", ""), n.setAttribute("aria-expanded", "false")) : (n.removeAttribute("data-facet-section-collapsed"), n.setAttribute("data-facet-section-expanded", ""), n.setAttribute("aria-expanded", "true")));
3239
+ }, c = async () => {
3240
+ if (a && "handleCollapseToggle" in a && "getIsCollapsed" in a) {
3241
+ await a.handleCollapseToggle();
3242
+ const h = await a.getIsCollapsed();
3243
+ o(h);
3244
+ }
3245
+ };
3246
+ return f("div", { class: "searchcraft-filter-panel-section" }, f("p", { ref: (h) => {
3247
+ n = h || null;
3248
+ }, class: "searchcraft-filter-panel-label", "data-toggle-facet-section": !0, "data-facet-section-expanded": s.options.initialCollapseState !== "closed" ? "" : void 0, "data-facet-section-collapsed": s.options.initialCollapseState === "closed" ? "" : void 0, onClick: c, onKeyDown: async (h) => {
3249
+ (h.key === "Enter" || h.key === " ") && (h.preventDefault(), await c());
3250
+ }, tabIndex: 0, role: "button", "aria-expanded": s.options.initialCollapseState !== "closed" }, t.label), f("searchcraft-facet-list", { ref: (h) => {
3251
+ a = h || null;
3252
+ }, fieldName: s.fieldName, exclude: s.options.exclude, initialCollapseState: s.options.initialCollapseState, viewMoreThreshold: s.options.viewMoreThreshold, onFacetSelectionUpdated: (h) => {
3253
+ this.handleFacetSelectionUpdated(s.fieldName, h.detail.paths);
3185
3254
  } }));
3186
3255
  }
3187
3256
  case "exactMatchToggle": {
@@ -3207,27 +3276,27 @@ const sc = /* @__PURE__ */ G(class extends W {
3207
3276
  lastSearchTerm: [32],
3208
3277
  isFilterPanelVisible: [32]
3209
3278
  }]);
3210
- function ac() {
3279
+ function nc() {
3211
3280
  if (typeof customElements > "u")
3212
3281
  return;
3213
3282
  ["searchcraft-filter-panel", "searchcraft-facet-list", "searchcraft-slider", "searchcraft-toggle-button"].forEach((e) => {
3214
3283
  switch (e) {
3215
3284
  case "searchcraft-filter-panel":
3216
- customElements.get(e) || customElements.define(e, sc);
3285
+ customElements.get(e) || customElements.define(e, ac);
3217
3286
  break;
3218
3287
  case "searchcraft-facet-list":
3219
3288
  customElements.get(e) || kn();
3220
3289
  break;
3221
3290
  case "searchcraft-slider":
3222
- customElements.get(e) || Sn();
3291
+ customElements.get(e) || xn();
3223
3292
  break;
3224
3293
  case "searchcraft-toggle-button":
3225
- customElements.get(e) || xn();
3294
+ customElements.get(e) || wn();
3226
3295
  break;
3227
3296
  }
3228
3297
  });
3229
3298
  }
3230
- const nc = ac, oc = /* @__PURE__ */ G(class extends W {
3299
+ const oc = nc, ic = /* @__PURE__ */ G(class extends W {
3231
3300
  constructor(t) {
3232
3301
  super();
3233
3302
  /**
@@ -3250,12 +3319,12 @@ function js() {
3250
3319
  ["searchcraft-input-label"].forEach((e) => {
3251
3320
  switch (e) {
3252
3321
  case "searchcraft-input-label":
3253
- customElements.get(e) || customElements.define(e, oc);
3322
+ customElements.get(e) || customElements.define(e, ic);
3254
3323
  break;
3255
3324
  }
3256
3325
  });
3257
3326
  }
3258
- const ic = /* @__PURE__ */ G(class extends W {
3327
+ const cc = /* @__PURE__ */ G(class extends W {
3259
3328
  constructor(t) {
3260
3329
  super();
3261
3330
  /**
@@ -3398,13 +3467,13 @@ const ic = /* @__PURE__ */ G(class extends W {
3398
3467
  core: ["onCoreChange"],
3399
3468
  value: ["onValueChange"]
3400
3469
  }]);
3401
- function wn() {
3470
+ function Tn() {
3402
3471
  if (typeof customElements > "u")
3403
3472
  return;
3404
3473
  ["searchcraft-input-form", "searchcraft-button", "searchcraft-error-message", "searchcraft-input-label"].forEach((e) => {
3405
3474
  switch (e) {
3406
3475
  case "searchcraft-input-form":
3407
- customElements.get(e) || customElements.define(e, ic);
3476
+ customElements.get(e) || customElements.define(e, cc);
3408
3477
  break;
3409
3478
  case "searchcraft-button":
3410
3479
  customElements.get(e) || Nr();
@@ -3418,7 +3487,7 @@ function wn() {
3418
3487
  }
3419
3488
  });
3420
3489
  }
3421
- const cc = wn, lc = js, uc = /* @__PURE__ */ G(class extends W {
3490
+ const lc = Tn, uc = js, hc = /* @__PURE__ */ G(class extends W {
3422
3491
  constructor(t) {
3423
3492
  super();
3424
3493
  d(this, "label");
@@ -3430,24 +3499,29 @@ const cc = wn, lc = js, uc = /* @__PURE__ */ G(class extends W {
3430
3499
  }, [768, "searchcraft-loading", {
3431
3500
  label: [1]
3432
3501
  }]);
3433
- function Tn() {
3502
+ function En() {
3434
3503
  if (typeof customElements > "u")
3435
3504
  return;
3436
3505
  ["searchcraft-loading"].forEach((e) => {
3437
3506
  switch (e) {
3438
3507
  case "searchcraft-loading":
3439
- customElements.get(e) || customElements.define(e, uc);
3508
+ customElements.get(e) || customElements.define(e, hc);
3440
3509
  break;
3441
3510
  }
3442
3511
  });
3443
3512
  }
3444
- const hc = Tn, dc = /* @__PURE__ */ G(class extends W {
3513
+ const dc = En, fc = /* @__PURE__ */ G(class extends W {
3445
3514
  constructor(t) {
3446
3515
  super();
3447
3516
  /**
3448
3517
  * The id of the Searchcraft instance that this component should use.
3449
3518
  */
3450
3519
  d(this, "searchcraftId");
3520
+ /**
3521
+ * Whether to scroll to the top of the search results when pagination buttons are clicked.
3522
+ * @default true
3523
+ */
3524
+ d(this, "scrollToTop", !0);
3451
3525
  // store vars
3452
3526
  d(this, "searchTerm");
3453
3527
  d(this, "searchResultsPerPage");
@@ -3478,8 +3552,26 @@ const hc = Tn, dc = /* @__PURE__ */ G(class extends W {
3478
3552
  var t, s;
3479
3553
  (t = this.unsubscribe) == null || t.call(this), (s = this.cleanupCore) == null || s.call(this);
3480
3554
  }
3555
+ /**
3556
+ * Smooth scroll to the top of the search results component
3557
+ */
3558
+ smoothScrollToSearchResults() {
3559
+ if (!this.scrollToTop)
3560
+ return;
3561
+ const t = document.querySelector("searchcraft-search-results .searchcraft-search-results");
3562
+ if (!t)
3563
+ return;
3564
+ const n = t.getBoundingClientRect().top + window.scrollY - 200, o = window.scrollY, c = n - o, h = 1500;
3565
+ let i = null;
3566
+ const u = (p) => p === 1 ? 1 : 1 - 2 ** (-10 * p), g = (p) => {
3567
+ i === null && (i = p);
3568
+ const y = p - i, C = Math.min(y / h, 1), k = u(C);
3569
+ window.scrollTo(0, o + c * k), C < 1 && requestAnimationFrame(g);
3570
+ };
3571
+ requestAnimationFrame(g);
3572
+ }
3481
3573
  handleGoToPage(t) {
3482
- this.setSearchResultsPage(t);
3574
+ this.setSearchResultsPage(t), this.scrollToTop && this.smoothScrollToSearchResults();
3483
3575
  }
3484
3576
  renderOddPaginationItem(t) {
3485
3577
  return f("li", null, f("button", { class: me("searchcraft-pagination-item", {
@@ -3507,6 +3599,7 @@ const hc = Tn, dc = /* @__PURE__ */ G(class extends W {
3507
3599
  }
3508
3600
  }, [768, "searchcraft-pagination", {
3509
3601
  searchcraftId: [1, "searchcraft-id"],
3602
+ scrollToTop: [4, "scroll-to-top"],
3510
3603
  searchTerm: [32],
3511
3604
  searchResultsPerPage: [32],
3512
3605
  searchResultsPage: [32],
@@ -3517,13 +3610,13 @@ const hc = Tn, dc = /* @__PURE__ */ G(class extends W {
3517
3610
  searchResultsRangeMax: [32],
3518
3611
  setSearchResultsPage: [32]
3519
3612
  }]);
3520
- function fc() {
3613
+ function pc() {
3521
3614
  if (typeof customElements > "u")
3522
3615
  return;
3523
3616
  ["searchcraft-pagination", "searchcraft-button"].forEach((e) => {
3524
3617
  switch (e) {
3525
3618
  case "searchcraft-pagination":
3526
- customElements.get(e) || customElements.define(e, dc);
3619
+ customElements.get(e) || customElements.define(e, fc);
3527
3620
  break;
3528
3621
  case "searchcraft-button":
3529
3622
  customElements.get(e) || Nr();
@@ -3531,7 +3624,7 @@ function fc() {
3531
3624
  }
3532
3625
  });
3533
3626
  }
3534
- const pc = fc, mc = /* @__PURE__ */ G(class extends W {
3627
+ const mc = pc, gc = /* @__PURE__ */ G(class extends W {
3535
3628
  constructor(t) {
3536
3629
  super();
3537
3630
  /**
@@ -3625,18 +3718,18 @@ const pc = fc, mc = /* @__PURE__ */ G(class extends W {
3625
3718
  isPopoverVisible: [32],
3626
3719
  userAgent: [32]
3627
3720
  }]);
3628
- function gc() {
3721
+ function bc() {
3629
3722
  if (typeof customElements > "u")
3630
3723
  return;
3631
3724
  ["searchcraft-popover-button"].forEach((e) => {
3632
3725
  switch (e) {
3633
3726
  case "searchcraft-popover-button":
3634
- customElements.get(e) || customElements.define(e, mc);
3727
+ customElements.get(e) || customElements.define(e, gc);
3635
3728
  break;
3636
3729
  }
3637
3730
  });
3638
3731
  }
3639
- const bc = gc, vc = /* @__PURE__ */ G(class extends W {
3732
+ const vc = bc, yc = /* @__PURE__ */ G(class extends W {
3640
3733
  constructor(t) {
3641
3734
  super();
3642
3735
  /**
@@ -3662,24 +3755,24 @@ const bc = gc, vc = /* @__PURE__ */ G(class extends W {
3662
3755
  (t = this.unsubscribe) == null || t.call(this), (s = this.cleanupCore) == null || s.call(this);
3663
3756
  }
3664
3757
  render() {
3665
- return f("footer", { key: "5e3c0da21c63453ac705d0ea2dbb1ee5053bd527", class: "searchcraft-popover-footer" }, f("p", { key: "34332a6a54af63717a6f6c36c65a321b2d18c82c", class: "searchcraft-popover-footer-results-info" }, this.searchResultsCount ? `${Cn(this.searchResultsCount)} Results Found` : " "), f("a", { key: "8cd1bd1ad4e3a91e7221c5d38650b10a66dc884e", class: "searchcraft-popover-footer-link", href: "https://searchcraft.io/", target: "_blank", rel: "noreferrer" }, f("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" }, f("title", { key: "804857d081cf5cbd8e63af05c3479a96872d136d" }, "Powered by Searchcraft"), f("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" }))));
3758
+ return f("footer", { key: "5e3c0da21c63453ac705d0ea2dbb1ee5053bd527", class: "searchcraft-popover-footer" }, f("p", { key: "34332a6a54af63717a6f6c36c65a321b2d18c82c", class: "searchcraft-popover-footer-results-info" }, this.searchResultsCount ? `${Sn(this.searchResultsCount)} Results Found` : " "), f("a", { key: "8cd1bd1ad4e3a91e7221c5d38650b10a66dc884e", class: "searchcraft-popover-footer-link", href: "https://searchcraft.io/", target: "_blank", rel: "noreferrer" }, f("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" }, f("title", { key: "804857d081cf5cbd8e63af05c3479a96872d136d" }, "Powered by Searchcraft"), f("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" }))));
3666
3759
  }
3667
3760
  }, [768, "searchcraft-popover-footer", {
3668
3761
  searchcraftId: [1, "searchcraft-id"],
3669
3762
  searchResultsCount: [32]
3670
3763
  }]);
3671
- function En() {
3764
+ function Rn() {
3672
3765
  if (typeof customElements > "u")
3673
3766
  return;
3674
3767
  ["searchcraft-popover-footer"].forEach((e) => {
3675
3768
  switch (e) {
3676
3769
  case "searchcraft-popover-footer":
3677
- customElements.get(e) || customElements.define(e, vc);
3770
+ customElements.get(e) || customElements.define(e, yc);
3678
3771
  break;
3679
3772
  }
3680
3773
  });
3681
3774
  }
3682
- const yc = En, kc = /* @__PURE__ */ G(class extends W {
3775
+ const Cc = Rn, kc = /* @__PURE__ */ G(class extends W {
3683
3776
  constructor(t) {
3684
3777
  super();
3685
3778
  d(this, "item");
@@ -3749,7 +3842,7 @@ function Ys() {
3749
3842
  }
3750
3843
  });
3751
3844
  }
3752
- const Cc = /* @__PURE__ */ G(class extends W {
3845
+ const Sc = /* @__PURE__ */ G(class extends W {
3753
3846
  constructor(t) {
3754
3847
  super();
3755
3848
  /**
@@ -3787,8 +3880,8 @@ const Cc = /* @__PURE__ */ G(class extends W {
3787
3880
  return f("div", { class: "searchcraft-popover-list-view" }, (t = this.adClientResponseItems) == null ? void 0 : t.map((a) => f("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adClientResponseItem: a, adSource: "adMarketplace", key: a.id, renderPosition: "top" })), (s = this.searchClientResponseItems) == null ? void 0 : s.map((a, n) => f("searchcraft-popover-list-item", { "searchcraft-id": this.searchcraftId, item: a, key: a.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + n })));
3788
3881
  }
3789
3882
  renderWithCustomAds() {
3790
- var h, i, u, g, p, y, k, C;
3791
- const t = [], s = ((i = (h = this.config) == null ? void 0 : h.customAdConfig) == null ? void 0 : i.adInterstitialInterval) || 0, a = ((g = (u = this.config) == null ? void 0 : u.customAdConfig) == null ? void 0 : g.adInterstitialQuantity) || 1, n = ((y = (p = this.config) == null ? void 0 : p.customAdConfig) == null ? void 0 : y.adStartQuantity) || 0, o = ((C = (k = this.config) == null ? void 0 : k.customAdConfig) == null ? void 0 : C.adEndQuantity) || 0, c = this.searchClientResponseItems || [];
3883
+ var h, i, u, g, p, y, C, k;
3884
+ const t = [], s = ((i = (h = this.config) == null ? void 0 : h.customAdConfig) == null ? void 0 : i.adInterstitialInterval) || 0, a = ((g = (u = this.config) == null ? void 0 : u.customAdConfig) == null ? void 0 : g.adInterstitialQuantity) || 1, n = ((y = (p = this.config) == null ? void 0 : p.customAdConfig) == null ? void 0 : y.adStartQuantity) || 0, o = ((k = (C = this.config) == null ? void 0 : C.customAdConfig) == null ? void 0 : k.adEndQuantity) || 0, c = this.searchClientResponseItems || [];
3792
3885
  for (let x = 0; x < n; x++)
3793
3886
  t.push(f("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${x}-ad`, renderPosition: "top" }));
3794
3887
  c.forEach((x, O) => {
@@ -3802,8 +3895,8 @@ const Cc = /* @__PURE__ */ G(class extends W {
3802
3895
  return f("div", { class: "searchcraft-popover-list-view" }, t);
3803
3896
  }
3804
3897
  renderWithNativoAds() {
3805
- var i, u, g, p, y, k, C, x, O, E;
3806
- const t = [], s = ((u = (i = this.config) == null ? void 0 : i.nativoConfig) == null ? void 0 : u.adInterstialStartIndex) || 0, a = ((p = (g = this.config) == null ? void 0 : g.nativoConfig) == null ? void 0 : p.adInterstitialInterval) || 0, n = ((k = (y = this.config) == null ? void 0 : y.nativoConfig) == null ? void 0 : k.adInterstitialQuantity) || 1, o = ((x = (C = this.config) == null ? void 0 : C.nativoConfig) == null ? void 0 : x.adStartQuantity) || 0, c = ((E = (O = this.config) == null ? void 0 : O.nativoConfig) == null ? void 0 : E.adEndQuantity) || 0, h = this.searchClientResponseItems || [];
3898
+ var i, u, g, p, y, C, k, x, O, E;
3899
+ const t = [], s = ((u = (i = this.config) == null ? void 0 : i.nativoConfig) == null ? void 0 : u.adInterstialStartIndex) || 0, a = ((p = (g = this.config) == null ? void 0 : g.nativoConfig) == null ? void 0 : p.adInterstitialInterval) || 0, n = ((C = (y = this.config) == null ? void 0 : y.nativoConfig) == null ? void 0 : C.adInterstitialQuantity) || 1, o = ((x = (k = this.config) == null ? void 0 : k.nativoConfig) == null ? void 0 : x.adStartQuantity) || 0, c = ((E = (O = this.config) == null ? void 0 : O.nativoConfig) == null ? void 0 : E.adEndQuantity) || 0, h = this.searchClientResponseItems || [];
3807
3900
  for (let S = 0; S < o; S++)
3808
3901
  t.push(f("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${S}-ad`, renderPosition: "top" }));
3809
3902
  h.forEach((S, w) => {
@@ -3832,13 +3925,13 @@ const Cc = /* @__PURE__ */ G(class extends W {
3832
3925
  searchResultsPage: [2, "search-results-page"],
3833
3926
  searchResultsPerPage: [2, "search-results-per-page"]
3834
3927
  }]);
3835
- function Rn() {
3928
+ function $n() {
3836
3929
  if (typeof customElements > "u")
3837
3930
  return;
3838
3931
  ["searchcraft-popover-list-view", "searchcraft-ad", "searchcraft-popover-list-item"].forEach((e) => {
3839
3932
  switch (e) {
3840
3933
  case "searchcraft-popover-list-view":
3841
- customElements.get(e) || customElements.define(e, Cc);
3934
+ customElements.get(e) || customElements.define(e, Sc);
3842
3935
  break;
3843
3936
  case "searchcraft-ad":
3844
3937
  customElements.get(e) || Fr();
@@ -3849,7 +3942,7 @@ function Rn() {
3849
3942
  }
3850
3943
  });
3851
3944
  }
3852
- const Sc = /* @__PURE__ */ G(class extends W {
3945
+ const xc = /* @__PURE__ */ G(class extends W {
3853
3946
  constructor(t) {
3854
3947
  super();
3855
3948
  /**
@@ -4051,13 +4144,13 @@ const Sc = /* @__PURE__ */ G(class extends W {
4051
4144
  searchResultsPerPage: [32],
4052
4145
  modalElement: [32]
4053
4146
  }]);
4054
- function $n() {
4147
+ function An() {
4055
4148
  if (typeof customElements > "u")
4056
4149
  return;
4057
4150
  ["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((e) => {
4058
4151
  switch (e) {
4059
4152
  case "searchcraft-popover-form":
4060
- customElements.get(e) || customElements.define(e, Sc);
4153
+ customElements.get(e) || customElements.define(e, xc);
4061
4154
  break;
4062
4155
  case "searchcraft-ad":
4063
4156
  customElements.get(e) || Fr();
@@ -4069,27 +4162,27 @@ function $n() {
4069
4162
  customElements.get(e) || zr();
4070
4163
  break;
4071
4164
  case "searchcraft-input-form":
4072
- customElements.get(e) || wn();
4165
+ customElements.get(e) || Tn();
4073
4166
  break;
4074
4167
  case "searchcraft-input-label":
4075
4168
  customElements.get(e) || js();
4076
4169
  break;
4077
4170
  case "searchcraft-popover-footer":
4078
- customElements.get(e) || En();
4171
+ customElements.get(e) || Rn();
4079
4172
  break;
4080
4173
  case "searchcraft-popover-form":
4081
- customElements.get(e) || $n();
4174
+ customElements.get(e) || An();
4082
4175
  break;
4083
4176
  case "searchcraft-popover-list-item":
4084
4177
  customElements.get(e) || Ys();
4085
4178
  break;
4086
4179
  case "searchcraft-popover-list-view":
4087
- customElements.get(e) || Rn();
4180
+ customElements.get(e) || $n();
4088
4181
  break;
4089
4182
  }
4090
4183
  });
4091
4184
  }
4092
- const xc = $n, wc = Ys, Tc = Rn, Ec = /* @__PURE__ */ G(class extends W {
4185
+ const wc = An, Tc = Ys, Ec = $n, Rc = /* @__PURE__ */ G(class extends W {
4093
4186
  constructor(t) {
4094
4187
  super();
4095
4188
  /**
@@ -4133,7 +4226,7 @@ const xc = $n, wc = Ys, Tc = Rn, Ec = /* @__PURE__ */ G(class extends W {
4133
4226
  range: [Number(this.range[0]), Number(this.range[1])],
4134
4227
  count: this.count,
4135
4228
  responseTime: this.responseTime
4136
- }, { html: fr }) : `${Cn(this.count)} results found in ${this.responseTime}ms`);
4229
+ }, { html: fr }) : `${Sn(this.count)} results found in ${this.responseTime}ms`);
4137
4230
  }
4138
4231
  }, [768, "searchcraft-results-info", {
4139
4232
  template: [16],
@@ -4147,18 +4240,18 @@ const xc = $n, wc = Ys, Tc = Rn, Ec = /* @__PURE__ */ G(class extends W {
4147
4240
  range: [32],
4148
4241
  responseTime: [32]
4149
4242
  }]);
4150
- function Rc() {
4243
+ function $c() {
4151
4244
  if (typeof customElements > "u")
4152
4245
  return;
4153
4246
  ["searchcraft-results-info"].forEach((e) => {
4154
4247
  switch (e) {
4155
4248
  case "searchcraft-results-info":
4156
- customElements.get(e) || customElements.define(e, Ec);
4249
+ customElements.get(e) || customElements.define(e, Rc);
4157
4250
  break;
4158
4251
  }
4159
4252
  });
4160
4253
  }
4161
- const $c = Rc, Ac = /* @__PURE__ */ G(class extends W {
4254
+ const Ac = $c, _c = /* @__PURE__ */ G(class extends W {
4162
4255
  constructor(t) {
4163
4256
  super();
4164
4257
  d(this, "item");
@@ -4233,18 +4326,18 @@ const $c = Rc, Ac = /* @__PURE__ */ G(class extends W {
4233
4326
  searchcraftId: [1, "searchcraft-id"],
4234
4327
  templateHtml: [32]
4235
4328
  }]);
4236
- function An() {
4329
+ function _n() {
4237
4330
  if (typeof customElements > "u")
4238
4331
  return;
4239
4332
  ["searchcraft-search-result"].forEach((e) => {
4240
4333
  switch (e) {
4241
4334
  case "searchcraft-search-result":
4242
- customElements.get(e) || customElements.define(e, Ac);
4335
+ customElements.get(e) || customElements.define(e, _c);
4243
4336
  break;
4244
4337
  }
4245
4338
  });
4246
4339
  }
4247
- const _c = An, Pc = /* @__PURE__ */ G(class extends W {
4340
+ const Pc = _n, Ic = /* @__PURE__ */ G(class extends W {
4248
4341
  constructor(t) {
4249
4342
  super();
4250
4343
  /**
@@ -4298,8 +4391,8 @@ const _c = An, Pc = /* @__PURE__ */ G(class extends W {
4298
4391
  return f("div", { class: "searchcraft-search-results" }, (s = this.adClientResponseItems) == null ? void 0 : s.map((a) => f("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "adMarketplace", adClientResponseItem: a, key: a.id, renderPosition: "top" })), t.map((a, n) => f("searchcraft-search-result", { "searchcraft-id": this.searchcraftId, key: a.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + n, index: n, item: a, template: this.template })));
4299
4392
  }
4300
4393
  renderWithCustomAds() {
4301
- var h, i, u, g, p, y, k, C;
4302
- const t = [], s = ((i = (h = this.config) == null ? void 0 : h.customAdConfig) == null ? void 0 : i.adInterstitialInterval) || 0, a = ((g = (u = this.config) == null ? void 0 : u.customAdConfig) == null ? void 0 : g.adInterstitialQuantity) || 1, n = ((y = (p = this.config) == null ? void 0 : p.customAdConfig) == null ? void 0 : y.adStartQuantity) || 0, o = ((C = (k = this.config) == null ? void 0 : k.customAdConfig) == null ? void 0 : C.adEndQuantity) || 0, c = this.searchClientResponseItems || [];
4394
+ var h, i, u, g, p, y, C, k;
4395
+ const t = [], s = ((i = (h = this.config) == null ? void 0 : h.customAdConfig) == null ? void 0 : i.adInterstitialInterval) || 0, a = ((g = (u = this.config) == null ? void 0 : u.customAdConfig) == null ? void 0 : g.adInterstitialQuantity) || 1, n = ((y = (p = this.config) == null ? void 0 : p.customAdConfig) == null ? void 0 : y.adStartQuantity) || 0, o = ((k = (C = this.config) == null ? void 0 : C.customAdConfig) == null ? void 0 : k.adEndQuantity) || 0, c = this.searchClientResponseItems || [];
4303
4396
  for (let x = 0; x < n; x++)
4304
4397
  t.push(f("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Custom", key: `${x}-ad`, renderPosition: "top" }));
4305
4398
  c.forEach((x, O) => {
@@ -4313,8 +4406,8 @@ const _c = An, Pc = /* @__PURE__ */ G(class extends W {
4313
4406
  return f("div", { class: "searchcraft-search-results" }, t);
4314
4407
  }
4315
4408
  renderWithNativoAds() {
4316
- var i, u, g, p, y, k, C, x, O, E;
4317
- const t = [], s = ((u = (i = this.config) == null ? void 0 : i.nativoConfig) == null ? void 0 : u.adInterstialStartIndex) || 0, a = ((p = (g = this.config) == null ? void 0 : g.nativoConfig) == null ? void 0 : p.adInterstitialInterval) || 0, n = ((k = (y = this.config) == null ? void 0 : y.nativoConfig) == null ? void 0 : k.adInterstitialQuantity) || 1, o = ((x = (C = this.config) == null ? void 0 : C.nativoConfig) == null ? void 0 : x.adStartQuantity) || 0, c = ((E = (O = this.config) == null ? void 0 : O.nativoConfig) == null ? void 0 : E.adEndQuantity) || 0, h = this.searchClientResponseItems || [];
4409
+ var i, u, g, p, y, C, k, x, O, E;
4410
+ const t = [], s = ((u = (i = this.config) == null ? void 0 : i.nativoConfig) == null ? void 0 : u.adInterstialStartIndex) || 0, a = ((p = (g = this.config) == null ? void 0 : g.nativoConfig) == null ? void 0 : p.adInterstitialInterval) || 0, n = ((C = (y = this.config) == null ? void 0 : y.nativoConfig) == null ? void 0 : C.adInterstitialQuantity) || 1, o = ((x = (k = this.config) == null ? void 0 : k.nativoConfig) == null ? void 0 : x.adStartQuantity) || 0, c = ((E = (O = this.config) == null ? void 0 : O.nativoConfig) == null ? void 0 : E.adEndQuantity) || 0, h = this.searchClientResponseItems || [];
4318
4411
  for (let S = 0; S < o; S++)
4319
4412
  t.push(f("searchcraft-ad", { "searchcraft-id": this.searchcraftId, adSource: "Nativo", key: `${S}-ad`, renderPosition: "top" }));
4320
4413
  h.forEach((S, w) => {
@@ -4348,13 +4441,13 @@ const _c = An, Pc = /* @__PURE__ */ G(class extends W {
4348
4441
  searchResultsPerPage: [32],
4349
4442
  searchTerm: [32]
4350
4443
  }]);
4351
- function Ic() {
4444
+ function Mc() {
4352
4445
  if (typeof customElements > "u")
4353
4446
  return;
4354
4447
  ["searchcraft-search-results", "searchcraft-ad", "searchcraft-error-message", "searchcraft-search-result"].forEach((e) => {
4355
4448
  switch (e) {
4356
4449
  case "searchcraft-search-results":
4357
- customElements.get(e) || customElements.define(e, Pc);
4450
+ customElements.get(e) || customElements.define(e, Ic);
4358
4451
  break;
4359
4452
  case "searchcraft-ad":
4360
4453
  customElements.get(e) || Fr();
@@ -4363,12 +4456,12 @@ function Ic() {
4363
4456
  customElements.get(e) || zr();
4364
4457
  break;
4365
4458
  case "searchcraft-search-result":
4366
- customElements.get(e) || An();
4459
+ customElements.get(e) || _n();
4367
4460
  break;
4368
4461
  }
4369
4462
  });
4370
4463
  }
4371
- const Mc = Ic, Lc = /* @__PURE__ */ G(class extends W {
4464
+ const Lc = Mc, Oc = /* @__PURE__ */ G(class extends W {
4372
4465
  constructor(t) {
4373
4466
  super();
4374
4467
  /**
@@ -4431,18 +4524,18 @@ const Mc = Ic, Lc = /* @__PURE__ */ G(class extends W {
4431
4524
  setSearchResultsPage: [32],
4432
4525
  setSearchResultsPerPage: [32]
4433
4526
  }]);
4434
- function _n() {
4527
+ function Pn() {
4435
4528
  if (typeof customElements > "u")
4436
4529
  return;
4437
4530
  ["searchcraft-select"].forEach((e) => {
4438
4531
  switch (e) {
4439
4532
  case "searchcraft-select":
4440
- customElements.get(e) || customElements.define(e, Lc);
4533
+ customElements.get(e) || customElements.define(e, Oc);
4441
4534
  break;
4442
4535
  }
4443
4536
  });
4444
4537
  }
4445
- const Oc = /* @__PURE__ */ G(class extends W {
4538
+ const Dc = /* @__PURE__ */ G(class extends W {
4446
4539
  constructor(t) {
4447
4540
  super();
4448
4541
  /**
@@ -4511,21 +4604,21 @@ const Oc = /* @__PURE__ */ G(class extends W {
4511
4604
  setSearchResultsPerPage: [32],
4512
4605
  setSearchResultsPage: [32]
4513
4606
  }]);
4514
- function Dc() {
4607
+ function Fc() {
4515
4608
  if (typeof customElements > "u")
4516
4609
  return;
4517
4610
  ["searchcraft-search-results-per-page", "searchcraft-select"].forEach((e) => {
4518
4611
  switch (e) {
4519
4612
  case "searchcraft-search-results-per-page":
4520
- customElements.get(e) || customElements.define(e, Oc);
4613
+ customElements.get(e) || customElements.define(e, Dc);
4521
4614
  break;
4522
4615
  case "searchcraft-select":
4523
- customElements.get(e) || _n();
4616
+ customElements.get(e) || Pn();
4524
4617
  break;
4525
4618
  }
4526
4619
  });
4527
4620
  }
4528
- const Fc = Dc, Nc = _n, zc = Sn;
4621
+ const Nc = Fc, zc = Pn, Hc = xn;
4529
4622
  function Zs() {
4530
4623
  return {
4531
4624
  async: !1,
@@ -4540,9 +4633,9 @@ function Zs() {
4540
4633
  walkTokens: null
4541
4634
  };
4542
4635
  }
4543
- var Ct = Zs();
4544
- function Pn(r) {
4545
- Ct = r;
4636
+ var kt = Zs();
4637
+ function In(r) {
4638
+ kt = r;
4546
4639
  }
4547
4640
  var lr = { exec: () => null };
4548
4641
  function U(r, e = "") {
@@ -4613,31 +4706,31 @@ var ce = {
4613
4706
  fencesBeginRegex: (r) => new RegExp(`^ {0,${Math.min(3, r - 1)}}(?:\`\`\`|~~~)`),
4614
4707
  headingBeginRegex: (r) => new RegExp(`^ {0,${Math.min(3, r - 1)}}#`),
4615
4708
  htmlBeginRegex: (r) => new RegExp(`^ {0,${Math.min(3, r - 1)}}<(?:[a-z].*>|!--)`, "i")
4616
- }, Hc = /^(?:[ \t]*(?:\n|$))+/, Uc = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Bc = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, mr = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, qc = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Xs = /(?:[*+-]|\d{1,9}[.)])/, In = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, Mn = U(In).replace(/bull/g, Xs).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(), Vc = U(In).replace(/bull/g, Xs).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(), Qs = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Wc = /^[^\n]+/, Ks = /(?!\s*\])(?:\\.|[^\[\]\\])+/, Gc = U(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Ks).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), jc = U(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Xs).getRegex(), Hr = "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", Js = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Yc = U(
4709
+ }, Uc = /^(?:[ \t]*(?:\n|$))+/, Bc = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Vc = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, mr = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, qc = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Xs = /(?:[*+-]|\d{1,9}[.)])/, Mn = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, Ln = U(Mn).replace(/bull/g, Xs).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(), Wc = U(Mn).replace(/bull/g, Xs).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(), Qs = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Gc = /^[^\n]+/, Ks = /(?!\s*\])(?:\\.|[^\[\]\\])+/, jc = U(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Ks).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Yc = U(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Xs).getRegex(), Hr = "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", Js = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Zc = U(
4617
4710
  "^ {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|$))",
4618
4711
  "i"
4619
- ).replace("comment", Js).replace("tag", Hr).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Ln = U(Qs).replace("hr", mr).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", Hr).getRegex(), Zc = U(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Ln).getRegex(), ea = {
4620
- blockquote: Zc,
4621
- code: Uc,
4622
- def: Gc,
4623
- fences: Bc,
4712
+ ).replace("comment", Js).replace("tag", Hr).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), On = U(Qs).replace("hr", mr).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", Hr).getRegex(), Xc = U(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", On).getRegex(), ea = {
4713
+ blockquote: Xc,
4714
+ code: Bc,
4715
+ def: jc,
4716
+ fences: Vc,
4624
4717
  heading: qc,
4625
4718
  hr: mr,
4626
- html: Yc,
4627
- lheading: Mn,
4628
- list: jc,
4629
- newline: Hc,
4630
- paragraph: Ln,
4719
+ html: Zc,
4720
+ lheading: Ln,
4721
+ list: Yc,
4722
+ newline: Uc,
4723
+ paragraph: On,
4631
4724
  table: lr,
4632
- text: Wc
4725
+ text: Gc
4633
4726
  }, za = U(
4634
4727
  "^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"
4635
- ).replace("hr", mr).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", Hr).getRegex(), Xc = {
4728
+ ).replace("hr", mr).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", Hr).getRegex(), Qc = {
4636
4729
  ...ea,
4637
- lheading: Vc,
4730
+ lheading: Wc,
4638
4731
  table: za,
4639
4732
  paragraph: U(Qs).replace("hr", mr).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", za).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", Hr).getRegex()
4640
- }, Qc = {
4733
+ }, Kc = {
4641
4734
  ...ea,
4642
4735
  html: U(
4643
4736
  `^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`
@@ -4648,65 +4741,65 @@ var ce = {
4648
4741
  // fences not supported
4649
4742
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
4650
4743
  paragraph: U(Qs).replace("hr", mr).replace("heading", ` *#{1,6} *[^
4651
- ]`).replace("lheading", Mn).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
4652
- }, Kc = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Jc = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, On = /^( {2,}|\\)\n(?!\s*$)/, el = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Ur = /[\p{P}\p{S}]/u, ta = /[\s\p{P}\p{S}]/u, Dn = /[^\s\p{P}\p{S}]/u, tl = U(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, ta).getRegex(), Fn = /(?!~)[\p{P}\p{S}]/u, rl = /(?!~)[\s\p{P}\p{S}]/u, sl = /(?:[^\s\p{P}\p{S}]|~)/u, al = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Nn = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, nl = U(Nn, "u").replace(/punct/g, Ur).getRegex(), ol = U(Nn, "u").replace(/punct/g, Fn).getRegex(), zn = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", il = U(zn, "gu").replace(/notPunctSpace/g, Dn).replace(/punctSpace/g, ta).replace(/punct/g, Ur).getRegex(), cl = U(zn, "gu").replace(/notPunctSpace/g, sl).replace(/punctSpace/g, rl).replace(/punct/g, Fn).getRegex(), ll = U(
4744
+ ]`).replace("lheading", Ln).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
4745
+ }, Jc = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, el = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Dn = /^( {2,}|\\)\n(?!\s*$)/, tl = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Ur = /[\p{P}\p{S}]/u, ta = /[\s\p{P}\p{S}]/u, Fn = /[^\s\p{P}\p{S}]/u, rl = U(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, ta).getRegex(), Nn = /(?!~)[\p{P}\p{S}]/u, sl = /(?!~)[\s\p{P}\p{S}]/u, al = /(?:[^\s\p{P}\p{S}]|~)/u, nl = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, zn = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, ol = U(zn, "u").replace(/punct/g, Ur).getRegex(), il = U(zn, "u").replace(/punct/g, Nn).getRegex(), Hn = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", cl = U(Hn, "gu").replace(/notPunctSpace/g, Fn).replace(/punctSpace/g, ta).replace(/punct/g, Ur).getRegex(), ll = U(Hn, "gu").replace(/notPunctSpace/g, al).replace(/punctSpace/g, sl).replace(/punct/g, Nn).getRegex(), ul = U(
4653
4746
  "^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)",
4654
4747
  "gu"
4655
- ).replace(/notPunctSpace/g, Dn).replace(/punctSpace/g, ta).replace(/punct/g, Ur).getRegex(), ul = U(/\\(punct)/, "gu").replace(/punct/g, Ur).getRegex(), hl = U(/^<(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(), dl = U(Js).replace("(?:-->|$)", "-->").getRegex(), fl = U(
4748
+ ).replace(/notPunctSpace/g, Fn).replace(/punctSpace/g, ta).replace(/punct/g, Ur).getRegex(), hl = U(/\\(punct)/, "gu").replace(/punct/g, Ur).getRegex(), dl = U(/^<(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(), fl = U(Js).replace("(?:-->|$)", "-->").getRegex(), pl = U(
4656
4749
  "^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>"
4657
- ).replace("comment", dl).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), Mr = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, pl = U(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", Mr).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Hn = U(/^!?\[(label)\]\[(ref)\]/).replace("label", Mr).replace("ref", Ks).getRegex(), Un = U(/^!?\[(ref)\](?:\[\])?/).replace("ref", Ks).getRegex(), ml = U("reflink|nolink(?!\\()", "g").replace("reflink", Hn).replace("nolink", Un).getRegex(), ra = {
4750
+ ).replace("comment", fl).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), Mr = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, ml = U(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", Mr).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Un = U(/^!?\[(label)\]\[(ref)\]/).replace("label", Mr).replace("ref", Ks).getRegex(), Bn = U(/^!?\[(ref)\](?:\[\])?/).replace("ref", Ks).getRegex(), gl = U("reflink|nolink(?!\\()", "g").replace("reflink", Un).replace("nolink", Bn).getRegex(), ra = {
4658
4751
  _backpedal: lr,
4659
4752
  // only used for GFM url
4660
- anyPunctuation: ul,
4661
- autolink: hl,
4662
- blockSkip: al,
4663
- br: On,
4664
- code: Jc,
4753
+ anyPunctuation: hl,
4754
+ autolink: dl,
4755
+ blockSkip: nl,
4756
+ br: Dn,
4757
+ code: el,
4665
4758
  del: lr,
4666
- emStrongLDelim: nl,
4667
- emStrongRDelimAst: il,
4668
- emStrongRDelimUnd: ll,
4669
- escape: Kc,
4670
- link: pl,
4671
- nolink: Un,
4672
- punctuation: tl,
4673
- reflink: Hn,
4674
- reflinkSearch: ml,
4675
- tag: fl,
4676
- text: el,
4759
+ emStrongLDelim: ol,
4760
+ emStrongRDelimAst: cl,
4761
+ emStrongRDelimUnd: ul,
4762
+ escape: Jc,
4763
+ link: ml,
4764
+ nolink: Bn,
4765
+ punctuation: rl,
4766
+ reflink: Un,
4767
+ reflinkSearch: gl,
4768
+ tag: pl,
4769
+ text: tl,
4677
4770
  url: lr
4678
- }, gl = {
4771
+ }, bl = {
4679
4772
  ...ra,
4680
4773
  link: U(/^!?\[(label)\]\((.*?)\)/).replace("label", Mr).getRegex(),
4681
4774
  reflink: U(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", Mr).getRegex()
4682
4775
  }, Ds = {
4683
4776
  ...ra,
4684
- emStrongRDelimAst: cl,
4685
- emStrongLDelim: ol,
4777
+ emStrongRDelimAst: ll,
4778
+ emStrongLDelim: il,
4686
4779
  url: U(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
4687
4780
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
4688
4781
  del: /^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,
4689
4782
  text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
4690
- }, bl = {
4783
+ }, vl = {
4691
4784
  ...Ds,
4692
- br: U(On).replace("{2,}", "*").getRegex(),
4785
+ br: U(Dn).replace("{2,}", "*").getRegex(),
4693
4786
  text: U(Ds.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
4694
4787
  }, Sr = {
4695
4788
  normal: ea,
4696
- gfm: Xc,
4697
- pedantic: Qc
4789
+ gfm: Qc,
4790
+ pedantic: Kc
4698
4791
  }, ir = {
4699
4792
  normal: ra,
4700
4793
  gfm: Ds,
4701
- breaks: bl,
4702
- pedantic: gl
4703
- }, vl = {
4794
+ breaks: vl,
4795
+ pedantic: bl
4796
+ }, yl = {
4704
4797
  "&": "&amp;",
4705
4798
  "<": "&lt;",
4706
4799
  ">": "&gt;",
4707
4800
  '"': "&quot;",
4708
4801
  "'": "&#39;"
4709
- }, Ha = (r) => vl[r];
4802
+ }, Ha = (r) => yl[r];
4710
4803
  function De(r, e) {
4711
4804
  if (e) {
4712
4805
  if (ce.escapeTest.test(r))
@@ -4749,7 +4842,7 @@ function cr(r, e, t) {
4749
4842
  a++;
4750
4843
  return r.slice(0, s - a);
4751
4844
  }
4752
- function yl(r, e) {
4845
+ function Cl(r, e) {
4753
4846
  if (r.indexOf(e[1]) === -1)
4754
4847
  return -1;
4755
4848
  let t = 0;
@@ -4762,7 +4855,7 @@ function yl(r, e) {
4762
4855
  return s;
4763
4856
  return t > 0 ? -2 : -1;
4764
4857
  }
4765
- function qa(r, e, t, s, a) {
4858
+ function Va(r, e, t, s, a) {
4766
4859
  const n = e.href, o = e.title || null, c = r[1].replace(a.other.outputLinkReplace, "$1");
4767
4860
  s.state.inLink = !0;
4768
4861
  const h = {
@@ -4797,7 +4890,7 @@ var Lr = class {
4797
4890
  d(this, "rules");
4798
4891
  // set by the lexer
4799
4892
  d(this, "lexer");
4800
- this.options = r || Ct;
4893
+ this.options = r || kt;
4801
4894
  }
4802
4895
  space(r) {
4803
4896
  const e = this.rules.block.newline.exec(r);
@@ -4890,16 +4983,16 @@ ${u}` : u;
4890
4983
  if ((p == null ? void 0 : p.type) === "code")
4891
4984
  break;
4892
4985
  if ((p == null ? void 0 : p.type) === "blockquote") {
4893
- const y = p, k = y.raw + `
4986
+ const y = p, C = y.raw + `
4894
4987
  ` + t.join(`
4895
- `), C = this.blockquote(k);
4896
- n[n.length - 1] = C, s = s.substring(0, s.length - y.raw.length) + C.raw, a = a.substring(0, a.length - y.text.length) + C.text;
4988
+ `), k = this.blockquote(C);
4989
+ n[n.length - 1] = k, s = s.substring(0, s.length - y.raw.length) + k.raw, a = a.substring(0, a.length - y.text.length) + k.text;
4897
4990
  break;
4898
4991
  } else if ((p == null ? void 0 : p.type) === "list") {
4899
- const y = p, k = y.raw + `
4992
+ const y = p, C = y.raw + `
4900
4993
  ` + t.join(`
4901
- `), C = this.list(k);
4902
- n[n.length - 1] = C, s = s.substring(0, s.length - p.raw.length) + C.raw, a = a.substring(0, a.length - y.raw.length) + C.raw, t = k.substring(n.at(-1).raw.length).split(`
4994
+ `), k = this.list(C);
4995
+ n[n.length - 1] = k, s = s.substring(0, s.length - p.raw.length) + k.raw, a = a.substring(0, a.length - y.raw.length) + k.raw, t = C.substring(n.at(-1).raw.length).split(`
4903
4996
  `);
4904
4997
  continue;
4905
4998
  }
@@ -4934,19 +5027,19 @@ ${u}` : u;
4934
5027
  i = e[0], r = r.substring(i.length);
4935
5028
  let g = e[2].split(`
4936
5029
  `, 1)[0].replace(this.rules.other.listReplaceTabs, (O) => " ".repeat(3 * O.length)), p = r.split(`
4937
- `, 1)[0], y = !g.trim(), k = 0;
4938
- if (this.options.pedantic ? (k = 2, u = g.trimStart()) : y ? k = e[1].length + 1 : (k = e[2].search(this.rules.other.nonSpaceChar), k = k > 4 ? 1 : k, u = g.slice(k), k += e[1].length), y && this.rules.other.blankLine.test(p) && (i += p + `
5030
+ `, 1)[0], y = !g.trim(), C = 0;
5031
+ if (this.options.pedantic ? (C = 2, u = g.trimStart()) : y ? C = e[1].length + 1 : (C = e[2].search(this.rules.other.nonSpaceChar), C = C > 4 ? 1 : C, u = g.slice(C), C += e[1].length), y && this.rules.other.blankLine.test(p) && (i += p + `
4939
5032
  `, r = r.substring(p.length + 1), h = !0), !h) {
4940
- const O = this.rules.other.nextBulletRegex(k), E = this.rules.other.hrRegex(k), S = this.rules.other.fencesBeginRegex(k), w = this.rules.other.headingBeginRegex(k), B = this.rules.other.htmlBeginRegex(k);
5033
+ const O = this.rules.other.nextBulletRegex(C), E = this.rules.other.hrRegex(C), S = this.rules.other.fencesBeginRegex(C), w = this.rules.other.headingBeginRegex(C), B = this.rules.other.htmlBeginRegex(C);
4941
5034
  for (; r; ) {
4942
5035
  const _ = r.split(`
4943
5036
  `, 1)[0];
4944
5037
  let H;
4945
5038
  if (p = _, this.options.pedantic ? (p = p.replace(this.rules.other.listReplaceNesting, " "), H = p) : H = p.replace(this.rules.other.tabCharGlobal, " "), S.test(p) || w.test(p) || B.test(p) || O.test(p) || E.test(p))
4946
5039
  break;
4947
- if (H.search(this.rules.other.nonSpaceChar) >= k || !p.trim())
5040
+ if (H.search(this.rules.other.nonSpaceChar) >= C || !p.trim())
4948
5041
  u += `
4949
- ` + H.slice(k);
5042
+ ` + H.slice(C);
4950
5043
  else {
4951
5044
  if (y || g.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || S.test(g) || w.test(g) || E.test(g))
4952
5045
  break;
@@ -4954,15 +5047,15 @@ ${u}` : u;
4954
5047
  ` + p;
4955
5048
  }
4956
5049
  !y && !p.trim() && (y = !0), i += _ + `
4957
- `, r = r.substring(_.length + 1), g = H.slice(k);
5050
+ `, r = r.substring(_.length + 1), g = H.slice(C);
4958
5051
  }
4959
5052
  }
4960
5053
  a.loose || (o ? a.loose = !0 : this.rules.other.doubleBlankLine.test(i) && (o = !0));
4961
- let C = null, x;
4962
- this.options.gfm && (C = this.rules.other.listIsTask.exec(u), C && (x = C[0] !== "[ ] ", u = u.replace(this.rules.other.listReplaceTask, ""))), a.items.push({
5054
+ let k = null, x;
5055
+ this.options.gfm && (k = this.rules.other.listIsTask.exec(u), k && (x = k[0] !== "[ ] ", u = u.replace(this.rules.other.listReplaceTask, ""))), a.items.push({
4963
5056
  type: "list_item",
4964
5057
  raw: i,
4965
- task: !!C,
5058
+ task: !!k,
4966
5059
  checked: x,
4967
5060
  loose: !1,
4968
5061
  text: u,
@@ -5109,7 +5202,7 @@ ${u}` : u;
5109
5202
  if ((t.length - n.length) % 2 === 0)
5110
5203
  return;
5111
5204
  } else {
5112
- const n = yl(e[2], "()");
5205
+ const n = Cl(e[2], "()");
5113
5206
  if (n === -2)
5114
5207
  return;
5115
5208
  if (n > -1) {
@@ -5123,7 +5216,7 @@ ${u}` : u;
5123
5216
  n && (s = n[1], a = n[3]);
5124
5217
  } else
5125
5218
  a = e[3] ? e[3].slice(1, -1) : "";
5126
- return s = s.trim(), this.rules.other.startAngleBracket.test(s) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(t) ? s = s.slice(1) : s = s.slice(1, -1)), qa(e, {
5219
+ return s = s.trim(), this.rules.other.startAngleBracket.test(s) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(t) ? s = s.slice(1) : s = s.slice(1, -1)), Va(e, {
5127
5220
  href: s && s.replace(this.rules.inline.anyPunctuation, "$1"),
5128
5221
  title: a && a.replace(this.rules.inline.anyPunctuation, "$1")
5129
5222
  }, e[0], this.lexer, this.rules);
@@ -5141,7 +5234,7 @@ ${u}` : u;
5141
5234
  text: n
5142
5235
  };
5143
5236
  }
5144
- return qa(t, a, t[0], this.lexer, this.rules);
5237
+ return Va(t, a, t[0], this.lexer, this.rules);
5145
5238
  }
5146
5239
  }
5147
5240
  emStrong(r, e, t = "") {
@@ -5164,12 +5257,12 @@ ${u}` : u;
5164
5257
  c = Math.min(c, c + h + i);
5165
5258
  const g = [...s[0]][0].length, p = r.slice(0, n + s.index + g + c);
5166
5259
  if (Math.min(n, c) % 2) {
5167
- const k = p.slice(1, -1);
5260
+ const C = p.slice(1, -1);
5168
5261
  return {
5169
5262
  type: "em",
5170
5263
  raw: p,
5171
- text: k,
5172
- tokens: this.lexer.inlineTokens(k)
5264
+ text: C,
5265
+ tokens: this.lexer.inlineTokens(C)
5173
5266
  };
5174
5267
  }
5175
5268
  const y = p.slice(2, -2);
@@ -5279,7 +5372,7 @@ ${u}` : u;
5279
5372
  d(this, "state");
5280
5373
  d(this, "tokenizer");
5281
5374
  d(this, "inlineQueue");
5282
- this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || Ct, this.options.tokenizer = this.options.tokenizer || new Lr(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
5375
+ this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || kt, this.options.tokenizer = this.options.tokenizer || new Lr(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
5283
5376
  inLink: !1,
5284
5377
  inRawBlock: !1,
5285
5378
  top: !0
@@ -5494,9 +5587,9 @@ ${u}` : u;
5494
5587
  if ((i = this.options.extensions) != null && i.startInline) {
5495
5588
  let p = 1 / 0;
5496
5589
  const y = e.slice(1);
5497
- let k;
5498
- this.options.extensions.startInline.forEach((C) => {
5499
- k = C.call({ lexer: this }, y), typeof k == "number" && k >= 0 && (p = Math.min(p, k));
5590
+ let C;
5591
+ this.options.extensions.startInline.forEach((k) => {
5592
+ C = k.call({ lexer: this }, y), typeof C == "number" && C >= 0 && (p = Math.min(p, C));
5500
5593
  }), p < 1 / 0 && p >= 0 && (g = e.substring(0, p + 1));
5501
5594
  }
5502
5595
  if (u = this.tokenizer.inlineText(g)) {
@@ -5521,7 +5614,7 @@ ${u}` : u;
5521
5614
  constructor(r) {
5522
5615
  d(this, "options");
5523
5616
  d(this, "parser");
5524
- this.options = r || Ct;
5617
+ this.options = r || kt;
5525
5618
  }
5526
5619
  space(r) {
5527
5620
  return "";
@@ -5685,7 +5778,7 @@ ${r}</tr>
5685
5778
  d(this, "options");
5686
5779
  d(this, "renderer");
5687
5780
  d(this, "textRenderer");
5688
- this.options = e || Ct, this.options.renderer = this.options.renderer || new Or(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new sa();
5781
+ this.options = e || kt, this.options.renderer = this.options.renderer || new Or(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new sa();
5689
5782
  }
5690
5783
  /**
5691
5784
  * Static Parse Method
@@ -5846,7 +5939,7 @@ ${r}</tr>
5846
5939
  constructor(r) {
5847
5940
  d(this, "options");
5848
5941
  d(this, "block");
5849
- this.options = r || Ct;
5942
+ this.options = r || kt;
5850
5943
  }
5851
5944
  /**
5852
5945
  * Process markdown before marked
@@ -5882,7 +5975,7 @@ ${r}</tr>
5882
5975
  "preprocess",
5883
5976
  "postprocess",
5884
5977
  "processAllTokens"
5885
- ])), vs), Cl = class {
5978
+ ])), vs), Sl = class {
5886
5979
  constructor(...r) {
5887
5980
  d(this, "defaults", Zs());
5888
5981
  d(this, "options", this.setOptions);
@@ -6054,32 +6147,32 @@ Please report this to https://github.com/markedjs/marked.`, r) {
6054
6147
  throw t;
6055
6148
  };
6056
6149
  }
6057
- }, kt = new Cl();
6058
- function V(r, e) {
6059
- return kt.parse(r, e);
6150
+ }, Ct = new Sl();
6151
+ function q(r, e) {
6152
+ return Ct.parse(r, e);
6060
6153
  }
6061
- V.options = V.setOptions = function(r) {
6062
- return kt.setOptions(r), V.defaults = kt.defaults, Pn(V.defaults), V;
6154
+ q.options = q.setOptions = function(r) {
6155
+ return Ct.setOptions(r), q.defaults = Ct.defaults, In(q.defaults), q;
6063
6156
  };
6064
- V.getDefaults = Zs;
6065
- V.defaults = Ct;
6066
- V.use = function(...r) {
6067
- return kt.use(...r), V.defaults = kt.defaults, Pn(V.defaults), V;
6157
+ q.getDefaults = Zs;
6158
+ q.defaults = kt;
6159
+ q.use = function(...r) {
6160
+ return Ct.use(...r), q.defaults = Ct.defaults, In(q.defaults), q;
6068
6161
  };
6069
- V.walkTokens = function(r, e) {
6070
- return kt.walkTokens(r, e);
6162
+ q.walkTokens = function(r, e) {
6163
+ return Ct.walkTokens(r, e);
6071
6164
  };
6072
- V.parseInline = kt.parseInline;
6073
- V.Parser = Ke;
6074
- V.parser = Ke.parse;
6075
- V.Renderer = Or;
6076
- V.TextRenderer = sa;
6077
- V.Lexer = Qe;
6078
- V.lexer = Qe.lex;
6079
- V.Tokenizer = Lr;
6080
- V.Hooks = Ar;
6081
- V.parse = V;
6082
- const Sl = /* @__PURE__ */ G(class extends W {
6165
+ q.parseInline = Ct.parseInline;
6166
+ q.Parser = Ke;
6167
+ q.parser = Ke.parse;
6168
+ q.Renderer = Or;
6169
+ q.TextRenderer = sa;
6170
+ q.Lexer = Qe;
6171
+ q.lexer = Qe.lex;
6172
+ q.Tokenizer = Lr;
6173
+ q.Hooks = Ar;
6174
+ q.parse = q;
6175
+ const xl = /* @__PURE__ */ G(class extends W {
6083
6176
  constructor(t) {
6084
6177
  super();
6085
6178
  /**
@@ -6116,7 +6209,7 @@ const Sl = /* @__PURE__ */ G(class extends W {
6116
6209
  * Sanitizes and converts markdown to HTML.
6117
6210
  */
6118
6211
  sanitizeMarkdown(t) {
6119
- return pn.sanitize(V.parse(t));
6212
+ return mn.sanitize(q.parse(t));
6120
6213
  }
6121
6214
  /**
6122
6215
  * Updates the content element directly without triggering a re-render.
@@ -6141,51 +6234,51 @@ const Sl = /* @__PURE__ */ G(class extends W {
6141
6234
  isLoading: [32],
6142
6235
  isSummaryNotEnabled: [32]
6143
6236
  }]);
6144
- function xl() {
6237
+ function wl() {
6145
6238
  if (typeof customElements > "u")
6146
6239
  return;
6147
6240
  ["searchcraft-summary-box", "searchcraft-loading"].forEach((e) => {
6148
6241
  switch (e) {
6149
6242
  case "searchcraft-summary-box":
6150
- customElements.get(e) || customElements.define(e, Sl);
6243
+ customElements.get(e) || customElements.define(e, xl);
6151
6244
  break;
6152
6245
  case "searchcraft-loading":
6153
- customElements.get(e) || Tn();
6246
+ customElements.get(e) || En();
6154
6247
  break;
6155
6248
  }
6156
6249
  });
6157
6250
  }
6158
- const wl = xl;
6159
- var Tl = `\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 */
6251
+ const Tl = wl;
6252
+ var El = `\uFEFF[class*=searchcraft-],[class*=searchcraft-] *,[class*=searchcraft-]::before,[class*=searchcraft-]::after,[class*=searchcraft-] *,::before,[class*=searchcraft-] *,::after{box-sizing:border-box;padding:0;margin:0}:root{--sc-text-base-size: 1em;--sc-text-scale-ratio: 1.1;--sc-font-family: sans-serif;--sc-font-bold: 700;--sc-font-normal: 400;--sc-heading-1-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-2-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-3-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-4-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-5-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-6-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) );--sc-body-font-size: calc(var(--sc-text-base-size));--sc-body-small-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) )}:root{--sc-border-radius: 8px;--sc-border-radius-sm: calc(var(--sc-border-radius) / 2);--sc-border-radius-lg: calc(var(--sc-border-radius) * 2);--sc-border-radius-xl: calc(var(--sc-border-radius) * 3);--sc-border-radius-2xl: calc(var(--sc-border-radius) * 4);--sc-border-radius-full: 9999px}:root{--sc-breakpoint-sm: 576px;--sc-breakpoint-md: 768px;--sc-breakpoint-lg: 992px}:root{--sc-surface-neutral-primary: var(--sc-color-background, #ffffff);--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-primary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #fafafa) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-primary-active: var( --sc-color-background-active, var(--sc-color-background-active-computed, #f7f7f7) );--sc-surface-neutral-secondary: var( --sc-color-background-secondary, var(--sc-color-background, #f3f3f3) );--sc-color-background-secondary-hover-computed: hsl( from var(--sc-color-background-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #e6e6e6) );--sc-color-background-secondary-active-computed: hsl( from var(--sc-color-background-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-secondary-active: var( --sc-color-background-secondary-active, var(--sc-color-background-active-computed, #e0e0e0) );--sc-surface-neutral-light: #ffffff;--sc-content-neutral-primary: var(--sc-color-foreground, #292929);--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10, calc(l + 5), 90) );--sc-content-neutral-secondary: var( --sc-color-foreground-secondary, var(--sc-color-foreground-secondary-computed, #404040) );--sc-border-neutral: var(--sc-color-border, rgba(0, 0, 0, 0.1));--sc-surface-brand-primary: var(--sc-color-brand, #000000);--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20, calc(l + 5), 95) );--sc-surface-brand-primary-hover: var( --sc-color-brand-hover, var(--sc-color-brand-hover-computed, #2e2e2e) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10, calc(l - 5), 85) );--sc-surface-brand-primary-active: var( --sc-color-brand-active, var(--sc-color-brand-active-computed, #292929) );--sc-surface-brand-secondary: var( --sc-color-brand-secondary, var(--sc-color-brand, #e6e6e6) );--sc-color-brand-secondary-hover-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-brand-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #ebebeb) );--sc-color-brand-secondary-active-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-brand-secondary-active: var( --sc-color-brand-secondary-active, var(--sc-color-brand-active-computed, #e0e0e0) );--sc-content-brand: var( --sc-color-brand-text, var(--sc-surface-brand-primary) );--sc-content-brand-on-primary: #ffffff;--sc-border-brand: var(--sc-surface-brand-primary);--sc-surface-success-primary: var(--sc-color-success, #008000);--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30 );--sc-surface-success-primary-hover: var( --sc-color-success-primary-hover, var(--sc-color-success-primary-hover-computed, #009900) );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20 );--sc-surface-success-primary-active: var( --sc-color-success-primary-active, var(--sc-color-success-primary-active-computed, #006600) );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90 );--sc-surface-success-secondary: var( --sc-color-success-secondary, var(--sc-color-success-secondary-computed, #ccffcc) );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95 );--sc-surface-success-secondary-hover: var( --sc-color-success-secondary-hover, var(--sc-color-success-secondary-hover-computed, #e6ffe6) );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85 );--sc-surface-success-secondary-active: var( --sc-color-success-secondary-active, var(--sc-color-success-secondary-active-computed, #b2ffb2) );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30) );--sc-content-success-on-primary: #ffffff;--sc-border-success: var(--sc-surface-success-primary);--sc-surface-caution-primary: var(--sc-color-caution, #cc6600);--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30 );--sc-surface-caution-primary-hover: var( --sc-color-caution-primary-hover, var(--sc-color-caution-primary-hover-computed, #e57300) );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20 );--sc-surface-caution-primary-active: var( --sc-color-caution-primary-active, var(--sc-color-caution-primary-active-computed, #b25a00) );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90 );--sc-surface-caution-secondary: var( --sc-color-caution-secondary, var(--sc-color-caution-secondary-computed, #ffd9b3) );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95 );--sc-surface-caution-secondary-hover: var( --sc-color-caution-secondary-hover, var(--sc-color-caution-secondary-hover-computed, #ffe5cc) );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85 );--sc-surface-caution-secondary-active: var( --sc-color-caution-secondary-active, var(--sc-color-caution-secondary-active-computed, #ffcc99) );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30) );--sc-content-caution-on-primary: #ffffff;--sc-border-caution: var(--sc-surface-caution-primary);--sc-surface-danger-primary: var(--sc-color-danger, #cc0000);--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30 );--sc-surface-danger-primary-hover: var( --sc-color-danger-primary-hover, var(--sc-color-danger-primary-hover-computed, #e50000) );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20 );--sc-surface-danger-primary-active: var( --sc-color-danger-primary-active, var(--sc-color-danger-primary-active-computed, #b30000) );--sc-color-danger-secondary-computed: hsl(from var(--sc-color-danger) h s 90);--sc-surface-danger-secondary: var( --sc-color-danger-secondary, var(--sc-color-danger-secondary-computed, #ffcccc) );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95 );--sc-surface-danger-secondary-hover: var( --sc-color-danger-secondary-hover, var(--sc-color-danger-secondary-hover-computed, #ffe7e7) );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85 );--sc-surface-danger-secondary-active: var( --sc-color-danger-secondary-active, var(--sc-color-danger-secondary-active-computed, #ffb3b3) );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30) );--sc-content-danger-on-primary: #ffffff;--sc-border-danger: var(--sc-surface-danger-primary);--sc-color-disabled: hsl(from var(--sc-color-page-primary) h s calc(l * 0.5));--sc-surface-disabled: var(--sc-color-disabled, #d9d9d9);--sc-color-disabled-text: hsl( from var(--sc-color-text-primary) h s calc(l * 0.5) );--sc-content-disabled: var(--sc-color-disabled-text, #737373);--sc-content-disabled-on-disabled: var(--sc-color-disabled-text, #737373)}@supports(hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none){:root{--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10%, calc(l + 5%), 95%) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5%, calc(l - 5%), 90%) );--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10%, calc(l + 5%), 90%) );--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20%, calc(l + 5%), 95%) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10%, calc(l - 5%), 85%) );--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30% );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20% );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90% );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95% );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85% );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30%) );--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30% );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20% );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90% );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95% );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85% );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30%) );--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30% );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20% );--sc-color-danger-secondary-computed: hsl( from var(--sc-color-danger) h s 90% );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95% );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85% );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30%) )}}.searchcraft-ad{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-ad-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-ad-no-template>p{margin:0}.searchcraft-adm-ad{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-result{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-search-result-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-search-result-no-template>p{margin:0}.searchcraft-search-results{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-results-empty-state{text-align:center}.searchcraft-search-results-error-message{text-align:center}.searchcraft-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background:none;border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;gap:4px;padding:12px;position:relative}.searchcraft-button.searchcraft-button-disabled{cursor:not-allowed}.searchcraft-button-primary{background-color:var(--sc-surface-brand-primary);color:var(--sc-content-brand-on-primary);font-weight:var(--sc-font-bold)}.searchcraft-button-primary:hover{background-color:var(--sc-surface-brand-primary-hover)}.searchcraft-button-primary:focus{border-color:var(--sc-border-primary)}.searchcraft-button-primary:active{background-color:var(--sc-surface-brand-primary-active)}.searchcraft-button-primary.searchcraft-button-disabled,.searchcraft-button-primary.searchcraft-button-disabled:hover,.searchcraft-button-primary.searchcraft-button-disabled:focus,.searchcraft-button-primary.searchcraft-button-disabled:active{background-color:var(--sc-surface-disabled);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-tertiary{background-color:var(--sc-surface-neutral-primary);color:var(--sc-content-brand);font-weight:var(--sc-font-normal)}.searchcraft-button-tertiary:hover{background-color:var(--sc-surface-brand-secondary-hover)}.searchcraft-button-tertiary:focus{background-color:var(--sc-surface-neutral-light);border-color:var(--sc-border-primary)}.searchcraft-button-tertiary:active{background-color:var(--sc-surface-brand-secondary-active)}.searchcraft-button-tertiary.searchcraft-button-disabled,.searchcraft-button-tertiary.searchcraft-button-disabled:hover,.searchcraft-button-tertiary.searchcraft-button-disabled:focus,.searchcraft-button-tertiary.searchcraft-button-disabled:active{background-color:var(--sc-surface-neutral-light);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-icon{fill:none}.searchcraft-error-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-danger);margin:0}.searchcraft-facet-list{display:flex;flex-direction:column;gap:8px;width:100%}.searchcraft-facet-list-checkbox-label{align-items:center;color:var(--sc-content-neutral-primary);display:flex;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);gap:8px;position:relative;-webkit-font-smoothing:antialiased}.searchcraft-facet-list-checkbox-input-wrapper{position:relative}.searchcraft-facet-list-checkbox-input{align-items:center;appearance:none;background-color:var(--sc-surface-neutral-secondary);border:1px solid var(--sc-surface-disabled);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;height:24px;justify-content:center;width:24px;margin:0}.searchcraft-facet-list-checkbox-input:focus{outline:2px solid var(--sc-surface-brand-primary);outline-offset:2px}.searchcraft-facet-list-checkbox-input:checked{background-color:var(--sc-surface-brand-primary);position:relative}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-check-icon{display:flex}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-dash-icon{display:flex}.searchcraft-facet-child-list{display:flex;flex-direction:column;gap:6px}.searchcraft-facet-child-list-checkbox-label{margin-left:24px}.searchcraft-facet-child-list-checkbox-label:first-child{margin-top:6px}.searchcraft-facet-list-checkbox-input-check-icon{display:none;height:16px;left:50%;position:absolute;margin-top:2px;top:50%;transform:translate(-50%, -50%);width:16px}.searchcraft-facet-list-checkbox-input-dash-icon{display:none;height:3px;left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);width:14px}.searchcraft-facet-list-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-disabled);text-align:center}.searchcraft-facet-list-wrapper{display:flex;flex-direction:column;width:100%;min-height:0}.searchcraft-facet-list-content{display:flex;flex-direction:column;gap:8px;min-height:0;flex-shrink:0}.searchcraft-facet-list-view-more{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background:none;border:none;color:var(--sc-content-brand);cursor:pointer;padding:8px 0;text-align:left;text-decoration:underline}.searchcraft-facet-list-view-more:hover{color:var(--sc-surface-brand-primary-hover)}.searchcraft-facet-list-view-more:focus{outline:2px solid var(--sc-surface-brand-primary);outline-offset:2px}.searchcraft-filter-panel{display:flex;flex-direction:column;gap:16px}.searchcraft-filter-panel-section{display:flex;flex-direction:column;gap:8px}.searchcraft-filter-panel-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}[data-toggle-facet-section]{cursor:pointer;display:flex;align-items:center;justify-content:space-between;width:100%;position:relative}[data-toggle-facet-section]::after{content:"›";display:inline-block;font-size:1.5em;line-height:1;margin-left:auto;flex-shrink:0;transition:transform .2s ease;transform-origin:center}[data-toggle-facet-section][data-facet-section-collapsed]::after{transform:rotate(90deg)}[data-toggle-facet-section][data-facet-section-expanded]::after{transform:rotate(-90deg)}@media(max-width: 767px){[data-toggle-filter-panel]{cursor:pointer;display:flex !important;align-items:center;justify-content:space-between;width:100%}[data-toggle-filter-panel]::after{content:"›";display:inline-block;font-size:1.5em;line-height:1;margin-left:auto;flex-shrink:0;transition:transform .2s ease;transform-origin:center}[data-toggle-filter-panel][data-filter-panel-collapsed]::after{transform:rotate(90deg)}[data-toggle-filter-panel][data-filter-panel-expanded]::after{transform:rotate(-90deg)}}@media(min-width: 768px){[data-toggle-filter-panel]{cursor:default}[data-toggle-filter-panel]::after{display:none}}:root{--sc-input-form-border-radius: var(--sc-border-radius);--sc-input-form-search-icon-size: 20px;--sc-input-form-clear-icon-size: 20px}.searchcraft-input-form-grid{display:grid;gap:4px 8px}.searchcraft-input-form-grid-button-left{grid-template-rows:repeat(3, auto);grid-template-columns:auto 1fr}.searchcraft-input-form-grid-button-left .searchcraft-input-form-button{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-label{grid-column:2/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-error-message{grid-column:2/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-input-wrapper{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right{grid-template-rows:repeat(3, auto);grid-template-columns:1fr auto}.searchcraft-input-form-grid-button-right .searchcraft-input-form-button{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-none{grid-template-rows:repeat(3, auto);grid-template-columns:auto}.searchcraft-input-form-grid-button-none .searchcraft-input-form-button{display:none}.searchcraft-input-form-grid-button-none .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-input-wrapper{display:flex;position:relative}.searchcraft-input-form-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background-color:var(--sc-surface-neutral-secondary);border-radius:var(--sc-input-form-border-radius);border:none;color:var(--sc-content-neutral-primary);flex:1;outline:none;padding:12px 44px}.searchcraft-input-form-input::placeholder{color:var(--sc-content-disabled)}.searchcraft-input-form-input:focus{outline:var(--sc-border-brand) solid 2px;outline-offset:-1px}.searchcraft-input-form-input.searchcraft-placeholder-hide-on-focus:focus::placeholder{opacity:0}.searchcraft-input-form-error{color:var(--sc-content-danger);outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-error:focus{outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-input-icon{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;pointer-events:none;top:0;width:44px}.searchcraft-input-form-input-search-icon{color:var(--sc-content-neutral-secondary);fill:none;height:var(--sc-input-form-search-icon-size);pointer-events:none;width:var(--sc-input-form-search-icon-size)}.searchcraft-input-form-clear-button{all:unset;align-items:center;bottom:0;border:none;cursor:pointer;display:flex;justify-content:center;outline:none;position:absolute;right:0;top:0;width:44px}.searchcraft-input-form-clear-icon{color:var(--sc-content-brand);fill:none;height:var(--sc-input-form-clear-icon-size);width:var(--sc-input-form-clear-icon-size)}.searchcraft-input-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);font-weight:var(--sc-font-bold);margin-top:4px;margin-bottom:4px}:root{--sc-popover-button-border-radius: var(--sc-border-radius)}@media(min-width: 576px){:root{--sc-popover-button-border-radius: var(--sc-border-radius-lg)}}.searchcraft-popover-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);cursor:pointer}.searchcraft-popover-button-skeuomorphic{appearance:none;background:none;border:none;color:var(--sc-content-neutral-primary);display:block;width:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-popover-button-border-radius);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;display:flex;gap:24px;height:40px;justify-content:space-between;line-height:1;padding:4px 5px 4px 10px;background:var(--sc-surface-neutral-primary)}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;height:63px;padding:8px 10px 8px 16px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{align-items:center;display:flex;gap:4px}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{color:var(--sc-content-neutral-secondary);display:flex;gap:4px;font-size:20px;font-weight:500}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 3px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 3px);background-color:var(--sc-surface-neutral-primary);box-shadow:0 3px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 6px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 2px);position:relative}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 8px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 8px);box-shadow:0 4px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 6px 1px rgb(from var(--sc-content-neutral-secondary) r g b/20%),0 7px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 9px 4px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 13px 8px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 5px)}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before,.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{content:"";display:block}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 4px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 4px);background:linear-gradient(340deg, rgb(from var(--sc-surface-neutral-secondary) r g b/2%) 0%, var(--sc-surface-neutral-secondary) 100%);inset:2px;position:absolute}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 12px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 12px);inset:4px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{aspect-ratio:1/1;height:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap>span{display:flex;line-height:1;left:50%;margin-top:2%;position:absolute;top:50%;transform:translate(-50%, -50%)}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:60%;width:auto}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:50%}}:root{--sc-popover-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 */
6160
6253
  `;
6161
- const El = /* @__PURE__ */ G(class extends W {
6254
+ const Rl = /* @__PURE__ */ G(class extends W {
6162
6255
  constructor(e) {
6163
6256
  super(), e !== !1 && this.__registerHost();
6164
6257
  }
6165
6258
  render() {
6166
- return f("style", { key: "13c28bb6075d6fcbec33938fd2227d9fb6129bf2" }, Tl);
6259
+ return f("style", { key: "13c28bb6075d6fcbec33938fd2227d9fb6129bf2" }, El);
6167
6260
  }
6168
6261
  }, [256, "searchcraft-theme"]);
6169
- function Rl() {
6262
+ function $l() {
6170
6263
  if (typeof customElements > "u")
6171
6264
  return;
6172
6265
  ["searchcraft-theme"].forEach((e) => {
6173
6266
  switch (e) {
6174
6267
  case "searchcraft-theme":
6175
- customElements.get(e) || customElements.define(e, El);
6268
+ customElements.get(e) || customElements.define(e, Rl);
6176
6269
  break;
6177
6270
  }
6178
6271
  });
6179
6272
  }
6180
- const $l = Rl, Al = xn, Bn = () => {
6181
- Si(), wi(), Ei(), Xi(), nc(), cc(), lc(), hc(), pc(), bc(), yc(), xc(), wc(), Tc(), $c(), _c(), Fc(), Mc(), Nc(), zc(), wl(), $l(), Al();
6273
+ const Al = $l, _l = wn, Vn = () => {
6274
+ xi(), Ti(), Ri(), Qi(), oc(), lc(), uc(), dc(), mc(), vc(), Cc(), wc(), Tc(), Ec(), Ac(), Pc(), Nc(), Lc(), zc(), Hc(), Tl(), Al(), _l();
6182
6275
  };
6183
- globalThis.__scDefineCustomElements__ = Bn;
6276
+ globalThis.__scDefineCustomElements__ = Vn;
6184
6277
  var ee;
6185
6278
  (function(r) {
6186
6279
  r[r.DEBUG = 0] = "DEBUG", r[r.INFO = 1] = "INFO", r[r.WARN = 2] = "WARN", r[r.ERROR = 3] = "ERROR", r[r.NONE = 4] = "NONE";
6187
6280
  })(ee || (ee = {}));
6188
- class _l {
6281
+ class Pl {
6189
6282
  constructor(e) {
6190
6283
  d(this, "logLevel");
6191
6284
  d(this, "logFormatter");
@@ -6223,7 +6316,7 @@ class _l {
6223
6316
  }
6224
6317
  }
6225
6318
  }
6226
- const xr = new _l({ logLevel: ee.NONE });
6319
+ const xr = new Pl({ logLevel: ee.NONE });
6227
6320
  function je(r, e, t, s) {
6228
6321
  return new (t || (t = Promise))(function(a, n) {
6229
6322
  function o(i) {
@@ -6308,9 +6401,9 @@ function Ye(r, e) {
6308
6401
  };
6309
6402
  }
6310
6403
  }
6311
- var Ze = { exclude: [] }, qn = {}, Pl = { timeout: "true" }, Pe = function(r, e) {
6404
+ var Ze = { exclude: [] }, qn = {}, Il = { timeout: "true" }, Pe = function(r, e) {
6312
6405
  typeof window < "u" && (qn[r] = e);
6313
- }, Il = function() {
6406
+ }, Ml = function() {
6314
6407
  return Object.fromEntries(Object.entries(qn).filter(function(r) {
6315
6408
  var e, t = r[0];
6316
6409
  return !(!((e = Ze == null ? void 0 : Ze.exclude) === null || e === void 0) && e.includes(t));
@@ -6376,31 +6469,31 @@ function aa(r, e) {
6376
6469
  return n.toString(16).padStart(2, "0");
6377
6470
  }).join("");
6378
6471
  }
6379
- function Ml(r, e) {
6472
+ function Ll(r, e) {
6380
6473
  return new Promise(function(t) {
6381
6474
  setTimeout(function() {
6382
6475
  return t(e);
6383
6476
  }, r);
6384
6477
  });
6385
6478
  }
6386
- function Ll(r, e, t) {
6479
+ function Ol(r, e, t) {
6387
6480
  return Promise.all(r.map(function(s) {
6388
- return Promise.race([s, Ml(e, t)]);
6481
+ return Promise.race([s, Ll(e, t)]);
6389
6482
  }));
6390
6483
  }
6391
- function Ol() {
6484
+ function Dl() {
6392
6485
  return je(this, void 0, void 0, function() {
6393
6486
  var r, e, t, s, a;
6394
6487
  return Ye(this, function(n) {
6395
6488
  switch (n.label) {
6396
6489
  case 0:
6397
- return n.trys.push([0, 2, , 3]), r = Il(), e = Object.keys(r), [4, Ll(Object.values(r), (Ze == null ? void 0 : Ze.timeout) || 1e3, Pl)];
6490
+ return n.trys.push([0, 2, , 3]), r = Ml(), e = Object.keys(r), [4, Ol(Object.values(r), (Ze == null ? void 0 : Ze.timeout) || 1e3, Il)];
6398
6491
  case 1:
6399
6492
  return t = n.sent(), s = t.filter(function(o) {
6400
6493
  return o !== void 0;
6401
6494
  }), a = {}, s.forEach(function(o, c) {
6402
6495
  a[e[c]] = o;
6403
- }), [2, Vn(a, Ze.exclude || [])];
6496
+ }), [2, Wn(a, Ze.exclude || [])];
6404
6497
  case 2:
6405
6498
  throw n.sent();
6406
6499
  case 3:
@@ -6409,13 +6502,13 @@ function Ol() {
6409
6502
  });
6410
6503
  });
6411
6504
  }
6412
- function Vn(r, e) {
6505
+ function Wn(r, e) {
6413
6506
  var t = {}, s = function(n) {
6414
6507
  if (r.hasOwnProperty(n)) {
6415
6508
  var o = r[n];
6416
6509
  if (typeof o != "object" || Array.isArray(o)) e.includes(n) || (t[n] = o);
6417
6510
  else {
6418
- var c = Vn(o, e.map(function(h) {
6511
+ var c = Wn(o, e.map(function(h) {
6419
6512
  return h.startsWith(n + ".") ? h.slice(n.length + 1) : h;
6420
6513
  }));
6421
6514
  Object.keys(c).length > 0 && (t[n] = c);
@@ -6425,13 +6518,13 @@ function Vn(r, e) {
6425
6518
  for (var a in r) s(a);
6426
6519
  return t;
6427
6520
  }
6428
- function Dl(r) {
6521
+ function Fl(r) {
6429
6522
  return je(this, void 0, void 0, function() {
6430
6523
  var e, t;
6431
6524
  return Ye(this, function(s) {
6432
6525
  switch (s.label) {
6433
6526
  case 0:
6434
- return s.trys.push([0, 2, , 3]), [4, Ol()];
6527
+ return s.trys.push([0, 2, , 3]), [4, Dl()];
6435
6528
  case 1:
6436
6529
  return e = s.sent(), t = aa(JSON.stringify(e)), [2, t.toString()];
6437
6530
  case 2:
@@ -6442,19 +6535,19 @@ function Dl(r) {
6442
6535
  });
6443
6536
  });
6444
6537
  }
6445
- function Fl(r) {
6538
+ function Nl(r) {
6446
6539
  for (var e = 0, t = 0; t < r.length; ++t) e += Math.abs(r[t]);
6447
6540
  return e;
6448
6541
  }
6449
- function Wn(r, e, t) {
6542
+ function Gn(r, e, t) {
6450
6543
  for (var s = [], a = 0; a < r[0].data.length; a++) {
6451
6544
  for (var n = [], o = 0; o < r.length; o++) n.push(r[o].data[a]);
6452
- s.push(Nl(n));
6545
+ s.push(zl(n));
6453
6546
  }
6454
6547
  var c = new Uint8ClampedArray(s);
6455
6548
  return new ImageData(c, e, t);
6456
6549
  }
6457
- function Nl(r) {
6550
+ function zl(r) {
6458
6551
  if (r.length === 0) return 0;
6459
6552
  for (var e = {}, t = 0, s = r; t < s.length; t++)
6460
6553
  e[n = s[t]] = (e[n] || 0) + 1;
@@ -6479,7 +6572,7 @@ Pe("audio", function() {
6479
6572
  n.frequency.value = 1e3;
6480
6573
  var o, c = s.createDynamicsCompressor();
6481
6574
  c.threshold.value = -50, c.knee.value = 40, c.ratio.value = 12, c.attack.value = 0, c.release.value = 0.2, n.connect(c), c.connect(s.destination), n.start(), s.oncomplete = function(h) {
6482
- o = h.renderedBuffer.getChannelData(0), e({ sampleHash: Fl(o), oscillator: n.type, maxChannels: s.destination.maxChannelCount, channelCountMode: a.channelCountMode });
6575
+ o = h.renderedBuffer.getChannelData(0), e({ sampleHash: Nl(o), oscillator: n.type, maxChannels: s.destination.maxChannelCount, channelCountMode: a.channelCountMode });
6483
6576
  }, s.startRendering();
6484
6577
  } catch (h) {
6485
6578
  console.error("Error creating audio fingerprint:", h), t(h);
@@ -6488,14 +6581,14 @@ Pe("audio", function() {
6488
6581
  });
6489
6582
  });
6490
6583
  });
6491
- var zl = pr().name !== "SamsungBrowser" ? 1 : 3, Va = 280, Wa = 20;
6584
+ var Hl = pr().name !== "SamsungBrowser" ? 1 : 3, qa = 280, Wa = 20;
6492
6585
  pr().name != "Firefox" && Pe("canvas", function() {
6493
6586
  return document.createElement("canvas").getContext("2d"), new Promise(function(r) {
6494
- var e = Array.from({ length: zl }, function() {
6587
+ var e = Array.from({ length: Hl }, function() {
6495
6588
  return function() {
6496
6589
  var t = document.createElement("canvas"), s = t.getContext("2d");
6497
6590
  if (!s) return new ImageData(1, 1);
6498
- t.width = Va, t.height = Wa;
6591
+ t.width = qa, t.height = Wa;
6499
6592
  var a = s.createLinearGradient(0, 0, t.width, t.height);
6500
6593
  a.addColorStop(0, "red"), a.addColorStop(0.16666666666666666, "orange"), a.addColorStop(0.3333333333333333, "yellow"), a.addColorStop(0.5, "green"), a.addColorStop(0.6666666666666666, "blue"), a.addColorStop(0.8333333333333334, "indigo"), a.addColorStop(1, "violet"), s.fillStyle = a, s.fillRect(0, 0, t.width, t.height);
6501
6594
  var n = "Random Text WMwmil10Oo";
@@ -6504,15 +6597,15 @@ pr().name != "Firefox" && Pe("canvas", function() {
6504
6597
  return o;
6505
6598
  }();
6506
6599
  });
6507
- r({ commonImageDataHash: aa(Wn(e, Va, Wa).data.toString()).toString() });
6600
+ r({ commonImageDataHash: aa(Gn(e, qa, Wa).data.toString()).toString() });
6508
6601
  });
6509
6602
  });
6510
- var bs, Hl = ["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"], Ul = ["monospace", "sans-serif", "serif"];
6603
+ var bs, Ul = ["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"], Bl = ["monospace", "sans-serif", "serif"];
6511
6604
  function Ga(r, e) {
6512
6605
  if (!r) throw new Error("Canvas context not supported");
6513
6606
  return r.font = "72px ".concat(e), r.measureText("WwMmLli0Oo").width;
6514
6607
  }
6515
- function Bl() {
6608
+ function Vl() {
6516
6609
  var r, e = document.createElement("canvas"), t = (r = e.getContext("webgl")) !== null && r !== void 0 ? r : e.getContext("experimental-webgl");
6517
6610
  if (t && "getParameter" in t) try {
6518
6611
  var s = (t.getParameter(t.VENDOR) || "").toString(), a = (t.getParameter(t.RENDERER) || "").toString(), n = { vendor: s, renderer: a, version: (t.getParameter(t.VERSION) || "").toString(), shadingLanguageVersion: (t.getParameter(t.SHADING_LANGUAGE_VERSION) || "").toString() };
@@ -6532,7 +6625,7 @@ function ql() {
6532
6625
  var r = new Float32Array(1), e = new Uint8Array(r.buffer);
6533
6626
  return r[0] = 1 / 0, r[0] = r[0] - r[0], e[3];
6534
6627
  }
6535
- function Vl(r, e) {
6628
+ function Wl(r, e) {
6536
6629
  var t = {};
6537
6630
  return e.forEach(function(s) {
6538
6631
  var a = function(n) {
@@ -6554,7 +6647,7 @@ function Vl(r, e) {
6554
6647
  a && (t[s] = a);
6555
6648
  }), t;
6556
6649
  }
6557
- function Wl() {
6650
+ function Gl() {
6558
6651
  var r = [], e = { "prefers-contrast": ["high", "more", "low", "less", "forced", "no-preference"], "any-hover": ["hover", "none"], "any-pointer": ["none", "coarse", "fine"], pointer: ["none", "coarse", "fine"], hover: ["hover", "none"], update: ["fast", "slow"], "inverted-colors": ["inverted", "none"], "prefers-reduced-motion": ["reduce", "no-preference"], "prefers-reduced-transparency": ["reduce", "no-preference"], scripting: ["none", "initial-only", "enabled"], "forced-colors": ["active", "none"] };
6559
6652
  return Object.keys(e).forEach(function(t) {
6560
6653
  e[t].forEach(function(s) {
@@ -6562,7 +6655,7 @@ function Wl() {
6562
6655
  });
6563
6656
  }), r;
6564
6657
  }
6565
- function Gl() {
6658
+ function jl() {
6566
6659
  if (window.location.protocol === "https:" && typeof window.ApplePaySession == "function") try {
6567
6660
  for (var r = window.ApplePaySession.supportsVersion, e = 15; e > 0; e--) if (r(e)) return e;
6568
6661
  } catch {
@@ -6600,9 +6693,9 @@ pr().name != "Firefox" && Pe("fonts", function() {
6600
6693
  return je(r, void 0, void 0, function() {
6601
6694
  var n, o, c, h;
6602
6695
  return Ye(this, function(i) {
6603
- return n = a.createElement("canvas"), o = n.getContext("2d"), c = Ul.map(function(u) {
6696
+ return n = a.createElement("canvas"), o = n.getContext("2d"), c = Bl.map(function(u) {
6604
6697
  return Ga(o, u);
6605
- }), h = {}, Hl.forEach(function(u) {
6698
+ }), h = {}, Ul.forEach(function(u) {
6606
6699
  var g = Ga(o, u);
6607
6700
  c.includes(g) || (h[u] = g);
6608
6701
  }), e(h), [2];
@@ -6616,7 +6709,7 @@ pr().name != "Firefox" && Pe("fonts", function() {
6616
6709
  }), Pe("hardware", function() {
6617
6710
  return new Promise(function(r, e) {
6618
6711
  var t = navigator.deviceMemory !== void 0 ? navigator.deviceMemory : 0, s = window.performance && window.performance.memory ? window.performance.memory : 0;
6619
- r({ videocard: Bl(), architecture: ql(), deviceMemory: t.toString() || "undefined", jsHeapSizeLimit: s.jsHeapSizeLimit || 0 });
6712
+ r({ videocard: Vl(), architecture: ql(), deviceMemory: t.toString() || "undefined", jsHeapSizeLimit: s.jsHeapSizeLimit || 0 });
6620
6713
  });
6621
6714
  }), Pe("locales", function() {
6622
6715
  return new Promise(function(r) {
@@ -6652,7 +6745,7 @@ pr().name != "Firefox" && Pe("fonts", function() {
6652
6745
  });
6653
6746
  }();
6654
6747
  }), [2, Promise.all(r).then(function(t) {
6655
- return Vl(t, bs);
6748
+ return Wl(t, bs);
6656
6749
  })];
6657
6750
  });
6658
6751
  });
@@ -6667,15 +6760,15 @@ pr().name != "Firefox" && Pe("fonts", function() {
6667
6760
  });
6668
6761
  }), Pe("screen", function() {
6669
6762
  return new Promise(function(r) {
6670
- r({ is_touchscreen: navigator.maxTouchPoints > 0, maxTouchPoints: navigator.maxTouchPoints, colorDepth: screen.colorDepth, mediaMatches: Wl() });
6763
+ r({ is_touchscreen: navigator.maxTouchPoints > 0, maxTouchPoints: navigator.maxTouchPoints, colorDepth: screen.colorDepth, mediaMatches: Gl() });
6671
6764
  });
6672
6765
  }), Pe("system", function() {
6673
6766
  return new Promise(function(r) {
6674
6767
  var e = pr();
6675
- r({ platform: window.navigator.platform, cookieEnabled: window.navigator.cookieEnabled, productSub: navigator.productSub, product: navigator.product, useragent: navigator.userAgent, hardwareConcurrency: navigator.hardwareConcurrency, browser: { name: e.name, version: e.version }, applePayVersion: Gl() });
6768
+ r({ platform: window.navigator.platform, cookieEnabled: window.navigator.cookieEnabled, productSub: navigator.productSub, product: navigator.product, useragent: navigator.userAgent, hardwareConcurrency: navigator.hardwareConcurrency, browser: { name: e.name, version: e.version }, applePayVersion: jl() });
6676
6769
  });
6677
6770
  });
6678
- var ie, jl = pr().name !== "SamsungBrowser" ? 1 : 3, T = null;
6771
+ var ie, Yl = pr().name !== "SamsungBrowser" ? 1 : 3, T = null;
6679
6772
  Pe("webgl", function() {
6680
6773
  return je(this, void 0, void 0, function() {
6681
6774
  var r;
@@ -6683,7 +6776,7 @@ Pe("webgl", function() {
6683
6776
  typeof document < "u" && ((ie = document.createElement("canvas")).width = 200, ie.height = 100, T = ie.getContext("webgl"));
6684
6777
  try {
6685
6778
  if (!T) throw new Error("WebGL not supported");
6686
- return r = Array.from({ length: jl }, function() {
6779
+ return r = Array.from({ length: Yl }, function() {
6687
6780
  return function() {
6688
6781
  try {
6689
6782
  if (!T) throw new Error("WebGL not supported");
@@ -6713,15 +6806,15 @@ Pe("webgl", function() {
6713
6806
  T.bindBuffer(T.ARRAY_BUFFER, p), T.bufferData(T.ARRAY_BUFFER, h, T.STATIC_DRAW);
6714
6807
  var y = T.getAttribLocation(o, "position");
6715
6808
  T.enableVertexAttribArray(y), T.vertexAttribPointer(y, 2, T.FLOAT, !1, 0, 0), T.viewport(0, 0, ie.width, ie.height), T.clearColor(0, 0, 0, 1), T.clear(T.COLOR_BUFFER_BIT), T.drawArrays(T.LINES, 0, 2 * c);
6716
- var k = new Uint8ClampedArray(ie.width * ie.height * 4);
6717
- return T.readPixels(0, 0, ie.width, ie.height, T.RGBA, T.UNSIGNED_BYTE, k), new ImageData(k, ie.width, ie.height);
6809
+ var C = new Uint8ClampedArray(ie.width * ie.height * 4);
6810
+ return T.readPixels(0, 0, ie.width, ie.height, T.RGBA, T.UNSIGNED_BYTE, C), new ImageData(C, ie.width, ie.height);
6718
6811
  } catch {
6719
6812
  return new ImageData(1, 1);
6720
6813
  } finally {
6721
6814
  T && (T.bindBuffer(T.ARRAY_BUFFER, null), T.useProgram(null), T.viewport(0, 0, T.drawingBufferWidth, T.drawingBufferHeight), T.clearColor(0, 0, 0, 0));
6722
6815
  }
6723
6816
  }();
6724
- }), [2, { commonImageHash: aa(Wn(r, ie.width, ie.height).data.toString()).toString() }];
6817
+ }), [2, { commonImageHash: aa(Gn(r, ie.width, ie.height).data.toString()).toString() }];
6725
6818
  } catch {
6726
6819
  return [2, { webgl: "unsupported" }];
6727
6820
  }
@@ -6760,7 +6853,7 @@ class na {
6760
6853
  async onAdContainerViewed(e) {
6761
6854
  }
6762
6855
  }
6763
- class Yl extends na {
6856
+ class Zl extends na {
6764
6857
  /**
6765
6858
  * Gets ads from the adMarketplace API based on the search term.
6766
6859
  */
@@ -6795,13 +6888,13 @@ class Yl extends na {
6795
6888
  (s = t.admAd) != null && s.impression_url && fetch(t.admAd.impression_url);
6796
6889
  }
6797
6890
  }
6798
- class Zl extends na {
6891
+ class Xl extends na {
6799
6892
  async getAds(e) {
6800
6893
  return [];
6801
6894
  }
6802
6895
  }
6803
- const Xl = 1e3;
6804
- class Ql extends na {
6896
+ const Ql = 1e3;
6897
+ class Kl extends na {
6805
6898
  constructor(t) {
6806
6899
  super(t);
6807
6900
  d(this, "adCallTimeout");
@@ -6816,7 +6909,7 @@ class Ql extends na {
6816
6909
  this.removeScriptTagFromDocument();
6817
6910
  return;
6818
6911
  }
6819
- this.performAdCall(Xl);
6912
+ this.performAdCall(Ql);
6820
6913
  }
6821
6914
  async onInputCleared() {
6822
6915
  this.removeScriptTagFromDocument();
@@ -6845,8 +6938,8 @@ class Ql extends na {
6845
6938
  t && document.head.removeChild(t);
6846
6939
  }
6847
6940
  }
6848
- const Kl = 600;
6849
- class Jl {
6941
+ const Jl = 600;
6942
+ class eu {
6850
6943
  constructor(e, t, s, a) {
6851
6944
  d(this, "measureRequestTimeout");
6852
6945
  d(this, "measureRequestsBatched", []);
@@ -6919,7 +7012,7 @@ class Jl {
6919
7012
  })().catch((c) => {
6920
7013
  console.error("Unhandled error in MeasureRequest batch:", c);
6921
7014
  });
6922
- }, Kl);
7015
+ }, Jl);
6923
7016
  });
6924
7017
  this.config = e, this.sdkInfo = t, this.userId = s, this.userType = a, this.sessionId = yt(), this.sendMeasureEvent("sdk_initialized").catch((n) => {
6925
7018
  console.error("Error sending sdk_initialized event:", n);
@@ -6946,7 +7039,7 @@ class Jl {
6946
7039
  };
6947
7040
  }
6948
7041
  }
6949
- const eu = (r) => r.endsWith("/") ? r.slice(0, -1) : r, Tr = (r) => {
7042
+ const tu = (r) => r.endsWith("/") ? r.slice(0, -1) : r, Tr = (r) => {
6950
7043
  let e = "";
6951
7044
  if (e = r.trim(), e = e.replace(/[‘’“”]/g, (s) => ({
6952
7045
  "‘": "'",
@@ -6956,8 +7049,8 @@ const eu = (r) => r.endsWith("/") ? r.slice(0, -1) : r, Tr = (r) => {
6956
7049
  })[s] || s), (e.match(/"/g) || []).length % 2 !== 0)
6957
7050
  throw new Error("The search term contains an uneven number of quote characters.");
6958
7051
  return e;
6959
- }, tu = 500;
6960
- class ru {
7052
+ }, ru = 500;
7053
+ class su {
6961
7054
  constructor(e, t, s) {
6962
7055
  d(this, "config");
6963
7056
  d(this, "userId");
@@ -6997,7 +7090,7 @@ class ru {
6997
7090
  search_term: a,
6998
7091
  number_of_documents: s.data.count
6999
7092
  });
7000
- }, tu), this.parent.emitEvent("query_fetched", {
7093
+ }, ru), this.parent.emitEvent("query_fetched", {
7001
7094
  name: "query_fetched",
7002
7095
  data: {
7003
7096
  searchTerm: a
@@ -7122,8 +7215,8 @@ const ja = (r) => {
7122
7215
  }
7123
7216
  }, a = () => e, c = { setState: s, getState: a, getInitialState: () => h, subscribe: (i) => (t.add(i), () => t.delete(i)) }, h = e = r(s, a, c);
7124
7217
  return c;
7125
- }, su = (r) => r ? ja(r) : ja, au = 1e3;
7126
- class nu {
7218
+ }, au = (r) => r ? ja(r) : ja, nu = 1e3;
7219
+ class ou {
7127
7220
  constructor(e, t) {
7128
7221
  d(this, "set");
7129
7222
  d(this, "get");
@@ -7134,7 +7227,7 @@ class nu {
7134
7227
  streamSummaryData() {
7135
7228
  var s;
7136
7229
  const e = async () => {
7137
- var h, i, u, g, p, y, k, C, x, O;
7230
+ var h, i, u, g, p, y, C, k, x, O;
7138
7231
  const a = this.get(), n = (h = a.core) == null ? void 0 : h.config;
7139
7232
  if (!n) {
7140
7233
  console.error("Could not stream summary data, no config found.");
@@ -7159,8 +7252,8 @@ class nu {
7159
7252
  "Content-Type": "application/json",
7160
7253
  Authorization: ((g = a.core) == null ? void 0 : g.config.readKey) || "",
7161
7254
  "X-Sc-User-Id": ((p = a.core) == null ? void 0 : p.userId) || "",
7162
- "X-Sc-Session-Id": ((k = (y = a.core) == null ? void 0 : y.measureClient) == null ? void 0 : k.sessionId) || "",
7163
- "X-Sc-User-Type": ((C = a.core) == null ? void 0 : C.userType) || "anonymous"
7255
+ "X-Sc-Session-Id": ((C = (y = a.core) == null ? void 0 : y.measureClient) == null ? void 0 : C.sessionId) || "",
7256
+ "X-Sc-User-Type": ((k = a.core) == null ? void 0 : k.userType) || "anonymous"
7164
7257
  },
7165
7258
  body: JSON.stringify({
7166
7259
  searchQuery: a.searchClientRequest,
@@ -7200,7 +7293,7 @@ class nu {
7200
7293
  isSummaryLoading: !1
7201
7294
  });
7202
7295
  }
7203
- }, t = ((s = this.get().core) == null ? void 0 : s.config.summaryDebounceDelay) || au;
7296
+ }, t = ((s = this.get().core) == null ? void 0 : s.config.summaryDebounceDelay) || nu;
7204
7297
  clearTimeout(this.timeout), this.timeout = setTimeout(() => e(), t);
7205
7298
  }
7206
7299
  }
@@ -7239,11 +7332,11 @@ const Ya = {
7239
7332
  summaryClient: void 0,
7240
7333
  isSummaryLoading: !1,
7241
7334
  isSummaryNotEnabled: !1
7242
- }, Er = {}, ou = (r, e = {}) => {
7335
+ }, Er = {}, iu = (r, e = {}) => {
7243
7336
  const t = r || As;
7244
7337
  if (Er[t])
7245
7338
  return Er[t].setState(e), Er[t];
7246
- const s = su((a, n) => {
7339
+ const s = au((a, n) => {
7247
7340
  const o = {
7248
7341
  addFacetPathsForIndexField: (h) => {
7249
7342
  a((i) => ({
@@ -7296,11 +7389,11 @@ const Ya = {
7296
7389
  });
7297
7390
  },
7298
7391
  search: async (h) => {
7299
- var C, x, O;
7392
+ var k, x, O;
7300
7393
  const i = n();
7301
7394
  if (!i.core)
7302
7395
  throw new Error("Searchcraft instance is not initialized.");
7303
- i.core.config.cortexURL && !(h != null && h.skipSummary) && ((C = i.summaryClient) == null || C.streamSummaryData());
7396
+ i.core.config.cortexURL && !(h != null && h.skipSummary) && ((k = i.summaryClient) == null || k.streamSummaryData());
7304
7397
  const u = typeof i.cachedSearchClientRequestProperties == "string" && i.searchTerm.trim() === "", g = Object.keys(i.facetPathsForIndexFields).length > 0 || Object.keys(i.rangeValueForIndexFields).length > 0, p = i.searchResultsPage !== 1, y = i.searchMode !== "fuzzy";
7305
7398
  if (!i.searchTerm.trim()) {
7306
7399
  if (u && (g || p || y)) {
@@ -7354,7 +7447,7 @@ const Ya = {
7354
7447
  return;
7355
7448
  }
7356
7449
  a({ isSearchInProgress: !0 });
7357
- const k = {
7450
+ const C = {
7358
7451
  searchTerm: i.searchTerm,
7359
7452
  mode: i.searchMode,
7360
7453
  sort: i.sortType,
@@ -7365,7 +7458,7 @@ const Ya = {
7365
7458
  limit: i.searchResultsPerPage
7366
7459
  };
7367
7460
  i.core.getResponseItems({
7368
- requestProperties: k,
7461
+ requestProperties: C,
7369
7462
  shouldCacheResultsForEmptyState: !1
7370
7463
  });
7371
7464
  },
@@ -7418,12 +7511,12 @@ const Ya = {
7418
7511
  ...Ya,
7419
7512
  ...e,
7420
7513
  ...o,
7421
- summaryClient: new nu(n, a)
7514
+ summaryClient: new ou(n, a)
7422
7515
  };
7423
7516
  });
7424
7517
  return Er[t] = s, s;
7425
7518
  };
7426
- class iu {
7519
+ class cu {
7427
7520
  /**
7428
7521
  * @param config The SearchcraftConfig object for this Searchcraft instance.
7429
7522
  * @param sdkInfo The SDK info object for this searchcraft instance
@@ -7532,8 +7625,8 @@ class iu {
7532
7625
  this.config = {
7533
7626
  ...e,
7534
7627
  // Strips off the trailing '/' from an endpointURL if one is accidentally added
7535
- endpointURL: eu(e.endpointURL)
7536
- }, this.userId = "", this.userType = "anonymous", typeof window < "u" && typeof customElements < "u" && t.sdkName === "@searchcraft/javascript-sdk" && globalThis.__scDefineCustomElements__ && globalThis.__scDefineCustomElements__(), this.store = ou(s, {
7628
+ endpointURL: tu(e.endpointURL)
7629
+ }, this.userId = "", this.userType = "anonymous", typeof window < "u" && typeof customElements < "u" && t.sdkName === "@searchcraft/javascript-sdk" && globalThis.__scDefineCustomElements__ && globalThis.__scDefineCustomElements__(), this.store = iu(s, {
7537
7630
  core: this,
7538
7631
  searchResultsPerPage: e.searchResultsPerPage || 20
7539
7632
  }), te.addCoreInstance(this, s), (async (a) => {
@@ -7545,7 +7638,7 @@ class iu {
7545
7638
  }
7546
7639
  async initClients(e, t) {
7547
7640
  let s = this.config.measureUserIdentifier;
7548
- s ? (this.userType = "authenticated", await Promise.resolve()) : (s = await Dl(), this.userType = "anonymous"), this.measureClient = new Jl(e, t, s, this.userType), this.searchClient = new ru(this, e, s), e.customAdConfig ? this.adClient = new Zl(e) : e.nativoConfig ? this.adClient = new Ql(e) : e.admAdConfig && (this.adClient = new Yl(e)), this.emitEvent("initialized", {
7641
+ s ? (this.userType = "authenticated", await Promise.resolve()) : (s = await Fl(), this.userType = "anonymous"), this.measureClient = new eu(e, t, s, this.userType), this.searchClient = new su(this, e, s), e.customAdConfig ? this.adClient = new Xl(e) : e.nativoConfig ? this.adClient = new Kl(e) : e.admAdConfig && (this.adClient = new Zl(e)), this.emitEvent("initialized", {
7549
7642
  name: "initialized"
7550
7643
  });
7551
7644
  }
@@ -7596,9 +7689,9 @@ class iu {
7596
7689
  }), (e = this.adClient) == null || e.onInputCleared();
7597
7690
  }
7598
7691
  }
7599
- const cu = "@searchcraft/react-sdk", lu = "0.13.2";
7692
+ const lu = "@searchcraft/react-sdk", uu = "0.13.3";
7600
7693
  async function Ne(r, e) {
7601
- const t = Object.entries(e).map(([n, o]) => typeof o == "boolean" ? o ? n : "" : `${n}="${String(o)}"`).filter(Boolean).join(" "), s = `<${r} ${t}></${r}>`, a = await Yn(s, {
7694
+ const t = Object.entries(e).map(([n, o]) => typeof o == "boolean" ? o ? n : "" : `${n}="${String(o)}"`).filter(Boolean).join(" "), s = `<${r} ${t}></${r}>`, a = await Zn(s, {
7602
7695
  fullDocument: !1,
7603
7696
  clientHydrateAnnotations: !0
7604
7697
  });
@@ -7607,7 +7700,7 @@ async function Ne(r, e) {
7607
7700
  html: a.html
7608
7701
  };
7609
7702
  }
7610
- async function Du(r) {
7703
+ async function Fu(r) {
7611
7704
  const { tag: e, html: t } = await Ne(
7612
7705
  "searchcraft-search-results",
7613
7706
  r
@@ -7622,7 +7715,7 @@ async function Du(r) {
7622
7715
  }
7623
7716
  );
7624
7717
  }
7625
- async function Fu(r) {
7718
+ async function Nu(r) {
7626
7719
  const { tag: e, html: t } = await Ne(
7627
7720
  "searchcraft-filter-panel",
7628
7721
  r
@@ -7637,7 +7730,7 @@ async function Fu(r) {
7637
7730
  }
7638
7731
  );
7639
7732
  }
7640
- async function Nu(r) {
7733
+ async function zu(r) {
7641
7734
  const { tag: e, html: t } = await Ne(
7642
7735
  "searchcraft-input-form",
7643
7736
  r
@@ -7652,7 +7745,7 @@ async function Nu(r) {
7652
7745
  }
7653
7746
  );
7654
7747
  }
7655
- async function zu(r) {
7748
+ async function Hu(r) {
7656
7749
  const { tag: e, html: t } = await Ne(
7657
7750
  "searchcraft-popover-button",
7658
7751
  r
@@ -7667,7 +7760,7 @@ async function zu(r) {
7667
7760
  }
7668
7761
  );
7669
7762
  }
7670
- async function Hu(r) {
7763
+ async function Uu(r) {
7671
7764
  const { tag: e, html: t } = await Ne(
7672
7765
  "searchcraft-popover-form",
7673
7766
  r
@@ -7682,7 +7775,7 @@ async function Hu(r) {
7682
7775
  }
7683
7776
  );
7684
7777
  }
7685
- async function Uu(r) {
7778
+ async function Bu(r) {
7686
7779
  const { tag: e, html: t } = await Ne(
7687
7780
  "searchcraft-results-info",
7688
7781
  r
@@ -7697,7 +7790,7 @@ async function Uu(r) {
7697
7790
  }
7698
7791
  );
7699
7792
  }
7700
- async function Bu(r) {
7793
+ async function Vu(r) {
7701
7794
  const { tag: e, html: t } = await Ne("searchcraft-theme", r);
7702
7795
  return /* @__PURE__ */ Fe(
7703
7796
  "div",
@@ -7724,7 +7817,7 @@ async function qu(r) {
7724
7817
  }
7725
7818
  );
7726
7819
  }
7727
- async function Vu(r) {
7820
+ async function Wu(r) {
7728
7821
  const { tag: e, html: t } = await Ne(
7729
7822
  "searchcraft-search-results-per-page",
7730
7823
  r
@@ -7739,7 +7832,7 @@ async function Vu(r) {
7739
7832
  }
7740
7833
  );
7741
7834
  }
7742
- async function Wu(r) {
7835
+ async function Gu(r) {
7743
7836
  const { tag: e, html: t } = await Ne(
7744
7837
  "searchcraft-summary-box",
7745
7838
  r
@@ -7754,37 +7847,37 @@ async function Wu(r) {
7754
7847
  }
7755
7848
  );
7756
7849
  }
7757
- class Gu extends iu {
7850
+ class ju extends cu {
7758
7851
  constructor(e, t = void 0) {
7759
7852
  super(
7760
7853
  e,
7761
7854
  {
7762
- sdkName: cu,
7763
- sdkVersion: lu
7855
+ sdkName: lu,
7856
+ sdkVersion: uu
7764
7857
  },
7765
7858
  t
7766
7859
  );
7767
7860
  }
7768
7861
  }
7769
- const ju = () => {
7862
+ const Yu = () => {
7770
7863
  const r = document.querySelectorAll("[data-sc-component]");
7771
7864
  for (const e of r)
7772
7865
  e.innerHTML = e.getAttribute("data-sc-tag") || "";
7773
- Bn();
7866
+ Vn();
7774
7867
  };
7775
7868
  export {
7776
- Gu as Searchcraft,
7777
- Fu as SearchcraftFilterPanel,
7778
- Nu as SearchcraftInputForm,
7869
+ ju as Searchcraft,
7870
+ Nu as SearchcraftFilterPanel,
7871
+ zu as SearchcraftInputForm,
7779
7872
  qu as SearchcraftPagination,
7780
- zu as SearchcraftPopoverButton,
7781
- Hu as SearchcraftPopoverForm,
7782
- Uu as SearchcraftResultsInfo,
7783
- Du as SearchcraftSearchResults,
7784
- Vu as SearchcraftSearchResultsPerPage,
7785
- Wu as SearchcraftSummaryBox,
7786
- Bu as SearchcraftTheme,
7787
- Bn as defineCustomElements,
7788
- ju as hydrateSearchcraftComponents
7873
+ Hu as SearchcraftPopoverButton,
7874
+ Uu as SearchcraftPopoverForm,
7875
+ Bu as SearchcraftResultsInfo,
7876
+ Fu as SearchcraftSearchResults,
7877
+ Wu as SearchcraftSearchResultsPerPage,
7878
+ Gu as SearchcraftSummaryBox,
7879
+ Vu as SearchcraftTheme,
7880
+ Vn as defineCustomElements,
7881
+ Yu as hydrateSearchcraftComponents
7789
7882
  };
7790
7883
  //# sourceMappingURL=index.js.map