@searchcraft/vue-sdk 0.10.5 → 0.10.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,15 +1,15 @@
1
- var Ka = Object.defineProperty;
2
- var Xa = (e, t, r) => t in e ? Ka(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var f = (e, t, r) => Xa(e, typeof t != "symbol" ? t + "" : t, r);
4
- import { defineComponent as Ja, ref as en, getCurrentInstance as tn, inject as rn, h as sn } from "vue";
5
- const an = "searchcraft-javascript-sdk", He = (
1
+ var Xa = Object.defineProperty;
2
+ var Ja = (e, t, r) => t in e ? Xa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
+ var f = (e, t, r) => Ja(e, typeof t != "symbol" ? t + "" : t, r);
4
+ import { defineComponent as en, ref as tn, getCurrentInstance as rn, inject as sn, h as an } from "vue";
5
+ const nn = "searchcraft-javascript-sdk", He = (
6
6
  /* searchcraft-javascript-sdk */
7
7
  { experimentalSlotFixes: !1, hydratedSelectorName: "hydrated", lazyLoad: !1, shadowDom: !1, slotRelocation: !0, updatable: !0 }
8
8
  );
9
- var nn = Object.defineProperty, on = (e, t) => {
9
+ var on = Object.defineProperty, cn = (e, t) => {
10
10
  for (var r in t)
11
- nn(e, r, { get: t[r], enumerable: !0 });
12
- }, cn = "http://www.w3.org/2000/svg", ln = "http://www.w3.org/1999/xhtml", un = (e, t) => {
11
+ on(e, r, { get: t[r], enumerable: !0 });
12
+ }, ln = "http://www.w3.org/2000/svg", un = "http://www.w3.org/1999/xhtml", hn = (e, t) => {
13
13
  var r;
14
14
  const s = t.$cmpMeta$;
15
15
  Object.entries((r = s.$members$) != null ? r : {}).map(([o, [n]]) => {
@@ -19,15 +19,15 @@ var nn = Object.defineProperty, on = (e, t) => {
19
19
  get() {
20
20
  return i.get.call(this);
21
21
  },
22
- set(u) {
23
- i.set.call(this, u);
22
+ set(h) {
23
+ i.set.call(this, h);
24
24
  },
25
25
  configurable: !0,
26
26
  enumerable: !0
27
27
  }), e[o] = t.$instanceValues$.has(o) ? t.$instanceValues$.get(o) : c;
28
28
  }
29
29
  });
30
- }, rr = /* @__PURE__ */ new WeakMap(), hn = (e) => rr.delete(e), we = (e) => rr.get(e), dn = (e, t) => {
30
+ }, rr = /* @__PURE__ */ new WeakMap(), dn = (e) => rr.delete(e), we = (e) => rr.get(e), fn = (e, t) => {
31
31
  const r = {
32
32
  $flags$: 0,
33
33
  $hostElement$: e,
@@ -36,8 +36,8 @@ var nn = Object.defineProperty, on = (e, t) => {
36
36
  };
37
37
  r.$onReadyPromise$ = new Promise((a) => r.$onReadyResolve$ = a), e["s-p"] = [], e["s-rc"] = [];
38
38
  const s = rr.set(e, r);
39
- return un(e, r), s;
40
- }, es = (e, t) => t in e, wt = (e, t) => (0, console.error)(e, t), kt = typeof window < "u" ? window : {}, De = kt.document || { head: {} }, D = kt.HTMLElement || class {
39
+ return hn(e, r), s;
40
+ }, ts = (e, t) => t in e, wt = (e, t) => (0, console.error)(e, t), kt = typeof window < "u" ? window : {}, De = kt.document || { head: {} }, D = kt.HTMLElement || class {
41
41
  }, se = {
42
42
  $flags$: 0,
43
43
  $resourcesUrl$: "",
@@ -46,9 +46,9 @@ var nn = Object.defineProperty, on = (e, t) => {
46
46
  ael: (e, t, r, s) => e.addEventListener(t, r, s),
47
47
  rel: (e, t, r, s) => e.removeEventListener(t, r, s),
48
48
  ce: (e, t) => new CustomEvent(e, t)
49
- }, fn = He.shadowDom, pn = (e) => Promise.resolve(e), Xt = !1, ts = [], Ps = [], mn = (e, t) => (r) => {
49
+ }, pn = He.shadowDom, mn = (e) => Promise.resolve(e), Xt = !1, rs = [], $s = [], gn = (e, t) => (r) => {
50
50
  e.push(r), Xt || (Xt = !0, se.$flags$ & 4 ? sr(Jt) : se.raf(Jt));
51
- }, rs = (e) => {
51
+ }, ss = (e) => {
52
52
  for (let t = 0; t < e.length; t++)
53
53
  try {
54
54
  e[t](performance.now());
@@ -57,71 +57,71 @@ var nn = Object.defineProperty, on = (e, t) => {
57
57
  }
58
58
  e.length = 0;
59
59
  }, Jt = () => {
60
- rs(ts), rs(Ps), (Xt = ts.length > 0) && se.raf(Jt);
61
- }, sr = (e) => pn().then(e), gn = /* @__PURE__ */ mn(Ps), ar = (e) => (e = typeof e, e === "object" || e === "function"), vn = {};
62
- on(vn, {
63
- err: () => $s,
64
- map: () => bn,
60
+ ss(rs), ss($s), (Xt = rs.length > 0) && se.raf(Jt);
61
+ }, sr = (e) => mn().then(e), vn = /* @__PURE__ */ gn($s), ar = (e) => (e = typeof e, e === "object" || e === "function"), bn = {};
62
+ cn(bn, {
63
+ err: () => _s,
64
+ map: () => yn,
65
65
  ok: () => er,
66
- unwrap: () => yn,
67
- unwrapErr: () => Cn
66
+ unwrap: () => Cn,
67
+ unwrapErr: () => Sn
68
68
  });
69
69
  var er = (e) => ({
70
70
  isOk: !0,
71
71
  isErr: !1,
72
72
  value: e
73
- }), $s = (e) => ({
73
+ }), _s = (e) => ({
74
74
  isOk: !1,
75
75
  isErr: !0,
76
76
  value: e
77
77
  });
78
- function bn(e, t) {
78
+ function yn(e, t) {
79
79
  if (e.isOk) {
80
80
  const r = t(e.value);
81
81
  return r instanceof Promise ? r.then((s) => er(s)) : er(r);
82
82
  }
83
83
  if (e.isErr) {
84
84
  const r = e.value;
85
- return $s(r);
85
+ return _s(r);
86
86
  }
87
87
  throw "should never get here";
88
88
  }
89
- var yn = (e) => {
89
+ var Cn = (e) => {
90
90
  if (e.isOk)
91
91
  return e.value;
92
92
  throw e.value;
93
- }, Cn = (e) => {
93
+ }, Sn = (e) => {
94
94
  if (e.isErr)
95
95
  return e.value;
96
96
  throw e.value;
97
- }, _s = (e) => {
97
+ }, Is = (e) => {
98
98
  const t = e.__childNodes || e.childNodes;
99
- e.tagName && e.tagName.includes("-") && e["s-cr"] && e.tagName !== "SLOT-FB" && Is(t, e.tagName).forEach((r) => {
99
+ e.tagName && e.tagName.includes("-") && e["s-cr"] && e.tagName !== "SLOT-FB" && As(t, e.tagName).forEach((r) => {
100
100
  var s;
101
- r.nodeType === 1 && r.tagName === "SLOT-FB" && ((s = Sn(r, r["s-sn"], !1)) != null && s.length ? r.hidden = !0 : r.hidden = !1);
101
+ r.nodeType === 1 && r.tagName === "SLOT-FB" && ((s = wn(r, r["s-sn"], !1)) != null && s.length ? r.hidden = !0 : r.hidden = !1);
102
102
  });
103
103
  for (const r of t)
104
- r.nodeType === 1 && (r.__childNodes || r.childNodes).length && _s(r);
104
+ r.nodeType === 1 && (r.__childNodes || r.childNodes).length && Is(r);
105
105
  };
106
- function Is(e, t, r) {
106
+ function As(e, t, r) {
107
107
  let s = 0, a = [], o;
108
108
  for (; s < e.length; s++)
109
- o = e[s], o["s-sr"] && o["s-hn"] === t && r === void 0 && a.push(o), a = [...a, ...Is(o.childNodes, t, r)];
109
+ o = e[s], o["s-sr"] && o["s-hn"] === t && r === void 0 && a.push(o), a = [...a, ...As(o.childNodes, t, r)];
110
110
  return a;
111
111
  }
112
- var Sn = (e, t, r = !0) => {
112
+ var wn = (e, t, r = !0) => {
113
113
  const s = [];
114
114
  for ((r && e["s-sr"] || !e["s-sr"]) && s.push(e); (e = e.nextSibling) && e["s-sn"] === t; )
115
115
  s.push(e);
116
116
  return s;
117
- }, ss = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", Xe = (e, t = "") => () => {
118
- }, l = (e, t, ...r) => {
117
+ }, as = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", Xe = (e, t = "") => () => {
118
+ }, u = (e, t, ...r) => {
119
119
  let s = null, a = null, o = null, n = !1, c = !1;
120
- const i = [], u = (p) => {
120
+ const i = [], h = (p) => {
121
121
  for (let m = 0; m < p.length; m++)
122
- s = p[m], Array.isArray(s) ? u(s) : s != null && typeof s != "boolean" && ((n = typeof e != "function" && !ar(s)) && (s = String(s)), n && c ? i[i.length - 1].$text$ += s : i.push(n ? bt(null, s) : s), c = n);
122
+ s = p[m], Array.isArray(s) ? h(s) : s != null && typeof s != "boolean" && ((n = typeof e != "function" && !ar(s)) && (s = String(s)), n && c ? i[i.length - 1].$text$ += s : i.push(n ? bt(null, s) : s), c = n);
123
123
  };
124
- if (u(r), t) {
124
+ if (h(r), t) {
125
125
  t.key && (a = t.key), t.name && (o = t.name);
126
126
  {
127
127
  const p = t.className || t.class;
@@ -132,10 +132,10 @@ var Sn = (e, t, r = !0) => {
132
132
  return e(
133
133
  t === null ? {} : t,
134
134
  i,
135
- xn
135
+ En
136
136
  );
137
- const h = bt(e, null);
138
- return h.$attrs$ = t, i.length > 0 && (h.$children$ = i), h.$key$ = a, h.$name$ = o, h;
137
+ const l = bt(e, null);
138
+ return l.$attrs$ = t, i.length > 0 && (l.$children$ = i), l.$key$ = a, l.$name$ = o, l;
139
139
  }, bt = (e, t) => {
140
140
  const r = {
141
141
  $flags$: 0,
@@ -145,54 +145,54 @@ var Sn = (e, t, r = !0) => {
145
145
  $children$: null
146
146
  };
147
147
  return r.$attrs$ = null, r.$key$ = null, r.$name$ = null, r;
148
- }, wn = {}, kn = (e) => e && e.$tag$ === wn, xn = {
149
- forEach: (e, t) => e.map(as).forEach(t),
150
- map: (e, t) => e.map(as).map(t).map(En)
151
- }, as = (e) => ({
148
+ }, kn = {}, Rn = (e) => e && e.$tag$ === kn, En = {
149
+ forEach: (e, t) => e.map(ns).forEach(t),
150
+ map: (e, t) => e.map(ns).map(t).map(xn)
151
+ }, ns = (e) => ({
152
152
  vattrs: e.$attrs$,
153
153
  vchildren: e.$children$,
154
154
  vkey: e.$key$,
155
155
  vname: e.$name$,
156
156
  vtag: e.$tag$,
157
157
  vtext: e.$text$
158
- }), En = (e) => {
158
+ }), xn = (e) => {
159
159
  if (typeof e.vtag == "function") {
160
160
  const r = { ...e.vattrs };
161
- return e.vkey && (r.key = e.vkey), e.vname && (r.name = e.vname), l(e.vtag, r, ...e.vchildren || []);
161
+ return e.vkey && (r.key = e.vkey), e.vname && (r.name = e.vname), u(e.vtag, r, ...e.vchildren || []);
162
162
  }
163
163
  const t = bt(e.vtag, e.vtext);
164
164
  return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
165
- }, As = (e, t) => e != null && !ar(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Rn = (e) => e, Ce = (e, t, r) => {
166
- const s = Rn(e);
165
+ }, Ms = (e, t) => e != null && !ar(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Tn = (e) => e, Ce = (e, t, r) => {
166
+ const s = Tn(e);
167
167
  return {
168
- emit: (a) => Ms(s, t, {
168
+ emit: (a) => Os(s, t, {
169
169
  bubbles: !0,
170
170
  composed: !0,
171
171
  cancelable: !0,
172
172
  detail: a
173
173
  })
174
174
  };
175
- }, Ms = (e, t, r) => {
175
+ }, Os = (e, t, r) => {
176
176
  const s = se.ce(t, r);
177
177
  return e.dispatchEvent(s), s;
178
- }, ft = /* @__PURE__ */ new WeakMap(), ns = (e, t, r, s, a, o) => {
178
+ }, ft = /* @__PURE__ */ new WeakMap(), os = (e, t, r, s, a, o) => {
179
179
  if (r !== s) {
180
- let n = es(e, t), c = t.toLowerCase();
180
+ let n = ts(e, t), c = t.toLowerCase();
181
181
  if (t === "class") {
182
- const i = e.classList, u = os(r);
183
- let h = os(s);
184
- e["s-si"] ? (h.push(e["s-si"]), u.forEach((p) => {
185
- p.startsWith(e["s-si"]) && h.push(p);
186
- }), h = [...new Set(h)], i.add(...h), delete e["s-si"]) : (i.remove(...u.filter((p) => p && !h.includes(p))), i.add(...h.filter((p) => p && !u.includes(p))));
182
+ const i = e.classList, h = cs(r);
183
+ let l = cs(s);
184
+ e["s-si"] ? (l.push(e["s-si"]), h.forEach((p) => {
185
+ p.startsWith(e["s-si"]) && l.push(p);
186
+ }), l = [...new Set(l)], i.add(...l), delete e["s-si"]) : (i.remove(...h.filter((p) => p && !l.includes(p))), i.add(...l.filter((p) => p && !h.includes(p))));
187
187
  } else if (t === "style") {
188
188
  for (const i in r)
189
189
  (!s || s[i] == null) && (i.includes("-") ? e.style.removeProperty(i) : e.style[i] = "");
190
190
  for (const i in s)
191
191
  (!r || s[i] !== r[i]) && (i.includes("-") ? e.style.setProperty(i, s[i]) : e.style[i] = s[i]);
192
192
  } else if (t !== "key") if (!e.__lookupSetter__(t) && t[0] === "o" && t[1] === "n") {
193
- if (t[2] === "-" ? t = t.slice(3) : es(kt, c) ? t = c.slice(2) : t = c[2] + t.slice(3), r || s) {
194
- const i = t.endsWith(Os);
195
- t = t.replace(Pn, ""), r && se.rel(e, t, r, i), s && se.ael(e, t, s, i);
193
+ if (t[2] === "-" ? t = t.slice(3) : ts(kt, c) ? t = c.slice(2) : t = c[2] + t.slice(3), r || s) {
194
+ const i = t.endsWith(Fs);
195
+ t = t.replace($n, ""), r && se.rel(e, t, r, i), s && se.ael(e, t, s, i);
196
196
  }
197
197
  } else {
198
198
  const i = ar(s);
@@ -201,22 +201,22 @@ var Sn = (e, t, r = !0) => {
201
201
  if (e.tagName.includes("-"))
202
202
  e[t] !== s && (e[t] = s);
203
203
  else {
204
- const u = s ?? "";
205
- t === "list" ? n = !1 : (r == null || e[t] != u) && (typeof e.__lookupSetter__(t) == "function" ? e[t] = u : e.setAttribute(t, u));
204
+ const h = s ?? "";
205
+ t === "list" ? n = !1 : (r == null || e[t] != h) && (typeof e.__lookupSetter__(t) == "function" ? e[t] = h : e.setAttribute(t, h));
206
206
  }
207
207
  } catch {
208
208
  }
209
209
  s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!n || o & 4 || a) && !i && (s = s === !0 ? "" : s, e.setAttribute(t, s));
210
210
  }
211
211
  }
212
- }, Tn = /\s/, os = (e) => (typeof e == "object" && "baseVal" in e && (e = e.baseVal), e ? e.split(Tn) : []), Os = "Capture", Pn = new RegExp(Os + "$"), Ls = (e, t, r) => {
212
+ }, Pn = /\s/, cs = (e) => (typeof e == "object" && "baseVal" in e && (e = e.baseVal), e ? e.split(Pn) : []), Fs = "Capture", $n = new RegExp(Fs + "$"), Ls = (e, t, r) => {
213
213
  const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, a = e && e.$attrs$ || {}, o = t.$attrs$ || {};
214
- for (const n of cs(Object.keys(a)))
215
- n in o || ns(s, n, a[n], void 0, r, t.$flags$);
216
- for (const n of cs(Object.keys(o)))
217
- ns(s, n, a[n], o[n], r, t.$flags$);
214
+ for (const n of is(Object.keys(a)))
215
+ n in o || os(s, n, a[n], void 0, r, t.$flags$);
216
+ for (const n of is(Object.keys(o)))
217
+ os(s, n, a[n], o[n], r, t.$flags$);
218
218
  };
219
- function cs(e) {
219
+ function is(e) {
220
220
  return e.includes("ref") ? (
221
221
  // we need to sort these to ensure that `'ref'` is the last attr
222
222
  [...e.filter((t) => t !== "ref"), "ref"]
@@ -244,7 +244,7 @@ var tr, nr, yt = !1, Ct = !1, or = !1, ne = !1, St = (e, t, r) => {
244
244
  n = a.$elm$ = De.createTextNode("");
245
245
  else {
246
246
  if (ne || (ne = a.$tag$ === "svg"), n = a.$elm$ = De.createElementNS(
247
- ne ? cn : ln,
247
+ ne ? ln : un,
248
248
  !yt && He.slotRelocation && a.$flags$ & 2 ? "slot-fb" : a.$tag$
249
249
  ), ne && a.$tag$ === "foreignObject" && (ne = !1), Ls(null, a, ne), a.$children$)
250
250
  for (o = 0; o < a.$children$.length; ++o)
@@ -261,11 +261,11 @@ var tr, nr, yt = !1, Ct = !1, or = !1, ne = !1, St = (e, t, r) => {
261
261
  a["s-hn"] !== nr && a["s-ol"] && (Se(et(a).parentNode, a, et(a)), a["s-ol"].remove(), a["s-ol"] = void 0, a["s-sh"] = void 0, or = !0), t && Je(a, t);
262
262
  }
263
263
  se.$flags$ &= -2;
264
- }, Fs = (e, t, r, s, a, o) => {
264
+ }, Ds = (e, t, r, s, a, o) => {
265
265
  let n = e["s-cr"] && e["s-cr"].parentNode || e, c;
266
266
  for (; a <= o; ++a)
267
267
  s[a] && (c = St(null, r, a), c && (s[a].$elm$ = c, Se(n, c, et(t))));
268
- }, Ds = (e, t, r) => {
268
+ }, Ns = (e, t, r) => {
269
269
  for (let s = t; s <= r; ++s) {
270
270
  const a = e[s];
271
271
  if (a) {
@@ -273,53 +273,53 @@ var tr, nr, yt = !1, Ct = !1, or = !1, ne = !1, St = (e, t, r) => {
273
273
  o && (Ct = !0, o["s-ol"] ? o["s-ol"].remove() : Je(o, !0), o.remove());
274
274
  }
275
275
  }
276
- }, $n = (e, t, r, s, a = !1) => {
277
- let o = 0, n = 0, c = 0, i = 0, u = t.length - 1, h = t[0], p = t[u], m = s.length - 1, b = s[0], y = s[m], T, _;
278
- for (; o <= u && n <= m; )
279
- if (h == null)
280
- h = t[++o];
276
+ }, _n = (e, t, r, s, a = !1) => {
277
+ let o = 0, n = 0, c = 0, i = 0, h = t.length - 1, l = t[0], p = t[h], m = s.length - 1, v = s[0], b = s[m], T, _;
278
+ for (; o <= h && n <= m; )
279
+ if (l == null)
280
+ l = t[++o];
281
281
  else if (p == null)
282
- p = t[--u];
282
+ p = t[--h];
283
+ else if (v == null)
284
+ v = s[++n];
283
285
  else if (b == null)
284
- b = s[++n];
285
- else if (y == null)
286
- y = s[--m];
287
- else if (pt(h, b, a))
288
- Le(h, b, a), h = t[++o], b = s[++n];
289
- else if (pt(p, y, a))
290
- Le(p, y, a), p = t[--u], y = s[--m];
291
- else if (pt(h, y, a))
292
- (h.$tag$ === "slot" || y.$tag$ === "slot") && Je(h.$elm$.parentNode, !1), Le(h, y, a), Se(e, h.$elm$, p.$elm$.nextSibling), h = t[++o], y = s[--m];
286
+ b = s[--m];
287
+ else if (pt(l, v, a))
288
+ Fe(l, v, a), l = t[++o], v = s[++n];
293
289
  else if (pt(p, b, a))
294
- (h.$tag$ === "slot" || y.$tag$ === "slot") && Je(p.$elm$.parentNode, !1), Le(p, b, a), Se(e, p.$elm$, h.$elm$), p = t[--u], b = s[++n];
290
+ Fe(p, b, a), p = t[--h], b = s[--m];
291
+ else if (pt(l, b, a))
292
+ (l.$tag$ === "slot" || b.$tag$ === "slot") && Je(l.$elm$.parentNode, !1), Fe(l, b, a), Se(e, l.$elm$, p.$elm$.nextSibling), l = t[++o], b = s[--m];
293
+ else if (pt(p, v, a))
294
+ (l.$tag$ === "slot" || b.$tag$ === "slot") && Je(p.$elm$.parentNode, !1), Fe(p, v, a), Se(e, p.$elm$, l.$elm$), p = t[--h], v = s[++n];
295
295
  else {
296
- for (c = -1, i = o; i <= u; ++i)
297
- if (t[i] && t[i].$key$ !== null && t[i].$key$ === b.$key$) {
296
+ for (c = -1, i = o; i <= h; ++i)
297
+ if (t[i] && t[i].$key$ !== null && t[i].$key$ === v.$key$) {
298
298
  c = i;
299
299
  break;
300
300
  }
301
- c >= 0 ? (_ = t[c], _.$tag$ !== b.$tag$ ? T = St(t && t[n], r, c) : (Le(_, b, a), t[c] = void 0, T = _.$elm$), b = s[++n]) : (T = St(t && t[n], r, n), b = s[++n]), T && Se(
302
- et(h.$elm$).parentNode,
301
+ c >= 0 ? (_ = t[c], _.$tag$ !== v.$tag$ ? T = St(t && t[n], r, c) : (Fe(_, v, a), t[c] = void 0, T = _.$elm$), v = s[++n]) : (T = St(t && t[n], r, n), v = s[++n]), T && Se(
302
+ et(l.$elm$).parentNode,
303
303
  T,
304
- et(h.$elm$)
304
+ et(l.$elm$)
305
305
  );
306
306
  }
307
- o > u ? Fs(
307
+ o > h ? Ds(
308
308
  e,
309
309
  s[m + 1] == null ? null : s[m + 1].$elm$,
310
310
  r,
311
311
  s,
312
312
  n,
313
313
  m
314
- ) : n > m && Ds(t, o, u);
315
- }, pt = (e, t, r = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : r ? (r && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, et = (e) => e && e["s-ol"] || e, Le = (e, t, r = !1) => {
314
+ ) : n > m && Ns(t, o, h);
315
+ }, pt = (e, t, r = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : r ? (r && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, et = (e) => e && e["s-ol"] || e, Fe = (e, t, r = !1) => {
316
316
  const s = t.$elm$ = e.$elm$, a = e.$children$, o = t.$children$, n = t.$tag$, c = t.$text$;
317
317
  let i;
318
- c === null ? (ne = n === "svg" ? !0 : n === "foreignObject" ? !1 : ne, n === "slot" && !yt || Ls(e, t, ne), a !== null && o !== null ? $n(s, a, t, o, r) : o !== null ? (e.$text$ !== null && (s.textContent = ""), Fs(s, null, t, o, 0, o.length - 1)) : (
318
+ c === null ? (ne = n === "svg" ? !0 : n === "foreignObject" ? !1 : ne, n === "slot" && !yt || Ls(e, t, ne), a !== null && o !== null ? _n(s, a, t, o, r) : o !== null ? (e.$text$ !== null && (s.textContent = ""), Ds(s, null, t, o, 0, o.length - 1)) : (
319
319
  // don't do this on initial render as it can cause non-hydrated content to be removed
320
- !r && He.updatable && a !== null && Ds(a, 0, a.length - 1)
320
+ !r && He.updatable && a !== null && Ns(a, 0, a.length - 1)
321
321
  ), ne && n === "svg" && (ne = !1)) : (i = s["s-cr"]) ? i.parentNode.textContent = c : e.$text$ !== c && (s.data = c);
322
- }, me = [], Ns = (e) => {
322
+ }, me = [], Hs = (e) => {
323
323
  let t, r, s;
324
324
  const a = e.__childNodes || e.childNodes;
325
325
  for (const o of a) {
@@ -328,67 +328,67 @@ var tr, nr, yt = !1, Ct = !1, or = !1, ne = !1, St = (e, t, r) => {
328
328
  const n = o["s-sn"];
329
329
  for (s = r.length - 1; s >= 0; s--)
330
330
  if (t = r[s], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== o["s-hn"])
331
- if (ss(t, n)) {
331
+ if (as(t, n)) {
332
332
  let c = me.find((i) => i.$nodeToRelocate$ === t);
333
333
  Ct = !0, t["s-sn"] = t["s-sn"] || n, c ? (c.$nodeToRelocate$["s-sh"] = o["s-hn"], c.$slotRefNode$ = o) : (t["s-sh"] = o["s-hn"], me.push({
334
334
  $slotRefNode$: o,
335
335
  $nodeToRelocate$: t
336
336
  })), t["s-sr"] && me.map((i) => {
337
- ss(i.$nodeToRelocate$, t["s-sn"]) && (c = me.find((u) => u.$nodeToRelocate$ === t), c && !i.$slotRefNode$ && (i.$slotRefNode$ = c.$slotRefNode$));
337
+ as(i.$nodeToRelocate$, t["s-sn"]) && (c = me.find((h) => h.$nodeToRelocate$ === t), c && !i.$slotRefNode$ && (i.$slotRefNode$ = c.$slotRefNode$));
338
338
  });
339
339
  } else me.some((c) => c.$nodeToRelocate$ === t) || me.push({
340
340
  $nodeToRelocate$: t
341
341
  });
342
342
  }
343
- o.nodeType === 1 && Ns(o);
343
+ o.nodeType === 1 && Hs(o);
344
344
  }
345
- }, Se = (e, t, r) => e == null ? void 0 : e.insertBefore(t, r), _n = (e, t, r = !1) => {
345
+ }, Se = (e, t, r) => e == null ? void 0 : e.insertBefore(t, r), In = (e, t, r = !1) => {
346
346
  var s, a, o, n;
347
- const c = e.$hostElement$, i = e.$vnode$ || bt(null, null), u = kn(t) ? t : l(null, null, t);
348
- if (nr = c.tagName, r && u.$attrs$)
349
- for (const h of Object.keys(u.$attrs$))
350
- c.hasAttribute(h) && !["key", "ref", "style", "class"].includes(h) && (u.$attrs$[h] = c[h]);
351
- u.$tag$ = null, u.$flags$ |= 4, e.$vnode$ = u, u.$elm$ = i.$elm$ = c, yt = fn, tr = c["s-cr"], Ct = !1, Le(i, u, r);
347
+ const c = e.$hostElement$, i = e.$vnode$ || bt(null, null), h = Rn(t) ? t : u(null, null, t);
348
+ if (nr = c.tagName, r && h.$attrs$)
349
+ for (const l of Object.keys(h.$attrs$))
350
+ c.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (h.$attrs$[l] = c[l]);
351
+ h.$tag$ = null, h.$flags$ |= 4, e.$vnode$ = h, h.$elm$ = i.$elm$ = c, yt = pn, tr = c["s-cr"], Ct = !1, Fe(i, h, r);
352
352
  {
353
353
  if (se.$flags$ |= 1, or) {
354
- Ns(u.$elm$);
355
- for (const h of me) {
356
- const p = h.$nodeToRelocate$;
354
+ Hs(h.$elm$);
355
+ for (const l of me) {
356
+ const p = l.$nodeToRelocate$;
357
357
  if (!p["s-ol"]) {
358
358
  const m = De.createTextNode("");
359
359
  m["s-nr"] = p, Se(p.parentNode, p["s-ol"] = m, p);
360
360
  }
361
361
  }
362
- for (const h of me) {
363
- const p = h.$nodeToRelocate$, m = h.$slotRefNode$;
362
+ for (const l of me) {
363
+ const p = l.$nodeToRelocate$, m = l.$slotRefNode$;
364
364
  if (m) {
365
- const b = m.parentNode;
366
- let y = m.nextSibling;
365
+ const v = m.parentNode;
366
+ let b = m.nextSibling;
367
367
  {
368
- let L = (s = p["s-ol"]) == null ? void 0 : s.previousSibling;
369
- for (; L; ) {
370
- let P = (a = L["s-nr"]) != null ? a : null;
371
- if (P && P["s-sn"] === p["s-sn"] && b === (P.__parentNode || P.parentNode)) {
368
+ let F = (s = p["s-ol"]) == null ? void 0 : s.previousSibling;
369
+ for (; F; ) {
370
+ let P = (a = F["s-nr"]) != null ? a : null;
371
+ if (P && P["s-sn"] === p["s-sn"] && v === (P.__parentNode || P.parentNode)) {
372
372
  for (P = P.nextSibling; P === p || P != null && P["s-sr"]; )
373
373
  P = P == null ? void 0 : P.nextSibling;
374
374
  if (!P || !P["s-nr"]) {
375
- y = P;
375
+ b = P;
376
376
  break;
377
377
  }
378
378
  }
379
- L = L.previousSibling;
379
+ F = F.previousSibling;
380
380
  }
381
381
  }
382
382
  const T = p.__parentNode || p.parentNode, _ = p.__nextSibling || p.nextSibling;
383
- (!y && b !== T || _ !== y) && p !== y && (!p["s-hn"] && p["s-ol"] && (p["s-hn"] = p["s-ol"].parentNode.nodeName), Se(b, p, y), p.nodeType === 1 && p.tagName !== "SLOT-FB" && (p.hidden = (o = p["s-ih"]) != null ? o : !1)), p && typeof m["s-rf"] == "function" && m["s-rf"](p);
383
+ (!b && v !== T || _ !== b) && p !== b && (!p["s-hn"] && p["s-ol"] && (p["s-hn"] = p["s-ol"].parentNode.nodeName), Se(v, p, b), p.nodeType === 1 && p.tagName !== "SLOT-FB" && (p.hidden = (o = p["s-ih"]) != null ? o : !1)), p && typeof m["s-rf"] == "function" && m["s-rf"](p);
384
384
  } else
385
385
  p.nodeType === 1 && (r && (p["s-ih"] = (n = p.hidden) != null ? n : !1), p.hidden = !0);
386
386
  }
387
387
  }
388
- Ct && _s(u.$elm$), se.$flags$ &= -2, me.length = 0;
388
+ Ct && Is(h.$elm$), se.$flags$ &= -2, me.length = 0;
389
389
  }
390
390
  tr = void 0;
391
- }, Hs = (e, t) => {
391
+ }, Us = (e, t) => {
392
392
  if (t && !e.$onRenderResolve$ && t["s-p"]) {
393
393
  const r = t["s-p"].push(
394
394
  new Promise(
@@ -403,52 +403,52 @@ var tr, nr, yt = !1, Ct = !1, or = !1, ne = !1, St = (e, t, r) => {
403
403
  e.$flags$ |= 512;
404
404
  return;
405
405
  }
406
- return Hs(e, e.$ancestorComponent$), gn(() => In(e, t));
407
- }, In = (e, t) => {
406
+ return Us(e, e.$ancestorComponent$), vn(() => An(e, t));
407
+ }, An = (e, t) => {
408
408
  const r = e.$hostElement$, s = Xe("scheduleUpdate", e.$cmpMeta$.$tagName$), a = r;
409
409
  if (!a)
410
410
  throw new Error(
411
411
  `Can't render component <${r.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`
412
412
  );
413
413
  let o;
414
- return s(), An(o, () => On(e, a, t));
415
- }, An = (e, t) => Mn(e) ? e.then(t).catch((r) => {
414
+ return s(), Mn(o, () => Fn(e, a, t));
415
+ }, Mn = (e, t) => On(e) ? e.then(t).catch((r) => {
416
416
  console.error(r), t();
417
- }) : t(), Mn = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", On = async (e, t, r) => {
417
+ }) : t(), On = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Fn = async (e, t, r) => {
418
418
  var s;
419
419
  const a = e.$hostElement$, o = Xe("update", e.$cmpMeta$.$tagName$), n = a["s-rc"], c = Xe("render", e.$cmpMeta$.$tagName$);
420
420
  Ln(e, t, a, r), n && (n.map((i) => i()), a["s-rc"] = void 0), c(), o();
421
421
  {
422
- const i = (s = a["s-p"]) != null ? s : [], u = () => Fn(e);
423
- i.length === 0 ? u() : (Promise.all(i).then(u), e.$flags$ |= 4, i.length = 0);
422
+ const i = (s = a["s-p"]) != null ? s : [], h = () => Dn(e);
423
+ i.length === 0 ? h() : (Promise.all(i).then(h), e.$flags$ |= 4, i.length = 0);
424
424
  }
425
425
  }, Ln = (e, t, r, s) => {
426
426
  try {
427
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, _n(e, t, s);
427
+ t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, In(e, t, s);
428
428
  } catch (a) {
429
429
  wt(a, e.$hostElement$);
430
430
  }
431
431
  return null;
432
- }, Fn = (e) => {
433
- const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, s = Xe("postUpdate", t), a = r, o = e.$ancestorComponent$;
434
- e.$flags$ & 64 ? s() : (e.$flags$ |= 64, Us(r), Nn(a, "componentDidLoad", void 0, r), s(), e.$onReadyResolve$(r), o || Dn()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && sr(() => cr(e, !1)), e.$flags$ &= -517;
435
432
  }, Dn = (e) => {
436
- Us(De.documentElement), sr(() => Ms(kt, "appload", { detail: { namespace: an } }));
437
- }, Nn = (e, t, r, s) => {
433
+ const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, s = Xe("postUpdate", t), a = r, o = e.$ancestorComponent$;
434
+ e.$flags$ & 64 ? s() : (e.$flags$ |= 64, zs(r), Hn(a, "componentDidLoad", void 0, r), s(), e.$onReadyResolve$(r), o || Nn()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && sr(() => cr(e, !1)), e.$flags$ &= -517;
435
+ }, Nn = (e) => {
436
+ zs(De.documentElement), sr(() => Os(kt, "appload", { detail: { namespace: nn } }));
437
+ }, Hn = (e, t, r, s) => {
438
438
  if (e && e[t])
439
439
  try {
440
440
  return e[t](r);
441
441
  } catch (a) {
442
442
  wt(a, s);
443
443
  }
444
- }, Us = (e) => {
444
+ }, zs = (e) => {
445
445
  var t;
446
446
  return e.classList.add((t = He.hydratedSelectorName) != null ? t : "hydrated");
447
- }, Hn = (e, t) => we(e).$instanceValues$.get(t), is = (e, t, r, s) => {
447
+ }, Un = (e, t) => we(e).$instanceValues$.get(t), ls = (e, t, r, s) => {
448
448
  const a = we(e), o = e, n = a.$instanceValues$.get(t), c = a.$flags$, i = o;
449
- r = As(r, s.$members$[t][0]);
450
- const u = Number.isNaN(n) && Number.isNaN(r);
451
- if (r !== n && !u) {
449
+ r = Ms(r, s.$members$[t][0]);
450
+ const h = Number.isNaN(n) && Number.isNaN(r);
451
+ if (r !== n && !h) {
452
452
  a.$instanceValues$.set(t, r);
453
453
  {
454
454
  if (s.$watchers$ && c & 128) {
@@ -456,15 +456,15 @@ var tr, nr, yt = !1, Ct = !1, or = !1, ne = !1, St = (e, t, r) => {
456
456
  p && p.map((m) => {
457
457
  try {
458
458
  i[m](r, n, t);
459
- } catch (b) {
460
- wt(b, o);
459
+ } catch (v) {
460
+ wt(v, o);
461
461
  }
462
462
  });
463
463
  }
464
464
  (c & 18) === 2 && cr(a, !1);
465
465
  }
466
466
  }
467
- }, Un = (e, t, r) => {
467
+ }, zn = (e, t, r) => {
468
468
  var s, a;
469
469
  const o = e.prototype;
470
470
  if (t.$members$ || t.$watchers$ || e.watchers) {
@@ -472,23 +472,23 @@ var tr, nr, yt = !1, Ct = !1, or = !1, ne = !1, St = (e, t, r) => {
472
472
  const n = Object.entries((s = t.$members$) != null ? s : {});
473
473
  n.map(([c, [i]]) => {
474
474
  if (i & 31 || i & 32) {
475
- const { get: u, set: h } = Object.getOwnPropertyDescriptor(o, c) || {};
476
- u && (t.$members$[c][0] |= 2048), h && (t.$members$[c][0] |= 4096), Object.defineProperty(o, c, {
475
+ const { get: h, set: l } = Object.getOwnPropertyDescriptor(o, c) || {};
476
+ h && (t.$members$[c][0] |= 2048), l && (t.$members$[c][0] |= 4096), Object.defineProperty(o, c, {
477
477
  get() {
478
- return u ? u.apply(this) : Hn(this, c);
478
+ return h ? h.apply(this) : Un(this, c);
479
479
  },
480
480
  configurable: !0,
481
481
  enumerable: !0
482
482
  }), Object.defineProperty(o, c, {
483
483
  set(p) {
484
484
  const m = we(this);
485
- if (h) {
486
- const b = i & 32 ? this[c] : m.$hostElement$[c];
487
- typeof b > "u" && m.$instanceValues$.get(c) ? p = m.$instanceValues$.get(c) : !m.$instanceValues$.get(c) && b && m.$instanceValues$.set(c, b), h.apply(this, [As(p, i)]), p = i & 32 ? this[c] : m.$hostElement$[c], is(this, c, p, t);
485
+ if (l) {
486
+ const v = i & 32 ? this[c] : m.$hostElement$[c];
487
+ typeof v > "u" && m.$instanceValues$.get(c) ? p = m.$instanceValues$.get(c) : !m.$instanceValues$.get(c) && v && m.$instanceValues$.set(c, v), l.apply(this, [Ms(p, i)]), p = i & 32 ? this[c] : m.$hostElement$[c], ls(this, c, p, t);
488
488
  return;
489
489
  }
490
490
  {
491
- is(this, c, p, t);
491
+ ls(this, c, p, t);
492
492
  return;
493
493
  }
494
494
  }
@@ -497,44 +497,44 @@ var tr, nr, yt = !1, Ct = !1, or = !1, ne = !1, St = (e, t, r) => {
497
497
  });
498
498
  {
499
499
  const c = /* @__PURE__ */ new Map();
500
- o.attributeChangedCallback = function(i, u, h) {
500
+ o.attributeChangedCallback = function(i, h, l) {
501
501
  se.jmp(() => {
502
502
  var p;
503
503
  const m = c.get(i);
504
504
  if (!(this.hasOwnProperty(m) && He.lazyLoad)) {
505
505
  if (o.hasOwnProperty(m) && typeof this[m] == "number" && // cast type to number to avoid TS compiler issues
506
- this[m] == h)
506
+ this[m] == l)
507
507
  return;
508
508
  if (m == null) {
509
- const y = we(this), T = y == null ? void 0 : y.$flags$;
510
- if (T && !(T & 8) && T & 128 && h !== u) {
511
- const L = this, P = (p = t.$watchers$) == null ? void 0 : p[i];
509
+ const b = we(this), T = b == null ? void 0 : b.$flags$;
510
+ if (T && !(T & 8) && T & 128 && l !== h) {
511
+ const F = this, P = (p = t.$watchers$) == null ? void 0 : p[i];
512
512
  P == null || P.forEach((ue) => {
513
- L[ue] != null && L[ue].call(L, h, u, i);
513
+ F[ue] != null && F[ue].call(F, l, h, i);
514
514
  });
515
515
  }
516
516
  return;
517
517
  }
518
518
  }
519
- const b = Object.getOwnPropertyDescriptor(o, m);
520
- h = h === null && typeof this[m] == "boolean" ? !1 : h, h !== this[m] && (!b.get || b.set) && (this[m] = h);
519
+ const v = Object.getOwnPropertyDescriptor(o, m);
520
+ l = l === null && typeof this[m] == "boolean" ? !1 : l, l !== this[m] && (!v.get || v.set) && (this[m] = l);
521
521
  });
522
522
  }, e.observedAttributes = Array.from(
523
523
  /* @__PURE__ */ new Set([
524
524
  ...Object.keys((a = t.$watchers$) != null ? a : {}),
525
525
  ...n.filter(
526
- ([i, u]) => u[0] & 15
526
+ ([i, h]) => h[0] & 15
527
527
  /* HasAttribute */
528
- ).map(([i, u]) => {
529
- const h = u[1] || i;
530
- return c.set(h, i), h;
528
+ ).map(([i, h]) => {
529
+ const l = h[1] || i;
530
+ return c.set(l, i), l;
531
531
  })
532
532
  ])
533
533
  );
534
534
  }
535
535
  }
536
536
  return e;
537
- }, zn = async (e, t, r, s) => {
537
+ }, Bn = async (e, t, r, s) => {
538
538
  if (!(t.$flags$ & 32)) {
539
539
  t.$flags$ |= 32;
540
540
  {
@@ -547,20 +547,20 @@ var tr, nr, yt = !1, Ct = !1, or = !1, ne = !1, St = (e, t, r) => {
547
547
  }
548
548
  const a = t.$ancestorComponent$, o = () => cr(t, !0);
549
549
  a && a["s-rc"] ? a["s-rc"].push(o) : o();
550
- }, Bn = (e, t) => {
551
- }, Vn = (e) => {
550
+ }, Vn = (e, t) => {
551
+ }, jn = (e) => {
552
552
  if (!(se.$flags$ & 1)) {
553
553
  const t = we(e), r = t.$cmpMeta$, s = Xe("connectedCallback", r.$tagName$);
554
554
  if (t.$flags$ & 1)
555
- t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Bn());
555
+ t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Vn());
556
556
  else {
557
557
  t.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
558
- r.$flags$ & 12 && jn(e);
558
+ r.$flags$ & 12 && Wn(e);
559
559
  {
560
560
  let a = e;
561
561
  for (; a = a.parentNode || a.host; )
562
562
  if (a["s-p"]) {
563
- Hs(t, t.$ancestorComponent$ = a);
563
+ Us(t, t.$ancestorComponent$ = a);
564
564
  break;
565
565
  }
566
566
  }
@@ -569,16 +569,16 @@ var tr, nr, yt = !1, Ct = !1, or = !1, ne = !1, St = (e, t, r) => {
569
569
  const n = e[a];
570
570
  delete e[a], e[a] = n;
571
571
  }
572
- }), zn(e, t);
572
+ }), Bn(e, t);
573
573
  }
574
574
  s();
575
575
  }
576
- }, jn = (e) => {
576
+ }, Wn = (e) => {
577
577
  const t = e["s-cr"] = De.createComment(
578
578
  ""
579
579
  );
580
580
  t["s-cn"] = !0, Se(e, t, e.firstChild);
581
- }, Wn = async (e) => {
581
+ }, Gn = async (e) => {
582
582
  se.$flags$ & 1 || we(e), ft.has(e) && ft.delete(e), e.shadowRoot && ft.has(e.shadowRoot) && ft.delete(e.shadowRoot);
583
583
  }, N = (e, t) => {
584
584
  const r = {
@@ -590,24 +590,24 @@ var tr, nr, yt = !1, Ct = !1, or = !1, ne = !1, St = (e, t, r) => {
590
590
  return Object.assign(e.prototype, {
591
591
  __hasHostListenerAttached: !1,
592
592
  __registerHost() {
593
- dn(this, r);
593
+ fn(this, r);
594
594
  },
595
595
  connectedCallback() {
596
- this.__hasHostListenerAttached || (we(this), this.__hasHostListenerAttached = !0), Vn(this), s && s.call(this);
596
+ this.__hasHostListenerAttached || (we(this), this.__hasHostListenerAttached = !0), jn(this), s && s.call(this);
597
597
  },
598
598
  disconnectedCallback() {
599
- Wn(this), a && a.call(this), se.raf(() => {
599
+ Gn(this), a && a.call(this), se.raf(() => {
600
600
  var o;
601
601
  const n = we(this);
602
- ((o = n == null ? void 0 : n.$vnode$) == null ? void 0 : o.$elm$) instanceof Node && !n.$vnode$.$elm$.isConnected && delete n.$vnode$, this instanceof Node && !this.isConnected && hn(this);
602
+ ((o = n == null ? void 0 : n.$vnode$) == null ? void 0 : o.$elm$) instanceof Node && !n.$vnode$.$elm$.isConnected && delete n.$vnode$, this instanceof Node && !this.isConnected && dn(this);
603
603
  });
604
604
  },
605
605
  __attachShadow() {
606
606
  this.shadowRoot = this;
607
607
  }
608
- }), e.is = r.$tagName$, Un(e, r);
609
- }, Gn = (e, t) => t, Yn = Object.defineProperty, qn = (e, t, r) => t in e ? Yn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, A = (e, t, r) => qn(e, typeof t != "symbol" ? t + "" : t, r), pe = /* @__PURE__ */ ((e) => (e[e.DEBUG = 0] = "DEBUG", e[e.INFO = 1] = "INFO", e[e.WARN = 2] = "WARN", e[e.ERROR = 3] = "ERROR", e))(pe || {});
610
- class Zn {
608
+ }), e.is = r.$tagName$, zn(e, r);
609
+ }, qn = (e, t) => t, Yn = Object.defineProperty, Zn = (e, t, r) => t in e ? Yn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, A = (e, t, r) => Zn(e, typeof t != "symbol" ? t + "" : t, r), pe = /* @__PURE__ */ ((e) => (e[e.DEBUG = 0] = "DEBUG", e[e.INFO = 1] = "INFO", e[e.WARN = 2] = "WARN", e[e.ERROR = 3] = "ERROR", e))(pe || {});
610
+ class Qn {
611
611
  constructor(t) {
612
612
  A(this, "logLevel"), A(this, "logFormatter"), this.logLevel = t.logLevel || 1, this.logFormatter = t.logFormatter || this.defaultFormatter;
613
613
  }
@@ -645,24 +645,24 @@ class Zn {
645
645
  }
646
646
  function ge(e, t, r, s) {
647
647
  return new (r || (r = Promise))(function(a, o) {
648
- function n(u) {
648
+ function n(h) {
649
649
  try {
650
- i(s.next(u));
651
- } catch (h) {
652
- o(h);
650
+ i(s.next(h));
651
+ } catch (l) {
652
+ o(l);
653
653
  }
654
654
  }
655
- function c(u) {
655
+ function c(h) {
656
656
  try {
657
- i(s.throw(u));
658
- } catch (h) {
659
- o(h);
657
+ i(s.throw(h));
658
+ } catch (l) {
659
+ o(l);
660
660
  }
661
661
  }
662
- function i(u) {
663
- var h;
664
- u.done ? a(u.value) : (h = u.value, h instanceof r ? h : new r(function(p) {
665
- p(h);
662
+ function i(h) {
663
+ var l;
664
+ h.done ? a(h.value) : (l = h.value, l instanceof r ? l : new r(function(p) {
665
+ p(l);
666
666
  })).then(n, c);
667
667
  }
668
668
  i((s = s.apply(e, [])).next());
@@ -677,60 +677,60 @@ function ve(e, t) {
677
677
  return this;
678
678
  }), o;
679
679
  function c(i) {
680
- return function(u) {
681
- return function(h) {
680
+ return function(h) {
681
+ return function(l) {
682
682
  if (r) throw new TypeError("Generator is already executing.");
683
- for (; o && (o = 0, h[0] && (n = 0)), n; ) try {
684
- if (r = 1, s && (a = 2 & h[0] ? s.return : h[0] ? s.throw || ((a = s.return) && a.call(s), 0) : s.next) && !(a = a.call(s, h[1])).done) return a;
685
- switch (s = 0, a && (h = [2 & h[0], a.value]), h[0]) {
683
+ for (; o && (o = 0, l[0] && (n = 0)), n; ) try {
684
+ if (r = 1, s && (a = 2 & l[0] ? s.return : l[0] ? s.throw || ((a = s.return) && a.call(s), 0) : s.next) && !(a = a.call(s, l[1])).done) return a;
685
+ switch (s = 0, a && (l = [2 & l[0], a.value]), l[0]) {
686
686
  case 0:
687
687
  case 1:
688
- a = h;
688
+ a = l;
689
689
  break;
690
690
  case 4:
691
- return n.label++, { value: h[1], done: !1 };
691
+ return n.label++, { value: l[1], done: !1 };
692
692
  case 5:
693
- n.label++, s = h[1], h = [0];
693
+ n.label++, s = l[1], l = [0];
694
694
  continue;
695
695
  case 7:
696
- h = n.ops.pop(), n.trys.pop();
696
+ l = n.ops.pop(), n.trys.pop();
697
697
  continue;
698
698
  default:
699
- if (a = n.trys, !((a = a.length > 0 && a[a.length - 1]) || h[0] !== 6 && h[0] !== 2)) {
699
+ if (a = n.trys, !((a = a.length > 0 && a[a.length - 1]) || l[0] !== 6 && l[0] !== 2)) {
700
700
  n = 0;
701
701
  continue;
702
702
  }
703
- if (h[0] === 3 && (!a || h[1] > a[0] && h[1] < a[3])) {
704
- n.label = h[1];
703
+ if (l[0] === 3 && (!a || l[1] > a[0] && l[1] < a[3])) {
704
+ n.label = l[1];
705
705
  break;
706
706
  }
707
- if (h[0] === 6 && n.label < a[1]) {
708
- n.label = a[1], a = h;
707
+ if (l[0] === 6 && n.label < a[1]) {
708
+ n.label = a[1], a = l;
709
709
  break;
710
710
  }
711
711
  if (a && n.label < a[2]) {
712
- n.label = a[2], n.ops.push(h);
712
+ n.label = a[2], n.ops.push(l);
713
713
  break;
714
714
  }
715
715
  a[2] && n.ops.pop(), n.trys.pop();
716
716
  continue;
717
717
  }
718
- h = t.call(e, n);
718
+ l = t.call(e, n);
719
719
  } catch (p) {
720
- h = [6, p], s = 0;
720
+ l = [6, p], s = 0;
721
721
  } finally {
722
722
  r = a = 0;
723
723
  }
724
- if (5 & h[0]) throw h[1];
725
- return { value: h[0] ? h[1] : void 0, done: !0 };
726
- }([i, u]);
724
+ if (5 & l[0]) throw l[1];
725
+ return { value: l[0] ? l[1] : void 0, done: !0 };
726
+ }([i, h]);
727
727
  };
728
728
  }
729
729
  }
730
- var be = { exclude: [] }, zs = {}, Qn = { timeout: "true" }, ce = function(e, t) {
731
- typeof window < "u" && (zs[e] = t);
732
- }, Kn = function() {
733
- return Object.fromEntries(Object.entries(zs).filter(function(e) {
730
+ var be = { exclude: [] }, Bs = {}, Kn = { timeout: "true" }, ce = function(e, t) {
731
+ typeof window < "u" && (Bs[e] = t);
732
+ }, Xn = function() {
733
+ return Object.fromEntries(Object.entries(Bs).filter(function(e) {
734
734
  var t, r = e[0];
735
735
  return !(!((t = be == null ? void 0 : be.exclude) === null || t === void 0) && t.includes(r));
736
736
  }).map(function(e) {
@@ -740,7 +740,7 @@ var be = { exclude: [] }, zs = {}, Qn = { timeout: "true" }, ce = function(e, t)
740
740
  function mt(e) {
741
741
  return e ^= e >>> 16, e = Math.imul(e, 2246822507), e ^= e >>> 13, e = Math.imul(e, 3266489909), (e ^= e >>> 16) >>> 0;
742
742
  }
743
- var Y = new Uint32Array([597399067, 2869860233, 951274213, 2716044179]);
743
+ var q = new Uint32Array([597399067, 2869860233, 951274213, 2716044179]);
744
744
  function oe(e, t) {
745
745
  return e << t | e >>> 32 - t;
746
746
  }
@@ -749,43 +749,43 @@ function ir(e, t) {
749
749
  if (t === void 0 && (t = 0), t = t ? 0 | t : 0, typeof e == "string" && (r = e, e = new TextEncoder().encode(r).buffer), !(e instanceof ArrayBuffer)) throw new TypeError("Expected key to be ArrayBuffer or string");
750
750
  var s = new Uint32Array([t, t, t, t]);
751
751
  (function(o, n) {
752
- for (var c = o.byteLength / 16 | 0, i = new Uint32Array(o, 0, 4 * c), u = 0; u < c; u++) {
753
- var h = i.subarray(4 * u, 4 * (u + 1));
754
- h[0] = Math.imul(h[0], Y[0]), h[0] = oe(h[0], 15), h[0] = Math.imul(h[0], Y[1]), n[0] = n[0] ^ h[0], n[0] = oe(n[0], 19), n[0] = n[0] + n[1], n[0] = Math.imul(n[0], 5) + 1444728091, h[1] = Math.imul(h[1], Y[1]), h[1] = oe(h[1], 16), h[1] = Math.imul(h[1], Y[2]), n[1] = n[1] ^ h[1], n[1] = oe(n[1], 17), n[1] = n[1] + n[2], n[1] = Math.imul(n[1], 5) + 197830471, h[2] = Math.imul(h[2], Y[2]), h[2] = oe(h[2], 17), h[2] = Math.imul(h[2], Y[3]), n[2] = n[2] ^ h[2], n[2] = oe(n[2], 15), n[2] = n[2] + n[3], n[2] = Math.imul(n[2], 5) + 2530024501, h[3] = Math.imul(h[3], Y[3]), h[3] = oe(h[3], 18), h[3] = Math.imul(h[3], Y[0]), n[3] = n[3] ^ h[3], n[3] = oe(n[3], 13), n[3] = n[3] + n[0], n[3] = Math.imul(n[3], 5) + 850148119;
752
+ for (var c = o.byteLength / 16 | 0, i = new Uint32Array(o, 0, 4 * c), h = 0; h < c; h++) {
753
+ var l = i.subarray(4 * h, 4 * (h + 1));
754
+ l[0] = Math.imul(l[0], q[0]), l[0] = oe(l[0], 15), l[0] = Math.imul(l[0], q[1]), n[0] = n[0] ^ l[0], n[0] = oe(n[0], 19), n[0] = n[0] + n[1], n[0] = Math.imul(n[0], 5) + 1444728091, l[1] = Math.imul(l[1], q[1]), l[1] = oe(l[1], 16), l[1] = Math.imul(l[1], q[2]), n[1] = n[1] ^ l[1], n[1] = oe(n[1], 17), n[1] = n[1] + n[2], n[1] = Math.imul(n[1], 5) + 197830471, l[2] = Math.imul(l[2], q[2]), l[2] = oe(l[2], 17), l[2] = Math.imul(l[2], q[3]), n[2] = n[2] ^ l[2], n[2] = oe(n[2], 15), n[2] = n[2] + n[3], n[2] = Math.imul(n[2], 5) + 2530024501, l[3] = Math.imul(l[3], q[3]), l[3] = oe(l[3], 18), l[3] = Math.imul(l[3], q[0]), n[3] = n[3] ^ l[3], n[3] = oe(n[3], 13), n[3] = n[3] + n[0], n[3] = Math.imul(n[3], 5) + 850148119;
755
755
  }
756
756
  })(e, s), function(o, n) {
757
- var c = o.byteLength / 16 | 0, i = o.byteLength % 16, u = new Uint32Array(4), h = new Uint8Array(o, 16 * c, i);
757
+ var c = o.byteLength / 16 | 0, i = o.byteLength % 16, h = new Uint32Array(4), l = new Uint8Array(o, 16 * c, i);
758
758
  switch (i) {
759
759
  case 15:
760
- u[3] = u[3] ^ h[14] << 16;
760
+ h[3] = h[3] ^ l[14] << 16;
761
761
  case 14:
762
- u[3] = u[3] ^ h[13] << 8;
762
+ h[3] = h[3] ^ l[13] << 8;
763
763
  case 13:
764
- u[3] = u[3] ^ h[12] << 0, u[3] = Math.imul(u[3], Y[3]), u[3] = oe(u[3], 18), u[3] = Math.imul(u[3], Y[0]), n[3] = n[3] ^ u[3];
764
+ h[3] = h[3] ^ l[12] << 0, h[3] = Math.imul(h[3], q[3]), h[3] = oe(h[3], 18), h[3] = Math.imul(h[3], q[0]), n[3] = n[3] ^ h[3];
765
765
  case 12:
766
- u[2] = u[2] ^ h[11] << 24;
766
+ h[2] = h[2] ^ l[11] << 24;
767
767
  case 11:
768
- u[2] = u[2] ^ h[10] << 16;
768
+ h[2] = h[2] ^ l[10] << 16;
769
769
  case 10:
770
- u[2] = u[2] ^ h[9] << 8;
770
+ h[2] = h[2] ^ l[9] << 8;
771
771
  case 9:
772
- u[2] = u[2] ^ h[8] << 0, u[2] = Math.imul(u[2], Y[2]), u[2] = oe(u[2], 17), u[2] = Math.imul(u[2], Y[3]), n[2] = n[2] ^ u[2];
772
+ h[2] = h[2] ^ l[8] << 0, h[2] = Math.imul(h[2], q[2]), h[2] = oe(h[2], 17), h[2] = Math.imul(h[2], q[3]), n[2] = n[2] ^ h[2];
773
773
  case 8:
774
- u[1] = u[1] ^ h[7] << 24;
774
+ h[1] = h[1] ^ l[7] << 24;
775
775
  case 7:
776
- u[1] = u[1] ^ h[6] << 16;
776
+ h[1] = h[1] ^ l[6] << 16;
777
777
  case 6:
778
- u[1] = u[1] ^ h[5] << 8;
778
+ h[1] = h[1] ^ l[5] << 8;
779
779
  case 5:
780
- u[1] = u[1] ^ h[4] << 0, u[1] = Math.imul(u[1], Y[1]), u[1] = oe(u[1], 16), u[1] = Math.imul(u[1], Y[2]), n[1] = n[1] ^ u[1];
780
+ h[1] = h[1] ^ l[4] << 0, h[1] = Math.imul(h[1], q[1]), h[1] = oe(h[1], 16), h[1] = Math.imul(h[1], q[2]), n[1] = n[1] ^ h[1];
781
781
  case 4:
782
- u[0] = u[0] ^ h[3] << 24;
782
+ h[0] = h[0] ^ l[3] << 24;
783
783
  case 3:
784
- u[0] = u[0] ^ h[2] << 16;
784
+ h[0] = h[0] ^ l[2] << 16;
785
785
  case 2:
786
- u[0] = u[0] ^ h[1] << 8;
786
+ h[0] = h[0] ^ l[1] << 8;
787
787
  case 1:
788
- u[0] = u[0] ^ h[0] << 0, u[0] = Math.imul(u[0], Y[0]), u[0] = oe(u[0], 15), u[0] = Math.imul(u[0], Y[1]), n[0] = n[0] ^ u[0];
788
+ h[0] = h[0] ^ l[0] << 0, h[0] = Math.imul(h[0], q[0]), h[0] = oe(h[0], 15), h[0] = Math.imul(h[0], q[1]), n[0] = n[0] ^ h[0];
789
789
  }
790
790
  }(e, s), function(o, n) {
791
791
  n[0] = n[0] ^ o.byteLength, n[1] = n[1] ^ o.byteLength, n[2] = n[2] ^ o.byteLength, n[3] = n[3] ^ o.byteLength, n[0] = n[0] + n[1] | 0, n[0] = n[0] + n[2] | 0, n[0] = n[0] + n[3] | 0, n[1] = n[1] + n[0] | 0, n[2] = n[2] + n[0] | 0, n[3] = n[3] + n[0] | 0, n[0] = mt(n[0]), n[1] = mt(n[1]), n[2] = mt(n[2]), n[3] = mt(n[3]), n[0] = n[0] + n[1] | 0, n[0] = n[0] + n[2] | 0, n[0] = n[0] + n[3] | 0, n[1] = n[1] + n[0] | 0, n[2] = n[2] + n[0] | 0, n[3] = n[3] + n[0] | 0;
@@ -795,31 +795,31 @@ function ir(e, t) {
795
795
  return o.toString(16).padStart(2, "0");
796
796
  }).join("");
797
797
  }
798
- function Xn(e, t) {
798
+ function Jn(e, t) {
799
799
  return new Promise(function(r) {
800
800
  setTimeout(function() {
801
801
  return r(t);
802
802
  }, e);
803
803
  });
804
804
  }
805
- function Jn(e, t, r) {
805
+ function eo(e, t, r) {
806
806
  return Promise.all(e.map(function(s) {
807
- return Promise.race([s, Xn(t, r)]);
807
+ return Promise.race([s, Jn(t, r)]);
808
808
  }));
809
809
  }
810
- function eo() {
810
+ function to() {
811
811
  return ge(this, void 0, void 0, function() {
812
812
  var e, t, r, s, a;
813
813
  return ve(this, function(o) {
814
814
  switch (o.label) {
815
815
  case 0:
816
- return o.trys.push([0, 2, , 3]), e = Kn(), t = Object.keys(e), [4, Jn(Object.values(e), (be == null ? void 0 : be.timeout) || 1e3, Qn)];
816
+ return o.trys.push([0, 2, , 3]), e = Xn(), t = Object.keys(e), [4, eo(Object.values(e), (be == null ? void 0 : be.timeout) || 1e3, Kn)];
817
817
  case 1:
818
818
  return r = o.sent(), s = r.filter(function(n) {
819
819
  return n !== void 0;
820
820
  }), a = {}, s.forEach(function(n, c) {
821
821
  a[t[c]] = n;
822
- }), [2, Bs(a, be.exclude || [])];
822
+ }), [2, Vs(a, be.exclude || [])];
823
823
  case 2:
824
824
  throw o.sent();
825
825
  case 3:
@@ -828,13 +828,13 @@ function eo() {
828
828
  });
829
829
  });
830
830
  }
831
- function Bs(e, t) {
831
+ function Vs(e, t) {
832
832
  var r = {}, s = function(o) {
833
833
  if (e.hasOwnProperty(o)) {
834
834
  var n = e[o];
835
835
  if (typeof n != "object" || Array.isArray(n)) t.includes(o) || (r[o] = n);
836
836
  else {
837
- var c = Bs(n, t.map(function(i) {
837
+ var c = Vs(n, t.map(function(i) {
838
838
  return i.startsWith(o + ".") ? i.slice(o.length + 1) : i;
839
839
  }));
840
840
  Object.keys(c).length > 0 && (r[o] = c);
@@ -844,13 +844,13 @@ function Bs(e, t) {
844
844
  for (var a in e) s(a);
845
845
  return r;
846
846
  }
847
- function to(e) {
847
+ function ro(e) {
848
848
  return ge(this, void 0, void 0, function() {
849
849
  var t, r;
850
850
  return ve(this, function(s) {
851
851
  switch (s.label) {
852
852
  case 0:
853
- return s.trys.push([0, 2, , 3]), [4, eo()];
853
+ return s.trys.push([0, 2, , 3]), [4, to()];
854
854
  case 1:
855
855
  return t = s.sent(), r = ir(JSON.stringify(t)), [2, r.toString()];
856
856
  case 2:
@@ -861,19 +861,19 @@ function to(e) {
861
861
  });
862
862
  });
863
863
  }
864
- function ro(e) {
864
+ function so(e) {
865
865
  for (var t = 0, r = 0; r < e.length; ++r) t += Math.abs(e[r]);
866
866
  return t;
867
867
  }
868
- function Vs(e, t, r) {
868
+ function js(e, t, r) {
869
869
  for (var s = [], a = 0; a < e[0].data.length; a++) {
870
870
  for (var o = [], n = 0; n < e.length; n++) o.push(e[n].data[a]);
871
- s.push(so(o));
871
+ s.push(ao(o));
872
872
  }
873
873
  var c = new Uint8ClampedArray(s);
874
874
  return new ImageData(c, t, r);
875
875
  }
876
- function so(e) {
876
+ function ao(e) {
877
877
  if (e.length === 0) return 0;
878
878
  for (var t = {}, r = 0, s = e; r < s.length; r++)
879
879
  t[o = s[r]] = (t[o] || 0) + 1;
@@ -898,7 +898,7 @@ ce("audio", function() {
898
898
  o.frequency.value = 1e3;
899
899
  var n, c = s.createDynamicsCompressor();
900
900
  c.threshold.value = -50, c.knee.value = 40, c.ratio.value = 12, c.attack.value = 0, c.release.value = 0.2, o.connect(c), c.connect(s.destination), o.start(), s.oncomplete = function(i) {
901
- n = i.renderedBuffer.getChannelData(0), t({ sampleHash: ro(n), oscillator: o.type, maxChannels: s.destination.maxChannelCount, channelCountMode: a.channelCountMode });
901
+ n = i.renderedBuffer.getChannelData(0), t({ sampleHash: so(n), oscillator: o.type, maxChannels: s.destination.maxChannelCount, channelCountMode: a.channelCountMode });
902
902
  }, s.startRendering();
903
903
  } catch (i) {
904
904
  console.error("Error creating audio fingerprint:", i), r(i);
@@ -907,14 +907,14 @@ ce("audio", function() {
907
907
  });
908
908
  });
909
909
  });
910
- var ao = tt().name !== "SamsungBrowser" ? 1 : 3, ls = 280, us = 20;
910
+ var no = tt().name !== "SamsungBrowser" ? 1 : 3, us = 280, hs = 20;
911
911
  tt().name != "Firefox" && ce("canvas", function() {
912
912
  return document.createElement("canvas").getContext("2d"), new Promise(function(e) {
913
- var t = Array.from({ length: ao }, function() {
913
+ var t = Array.from({ length: no }, function() {
914
914
  return function() {
915
915
  var r = document.createElement("canvas"), s = r.getContext("2d");
916
916
  if (!s) return new ImageData(1, 1);
917
- r.width = ls, r.height = us;
917
+ r.width = us, r.height = hs;
918
918
  var a = s.createLinearGradient(0, 0, r.width, r.height);
919
919
  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, r.width, r.height);
920
920
  var o = "Random Text WMwmil10Oo";
@@ -923,15 +923,15 @@ tt().name != "Firefox" && ce("canvas", function() {
923
923
  return n;
924
924
  }();
925
925
  });
926
- e({ commonImageDataHash: ir(Vs(t, ls, us).data.toString()).toString() });
926
+ e({ commonImageDataHash: ir(js(t, us, hs).data.toString()).toString() });
927
927
  });
928
928
  });
929
- var Yt, no = ["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"], oo = ["monospace", "sans-serif", "serif"];
930
- function hs(e, t) {
929
+ var qt, oo = ["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"], co = ["monospace", "sans-serif", "serif"];
930
+ function ds(e, t) {
931
931
  if (!e) throw new Error("Canvas context not supported");
932
932
  return e.font = "72px ".concat(t), e.measureText("WwMmLli0Oo").width;
933
933
  }
934
- function co() {
934
+ function io() {
935
935
  var e, t = document.createElement("canvas"), r = (e = t.getContext("webgl")) !== null && e !== void 0 ? e : t.getContext("experimental-webgl");
936
936
  if (r && "getParameter" in r) try {
937
937
  var s = (r.getParameter(r.VENDOR) || "").toString(), a = (r.getParameter(r.RENDERER) || "").toString(), o = { vendor: s, renderer: a, version: (r.getParameter(r.VERSION) || "").toString(), shadingLanguageVersion: (r.getParameter(r.SHADING_LANGUAGE_VERSION) || "").toString() };
@@ -947,23 +947,23 @@ function co() {
947
947
  }
948
948
  return "undefined";
949
949
  }
950
- function io() {
950
+ function lo() {
951
951
  var e = new Float32Array(1), t = new Uint8Array(e.buffer);
952
952
  return e[0] = 1 / 0, e[0] = e[0] - e[0], t[3];
953
953
  }
954
- function lo(e, t) {
954
+ function uo(e, t) {
955
955
  var r = {};
956
956
  return t.forEach(function(s) {
957
957
  var a = function(o) {
958
958
  if (o.length === 0) return null;
959
959
  var n = {};
960
- o.forEach(function(u) {
961
- var h = String(u);
962
- n[h] = (n[h] || 0) + 1;
960
+ o.forEach(function(h) {
961
+ var l = String(h);
962
+ n[l] = (n[l] || 0) + 1;
963
963
  });
964
964
  var c = o[0], i = 1;
965
- return Object.keys(n).forEach(function(u) {
966
- n[u] > i && (c = u, i = n[u]);
965
+ return Object.keys(n).forEach(function(h) {
966
+ n[h] > i && (c = h, i = n[h]);
967
967
  }), c;
968
968
  }(e.map(function(o) {
969
969
  return s in o ? o[s] : void 0;
@@ -973,7 +973,7 @@ function lo(e, t) {
973
973
  a && (r[s] = a);
974
974
  }), r;
975
975
  }
976
- function uo() {
976
+ function ho() {
977
977
  var e = [], t = { "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"] };
978
978
  return Object.keys(t).forEach(function(r) {
979
979
  t[r].forEach(function(s) {
@@ -981,7 +981,7 @@ function uo() {
981
981
  });
982
982
  }), e;
983
983
  }
984
- function ho() {
984
+ function fo() {
985
985
  if (window.location.protocol === "https:" && typeof window.ApplePaySession == "function") try {
986
986
  for (var e = window.ApplePaySession.supportsVersion, t = 15; t > 0; t--) if (e(t)) return t;
987
987
  } catch {
@@ -1000,8 +1000,8 @@ tt().name != "Firefox" && ce("fonts", function() {
1000
1000
  return ve(this, function(i) {
1001
1001
  switch (i.label) {
1002
1002
  case 0:
1003
- return document.body ? [3, 2] : [4, (u = 50, new Promise(function(p) {
1004
- return setTimeout(p, u, h);
1003
+ return document.body ? [3, 2] : [4, (h = 50, new Promise(function(p) {
1004
+ return setTimeout(p, h, l);
1005
1005
  }))];
1006
1006
  case 1:
1007
1007
  return i.sent(), [3, 0];
@@ -1011,19 +1011,19 @@ tt().name != "Firefox" && ce("fonts", function() {
1011
1011
  document.body.removeChild(o);
1012
1012
  }, 0), [2];
1013
1013
  }
1014
- var u, h;
1014
+ var h, l;
1015
1015
  });
1016
1016
  });
1017
1017
  })(function(s) {
1018
1018
  var a = s.iframe;
1019
1019
  return ge(e, void 0, void 0, function() {
1020
1020
  var o, n, c, i;
1021
- return ve(this, function(u) {
1022
- return o = a.createElement("canvas"), n = o.getContext("2d"), c = oo.map(function(h) {
1023
- return hs(n, h);
1024
- }), i = {}, no.forEach(function(h) {
1025
- var p = hs(n, h);
1026
- c.includes(p) || (i[h] = p);
1021
+ return ve(this, function(h) {
1022
+ return o = a.createElement("canvas"), n = o.getContext("2d"), c = co.map(function(l) {
1023
+ return ds(n, l);
1024
+ }), i = {}, oo.forEach(function(l) {
1025
+ var p = ds(n, l);
1026
+ c.includes(p) || (i[l] = p);
1027
1027
  }), t(i), [2];
1028
1028
  });
1029
1029
  });
@@ -1035,7 +1035,7 @@ tt().name != "Firefox" && ce("fonts", function() {
1035
1035
  }), ce("hardware", function() {
1036
1036
  return new Promise(function(e, t) {
1037
1037
  var r = navigator.deviceMemory !== void 0 ? navigator.deviceMemory : 0, s = window.performance && window.performance.memory ? window.performance.memory : 0;
1038
- e({ videocard: co(), architecture: io(), deviceMemory: r.toString() || "undefined", jsHeapSizeLimit: s.jsHeapSizeLimit || 0 });
1038
+ e({ videocard: io(), architecture: lo(), deviceMemory: r.toString() || "undefined", jsHeapSizeLimit: s.jsHeapSizeLimit || 0 });
1039
1039
  });
1040
1040
  }), ce("locales", function() {
1041
1041
  return new Promise(function(e) {
@@ -1045,14 +1045,14 @@ tt().name != "Firefox" && ce("fonts", function() {
1045
1045
  return ge(this, void 0, void 0, function() {
1046
1046
  var e;
1047
1047
  return ve(this, function(t) {
1048
- return Yt = (be == null ? void 0 : be.permissions_to_check) || ["accelerometer", "accessibility", "accessibility-events", "ambient-light-sensor", "background-fetch", "background-sync", "bluetooth", "camera", "clipboard-read", "clipboard-write", "device-info", "display-capture", "gyroscope", "geolocation", "local-fonts", "magnetometer", "microphone", "midi", "nfc", "notifications", "payment-handler", "persistent-storage", "push", "speaker", "storage-access", "top-level-storage-access", "window-management", "query"], e = Array.from({ length: (be == null ? void 0 : be.retries) || 3 }, function() {
1048
+ return qt = (be == null ? void 0 : be.permissions_to_check) || ["accelerometer", "accessibility", "accessibility-events", "ambient-light-sensor", "background-fetch", "background-sync", "bluetooth", "camera", "clipboard-read", "clipboard-write", "device-info", "display-capture", "gyroscope", "geolocation", "local-fonts", "magnetometer", "microphone", "midi", "nfc", "notifications", "payment-handler", "persistent-storage", "push", "speaker", "storage-access", "top-level-storage-access", "window-management", "query"], e = Array.from({ length: (be == null ? void 0 : be.retries) || 3 }, function() {
1049
1049
  return function() {
1050
1050
  return ge(this, void 0, void 0, function() {
1051
1051
  var r, s, a, o, n;
1052
1052
  return ve(this, function(c) {
1053
1053
  switch (c.label) {
1054
1054
  case 0:
1055
- r = {}, s = 0, a = Yt, c.label = 1;
1055
+ r = {}, s = 0, a = qt, c.label = 1;
1056
1056
  case 1:
1057
1057
  if (!(s < a.length)) return [3, 6];
1058
1058
  o = a[s], c.label = 2;
@@ -1071,7 +1071,7 @@ tt().name != "Firefox" && ce("fonts", function() {
1071
1071
  });
1072
1072
  }();
1073
1073
  }), [2, Promise.all(e).then(function(r) {
1074
- return lo(r, Yt);
1074
+ return uo(r, qt);
1075
1075
  })];
1076
1076
  });
1077
1077
  });
@@ -1086,15 +1086,15 @@ tt().name != "Firefox" && ce("fonts", function() {
1086
1086
  });
1087
1087
  }), ce("screen", function() {
1088
1088
  return new Promise(function(e) {
1089
- e({ is_touchscreen: navigator.maxTouchPoints > 0, maxTouchPoints: navigator.maxTouchPoints, colorDepth: screen.colorDepth, mediaMatches: uo() });
1089
+ e({ is_touchscreen: navigator.maxTouchPoints > 0, maxTouchPoints: navigator.maxTouchPoints, colorDepth: screen.colorDepth, mediaMatches: ho() });
1090
1090
  });
1091
1091
  }), ce("system", function() {
1092
1092
  return new Promise(function(e) {
1093
1093
  var t = tt();
1094
- e({ platform: window.navigator.platform, cookieEnabled: window.navigator.cookieEnabled, productSub: navigator.productSub, product: navigator.product, useragent: navigator.userAgent, hardwareConcurrency: navigator.hardwareConcurrency, browser: { name: t.name, version: t.version }, applePayVersion: ho() });
1094
+ e({ platform: window.navigator.platform, cookieEnabled: window.navigator.cookieEnabled, productSub: navigator.productSub, product: navigator.product, useragent: navigator.userAgent, hardwareConcurrency: navigator.hardwareConcurrency, browser: { name: t.name, version: t.version }, applePayVersion: fo() });
1095
1095
  });
1096
1096
  });
1097
- var X, fo = tt().name !== "SamsungBrowser" ? 1 : 3, w = null;
1097
+ var X, po = tt().name !== "SamsungBrowser" ? 1 : 3, w = null;
1098
1098
  ce("webgl", function() {
1099
1099
  return ge(this, void 0, void 0, function() {
1100
1100
  var e;
@@ -1102,7 +1102,7 @@ ce("webgl", function() {
1102
1102
  typeof document < "u" && ((X = document.createElement("canvas")).width = 200, X.height = 100, w = X.getContext("webgl"));
1103
1103
  try {
1104
1104
  if (!w) throw new Error("WebGL not supported");
1105
- return e = Array.from({ length: fo }, function() {
1105
+ return e = Array.from({ length: po }, function() {
1106
1106
  return function() {
1107
1107
  try {
1108
1108
  if (!w) throw new Error("WebGL not supported");
@@ -1124,23 +1124,23 @@ ce("webgl", function() {
1124
1124
  if (!n) throw new Error("Failed to create shader program");
1125
1125
  if (w.attachShader(n, a), w.attachShader(n, o), w.linkProgram(n), !w.getProgramParameter(n, w.LINK_STATUS)) throw new Error("Shader program linking failed: " + w.getProgramInfoLog(n));
1126
1126
  w.useProgram(n);
1127
- for (var c = 137, i = new Float32Array(4 * c), u = 2 * Math.PI / c, h = 0; h < c; h++) {
1128
- var p = h * u;
1129
- i[4 * h] = 0, i[4 * h + 1] = 0, i[4 * h + 2] = Math.cos(p) * (X.width / 2), i[4 * h + 3] = Math.sin(p) * (X.height / 2);
1127
+ for (var c = 137, i = new Float32Array(4 * c), h = 2 * Math.PI / c, l = 0; l < c; l++) {
1128
+ var p = l * h;
1129
+ i[4 * l] = 0, i[4 * l + 1] = 0, i[4 * l + 2] = Math.cos(p) * (X.width / 2), i[4 * l + 3] = Math.sin(p) * (X.height / 2);
1130
1130
  }
1131
1131
  var m = w.createBuffer();
1132
1132
  w.bindBuffer(w.ARRAY_BUFFER, m), w.bufferData(w.ARRAY_BUFFER, i, w.STATIC_DRAW);
1133
- var b = w.getAttribLocation(n, "position");
1134
- w.enableVertexAttribArray(b), w.vertexAttribPointer(b, 2, w.FLOAT, !1, 0, 0), w.viewport(0, 0, X.width, X.height), w.clearColor(0, 0, 0, 1), w.clear(w.COLOR_BUFFER_BIT), w.drawArrays(w.LINES, 0, 2 * c);
1135
- var y = new Uint8ClampedArray(X.width * X.height * 4);
1136
- return w.readPixels(0, 0, X.width, X.height, w.RGBA, w.UNSIGNED_BYTE, y), new ImageData(y, X.width, X.height);
1133
+ var v = w.getAttribLocation(n, "position");
1134
+ w.enableVertexAttribArray(v), w.vertexAttribPointer(v, 2, w.FLOAT, !1, 0, 0), w.viewport(0, 0, X.width, X.height), w.clearColor(0, 0, 0, 1), w.clear(w.COLOR_BUFFER_BIT), w.drawArrays(w.LINES, 0, 2 * c);
1135
+ var b = new Uint8ClampedArray(X.width * X.height * 4);
1136
+ return w.readPixels(0, 0, X.width, X.height, w.RGBA, w.UNSIGNED_BYTE, b), new ImageData(b, X.width, X.height);
1137
1137
  } catch {
1138
1138
  return new ImageData(1, 1);
1139
1139
  } finally {
1140
1140
  w && (w.bindBuffer(w.ARRAY_BUFFER, null), w.useProgram(null), w.viewport(0, 0, w.drawingBufferWidth, w.drawingBufferHeight), w.clearColor(0, 0, 0, 0));
1141
1141
  }
1142
1142
  }();
1143
- }), [2, { commonImageHash: ir(Vs(e, X.width, X.height).data.toString()).toString() }];
1143
+ }), [2, { commonImageHash: ir(js(e, X.width, X.height).data.toString()).toString() }];
1144
1144
  } catch {
1145
1145
  return [2, { webgl: "unsupported" }];
1146
1146
  }
@@ -1160,11 +1160,11 @@ ce("math", function() {
1160
1160
  });
1161
1161
  });
1162
1162
  });
1163
- const po = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
1163
+ const mo = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
1164
1164
  let Ne = (e = 21) => {
1165
1165
  let t = "", r = crypto.getRandomValues(new Uint8Array(e |= 0));
1166
1166
  for (; e--; )
1167
- t += po[r[e] & 63];
1167
+ t += mo[r[e] & 63];
1168
1168
  return t;
1169
1169
  };
1170
1170
  class lr {
@@ -1185,7 +1185,7 @@ class lr {
1185
1185
  async onAdContainerViewed(t) {
1186
1186
  }
1187
1187
  }
1188
- class mo extends lr {
1188
+ class go extends lr {
1189
1189
  /**
1190
1190
  * Gets ads from the adMarketplace API based on the search term.
1191
1191
  */
@@ -1221,13 +1221,13 @@ class mo extends lr {
1221
1221
  (r = s.admAd) != null && r.impression_url && fetch(s.admAd.impression_url);
1222
1222
  }
1223
1223
  }
1224
- class go extends lr {
1224
+ class vo extends lr {
1225
1225
  async getAds(t) {
1226
1226
  return [];
1227
1227
  }
1228
1228
  }
1229
- const vo = 1e3;
1230
- class bo extends lr {
1229
+ const bo = 1e3;
1230
+ class yo extends lr {
1231
1231
  constructor(t) {
1232
1232
  super(t), A(this, "adCallTimeout"), this.addScriptTagToDocument();
1233
1233
  }
@@ -1240,7 +1240,7 @@ class bo extends lr {
1240
1240
  this.removeScriptTagFromDocument();
1241
1241
  return;
1242
1242
  }
1243
- this.performAdCall(vo);
1243
+ this.performAdCall(bo);
1244
1244
  }
1245
1245
  async onInputCleared() {
1246
1246
  this.removeScriptTagFromDocument();
@@ -1269,8 +1269,8 @@ class bo extends lr {
1269
1269
  t && document.head.removeChild(t);
1270
1270
  }
1271
1271
  }
1272
- const yo = 600;
1273
- class Co {
1272
+ const Co = 600;
1273
+ class So {
1274
1274
  constructor(t, r, s) {
1275
1275
  A(this, "measureRequestTimeout"), A(this, "measureRequestsBatched", []), A(this, "config"), A(this, "sdkInfo"), A(this, "userId"), A(this, "sessionId"), A(this, "sendMeasureEvent", async (a, o = {}, n = {}) => {
1276
1276
  const c = {
@@ -1286,9 +1286,9 @@ class Co {
1286
1286
  }
1287
1287
  };
1288
1288
  if (a === "document_clicked") {
1289
- const i = JSON.stringify(c), u = `${this.baseMeasureUrl}/event`;
1289
+ const i = JSON.stringify(c), h = `${this.baseMeasureUrl}/event`;
1290
1290
  try {
1291
- const h = await fetch(u, {
1291
+ const l = await fetch(h, {
1292
1292
  method: "POST",
1293
1293
  headers: {
1294
1294
  "Content-Type": "application/json",
@@ -1299,18 +1299,18 @@ class Co {
1299
1299
  body: i,
1300
1300
  keepalive: !0
1301
1301
  });
1302
- if (!h.ok)
1302
+ if (!l.ok)
1303
1303
  throw new Error(
1304
- `Failed to send request: ${h.status} ${h.statusText}`
1304
+ `Failed to send request: ${l.status} ${l.statusText}`
1305
1305
  );
1306
- } catch (h) {
1307
- throw console.error("Error sending MeasureRequest:", h), h;
1306
+ } catch (l) {
1307
+ throw console.error("Error sending MeasureRequest:", l), l;
1308
1308
  }
1309
1309
  } else
1310
1310
  this.measureRequestsBatched.push(c), clearTimeout(this.measureRequestTimeout), this.measureRequestTimeout = setTimeout(async () => {
1311
- const i = JSON.stringify({ items: this.measureRequestsBatched }), u = `${this.baseMeasureUrl}/batch`;
1311
+ const i = JSON.stringify({ items: this.measureRequestsBatched }), h = `${this.baseMeasureUrl}/batch`;
1312
1312
  try {
1313
- const h = await fetch(u, {
1313
+ const l = await fetch(h, {
1314
1314
  method: "POST",
1315
1315
  headers: {
1316
1316
  "Content-Type": "application/json",
@@ -1321,15 +1321,15 @@ class Co {
1321
1321
  body: i,
1322
1322
  keepalive: !0
1323
1323
  });
1324
- if (this.measureRequestsBatched = [], !h.ok)
1324
+ if (this.measureRequestsBatched = [], !l.ok)
1325
1325
  throw new Error(
1326
- `Failed to send request: ${h.status} ${h.statusText}`
1326
+ `Failed to send request: ${l.status} ${l.statusText}`
1327
1327
  );
1328
1328
  return;
1329
- } catch (h) {
1330
- throw this.measureRequestsBatched = [], console.error("Error sending MeasureRequest:", h), h;
1329
+ } catch (l) {
1330
+ throw this.measureRequestsBatched = [], console.error("Error sending MeasureRequest:", l), l;
1331
1331
  }
1332
- }, yo);
1332
+ }, Co);
1333
1333
  }), this.config = t, this.sdkInfo = r, this.userId = s, this.sessionId = Ne(), this.sendMeasureEvent("sdk_initialized");
1334
1334
  }
1335
1335
  /**
@@ -1353,7 +1353,7 @@ class Co {
1353
1353
  };
1354
1354
  }
1355
1355
  }
1356
- const So = (e) => e.endsWith("/") ? e.slice(0, -1) : e, gt = (e) => {
1356
+ const wo = (e) => e.endsWith("/") ? e.slice(0, -1) : e, gt = (e) => {
1357
1357
  let t = "";
1358
1358
  if (t = e.trim(), t = t.replace(/[‘’“”]/g, (r) => ({
1359
1359
  "‘": "'",
@@ -1365,59 +1365,73 @@ const So = (e) => e.endsWith("/") ? e.slice(0, -1) : e, gt = (e) => {
1365
1365
  "The search term contains an uneven number of quote characters."
1366
1366
  );
1367
1367
  return t;
1368
- }, wo = 500;
1369
- class ko {
1368
+ }, ko = 500;
1369
+ class Ro {
1370
1370
  constructor(t, r, s) {
1371
- A(this, "config"), A(this, "userId"), A(this, "parent"), A(this, "searchCompletedEventTimeout"), A(this, "getSearchResponseItems", async (a, o = !0) => {
1372
- var n, c, i, u, h;
1373
- try {
1374
- let p, m = "";
1375
- return typeof a == "string" ? m = gt(a) : (a.searchTerm = gt(a.searchTerm), m = a.searchTerm), (n = this.parent.measureClient) == null || n.sendMeasureEvent("search_requested", {
1376
- search_term: m
1377
- }), this.parent.emitEvent("query_submitted", {
1378
- name: "query_submitted",
1379
- data: {
1380
- searchTerm: m
1381
- }
1382
- }), (c = this.parent.adClient) == null || c.onQuerySubmitted(
1383
- typeof a == "string" ? { searchTerm: m, mode: "exact" } : a
1384
- ), typeof a == "string" ? p = await this.handleGetSearchResponseItemsWithString(m) : p = await this.handleGetSearchResponseItemsWithObject(a), o && ((i = this.parent.measureClient) == null || i.sendMeasureEvent(
1385
- "search_response_received",
1386
- {
1387
- search_term: m,
1388
- number_of_documents: p.data.count
1389
- }
1390
- ), clearTimeout(this.searchCompletedEventTimeout), this.searchCompletedEventTimeout = setTimeout(() => {
1391
- var b;
1392
- (b = this.parent.measureClient) == null || b.sendMeasureEvent("search_completed", {
1393
- search_term: m,
1394
- number_of_documents: p.data.count
1395
- });
1396
- }, wo), this.parent.emitEvent("query_fetched", {
1397
- name: "query_fetched",
1398
- data: {
1399
- searchTerm: m
1400
- }
1401
- }), (((u = p.data.hits) == null ? void 0 : u.length) || 0) === 0 && this.parent.emitEvent("no_results_returned", {
1402
- name: "no_results_returned"
1403
- }), (h = this.parent.adClient) == null || h.onQueryFetched(
1404
- typeof a == "string" ? { searchTerm: m, mode: "exact" } : a,
1405
- p
1406
- )), p;
1407
- } catch (p) {
1408
- throw console.error("Error parsing response:", p), p;
1409
- }
1371
+ A(this, "config"), A(this, "userId"), A(this, "parent"), A(this, "searchCompletedEventTimeout"), A(this, "abortController"), A(this, "getSearchResponseItems", async (a, o = !0) => {
1372
+ var n, c, i, h, l, p;
1373
+ (n = this.abortController) == null || n.abort(
1374
+ "A newer search request has replaced this one."
1375
+ ), this.abortController = new AbortController();
1376
+ let m, v = "";
1377
+ return typeof a == "string" ? v = gt(a) : (a.searchTerm = gt(a.searchTerm), v = a.searchTerm), (c = this.parent.measureClient) == null || c.sendMeasureEvent("search_requested", {
1378
+ search_term: v
1379
+ }), this.parent.emitEvent("query_submitted", {
1380
+ name: "query_submitted",
1381
+ data: {
1382
+ searchTerm: v
1383
+ }
1384
+ }), (i = this.parent.adClient) == null || i.onQuerySubmitted(
1385
+ typeof a == "string" ? { searchTerm: v, mode: "exact" } : a
1386
+ ), typeof a == "string" ? m = await this.handleGetSearchResponseItemsWithString(v) : m = await this.handleGetSearchResponseItemsWithObject(a), o && ((h = this.parent.measureClient) == null || h.sendMeasureEvent("search_response_received", {
1387
+ search_term: v,
1388
+ number_of_documents: m.data.count
1389
+ }), clearTimeout(this.searchCompletedEventTimeout), this.searchCompletedEventTimeout = setTimeout(() => {
1390
+ var b;
1391
+ (b = this.parent.measureClient) == null || b.sendMeasureEvent("search_completed", {
1392
+ search_term: v,
1393
+ number_of_documents: m.data.count
1394
+ });
1395
+ }, ko), this.parent.emitEvent("query_fetched", {
1396
+ name: "query_fetched",
1397
+ data: {
1398
+ searchTerm: v
1399
+ }
1400
+ }), (((l = m.data.hits) == null ? void 0 : l.length) || 0) === 0 && this.parent.emitEvent("no_results_returned", {
1401
+ name: "no_results_returned"
1402
+ }), (p = this.parent.adClient) == null || p.onQueryFetched(
1403
+ typeof a == "string" ? { searchTerm: v, mode: "exact" } : a,
1404
+ m
1405
+ )), m;
1410
1406
  }), A(this, "handleGetSearchResponseItemsWithString", async (a) => {
1411
- var o;
1412
- let n;
1407
+ var o, n;
1408
+ let c;
1413
1409
  try {
1414
- n = JSON.parse(a), n = {
1410
+ c = JSON.parse(a), c = {
1415
1411
  limit: this.config.searchResultsPerPage,
1416
- ...n
1412
+ ...c
1417
1413
  };
1418
1414
  } catch {
1419
1415
  throw new Error("Error: Query string is not valid json.");
1420
1416
  }
1417
+ const i = await fetch(this.baseSearchUrl, {
1418
+ method: "POST",
1419
+ headers: {
1420
+ Authorization: this.config.readKey,
1421
+ "Content-Type": "application/json",
1422
+ "X-Sc-User-Id": this.userId,
1423
+ "X-Sc-Session-Id": ((o = this.parent.measureClient) == null ? void 0 : o.sessionId) || Ne()
1424
+ },
1425
+ body: JSON.stringify(c),
1426
+ signal: (n = this.abortController) == null ? void 0 : n.signal
1427
+ });
1428
+ if (!i.ok)
1429
+ throw new Error(
1430
+ `Error: ${i.statusText} (Status: ${i.status})`
1431
+ );
1432
+ return await i.json();
1433
+ }), A(this, "handleGetSearchResponseItemsWithObject", async (a) => {
1434
+ var o, n;
1421
1435
  const c = await fetch(this.baseSearchUrl, {
1422
1436
  method: "POST",
1423
1437
  headers: {
@@ -1426,44 +1440,24 @@ class ko {
1426
1440
  "X-Sc-User-Id": this.userId,
1427
1441
  "X-Sc-Session-Id": ((o = this.parent.measureClient) == null ? void 0 : o.sessionId) || Ne()
1428
1442
  },
1429
- body: JSON.stringify(n)
1443
+ body: JSON.stringify({
1444
+ query: this.formatParamsForRequest(a),
1445
+ offset: a.offset || 0,
1446
+ limit: a.limit || this.config.searchResultsPerPage || 20,
1447
+ ...a.order_by && {
1448
+ order_by: a.order_by
1449
+ },
1450
+ ...a.sort && {
1451
+ sort: a.sort
1452
+ }
1453
+ }),
1454
+ signal: (n = this.abortController) == null ? void 0 : n.signal
1430
1455
  });
1431
1456
  if (!c.ok)
1432
1457
  throw new Error(
1433
1458
  `Error: ${c.statusText} (Status: ${c.status})`
1434
1459
  );
1435
1460
  return await c.json();
1436
- }), A(this, "handleGetSearchResponseItemsWithObject", async (a) => {
1437
- var o;
1438
- try {
1439
- const n = await fetch(this.baseSearchUrl, {
1440
- method: "POST",
1441
- headers: {
1442
- Authorization: this.config.readKey,
1443
- "Content-Type": "application/json",
1444
- "X-Sc-User-Id": this.userId,
1445
- "X-Sc-Session-Id": ((o = this.parent.measureClient) == null ? void 0 : o.sessionId) || Ne()
1446
- },
1447
- body: JSON.stringify({
1448
- query: this.formatParamsForRequest(a),
1449
- offset: a.offset || 0,
1450
- limit: a.limit || this.config.searchResultsPerPage || 20,
1451
- ...a.order_by && {
1452
- order_by: a.order_by
1453
- },
1454
- ...a.sort && {
1455
- sort: a.sort
1456
- }
1457
- })
1458
- });
1459
- if (!n.ok)
1460
- throw new Error(
1461
- `Error: ${n.statusText} (Status: ${n.status})`
1462
- );
1463
- return await n.json();
1464
- } catch (n) {
1465
- throw console.error("Error parsing response:", n), n;
1466
- }
1467
1461
  }), this.parent = t, this.config = r, this.userId = s;
1468
1462
  }
1469
1463
  /**
@@ -1511,29 +1505,48 @@ class ko {
1511
1505
  }), r;
1512
1506
  }
1513
1507
  }
1514
- class xo {
1508
+ class Eo {
1515
1509
  constructor(t, r) {
1516
1510
  if (A(this, "config"), A(this, "measureClient"), A(this, "searchClient"), A(this, "adClient"), A(this, "userId"), A(this, "requestTimeout"), A(this, "subscriptionEvents", {}), A(this, "getResponseItems", (s, a, o) => {
1517
1511
  const n = async () => {
1518
1512
  (async () => {
1519
- var c, i;
1520
- const u = await ((c = this == null ? void 0 : this.searchClient) == null ? void 0 : c.getSearchResponseItems(s));
1521
- if (!u)
1522
- throw new Error("Search client was not initialized.");
1523
- const h = (u.data.hits || []).filter((m) => !!m.doc).map((m) => ({
1513
+ var c;
1514
+ if (!this.searchClient) {
1515
+ console.error("Search client was not initialized.");
1516
+ return;
1517
+ }
1518
+ let i;
1519
+ try {
1520
+ i = await this.searchClient.getSearchResponseItems(s);
1521
+ } catch (p) {
1522
+ console.info(`Search request error: ${p}`);
1523
+ return;
1524
+ }
1525
+ if (!i) {
1526
+ console.error("Search request error: Search response was undefined");
1527
+ return;
1528
+ }
1529
+ const h = (i.data.hits || []).filter((p) => !!p.doc).map((p) => ({
1524
1530
  id: Ne(),
1525
- document: m.doc || { id: -1 },
1526
- source_index: m.source_index,
1531
+ document: p.doc || { id: -1 },
1532
+ source_index: p.source_index,
1527
1533
  type: "SearchDocument"
1528
1534
  }));
1529
- let p;
1535
+ let l;
1530
1536
  if (typeof s == "object") {
1531
- const m = structuredClone(
1537
+ const p = structuredClone(
1532
1538
  s
1533
1539
  );
1534
- m.facetPathsForIndexFields && Object.keys(m.facetPathsForIndexFields).length > 0 && m.rangeValueForIndexFields && Object.keys(m.rangeValueForIndexFields).length > 0 && (m.facetPathsForIndexFields = void 0, p = await ((i = this == null ? void 0 : this.searchClient) == null ? void 0 : i.getSearchResponseItems(m, !1)), u && console.log("Supplemental response:", p));
1540
+ if (p.facetPathsForIndexFields && Object.keys(p.facetPathsForIndexFields).length > 0) {
1541
+ p.facetPathsForIndexFields = void 0;
1542
+ try {
1543
+ l = await ((c = this == null ? void 0 : this.searchClient) == null ? void 0 : c.getSearchResponseItems(p, !1));
1544
+ } catch (m) {
1545
+ console.info(`Search request error: ${m}`);
1546
+ }
1547
+ }
1535
1548
  }
1536
- a(u, h, p);
1549
+ a(s, i, h, l);
1537
1550
  })(), (async () => {
1538
1551
  if (this.adClient && typeof s != "string") {
1539
1552
  const c = await this.adClient.getAds(s);
@@ -1552,7 +1565,7 @@ class xo {
1552
1565
  this.config = {
1553
1566
  ...t,
1554
1567
  // Strips off the trailing '/' from an endpointURL if one is accidentally added
1555
- endpointURL: So(t.endpointURL)
1568
+ endpointURL: wo(t.endpointURL)
1556
1569
  }, this.userId = "", typeof window < "u" && typeof customElements < "u" && r.sdkName === "@searchcraft/javascript-sdk" && globalThis.__scDefineCustomElements__ && globalThis.__scDefineCustomElements__(), typeof window < "u" && (this.initClients(this.config, r), this.initInputForms(), this.startObservingMutations());
1557
1570
  }
1558
1571
  initInputForms() {
@@ -1581,15 +1594,15 @@ class xo {
1581
1594
  initClients(t, r) {
1582
1595
  setTimeout(async () => {
1583
1596
  let s = this.config.userId;
1584
- switch (s || (s = await to()), this.measureClient = new Co(t, r, s), this.searchClient = new ko(this, t, s), t.adSource) {
1597
+ switch (s || (s = await ro()), this.measureClient = new So(t, r, s), this.searchClient = new Ro(this, t, s), t.adSource) {
1585
1598
  case "adMarketplace":
1586
- this.adClient = new mo(t);
1599
+ this.adClient = new go(t);
1587
1600
  break;
1588
1601
  case "Nativo":
1589
- this.adClient = new bo(t);
1602
+ this.adClient = new yo(t);
1590
1603
  break;
1591
1604
  case "Custom":
1592
- this.adClient = new go(t);
1605
+ this.adClient = new vo(t);
1593
1606
  break;
1594
1607
  }
1595
1608
  this.emitEvent("initialized", {
@@ -1648,20 +1661,20 @@ class xo {
1648
1661
  }), (t = this.adClient) == null || t.onInputCleared();
1649
1662
  }
1650
1663
  }
1651
- var js = {}, ur = {};
1652
- const ds = (e) => {
1664
+ var Ws = {}, ur = {};
1665
+ const fs = (e) => {
1653
1666
  let t;
1654
- const r = /* @__PURE__ */ new Set(), s = (u, h) => {
1655
- const p = typeof u == "function" ? u(t) : u;
1667
+ const r = /* @__PURE__ */ new Set(), s = (h, l) => {
1668
+ const p = typeof h == "function" ? h(t) : h;
1656
1669
  if (!Object.is(p, t)) {
1657
1670
  const m = t;
1658
- t = h ?? (typeof p != "object" || p === null) ? p : Object.assign({}, t, p), r.forEach((b) => b(t, m));
1671
+ t = l ?? (typeof p != "object" || p === null) ? p : Object.assign({}, t, p), r.forEach((v) => v(t, m));
1659
1672
  }
1660
- }, a = () => t, c = { setState: s, getState: a, getInitialState: () => i, subscribe: (u) => (r.add(u), () => r.delete(u)) }, i = t = e(s, a, c);
1673
+ }, a = () => t, c = { setState: s, getState: a, getInitialState: () => i, subscribe: (h) => (r.add(h), () => r.delete(h)) }, i = t = e(s, a, c);
1661
1674
  return c;
1662
- }, Eo = (e) => e ? ds(e) : ds;
1663
- ur.createStore = Eo;
1664
- var hr = {}, Ws = { exports: {} }, k = {};
1675
+ }, xo = (e) => e ? fs(e) : fs;
1676
+ ur.createStore = xo;
1677
+ var hr = {}, Gs = { exports: {} }, k = {};
1665
1678
  /**
1666
1679
  * @license React
1667
1680
  * react.production.js
@@ -1671,9 +1684,9 @@ var hr = {}, Ws = { exports: {} }, k = {};
1671
1684
  * This source code is licensed under the MIT license found in the
1672
1685
  * LICENSE file in the root directory of this source tree.
1673
1686
  */
1674
- var dr = Symbol.for("react.transitional.element"), Ro = Symbol.for("react.portal"), To = Symbol.for("react.fragment"), Po = Symbol.for("react.strict_mode"), $o = Symbol.for("react.profiler"), _o = Symbol.for("react.consumer"), Io = Symbol.for("react.context"), Ao = Symbol.for("react.forward_ref"), Mo = Symbol.for("react.suspense"), Oo = Symbol.for("react.memo"), Gs = Symbol.for("react.lazy"), fs = Symbol.iterator;
1687
+ var dr = Symbol.for("react.transitional.element"), To = Symbol.for("react.portal"), Po = Symbol.for("react.fragment"), $o = Symbol.for("react.strict_mode"), _o = Symbol.for("react.profiler"), Io = Symbol.for("react.consumer"), Ao = Symbol.for("react.context"), Mo = Symbol.for("react.forward_ref"), Oo = Symbol.for("react.suspense"), Fo = Symbol.for("react.memo"), qs = Symbol.for("react.lazy"), ps = Symbol.iterator;
1675
1688
  function Lo(e) {
1676
- return e === null || typeof e != "object" ? null : (e = fs && e[fs] || e["@@iterator"], typeof e == "function" ? e : null);
1689
+ return e === null || typeof e != "object" ? null : (e = ps && e[ps] || e["@@iterator"], typeof e == "function" ? e : null);
1677
1690
  }
1678
1691
  var Ys = {
1679
1692
  isMounted: function() {
@@ -1685,9 +1698,9 @@ var Ys = {
1685
1698
  },
1686
1699
  enqueueSetState: function() {
1687
1700
  }
1688
- }, qs = Object.assign, Zs = {};
1701
+ }, Zs = Object.assign, Qs = {};
1689
1702
  function Ue(e, t, r) {
1690
- this.props = e, this.context = t, this.refs = Zs, this.updater = r || Ys;
1703
+ this.props = e, this.context = t, this.refs = Qs, this.updater = r || Ys;
1691
1704
  }
1692
1705
  Ue.prototype.isReactComponent = {};
1693
1706
  Ue.prototype.setState = function(e, t) {
@@ -1700,17 +1713,17 @@ Ue.prototype.setState = function(e, t) {
1700
1713
  Ue.prototype.forceUpdate = function(e) {
1701
1714
  this.updater.enqueueForceUpdate(this, e, "forceUpdate");
1702
1715
  };
1703
- function Qs() {
1716
+ function Ks() {
1704
1717
  }
1705
- Qs.prototype = Ue.prototype;
1718
+ Ks.prototype = Ue.prototype;
1706
1719
  function fr(e, t, r) {
1707
- this.props = e, this.context = t, this.refs = Zs, this.updater = r || Ys;
1720
+ this.props = e, this.context = t, this.refs = Qs, this.updater = r || Ys;
1708
1721
  }
1709
- var pr = fr.prototype = new Qs();
1722
+ var pr = fr.prototype = new Ks();
1710
1723
  pr.constructor = fr;
1711
- qs(pr, Ue.prototype);
1724
+ Zs(pr, Ue.prototype);
1712
1725
  pr.isPureReactComponent = !0;
1713
- var ps = Array.isArray, O = { H: null, A: null, T: null, S: null }, Ks = Object.prototype.hasOwnProperty;
1726
+ var ms = Array.isArray, O = { H: null, A: null, T: null, S: null }, Xs = Object.prototype.hasOwnProperty;
1714
1727
  function mr(e, t, r, s, a, o) {
1715
1728
  return r = o.ref, {
1716
1729
  $$typeof: dr,
@@ -1720,7 +1733,7 @@ function mr(e, t, r, s, a, o) {
1720
1733
  props: o
1721
1734
  };
1722
1735
  }
1723
- function Fo(e, t) {
1736
+ function Do(e, t) {
1724
1737
  return mr(
1725
1738
  e.type,
1726
1739
  t,
@@ -1733,26 +1746,26 @@ function Fo(e, t) {
1733
1746
  function gr(e) {
1734
1747
  return typeof e == "object" && e !== null && e.$$typeof === dr;
1735
1748
  }
1736
- function Do(e) {
1749
+ function No(e) {
1737
1750
  var t = { "=": "=0", ":": "=2" };
1738
1751
  return "$" + e.replace(/[=:]/g, function(r) {
1739
1752
  return t[r];
1740
1753
  });
1741
1754
  }
1742
- var ms = /\/+/g;
1743
- function qt(e, t) {
1744
- return typeof e == "object" && e !== null && e.key != null ? Do("" + e.key) : t.toString(36);
1755
+ var gs = /\/+/g;
1756
+ function Yt(e, t) {
1757
+ return typeof e == "object" && e !== null && e.key != null ? No("" + e.key) : t.toString(36);
1745
1758
  }
1746
- function gs() {
1759
+ function vs() {
1747
1760
  }
1748
- function No(e) {
1761
+ function Ho(e) {
1749
1762
  switch (e.status) {
1750
1763
  case "fulfilled":
1751
1764
  return e.value;
1752
1765
  case "rejected":
1753
1766
  throw e.reason;
1754
1767
  default:
1755
- switch (typeof e.status == "string" ? e.then(gs, gs) : (e.status = "pending", e.then(
1768
+ switch (typeof e.status == "string" ? e.then(vs, vs) : (e.status = "pending", e.then(
1756
1769
  function(t) {
1757
1770
  e.status === "pending" && (e.status = "fulfilled", e.value = t);
1758
1771
  },
@@ -1768,7 +1781,7 @@ function No(e) {
1768
1781
  }
1769
1782
  throw e;
1770
1783
  }
1771
- function Fe(e, t, r, s, a) {
1784
+ function Le(e, t, r, s, a) {
1772
1785
  var o = typeof e;
1773
1786
  (o === "undefined" || o === "boolean") && (e = null);
1774
1787
  var n = !1;
@@ -1783,11 +1796,11 @@ function Fe(e, t, r, s, a) {
1783
1796
  case "object":
1784
1797
  switch (e.$$typeof) {
1785
1798
  case dr:
1786
- case Ro:
1799
+ case To:
1787
1800
  n = !0;
1788
1801
  break;
1789
- case Gs:
1790
- return n = e._init, Fe(
1802
+ case qs:
1803
+ return n = e._init, Le(
1791
1804
  n(e._payload),
1792
1805
  t,
1793
1806
  r,
@@ -1797,20 +1810,20 @@ function Fe(e, t, r, s, a) {
1797
1810
  }
1798
1811
  }
1799
1812
  if (n)
1800
- return a = a(e), n = s === "" ? "." + qt(e, 0) : s, ps(a) ? (r = "", n != null && (r = n.replace(ms, "$&/") + "/"), Fe(a, t, r, "", function(u) {
1801
- return u;
1802
- })) : a != null && (gr(a) && (a = Fo(
1813
+ return a = a(e), n = s === "" ? "." + Yt(e, 0) : s, ms(a) ? (r = "", n != null && (r = n.replace(gs, "$&/") + "/"), Le(a, t, r, "", function(h) {
1814
+ return h;
1815
+ })) : a != null && (gr(a) && (a = Do(
1803
1816
  a,
1804
1817
  r + (a.key == null || e && e.key === a.key ? "" : ("" + a.key).replace(
1805
- ms,
1818
+ gs,
1806
1819
  "$&/"
1807
1820
  ) + "/") + n
1808
1821
  )), t.push(a)), 1;
1809
1822
  n = 0;
1810
1823
  var c = s === "" ? "." : s + ":";
1811
- if (ps(e))
1824
+ if (ms(e))
1812
1825
  for (var i = 0; i < e.length; i++)
1813
- s = e[i], o = c + qt(s, i), n += Fe(
1826
+ s = e[i], o = c + Yt(s, i), n += Le(
1814
1827
  s,
1815
1828
  t,
1816
1829
  r,
@@ -1819,7 +1832,7 @@ function Fe(e, t, r, s, a) {
1819
1832
  );
1820
1833
  else if (i = Lo(e), typeof i == "function")
1821
1834
  for (e = i.call(e), i = 0; !(s = e.next()).done; )
1822
- s = s.value, o = c + qt(s, i++), n += Fe(
1835
+ s = s.value, o = c + Yt(s, i++), n += Le(
1823
1836
  s,
1824
1837
  t,
1825
1838
  r,
@@ -1828,8 +1841,8 @@ function Fe(e, t, r, s, a) {
1828
1841
  );
1829
1842
  else if (o === "object") {
1830
1843
  if (typeof e.then == "function")
1831
- return Fe(
1832
- No(e),
1844
+ return Le(
1845
+ Ho(e),
1833
1846
  t,
1834
1847
  r,
1835
1848
  s,
@@ -1844,11 +1857,11 @@ function Fe(e, t, r, s, a) {
1844
1857
  function vt(e, t, r) {
1845
1858
  if (e == null) return e;
1846
1859
  var s = [], a = 0;
1847
- return Fe(e, s, "", "", function(o) {
1860
+ return Le(e, s, "", "", function(o) {
1848
1861
  return t.call(r, o, a++);
1849
1862
  }), s;
1850
1863
  }
1851
- function Ho(e) {
1864
+ function Uo(e) {
1852
1865
  if (e._status === -1) {
1853
1866
  var t = e._result;
1854
1867
  t = t(), t.then(
@@ -1863,7 +1876,7 @@ function Ho(e) {
1863
1876
  if (e._status === 1) return e._result.default;
1864
1877
  throw e._result;
1865
1878
  }
1866
- var vs = typeof reportError == "function" ? reportError : function(e) {
1879
+ var bs = typeof reportError == "function" ? reportError : function(e) {
1867
1880
  if (typeof window == "object" && typeof window.ErrorEvent == "function") {
1868
1881
  var t = new window.ErrorEvent("error", {
1869
1882
  bubbles: !0,
@@ -1878,7 +1891,7 @@ var vs = typeof reportError == "function" ? reportError : function(e) {
1878
1891
  }
1879
1892
  console.error(e);
1880
1893
  };
1881
- function Uo() {
1894
+ function zo() {
1882
1895
  }
1883
1896
  k.Children = {
1884
1897
  map: vt,
@@ -1911,11 +1924,11 @@ k.Children = {
1911
1924
  }
1912
1925
  };
1913
1926
  k.Component = Ue;
1914
- k.Fragment = To;
1915
- k.Profiler = $o;
1927
+ k.Fragment = Po;
1928
+ k.Profiler = _o;
1916
1929
  k.PureComponent = fr;
1917
- k.StrictMode = Po;
1918
- k.Suspense = Mo;
1930
+ k.StrictMode = $o;
1931
+ k.Suspense = Oo;
1919
1932
  k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = O;
1920
1933
  k.act = function() {
1921
1934
  throw Error("act(...) is not supported in production builds of React.");
@@ -1930,10 +1943,10 @@ k.cloneElement = function(e, t, r) {
1930
1943
  throw Error(
1931
1944
  "The argument must be a React element, but you passed " + e + "."
1932
1945
  );
1933
- var s = qs({}, e.props), a = e.key, o = void 0;
1946
+ var s = Zs({}, e.props), a = e.key, o = void 0;
1934
1947
  if (t != null)
1935
1948
  for (n in t.ref !== void 0 && (o = void 0), t.key !== void 0 && (a = "" + t.key), t)
1936
- !Ks.call(t, n) || n === "key" || n === "__self" || n === "__source" || n === "ref" && t.ref === void 0 || (s[n] = t[n]);
1949
+ !Xs.call(t, n) || n === "key" || n === "__self" || n === "__source" || n === "ref" && t.ref === void 0 || (s[n] = t[n]);
1937
1950
  var n = arguments.length - 2;
1938
1951
  if (n === 1) s.children = r;
1939
1952
  else if (1 < n) {
@@ -1945,14 +1958,14 @@ k.cloneElement = function(e, t, r) {
1945
1958
  };
1946
1959
  k.createContext = function(e) {
1947
1960
  return e = {
1948
- $$typeof: Io,
1961
+ $$typeof: Ao,
1949
1962
  _currentValue: e,
1950
1963
  _currentValue2: e,
1951
1964
  _threadCount: 0,
1952
1965
  Provider: null,
1953
1966
  Consumer: null
1954
1967
  }, e.Provider = e, e.Consumer = {
1955
- $$typeof: _o,
1968
+ $$typeof: Io,
1956
1969
  _context: e
1957
1970
  }, e;
1958
1971
  };
@@ -1960,7 +1973,7 @@ k.createElement = function(e, t, r) {
1960
1973
  var s, a = {}, o = null;
1961
1974
  if (t != null)
1962
1975
  for (s in t.key !== void 0 && (o = "" + t.key), t)
1963
- Ks.call(t, s) && s !== "key" && s !== "__self" && s !== "__source" && (a[s] = t[s]);
1976
+ Xs.call(t, s) && s !== "key" && s !== "__self" && s !== "__source" && (a[s] = t[s]);
1964
1977
  var n = arguments.length - 2;
1965
1978
  if (n === 1) a.children = r;
1966
1979
  else if (1 < n) {
@@ -1977,19 +1990,19 @@ k.createRef = function() {
1977
1990
  return { current: null };
1978
1991
  };
1979
1992
  k.forwardRef = function(e) {
1980
- return { $$typeof: Ao, render: e };
1993
+ return { $$typeof: Mo, render: e };
1981
1994
  };
1982
1995
  k.isValidElement = gr;
1983
1996
  k.lazy = function(e) {
1984
1997
  return {
1985
- $$typeof: Gs,
1998
+ $$typeof: qs,
1986
1999
  _payload: { _status: -1, _result: e },
1987
- _init: Ho
2000
+ _init: Uo
1988
2001
  };
1989
2002
  };
1990
2003
  k.memo = function(e, t) {
1991
2004
  return {
1992
- $$typeof: Oo,
2005
+ $$typeof: Fo,
1993
2006
  type: e,
1994
2007
  compare: t === void 0 ? null : t
1995
2008
  };
@@ -1999,9 +2012,9 @@ k.startTransition = function(e) {
1999
2012
  O.T = r;
2000
2013
  try {
2001
2014
  var s = e(), a = O.S;
2002
- a !== null && a(r, s), typeof s == "object" && s !== null && typeof s.then == "function" && s.then(Uo, vs);
2015
+ a !== null && a(r, s), typeof s == "object" && s !== null && typeof s.then == "function" && s.then(zo, bs);
2003
2016
  } catch (o) {
2004
- vs(o);
2017
+ bs(o);
2005
2018
  } finally {
2006
2019
  O.T = t;
2007
2020
  }
@@ -2067,23 +2080,23 @@ k.useTransition = function() {
2067
2080
  return O.H.useTransition();
2068
2081
  };
2069
2082
  k.version = "19.0.0";
2070
- Ws.exports = k;
2071
- var bs = Ws.exports, zo = ur;
2072
- const Bo = (e) => e;
2073
- function Xs(e, t = Bo) {
2074
- const r = bs.useSyncExternalStore(
2083
+ Gs.exports = k;
2084
+ var ys = Gs.exports, Bo = ur;
2085
+ const Vo = (e) => e;
2086
+ function Js(e, t = Vo) {
2087
+ const r = ys.useSyncExternalStore(
2075
2088
  e.subscribe,
2076
2089
  () => t(e.getState()),
2077
2090
  () => t(e.getInitialState())
2078
2091
  );
2079
- return bs.useDebugValue(r), r;
2092
+ return ys.useDebugValue(r), r;
2080
2093
  }
2081
- const ys = (e) => {
2082
- const t = zo.createStore(e), r = (s) => Xs(t, s);
2094
+ const Cs = (e) => {
2095
+ const t = Bo.createStore(e), r = (s) => Js(t, s);
2083
2096
  return Object.assign(r, t), r;
2084
- }, Vo = (e) => e ? ys(e) : ys;
2085
- hr.create = Vo;
2086
- hr.useStore = Xs;
2097
+ }, jo = (e) => e ? Cs(e) : Cs;
2098
+ hr.create = jo;
2099
+ hr.useStore = Js;
2087
2100
  (function(e) {
2088
2101
  var t = ur, r = hr;
2089
2102
  Object.keys(t).forEach(function(s) {
@@ -2101,8 +2114,8 @@ hr.useStore = Xs;
2101
2114
  }
2102
2115
  });
2103
2116
  });
2104
- })(js);
2105
- const Cs = {
2117
+ })(Ws);
2118
+ const Ss = {
2106
2119
  adClientResponseItems: [],
2107
2120
  core: void 0,
2108
2121
  hotkey: "k",
@@ -2116,6 +2129,7 @@ const Cs = {
2116
2129
  rangeValueForIndexFields: {},
2117
2130
  searchTerm: "",
2118
2131
  searchMode: "fuzzy",
2132
+ searchClientRequest: void 0,
2119
2133
  searchClientResponseItems: [],
2120
2134
  searchResponseTimeTaken: void 0,
2121
2135
  searchResponseFacetPrime: void 0,
@@ -2128,7 +2142,7 @@ const Cs = {
2128
2142
  // Callbacks
2129
2143
  afterInit: () => {
2130
2144
  }
2131
- }, I = js.createStore((e, t) => {
2145
+ }, I = Ws.createStore((e, t) => {
2132
2146
  const r = {
2133
2147
  set: (a) => (e(a), t()),
2134
2148
  addFacetPathsForIndexField: (a) => r.set((o) => ({
@@ -2148,7 +2162,7 @@ const Cs = {
2148
2162
  return a;
2149
2163
  },
2150
2164
  init: (a, o = !1) => {
2151
- const n = o ? new Zn({ logLevel: pe.DEBUG }) : void 0, c = r.set({
2165
+ const n = o ? new Qn({ logLevel: pe.DEBUG }) : void 0, c = r.set({
2152
2166
  core: a,
2153
2167
  logger: n,
2154
2168
  searchResultsPerPage: (a == null ? void 0 : a.config.searchResultsPerPage) || 20
@@ -2204,35 +2218,37 @@ const Cs = {
2204
2218
  }, r.setSearchClientResponseItemsFromResponse, r.setAdClientResponseItems);
2205
2219
  },
2206
2220
  setAdClientResponseItems: (a) => r.set({ adClientResponseItems: a }),
2207
- setSearchClientResponseItemsFromResponse: (a, o, n) => {
2208
- var p, m;
2209
- const { facets: c, count: i = 0, time_taken: u = 0 } = a.data, h = r.set((b) => ({
2221
+ setSearchClientResponseItemsFromResponse: (a, o, n, c) => {
2222
+ var m, v;
2223
+ const { facets: i, count: h = 0, time_taken: l = 0 } = o.data, p = r.set((b) => ({
2210
2224
  isSearchInProgress: !1,
2211
- searchClientResponseItems: o,
2212
- searchResponseTimeTaken: u,
2225
+ searchClientResponseItems: n,
2226
+ searchResponseTimeTaken: l,
2213
2227
  searchResultsPage: (
2214
2228
  // Reset to first page when response count changes
2215
- i === b.searchResultsCount ? b.searchResultsPage : 1
2229
+ h === b.searchResultsCount ? b.searchResultsPage : 1
2216
2230
  ),
2217
- searchResultsCount: i,
2218
- searchResponseFacetPrime: c,
2219
- supplementalFacetPrime: n == null ? void 0 : n.data.facets
2231
+ searchResultsCount: h,
2232
+ searchResponseFacetPrime: i,
2233
+ supplementalFacetPrime: c == null ? void 0 : c.data.facets,
2234
+ searchClientRequest: a
2220
2235
  }));
2221
- (p = h.logger) == null || p.log(pe.DEBUG, `Search results: ${JSON.stringify(o)}`), (m = h.logger) == null || m.log(pe.DEBUG, `Facets from response: ${JSON.stringify(c)}`);
2236
+ (m = p.logger) == null || m.log(pe.DEBUG, `Search results: ${JSON.stringify(n)}`), (v = p.logger) == null || v.log(pe.DEBUG, `Facets from response: ${JSON.stringify(i)}`);
2222
2237
  },
2223
- setInitialSearchClientResponseItemsFromResponse: (a, o) => {
2224
- var u;
2225
- const n = t(), { count: c = 0, time_taken: i = 0 } = a.data;
2226
- r.set((h) => ({
2238
+ setInitialSearchClientResponseItemsFromResponse: (a, o, n) => {
2239
+ var l;
2240
+ const c = t(), { count: i = 0, time_taken: h = 0 } = o.data;
2241
+ r.set((p) => ({
2227
2242
  isSearchInProgress: !1,
2228
- initialSearchClientResponseItems: o,
2229
- searchResponseTimeTaken: i,
2243
+ initialSearchClientResponseItems: n,
2244
+ searchResponseTimeTaken: h,
2230
2245
  searchResultsPage: (
2231
2246
  // Reset to first page when response count changes
2232
- c === h.searchResultsCount ? h.searchResultsPage : 1
2247
+ i === p.searchResultsCount ? p.searchResultsPage : 1
2233
2248
  ),
2234
- searchResultsCount: c
2235
- })), (u = n.logger) == null || u.log(pe.DEBUG, `Search results: ${JSON.stringify(o)}`);
2249
+ searchResultsCount: i,
2250
+ searchClientRequest: a
2251
+ })), (l = c.logger) == null || l.log(pe.DEBUG, `Search results: ${JSON.stringify(n)}`);
2236
2252
  },
2237
2253
  setInitialQuery: async (a) => {
2238
2254
  var n;
@@ -2249,13 +2265,7 @@ const Cs = {
2249
2265
  setSearchTerm: (a) => {
2250
2266
  const { core: o } = t();
2251
2267
  a.length === 0 && (o == null || o.handleInputCleared()), r.set({
2252
- searchTerm: a,
2253
- facetPathsForIndexFields: {},
2254
- ...a.trim().length === 0 && {
2255
- searchMode: "fuzzy",
2256
- sortType: null,
2257
- orderByField: null
2258
- }
2268
+ searchTerm: a
2259
2269
  });
2260
2270
  },
2261
2271
  setSearchClientResponseItems: (a) => r.set({ searchClientResponseItems: a }),
@@ -2267,7 +2277,7 @@ const Cs = {
2267
2277
  r.set({ searchResultsPerPage: a }), await r.search();
2268
2278
  },
2269
2279
  setHotKeyAndHotKeyModifier: (a, o) => {
2270
- const { hotkey: n, hotkeyModifier: c } = Cs;
2280
+ const { hotkey: n, hotkeyModifier: c } = Ss;
2271
2281
  r.set({
2272
2282
  hotkey: a || n,
2273
2283
  hotkeyModifier: o || c
@@ -2275,11 +2285,11 @@ const Cs = {
2275
2285
  }
2276
2286
  };
2277
2287
  return {
2278
- ...Cs,
2288
+ ...Ss,
2279
2289
  ...r
2280
2290
  };
2281
2291
  });
2282
- var Js = { exports: {} };
2292
+ var ea = { exports: {} };
2283
2293
  /*!
2284
2294
  Copyright (c) 2018 Jed Watson.
2285
2295
  Licensed under the MIT License (MIT), see
@@ -2314,14 +2324,14 @@ var Js = { exports: {} };
2314
2324
  }
2315
2325
  e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
2316
2326
  })();
2317
- })(Js);
2318
- const re = Js.exports;
2319
- var jo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ea = { exports: {} };
2327
+ })(ea);
2328
+ const re = ea.exports;
2329
+ var Wo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ta = { exports: {} };
2320
2330
  /*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */
2321
2331
  (function(e, t) {
2322
2332
  (function(r, s) {
2323
2333
  e.exports = s();
2324
- })(jo, function() {
2334
+ })(Wo, function() {
2325
2335
  const {
2326
2336
  entries: r,
2327
2337
  setPrototypeOf: s,
@@ -2332,68 +2342,68 @@ var jo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2332
2342
  let {
2333
2343
  freeze: c,
2334
2344
  seal: i,
2335
- create: u
2345
+ create: h
2336
2346
  } = Object, {
2337
- apply: h,
2347
+ apply: l,
2338
2348
  construct: p
2339
2349
  } = typeof Reflect < "u" && Reflect;
2340
2350
  c || (c = function(C) {
2341
2351
  return C;
2342
2352
  }), i || (i = function(C) {
2343
2353
  return C;
2344
- }), h || (h = function(C, $, R) {
2345
- return C.apply($, R);
2354
+ }), l || (l = function(C, $, x) {
2355
+ return C.apply($, x);
2346
2356
  }), p || (p = function(C, $) {
2347
2357
  return new C(...$);
2348
2358
  });
2349
- const m = q(Array.prototype.forEach), b = q(Array.prototype.lastIndexOf), y = q(Array.prototype.pop), T = q(Array.prototype.push), _ = q(Array.prototype.splice), L = q(String.prototype.toLowerCase), P = q(String.prototype.toString), ue = q(String.prototype.match), ae = q(String.prototype.replace), ke = q(String.prototype.indexOf), H = q(String.prototype.trim), ee = q(Object.prototype.hasOwnProperty), U = q(RegExp.prototype.test), xe = fa(TypeError);
2350
- function q(E) {
2359
+ const m = Y(Array.prototype.forEach), v = Y(Array.prototype.lastIndexOf), b = Y(Array.prototype.pop), T = Y(Array.prototype.push), _ = Y(Array.prototype.splice), F = Y(String.prototype.toLowerCase), P = Y(String.prototype.toString), ue = Y(String.prototype.match), ae = Y(String.prototype.replace), ke = Y(String.prototype.indexOf), H = Y(String.prototype.trim), ee = Y(Object.prototype.hasOwnProperty), U = Y(RegExp.prototype.test), Re = pa(TypeError);
2360
+ function Y(E) {
2351
2361
  return function(C) {
2352
- for (var $ = arguments.length, R = new Array($ > 1 ? $ - 1 : 0), W = 1; W < $; W++)
2353
- R[W - 1] = arguments[W];
2354
- return h(E, C, R);
2362
+ for (var $ = arguments.length, x = new Array($ > 1 ? $ - 1 : 0), W = 1; W < $; W++)
2363
+ x[W - 1] = arguments[W];
2364
+ return l(E, C, x);
2355
2365
  };
2356
2366
  }
2357
- function fa(E) {
2367
+ function pa(E) {
2358
2368
  return function() {
2359
- for (var C = arguments.length, $ = new Array(C), R = 0; R < C; R++)
2360
- $[R] = arguments[R];
2369
+ for (var C = arguments.length, $ = new Array(C), x = 0; x < C; x++)
2370
+ $[x] = arguments[x];
2361
2371
  return p(E, $);
2362
2372
  };
2363
2373
  }
2364
- function x(E, C) {
2365
- let $ = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : L;
2374
+ function R(E, C) {
2375
+ let $ = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : F;
2366
2376
  s && s(E, null);
2367
- let R = C.length;
2368
- for (; R--; ) {
2369
- let W = C[R];
2377
+ let x = C.length;
2378
+ for (; x--; ) {
2379
+ let W = C[x];
2370
2380
  if (typeof W == "string") {
2371
2381
  const he = $(W);
2372
- he !== W && (a(C) || (C[R] = he), W = he);
2382
+ he !== W && (a(C) || (C[x] = he), W = he);
2373
2383
  }
2374
2384
  E[W] = !0;
2375
2385
  }
2376
2386
  return E;
2377
2387
  }
2378
- function pa(E) {
2388
+ function ma(E) {
2379
2389
  for (let C = 0; C < E.length; C++)
2380
2390
  ee(E, C) || (E[C] = null);
2381
2391
  return E;
2382
2392
  }
2383
2393
  function Ee(E) {
2384
- const C = u(null);
2385
- for (const [$, R] of r(E))
2386
- ee(E, $) && (Array.isArray(R) ? C[$] = pa(R) : R && typeof R == "object" && R.constructor === Object ? C[$] = Ee(R) : C[$] = R);
2394
+ const C = h(null);
2395
+ for (const [$, x] of r(E))
2396
+ ee(E, $) && (Array.isArray(x) ? C[$] = ma(x) : x && typeof x == "object" && x.constructor === Object ? C[$] = Ee(x) : C[$] = x);
2387
2397
  return C;
2388
2398
  }
2389
2399
  function ze(E, C) {
2390
2400
  for (; E !== null; ) {
2391
- const R = n(E, C);
2392
- if (R) {
2393
- if (R.get)
2394
- return q(R.get);
2395
- if (typeof R.value == "function")
2396
- return q(R.value);
2401
+ const x = n(E, C);
2402
+ if (x) {
2403
+ if (x.get)
2404
+ return Y(x.get);
2405
+ if (typeof x.value == "function")
2406
+ return Y(x.value);
2397
2407
  }
2398
2408
  E = o(E);
2399
2409
  }
@@ -2402,25 +2412,25 @@ var jo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2402
2412
  }
2403
2413
  return $;
2404
2414
  }
2405
- const yr = c(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Tt = c(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Pt = c(["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"]), ma = c(["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"]), $t = c(["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"]), ga = c(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Cr = c(["#text"]), Sr = c(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), _t = c(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), wr = c(["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"]), st = c(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), va = i(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ba = i(/<%[\w\W]*|[\w\W]*%>/gm), ya = i(/\$\{[\w\W]*/gm), Ca = i(/^data-[\-\w.\u00B7-\uFFFF]+$/), Sa = i(/^aria-[\-\w]+$/), kr = i(
2415
+ const Cr = c(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Tt = c(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Pt = c(["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"]), ga = c(["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"]), $t = c(["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"]), va = c(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Sr = c(["#text"]), wr = c(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), _t = c(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), kr = c(["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"]), st = c(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), ba = i(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ya = i(/<%[\w\W]*|[\w\W]*%>/gm), Ca = i(/\$\{[\w\W]*/gm), Sa = i(/^data-[\-\w.\u00B7-\uFFFF]+$/), wa = i(/^aria-[\-\w]+$/), Rr = i(
2406
2416
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
2407
2417
  // eslint-disable-line no-useless-escape
2408
- ), wa = i(/^(?:\w+script|data):/i), ka = i(
2418
+ ), ka = i(/^(?:\w+script|data):/i), Ra = i(
2409
2419
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
2410
2420
  // eslint-disable-line no-control-regex
2411
- ), xr = i(/^html$/i), xa = i(/^[a-z][.\w]*(-[.\w]+)+$/i);
2412
- var Er = /* @__PURE__ */ Object.freeze({
2421
+ ), Er = i(/^html$/i), Ea = i(/^[a-z][.\w]*(-[.\w]+)+$/i);
2422
+ var xr = /* @__PURE__ */ Object.freeze({
2413
2423
  __proto__: null,
2414
- ARIA_ATTR: Sa,
2415
- ATTR_WHITESPACE: ka,
2416
- CUSTOM_ELEMENT: xa,
2417
- DATA_ATTR: Ca,
2418
- DOCTYPE_NAME: xr,
2419
- ERB_EXPR: ba,
2420
- IS_ALLOWED_URI: kr,
2421
- IS_SCRIPT_OR_DATA: wa,
2422
- MUSTACHE_EXPR: va,
2423
- TMPLIT_EXPR: ya
2424
+ ARIA_ATTR: wa,
2425
+ ATTR_WHITESPACE: Ra,
2426
+ CUSTOM_ELEMENT: Ea,
2427
+ DATA_ATTR: Sa,
2428
+ DOCTYPE_NAME: Er,
2429
+ ERB_EXPR: ya,
2430
+ IS_ALLOWED_URI: Rr,
2431
+ IS_SCRIPT_OR_DATA: ka,
2432
+ MUSTACHE_EXPR: ba,
2433
+ TMPLIT_EXPR: Ca
2424
2434
  });
2425
2435
  const Be = {
2426
2436
  element: 1,
@@ -2429,15 +2439,15 @@ var jo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2429
2439
  progressingInstruction: 7,
2430
2440
  comment: 8,
2431
2441
  document: 9
2432
- }, Ea = function() {
2442
+ }, xa = function() {
2433
2443
  return typeof window > "u" ? null : window;
2434
- }, Ra = function(C, $) {
2444
+ }, Ta = function(C, $) {
2435
2445
  if (typeof C != "object" || typeof C.createPolicy != "function")
2436
2446
  return null;
2437
- let R = null;
2447
+ let x = null;
2438
2448
  const W = "data-tt-policy-suffix";
2439
- $ && $.hasAttribute(W) && (R = $.getAttribute(W));
2440
- const he = "dompurify" + (R ? "#" + R : "");
2449
+ $ && $.hasAttribute(W) && (x = $.getAttribute(W));
2450
+ const he = "dompurify" + (x ? "#" + x : "");
2441
2451
  try {
2442
2452
  return C.createPolicy(he, {
2443
2453
  createHTML(Pe) {
@@ -2450,7 +2460,7 @@ var jo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2450
2460
  } catch {
2451
2461
  return console.warn("TrustedTypes policy " + he + " could not be created."), null;
2452
2462
  }
2453
- }, Rr = function() {
2463
+ }, Tr = function() {
2454
2464
  return {
2455
2465
  afterSanitizeAttributes: [],
2456
2466
  afterSanitizeElements: [],
@@ -2463,25 +2473,25 @@ var jo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2463
2473
  uponSanitizeShadowNode: []
2464
2474
  };
2465
2475
  };
2466
- function Tr() {
2467
- let E = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ea();
2468
- const C = (S) => Tr(S);
2476
+ function Pr() {
2477
+ let E = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : xa();
2478
+ const C = (S) => Pr(S);
2469
2479
  if (C.version = "3.2.4", C.removed = [], !E || !E.document || E.document.nodeType !== Be.document || !E.Element)
2470
2480
  return C.isSupported = !1, C;
2471
2481
  let {
2472
2482
  document: $
2473
2483
  } = E;
2474
- const R = $, W = R.currentScript, {
2484
+ const x = $, W = x.currentScript, {
2475
2485
  DocumentFragment: he,
2476
2486
  HTMLTemplateElement: Pe,
2477
2487
  Node: It,
2478
- Element: Pr,
2488
+ Element: $r,
2479
2489
  NodeFilter: Ve,
2480
- NamedNodeMap: Pa = E.NamedNodeMap || E.MozNamedAttrMap,
2481
- HTMLFormElement: $a,
2482
- DOMParser: _a,
2490
+ NamedNodeMap: $a = E.NamedNodeMap || E.MozNamedAttrMap,
2491
+ HTMLFormElement: _a,
2492
+ DOMParser: Ia,
2483
2493
  trustedTypes: at
2484
- } = E, je = Pr.prototype, Ia = ze(je, "cloneNode"), Aa = ze(je, "remove"), Ma = ze(je, "nextSibling"), Oa = ze(je, "childNodes"), nt = ze(je, "parentNode");
2494
+ } = E, je = $r.prototype, Aa = ze(je, "cloneNode"), Ma = ze(je, "remove"), Oa = ze(je, "nextSibling"), Fa = ze(je, "childNodes"), nt = ze(je, "parentNode");
2485
2495
  if (typeof Pe == "function") {
2486
2496
  const S = $.createElement("template");
2487
2497
  S.content && S.content.ownerDocument && ($ = S.content.ownerDocument);
@@ -2490,30 +2500,30 @@ var jo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2490
2500
  const {
2491
2501
  implementation: At,
2492
2502
  createNodeIterator: La,
2493
- createDocumentFragment: Fa,
2494
- getElementsByTagName: Da
2503
+ createDocumentFragment: Da,
2504
+ getElementsByTagName: Na
2495
2505
  } = $, {
2496
- importNode: Na
2497
- } = R;
2498
- let Q = Rr();
2506
+ importNode: Ha
2507
+ } = x;
2508
+ let Q = Tr();
2499
2509
  C.isSupported = typeof r == "function" && typeof nt == "function" && At && At.createHTMLDocument !== void 0;
2500
2510
  const {
2501
2511
  MUSTACHE_EXPR: Mt,
2502
2512
  ERB_EXPR: Ot,
2503
- TMPLIT_EXPR: Lt,
2504
- DATA_ATTR: Ha,
2505
- ARIA_ATTR: Ua,
2506
- IS_SCRIPT_OR_DATA: za,
2507
- ATTR_WHITESPACE: $r,
2508
- CUSTOM_ELEMENT: Ba
2509
- } = Er;
2513
+ TMPLIT_EXPR: Ft,
2514
+ DATA_ATTR: Ua,
2515
+ ARIA_ATTR: za,
2516
+ IS_SCRIPT_OR_DATA: Ba,
2517
+ ATTR_WHITESPACE: _r,
2518
+ CUSTOM_ELEMENT: Va
2519
+ } = xr;
2510
2520
  let {
2511
- IS_ALLOWED_URI: _r
2512
- } = Er, z = null;
2513
- const Ir = x({}, [...yr, ...Tt, ...Pt, ...$t, ...Cr]);
2521
+ IS_ALLOWED_URI: Ir
2522
+ } = xr, z = null;
2523
+ const Ar = R({}, [...Cr, ...Tt, ...Pt, ...$t, ...Sr]);
2514
2524
  let V = null;
2515
- const Ar = x({}, [...Sr, ..._t, ...wr, ...st]);
2516
- let F = Object.seal(u(null, {
2525
+ const Mr = R({}, [...wr, ..._t, ...kr, ...st]);
2526
+ let L = Object.seal(h(null, {
2517
2527
  tagNameCheck: {
2518
2528
  writable: !0,
2519
2529
  configurable: !1,
@@ -2532,45 +2542,45 @@ var jo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2532
2542
  enumerable: !0,
2533
2543
  value: !1
2534
2544
  }
2535
- })), Ge = null, Ft = null, Mr = !0, Dt = !0, Or = !1, Lr = !0, $e = !1, Nt = !0, Re = !1, Ht = !1, Ut = !1, _e = !1, ot = !1, ct = !1, Fr = !0, Dr = !1;
2536
- const Va = "user-content-";
2537
- let zt = !0, Ye = !1, Ie = {}, Ae = null;
2538
- const Nr = x({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
2539
- let Hr = null;
2540
- const Ur = x({}, ["audio", "video", "img", "source", "image", "track"]);
2545
+ })), Ge = null, Lt = null, Or = !0, Dt = !0, Fr = !1, Lr = !0, $e = !1, Nt = !0, xe = !1, Ht = !1, Ut = !1, _e = !1, ot = !1, ct = !1, Dr = !0, Nr = !1;
2546
+ const ja = "user-content-";
2547
+ let zt = !0, qe = !1, Ie = {}, Ae = null;
2548
+ const Hr = R({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
2549
+ let Ur = null;
2550
+ const zr = R({}, ["audio", "video", "img", "source", "image", "track"]);
2541
2551
  let Bt = null;
2542
- const zr = x({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), it = "http://www.w3.org/1998/Math/MathML", lt = "http://www.w3.org/2000/svg", de = "http://www.w3.org/1999/xhtml";
2552
+ const Br = R({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), it = "http://www.w3.org/1998/Math/MathML", lt = "http://www.w3.org/2000/svg", de = "http://www.w3.org/1999/xhtml";
2543
2553
  let Me = de, Vt = !1, jt = null;
2544
- const ja = x({}, [it, lt, de], P);
2545
- let ut = x({}, ["mi", "mo", "mn", "ms", "mtext"]), ht = x({}, ["annotation-xml"]);
2546
- const Wa = x({}, ["title", "style", "font", "a", "script"]);
2547
- let qe = null;
2548
- const Ga = ["application/xhtml+xml", "text/html"], Ya = "text/html";
2554
+ const Wa = R({}, [it, lt, de], P);
2555
+ let ut = R({}, ["mi", "mo", "mn", "ms", "mtext"]), ht = R({}, ["annotation-xml"]);
2556
+ const Ga = R({}, ["title", "style", "font", "a", "script"]);
2557
+ let Ye = null;
2558
+ const qa = ["application/xhtml+xml", "text/html"], Ya = "text/html";
2549
2559
  let B = null, Oe = null;
2550
- const qa = $.createElement("form"), Br = function(d) {
2560
+ const Za = $.createElement("form"), Vr = function(d) {
2551
2561
  return d instanceof RegExp || d instanceof Function;
2552
2562
  }, Wt = function() {
2553
2563
  let d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2554
2564
  if (!(Oe && Oe === d)) {
2555
- if ((!d || typeof d != "object") && (d = {}), d = Ee(d), qe = // eslint-disable-next-line unicorn/prefer-includes
2556
- Ga.indexOf(d.PARSER_MEDIA_TYPE) === -1 ? Ya : d.PARSER_MEDIA_TYPE, B = qe === "application/xhtml+xml" ? P : L, z = ee(d, "ALLOWED_TAGS") ? x({}, d.ALLOWED_TAGS, B) : Ir, V = ee(d, "ALLOWED_ATTR") ? x({}, d.ALLOWED_ATTR, B) : Ar, jt = ee(d, "ALLOWED_NAMESPACES") ? x({}, d.ALLOWED_NAMESPACES, P) : ja, Bt = ee(d, "ADD_URI_SAFE_ATTR") ? x(Ee(zr), d.ADD_URI_SAFE_ATTR, B) : zr, Hr = ee(d, "ADD_DATA_URI_TAGS") ? x(Ee(Ur), d.ADD_DATA_URI_TAGS, B) : Ur, Ae = ee(d, "FORBID_CONTENTS") ? x({}, d.FORBID_CONTENTS, B) : Nr, Ge = ee(d, "FORBID_TAGS") ? x({}, d.FORBID_TAGS, B) : {}, Ft = ee(d, "FORBID_ATTR") ? x({}, d.FORBID_ATTR, B) : {}, Ie = ee(d, "USE_PROFILES") ? d.USE_PROFILES : !1, Mr = d.ALLOW_ARIA_ATTR !== !1, Dt = d.ALLOW_DATA_ATTR !== !1, Or = d.ALLOW_UNKNOWN_PROTOCOLS || !1, Lr = d.ALLOW_SELF_CLOSE_IN_ATTR !== !1, $e = d.SAFE_FOR_TEMPLATES || !1, Nt = d.SAFE_FOR_XML !== !1, Re = d.WHOLE_DOCUMENT || !1, _e = d.RETURN_DOM || !1, ot = d.RETURN_DOM_FRAGMENT || !1, ct = d.RETURN_TRUSTED_TYPE || !1, Ut = d.FORCE_BODY || !1, Fr = d.SANITIZE_DOM !== !1, Dr = d.SANITIZE_NAMED_PROPS || !1, zt = d.KEEP_CONTENT !== !1, Ye = d.IN_PLACE || !1, _r = d.ALLOWED_URI_REGEXP || kr, Me = d.NAMESPACE || de, ut = d.MATHML_TEXT_INTEGRATION_POINTS || ut, ht = d.HTML_INTEGRATION_POINTS || ht, F = d.CUSTOM_ELEMENT_HANDLING || {}, d.CUSTOM_ELEMENT_HANDLING && Br(d.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (F.tagNameCheck = d.CUSTOM_ELEMENT_HANDLING.tagNameCheck), d.CUSTOM_ELEMENT_HANDLING && Br(d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (F.attributeNameCheck = d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), d.CUSTOM_ELEMENT_HANDLING && typeof d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (F.allowCustomizedBuiltInElements = d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), $e && (Dt = !1), ot && (_e = !0), Ie && (z = x({}, Cr), V = [], Ie.html === !0 && (x(z, yr), x(V, Sr)), Ie.svg === !0 && (x(z, Tt), x(V, _t), x(V, st)), Ie.svgFilters === !0 && (x(z, Pt), x(V, _t), x(V, st)), Ie.mathMl === !0 && (x(z, $t), x(V, wr), x(V, st))), d.ADD_TAGS && (z === Ir && (z = Ee(z)), x(z, d.ADD_TAGS, B)), d.ADD_ATTR && (V === Ar && (V = Ee(V)), x(V, d.ADD_ATTR, B)), d.ADD_URI_SAFE_ATTR && x(Bt, d.ADD_URI_SAFE_ATTR, B), d.FORBID_CONTENTS && (Ae === Nr && (Ae = Ee(Ae)), x(Ae, d.FORBID_CONTENTS, B)), zt && (z["#text"] = !0), Re && x(z, ["html", "head", "body"]), z.table && (x(z, ["tbody"]), delete Ge.tbody), d.TRUSTED_TYPES_POLICY) {
2565
+ if ((!d || typeof d != "object") && (d = {}), d = Ee(d), Ye = // eslint-disable-next-line unicorn/prefer-includes
2566
+ qa.indexOf(d.PARSER_MEDIA_TYPE) === -1 ? Ya : d.PARSER_MEDIA_TYPE, B = Ye === "application/xhtml+xml" ? P : F, z = ee(d, "ALLOWED_TAGS") ? R({}, d.ALLOWED_TAGS, B) : Ar, V = ee(d, "ALLOWED_ATTR") ? R({}, d.ALLOWED_ATTR, B) : Mr, jt = ee(d, "ALLOWED_NAMESPACES") ? R({}, d.ALLOWED_NAMESPACES, P) : Wa, Bt = ee(d, "ADD_URI_SAFE_ATTR") ? R(Ee(Br), d.ADD_URI_SAFE_ATTR, B) : Br, Ur = ee(d, "ADD_DATA_URI_TAGS") ? R(Ee(zr), d.ADD_DATA_URI_TAGS, B) : zr, Ae = ee(d, "FORBID_CONTENTS") ? R({}, d.FORBID_CONTENTS, B) : Hr, Ge = ee(d, "FORBID_TAGS") ? R({}, d.FORBID_TAGS, B) : {}, Lt = ee(d, "FORBID_ATTR") ? R({}, d.FORBID_ATTR, B) : {}, Ie = ee(d, "USE_PROFILES") ? d.USE_PROFILES : !1, Or = d.ALLOW_ARIA_ATTR !== !1, Dt = d.ALLOW_DATA_ATTR !== !1, Fr = d.ALLOW_UNKNOWN_PROTOCOLS || !1, Lr = d.ALLOW_SELF_CLOSE_IN_ATTR !== !1, $e = d.SAFE_FOR_TEMPLATES || !1, Nt = d.SAFE_FOR_XML !== !1, xe = d.WHOLE_DOCUMENT || !1, _e = d.RETURN_DOM || !1, ot = d.RETURN_DOM_FRAGMENT || !1, ct = d.RETURN_TRUSTED_TYPE || !1, Ut = d.FORCE_BODY || !1, Dr = d.SANITIZE_DOM !== !1, Nr = d.SANITIZE_NAMED_PROPS || !1, zt = d.KEEP_CONTENT !== !1, qe = d.IN_PLACE || !1, Ir = d.ALLOWED_URI_REGEXP || Rr, Me = d.NAMESPACE || de, ut = d.MATHML_TEXT_INTEGRATION_POINTS || ut, ht = d.HTML_INTEGRATION_POINTS || ht, L = d.CUSTOM_ELEMENT_HANDLING || {}, d.CUSTOM_ELEMENT_HANDLING && Vr(d.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (L.tagNameCheck = d.CUSTOM_ELEMENT_HANDLING.tagNameCheck), d.CUSTOM_ELEMENT_HANDLING && Vr(d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (L.attributeNameCheck = d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), d.CUSTOM_ELEMENT_HANDLING && typeof d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (L.allowCustomizedBuiltInElements = d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), $e && (Dt = !1), ot && (_e = !0), Ie && (z = R({}, Sr), V = [], Ie.html === !0 && (R(z, Cr), R(V, wr)), Ie.svg === !0 && (R(z, Tt), R(V, _t), R(V, st)), Ie.svgFilters === !0 && (R(z, Pt), R(V, _t), R(V, st)), Ie.mathMl === !0 && (R(z, $t), R(V, kr), R(V, st))), d.ADD_TAGS && (z === Ar && (z = Ee(z)), R(z, d.ADD_TAGS, B)), d.ADD_ATTR && (V === Mr && (V = Ee(V)), R(V, d.ADD_ATTR, B)), d.ADD_URI_SAFE_ATTR && R(Bt, d.ADD_URI_SAFE_ATTR, B), d.FORBID_CONTENTS && (Ae === Hr && (Ae = Ee(Ae)), R(Ae, d.FORBID_CONTENTS, B)), zt && (z["#text"] = !0), xe && R(z, ["html", "head", "body"]), z.table && (R(z, ["tbody"]), delete Ge.tbody), d.TRUSTED_TYPES_POLICY) {
2557
2567
  if (typeof d.TRUSTED_TYPES_POLICY.createHTML != "function")
2558
- throw xe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
2568
+ throw Re('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
2559
2569
  if (typeof d.TRUSTED_TYPES_POLICY.createScriptURL != "function")
2560
- throw xe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
2570
+ throw Re('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
2561
2571
  Z = d.TRUSTED_TYPES_POLICY, We = Z.createHTML("");
2562
2572
  } else
2563
- Z === void 0 && (Z = Ra(at, W)), Z !== null && typeof We == "string" && (We = Z.createHTML(""));
2573
+ Z === void 0 && (Z = Ta(at, W)), Z !== null && typeof We == "string" && (We = Z.createHTML(""));
2564
2574
  c && c(d), Oe = d;
2565
2575
  }
2566
- }, Vr = x({}, [...Tt, ...Pt, ...ma]), jr = x({}, [...$t, ...ga]), Za = function(d) {
2576
+ }, jr = R({}, [...Tt, ...Pt, ...ga]), Wr = R({}, [...$t, ...va]), Qa = function(d) {
2567
2577
  let g = nt(d);
2568
2578
  (!g || !g.tagName) && (g = {
2569
2579
  namespaceURI: Me,
2570
2580
  tagName: "template"
2571
2581
  });
2572
- const v = L(d.tagName), M = L(g.tagName);
2573
- return jt[d.namespaceURI] ? d.namespaceURI === lt ? g.namespaceURI === de ? v === "svg" : g.namespaceURI === it ? v === "svg" && (M === "annotation-xml" || ut[M]) : !!Vr[v] : d.namespaceURI === it ? g.namespaceURI === de ? v === "math" : g.namespaceURI === lt ? v === "math" && ht[M] : !!jr[v] : d.namespaceURI === de ? g.namespaceURI === lt && !ht[M] || g.namespaceURI === it && !ut[M] ? !1 : !jr[v] && (Wa[v] || !Vr[v]) : !!(qe === "application/xhtml+xml" && jt[d.namespaceURI]) : !1;
2582
+ const y = F(d.tagName), M = F(g.tagName);
2583
+ return jt[d.namespaceURI] ? d.namespaceURI === lt ? g.namespaceURI === de ? y === "svg" : g.namespaceURI === it ? y === "svg" && (M === "annotation-xml" || ut[M]) : !!jr[y] : d.namespaceURI === it ? g.namespaceURI === de ? y === "math" : g.namespaceURI === lt ? y === "math" && ht[M] : !!Wr[y] : d.namespaceURI === de ? g.namespaceURI === lt && !ht[M] || g.namespaceURI === it && !ut[M] ? !1 : !Wr[y] && (Ga[y] || !jr[y]) : !!(Ye === "application/xhtml+xml" && jt[d.namespaceURI]) : !1;
2574
2584
  }, ie = function(d) {
2575
2585
  T(C.removed, {
2576
2586
  element: d
@@ -2578,7 +2588,7 @@ var jo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2578
2588
  try {
2579
2589
  nt(d).removeChild(d);
2580
2590
  } catch {
2581
- Aa(d);
2591
+ Ma(d);
2582
2592
  }
2583
2593
  }, dt = function(d, g) {
2584
2594
  try {
@@ -2603,19 +2613,19 @@ var jo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2603
2613
  g.setAttribute(d, "");
2604
2614
  } catch {
2605
2615
  }
2606
- }, Wr = function(d) {
2607
- let g = null, v = null;
2616
+ }, Gr = function(d) {
2617
+ let g = null, y = null;
2608
2618
  if (Ut)
2609
2619
  d = "<remove></remove>" + d;
2610
2620
  else {
2611
2621
  const j = ue(d, /^[\r\n\t ]+/);
2612
- v = j && j[0];
2622
+ y = j && j[0];
2613
2623
  }
2614
- qe === "application/xhtml+xml" && Me === de && (d = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + d + "</body></html>");
2624
+ Ye === "application/xhtml+xml" && Me === de && (d = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + d + "</body></html>");
2615
2625
  const M = Z ? Z.createHTML(d) : d;
2616
2626
  if (Me === de)
2617
2627
  try {
2618
- g = new _a().parseFromString(M, qe);
2628
+ g = new Ia().parseFromString(M, Ye);
2619
2629
  } catch {
2620
2630
  }
2621
2631
  if (!g || !g.documentElement) {
@@ -2626,8 +2636,8 @@ var jo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2626
2636
  }
2627
2637
  }
2628
2638
  const G = g.body || g.documentElement;
2629
- return d && v && G.insertBefore($.createTextNode(v), G.childNodes[0] || null), Me === de ? Da.call(g, Re ? "html" : "body")[0] : Re ? g.documentElement : G;
2630
- }, Gr = function(d) {
2639
+ return d && y && G.insertBefore($.createTextNode(y), G.childNodes[0] || null), Me === de ? Na.call(g, xe ? "html" : "body")[0] : xe ? g.documentElement : G;
2640
+ }, qr = function(d) {
2631
2641
  return La.call(
2632
2642
  d.ownerDocument || d,
2633
2643
  d,
@@ -2636,64 +2646,64 @@ var jo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2636
2646
  null
2637
2647
  );
2638
2648
  }, Gt = function(d) {
2639
- return d instanceof $a && (typeof d.nodeName != "string" || typeof d.textContent != "string" || typeof d.removeChild != "function" || !(d.attributes instanceof Pa) || typeof d.removeAttribute != "function" || typeof d.setAttribute != "function" || typeof d.namespaceURI != "string" || typeof d.insertBefore != "function" || typeof d.hasChildNodes != "function");
2649
+ return d instanceof _a && (typeof d.nodeName != "string" || typeof d.textContent != "string" || typeof d.removeChild != "function" || !(d.attributes instanceof $a) || typeof d.removeAttribute != "function" || typeof d.setAttribute != "function" || typeof d.namespaceURI != "string" || typeof d.insertBefore != "function" || typeof d.hasChildNodes != "function");
2640
2650
  }, Yr = function(d) {
2641
2651
  return typeof It == "function" && d instanceof It;
2642
2652
  };
2643
2653
  function fe(S, d, g) {
2644
- m(S, (v) => {
2645
- v.call(C, d, g, Oe);
2654
+ m(S, (y) => {
2655
+ y.call(C, d, g, Oe);
2646
2656
  });
2647
2657
  }
2648
- const qr = function(d) {
2658
+ const Zr = function(d) {
2649
2659
  let g = null;
2650
2660
  if (fe(Q.beforeSanitizeElements, d, null), Gt(d))
2651
2661
  return ie(d), !0;
2652
- const v = B(d.nodeName);
2662
+ const y = B(d.nodeName);
2653
2663
  if (fe(Q.uponSanitizeElement, d, {
2654
- tagName: v,
2664
+ tagName: y,
2655
2665
  allowedTags: z
2656
2666
  }), d.hasChildNodes() && !Yr(d.firstElementChild) && U(/<[/\w]/g, d.innerHTML) && U(/<[/\w]/g, d.textContent) || d.nodeType === Be.progressingInstruction || Nt && d.nodeType === Be.comment && U(/<[/\w]/g, d.data))
2657
2667
  return ie(d), !0;
2658
- if (!z[v] || Ge[v]) {
2659
- if (!Ge[v] && Qr(v) && (F.tagNameCheck instanceof RegExp && U(F.tagNameCheck, v) || F.tagNameCheck instanceof Function && F.tagNameCheck(v)))
2668
+ if (!z[y] || Ge[y]) {
2669
+ if (!Ge[y] && Kr(y) && (L.tagNameCheck instanceof RegExp && U(L.tagNameCheck, y) || L.tagNameCheck instanceof Function && L.tagNameCheck(y)))
2660
2670
  return !1;
2661
- if (zt && !Ae[v]) {
2662
- const M = nt(d) || d.parentNode, G = Oa(d) || d.childNodes;
2671
+ if (zt && !Ae[y]) {
2672
+ const M = nt(d) || d.parentNode, G = Fa(d) || d.childNodes;
2663
2673
  if (G && M) {
2664
2674
  const j = G.length;
2665
2675
  for (let te = j - 1; te >= 0; --te) {
2666
- const le = Ia(G[te], !0);
2667
- le.__removalCount = (d.__removalCount || 0) + 1, M.insertBefore(le, Ma(d));
2676
+ const le = Aa(G[te], !0);
2677
+ le.__removalCount = (d.__removalCount || 0) + 1, M.insertBefore(le, Oa(d));
2668
2678
  }
2669
2679
  }
2670
2680
  }
2671
2681
  return ie(d), !0;
2672
2682
  }
2673
- return d instanceof Pr && !Za(d) || (v === "noscript" || v === "noembed" || v === "noframes") && U(/<\/no(script|embed|frames)/i, d.innerHTML) ? (ie(d), !0) : ($e && d.nodeType === Be.text && (g = d.textContent, m([Mt, Ot, Lt], (M) => {
2683
+ return d instanceof $r && !Qa(d) || (y === "noscript" || y === "noembed" || y === "noframes") && U(/<\/no(script|embed|frames)/i, d.innerHTML) ? (ie(d), !0) : ($e && d.nodeType === Be.text && (g = d.textContent, m([Mt, Ot, Ft], (M) => {
2674
2684
  g = ae(g, M, " ");
2675
2685
  }), d.textContent !== g && (T(C.removed, {
2676
2686
  element: d.cloneNode()
2677
2687
  }), d.textContent = g)), fe(Q.afterSanitizeElements, d, null), !1);
2678
- }, Zr = function(d, g, v) {
2679
- if (Fr && (g === "id" || g === "name") && (v in $ || v in qa))
2688
+ }, Qr = function(d, g, y) {
2689
+ if (Dr && (g === "id" || g === "name") && (y in $ || y in Za))
2680
2690
  return !1;
2681
- if (!(Dt && !Ft[g] && U(Ha, g))) {
2682
- if (!(Mr && U(Ua, g))) {
2683
- if (!V[g] || Ft[g]) {
2691
+ if (!(Dt && !Lt[g] && U(Ua, g))) {
2692
+ if (!(Or && U(za, g))) {
2693
+ if (!V[g] || Lt[g]) {
2684
2694
  if (
2685
2695
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
2686
2696
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
2687
2697
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
2688
- !(Qr(d) && (F.tagNameCheck instanceof RegExp && U(F.tagNameCheck, d) || F.tagNameCheck instanceof Function && F.tagNameCheck(d)) && (F.attributeNameCheck instanceof RegExp && U(F.attributeNameCheck, g) || F.attributeNameCheck instanceof Function && F.attributeNameCheck(g)) || // Alternative, second condition checks if it's an `is`-attribute, AND
2698
+ !(Kr(d) && (L.tagNameCheck instanceof RegExp && U(L.tagNameCheck, d) || L.tagNameCheck instanceof Function && L.tagNameCheck(d)) && (L.attributeNameCheck instanceof RegExp && U(L.attributeNameCheck, g) || L.attributeNameCheck instanceof Function && L.attributeNameCheck(g)) || // Alternative, second condition checks if it's an `is`-attribute, AND
2689
2699
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
2690
- g === "is" && F.allowCustomizedBuiltInElements && (F.tagNameCheck instanceof RegExp && U(F.tagNameCheck, v) || F.tagNameCheck instanceof Function && F.tagNameCheck(v)))
2700
+ g === "is" && L.allowCustomizedBuiltInElements && (L.tagNameCheck instanceof RegExp && U(L.tagNameCheck, y) || L.tagNameCheck instanceof Function && L.tagNameCheck(y)))
2691
2701
  ) return !1;
2692
2702
  } else if (!Bt[g]) {
2693
- if (!U(_r, ae(v, $r, ""))) {
2694
- if (!((g === "src" || g === "xlink:href" || g === "href") && d !== "script" && ke(v, "data:") === 0 && Hr[d])) {
2695
- if (!(Or && !U(za, ae(v, $r, "")))) {
2696
- if (v)
2703
+ if (!U(Ir, ae(y, _r, ""))) {
2704
+ if (!((g === "src" || g === "xlink:href" || g === "href") && d !== "script" && ke(y, "data:") === 0 && Ur[d])) {
2705
+ if (!(Fr && !U(Ba, ae(y, _r, "")))) {
2706
+ if (y)
2697
2707
  return !1;
2698
2708
  }
2699
2709
  }
@@ -2702,16 +2712,16 @@ var jo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2702
2712
  }
2703
2713
  }
2704
2714
  return !0;
2705
- }, Qr = function(d) {
2706
- return d !== "annotation-xml" && ue(d, Ba);
2707
2715
  }, Kr = function(d) {
2716
+ return d !== "annotation-xml" && ue(d, Va);
2717
+ }, Xr = function(d) {
2708
2718
  fe(Q.beforeSanitizeAttributes, d, null);
2709
2719
  const {
2710
2720
  attributes: g
2711
2721
  } = d;
2712
2722
  if (!g || Gt(d))
2713
2723
  return;
2714
- const v = {
2724
+ const y = {
2715
2725
  attrName: "",
2716
2726
  attrValue: "",
2717
2727
  keepAttr: !0,
@@ -2726,23 +2736,23 @@ var jo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2726
2736
  value: le
2727
2737
  } = G, Ze = B(j);
2728
2738
  let K = j === "value" ? le : H(le);
2729
- if (v.attrName = Ze, v.attrValue = K, v.keepAttr = !0, v.forceKeepAttr = void 0, fe(Q.uponSanitizeAttribute, d, v), K = v.attrValue, Dr && (Ze === "id" || Ze === "name") && (dt(j, d), K = Va + K), Nt && U(/((--!?|])>)|<\/(style|title)/i, K)) {
2739
+ if (y.attrName = Ze, y.attrValue = K, y.keepAttr = !0, y.forceKeepAttr = void 0, fe(Q.uponSanitizeAttribute, d, y), K = y.attrValue, Nr && (Ze === "id" || Ze === "name") && (dt(j, d), K = ja + K), Nt && U(/((--!?|])>)|<\/(style|title)/i, K)) {
2730
2740
  dt(j, d);
2731
2741
  continue;
2732
2742
  }
2733
- if (v.forceKeepAttr || (dt(j, d), !v.keepAttr))
2743
+ if (y.forceKeepAttr || (dt(j, d), !y.keepAttr))
2734
2744
  continue;
2735
2745
  if (!Lr && U(/\/>/i, K)) {
2736
2746
  dt(j, d);
2737
2747
  continue;
2738
2748
  }
2739
- $e && m([Mt, Ot, Lt], (Jr) => {
2740
- K = ae(K, Jr, " ");
2749
+ $e && m([Mt, Ot, Ft], (es) => {
2750
+ K = ae(K, es, " ");
2741
2751
  });
2742
- const Xr = B(d.nodeName);
2743
- if (Zr(Xr, Ze, K)) {
2752
+ const Jr = B(d.nodeName);
2753
+ if (Qr(Jr, Ze, K)) {
2744
2754
  if (Z && typeof at == "object" && typeof at.getAttributeType == "function" && !te)
2745
- switch (at.getAttributeType(Xr, Ze)) {
2755
+ switch (at.getAttributeType(Jr, Ze)) {
2746
2756
  case "TrustedHTML": {
2747
2757
  K = Z.createHTML(K);
2748
2758
  break;
@@ -2753,61 +2763,61 @@ var jo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2753
2763
  }
2754
2764
  }
2755
2765
  try {
2756
- te ? d.setAttributeNS(te, j, K) : d.setAttribute(j, K), Gt(d) ? ie(d) : y(C.removed);
2766
+ te ? d.setAttributeNS(te, j, K) : d.setAttribute(j, K), Gt(d) ? ie(d) : b(C.removed);
2757
2767
  } catch {
2758
2768
  }
2759
2769
  }
2760
2770
  }
2761
2771
  fe(Q.afterSanitizeAttributes, d, null);
2762
- }, Qa = function S(d) {
2772
+ }, Ka = function S(d) {
2763
2773
  let g = null;
2764
- const v = Gr(d);
2765
- for (fe(Q.beforeSanitizeShadowDOM, d, null); g = v.nextNode(); )
2766
- fe(Q.uponSanitizeShadowNode, g, null), qr(g), Kr(g), g.content instanceof he && S(g.content);
2774
+ const y = qr(d);
2775
+ for (fe(Q.beforeSanitizeShadowDOM, d, null); g = y.nextNode(); )
2776
+ fe(Q.uponSanitizeShadowNode, g, null), Zr(g), Xr(g), g.content instanceof he && S(g.content);
2767
2777
  fe(Q.afterSanitizeShadowDOM, d, null);
2768
2778
  };
2769
2779
  return C.sanitize = function(S) {
2770
- let d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, g = null, v = null, M = null, G = null;
2780
+ let d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, g = null, y = null, M = null, G = null;
2771
2781
  if (Vt = !S, Vt && (S = "<!-->"), typeof S != "string" && !Yr(S))
2772
2782
  if (typeof S.toString == "function") {
2773
2783
  if (S = S.toString(), typeof S != "string")
2774
- throw xe("dirty is not a string, aborting");
2784
+ throw Re("dirty is not a string, aborting");
2775
2785
  } else
2776
- throw xe("toString is not a function");
2786
+ throw Re("toString is not a function");
2777
2787
  if (!C.isSupported)
2778
2788
  return S;
2779
- if (Ht || Wt(d), C.removed = [], typeof S == "string" && (Ye = !1), Ye) {
2789
+ if (Ht || Wt(d), C.removed = [], typeof S == "string" && (qe = !1), qe) {
2780
2790
  if (S.nodeName) {
2781
2791
  const le = B(S.nodeName);
2782
2792
  if (!z[le] || Ge[le])
2783
- throw xe("root node is forbidden and cannot be sanitized in-place");
2793
+ throw Re("root node is forbidden and cannot be sanitized in-place");
2784
2794
  }
2785
2795
  } else if (S instanceof It)
2786
- g = Wr("<!---->"), v = g.ownerDocument.importNode(S, !0), v.nodeType === Be.element && v.nodeName === "BODY" || v.nodeName === "HTML" ? g = v : g.appendChild(v);
2796
+ g = Gr("<!---->"), y = g.ownerDocument.importNode(S, !0), y.nodeType === Be.element && y.nodeName === "BODY" || y.nodeName === "HTML" ? g = y : g.appendChild(y);
2787
2797
  else {
2788
- if (!_e && !$e && !Re && // eslint-disable-next-line unicorn/prefer-includes
2798
+ if (!_e && !$e && !xe && // eslint-disable-next-line unicorn/prefer-includes
2789
2799
  S.indexOf("<") === -1)
2790
2800
  return Z && ct ? Z.createHTML(S) : S;
2791
- if (g = Wr(S), !g)
2801
+ if (g = Gr(S), !g)
2792
2802
  return _e ? null : ct ? We : "";
2793
2803
  }
2794
2804
  g && Ut && ie(g.firstChild);
2795
- const j = Gr(Ye ? S : g);
2805
+ const j = qr(qe ? S : g);
2796
2806
  for (; M = j.nextNode(); )
2797
- qr(M), Kr(M), M.content instanceof he && Qa(M.content);
2798
- if (Ye)
2807
+ Zr(M), Xr(M), M.content instanceof he && Ka(M.content);
2808
+ if (qe)
2799
2809
  return S;
2800
2810
  if (_e) {
2801
2811
  if (ot)
2802
- for (G = Fa.call(g.ownerDocument); g.firstChild; )
2812
+ for (G = Da.call(g.ownerDocument); g.firstChild; )
2803
2813
  G.appendChild(g.firstChild);
2804
2814
  else
2805
2815
  G = g;
2806
- return (V.shadowroot || V.shadowrootmode) && (G = Na.call(R, G, !0)), G;
2816
+ return (V.shadowroot || V.shadowrootmode) && (G = Ha.call(x, G, !0)), G;
2807
2817
  }
2808
- let te = Re ? g.outerHTML : g.innerHTML;
2809
- return Re && z["!doctype"] && g.ownerDocument && g.ownerDocument.doctype && g.ownerDocument.doctype.name && U(xr, g.ownerDocument.doctype.name) && (te = "<!DOCTYPE " + g.ownerDocument.doctype.name + `>
2810
- ` + te), $e && m([Mt, Ot, Lt], (le) => {
2818
+ let te = xe ? g.outerHTML : g.innerHTML;
2819
+ return xe && z["!doctype"] && g.ownerDocument && g.ownerDocument.doctype && g.ownerDocument.doctype.name && U(Er, g.ownerDocument.doctype.name) && (te = "<!DOCTYPE " + g.ownerDocument.doctype.name + `>
2820
+ ` + te), $e && m([Mt, Ot, Ft], (le) => {
2811
2821
  te = ae(te, le, " ");
2812
2822
  }), Z && ct ? Z.createHTML(te) : te;
2813
2823
  }, C.setConfig = function() {
@@ -2817,36 +2827,36 @@ var jo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2817
2827
  Oe = null, Ht = !1;
2818
2828
  }, C.isValidAttribute = function(S, d, g) {
2819
2829
  Oe || Wt({});
2820
- const v = B(S), M = B(d);
2821
- return Zr(v, M, g);
2830
+ const y = B(S), M = B(d);
2831
+ return Qr(y, M, g);
2822
2832
  }, C.addHook = function(S, d) {
2823
2833
  typeof d == "function" && T(Q[S], d);
2824
2834
  }, C.removeHook = function(S, d) {
2825
2835
  if (d !== void 0) {
2826
- const g = b(Q[S], d);
2836
+ const g = v(Q[S], d);
2827
2837
  return g === -1 ? void 0 : _(Q[S], g, 1)[0];
2828
2838
  }
2829
- return y(Q[S]);
2839
+ return b(Q[S]);
2830
2840
  }, C.removeHooks = function(S) {
2831
2841
  Q[S] = [];
2832
2842
  }, C.removeAllHooks = function() {
2833
- Q = Rr();
2843
+ Q = Tr();
2834
2844
  }, C;
2835
2845
  }
2836
- var Ta = Tr();
2837
- return Ta;
2846
+ var Pa = Pr();
2847
+ return Pa;
2838
2848
  });
2839
- })(ea);
2840
- const Wo = ea.exports, rt = (e, ...t) => {
2849
+ })(ta);
2850
+ const Go = ta.exports, rt = (e, ...t) => {
2841
2851
  let r = e[0];
2842
2852
  for (let s = 0; s < t.length; s++)
2843
- r += Wo.sanitize(t[s] ? String(t[s]) : "") + e[s + 1];
2853
+ r += Go.sanitize(t[s] ? String(t[s]) : "") + e[s + 1];
2844
2854
  return r || "";
2845
- }, Go = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
2855
+ }, qo = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
2846
2856
  let J = (e = 21) => {
2847
2857
  let t = "", r = crypto.getRandomValues(new Uint8Array(e |= 0));
2848
2858
  for (; e--; )
2849
- t += Go[r[e] & 63];
2859
+ t += qo[r[e] & 63];
2850
2860
  return t;
2851
2861
  };
2852
2862
  const Yo = /* @__PURE__ */ N(class extends D {
@@ -2894,7 +2904,7 @@ const Yo = /* @__PURE__ */ N(class extends D {
2894
2904
  if (!r.admAd)
2895
2905
  return;
2896
2906
  let s = "<p>Ad Marketplace Ad Placeholder</p>";
2897
- return (o = (a = this.core) == null ? void 0 : a.config) != null && o.admAdTemplate && (s = (c = (n = this.core) == null ? void 0 : n.config) == null ? void 0 : c.admAdTemplate(r.admAd, { html: rt })), l("div", { class: "searchcraft-ad searchcraft-adm-ad", "data-searchcraft-ad-container-id": this.adContainerId, id: `searchcraft-adm-ad-${this.adContainerId}`, innerHTML: s });
2907
+ return (o = (a = this.core) == null ? void 0 : a.config) != null && o.admAdTemplate && (s = (c = (n = this.core) == null ? void 0 : n.config) == null ? void 0 : c.admAdTemplate(r.admAd, { html: rt })), u("div", { class: "searchcraft-ad searchcraft-adm-ad", "data-searchcraft-ad-container-id": this.adContainerId, id: `searchcraft-adm-ad-${this.adContainerId}`, innerHTML: s });
2898
2908
  }
2899
2909
  renderCustomAd() {
2900
2910
  var o, n;
@@ -2903,12 +2913,12 @@ const Yo = /* @__PURE__ */ N(class extends D {
2903
2913
  return r && (a = r({
2904
2914
  searchTerm: this.searchTerm || "",
2905
2915
  adContainerId: this.adContainerId
2906
- }, { html: rt })), l("div", { class: "searchcraft-ad searchcraft-custom-ad", id: s, "data-searchcraft-ad-container-id": this.adContainerId, innerHTML: a });
2916
+ }, { html: rt })), u("div", { class: "searchcraft-ad searchcraft-custom-ad", id: s, "data-searchcraft-ad-container-id": this.adContainerId, innerHTML: a });
2907
2917
  }
2908
2918
  renderNativoAd() {
2909
2919
  var s;
2910
2920
  const r = ((s = this.core) == null ? void 0 : s.config.nativoAdClassName) || "ntv-item";
2911
- return l("div", { id: `searchcraft-native-ad-${this.adContainerId}`, class: re("searchcraft-ad", r), "data-searchcraft-ad-container-id": this.adContainerId });
2921
+ return u("div", { id: `searchcraft-native-ad-${this.adContainerId}`, class: re("searchcraft-ad", r), "data-searchcraft-ad-container-id": this.adContainerId });
2912
2922
  }
2913
2923
  render() {
2914
2924
  var r, s;
@@ -2939,7 +2949,7 @@ const Yo = /* @__PURE__ */ N(class extends D {
2939
2949
  searchTerm: [32],
2940
2950
  isSearchInProgress: [32]
2941
2951
  }]);
2942
- function xt() {
2952
+ function Rt() {
2943
2953
  if (typeof customElements > "u")
2944
2954
  return;
2945
2955
  ["searchcraft-ad"].forEach((t) => {
@@ -2950,7 +2960,7 @@ function xt() {
2950
2960
  }
2951
2961
  });
2952
2962
  }
2953
- const qo = xt, Zo = /* @__PURE__ */ N(class extends D {
2963
+ const Zo = Rt, Qo = /* @__PURE__ */ N(class extends D {
2954
2964
  constructor() {
2955
2965
  super();
2956
2966
  /**
@@ -2991,11 +3001,11 @@ const qo = xt, Zo = /* @__PURE__ */ N(class extends D {
2991
3001
  this.__registerHost(), this.buttonClick = Ce(this, "buttonClick");
2992
3002
  }
2993
3003
  render() {
2994
- return l("button", { key: "e54b4566e0286265bc0c8b6bb4e9ef26108575da", "aria-label": this.label, class: re("searchcraft-button", {
3004
+ return u("button", { key: "e54b4566e0286265bc0c8b6bb4e9ef26108575da", "aria-label": this.label, class: re("searchcraft-button", {
2995
3005
  "searchcraft-button-primary": this.hierarchy === "primary",
2996
3006
  "searchcraft-button-tertiary": this.hierarchy === "tertiary",
2997
3007
  "searchcraft-button-disabled": this.disabled
2998
- }), disabled: this.disabled, onClick: this.handleButtonClick, type: this.type }, this.iconOnly ? this.icon : l(Gn, null, this.iconPosition === "left" && this.icon, l("span", null, this.label), this.iconPosition === "right" && this.icon));
3008
+ }), disabled: this.disabled, onClick: this.handleButtonClick, type: this.type }, this.iconOnly ? this.icon : u(qn, null, this.iconPosition === "left" && this.icon, u("span", null, this.label), this.iconPosition === "right" && this.icon));
2999
3009
  }
3000
3010
  }, [0, "searchcraft-button", {
3001
3011
  hierarchy: [1],
@@ -3012,59 +3022,59 @@ function Et() {
3012
3022
  ["searchcraft-button"].forEach((t) => {
3013
3023
  switch (t) {
3014
3024
  case "searchcraft-button":
3015
- customElements.get(t) || customElements.define(t, Zo);
3025
+ customElements.get(t) || customElements.define(t, Qo);
3016
3026
  break;
3017
3027
  }
3018
3028
  });
3019
3029
  }
3020
- const Qo = Et, Ko = /* @__PURE__ */ N(class extends D {
3030
+ const Ko = Et, Xo = /* @__PURE__ */ N(class extends D {
3021
3031
  constructor() {
3022
3032
  super(), this.__registerHost();
3023
3033
  }
3024
3034
  render() {
3025
- return l("div", { key: "d42f7abf8dfb2620622b8012d868d32f04b2f354", class: "searchcraft-error-message" }, l("slot", { key: "75a7811576ea8afe80a7ae739f5cf2d411f976df" }, "Search term is required."));
3035
+ return u("div", { key: "d42f7abf8dfb2620622b8012d868d32f04b2f354", class: "searchcraft-error-message" }, u("slot", { key: "75a7811576ea8afe80a7ae739f5cf2d411f976df" }, "Search term is required."));
3026
3036
  }
3027
3037
  }, [4, "searchcraft-error-message"]);
3028
- function Rt() {
3038
+ function xt() {
3029
3039
  if (typeof customElements > "u")
3030
3040
  return;
3031
3041
  ["searchcraft-error-message"].forEach((t) => {
3032
3042
  switch (t) {
3033
3043
  case "searchcraft-error-message":
3034
- customElements.get(t) || customElements.define(t, Ko);
3044
+ customElements.get(t) || customElements.define(t, Xo);
3035
3045
  break;
3036
3046
  }
3037
3047
  });
3038
3048
  }
3039
- const Xo = Rt, Jo = (e, t) => {
3049
+ const Jo = xt, ra = (e, t) => {
3040
3050
  let r = e;
3041
3051
  for (const s of t)
3042
3052
  r = r == null ? void 0 : r.children[s];
3043
3053
  return r;
3044
- }, ta = (e, t) => {
3054
+ }, vr = (e, t) => {
3045
3055
  const r = { ...e };
3046
3056
  for (const s in t)
3047
- t.hasOwnProperty(s) && (t[s] instanceof Object && e[s] instanceof Object ? r[s] = ta(e[s], t[s]) : r[s] = t[s]);
3057
+ t.hasOwnProperty(s) && (t[s] instanceof Object && e[s] instanceof Object ? r[s] = vr(e[s], t[s]) : r[s] = t[s]);
3048
3058
  return r;
3049
3059
  };
3050
3060
  function ec(e) {
3051
3061
  return e.filter((t, r, s) => !s.some((a, o) => o !== r && a.includes(t)));
3052
3062
  }
3053
- const Zt = (e, t) => {
3063
+ const ws = (e, t) => {
3054
3064
  const r = structuredClone(e), s = (a, o) => {
3055
3065
  var i;
3056
- const n = structuredClone(a), c = Jo(t, o);
3066
+ const n = structuredClone(a), c = ra(t, o);
3057
3067
  if (!c)
3058
3068
  return n;
3059
- for (const u of Object.keys(a.children))
3060
- c.children[u] ? n.children[u] = {
3061
- ...ta(a.children[u], c.children[u]),
3062
- count: ((i = n.children[u]) == null ? void 0 : i.count) || 0
3063
- } : n.children[u] && (n.children[u] = s(n.children[u], [...o, u]));
3069
+ for (const h of Object.keys(a.children))
3070
+ c.children[h] ? n.children[h] = {
3071
+ ...vr(a.children[h], c.children[h]),
3072
+ count: ((i = n.children[h]) == null ? void 0 : i.count) || 0
3073
+ } : n.children[h] && (n.children[h] = s(n.children[h], [...o, h]));
3064
3074
  return n;
3065
3075
  };
3066
3076
  return s(r, []);
3067
- }, Ss = (e) => {
3077
+ }, Zt = (e) => {
3068
3078
  const t = {
3069
3079
  path: "/",
3070
3080
  count: 0,
@@ -3079,9 +3089,9 @@ const Zt = (e, t) => {
3079
3089
  const n = a.split("/").filter(Boolean);
3080
3090
  let c = t;
3081
3091
  for (const i of n) {
3082
- const u = c.path === "/" ? `/${i}` : `${c.path}/${i}`;
3092
+ const h = c.path === "/" ? `/${i}` : `${c.path}/${i}`;
3083
3093
  c.children[i] || (c.children[i] = {
3084
- path: u,
3094
+ path: h,
3085
3095
  count: o,
3086
3096
  children: {}
3087
3097
  }), c = c.children[i];
@@ -3101,17 +3111,35 @@ const Zt = (e, t) => {
3101
3111
  */
3102
3112
  f(this, "facetSelectionUpdated");
3103
3113
  /**
3104
- * A Tree Representing all of the facets we know about to be rendered.
3114
+ * The currently selected facet paths.
3105
3115
  */
3106
- f(this, "facetTree", {
3116
+ f(this, "selectedPaths", {});
3117
+ /**
3118
+ * A Tree representing all of the facets collected from search responses.
3119
+ */
3120
+ f(this, "facetTreeCollectedFromSearchResponse", {
3107
3121
  path: "/",
3108
3122
  count: 0,
3109
3123
  children: {}
3110
3124
  });
3111
3125
  /**
3112
- * The currently selected facet paths.
3126
+ * A Tree representing the facet paths that are selected, but were not included
3127
+ * in any search response.
3113
3128
  */
3114
- f(this, "selectedPaths", {});
3129
+ f(this, "facetTreeFromFacetPathsNotInSearchResponse", {
3130
+ path: "/",
3131
+ count: 0,
3132
+ children: {}
3133
+ });
3134
+ /**
3135
+ * The facet tree that ultimately gets rendered.
3136
+ * This is a mergin of the facetTreeCollectedFromSearchResponse and the facetTreeFromFacetPathsNotInSearchResponse tree
3137
+ */
3138
+ f(this, "renderedFacetTree", {
3139
+ path: "/",
3140
+ count: 0,
3141
+ children: {}
3142
+ });
3115
3143
  // Internal vars used to track when to perform various facet actions.
3116
3144
  f(this, "lastTimeTaken");
3117
3145
  f(this, "lastSearchTerm");
@@ -3123,53 +3151,77 @@ const Zt = (e, t) => {
3123
3151
  f(this, "formatFacetName", (r) => `${r.replace(/^\//, "").replace(/-/g, " ").replace(/\b\w/g, (a) => a.toUpperCase())}`);
3124
3152
  this.__registerHost(), this.facetSelectionUpdated = Ce(this, "facetSelectionUpdated");
3125
3153
  }
3154
+ get areAnyFacetPathsSelected() {
3155
+ return Object.keys(this.selectedPaths).some((r) => this.selectedPaths[r]);
3156
+ }
3126
3157
  handleIncomingSearchResponse(r, s) {
3127
- var c, i;
3128
- const a = (c = r.searchResponseFacetPrime) == null ? void 0 : c.find((u) => this.fieldName === Object.keys(u)[0]), o = a == null ? void 0 : a[this.fieldName], n = Ss({
3158
+ var i, h, l;
3159
+ const a = (i = r.searchResponseFacetPrime) == null ? void 0 : i.find((p) => this.fieldName === Object.keys(p)[0]), o = a == null ? void 0 : a[this.fieldName], n = Zt({
3129
3160
  path: "/",
3130
3161
  count: 0,
3131
3162
  children: o || []
3132
3163
  });
3133
3164
  switch (s) {
3134
3165
  case "SEARCH_TERM_EMPTY":
3135
- this.facetTree = {
3166
+ this.facetTreeCollectedFromSearchResponse = {
3136
3167
  path: "/",
3137
3168
  count: 0,
3138
3169
  children: {}
3139
3170
  };
3140
3171
  break;
3141
3172
  case "NEW_SEARCH_TERM":
3142
- this.facetTree = n;
3173
+ this.facetTreeCollectedFromSearchResponse = n;
3143
3174
  break;
3175
+ case "NEW_SEARCH_TERM_WHILE_FACETS_ACTIVE":
3144
3176
  case "EXACT_MATCH_UPDATE":
3145
3177
  case "RANGE_VALUE_UPDATE": {
3146
3178
  if (r.supplementalFacetPrime) {
3147
- const u = (i = r.supplementalFacetPrime) == null ? void 0 : i.find((m) => this.fieldName === Object.keys(m)[0]), h = u == null ? void 0 : u[this.fieldName], p = Ss({
3179
+ const p = (h = r.supplementalFacetPrime) == null ? void 0 : h.find((b) => this.fieldName === Object.keys(b)[0]), m = p == null ? void 0 : p[this.fieldName], v = Zt({
3148
3180
  path: "/",
3149
3181
  count: 0,
3150
- children: h || []
3182
+ children: m || []
3151
3183
  });
3152
- this.facetTree = Zt(p, n);
3184
+ this.facetTreeCollectedFromSearchResponse = ws(v, n);
3153
3185
  } else
3154
- this.facetTree = n;
3186
+ this.facetTreeCollectedFromSearchResponse = n;
3155
3187
  break;
3156
3188
  }
3157
3189
  case "FACET_UPDATE":
3158
3190
  case "SORT_ORDER_UPDATE":
3159
- this.facetTree = Zt(this.facetTree, n);
3191
+ this.facetTreeCollectedFromSearchResponse = ws(this.facetTreeCollectedFromSearchResponse, n);
3160
3192
  break;
3161
3193
  default:
3162
- this.facetTree = Zt(this.facetTree, n);
3194
+ return;
3195
+ }
3196
+ this.facetTreeFromFacetPathsNotInSearchResponse = {
3197
+ path: "/",
3198
+ count: 0,
3199
+ children: {}
3200
+ };
3201
+ const c = {
3202
+ path: "/",
3203
+ count: 0,
3204
+ children: []
3205
+ };
3206
+ for (const p of Object.keys(this.selectedPaths).filter((m) => this.selectedPaths[m])) {
3207
+ const m = p.startsWith("/") ? p.substring(1).split("/") : p.split("/"), v = !!ra(this.facetTreeCollectedFromSearchResponse, m), b = m.at(-1);
3208
+ !v && b && ((l = c.children) == null || l.push({
3209
+ children: [],
3210
+ count: 0,
3211
+ path: p
3212
+ }));
3163
3213
  }
3214
+ this.facetTreeFromFacetPathsNotInSearchResponse = Zt(c), this.renderedFacetTree = vr(this.facetTreeFromFacetPathsNotInSearchResponse, this.facetTreeCollectedFromSearchResponse);
3164
3215
  }
3165
3216
  handleStateUpdate(r) {
3166
- if (this.lastSearchTerm !== r.searchTerm && r.searchTerm.trim() === "")
3167
- this.handleIncomingSearchResponse(r, "SEARCH_TERM_EMPTY");
3168
- else if (this.lastTimeTaken !== r.searchResponseTimeTaken) {
3169
- let s = "UNKNOWN";
3170
- this.lastSearchTerm !== r.searchTerm ? s = "NEW_SEARCH_TERM" : this.lastRangeValues !== JSON.stringify(r.rangeValueForIndexFields) ? s = "RANGE_VALUE_UPDATE" : this.lastFacetValues !== JSON.stringify(r.facetPathsForIndexFields) ? s = "FACET_UPDATE" : this.lastSortType !== r.sortType ? s = "SORT_ORDER_UPDATE" : this.lastSearchMode !== r.searchMode && (s = "EXACT_MATCH_UPDATE"), this.handleIncomingSearchResponse(r, s), this.lastSearchTerm = r.searchTerm, this.lastRangeValues = JSON.stringify(r.rangeValueForIndexFields), this.lastFacetValues = JSON.stringify(r.facetPathsForIndexFields), this.lastSortType = r.sortType, this.lastSearchMode = r.searchMode;
3217
+ const s = { ...r };
3218
+ if (s.searchTerm.trim() === "")
3219
+ this.handleIncomingSearchResponse(s, "SEARCH_TERM_EMPTY"), this.lastSearchTerm = "";
3220
+ else if (this.lastTimeTaken !== s.searchResponseTimeTaken && s.searchClientRequest && typeof s.searchClientRequest == "object") {
3221
+ const a = s.searchClientRequest;
3222
+ let o = "UNKNOWN";
3223
+ this.lastSearchTerm !== a.searchTerm ? this.areAnyFacetPathsSelected ? o = "NEW_SEARCH_TERM_WHILE_FACETS_ACTIVE" : o = "NEW_SEARCH_TERM" : this.lastRangeValues !== JSON.stringify(a.rangeValueForIndexFields) ? o = "RANGE_VALUE_UPDATE" : this.lastFacetValues !== JSON.stringify(a.facetPathsForIndexFields) ? o = "FACET_UPDATE" : this.lastSortType !== a.order_by ? o = "SORT_ORDER_UPDATE" : this.lastSearchMode !== a.mode && (o = "EXACT_MATCH_UPDATE"), this.lastRangeValues = JSON.stringify(a.rangeValueForIndexFields), this.lastFacetValues = JSON.stringify(a.facetPathsForIndexFields), this.lastSortType = a.order_by, this.lastSearchMode = a.mode, this.lastSearchTerm = a.searchTerm, this.lastTimeTaken = s.searchResponseTimeTaken, this.handleIncomingSearchResponse(s, o);
3171
3224
  }
3172
- this.lastTimeTaken = r.searchResponseTimeTaken;
3173
3225
  }
3174
3226
  connectedCallback() {
3175
3227
  this.handleStateUpdate(I.getState()), this.unsubscribe = I.subscribe((r) => {
@@ -3189,7 +3241,7 @@ const Zt = (e, t) => {
3189
3241
  };
3190
3242
  else {
3191
3243
  const c = Object.keys(this.selectedPaths).filter((i) => !i.includes(r));
3192
- this.selectedPaths = c.reduce((i, u) => (i[u] = !0, i), {});
3244
+ this.selectedPaths = c.reduce((i, h) => (i[h] = !0, i), {});
3193
3245
  }
3194
3246
  const a = Object.keys(this.selectedPaths).filter((c) => this.selectedPaths[c]), o = ec(a);
3195
3247
  (n = this.facetSelectionUpdated) == null || n.emit({ paths: o });
@@ -3199,9 +3251,9 @@ const Zt = (e, t) => {
3199
3251
  for (const c of Object.keys(this.selectedPaths))
3200
3252
  this.selectedPaths[c] && c.startsWith(s.path) && c.length > s.path.length && (a = !0);
3201
3253
  const o = Object.keys(this.selectedPaths).includes(s.path), n = Object.keys(s.children).length > 0 && (o || a) || r === "@@root";
3202
- return l("div", { class: "searchcraft-facet-list-item" }, r !== "@@root" && l("label", { class: "searchcraft-facet-list-checkbox-label" }, l("div", { class: "searchcraft-facet-list-checkbox-input-wrapper" }, l("input", { class: "searchcraft-facet-list-checkbox-input", checked: this.selectedPaths[s.path], onChange: (c) => {
3254
+ return u("div", { class: "searchcraft-facet-list-item" }, r !== "@@root" && u("label", { class: "searchcraft-facet-list-checkbox-label" }, u("div", { class: "searchcraft-facet-list-checkbox-input-wrapper" }, u("input", { class: "searchcraft-facet-list-checkbox-input", checked: this.selectedPaths[s.path], onChange: (c) => {
3203
3255
  this.handleCheckboxChange(s.path);
3204
- }, type: "checkbox" }), a ? l("div", { class: "searchcraft-facet-list-checkbox-input-dash-icon" }, l("svg", { viewBox: "0 0 14 3", fill: "none" }, l("title", null, "Checkbox dash"), l("line", { x1: "1.5", y1: "1.5", x2: "12.5", y2: "1.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" }))) : l("div", { class: "searchcraft-facet-list-checkbox-input-check-icon" }, l("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, l("title", null, "Checkbox check"), l("path", { d: "M13.9999 2L5.74988 10L1.99988 6.36364", stroke: "white", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round" })))), l("span", null, this.formatFacetName(r), " (", s.count, ")")), n && l("div", { class: "searchcraft-facet-list", style: {
3256
+ }, type: "checkbox" }), a ? u("div", { class: "searchcraft-facet-list-checkbox-input-dash-icon" }, u("svg", { viewBox: "0 0 14 3", fill: "none" }, u("title", null, "Checkbox dash"), u("line", { x1: "1.5", y1: "1.5", x2: "12.5", y2: "1.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" }))) : u("div", { class: "searchcraft-facet-list-checkbox-input-check-icon" }, u("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, u("title", null, "Checkbox check"), u("path", { d: "M13.9999 2L5.74988 10L1.99988 6.36364", stroke: "white", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round" })))), u("span", null, this.formatFacetName(r), " (", s.count, ")")), n && u("div", { class: "searchcraft-facet-list", style: {
3205
3257
  paddingLeft: r !== "@@root" ? "24px" : "0px",
3206
3258
  paddingTop: r !== "@@root" ? "6px" : "0px"
3207
3259
  } }, Object.keys(s.children).map((c) => {
@@ -3210,15 +3262,16 @@ const Zt = (e, t) => {
3210
3262
  })));
3211
3263
  }
3212
3264
  render() {
3213
- if (this.fieldName && !(Object.keys(this.facetTree.children).length === 0 && (this.lastSearchTerm || "").trim().length === 0))
3214
- return Object.keys(this.facetTree.children).length === 0 && (this.lastSearchTerm || "").trim().length > 0 ? l("p", { class: "searchcraft-facet-list-message" }, "No facets are available for this search query.") : l("div", { class: "searchcraft-facet-list" }, this.renderFacet("@@root", this.facetTree));
3265
+ if (this.fieldName && !(Object.keys(this.facetTreeCollectedFromSearchResponse.children).length === 0 && (this.lastSearchTerm || "").trim().length === 0))
3266
+ return Object.keys(this.facetTreeCollectedFromSearchResponse.children).length === 0 && (this.lastSearchTerm || "").trim().length > 0 ? u("p", { class: "searchcraft-facet-list-message" }, "No facets are available for this search query.") : u("div", { class: "searchcraft-facet-list" }, this.renderFacet("@@root", this.renderedFacetTree));
3215
3267
  }
3216
3268
  }, [0, "searchcraft-facet-list", {
3217
3269
  fieldName: [1, "field-name"],
3218
- facetTree: [32],
3219
- selectedPaths: [32]
3270
+ selectedPaths: [32],
3271
+ facetTreeCollectedFromSearchResponse: [32],
3272
+ renderedFacetTree: [32]
3220
3273
  }]);
3221
- function ra() {
3274
+ function sa() {
3222
3275
  if (typeof customElements > "u")
3223
3276
  return;
3224
3277
  ["searchcraft-facet-list"].forEach((t) => {
@@ -3229,7 +3282,7 @@ function ra() {
3229
3282
  }
3230
3283
  });
3231
3284
  }
3232
- const rc = ra;
3285
+ const rc = sa;
3233
3286
  function Qe(e, t) {
3234
3287
  if (e && t)
3235
3288
  return t.fieldNames.map((r) => {
@@ -3248,7 +3301,7 @@ function Qe(e, t) {
3248
3301
  return s;
3249
3302
  }).filter((r) => !!r).join(t.delimiter || " ");
3250
3303
  }
3251
- function sa(e) {
3304
+ function aa(e) {
3252
3305
  return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
3253
3306
  }
3254
3307
  function sc(e, t = "en-US", r = {
@@ -3258,8 +3311,8 @@ function sc(e, t = "en-US", r = {
3258
3311
  }) {
3259
3312
  const s = new Date(e), o = (/* @__PURE__ */ new Date()).getTime() - s.getTime(), n = 30 * 24 * 60 * 60 * 1e3;
3260
3313
  if (o < n) {
3261
- const c = Math.trunc(o / 1e3), i = Math.trunc(c / 60), u = Math.trunc(i / 60), h = Math.trunc(u / 24), p = new Intl.RelativeTimeFormat(t, r);
3262
- return h >= 1 ? p.format(-h, "day") : u >= 1 ? p.format(-u, "hour") : i >= 1 ? p.format(-i, "minute") : p.format(0, "second");
3314
+ const c = Math.trunc(o / 1e3), i = Math.trunc(c / 60), h = Math.trunc(i / 60), l = Math.trunc(h / 24), p = new Intl.RelativeTimeFormat(t, r);
3315
+ return l >= 1 ? p.format(-l, "day") : h >= 1 ? p.format(-h, "hour") : i >= 1 ? p.format(-i, "minute") : p.format(0, "second");
3263
3316
  }
3264
3317
  return new Intl.DateTimeFormat(t, r).format(s);
3265
3318
  }
@@ -3293,7 +3346,7 @@ function ac(e, t, r) {
3293
3346
  throw new Error(`Unsupported unit: ${e}`);
3294
3347
  }
3295
3348
  }
3296
- const ws = (e) => {
3349
+ const ks = (e) => {
3297
3350
  if (e >= 11 && e <= 13)
3298
3351
  return `${e}th`;
3299
3352
  switch (e % 10) {
@@ -3315,14 +3368,14 @@ function nc(e, t) {
3315
3368
  case "month":
3316
3369
  return `${r.format(t)} ${t.getFullYear()}`;
3317
3370
  case "day":
3318
- return `${r.format(t)} ${ws(t.getDate())}, ${t.getFullYear()}`;
3371
+ return `${r.format(t)} ${ks(t.getDate())}, ${t.getFullYear()}`;
3319
3372
  case "hour": {
3320
3373
  const s = new Intl.DateTimeFormat("en-US", {
3321
3374
  hour: "numeric",
3322
3375
  minute: "2-digit",
3323
3376
  hour12: !0
3324
3377
  });
3325
- return `${r.format(t)} ${ws(t.getDate())}, ${s.format(t)}`;
3378
+ return `${r.format(t)} ${ks(t.getDate())}, ${s.format(t)}`;
3326
3379
  }
3327
3380
  default:
3328
3381
  throw new Error(`Unsupported granularity: ${e}`);
@@ -3425,10 +3478,10 @@ const cc = /* @__PURE__ */ N(class extends D {
3425
3478
  }
3426
3479
  render() {
3427
3480
  const r = (this.startValue - this.lowerBound) / (this.upperBound - this.lowerBound) * 100, s = (this.endValue - this.lowerBound) / (this.upperBound - this.lowerBound) * 100, a = this.getLabel(this.startValue), o = this.getLabel(this.endValue);
3428
- return l("div", { key: "3b2e8576d64826f123d40deff3b0df9316649a03", class: "searchcraft-slider" }, l("div", { key: "ecaa546b96855aad4e839c5e34e995da0925e0b6", class: "searchcraft-slider-range" }, l("div", { key: "f37fc0329249857a29f77d9e3739d10f05f6bf62", class: "searchcraft-slider-active-range", style: {
3481
+ return u("div", { key: "3b2e8576d64826f123d40deff3b0df9316649a03", class: "searchcraft-slider" }, u("div", { key: "ecaa546b96855aad4e839c5e34e995da0925e0b6", class: "searchcraft-slider-range" }, u("div", { key: "f37fc0329249857a29f77d9e3739d10f05f6bf62", class: "searchcraft-slider-active-range", style: {
3429
3482
  left: `${r}%`,
3430
3483
  width: `${s - r}%`
3431
- } }), l("input", { key: "7b5e6f3983b7c109ea0a3f2b248c35d0e225400b", class: re("searchcraft-slider-input", "searchcraft-slider-input-min-handle"), max: this.upperBound, min: this.lowerBound, onInput: this.handleStartValueChange.bind(this), step: this.step, style: { zIndex: this.lastFocusedHandle === "min" ? "2" : "1" }, type: "range", value: this.startValue }), l("input", { key: "b5bb628b73c8b582a31453e73cb3ef38579eeea5", class: re("searchcraft-slider-input", "searchcraft-slider-input-max-handle"), max: this.upperBound, min: this.lowerBound, onInput: this.handleEndValueChange.bind(this), step: this.step, style: { zIndex: this.lastFocusedHandle === "max" ? "2" : "1" }, type: "range", value: this.endValue })), l("div", { key: "ecb379babd244e3205f30d45628506566fbeff3c", class: "searchcraft-slider-label" }, l("span", { key: "2be886d05c323f7da1059be88c0cb8ede2e1e98b", class: "searchcraft-slider-start-label" }, a), l("span", { key: "bf66fcab3fae565980a4637cb13b14589ffcb5ba", class: "searchcraft-slider-end-label" }, o)));
3484
+ } }), u("input", { key: "7b5e6f3983b7c109ea0a3f2b248c35d0e225400b", class: re("searchcraft-slider-input", "searchcraft-slider-input-min-handle"), max: this.upperBound, min: this.lowerBound, onInput: this.handleStartValueChange.bind(this), step: this.step, style: { zIndex: this.lastFocusedHandle === "min" ? "2" : "1" }, type: "range", value: this.startValue }), u("input", { key: "b5bb628b73c8b582a31453e73cb3ef38579eeea5", class: re("searchcraft-slider-input", "searchcraft-slider-input-max-handle"), max: this.upperBound, min: this.lowerBound, onInput: this.handleEndValueChange.bind(this), step: this.step, style: { zIndex: this.lastFocusedHandle === "max" ? "2" : "1" }, type: "range", value: this.endValue })), u("div", { key: "ecb379babd244e3205f30d45628506566fbeff3c", class: "searchcraft-slider-label" }, u("span", { key: "2be886d05c323f7da1059be88c0cb8ede2e1e98b", class: "searchcraft-slider-start-label" }, a), u("span", { key: "bf66fcab3fae565980a4637cb13b14589ffcb5ba", class: "searchcraft-slider-end-label" }, o)));
3432
3485
  }
3433
3486
  }, [0, "searchcraft-slider", {
3434
3487
  max: [2],
@@ -3442,7 +3495,7 @@ const cc = /* @__PURE__ */ N(class extends D {
3442
3495
  startValue: [32],
3443
3496
  lastFocusedHandle: [32]
3444
3497
  }]);
3445
- function aa() {
3498
+ function na() {
3446
3499
  if (typeof customElements > "u")
3447
3500
  return;
3448
3501
  ["searchcraft-slider"].forEach((t) => {
@@ -3487,9 +3540,9 @@ const ic = /* @__PURE__ */ N(class extends D {
3487
3540
  (r = this.unsubscribe) == null || r.call(this);
3488
3541
  }
3489
3542
  render() {
3490
- return l("div", { key: "f8a751315daf6bcdc0d47bc4fc802bc4615e565f", class: re("searchcraft-toggle-button", {
3543
+ return u("div", { key: "f8a751315daf6bcdc0d47bc4fc802bc4615e565f", class: re("searchcraft-toggle-button", {
3491
3544
  "searchcraft-toggle-button-active": this.isActive
3492
- }) }, l("div", { key: "aaa92d7c1aebe241a163a1fba7cd1f8d3804286d" }, l("p", { key: "068b82b17a99bf55ad17818d0dd4c7e95858317b", class: "searchcraft-toggle-button-label" }, this.label), this.subLabel && l("p", { key: "39e43e3fad6a2ab09d20f37c6d6865cede3701d9", class: "searchcraft-toggle-button-sub-label" }, this.subLabel)), l("button", { key: "5ae352870d4a01c430389e75b967b2eb9d3fa5f7", class: "searchcraft-toggle-button-background", onClick: this.handleToggle, type: "button" }, l("div", { key: "0574ade4e1681ce8e122039c40e761cb68555621", class: "searchcraft-toggle-button-handle" })));
3545
+ }) }, u("div", { key: "aaa92d7c1aebe241a163a1fba7cd1f8d3804286d" }, u("p", { key: "068b82b17a99bf55ad17818d0dd4c7e95858317b", class: "searchcraft-toggle-button-label" }, this.label), this.subLabel && u("p", { key: "39e43e3fad6a2ab09d20f37c6d6865cede3701d9", class: "searchcraft-toggle-button-sub-label" }, this.subLabel)), u("button", { key: "5ae352870d4a01c430389e75b967b2eb9d3fa5f7", class: "searchcraft-toggle-button-background", onClick: this.handleToggle, type: "button" }, u("div", { key: "0574ade4e1681ce8e122039c40e761cb68555621", class: "searchcraft-toggle-button-handle" })));
3493
3546
  }
3494
3547
  }, [0, "searchcraft-toggle-button", {
3495
3548
  label: [1],
@@ -3498,7 +3551,7 @@ const ic = /* @__PURE__ */ N(class extends D {
3498
3551
  unsubscribe: [32],
3499
3552
  lastSearchTerm: [32]
3500
3553
  }]);
3501
- function na() {
3554
+ function oa() {
3502
3555
  if (typeof customElements > "u")
3503
3556
  return;
3504
3557
  ["searchcraft-toggle-button"].forEach((t) => {
@@ -3565,35 +3618,35 @@ const lc = /* @__PURE__ */ N(class extends D {
3565
3618
  * Iterate through `items` and render them based on `type`
3566
3619
  */
3567
3620
  render() {
3568
- return l("div", { key: "fb5fce357783f39b0a2846a0bd99994faa5e742d", class: "searchcraft-filter-panel" }, this.items.map((r) => {
3621
+ return u("div", { key: "fb5fce357783f39b0a2846a0bd99994faa5e742d", class: "searchcraft-filter-panel" }, this.items.map((r) => {
3569
3622
  switch (r.type) {
3570
3623
  case "dateRange": {
3571
3624
  const s = r;
3572
- return l("div", { class: "searchcraft-filter-panel-section" }, l("p", { class: "searchcraft-filter-panel-label" }, r.label), l("searchcraft-slider", { min: s.options.minDate.getTime(), max: s.options.maxDate.getTime(), dataType: "date", step: 1, dateGranularity: s.options.granularity, onRangeChanged: (a) => {
3625
+ return u("div", { class: "searchcraft-filter-panel-section" }, u("p", { class: "searchcraft-filter-panel-label" }, r.label), u("searchcraft-slider", { min: s.options.minDate.getTime(), max: s.options.maxDate.getTime(), dataType: "date", step: 1, dateGranularity: s.options.granularity, onRangeChanged: (a) => {
3573
3626
  this.handleDateRangeChanged(s, a.detail.startValue, a.detail.endValue);
3574
3627
  } }));
3575
3628
  }
3576
3629
  case "numericRange": {
3577
3630
  const s = r;
3578
- return l("div", { class: "searchcraft-filter-panel-section" }, l("p", { class: "searchcraft-filter-panel-label" }, r.label), l("searchcraft-slider", { min: s.options.min, max: s.options.max, step: s.options.granularity, onRangeChanged: (a) => {
3631
+ return u("div", { class: "searchcraft-filter-panel-section" }, u("p", { class: "searchcraft-filter-panel-label" }, r.label), u("searchcraft-slider", { min: s.options.min, max: s.options.max, step: s.options.granularity, onRangeChanged: (a) => {
3579
3632
  this.handleNumericRangeChanged(s.fieldName, a.detail.startValue, a.detail.endValue);
3580
3633
  } }));
3581
3634
  }
3582
3635
  case "facets": {
3583
3636
  const s = r;
3584
- return l("div", { class: "searchcraft-filter-panel-section" }, l("p", { class: "searchcraft-filter-panel-label" }, r.label), l("searchcraft-facet-list", { fieldName: s.fieldName, onFacetSelectionUpdated: (a) => {
3637
+ return u("div", { class: "searchcraft-filter-panel-section" }, u("p", { class: "searchcraft-filter-panel-label" }, r.label), u("searchcraft-facet-list", { fieldName: s.fieldName, onFacetSelectionUpdated: (a) => {
3585
3638
  this.handleFacetSelectionUpdated(s.fieldName, a.detail.paths);
3586
3639
  } }));
3587
3640
  }
3588
3641
  case "exactMatchToggle": {
3589
3642
  const s = r;
3590
- return l("searchcraft-toggle-button", { label: s.label, subLabel: s.options.subLabel, onToggleUpdated: (a) => {
3643
+ return u("searchcraft-toggle-button", { label: s.label, subLabel: s.options.subLabel, onToggleUpdated: (a) => {
3591
3644
  this.handleExactMatchToggleUpdated(a.detail);
3592
3645
  } });
3593
3646
  }
3594
3647
  case "mostRecentToggle": {
3595
3648
  const s = r;
3596
- return l("searchcraft-toggle-button", { label: s.label, subLabel: s.options.subLabel, onToggleUpdated: (a) => {
3649
+ return u("searchcraft-toggle-button", { label: s.label, subLabel: s.options.subLabel, onToggleUpdated: (a) => {
3597
3650
  this.handleMostRecentToggleUpdated(s.fieldName, a.detail);
3598
3651
  } });
3599
3652
  }
@@ -3614,13 +3667,13 @@ function uc() {
3614
3667
  customElements.get(t) || customElements.define(t, lc);
3615
3668
  break;
3616
3669
  case "searchcraft-facet-list":
3617
- customElements.get(t) || ra();
3670
+ customElements.get(t) || sa();
3618
3671
  break;
3619
3672
  case "searchcraft-slider":
3620
- customElements.get(t) || aa();
3673
+ customElements.get(t) || na();
3621
3674
  break;
3622
3675
  case "searchcraft-toggle-button":
3623
- customElements.get(t) || na();
3676
+ customElements.get(t) || oa();
3624
3677
  break;
3625
3678
  }
3626
3679
  });
@@ -3636,13 +3689,13 @@ const hc = uc, dc = /* @__PURE__ */ N(class extends D {
3636
3689
  this.__registerHost();
3637
3690
  }
3638
3691
  render() {
3639
- return l("label", { key: "3622c616d480e57b1dfaa2d61637a30b843cb968", class: re("searchcraft-input-label", this.inputLabelClassName), htmlFor: "searchcraft-input-id" }, this.label);
3692
+ return u("label", { key: "3622c616d480e57b1dfaa2d61637a30b843cb968", class: re("searchcraft-input-label", this.inputLabelClassName), htmlFor: "searchcraft-input-id" }, this.label);
3640
3693
  }
3641
3694
  }, [0, "searchcraft-input-label", {
3642
3695
  inputLabelClassName: [1, "input-label-class-name"],
3643
3696
  label: [1]
3644
3697
  }]);
3645
- function vr() {
3698
+ function br() {
3646
3699
  if (typeof customElements > "u")
3647
3700
  return;
3648
3701
  ["searchcraft-input-label"].forEach((t) => {
@@ -3703,16 +3756,14 @@ const fc = /* @__PURE__ */ N(class extends D {
3703
3756
  });
3704
3757
  f(this, "handleInput", (r) => {
3705
3758
  const s = r.target;
3706
- this.inputValue = s.value, this.autoSearch && this.performSearch(s.value);
3759
+ this.inputValue = s.value, this.searchcraftStore.setSearchTerm(s.value), this.autoSearch && this.performSearch();
3707
3760
  });
3708
- f(this, "performSearch", async (r) => {
3709
- if (r !== this.searchTerm) {
3710
- this.searchcraftStore.setSearchTerm(r.trim()), this.error = !1;
3711
- try {
3712
- await this.searchcraftStore.search();
3713
- } catch (s) {
3714
- console.error(`Search for ${r} failed:`, s), this.error = !0;
3715
- }
3761
+ f(this, "performSearch", async () => {
3762
+ this.error = !1;
3763
+ try {
3764
+ await this.searchcraftStore.search();
3765
+ } catch {
3766
+ this.error = !0;
3716
3767
  }
3717
3768
  });
3718
3769
  f(this, "handleReset", () => {
@@ -3722,7 +3773,7 @@ const fc = /* @__PURE__ */ N(class extends D {
3722
3773
  this.handleReset();
3723
3774
  });
3724
3775
  f(this, "handleFormSubmit", async (r) => {
3725
- r.preventDefault(), await this.performSearch(this.inputValue);
3776
+ r.preventDefault(), await this.performSearch();
3726
3777
  });
3727
3778
  this.__registerHost(), this.inputFocus = Ce(this, "inputFocus"), this.inputBlur = Ce(this, "inputBlur"), this.inputInit = Ce(this, "inputInit");
3728
3779
  }
@@ -3753,7 +3804,7 @@ const fc = /* @__PURE__ */ N(class extends D {
3753
3804
  }), o = {
3754
3805
  gap: this.inputLabel || this.error ? "4px 8px" : "0px 8px"
3755
3806
  };
3756
- return l("form", { key: "7f3fe524949a5940d2852ef8fe510ab0c0b910f1", class: "searchcraft-input-form", onSubmit: this.handleFormSubmit }, l("div", { key: "12a137ff4ecaab2a047cb787c878ddf0ed973d3f", class: s, style: o }, l("div", { key: "12c7dadcc6fa22467a5165c10e12a0e343ea2ed3", class: "searchcraft-input-form-button" }, l("searchcraft-button", { key: "477fe1299556e5c5bc6b902de65c71f11aad97ac", onButtonClick: this.handleFormSubmit, label: this.buttonLabel })), this.inputLabel && l("div", { key: "cf04132b3a95943fe8371f64778130c3f8bbc379", class: "searchcraft-input-form-label" }, l("searchcraft-input-label", { key: "b840d1b65c1fc11879cf25bcc88022eafa583109", label: this.inputLabel })), this.error && l("div", { key: "ed9a441bfd57cab076f8218e1f7d4baecf5e9ce2", class: "searchcraft-input-form-error-message" }, l("searchcraft-error-message", { key: "9624592768ab3cc0c683f5636b83022349af66cd" }, "Something went wrong.")), l("div", { key: "99f06b4c38b4cc26f534a3f3be6a7c23b5946c62", class: "searchcraft-input-form-input-wrapper" }, l("input", { key: "90fe4eca0771ca15378685861ae0bd700110ac15", autoComplete: "off", class: re("searchcraft-input-form-input", {
3807
+ return u("form", { key: "d0654def009278279b7edeeccc6044d999c0d5b0", class: "searchcraft-input-form", onSubmit: this.handleFormSubmit }, u("div", { key: "27978b08e46e0f8ecdf6dc95a74c962d85f5e9ff", class: s, style: o }, u("div", { key: "1f7cecc80a84bfc46c994971cd751d2b65af6d83", class: "searchcraft-input-form-button" }, u("searchcraft-button", { key: "b3f2078604c380eef895be103b2bdf5cef6bca84", onButtonClick: this.handleFormSubmit, label: this.buttonLabel })), this.inputLabel && u("div", { key: "b33c0d3cbb3512964c3a47a2c354a610fa6faa09", class: "searchcraft-input-form-label" }, u("searchcraft-input-label", { key: "e620088318c82e2e70d885bd3ee2c88ef8118e7c", label: this.inputLabel })), this.error && u("div", { key: "c3a20576917aaa33cc12df5ee5b479f87d628de7", class: "searchcraft-input-form-error-message" }, u("searchcraft-error-message", { key: "f48e54a236b7a33fa55bab7f29d3b321be0bbb77" }, "Something went wrong.")), u("div", { key: "ebda089a3b8698892fd6cebcbaf89582a1bb21a2", class: "searchcraft-input-form-input-wrapper" }, u("input", { key: "d7ea7b49f7d65067924168fc281033841a71d419", autoComplete: "off", class: re("searchcraft-input-form-input", {
3757
3808
  "searchcraft-placeholder-hide-on-focus": this.placeholderBehavior === "hide-on-focus"
3758
3809
  }), onFocus: () => {
3759
3810
  var n;
@@ -3763,7 +3814,7 @@ const fc = /* @__PURE__ */ N(class extends D {
3763
3814
  return (n = this.inputBlur) == null ? void 0 : n.emit();
3764
3815
  }, onInput: (n) => {
3765
3816
  this.handleInput(n);
3766
- }, placeholder: this.placeholderValue, type: "text", value: this.inputValue }), l("div", { key: "81a377845c20ba1ea8ed2ff73469026c7b2dc16a", class: "searchcraft-input-form-input-icon" }, l("svg", { key: "06e127c9878b65c17a72ae75841c9b5a1eec6197", class: "searchcraft-input-form-input-search-icon", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "searchcraft-title" }, l("title", { key: "37ebce26440a6e3fcdad1b342412b0aaec5e690c" }, "Search icon"), l("path", { key: "3c5bcab0759d52e05a5f07ef27396461cf3b626c", d: "M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), r && l("button", { key: "bbca17429ef3de340d7ee064e71c3858abc1022a", type: "button", class: "searchcraft-input-form-clear-button", onClick: this.handleClearInput }, l("svg", { key: "94eee54f0735020bf77f56607bb870888d5a23e9", class: "searchcraft-input-form-clear-icon", viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "icon-title" }, l("title", { key: "5f7e9beb4f2c4c394f19cc2c312be59de166a0c8" }, "Clear icon"), l("path", { key: "138c29ea054bd535d0a8b5cb708bbea31d21c40a", d: "M14 8L8 14M8 8L14 14M21 11C21 16.5228 16.5228 21 11 21C5.47715 21 1 16.5228 1 11C1 5.47715 5.47715 1 11 1C16.5228 1 21 5.47715 21 11Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))));
3817
+ }, placeholder: this.placeholderValue, type: "text", value: this.inputValue }), u("div", { key: "6dd4a02322072467a104938a47626592658eaa1e", class: "searchcraft-input-form-input-icon" }, u("svg", { key: "26a4deabe9149db6db219e49fcccbbe7688e9f0a", class: "searchcraft-input-form-input-search-icon", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "searchcraft-title" }, u("title", { key: "eff07788d2edaead45a60d8ac20e5d1d694c5165" }, "Search icon"), u("path", { key: "9083cf32c8f749210232b51b1f5934a3c32b109f", d: "M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), r && u("button", { key: "0b2117ae2510fe743b11d8e638e981ee0f7e4760", type: "button", class: "searchcraft-input-form-clear-button", onClick: this.handleClearInput }, u("svg", { key: "3fbb57c1b6486638286e1010639751a83a75f489", class: "searchcraft-input-form-clear-icon", viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "icon-title" }, u("title", { key: "84ce771c55c072b4339babb136639469b68a1f9b" }, "Clear icon"), u("path", { key: "811f5fc9cc708f80004f1cf50ddcd85de05f3b6b", d: "M14 8L8 14M8 8L14 14M21 11C21 16.5228 16.5228 21 11 21C5.47715 21 1 16.5228 1 11C1 5.47715 5.47715 1 11 1C16.5228 1 21 5.47715 21 11Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))));
3767
3818
  }
3768
3819
  static get watchers() {
3769
3820
  return {
@@ -3784,7 +3835,7 @@ const fc = /* @__PURE__ */ N(class extends D {
3784
3835
  }, void 0, {
3785
3836
  core: ["onCoreChange"]
3786
3837
  }]);
3787
- function oa() {
3838
+ function ca() {
3788
3839
  if (typeof customElements > "u")
3789
3840
  return;
3790
3841
  ["searchcraft-input-form", "searchcraft-button", "searchcraft-error-message", "searchcraft-input-label"].forEach((t) => {
@@ -3796,15 +3847,15 @@ function oa() {
3796
3847
  customElements.get(t) || Et();
3797
3848
  break;
3798
3849
  case "searchcraft-error-message":
3799
- customElements.get(t) || Rt();
3850
+ customElements.get(t) || xt();
3800
3851
  break;
3801
3852
  case "searchcraft-input-label":
3802
- customElements.get(t) || vr();
3853
+ customElements.get(t) || br();
3803
3854
  break;
3804
3855
  }
3805
3856
  });
3806
3857
  }
3807
- const pc = oa, mc = vr, gc = /* @__PURE__ */ N(class extends D {
3858
+ const pc = ca, mc = br, gc = /* @__PURE__ */ N(class extends D {
3808
3859
  constructor() {
3809
3860
  super();
3810
3861
  // store vars
@@ -3836,27 +3887,27 @@ const pc = oa, mc = vr, gc = /* @__PURE__ */ N(class extends D {
3836
3887
  this.setSearchResultsPage(r);
3837
3888
  }
3838
3889
  renderOddPaginationItem(r) {
3839
- return l("li", null, l("button", { class: re("searchcraft-pagination-item", {
3890
+ return u("li", null, u("button", { class: re("searchcraft-pagination-item", {
3840
3891
  "searchcraft-pagination-item-active": this.searchResultsPage === r
3841
3892
  }), onClick: () => this.handleGoToPage(r), type: "button" }, r));
3842
3893
  }
3843
3894
  renderEvenPaginationItem(r) {
3844
3895
  if (!(this.searchResultsPagesCount <= r))
3845
- return (this.searchResultsPagesCount <= 5 || r < Math.ceil(this.searchResultsPagesCount / 2) ? this.searchResultsPage <= r + 1 : this.searchResultsPage >= r - 1) ? l("li", null, l("button", { class: re("searchcraft-pagination-item", {
3896
+ return (this.searchResultsPagesCount <= 5 || r < Math.ceil(this.searchResultsPagesCount / 2) ? this.searchResultsPage <= r + 1 : this.searchResultsPage >= r - 1) ? u("li", null, u("button", { class: re("searchcraft-pagination-item", {
3846
3897
  "searchcraft-pagination-item-active": this.searchResultsPage === r
3847
- }), onClick: () => this.handleGoToPage(r), type: "button" }, r)) : l("li", null, l("span", { class: "searchcraft-pagination-item" }, "..."));
3898
+ }), onClick: () => this.handleGoToPage(r), type: "button" }, r)) : u("li", null, u("span", { class: "searchcraft-pagination-item" }, "..."));
3848
3899
  }
3849
3900
  renderMiddlePaginationItem() {
3850
3901
  if (!(this.searchResultsPagesCount <= 3))
3851
- return this.searchResultsPagesCount <= 5 || this.searchResultsPage <= 3 || this.searchResultsPage >= this.searchResultsPagesCount - 2 ? l("li", null, l("button", { class: re("searchcraft-pagination-item", {
3902
+ return this.searchResultsPagesCount <= 5 || this.searchResultsPage <= 3 || this.searchResultsPage >= this.searchResultsPagesCount - 2 ? u("li", null, u("button", { class: re("searchcraft-pagination-item", {
3852
3903
  "searchcraft-pagination-item-active": this.searchResultsPage === 3 || this.searchResultsPage === this.searchResultsPagesCount - 2
3853
- }), type: "button", onClick: () => this.handleGoToPage(this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3) }, this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3)) : l("li", null, l("span", { class: "searchcraft-pagination-item searchcraft-pagination-item-active" }, this.searchResultsPage));
3904
+ }), type: "button", onClick: () => this.handleGoToPage(this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3) }, this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3)) : u("li", null, u("span", { class: "searchcraft-pagination-item searchcraft-pagination-item-active" }, this.searchResultsPage));
3854
3905
  }
3855
3906
  render() {
3856
3907
  if (!(!this.searchTerm || this.searchResultsPagesCount <= 1))
3857
- return l("div", { class: "searchcraft-pagination" }, l("div", { class: "searchcraft-pagination-control" }, l("searchcraft-button", { disabled: this.searchResultsPage === 1, hierarchy: "tertiary", onButtonClick: () => this.handleGoToPage(Math.max(1, this.searchResultsPage - 1)), label: "Previous", iconPosition: "left", icon: l("svg", { class: "searchcraft-button-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, l("title", null, "Previous page icon"), l("path", { d: "M12.5 15L7.5 10L12.5 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), iconOnly: !0 })), l("ul", { class: "searchcraft-pagination-list" }, this.renderOddPaginationItem(1), this.renderEvenPaginationItem(2), this.renderMiddlePaginationItem(), this.renderEvenPaginationItem(this.searchResultsPagesCount > 4 ? this.searchResultsPagesCount - 1 : 4), this.renderOddPaginationItem(this.searchResultsPagesCount)), l("div", { class: "searchcraft-pagination-control" }, l("searchcraft-button", { disabled: this.searchResultsPage === this.searchResultsPagesCount, hierarchy: "tertiary", onButtonClick: () => {
3908
+ return u("div", { class: "searchcraft-pagination" }, u("div", { class: "searchcraft-pagination-control" }, u("searchcraft-button", { disabled: this.searchResultsPage === 1, hierarchy: "tertiary", onButtonClick: () => this.handleGoToPage(Math.max(1, this.searchResultsPage - 1)), label: "Previous", iconPosition: "left", icon: u("svg", { class: "searchcraft-button-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, u("title", null, "Previous page icon"), u("path", { d: "M12.5 15L7.5 10L12.5 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), iconOnly: !0 })), u("ul", { class: "searchcraft-pagination-list" }, this.renderOddPaginationItem(1), this.renderEvenPaginationItem(2), this.renderMiddlePaginationItem(), this.renderEvenPaginationItem(this.searchResultsPagesCount > 4 ? this.searchResultsPagesCount - 1 : 4), this.renderOddPaginationItem(this.searchResultsPagesCount)), u("div", { class: "searchcraft-pagination-control" }, u("searchcraft-button", { disabled: this.searchResultsPage === this.searchResultsPagesCount, hierarchy: "tertiary", onButtonClick: () => {
3858
3909
  this.handleGoToPage(Math.min(this.searchResultsPagesCount, this.searchResultsPage + 1));
3859
- }, label: "Next", iconPosition: "right", icon: l("svg", { class: "searchcraft-button-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, l("title", null, "Next page icon"), l("path", { d: "M7.5 15L12.5 10L7.5 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), iconOnly: !0 })));
3910
+ }, label: "Next", iconPosition: "right", icon: u("svg", { class: "searchcraft-button-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, u("title", null, "Next page icon"), u("path", { d: "M7.5 15L12.5 10L7.5 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), iconOnly: !0 })));
3860
3911
  }
3861
3912
  }, [0, "searchcraft-pagination", {
3862
3913
  searchTerm: [32],
@@ -3900,10 +3951,10 @@ const bc = vc, yc = /* @__PURE__ */ N(class extends D {
3900
3951
  f(this, "userAgent");
3901
3952
  f(this, "unsubscribe", () => {
3902
3953
  });
3903
- f(this, "renderOptionSymbol", () => l("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, l("title", null, "Option key"), l("path", { d: "M283,112c0-11.58,9.42-21,21-21h160c11.58,0,21,9.42,21,21s-9.42,21-21,21h-160c-11.58,0-21-9.42-21-21Z", fill: "currentColor" }), l("path", { d: "M485,400c0,11.58-9.42,21-21,21h-128c-8.29,0-15.82-4.9-19.19-12.47l-122.46-275.53H48c-11.58,0-21-9.42-21-21s9.42-21,21-21h160c8.29,0,15.82,4.9,19.19,12.47l122.46,275.53h114.35c11.58,0,21,9.42,21,21Z", fill: "currentColor" })));
3904
- f(this, "renderCtrlSymbol", () => l("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, l("title", null, "Ctrl key"), l("path", { d: "M388.95,209.4c-.37,5.59-2.9,10.71-7.12,14.4-3.83,3.35-8.74,5.2-13.82,5.2-6.06,0-11.83-2.61-15.81-7.17l-96.2-109.94-96.2,109.94c-3.98,4.56-9.75,7.17-15.81,7.17-5.08,0-9.99-1.84-13.82-5.2-4.22-3.69-6.75-8.81-7.12-14.4-.38-5.6,1.45-11.01,5.15-15.23l112-128c3.98-4.56,9.74-7.17,15.8-7.17s11.82,2.61,15.8,7.17l112,128c3.7,4.22,5.53,9.63,5.15,15.23Z", fill: "currentColor" })));
3905
- f(this, "renderWindowsMetaSymbol", () => l("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, l("title", null, "Windows meta key"), l("path", { d: "M206.115 255.957c-23.854-12.259-47.043-18.479-68.94-18.479-2.978 0-5.976 0.090-8.974 0.354-27.94 2.312-53.461 9.684-69.875 15.414-4.354 1.599-8.817 3.288-13.415 5.153l-44.911 155.697c30.851-11.416 58.146-16.969 83.135-16.969 40.423 0 69.764 15.104 93.996 30.652 11.481-38.959 39.022-133.045 47.241-161.162-5.975-3.642-12.038-7.285-18.257-10.66zM264.174 295.535l-45.223 157.074c13.416 7.686 58.549 32.025 93.106 32.025 27.896 0 59.126-7.148 95.417-21.896l43.178-150.988c-29.316 9.461-57.438 14.26-83.732 14.26-47.975 0-81.557-15.549-102.746-30.475zM146.411 184.395c38.559 0.399 67.076 15.104 90.708 30.251l46.376-158.672c-9.773-5.598-35.403-19.547-53.929-24.3-12.193-2.842-25.010-4.308-38.602-4.308-25.898 0.488-54.194 6.973-86.444 19.9l-44.22 155.298c32.404-12.218 60.322-18.17 86.043-18.17 0.023 0.001 0.068 0.001 0.068 0.001zM512 99.062c-29.407 11.416-58.104 17.233-85.514 17.233-45.843 0-79.646-15.901-101.547-31.183l-45.975 159.118c30.873 19.854 64.145 29.939 99.061 29.939 28.474 0 57.97-6.84 87.731-20.344l-0.091-1.111 1.867-0.443 44.468-153.209z", fill: "currentColor" })));
3906
- f(this, "renderMacMetaSymbol", () => l("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, l("title", null, "Mac meta key"), l("path", { d: "M368,283h-43v-54h43c46.87,0,85-38.13,85-85s-38.13-85-85-85-85,38.13-85,85v43h-54v-43c0-46.87-38.13-85-85-85s-85,38.13-85,85,38.13,85,85,85h43v54h-43c-46.87,0-85,38.13-85,85s38.13,85,85,85,85-38.13,85-85v-43h54v43c0,46.87,38.13,85,85,85s85-38.13,85-85-38.13-85-85-85ZM325,144c0-23.71,19.29-43,43-43s43,19.29,43,43-19.29,43-43,43h-43v-43ZM144,187c-23.71,0-43-19.29-43-43s19.29-43,43-43,43,19.29,43,43v43h-43ZM187,368c0,23.71-19.29,43-43,43s-43-19.29-43-43,19.29-43,43-43h43v43ZM283,283h-54v-54h54v54ZM368,411c-23.71,0-43-19.29-43-43v-43h43c23.71,0,43,19.29,43,43s-19.29,43-43,43Z", fill: "currentColor" })));
3954
+ f(this, "renderOptionSymbol", () => u("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, u("title", null, "Option key"), u("path", { d: "M283,112c0-11.58,9.42-21,21-21h160c11.58,0,21,9.42,21,21s-9.42,21-21,21h-160c-11.58,0-21-9.42-21-21Z", fill: "currentColor" }), u("path", { d: "M485,400c0,11.58-9.42,21-21,21h-128c-8.29,0-15.82-4.9-19.19-12.47l-122.46-275.53H48c-11.58,0-21-9.42-21-21s9.42-21,21-21h160c8.29,0,15.82,4.9,19.19,12.47l122.46,275.53h114.35c11.58,0,21,9.42,21,21Z", fill: "currentColor" })));
3955
+ f(this, "renderCtrlSymbol", () => u("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, u("title", null, "Ctrl key"), u("path", { d: "M388.95,209.4c-.37,5.59-2.9,10.71-7.12,14.4-3.83,3.35-8.74,5.2-13.82,5.2-6.06,0-11.83-2.61-15.81-7.17l-96.2-109.94-96.2,109.94c-3.98,4.56-9.75,7.17-15.81,7.17-5.08,0-9.99-1.84-13.82-5.2-4.22-3.69-6.75-8.81-7.12-14.4-.38-5.6,1.45-11.01,5.15-15.23l112-128c3.98-4.56,9.74-7.17,15.8-7.17s11.82,2.61,15.8,7.17l112,128c3.7,4.22,5.53,9.63,5.15,15.23Z", fill: "currentColor" })));
3956
+ f(this, "renderWindowsMetaSymbol", () => u("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, u("title", null, "Windows meta key"), u("path", { d: "M206.115 255.957c-23.854-12.259-47.043-18.479-68.94-18.479-2.978 0-5.976 0.090-8.974 0.354-27.94 2.312-53.461 9.684-69.875 15.414-4.354 1.599-8.817 3.288-13.415 5.153l-44.911 155.697c30.851-11.416 58.146-16.969 83.135-16.969 40.423 0 69.764 15.104 93.996 30.652 11.481-38.959 39.022-133.045 47.241-161.162-5.975-3.642-12.038-7.285-18.257-10.66zM264.174 295.535l-45.223 157.074c13.416 7.686 58.549 32.025 93.106 32.025 27.896 0 59.126-7.148 95.417-21.896l43.178-150.988c-29.316 9.461-57.438 14.26-83.732 14.26-47.975 0-81.557-15.549-102.746-30.475zM146.411 184.395c38.559 0.399 67.076 15.104 90.708 30.251l46.376-158.672c-9.773-5.598-35.403-19.547-53.929-24.3-12.193-2.842-25.010-4.308-38.602-4.308-25.898 0.488-54.194 6.973-86.444 19.9l-44.22 155.298c32.404-12.218 60.322-18.17 86.043-18.17 0.023 0.001 0.068 0.001 0.068 0.001zM512 99.062c-29.407 11.416-58.104 17.233-85.514 17.233-45.843 0-79.646-15.901-101.547-31.183l-45.975 159.118c30.873 19.854 64.145 29.939 99.061 29.939 28.474 0 57.97-6.84 87.731-20.344l-0.091-1.111 1.867-0.443 44.468-153.209z", fill: "currentColor" })));
3957
+ f(this, "renderMacMetaSymbol", () => u("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 512 512", fill: "none" }, u("title", null, "Mac meta key"), u("path", { d: "M368,283h-43v-54h43c46.87,0,85-38.13,85-85s-38.13-85-85-85-85,38.13-85,85v43h-54v-43c0-46.87-38.13-85-85-85s-85,38.13-85,85,38.13,85,85,85h43v54h-43c-46.87,0-85,38.13-85,85s38.13,85,85,85,85-38.13,85-85v-43h54v43c0,46.87,38.13,85,85,85s85-38.13,85-85-38.13-85-85-85ZM325,144c0-23.71,19.29-43,43-43s43,19.29,43,43-19.29,43-43,43h-43v-43ZM144,187c-23.71,0-43-19.29-43-43s19.29-43,43-43,43,19.29,43,43v43h-43ZM187,368c0,23.71-19.29,43-43,43s-43-19.29-43-43,19.29-43,43-43h43v43ZM283,283h-54v-54h54v54ZM368,411c-23.71,0-43-19.29-43-43v-43h43c23.71,0,43,19.29,43,43s-19.29,43-43,43Z", fill: "currentColor" })));
3907
3958
  this.__registerHost();
3908
3959
  }
3909
3960
  handleOnClick() {
@@ -3942,18 +3993,18 @@ const bc = vc, yc = /* @__PURE__ */ N(class extends D {
3942
3993
  }
3943
3994
  }
3944
3995
  renderSkeuomorphicSlot() {
3945
- return l("div", { class: "searchcraft-popover-button-wrapper" }, l("div", { class: "searchcraft-popover-button-input" }, l("svg", { class: "searchcraft-popover-button-input-search-icon", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", version: "1.1" }, l("title", null, "Search icon"), l("path", { d: "M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), l("span", null, "Search")), l("div", { class: "searchcraft-popover-button-keycaps" }, l("div", { class: "searchcraft-popover-button-keycaps-keycap searchcraft-popover-button-keycaps-keycap-modifier" }, l("span", null, this.hotkeyModifierSymbol)), l("div", { class: "searchcraft-popover-button-keycaps-keycap searchcraft-popover-button-keycaps-keycap-key" }, l("span", null, this.hotkey))));
3996
+ return u("div", { class: "searchcraft-popover-button-wrapper" }, u("div", { class: "searchcraft-popover-button-input" }, u("svg", { class: "searchcraft-popover-button-input-search-icon", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", version: "1.1" }, u("title", null, "Search icon"), u("path", { d: "M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), u("span", null, "Search")), u("div", { class: "searchcraft-popover-button-keycaps" }, u("div", { class: "searchcraft-popover-button-keycaps-keycap searchcraft-popover-button-keycaps-keycap-modifier" }, u("span", null, this.hotkeyModifierSymbol)), u("div", { class: "searchcraft-popover-button-keycaps-keycap searchcraft-popover-button-keycaps-keycap-key" }, u("span", null, this.hotkey))));
3946
3997
  }
3947
3998
  renderSlot() {
3948
3999
  switch (this.type) {
3949
4000
  case "skeuomorphic":
3950
4001
  return this.renderSkeuomorphicSlot();
3951
4002
  default:
3952
- return l("div", null, l("slot", null));
4003
+ return u("div", null, u("slot", null));
3953
4004
  }
3954
4005
  }
3955
4006
  render() {
3956
- return l("button", { key: "74e36b0593ba2cbb03f5ecff1434bc7056bf0db0", class: `searchcraft-popover-button ${this.type ? ` searchcraft-popover-button-${this.type}` : ""}`, innerHTML: typeof this.template < "u" ? this.template({ isPopoverVisible: this.isPopoverVisible }, { html: rt }) : void 0, onClick: this.handleOnClick.bind(this), type: "button" }, typeof this.template < "u" ? void 0 : this.type ? this.renderSlot() : "Open Popover");
4007
+ return u("button", { key: "74e36b0593ba2cbb03f5ecff1434bc7056bf0db0", class: `searchcraft-popover-button ${this.type ? ` searchcraft-popover-button-${this.type}` : ""}`, innerHTML: typeof this.template < "u" ? this.template({ isPopoverVisible: this.isPopoverVisible }, { html: rt }) : void 0, onClick: this.handleOnClick.bind(this), type: "button" }, typeof this.template < "u" ? void 0 : this.type ? this.renderSlot() : "Open Popover");
3957
4008
  }
3958
4009
  }, [4, "searchcraft-popover-button", {
3959
4010
  template: [16],
@@ -3993,12 +4044,12 @@ const Sc = Cc, wc = /* @__PURE__ */ N(class extends D {
3993
4044
  (r = this.unsubscribe) == null || r.call(this);
3994
4045
  }
3995
4046
  render() {
3996
- return l("footer", { key: "e1344ae185ef1b8a83bb69ba88e2952ab1c75e70", class: "searchcraft-popover-footer" }, l("p", { key: "51874f4ce490e4f164b999e8c6f89710702e73bd", class: "searchcraft-popover-footer-results-info" }, this.searchResultsCount ? `${sa(this.searchResultsCount)} Results Found` : " "), l("a", { key: "5476e24cc3fa7fa265bd2b5cba43c8a70d8609ca", class: "searchcraft-popover-footer-link", href: "https://searchcraft.io/", target: "_blank", rel: "noreferrer" }, l("svg", { key: "0a4edf94e9e40a96a93a4e7ba1ffbd081e51b585", class: "searchcraft-popover-footer-link-image", width: "169", height: "16", viewBox: "0 0 169 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, l("title", { key: "67813a626922d709a4409028cb0f3f1ce3e2cfe8" }, "Powered by Searchcraft"), l("path", { key: "bf9e46a5f9783edd7167c1c5c1256d0200053969", 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" }))));
4047
+ return u("footer", { key: "e1344ae185ef1b8a83bb69ba88e2952ab1c75e70", class: "searchcraft-popover-footer" }, u("p", { key: "51874f4ce490e4f164b999e8c6f89710702e73bd", class: "searchcraft-popover-footer-results-info" }, this.searchResultsCount ? `${aa(this.searchResultsCount)} Results Found` : " "), u("a", { key: "5476e24cc3fa7fa265bd2b5cba43c8a70d8609ca", class: "searchcraft-popover-footer-link", href: "https://searchcraft.io/", target: "_blank", rel: "noreferrer" }, u("svg", { key: "0a4edf94e9e40a96a93a4e7ba1ffbd081e51b585", class: "searchcraft-popover-footer-link-image", width: "169", height: "16", viewBox: "0 0 169 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, u("title", { key: "67813a626922d709a4409028cb0f3f1ce3e2cfe8" }, "Powered by Searchcraft"), u("path", { key: "bf9e46a5f9783edd7167c1c5c1256d0200053969", 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" }))));
3997
4048
  }
3998
4049
  }, [0, "searchcraft-popover-footer", {
3999
4050
  searchResultsCount: [32]
4000
4051
  }]);
4001
- function ca() {
4052
+ function ia() {
4002
4053
  if (typeof customElements > "u")
4003
4054
  return;
4004
4055
  ["searchcraft-popover-footer"].forEach((t) => {
@@ -4009,7 +4060,7 @@ function ca() {
4009
4060
  }
4010
4061
  });
4011
4062
  }
4012
- const kc = ca, xc = /* @__PURE__ */ N(class extends D {
4063
+ const kc = ia, Rc = /* @__PURE__ */ N(class extends D {
4013
4064
  constructor() {
4014
4065
  super();
4015
4066
  f(this, "item");
@@ -4045,7 +4096,7 @@ const kc = ca, xc = /* @__PURE__ */ N(class extends D {
4045
4096
  disconnectedCallback() {
4046
4097
  }
4047
4098
  render() {
4048
- return l("div", { key: "63a2f070ce71cd1330105c03985e32cd1f228b29", class: "searchcraft-popover-list-item" }, l("a", { key: "d9bb09248be9be235147acdfeed1a9f29cd123a2", class: "searchcraft-popover-list-item-link", href: this.href, onClick: this.handleLinkClick.bind(this) }, this.imageSource && l("div", { key: "6af7c3e754885730d8651a593f13b7b5b704a26d", class: "searchcraft-popover-list-item-image-wrapper" }, l("img", { key: "74c7e53467efd83ae95439a7065c1de2748113f5", alt: this.imageAlt, src: this.imageSource, class: "searchcraft-popover-list-item-image" })), l("div", { key: "25a12e5cf582b248773005f5fb58f7a15304d2d1", class: "searchcraft-popover-list-item-content" }, this.title && l("p", { key: "8169f7730feb832178adbc9bdb14a089e955a2ad", class: "searchcraft-popover-list-item-content-title" }, this.title), this.subtitle && l("p", { key: "96812df1bab635e3865bdfdb31f133ca629d800e", class: "searchcraft-popover-list-item-content-subtitle" }, this.subtitle))));
4099
+ return u("div", { key: "63a2f070ce71cd1330105c03985e32cd1f228b29", class: "searchcraft-popover-list-item" }, u("a", { key: "d9bb09248be9be235147acdfeed1a9f29cd123a2", class: "searchcraft-popover-list-item-link", href: this.href, onClick: this.handleLinkClick.bind(this) }, this.imageSource && u("div", { key: "6af7c3e754885730d8651a593f13b7b5b704a26d", class: "searchcraft-popover-list-item-image-wrapper" }, u("img", { key: "74c7e53467efd83ae95439a7065c1de2748113f5", alt: this.imageAlt, src: this.imageSource, class: "searchcraft-popover-list-item-image" })), u("div", { key: "25a12e5cf582b248773005f5fb58f7a15304d2d1", class: "searchcraft-popover-list-item-content" }, this.title && u("p", { key: "8169f7730feb832178adbc9bdb14a089e955a2ad", class: "searchcraft-popover-list-item-content-title" }, this.title), this.subtitle && u("p", { key: "96812df1bab635e3865bdfdb31f133ca629d800e", class: "searchcraft-popover-list-item-content-subtitle" }, this.subtitle))));
4049
4100
  }
4050
4101
  }, [0, "searchcraft-popover-list-item", {
4051
4102
  item: [16],
@@ -4057,18 +4108,18 @@ const kc = ca, xc = /* @__PURE__ */ N(class extends D {
4057
4108
  imageSource: [32],
4058
4109
  imageAlt: [32]
4059
4110
  }]);
4060
- function br() {
4111
+ function yr() {
4061
4112
  if (typeof customElements > "u")
4062
4113
  return;
4063
4114
  ["searchcraft-popover-list-item"].forEach((t) => {
4064
4115
  switch (t) {
4065
4116
  case "searchcraft-popover-list-item":
4066
- customElements.get(t) || customElements.define(t, xc);
4117
+ customElements.get(t) || customElements.define(t, Rc);
4067
4118
  break;
4068
4119
  }
4069
4120
  });
4070
4121
  }
4071
- var Ts;
4122
+ var Ps;
4072
4123
  const Ec = /* @__PURE__ */ N(class extends D {
4073
4124
  constructor() {
4074
4125
  super();
@@ -4084,46 +4135,46 @@ const Ec = /* @__PURE__ */ N(class extends D {
4084
4135
  f(this, "adClientResponseItems");
4085
4136
  f(this, "searchResultsPage");
4086
4137
  f(this, "searchResultsPerPage");
4087
- f(this, "config", (Ts = I.getState().core) == null ? void 0 : Ts.config);
4138
+ f(this, "config", (Ps = I.getState().core) == null ? void 0 : Ps.config);
4088
4139
  this.__registerHost();
4089
4140
  }
4090
4141
  renderWithADMAds() {
4091
4142
  var r, s;
4092
- return l("div", { class: "searchcraft-popover-list-view" }, (r = this.adClientResponseItems) == null ? void 0 : r.map((a) => l("searchcraft-ad", { adClientResponseItem: a, adContainerId: J(), adSource: "adMarketplace", key: a.id })), (s = this.searchClientResponseItems) == null ? void 0 : s.map((a, o) => l("searchcraft-popover-list-item", { item: a, key: a.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + o })));
4143
+ return u("div", { class: "searchcraft-popover-list-view" }, (r = this.adClientResponseItems) == null ? void 0 : r.map((a) => u("searchcraft-ad", { adClientResponseItem: a, adContainerId: J(), adSource: "adMarketplace", key: a.id })), (s = this.searchClientResponseItems) == null ? void 0 : s.map((a, o) => u("searchcraft-popover-list-item", { item: a, key: a.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + o })));
4093
4144
  }
4094
4145
  renderWithCustomAds() {
4095
- var i, u, h, p;
4096
- const r = [], s = ((i = this.config) == null ? void 0 : i.customAdInterstitialInterval) || 0, a = ((u = this.config) == null ? void 0 : u.customAdInterstitialQuantity) || 1, o = ((h = this.config) == null ? void 0 : h.customAdStartQuantity) || 0, n = ((p = this.config) == null ? void 0 : p.customAdEndQuantity) || 0, c = this.searchClientResponseItems || [];
4146
+ var i, h, l, p;
4147
+ const r = [], s = ((i = this.config) == null ? void 0 : i.customAdInterstitialInterval) || 0, a = ((h = this.config) == null ? void 0 : h.customAdInterstitialQuantity) || 1, o = ((l = this.config) == null ? void 0 : l.customAdStartQuantity) || 0, n = ((p = this.config) == null ? void 0 : p.customAdEndQuantity) || 0, c = this.searchClientResponseItems || [];
4097
4148
  for (let m = 0; m < o; m++)
4098
- r.push(l("searchcraft-ad", { adSource: "Custom", adContainerId: J(), key: `${m}-ad` }));
4099
- c.forEach((m, b) => {
4100
- if (s && b % s === 0 && b + s < c.length && b >= s)
4101
- for (let y = 0; y < a; y++)
4102
- r.push(l("searchcraft-ad", { adSource: "Custom", adContainerId: J(), key: `${m.id}-ad-${y}` }));
4103
- r.push(l("searchcraft-popover-list-item", { item: m, key: m.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + b }));
4149
+ r.push(u("searchcraft-ad", { adSource: "Custom", adContainerId: J(), key: `${m}-ad` }));
4150
+ c.forEach((m, v) => {
4151
+ if (s && v % s === 0 && v + s < c.length && v >= s)
4152
+ for (let b = 0; b < a; b++)
4153
+ r.push(u("searchcraft-ad", { adSource: "Custom", adContainerId: J(), key: `${m.id}-ad-${b}` }));
4154
+ r.push(u("searchcraft-popover-list-item", { item: m, key: m.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + v }));
4104
4155
  });
4105
4156
  for (let m = 0; m < n; m++)
4106
- r.push(l("searchcraft-ad", { adSource: "Custom", adContainerId: J(), key: `${m}-ad` }));
4107
- return l("div", { class: "searchcraft-popover-list-view" }, r);
4157
+ r.push(u("searchcraft-ad", { adSource: "Custom", adContainerId: J(), key: `${m}-ad` }));
4158
+ return u("div", { class: "searchcraft-popover-list-view" }, r);
4108
4159
  }
4109
4160
  renderWithNativoAds() {
4110
- var u, h, p, m, b;
4111
- const r = [], s = ((u = this.config) == null ? void 0 : u.nativoAdInterstialStartIndex) || 0, a = ((h = this.config) == null ? void 0 : h.nativoAdInterstitialInterval) || 0, o = ((p = this.config) == null ? void 0 : p.nativoAdInterstitialQuantity) || 1, n = ((m = this.config) == null ? void 0 : m.nativoAdStartQuantity) || 0, c = ((b = this.config) == null ? void 0 : b.nativoAdEndQuantity) || 0, i = this.searchClientResponseItems || [];
4112
- for (let y = 0; y < n; y++)
4113
- r.push(l("searchcraft-ad", { adSource: "Nativo", adContainerId: J(), key: `${y}-ad` }));
4114
- i.forEach((y, T) => {
4161
+ var h, l, p, m, v;
4162
+ const r = [], s = ((h = this.config) == null ? void 0 : h.nativoAdInterstialStartIndex) || 0, a = ((l = this.config) == null ? void 0 : l.nativoAdInterstitialInterval) || 0, o = ((p = this.config) == null ? void 0 : p.nativoAdInterstitialQuantity) || 1, n = ((m = this.config) == null ? void 0 : m.nativoAdStartQuantity) || 0, c = ((v = this.config) == null ? void 0 : v.nativoAdEndQuantity) || 0, i = this.searchClientResponseItems || [];
4163
+ for (let b = 0; b < n; b++)
4164
+ r.push(u("searchcraft-ad", { adSource: "Nativo", adContainerId: J(), key: `${b}-ad` }));
4165
+ i.forEach((b, T) => {
4115
4166
  if (a && (T + s) % a === 0 && T + a < i.length && T >= a)
4116
4167
  for (let _ = 0; _ < o; _++)
4117
- r.push(l("searchcraft-ad", { adSource: "Nativo", adContainerId: J(), key: `${y.id}-ad-${_}` }));
4118
- r.push(l("searchcraft-popover-list-item", { item: y, key: y.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + T }));
4168
+ r.push(u("searchcraft-ad", { adSource: "Nativo", adContainerId: J(), key: `${b.id}-ad-${_}` }));
4169
+ r.push(u("searchcraft-popover-list-item", { item: b, key: b.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + T }));
4119
4170
  });
4120
- for (let y = 0; y < c; y++)
4121
- r.push(l("searchcraft-ad", { adSource: "Nativo", adContainerId: J(), key: `${y}-ad` }));
4122
- return l("div", { class: "searchcraft-popover-list-view" }, r);
4171
+ for (let b = 0; b < c; b++)
4172
+ r.push(u("searchcraft-ad", { adSource: "Nativo", adContainerId: J(), key: `${b}-ad` }));
4173
+ return u("div", { class: "searchcraft-popover-list-view" }, r);
4123
4174
  }
4124
4175
  renderWithNoAds() {
4125
4176
  var r;
4126
- return l("div", { class: "searchcraft-popover-list-view" }, (r = this.searchClientResponseItems) == null ? void 0 : r.map((s, a) => l("searchcraft-popover-list-item", { item: s, key: s.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + a })));
4177
+ return u("div", { class: "searchcraft-popover-list-view" }, (r = this.searchClientResponseItems) == null ? void 0 : r.map((s, a) => u("searchcraft-popover-list-item", { item: s, key: s.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + a })));
4127
4178
  }
4128
4179
  render() {
4129
4180
  var r;
@@ -4145,7 +4196,7 @@ const Ec = /* @__PURE__ */ N(class extends D {
4145
4196
  searchResultsPage: [2, "search-results-page"],
4146
4197
  searchResultsPerPage: [2, "search-results-per-page"]
4147
4198
  }]);
4148
- function ia() {
4199
+ function la() {
4149
4200
  if (typeof customElements > "u")
4150
4201
  return;
4151
4202
  ["searchcraft-popover-list-view", "searchcraft-ad", "searchcraft-popover-list-item"].forEach((t) => {
@@ -4154,15 +4205,15 @@ function ia() {
4154
4205
  customElements.get(t) || customElements.define(t, Ec);
4155
4206
  break;
4156
4207
  case "searchcraft-ad":
4157
- customElements.get(t) || xt();
4208
+ customElements.get(t) || Rt();
4158
4209
  break;
4159
4210
  case "searchcraft-popover-list-item":
4160
- customElements.get(t) || br();
4211
+ customElements.get(t) || yr();
4161
4212
  break;
4162
4213
  }
4163
4214
  });
4164
4215
  }
4165
- const Rc = /* @__PURE__ */ N(class extends D {
4216
+ const xc = /* @__PURE__ */ N(class extends D {
4166
4217
  constructor() {
4167
4218
  super();
4168
4219
  /**
@@ -4293,21 +4344,21 @@ const Rc = /* @__PURE__ */ N(class extends D {
4293
4344
  }
4294
4345
  renderInlinePopover() {
4295
4346
  const r = this.hasResultsToShow && this.isFocused;
4296
- return l("div", { class: re("searchcraft-popover-form searchcraft-popover-form-inline", {
4347
+ return u("div", { class: re("searchcraft-popover-form searchcraft-popover-form-inline", {
4297
4348
  "searchcraft-popover-form-active": r
4298
- }) }, l("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-inline-input" }, l("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this) })), r && l("div", { class: "searchcraft-popover-form-inline-wrapper" }, l("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage }), l("searchcraft-popover-footer", null)));
4349
+ }) }, u("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-inline-input" }, u("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this) })), r && u("div", { class: "searchcraft-popover-form-inline-wrapper" }, u("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage }), u("searchcraft-popover-footer", null)));
4299
4350
  }
4300
4351
  renderModalPopover() {
4301
4352
  if (this.isPopoverVisibleInState)
4302
- return l("div", { class: re("searchcraft-popover-form searchcraft-popover-form-modal", {
4353
+ return u("div", { class: re("searchcraft-popover-form searchcraft-popover-form-modal", {
4303
4354
  "searchcraft-popover-form-active": this.hasResultsToShow
4304
- }) }, l("div", { class: "searchcraft-popover-form-modal-backdrop", onClick: this.handleModalBackdropClick }), l("div", { class: "searchcraft-popover-form-modal-wrapper" }, l("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-modal-input" }, l("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), onInputInit: this.handleInputInit.bind(this) }), l("button", { type: "button", class: "searchcraft-popover-form-cancel-button searchcraft-popover-form-modal-cancel-button", onClick: this.handleCancelButtonClick.bind(this) }, "Cancel")), l("div", { class: "searchcraft-popover-form-modal-popover-list-view" }, this.hasResultsToShow && l("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage })), l("searchcraft-popover-footer", null)));
4355
+ }) }, u("div", { class: "searchcraft-popover-form-modal-backdrop", onClick: this.handleModalBackdropClick }), u("div", { class: "searchcraft-popover-form-modal-wrapper" }, u("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-modal-input" }, u("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), onInputInit: this.handleInputInit.bind(this) }), u("button", { type: "button", class: "searchcraft-popover-form-cancel-button searchcraft-popover-form-modal-cancel-button", onClick: this.handleCancelButtonClick.bind(this) }, "Cancel")), u("div", { class: "searchcraft-popover-form-modal-popover-list-view" }, this.hasResultsToShow && u("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage })), u("searchcraft-popover-footer", null)));
4305
4356
  }
4306
4357
  renderFullscreenPopover() {
4307
4358
  if (this.isPopoverVisibleInState)
4308
- return l("div", { class: re("searchcraft-popover-form searchcraft-popover-form-fullscreen", {
4359
+ return u("div", { class: re("searchcraft-popover-form searchcraft-popover-form-fullscreen", {
4309
4360
  "searchcraft-popover-form-active": this.hasResultsToShow
4310
- }) }, l("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-fullscreen-input" }, l("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), onInputInit: this.handleInputInit.bind(this) }), l("button", { type: "button", class: "searchcraft-popover-form-cancel-button searchcraft-popover-form-fullscreen-cancel-button", onClick: this.handleCancelButtonClick.bind(this) }, "Cancel")), l("div", { class: "searchcraft-popover-form-fullscreen-popover-list-view" }, this.hasResultsToShow && l("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage })), l("searchcraft-popover-footer", null));
4361
+ }) }, u("div", { class: "searchcraft-popover-form-input searchcraft-popover-form-fullscreen-input" }, u("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), onInputInit: this.handleInputInit.bind(this) }), u("button", { type: "button", class: "searchcraft-popover-form-cancel-button searchcraft-popover-form-fullscreen-cancel-button", onClick: this.handleCancelButtonClick.bind(this) }, "Cancel")), u("div", { class: "searchcraft-popover-form-fullscreen-popover-list-view" }, this.hasResultsToShow && u("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage })), u("searchcraft-popover-footer", null));
4311
4362
  }
4312
4363
  render() {
4313
4364
  switch (this.type) {
@@ -4337,45 +4388,45 @@ const Rc = /* @__PURE__ */ N(class extends D {
4337
4388
  searchResultsPerPage: [32],
4338
4389
  modalElement: [32]
4339
4390
  }]);
4340
- function la() {
4391
+ function ua() {
4341
4392
  if (typeof customElements > "u")
4342
4393
  return;
4343
4394
  ["searchcraft-popover-form", "searchcraft-ad", "searchcraft-button", "searchcraft-error-message", "searchcraft-input-form", "searchcraft-input-label", "searchcraft-popover-footer", "searchcraft-popover-form", "searchcraft-popover-list-item", "searchcraft-popover-list-view"].forEach((t) => {
4344
4395
  switch (t) {
4345
4396
  case "searchcraft-popover-form":
4346
- customElements.get(t) || customElements.define(t, Rc);
4397
+ customElements.get(t) || customElements.define(t, xc);
4347
4398
  break;
4348
4399
  case "searchcraft-ad":
4349
- customElements.get(t) || xt();
4400
+ customElements.get(t) || Rt();
4350
4401
  break;
4351
4402
  case "searchcraft-button":
4352
4403
  customElements.get(t) || Et();
4353
4404
  break;
4354
4405
  case "searchcraft-error-message":
4355
- customElements.get(t) || Rt();
4406
+ customElements.get(t) || xt();
4356
4407
  break;
4357
4408
  case "searchcraft-input-form":
4358
- customElements.get(t) || oa();
4409
+ customElements.get(t) || ca();
4359
4410
  break;
4360
4411
  case "searchcraft-input-label":
4361
- customElements.get(t) || vr();
4412
+ customElements.get(t) || br();
4362
4413
  break;
4363
4414
  case "searchcraft-popover-footer":
4364
- customElements.get(t) || ca();
4415
+ customElements.get(t) || ia();
4365
4416
  break;
4366
4417
  case "searchcraft-popover-form":
4367
- customElements.get(t) || la();
4418
+ customElements.get(t) || ua();
4368
4419
  break;
4369
4420
  case "searchcraft-popover-list-item":
4370
- customElements.get(t) || br();
4421
+ customElements.get(t) || yr();
4371
4422
  break;
4372
4423
  case "searchcraft-popover-list-view":
4373
- customElements.get(t) || ia();
4424
+ customElements.get(t) || la();
4374
4425
  break;
4375
4426
  }
4376
4427
  });
4377
4428
  }
4378
- const Tc = la, Pc = br, $c = ia, _c = /* @__PURE__ */ N(class extends D {
4429
+ const Tc = ua, Pc = yr, $c = la, _c = /* @__PURE__ */ N(class extends D {
4379
4430
  constructor() {
4380
4431
  super();
4381
4432
  /**
@@ -4404,11 +4455,11 @@ const Tc = la, Pc = br, $c = ia, _c = /* @__PURE__ */ N(class extends D {
4404
4455
  this.unsubscribe && this.unsubscribe();
4405
4456
  }
4406
4457
  render() {
4407
- return !this.searchTerm || this.searchResultsCount === 0 ? null : l("p", { class: "searchcraft-results-info" }, typeof this.template < "u" ? this.template({
4458
+ return !this.searchTerm || this.searchResultsCount === 0 ? null : u("p", { class: "searchcraft-results-info" }, typeof this.template < "u" ? this.template({
4408
4459
  range: [Number(this.range[0]), Number(this.range[1])],
4409
4460
  count: this.count,
4410
4461
  responseTime: this.responseTime
4411
- }, { html: rt }) : `${sa(this.count)} results found in ${this.responseTime}ms`);
4462
+ }, { html: rt }) : `${aa(this.count)} results found in ${this.responseTime}ms`);
4412
4463
  }
4413
4464
  }, [0, "searchcraft-results-info", {
4414
4465
  template: [16],
@@ -4449,17 +4500,17 @@ const Ac = Ic, Mc = /* @__PURE__ */ N(class extends D {
4449
4500
  f(this, "template");
4450
4501
  f(this, "templateHtml");
4451
4502
  f(this, "handleResultContainerClick", (r) => {
4452
- var h;
4503
+ var l;
4453
4504
  const s = I.getState(), a = s.getSearchcraftCore();
4454
4505
  if (!r.target)
4455
4506
  return;
4456
4507
  const n = r.target.closest("a");
4457
- if (!n || !((h = this.hostElement) != null && h.contains(n)) || !a || !a.measureClient)
4508
+ if (!n || !((l = this.hostElement) != null && l.contains(n)) || !a || !a.measureClient)
4458
4509
  return;
4459
- const c = this.documentPosition, i = s.searchTerm, u = s.searchClientResponseItems.length || 0;
4510
+ const c = this.documentPosition, i = s.searchTerm, h = s.searchClientResponseItems.length || 0;
4460
4511
  a.measureClient.sendMeasureEvent("document_clicked", {
4461
4512
  document_position: c,
4462
- number_of_documents: u,
4513
+ number_of_documents: h,
4463
4514
  search_term: i
4464
4515
  });
4465
4516
  });
@@ -4484,7 +4535,7 @@ const Ac = Ic, Mc = /* @__PURE__ */ N(class extends D {
4484
4535
  }
4485
4536
  render() {
4486
4537
  if (this.item)
4487
- return typeof this.template > "u" ? l("div", { class: "searchcraft-search-result searchcraft-search-result-no-template", onClick: this.handleResultContainerClick, onKeyDown: this.handleKeyDown }, Object.entries(this.item.document).map(([r, s]) => l("p", { key: r }, l("strong", null, r), ": ", s))) : l("div", { class: "searchcraft-search-result", innerHTML: this.templateHtml, onClick: this.handleResultContainerClick, onKeyDown: this.handleKeyDown });
4538
+ return typeof this.template > "u" ? u("div", { class: "searchcraft-search-result searchcraft-search-result-no-template", onClick: this.handleResultContainerClick, onKeyDown: this.handleKeyDown }, Object.entries(this.item.document).map(([r, s]) => u("p", { key: r }, u("strong", null, r), ": ", s))) : u("div", { class: "searchcraft-search-result", innerHTML: this.templateHtml, onClick: this.handleResultContainerClick, onKeyDown: this.handleKeyDown });
4488
4539
  }
4489
4540
  }, [0, "searchcraft-search-result", {
4490
4541
  item: [16],
@@ -4493,7 +4544,7 @@ const Ac = Ic, Mc = /* @__PURE__ */ N(class extends D {
4493
4544
  template: [16],
4494
4545
  templateHtml: [32]
4495
4546
  }]);
4496
- function ua() {
4547
+ function ha() {
4497
4548
  if (typeof customElements > "u")
4498
4549
  return;
4499
4550
  ["searchcraft-search-result"].forEach((t) => {
@@ -4504,7 +4555,7 @@ function ua() {
4504
4555
  }
4505
4556
  });
4506
4557
  }
4507
- const Oc = ua, Lc = /* @__PURE__ */ N(class extends D {
4558
+ const Oc = ha, Fc = /* @__PURE__ */ N(class extends D {
4508
4559
  constructor() {
4509
4560
  super();
4510
4561
  /**
@@ -4545,50 +4596,50 @@ const Oc = ua, Lc = /* @__PURE__ */ N(class extends D {
4545
4596
  ], this.isSearchInProgress = r.isSearchInProgress, this.searchClientResponseItems = [...r.searchClientResponseItems], this.searchResultsPage = r.searchResultsPage, this.searchResultsPerPage = r.searchResultsPerPage, this.searchTerm = r.searchTerm;
4546
4597
  }
4547
4598
  renderEmptyState() {
4548
- return l("div", { class: "searchcraft-search-results-empty-state" }, l("slot", { name: "empty-search" }));
4599
+ return u("div", { class: "searchcraft-search-results-empty-state" }, u("slot", { name: "empty-search" }));
4549
4600
  }
4550
4601
  renderNoResultsFoundState() {
4551
- return l("div", { class: "searchcraft-search-results" }, l("div", { class: "searchcraft-search-results-error-message" }, l("searchcraft-error-message", null, 'No search results found for "', this.searchTerm, '" query.')));
4602
+ return u("div", { class: "searchcraft-search-results" }, u("div", { class: "searchcraft-search-results-error-message" }, u("searchcraft-error-message", null, 'No search results found for "', this.searchTerm, '" query.')));
4552
4603
  }
4553
4604
  renderWithADMAds() {
4554
4605
  var s, a, o;
4555
4606
  const r = (s = this.searchClientResponseItems) != null && s.length ? this.searchClientResponseItems : (a = this.initialSearchClientResponseItems) != null && a.length ? this.initialSearchClientResponseItems : [];
4556
- return l("div", { class: "searchcraft-search-results" }, (o = this.adClientResponseItems) == null ? void 0 : o.map((n) => l("searchcraft-ad", { adSource: "adMarketplace", adClientResponseItem: n, adContainerId: J(), key: n.id })), r.map((n, c) => l("searchcraft-search-result", { key: n.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + c, index: c, item: n, template: this.template })));
4607
+ return u("div", { class: "searchcraft-search-results" }, (o = this.adClientResponseItems) == null ? void 0 : o.map((n) => u("searchcraft-ad", { adSource: "adMarketplace", adClientResponseItem: n, adContainerId: J(), key: n.id })), r.map((n, c) => u("searchcraft-search-result", { key: n.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + c, index: c, item: n, template: this.template })));
4557
4608
  }
4558
4609
  renderWithCustomAds() {
4559
- var i, u, h, p, m, b;
4560
- const r = [], s = ((i = this.config) == null ? void 0 : i.customAdInterstitialInterval) || 0, a = ((u = this.config) == null ? void 0 : u.customAdInterstitialQuantity) || 1, o = ((h = this.config) == null ? void 0 : h.customAdStartQuantity) || 0, n = ((p = this.config) == null ? void 0 : p.customAdEndQuantity) || 0, c = (m = this.searchClientResponseItems) != null && m.length ? this.searchClientResponseItems : (b = this.initialSearchClientResponseItems) != null && b.length ? this.initialSearchClientResponseItems : [];
4561
- for (let y = 0; y < o; y++)
4562
- r.push(l("searchcraft-ad", { adSource: "Custom", adContainerId: J(), key: `${y}-ad` }));
4563
- c.forEach((y, T) => {
4610
+ var i, h, l, p, m, v;
4611
+ const r = [], s = ((i = this.config) == null ? void 0 : i.customAdInterstitialInterval) || 0, a = ((h = this.config) == null ? void 0 : h.customAdInterstitialQuantity) || 1, o = ((l = this.config) == null ? void 0 : l.customAdStartQuantity) || 0, n = ((p = this.config) == null ? void 0 : p.customAdEndQuantity) || 0, c = (m = this.searchClientResponseItems) != null && m.length ? this.searchClientResponseItems : (v = this.initialSearchClientResponseItems) != null && v.length ? this.initialSearchClientResponseItems : [];
4612
+ for (let b = 0; b < o; b++)
4613
+ r.push(u("searchcraft-ad", { adSource: "Custom", adContainerId: J(), key: `${b}-ad` }));
4614
+ c.forEach((b, T) => {
4564
4615
  if (s && T % s === 0 && T + s < c.length && T >= s)
4565
4616
  for (let _ = 0; _ < a; _++)
4566
- r.push(l("searchcraft-ad", { adSource: "Custom", adContainerId: J(), key: `${y.id}-ad-${_}` }));
4567
- r.push(l("searchcraft-search-result", { key: y.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + T, index: T, item: y, template: this.template }));
4617
+ r.push(u("searchcraft-ad", { adSource: "Custom", adContainerId: J(), key: `${b.id}-ad-${_}` }));
4618
+ r.push(u("searchcraft-search-result", { key: b.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + T, index: T, item: b, template: this.template }));
4568
4619
  });
4569
- for (let y = 0; y < n; y++)
4570
- r.push(l("searchcraft-ad", { adSource: "Custom", adContainerId: J(), key: `${y}-ad` }));
4571
- return l("div", { class: "searchcraft-search-results" }, r);
4620
+ for (let b = 0; b < n; b++)
4621
+ r.push(u("searchcraft-ad", { adSource: "Custom", adContainerId: J(), key: `${b}-ad` }));
4622
+ return u("div", { class: "searchcraft-search-results" }, r);
4572
4623
  }
4573
4624
  renderWithNativoAds() {
4574
- var u, h, p, m, b, y, T;
4575
- const r = [], s = ((u = this.config) == null ? void 0 : u.nativoAdInterstialStartIndex) || 0, a = ((h = this.config) == null ? void 0 : h.nativoAdInterstitialInterval) || 0, o = ((p = this.config) == null ? void 0 : p.nativoAdInterstitialQuantity) || 1, n = ((m = this.config) == null ? void 0 : m.nativoAdStartQuantity) || 0, c = ((b = this.config) == null ? void 0 : b.nativoAdEndQuantity) || 0, i = (y = this.searchClientResponseItems) != null && y.length ? this.searchClientResponseItems : (T = this.initialSearchClientResponseItems) != null && T.length ? this.initialSearchClientResponseItems : [];
4625
+ var h, l, p, m, v, b, T;
4626
+ const r = [], s = ((h = this.config) == null ? void 0 : h.nativoAdInterstialStartIndex) || 0, a = ((l = this.config) == null ? void 0 : l.nativoAdInterstitialInterval) || 0, o = ((p = this.config) == null ? void 0 : p.nativoAdInterstitialQuantity) || 1, n = ((m = this.config) == null ? void 0 : m.nativoAdStartQuantity) || 0, c = ((v = this.config) == null ? void 0 : v.nativoAdEndQuantity) || 0, i = (b = this.searchClientResponseItems) != null && b.length ? this.searchClientResponseItems : (T = this.initialSearchClientResponseItems) != null && T.length ? this.initialSearchClientResponseItems : [];
4576
4627
  for (let _ = 0; _ < n; _++)
4577
- r.push(l("searchcraft-ad", { adSource: "Nativo", adContainerId: J(), key: `${_}-ad` }));
4578
- i.forEach((_, L) => {
4579
- if (a && (L + s) % a === 0 && L + a < i.length && L >= a)
4628
+ r.push(u("searchcraft-ad", { adSource: "Nativo", adContainerId: J(), key: `${_}-ad` }));
4629
+ i.forEach((_, F) => {
4630
+ if (a && (F + s) % a === 0 && F + a < i.length && F >= a)
4580
4631
  for (let P = 0; P < o; P++)
4581
- r.push(l("searchcraft-ad", { adSource: "Nativo", adContainerId: J(), key: `${_.id}-ad-${P}` }));
4582
- r.push(l("searchcraft-search-result", { key: _.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + L, index: L, item: _, template: this.template }));
4632
+ r.push(u("searchcraft-ad", { adSource: "Nativo", adContainerId: J(), key: `${_.id}-ad-${P}` }));
4633
+ r.push(u("searchcraft-search-result", { key: _.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + F, index: F, item: _, template: this.template }));
4583
4634
  });
4584
4635
  for (let _ = 0; _ < c; _++)
4585
- r.push(l("searchcraft-ad", { adSource: "Nativo", adContainerId: J(), key: `${_}-ad` }));
4586
- return l("div", { class: "searchcraft-search-results" }, r);
4636
+ r.push(u("searchcraft-ad", { adSource: "Nativo", adContainerId: J(), key: `${_}-ad` }));
4637
+ return u("div", { class: "searchcraft-search-results" }, r);
4587
4638
  }
4588
4639
  renderWithNoAds() {
4589
4640
  var s, a;
4590
4641
  const r = (s = this.searchClientResponseItems) != null && s.length ? this.searchClientResponseItems : (a = this.initialSearchClientResponseItems) != null && a.length ? this.initialSearchClientResponseItems : [];
4591
- return l("div", { class: "searchcraft-search-results" }, r.map((o, n) => l("searchcraft-search-result", { key: o.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + n, index: n, item: o, template: this.template })));
4642
+ return u("div", { class: "searchcraft-search-results" }, r.map((o, n) => u("searchcraft-search-result", { key: o.id, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + n, index: n, item: o, template: this.template })));
4592
4643
  }
4593
4644
  render() {
4594
4645
  var a;
@@ -4620,27 +4671,27 @@ const Oc = ua, Lc = /* @__PURE__ */ N(class extends D {
4620
4671
  searchResultsPerPage: [32],
4621
4672
  searchTerm: [32]
4622
4673
  }]);
4623
- function Fc() {
4674
+ function Lc() {
4624
4675
  if (typeof customElements > "u")
4625
4676
  return;
4626
4677
  ["searchcraft-search-results", "searchcraft-ad", "searchcraft-error-message", "searchcraft-search-result"].forEach((t) => {
4627
4678
  switch (t) {
4628
4679
  case "searchcraft-search-results":
4629
- customElements.get(t) || customElements.define(t, Lc);
4680
+ customElements.get(t) || customElements.define(t, Fc);
4630
4681
  break;
4631
4682
  case "searchcraft-ad":
4632
- customElements.get(t) || xt();
4683
+ customElements.get(t) || Rt();
4633
4684
  break;
4634
4685
  case "searchcraft-error-message":
4635
- customElements.get(t) || Rt();
4686
+ customElements.get(t) || xt();
4636
4687
  break;
4637
4688
  case "searchcraft-search-result":
4638
- customElements.get(t) || ua();
4689
+ customElements.get(t) || ha();
4639
4690
  break;
4640
4691
  }
4641
4692
  });
4642
4693
  }
4643
- const Dc = Fc, Nc = /* @__PURE__ */ N(class extends D {
4694
+ const Dc = Lc, Nc = /* @__PURE__ */ N(class extends D {
4644
4695
  constructor() {
4645
4696
  super();
4646
4697
  /**
@@ -4689,7 +4740,7 @@ const Dc = Fc, Nc = /* @__PURE__ */ N(class extends D {
4689
4740
  this.setSearchResultsPage(r);
4690
4741
  }
4691
4742
  render() {
4692
- return l("div", { key: "15ecbf48c824a161cd83bdab99dace8e44f1ab39", class: "searchcraft-select" }, this.label && l("label", { key: "aba433ae9c27c9405099cffcef923c3ad22d7fda", class: "searchcraft-select-label", id: this.labelId || `${this.inputId}-label`, htmlFor: this.inputId }, this.label), l("div", { key: "8df8a2ff05924c9c55cdd6e3827cd927cddab82a", class: "searchcraft-select-input-wrapper" }, l("select", { key: "1d5f492c2255f8ca1b6ea5e04a2726dda2f2c52f", "aria-labelledby": this.label ? this.labelId || `${this.inputId}-label` : void 0, class: "searchcraft-select-input", disabled: this.disabled, id: this.inputId, name: this.name, onChange: this.handleSelectChange }, (typeof this.options == "string" ? JSON.parse(this.options) : this.options).map(({ label: r, value: s, selected: a }) => l("option", { key: s, value: s, selected: a }, r))), l("svg", { key: "0ec6892b529f2e70027aadea47208582a65a97b7", class: "searchcraft-select-input-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, l("title", { key: "bced6b62378491d1d1c629b602d7d033d912c761" }, "Select dropdown icon"), l("path", { key: "659f8ebf9129e2e7941da949d29688c41c1472bb", d: "M5 7.5L10 12.5L15 7.5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.caption && l("p", { key: "51217d926f68f79b6c3514f5fd769b56549fdce9", class: "searchcraft-select-caption" }, this.caption));
4743
+ return u("div", { key: "15ecbf48c824a161cd83bdab99dace8e44f1ab39", class: "searchcraft-select" }, this.label && u("label", { key: "aba433ae9c27c9405099cffcef923c3ad22d7fda", class: "searchcraft-select-label", id: this.labelId || `${this.inputId}-label`, htmlFor: this.inputId }, this.label), u("div", { key: "8df8a2ff05924c9c55cdd6e3827cd927cddab82a", class: "searchcraft-select-input-wrapper" }, u("select", { key: "1d5f492c2255f8ca1b6ea5e04a2726dda2f2c52f", "aria-labelledby": this.label ? this.labelId || `${this.inputId}-label` : void 0, class: "searchcraft-select-input", disabled: this.disabled, id: this.inputId, name: this.name, onChange: this.handleSelectChange }, (typeof this.options == "string" ? JSON.parse(this.options) : this.options).map(({ label: r, value: s, selected: a }) => u("option", { key: s, value: s, selected: a }, r))), u("svg", { key: "0ec6892b529f2e70027aadea47208582a65a97b7", class: "searchcraft-select-input-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, u("title", { key: "bced6b62378491d1d1c629b602d7d033d912c761" }, "Select dropdown icon"), u("path", { key: "659f8ebf9129e2e7941da949d29688c41c1472bb", d: "M5 7.5L10 12.5L15 7.5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.caption && u("p", { key: "51217d926f68f79b6c3514f5fd769b56549fdce9", class: "searchcraft-select-caption" }, this.caption));
4693
4744
  }
4694
4745
  }, [0, "searchcraft-select", {
4695
4746
  caption: [1],
@@ -4703,7 +4754,7 @@ const Dc = Fc, Nc = /* @__PURE__ */ N(class extends D {
4703
4754
  setSearchResultsPage: [32],
4704
4755
  setSearchResultsPerPage: [32]
4705
4756
  }]);
4706
- function ha() {
4757
+ function da() {
4707
4758
  if (typeof customElements > "u")
4708
4759
  return;
4709
4760
  ["searchcraft-select"].forEach((t) => {
@@ -4750,7 +4801,7 @@ const Hc = /* @__PURE__ */ N(class extends D {
4750
4801
  }
4751
4802
  render() {
4752
4803
  if (!(!this.searchTerm || this.searchResultsPagesCount <= 1))
4753
- return l("div", { class: "searchcraft-search-results-per-page" }, l("div", { class: "searchcraft-search-results-per-page-select" }, l("label", { class: "searchcraft-search-results-per-page-select-label", htmlFor: "searchcraft-search-results-per-page-select-input" }, "Results Per Page"), l("div", { class: "searchcraft-search-results-per-page-select-input" }, l("searchcraft-select", { inputId: "searchcraft-search-results-per-page-select-input", name: "results-per-page", options: [...Array(5)].map((r, s) => {
4804
+ return u("div", { class: "searchcraft-search-results-per-page" }, u("div", { class: "searchcraft-search-results-per-page-select" }, u("label", { class: "searchcraft-search-results-per-page-select-label", htmlFor: "searchcraft-search-results-per-page-select-input" }, "Results Per Page"), u("div", { class: "searchcraft-search-results-per-page-select-input" }, u("searchcraft-select", { inputId: "searchcraft-search-results-per-page-select-input", name: "results-per-page", options: [...Array(5)].map((r, s) => {
4754
4805
  const a = this.initialSearchResultsPerPage + Number(this.increment) * s;
4755
4806
  return {
4756
4807
  label: `${a}`,
@@ -4780,18 +4831,18 @@ function Uc() {
4780
4831
  customElements.get(t) || customElements.define(t, Hc);
4781
4832
  break;
4782
4833
  case "searchcraft-select":
4783
- customElements.get(t) || ha();
4834
+ customElements.get(t) || da();
4784
4835
  break;
4785
4836
  }
4786
4837
  });
4787
4838
  }
4788
- const zc = Uc, Bc = ha, Vc = aa, jc = `[class*=searchcraft-],[class*=searchcraft-] *,[class*=searchcraft-]::before,[class*=searchcraft-]::after,[class*=searchcraft-] *,::before,[class*=searchcraft-] *,::after{box-sizing:border-box;padding:0;margin:0}:root{--sc-text-base-size: 1em;--sc-text-scale-ratio: 1.1;--sc-font-family: sans-serif;--sc-font-bold: 700;--sc-font-normal: 400;--sc-heading-1-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-2-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-3-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-4-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-5-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-6-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) );--sc-body-font-size: calc(var(--sc-text-base-size));--sc-body-small-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) )}:root{--sc-border-radius: 8px;--sc-border-radius-sm: calc(var(--sc-border-radius) / 2);--sc-border-radius-lg: calc(var(--sc-border-radius) * 2);--sc-border-radius-xl: calc(var(--sc-border-radius) * 3);--sc-border-radius-2xl: calc(var(--sc-border-radius) * 4);--sc-border-radius-full: 9999px}:root{--sc-breakpoint-sm: 576px;--sc-breakpoint-md: 768px;--sc-breakpoint-lg: 992px}:root{--sc-surface-neutral-primary: var(--sc-color-background, #ffffff);--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-primary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #fafafa) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-primary-active: var( --sc-color-background-active, var(--sc-color-background-active-computed, #f7f7f7) );--sc-surface-neutral-secondary: var( --sc-color-background-secondary, var(--sc-color-background, #f3f3f3) );--sc-color-background-secondary-hover-computed: hsl( from var(--sc-color-background-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #e6e6e6) );--sc-color-background-secondary-active-computed: hsl( from var(--sc-color-background-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-secondary-active: var( --sc-color-background-secondary-active, var(--sc-color-background-active-computed, #e0e0e0) );--sc-surface-neutral-light: #ffffff;--sc-content-neutral-primary: var(--sc-color-foreground, #292929);--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10, calc(l + 5), 90) );--sc-content-neutral-secondary: var( --sc-color-foreground-secondary, var(--sc-color-foreground-secondary-computed, #404040) );--sc-border-neutral: var(--sc-color-border, rgba(0, 0, 0, 0.1));--sc-surface-brand-primary: var(--sc-color-brand, #000000);--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20, calc(l + 5), 95) );--sc-surface-brand-primary-hover: var( --sc-color-brand-hover, var(--sc-color-brand-hover-computed, #2e2e2e) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10, calc(l - 5), 85) );--sc-surface-brand-primary-active: var( --sc-color-brand-active, var(--sc-color-brand-active-computed, #292929) );--sc-surface-brand-secondary: var( --sc-color-brand-secondary, var(--sc-color-brand, #e6e6e6) );--sc-color-brand-secondary-hover-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-brand-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #ebebeb) );--sc-color-brand-secondary-active-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-brand-secondary-active: var( --sc-color-brand-secondary-active, var(--sc-color-brand-active-computed, #e0e0e0) );--sc-content-brand: var( --sc-color-brand-text, var(--sc-surface-brand-primary) );--sc-content-brand-on-primary: #ffffff;--sc-border-brand: var(--sc-surface-brand-primary);--sc-surface-success-primary: var(--sc-color-success, #008000);--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30 );--sc-surface-success-primary-hover: var( --sc-color-success-primary-hover, var(--sc-color-success-primary-hover-computed, #009900) );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20 );--sc-surface-success-primary-active: var( --sc-color-success-primary-active, var(--sc-color-success-primary-active-computed, #006600) );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90 );--sc-surface-success-secondary: var( --sc-color-success-secondary, var(--sc-color-success-secondary-computed, #ccffcc) );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95 );--sc-surface-success-secondary-hover: var( --sc-color-success-secondary-hover, var(--sc-color-success-secondary-hover-computed, #e6ffe6) );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85 );--sc-surface-success-secondary-active: var( --sc-color-success-secondary-active, var(--sc-color-success-secondary-active-computed, #b2ffb2) );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30) );--sc-content-success-on-primary: #ffffff;--sc-border-success: var(--sc-surface-success-primary);--sc-surface-caution-primary: var(--sc-color-caution, #cc6600);--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30 );--sc-surface-caution-primary-hover: var( --sc-color-caution-primary-hover, var(--sc-color-caution-primary-hover-computed, #e57300) );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20 );--sc-surface-caution-primary-active: var( --sc-color-caution-primary-active, var(--sc-color-caution-primary-active-computed, #b25a00) );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90 );--sc-surface-caution-secondary: var( --sc-color-caution-secondary, var(--sc-color-caution-secondary-computed, #ffd9b3) );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95 );--sc-surface-caution-secondary-hover: var( --sc-color-caution-secondary-hover, var(--sc-color-caution-secondary-hover-computed, #ffe5cc) );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85 );--sc-surface-caution-secondary-active: var( --sc-color-caution-secondary-active, var(--sc-color-caution-secondary-active-computed, #ffcc99) );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30) );--sc-content-caution-on-primary: #ffffff;--sc-border-caution: var(--sc-surface-caution-primary);--sc-surface-danger-primary: var(--sc-color-danger, #cc0000);--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30 );--sc-surface-danger-primary-hover: var( --sc-color-danger-primary-hover, var(--sc-color-danger-primary-hover-computed, #e50000) );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20 );--sc-surface-danger-primary-active: var( --sc-color-danger-primary-active, var(--sc-color-danger-primary-active-computed, #b30000) );--sc-color-danger-secondary-computed: hsl(from var(--sc-color-danger) h s 90);--sc-surface-danger-secondary: var( --sc-color-danger-secondary, var(--sc-color-danger-secondary-computed, #ffcccc) );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95 );--sc-surface-danger-secondary-hover: var( --sc-color-danger-secondary-hover, var(--sc-color-danger-secondary-hover-computed, #ffe7e7) );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85 );--sc-surface-danger-secondary-active: var( --sc-color-danger-secondary-active, var(--sc-color-danger-secondary-active-computed, #ffb3b3) );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30) );--sc-content-danger-on-primary: #ffffff;--sc-border-danger: var(--sc-surface-danger-primary);--sc-color-disabled: hsl(from var(--sc-color-page-primary) h s calc(l * 0.5));--sc-surface-disabled: var(--sc-color-disabled, #d9d9d9);--sc-color-disabled-text: hsl( from var(--sc-color-text-primary) h s calc(l * 0.5) );--sc-content-disabled: var(--sc-color-disabled-text, #737373);--sc-content-disabled-on-disabled: var(--sc-color-disabled-text, #737373)}@supports(hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none){:root{--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10%, calc(l + 5%), 95%) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5%, calc(l - 5%), 90%) );--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10%, calc(l + 5%), 90%) );--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20%, calc(l + 5%), 95%) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10%, calc(l - 5%), 85%) );--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30% );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20% );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90% );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95% );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85% );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30%) );--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30% );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20% );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90% );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95% );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85% );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30%) );--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30% );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20% );--sc-color-danger-secondary-computed: hsl( from var(--sc-color-danger) h s 90% );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95% );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85% );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30%) )}}.searchcraft-ad{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-ad-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-ad-no-template>p{margin:0}.searchcraft-adm-ad{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-result{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-search-result-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-search-result-no-template>p{margin:0}.searchcraft-search-results{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-results-empty-state{text-align:center}.searchcraft-search-results-error-message{text-align:center}.searchcraft-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background:none;border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;gap:4px;padding:12px;position:relative}.searchcraft-button.searchcraft-button-disabled{cursor:not-allowed}.searchcraft-button-primary{background-color:var(--sc-surface-brand-primary);color:var(--sc-content-brand-on-primary);font-weight:var(--sc-font-bold)}.searchcraft-button-primary:hover{background-color:var(--sc-surface-brand-primary-hover)}.searchcraft-button-primary:focus{border-color:var(--sc-border-primary)}.searchcraft-button-primary:active{background-color:var(--sc-surface-brand-primary-active)}.searchcraft-button-primary.searchcraft-button-disabled,.searchcraft-button-primary.searchcraft-button-disabled:hover,.searchcraft-button-primary.searchcraft-button-disabled:focus,.searchcraft-button-primary.searchcraft-button-disabled:active{background-color:var(--sc-surface-disabled);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-tertiary{background-color:var(--sc-surface-neutral-primary);color:var(--sc-content-brand);font-weight:var(--sc-font-normal)}.searchcraft-button-tertiary:hover{background-color:var(--sc-surface-brand-secondary-hover)}.searchcraft-button-tertiary:focus{background-color:var(--sc-surface-neutral-light);border-color:var(--sc-border-primary)}.searchcraft-button-tertiary:active{background-color:var(--sc-surface-brand-secondary-active)}.searchcraft-button-tertiary.searchcraft-button-disabled,.searchcraft-button-tertiary.searchcraft-button-disabled:hover,.searchcraft-button-tertiary.searchcraft-button-disabled:focus,.searchcraft-button-tertiary.searchcraft-button-disabled:active{background-color:var(--sc-surface-neutral-light);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-icon{fill:none}.searchcraft-error-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-danger);margin:0}.searchcraft-facet-list{display:flex;flex-direction:column;gap:8px;width:100%}.searchcraft-facet-list-checkbox-label{align-items:center;color:var(--sc-content-neutral-primary);display:flex;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);gap:8px;position:relative;-webkit-font-smoothing:antialiased}.searchcraft-facet-list-checkbox-input-wrapper{position:relative}.searchcraft-facet-list-checkbox-input{align-items:center;appearance:none;background-color:var(--sc-surface-neutral-secondary);border:1px solid var(--sc-surface-disabled);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;height:24px;justify-content:center;width:24px;margin:0}.searchcraft-facet-list-checkbox-input:focus{outline:2px solid var(--sc-surface-brand-primary);outline-offset:2px}.searchcraft-facet-list-checkbox-input:checked{background-color:var(--sc-surface-brand-primary);position:relative}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-check-icon{display:flex}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-dash-icon{display:flex}.searchcraft-facet-child-list{display:flex;flex-direction:column;gap:6px}.searchcraft-facet-child-list-checkbox-label{margin-left:24px}.searchcraft-facet-child-list-checkbox-label:first-child{margin-top:6px}.searchcraft-facet-list-checkbox-input-check-icon{display:none;height:16px;left:50%;position:absolute;margin-top:2px;top:50%;transform:translate(-50%, -50%);width:16px}.searchcraft-facet-list-checkbox-input-dash-icon{display:none;height:3px;left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);width:14px}.searchcraft-facet-list-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-disabled);text-align:center}.searchcraft-filter-panel{display:flex;flex-direction:column;gap:16px}.searchcraft-filter-panel-section{display:flex;flex-direction:column;gap:8px}.searchcraft-filter-panel-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}:root{--sc-input-form-border-radius: var(--sc-border-radius);--sc-input-form-search-icon-size: 20px;--sc-input-form-clear-icon-size: 20px}.searchcraft-input-form-grid{display:grid;gap:4px 8px}.searchcraft-input-form-grid-button-left{grid-template-rows:repeat(3, auto);grid-template-columns:auto 1fr}.searchcraft-input-form-grid-button-left .searchcraft-input-form-button{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-label{grid-column:2/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-error-message{grid-column:2/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-input-wrapper{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right{grid-template-rows:repeat(3, auto);grid-template-columns:1fr auto}.searchcraft-input-form-grid-button-right .searchcraft-input-form-button{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-none{grid-template-rows:repeat(3, auto);grid-template-columns:auto}.searchcraft-input-form-grid-button-none .searchcraft-input-form-button{display:none}.searchcraft-input-form-grid-button-none .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-input-wrapper{display:flex;position:relative}.searchcraft-input-form-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background-color:var(--sc-surface-neutral-secondary);border-radius:var(--sc-input-form-border-radius);border:none;color:var(--sc-content-neutral-primary);flex:1;outline:none;padding:12px 44px}.searchcraft-input-form-input::placeholder{color:var(--sc-content-disabled)}.searchcraft-input-form-input:focus{outline:var(--sc-border-brand) solid 2px;outline-offset:-1px}.searchcraft-input-form-input.searchcraft-placeholder-hide-on-focus:focus::placeholder{opacity:0}.searchcraft-input-form-error{color:var(--sc-content-danger);outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-error:focus{outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-input-icon{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;pointer-events:none;top:0;width:44px}.searchcraft-input-form-input-search-icon{color:var(--sc-content-neutral-secondary);fill:none;height:var(--sc-input-form-search-icon-size);pointer-events:none;width:var(--sc-input-form-search-icon-size)}.searchcraft-input-form-clear-button{all:unset;align-items:center;bottom:0;border:none;cursor:pointer;display:flex;justify-content:center;outline:none;position:absolute;right:0;top:0;width:44px}.searchcraft-input-form-clear-icon{color:var(--sc-content-brand);fill:none;height:var(--sc-input-form-clear-icon-size);width:var(--sc-input-form-clear-icon-size)}.searchcraft-input-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);font-weight:var(--sc-font-bold);margin-top:4px;margin-bottom:4px}:root{--sc-popover-button-border-radius: var(--sc-border-radius)}@media(min-width: 576px){:root{--sc-popover-button-border-radius: var(--sc-border-radius-lg)}}.searchcraft-popover-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);cursor:pointer}.searchcraft-popover-button-skeuomorphic{appearance:none;background:none;border:none;color:var(--sc-content-neutral-primary);display:block;width:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-popover-button-border-radius);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;display:flex;gap:24px;height:40px;justify-content:space-between;line-height:1;padding:4px 5px 4px 10px;background:var(--sc-surface-neutral-primary)}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;height:63px;padding:8px 10px 8px 16px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{align-items:center;display:flex;gap:4px}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{color:var(--sc-content-neutral-secondary);display:flex;gap:4px;font-size:20px;font-weight:500}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 3px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 3px);background-color:var(--sc-surface-neutral-primary);box-shadow:0 3px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 6px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 2px);position:relative}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 8px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 8px);box-shadow:0 4px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 6px 1px rgb(from var(--sc-content-neutral-secondary) r g b/20%),0 7px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 9px 4px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 13px 8px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 5px)}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before,.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{content:"";display:block}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 4px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 4px);background:linear-gradient(340deg, rgb(from var(--sc-surface-neutral-secondary) r g b/2%) 0%, var(--sc-surface-neutral-secondary) 100%);inset:2px;position:absolute}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 12px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 12px);inset:4px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{aspect-ratio:1/1;height:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap>span{display:flex;line-height:1;left:50%;margin-top:2%;position:absolute;top:50%;transform:translate(-50%, -50%)}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:60%;width:auto}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:50%}}:root{--sc-popover-list-view-height: 600px;--sc-popover-modal-max-width: 800px}.searchcraft-popover-form{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);display:flex;flex:1;flex-direction:column}.searchcraft-popover-form searchcraft-input-form,.searchcraft-popover-form searchcraft-popover-footer{width:100%}.searchcraft-popover-form.searchcraft-popover-form-active .searchcraft-popover-form-input{padding-bottom:1px}.searchcraft-popover-form searchcraft-popover-list-view{flex-shrink:1;height:100%;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-input{display:flex;flex-direction:row;gap:12px}.searchcraft-popover-form-input .searchcraft-input-form-input{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius-lg);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset;width:0}.searchcraft-popover-form-cancel-button{background:none;border:none;cursor:pointer;font-size:14px}.searchcraft-popover-form-modal-input,.searchcraft-popover-form-fullscreen-input{padding:24px}.searchcraft-popover-form-modal-popover-list-view,.searchcraft-popover-form-fullscreen-popover-list-view{flex-grow:1;flex-shrink:1;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-inline{background-color:var(--sc-surface-neutral-primary);border:1px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius-xl);padding:12px;position:relative}.searchcraft-popover-form-inline.searchcraft-popover-form-active{border:1px solid var(--sc-border-neutral);border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;padding-bottom:1px}.searchcraft-popover-form-inline searchcraft-popover-list-view{padding:0 12px}.searchcraft-popover-form-inline .searchcraft-input-form-input,.searchcraft-popover-form-inline .searchcraft-popover-list-item-link,.searchcraft-popover-form-inline .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-xl - 12px);border-radius:calc(var(--sc-border-radius-xl) - 12px)}.searchcraft-popover-form-inline-wrapper{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-top:none;border-bottom-left-radius:var(--sc-border-radius-xl);border-bottom-right-radius:var(--sc-border-radius-xl);display:flex;flex-direction:column;left:-1px;max-height:var(--sc-popover-list-view-height);overflow:hidden;position:absolute;right:-1px;top:100%}.searchcraft-popover-form-modal{align-items:center;display:flex;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-modal .searchcraft-input-form-input,.searchcraft-popover-form-modal .searchcraft-popover-list-item-link,.searchcraft-popover-form-modal .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px)}.searchcraft-popover-form-modal-backdrop{background-color:rgb(from var(--sc-content-neutral-primary) r g b/50%);display:none;inset:0;position:fixed}@media(min-width: 576px){.searchcraft-popover-form-modal-backdrop{display:block}}.searchcraft-popover-form-modal-wrapper{background-color:var(--sc-surface-neutral-primary);box-shadow:1px 2px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 2px 4px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 4px 8px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 8px 16px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 16px 32px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 32px 64px rgb(from var(--sc-content-neutral-primary) r g b/7%);display:flex;flex-direction:column;inset:0;max-width:var(--sc-popover-modal-max-width);overflow:hidden;position:absolute;width:100%;z-index:1001}@media(min-width: 576px){.searchcraft-popover-form-modal-wrapper{border-radius:var(--sc-border-radius-2xl);inset:0;margin-top:100px;max-height:var(--sc-popover-list-view-height);max-width:var(--sc-popover-modal-max-width);position:relative}}.searchcraft-popover-form-modal-cancel-button{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-modal-cancel-button{padding:8px 12px}}.searchcraft-popover-form-fullscreen{background-color:var(--sc-surface-neutral-primary);display:flex;flex-direction:column;justify-content:space-between;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-fullscreen .searchcraft-popover-list-item-link,.searchcraft-popover-form-fullscreen .searchcraft-adm-ad-link{border-radius:var(--sc-border-radius-lg)}.searchcraft-popover-form-fullscreen-cancel-button{border-radius:var(--sc-border-radius-lg);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-fullscreen-cancel-button{padding:8px 12px}}.searchcraft-popover-footer{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;background-color:var(--sc-surface-neutral-secondary);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset;display:flex;gap:8px;justify-content:space-between;line-height:1;padding:20px 24px}@media(min-width: 576px){.searchcraft-popover-footer{padding:20px 32px}}.searchcraft-popover-footer-results-info{margin:0}.searchcraft-popover-footer-link{color:var(--sc-content-neutral-primary);display:flex;max-width:160px;width:100%}:root{--sc-popover-list-item-image-fit: contain}.searchcraft-popover-list-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;border-bottom:1px solid var(--sc-border-neutral);padding:12px 0}searchcraft-popover-list-item:last-child .searchcraft-popover-list-item{border-bottom:none}.searchcraft-popover-list-item-link{align-items:flex-start;color:var(--sc-content-neutral-primary);display:flex;gap:24px;padding:12px;text-decoration:none}.searchcraft-popover-list-item-link:focus,.searchcraft-popover-list-item-link:active{background-color:var(--sc-surface-neutral-primary-active)}.searchcraft-popover-list-item-link:hover{background-color:var(--sc-surface-neutral-primary-hover)}.searchcraft-popover-list-item-image-wrapper{align-items:center;aspect-ratio:16/9;display:flex;flex-shrink:0;justify-content:center;width:160px}.searchcraft-popover-list-item-image{height:100%;object-fit:var(--sc-popover-list-item-image-fit);width:100%}.searchcraft-popover-list-item-content{display:flex;flex-direction:column;flex-grow:1;gap:4px;justify-content:center}.searchcraft-popover-list-item-content-title,.searchcraft-popover-list-item-content-subtitle{display:-webkit-box;line-clamp:2;margin:0;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.searchcraft-popover-list-item-content-title{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-heading-5-font-size);font-weight:var(--sc-font-bold)}.searchcraft-popover-list-item-content-subtitle{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-popover-list-view{display:flex;flex-direction:column}.searchcraft-results-info{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-primary);margin:0}.searchcraft-slider{align-items:center;display:flex;flex-direction:column;gap:10px;width:100%;margin-top:4px}.searchcraft-slider-range{align-items:center;background-color:var(--sc-surface-disabled);border-radius:999px;display:flex;position:relative;height:4px;width:100%}.searchcraft-slider-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range{background-color:var(--sc-surface-brand-primary);border-radius:2px;height:4px;position:absolute;top:50%;transform:translateY(-50%);z-index:0}.searchcraft-slider-range .searchcraft-slider-active-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range::-moz-range-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-input{appearance:none;background:rgba(0,0,0,0);border-radius:2px;height:4px;margin:0;outline:none;pointer-events:none;position:absolute;width:100%;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-webkit-slider-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:1px solid var(--sc-border-neutral);cursor:pointer;height:18px;pointer-events:all;width:18px;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-moz-range-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:1px solid var(--sc-border-neutral);cursor:pointer;height:18px;pointer-events:all;width:18px}.searchcraft-slider-range .searchcraft-slider-input:focus::-webkit-slider-thumb{outline:2px solid var(--sc-surface-brand-primary)}.searchcraft-slider-range .searchcraft-slider-input:focus::-moz-range-thumb{outline:2px solid var(--sc-surface-brand-primary)}.searchcraft-slider-label{color:var(--sc-content-primary);display:flex;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);justify-content:space-between;margin-top:4px;width:100%}.searchcraft-slider-start-label,.searchcraft-slider-end-label{min-width:30px;text-align:center}.searchcraft-toggle-button{align-items:flex-start;display:flex;gap:10px;justify-content:space-between}.searchcraft-toggle-button-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);margin:0}.searchcraft-toggle-button-sub-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-secondary);margin:0}.searchcraft-toggle-button-background{background:var(--sc-surface-disabled);border-radius:var(--sc-border-radius-full);border:none;cursor:pointer;flex-shrink:0;height:26px;position:relative;transition:background-color .2s;width:44px}.searchcraft-toggle-button-handle{background:var(--sc-surface-neutral-light);border-radius:50%;height:18px;left:4px;position:absolute;top:calc(50% - 9px);transition:transform .3s ease;width:18px}.searchcraft-toggle-button-active .searchcraft-toggle-button-background{background:var(--sc-surface-brand-primary);box-shadow:0px 0px 0px 1px rgba(0,0,0,.05)}.searchcraft-toggle-button-active .searchcraft-toggle-button-handle{transform:translateX(16px)}.searchcraft-pagination{display:inline-grid;gap:16px;grid-template-columns:repeat(3, auto);grid-template-rows:1fr}.searchcraft-pagination-list{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius);display:flex;list-style-type:none;margin:0;overflow:hidden;padding:0;width:auto}.searchcraft-pagination-list li{border-right:1px solid var(--sc-border-neutral);height:100%;min-height:44px;width:44px}.searchcraft-pagination-list li:last-child{border-right:none}.searchcraft-pagination-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;background-color:var(--sc-surface-neutral-primary);border:none;display:flex;height:100%;justify-content:center;width:100%}.searchcraft-pagination-item-active{background-color:var(--sc-surface-brand-secondary);font-weight:var(--sc-font-bold)}.searchcraft-pagination-control{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius)}.searchcraft-pagination-range{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;display:flex}.searchcraft-select{display:flex;flex-direction:column;gap:4px}.searchcraft-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}.searchcraft-select-input-wrapper{position:relative}.searchcraft-select-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);appearance:none;background-color:var(--sc-surface-neutral-secondary);border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;height:44px;padding:0 44px 0 16px;width:100%}.searchcraft-select-input:hover{background-color:var(--sc-surface-neutral-secondary-hover)}.searchcraft-select-input:active{background-color:var(--sc-surface-neutral-secondary-active)}.searchcraft-select-input:focus{border-color:var(--sc-border-brand);outline:none}.searchcraft-select-input-icon{fill:none;pointer-events:none;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.searchcraft-select-caption{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page{display:flex}.searchcraft-search-results-per-page-select{align-items:center;display:flex;gap:12px}.searchcraft-search-results-per-page-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page-select-input{min-width:120px}/*# sourceMappingURL=hologram.css.map */
4839
+ const zc = Uc, Bc = da, Vc = na, jc = `[class*=searchcraft-],[class*=searchcraft-] *,[class*=searchcraft-]::before,[class*=searchcraft-]::after,[class*=searchcraft-] *,::before,[class*=searchcraft-] *,::after{box-sizing:border-box;padding:0;margin:0}:root{--sc-text-base-size: 1em;--sc-text-scale-ratio: 1.1;--sc-font-family: sans-serif;--sc-font-bold: 700;--sc-font-normal: 400;--sc-heading-1-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-2-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-3-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-4-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-5-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-6-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) );--sc-body-font-size: calc(var(--sc-text-base-size));--sc-body-small-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) )}:root{--sc-border-radius: 8px;--sc-border-radius-sm: calc(var(--sc-border-radius) / 2);--sc-border-radius-lg: calc(var(--sc-border-radius) * 2);--sc-border-radius-xl: calc(var(--sc-border-radius) * 3);--sc-border-radius-2xl: calc(var(--sc-border-radius) * 4);--sc-border-radius-full: 9999px}:root{--sc-breakpoint-sm: 576px;--sc-breakpoint-md: 768px;--sc-breakpoint-lg: 992px}:root{--sc-surface-neutral-primary: var(--sc-color-background, #ffffff);--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-primary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #fafafa) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-primary-active: var( --sc-color-background-active, var(--sc-color-background-active-computed, #f7f7f7) );--sc-surface-neutral-secondary: var( --sc-color-background-secondary, var(--sc-color-background, #f3f3f3) );--sc-color-background-secondary-hover-computed: hsl( from var(--sc-color-background-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #e6e6e6) );--sc-color-background-secondary-active-computed: hsl( from var(--sc-color-background-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-secondary-active: var( --sc-color-background-secondary-active, var(--sc-color-background-active-computed, #e0e0e0) );--sc-surface-neutral-light: #ffffff;--sc-content-neutral-primary: var(--sc-color-foreground, #292929);--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10, calc(l + 5), 90) );--sc-content-neutral-secondary: var( --sc-color-foreground-secondary, var(--sc-color-foreground-secondary-computed, #404040) );--sc-border-neutral: var(--sc-color-border, rgba(0, 0, 0, 0.1));--sc-surface-brand-primary: var(--sc-color-brand, #000000);--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20, calc(l + 5), 95) );--sc-surface-brand-primary-hover: var( --sc-color-brand-hover, var(--sc-color-brand-hover-computed, #2e2e2e) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10, calc(l - 5), 85) );--sc-surface-brand-primary-active: var( --sc-color-brand-active, var(--sc-color-brand-active-computed, #292929) );--sc-surface-brand-secondary: var( --sc-color-brand-secondary, var(--sc-color-brand, #e6e6e6) );--sc-color-brand-secondary-hover-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-brand-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #ebebeb) );--sc-color-brand-secondary-active-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-brand-secondary-active: var( --sc-color-brand-secondary-active, var(--sc-color-brand-active-computed, #e0e0e0) );--sc-content-brand: var( --sc-color-brand-text, var(--sc-surface-brand-primary) );--sc-content-brand-on-primary: #ffffff;--sc-border-brand: var(--sc-surface-brand-primary);--sc-surface-success-primary: var(--sc-color-success, #008000);--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30 );--sc-surface-success-primary-hover: var( --sc-color-success-primary-hover, var(--sc-color-success-primary-hover-computed, #009900) );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20 );--sc-surface-success-primary-active: var( --sc-color-success-primary-active, var(--sc-color-success-primary-active-computed, #006600) );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90 );--sc-surface-success-secondary: var( --sc-color-success-secondary, var(--sc-color-success-secondary-computed, #ccffcc) );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95 );--sc-surface-success-secondary-hover: var( --sc-color-success-secondary-hover, var(--sc-color-success-secondary-hover-computed, #e6ffe6) );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85 );--sc-surface-success-secondary-active: var( --sc-color-success-secondary-active, var(--sc-color-success-secondary-active-computed, #b2ffb2) );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30) );--sc-content-success-on-primary: #ffffff;--sc-border-success: var(--sc-surface-success-primary);--sc-surface-caution-primary: var(--sc-color-caution, #cc6600);--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30 );--sc-surface-caution-primary-hover: var( --sc-color-caution-primary-hover, var(--sc-color-caution-primary-hover-computed, #e57300) );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20 );--sc-surface-caution-primary-active: var( --sc-color-caution-primary-active, var(--sc-color-caution-primary-active-computed, #b25a00) );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90 );--sc-surface-caution-secondary: var( --sc-color-caution-secondary, var(--sc-color-caution-secondary-computed, #ffd9b3) );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95 );--sc-surface-caution-secondary-hover: var( --sc-color-caution-secondary-hover, var(--sc-color-caution-secondary-hover-computed, #ffe5cc) );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85 );--sc-surface-caution-secondary-active: var( --sc-color-caution-secondary-active, var(--sc-color-caution-secondary-active-computed, #ffcc99) );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30) );--sc-content-caution-on-primary: #ffffff;--sc-border-caution: var(--sc-surface-caution-primary);--sc-surface-danger-primary: var(--sc-color-danger, #cc0000);--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30 );--sc-surface-danger-primary-hover: var( --sc-color-danger-primary-hover, var(--sc-color-danger-primary-hover-computed, #e50000) );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20 );--sc-surface-danger-primary-active: var( --sc-color-danger-primary-active, var(--sc-color-danger-primary-active-computed, #b30000) );--sc-color-danger-secondary-computed: hsl(from var(--sc-color-danger) h s 90);--sc-surface-danger-secondary: var( --sc-color-danger-secondary, var(--sc-color-danger-secondary-computed, #ffcccc) );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95 );--sc-surface-danger-secondary-hover: var( --sc-color-danger-secondary-hover, var(--sc-color-danger-secondary-hover-computed, #ffe7e7) );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85 );--sc-surface-danger-secondary-active: var( --sc-color-danger-secondary-active, var(--sc-color-danger-secondary-active-computed, #ffb3b3) );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30) );--sc-content-danger-on-primary: #ffffff;--sc-border-danger: var(--sc-surface-danger-primary);--sc-color-disabled: hsl(from var(--sc-color-page-primary) h s calc(l * 0.5));--sc-surface-disabled: var(--sc-color-disabled, #d9d9d9);--sc-color-disabled-text: hsl( from var(--sc-color-text-primary) h s calc(l * 0.5) );--sc-content-disabled: var(--sc-color-disabled-text, #737373);--sc-content-disabled-on-disabled: var(--sc-color-disabled-text, #737373)}@supports(hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none){:root{--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10%, calc(l + 5%), 95%) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5%, calc(l - 5%), 90%) );--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10%, calc(l + 5%), 90%) );--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20%, calc(l + 5%), 95%) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10%, calc(l - 5%), 85%) );--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30% );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20% );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90% );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95% );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85% );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30%) );--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30% );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20% );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90% );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95% );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85% );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30%) );--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30% );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20% );--sc-color-danger-secondary-computed: hsl( from var(--sc-color-danger) h s 90% );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95% );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85% );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30%) )}}.searchcraft-ad{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-ad-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-ad-no-template>p{margin:0}.searchcraft-adm-ad{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-result{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased}.searchcraft-search-result-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-search-result-no-template>p{margin:0}.searchcraft-search-results{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-results-empty-state{text-align:center}.searchcraft-search-results-error-message{text-align:center}.searchcraft-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background:none;border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;gap:4px;padding:12px;position:relative}.searchcraft-button.searchcraft-button-disabled{cursor:not-allowed}.searchcraft-button-primary{background-color:var(--sc-surface-brand-primary);color:var(--sc-content-brand-on-primary);font-weight:var(--sc-font-bold)}.searchcraft-button-primary:hover{background-color:var(--sc-surface-brand-primary-hover)}.searchcraft-button-primary:focus{border-color:var(--sc-border-primary)}.searchcraft-button-primary:active{background-color:var(--sc-surface-brand-primary-active)}.searchcraft-button-primary.searchcraft-button-disabled,.searchcraft-button-primary.searchcraft-button-disabled:hover,.searchcraft-button-primary.searchcraft-button-disabled:focus,.searchcraft-button-primary.searchcraft-button-disabled:active{background-color:var(--sc-surface-disabled);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-tertiary{background-color:var(--sc-surface-neutral-primary);color:var(--sc-content-brand);font-weight:var(--sc-font-normal)}.searchcraft-button-tertiary:hover{background-color:var(--sc-surface-brand-secondary-hover)}.searchcraft-button-tertiary:focus{background-color:var(--sc-surface-neutral-light);border-color:var(--sc-border-primary)}.searchcraft-button-tertiary:active{background-color:var(--sc-surface-brand-secondary-active)}.searchcraft-button-tertiary.searchcraft-button-disabled,.searchcraft-button-tertiary.searchcraft-button-disabled:hover,.searchcraft-button-tertiary.searchcraft-button-disabled:focus,.searchcraft-button-tertiary.searchcraft-button-disabled:active{background-color:var(--sc-surface-neutral-light);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-icon{fill:none}.searchcraft-error-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-danger);margin:0}.searchcraft-facet-list{display:flex;flex-direction:column;gap:8px;width:100%}.searchcraft-facet-list-checkbox-label{align-items:center;color:var(--sc-content-neutral-primary);display:flex;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);gap:8px;position:relative;-webkit-font-smoothing:antialiased}.searchcraft-facet-list-checkbox-input-wrapper{position:relative}.searchcraft-facet-list-checkbox-input{align-items:center;appearance:none;background-color:var(--sc-surface-neutral-secondary);border:1px solid var(--sc-surface-disabled);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;height:24px;justify-content:center;width:24px;margin:0}.searchcraft-facet-list-checkbox-input:focus{outline:2px solid var(--sc-surface-brand-primary);outline-offset:2px}.searchcraft-facet-list-checkbox-input:checked{background-color:var(--sc-surface-brand-primary);position:relative}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-check-icon{display:flex}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-dash-icon{display:flex}.searchcraft-facet-child-list{display:flex;flex-direction:column;gap:6px}.searchcraft-facet-child-list-checkbox-label{margin-left:24px}.searchcraft-facet-child-list-checkbox-label:first-child{margin-top:6px}.searchcraft-facet-list-checkbox-input-check-icon{display:none;height:16px;left:50%;position:absolute;margin-top:2px;top:50%;transform:translate(-50%, -50%);width:16px}.searchcraft-facet-list-checkbox-input-dash-icon{display:none;height:3px;left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);width:14px}.searchcraft-facet-list-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-disabled);text-align:center}.searchcraft-filter-panel{display:flex;flex-direction:column;gap:16px}.searchcraft-filter-panel-section{display:flex;flex-direction:column;gap:8px}.searchcraft-filter-panel-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}:root{--sc-input-form-border-radius: var(--sc-border-radius);--sc-input-form-search-icon-size: 20px;--sc-input-form-clear-icon-size: 20px}.searchcraft-input-form-grid{display:grid;gap:4px 8px}.searchcraft-input-form-grid-button-left{grid-template-rows:repeat(3, auto);grid-template-columns:auto 1fr}.searchcraft-input-form-grid-button-left .searchcraft-input-form-button{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-label{grid-column:2/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-error-message{grid-column:2/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-input-wrapper{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right{grid-template-rows:repeat(3, auto);grid-template-columns:1fr auto}.searchcraft-input-form-grid-button-right .searchcraft-input-form-button{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-none{grid-template-rows:repeat(3, auto);grid-template-columns:auto}.searchcraft-input-form-grid-button-none .searchcraft-input-form-button{display:none}.searchcraft-input-form-grid-button-none .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-input-wrapper{display:flex;position:relative}.searchcraft-input-form-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background-color:var(--sc-surface-neutral-secondary);border-radius:var(--sc-input-form-border-radius);border:none;color:var(--sc-content-neutral-primary);flex:1;outline:none;padding:12px 44px}.searchcraft-input-form-input::placeholder{color:var(--sc-content-disabled)}.searchcraft-input-form-input:focus{outline:var(--sc-border-brand) solid 2px;outline-offset:-1px}.searchcraft-input-form-input.searchcraft-placeholder-hide-on-focus:focus::placeholder{opacity:0}.searchcraft-input-form-error{color:var(--sc-content-danger);outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-error:focus{outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-input-icon{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;pointer-events:none;top:0;width:44px}.searchcraft-input-form-input-search-icon{color:var(--sc-content-neutral-secondary);fill:none;height:var(--sc-input-form-search-icon-size);pointer-events:none;width:var(--sc-input-form-search-icon-size)}.searchcraft-input-form-clear-button{all:unset;align-items:center;bottom:0;border:none;cursor:pointer;display:flex;justify-content:center;outline:none;position:absolute;right:0;top:0;width:44px}.searchcraft-input-form-clear-icon{color:var(--sc-content-brand);fill:none;height:var(--sc-input-form-clear-icon-size);width:var(--sc-input-form-clear-icon-size)}.searchcraft-input-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);font-weight:var(--sc-font-bold);margin-top:4px;margin-bottom:4px}:root{--sc-popover-button-border-radius: var(--sc-border-radius)}@media(min-width: 576px){:root{--sc-popover-button-border-radius: var(--sc-border-radius-lg)}}.searchcraft-popover-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);cursor:pointer}.searchcraft-popover-button-skeuomorphic{appearance:none;background:none;border:none;color:var(--sc-content-neutral-primary);display:block;width:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-popover-button-border-radius);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;display:flex;gap:24px;height:40px;justify-content:space-between;line-height:1;padding:4px 5px 4px 10px;background:var(--sc-surface-neutral-primary)}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;height:63px;padding:8px 10px 8px 16px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{align-items:center;display:flex;gap:4px}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{color:var(--sc-content-neutral-secondary);display:flex;gap:4px;font-size:20px;font-weight:500}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 3px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 3px);background-color:var(--sc-surface-neutral-primary);box-shadow:0 3px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 6px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 2px);position:relative}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 8px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 8px);box-shadow:0 4px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 6px 1px rgb(from var(--sc-content-neutral-secondary) r g b/20%),0 7px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 9px 4px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 13px 8px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 5px)}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before,.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{content:"";display:block}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 4px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 4px);background:linear-gradient(340deg, rgb(from var(--sc-surface-neutral-secondary) r g b/2%) 0%, var(--sc-surface-neutral-secondary) 100%);inset:2px;position:absolute}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 12px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 12px);inset:4px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{aspect-ratio:1/1;height:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap>span{display:flex;line-height:1;left:50%;margin-top:2%;position:absolute;top:50%;transform:translate(-50%, -50%)}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:60%;width:auto}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:50%}}:root{--sc-popover-list-view-height: 600px;--sc-popover-modal-max-width: 800px}.searchcraft-popover-form{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);display:flex;flex:1;flex-direction:column}.searchcraft-popover-form searchcraft-input-form,.searchcraft-popover-form searchcraft-popover-footer{width:100%}.searchcraft-popover-form.searchcraft-popover-form-active .searchcraft-popover-form-input{padding-bottom:1px}.searchcraft-popover-form searchcraft-popover-list-view{flex-shrink:1;height:100%;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-input{display:flex;flex-direction:row;gap:12px}.searchcraft-popover-form-input .searchcraft-input-form-input{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius-lg);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset;width:0}.searchcraft-popover-form-cancel-button{background:none;border:none;cursor:pointer;font-size:14px}.searchcraft-popover-form-modal-input,.searchcraft-popover-form-fullscreen-input{padding:24px}.searchcraft-popover-form-modal-popover-list-view,.searchcraft-popover-form-fullscreen-popover-list-view{flex-grow:1;flex-shrink:1;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-inline{background-color:var(--sc-surface-neutral-primary);border:1px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius-xl);padding:12px;position:relative}.searchcraft-popover-form-inline.searchcraft-popover-form-active{border:1px solid var(--sc-border-neutral);border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;padding-bottom:1px}.searchcraft-popover-form-inline searchcraft-popover-list-view{padding:0 12px}.searchcraft-popover-form-inline .searchcraft-input-form-input,.searchcraft-popover-form-inline .searchcraft-popover-list-item-link,.searchcraft-popover-form-inline .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-xl - 12px);border-radius:calc(var(--sc-border-radius-xl) - 12px)}.searchcraft-popover-form-inline-wrapper{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-top:none;border-bottom-left-radius:var(--sc-border-radius-xl);border-bottom-right-radius:var(--sc-border-radius-xl);display:flex;flex-direction:column;left:-1px;max-height:var(--sc-popover-list-view-height);overflow:hidden;position:absolute;right:-1px;top:100%}.searchcraft-popover-form-modal{align-items:center;display:flex;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-modal .searchcraft-input-form-input,.searchcraft-popover-form-modal .searchcraft-popover-list-item-link,.searchcraft-popover-form-modal .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px)}.searchcraft-popover-form-modal-backdrop{background-color:rgb(from var(--sc-content-neutral-primary) r g b/50%);display:none;inset:0;position:fixed}@media(min-width: 576px){.searchcraft-popover-form-modal-backdrop{display:block}}.searchcraft-popover-form-modal-wrapper{background-color:var(--sc-surface-neutral-primary);box-shadow:1px 2px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 2px 4px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 4px 8px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 8px 16px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 16px 32px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 32px 64px rgb(from var(--sc-content-neutral-primary) r g b/7%);display:flex;flex-direction:column;inset:0;max-width:var(--sc-popover-modal-max-width);overflow:hidden;position:absolute;width:100%;z-index:1001}@media(min-width: 576px){.searchcraft-popover-form-modal-wrapper{border-radius:var(--sc-border-radius-2xl);inset:0;margin-top:100px;max-height:var(--sc-popover-list-view-height);max-width:var(--sc-popover-modal-max-width);position:relative}}.searchcraft-popover-form-modal-cancel-button{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-modal-cancel-button{padding:8px 12px}}.searchcraft-popover-form-fullscreen{background-color:var(--sc-surface-neutral-primary);display:flex;flex-direction:column;justify-content:space-between;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-fullscreen .searchcraft-popover-list-item-link,.searchcraft-popover-form-fullscreen .searchcraft-adm-ad-link{border-radius:var(--sc-border-radius-lg)}.searchcraft-popover-form-fullscreen-cancel-button{border-radius:var(--sc-border-radius-lg);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-fullscreen-cancel-button{padding:8px 12px}}.searchcraft-popover-footer{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;background-color:var(--sc-surface-neutral-secondary);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset;display:flex;gap:8px;justify-content:space-between;line-height:1;padding:20px 24px}@media(min-width: 576px){.searchcraft-popover-footer{padding:20px 32px}}.searchcraft-popover-footer-results-info{margin:0}.searchcraft-popover-footer-link{color:var(--sc-content-neutral-primary);display:flex;max-width:160px;width:100%}:root{--sc-popover-list-item-image-fit: contain}.searchcraft-popover-list-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;border-bottom:1px solid var(--sc-border-neutral);padding:12px 0}searchcraft-popover-list-item:last-child .searchcraft-popover-list-item{border-bottom:none}.searchcraft-popover-list-item-link{align-items:flex-start;color:var(--sc-content-neutral-primary);display:flex;gap:24px;padding:12px;text-decoration:none}.searchcraft-popover-list-item-link:focus,.searchcraft-popover-list-item-link:active{background-color:var(--sc-surface-neutral-primary-active)}.searchcraft-popover-list-item-link:hover{background-color:var(--sc-surface-neutral-primary-hover)}.searchcraft-popover-list-item-image-wrapper{align-items:center;aspect-ratio:16/9;display:flex;flex-shrink:0;justify-content:center;width:160px}.searchcraft-popover-list-item-image{height:100%;object-fit:var(--sc-popover-list-item-image-fit);width:100%}.searchcraft-popover-list-item-content{display:flex;flex-direction:column;flex-grow:1;gap:4px;justify-content:center}.searchcraft-popover-list-item-content-title,.searchcraft-popover-list-item-content-subtitle{display:-webkit-box;line-clamp:2;margin:0;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.searchcraft-popover-list-item-content-title{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-heading-5-font-size);font-weight:var(--sc-font-bold)}.searchcraft-popover-list-item-content-subtitle{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-popover-list-view{display:flex;flex-direction:column}.searchcraft-results-info{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-primary);margin:0}.searchcraft-slider{align-items:center;display:flex;flex-direction:column;gap:10px;width:100%;margin-top:4px}.searchcraft-slider-range{align-items:center;background-color:var(--sc-surface-disabled);border-radius:999px;display:flex;position:relative;height:4px;width:100%}.searchcraft-slider-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range{background-color:var(--sc-surface-brand-primary);border-radius:2px;height:4px;position:absolute;top:50%;transform:translateY(-50%);z-index:0}.searchcraft-slider-range .searchcraft-slider-active-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range::-moz-range-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-input{appearance:none;background:rgba(0,0,0,0);border-radius:2px;height:4px;margin:0;outline:none;pointer-events:none;position:absolute;width:100%;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-webkit-slider-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:1px solid var(--sc-border-neutral);cursor:pointer;height:18px;pointer-events:all;width:18px;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-moz-range-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:1px solid var(--sc-border-neutral);cursor:pointer;height:18px;pointer-events:all;width:18px}.searchcraft-slider-range .searchcraft-slider-input:focus::-webkit-slider-thumb{outline:2px solid var(--sc-surface-brand-primary)}.searchcraft-slider-range .searchcraft-slider-input:focus::-moz-range-thumb{outline:2px solid var(--sc-surface-brand-primary)}.searchcraft-slider-label{color:var(--sc-content-primary);display:flex;font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);justify-content:space-between;margin-top:4px;width:100%}.searchcraft-slider-start-label,.searchcraft-slider-end-label{min-width:30px;text-align:center}.searchcraft-toggle-button{align-items:flex-start;display:flex;gap:10px;justify-content:space-between}.searchcraft-toggle-button-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);margin:0}.searchcraft-toggle-button-sub-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-secondary);margin:0}.searchcraft-toggle-button-background{background:var(--sc-surface-disabled);border-radius:var(--sc-border-radius-full);border:none;cursor:pointer;flex-shrink:0;height:26px;position:relative;transition:background-color .2s;width:44px}.searchcraft-toggle-button-handle{background:var(--sc-surface-neutral-light);border-radius:50%;height:18px;left:4px;position:absolute;top:calc(50% - 9px);transition:transform .3s ease;width:18px}.searchcraft-toggle-button-active .searchcraft-toggle-button-background{background:var(--sc-surface-brand-primary);box-shadow:0px 0px 0px 1px rgba(0,0,0,.05)}.searchcraft-toggle-button-active .searchcraft-toggle-button-handle{transform:translateX(16px)}.searchcraft-pagination{display:inline-grid;gap:16px;grid-template-columns:repeat(3, auto);grid-template-rows:1fr}.searchcraft-pagination-list{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius);display:flex;list-style-type:none;margin:0;overflow:hidden;padding:0;width:auto}.searchcraft-pagination-list li{border-right:1px solid var(--sc-border-neutral);height:100%;min-height:44px;width:44px}.searchcraft-pagination-list li:last-child{border-right:none}.searchcraft-pagination-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;background-color:var(--sc-surface-neutral-primary);border:none;display:flex;height:100%;justify-content:center;width:100%}.searchcraft-pagination-item-active{background-color:var(--sc-surface-brand-secondary);font-weight:var(--sc-font-bold)}.searchcraft-pagination-control{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius)}.searchcraft-pagination-range{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;display:flex}.searchcraft-select{display:flex;flex-direction:column;gap:4px}.searchcraft-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}.searchcraft-select-input-wrapper{position:relative}.searchcraft-select-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);appearance:none;background-color:var(--sc-surface-neutral-secondary);border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;height:44px;padding:0 44px 0 16px;width:100%}.searchcraft-select-input:hover{background-color:var(--sc-surface-neutral-secondary-hover)}.searchcraft-select-input:active{background-color:var(--sc-surface-neutral-secondary-active)}.searchcraft-select-input:focus{border-color:var(--sc-border-brand);outline:none}.searchcraft-select-input-icon{fill:none;pointer-events:none;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.searchcraft-select-caption{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page{display:flex}.searchcraft-search-results-per-page-select{align-items:center;display:flex;gap:12px}.searchcraft-search-results-per-page-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page-select-input{min-width:120px}/*# sourceMappingURL=hologram.css.map */
4789
4840
  `, Wc = /* @__PURE__ */ N(class extends D {
4790
4841
  constructor() {
4791
4842
  super(), this.__registerHost();
4792
4843
  }
4793
4844
  render() {
4794
- return l("style", { key: "912dbad4e0aa5be21ed638cd20c276b530991454" }, jc);
4845
+ return u("style", { key: "912dbad4e0aa5be21ed638cd20c276b530991454" }, jc);
4795
4846
  }
4796
4847
  }, [0, "searchcraft-theme"]);
4797
4848
  function Gc() {
@@ -4805,21 +4856,21 @@ function Gc() {
4805
4856
  }
4806
4857
  });
4807
4858
  }
4808
- const Yc = Gc, qc = na, da = () => {
4809
- qo(), Qo(), Xo(), rc(), hc(), pc(), mc(), bc(), Sc(), kc(), Tc(), Pc(), $c(), Ac(), Oc(), zc(), Dc(), Bc(), Vc(), Yc(), qc();
4859
+ const qc = Gc, Yc = oa, fa = () => {
4860
+ Zo(), Ko(), Jo(), rc(), hc(), pc(), mc(), bc(), Sc(), kc(), Tc(), Pc(), $c(), Ac(), Oc(), zc(), Dc(), Bc(), Vc(), qc(), Yc();
4810
4861
  };
4811
- globalThis.__scDefineCustomElements__ = da;
4812
- const Zc = "@searchcraft/vue-sdk", Qc = "0.10.5", ks = {
4862
+ globalThis.__scDefineCustomElements__ = fa;
4863
+ const Zc = "@searchcraft/vue-sdk", Qc = "0.10.6", Rs = {
4813
4864
  name: Zc,
4814
4865
  version: Qc
4815
- }, Kt = "routerLink", xs = "navManager", Kc = "router", Xc = "aria", Ke = Symbol(), Es = { default: Ke }, Rs = (e) => (e == null ? void 0 : e.split(" ")) || [], Jc = (e, t, r = []) => {
4866
+ }, Kt = "routerLink", Es = "navManager", Kc = "router", Xc = "aria", Ke = Symbol(), xs = { default: Ke }, Ts = (e) => (e == null ? void 0 : e.split(" ")) || [], Jc = (e, t, r = []) => {
4816
4867
  var s;
4817
4868
  return [...Array.from(((s = e.value) == null ? void 0 : s.classList) || []), ...r].filter((a, o, n) => !t.has(a) && n.indexOf(a) === o);
4818
4869
  }, ye = (e, t, r = [], s = [], a, o) => {
4819
4870
  t !== void 0 && t();
4820
- const n = Ja((c, { attrs: i, slots: u, emit: h }) => {
4821
- var L;
4822
- const p = en(), m = new Set(Rs(i.class)), b = tn(), T = ((L = b == null ? void 0 : b.appContext) == null ? void 0 : L.provides[xs]) ? rn(xs) : void 0, _ = (P) => {
4871
+ const n = en((c, { attrs: i, slots: h, emit: l }) => {
4872
+ var F;
4873
+ const p = tn(), m = new Set(Ts(i.class)), v = rn(), T = ((F = v == null ? void 0 : v.appContext) == null ? void 0 : F.provides[Es]) ? sn(Es) : void 0, _ = (P) => {
4823
4874
  const { routerLink: ue } = c;
4824
4875
  if (ue !== Ke)
4825
4876
  if (T !== void 0) {
@@ -4834,7 +4885,7 @@ const Zc = "@searchcraft/vue-sdk", Qc = "0.10.5", ks = {
4834
4885
  console.warn("Tried to navigate, but no router was found. Make sure you have mounted Vue Router.");
4835
4886
  };
4836
4887
  return () => {
4837
- c[a], Rs(i.class).forEach((H) => {
4888
+ c[a], Ts(i.class).forEach((H) => {
4838
4889
  m.add(H);
4839
4890
  });
4840
4891
  const P = c.onClick, ue = (H) => {
@@ -4848,18 +4899,18 @@ const Zc = "@searchcraft/vue-sdk", Qc = "0.10.5", ks = {
4848
4899
  for (const H in c) {
4849
4900
  const ee = c[H];
4850
4901
  (c.hasOwnProperty(H) && ee !== Ke || H.startsWith(Xc)) && (ae[H] = ee);
4851
- const U = "on" + H.slice(0, 1).toUpperCase() + H.slice(1), xe = i[U];
4852
- p.value && i.hasOwnProperty(U) && "addEventListener" in p.value && p.value.addEventListener(H, xe);
4902
+ const U = "on" + H.slice(0, 1).toUpperCase() + H.slice(1), Re = i[U];
4903
+ p.value && i.hasOwnProperty(U) && "addEventListener" in p.value && p.value.addEventListener(H, Re);
4853
4904
  }
4854
4905
  return Kt in c && c[Kt] !== Ke && (ae = {
4855
4906
  ...ae,
4856
4907
  href: c[Kt]
4857
- }), sn(e, ae, u.default && u.default());
4908
+ }), an(e, ae, h.default && h.default());
4858
4909
  };
4859
4910
  });
4860
4911
  if (typeof n != "function") {
4861
4912
  let c = [], i = {};
4862
- i.ROUTER_LINK_VALUE = Es, r.forEach((u) => i[u] = Es), c = s, n.name = e, n.emits = c, n.props = i;
4913
+ i.ROUTER_LINK_VALUE = xs, r.forEach((h) => i[h] = xs), c = s, n.name = e, n.emits = c, n.props = i;
4863
4914
  }
4864
4915
  return n;
4865
4916
  }, ei = /* @__PURE__ */ ye("searchcraft-filter-panel", () => {
@@ -4903,23 +4954,23 @@ const Zc = "@searchcraft/vue-sdk", Qc = "0.10.5", ks = {
4903
4954
  }, [
4904
4955
  "increment"
4905
4956
  ]), ii = /* @__PURE__ */ ye("searchcraft-theme", () => {
4906
- }), Ai = oi, Mi = ei, Oi = ti, Li = si, Fi = ai, Di = ni, Ni = ii, Hi = ri, Ui = ci;
4907
- class zi extends xo {
4957
+ }), Ai = oi, Mi = ei, Oi = ti, Fi = si, Li = ai, Di = ni, Ni = ii, Hi = ri, Ui = ci;
4958
+ class zi extends Eo {
4908
4959
  constructor(t) {
4909
4960
  super(t, {
4910
- sdkName: ks.name,
4911
- sdkVersion: ks.version
4961
+ sdkName: Rs.name,
4962
+ sdkVersion: Rs.version
4912
4963
  });
4913
4964
  }
4914
4965
  }
4915
- da();
4966
+ fa();
4916
4967
  export {
4917
4968
  zi as Searchcraft,
4918
4969
  Mi as SearchcraftFilterPanel,
4919
4970
  Oi as SearchcraftInputForm,
4920
4971
  Hi as SearchcraftPagination,
4921
- Li as SearchcraftPopoverButton,
4922
- Fi as SearchcraftPopoverForm,
4972
+ Fi as SearchcraftPopoverButton,
4973
+ Li as SearchcraftPopoverForm,
4923
4974
  Di as SearchcraftResultsInfo,
4924
4975
  Ai as SearchcraftSearchResults,
4925
4976
  Ui as SearchcraftSearchResultsPerPage,