@searchcraft/react-sdk 0.9.5 → 0.9.7

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.js CHANGED
@@ -1,10 +1,10 @@
1
- var $n = Object.defineProperty;
2
- var _n = (e, t, r) => t in e ? $n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var h = (e, t, r) => _n(e, typeof t != "symbol" ? t + "" : t, r);
4
- import { jsx as Se } from "react/jsx-runtime";
5
- import we from "react";
6
- var An = Object.defineProperty, In = (e, t, r) => t in e ? An(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, F = (e, t, r) => In(e, typeof t != "symbol" ? t + "" : t, r);
7
- function be(e, t, r, a) {
1
+ var _n = Object.defineProperty;
2
+ var An = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
+ var h = (e, t, r) => An(e, typeof t != "symbol" ? t + "" : t, r);
4
+ import { jsx as we } from "react/jsx-runtime";
5
+ import Ee from "react";
6
+ var In = Object.defineProperty, Mn = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, F = (e, t, r) => Mn(e, typeof t != "symbol" ? t + "" : t, r);
7
+ function ve(e, t, r, a) {
8
8
  return new (r || (r = Promise))(function(n, o) {
9
9
  function s(c) {
10
10
  try {
@@ -29,7 +29,7 @@ function be(e, t, r, a) {
29
29
  u((a = a.apply(e, [])).next());
30
30
  });
31
31
  }
32
- function ve(e, t) {
32
+ function ye(e, t) {
33
33
  var r, a, n, o, s = { label: 0, sent: function() {
34
34
  if (1 & n[0]) throw n[1];
35
35
  return n[1];
@@ -88,31 +88,31 @@ function ve(e, t) {
88
88
  };
89
89
  }
90
90
  }
91
- var ye = { exclude: [] }, Da = {}, Mn = { timeout: "true" }, le = function(e, t) {
92
- typeof window < "u" && (Da[e] = t);
93
- }, Ln = function() {
94
- return Object.fromEntries(Object.entries(Da).filter(function(e) {
91
+ var Se = { exclude: [] }, Na = {}, Ln = { timeout: "true" }, ue = function(e, t) {
92
+ typeof window < "u" && (Na[e] = t);
93
+ }, On = function() {
94
+ return Object.fromEntries(Object.entries(Na).filter(function(e) {
95
95
  var t, r = e[0];
96
- return !(!((t = ye == null ? void 0 : ye.exclude) === null || t === void 0) && t.includes(r));
96
+ return !(!((t = Se == null ? void 0 : Se.exclude) === null || t === void 0) && t.includes(r));
97
97
  }).map(function(e) {
98
98
  return [e[0], (0, e[1])()];
99
99
  }));
100
100
  };
101
- function yt(e) {
101
+ function St(e) {
102
102
  return e ^= e >>> 16, e = Math.imul(e, 2246822507), e ^= e >>> 13, e = Math.imul(e, 3266489909), (e ^= e >>> 16) >>> 0;
103
103
  }
104
104
  var V = new Uint32Array([597399067, 2869860233, 951274213, 2716044179]);
105
- function ne(e, t) {
105
+ function oe(e, t) {
106
106
  return e << t | e >>> 32 - t;
107
107
  }
108
- function lr(e, t) {
108
+ function ur(e, t) {
109
109
  var r;
110
110
  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");
111
111
  var a = new Uint32Array([t, t, t, t]);
112
112
  (function(o, s) {
113
113
  for (var l = o.byteLength / 16 | 0, u = new Uint32Array(o, 0, 4 * l), c = 0; c < l; c++) {
114
114
  var i = u.subarray(4 * c, 4 * (c + 1));
115
- i[0] = Math.imul(i[0], V[0]), i[0] = ne(i[0], 15), i[0] = Math.imul(i[0], V[1]), s[0] = s[0] ^ i[0], s[0] = ne(s[0], 19), s[0] = s[0] + s[1], s[0] = Math.imul(s[0], 5) + 1444728091, i[1] = Math.imul(i[1], V[1]), i[1] = ne(i[1], 16), i[1] = Math.imul(i[1], V[2]), s[1] = s[1] ^ i[1], s[1] = ne(s[1], 17), s[1] = s[1] + s[2], s[1] = Math.imul(s[1], 5) + 197830471, i[2] = Math.imul(i[2], V[2]), i[2] = ne(i[2], 17), i[2] = Math.imul(i[2], V[3]), s[2] = s[2] ^ i[2], s[2] = ne(s[2], 15), s[2] = s[2] + s[3], s[2] = Math.imul(s[2], 5) + 2530024501, i[3] = Math.imul(i[3], V[3]), i[3] = ne(i[3], 18), i[3] = Math.imul(i[3], V[0]), s[3] = s[3] ^ i[3], s[3] = ne(s[3], 13), s[3] = s[3] + s[0], s[3] = Math.imul(s[3], 5) + 850148119;
115
+ i[0] = Math.imul(i[0], V[0]), i[0] = oe(i[0], 15), i[0] = Math.imul(i[0], V[1]), s[0] = s[0] ^ i[0], s[0] = oe(s[0], 19), s[0] = s[0] + s[1], s[0] = Math.imul(s[0], 5) + 1444728091, i[1] = Math.imul(i[1], V[1]), i[1] = oe(i[1], 16), i[1] = Math.imul(i[1], V[2]), s[1] = s[1] ^ i[1], s[1] = oe(s[1], 17), s[1] = s[1] + s[2], s[1] = Math.imul(s[1], 5) + 197830471, i[2] = Math.imul(i[2], V[2]), i[2] = oe(i[2], 17), i[2] = Math.imul(i[2], V[3]), s[2] = s[2] ^ i[2], s[2] = oe(s[2], 15), s[2] = s[2] + s[3], s[2] = Math.imul(s[2], 5) + 2530024501, i[3] = Math.imul(i[3], V[3]), i[3] = oe(i[3], 18), i[3] = Math.imul(i[3], V[0]), s[3] = s[3] ^ i[3], s[3] = oe(s[3], 13), s[3] = s[3] + s[0], s[3] = Math.imul(s[3], 5) + 850148119;
116
116
  }
117
117
  })(e, a), function(o, s) {
118
118
  var l = o.byteLength / 16 | 0, u = o.byteLength % 16, c = new Uint32Array(4), i = new Uint8Array(o, 16 * l, u);
@@ -122,7 +122,7 @@ function lr(e, t) {
122
122
  case 14:
123
123
  c[3] = c[3] ^ i[13] << 8;
124
124
  case 13:
125
- c[3] = c[3] ^ i[12] << 0, c[3] = Math.imul(c[3], V[3]), c[3] = ne(c[3], 18), c[3] = Math.imul(c[3], V[0]), s[3] = s[3] ^ c[3];
125
+ c[3] = c[3] ^ i[12] << 0, c[3] = Math.imul(c[3], V[3]), c[3] = oe(c[3], 18), c[3] = Math.imul(c[3], V[0]), s[3] = s[3] ^ c[3];
126
126
  case 12:
127
127
  c[2] = c[2] ^ i[11] << 24;
128
128
  case 11:
@@ -130,7 +130,7 @@ function lr(e, t) {
130
130
  case 10:
131
131
  c[2] = c[2] ^ i[9] << 8;
132
132
  case 9:
133
- c[2] = c[2] ^ i[8] << 0, c[2] = Math.imul(c[2], V[2]), c[2] = ne(c[2], 17), c[2] = Math.imul(c[2], V[3]), s[2] = s[2] ^ c[2];
133
+ c[2] = c[2] ^ i[8] << 0, c[2] = Math.imul(c[2], V[2]), c[2] = oe(c[2], 17), c[2] = Math.imul(c[2], V[3]), s[2] = s[2] ^ c[2];
134
134
  case 8:
135
135
  c[1] = c[1] ^ i[7] << 24;
136
136
  case 7:
@@ -138,7 +138,7 @@ function lr(e, t) {
138
138
  case 6:
139
139
  c[1] = c[1] ^ i[5] << 8;
140
140
  case 5:
141
- c[1] = c[1] ^ i[4] << 0, c[1] = Math.imul(c[1], V[1]), c[1] = ne(c[1], 16), c[1] = Math.imul(c[1], V[2]), s[1] = s[1] ^ c[1];
141
+ c[1] = c[1] ^ i[4] << 0, c[1] = Math.imul(c[1], V[1]), c[1] = oe(c[1], 16), c[1] = Math.imul(c[1], V[2]), s[1] = s[1] ^ c[1];
142
142
  case 4:
143
143
  c[0] = c[0] ^ i[3] << 24;
144
144
  case 3:
@@ -146,41 +146,41 @@ function lr(e, t) {
146
146
  case 2:
147
147
  c[0] = c[0] ^ i[1] << 8;
148
148
  case 1:
149
- c[0] = c[0] ^ i[0] << 0, c[0] = Math.imul(c[0], V[0]), c[0] = ne(c[0], 15), c[0] = Math.imul(c[0], V[1]), s[0] = s[0] ^ c[0];
149
+ c[0] = c[0] ^ i[0] << 0, c[0] = Math.imul(c[0], V[0]), c[0] = oe(c[0], 15), c[0] = Math.imul(c[0], V[1]), s[0] = s[0] ^ c[0];
150
150
  }
151
151
  }(e, a), function(o, s) {
152
- s[0] = s[0] ^ o.byteLength, s[1] = s[1] ^ o.byteLength, s[2] = s[2] ^ o.byteLength, s[3] = s[3] ^ o.byteLength, s[0] = s[0] + s[1] | 0, s[0] = s[0] + s[2] | 0, s[0] = s[0] + s[3] | 0, s[1] = s[1] + s[0] | 0, s[2] = s[2] + s[0] | 0, s[3] = s[3] + s[0] | 0, s[0] = yt(s[0]), s[1] = yt(s[1]), s[2] = yt(s[2]), s[3] = yt(s[3]), s[0] = s[0] + s[1] | 0, s[0] = s[0] + s[2] | 0, s[0] = s[0] + s[3] | 0, s[1] = s[1] + s[0] | 0, s[2] = s[2] + s[0] | 0, s[3] = s[3] + s[0] | 0;
152
+ s[0] = s[0] ^ o.byteLength, s[1] = s[1] ^ o.byteLength, s[2] = s[2] ^ o.byteLength, s[3] = s[3] ^ o.byteLength, s[0] = s[0] + s[1] | 0, s[0] = s[0] + s[2] | 0, s[0] = s[0] + s[3] | 0, s[1] = s[1] + s[0] | 0, s[2] = s[2] + s[0] | 0, s[3] = s[3] + s[0] | 0, s[0] = St(s[0]), s[1] = St(s[1]), s[2] = St(s[2]), s[3] = St(s[3]), s[0] = s[0] + s[1] | 0, s[0] = s[0] + s[2] | 0, s[0] = s[0] + s[3] | 0, s[1] = s[1] + s[0] | 0, s[2] = s[2] + s[0] | 0, s[3] = s[3] + s[0] | 0;
153
153
  }(e, a);
154
154
  var n = new Uint8Array(a.buffer);
155
155
  return Array.from(n).map(function(o) {
156
156
  return o.toString(16).padStart(2, "0");
157
157
  }).join("");
158
158
  }
159
- function On(e, t) {
159
+ function Fn(e, t) {
160
160
  return new Promise(function(r) {
161
161
  setTimeout(function() {
162
162
  return r(t);
163
163
  }, e);
164
164
  });
165
165
  }
166
- function Fn(e, t, r) {
166
+ function Dn(e, t, r) {
167
167
  return Promise.all(e.map(function(a) {
168
- return Promise.race([a, On(t, r)]);
168
+ return Promise.race([a, Fn(t, r)]);
169
169
  }));
170
170
  }
171
- function Dn() {
172
- return be(this, void 0, void 0, function() {
171
+ function Nn() {
172
+ return ve(this, void 0, void 0, function() {
173
173
  var e, t, r, a, n;
174
- return ve(this, function(o) {
174
+ return ye(this, function(o) {
175
175
  switch (o.label) {
176
176
  case 0:
177
- return o.trys.push([0, 2, , 3]), e = Ln(), t = Object.keys(e), [4, Fn(Object.values(e), (ye == null ? void 0 : ye.timeout) || 1e3, Mn)];
177
+ return o.trys.push([0, 2, , 3]), e = On(), t = Object.keys(e), [4, Dn(Object.values(e), (Se == null ? void 0 : Se.timeout) || 1e3, Ln)];
178
178
  case 1:
179
179
  return r = o.sent(), a = r.filter(function(s) {
180
180
  return s !== void 0;
181
181
  }), n = {}, a.forEach(function(s, l) {
182
182
  n[t[l]] = s;
183
- }), [2, Na(n, ye.exclude || [])];
183
+ }), [2, Ua(n, Se.exclude || [])];
184
184
  case 2:
185
185
  throw o.sent();
186
186
  case 3:
@@ -189,13 +189,13 @@ function Dn() {
189
189
  });
190
190
  });
191
191
  }
192
- function Na(e, t) {
192
+ function Ua(e, t) {
193
193
  var r = {}, a = function(o) {
194
194
  if (e.hasOwnProperty(o)) {
195
195
  var s = e[o];
196
196
  if (typeof s != "object" || Array.isArray(s)) t.includes(o) || (r[o] = s);
197
197
  else {
198
- var l = Na(s, t.map(function(u) {
198
+ var l = Ua(s, t.map(function(u) {
199
199
  return u.startsWith(o + ".") ? u.slice(o.length + 1) : u;
200
200
  }));
201
201
  Object.keys(l).length > 0 && (r[o] = l);
@@ -205,15 +205,15 @@ function Na(e, t) {
205
205
  for (var n in e) a(n);
206
206
  return r;
207
207
  }
208
- function Nn(e) {
209
- return be(this, void 0, void 0, function() {
208
+ function Un(e) {
209
+ return ve(this, void 0, void 0, function() {
210
210
  var t, r;
211
- return ve(this, function(a) {
211
+ return ye(this, function(a) {
212
212
  switch (a.label) {
213
213
  case 0:
214
- return a.trys.push([0, 2, , 3]), [4, Dn()];
214
+ return a.trys.push([0, 2, , 3]), [4, Nn()];
215
215
  case 1:
216
- return t = a.sent(), r = lr(JSON.stringify(t)), [2, r.toString()];
216
+ return t = a.sent(), r = ur(JSON.stringify(t)), [2, r.toString()];
217
217
  case 2:
218
218
  throw a.sent();
219
219
  case 3:
@@ -222,19 +222,19 @@ function Nn(e) {
222
222
  });
223
223
  });
224
224
  }
225
- function Un(e) {
225
+ function zn(e) {
226
226
  for (var t = 0, r = 0; r < e.length; ++r) t += Math.abs(e[r]);
227
227
  return t;
228
228
  }
229
- function Ua(e, t, r) {
229
+ function za(e, t, r) {
230
230
  for (var a = [], n = 0; n < e[0].data.length; n++) {
231
231
  for (var o = [], s = 0; s < e.length; s++) o.push(e[s].data[n]);
232
- a.push(zn(o));
232
+ a.push(Hn(o));
233
233
  }
234
234
  var l = new Uint8ClampedArray(a);
235
235
  return new ImageData(l, t, r);
236
236
  }
237
- function zn(e) {
237
+ function Hn(e) {
238
238
  if (e.length === 0) return 0;
239
239
  for (var t = {}, r = 0, a = e; r < a.length; r++)
240
240
  t[o = a[r]] = (t[o] || 0) + 1;
@@ -242,7 +242,7 @@ function zn(e) {
242
242
  for (var o in t) t[o] > t[n] && (n = parseInt(o, 10));
243
243
  return n;
244
244
  }
245
- function at() {
245
+ function st() {
246
246
  if (typeof navigator > "u") return { name: "unknown", version: "unknown" };
247
247
  for (var e = navigator.userAgent, t = { Edg: "Edge", OPR: "Opera" }, r = 0, a = [/(?<name>Edge|Edg)\/(?<version>\d+(?:\.\d+)?)/, /(?<name>(?:Chrome|Chromium|OPR|Opera|Vivaldi|Brave))\/(?<version>\d+(?:\.\d+)?)/, /(?<name>(?:Firefox|Waterfox|Iceweasel|IceCat))\/(?<version>\d+(?:\.\d+)?)/, /(?<name>Safari)\/(?<version>\d+(?:\.\d+)?)/, /(?<name>MSIE|Trident|IEMobile).+?(?<version>\d+(?:\.\d+)?)/, /(?<name>[A-Za-z]+)\/(?<version>\d+(?:\.\d+)?)/, /(?<name>SamsungBrowser)\/(?<version>\d+(?:\.\d+)?)/]; r < a.length; r++) {
248
248
  var n = a[r], o = e.match(n);
@@ -250,16 +250,16 @@ function at() {
250
250
  }
251
251
  return { name: "unknown", version: "unknown" };
252
252
  }
253
- le("audio", function() {
254
- return be(this, void 0, void 0, function() {
255
- return ve(this, function(e) {
253
+ ue("audio", function() {
254
+ return ve(this, void 0, void 0, function() {
255
+ return ye(this, function(e) {
256
256
  return [2, new Promise(function(t, r) {
257
257
  try {
258
258
  var a = new (window.OfflineAudioContext || window.webkitOfflineAudioContext)(1, 5e3, 44100), n = a.createBufferSource(), o = a.createOscillator();
259
259
  o.frequency.value = 1e3;
260
260
  var s, l = a.createDynamicsCompressor();
261
261
  l.threshold.value = -50, l.knee.value = 40, l.ratio.value = 12, l.attack.value = 0, l.release.value = 0.2, o.connect(l), l.connect(a.destination), o.start(), a.oncomplete = function(u) {
262
- s = u.renderedBuffer.getChannelData(0), t({ sampleHash: Un(s), oscillator: o.type, maxChannels: a.destination.maxChannelCount, channelCountMode: n.channelCountMode });
262
+ s = u.renderedBuffer.getChannelData(0), t({ sampleHash: zn(s), oscillator: o.type, maxChannels: a.destination.maxChannelCount, channelCountMode: n.channelCountMode });
263
263
  }, a.startRendering();
264
264
  } catch (u) {
265
265
  console.error("Error creating audio fingerprint:", u), r(u);
@@ -268,14 +268,14 @@ le("audio", function() {
268
268
  });
269
269
  });
270
270
  });
271
- var Hn = at().name !== "SamsungBrowser" ? 1 : 3, ca = 280, la = 20;
272
- at().name != "Firefox" && le("canvas", function() {
271
+ var Bn = st().name !== "SamsungBrowser" ? 1 : 3, la = 280, ua = 20;
272
+ st().name != "Firefox" && ue("canvas", function() {
273
273
  return document.createElement("canvas").getContext("2d"), new Promise(function(e) {
274
- var t = Array.from({ length: Hn }, function() {
274
+ var t = Array.from({ length: Bn }, function() {
275
275
  return function() {
276
276
  var r = document.createElement("canvas"), a = r.getContext("2d");
277
277
  if (!a) return new ImageData(1, 1);
278
- r.width = ca, r.height = la;
278
+ r.width = la, r.height = ua;
279
279
  var n = a.createLinearGradient(0, 0, r.width, r.height);
280
280
  n.addColorStop(0, "red"), n.addColorStop(0.16666666666666666, "orange"), n.addColorStop(0.3333333333333333, "yellow"), n.addColorStop(0.5, "green"), n.addColorStop(0.6666666666666666, "blue"), n.addColorStop(0.8333333333333334, "indigo"), n.addColorStop(1, "violet"), a.fillStyle = n, a.fillRect(0, 0, r.width, r.height);
281
281
  var o = "Random Text WMwmil10Oo";
@@ -284,15 +284,15 @@ at().name != "Firefox" && le("canvas", function() {
284
284
  return s;
285
285
  }();
286
286
  });
287
- e({ commonImageDataHash: lr(Ua(t, ca, la).data.toString()).toString() });
287
+ e({ commonImageDataHash: ur(za(t, la, ua).data.toString()).toString() });
288
288
  });
289
289
  });
290
- var tr, Bn = ["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"], jn = ["monospace", "sans-serif", "serif"];
291
- function ua(e, t) {
290
+ var rr, jn = ["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"], Wn = ["monospace", "sans-serif", "serif"];
291
+ function ha(e, t) {
292
292
  if (!e) throw new Error("Canvas context not supported");
293
293
  return e.font, e.font = "72px ".concat(t), e.measureText("WwMmLli0Oo").width;
294
294
  }
295
- function Wn() {
295
+ function Gn() {
296
296
  var e, t = document.createElement("canvas"), r = (e = t.getContext("webgl")) !== null && e !== void 0 ? e : t.getContext("experimental-webgl");
297
297
  if (r && "getParameter" in r) try {
298
298
  var a = (r.getParameter(r.VENDOR) || "").toString(), n = (r.getParameter(r.RENDERER) || "").toString(), o = { vendor: a, renderer: n, version: (r.getParameter(r.VERSION) || "").toString(), shadingLanguageVersion: (r.getParameter(r.SHADING_LANGUAGE_VERSION) || "").toString() };
@@ -308,11 +308,11 @@ function Wn() {
308
308
  }
309
309
  return "undefined";
310
310
  }
311
- function Gn() {
311
+ function Vn() {
312
312
  var e = new Float32Array(1), t = new Uint8Array(e.buffer);
313
313
  return e[0] = 1 / 0, e[0] = e[0] - e[0], t[3];
314
314
  }
315
- function Vn(e, t) {
315
+ function qn(e, t) {
316
316
  var r = {};
317
317
  return t.forEach(function(a) {
318
318
  var n = function(o) {
@@ -334,7 +334,7 @@ function Vn(e, t) {
334
334
  n && (r[a] = n);
335
335
  }), r;
336
336
  }
337
- function qn() {
337
+ function Yn() {
338
338
  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"] };
339
339
  return Object.keys(t).forEach(function(r) {
340
340
  t[r].forEach(function(a) {
@@ -342,7 +342,7 @@ function qn() {
342
342
  });
343
343
  }), e;
344
344
  }
345
- function Yn() {
345
+ function Qn() {
346
346
  if (window.location.protocol === "https:" && typeof window.ApplePaySession == "function") try {
347
347
  for (var e = window.ApplePaySession.supportsVersion, t = 15; t > 0; t--) if (e(t)) return t;
348
348
  } catch {
@@ -350,15 +350,15 @@ function Yn() {
350
350
  }
351
351
  return 0;
352
352
  }
353
- at().name != "Firefox" && le("fonts", function() {
353
+ st().name != "Firefox" && ue("fonts", function() {
354
354
  var e = this;
355
355
  return new Promise(function(t, r) {
356
356
  try {
357
357
  (function(a) {
358
358
  var n;
359
- be(this, void 0, void 0, function() {
359
+ ve(this, void 0, void 0, function() {
360
360
  var o, s, l;
361
- return ve(this, function(u) {
361
+ return ye(this, function(u) {
362
362
  switch (u.label) {
363
363
  case 0:
364
364
  return document.body ? [3, 2] : [4, (c = 50, new Promise(function(p) {
@@ -377,13 +377,13 @@ at().name != "Firefox" && le("fonts", function() {
377
377
  });
378
378
  })(function(a) {
379
379
  var n = a.iframe;
380
- return be(e, void 0, void 0, function() {
380
+ return ve(e, void 0, void 0, function() {
381
381
  var o, s, l, u;
382
- return ve(this, function(c) {
383
- return o = n.createElement("canvas"), s = o.getContext("2d"), l = jn.map(function(i) {
384
- return ua(s, i);
385
- }), u = {}, Bn.forEach(function(i) {
386
- var p = ua(s, i);
382
+ return ye(this, function(c) {
383
+ return o = n.createElement("canvas"), s = o.getContext("2d"), l = Wn.map(function(i) {
384
+ return ha(s, i);
385
+ }), u = {}, jn.forEach(function(i) {
386
+ var p = ha(s, i);
387
387
  l.includes(p) || (u[i] = p);
388
388
  }), t(u), [2];
389
389
  });
@@ -393,27 +393,27 @@ at().name != "Firefox" && le("fonts", function() {
393
393
  r({ error: "unsupported" });
394
394
  }
395
395
  });
396
- }), le("hardware", function() {
396
+ }), ue("hardware", function() {
397
397
  return new Promise(function(e, t) {
398
398
  var r = navigator.deviceMemory !== void 0 ? navigator.deviceMemory : 0, a = window.performance && window.performance.memory ? window.performance.memory : 0;
399
- e({ videocard: Wn(), architecture: Gn(), deviceMemory: r.toString() || "undefined", jsHeapSizeLimit: a.jsHeapSizeLimit || 0 });
399
+ e({ videocard: Gn(), architecture: Vn(), deviceMemory: r.toString() || "undefined", jsHeapSizeLimit: a.jsHeapSizeLimit || 0 });
400
400
  });
401
- }), le("locales", function() {
401
+ }), ue("locales", function() {
402
402
  return new Promise(function(e) {
403
403
  e({ languages: navigator.language, timezone: Intl.DateTimeFormat().resolvedOptions().timeZone });
404
404
  });
405
- }), le("permissions", function() {
406
- return be(this, void 0, void 0, function() {
405
+ }), ue("permissions", function() {
406
+ return ve(this, void 0, void 0, function() {
407
407
  var e;
408
- return ve(this, function(t) {
409
- return tr = (ye == null ? void 0 : ye.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: (ye == null ? void 0 : ye.retries) || 3 }, function() {
408
+ return ye(this, function(t) {
409
+ return rr = (Se == null ? void 0 : Se.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: (Se == null ? void 0 : Se.retries) || 3 }, function() {
410
410
  return function() {
411
- return be(this, void 0, void 0, function() {
411
+ return ve(this, void 0, void 0, function() {
412
412
  var r, a, n, o, s;
413
- return ve(this, function(l) {
413
+ return ye(this, function(l) {
414
414
  switch (l.label) {
415
415
  case 0:
416
- r = {}, a = 0, n = tr, l.label = 1;
416
+ r = {}, a = 0, n = rr, l.label = 1;
417
417
  case 1:
418
418
  if (!(a < n.length)) return [3, 6];
419
419
  o = n[a], l.label = 2;
@@ -432,11 +432,11 @@ at().name != "Firefox" && le("fonts", function() {
432
432
  });
433
433
  }();
434
434
  }), [2, Promise.all(e).then(function(r) {
435
- return Vn(r, tr);
435
+ return qn(r, rr);
436
436
  })];
437
437
  });
438
438
  });
439
- }), le("plugins", function() {
439
+ }), ue("plugins", function() {
440
440
  var e = [];
441
441
  if (navigator.plugins) for (var t = 0; t < navigator.plugins.length; t++) {
442
442
  var r = navigator.plugins[t];
@@ -445,25 +445,25 @@ at().name != "Firefox" && le("fonts", function() {
445
445
  return new Promise(function(a) {
446
446
  a({ plugins: e });
447
447
  });
448
- }), le("screen", function() {
448
+ }), ue("screen", function() {
449
449
  return new Promise(function(e) {
450
- e({ is_touchscreen: navigator.maxTouchPoints > 0, maxTouchPoints: navigator.maxTouchPoints, colorDepth: screen.colorDepth, mediaMatches: qn() });
450
+ e({ is_touchscreen: navigator.maxTouchPoints > 0, maxTouchPoints: navigator.maxTouchPoints, colorDepth: screen.colorDepth, mediaMatches: Yn() });
451
451
  });
452
- }), le("system", function() {
452
+ }), ue("system", function() {
453
453
  return new Promise(function(e) {
454
- var t = at();
455
- 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: Yn() });
454
+ var t = st();
455
+ 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: Qn() });
456
456
  });
457
457
  });
458
- var Z, Qn = at().name !== "SamsungBrowser" ? 1 : 3, E = null;
459
- le("webgl", function() {
460
- return be(this, void 0, void 0, function() {
458
+ var Z, Kn = st().name !== "SamsungBrowser" ? 1 : 3, E = null;
459
+ ue("webgl", function() {
460
+ return ve(this, void 0, void 0, function() {
461
461
  var e;
462
- return ve(this, function(t) {
462
+ return ye(this, function(t) {
463
463
  typeof document < "u" && ((Z = document.createElement("canvas")).width = 200, Z.height = 100, E = Z.getContext("webgl"));
464
464
  try {
465
465
  if (!E) throw new Error("WebGL not supported");
466
- return e = Array.from({ length: Qn }, function() {
466
+ return e = Array.from({ length: Kn }, function() {
467
467
  return function() {
468
468
  try {
469
469
  if (!E) throw new Error("WebGL not supported");
@@ -501,7 +501,7 @@ le("webgl", function() {
501
501
  E && (E.bindBuffer(E.ARRAY_BUFFER, null), E.useProgram(null), E.viewport(0, 0, E.drawingBufferWidth, E.drawingBufferHeight), E.clearColor(0, 0, 0, 0));
502
502
  }
503
503
  }();
504
- }), [2, { commonImageHash: lr(Ua(e, Z.width, Z.height).data.toString()).toString() }];
504
+ }), [2, { commonImageHash: ur(za(e, Z.width, Z.height).data.toString()).toString() }];
505
505
  } catch {
506
506
  return [2, { webgl: "unsupported" }];
507
507
  }
@@ -509,26 +509,26 @@ le("webgl", function() {
509
509
  });
510
510
  });
511
511
  });
512
- var xe = function(e, t, r, a) {
512
+ var $e = function(e, t, r, a) {
513
513
  for (var n = (r - t) / a, o = 0, s = 0; s < a; s++)
514
514
  o += e(t + (s + 0.5) * n);
515
515
  return o * n;
516
516
  };
517
- le("math", function() {
518
- return be(void 0, void 0, void 0, function() {
519
- return ve(this, function(e) {
520
- return [2, { acos: Math.acos(0.5), asin: xe(Math.asin, -1, 1, 97), atan: xe(Math.atan, -1, 1, 97), cos: xe(Math.cos, 0, Math.PI, 97), cosh: Math.cosh(9 / 7), e: Math.E, largeCos: Math.cos(1e20), largeSin: Math.sin(1e20), largeTan: Math.tan(1e20), log: Math.log(1e3), pi: Math.PI, sin: xe(Math.sin, -Math.PI, Math.PI, 97), sinh: xe(Math.sinh, -9 / 7, 7 / 9, 97), sqrt: Math.sqrt(2), tan: xe(Math.tan, 0, 2 * Math.PI, 97), tanh: xe(Math.tanh, -9 / 7, 7 / 9, 97) }];
517
+ ue("math", function() {
518
+ return ve(void 0, void 0, void 0, function() {
519
+ return ye(this, function(e) {
520
+ return [2, { acos: Math.acos(0.5), asin: $e(Math.asin, -1, 1, 97), atan: $e(Math.atan, -1, 1, 97), cos: $e(Math.cos, 0, Math.PI, 97), cosh: Math.cosh(9 / 7), e: Math.E, largeCos: Math.cos(1e20), largeSin: Math.sin(1e20), largeTan: Math.tan(1e20), log: Math.log(1e3), pi: Math.PI, sin: $e(Math.sin, -Math.PI, Math.PI, 97), sinh: $e(Math.sinh, -9 / 7, 7 / 9, 97), sqrt: Math.sqrt(2), tan: $e(Math.tan, 0, 2 * Math.PI, 97), tanh: $e(Math.tanh, -9 / 7, 7 / 9, 97) }];
521
521
  });
522
522
  });
523
523
  });
524
- const Kn = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
525
- let kt = (e = 21) => {
524
+ const Xn = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
525
+ let Tt = (e = 21) => {
526
526
  let t = "", r = crypto.getRandomValues(new Uint8Array(e |= 0));
527
527
  for (; e--; )
528
- t += Kn[r[e] & 63];
528
+ t += Xn[r[e] & 63];
529
529
  return t;
530
530
  };
531
- class ur {
531
+ class hr {
532
532
  constructor(t) {
533
533
  F(this, "config"), this.config = t;
534
534
  }
@@ -541,8 +541,12 @@ class ur {
541
541
  }
542
542
  async onInputCleared() {
543
543
  }
544
+ async onAdContainerRendered(t) {
545
+ }
546
+ async onAdContainerViewed(t) {
547
+ }
544
548
  }
545
- class Xn extends ur {
549
+ class Jn extends hr {
546
550
  /**
547
551
  * Gets ads from the adMarketplace API based on the search term.
548
552
  */
@@ -559,28 +563,34 @@ class Xn extends ur {
559
563
  "results-pa": `${this.config.admProductAdQuantity || 0}`
560
564
  }).toString()}`, a = await (await fetch(r, { method: "GET" })).json(), n = a.product_ads.map(
561
565
  (s) => ({
562
- id: kt(),
566
+ id: Tt(),
563
567
  adSource: "adMarketplace",
564
568
  admAdType: "adm-product-ad",
565
569
  admAd: s
566
570
  })
567
571
  ), o = a.text_ads.map((s) => ({
568
- id: kt(),
572
+ id: Tt(),
569
573
  adSource: "adMarketplace",
570
574
  admAdType: "adm-text-ad",
571
575
  admAd: s
572
576
  }));
573
577
  return n.concat(o);
574
578
  }
579
+ async onAdContainerViewed(t) {
580
+ var r;
581
+ const a = t.adClientResponseItem;
582
+ (r = a.admAd) != null && r.impression_url && fetch(a.admAd.impression_url);
583
+ }
575
584
  }
576
- class Jn extends ur {
585
+ class Zn extends hr {
577
586
  async getAdsForSearchParams(t) {
578
587
  return [];
579
588
  }
580
589
  }
581
- class Zn extends ur {
590
+ const eo = 1e3;
591
+ class to extends hr {
582
592
  constructor(t) {
583
- super(t), this.addScriptTagToDocument();
593
+ super(t), F(this, "adCallTimeout"), this.addScriptTagToDocument();
584
594
  }
585
595
  async onQuerySubmitted(t) {
586
596
  this.addScriptTagToDocument();
@@ -591,16 +601,21 @@ class Zn extends ur {
591
601
  this.removeScriptTagFromDocument();
592
602
  return;
593
603
  }
594
- this.addScriptTagToDocument();
595
- try {
596
- PostRelease == null || PostRelease.Start({ ptd: [this.config.nativoPlacementId] });
597
- } catch (n) {
598
- console.error(n);
599
- }
604
+ this.performAdCall(eo);
600
605
  }
601
606
  async onInputCleared() {
602
607
  this.removeScriptTagFromDocument();
603
608
  }
609
+ performAdCall(t) {
610
+ this.adCallTimeout && clearTimeout(this.adCallTimeout), this.adCallTimeout = setTimeout(() => {
611
+ this.addScriptTagToDocument();
612
+ try {
613
+ PostRelease == null || PostRelease.Start({ ptd: [this.config.nativoPlacementId] });
614
+ } catch (r) {
615
+ console.error(r);
616
+ }
617
+ }, t);
618
+ }
604
619
  async getAdsForSearchParams(t) {
605
620
  return [];
606
621
  }
@@ -615,8 +630,8 @@ class Zn extends ur {
615
630
  t && document.head.removeChild(t);
616
631
  }
617
632
  }
618
- const eo = 500;
619
- class to {
633
+ const ro = 500;
634
+ class ao {
620
635
  constructor(t, r, a) {
621
636
  F(this, "measureRequestTimeout"), F(this, "measureRequestsBatched", []), F(this, "config"), F(this, "sdkInfo"), F(this, "userId"), F(this, "sessionId"), F(this, "sendMeasureEvent", (n, o = {}, s = {}) => {
622
637
  const l = {
@@ -653,8 +668,8 @@ class to {
653
668
  } catch (i) {
654
669
  throw console.error("Error sending MeasureRequest:", i), i;
655
670
  }
656
- }, eo);
657
- }), this.config = t, this.sdkInfo = r, this.userId = a, this.sessionId = kt(), this.sendMeasureEvent("sdk_initialized");
671
+ }, ro);
672
+ }), this.config = t, this.sdkInfo = r, this.userId = a, this.sessionId = Tt(), this.sendMeasureEvent("sdk_initialized");
658
673
  }
659
674
  /**
660
675
  * Getter for the base url used by the /measure endpoints.
@@ -677,7 +692,7 @@ class to {
677
692
  };
678
693
  }
679
694
  }
680
- function ro(e) {
695
+ function so(e) {
681
696
  const t = [];
682
697
  let r = "should";
683
698
  return e.facetPathsForIndexFields && Object.keys(e.facetPathsForIndexFields).forEach((a) => {
@@ -705,7 +720,7 @@ function ro(e) {
705
720
  // Ensure dynamic mode is inside queryType
706
721
  }), t;
707
722
  }
708
- const ao = (e) => e.endsWith("/") ? e.slice(0, -1) : e, so = (e) => {
723
+ const no = (e) => e.endsWith("/") ? e.slice(0, -1) : e, oo = (e) => {
709
724
  let t = "";
710
725
  if (t = e.trim(), t = t.replace(/[‘’“”]/g, (r) => ({
711
726
  "‘": "'",
@@ -718,11 +733,11 @@ const ao = (e) => e.endsWith("/") ? e.slice(0, -1) : e, so = (e) => {
718
733
  );
719
734
  return t;
720
735
  };
721
- class no {
736
+ class io {
722
737
  constructor(t, r, a) {
723
738
  F(this, "config"), F(this, "userId"), F(this, "parent"), F(this, "getSearchResponse", async (n) => {
724
739
  var o, s, l, u, c;
725
- const i = so(n.searchTerm);
740
+ const i = oo(n.searchTerm);
726
741
  (o = this.parent.measureClient) == null || o.sendMeasureEvent("search_requested", {
727
742
  search_term: i
728
743
  }), this.parent.emitEvent("query_submitted", {
@@ -733,7 +748,7 @@ class no {
733
748
  }), (s = this.parent.adClient) == null || s.onQuerySubmitted(n);
734
749
  try {
735
750
  const p = {
736
- query: ro(n),
751
+ query: so(n),
737
752
  offset: n.offset || 0,
738
753
  // Default to 0 (first page) if not provided
739
754
  limit: n.limit || this.config.searchResultsPerPage || 20
@@ -777,7 +792,7 @@ class no {
777
792
  return `${this.config.endpointURL}/index/${this.config.index.join(",")}/search`;
778
793
  }
779
794
  }
780
- class oo {
795
+ class co {
781
796
  constructor(t, r) {
782
797
  if (F(this, "config"), F(this, "measureClient"), F(this, "searchClient"), F(this, "adClient"), F(this, "userId"), F(this, "requestTimeout"), F(this, "subscriptionEvents", {}), F(this, "getItems", (a, n, o) => {
783
798
  const s = async () => {
@@ -788,7 +803,7 @@ class oo {
788
803
  throw new Error("Search client was not initialized.");
789
804
  const i = (u = c.data.hits || []) == null ? void 0 : u.map((p) => p.doc).filter((p) => !!p).map((p) => ({
790
805
  type: "SearchDocument",
791
- id: kt(),
806
+ id: Tt(),
792
807
  document: p
793
808
  }));
794
809
  n(c, i);
@@ -810,7 +825,7 @@ class oo {
810
825
  this.config = {
811
826
  ...t,
812
827
  // Strips off the trailing '/' from an endpointURL if one is accidentally added
813
- endpointURL: ao(t.endpointURL)
828
+ endpointURL: no(t.endpointURL)
814
829
  }, this.userId = "", this.initClients(this.config, r), this.initInputForms(), this.startObservingMutations();
815
830
  }
816
831
  initInputForms() {
@@ -839,15 +854,15 @@ class oo {
839
854
  initClients(t, r) {
840
855
  setTimeout(async () => {
841
856
  let a = this.config.userId;
842
- switch (a || (a = await Nn()), this.measureClient = new to(t, r, a), this.searchClient = new no(this, t, a), t.adSource) {
857
+ switch (a || (a = await Un()), this.measureClient = new ao(t, r, a), this.searchClient = new io(this, t, a), t.adSource) {
843
858
  case "adMarketplace":
844
- this.adClient = new Xn(t);
859
+ this.adClient = new Jn(t);
845
860
  break;
846
861
  case "Nativo":
847
- this.adClient = new Zn(t);
862
+ this.adClient = new to(t);
848
863
  break;
849
864
  case "Custom":
850
- this.adClient = new Jn(t);
865
+ this.adClient = new Zn(t);
851
866
  break;
852
867
  }
853
868
  }, 300);
@@ -870,11 +885,7 @@ class oo {
870
885
  */
871
886
  handleAdContainerRendered(t) {
872
887
  var r;
873
- if (t.adSource === "adMarketplace") {
874
- const a = t.adClientResponseItem;
875
- (r = a.admAd) != null && r.impression_url && fetch(a.admAd.impression_url);
876
- }
877
- this.emitEvent("ad_container_rendered", {
888
+ (r = this.adClient) == null || r.onAdContainerRendered(t), this.emitEvent("ad_container_rendered", {
878
889
  name: "ad_container_rendered",
879
890
  data: {
880
891
  adContainerId: t.adContainerId,
@@ -883,6 +894,20 @@ class oo {
883
894
  }
884
895
  });
885
896
  }
897
+ /**
898
+ * Called when a `<searchcraft-ad>` is viewed
899
+ */
900
+ handleAdContainerViewed(t) {
901
+ var r;
902
+ (r = this.adClient) == null || r.onAdContainerViewed(t), this.emitEvent("ad_container_viewed", {
903
+ name: "ad_container_viewed",
904
+ data: {
905
+ adContainerId: t.adContainerId,
906
+ adSource: t.adSource,
907
+ searchTerm: t.searchTerm
908
+ }
909
+ });
910
+ }
886
911
  /**
887
912
  * Perform various actions when the input is cleared
888
913
  */
@@ -893,14 +918,14 @@ class oo {
893
918
  }), (t = this.adClient) == null || t.onInputCleared();
894
919
  }
895
920
  }
896
- const io = "searchcraft-javascript-sdk", je = (
921
+ const lo = "searchcraft-javascript-sdk", We = (
897
922
  /* searchcraft-javascript-sdk */
898
923
  { allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !1, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !1, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !0, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !0, element: !1, event: !0, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !1, hostListenerTarget: !1, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !1, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !1, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, modernPropertyDecls: !0, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !0, propMutable: !1, propNumber: !0, propString: !0, reflect: !1, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !1, slot: !0, slotChildNodesFix: !1, slotRelocation: !0, state: !0, style: !1, svg: !0, taskQueue: !0, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !0, vdomKey: !0, vdomListener: !0, vdomPropOrAttr: !0, vdomRef: !1, vdomRender: !0, vdomStyle: !0, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
899
924
  );
900
- var co = Object.defineProperty, lo = (e, t) => {
925
+ var uo = Object.defineProperty, ho = (e, t) => {
901
926
  for (var r in t)
902
- co(e, r, { get: t[r], enumerable: !0 });
903
- }, uo = "http://www.w3.org/2000/svg", ho = "http://www.w3.org/1999/xhtml", fo = (e, t) => {
927
+ uo(e, r, { get: t[r], enumerable: !0 });
928
+ }, fo = "http://www.w3.org/2000/svg", po = "http://www.w3.org/1999/xhtml", mo = (e, t) => {
904
929
  var r;
905
930
  const a = t.$cmpMeta$;
906
931
  Object.entries((r = a.$members$) != null ? r : {}).map(([o, [s]]) => {
@@ -918,7 +943,7 @@ var co = Object.defineProperty, lo = (e, t) => {
918
943
  }), e[o] = t.$instanceValues$.has(o) ? t.$instanceValues$.get(o) : l;
919
944
  }
920
945
  });
921
- }, hr = /* @__PURE__ */ new WeakMap(), po = (e) => hr.delete(e), ke = (e) => hr.get(e), mo = (e, t) => {
946
+ }, dr = /* @__PURE__ */ new WeakMap(), go = (e) => dr.delete(e), Te = (e) => dr.get(e), bo = (e, t) => {
922
947
  const r = {
923
948
  $flags$: 0,
924
949
  $hostElement$: e,
@@ -926,10 +951,10 @@ var co = Object.defineProperty, lo = (e, t) => {
926
951
  $instanceValues$: /* @__PURE__ */ new Map()
927
952
  };
928
953
  r.$onReadyPromise$ = new Promise((n) => r.$onReadyResolve$ = n), e["s-p"] = [], e["s-rc"] = [];
929
- const a = hr.set(e, r);
930
- return fo(e, r), a;
931
- }, ha = (e, t) => t in e, _t = (e, t) => (0, console.error)(e, t), At = typeof window < "u" ? window : {}, Be = At.document || { head: {} }, D = At.HTMLElement || class {
932
- }, re = {
954
+ const a = dr.set(e, r);
955
+ return mo(e, r), a;
956
+ }, da = (e, t) => t in e, At = (e, t) => (0, console.error)(e, t), It = typeof window < "u" ? window : {}, je = It.document || { head: {} }, D = It.HTMLElement || class {
957
+ }, ae = {
933
958
  $flags$: 0,
934
959
  $resourcesUrl$: "",
935
960
  jmp: (e) => e(),
@@ -937,80 +962,80 @@ var co = Object.defineProperty, lo = (e, t) => {
937
962
  ael: (e, t, r, a) => e.addEventListener(t, r, a),
938
963
  rel: (e, t, r, a) => e.removeEventListener(t, r, a),
939
964
  ce: (e, t) => new CustomEvent(e, t)
940
- }, go = je.shadowDom, bo = (e) => Promise.resolve(e), nr = !1, fa = [], za = [], vo = (e, t) => (r) => {
941
- e.push(r), nr || (nr = !0, re.$flags$ & 4 ? fr(or) : re.raf(or));
942
- }, da = (e) => {
965
+ }, vo = We.shadowDom, yo = (e) => Promise.resolve(e), or = !1, fa = [], Ha = [], So = (e, t) => (r) => {
966
+ e.push(r), or || (or = !0, ae.$flags$ & 4 ? fr(ir) : ae.raf(ir));
967
+ }, pa = (e) => {
943
968
  for (let t = 0; t < e.length; t++)
944
969
  try {
945
970
  e[t](performance.now());
946
971
  } catch (r) {
947
- _t(r);
972
+ At(r);
948
973
  }
949
974
  e.length = 0;
950
- }, or = () => {
951
- da(fa), da(za), (nr = fa.length > 0) && re.raf(or);
952
- }, fr = (e) => bo().then(e), yo = /* @__PURE__ */ vo(za), dr = (e) => (e = typeof e, e === "object" || e === "function"), So = {};
953
- lo(So, {
954
- err: () => Ha,
955
- map: () => wo,
956
- ok: () => ir,
957
- unwrap: () => Eo,
958
- unwrapErr: () => Ro
975
+ }, ir = () => {
976
+ pa(fa), pa(Ha), (or = fa.length > 0) && ae.raf(ir);
977
+ }, fr = (e) => yo().then(e), wo = /* @__PURE__ */ So(Ha), pr = (e) => (e = typeof e, e === "object" || e === "function"), Eo = {};
978
+ ho(Eo, {
979
+ err: () => Ba,
980
+ map: () => Ro,
981
+ ok: () => cr,
982
+ unwrap: () => Co,
983
+ unwrapErr: () => Po
959
984
  });
960
- var ir = (e) => ({
985
+ var cr = (e) => ({
961
986
  isOk: !0,
962
987
  isErr: !1,
963
988
  value: e
964
- }), Ha = (e) => ({
989
+ }), Ba = (e) => ({
965
990
  isOk: !1,
966
991
  isErr: !0,
967
992
  value: e
968
993
  });
969
- function wo(e, t) {
994
+ function Ro(e, t) {
970
995
  if (e.isOk) {
971
996
  const r = t(e.value);
972
- return r instanceof Promise ? r.then((a) => ir(a)) : ir(r);
997
+ return r instanceof Promise ? r.then((a) => cr(a)) : cr(r);
973
998
  }
974
999
  if (e.isErr) {
975
1000
  const r = e.value;
976
- return Ha(r);
1001
+ return Ba(r);
977
1002
  }
978
1003
  throw "should never get here";
979
1004
  }
980
- var Eo = (e) => {
1005
+ var Co = (e) => {
981
1006
  if (e.isOk)
982
1007
  return e.value;
983
1008
  throw e.value;
984
- }, Ro = (e) => {
1009
+ }, Po = (e) => {
985
1010
  if (e.isErr)
986
1011
  return e.value;
987
1012
  throw e.value;
988
- }, Ba = (e) => {
1013
+ }, ja = (e) => {
989
1014
  const t = e.__childNodes || e.childNodes;
990
- e.tagName && e.tagName.includes("-") && e["s-cr"] && e.tagName !== "SLOT-FB" && ja(t, e.tagName).forEach((r) => {
1015
+ e.tagName && e.tagName.includes("-") && e["s-cr"] && e.tagName !== "SLOT-FB" && Wa(t, e.tagName).forEach((r) => {
991
1016
  var a;
992
- r.nodeType === 1 && r.tagName === "SLOT-FB" && ((a = Co(r, r["s-sn"], !1)) != null && a.length ? r.hidden = !0 : r.hidden = !1);
1017
+ r.nodeType === 1 && r.tagName === "SLOT-FB" && ((a = To(r, r["s-sn"], !1)) != null && a.length ? r.hidden = !0 : r.hidden = !1);
993
1018
  });
994
1019
  for (const r of t)
995
- r.nodeType === 1 && (r.__childNodes || r.childNodes).length && Ba(r);
1020
+ r.nodeType === 1 && (r.__childNodes || r.childNodes).length && ja(r);
996
1021
  };
997
- function ja(e, t, r) {
1022
+ function Wa(e, t, r) {
998
1023
  let a = 0, n = [], o;
999
1024
  for (; a < e.length; a++)
1000
- o = e[a], o["s-sr"] && o["s-hn"] === t && r === void 0 && n.push(o), n = [...n, ...ja(o.childNodes, t, r)];
1025
+ o = e[a], o["s-sr"] && o["s-hn"] === t && r === void 0 && n.push(o), n = [...n, ...Wa(o.childNodes, t, r)];
1001
1026
  return n;
1002
1027
  }
1003
- var Co = (e, t, r = !0) => {
1028
+ var To = (e, t, r = !0) => {
1004
1029
  const a = [];
1005
1030
  for ((r && e["s-sr"] || !e["s-sr"]) && a.push(e); (e = e.nextSibling) && e["s-sn"] === t; )
1006
1031
  a.push(e);
1007
1032
  return a;
1008
- }, pa = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", st = (e, t = "") => () => {
1009
- }, d = (e, t, ...r) => {
1033
+ }, ma = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", nt = (e, t = "") => () => {
1034
+ }, f = (e, t, ...r) => {
1010
1035
  let a = null, n = null, o = null, s = !1, l = !1;
1011
1036
  const u = [], c = (p) => {
1012
1037
  for (let m = 0; m < p.length; m++)
1013
- a = p[m], Array.isArray(a) ? c(a) : a != null && typeof a != "boolean" && ((s = typeof e != "function" && !dr(a)) && (a = String(a)), s && l ? u[u.length - 1].$text$ += a : u.push(s ? Pt(null, a) : a), l = s);
1038
+ a = p[m], Array.isArray(a) ? c(a) : a != null && typeof a != "boolean" && ((s = typeof e != "function" && !pr(a)) && (a = String(a)), s && l ? u[u.length - 1].$text$ += a : u.push(s ? kt(null, a) : a), l = s);
1014
1039
  };
1015
1040
  if (c(r), t) {
1016
1041
  t.key && (n = t.key), t.name && (o = t.name);
@@ -1023,11 +1048,11 @@ var Co = (e, t, r = !0) => {
1023
1048
  return e(
1024
1049
  t === null ? {} : t,
1025
1050
  u,
1026
- To
1051
+ $o
1027
1052
  );
1028
- const i = Pt(e, null);
1053
+ const i = kt(e, null);
1029
1054
  return i.$attrs$ = t, u.length > 0 && (i.$children$ = u), i.$key$ = n, i.$name$ = o, i;
1030
- }, Pt = (e, t) => {
1055
+ }, kt = (e, t) => {
1031
1056
  const r = {
1032
1057
  $flags$: 0,
1033
1058
  $tag$: e,
@@ -1036,42 +1061,42 @@ var Co = (e, t, r = !0) => {
1036
1061
  $children$: null
1037
1062
  };
1038
1063
  return r.$attrs$ = null, r.$key$ = null, r.$name$ = null, r;
1039
- }, ko = {}, Po = (e) => e && e.$tag$ === ko, To = {
1040
- forEach: (e, t) => e.map(ma).forEach(t),
1041
- map: (e, t) => e.map(ma).map(t).map(xo)
1042
- }, ma = (e) => ({
1064
+ }, ko = {}, xo = (e) => e && e.$tag$ === ko, $o = {
1065
+ forEach: (e, t) => e.map(ga).forEach(t),
1066
+ map: (e, t) => e.map(ga).map(t).map(_o)
1067
+ }, ga = (e) => ({
1043
1068
  vattrs: e.$attrs$,
1044
1069
  vchildren: e.$children$,
1045
1070
  vkey: e.$key$,
1046
1071
  vname: e.$name$,
1047
1072
  vtag: e.$tag$,
1048
1073
  vtext: e.$text$
1049
- }), xo = (e) => {
1074
+ }), _o = (e) => {
1050
1075
  if (typeof e.vtag == "function") {
1051
1076
  const r = { ...e.vattrs };
1052
- return e.vkey && (r.key = e.vkey), e.vname && (r.name = e.vname), d(e.vtag, r, ...e.vchildren || []);
1077
+ return e.vkey && (r.key = e.vkey), e.vname && (r.name = e.vname), f(e.vtag, r, ...e.vchildren || []);
1053
1078
  }
1054
- const t = Pt(e.vtag, e.vtext);
1079
+ const t = kt(e.vtag, e.vtext);
1055
1080
  return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
1056
- }, Wa = (e, t) => e != null && !dr(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, $o = (e) => e, Re = (e, t, r) => {
1057
- const a = $o(e);
1081
+ }, Ga = (e, t) => e != null && !pr(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Ao = (e) => e, Ce = (e, t, r) => {
1082
+ const a = Ao(e);
1058
1083
  return {
1059
- emit: (n) => Ga(a, t, {
1084
+ emit: (n) => Va(a, t, {
1060
1085
  bubbles: !0,
1061
1086
  composed: !0,
1062
1087
  cancelable: !0,
1063
1088
  detail: n
1064
1089
  })
1065
1090
  };
1066
- }, Ga = (e, t, r) => {
1067
- const a = re.ce(t, r);
1091
+ }, Va = (e, t, r) => {
1092
+ const a = ae.ce(t, r);
1068
1093
  return e.dispatchEvent(a), a;
1069
- }, St = /* @__PURE__ */ new WeakMap(), ga = (e, t, r, a, n, o) => {
1094
+ }, wt = /* @__PURE__ */ new WeakMap(), ba = (e, t, r, a, n, o) => {
1070
1095
  if (r !== a) {
1071
- let s = ha(e, t), l = t.toLowerCase();
1096
+ let s = da(e, t), l = t.toLowerCase();
1072
1097
  if (t === "class") {
1073
- const u = e.classList, c = ba(r);
1074
- let i = ba(a);
1098
+ const u = e.classList, c = va(r);
1099
+ let i = va(a);
1075
1100
  e["s-si"] ? (i.push(e["s-si"]), c.forEach((p) => {
1076
1101
  p.startsWith(e["s-si"]) && i.push(p);
1077
1102
  }), i = [...new Set(i)], u.add(...i), delete e["s-si"]) : (u.remove(...c.filter((p) => p && !i.includes(p))), u.add(...i.filter((p) => p && !c.includes(p))));
@@ -1081,12 +1106,12 @@ var Co = (e, t, r = !0) => {
1081
1106
  for (const u in a)
1082
1107
  (!r || a[u] !== r[u]) && (u.includes("-") ? e.style.setProperty(u, a[u]) : e.style[u] = a[u]);
1083
1108
  } else if (t !== "key") if (!e.__lookupSetter__(t) && t[0] === "o" && t[1] === "n") {
1084
- if (t[2] === "-" ? t = t.slice(3) : ha(At, l) ? t = l.slice(2) : t = l[2] + t.slice(3), r || a) {
1085
- const u = t.endsWith(Va);
1086
- t = t.replace(Ao, ""), r && re.rel(e, t, r, u), a && re.ael(e, t, a, u);
1109
+ if (t[2] === "-" ? t = t.slice(3) : da(It, l) ? t = l.slice(2) : t = l[2] + t.slice(3), r || a) {
1110
+ const u = t.endsWith(qa);
1111
+ t = t.replace(Mo, ""), r && ae.rel(e, t, r, u), a && ae.ael(e, t, a, u);
1087
1112
  }
1088
1113
  } else {
1089
- const u = dr(a);
1114
+ const u = pr(a);
1090
1115
  if ((s || u && a !== null) && !n)
1091
1116
  try {
1092
1117
  if (e.tagName.includes("-"))
@@ -1100,14 +1125,14 @@ var Co = (e, t, r = !0) => {
1100
1125
  a == null || a === !1 ? (a !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!s || o & 4 || n) && !u && (a = a === !0 ? "" : a, e.setAttribute(t, a));
1101
1126
  }
1102
1127
  }
1103
- }, _o = /\s/, ba = (e) => (typeof e == "object" && "baseVal" in e && (e = e.baseVal), e ? e.split(_o) : []), Va = "Capture", Ao = new RegExp(Va + "$"), qa = (e, t, r) => {
1128
+ }, Io = /\s/, va = (e) => (typeof e == "object" && "baseVal" in e && (e = e.baseVal), e ? e.split(Io) : []), qa = "Capture", Mo = new RegExp(qa + "$"), Ya = (e, t, r) => {
1104
1129
  const a = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || {}, o = t.$attrs$ || {};
1105
- for (const s of va(Object.keys(n)))
1106
- s in o || ga(a, s, n[s], void 0, r, t.$flags$);
1107
- for (const s of va(Object.keys(o)))
1108
- ga(a, s, n[s], o[s], r, t.$flags$);
1130
+ for (const s of ya(Object.keys(n)))
1131
+ s in o || ba(a, s, n[s], void 0, r, t.$flags$);
1132
+ for (const s of ya(Object.keys(o)))
1133
+ ba(a, s, n[s], o[s], r, t.$flags$);
1109
1134
  };
1110
- function va(e) {
1135
+ function ya(e) {
1111
1136
  return e.includes("ref") ? (
1112
1137
  // we need to sort these to ensure that `'ref'` is the last attr
1113
1138
  [...e.filter((t) => t !== "ref"), "ref"]
@@ -1116,11 +1141,11 @@ function va(e) {
1116
1141
  e
1117
1142
  );
1118
1143
  }
1119
- var cr, pr, Tt = !1, xt = !1, mr = !1, se = !1, $t = (e, t, r) => {
1144
+ var lr, mr, xt = !1, $t = !1, gr = !1, ne = !1, _t = (e, t, r) => {
1120
1145
  var a;
1121
1146
  const n = t.$children$[r];
1122
1147
  let o = 0, s, l, u;
1123
- if (Tt || (mr = !0, n.$tag$ === "slot" && (n.$flags$ |= n.$children$ ? (
1148
+ if (xt || (gr = !0, n.$tag$ === "slot" && (n.$flags$ |= n.$children$ ? (
1124
1149
  // slot element has fallback content
1125
1150
  // still create an element that "mocks" the slot element
1126
1151
  2
@@ -1130,41 +1155,41 @@ var cr, pr, Tt = !1, xt = !1, mr = !1, se = !1, $t = (e, t, r) => {
1130
1155
  // where actual slot content should sit next to
1131
1156
  1
1132
1157
  ))), n.$text$ !== null)
1133
- s = n.$elm$ = Be.createTextNode(n.$text$);
1158
+ s = n.$elm$ = je.createTextNode(n.$text$);
1134
1159
  else if (n.$flags$ & 1)
1135
- s = n.$elm$ = Be.createTextNode("");
1160
+ s = n.$elm$ = je.createTextNode("");
1136
1161
  else {
1137
- if (se || (se = n.$tag$ === "svg"), s = n.$elm$ = Be.createElementNS(
1138
- se ? uo : ho,
1139
- !Tt && je.slotRelocation && n.$flags$ & 2 ? "slot-fb" : n.$tag$
1140
- ), se && n.$tag$ === "foreignObject" && (se = !1), qa(null, n, se), n.$children$)
1162
+ if (ne || (ne = n.$tag$ === "svg"), s = n.$elm$ = je.createElementNS(
1163
+ ne ? fo : po,
1164
+ !xt && We.slotRelocation && n.$flags$ & 2 ? "slot-fb" : n.$tag$
1165
+ ), ne && n.$tag$ === "foreignObject" && (ne = !1), Ya(null, n, ne), n.$children$)
1141
1166
  for (o = 0; o < n.$children$.length; ++o)
1142
- l = $t(e, n, o), l && s.appendChild(l);
1143
- n.$tag$ === "svg" ? se = !1 : s.tagName === "foreignObject" && (se = !0);
1167
+ l = _t(e, n, o), l && s.appendChild(l);
1168
+ n.$tag$ === "svg" ? ne = !1 : s.tagName === "foreignObject" && (ne = !0);
1144
1169
  }
1145
- return s["s-hn"] = pr, n.$flags$ & 3 && (s["s-sr"] = !0, s["s-cr"] = cr, s["s-sn"] = n.$name$ || "", s["s-rf"] = (a = n.$attrs$) == null ? void 0 : a.ref, u = e && e.$children$ && e.$children$[r], u && u.$tag$ === n.$tag$ && e.$elm$ && nt(e.$elm$, !1)), s;
1146
- }, nt = (e, t) => {
1147
- re.$flags$ |= 1;
1170
+ return s["s-hn"] = mr, n.$flags$ & 3 && (s["s-sr"] = !0, s["s-cr"] = lr, s["s-sn"] = n.$name$ || "", s["s-rf"] = (a = n.$attrs$) == null ? void 0 : a.ref, u = e && e.$children$ && e.$children$[r], u && u.$tag$ === n.$tag$ && e.$elm$ && ot(e.$elm$, !1)), s;
1171
+ }, ot = (e, t) => {
1172
+ ae.$flags$ |= 1;
1148
1173
  const r = Array.from(e.__childNodes || e.childNodes);
1149
- e["s-sr"] && je.experimentalSlotFixes;
1174
+ e["s-sr"] && We.experimentalSlotFixes;
1150
1175
  for (let a = r.length - 1; a >= 0; a--) {
1151
1176
  const n = r[a];
1152
- n["s-hn"] !== pr && n["s-ol"] && (Ce(ot(n).parentNode, n, ot(n)), n["s-ol"].remove(), n["s-ol"] = void 0, n["s-sh"] = void 0, mr = !0), t && nt(n, t);
1177
+ n["s-hn"] !== mr && n["s-ol"] && (Pe(it(n).parentNode, n, it(n)), n["s-ol"].remove(), n["s-ol"] = void 0, n["s-sh"] = void 0, gr = !0), t && ot(n, t);
1153
1178
  }
1154
- re.$flags$ &= -2;
1155
- }, Ya = (e, t, r, a, n, o) => {
1179
+ ae.$flags$ &= -2;
1180
+ }, Qa = (e, t, r, a, n, o) => {
1156
1181
  let s = e["s-cr"] && e["s-cr"].parentNode || e, l;
1157
1182
  for (; n <= o; ++n)
1158
- a[n] && (l = $t(null, r, n), l && (a[n].$elm$ = l, Ce(s, l, ot(t))));
1159
- }, Qa = (e, t, r) => {
1183
+ a[n] && (l = _t(null, r, n), l && (a[n].$elm$ = l, Pe(s, l, it(t))));
1184
+ }, Ka = (e, t, r) => {
1160
1185
  for (let a = t; a <= r; ++a) {
1161
1186
  const n = e[a];
1162
1187
  if (n) {
1163
1188
  const o = n.$elm$;
1164
- o && (xt = !0, o["s-ol"] ? o["s-ol"].remove() : nt(o, !0), o.remove());
1189
+ o && ($t = !0, o["s-ol"] ? o["s-ol"].remove() : ot(o, !0), o.remove());
1165
1190
  }
1166
1191
  }
1167
- }, Io = (e, t, r, a, n = !1) => {
1192
+ }, Lo = (e, t, r, a, n = !1) => {
1168
1193
  let o = 0, s = 0, l = 0, u = 0, c = t.length - 1, i = t[0], p = t[c], m = a.length - 1, v = a[0], b = a[m], $, H;
1169
1194
  for (; o <= c && s <= m; )
1170
1195
  if (i == null)
@@ -1175,42 +1200,42 @@ var cr, pr, Tt = !1, xt = !1, mr = !1, se = !1, $t = (e, t, r) => {
1175
1200
  v = a[++s];
1176
1201
  else if (b == null)
1177
1202
  b = a[--m];
1178
- else if (wt(i, v, n))
1179
- ze(i, v, n), i = t[++o], v = a[++s];
1180
- else if (wt(p, b, n))
1181
- ze(p, b, n), p = t[--c], b = a[--m];
1182
- else if (wt(i, b, n))
1183
- (i.$tag$ === "slot" || b.$tag$ === "slot") && nt(i.$elm$.parentNode, !1), ze(i, b, n), Ce(e, i.$elm$, p.$elm$.nextSibling), i = t[++o], b = a[--m];
1184
- else if (wt(p, v, n))
1185
- (i.$tag$ === "slot" || b.$tag$ === "slot") && nt(p.$elm$.parentNode, !1), ze(p, v, n), Ce(e, p.$elm$, i.$elm$), p = t[--c], v = a[++s];
1203
+ else if (Et(i, v, n))
1204
+ He(i, v, n), i = t[++o], v = a[++s];
1205
+ else if (Et(p, b, n))
1206
+ He(p, b, n), p = t[--c], b = a[--m];
1207
+ else if (Et(i, b, n))
1208
+ (i.$tag$ === "slot" || b.$tag$ === "slot") && ot(i.$elm$.parentNode, !1), He(i, b, n), Pe(e, i.$elm$, p.$elm$.nextSibling), i = t[++o], b = a[--m];
1209
+ else if (Et(p, v, n))
1210
+ (i.$tag$ === "slot" || b.$tag$ === "slot") && ot(p.$elm$.parentNode, !1), He(p, v, n), Pe(e, p.$elm$, i.$elm$), p = t[--c], v = a[++s];
1186
1211
  else {
1187
1212
  for (l = -1, u = o; u <= c; ++u)
1188
1213
  if (t[u] && t[u].$key$ !== null && t[u].$key$ === v.$key$) {
1189
1214
  l = u;
1190
1215
  break;
1191
1216
  }
1192
- l >= 0 ? (H = t[l], H.$tag$ !== v.$tag$ ? $ = $t(t && t[s], r, l) : (ze(H, v, n), t[l] = void 0, $ = H.$elm$), v = a[++s]) : ($ = $t(t && t[s], r, s), v = a[++s]), $ && Ce(
1193
- ot(i.$elm$).parentNode,
1217
+ l >= 0 ? (H = t[l], H.$tag$ !== v.$tag$ ? $ = _t(t && t[s], r, l) : (He(H, v, n), t[l] = void 0, $ = H.$elm$), v = a[++s]) : ($ = _t(t && t[s], r, s), v = a[++s]), $ && Pe(
1218
+ it(i.$elm$).parentNode,
1194
1219
  $,
1195
- ot(i.$elm$)
1220
+ it(i.$elm$)
1196
1221
  );
1197
1222
  }
1198
- o > c ? Ya(
1223
+ o > c ? Qa(
1199
1224
  e,
1200
1225
  a[m + 1] == null ? null : a[m + 1].$elm$,
1201
1226
  r,
1202
1227
  a,
1203
1228
  s,
1204
1229
  m
1205
- ) : s > m && Qa(t, o, c);
1206
- }, wt = (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, ot = (e) => e && e["s-ol"] || e, ze = (e, t, r = !1) => {
1230
+ ) : s > m && Ka(t, o, c);
1231
+ }, Et = (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, it = (e) => e && e["s-ol"] || e, He = (e, t, r = !1) => {
1207
1232
  const a = t.$elm$ = e.$elm$, n = e.$children$, o = t.$children$, s = t.$tag$, l = t.$text$;
1208
1233
  let u;
1209
- l === null ? (se = s === "svg" ? !0 : s === "foreignObject" ? !1 : se, s === "slot" && !Tt || qa(e, t, se), n !== null && o !== null ? Io(a, n, t, o, r) : o !== null ? (e.$text$ !== null && (a.textContent = ""), Ya(a, null, t, o, 0, o.length - 1)) : (
1234
+ l === null ? (ne = s === "svg" ? !0 : s === "foreignObject" ? !1 : ne, s === "slot" && !xt || Ya(e, t, ne), n !== null && o !== null ? Lo(a, n, t, o, r) : o !== null ? (e.$text$ !== null && (a.textContent = ""), Qa(a, null, t, o, 0, o.length - 1)) : (
1210
1235
  // don't do this on initial render as it can cause non-hydrated content to be removed
1211
- !r && je.updatable && n !== null && Qa(n, 0, n.length - 1)
1212
- ), se && s === "svg" && (se = !1)) : (u = a["s-cr"]) ? u.parentNode.textContent = l : e.$text$ !== l && (a.data = l);
1213
- }, ge = [], Ka = (e) => {
1236
+ !r && We.updatable && n !== null && Ka(n, 0, n.length - 1)
1237
+ ), ne && s === "svg" && (ne = !1)) : (u = a["s-cr"]) ? u.parentNode.textContent = l : e.$text$ !== l && (a.data = l);
1238
+ }, be = [], Xa = (e) => {
1214
1239
  let t, r, a;
1215
1240
  const n = e.__childNodes || e.childNodes;
1216
1241
  for (const o of n) {
@@ -1219,46 +1244,46 @@ var cr, pr, Tt = !1, xt = !1, mr = !1, se = !1, $t = (e, t, r) => {
1219
1244
  const s = o["s-sn"];
1220
1245
  for (a = r.length - 1; a >= 0; a--)
1221
1246
  if (t = r[a], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== o["s-hn"])
1222
- if (pa(t, s)) {
1223
- let l = ge.find((u) => u.$nodeToRelocate$ === t);
1224
- xt = !0, t["s-sn"] = t["s-sn"] || s, l ? (l.$nodeToRelocate$["s-sh"] = o["s-hn"], l.$slotRefNode$ = o) : (t["s-sh"] = o["s-hn"], ge.push({
1247
+ if (ma(t, s)) {
1248
+ let l = be.find((u) => u.$nodeToRelocate$ === t);
1249
+ $t = !0, t["s-sn"] = t["s-sn"] || s, l ? (l.$nodeToRelocate$["s-sh"] = o["s-hn"], l.$slotRefNode$ = o) : (t["s-sh"] = o["s-hn"], be.push({
1225
1250
  $slotRefNode$: o,
1226
1251
  $nodeToRelocate$: t
1227
- })), t["s-sr"] && ge.map((u) => {
1228
- pa(u.$nodeToRelocate$, t["s-sn"]) && (l = ge.find((c) => c.$nodeToRelocate$ === t), l && !u.$slotRefNode$ && (u.$slotRefNode$ = l.$slotRefNode$));
1252
+ })), t["s-sr"] && be.map((u) => {
1253
+ ma(u.$nodeToRelocate$, t["s-sn"]) && (l = be.find((c) => c.$nodeToRelocate$ === t), l && !u.$slotRefNode$ && (u.$slotRefNode$ = l.$slotRefNode$));
1229
1254
  });
1230
- } else ge.some((l) => l.$nodeToRelocate$ === t) || ge.push({
1255
+ } else be.some((l) => l.$nodeToRelocate$ === t) || be.push({
1231
1256
  $nodeToRelocate$: t
1232
1257
  });
1233
1258
  }
1234
- o.nodeType === 1 && Ka(o);
1259
+ o.nodeType === 1 && Xa(o);
1235
1260
  }
1236
- }, Ce = (e, t, r) => e == null ? void 0 : e.insertBefore(t, r), Mo = (e, t, r = !1) => {
1261
+ }, Pe = (e, t, r) => e == null ? void 0 : e.insertBefore(t, r), Oo = (e, t, r = !1) => {
1237
1262
  var a, n, o, s;
1238
- const l = e.$hostElement$, u = e.$vnode$ || Pt(null, null), c = Po(t) ? t : d(null, null, t);
1239
- if (pr = l.tagName, r && c.$attrs$)
1263
+ const l = e.$hostElement$, u = e.$vnode$ || kt(null, null), c = xo(t) ? t : f(null, null, t);
1264
+ if (mr = l.tagName, r && c.$attrs$)
1240
1265
  for (const i of Object.keys(c.$attrs$))
1241
1266
  l.hasAttribute(i) && !["key", "ref", "style", "class"].includes(i) && (c.$attrs$[i] = l[i]);
1242
- c.$tag$ = null, c.$flags$ |= 4, e.$vnode$ = c, c.$elm$ = u.$elm$ = l, Tt = go, cr = l["s-cr"], xt = !1, ze(u, c, r);
1267
+ c.$tag$ = null, c.$flags$ |= 4, e.$vnode$ = c, c.$elm$ = u.$elm$ = l, xt = vo, lr = l["s-cr"], $t = !1, He(u, c, r);
1243
1268
  {
1244
- if (re.$flags$ |= 1, mr) {
1245
- Ka(c.$elm$);
1246
- for (const i of ge) {
1269
+ if (ae.$flags$ |= 1, gr) {
1270
+ Xa(c.$elm$);
1271
+ for (const i of be) {
1247
1272
  const p = i.$nodeToRelocate$;
1248
1273
  if (!p["s-ol"]) {
1249
- const m = Be.createTextNode("");
1250
- m["s-nr"] = p, Ce(p.parentNode, p["s-ol"] = m, p);
1274
+ const m = je.createTextNode("");
1275
+ m["s-nr"] = p, Pe(p.parentNode, p["s-ol"] = m, p);
1251
1276
  }
1252
1277
  }
1253
- for (const i of ge) {
1278
+ for (const i of be) {
1254
1279
  const p = i.$nodeToRelocate$, m = i.$slotRefNode$;
1255
1280
  if (m) {
1256
1281
  const v = m.parentNode;
1257
1282
  let b = m.nextSibling;
1258
1283
  {
1259
- let ae = (a = p["s-ol"]) == null ? void 0 : a.previousSibling;
1260
- for (; ae; ) {
1261
- let L = (n = ae["s-nr"]) != null ? n : null;
1284
+ let se = (a = p["s-ol"]) == null ? void 0 : a.previousSibling;
1285
+ for (; se; ) {
1286
+ let L = (n = se["s-nr"]) != null ? n : null;
1262
1287
  if (L && L["s-sn"] === p["s-sn"] && v === (L.__parentNode || L.parentNode)) {
1263
1288
  for (L = L.nextSibling; L === p || L != null && L["s-sr"]; )
1264
1289
  L = L == null ? void 0 : L.nextSibling;
@@ -1267,19 +1292,19 @@ var cr, pr, Tt = !1, xt = !1, mr = !1, se = !1, $t = (e, t, r) => {
1267
1292
  break;
1268
1293
  }
1269
1294
  }
1270
- ae = ae.previousSibling;
1295
+ se = se.previousSibling;
1271
1296
  }
1272
1297
  }
1273
1298
  const $ = p.__parentNode || p.parentNode, H = p.__nextSibling || p.nextSibling;
1274
- (!b && v !== $ || H !== b) && p !== b && (!p["s-hn"] && p["s-ol"] && (p["s-hn"] = p["s-ol"].parentNode.nodeName), Ce(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);
1299
+ (!b && v !== $ || H !== b) && p !== b && (!p["s-hn"] && p["s-ol"] && (p["s-hn"] = p["s-ol"].parentNode.nodeName), Pe(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);
1275
1300
  } else
1276
1301
  p.nodeType === 1 && (r && (p["s-ih"] = (s = p.hidden) != null ? s : !1), p.hidden = !0);
1277
1302
  }
1278
1303
  }
1279
- xt && Ba(c.$elm$), re.$flags$ &= -2, ge.length = 0;
1304
+ $t && ja(c.$elm$), ae.$flags$ &= -2, be.length = 0;
1280
1305
  }
1281
- cr = void 0;
1282
- }, Xa = (e, t) => {
1306
+ lr = void 0;
1307
+ }, Ja = (e, t) => {
1283
1308
  if (t && !e.$onRenderResolve$ && t["s-p"]) {
1284
1309
  const r = t["s-p"].push(
1285
1310
  new Promise(
@@ -1289,55 +1314,55 @@ var cr, pr, Tt = !1, xt = !1, mr = !1, se = !1, $t = (e, t, r) => {
1289
1314
  )
1290
1315
  );
1291
1316
  }
1292
- }, gr = (e, t) => {
1317
+ }, br = (e, t) => {
1293
1318
  if (e.$flags$ |= 16, e.$flags$ & 4) {
1294
1319
  e.$flags$ |= 512;
1295
1320
  return;
1296
1321
  }
1297
- return Xa(e, e.$ancestorComponent$), yo(() => Lo(e, t));
1298
- }, Lo = (e, t) => {
1299
- const r = e.$hostElement$, a = st("scheduleUpdate", e.$cmpMeta$.$tagName$), n = r;
1322
+ return Ja(e, e.$ancestorComponent$), wo(() => Fo(e, t));
1323
+ }, Fo = (e, t) => {
1324
+ const r = e.$hostElement$, a = nt("scheduleUpdate", e.$cmpMeta$.$tagName$), n = r;
1300
1325
  if (!n)
1301
1326
  throw new Error(
1302
1327
  `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`
1303
1328
  );
1304
1329
  let o;
1305
- return a(), Oo(o, () => Do(e, n, t));
1306
- }, Oo = (e, t) => Fo(e) ? e.then(t).catch((r) => {
1330
+ return a(), Do(o, () => Uo(e, n, t));
1331
+ }, Do = (e, t) => No(e) ? e.then(t).catch((r) => {
1307
1332
  console.error(r), t();
1308
- }) : t(), Fo = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Do = async (e, t, r) => {
1333
+ }) : t(), No = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Uo = async (e, t, r) => {
1309
1334
  var a;
1310
- const n = e.$hostElement$, o = st("update", e.$cmpMeta$.$tagName$), s = n["s-rc"], l = st("render", e.$cmpMeta$.$tagName$);
1311
- No(e, t, n, r), s && (s.map((u) => u()), n["s-rc"] = void 0), l(), o();
1335
+ const n = e.$hostElement$, o = nt("update", e.$cmpMeta$.$tagName$), s = n["s-rc"], l = nt("render", e.$cmpMeta$.$tagName$);
1336
+ zo(e, t, n, r), s && (s.map((u) => u()), n["s-rc"] = void 0), l(), o();
1312
1337
  {
1313
- const u = (a = n["s-p"]) != null ? a : [], c = () => Uo(e);
1338
+ const u = (a = n["s-p"]) != null ? a : [], c = () => Ho(e);
1314
1339
  u.length === 0 ? c() : (Promise.all(u).then(c), e.$flags$ |= 4, u.length = 0);
1315
1340
  }
1316
- }, No = (e, t, r, a) => {
1341
+ }, zo = (e, t, r, a) => {
1317
1342
  try {
1318
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Mo(e, t, a);
1343
+ t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Oo(e, t, a);
1319
1344
  } catch (n) {
1320
- _t(n, e.$hostElement$);
1345
+ At(n, e.$hostElement$);
1321
1346
  }
1322
1347
  return null;
1323
- }, Uo = (e) => {
1324
- const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, a = st("postUpdate", t), n = r, o = e.$ancestorComponent$;
1325
- e.$flags$ & 64 ? a() : (e.$flags$ |= 64, Ja(r), Ho(n, "componentDidLoad", void 0, r), a(), e.$onReadyResolve$(r), o || zo()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && fr(() => gr(e, !1)), e.$flags$ &= -517;
1326
- }, zo = (e) => {
1327
- Ja(Be.documentElement), fr(() => Ga(At, "appload", { detail: { namespace: io } }));
1328
- }, Ho = (e, t, r, a) => {
1348
+ }, Ho = (e) => {
1349
+ const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, a = nt("postUpdate", t), n = r, o = e.$ancestorComponent$;
1350
+ e.$flags$ & 64 ? a() : (e.$flags$ |= 64, Za(r), jo(n, "componentDidLoad", void 0, r), a(), e.$onReadyResolve$(r), o || Bo()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && fr(() => br(e, !1)), e.$flags$ &= -517;
1351
+ }, Bo = (e) => {
1352
+ Za(je.documentElement), fr(() => Va(It, "appload", { detail: { namespace: lo } }));
1353
+ }, jo = (e, t, r, a) => {
1329
1354
  if (e && e[t])
1330
1355
  try {
1331
1356
  return e[t](r);
1332
1357
  } catch (n) {
1333
- _t(n, a);
1358
+ At(n, a);
1334
1359
  }
1335
- }, Ja = (e) => {
1360
+ }, Za = (e) => {
1336
1361
  var t;
1337
- return e.classList.add((t = je.hydratedSelectorName) != null ? t : "hydrated");
1338
- }, Bo = (e, t) => ke(e).$instanceValues$.get(t), ya = (e, t, r, a) => {
1339
- const n = ke(e), o = e, s = n.$instanceValues$.get(t), l = n.$flags$, u = o;
1340
- r = Wa(r, a.$members$[t][0]);
1362
+ return e.classList.add((t = We.hydratedSelectorName) != null ? t : "hydrated");
1363
+ }, Wo = (e, t) => Te(e).$instanceValues$.get(t), Sa = (e, t, r, a) => {
1364
+ const n = Te(e), o = e, s = n.$instanceValues$.get(t), l = n.$flags$, u = o;
1365
+ r = Ga(r, a.$members$[t][0]);
1341
1366
  const c = Number.isNaN(s) && Number.isNaN(r);
1342
1367
  if (r !== s && !c) {
1343
1368
  n.$instanceValues$.set(t, r);
@@ -1348,14 +1373,14 @@ var cr, pr, Tt = !1, xt = !1, mr = !1, se = !1, $t = (e, t, r) => {
1348
1373
  try {
1349
1374
  u[m](r, s, t);
1350
1375
  } catch (v) {
1351
- _t(v, o);
1376
+ At(v, o);
1352
1377
  }
1353
1378
  });
1354
1379
  }
1355
- (l & 18) === 2 && gr(n, !1);
1380
+ (l & 18) === 2 && br(n, !1);
1356
1381
  }
1357
1382
  }
1358
- }, jo = (e, t, r) => {
1383
+ }, Go = (e, t, r) => {
1359
1384
  var a, n;
1360
1385
  const o = e.prototype;
1361
1386
  if (t.$members$ || t.$watchers$ || e.watchers) {
@@ -1366,20 +1391,20 @@ var cr, pr, Tt = !1, xt = !1, mr = !1, se = !1, $t = (e, t, r) => {
1366
1391
  const { get: c, set: i } = Object.getOwnPropertyDescriptor(o, l) || {};
1367
1392
  c && (t.$members$[l][0] |= 2048), i && (t.$members$[l][0] |= 4096), Object.defineProperty(o, l, {
1368
1393
  get() {
1369
- return c ? c.apply(this) : Bo(this, l);
1394
+ return c ? c.apply(this) : Wo(this, l);
1370
1395
  },
1371
1396
  configurable: !0,
1372
1397
  enumerable: !0
1373
1398
  }), Object.defineProperty(o, l, {
1374
1399
  set(p) {
1375
- const m = ke(this);
1400
+ const m = Te(this);
1376
1401
  if (i) {
1377
1402
  const v = u & 32 ? this[l] : m.$hostElement$[l];
1378
- typeof v > "u" && m.$instanceValues$.get(l) ? p = m.$instanceValues$.get(l) : !m.$instanceValues$.get(l) && v && m.$instanceValues$.set(l, v), i.apply(this, [Wa(p, u)]), p = u & 32 ? this[l] : m.$hostElement$[l], ya(this, l, p, t);
1403
+ typeof v > "u" && m.$instanceValues$.get(l) ? p = m.$instanceValues$.get(l) : !m.$instanceValues$.get(l) && v && m.$instanceValues$.set(l, v), i.apply(this, [Ga(p, u)]), p = u & 32 ? this[l] : m.$hostElement$[l], Sa(this, l, p, t);
1379
1404
  return;
1380
1405
  }
1381
1406
  {
1382
- ya(this, l, p, t);
1407
+ Sa(this, l, p, t);
1383
1408
  return;
1384
1409
  }
1385
1410
  }
@@ -1389,19 +1414,19 @@ var cr, pr, Tt = !1, xt = !1, mr = !1, se = !1, $t = (e, t, r) => {
1389
1414
  {
1390
1415
  const l = /* @__PURE__ */ new Map();
1391
1416
  o.attributeChangedCallback = function(u, c, i) {
1392
- re.jmp(() => {
1417
+ ae.jmp(() => {
1393
1418
  var p;
1394
1419
  const m = l.get(u);
1395
- if (!(this.hasOwnProperty(m) && je.lazyLoad)) {
1420
+ if (!(this.hasOwnProperty(m) && We.lazyLoad)) {
1396
1421
  if (o.hasOwnProperty(m) && typeof this[m] == "number" && // cast type to number to avoid TS compiler issues
1397
1422
  this[m] == i)
1398
1423
  return;
1399
1424
  if (m == null) {
1400
- const b = ke(this), $ = b == null ? void 0 : b.$flags$;
1425
+ const b = Te(this), $ = b == null ? void 0 : b.$flags$;
1401
1426
  if ($ && !($ & 8) && $ & 128 && i !== c) {
1402
- const ae = this, L = (p = t.$watchers$) == null ? void 0 : p[u];
1403
- L == null || L.forEach((Ge) => {
1404
- ae[Ge] != null && ae[Ge].call(ae, i, c, u);
1427
+ const se = this, L = (p = t.$watchers$) == null ? void 0 : p[u];
1428
+ L == null || L.forEach((Ve) => {
1429
+ se[Ve] != null && se[Ve].call(se, i, c, u);
1405
1430
  });
1406
1431
  }
1407
1432
  return;
@@ -1425,7 +1450,7 @@ var cr, pr, Tt = !1, xt = !1, mr = !1, se = !1, $t = (e, t, r) => {
1425
1450
  }
1426
1451
  }
1427
1452
  return e;
1428
- }, Wo = async (e, t, r, a) => {
1453
+ }, Vo = async (e, t, r, a) => {
1429
1454
  if (!(t.$flags$ & 32)) {
1430
1455
  t.$flags$ |= 32;
1431
1456
  {
@@ -1436,22 +1461,22 @@ var cr, pr, Tt = !1, xt = !1, mr = !1, se = !1, $t = (e, t, r) => {
1436
1461
  );
1437
1462
  }
1438
1463
  }
1439
- const n = t.$ancestorComponent$, o = () => gr(t, !0);
1464
+ const n = t.$ancestorComponent$, o = () => br(t, !0);
1440
1465
  n && n["s-rc"] ? n["s-rc"].push(o) : o();
1441
- }, Go = (e, t) => {
1442
- }, Vo = (e) => {
1443
- if (!(re.$flags$ & 1)) {
1444
- const t = ke(e), r = t.$cmpMeta$, a = st("connectedCallback", r.$tagName$);
1466
+ }, qo = (e, t) => {
1467
+ }, Yo = (e) => {
1468
+ if (!(ae.$flags$ & 1)) {
1469
+ const t = Te(e), r = t.$cmpMeta$, a = nt("connectedCallback", r.$tagName$);
1445
1470
  if (t.$flags$ & 1)
1446
- t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Go());
1471
+ t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => qo());
1447
1472
  else {
1448
1473
  t.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
1449
- r.$flags$ & 12 && qo(e);
1474
+ r.$flags$ & 12 && Qo(e);
1450
1475
  {
1451
1476
  let n = e;
1452
1477
  for (; n = n.parentNode || n.host; )
1453
1478
  if (n["s-p"]) {
1454
- Xa(t, t.$ancestorComponent$ = n);
1479
+ Ja(t, t.$ancestorComponent$ = n);
1455
1480
  break;
1456
1481
  }
1457
1482
  }
@@ -1460,17 +1485,17 @@ var cr, pr, Tt = !1, xt = !1, mr = !1, se = !1, $t = (e, t, r) => {
1460
1485
  const s = e[n];
1461
1486
  delete e[n], e[n] = s;
1462
1487
  }
1463
- }), Wo(e, t);
1488
+ }), Vo(e, t);
1464
1489
  }
1465
1490
  a();
1466
1491
  }
1467
- }, qo = (e) => {
1468
- const t = e["s-cr"] = Be.createComment(
1492
+ }, Qo = (e) => {
1493
+ const t = e["s-cr"] = je.createComment(
1469
1494
  ""
1470
1495
  );
1471
- t["s-cn"] = !0, Ce(e, t, e.firstChild);
1472
- }, Yo = async (e) => {
1473
- re.$flags$ & 1 || ke(e), St.has(e) && St.delete(e), e.shadowRoot && St.has(e.shadowRoot) && St.delete(e.shadowRoot);
1496
+ t["s-cn"] = !0, Pe(e, t, e.firstChild);
1497
+ }, Ko = async (e) => {
1498
+ ae.$flags$ & 1 || Te(e), wt.has(e) && wt.delete(e), e.shadowRoot && wt.has(e.shadowRoot) && wt.delete(e.shadowRoot);
1474
1499
  }, N = (e, t) => {
1475
1500
  const r = {
1476
1501
  $flags$: t[0],
@@ -1481,29 +1506,29 @@ var cr, pr, Tt = !1, xt = !1, mr = !1, se = !1, $t = (e, t, r) => {
1481
1506
  return Object.assign(e.prototype, {
1482
1507
  __hasHostListenerAttached: !1,
1483
1508
  __registerHost() {
1484
- mo(this, r);
1509
+ bo(this, r);
1485
1510
  },
1486
1511
  connectedCallback() {
1487
- this.__hasHostListenerAttached || (ke(this), this.__hasHostListenerAttached = !0), Vo(this), a && a.call(this);
1512
+ this.__hasHostListenerAttached || (Te(this), this.__hasHostListenerAttached = !0), Yo(this), a && a.call(this);
1488
1513
  },
1489
1514
  disconnectedCallback() {
1490
- Yo(this), n && n.call(this), re.raf(() => {
1515
+ Ko(this), n && n.call(this), ae.raf(() => {
1491
1516
  var o;
1492
- const s = ke(this);
1493
- ((o = s == null ? void 0 : s.$vnode$) == null ? void 0 : o.$elm$) instanceof Node && !s.$vnode$.$elm$.isConnected && delete s.$vnode$, this instanceof Node && !this.isConnected && po(this);
1517
+ const s = Te(this);
1518
+ ((o = s == null ? void 0 : s.$vnode$) == null ? void 0 : o.$elm$) instanceof Node && !s.$vnode$.$elm$.isConnected && delete s.$vnode$, this instanceof Node && !this.isConnected && go(this);
1494
1519
  });
1495
1520
  },
1496
1521
  __attachShadow() {
1497
1522
  this.shadowRoot = this;
1498
1523
  }
1499
- }), e.is = r.$tagName$, jo(e, r);
1500
- }, br = (e, t) => t, Qo = Object.defineProperty, Ko = (e, t, r) => t in e ? Qo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Sa = (e, t, r) => Ko(e, typeof t != "symbol" ? t + "" : t, r), _e = /* @__PURE__ */ ((e) => (e[e.DEBUG = 0] = "DEBUG", e[e.INFO = 1] = "INFO", e[e.WARN = 2] = "WARN", e[e.ERROR = 3] = "ERROR", e))(_e || {});
1501
- class Xo {
1524
+ }), e.is = r.$tagName$, Go(e, r);
1525
+ }, vr = (e, t) => t, Xo = Object.defineProperty, Jo = (e, t, r) => t in e ? Xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wa = (e, t, r) => Jo(e, typeof t != "symbol" ? t + "" : t, r), Ae = /* @__PURE__ */ ((e) => (e[e.DEBUG = 0] = "DEBUG", e[e.INFO = 1] = "INFO", e[e.WARN = 2] = "WARN", e[e.ERROR = 3] = "ERROR", e))(Ae || {});
1526
+ class Zo {
1502
1527
  constructor(t) {
1503
- Sa(this, "logLevel"), Sa(this, "logFormatter"), this.logLevel = t.logLevel || 1, this.logFormatter = t.logFormatter || this.defaultFormatter;
1528
+ wa(this, "logLevel"), wa(this, "logFormatter"), this.logLevel = t.logLevel || 1, this.logFormatter = t.logFormatter || this.defaultFormatter;
1504
1529
  }
1505
1530
  defaultFormatter(t, r) {
1506
- return `[${_e[t]}] ${(/* @__PURE__ */ new Date()).toISOString()}: ${r}`;
1531
+ return `[${Ae[t]}] ${(/* @__PURE__ */ new Date()).toISOString()}: ${r}`;
1507
1532
  }
1508
1533
  debug(t) {
1509
1534
  this.logLevel <= 0 && console.log(this.logFormatter(0, t));
@@ -1534,7 +1559,7 @@ class Xo {
1534
1559
  }
1535
1560
  }
1536
1561
  }
1537
- function Ae(e, t, r, a) {
1562
+ function Ie(e, t, r, a) {
1538
1563
  return new (r || (r = Promise))(function(n, o) {
1539
1564
  function s(c) {
1540
1565
  try {
@@ -1559,7 +1584,7 @@ function Ae(e, t, r, a) {
1559
1584
  u((a = a.apply(e, [])).next());
1560
1585
  });
1561
1586
  }
1562
- function Ie(e, t) {
1587
+ function Me(e, t) {
1563
1588
  var r, a, n, o, s = { label: 0, sent: function() {
1564
1589
  if (1 & n[0]) throw n[1];
1565
1590
  return n[1];
@@ -1618,24 +1643,24 @@ function Ie(e, t) {
1618
1643
  };
1619
1644
  }
1620
1645
  }
1621
- var Et = { exclude: [] }, Jo = {}, ue = function(e, t) {
1622
- typeof window < "u" && (Jo[e] = t);
1646
+ var Rt = { exclude: [] }, ei = {}, he = function(e, t) {
1647
+ typeof window < "u" && (ei[e] = t);
1623
1648
  };
1624
- function Rt(e) {
1649
+ function Ct(e) {
1625
1650
  return e ^= e >>> 16, e = Math.imul(e, 2246822507), e ^= e >>> 13, e = Math.imul(e, 3266489909), (e ^= e >>> 16) >>> 0;
1626
1651
  }
1627
1652
  var q = new Uint32Array([597399067, 2869860233, 951274213, 2716044179]);
1628
- function oe(e, t) {
1653
+ function ie(e, t) {
1629
1654
  return e << t | e >>> 32 - t;
1630
1655
  }
1631
- function Za(e, t) {
1656
+ function es(e, t) {
1632
1657
  var r;
1633
1658
  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");
1634
1659
  var a = new Uint32Array([t, t, t, t]);
1635
1660
  (function(o, s) {
1636
1661
  for (var l = o.byteLength / 16 | 0, u = new Uint32Array(o, 0, 4 * l), c = 0; c < l; c++) {
1637
1662
  var i = u.subarray(4 * c, 4 * (c + 1));
1638
- i[0] = Math.imul(i[0], q[0]), i[0] = oe(i[0], 15), i[0] = Math.imul(i[0], q[1]), s[0] = s[0] ^ i[0], s[0] = oe(s[0], 19), s[0] = s[0] + s[1], s[0] = Math.imul(s[0], 5) + 1444728091, i[1] = Math.imul(i[1], q[1]), i[1] = oe(i[1], 16), i[1] = Math.imul(i[1], q[2]), s[1] = s[1] ^ i[1], s[1] = oe(s[1], 17), s[1] = s[1] + s[2], s[1] = Math.imul(s[1], 5) + 197830471, i[2] = Math.imul(i[2], q[2]), i[2] = oe(i[2], 17), i[2] = Math.imul(i[2], q[3]), s[2] = s[2] ^ i[2], s[2] = oe(s[2], 15), s[2] = s[2] + s[3], s[2] = Math.imul(s[2], 5) + 2530024501, i[3] = Math.imul(i[3], q[3]), i[3] = oe(i[3], 18), i[3] = Math.imul(i[3], q[0]), s[3] = s[3] ^ i[3], s[3] = oe(s[3], 13), s[3] = s[3] + s[0], s[3] = Math.imul(s[3], 5) + 850148119;
1663
+ i[0] = Math.imul(i[0], q[0]), i[0] = ie(i[0], 15), i[0] = Math.imul(i[0], q[1]), s[0] = s[0] ^ i[0], s[0] = ie(s[0], 19), s[0] = s[0] + s[1], s[0] = Math.imul(s[0], 5) + 1444728091, i[1] = Math.imul(i[1], q[1]), i[1] = ie(i[1], 16), i[1] = Math.imul(i[1], q[2]), s[1] = s[1] ^ i[1], s[1] = ie(s[1], 17), s[1] = s[1] + s[2], s[1] = Math.imul(s[1], 5) + 197830471, i[2] = Math.imul(i[2], q[2]), i[2] = ie(i[2], 17), i[2] = Math.imul(i[2], q[3]), s[2] = s[2] ^ i[2], s[2] = ie(s[2], 15), s[2] = s[2] + s[3], s[2] = Math.imul(s[2], 5) + 2530024501, i[3] = Math.imul(i[3], q[3]), i[3] = ie(i[3], 18), i[3] = Math.imul(i[3], q[0]), s[3] = s[3] ^ i[3], s[3] = ie(s[3], 13), s[3] = s[3] + s[0], s[3] = Math.imul(s[3], 5) + 850148119;
1639
1664
  }
1640
1665
  })(e, a), function(o, s) {
1641
1666
  var l = o.byteLength / 16 | 0, u = o.byteLength % 16, c = new Uint32Array(4), i = new Uint8Array(o, 16 * l, u);
@@ -1645,7 +1670,7 @@ function Za(e, t) {
1645
1670
  case 14:
1646
1671
  c[3] = c[3] ^ i[13] << 8;
1647
1672
  case 13:
1648
- c[3] = c[3] ^ i[12] << 0, c[3] = Math.imul(c[3], q[3]), c[3] = oe(c[3], 18), c[3] = Math.imul(c[3], q[0]), s[3] = s[3] ^ c[3];
1673
+ c[3] = c[3] ^ i[12] << 0, c[3] = Math.imul(c[3], q[3]), c[3] = ie(c[3], 18), c[3] = Math.imul(c[3], q[0]), s[3] = s[3] ^ c[3];
1649
1674
  case 12:
1650
1675
  c[2] = c[2] ^ i[11] << 24;
1651
1676
  case 11:
@@ -1653,7 +1678,7 @@ function Za(e, t) {
1653
1678
  case 10:
1654
1679
  c[2] = c[2] ^ i[9] << 8;
1655
1680
  case 9:
1656
- c[2] = c[2] ^ i[8] << 0, c[2] = Math.imul(c[2], q[2]), c[2] = oe(c[2], 17), c[2] = Math.imul(c[2], q[3]), s[2] = s[2] ^ c[2];
1681
+ c[2] = c[2] ^ i[8] << 0, c[2] = Math.imul(c[2], q[2]), c[2] = ie(c[2], 17), c[2] = Math.imul(c[2], q[3]), s[2] = s[2] ^ c[2];
1657
1682
  case 8:
1658
1683
  c[1] = c[1] ^ i[7] << 24;
1659
1684
  case 7:
@@ -1661,7 +1686,7 @@ function Za(e, t) {
1661
1686
  case 6:
1662
1687
  c[1] = c[1] ^ i[5] << 8;
1663
1688
  case 5:
1664
- c[1] = c[1] ^ i[4] << 0, c[1] = Math.imul(c[1], q[1]), c[1] = oe(c[1], 16), c[1] = Math.imul(c[1], q[2]), s[1] = s[1] ^ c[1];
1689
+ c[1] = c[1] ^ i[4] << 0, c[1] = Math.imul(c[1], q[1]), c[1] = ie(c[1], 16), c[1] = Math.imul(c[1], q[2]), s[1] = s[1] ^ c[1];
1665
1690
  case 4:
1666
1691
  c[0] = c[0] ^ i[3] << 24;
1667
1692
  case 3:
@@ -1669,29 +1694,29 @@ function Za(e, t) {
1669
1694
  case 2:
1670
1695
  c[0] = c[0] ^ i[1] << 8;
1671
1696
  case 1:
1672
- c[0] = c[0] ^ i[0] << 0, c[0] = Math.imul(c[0], q[0]), c[0] = oe(c[0], 15), c[0] = Math.imul(c[0], q[1]), s[0] = s[0] ^ c[0];
1697
+ c[0] = c[0] ^ i[0] << 0, c[0] = Math.imul(c[0], q[0]), c[0] = ie(c[0], 15), c[0] = Math.imul(c[0], q[1]), s[0] = s[0] ^ c[0];
1673
1698
  }
1674
1699
  }(e, a), function(o, s) {
1675
- s[0] = s[0] ^ o.byteLength, s[1] = s[1] ^ o.byteLength, s[2] = s[2] ^ o.byteLength, s[3] = s[3] ^ o.byteLength, s[0] = s[0] + s[1] | 0, s[0] = s[0] + s[2] | 0, s[0] = s[0] + s[3] | 0, s[1] = s[1] + s[0] | 0, s[2] = s[2] + s[0] | 0, s[3] = s[3] + s[0] | 0, s[0] = Rt(s[0]), s[1] = Rt(s[1]), s[2] = Rt(s[2]), s[3] = Rt(s[3]), s[0] = s[0] + s[1] | 0, s[0] = s[0] + s[2] | 0, s[0] = s[0] + s[3] | 0, s[1] = s[1] + s[0] | 0, s[2] = s[2] + s[0] | 0, s[3] = s[3] + s[0] | 0;
1700
+ s[0] = s[0] ^ o.byteLength, s[1] = s[1] ^ o.byteLength, s[2] = s[2] ^ o.byteLength, s[3] = s[3] ^ o.byteLength, s[0] = s[0] + s[1] | 0, s[0] = s[0] + s[2] | 0, s[0] = s[0] + s[3] | 0, s[1] = s[1] + s[0] | 0, s[2] = s[2] + s[0] | 0, s[3] = s[3] + s[0] | 0, s[0] = Ct(s[0]), s[1] = Ct(s[1]), s[2] = Ct(s[2]), s[3] = Ct(s[3]), s[0] = s[0] + s[1] | 0, s[0] = s[0] + s[2] | 0, s[0] = s[0] + s[3] | 0, s[1] = s[1] + s[0] | 0, s[2] = s[2] + s[0] | 0, s[3] = s[3] + s[0] | 0;
1676
1701
  }(e, a);
1677
1702
  var n = new Uint8Array(a.buffer);
1678
1703
  return Array.from(n).map(function(o) {
1679
1704
  return o.toString(16).padStart(2, "0");
1680
1705
  }).join("");
1681
1706
  }
1682
- function Zo(e) {
1707
+ function ti(e) {
1683
1708
  for (var t = 0, r = 0; r < e.length; ++r) t += Math.abs(e[r]);
1684
1709
  return t;
1685
1710
  }
1686
- function es(e, t, r) {
1711
+ function ts(e, t, r) {
1687
1712
  for (var a = [], n = 0; n < e[0].data.length; n++) {
1688
1713
  for (var o = [], s = 0; s < e.length; s++) o.push(e[s].data[n]);
1689
- a.push(ei(o));
1714
+ a.push(ri(o));
1690
1715
  }
1691
1716
  var l = new Uint8ClampedArray(a);
1692
1717
  return new ImageData(l, t, r);
1693
1718
  }
1694
- function ei(e) {
1719
+ function ri(e) {
1695
1720
  if (e.length === 0) return 0;
1696
1721
  for (var t = {}, r = 0, a = e; r < a.length; r++)
1697
1722
  t[o = a[r]] = (t[o] || 0) + 1;
@@ -1699,7 +1724,7 @@ function ei(e) {
1699
1724
  for (var o in t) t[o] > t[n] && (n = parseInt(o, 10));
1700
1725
  return n;
1701
1726
  }
1702
- function it() {
1727
+ function ct() {
1703
1728
  if (typeof navigator > "u") return { name: "unknown", version: "unknown" };
1704
1729
  for (var e = navigator.userAgent, t = { Edg: "Edge", OPR: "Opera" }, r = 0, a = [/(?<name>Edge|Edg)\/(?<version>\d+(?:\.\d+)?)/, /(?<name>(?:Chrome|Chromium|OPR|Opera|Vivaldi|Brave))\/(?<version>\d+(?:\.\d+)?)/, /(?<name>(?:Firefox|Waterfox|Iceweasel|IceCat))\/(?<version>\d+(?:\.\d+)?)/, /(?<name>Safari)\/(?<version>\d+(?:\.\d+)?)/, /(?<name>MSIE|Trident|IEMobile).+?(?<version>\d+(?:\.\d+)?)/, /(?<name>[A-Za-z]+)\/(?<version>\d+(?:\.\d+)?)/, /(?<name>SamsungBrowser)\/(?<version>\d+(?:\.\d+)?)/]; r < a.length; r++) {
1705
1730
  var n = a[r], o = e.match(n);
@@ -1707,16 +1732,16 @@ function it() {
1707
1732
  }
1708
1733
  return { name: "unknown", version: "unknown" };
1709
1734
  }
1710
- ue("audio", function() {
1711
- return Ae(this, void 0, void 0, function() {
1712
- return Ie(this, function(e) {
1735
+ he("audio", function() {
1736
+ return Ie(this, void 0, void 0, function() {
1737
+ return Me(this, function(e) {
1713
1738
  return [2, new Promise(function(t, r) {
1714
1739
  try {
1715
1740
  var a = new (window.OfflineAudioContext || window.webkitOfflineAudioContext)(1, 5e3, 44100), n = a.createBufferSource(), o = a.createOscillator();
1716
1741
  o.frequency.value = 1e3;
1717
1742
  var s, l = a.createDynamicsCompressor();
1718
1743
  l.threshold.value = -50, l.knee.value = 40, l.ratio.value = 12, l.attack.value = 0, l.release.value = 0.2, o.connect(l), l.connect(a.destination), o.start(), a.oncomplete = function(u) {
1719
- s = u.renderedBuffer.getChannelData(0), t({ sampleHash: Zo(s), oscillator: o.type, maxChannels: a.destination.maxChannelCount, channelCountMode: n.channelCountMode });
1744
+ s = u.renderedBuffer.getChannelData(0), t({ sampleHash: ti(s), oscillator: o.type, maxChannels: a.destination.maxChannelCount, channelCountMode: n.channelCountMode });
1720
1745
  }, a.startRendering();
1721
1746
  } catch (u) {
1722
1747
  console.error("Error creating audio fingerprint:", u), r(u);
@@ -1725,14 +1750,14 @@ ue("audio", function() {
1725
1750
  });
1726
1751
  });
1727
1752
  });
1728
- var ti = it().name !== "SamsungBrowser" ? 1 : 3, wa = 280, Ea = 20;
1729
- it().name != "Firefox" && ue("canvas", function() {
1753
+ var ai = ct().name !== "SamsungBrowser" ? 1 : 3, Ea = 280, Ra = 20;
1754
+ ct().name != "Firefox" && he("canvas", function() {
1730
1755
  return document.createElement("canvas").getContext("2d"), new Promise(function(e) {
1731
- var t = Array.from({ length: ti }, function() {
1756
+ var t = Array.from({ length: ai }, function() {
1732
1757
  return function() {
1733
1758
  var r = document.createElement("canvas"), a = r.getContext("2d");
1734
1759
  if (!a) return new ImageData(1, 1);
1735
- r.width = wa, r.height = Ea;
1760
+ r.width = Ea, r.height = Ra;
1736
1761
  var n = a.createLinearGradient(0, 0, r.width, r.height);
1737
1762
  n.addColorStop(0, "red"), n.addColorStop(0.16666666666666666, "orange"), n.addColorStop(0.3333333333333333, "yellow"), n.addColorStop(0.5, "green"), n.addColorStop(0.6666666666666666, "blue"), n.addColorStop(0.8333333333333334, "indigo"), n.addColorStop(1, "violet"), a.fillStyle = n, a.fillRect(0, 0, r.width, r.height);
1738
1763
  var o = "Random Text WMwmil10Oo";
@@ -1741,15 +1766,15 @@ it().name != "Firefox" && ue("canvas", function() {
1741
1766
  return s;
1742
1767
  }();
1743
1768
  });
1744
- e({ commonImageDataHash: Za(es(t, wa, Ea).data.toString()).toString() });
1769
+ e({ commonImageDataHash: es(ts(t, Ea, Ra).data.toString()).toString() });
1745
1770
  });
1746
1771
  });
1747
- var rr, ri = ["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"], ai = ["monospace", "sans-serif", "serif"];
1748
- function Ra(e, t) {
1772
+ var ar, si = ["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"], ni = ["monospace", "sans-serif", "serif"];
1773
+ function Ca(e, t) {
1749
1774
  if (!e) throw new Error("Canvas context not supported");
1750
1775
  return e.font = "72px ".concat(t), e.measureText("WwMmLli0Oo").width;
1751
1776
  }
1752
- function si() {
1777
+ function oi() {
1753
1778
  var e, t = document.createElement("canvas"), r = (e = t.getContext("webgl")) !== null && e !== void 0 ? e : t.getContext("experimental-webgl");
1754
1779
  if (r && "getParameter" in r) try {
1755
1780
  var a = (r.getParameter(r.VENDOR) || "").toString(), n = (r.getParameter(r.RENDERER) || "").toString(), o = { vendor: a, renderer: n, version: (r.getParameter(r.VERSION) || "").toString(), shadingLanguageVersion: (r.getParameter(r.SHADING_LANGUAGE_VERSION) || "").toString() };
@@ -1765,11 +1790,11 @@ function si() {
1765
1790
  }
1766
1791
  return "undefined";
1767
1792
  }
1768
- function ni() {
1793
+ function ii() {
1769
1794
  var e = new Float32Array(1), t = new Uint8Array(e.buffer);
1770
1795
  return e[0] = 1 / 0, e[0] = e[0] - e[0], t[3];
1771
1796
  }
1772
- function oi(e, t) {
1797
+ function ci(e, t) {
1773
1798
  var r = {};
1774
1799
  return t.forEach(function(a) {
1775
1800
  var n = function(o) {
@@ -1791,7 +1816,7 @@ function oi(e, t) {
1791
1816
  n && (r[a] = n);
1792
1817
  }), r;
1793
1818
  }
1794
- function ii() {
1819
+ function li() {
1795
1820
  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"] };
1796
1821
  return Object.keys(t).forEach(function(r) {
1797
1822
  t[r].forEach(function(a) {
@@ -1799,7 +1824,7 @@ function ii() {
1799
1824
  });
1800
1825
  }), e;
1801
1826
  }
1802
- function ci() {
1827
+ function ui() {
1803
1828
  if (window.location.protocol === "https:" && typeof window.ApplePaySession == "function") try {
1804
1829
  for (var e = window.ApplePaySession.supportsVersion, t = 15; t > 0; t--) if (e(t)) return t;
1805
1830
  } catch {
@@ -1807,15 +1832,15 @@ function ci() {
1807
1832
  }
1808
1833
  return 0;
1809
1834
  }
1810
- it().name != "Firefox" && ue("fonts", function() {
1835
+ ct().name != "Firefox" && he("fonts", function() {
1811
1836
  var e = this;
1812
1837
  return new Promise(function(t, r) {
1813
1838
  try {
1814
1839
  (function(a) {
1815
1840
  var n;
1816
- Ae(this, void 0, void 0, function() {
1841
+ Ie(this, void 0, void 0, function() {
1817
1842
  var o, s, l;
1818
- return Ie(this, function(u) {
1843
+ return Me(this, function(u) {
1819
1844
  switch (u.label) {
1820
1845
  case 0:
1821
1846
  return document.body ? [3, 2] : [4, (c = 50, new Promise(function(p) {
@@ -1834,13 +1859,13 @@ it().name != "Firefox" && ue("fonts", function() {
1834
1859
  });
1835
1860
  })(function(a) {
1836
1861
  var n = a.iframe;
1837
- return Ae(e, void 0, void 0, function() {
1862
+ return Ie(e, void 0, void 0, function() {
1838
1863
  var o, s, l, u;
1839
- return Ie(this, function(c) {
1840
- return o = n.createElement("canvas"), s = o.getContext("2d"), l = ai.map(function(i) {
1841
- return Ra(s, i);
1842
- }), u = {}, ri.forEach(function(i) {
1843
- var p = Ra(s, i);
1864
+ return Me(this, function(c) {
1865
+ return o = n.createElement("canvas"), s = o.getContext("2d"), l = ni.map(function(i) {
1866
+ return Ca(s, i);
1867
+ }), u = {}, si.forEach(function(i) {
1868
+ var p = Ca(s, i);
1844
1869
  l.includes(p) || (u[i] = p);
1845
1870
  }), t(u), [2];
1846
1871
  });
@@ -1850,27 +1875,27 @@ it().name != "Firefox" && ue("fonts", function() {
1850
1875
  r({ error: "unsupported" });
1851
1876
  }
1852
1877
  });
1853
- }), ue("hardware", function() {
1878
+ }), he("hardware", function() {
1854
1879
  return new Promise(function(e, t) {
1855
1880
  var r = navigator.deviceMemory !== void 0 ? navigator.deviceMemory : 0, a = window.performance && window.performance.memory ? window.performance.memory : 0;
1856
- e({ videocard: si(), architecture: ni(), deviceMemory: r.toString() || "undefined", jsHeapSizeLimit: a.jsHeapSizeLimit || 0 });
1881
+ e({ videocard: oi(), architecture: ii(), deviceMemory: r.toString() || "undefined", jsHeapSizeLimit: a.jsHeapSizeLimit || 0 });
1857
1882
  });
1858
- }), ue("locales", function() {
1883
+ }), he("locales", function() {
1859
1884
  return new Promise(function(e) {
1860
1885
  e({ languages: navigator.language, timezone: Intl.DateTimeFormat().resolvedOptions().timeZone });
1861
1886
  });
1862
- }), ue("permissions", function() {
1863
- return Ae(this, void 0, void 0, function() {
1887
+ }), he("permissions", function() {
1888
+ return Ie(this, void 0, void 0, function() {
1864
1889
  var e;
1865
- return Ie(this, function(t) {
1866
- return rr = (Et == null ? void 0 : Et.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: (Et == null ? void 0 : Et.retries) || 3 }, function() {
1890
+ return Me(this, function(t) {
1891
+ return ar = (Rt == null ? void 0 : Rt.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: (Rt == null ? void 0 : Rt.retries) || 3 }, function() {
1867
1892
  return function() {
1868
- return Ae(this, void 0, void 0, function() {
1893
+ return Ie(this, void 0, void 0, function() {
1869
1894
  var r, a, n, o, s;
1870
- return Ie(this, function(l) {
1895
+ return Me(this, function(l) {
1871
1896
  switch (l.label) {
1872
1897
  case 0:
1873
- r = {}, a = 0, n = rr, l.label = 1;
1898
+ r = {}, a = 0, n = ar, l.label = 1;
1874
1899
  case 1:
1875
1900
  if (!(a < n.length)) return [3, 6];
1876
1901
  o = n[a], l.label = 2;
@@ -1889,11 +1914,11 @@ it().name != "Firefox" && ue("fonts", function() {
1889
1914
  });
1890
1915
  }();
1891
1916
  }), [2, Promise.all(e).then(function(r) {
1892
- return oi(r, rr);
1917
+ return ci(r, ar);
1893
1918
  })];
1894
1919
  });
1895
1920
  });
1896
- }), ue("plugins", function() {
1921
+ }), he("plugins", function() {
1897
1922
  var e = [];
1898
1923
  if (navigator.plugins) for (var t = 0; t < navigator.plugins.length; t++) {
1899
1924
  var r = navigator.plugins[t];
@@ -1902,25 +1927,25 @@ it().name != "Firefox" && ue("fonts", function() {
1902
1927
  return new Promise(function(a) {
1903
1928
  a({ plugins: e });
1904
1929
  });
1905
- }), ue("screen", function() {
1930
+ }), he("screen", function() {
1906
1931
  return new Promise(function(e) {
1907
- e({ is_touchscreen: navigator.maxTouchPoints > 0, maxTouchPoints: navigator.maxTouchPoints, colorDepth: screen.colorDepth, mediaMatches: ii() });
1932
+ e({ is_touchscreen: navigator.maxTouchPoints > 0, maxTouchPoints: navigator.maxTouchPoints, colorDepth: screen.colorDepth, mediaMatches: li() });
1908
1933
  });
1909
- }), ue("system", function() {
1934
+ }), he("system", function() {
1910
1935
  return new Promise(function(e) {
1911
- var t = it();
1912
- 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: ci() });
1936
+ var t = ct();
1937
+ 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: ui() });
1913
1938
  });
1914
1939
  });
1915
- var ee, li = it().name !== "SamsungBrowser" ? 1 : 3, R = null;
1916
- ue("webgl", function() {
1917
- return Ae(this, void 0, void 0, function() {
1940
+ var ee, hi = ct().name !== "SamsungBrowser" ? 1 : 3, R = null;
1941
+ he("webgl", function() {
1942
+ return Ie(this, void 0, void 0, function() {
1918
1943
  var e;
1919
- return Ie(this, function(t) {
1944
+ return Me(this, function(t) {
1920
1945
  typeof document < "u" && ((ee = document.createElement("canvas")).width = 200, ee.height = 100, R = ee.getContext("webgl"));
1921
1946
  try {
1922
1947
  if (!R) throw new Error("WebGL not supported");
1923
- return e = Array.from({ length: li }, function() {
1948
+ return e = Array.from({ length: hi }, function() {
1924
1949
  return function() {
1925
1950
  try {
1926
1951
  if (!R) throw new Error("WebGL not supported");
@@ -1958,7 +1983,7 @@ ue("webgl", function() {
1958
1983
  R && (R.bindBuffer(R.ARRAY_BUFFER, null), R.useProgram(null), R.viewport(0, 0, R.drawingBufferWidth, R.drawingBufferHeight), R.clearColor(0, 0, 0, 0));
1959
1984
  }
1960
1985
  }();
1961
- }), [2, { commonImageHash: Za(es(e, ee.width, ee.height).data.toString()).toString() }];
1986
+ }), [2, { commonImageHash: es(ts(e, ee.width, ee.height).data.toString()).toString() }];
1962
1987
  } catch {
1963
1988
  return [2, { webgl: "unsupported" }];
1964
1989
  }
@@ -1966,20 +1991,20 @@ ue("webgl", function() {
1966
1991
  });
1967
1992
  });
1968
1993
  });
1969
- var $e = function(e, t, r, a) {
1994
+ var _e = function(e, t, r, a) {
1970
1995
  for (var n = (r - t) / a, o = 0, s = 0; s < a; s++)
1971
1996
  o += e(t + (s + 0.5) * n);
1972
1997
  return o * n;
1973
1998
  };
1974
- ue("math", function() {
1975
- return Ae(void 0, void 0, void 0, function() {
1976
- return Ie(this, function(e) {
1977
- return [2, { acos: Math.acos(0.5), asin: $e(Math.asin, -1, 1, 97), atan: $e(Math.atan, -1, 1, 97), cos: $e(Math.cos, 0, Math.PI, 97), cosh: Math.cosh(9 / 7), e: Math.E, largeCos: Math.cos(1e20), largeSin: Math.sin(1e20), largeTan: Math.tan(1e20), log: Math.log(1e3), pi: Math.PI, sin: $e(Math.sin, -Math.PI, Math.PI, 97), sinh: $e(Math.sinh, -9 / 7, 7 / 9, 97), sqrt: Math.sqrt(2), tan: $e(Math.tan, 0, 2 * Math.PI, 97), tanh: $e(Math.tanh, -9 / 7, 7 / 9, 97) }];
1999
+ he("math", function() {
2000
+ return Ie(void 0, void 0, void 0, function() {
2001
+ return Me(this, function(e) {
2002
+ return [2, { acos: Math.acos(0.5), asin: _e(Math.asin, -1, 1, 97), atan: _e(Math.atan, -1, 1, 97), cos: _e(Math.cos, 0, Math.PI, 97), cosh: Math.cosh(9 / 7), e: Math.E, largeCos: Math.cos(1e20), largeSin: Math.sin(1e20), largeTan: Math.tan(1e20), log: Math.log(1e3), pi: Math.PI, sin: _e(Math.sin, -Math.PI, Math.PI, 97), sinh: _e(Math.sinh, -9 / 7, 7 / 9, 97), sqrt: Math.sqrt(2), tan: _e(Math.tan, 0, 2 * Math.PI, 97), tanh: _e(Math.tanh, -9 / 7, 7 / 9, 97) }];
1978
2003
  });
1979
2004
  });
1980
2005
  });
1981
- var ts = {}, vr = {};
1982
- const Ca = (e) => {
2006
+ var rs = {}, yr = {};
2007
+ const Pa = (e) => {
1983
2008
  let t;
1984
2009
  const r = /* @__PURE__ */ new Set(), a = (c, i) => {
1985
2010
  const p = typeof c == "function" ? c(t) : c;
@@ -1989,9 +2014,9 @@ const Ca = (e) => {
1989
2014
  }
1990
2015
  }, n = () => t, l = { setState: a, getState: n, getInitialState: () => u, subscribe: (c) => (r.add(c), () => r.delete(c)) }, u = t = e(a, n, l);
1991
2016
  return l;
1992
- }, ui = (e) => e ? Ca(e) : Ca;
1993
- vr.createStore = ui;
1994
- var yr = {}, rs = { exports: {} }, C = {};
2017
+ }, di = (e) => e ? Pa(e) : Pa;
2018
+ yr.createStore = di;
2019
+ var Sr = {}, as = { exports: {} }, C = {};
1995
2020
  /**
1996
2021
  * @license React
1997
2022
  * react.production.js
@@ -2001,11 +2026,11 @@ var yr = {}, rs = { exports: {} }, C = {};
2001
2026
  * This source code is licensed under the MIT license found in the
2002
2027
  * LICENSE file in the root directory of this source tree.
2003
2028
  */
2004
- var Sr = Symbol.for("react.transitional.element"), hi = Symbol.for("react.portal"), fi = Symbol.for("react.fragment"), di = Symbol.for("react.strict_mode"), pi = Symbol.for("react.profiler"), mi = Symbol.for("react.consumer"), gi = Symbol.for("react.context"), bi = Symbol.for("react.forward_ref"), vi = Symbol.for("react.suspense"), yi = Symbol.for("react.memo"), as = Symbol.for("react.lazy"), ka = Symbol.iterator;
2005
- function Si(e) {
2006
- return e === null || typeof e != "object" ? null : (e = ka && e[ka] || e["@@iterator"], typeof e == "function" ? e : null);
2029
+ var wr = Symbol.for("react.transitional.element"), fi = Symbol.for("react.portal"), pi = Symbol.for("react.fragment"), mi = Symbol.for("react.strict_mode"), gi = Symbol.for("react.profiler"), bi = Symbol.for("react.consumer"), vi = Symbol.for("react.context"), yi = Symbol.for("react.forward_ref"), Si = Symbol.for("react.suspense"), wi = Symbol.for("react.memo"), ss = Symbol.for("react.lazy"), Ta = Symbol.iterator;
2030
+ function Ei(e) {
2031
+ return e === null || typeof e != "object" ? null : (e = Ta && e[Ta] || e["@@iterator"], typeof e == "function" ? e : null);
2007
2032
  }
2008
- var ss = {
2033
+ var ns = {
2009
2034
  isMounted: function() {
2010
2035
  return !1;
2011
2036
  },
@@ -2015,43 +2040,43 @@ var ss = {
2015
2040
  },
2016
2041
  enqueueSetState: function() {
2017
2042
  }
2018
- }, ns = Object.assign, os = {};
2019
- function We(e, t, r) {
2020
- this.props = e, this.context = t, this.refs = os, this.updater = r || ss;
2043
+ }, os = Object.assign, is = {};
2044
+ function Ge(e, t, r) {
2045
+ this.props = e, this.context = t, this.refs = is, this.updater = r || ns;
2021
2046
  }
2022
- We.prototype.isReactComponent = {};
2023
- We.prototype.setState = function(e, t) {
2047
+ Ge.prototype.isReactComponent = {};
2048
+ Ge.prototype.setState = function(e, t) {
2024
2049
  if (typeof e != "object" && typeof e != "function" && e != null)
2025
2050
  throw Error(
2026
2051
  "takes an object of state variables to update or a function which returns an object of state variables."
2027
2052
  );
2028
2053
  this.updater.enqueueSetState(this, e, t, "setState");
2029
2054
  };
2030
- We.prototype.forceUpdate = function(e) {
2055
+ Ge.prototype.forceUpdate = function(e) {
2031
2056
  this.updater.enqueueForceUpdate(this, e, "forceUpdate");
2032
2057
  };
2033
- function is() {
2058
+ function cs() {
2034
2059
  }
2035
- is.prototype = We.prototype;
2036
- function wr(e, t, r) {
2037
- this.props = e, this.context = t, this.refs = os, this.updater = r || ss;
2060
+ cs.prototype = Ge.prototype;
2061
+ function Er(e, t, r) {
2062
+ this.props = e, this.context = t, this.refs = is, this.updater = r || ns;
2038
2063
  }
2039
- var Er = wr.prototype = new is();
2040
- Er.constructor = wr;
2041
- ns(Er, We.prototype);
2042
- Er.isPureReactComponent = !0;
2043
- var Pa = Array.isArray, M = { H: null, A: null, T: null, S: null }, cs = Object.prototype.hasOwnProperty;
2044
- function Rr(e, t, r, a, n, o) {
2064
+ var Rr = Er.prototype = new cs();
2065
+ Rr.constructor = Er;
2066
+ os(Rr, Ge.prototype);
2067
+ Rr.isPureReactComponent = !0;
2068
+ var ka = Array.isArray, M = { H: null, A: null, T: null, S: null }, ls = Object.prototype.hasOwnProperty;
2069
+ function Cr(e, t, r, a, n, o) {
2045
2070
  return r = o.ref, {
2046
- $$typeof: Sr,
2071
+ $$typeof: wr,
2047
2072
  type: e,
2048
2073
  key: t,
2049
2074
  ref: r !== void 0 ? r : null,
2050
2075
  props: o
2051
2076
  };
2052
2077
  }
2053
- function wi(e, t) {
2054
- return Rr(
2078
+ function Ri(e, t) {
2079
+ return Cr(
2055
2080
  e.type,
2056
2081
  t,
2057
2082
  void 0,
@@ -2060,29 +2085,29 @@ function wi(e, t) {
2060
2085
  e.props
2061
2086
  );
2062
2087
  }
2063
- function Cr(e) {
2064
- return typeof e == "object" && e !== null && e.$$typeof === Sr;
2088
+ function Pr(e) {
2089
+ return typeof e == "object" && e !== null && e.$$typeof === wr;
2065
2090
  }
2066
- function Ei(e) {
2091
+ function Ci(e) {
2067
2092
  var t = { "=": "=0", ":": "=2" };
2068
2093
  return "$" + e.replace(/[=:]/g, function(r) {
2069
2094
  return t[r];
2070
2095
  });
2071
2096
  }
2072
- var Ta = /\/+/g;
2073
- function ar(e, t) {
2074
- return typeof e == "object" && e !== null && e.key != null ? Ei("" + e.key) : t.toString(36);
2097
+ var xa = /\/+/g;
2098
+ function sr(e, t) {
2099
+ return typeof e == "object" && e !== null && e.key != null ? Ci("" + e.key) : t.toString(36);
2075
2100
  }
2076
- function xa() {
2101
+ function $a() {
2077
2102
  }
2078
- function Ri(e) {
2103
+ function Pi(e) {
2079
2104
  switch (e.status) {
2080
2105
  case "fulfilled":
2081
2106
  return e.value;
2082
2107
  case "rejected":
2083
2108
  throw e.reason;
2084
2109
  default:
2085
- switch (typeof e.status == "string" ? e.then(xa, xa) : (e.status = "pending", e.then(
2110
+ switch (typeof e.status == "string" ? e.then($a, $a) : (e.status = "pending", e.then(
2086
2111
  function(t) {
2087
2112
  e.status === "pending" && (e.status = "fulfilled", e.value = t);
2088
2113
  },
@@ -2098,7 +2123,7 @@ function Ri(e) {
2098
2123
  }
2099
2124
  throw e;
2100
2125
  }
2101
- function He(e, t, r, a, n) {
2126
+ function Be(e, t, r, a, n) {
2102
2127
  var o = typeof e;
2103
2128
  (o === "undefined" || o === "boolean") && (e = null);
2104
2129
  var s = !1;
@@ -2112,12 +2137,12 @@ function He(e, t, r, a, n) {
2112
2137
  break;
2113
2138
  case "object":
2114
2139
  switch (e.$$typeof) {
2115
- case Sr:
2116
- case hi:
2140
+ case wr:
2141
+ case fi:
2117
2142
  s = !0;
2118
2143
  break;
2119
- case as:
2120
- return s = e._init, He(
2144
+ case ss:
2145
+ return s = e._init, Be(
2121
2146
  s(e._payload),
2122
2147
  t,
2123
2148
  r,
@@ -2127,29 +2152,29 @@ function He(e, t, r, a, n) {
2127
2152
  }
2128
2153
  }
2129
2154
  if (s)
2130
- return n = n(e), s = a === "" ? "." + ar(e, 0) : a, Pa(n) ? (r = "", s != null && (r = s.replace(Ta, "$&/") + "/"), He(n, t, r, "", function(c) {
2155
+ return n = n(e), s = a === "" ? "." + sr(e, 0) : a, ka(n) ? (r = "", s != null && (r = s.replace(xa, "$&/") + "/"), Be(n, t, r, "", function(c) {
2131
2156
  return c;
2132
- })) : n != null && (Cr(n) && (n = wi(
2157
+ })) : n != null && (Pr(n) && (n = Ri(
2133
2158
  n,
2134
2159
  r + (n.key == null || e && e.key === n.key ? "" : ("" + n.key).replace(
2135
- Ta,
2160
+ xa,
2136
2161
  "$&/"
2137
2162
  ) + "/") + s
2138
2163
  )), t.push(n)), 1;
2139
2164
  s = 0;
2140
2165
  var l = a === "" ? "." : a + ":";
2141
- if (Pa(e))
2166
+ if (ka(e))
2142
2167
  for (var u = 0; u < e.length; u++)
2143
- a = e[u], o = l + ar(a, u), s += He(
2168
+ a = e[u], o = l + sr(a, u), s += Be(
2144
2169
  a,
2145
2170
  t,
2146
2171
  r,
2147
2172
  o,
2148
2173
  n
2149
2174
  );
2150
- else if (u = Si(e), typeof u == "function")
2175
+ else if (u = Ei(e), typeof u == "function")
2151
2176
  for (e = u.call(e), u = 0; !(a = e.next()).done; )
2152
- a = a.value, o = l + ar(a, u++), s += He(
2177
+ a = a.value, o = l + sr(a, u++), s += Be(
2153
2178
  a,
2154
2179
  t,
2155
2180
  r,
@@ -2158,8 +2183,8 @@ function He(e, t, r, a, n) {
2158
2183
  );
2159
2184
  else if (o === "object") {
2160
2185
  if (typeof e.then == "function")
2161
- return He(
2162
- Ri(e),
2186
+ return Be(
2187
+ Pi(e),
2163
2188
  t,
2164
2189
  r,
2165
2190
  a,
@@ -2171,14 +2196,14 @@ function He(e, t, r, a, n) {
2171
2196
  }
2172
2197
  return s;
2173
2198
  }
2174
- function Ct(e, t, r) {
2199
+ function Pt(e, t, r) {
2175
2200
  if (e == null) return e;
2176
2201
  var a = [], n = 0;
2177
- return He(e, a, "", "", function(o) {
2202
+ return Be(e, a, "", "", function(o) {
2178
2203
  return t.call(r, o, n++);
2179
2204
  }), a;
2180
2205
  }
2181
- function Ci(e) {
2206
+ function Ti(e) {
2182
2207
  if (e._status === -1) {
2183
2208
  var t = e._result;
2184
2209
  t = t(), t.then(
@@ -2193,7 +2218,7 @@ function Ci(e) {
2193
2218
  if (e._status === 1) return e._result.default;
2194
2219
  throw e._result;
2195
2220
  }
2196
- var $a = typeof reportError == "function" ? reportError : function(e) {
2221
+ var _a = typeof reportError == "function" ? reportError : function(e) {
2197
2222
  if (typeof window == "object" && typeof window.ErrorEvent == "function") {
2198
2223
  var t = new window.ErrorEvent("error", {
2199
2224
  bubbles: !0,
@@ -2211,9 +2236,9 @@ var $a = typeof reportError == "function" ? reportError : function(e) {
2211
2236
  function ki() {
2212
2237
  }
2213
2238
  C.Children = {
2214
- map: Ct,
2239
+ map: Pt,
2215
2240
  forEach: function(e, t, r) {
2216
- Ct(
2241
+ Pt(
2217
2242
  e,
2218
2243
  function() {
2219
2244
  t.apply(this, arguments);
@@ -2223,29 +2248,29 @@ C.Children = {
2223
2248
  },
2224
2249
  count: function(e) {
2225
2250
  var t = 0;
2226
- return Ct(e, function() {
2251
+ return Pt(e, function() {
2227
2252
  t++;
2228
2253
  }), t;
2229
2254
  },
2230
2255
  toArray: function(e) {
2231
- return Ct(e, function(t) {
2256
+ return Pt(e, function(t) {
2232
2257
  return t;
2233
2258
  }) || [];
2234
2259
  },
2235
2260
  only: function(e) {
2236
- if (!Cr(e))
2261
+ if (!Pr(e))
2237
2262
  throw Error(
2238
2263
  "React.Children.only expected to receive a single React element child."
2239
2264
  );
2240
2265
  return e;
2241
2266
  }
2242
2267
  };
2243
- C.Component = We;
2244
- C.Fragment = fi;
2245
- C.Profiler = pi;
2246
- C.PureComponent = wr;
2247
- C.StrictMode = di;
2248
- C.Suspense = vi;
2268
+ C.Component = Ge;
2269
+ C.Fragment = pi;
2270
+ C.Profiler = gi;
2271
+ C.PureComponent = Er;
2272
+ C.StrictMode = mi;
2273
+ C.Suspense = Si;
2249
2274
  C.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = M;
2250
2275
  C.act = function() {
2251
2276
  throw Error("act(...) is not supported in production builds of React.");
@@ -2260,10 +2285,10 @@ C.cloneElement = function(e, t, r) {
2260
2285
  throw Error(
2261
2286
  "The argument must be a React element, but you passed " + e + "."
2262
2287
  );
2263
- var a = ns({}, e.props), n = e.key, o = void 0;
2288
+ var a = os({}, e.props), n = e.key, o = void 0;
2264
2289
  if (t != null)
2265
2290
  for (s in t.ref !== void 0 && (o = void 0), t.key !== void 0 && (n = "" + t.key), t)
2266
- !cs.call(t, s) || s === "key" || s === "__self" || s === "__source" || s === "ref" && t.ref === void 0 || (a[s] = t[s]);
2291
+ !ls.call(t, s) || s === "key" || s === "__self" || s === "__source" || s === "ref" && t.ref === void 0 || (a[s] = t[s]);
2267
2292
  var s = arguments.length - 2;
2268
2293
  if (s === 1) a.children = r;
2269
2294
  else if (1 < s) {
@@ -2271,18 +2296,18 @@ C.cloneElement = function(e, t, r) {
2271
2296
  l[u] = arguments[u + 2];
2272
2297
  a.children = l;
2273
2298
  }
2274
- return Rr(e.type, n, void 0, void 0, o, a);
2299
+ return Cr(e.type, n, void 0, void 0, o, a);
2275
2300
  };
2276
2301
  C.createContext = function(e) {
2277
2302
  return e = {
2278
- $$typeof: gi,
2303
+ $$typeof: vi,
2279
2304
  _currentValue: e,
2280
2305
  _currentValue2: e,
2281
2306
  _threadCount: 0,
2282
2307
  Provider: null,
2283
2308
  Consumer: null
2284
2309
  }, e.Provider = e, e.Consumer = {
2285
- $$typeof: mi,
2310
+ $$typeof: bi,
2286
2311
  _context: e
2287
2312
  }, e;
2288
2313
  };
@@ -2290,7 +2315,7 @@ C.createElement = function(e, t, r) {
2290
2315
  var a, n = {}, o = null;
2291
2316
  if (t != null)
2292
2317
  for (a in t.key !== void 0 && (o = "" + t.key), t)
2293
- cs.call(t, a) && a !== "key" && a !== "__self" && a !== "__source" && (n[a] = t[a]);
2318
+ ls.call(t, a) && a !== "key" && a !== "__self" && a !== "__source" && (n[a] = t[a]);
2294
2319
  var s = arguments.length - 2;
2295
2320
  if (s === 1) n.children = r;
2296
2321
  else if (1 < s) {
@@ -2301,25 +2326,25 @@ C.createElement = function(e, t, r) {
2301
2326
  if (e && e.defaultProps)
2302
2327
  for (a in s = e.defaultProps, s)
2303
2328
  n[a] === void 0 && (n[a] = s[a]);
2304
- return Rr(e, o, void 0, void 0, null, n);
2329
+ return Cr(e, o, void 0, void 0, null, n);
2305
2330
  };
2306
2331
  C.createRef = function() {
2307
2332
  return { current: null };
2308
2333
  };
2309
2334
  C.forwardRef = function(e) {
2310
- return { $$typeof: bi, render: e };
2335
+ return { $$typeof: yi, render: e };
2311
2336
  };
2312
- C.isValidElement = Cr;
2337
+ C.isValidElement = Pr;
2313
2338
  C.lazy = function(e) {
2314
2339
  return {
2315
- $$typeof: as,
2340
+ $$typeof: ss,
2316
2341
  _payload: { _status: -1, _result: e },
2317
- _init: Ci
2342
+ _init: Ti
2318
2343
  };
2319
2344
  };
2320
2345
  C.memo = function(e, t) {
2321
2346
  return {
2322
- $$typeof: yi,
2347
+ $$typeof: wi,
2323
2348
  type: e,
2324
2349
  compare: t === void 0 ? null : t
2325
2350
  };
@@ -2329,9 +2354,9 @@ C.startTransition = function(e) {
2329
2354
  M.T = r;
2330
2355
  try {
2331
2356
  var a = e(), n = M.S;
2332
- n !== null && n(r, a), typeof a == "object" && a !== null && typeof a.then == "function" && a.then(ki, $a);
2357
+ n !== null && n(r, a), typeof a == "object" && a !== null && typeof a.then == "function" && a.then(ki, _a);
2333
2358
  } catch (o) {
2334
- $a(o);
2359
+ _a(o);
2335
2360
  } finally {
2336
2361
  M.T = t;
2337
2362
  }
@@ -2397,25 +2422,25 @@ C.useTransition = function() {
2397
2422
  return M.H.useTransition();
2398
2423
  };
2399
2424
  C.version = "19.0.0";
2400
- rs.exports = C;
2401
- var _a = rs.exports, Pi = vr;
2402
- const Ti = (e) => e;
2403
- function ls(e, t = Ti) {
2404
- const r = _a.useSyncExternalStore(
2425
+ as.exports = C;
2426
+ var Aa = as.exports, xi = yr;
2427
+ const $i = (e) => e;
2428
+ function us(e, t = $i) {
2429
+ const r = Aa.useSyncExternalStore(
2405
2430
  e.subscribe,
2406
2431
  () => t(e.getState()),
2407
2432
  () => t(e.getInitialState())
2408
2433
  );
2409
- return _a.useDebugValue(r), r;
2434
+ return Aa.useDebugValue(r), r;
2410
2435
  }
2411
- const Aa = (e) => {
2412
- const t = Pi.createStore(e), r = (a) => ls(t, a);
2436
+ const Ia = (e) => {
2437
+ const t = xi.createStore(e), r = (a) => us(t, a);
2413
2438
  return Object.assign(r, t), r;
2414
- }, xi = (e) => e ? Aa(e) : Aa;
2415
- yr.create = xi;
2416
- yr.useStore = ls;
2439
+ }, _i = (e) => e ? Ia(e) : Ia;
2440
+ Sr.create = _i;
2441
+ Sr.useStore = us;
2417
2442
  (function(e) {
2418
- var t = vr, r = yr;
2443
+ var t = yr, r = Sr;
2419
2444
  Object.keys(t).forEach(function(a) {
2420
2445
  a !== "default" && !Object.prototype.hasOwnProperty.call(e, a) && Object.defineProperty(e, a, {
2421
2446
  enumerable: !0,
@@ -2431,8 +2456,8 @@ yr.useStore = ls;
2431
2456
  }
2432
2457
  });
2433
2458
  });
2434
- })(ts);
2435
- const $i = {
2459
+ })(rs);
2460
+ const Ai = {
2436
2461
  adClientResponseItems: [],
2437
2462
  core: void 0,
2438
2463
  logger: void 0,
@@ -2449,7 +2474,7 @@ const $i = {
2449
2474
  searchResultsPerPage: 20,
2450
2475
  searchResultsPage: 1,
2451
2476
  sortType: "asc"
2452
- }, _ = ts.createStore((e, t) => {
2477
+ }, _ = rs.createStore((e, t) => {
2453
2478
  const r = {
2454
2479
  addFacetPathsForIndexField: (n) => e((o) => ({
2455
2480
  facetPathsForIndexFields: {
@@ -2468,7 +2493,7 @@ const $i = {
2468
2493
  return n;
2469
2494
  },
2470
2495
  initialize: (n, o = !1) => {
2471
- const s = n, l = o ? new Xo({ logLevel: _e.DEBUG }) : void 0;
2496
+ const s = n, l = o ? new Zo({ logLevel: Ae.DEBUG }) : void 0;
2472
2497
  e({
2473
2498
  core: s,
2474
2499
  logger: l,
@@ -2499,10 +2524,10 @@ const $i = {
2499
2524
  search: async () => {
2500
2525
  var l, u;
2501
2526
  const n = t();
2502
- if ((l = n.logger) == null || l.log(_e.INFO, `Starting search with search term: "${n.searchTerm}"`), !n.core)
2527
+ if ((l = n.logger) == null || l.log(Ae.INFO, `Starting search with search term: "${n.searchTerm}"`), !n.core)
2503
2528
  throw new Error("Searchcraft instance is not initialized.");
2504
2529
  if (!n.searchTerm.trim()) {
2505
- (u = n.logger) == null || u.log(_e.INFO, "No search request was made: search term was empty."), e({
2530
+ (u = n.logger) == null || u.log(Ae.INFO, "No search request was made: search term was empty."), e({
2506
2531
  searchClientResponseItems: [],
2507
2532
  searchResultsCount: 0,
2508
2533
  searchResultsPage: 1,
@@ -2523,7 +2548,7 @@ const $i = {
2523
2548
  c.data.count === b.searchResultsCount ? b.searchResultsPage : 1
2524
2549
  ),
2525
2550
  searchResultsCount: c.data.count || 0
2526
- })), p && e({ searchResponseFacetPrime: p }), (m = n.logger) == null || m.log(_e.DEBUG, `Search results: ${JSON.stringify(i)}`), (v = n.logger) == null || v.log(_e.DEBUG, `Facets from response: ${JSON.stringify(p)}`);
2551
+ })), p && e({ searchResponseFacetPrime: p }), (m = n.logger) == null || m.log(Ae.DEBUG, `Search results: ${JSON.stringify(i)}`), (v = n.logger) == null || v.log(Ae.DEBUG, `Facets from response: ${JSON.stringify(p)}`);
2527
2552
  }, s = (c) => {
2528
2553
  e({ adClientResponseItems: c });
2529
2554
  };
@@ -2564,16 +2589,16 @@ const $i = {
2564
2589
  }
2565
2590
  };
2566
2591
  return {
2567
- ...$i,
2592
+ ...Ai,
2568
2593
  ...r
2569
2594
  };
2570
2595
  });
2571
- var _i = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, us = { exports: {} };
2596
+ var Ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, hs = { exports: {} };
2572
2597
  /*! @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 */
2573
2598
  (function(e, t) {
2574
2599
  (function(r, a) {
2575
2600
  e.exports = a();
2576
- })(_i, function() {
2601
+ })(Ii, function() {
2577
2602
  const {
2578
2603
  entries: r,
2579
2604
  setPrototypeOf: a,
@@ -2593,88 +2618,88 @@ var _i = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2593
2618
  return S;
2594
2619
  }), u || (u = function(S) {
2595
2620
  return S;
2596
- }), i || (i = function(S, x, T) {
2597
- return S.apply(x, T);
2621
+ }), i || (i = function(S, x, k) {
2622
+ return S.apply(x, k);
2598
2623
  }), p || (p = function(S, x) {
2599
2624
  return new S(...x);
2600
2625
  });
2601
- const m = Q(Array.prototype.forEach), v = Q(Array.prototype.lastIndexOf), b = Q(Array.prototype.pop), $ = Q(Array.prototype.push), H = Q(Array.prototype.splice), ae = Q(String.prototype.toLowerCase), L = Q(String.prototype.toString), Ge = Q(String.prototype.match), Ve = Q(String.prototype.replace), Bs = Q(String.prototype.indexOf), js = Q(String.prototype.trim), ce = Q(Object.prototype.hasOwnProperty), Y = Q(RegExp.prototype.test), qe = Ws(TypeError);
2602
- function Q(P) {
2626
+ const m = Q(Array.prototype.forEach), v = Q(Array.prototype.lastIndexOf), b = Q(Array.prototype.pop), $ = Q(Array.prototype.push), H = Q(Array.prototype.splice), se = Q(String.prototype.toLowerCase), L = Q(String.prototype.toString), Ve = Q(String.prototype.match), qe = Q(String.prototype.replace), js = Q(String.prototype.indexOf), Ws = Q(String.prototype.trim), le = Q(Object.prototype.hasOwnProperty), Y = Q(RegExp.prototype.test), Ye = Gs(TypeError);
2627
+ function Q(T) {
2603
2628
  return function(S) {
2604
- for (var x = arguments.length, T = new Array(x > 1 ? x - 1 : 0), W = 1; W < x; W++)
2605
- T[W - 1] = arguments[W];
2606
- return i(P, S, T);
2629
+ for (var x = arguments.length, k = new Array(x > 1 ? x - 1 : 0), W = 1; W < x; W++)
2630
+ k[W - 1] = arguments[W];
2631
+ return i(T, S, k);
2607
2632
  };
2608
2633
  }
2609
- function Ws(P) {
2634
+ function Gs(T) {
2610
2635
  return function() {
2611
- for (var S = arguments.length, x = new Array(S), T = 0; T < S; T++)
2612
- x[T] = arguments[T];
2613
- return p(P, x);
2636
+ for (var S = arguments.length, x = new Array(S), k = 0; k < S; k++)
2637
+ x[k] = arguments[k];
2638
+ return p(T, x);
2614
2639
  };
2615
2640
  }
2616
- function k(P, S) {
2617
- let x = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ae;
2618
- a && a(P, null);
2619
- let T = S.length;
2620
- for (; T--; ) {
2621
- let W = S[T];
2641
+ function P(T, S) {
2642
+ let x = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : se;
2643
+ a && a(T, null);
2644
+ let k = S.length;
2645
+ for (; k--; ) {
2646
+ let W = S[k];
2622
2647
  if (typeof W == "string") {
2623
- const de = x(W);
2624
- de !== W && (n(S) || (S[T] = de), W = de);
2648
+ const pe = x(W);
2649
+ pe !== W && (n(S) || (S[k] = pe), W = pe);
2625
2650
  }
2626
- P[W] = !0;
2651
+ T[W] = !0;
2627
2652
  }
2628
- return P;
2653
+ return T;
2629
2654
  }
2630
- function Gs(P) {
2631
- for (let S = 0; S < P.length; S++)
2632
- ce(P, S) || (P[S] = null);
2633
- return P;
2655
+ function Vs(T) {
2656
+ for (let S = 0; S < T.length; S++)
2657
+ le(T, S) || (T[S] = null);
2658
+ return T;
2634
2659
  }
2635
- function Pe(P) {
2660
+ function ke(T) {
2636
2661
  const S = c(null);
2637
- for (const [x, T] of r(P))
2638
- ce(P, x) && (Array.isArray(T) ? S[x] = Gs(T) : T && typeof T == "object" && T.constructor === Object ? S[x] = Pe(T) : S[x] = T);
2662
+ for (const [x, k] of r(T))
2663
+ le(T, x) && (Array.isArray(k) ? S[x] = Vs(k) : k && typeof k == "object" && k.constructor === Object ? S[x] = ke(k) : S[x] = k);
2639
2664
  return S;
2640
2665
  }
2641
- function Ye(P, S) {
2642
- for (; P !== null; ) {
2643
- const T = s(P, S);
2644
- if (T) {
2645
- if (T.get)
2646
- return Q(T.get);
2647
- if (typeof T.value == "function")
2648
- return Q(T.value);
2666
+ function Qe(T, S) {
2667
+ for (; T !== null; ) {
2668
+ const k = s(T, S);
2669
+ if (k) {
2670
+ if (k.get)
2671
+ return Q(k.get);
2672
+ if (typeof k.value == "function")
2673
+ return Q(k.value);
2649
2674
  }
2650
- P = o(P);
2675
+ T = o(T);
2651
2676
  }
2652
2677
  function x() {
2653
2678
  return null;
2654
2679
  }
2655
2680
  return x;
2656
2681
  }
2657
- const Tr = l(["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"]), Ot = l(["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"]), Ft = l(["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"]), Vs = l(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Dt = l(["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"]), qs = l(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), xr = l(["#text"]), $r = l(["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"]), Nt = l(["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"]), _r = l(["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"]), lt = l(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ys = u(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Qs = u(/<%[\w\W]*|[\w\W]*%>/gm), Ks = u(/\$\{[\w\W]*/gm), Xs = u(/^data-[\-\w.\u00B7-\uFFFF]+$/), Js = u(/^aria-[\-\w]+$/), Ar = u(
2682
+ const xr = l(["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"]), Ft = l(["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"]), Dt = l(["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"]), qs = l(["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"]), Nt = l(["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"]), Ys = l(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), $r = l(["#text"]), _r = l(["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"]), Ut = l(["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"]), Ar = l(["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"]), ut = l(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Qs = u(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Ks = u(/<%[\w\W]*|[\w\W]*%>/gm), Xs = u(/\$\{[\w\W]*/gm), Js = u(/^data-[\-\w.\u00B7-\uFFFF]+$/), Zs = u(/^aria-[\-\w]+$/), Ir = u(
2658
2683
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
2659
2684
  // eslint-disable-line no-useless-escape
2660
- ), Zs = u(/^(?:\w+script|data):/i), en = u(
2685
+ ), en = u(/^(?:\w+script|data):/i), tn = u(
2661
2686
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
2662
2687
  // eslint-disable-line no-control-regex
2663
- ), Ir = u(/^html$/i), tn = u(/^[a-z][.\w]*(-[.\w]+)+$/i);
2664
- var Mr = /* @__PURE__ */ Object.freeze({
2688
+ ), Mr = u(/^html$/i), rn = u(/^[a-z][.\w]*(-[.\w]+)+$/i);
2689
+ var Lr = /* @__PURE__ */ Object.freeze({
2665
2690
  __proto__: null,
2666
- ARIA_ATTR: Js,
2667
- ATTR_WHITESPACE: en,
2668
- CUSTOM_ELEMENT: tn,
2669
- DATA_ATTR: Xs,
2670
- DOCTYPE_NAME: Ir,
2671
- ERB_EXPR: Qs,
2672
- IS_ALLOWED_URI: Ar,
2673
- IS_SCRIPT_OR_DATA: Zs,
2674
- MUSTACHE_EXPR: Ys,
2675
- TMPLIT_EXPR: Ks
2691
+ ARIA_ATTR: Zs,
2692
+ ATTR_WHITESPACE: tn,
2693
+ CUSTOM_ELEMENT: rn,
2694
+ DATA_ATTR: Js,
2695
+ DOCTYPE_NAME: Mr,
2696
+ ERB_EXPR: Ks,
2697
+ IS_ALLOWED_URI: Ir,
2698
+ IS_SCRIPT_OR_DATA: en,
2699
+ MUSTACHE_EXPR: Qs,
2700
+ TMPLIT_EXPR: Xs
2676
2701
  });
2677
- const Qe = {
2702
+ const Ke = {
2678
2703
  element: 1,
2679
2704
  attribute: 2,
2680
2705
  text: 3,
@@ -2690,28 +2715,28 @@ var _i = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2690
2715
  documentFragment: 11,
2691
2716
  notation: 12
2692
2717
  // Deprecated
2693
- }, rn = function() {
2718
+ }, an = function() {
2694
2719
  return typeof window > "u" ? null : window;
2695
- }, an = function(S, x) {
2720
+ }, sn = function(S, x) {
2696
2721
  if (typeof S != "object" || typeof S.createPolicy != "function")
2697
2722
  return null;
2698
- let T = null;
2723
+ let k = null;
2699
2724
  const W = "data-tt-policy-suffix";
2700
- x && x.hasAttribute(W) && (T = x.getAttribute(W));
2701
- const de = "dompurify" + (T ? "#" + T : "");
2725
+ x && x.hasAttribute(W) && (k = x.getAttribute(W));
2726
+ const pe = "dompurify" + (k ? "#" + k : "");
2702
2727
  try {
2703
- return S.createPolicy(de, {
2704
- createHTML(Me) {
2705
- return Me;
2728
+ return S.createPolicy(pe, {
2729
+ createHTML(Le) {
2730
+ return Le;
2706
2731
  },
2707
- createScriptURL(Me) {
2708
- return Me;
2732
+ createScriptURL(Le) {
2733
+ return Le;
2709
2734
  }
2710
2735
  });
2711
2736
  } catch {
2712
- return console.warn("TrustedTypes policy " + de + " could not be created."), null;
2737
+ return console.warn("TrustedTypes policy " + pe + " could not be created."), null;
2713
2738
  }
2714
- }, Lr = function() {
2739
+ }, Or = function() {
2715
2740
  return {
2716
2741
  afterSanitizeAttributes: [],
2717
2742
  afterSanitizeElements: [],
@@ -2724,56 +2749,56 @@ var _i = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2724
2749
  uponSanitizeShadowNode: []
2725
2750
  };
2726
2751
  };
2727
- function Or() {
2728
- let P = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : rn();
2729
- const S = (w) => Or(w);
2730
- if (S.version = "3.2.4", S.removed = [], !P || !P.document || P.document.nodeType !== Qe.document || !P.Element)
2752
+ function Fr() {
2753
+ let T = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : an();
2754
+ const S = (w) => Fr(w);
2755
+ if (S.version = "3.2.4", S.removed = [], !T || !T.document || T.document.nodeType !== Ke.document || !T.Element)
2731
2756
  return S.isSupported = !1, S;
2732
2757
  let {
2733
2758
  document: x
2734
- } = P;
2735
- const T = x, W = T.currentScript, {
2736
- DocumentFragment: de,
2737
- HTMLTemplateElement: Me,
2738
- Node: Ut,
2739
- Element: Fr,
2740
- NodeFilter: Ke,
2741
- NamedNodeMap: nn = P.NamedNodeMap || P.MozNamedAttrMap,
2742
- HTMLFormElement: on,
2743
- DOMParser: cn,
2744
- trustedTypes: ut
2745
- } = P, Xe = Fr.prototype, ln = Ye(Xe, "cloneNode"), un = Ye(Xe, "remove"), hn = Ye(Xe, "nextSibling"), fn = Ye(Xe, "childNodes"), ht = Ye(Xe, "parentNode");
2746
- if (typeof Me == "function") {
2759
+ } = T;
2760
+ const k = x, W = k.currentScript, {
2761
+ DocumentFragment: pe,
2762
+ HTMLTemplateElement: Le,
2763
+ Node: zt,
2764
+ Element: Dr,
2765
+ NodeFilter: Xe,
2766
+ NamedNodeMap: on = T.NamedNodeMap || T.MozNamedAttrMap,
2767
+ HTMLFormElement: cn,
2768
+ DOMParser: ln,
2769
+ trustedTypes: ht
2770
+ } = T, Je = Dr.prototype, un = Qe(Je, "cloneNode"), hn = Qe(Je, "remove"), dn = Qe(Je, "nextSibling"), fn = Qe(Je, "childNodes"), dt = Qe(Je, "parentNode");
2771
+ if (typeof Le == "function") {
2747
2772
  const w = x.createElement("template");
2748
2773
  w.content && w.content.ownerDocument && (x = w.content.ownerDocument);
2749
2774
  }
2750
- let K, Je = "";
2775
+ let K, Ze = "";
2751
2776
  const {
2752
- implementation: zt,
2753
- createNodeIterator: dn,
2754
- createDocumentFragment: pn,
2755
- getElementsByTagName: mn
2777
+ implementation: Ht,
2778
+ createNodeIterator: pn,
2779
+ createDocumentFragment: mn,
2780
+ getElementsByTagName: gn
2756
2781
  } = x, {
2757
- importNode: gn
2758
- } = T;
2759
- let X = Lr();
2760
- S.isSupported = typeof r == "function" && typeof ht == "function" && zt && zt.createHTMLDocument !== void 0;
2782
+ importNode: bn
2783
+ } = k;
2784
+ let X = Or();
2785
+ S.isSupported = typeof r == "function" && typeof dt == "function" && Ht && Ht.createHTMLDocument !== void 0;
2761
2786
  const {
2762
- MUSTACHE_EXPR: Ht,
2763
- ERB_EXPR: Bt,
2764
- TMPLIT_EXPR: jt,
2765
- DATA_ATTR: bn,
2766
- ARIA_ATTR: vn,
2767
- IS_SCRIPT_OR_DATA: yn,
2768
- ATTR_WHITESPACE: Dr,
2769
- CUSTOM_ELEMENT: Sn
2770
- } = Mr;
2787
+ MUSTACHE_EXPR: Bt,
2788
+ ERB_EXPR: jt,
2789
+ TMPLIT_EXPR: Wt,
2790
+ DATA_ATTR: vn,
2791
+ ARIA_ATTR: yn,
2792
+ IS_SCRIPT_OR_DATA: Sn,
2793
+ ATTR_WHITESPACE: Nr,
2794
+ CUSTOM_ELEMENT: wn
2795
+ } = Lr;
2771
2796
  let {
2772
- IS_ALLOWED_URI: Nr
2773
- } = Mr, U = null;
2774
- const Ur = k({}, [...Tr, ...Ot, ...Ft, ...Dt, ...xr]);
2797
+ IS_ALLOWED_URI: Ur
2798
+ } = Lr, U = null;
2799
+ const zr = P({}, [...xr, ...Ft, ...Dt, ...Nt, ...$r]);
2775
2800
  let B = null;
2776
- const zr = k({}, [...$r, ...Nt, ..._r, ...lt]);
2801
+ const Hr = P({}, [..._r, ...Ut, ...Ar, ...ut]);
2777
2802
  let O = Object.seal(c(null, {
2778
2803
  tagNameCheck: {
2779
2804
  writable: !0,
@@ -2793,58 +2818,58 @@ var _i = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2793
2818
  enumerable: !0,
2794
2819
  value: !1
2795
2820
  }
2796
- })), Ze = null, Wt = null, Hr = !0, Gt = !0, Br = !1, jr = !0, Le = !1, Vt = !0, Te = !1, qt = !1, Yt = !1, Oe = !1, ft = !1, dt = !1, Wr = !0, Gr = !1;
2797
- const wn = "user-content-";
2798
- let Qt = !0, et = !1, Fe = {}, De = null;
2799
- const Vr = k({}, ["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"]);
2800
- let qr = null;
2801
- const Yr = k({}, ["audio", "video", "img", "source", "image", "track"]);
2802
- let Kt = null;
2803
- const Qr = k({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), pt = "http://www.w3.org/1998/Math/MathML", mt = "http://www.w3.org/2000/svg", pe = "http://www.w3.org/1999/xhtml";
2804
- let Ne = pe, Xt = !1, Jt = null;
2805
- const En = k({}, [pt, mt, pe], L);
2806
- let gt = k({}, ["mi", "mo", "mn", "ms", "mtext"]), bt = k({}, ["annotation-xml"]);
2807
- const Rn = k({}, ["title", "style", "font", "a", "script"]);
2808
- let tt = null;
2809
- const Cn = ["application/xhtml+xml", "text/html"], kn = "text/html";
2810
- let z = null, Ue = null;
2811
- const Pn = x.createElement("form"), Kr = function(f) {
2812
- return f instanceof RegExp || f instanceof Function;
2813
- }, Zt = function() {
2814
- let f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2815
- if (!(Ue && Ue === f)) {
2816
- if ((!f || typeof f != "object") && (f = {}), f = Pe(f), tt = // eslint-disable-next-line unicorn/prefer-includes
2817
- Cn.indexOf(f.PARSER_MEDIA_TYPE) === -1 ? kn : f.PARSER_MEDIA_TYPE, z = tt === "application/xhtml+xml" ? L : ae, U = ce(f, "ALLOWED_TAGS") ? k({}, f.ALLOWED_TAGS, z) : Ur, B = ce(f, "ALLOWED_ATTR") ? k({}, f.ALLOWED_ATTR, z) : zr, Jt = ce(f, "ALLOWED_NAMESPACES") ? k({}, f.ALLOWED_NAMESPACES, L) : En, Kt = ce(f, "ADD_URI_SAFE_ATTR") ? k(Pe(Qr), f.ADD_URI_SAFE_ATTR, z) : Qr, qr = ce(f, "ADD_DATA_URI_TAGS") ? k(Pe(Yr), f.ADD_DATA_URI_TAGS, z) : Yr, De = ce(f, "FORBID_CONTENTS") ? k({}, f.FORBID_CONTENTS, z) : Vr, Ze = ce(f, "FORBID_TAGS") ? k({}, f.FORBID_TAGS, z) : {}, Wt = ce(f, "FORBID_ATTR") ? k({}, f.FORBID_ATTR, z) : {}, Fe = ce(f, "USE_PROFILES") ? f.USE_PROFILES : !1, Hr = f.ALLOW_ARIA_ATTR !== !1, Gt = f.ALLOW_DATA_ATTR !== !1, Br = f.ALLOW_UNKNOWN_PROTOCOLS || !1, jr = f.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Le = f.SAFE_FOR_TEMPLATES || !1, Vt = f.SAFE_FOR_XML !== !1, Te = f.WHOLE_DOCUMENT || !1, Oe = f.RETURN_DOM || !1, ft = f.RETURN_DOM_FRAGMENT || !1, dt = f.RETURN_TRUSTED_TYPE || !1, Yt = f.FORCE_BODY || !1, Wr = f.SANITIZE_DOM !== !1, Gr = f.SANITIZE_NAMED_PROPS || !1, Qt = f.KEEP_CONTENT !== !1, et = f.IN_PLACE || !1, Nr = f.ALLOWED_URI_REGEXP || Ar, Ne = f.NAMESPACE || pe, gt = f.MATHML_TEXT_INTEGRATION_POINTS || gt, bt = f.HTML_INTEGRATION_POINTS || bt, O = f.CUSTOM_ELEMENT_HANDLING || {}, f.CUSTOM_ELEMENT_HANDLING && Kr(f.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (O.tagNameCheck = f.CUSTOM_ELEMENT_HANDLING.tagNameCheck), f.CUSTOM_ELEMENT_HANDLING && Kr(f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (O.attributeNameCheck = f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), f.CUSTOM_ELEMENT_HANDLING && typeof f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (O.allowCustomizedBuiltInElements = f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Le && (Gt = !1), ft && (Oe = !0), Fe && (U = k({}, xr), B = [], Fe.html === !0 && (k(U, Tr), k(B, $r)), Fe.svg === !0 && (k(U, Ot), k(B, Nt), k(B, lt)), Fe.svgFilters === !0 && (k(U, Ft), k(B, Nt), k(B, lt)), Fe.mathMl === !0 && (k(U, Dt), k(B, _r), k(B, lt))), f.ADD_TAGS && (U === Ur && (U = Pe(U)), k(U, f.ADD_TAGS, z)), f.ADD_ATTR && (B === zr && (B = Pe(B)), k(B, f.ADD_ATTR, z)), f.ADD_URI_SAFE_ATTR && k(Kt, f.ADD_URI_SAFE_ATTR, z), f.FORBID_CONTENTS && (De === Vr && (De = Pe(De)), k(De, f.FORBID_CONTENTS, z)), Qt && (U["#text"] = !0), Te && k(U, ["html", "head", "body"]), U.table && (k(U, ["tbody"]), delete Ze.tbody), f.TRUSTED_TYPES_POLICY) {
2818
- if (typeof f.TRUSTED_TYPES_POLICY.createHTML != "function")
2819
- throw qe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
2820
- if (typeof f.TRUSTED_TYPES_POLICY.createScriptURL != "function")
2821
- throw qe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
2822
- K = f.TRUSTED_TYPES_POLICY, Je = K.createHTML("");
2821
+ })), et = null, Gt = null, Br = !0, Vt = !0, jr = !1, Wr = !0, Oe = !1, qt = !0, xe = !1, Yt = !1, Qt = !1, Fe = !1, ft = !1, pt = !1, Gr = !0, Vr = !1;
2822
+ const En = "user-content-";
2823
+ let Kt = !0, tt = !1, De = {}, Ne = null;
2824
+ const qr = P({}, ["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"]);
2825
+ let Yr = null;
2826
+ const Qr = P({}, ["audio", "video", "img", "source", "image", "track"]);
2827
+ let Xt = null;
2828
+ const Kr = P({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), mt = "http://www.w3.org/1998/Math/MathML", gt = "http://www.w3.org/2000/svg", me = "http://www.w3.org/1999/xhtml";
2829
+ let Ue = me, Jt = !1, Zt = null;
2830
+ const Rn = P({}, [mt, gt, me], L);
2831
+ let bt = P({}, ["mi", "mo", "mn", "ms", "mtext"]), vt = P({}, ["annotation-xml"]);
2832
+ const Cn = P({}, ["title", "style", "font", "a", "script"]);
2833
+ let rt = null;
2834
+ const Pn = ["application/xhtml+xml", "text/html"], Tn = "text/html";
2835
+ let z = null, ze = null;
2836
+ const kn = x.createElement("form"), Xr = function(d) {
2837
+ return d instanceof RegExp || d instanceof Function;
2838
+ }, er = function() {
2839
+ let d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2840
+ if (!(ze && ze === d)) {
2841
+ if ((!d || typeof d != "object") && (d = {}), d = ke(d), rt = // eslint-disable-next-line unicorn/prefer-includes
2842
+ Pn.indexOf(d.PARSER_MEDIA_TYPE) === -1 ? Tn : d.PARSER_MEDIA_TYPE, z = rt === "application/xhtml+xml" ? L : se, U = le(d, "ALLOWED_TAGS") ? P({}, d.ALLOWED_TAGS, z) : zr, B = le(d, "ALLOWED_ATTR") ? P({}, d.ALLOWED_ATTR, z) : Hr, Zt = le(d, "ALLOWED_NAMESPACES") ? P({}, d.ALLOWED_NAMESPACES, L) : Rn, Xt = le(d, "ADD_URI_SAFE_ATTR") ? P(ke(Kr), d.ADD_URI_SAFE_ATTR, z) : Kr, Yr = le(d, "ADD_DATA_URI_TAGS") ? P(ke(Qr), d.ADD_DATA_URI_TAGS, z) : Qr, Ne = le(d, "FORBID_CONTENTS") ? P({}, d.FORBID_CONTENTS, z) : qr, et = le(d, "FORBID_TAGS") ? P({}, d.FORBID_TAGS, z) : {}, Gt = le(d, "FORBID_ATTR") ? P({}, d.FORBID_ATTR, z) : {}, De = le(d, "USE_PROFILES") ? d.USE_PROFILES : !1, Br = d.ALLOW_ARIA_ATTR !== !1, Vt = d.ALLOW_DATA_ATTR !== !1, jr = d.ALLOW_UNKNOWN_PROTOCOLS || !1, Wr = d.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Oe = d.SAFE_FOR_TEMPLATES || !1, qt = d.SAFE_FOR_XML !== !1, xe = d.WHOLE_DOCUMENT || !1, Fe = d.RETURN_DOM || !1, ft = d.RETURN_DOM_FRAGMENT || !1, pt = d.RETURN_TRUSTED_TYPE || !1, Qt = d.FORCE_BODY || !1, Gr = d.SANITIZE_DOM !== !1, Vr = d.SANITIZE_NAMED_PROPS || !1, Kt = d.KEEP_CONTENT !== !1, tt = d.IN_PLACE || !1, Ur = d.ALLOWED_URI_REGEXP || Ir, Ue = d.NAMESPACE || me, bt = d.MATHML_TEXT_INTEGRATION_POINTS || bt, vt = d.HTML_INTEGRATION_POINTS || vt, O = d.CUSTOM_ELEMENT_HANDLING || {}, d.CUSTOM_ELEMENT_HANDLING && Xr(d.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (O.tagNameCheck = d.CUSTOM_ELEMENT_HANDLING.tagNameCheck), d.CUSTOM_ELEMENT_HANDLING && Xr(d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (O.attributeNameCheck = d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), d.CUSTOM_ELEMENT_HANDLING && typeof d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (O.allowCustomizedBuiltInElements = d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Oe && (Vt = !1), ft && (Fe = !0), De && (U = P({}, $r), B = [], De.html === !0 && (P(U, xr), P(B, _r)), De.svg === !0 && (P(U, Ft), P(B, Ut), P(B, ut)), De.svgFilters === !0 && (P(U, Dt), P(B, Ut), P(B, ut)), De.mathMl === !0 && (P(U, Nt), P(B, Ar), P(B, ut))), d.ADD_TAGS && (U === zr && (U = ke(U)), P(U, d.ADD_TAGS, z)), d.ADD_ATTR && (B === Hr && (B = ke(B)), P(B, d.ADD_ATTR, z)), d.ADD_URI_SAFE_ATTR && P(Xt, d.ADD_URI_SAFE_ATTR, z), d.FORBID_CONTENTS && (Ne === qr && (Ne = ke(Ne)), P(Ne, d.FORBID_CONTENTS, z)), Kt && (U["#text"] = !0), xe && P(U, ["html", "head", "body"]), U.table && (P(U, ["tbody"]), delete et.tbody), d.TRUSTED_TYPES_POLICY) {
2843
+ if (typeof d.TRUSTED_TYPES_POLICY.createHTML != "function")
2844
+ throw Ye('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
2845
+ if (typeof d.TRUSTED_TYPES_POLICY.createScriptURL != "function")
2846
+ throw Ye('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
2847
+ K = d.TRUSTED_TYPES_POLICY, Ze = K.createHTML("");
2823
2848
  } else
2824
- K === void 0 && (K = an(ut, W)), K !== null && typeof Je == "string" && (Je = K.createHTML(""));
2825
- l && l(f), Ue = f;
2849
+ K === void 0 && (K = sn(ht, W)), K !== null && typeof Ze == "string" && (Ze = K.createHTML(""));
2850
+ l && l(d), ze = d;
2826
2851
  }
2827
- }, Xr = k({}, [...Ot, ...Ft, ...Vs]), Jr = k({}, [...Dt, ...qs]), Tn = function(f) {
2828
- let g = ht(f);
2852
+ }, Jr = P({}, [...Ft, ...Dt, ...qs]), Zr = P({}, [...Nt, ...Ys]), xn = function(d) {
2853
+ let g = dt(d);
2829
2854
  (!g || !g.tagName) && (g = {
2830
- namespaceURI: Ne,
2855
+ namespaceURI: Ue,
2831
2856
  tagName: "template"
2832
2857
  });
2833
- const y = ae(f.tagName), A = ae(g.tagName);
2834
- return Jt[f.namespaceURI] ? f.namespaceURI === mt ? g.namespaceURI === pe ? y === "svg" : g.namespaceURI === pt ? y === "svg" && (A === "annotation-xml" || gt[A]) : !!Xr[y] : f.namespaceURI === pt ? g.namespaceURI === pe ? y === "math" : g.namespaceURI === mt ? y === "math" && bt[A] : !!Jr[y] : f.namespaceURI === pe ? g.namespaceURI === mt && !bt[A] || g.namespaceURI === pt && !gt[A] ? !1 : !Jr[y] && (Rn[y] || !Xr[y]) : !!(tt === "application/xhtml+xml" && Jt[f.namespaceURI]) : !1;
2835
- }, he = function(f) {
2858
+ const y = se(d.tagName), A = se(g.tagName);
2859
+ return Zt[d.namespaceURI] ? d.namespaceURI === gt ? g.namespaceURI === me ? y === "svg" : g.namespaceURI === mt ? y === "svg" && (A === "annotation-xml" || bt[A]) : !!Jr[y] : d.namespaceURI === mt ? g.namespaceURI === me ? y === "math" : g.namespaceURI === gt ? y === "math" && vt[A] : !!Zr[y] : d.namespaceURI === me ? g.namespaceURI === gt && !vt[A] || g.namespaceURI === mt && !bt[A] ? !1 : !Zr[y] && (Cn[y] || !Jr[y]) : !!(rt === "application/xhtml+xml" && Zt[d.namespaceURI]) : !1;
2860
+ }, de = function(d) {
2836
2861
  $(S.removed, {
2837
- element: f
2862
+ element: d
2838
2863
  });
2839
2864
  try {
2840
- ht(f).removeChild(f);
2865
+ dt(d).removeChild(d);
2841
2866
  } catch {
2842
- un(f);
2867
+ hn(d);
2843
2868
  }
2844
- }, vt = function(f, g) {
2869
+ }, yt = function(d, g) {
2845
2870
  try {
2846
2871
  $(S.removed, {
2847
- attribute: g.getAttributeNode(f),
2872
+ attribute: g.getAttributeNode(d),
2848
2873
  from: g
2849
2874
  });
2850
2875
  } catch {
@@ -2853,107 +2878,107 @@ var _i = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2853
2878
  from: g
2854
2879
  });
2855
2880
  }
2856
- if (g.removeAttribute(f), f === "is")
2857
- if (Oe || ft)
2881
+ if (g.removeAttribute(d), d === "is")
2882
+ if (Fe || ft)
2858
2883
  try {
2859
- he(g);
2884
+ de(g);
2860
2885
  } catch {
2861
2886
  }
2862
2887
  else
2863
2888
  try {
2864
- g.setAttribute(f, "");
2889
+ g.setAttribute(d, "");
2865
2890
  } catch {
2866
2891
  }
2867
- }, Zr = function(f) {
2892
+ }, ea = function(d) {
2868
2893
  let g = null, y = null;
2869
- if (Yt)
2870
- f = "<remove></remove>" + f;
2894
+ if (Qt)
2895
+ d = "<remove></remove>" + d;
2871
2896
  else {
2872
- const j = Ge(f, /^[\r\n\t ]+/);
2897
+ const j = Ve(d, /^[\r\n\t ]+/);
2873
2898
  y = j && j[0];
2874
2899
  }
2875
- tt === "application/xhtml+xml" && Ne === pe && (f = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + f + "</body></html>");
2876
- const A = K ? K.createHTML(f) : f;
2877
- if (Ne === pe)
2900
+ rt === "application/xhtml+xml" && Ue === me && (d = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + d + "</body></html>");
2901
+ const A = K ? K.createHTML(d) : d;
2902
+ if (Ue === me)
2878
2903
  try {
2879
- g = new cn().parseFromString(A, tt);
2904
+ g = new ln().parseFromString(A, rt);
2880
2905
  } catch {
2881
2906
  }
2882
2907
  if (!g || !g.documentElement) {
2883
- g = zt.createDocument(Ne, "template", null);
2908
+ g = Ht.createDocument(Ue, "template", null);
2884
2909
  try {
2885
- g.documentElement.innerHTML = Xt ? Je : A;
2910
+ g.documentElement.innerHTML = Jt ? Ze : A;
2886
2911
  } catch {
2887
2912
  }
2888
2913
  }
2889
2914
  const G = g.body || g.documentElement;
2890
- return f && y && G.insertBefore(x.createTextNode(y), G.childNodes[0] || null), Ne === pe ? mn.call(g, Te ? "html" : "body")[0] : Te ? g.documentElement : G;
2891
- }, ea = function(f) {
2892
- return dn.call(
2893
- f.ownerDocument || f,
2894
- f,
2915
+ return d && y && G.insertBefore(x.createTextNode(y), G.childNodes[0] || null), Ue === me ? gn.call(g, xe ? "html" : "body")[0] : xe ? g.documentElement : G;
2916
+ }, ta = function(d) {
2917
+ return pn.call(
2918
+ d.ownerDocument || d,
2919
+ d,
2895
2920
  // eslint-disable-next-line no-bitwise
2896
- Ke.SHOW_ELEMENT | Ke.SHOW_COMMENT | Ke.SHOW_TEXT | Ke.SHOW_PROCESSING_INSTRUCTION | Ke.SHOW_CDATA_SECTION,
2921
+ Xe.SHOW_ELEMENT | Xe.SHOW_COMMENT | Xe.SHOW_TEXT | Xe.SHOW_PROCESSING_INSTRUCTION | Xe.SHOW_CDATA_SECTION,
2897
2922
  null
2898
2923
  );
2899
- }, er = function(f) {
2900
- return f instanceof on && (typeof f.nodeName != "string" || typeof f.textContent != "string" || typeof f.removeChild != "function" || !(f.attributes instanceof nn) || typeof f.removeAttribute != "function" || typeof f.setAttribute != "function" || typeof f.namespaceURI != "string" || typeof f.insertBefore != "function" || typeof f.hasChildNodes != "function");
2901
- }, ta = function(f) {
2902
- return typeof Ut == "function" && f instanceof Ut;
2924
+ }, tr = function(d) {
2925
+ return d instanceof cn && (typeof d.nodeName != "string" || typeof d.textContent != "string" || typeof d.removeChild != "function" || !(d.attributes instanceof on) || typeof d.removeAttribute != "function" || typeof d.setAttribute != "function" || typeof d.namespaceURI != "string" || typeof d.insertBefore != "function" || typeof d.hasChildNodes != "function");
2926
+ }, ra = function(d) {
2927
+ return typeof zt == "function" && d instanceof zt;
2903
2928
  };
2904
- function me(w, f, g) {
2929
+ function ge(w, d, g) {
2905
2930
  m(w, (y) => {
2906
- y.call(S, f, g, Ue);
2931
+ y.call(S, d, g, ze);
2907
2932
  });
2908
2933
  }
2909
- const ra = function(f) {
2934
+ const aa = function(d) {
2910
2935
  let g = null;
2911
- if (me(X.beforeSanitizeElements, f, null), er(f))
2912
- return he(f), !0;
2913
- const y = z(f.nodeName);
2914
- if (me(X.uponSanitizeElement, f, {
2936
+ if (ge(X.beforeSanitizeElements, d, null), tr(d))
2937
+ return de(d), !0;
2938
+ const y = z(d.nodeName);
2939
+ if (ge(X.uponSanitizeElement, d, {
2915
2940
  tagName: y,
2916
2941
  allowedTags: U
2917
- }), f.hasChildNodes() && !ta(f.firstElementChild) && Y(/<[/\w]/g, f.innerHTML) && Y(/<[/\w]/g, f.textContent) || f.nodeType === Qe.progressingInstruction || Vt && f.nodeType === Qe.comment && Y(/<[/\w]/g, f.data))
2918
- return he(f), !0;
2919
- if (!U[y] || Ze[y]) {
2920
- if (!Ze[y] && sa(y) && (O.tagNameCheck instanceof RegExp && Y(O.tagNameCheck, y) || O.tagNameCheck instanceof Function && O.tagNameCheck(y)))
2942
+ }), d.hasChildNodes() && !ra(d.firstElementChild) && Y(/<[/\w]/g, d.innerHTML) && Y(/<[/\w]/g, d.textContent) || d.nodeType === Ke.progressingInstruction || qt && d.nodeType === Ke.comment && Y(/<[/\w]/g, d.data))
2943
+ return de(d), !0;
2944
+ if (!U[y] || et[y]) {
2945
+ if (!et[y] && na(y) && (O.tagNameCheck instanceof RegExp && Y(O.tagNameCheck, y) || O.tagNameCheck instanceof Function && O.tagNameCheck(y)))
2921
2946
  return !1;
2922
- if (Qt && !De[y]) {
2923
- const A = ht(f) || f.parentNode, G = fn(f) || f.childNodes;
2947
+ if (Kt && !Ne[y]) {
2948
+ const A = dt(d) || d.parentNode, G = fn(d) || d.childNodes;
2924
2949
  if (G && A) {
2925
2950
  const j = G.length;
2926
- for (let te = j - 1; te >= 0; --te) {
2927
- const fe = ln(G[te], !0);
2928
- fe.__removalCount = (f.__removalCount || 0) + 1, A.insertBefore(fe, hn(f));
2951
+ for (let re = j - 1; re >= 0; --re) {
2952
+ const fe = un(G[re], !0);
2953
+ fe.__removalCount = (d.__removalCount || 0) + 1, A.insertBefore(fe, dn(d));
2929
2954
  }
2930
2955
  }
2931
2956
  }
2932
- return he(f), !0;
2957
+ return de(d), !0;
2933
2958
  }
2934
- return f instanceof Fr && !Tn(f) || (y === "noscript" || y === "noembed" || y === "noframes") && Y(/<\/no(script|embed|frames)/i, f.innerHTML) ? (he(f), !0) : (Le && f.nodeType === Qe.text && (g = f.textContent, m([Ht, Bt, jt], (A) => {
2935
- g = Ve(g, A, " ");
2936
- }), f.textContent !== g && ($(S.removed, {
2937
- element: f.cloneNode()
2938
- }), f.textContent = g)), me(X.afterSanitizeElements, f, null), !1);
2939
- }, aa = function(f, g, y) {
2940
- if (Wr && (g === "id" || g === "name") && (y in x || y in Pn))
2959
+ return d instanceof Dr && !xn(d) || (y === "noscript" || y === "noembed" || y === "noframes") && Y(/<\/no(script|embed|frames)/i, d.innerHTML) ? (de(d), !0) : (Oe && d.nodeType === Ke.text && (g = d.textContent, m([Bt, jt, Wt], (A) => {
2960
+ g = qe(g, A, " ");
2961
+ }), d.textContent !== g && ($(S.removed, {
2962
+ element: d.cloneNode()
2963
+ }), d.textContent = g)), ge(X.afterSanitizeElements, d, null), !1);
2964
+ }, sa = function(d, g, y) {
2965
+ if (Gr && (g === "id" || g === "name") && (y in x || y in kn))
2941
2966
  return !1;
2942
- if (!(Gt && !Wt[g] && Y(bn, g))) {
2943
- if (!(Hr && Y(vn, g))) {
2944
- if (!B[g] || Wt[g]) {
2967
+ if (!(Vt && !Gt[g] && Y(vn, g))) {
2968
+ if (!(Br && Y(yn, g))) {
2969
+ if (!B[g] || Gt[g]) {
2945
2970
  if (
2946
2971
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
2947
2972
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
2948
2973
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
2949
- !(sa(f) && (O.tagNameCheck instanceof RegExp && Y(O.tagNameCheck, f) || O.tagNameCheck instanceof Function && O.tagNameCheck(f)) && (O.attributeNameCheck instanceof RegExp && Y(O.attributeNameCheck, g) || O.attributeNameCheck instanceof Function && O.attributeNameCheck(g)) || // Alternative, second condition checks if it's an `is`-attribute, AND
2974
+ !(na(d) && (O.tagNameCheck instanceof RegExp && Y(O.tagNameCheck, d) || O.tagNameCheck instanceof Function && O.tagNameCheck(d)) && (O.attributeNameCheck instanceof RegExp && Y(O.attributeNameCheck, g) || O.attributeNameCheck instanceof Function && O.attributeNameCheck(g)) || // Alternative, second condition checks if it's an `is`-attribute, AND
2950
2975
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
2951
2976
  g === "is" && O.allowCustomizedBuiltInElements && (O.tagNameCheck instanceof RegExp && Y(O.tagNameCheck, y) || O.tagNameCheck instanceof Function && O.tagNameCheck(y)))
2952
2977
  ) return !1;
2953
- } else if (!Kt[g]) {
2954
- if (!Y(Nr, Ve(y, Dr, ""))) {
2955
- if (!((g === "src" || g === "xlink:href" || g === "href") && f !== "script" && Bs(y, "data:") === 0 && qr[f])) {
2956
- if (!(Br && !Y(yn, Ve(y, Dr, "")))) {
2978
+ } else if (!Xt[g]) {
2979
+ if (!Y(Ur, qe(y, Nr, ""))) {
2980
+ if (!((g === "src" || g === "xlink:href" || g === "href") && d !== "script" && js(y, "data:") === 0 && Yr[d])) {
2981
+ if (!(jr && !Y(Sn, qe(y, Nr, "")))) {
2957
2982
  if (y)
2958
2983
  return !1;
2959
2984
  }
@@ -2963,14 +2988,14 @@ var _i = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2963
2988
  }
2964
2989
  }
2965
2990
  return !0;
2966
- }, sa = function(f) {
2967
- return f !== "annotation-xml" && Ge(f, Sn);
2968
- }, na = function(f) {
2969
- me(X.beforeSanitizeAttributes, f, null);
2991
+ }, na = function(d) {
2992
+ return d !== "annotation-xml" && Ve(d, wn);
2993
+ }, oa = function(d) {
2994
+ ge(X.beforeSanitizeAttributes, d, null);
2970
2995
  const {
2971
2996
  attributes: g
2972
- } = f;
2973
- if (!g || er(f))
2997
+ } = d;
2998
+ if (!g || tr(d))
2974
2999
  return;
2975
3000
  const y = {
2976
3001
  attrName: "",
@@ -2983,27 +3008,27 @@ var _i = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2983
3008
  for (; A--; ) {
2984
3009
  const G = g[A], {
2985
3010
  name: j,
2986
- namespaceURI: te,
3011
+ namespaceURI: re,
2987
3012
  value: fe
2988
- } = G, rt = z(j);
2989
- let J = j === "value" ? fe : js(fe);
2990
- if (y.attrName = rt, y.attrValue = J, y.keepAttr = !0, y.forceKeepAttr = void 0, me(X.uponSanitizeAttribute, f, y), J = y.attrValue, Gr && (rt === "id" || rt === "name") && (vt(j, f), J = wn + J), Vt && Y(/((--!?|])>)|<\/(style|title)/i, J)) {
2991
- vt(j, f);
3013
+ } = G, at = z(j);
3014
+ let J = j === "value" ? fe : Ws(fe);
3015
+ if (y.attrName = at, y.attrValue = J, y.keepAttr = !0, y.forceKeepAttr = void 0, ge(X.uponSanitizeAttribute, d, y), J = y.attrValue, Vr && (at === "id" || at === "name") && (yt(j, d), J = En + J), qt && Y(/((--!?|])>)|<\/(style|title)/i, J)) {
3016
+ yt(j, d);
2992
3017
  continue;
2993
3018
  }
2994
- if (y.forceKeepAttr || (vt(j, f), !y.keepAttr))
3019
+ if (y.forceKeepAttr || (yt(j, d), !y.keepAttr))
2995
3020
  continue;
2996
- if (!jr && Y(/\/>/i, J)) {
2997
- vt(j, f);
3021
+ if (!Wr && Y(/\/>/i, J)) {
3022
+ yt(j, d);
2998
3023
  continue;
2999
3024
  }
3000
- Le && m([Ht, Bt, jt], (ia) => {
3001
- J = Ve(J, ia, " ");
3025
+ Oe && m([Bt, jt, Wt], (ca) => {
3026
+ J = qe(J, ca, " ");
3002
3027
  });
3003
- const oa = z(f.nodeName);
3004
- if (aa(oa, rt, J)) {
3005
- if (K && typeof ut == "object" && typeof ut.getAttributeType == "function" && !te)
3006
- switch (ut.getAttributeType(oa, rt)) {
3028
+ const ia = z(d.nodeName);
3029
+ if (sa(ia, at, J)) {
3030
+ if (K && typeof ht == "object" && typeof ht.getAttributeType == "function" && !re)
3031
+ switch (ht.getAttributeType(ia, at)) {
3007
3032
  case "TrustedHTML": {
3008
3033
  J = K.createHTML(J);
3009
3034
  break;
@@ -3014,180 +3039,204 @@ var _i = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
3014
3039
  }
3015
3040
  }
3016
3041
  try {
3017
- te ? f.setAttributeNS(te, j, J) : f.setAttribute(j, J), er(f) ? he(f) : b(S.removed);
3042
+ re ? d.setAttributeNS(re, j, J) : d.setAttribute(j, J), tr(d) ? de(d) : b(S.removed);
3018
3043
  } catch {
3019
3044
  }
3020
3045
  }
3021
3046
  }
3022
- me(X.afterSanitizeAttributes, f, null);
3023
- }, xn = function w(f) {
3047
+ ge(X.afterSanitizeAttributes, d, null);
3048
+ }, $n = function w(d) {
3024
3049
  let g = null;
3025
- const y = ea(f);
3026
- for (me(X.beforeSanitizeShadowDOM, f, null); g = y.nextNode(); )
3027
- me(X.uponSanitizeShadowNode, g, null), ra(g), na(g), g.content instanceof de && w(g.content);
3028
- me(X.afterSanitizeShadowDOM, f, null);
3050
+ const y = ta(d);
3051
+ for (ge(X.beforeSanitizeShadowDOM, d, null); g = y.nextNode(); )
3052
+ ge(X.uponSanitizeShadowNode, g, null), aa(g), oa(g), g.content instanceof pe && w(g.content);
3053
+ ge(X.afterSanitizeShadowDOM, d, null);
3029
3054
  };
3030
3055
  return S.sanitize = function(w) {
3031
- let f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, g = null, y = null, A = null, G = null;
3032
- if (Xt = !w, Xt && (w = "<!-->"), typeof w != "string" && !ta(w))
3056
+ let d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, g = null, y = null, A = null, G = null;
3057
+ if (Jt = !w, Jt && (w = "<!-->"), typeof w != "string" && !ra(w))
3033
3058
  if (typeof w.toString == "function") {
3034
3059
  if (w = w.toString(), typeof w != "string")
3035
- throw qe("dirty is not a string, aborting");
3060
+ throw Ye("dirty is not a string, aborting");
3036
3061
  } else
3037
- throw qe("toString is not a function");
3062
+ throw Ye("toString is not a function");
3038
3063
  if (!S.isSupported)
3039
3064
  return w;
3040
- if (qt || Zt(f), S.removed = [], typeof w == "string" && (et = !1), et) {
3065
+ if (Yt || er(d), S.removed = [], typeof w == "string" && (tt = !1), tt) {
3041
3066
  if (w.nodeName) {
3042
3067
  const fe = z(w.nodeName);
3043
- if (!U[fe] || Ze[fe])
3044
- throw qe("root node is forbidden and cannot be sanitized in-place");
3068
+ if (!U[fe] || et[fe])
3069
+ throw Ye("root node is forbidden and cannot be sanitized in-place");
3045
3070
  }
3046
- } else if (w instanceof Ut)
3047
- g = Zr("<!---->"), y = g.ownerDocument.importNode(w, !0), y.nodeType === Qe.element && y.nodeName === "BODY" || y.nodeName === "HTML" ? g = y : g.appendChild(y);
3071
+ } else if (w instanceof zt)
3072
+ g = ea("<!---->"), y = g.ownerDocument.importNode(w, !0), y.nodeType === Ke.element && y.nodeName === "BODY" || y.nodeName === "HTML" ? g = y : g.appendChild(y);
3048
3073
  else {
3049
- if (!Oe && !Le && !Te && // eslint-disable-next-line unicorn/prefer-includes
3074
+ if (!Fe && !Oe && !xe && // eslint-disable-next-line unicorn/prefer-includes
3050
3075
  w.indexOf("<") === -1)
3051
- return K && dt ? K.createHTML(w) : w;
3052
- if (g = Zr(w), !g)
3053
- return Oe ? null : dt ? Je : "";
3076
+ return K && pt ? K.createHTML(w) : w;
3077
+ if (g = ea(w), !g)
3078
+ return Fe ? null : pt ? Ze : "";
3054
3079
  }
3055
- g && Yt && he(g.firstChild);
3056
- const j = ea(et ? w : g);
3080
+ g && Qt && de(g.firstChild);
3081
+ const j = ta(tt ? w : g);
3057
3082
  for (; A = j.nextNode(); )
3058
- ra(A), na(A), A.content instanceof de && xn(A.content);
3059
- if (et)
3083
+ aa(A), oa(A), A.content instanceof pe && $n(A.content);
3084
+ if (tt)
3060
3085
  return w;
3061
- if (Oe) {
3086
+ if (Fe) {
3062
3087
  if (ft)
3063
- for (G = pn.call(g.ownerDocument); g.firstChild; )
3088
+ for (G = mn.call(g.ownerDocument); g.firstChild; )
3064
3089
  G.appendChild(g.firstChild);
3065
3090
  else
3066
3091
  G = g;
3067
- return (B.shadowroot || B.shadowrootmode) && (G = gn.call(T, G, !0)), G;
3092
+ return (B.shadowroot || B.shadowrootmode) && (G = bn.call(k, G, !0)), G;
3068
3093
  }
3069
- let te = Te ? g.outerHTML : g.innerHTML;
3070
- return Te && U["!doctype"] && g.ownerDocument && g.ownerDocument.doctype && g.ownerDocument.doctype.name && Y(Ir, g.ownerDocument.doctype.name) && (te = "<!DOCTYPE " + g.ownerDocument.doctype.name + `>
3071
- ` + te), Le && m([Ht, Bt, jt], (fe) => {
3072
- te = Ve(te, fe, " ");
3073
- }), K && dt ? K.createHTML(te) : te;
3094
+ let re = xe ? g.outerHTML : g.innerHTML;
3095
+ return xe && U["!doctype"] && g.ownerDocument && g.ownerDocument.doctype && g.ownerDocument.doctype.name && Y(Mr, g.ownerDocument.doctype.name) && (re = "<!DOCTYPE " + g.ownerDocument.doctype.name + `>
3096
+ ` + re), Oe && m([Bt, jt, Wt], (fe) => {
3097
+ re = qe(re, fe, " ");
3098
+ }), K && pt ? K.createHTML(re) : re;
3074
3099
  }, S.setConfig = function() {
3075
3100
  let w = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3076
- Zt(w), qt = !0;
3101
+ er(w), Yt = !0;
3077
3102
  }, S.clearConfig = function() {
3078
- Ue = null, qt = !1;
3079
- }, S.isValidAttribute = function(w, f, g) {
3080
- Ue || Zt({});
3081
- const y = z(w), A = z(f);
3082
- return aa(y, A, g);
3083
- }, S.addHook = function(w, f) {
3084
- typeof f == "function" && $(X[w], f);
3085
- }, S.removeHook = function(w, f) {
3086
- if (f !== void 0) {
3087
- const g = v(X[w], f);
3103
+ ze = null, Yt = !1;
3104
+ }, S.isValidAttribute = function(w, d, g) {
3105
+ ze || er({});
3106
+ const y = z(w), A = z(d);
3107
+ return sa(y, A, g);
3108
+ }, S.addHook = function(w, d) {
3109
+ typeof d == "function" && $(X[w], d);
3110
+ }, S.removeHook = function(w, d) {
3111
+ if (d !== void 0) {
3112
+ const g = v(X[w], d);
3088
3113
  return g === -1 ? void 0 : H(X[w], g, 1)[0];
3089
3114
  }
3090
3115
  return b(X[w]);
3091
3116
  }, S.removeHooks = function(w) {
3092
3117
  X[w] = [];
3093
3118
  }, S.removeAllHooks = function() {
3094
- X = Lr();
3119
+ X = Or();
3095
3120
  }, S;
3096
3121
  }
3097
- var sn = Or();
3098
- return sn;
3122
+ var nn = Fr();
3123
+ return nn;
3099
3124
  });
3100
- })(us);
3101
- const Ai = us.exports, Ii = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
3102
- let Mi = (e = 21) => {
3125
+ })(hs);
3126
+ const Mi = hs.exports, Li = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
3127
+ let te = (e = 21) => {
3103
3128
  let t = "", r = crypto.getRandomValues(new Uint8Array(e |= 0));
3104
3129
  for (; e--; )
3105
- t += Ii[r[e] & 63];
3130
+ t += Li[r[e] & 63];
3106
3131
  return t;
3107
3132
  };
3108
- const Li = /* @__PURE__ */ N(class extends D {
3133
+ const Oi = /* @__PURE__ */ N(class extends D {
3109
3134
  constructor() {
3110
3135
  super();
3111
3136
  h(this, "adSource", "Custom");
3112
3137
  h(this, "adClientResponseItem");
3138
+ h(this, "adContainerId", te());
3113
3139
  h(this, "searchTerm");
3114
- h(this, "unsubscribe", () => {
3115
- });
3140
+ h(this, "isSearchInProgress", !1);
3116
3141
  h(this, "core");
3117
- h(this, "adContainerId", Mi());
3142
+ h(this, "intersectionObserver");
3143
+ h(this, "storeUnsubscribe");
3144
+ h(this, "adContainerRenderedTimeout");
3145
+ h(this, "isComponentConnected", !0);
3118
3146
  this.__registerHost();
3119
3147
  }
3148
+ get hostElement() {
3149
+ return this;
3150
+ }
3120
3151
  connectedCallback() {
3121
- var a;
3122
3152
  const r = _.getState();
3123
- this.core = r.core, this.searchTerm = r.searchTerm, this.unsubscribe = _.subscribe((n) => {
3124
- this.searchTerm = n.searchTerm;
3125
- }), (a = this.core) == null || a.handleAdContainerRendered({
3126
- adClientResponseItem: this.adClientResponseItem,
3127
- adContainerId: this.adContainerId,
3128
- adSource: this.adSource,
3129
- searchTerm: this.searchTerm
3153
+ this.core = r.core, this.searchTerm = r.searchTerm, this.isSearchInProgress = r.isSearchInProgress, this.storeUnsubscribe = _.subscribe((a) => {
3154
+ this.searchTerm = a.searchTerm, this.isSearchInProgress = a.isSearchInProgress;
3130
3155
  });
3131
3156
  }
3157
+ componentDidLoad() {
3158
+ this.hostElement && (this.intersectionObserver = new IntersectionObserver(([r]) => {
3159
+ var a;
3160
+ r != null && r.isIntersecting && !this.isSearchInProgress && ((a = this.core) == null || a.handleAdContainerViewed({
3161
+ adClientResponseItem: this.adClientResponseItem,
3162
+ adContainerId: this.adContainerId,
3163
+ adSource: this.adSource,
3164
+ searchTerm: this.searchTerm || ""
3165
+ }));
3166
+ }, { threshold: 0 }), this.intersectionObserver.observe(this.hostElement));
3167
+ }
3132
3168
  disconnectedCallback() {
3133
- this.unsubscribe();
3169
+ var r, a;
3170
+ (r = this.storeUnsubscribe) == null || r.call(this), (a = this.intersectionObserver) == null || a.disconnect(), this.isComponentConnected = !1, clearTimeout(this.adContainerRenderedTimeout);
3134
3171
  }
3135
3172
  renderADMAd() {
3136
3173
  const r = this.adClientResponseItem;
3137
3174
  if (r.admAd)
3138
- return d("a", { class: "searchcraft-adm-ad", href: r.admAd.click_url }, r.admAd.image_url && d("div", { class: "searchcraft-adm-ad-image-wrapper" }, d("img", { alt: r.admAd.term || "image", src: r.admAd.image_url, class: "searchcraft-adm-ad-image" })), d("div", { class: "searchcraft-adm-ad-info-wrapper" }, d("p", { class: "searchcraft-adm-ad-title" }, r.admAd.term), r.admAd.price && d("p", { class: "searchcraft-adm-ad-subtitle" }, r.admAd.price)));
3175
+ return f("a", { class: "searchcraft-adm-ad", href: r.admAd.click_url }, r.admAd.image_url && f("div", { class: "searchcraft-adm-ad-image-wrapper" }, f("img", { alt: r.admAd.term || "image", src: r.admAd.image_url, class: "searchcraft-adm-ad-image" })), f("div", { class: "searchcraft-adm-ad-info-wrapper" }, f("p", { class: "searchcraft-adm-ad-title" }, r.admAd.term), r.admAd.price && f("p", { class: "searchcraft-adm-ad-subtitle" }, r.admAd.price)));
3139
3176
  }
3140
3177
  renderCustomAd() {
3141
3178
  var o, s;
3142
3179
  const r = (s = (o = this.core) == null ? void 0 : o.config) == null ? void 0 : s.customAdTemplate, a = `searchcraft-custom-ad-${this.adContainerId}`;
3143
3180
  let n = "<p>Custom Ad Placeholder</p>";
3144
3181
  return r && (n = r({
3145
- searchTerm: this.searchTerm,
3182
+ searchTerm: this.searchTerm || "",
3146
3183
  adContainerId: this.adContainerId
3147
- })), d("div", { class: "searchcraft-custom-ad", id: a, "data-searchcraft-ad-container-id": this.adContainerId, innerHTML: Ai.sanitize(n) });
3184
+ })), f("div", { class: "searchcraft-custom-ad", id: a, "data-searchcraft-ad-container-id": this.adContainerId, innerHTML: Mi.sanitize(n) });
3148
3185
  }
3149
3186
  renderNativoAd() {
3150
3187
  var a;
3151
3188
  const r = ((a = this.core) == null ? void 0 : a.config.nativoAdClassName) || "ntv-item";
3152
- return d("div", { class: r });
3189
+ return f("div", { class: r });
3153
3190
  }
3154
3191
  render() {
3155
- switch (this.adSource) {
3156
- case "adMarketplace":
3157
- return this.renderADMAd();
3158
- case "Custom":
3159
- return this.renderCustomAd();
3160
- case "Nativo":
3161
- return this.renderNativoAd();
3162
- default:
3163
- return;
3164
- }
3192
+ var r, a;
3193
+ if (!this.isSearchInProgress)
3194
+ switch (this.isComponentConnected && (clearTimeout(this.adContainerRenderedTimeout), this.adContainerRenderedTimeout = setTimeout(() => {
3195
+ var n;
3196
+ (n = this.core) == null || n.handleAdContainerRendered({
3197
+ adClientResponseItem: this.adClientResponseItem,
3198
+ adContainerId: this.adContainerId,
3199
+ adSource: this.adSource,
3200
+ searchTerm: this.searchTerm || ""
3201
+ });
3202
+ }, ((a = (r = this.core) == null ? void 0 : r.config) == null ? void 0 : a.adContainerRenderedDebounceDelay) || 500)), this.adSource) {
3203
+ case "adMarketplace":
3204
+ return this.renderADMAd();
3205
+ case "Custom":
3206
+ return this.renderCustomAd();
3207
+ case "Nativo":
3208
+ return this.renderNativoAd();
3209
+ default:
3210
+ return;
3211
+ }
3165
3212
  }
3166
3213
  }, [0, "searchcraft-ad", {
3167
3214
  adSource: [1, "ad-source"],
3168
3215
  adClientResponseItem: [16],
3169
- searchTerm: [32]
3216
+ adContainerId: [1, "ad-container-id"],
3217
+ searchTerm: [32],
3218
+ isSearchInProgress: [32]
3170
3219
  }]);
3171
- function It() {
3220
+ function Mt() {
3172
3221
  if (typeof customElements > "u")
3173
3222
  return;
3174
3223
  ["searchcraft-ad"].forEach((t) => {
3175
3224
  switch (t) {
3176
3225
  case "searchcraft-ad":
3177
- customElements.get(t) || customElements.define(t, Li);
3226
+ customElements.get(t) || customElements.define(t, Oi);
3178
3227
  break;
3179
3228
  }
3180
3229
  });
3181
3230
  }
3182
- const Oi = It;
3183
- function ie(e, t) {
3231
+ const Fi = Mt;
3232
+ function ce(e, t) {
3184
3233
  if (e && t)
3185
3234
  return t.fieldNames.map((r) => {
3186
3235
  let a = e[r.fieldName];
3187
3236
  if (a)
3188
3237
  switch (r.dataType) {
3189
3238
  case "date": {
3190
- a = Fi(a);
3239
+ a = Di(a);
3191
3240
  break;
3192
3241
  }
3193
3242
  case "number": {
@@ -3198,7 +3247,7 @@ function ie(e, t) {
3198
3247
  return a;
3199
3248
  }).filter((r) => !!r).join(t.delimiter || " ");
3200
3249
  }
3201
- function hs(e) {
3250
+ function ds(e) {
3202
3251
  switch (e) {
3203
3252
  case "hour":
3204
3253
  return 36e5;
@@ -3212,14 +3261,14 @@ function hs(e) {
3212
3261
  return 36e5;
3213
3262
  }
3214
3263
  }
3215
- function sr(e) {
3264
+ function nr(e) {
3216
3265
  return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
3217
3266
  }
3218
- function Fi(e) {
3267
+ function Di(e) {
3219
3268
  const t = /* @__PURE__ */ new Date(), r = new Date(e), a = Math.floor((t.getTime() - r.getTime()) / 1e3), n = Math.floor(a / 60), o = Math.floor(n / 60), s = Math.floor(o / 24), l = Math.floor(s / 365);
3220
3269
  return n < 60 ? `${n}m ago` : o < 24 ? `${o}h ago` : s < 365 ? `${s}d ago` : `${l}y ago`;
3221
3270
  }
3222
- const Di = /* @__PURE__ */ N(class extends D {
3271
+ const Ni = /* @__PURE__ */ N(class extends D {
3223
3272
  constructor() {
3224
3273
  super();
3225
3274
  h(this, "item");
@@ -3290,11 +3339,11 @@ const Di = /* @__PURE__ */ N(class extends D {
3290
3339
  }
3291
3340
  mapValuesFromDocument(r) {
3292
3341
  var a, n, o, s, l, u, c;
3293
- this.titleContent = ie(r, (a = this.searchResultMappings) == null ? void 0 : a.title), this.subtitleContent = ie(r, (n = this.searchResultMappings) == null ? void 0 : n.subtitle), this.bodyContent = ie(r, (o = this.searchResultMappings) == null ? void 0 : o.body), this.containerHref = ie(r, (s = this.searchResultMappings) == null ? void 0 : s.containerHref), this.buttonHref = ie(r, (l = this.searchResultMappings) == null ? void 0 : l.buttonHref), this.imageSrc = ie(r, (u = this.searchResultMappings) == null ? void 0 : u.imageSource), this.footerContent = ie(r, (c = this.searchResultMappings) == null ? void 0 : c.footer);
3342
+ this.titleContent = ce(r, (a = this.searchResultMappings) == null ? void 0 : a.title), this.subtitleContent = ce(r, (n = this.searchResultMappings) == null ? void 0 : n.subtitle), this.bodyContent = ce(r, (o = this.searchResultMappings) == null ? void 0 : o.body), this.containerHref = ce(r, (s = this.searchResultMappings) == null ? void 0 : s.containerHref), this.buttonHref = ce(r, (l = this.searchResultMappings) == null ? void 0 : l.buttonHref), this.imageSrc = ce(r, (u = this.searchResultMappings) == null ? void 0 : u.imageSource), this.footerContent = ce(r, (c = this.searchResultMappings) == null ? void 0 : c.footer);
3294
3343
  }
3295
3344
  render() {
3296
- const r = this.parseStyles(), a = this.imageSrc && d("img", { alt: this.imageAlt, class: "searchcraft-search-result-image", src: this.imageSrc, style: r.image || {} }), n = d(br, null, this.imageSrc && this.imagePlacement === "left" && a, d("div", { class: "searchcraft-base-search-result-content-container" }, this.titleContent && d("h2", { class: "searchcraft-base-search-result-title", style: r.title || {} }, this.titleContent), this.subtitleContent && d("h3", { class: "searchcraft-base-search-result-subtitle", style: r.subtitle || {} }, this.subtitleContent), this.bodyContent && d("p", { class: "searchcraft-base-search-result-body-content", style: r.primaryContent || {} }, this.bodyContent), this.footerContent && d("p", { class: "searchcraft-base-search-result-footer-content", style: r.secondaryContent || {} }, this.footerContent), this.buttonHref && !this.containerHref && this.buttonLabel && d("a", { class: "searchcraft-search-result-button", href: this.buttonHref, style: r.button || {}, target: this.buttonTarget, rel: this.buttonRel }, this.buttonLabel)), this.imageSrc && this.imagePlacement === "right" && a);
3297
- return this.containerHref ? d("a", { class: "searchcraft-search-result-container", onClick: this.handleLinkClick, href: this.containerHref, rel: this.containerRel, style: r.container || {}, tabindex: "0", target: this.containerTarget }, n) : d("div", { class: "searchcraft-search-result-container", style: r.container || {} }, n);
3345
+ const r = this.parseStyles(), a = this.imageSrc && f("img", { alt: this.imageAlt, class: "searchcraft-search-result-image", src: this.imageSrc, style: r.image || {} }), n = f(vr, null, this.imageSrc && this.imagePlacement === "left" && a, f("div", { class: "searchcraft-base-search-result-content-container" }, this.titleContent && f("h2", { class: "searchcraft-base-search-result-title", style: r.title || {} }, this.titleContent), this.subtitleContent && f("h3", { class: "searchcraft-base-search-result-subtitle", style: r.subtitle || {} }, this.subtitleContent), this.bodyContent && f("p", { class: "searchcraft-base-search-result-body-content", style: r.primaryContent || {} }, this.bodyContent), this.footerContent && f("p", { class: "searchcraft-base-search-result-footer-content", style: r.secondaryContent || {} }, this.footerContent), this.buttonHref && !this.containerHref && this.buttonLabel && f("a", { class: "searchcraft-search-result-button", href: this.buttonHref, style: r.button || {}, target: this.buttonTarget, rel: this.buttonRel }, this.buttonLabel)), this.imageSrc && this.imagePlacement === "right" && a);
3346
+ return this.containerHref ? f("a", { class: "searchcraft-search-result-container", onClick: this.handleLinkClick, href: this.containerHref, rel: this.containerRel, style: r.container || {}, tabindex: "0", target: this.containerTarget }, n) : f("div", { class: "searchcraft-search-result-container", style: r.container || {} }, n);
3298
3347
  }
3299
3348
  }, [0, "searchcraft-base-search-result", {
3300
3349
  item: [16],
@@ -3322,13 +3371,13 @@ function fs() {
3322
3371
  ["searchcraft-base-search-result"].forEach((t) => {
3323
3372
  switch (t) {
3324
3373
  case "searchcraft-base-search-result":
3325
- customElements.get(t) || customElements.define(t, Di);
3374
+ customElements.get(t) || customElements.define(t, Ni);
3326
3375
  break;
3327
3376
  }
3328
3377
  });
3329
3378
  }
3330
- const Ni = fs;
3331
- function ct(e) {
3379
+ const Ui = fs;
3380
+ function lt(e) {
3332
3381
  if (typeof e == "string")
3333
3382
  try {
3334
3383
  return JSON.parse(e);
@@ -3337,14 +3386,14 @@ function ct(e) {
3337
3386
  }
3338
3387
  return e || {};
3339
3388
  }
3340
- function Ui(e) {
3389
+ function zi(e) {
3341
3390
  try {
3342
3391
  return JSON.stringify(e);
3343
3392
  } catch (t) {
3344
3393
  return console.error("Error serializing styles:", t), "{}";
3345
3394
  }
3346
3395
  }
3347
- const zi = /* @__PURE__ */ N(class extends D {
3396
+ const Hi = /* @__PURE__ */ N(class extends D {
3348
3397
  constructor() {
3349
3398
  super();
3350
3399
  /**
@@ -3354,23 +3403,23 @@ const zi = /* @__PURE__ */ N(class extends D {
3354
3403
  this.__registerHost();
3355
3404
  }
3356
3405
  render() {
3357
- return d("p", { key: "dc97bb66da10a98fca027f928deaaf80d945417b", class: "searchcraft-error-message" }, this.errorMessage || "Search term is required.");
3406
+ return f("p", { key: "dc97bb66da10a98fca027f928deaaf80d945417b", class: "searchcraft-error-message" }, this.errorMessage || "Search term is required.");
3358
3407
  }
3359
3408
  }, [0, "searchcraft-error-message", {
3360
3409
  errorMessage: [1, "error-message"]
3361
3410
  }]);
3362
- function Mt() {
3411
+ function Lt() {
3363
3412
  if (typeof customElements > "u")
3364
3413
  return;
3365
3414
  ["searchcraft-error-message"].forEach((t) => {
3366
3415
  switch (t) {
3367
3416
  case "searchcraft-error-message":
3368
- customElements.get(t) || customElements.define(t, zi);
3417
+ customElements.get(t) || customElements.define(t, Hi);
3369
3418
  break;
3370
3419
  }
3371
3420
  });
3372
3421
  }
3373
- const ds = /* @__PURE__ */ N(class extends D {
3422
+ const ps = /* @__PURE__ */ N(class extends D {
3374
3423
  constructor() {
3375
3424
  super();
3376
3425
  /**
@@ -3406,7 +3455,7 @@ const ds = /* @__PURE__ */ N(class extends D {
3406
3455
  */
3407
3456
  h(this, "containerRel");
3408
3457
  h(this, "searchTerm", "");
3409
- h(this, "searchClientResponseItems", []);
3458
+ h(this, "searchClientResponseItems");
3410
3459
  h(this, "adClientResponseItems", []);
3411
3460
  h(this, "searchResultsPerPage");
3412
3461
  h(this, "searchResultsPage");
@@ -3418,7 +3467,7 @@ const ds = /* @__PURE__ */ N(class extends D {
3418
3467
  }
3419
3468
  get serializedStyles() {
3420
3469
  let r = "";
3421
- return this.customStylesForResults && (r = typeof this.customStylesForResults == "string" ? this.customStylesForResults : Ui(this.customStylesForResults)), r;
3470
+ return this.customStylesForResults && (r = typeof this.customStylesForResults == "string" ? this.customStylesForResults : zi(this.customStylesForResults)), r;
3422
3471
  }
3423
3472
  componentDidLoad() {
3424
3473
  var a;
@@ -3435,54 +3484,54 @@ const ds = /* @__PURE__ */ N(class extends D {
3435
3484
  this.searchClientResponseItems = [...r.searchClientResponseItems], this.adClientResponseItems = [...r.adClientResponseItems], this.searchTerm = r.searchTerm, this.searchResultsPage = r.searchResultsPage, this.searchResultsPerPage = r.searchResultsPerPage, this.config = (a = r.core) == null ? void 0 : a.config, this.isSearchInProgress = r.isSearchInProgress;
3436
3485
  }
3437
3486
  renderEmptyState() {
3438
- return d("div", { class: "searchcraft-search-results-empty-state-container" }, d("slot", { name: "empty-search" }));
3487
+ return f("div", { class: "searchcraft-search-results-empty-state-container" }, f("slot", { name: "empty-search" }));
3439
3488
  }
3440
3489
  renderNoResultsFoundState() {
3441
- return d("div", { class: "searchcraft-search-results-container" }, d("div", { class: "searchcraft-search-results-error-message-container" }, d("searchcraft-error-message", { "error-message": `No search results found for "${this.searchTerm}" query` })));
3490
+ return f("div", { class: "searchcraft-search-results-container" }, f("div", { class: "searchcraft-search-results-error-message-container" }, f("searchcraft-error-message", { "error-message": `No search results found for "${this.searchTerm}" query` })));
3442
3491
  }
3443
3492
  renderWithADMAds() {
3444
3493
  var r, a;
3445
- return d("div", { class: "searchcraft-search-results-container" }, (r = this.adClientResponseItems) == null ? void 0 : r.map((n) => d("searchcraft-ad", { adSource: "adMarketplace", adClientResponseItem: n, key: n.id })), (a = this.searchClientResponseItems) == null ? void 0 : a.map((n, o) => d("searchcraft-base-search-result", { key: n.id, "custom-styles": this.serializedStyles, "image-placement": this.resultImagePlacement, "container-rel": this.containerRel, "container-target": this.containerTarget, "button-label": this.buttonLabel || "View more", "button-rel": this.buttonRel, "button-target": this.buttonTarget, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + o, searchResultMappings: this.searchResultMappings, item: n })));
3494
+ return f("div", { class: "searchcraft-search-results-container" }, (r = this.adClientResponseItems) == null ? void 0 : r.map((n) => f("searchcraft-ad", { adSource: "adMarketplace", adClientResponseItem: n, adContainerId: te(), key: n.id })), (a = this.searchClientResponseItems) == null ? void 0 : a.map((n, o) => f("searchcraft-base-search-result", { key: n.id, "custom-styles": this.serializedStyles, "image-placement": this.resultImagePlacement, "container-rel": this.containerRel, "container-target": this.containerTarget, "button-label": this.buttonLabel || "View more", "button-rel": this.buttonRel, "button-target": this.buttonTarget, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + o, searchResultMappings: this.searchResultMappings, item: n })));
3446
3495
  }
3447
3496
  renderWithCustomAds() {
3448
3497
  var u, c, i, p;
3449
3498
  const r = [], a = ((u = this.config) == null ? void 0 : u.customAdInterstitialInterval) || 0, n = ((c = this.config) == null ? void 0 : c.customAdInterstitialQuantity) || 1, o = ((i = this.config) == null ? void 0 : i.customAdStartQuantity) || 0, s = ((p = this.config) == null ? void 0 : p.customAdEndQuantity) || 0, l = this.searchClientResponseItems || [];
3450
3499
  for (let m = 0; m < o; m++)
3451
- r.push(d("searchcraft-ad", { adSource: "Custom", key: `${m}-ad` }));
3500
+ r.push(f("searchcraft-ad", { adSource: "Custom", adContainerId: te(), key: `${m}-ad` }));
3452
3501
  l.forEach((m, v) => {
3453
3502
  if (a && v % a === 0 && v + a < l.length && v >= a)
3454
3503
  for (let b = 0; b < n; b++)
3455
- r.push(d("searchcraft-ad", { adSource: "Custom", key: `${m.id}-ad-${b}` }));
3456
- r.push(d("searchcraft-base-search-result", { key: m.id, "custom-styles": this.serializedStyles, "image-placement": this.resultImagePlacement, "container-rel": this.containerRel, "container-target": this.containerTarget, "button-label": this.buttonLabel || "View more", "button-rel": this.buttonRel, "button-target": this.buttonTarget, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + v, searchResultMappings: this.searchResultMappings, item: m }));
3504
+ r.push(f("searchcraft-ad", { adSource: "Custom", adContainerId: te(), key: `${m.id}-ad-${b}` }));
3505
+ r.push(f("searchcraft-base-search-result", { key: m.id, "custom-styles": this.serializedStyles, "image-placement": this.resultImagePlacement, "container-rel": this.containerRel, "container-target": this.containerTarget, "button-label": this.buttonLabel || "View more", "button-rel": this.buttonRel, "button-target": this.buttonTarget, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + v, searchResultMappings: this.searchResultMappings, item: m }));
3457
3506
  });
3458
3507
  for (let m = 0; m < s; m++)
3459
- r.push(d("searchcraft-ad", { adSource: "Custom", key: `${m}-ad` }));
3460
- return d("div", { class: "searchcraft-search-results-container" }, r);
3508
+ r.push(f("searchcraft-ad", { adSource: "Custom", adContainerId: te(), key: `${m}-ad` }));
3509
+ return f("div", { class: "searchcraft-search-results-container" }, r);
3461
3510
  }
3462
3511
  renderWithNativoAds() {
3463
3512
  var c, i, p, m, v;
3464
3513
  const r = [], a = ((c = this.config) == null ? void 0 : c.nativoAdInterstialStartIndex) || 0, n = ((i = this.config) == null ? void 0 : i.nativoAdInterstitialInterval) || 0, o = ((p = this.config) == null ? void 0 : p.nativoAdInterstitialQuantity) || 1, s = ((m = this.config) == null ? void 0 : m.nativoAdStartQuantity) || 0, l = ((v = this.config) == null ? void 0 : v.nativoAdEndQuantity) || 0, u = this.searchClientResponseItems || [];
3465
3514
  for (let b = 0; b < s; b++)
3466
- r.push(d("searchcraft-ad", { adSource: "Nativo", key: `${b}-ad` }));
3515
+ r.push(f("searchcraft-ad", { adSource: "Nativo", adContainerId: te(), key: `${b}-ad` }));
3467
3516
  u.forEach((b, $) => {
3468
3517
  if (n && ($ + a) % n === 0 && $ + n < u.length && $ >= n)
3469
3518
  for (let H = 0; H < o; H++)
3470
- r.push(d("searchcraft-ad", { adSource: "Nativo", key: `${b.id}-ad-${H}` }));
3471
- r.push(d("searchcraft-base-search-result", { key: b.id, "custom-styles": this.serializedStyles, "image-placement": this.resultImagePlacement, "container-rel": this.containerRel, "container-target": this.containerTarget, "button-label": this.buttonLabel || "View more", "button-rel": this.buttonRel, "button-target": this.buttonTarget, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + $, searchResultMappings: this.searchResultMappings, item: b }));
3519
+ r.push(f("searchcraft-ad", { adSource: "Nativo", adContainerId: te(), key: `${b.id}-ad-${H}` }));
3520
+ r.push(f("searchcraft-base-search-result", { key: b.id, "custom-styles": this.serializedStyles, "image-placement": this.resultImagePlacement, "container-rel": this.containerRel, "container-target": this.containerTarget, "button-label": this.buttonLabel || "View more", "button-rel": this.buttonRel, "button-target": this.buttonTarget, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + $, searchResultMappings: this.searchResultMappings, item: b }));
3472
3521
  });
3473
3522
  for (let b = 0; b < l; b++)
3474
- r.push(d("searchcraft-ad", { adSource: "Nativo", key: `${b}-ad` }));
3475
- return d("div", { class: "searchcraft-search-results-container" }, r);
3523
+ r.push(f("searchcraft-ad", { adSource: "Nativo", adContainerId: te(), key: `${b}-ad` }));
3524
+ return f("div", { class: "searchcraft-search-results-container" }, r);
3476
3525
  }
3477
3526
  renderWithNoAds() {
3478
3527
  var r;
3479
- return d("div", { class: "searchcraft-search-results-container" }, (r = this.searchClientResponseItems) == null ? void 0 : r.map((a, n) => d("searchcraft-base-search-result", { key: a.id, "custom-styles": this.serializedStyles, "image-placement": this.resultImagePlacement, "container-rel": this.containerRel, "container-target": this.containerTarget, "button-label": this.buttonLabel || "View more", "button-rel": this.buttonRel, "button-target": this.buttonTarget, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + n, searchResultMappings: this.searchResultMappings, item: a })));
3528
+ return f("div", { class: "searchcraft-search-results-container" }, (r = this.searchClientResponseItems) == null ? void 0 : r.map((a, n) => f("searchcraft-base-search-result", { key: a.id, "custom-styles": this.serializedStyles, "image-placement": this.resultImagePlacement, "container-rel": this.containerRel, "container-target": this.containerTarget, "button-label": this.buttonLabel || "View more", "button-rel": this.buttonRel, "button-target": this.buttonTarget, "document-position": this.searchResultsPerPage * (this.searchResultsPage - 1) + n, searchResultMappings: this.searchResultMappings, item: a })));
3480
3529
  }
3481
3530
  render() {
3482
3531
  var r;
3483
3532
  if (this.searchTerm.trim() === "")
3484
3533
  return this.renderEmptyState();
3485
- if (this.searchTerm.length > 0 && this.searchClientResponseItems.length === 0 && !this.isSearchInProgress)
3534
+ if (this.searchTerm.length > 0 && (this.searchClientResponseItems || []).length === 0 && !this.isSearchInProgress)
3486
3535
  return this.renderNoResultsFoundState();
3487
3536
  switch (((r = this.config) == null ? void 0 : r.adSource) || "None") {
3488
3537
  case "adMarketplace":
@@ -3512,28 +3561,28 @@ const ds = /* @__PURE__ */ N(class extends D {
3512
3561
  isSearchInProgress: [32],
3513
3562
  config: [32]
3514
3563
  }]);
3515
- function Hi() {
3564
+ function Bi() {
3516
3565
  if (typeof customElements > "u")
3517
3566
  return;
3518
3567
  ["searchcraft-base-search-results", "searchcraft-ad", "searchcraft-base-search-result", "searchcraft-error-message"].forEach((t) => {
3519
3568
  switch (t) {
3520
3569
  case "searchcraft-base-search-results":
3521
- customElements.get(t) || customElements.define(t, ds);
3570
+ customElements.get(t) || customElements.define(t, ps);
3522
3571
  break;
3523
3572
  case "searchcraft-ad":
3524
- customElements.get(t) || It();
3573
+ customElements.get(t) || Mt();
3525
3574
  break;
3526
3575
  case "searchcraft-base-search-result":
3527
3576
  customElements.get(t) || fs();
3528
3577
  break;
3529
3578
  case "searchcraft-error-message":
3530
- customElements.get(t) || Mt();
3579
+ customElements.get(t) || Lt();
3531
3580
  break;
3532
3581
  }
3533
3582
  });
3534
3583
  }
3535
- const Bi = ds, ps = Hi;
3536
- var ms = { exports: {} };
3584
+ const ji = ps, ms = Bi;
3585
+ var gs = { exports: {} };
3537
3586
  /*!
3538
3587
  Copyright (c) 2018 Jed Watson.
3539
3588
  Licensed under the MIT License (MIT), see
@@ -3568,8 +3617,8 @@ var ms = { exports: {} };
3568
3617
  }
3569
3618
  e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
3570
3619
  })();
3571
- })(ms);
3572
- const I = ms.exports, ji = /* @__PURE__ */ N(class extends D {
3620
+ })(gs);
3621
+ const I = gs.exports, Wi = /* @__PURE__ */ N(class extends D {
3573
3622
  constructor() {
3574
3623
  super();
3575
3624
  /**
@@ -3607,14 +3656,14 @@ const I = ms.exports, ji = /* @__PURE__ */ N(class extends D {
3607
3656
  h(this, "handleButtonClick", () => {
3608
3657
  this.buttonClick.emit();
3609
3658
  });
3610
- this.__registerHost(), this.buttonClick = Re(this, "buttonClick");
3659
+ this.__registerHost(), this.buttonClick = Ce(this, "buttonClick");
3611
3660
  }
3612
3661
  render() {
3613
- return d("button", { key: "ff883b930d03da6cbfb40badd3be1de0a873f853", "aria-label": this.label, class: I("searchcraft-button", {
3662
+ return f("button", { key: "ff883b930d03da6cbfb40badd3be1de0a873f853", "aria-label": this.label, class: I("searchcraft-button", {
3614
3663
  "searchcraft-button-primary": this.hierarchy === "primary",
3615
3664
  "searchcraft-button-tertiary": this.hierarchy === "tertiary",
3616
3665
  "searchcraft-button-disabled": this.disabled
3617
- }), disabled: this.disabled, onClick: this.handleButtonClick, type: this.type }, this.iconOnly ? this.icon : d(br, null, this.iconPosition === "left" && this.icon, d("span", null, this.label), this.iconPosition === "right" && this.icon));
3666
+ }), disabled: this.disabled, onClick: this.handleButtonClick, type: this.type }, this.iconOnly ? this.icon : f(vr, null, this.iconPosition === "left" && this.icon, f("span", null, this.label), this.iconPosition === "right" && this.icon));
3618
3667
  }
3619
3668
  }, [0, "searchcraft-button", {
3620
3669
  hierarchy: [1],
@@ -3625,28 +3674,28 @@ const I = ms.exports, ji = /* @__PURE__ */ N(class extends D {
3625
3674
  label: [1],
3626
3675
  type: [1]
3627
3676
  }]);
3628
- function Lt() {
3677
+ function Ot() {
3629
3678
  if (typeof customElements > "u")
3630
3679
  return;
3631
3680
  ["searchcraft-button"].forEach((t) => {
3632
3681
  switch (t) {
3633
3682
  case "searchcraft-button":
3634
- customElements.get(t) || customElements.define(t, ji);
3683
+ customElements.get(t) || customElements.define(t, Wi);
3635
3684
  break;
3636
3685
  }
3637
3686
  });
3638
3687
  }
3639
- const Wi = Lt, Gi = Mt;
3640
- function gs(e, t) {
3688
+ const Gi = Ot, Vi = Lt;
3689
+ function bs(e, t) {
3641
3690
  const r = { ...e };
3642
3691
  for (const a in t)
3643
- t.hasOwnProperty(a) && (t[a] instanceof Object && e[a] instanceof Object ? r[a] = gs(e[a], t[a]) : r[a] = t[a]);
3692
+ t.hasOwnProperty(a) && (t[a] instanceof Object && e[a] instanceof Object ? r[a] = bs(e[a], t[a]) : r[a] = t[a]);
3644
3693
  return r;
3645
3694
  }
3646
- function Vi(e) {
3695
+ function qi(e) {
3647
3696
  return e.filter((t, r, a) => !a.some((n, o) => o !== r && n.includes(t)));
3648
3697
  }
3649
- function Ia(e) {
3698
+ function Ma(e) {
3650
3699
  const t = {}, r = (a) => {
3651
3700
  var n;
3652
3701
  t[a.path] = {
@@ -3658,7 +3707,7 @@ function Ia(e) {
3658
3707
  };
3659
3708
  return r(e), t;
3660
3709
  }
3661
- function qi(e) {
3710
+ function Yi(e) {
3662
3711
  const t = {
3663
3712
  count: 0,
3664
3713
  path: "/",
@@ -3680,19 +3729,19 @@ function qi(e) {
3680
3729
  });
3681
3730
  }), t;
3682
3731
  }
3683
- function bs(e) {
3732
+ function vs(e) {
3684
3733
  const t = {
3685
3734
  count: e.count,
3686
3735
  path: e.path,
3687
3736
  children: []
3688
3737
  };
3689
- return Object.keys(e.children).length > 0 && (t.children = Object.values(e.children).map((r) => bs(r))), t;
3738
+ return Object.keys(e.children).length > 0 && (t.children = Object.values(e.children).map((r) => vs(r))), t;
3690
3739
  }
3691
- function Yi(e, t) {
3740
+ function Qi(e, t) {
3692
3741
  const r = Object.keys(e), a = Object.keys(t), n = new Set(a.filter((s) => s.split("/").length > 2).map((s) => s.substring(0, s.lastIndexOf("/"))));
3693
3742
  return Object.fromEntries(r.filter((s) => !n.has(s.substring(0, s.lastIndexOf("/")))).map((s) => [s, e[s]]));
3694
3743
  }
3695
- function Qi(e, t, r) {
3744
+ function Ki(e, t, r) {
3696
3745
  const a = t[e], n = r[e], o = {
3697
3746
  count: 0,
3698
3747
  path: "/",
@@ -3701,12 +3750,12 @@ function Qi(e, t, r) {
3701
3750
  count: 0,
3702
3751
  path: "/",
3703
3752
  children: n
3704
- }, l = Ia(o), u = Ia(s), c = Yi(l, u), i = gs(c, u), p = qi(i), m = bs(p);
3753
+ }, l = Ma(o), u = Ma(s), c = Qi(l, u), i = bs(c, u), p = Yi(i), m = vs(p);
3705
3754
  return {
3706
3755
  [e]: m.children
3707
3756
  };
3708
3757
  }
3709
- const Ki = /* @__PURE__ */ N(class extends D {
3758
+ const Xi = /* @__PURE__ */ N(class extends D {
3710
3759
  constructor() {
3711
3760
  super();
3712
3761
  /**
@@ -3735,7 +3784,7 @@ const Ki = /* @__PURE__ */ N(class extends D {
3735
3784
  const o = r.path.substring(a.path.length).replace(/^\//, ""), s = r.count;
3736
3785
  return `${o.replace(/-/g, " ").replace(/\b\w/g, (l) => l.toUpperCase())} (${s})`;
3737
3786
  });
3738
- this.__registerHost(), this.facetSelectionUpdated = Re(this, "facetSelectionUpdated");
3787
+ this.__registerHost(), this.facetSelectionUpdated = Ce(this, "facetSelectionUpdated");
3739
3788
  }
3740
3789
  handleStateUpdate(r) {
3741
3790
  const a = r.searchResponseFacetPrime, n = r.searchResponseTimeTaken;
@@ -3743,7 +3792,7 @@ const Ki = /* @__PURE__ */ N(class extends D {
3743
3792
  if ((r.searchTerm !== this.lastSearchTerm || r.searchMode !== this.lastSearchMode || r.sortType !== this.lastSortType) && (this.selectedPaths = {}, this.hasNewSearchTerm = !0), n !== this.lastTimeTaken && a) {
3744
3793
  this.facetRoot = void 0;
3745
3794
  const o = a.find((s) => this.fieldName === Object.keys(s)[0]);
3746
- this.hasNewSearchTerm ? (this.baseFacetRoot = o, this.facetRoot = o, this.hasNewSearchTerm = !1) : this.baseFacetRoot && o && (this.facetRoot = Qi(this.fieldName, this.baseFacetRoot, o));
3795
+ this.hasNewSearchTerm ? (this.baseFacetRoot = o, this.facetRoot = o, this.hasNewSearchTerm = !1) : this.baseFacetRoot && o && (this.facetRoot = Ki(this.fieldName, this.baseFacetRoot, o));
3747
3796
  }
3748
3797
  this.lastSearchTerm = r.searchTerm, this.lastSearchMode = r.searchMode, this.lastSortType = r.sortType, this.lastTimeTaken = n;
3749
3798
  }
@@ -3768,7 +3817,7 @@ const Ki = /* @__PURE__ */ N(class extends D {
3768
3817
  const l = Object.keys(this.selectedPaths).filter((u) => !u.includes(r));
3769
3818
  this.selectedPaths = l.reduce((u, c) => (u[c] = !0, u), {});
3770
3819
  }
3771
- const n = Object.keys(this.selectedPaths).filter((l) => this.selectedPaths[l]), o = Vi(n);
3820
+ const n = Object.keys(this.selectedPaths).filter((l) => this.selectedPaths[l]), o = qi(n);
3772
3821
  (s = this.facetSelectionUpdated) == null || s.emit({ paths: o });
3773
3822
  }
3774
3823
  render() {
@@ -3776,14 +3825,14 @@ const Ki = /* @__PURE__ */ N(class extends D {
3776
3825
  if (!this.fieldName)
3777
3826
  return;
3778
3827
  const r = (a = this.facetRoot) == null ? void 0 : a[this.fieldName];
3779
- return d("div", { class: I("filtersListContainer", "searchcraft-filters-list-container") }, !r && d("p", { class: "searchcraft-facet-message" }, "Enter a search to view facets."), r == null ? void 0 : r.map((n) => {
3828
+ return f("div", { class: I("filtersListContainer", "searchcraft-filters-list-container") }, !r && f("p", { class: "searchcraft-facet-message" }, "Enter a search to view facets."), r == null ? void 0 : r.map((n) => {
3780
3829
  var s;
3781
3830
  const o = n.children ? (s = n.children) == null ? void 0 : s.some((l) => this.selectedPaths[l.path]) : !1;
3782
- return d("div", { key: n.path, class: I("searchcraft-filters-list-item") }, d("label", { class: I("filterCheckboxLabel", "searchcraft-filters-list-checkbox-label") }, d("input", { checked: this.selectedPaths[n.path], onChange: (l) => this.handleCheckboxChange(n.path), type: "checkbox" }), o ? d("div", { class: I("dashContainer", "searchcraft-filter-list-dash-container") }, d("svg", { width: "14", height: "3", viewBox: "0 0 14 3", fill: "none" }, d("title", null, "Checkbox Dash"), d("line", { x1: "1.5", y1: "1.5", x2: "12.5", y2: "1.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" }))) : d("div", { class: I("checkContainer", "searchcraft-filter-list-check-container") }, d("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, d("title", null, "Checkbox Check"), d("path", { d: "M13.9999 2L5.74988 10L1.99988 6.36364", stroke: "white", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.formatLabel(n)), n.children && n.children.length > 0 && d(br, null, n.children.map((l) => d("label", { key: l.path, class: I("childFilterCheckboxLabel", "searchcraft-child-filter-checkbox-label"), style: {
3831
+ return f("div", { key: n.path, class: I("searchcraft-filters-list-item") }, f("label", { class: I("filterCheckboxLabel", "searchcraft-filters-list-checkbox-label") }, f("input", { checked: this.selectedPaths[n.path], onChange: (l) => this.handleCheckboxChange(n.path), type: "checkbox" }), o ? f("div", { class: I("dashContainer", "searchcraft-filter-list-dash-container") }, f("svg", { width: "14", height: "3", viewBox: "0 0 14 3", fill: "none" }, f("title", null, "Checkbox Dash"), f("line", { x1: "1.5", y1: "1.5", x2: "12.5", y2: "1.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" }))) : f("div", { class: I("checkContainer", "searchcraft-filter-list-check-container") }, f("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, f("title", null, "Checkbox Check"), f("path", { d: "M13.9999 2L5.74988 10L1.99988 6.36364", stroke: "white", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.formatLabel(n)), n.children && n.children.length > 0 && f(vr, null, n.children.map((l) => f("label", { key: l.path, class: I("childFilterCheckboxLabel", "searchcraft-child-filter-checkbox-label"), style: {
3783
3832
  display: this.selectedPaths[n.path] ? "flex" : "none"
3784
- } }, d("input", { checked: this.selectedPaths[l.path], onChange: (u) => {
3833
+ } }, f("input", { checked: this.selectedPaths[l.path], onChange: (u) => {
3785
3834
  this.handleCheckboxChange(l.path);
3786
- }, type: "checkbox" }), d("div", { class: I("checkContainer", "searchcraft-filter-list-check-container") }, d("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, d("title", null, "Checkbox Check"), d("path", { d: "M13.9999 2L5.74988 10L1.99988 6.36364", stroke: "white", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.formatSubLabel(l, n)))));
3835
+ }, type: "checkbox" }), f("div", { class: I("checkContainer", "searchcraft-filter-list-check-container") }, f("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, f("title", null, "Checkbox Check"), f("path", { d: "M13.9999 2L5.74988 10L1.99988 6.36364", stroke: "white", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.formatSubLabel(l, n)))));
3787
3836
  }));
3788
3837
  }
3789
3838
  }, [0, "searchcraft-facet-list", {
@@ -3798,18 +3847,18 @@ const Ki = /* @__PURE__ */ N(class extends D {
3798
3847
  lastSortType: [32],
3799
3848
  unsubscribe: [32]
3800
3849
  }]);
3801
- function vs() {
3850
+ function ys() {
3802
3851
  if (typeof customElements > "u")
3803
3852
  return;
3804
3853
  ["searchcraft-facet-list"].forEach((t) => {
3805
3854
  switch (t) {
3806
3855
  case "searchcraft-facet-list":
3807
- customElements.get(t) || customElements.define(t, Ki);
3856
+ customElements.get(t) || customElements.define(t, Xi);
3808
3857
  break;
3809
3858
  }
3810
3859
  });
3811
3860
  }
3812
- const Xi = vs, Ji = /* @__PURE__ */ N(class extends D {
3861
+ const Ji = ys, Zi = /* @__PURE__ */ N(class extends D {
3813
3862
  constructor() {
3814
3863
  super();
3815
3864
  /**
@@ -3823,7 +3872,7 @@ const Xi = vs, Ji = /* @__PURE__ */ N(class extends D {
3823
3872
  /**
3824
3873
  * The granularity that the value must adhere to.
3825
3874
  */
3826
- h(this, "granularity", hs("month"));
3875
+ h(this, "granularity", ds("month"));
3827
3876
  /** The type of data allowed. */
3828
3877
  h(this, "dataType", "number");
3829
3878
  h(this, "endValue", this.max);
@@ -3848,17 +3897,17 @@ const Xi = vs, Ji = /* @__PURE__ */ N(class extends D {
3848
3897
  const a = r.target, n = Number.parseInt(a.value, 10);
3849
3898
  this.lastFocusedHandle = "max", n >= this.startValue ? (this.endValue = n, this.emitUpdate()) : (this.endValue = this.startValue, a.value = `${this.startValue}`);
3850
3899
  });
3851
- this.__registerHost(), this.rangeChanged = Re(this, "rangeChanged");
3900
+ this.__registerHost(), this.rangeChanged = Ce(this, "rangeChanged");
3852
3901
  }
3853
3902
  componentDidLoad() {
3854
3903
  this.startValue = this.min, this.endValue = this.max;
3855
3904
  }
3856
3905
  render() {
3857
3906
  const r = this.min, a = this.max, n = (this.startValue - r) / (a - r) * 100, o = (this.endValue - r) / (a - r) * 100, s = this.dataType === "number" ? this.startValue : new Date(this.startValue).getFullYear(), l = this.dataType === "number" ? this.endValue : new Date(this.endValue).getFullYear();
3858
- return d("div", { key: "ec4a36e1ce6534b7c077114086d759e0b1e7a24e", class: "searchcraft-slider-container" }, d("div", { key: "35487cbeaeeb23052631804704645ca929340f70", class: "searchcraft-slider-range-container" }, d("div", { key: "186e699def8e7a6e58e8ad5f04953ac1c6584344", class: "searchcraft-slider-active-range", style: {
3907
+ return f("div", { key: "ec4a36e1ce6534b7c077114086d759e0b1e7a24e", class: "searchcraft-slider-container" }, f("div", { key: "35487cbeaeeb23052631804704645ca929340f70", class: "searchcraft-slider-range-container" }, f("div", { key: "186e699def8e7a6e58e8ad5f04953ac1c6584344", class: "searchcraft-slider-active-range", style: {
3859
3908
  left: `${n}%`,
3860
3909
  width: `${o - n}%`
3861
- } }), d("input", { key: "97638e2a1471888c2be47f7526e9dd98fea58683", class: I("searchcraft-slider-input", "searchcraft-slider-input-min-handle"), max: this.max, min: this.min, onInput: this.handleStartValueChange.bind(this), step: this.granularity, style: { zIndex: this.lastFocusedHandle === "min" ? "2" : "1" }, type: "range", value: this.startValue }), d("input", { key: "db2abded80b606d17bde1677e4acc09a85e6e20e", class: I("searchcraft-slider-input", "searchcraft-slider-input-max-handle"), max: this.max, min: this.min, onInput: this.handleEndValueChange.bind(this), step: this.granularity, style: { zIndex: this.lastFocusedHandle === "max" ? "2" : "1" }, type: "range", value: this.endValue })), d("div", { key: "83954b6955a872a17377d506d2d8458059acac03", class: "searchcraft-slider-label-container" }, d("span", { key: "b5315b4438385ecf5df3f76579fdf102b6a8c39c", class: "searchcraft-slider-label" }, s), d("span", { key: "875094ac7ee69e04c3a16407388dd27f167b3c8f", class: "searchcraft-slider-label" }, l)));
3910
+ } }), f("input", { key: "97638e2a1471888c2be47f7526e9dd98fea58683", class: I("searchcraft-slider-input", "searchcraft-slider-input-min-handle"), max: this.max, min: this.min, onInput: this.handleStartValueChange.bind(this), step: this.granularity, style: { zIndex: this.lastFocusedHandle === "min" ? "2" : "1" }, type: "range", value: this.startValue }), f("input", { key: "db2abded80b606d17bde1677e4acc09a85e6e20e", class: I("searchcraft-slider-input", "searchcraft-slider-input-max-handle"), max: this.max, min: this.min, onInput: this.handleEndValueChange.bind(this), step: this.granularity, style: { zIndex: this.lastFocusedHandle === "max" ? "2" : "1" }, type: "range", value: this.endValue })), f("div", { key: "83954b6955a872a17377d506d2d8458059acac03", class: "searchcraft-slider-label-container" }, f("span", { key: "b5315b4438385ecf5df3f76579fdf102b6a8c39c", class: "searchcraft-slider-label" }, s), f("span", { key: "875094ac7ee69e04c3a16407388dd27f167b3c8f", class: "searchcraft-slider-label" }, l)));
3862
3911
  }
3863
3912
  }, [0, "searchcraft-slider", {
3864
3913
  max: [2],
@@ -3869,18 +3918,18 @@ const Xi = vs, Ji = /* @__PURE__ */ N(class extends D {
3869
3918
  startValue: [32],
3870
3919
  lastFocusedHandle: [32]
3871
3920
  }]);
3872
- function ys() {
3921
+ function Ss() {
3873
3922
  if (typeof customElements > "u")
3874
3923
  return;
3875
3924
  ["searchcraft-slider"].forEach((t) => {
3876
3925
  switch (t) {
3877
3926
  case "searchcraft-slider":
3878
- customElements.get(t) || customElements.define(t, Ji);
3927
+ customElements.get(t) || customElements.define(t, Zi);
3879
3928
  break;
3880
3929
  }
3881
3930
  });
3882
3931
  }
3883
- const Zi = /* @__PURE__ */ N(class extends D {
3932
+ const ec = /* @__PURE__ */ N(class extends D {
3884
3933
  constructor() {
3885
3934
  super();
3886
3935
  /**
@@ -3902,7 +3951,7 @@ const Zi = /* @__PURE__ */ N(class extends D {
3902
3951
  var r;
3903
3952
  this.isActive = !this.isActive, (r = this.toggleUpdated) == null || r.emit(this.isActive);
3904
3953
  });
3905
- this.__registerHost(), this.toggleUpdated = Re(this, "toggleUpdated");
3954
+ this.__registerHost(), this.toggleUpdated = Ce(this, "toggleUpdated");
3906
3955
  }
3907
3956
  connectedCallback() {
3908
3957
  this.unsubscribe = _.subscribe((r) => {
@@ -3914,9 +3963,9 @@ const Zi = /* @__PURE__ */ N(class extends D {
3914
3963
  (r = this.unsubscribe) == null || r.call(this);
3915
3964
  }
3916
3965
  render() {
3917
- return d("div", { key: "25f3acd2b5dd6837182c8f07c092c54c35542c2f", class: "searchcraft-toggle-button-container" }, d("div", { key: "d2951f2673af55159ad6f39d381d272a3f9f872b" }, d("p", { key: "2468e261d46b454ce896b614ca2a076d27a31a8b", class: "searchcraft-toggle-button-label" }, this.label), this.subLabel && d("p", { key: "1d9887dc12f30fb1982cf0d8a692ebfeca8edc1a", class: "searchcraft-toggle-button-sub-label" }, this.subLabel)), d("button", { key: "f51bb553d6b210233aa6ebfc4318aa521036d922", class: I("searchcraft-toggle-button-background", {
3966
+ return f("div", { key: "25f3acd2b5dd6837182c8f07c092c54c35542c2f", class: "searchcraft-toggle-button-container" }, f("div", { key: "d2951f2673af55159ad6f39d381d272a3f9f872b" }, f("p", { key: "2468e261d46b454ce896b614ca2a076d27a31a8b", class: "searchcraft-toggle-button-label" }, this.label), this.subLabel && f("p", { key: "1d9887dc12f30fb1982cf0d8a692ebfeca8edc1a", class: "searchcraft-toggle-button-sub-label" }, this.subLabel)), f("button", { key: "f51bb553d6b210233aa6ebfc4318aa521036d922", class: I("searchcraft-toggle-button-background", {
3918
3967
  active: this.isActive
3919
- }), onClick: this.handleToggle, type: "button" }, d("div", { key: "a34339f1bb5ab4742d897b01b61fe6c8c23e7e1e", class: I("searchcraft-toggle-button-handle", {
3968
+ }), onClick: this.handleToggle, type: "button" }, f("div", { key: "a34339f1bb5ab4742d897b01b61fe6c8c23e7e1e", class: I("searchcraft-toggle-button-handle", {
3920
3969
  active: this.isActive
3921
3970
  }) })));
3922
3971
  }
@@ -3927,18 +3976,18 @@ const Zi = /* @__PURE__ */ N(class extends D {
3927
3976
  unsubscribe: [32],
3928
3977
  lastSearchTerm: [32]
3929
3978
  }]);
3930
- function Ss() {
3979
+ function ws() {
3931
3980
  if (typeof customElements > "u")
3932
3981
  return;
3933
3982
  ["searchcraft-toggle-button"].forEach((t) => {
3934
3983
  switch (t) {
3935
3984
  case "searchcraft-toggle-button":
3936
- customElements.get(t) || customElements.define(t, Zi);
3985
+ customElements.get(t) || customElements.define(t, ec);
3937
3986
  break;
3938
3987
  }
3939
3988
  });
3940
3989
  }
3941
- const ws = /* @__PURE__ */ N(class extends D {
3990
+ const Es = /* @__PURE__ */ N(class extends D {
3942
3991
  constructor() {
3943
3992
  super();
3944
3993
  /**
@@ -3988,35 +4037,35 @@ const ws = /* @__PURE__ */ N(class extends D {
3988
4037
  * Iterate through `items` and render them based on `type`
3989
4038
  */
3990
4039
  render() {
3991
- return d("div", { key: "73ca2e0efab911c5095c23ba33e85a26cc440b4a", class: "searchcraft-filter-panel" }, this.items.map((r) => {
4040
+ return f("div", { key: "73ca2e0efab911c5095c23ba33e85a26cc440b4a", class: "searchcraft-filter-panel" }, this.items.map((r) => {
3992
4041
  switch (r.type) {
3993
4042
  case "dateRange": {
3994
- const a = r, n = new Date(a.options.minDate).getTime(), o = new Date(a.options.maxDate).getTime(), s = hs(a.options.granularity);
3995
- return d("div", { class: "searchcraft-filter-panel-section" }, d("p", { class: "searchcraft-filter-panel-label" }, r.label), d("searchcraft-slider", { min: n, max: o, granularity: s, dataType: "date", onRangeChanged: (l) => {
4043
+ const a = r, n = new Date(a.options.minDate).getTime(), o = new Date(a.options.maxDate).getTime(), s = ds(a.options.granularity);
4044
+ return f("div", { class: "searchcraft-filter-panel-section" }, f("p", { class: "searchcraft-filter-panel-label" }, r.label), f("searchcraft-slider", { min: n, max: o, granularity: s, dataType: "date", onRangeChanged: (l) => {
3996
4045
  this.handleDateRangeChanged(a.fieldName, l.detail.startValue, l.detail.endValue);
3997
4046
  } }));
3998
4047
  }
3999
4048
  case "numericRange": {
4000
4049
  const a = r;
4001
- return d("div", { class: "searchcraft-filter-panel-section" }, d("p", { class: "searchcraft-filter-panel-label" }, r.label), d("searchcraft-slider", { min: a.options.min, max: a.options.max, granularity: a.options.granularity, onRangeChanged: (n) => {
4050
+ return f("div", { class: "searchcraft-filter-panel-section" }, f("p", { class: "searchcraft-filter-panel-label" }, r.label), f("searchcraft-slider", { min: a.options.min, max: a.options.max, granularity: a.options.granularity, onRangeChanged: (n) => {
4002
4051
  this.handleNumericRangeChanged(a.fieldName, n.detail.startValue, n.detail.endValue);
4003
4052
  } }));
4004
4053
  }
4005
4054
  case "facets": {
4006
4055
  const a = r;
4007
- return d("div", { class: "searchcraft-filter-panel-section" }, d("p", { class: "searchcraft-filter-panel-label" }, r.label), d("searchcraft-facet-list", { fieldName: a.fieldName, onFacetSelectionUpdated: (n) => {
4056
+ return f("div", { class: "searchcraft-filter-panel-section" }, f("p", { class: "searchcraft-filter-panel-label" }, r.label), f("searchcraft-facet-list", { fieldName: a.fieldName, onFacetSelectionUpdated: (n) => {
4008
4057
  this.handleFacetSelectionUpdated(a.fieldName, n.detail.paths);
4009
4058
  } }));
4010
4059
  }
4011
4060
  case "exactMatchToggle": {
4012
4061
  const a = r;
4013
- return d("searchcraft-toggle-button", { label: a.label, subLabel: a.options.subLabel, onToggleUpdated: (n) => {
4062
+ return f("searchcraft-toggle-button", { label: a.label, subLabel: a.options.subLabel, onToggleUpdated: (n) => {
4014
4063
  this.handleExactMatchToggleUpdated(n.detail);
4015
4064
  } });
4016
4065
  }
4017
4066
  case "mostRecentToggle": {
4018
4067
  const a = r;
4019
- return d("searchcraft-toggle-button", { label: a.label, subLabel: a.options.subLabel, onToggleUpdated: (n) => {
4068
+ return f("searchcraft-toggle-button", { label: a.label, subLabel: a.options.subLabel, onToggleUpdated: (n) => {
4020
4069
  this.handleMostRecentToggleUpdated(n.detail);
4021
4070
  } });
4022
4071
  }
@@ -4028,27 +4077,27 @@ const ws = /* @__PURE__ */ N(class extends D {
4028
4077
  unsubscribe: [32],
4029
4078
  lastSearchTerm: [32]
4030
4079
  }]);
4031
- function ec() {
4080
+ function tc() {
4032
4081
  if (typeof customElements > "u")
4033
4082
  return;
4034
4083
  ["searchcraft-filter-panel", "searchcraft-facet-list", "searchcraft-slider", "searchcraft-toggle-button"].forEach((t) => {
4035
4084
  switch (t) {
4036
4085
  case "searchcraft-filter-panel":
4037
- customElements.get(t) || customElements.define(t, ws);
4086
+ customElements.get(t) || customElements.define(t, Es);
4038
4087
  break;
4039
4088
  case "searchcraft-facet-list":
4040
- customElements.get(t) || vs();
4089
+ customElements.get(t) || ys();
4041
4090
  break;
4042
4091
  case "searchcraft-slider":
4043
- customElements.get(t) || ys();
4092
+ customElements.get(t) || Ss();
4044
4093
  break;
4045
4094
  case "searchcraft-toggle-button":
4046
- customElements.get(t) || Ss();
4095
+ customElements.get(t) || ws();
4047
4096
  break;
4048
4097
  }
4049
4098
  });
4050
4099
  }
4051
- const tc = ws, Es = ec, rc = /* @__PURE__ */ N(class extends D {
4100
+ const rc = Es, Rs = tc, ac = /* @__PURE__ */ N(class extends D {
4052
4101
  constructor() {
4053
4102
  super();
4054
4103
  /**
@@ -4059,24 +4108,24 @@ const tc = ws, Es = ec, rc = /* @__PURE__ */ N(class extends D {
4059
4108
  this.__registerHost();
4060
4109
  }
4061
4110
  render() {
4062
- return d("label", { key: "528396d4be9f22ff0c02d95d8bcea056576aed41", class: I("searchcraft-input-label", this.inputLabelClassName), htmlFor: "searchcraft-input-id" }, this.label);
4111
+ return f("label", { key: "528396d4be9f22ff0c02d95d8bcea056576aed41", class: I("searchcraft-input-label", this.inputLabelClassName), htmlFor: "searchcraft-input-id" }, this.label);
4063
4112
  }
4064
4113
  }, [0, "searchcraft-input-label", {
4065
4114
  inputLabelClassName: [1, "input-label-class-name"],
4066
4115
  label: [1]
4067
4116
  }]);
4068
- function kr() {
4117
+ function Tr() {
4069
4118
  if (typeof customElements > "u")
4070
4119
  return;
4071
4120
  ["searchcraft-input-label"].forEach((t) => {
4072
4121
  switch (t) {
4073
4122
  case "searchcraft-input-label":
4074
- customElements.get(t) || customElements.define(t, rc);
4123
+ customElements.get(t) || customElements.define(t, ac);
4075
4124
  break;
4076
4125
  }
4077
4126
  });
4078
4127
  }
4079
- const Rs = /* @__PURE__ */ N(class extends D {
4128
+ const Cs = /* @__PURE__ */ N(class extends D {
4080
4129
  constructor() {
4081
4130
  super();
4082
4131
  /**
@@ -4140,7 +4189,7 @@ const Rs = /* @__PURE__ */ N(class extends D {
4140
4189
  h(this, "handleFormSubmit", async (r) => {
4141
4190
  r.preventDefault(), await this.performSearch(this.searchTerm);
4142
4191
  });
4143
- this.__registerHost(), this.inputFocus = Re(this, "inputFocus"), this.inputBlur = Re(this, "inputBlur"), this.inputInit = Re(this, "inputInit");
4192
+ this.__registerHost(), this.inputFocus = Ce(this, "inputFocus"), this.inputBlur = Ce(this, "inputBlur"), this.inputInit = Ce(this, "inputInit");
4144
4193
  }
4145
4194
  init() {
4146
4195
  var r;
@@ -4153,14 +4202,14 @@ const Rs = /* @__PURE__ */ N(class extends D {
4153
4202
  this.init();
4154
4203
  }
4155
4204
  render() {
4156
- const r = ct(this.customStyles), a = this.inputValue.length > 0, n = I("searchcraft-input-grid", {
4205
+ const r = lt(this.customStyles), a = this.inputValue.length > 0, n = I("searchcraft-input-grid", {
4157
4206
  "searchcraft-input-grid-buttonLeft": this.buttonPlacement === "left",
4158
4207
  "searchcraft-input-grid-buttonRight": this.buttonPlacement === "right",
4159
4208
  "searchcraft-input-grid-buttonNone": this.buttonPlacement === "none"
4160
4209
  }), s = {
4161
4210
  gap: this.inputLabel || this.error ? "4px 8px" : "0px 8px"
4162
4211
  };
4163
- return d("form", { key: "f08b30d8688e110230c99dbdc0b08aaa259680d1", class: "searchcraft-input-form", onSubmit: this.handleFormSubmit }, d("div", { key: "32e8cbea58acd0d1e8b14a3ca7363f648df052f1", class: n, style: s }, d("div", { key: "769484880d0228a5b865fad2c83e6537ae55686a", class: "searchcraft-input-button-wrapper" }, d("searchcraft-button", { key: "75902602813c266d77c038d106f5a033ff64c477", onButtonClick: this.handleFormSubmit, label: this.buttonLabel })), this.inputLabel && d("div", { key: "356356b1eac93b52f8622c9c2f414fe76b70e0fe", class: "searchcraft-input-label-wrapper" }, d("searchcraft-input-label", { key: "4c5a680712b8d26a6326dde48223317b690e7a30", label: this.inputLabel })), this.error && d("div", { key: "e2275fe0907d60e13ac3cb6b2a23e0872c475eb3", class: "searchcraft-input-error-wrapper" }, d("searchcraft-error-message", { key: "26e7ffbe8fe43f3f5340176e68cf7763d71c4eab", errorMessage: "Something went wrong." })), d("div", { key: "cfc0d53d4ec644fd453fe39b3091986d9abf2b49", class: "searchcraft-input-wrapper" }, d("input", { key: "44dcf30e32dcf4de2aeb5c64d445db468fde605b", autoComplete: "off", class: "searchcraft-input", onFocus: () => {
4212
+ return f("form", { key: "f08b30d8688e110230c99dbdc0b08aaa259680d1", class: "searchcraft-input-form", onSubmit: this.handleFormSubmit }, f("div", { key: "32e8cbea58acd0d1e8b14a3ca7363f648df052f1", class: n, style: s }, f("div", { key: "769484880d0228a5b865fad2c83e6537ae55686a", class: "searchcraft-input-button-wrapper" }, f("searchcraft-button", { key: "75902602813c266d77c038d106f5a033ff64c477", onButtonClick: this.handleFormSubmit, label: this.buttonLabel })), this.inputLabel && f("div", { key: "356356b1eac93b52f8622c9c2f414fe76b70e0fe", class: "searchcraft-input-label-wrapper" }, f("searchcraft-input-label", { key: "4c5a680712b8d26a6326dde48223317b690e7a30", label: this.inputLabel })), this.error && f("div", { key: "e2275fe0907d60e13ac3cb6b2a23e0872c475eb3", class: "searchcraft-input-error-wrapper" }, f("searchcraft-error-message", { key: "26e7ffbe8fe43f3f5340176e68cf7763d71c4eab", errorMessage: "Something went wrong." })), f("div", { key: "cfc0d53d4ec644fd453fe39b3091986d9abf2b49", class: "searchcraft-input-wrapper" }, f("input", { key: "44dcf30e32dcf4de2aeb5c64d445db468fde605b", autoComplete: "off", class: "searchcraft-input", onFocus: () => {
4164
4213
  var l;
4165
4214
  return (l = this.inputFocus) == null ? void 0 : l.emit();
4166
4215
  }, onBlur: () => {
@@ -4168,7 +4217,7 @@ const Rs = /* @__PURE__ */ N(class extends D {
4168
4217
  return (l = this.inputBlur) == null ? void 0 : l.emit();
4169
4218
  }, onInput: (l) => {
4170
4219
  this.handleOnInput(l);
4171
- }, placeholder: this.placeholderValue, style: r, type: "text", value: this.inputValue }), d("div", { key: "a510ee45c5c1fcd8991220dcaed42bdbcef39b49", class: "searchcraft-input-search-icon-wrapper" }, d("svg", { key: "5dc9bc129a7f550f400aa23b09b38df7aa412821", class: "searchcraft-input-search-icon", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "searchcraft-title" }, d("title", { key: "af9c2cb95db7d1f182d4312bccefa97ac95e06aa", id: "searchcraft-title" }, "Searchcraft Search Icon Light"), d("path", { key: "c2e8b250f1113670cb2435664a57725563d34efd", 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" }))), a && d("button", { key: "0630c1533ab1c9654e9e984a1194759dec2ab535", type: "button", class: "searchcraft-input-clear-button", onClick: this.handleClearInput }, d("svg", { key: "052abaa409746a98ee94e09e87e5345c05687dba", class: "searchcraft-input-clear-icon", viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "icon-title" }, d("title", { key: "795d7435b5cac2069063a6e6bf40868ddba76516", id: "icon-title" }, "Searchcraft Clear Input Icon Light"), d("path", { key: "29be529ce60d62136bde73baa2600f3664479c7f", 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" }))))));
4220
+ }, placeholder: this.placeholderValue, style: r, type: "text", value: this.inputValue }), f("div", { key: "a510ee45c5c1fcd8991220dcaed42bdbcef39b49", class: "searchcraft-input-search-icon-wrapper" }, f("svg", { key: "5dc9bc129a7f550f400aa23b09b38df7aa412821", class: "searchcraft-input-search-icon", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "searchcraft-title" }, f("title", { key: "af9c2cb95db7d1f182d4312bccefa97ac95e06aa", id: "searchcraft-title" }, "Searchcraft Search Icon Light"), f("path", { key: "c2e8b250f1113670cb2435664a57725563d34efd", 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" }))), a && f("button", { key: "0630c1533ab1c9654e9e984a1194759dec2ab535", type: "button", class: "searchcraft-input-clear-button", onClick: this.handleClearInput }, f("svg", { key: "052abaa409746a98ee94e09e87e5345c05687dba", class: "searchcraft-input-clear-icon", viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": "icon-title" }, f("title", { key: "795d7435b5cac2069063a6e6bf40868ddba76516", id: "icon-title" }, "Searchcraft Clear Input Icon Light"), f("path", { key: "29be529ce60d62136bde73baa2600f3664479c7f", 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" }))))));
4172
4221
  }
4173
4222
  static get watchers() {
4174
4223
  return {
@@ -4189,27 +4238,27 @@ const Rs = /* @__PURE__ */ N(class extends D {
4189
4238
  }, void 0, {
4190
4239
  core: ["onCoreChange"]
4191
4240
  }]);
4192
- function Cs() {
4241
+ function Ps() {
4193
4242
  if (typeof customElements > "u")
4194
4243
  return;
4195
4244
  ["searchcraft-input-form", "searchcraft-button", "searchcraft-error-message", "searchcraft-input-label"].forEach((t) => {
4196
4245
  switch (t) {
4197
4246
  case "searchcraft-input-form":
4198
- customElements.get(t) || customElements.define(t, Rs);
4247
+ customElements.get(t) || customElements.define(t, Cs);
4199
4248
  break;
4200
4249
  case "searchcraft-button":
4201
- customElements.get(t) || Lt();
4250
+ customElements.get(t) || Ot();
4202
4251
  break;
4203
4252
  case "searchcraft-error-message":
4204
- customElements.get(t) || Mt();
4253
+ customElements.get(t) || Lt();
4205
4254
  break;
4206
4255
  case "searchcraft-input-label":
4207
- customElements.get(t) || kr();
4256
+ customElements.get(t) || Tr();
4208
4257
  break;
4209
4258
  }
4210
4259
  });
4211
4260
  }
4212
- const ac = Rs, ks = Cs, sc = kr, Ps = /* @__PURE__ */ N(class extends D {
4261
+ const sc = Cs, Ts = Ps, nc = Tr, ks = /* @__PURE__ */ N(class extends D {
4213
4262
  constructor() {
4214
4263
  super();
4215
4264
  /**
@@ -4245,27 +4294,27 @@ const ac = Rs, ks = Cs, sc = kr, Ps = /* @__PURE__ */ N(class extends D {
4245
4294
  this.setSearchResultsPage(r);
4246
4295
  }
4247
4296
  renderOddPaginationItem(r) {
4248
- return d("li", null, d("button", { class: I("searchcraft-pagination-item", {
4297
+ return f("li", null, f("button", { class: I("searchcraft-pagination-item", {
4249
4298
  "searchcraft-pagination-item-active": this.searchResultsPage === r
4250
4299
  }), onClick: () => this.handleGoToPage(r), type: "button" }, r));
4251
4300
  }
4252
4301
  renderEvenPaginationItem(r) {
4253
4302
  if (!(this.searchResultsPagesCount <= r))
4254
- return (this.searchResultsPagesCount <= 5 || r < Math.ceil(this.searchResultsPagesCount / 2) ? this.searchResultsPage <= r + 1 : this.searchResultsPage >= r - 1) ? d("li", null, d("button", { class: I("searchcraft-pagination-item", {
4303
+ return (this.searchResultsPagesCount <= 5 || r < Math.ceil(this.searchResultsPagesCount / 2) ? this.searchResultsPage <= r + 1 : this.searchResultsPage >= r - 1) ? f("li", null, f("button", { class: I("searchcraft-pagination-item", {
4255
4304
  "searchcraft-pagination-item-active": this.searchResultsPage === r
4256
- }), onClick: () => this.handleGoToPage(r), type: "button" }, r)) : d("li", null, d("span", { class: "searchcraft-pagination-item" }, "..."));
4305
+ }), onClick: () => this.handleGoToPage(r), type: "button" }, r)) : f("li", null, f("span", { class: "searchcraft-pagination-item" }, "..."));
4257
4306
  }
4258
4307
  renderMiddlePaginationItem() {
4259
4308
  if (!(this.searchResultsPagesCount <= 3))
4260
- return this.searchResultsPagesCount <= 5 || this.searchResultsPage <= 3 || this.searchResultsPage >= this.searchResultsPagesCount - 2 ? d("li", null, d("button", { class: I("searchcraft-pagination-item", {
4309
+ return this.searchResultsPagesCount <= 5 || this.searchResultsPage <= 3 || this.searchResultsPage >= this.searchResultsPagesCount - 2 ? f("li", null, f("button", { class: I("searchcraft-pagination-item", {
4261
4310
  "searchcraft-pagination-item-active": this.searchResultsPage === 3 || this.searchResultsPage === this.searchResultsPagesCount - 2
4262
- }), type: "button", onClick: () => this.handleGoToPage(this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3) }, this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3)) : d("li", null, d("span", { class: "searchcraft-pagination-item searchcraft-pagination-item-active" }, this.searchResultsPage));
4311
+ }), type: "button", onClick: () => this.handleGoToPage(this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3) }, this.searchResultsPage >= this.searchResultsPagesCount - 2 ? this.searchResultsPagesCount - 2 : 3)) : f("li", null, f("span", { class: "searchcraft-pagination-item searchcraft-pagination-item-active" }, this.searchResultsPage));
4263
4312
  }
4264
4313
  render() {
4265
4314
  if (!(!this.searchTerm || this.searchResultsPagesCount <= 1))
4266
- return d("div", { class: I("searchcraft-pagination", ct(this.customStyles || {})) }, d("div", { class: "searchcraft-pagination-control" }, d("searchcraft-button", { disabled: this.searchResultsPage === 1, hierarchy: "tertiary", onButtonClick: () => this.handleGoToPage(Math.max(1, this.searchResultsPage - 1)), label: "Previous", iconPosition: "left", icon: d("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, d("title", null, "Previous page icon"), d("path", { d: "M12.5 15L7.5 10L12.5 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), iconOnly: !0 })), d("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)), d("div", { class: "searchcraft-pagination-control" }, d("searchcraft-button", { disabled: this.searchResultsPage === this.searchResultsPagesCount, hierarchy: "tertiary", onButtonClick: () => {
4315
+ return f("div", { class: I("searchcraft-pagination", lt(this.customStyles || {})) }, f("div", { class: "searchcraft-pagination-control" }, f("searchcraft-button", { disabled: this.searchResultsPage === 1, hierarchy: "tertiary", onButtonClick: () => this.handleGoToPage(Math.max(1, this.searchResultsPage - 1)), label: "Previous", iconPosition: "left", icon: f("svg", { class: "searchcraft-button-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, f("title", null, "Previous page icon"), f("path", { d: "M12.5 15L7.5 10L12.5 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), iconOnly: !0 })), f("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)), f("div", { class: "searchcraft-pagination-control" }, f("searchcraft-button", { disabled: this.searchResultsPage === this.searchResultsPagesCount, hierarchy: "tertiary", onButtonClick: () => {
4267
4316
  this.handleGoToPage(Math.min(this.searchResultsPagesCount, this.searchResultsPage + 1));
4268
- }, label: "Next", iconPosition: "right", icon: d("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, d("title", null, "Next page icon"), d("path", { d: "M7.5 15L12.5 10L7.5 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), iconOnly: !0 })));
4317
+ }, label: "Next", iconPosition: "right", icon: f("svg", { class: "searchcraft-button-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, f("title", null, "Next page icon"), f("path", { d: "M7.5 15L12.5 10L7.5 5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), iconOnly: !0 })));
4269
4318
  }
4270
4319
  }, [0, "searchcraft-pagination", {
4271
4320
  customStyles: [1, "custom-styles"],
@@ -4278,21 +4327,21 @@ const ac = Rs, ks = Cs, sc = kr, Ps = /* @__PURE__ */ N(class extends D {
4278
4327
  searchResultsRangeMax: [32],
4279
4328
  setSearchResultsPage: [32]
4280
4329
  }]);
4281
- function nc() {
4330
+ function oc() {
4282
4331
  if (typeof customElements > "u")
4283
4332
  return;
4284
4333
  ["searchcraft-pagination", "searchcraft-button"].forEach((t) => {
4285
4334
  switch (t) {
4286
4335
  case "searchcraft-pagination":
4287
- customElements.get(t) || customElements.define(t, Ps);
4336
+ customElements.get(t) || customElements.define(t, ks);
4288
4337
  break;
4289
4338
  case "searchcraft-button":
4290
- customElements.get(t) || Lt();
4339
+ customElements.get(t) || Ot();
4291
4340
  break;
4292
4341
  }
4293
4342
  });
4294
4343
  }
4295
- const oc = Ps, Ts = nc, xs = /* @__PURE__ */ N(class extends D {
4344
+ const ic = ks, xs = oc, $s = /* @__PURE__ */ N(class extends D {
4296
4345
  constructor() {
4297
4346
  super(), this.__registerHost();
4298
4347
  }
@@ -4300,21 +4349,21 @@ const oc = Ps, Ts = nc, xs = /* @__PURE__ */ N(class extends D {
4300
4349
  _.getState().setPopoverVisibility(!0);
4301
4350
  }
4302
4351
  render() {
4303
- return d("button", { key: "a8ee70b49a5309cfb1363a272ea0870c48c59688", type: "button", onClick: this.handleOnClick.bind(this) }, d("slot", { key: "9ac712ed1f6e69d73e7ade3d42501fb67a02c7ff" }));
4352
+ return f("button", { key: "a8ee70b49a5309cfb1363a272ea0870c48c59688", type: "button", onClick: this.handleOnClick.bind(this) }, f("slot", { key: "9ac712ed1f6e69d73e7ade3d42501fb67a02c7ff" }));
4304
4353
  }
4305
4354
  }, [4, "searchcraft-popover-button"]);
4306
- function ic() {
4355
+ function cc() {
4307
4356
  if (typeof customElements > "u")
4308
4357
  return;
4309
4358
  ["searchcraft-popover-button"].forEach((t) => {
4310
4359
  switch (t) {
4311
4360
  case "searchcraft-popover-button":
4312
- customElements.get(t) || customElements.define(t, xs);
4361
+ customElements.get(t) || customElements.define(t, $s);
4313
4362
  break;
4314
4363
  }
4315
4364
  });
4316
4365
  }
4317
- const cc = xs, $s = ic, lc = /* @__PURE__ */ N(class extends D {
4366
+ const lc = $s, _s = cc, uc = /* @__PURE__ */ N(class extends D {
4318
4367
  constructor() {
4319
4368
  super();
4320
4369
  h(this, "item");
@@ -4342,7 +4391,7 @@ const cc = xs, $s = ic, lc = /* @__PURE__ */ N(class extends D {
4342
4391
  }
4343
4392
  mapValuesFromDocument(r) {
4344
4393
  var a, n, o, s, l;
4345
- this.titleContent = ie(r, (a = this.popoverResultMappings) == null ? void 0 : a.title), this.subtitleContent = ie(r, (n = this.popoverResultMappings) == null ? void 0 : n.subtitle), this.href = ie(r, (o = this.popoverResultMappings) == null ? void 0 : o.href), this.imageSrc = ie(r, (s = this.popoverResultMappings) == null ? void 0 : s.imageSource), this.imageAlt = ie(r, (l = this.popoverResultMappings) == null ? void 0 : l.imageAlt);
4394
+ this.titleContent = ce(r, (a = this.popoverResultMappings) == null ? void 0 : a.title), this.subtitleContent = ce(r, (n = this.popoverResultMappings) == null ? void 0 : n.subtitle), this.href = ce(r, (o = this.popoverResultMappings) == null ? void 0 : o.href), this.imageSrc = ce(r, (s = this.popoverResultMappings) == null ? void 0 : s.imageSource), this.imageAlt = ce(r, (l = this.popoverResultMappings) == null ? void 0 : l.imageAlt);
4346
4395
  }
4347
4396
  connectedCallback() {
4348
4397
  this.item && this.mapValuesFromDocument(this.item.document);
@@ -4350,7 +4399,7 @@ const cc = xs, $s = ic, lc = /* @__PURE__ */ N(class extends D {
4350
4399
  disconnectedCallback() {
4351
4400
  }
4352
4401
  render() {
4353
- return d("a", { key: "870fae8c0019ea24d9ecd173a781a38e3b17f8de", class: "searchcraft-popover-list-item", href: this.href, onClick: this.handleLinkClick.bind(this) }, this.imageSrc && d("div", { key: "9e200a2be177fed7f6303fdc1ba466fc47817b5d", class: "searchcraft-popover-list-item-image-wrapper" }, d("img", { key: "22124b2856cd41220ac852a1fbc94cbf2a1cd9f9", alt: this.imageAlt, src: this.imageSrc, class: "searchcraft-popover-list-item-image" })), d("div", { key: "b3f0bb6784a36befd044e71798915994093177ab", class: "searchcraft-popover-list-item-info-wrapper" }, d("p", { key: "caa22a8d68b56814ee29498db48fe1c65d8d7644", class: "searchcraft-popover-list-item-title" }, this.titleContent), d("p", { key: "63e11be221d6f274855f7989b3a9dc4532c08e05", class: "searchcraft-popover-list-item-subtitle" }, this.subtitleContent)));
4402
+ return f("a", { key: "870fae8c0019ea24d9ecd173a781a38e3b17f8de", class: "searchcraft-popover-list-item", href: this.href, onClick: this.handleLinkClick.bind(this) }, this.imageSrc && f("div", { key: "9e200a2be177fed7f6303fdc1ba466fc47817b5d", class: "searchcraft-popover-list-item-image-wrapper" }, f("img", { key: "22124b2856cd41220ac852a1fbc94cbf2a1cd9f9", alt: this.imageAlt, src: this.imageSrc, class: "searchcraft-popover-list-item-image" })), f("div", { key: "b3f0bb6784a36befd044e71798915994093177ab", class: "searchcraft-popover-list-item-info-wrapper" }, f("p", { key: "caa22a8d68b56814ee29498db48fe1c65d8d7644", class: "searchcraft-popover-list-item-title" }, this.titleContent), f("p", { key: "63e11be221d6f274855f7989b3a9dc4532c08e05", class: "searchcraft-popover-list-item-subtitle" }, this.subtitleContent)));
4354
4403
  }
4355
4404
  }, [0, "searchcraft-popover-list-item", {
4356
4405
  item: [16],
@@ -4362,19 +4411,19 @@ const cc = xs, $s = ic, lc = /* @__PURE__ */ N(class extends D {
4362
4411
  titleContent: [32],
4363
4412
  subtitleContent: [32]
4364
4413
  }]);
4365
- function Pr() {
4414
+ function kr() {
4366
4415
  if (typeof customElements > "u")
4367
4416
  return;
4368
4417
  ["searchcraft-popover-list-item"].forEach((t) => {
4369
4418
  switch (t) {
4370
4419
  case "searchcraft-popover-list-item":
4371
- customElements.get(t) || customElements.define(t, lc);
4420
+ customElements.get(t) || customElements.define(t, uc);
4372
4421
  break;
4373
4422
  }
4374
4423
  });
4375
4424
  }
4376
- var Fa;
4377
- const uc = /* @__PURE__ */ N(class extends D {
4425
+ var Da;
4426
+ const hc = /* @__PURE__ */ N(class extends D {
4378
4427
  constructor() {
4379
4428
  super();
4380
4429
  /**
@@ -4389,46 +4438,46 @@ const uc = /* @__PURE__ */ N(class extends D {
4389
4438
  h(this, "adClientResponseItems");
4390
4439
  h(this, "searchResultsPage");
4391
4440
  h(this, "searchResultsPerPage");
4392
- h(this, "config", (Fa = _.getState().core) == null ? void 0 : Fa.config);
4441
+ h(this, "config", (Da = _.getState().core) == null ? void 0 : Da.config);
4393
4442
  this.__registerHost();
4394
4443
  }
4395
4444
  renderWithADMAds() {
4396
4445
  var r, a;
4397
- return d("div", { class: "searchcraft-popover-list-view" }, (r = this.adClientResponseItems) == null ? void 0 : r.map((n) => d("searchcraft-ad", { adClientResponseItem: n, adSource: "adMarketplace", key: n.id })), (a = this.searchClientResponseItems) == null ? void 0 : a.map((n, o) => d("searchcraft-popover-list-item", { item: n, key: n.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + o })));
4446
+ return f("div", { class: "searchcraft-popover-list-view" }, (r = this.adClientResponseItems) == null ? void 0 : r.map((n) => f("searchcraft-ad", { adClientResponseItem: n, adContainerId: te(), adSource: "adMarketplace", key: n.id })), (a = this.searchClientResponseItems) == null ? void 0 : a.map((n, o) => f("searchcraft-popover-list-item", { item: n, key: n.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + o })));
4398
4447
  }
4399
4448
  renderWithCustomAds() {
4400
4449
  var u, c, i, p;
4401
4450
  const r = [], a = ((u = this.config) == null ? void 0 : u.customAdInterstitialInterval) || 0, n = ((c = this.config) == null ? void 0 : c.customAdInterstitialQuantity) || 1, o = ((i = this.config) == null ? void 0 : i.customAdStartQuantity) || 0, s = ((p = this.config) == null ? void 0 : p.customAdEndQuantity) || 0, l = this.searchClientResponseItems || [];
4402
4451
  for (let m = 0; m < o; m++)
4403
- r.push(d("searchcraft-ad", { adSource: "Custom", key: `${m}-ad` }));
4452
+ r.push(f("searchcraft-ad", { adSource: "Custom", adContainerId: te(), key: `${m}-ad` }));
4404
4453
  l.forEach((m, v) => {
4405
4454
  if (a && v % a === 0 && v + a < l.length && v >= a)
4406
4455
  for (let b = 0; b < n; b++)
4407
- r.push(d("searchcraft-ad", { adSource: "Custom", key: `${m.id}-ad-${b}` }));
4408
- r.push(d("searchcraft-popover-list-item", { item: m, key: m.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + v }));
4456
+ r.push(f("searchcraft-ad", { adSource: "Custom", adContainerId: te(), key: `${m.id}-ad-${b}` }));
4457
+ r.push(f("searchcraft-popover-list-item", { item: m, key: m.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + v }));
4409
4458
  });
4410
4459
  for (let m = 0; m < s; m++)
4411
- r.push(d("searchcraft-ad", { adSource: "Custom", key: `${m}-ad` }));
4412
- return d("div", { class: "searchcraft-popover-list-view" }, r);
4460
+ r.push(f("searchcraft-ad", { adSource: "Custom", adContainerId: te(), key: `${m}-ad` }));
4461
+ return f("div", { class: "searchcraft-popover-list-view" }, r);
4413
4462
  }
4414
4463
  renderWithNativoAds() {
4415
4464
  var c, i, p, m, v;
4416
4465
  const r = [], a = ((c = this.config) == null ? void 0 : c.nativoAdInterstialStartIndex) || 0, n = ((i = this.config) == null ? void 0 : i.nativoAdInterstitialInterval) || 0, o = ((p = this.config) == null ? void 0 : p.nativoAdInterstitialQuantity) || 1, s = ((m = this.config) == null ? void 0 : m.nativoAdStartQuantity) || 0, l = ((v = this.config) == null ? void 0 : v.nativoAdEndQuantity) || 0, u = this.searchClientResponseItems || [];
4417
4466
  for (let b = 0; b < s; b++)
4418
- r.push(d("searchcraft-ad", { adSource: "Nativo", key: `${b}-ad` }));
4467
+ r.push(f("searchcraft-ad", { adSource: "Nativo", adContainerId: te(), key: `${b}-ad` }));
4419
4468
  u.forEach((b, $) => {
4420
4469
  if (n && ($ + a) % n === 0 && $ + n < u.length && $ >= n)
4421
4470
  for (let H = 0; H < o; H++)
4422
- r.push(d("searchcraft-ad", { adSource: "Nativo", key: `${b.id}-ad-${H}` }));
4423
- r.push(d("searchcraft-popover-list-item", { item: b, key: b.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + $ }));
4471
+ r.push(f("searchcraft-ad", { adSource: "Nativo", adContainerId: te(), key: `${b.id}-ad-${H}` }));
4472
+ r.push(f("searchcraft-popover-list-item", { item: b, key: b.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + $ }));
4424
4473
  });
4425
4474
  for (let b = 0; b < l; b++)
4426
- r.push(d("searchcraft-ad", { adSource: "Nativo", key: `${b}-ad` }));
4427
- return d("div", { class: "searchcraft-popover-list-view" }, r);
4475
+ r.push(f("searchcraft-ad", { adSource: "Nativo", adContainerId: te(), key: `${b}-ad` }));
4476
+ return f("div", { class: "searchcraft-popover-list-view" }, r);
4428
4477
  }
4429
4478
  renderWithNoAds() {
4430
4479
  var r;
4431
- return d("div", { class: "searchcraft-popover-list-view" }, (r = this.searchClientResponseItems) == null ? void 0 : r.map((a, n) => d("searchcraft-popover-list-item", { item: a, key: a.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + n })));
4480
+ return f("div", { class: "searchcraft-popover-list-view" }, (r = this.searchClientResponseItems) == null ? void 0 : r.map((a, n) => f("searchcraft-popover-list-item", { item: a, key: a.id, popoverResultMappings: this.popoverResultMappings, documentPosition: this.searchResultsPerPage * (this.searchResultsPage - 1) + n })));
4432
4481
  }
4433
4482
  render() {
4434
4483
  var r;
@@ -4450,24 +4499,24 @@ const uc = /* @__PURE__ */ N(class extends D {
4450
4499
  searchResultsPage: [2, "search-results-page"],
4451
4500
  searchResultsPerPage: [2, "search-results-per-page"]
4452
4501
  }]);
4453
- function _s() {
4502
+ function As() {
4454
4503
  if (typeof customElements > "u")
4455
4504
  return;
4456
4505
  ["searchcraft-popover-list-view", "searchcraft-ad", "searchcraft-popover-list-item"].forEach((t) => {
4457
4506
  switch (t) {
4458
4507
  case "searchcraft-popover-list-view":
4459
- customElements.get(t) || customElements.define(t, uc);
4508
+ customElements.get(t) || customElements.define(t, hc);
4460
4509
  break;
4461
4510
  case "searchcraft-ad":
4462
- customElements.get(t) || It();
4511
+ customElements.get(t) || Mt();
4463
4512
  break;
4464
4513
  case "searchcraft-popover-list-item":
4465
- customElements.get(t) || Pr();
4514
+ customElements.get(t) || kr();
4466
4515
  break;
4467
4516
  }
4468
4517
  });
4469
4518
  }
4470
- const As = /* @__PURE__ */ N(class extends D {
4519
+ const Is = /* @__PURE__ */ N(class extends D {
4471
4520
  constructor() {
4472
4521
  super();
4473
4522
  /**
@@ -4601,19 +4650,19 @@ const As = /* @__PURE__ */ N(class extends D {
4601
4650
  const r = this.hasResultsToShow && this.isFocused, a = I("searchcraft-popover-form searchcraft-popover-form-inline", {
4602
4651
  "searchcraft-popover-form-active": r
4603
4652
  });
4604
- return d("div", { class: a }, d("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this) }), r && d("div", { class: "searchcraft-popover-inline-wrapper-outer" }, d("div", { class: "searchcraft-popover-inline-wrapper-inner" }, d("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage }))));
4653
+ return f("div", { class: a }, f("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this) }), r && f("div", { class: "searchcraft-popover-inline-wrapper-outer" }, f("div", { class: "searchcraft-popover-inline-wrapper-inner" }, f("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage }))));
4605
4654
  }
4606
4655
  renderModalPopover() {
4607
4656
  if (this.isPopoverVisibleInState) {
4608
4657
  const r = I("searchcraft-popover-form", {
4609
4658
  "searchcraft-popover-form-active": this.hasResultsToShow
4610
4659
  });
4611
- return d("div", { class: "searchcraft-popover-form-modal" }, d("div", { class: "searchcraft-popover-form-modal-backdrop", onClick: this.handleModalBackdropClick }), d("div", { class: "searchcraft-popover-form-modal-inner" }, d("div", { class: r }, d("div", { class: "searchcraft-popover-form-input-wrapper" }, d("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), onInputInit: this.handleInputInit.bind(this) }), d("button", { type: "button", class: "searchcraft-popover-form-cancel-button", onClick: this.handleCancelButtonClick.bind(this) }, "Cancel")), this.hasResultsToShow && d("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage }))));
4660
+ return f("div", { class: "searchcraft-popover-form-modal" }, f("div", { class: "searchcraft-popover-form-modal-backdrop", onClick: this.handleModalBackdropClick }), f("div", { class: "searchcraft-popover-form-modal-inner" }, f("div", { class: r }, f("div", { class: "searchcraft-popover-form-input-wrapper" }, f("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), onInputInit: this.handleInputInit.bind(this) }), f("button", { type: "button", class: "searchcraft-popover-form-cancel-button", onClick: this.handleCancelButtonClick.bind(this) }, "Cancel")), this.hasResultsToShow && f("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage }))));
4612
4661
  }
4613
4662
  }
4614
4663
  renderFullscreenPopover() {
4615
4664
  if (this.isPopoverVisibleInState)
4616
- return d("div", { class: "searchcraft-popover-form-fullscreen" }, d("div", { class: "searchcraft-popover-form" }, d("div", { class: "searchcraft-popover-form-input-wrapper" }, d("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), onInputInit: this.handleInputInit.bind(this) }), d("button", { type: "button", class: "searchcraft-popover-form-cancel-button", onClick: this.handleCancelButtonClick.bind(this) }, "Cancel")), this.hasResultsToShow && d("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage })));
4665
+ return f("div", { class: "searchcraft-popover-form-fullscreen" }, f("div", { class: "searchcraft-popover-form" }, f("div", { class: "searchcraft-popover-form-input-wrapper" }, f("searchcraft-input-form", { onInputFocus: this.handleInputFocus.bind(this), onInputInit: this.handleInputInit.bind(this) }), f("button", { type: "button", class: "searchcraft-popover-form-cancel-button", onClick: this.handleCancelButtonClick.bind(this) }, "Cancel")), this.hasResultsToShow && f("searchcraft-popover-list-view", { popoverResultMappings: this.popoverResultMappings, searchClientResponseItems: this.searchClientResponseItems, adClientResponseItems: this.adClientResponseItems, searchResultsPage: this.searchResultsPage, searchResultsPerPage: this.searchResultsPerPage })));
4617
4666
  }
4618
4667
  render() {
4619
4668
  switch (this.type) {
@@ -4643,42 +4692,42 @@ const As = /* @__PURE__ */ N(class extends D {
4643
4692
  searchResultsPerPage: [32],
4644
4693
  modalElement: [32]
4645
4694
  }]);
4646
- function Is() {
4695
+ function Ms() {
4647
4696
  if (typeof customElements > "u")
4648
4697
  return;
4649
4698
  ["searchcraft-popover-form", "searchcraft-ad", "searchcraft-button", "searchcraft-error-message", "searchcraft-input-form", "searchcraft-input-label", "searchcraft-popover-form", "searchcraft-popover-list-item", "searchcraft-popover-list-view"].forEach((t) => {
4650
4699
  switch (t) {
4651
4700
  case "searchcraft-popover-form":
4652
- customElements.get(t) || customElements.define(t, As);
4701
+ customElements.get(t) || customElements.define(t, Is);
4653
4702
  break;
4654
4703
  case "searchcraft-ad":
4655
- customElements.get(t) || It();
4704
+ customElements.get(t) || Mt();
4656
4705
  break;
4657
4706
  case "searchcraft-button":
4658
- customElements.get(t) || Lt();
4707
+ customElements.get(t) || Ot();
4659
4708
  break;
4660
4709
  case "searchcraft-error-message":
4661
- customElements.get(t) || Mt();
4710
+ customElements.get(t) || Lt();
4662
4711
  break;
4663
4712
  case "searchcraft-input-form":
4664
- customElements.get(t) || Cs();
4713
+ customElements.get(t) || Ps();
4665
4714
  break;
4666
4715
  case "searchcraft-input-label":
4667
- customElements.get(t) || kr();
4716
+ customElements.get(t) || Tr();
4668
4717
  break;
4669
4718
  case "searchcraft-popover-form":
4670
- customElements.get(t) || Is();
4719
+ customElements.get(t) || Ms();
4671
4720
  break;
4672
4721
  case "searchcraft-popover-list-item":
4673
- customElements.get(t) || Pr();
4722
+ customElements.get(t) || kr();
4674
4723
  break;
4675
4724
  case "searchcraft-popover-list-view":
4676
- customElements.get(t) || _s();
4725
+ customElements.get(t) || As();
4677
4726
  break;
4678
4727
  }
4679
4728
  });
4680
4729
  }
4681
- const hc = As, Ms = Is, fc = Pr, dc = _s, Ls = /* @__PURE__ */ N(class extends D {
4730
+ const dc = Is, Ls = Ms, fc = kr, pc = As, Os = /* @__PURE__ */ N(class extends D {
4682
4731
  constructor() {
4683
4732
  super();
4684
4733
  /**
@@ -4717,10 +4766,10 @@ const hc = As, Ms = Is, fc = Pr, dc = _s, Ls = /* @__PURE__ */ N(class extends D
4717
4766
  this.unsubscribe && this.unsubscribe();
4718
4767
  }
4719
4768
  render() {
4720
- return !this.searchTerm || this.searchResultsCount === 0 ? null : d("p", { class: I("searchcraft-results-info", ct(this.customStyles || {})) }, this.customFormatter ? this.customFormatter([
4721
- sr(this.range[0]),
4722
- sr(this.range[1])
4723
- ], sr(this.count), this.responseTime) : `${this.count} results found in ${this.responseTime}ms`);
4769
+ return !this.searchTerm || this.searchResultsCount === 0 ? null : f("p", { class: I("searchcraft-results-info", lt(this.customStyles || {})) }, this.customFormatter ? this.customFormatter([
4770
+ nr(this.range[0]),
4771
+ nr(this.range[1])
4772
+ ], nr(this.count), this.responseTime) : `${this.count} results found in ${this.responseTime}ms`);
4724
4773
  }
4725
4774
  }, [0, "searchcraft-results-info", {
4726
4775
  customFormatter: [16],
@@ -4733,18 +4782,18 @@ const hc = As, Ms = Is, fc = Pr, dc = _s, Ls = /* @__PURE__ */ N(class extends D
4733
4782
  range: [32],
4734
4783
  responseTime: [32]
4735
4784
  }]);
4736
- function pc() {
4785
+ function mc() {
4737
4786
  if (typeof customElements > "u")
4738
4787
  return;
4739
4788
  ["searchcraft-results-info"].forEach((t) => {
4740
4789
  switch (t) {
4741
4790
  case "searchcraft-results-info":
4742
- customElements.get(t) || customElements.define(t, Ls);
4791
+ customElements.get(t) || customElements.define(t, Os);
4743
4792
  break;
4744
4793
  }
4745
4794
  });
4746
4795
  }
4747
- const mc = Ls, Os = pc, gc = /* @__PURE__ */ N(class extends D {
4796
+ const gc = Os, Fs = mc, bc = /* @__PURE__ */ N(class extends D {
4748
4797
  constructor() {
4749
4798
  super();
4750
4799
  /**
@@ -4791,13 +4840,13 @@ const mc = Ls, Os = pc, gc = /* @__PURE__ */ N(class extends D {
4791
4840
  h(this, "handleSelectChange", (r) => {
4792
4841
  this.selectChange.emit(r.target.value);
4793
4842
  });
4794
- this.__registerHost(), this.selectChange = Re(this, "selectChange");
4843
+ this.__registerHost(), this.selectChange = Ce(this, "selectChange");
4795
4844
  }
4796
4845
  handleGoToPage(r) {
4797
4846
  this.setSearchResultsPage(r);
4798
4847
  }
4799
4848
  render() {
4800
- return d("div", { key: "5024d49d89a3649a5de591d37ded304a9dfb36d9", class: I("searchcraft-select", ct(this.customStyles || {})) }, this.label && d("label", { key: "005aea9b190e5a6c041721e20395be23f76faab6", class: "searchcraft-select-label", id: this.labelId || `${this.inputId}-label`, htmlFor: this.inputId }, this.label), d("div", { key: "209d56844c0bcd241e73bafcad24fac927fe7ffa", class: "searchcraft-select-input-wrapper" }, d("select", { key: "010c9e596ef45a303f84c0ac0fa54ab67556d7b6", "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: a, selected: n }) => d("option", { key: a, value: a, selected: n }, r))), d("svg", { key: "51d9fb79381468ee0992475ba376df5a5961116c", class: "searchcraft-select-input-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, d("title", { key: "59186138953557764915d41708d4bcc23a9bb97f" }, "Select dropdown icon"), d("path", { key: "ec2c962df16cb68bdaf3e2c32e57d875a63957a9", d: "M5 7.5L10 12.5L15 7.5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.caption && d("p", { key: "742bc2dbd8371938894d49bb37d429d1b7a07d7a", class: "searchcraft-select-caption" }, this.caption));
4849
+ return f("div", { key: "5024d49d89a3649a5de591d37ded304a9dfb36d9", class: I("searchcraft-select", lt(this.customStyles || {})) }, this.label && f("label", { key: "005aea9b190e5a6c041721e20395be23f76faab6", class: "searchcraft-select-label", id: this.labelId || `${this.inputId}-label`, htmlFor: this.inputId }, this.label), f("div", { key: "209d56844c0bcd241e73bafcad24fac927fe7ffa", class: "searchcraft-select-input-wrapper" }, f("select", { key: "010c9e596ef45a303f84c0ac0fa54ab67556d7b6", "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: a, selected: n }) => f("option", { key: a, value: a, selected: n }, r))), f("svg", { key: "51d9fb79381468ee0992475ba376df5a5961116c", class: "searchcraft-select-input-icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, f("title", { key: "59186138953557764915d41708d4bcc23a9bb97f" }, "Select dropdown icon"), f("path", { key: "ec2c962df16cb68bdaf3e2c32e57d875a63957a9", d: "M5 7.5L10 12.5L15 7.5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.caption && f("p", { key: "742bc2dbd8371938894d49bb37d429d1b7a07d7a", class: "searchcraft-select-caption" }, this.caption));
4801
4850
  }
4802
4851
  }, [0, "searchcraft-select", {
4803
4852
  caption: [1],
@@ -4812,18 +4861,18 @@ const mc = Ls, Os = pc, gc = /* @__PURE__ */ N(class extends D {
4812
4861
  setSearchResultsPage: [32],
4813
4862
  setSearchResultsPerPage: [32]
4814
4863
  }]);
4815
- function Fs() {
4864
+ function Ds() {
4816
4865
  if (typeof customElements > "u")
4817
4866
  return;
4818
4867
  ["searchcraft-select"].forEach((t) => {
4819
4868
  switch (t) {
4820
4869
  case "searchcraft-select":
4821
- customElements.get(t) || customElements.define(t, gc);
4870
+ customElements.get(t) || customElements.define(t, bc);
4822
4871
  break;
4823
4872
  }
4824
4873
  });
4825
4874
  }
4826
- const Ds = /* @__PURE__ */ N(class extends D {
4875
+ const Ns = /* @__PURE__ */ N(class extends D {
4827
4876
  constructor() {
4828
4877
  super();
4829
4878
  /**
@@ -4863,7 +4912,7 @@ const Ds = /* @__PURE__ */ N(class extends D {
4863
4912
  }
4864
4913
  render() {
4865
4914
  if (!(!this.searchTerm || this.searchResultsPagesCount <= 1))
4866
- return d("div", { class: I("searchcraft-search-results-per-page", ct(this.customStyles || {})) }, d("div", { class: "searchcraft-search-results-per-page-select" }, d("label", { class: "searchcraft-search-results-per-page-select-label", htmlFor: "searchcraft-search-results-per-page-select-input" }, "Results Per Page"), d("div", { class: "searchcraft-search-results-per-page-select-input" }, d("searchcraft-select", { inputId: "searchcraft-search-results-per-page-select-input", name: "results-per-page", options: [...Array(5)].map((r, a) => {
4915
+ return f("div", { class: I("searchcraft-search-results-per-page", lt(this.customStyles || {})) }, f("div", { class: "searchcraft-search-results-per-page-select" }, f("label", { class: "searchcraft-search-results-per-page-select-label", htmlFor: "searchcraft-search-results-per-page-select-input" }, "Results Per Page"), f("div", { class: "searchcraft-search-results-per-page-select-input" }, f("searchcraft-select", { inputId: "searchcraft-search-results-per-page-select-input", name: "results-per-page", options: [...Array(5)].map((r, a) => {
4867
4916
  const n = this.initialSearchResultsPerPage + Number(this.increment) * a;
4868
4917
  return {
4869
4918
  label: `${n}`,
@@ -4885,22 +4934,22 @@ const Ds = /* @__PURE__ */ N(class extends D {
4885
4934
  setSearchResultsPerPage: [32],
4886
4935
  setSearchResultsPage: [32]
4887
4936
  }]);
4888
- function bc() {
4937
+ function vc() {
4889
4938
  if (typeof customElements > "u")
4890
4939
  return;
4891
4940
  ["searchcraft-search-results-per-page", "searchcraft-select"].forEach((t) => {
4892
4941
  switch (t) {
4893
4942
  case "searchcraft-search-results-per-page":
4894
- customElements.get(t) || customElements.define(t, Ds);
4943
+ customElements.get(t) || customElements.define(t, Ns);
4895
4944
  break;
4896
4945
  case "searchcraft-select":
4897
- customElements.get(t) || Fs();
4946
+ customElements.get(t) || Ds();
4898
4947
  break;
4899
4948
  }
4900
4949
  });
4901
4950
  }
4902
- const vc = Ds, Ns = bc, yc = Fs, Sc = ys, wc = `: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)}: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: hsl( from var(--sc-color-background) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-primary-hover: var(--sc-color-background-hover, #fafafa);--sc-color-background-active: hsl( from var(--sc-color-background) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-primary-active: var( --sc-color-background-active, #f7f7f7 );--sc-surface-neutral-secondary: var( --sc-color-background-secondary, var(--sc-color-background, #f3f3f3) );--sc-surface-neutral-secondary-hover: var( --sc-color-background-secondary-hover, var(--sc-color-background-hover, #e6e6e6) );--sc-surface-neutral-secondary-active: var( --sc-color-background-secondary-active, var(--sc-color-background-active, #e0e0e0) );--sc-surface-neutral-light: #ffffff;--sc-content-neutral-primary: var(--sc-color-foreground, #292929);--sc-color-foreground-secondary: hsl( from var(--sc-color-foreground) h s clamp(10, calc(l + 5), 90) );--sc-content-neutral-secondary: var(--sc-color-foreground-secondary, #404040);--sc-border-neutral: rgba(0, 0, 0, 0.1);--sc-surface-brand-primary: var(--sc-color-brand, #000000);--sc-color-brand-hover: hsl( from var(--sc-color-brand) h s clamp(20, calc(l + 5), 95) );--sc-surface-brand-primary-hover: var(--sc-color-brand-hover, #2e2e2e);--sc-color-brand-active: hsl( from var(--sc-color-brand) h s clamp(10, calc(l - 5), 85) );--sc-surface-brand-primary-active: var(--sc-color-brand-active, #292929);--sc-surface-brand-secondary: var( --sc-color-brand-secondary, var(--sc-color-brand, #e6e6e6) );--sc-surface-brand-secondary-hover: var( --sc-color-brand-secondary-hover, var(--sc-color-brand-hover, #ebebeb) );--sc-surface-brand-secondary-active: var( --sc-color-brand-secondary-active, var(--sc-color-brand-active, #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: hsl(from var(--sc-color-success) h s 30);--sc-surface-success-primary-hover: var( --sc-color-success-primary-hover, #009900 );--sc-color-success-primary-active: hsl(from var(--sc-color-success) h s 20);--sc-surface-success-primary-active: var( --sc-color-success-primary-active, #006600 );--sc-color-success-secondary: hsl(from var(--sc-color-success) h s 90);--sc-surface-success-secondary: var(--sc-color-success-secondary, #ccffcc);--sc-color-success-secondary-hover: hsl( from var(--sc-color-success-secondary) h s 95 );--sc-surface-success-secondary-hover: var( --sc-color-success-secondary-hover, #e6ffe6 );--sc-color-success-secondary-active: hsl( from var(--sc-color-success-secondary) h s 85 );--sc-surface-success-secondary-active: var( --sc-color-success-secondary-active, #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: hsl(from var(--sc-color-caution) h s 30);--sc-surface-caution-primary-hover: var( --sc-color-caution-primary-hover, #e57300 );--sc-color-caution-primary-active: hsl(from var(--sc-color-caution) h s 20);--sc-surface-caution-primary-active: var( --sc-color-caution-primary-active, #b25a00 );--sc-color-caution-secondary: hsl(from var(--sc-color-caution) h s 90);--sc-surface-caution-secondary: var(--sc-color-caution-secondary, #ffd9b3);--sc-color-caution-secondary-hover: hsl( from var(--sc-color-caution-secondary) h s 95 );--sc-surface-caution-secondary-hover: var( --sc-color-caution-secondary-hover, #ffe5cc );--sc-color-caution-secondary-active: hsl( from var(--sc-color-caution-secondary) h s 85 );--sc-surface-caution-secondary-active: var( --sc-color-caution-secondary-active, #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: hsl(from var(--sc-color-danger) h s 30);--sc-surface-danger-primary-hover: var( --sc-color-danger-primary-hover, #e50000 );--sc-color-danger-primary-active: hsl(from var(--sc-color-danger) h s 20);--sc-surface-danger-primary-active: var( --sc-color-danger-primary-active, #b30000 );--sc-color-danger-secondary: hsl(from var(--sc-color-danger) h s 90);--sc-surface-danger-secondary: var(--sc-color-danger-secondary, #ffcccc);--sc-color-danger-secondary-hover: hsl( from var(--sc-color-danger-secondary) h s 95 );--sc-surface-danger-secondary-hover: var( --sc-color-danger-secondary-hover, #ffe7e7 );--sc-color-danger-secondary-active: hsl( from var(--sc-color-danger-secondary) h s 85 );--sc-surface-danger-secondary-active: var( --sc-color-danger-secondary-active, #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: hsl( from var(--sc-color-background) h s clamp(10%, calc(l + 5%), 95%) );--sc-color-background-active: hsl( from var(--sc-color-background) h s clamp(5%, calc(l - 5%), 90%) );--sc-color-foreground-secondary: hsl( from var(--sc-color-foreground) h s clamp(10%, calc(l + 5%), 90%) );--sc-color-brand-hover: hsl( from var(--sc-color-brand) h s clamp(20%, calc(l + 5%), 95%) );--sc-color-brand-active: hsl( from var(--sc-color-brand) h s clamp(10%, calc(l - 5%), 85%) );--sc-color-success-primary-hover: hsl(from var(--sc-color-success) h s 30%);--sc-color-success-primary-active: hsl( from var(--sc-color-success) h s 20% );--sc-color-success-secondary: hsl(from var(--sc-color-success) h s 90%);--sc-color-success-secondary-hover: hsl( from var(--sc-color-success-secondary) h s 95% );--sc-color-success-secondary-active: 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: hsl(from var(--sc-color-caution) h s 30%);--sc-color-caution-primary-active: hsl( from var(--sc-color-caution) h s 20% );--sc-color-caution-secondary: hsl(from var(--sc-color-caution) h s 90%);--sc-color-caution-secondary-hover: hsl( from var(--sc-color-caution-secondary) h s 95% );--sc-color-caution-secondary-active: 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: hsl(from var(--sc-color-danger) h s 30%);--sc-color-danger-primary-active: hsl(from var(--sc-color-danger) h s 20%);--sc-color-danger-secondary: hsl(from var(--sc-color-danger) h s 90%);--sc-color-danger-secondary-hover: hsl( from var(--sc-color-danger-secondary) h s 95% );--sc-color-danger-secondary-active: 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-custom-ad{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size)}.searchcraft-adm-ad{all:unset;display:flex;flex-direction:row;cursor:pointer;gap:8px;padding-right:var(--sc-popover-list-item-padding-horizontal);padding-left:var(--sc-popover-list-item-padding-horizontal);padding-top:var(--sc-popover-list-item-padding-vertical);padding-bottom:var(--sc-popover-list-item-padding-vertical);border:1px solid blue}.searchcraft-adm-ad:focus{background-color:var(--sc-surface-neutral-secondary-active);color:var(--sc-content-neutral-secondary)}.searchcraft-adm-ad:hover{background-color:var(--sc-surface-neutral-secondary-hover);color:var(--sc-content-neutral-secondary)}.searchcraft-adm-ad-title{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);margin:0;color:inherit}.searchcraft-adm-ad-subtitle{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);margin:0;color:inherit}.searchcraft-adm-ad-image-wrapper{width:var(--sc-popover-list-item-image-size);height:var(--sc-popover-list-item-image-size);display:flex;align-items:center;justify-content:center;flex-shrink:0}.searchcraft-adm-ad-image{max-width:var(--sc-popover-list-item-image-size);max-height:var(--sc-popover-list-item-image-size)}.searchcraft-adm-ad-info-wrapper{display:flex;flex-direction:column;gap:8px;justify-content:center}.searchcraft-search-result-container{all:unset;align-items:flex-start;border-radius:var(--sc-border-radius-lg);display:flex;flex-direction:column;gap:16px;padding:8px;color:inherit;background-color:var(--sc-surface-neutral-primary)}@media(min-width: 768px){.searchcraft-search-result-container{flex-direction:row}}a.searchcraft-search-result-container{cursor:pointer;transition:background-color 100ms}.searchcraft-base-search-result-content-container{flex:1;display:flex;flex-direction:column;gap:8px}.searchcraft-search-result-image{border-radius:calc(--sc-border-radius-lg - 8px);border-radius:calc(var(--sc-border-radius-lg) - 8px);width:100%}@media(min-width: 768px){.searchcraft-search-result-image{width:200px}}.searchcraft-base-search-result-title{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);color:var(--sc-content-neutral-primary);font-weight:var(--sc-font-bold);margin:0}.searchcraft-base-search-result-subtitle{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);color:var(--sc-content-disabled);margin:0}.searchcraft-base-search-result-body-content{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);color:var(--sc-content-neutral-secondary);margin:0}.searchcraft-base-search-result-footer-content{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);color:var(--sc-content-disabled);margin:0}.searchcraft-search-results-container{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-results-empty-state-container{text-align:center}.searchcraft-search-results-error-message-container{text-align:center}.searchcraft-button{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);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-error-message{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);color:var(--sc-content-danger);margin:0}.filtersListContainer{width:100%}.filterCheckboxLabel{align-items:center;color:var(--sc-content-brand);display:flex;font-family:var(--sc-font-family);font-size:14px;font-weight:600;gap:14px;position:relative;-webkit-font-smoothing:antialiased}.filterCheckboxLabel input[type=checkbox]{align-items:center;appearance:none;background-color:var(--sc-surface-neutral-secondary);border:1px solid var(--sc-surface-disabled);border-radius:8px;cursor:pointer;display:flex;height:24px;justify-content:center;width:24px}.filterCheckboxLabel input[type=checkbox]:focus{outline:2px solid var(--sc-surface-brand-primary)}.filterCheckboxLabel input[type=checkbox]:checked{background-color:var(--sc-surface-brand-primary);position:relative}.filterCheckboxLabel input[type=checkbox]:checked+.checkContainer{display:block}.filterCheckboxLabel input[type=checkbox]:checked+.dashContainer{display:block}.childFilterCheckboxLabel{align-items:center;color:var(--sc-content-primary);display:flex;font-family:var(--sc-font-family);font-size:14px;font-weight:600;gap:12px;margin-left:24px;position:relative}.childFilterCheckboxLabel input[type=checkbox]{align-items:center;appearance:none;background-color:var(--sc-surface-neutral-secondary-hover);border:1px solid var(--sc-surface-disabled);border-radius:8px;cursor:pointer;display:flex;height:24px;justify-content:center;position:relative;width:24px;-webkit-font-smoothing:antialiased}.childFilterCheckboxLabel input[type=checkbox]:focus{outline:2px solid var(--sc-surface-brand-primary)}.childFilterCheckboxLabel input[type=checkbox]:checked{background-color:var(--sc-surface-brand-primary);position:relative}.childFilterCheckboxLabel input[type=checkbox]:checked+.checkContainer{display:block}.childFilterCheckboxLabel input[type=checkbox]:checked+.dashContainer{display:block}.checkContainer{display:none;height:16px;width:16px;position:absolute;top:9px;left:8px}.dashContainer{display:none;height:3px;width:14px;position:absolute;top:3px;left:9px}.searchcraft-facet-message{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);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);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-bold)}:root{--sc-input-border-radius: var(--sc-border-radius);--sc-input-search-icon-size: 20px;--sc-input-clear-icon-size: 20px;--sc-input-padding-left: 44px;--sc-input-padding-right: 44px}.searchcraft-input-grid{display:grid;gap:4px 8px}.searchcraft-input-grid-buttonLeft{grid-template-rows:repeat(3, auto);grid-template-columns:auto 1fr}.searchcraft-input-grid-buttonLeft .searchcraft-input-button-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-grid-buttonLeft .searchcraft-input-label-wrapper{grid-column:2/span 1;grid-row:1/span 1}.searchcraft-input-grid-buttonLeft .searchcraft-input-error-wrapper{grid-column:2/span 1;grid-row:3/span 1}.searchcraft-input-grid-buttonLeft .searchcraft-input-wrapper{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-grid-buttonRight{grid-template-rows:repeat(3, auto);grid-template-columns:1fr auto}.searchcraft-input-grid-buttonRight .searchcraft-input-button-wrapper{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-grid-buttonRight .searchcraft-input-label-wrapper{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-grid-buttonRight .searchcraft-input-error-wrapper{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-grid-buttonRight .searchcraft-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-grid-buttonNone{grid-template-rows:repeat(3, auto);grid-template-columns:auto}.searchcraft-input-grid-buttonNone .searchcraft-input-button-wrapper{display:none}.searchcraft-input-grid-buttonNone .searchcraft-input-label-wrapper{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-grid-buttonNone .searchcraft-input-error-wrapper{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-grid-buttonNone .searchcraft-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-wrapper{position:relative;display:flex}.searchcraft-input{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);background-color:var(--sc-surface-neutral-secondary);border-radius:var(--sc-input-border-radius);border:none;color:var(--sc-content-neutral-primary);outline:none;padding-left:var(--sc-input-padding-left);padding-right:var(--sc-input-padding-right);padding-top:12px;padding-bottom:12px;flex:1}.searchcraft-input::placeholder{color:var(--sc-content-disabled)}.searchcraft-input:focus{outline:var(--sc-border-brand) solid 2px}.searchcraft-input:focus::placeholder{opacity:0}.searchcraft-input.error{color:var(--sc-content-danger);outline:var(--sc-border-danger) solid 2px}.searchcraft-input.error:focus{outline:var(--sc-border-danger) solid 2px}.searchcraft-input-search-icon-wrapper{align-items:center;justify-content:center;display:flex;position:absolute;pointer-events:none;bottom:0;left:0;top:0;width:var(--sc-input-padding-left)}.searchcraft-input-search-icon{pointer-events:none;width:var(--sc-input-search-icon-size);height:var(--sc-input-search-icon-size);color:var(--sc-content-neutral-secondary)}.searchcraft-input-clear-button{all:unset;align-items:center;justify-content:center;cursor:pointer;display:flex;position:absolute;border:none;outline:none;bottom:0;right:0;top:0;width:var(--sc-input-padding-right)}.searchcraft-input-clear-icon{width:var(--sc-input-clear-icon-size);height:var(--sc-input-clear-icon-size);color:var(--sc-content-brand)}.searchcraft-input-label{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);color:var(--sc-content-neutral-primary);font-weight:var(--sc-font-bold);margin-top:4px;margin-bottom:4px}:root{--sc-popover-form-border-radius: var(--sc-border-radius);--sc-popover-list-view-height: 400px;--sc-popover-list-item-image-size: 60px;--sc-popover-list-item-padding-horizontal: 8px;--sc-popover-list-item-padding-vertical: 8px;--sc-popover-modal-max-width: 570px}.searchcraft-popover-form{display:flex;flex-direction:column;flex:1}.searchcraft-popover-form .searchcraft-popover-form-input-wrapper{padding:12px;background-color:var(--sc-surface-neutral-secondary);display:flex;flex-direction:row;gap:4px}.searchcraft-popover-form .searchcraft-popover-form-input-wrapper>searchcraft-input-form{flex:1}.searchcraft-popover-form .searchcraft-popover-form-cancel-button{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);border-radius:calc(--sc-popover-form-border-radius - 12px);border-radius:calc(var(--sc-popover-form-border-radius) - 12px);border:0;outline:0;padding:0;flex-shrink:0;background:none;cursor:pointer;padding-left:12px;padding-right:12px}.searchcraft-popover-form .searchcraft-popover-form-cancel-button:hover{background-color:var(--sc-surface-brand-secondary-hover)}.searchcraft-popover-form .searchcraft-popover-form-cancel-button:focus{background-color:var(--sc-surface-brand-secondary-active)}.searchcraft-popover-form-inline .searchcraft-input{border-top-left-radius:var(--sc-popover-form-border-radius);border-top-right-radius:var(--sc-popover-form-border-radius);border-bottom-left-radius:var(--sc-popover-form-border-radius);border-bottom-right-radius:var(--sc-popover-form-border-radius);border:none;outline:none}.searchcraft-popover-form-inline.searchcraft-popover-form-active .searchcraft-input{border-top-left-radius:var(--sc-popover-form-border-radius);border-top-right-radius:var(--sc-popover-form-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.searchcraft-popover-form-inline .searchcraft-popover-inline-wrapper-outer{position:relative}.searchcraft-popover-form-inline .searchcraft-popover-inline-wrapper-inner{position:absolute;height:var(--sc-popover-list-view-height);z-index:1000;width:100%}.searchcraft-popover-form-inline .searchcraft-popover-list-view{display:flex;flex-direction:column;overflow:auto;background-color:var(--sc-surface-neutral-secondary);border-bottom-left-radius:var(--sc-popover-form-border-radius);border-bottom-right-radius:var(--sc-popover-form-border-radius);max-height:var(--sc-popover-list-view-height)}.searchcraft-popover-form-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:flex-start;justify-content:center;padding:0;background-color:var(--sc-surface-neutral-secondary)}@media(min-width: 576px){.searchcraft-popover-form-modal{padding:16px;background-color:rgba(0,0,0,0)}}.searchcraft-popover-form-modal .searchcraft-input{border-radius:calc(--sc-popover-form-border-radius - 12px);border-radius:calc(var(--sc-popover-form-border-radius) - 12px);outline-width:1px;outline-color:var(--sc-border-neutral)}.searchcraft-popover-form-modal .searchcraft-popover-form-modal-backdrop{position:absolute;inset:0;background-color:rgba(0,0,0,.5);display:none}@media(min-width: 576px){.searchcraft-popover-form-modal .searchcraft-popover-form-modal-backdrop{display:block}}.searchcraft-popover-form-modal .searchcraft-popover-form-modal-inner{position:absolute;inset:0;z-index:1002;margin-top:0px;display:flex;border-radius:var(--sc-popover-form-border-radius);overflow:hidden}@media(min-width: 576px){.searchcraft-popover-form-modal .searchcraft-popover-form-modal-inner{inset:auto;position:relative;width:100%;margin-top:100px;max-width:var(--sc-popover-modal-max-width)}}.searchcraft-popover-form-modal .searchcraft-popover-list-view{display:flex;flex-direction:column;overflow:auto;background-color:var(--sc-surface-neutral-secondary);border-bottom-left-radius:0;border-bottom-right-radius:0}@media(min-width: 576px){.searchcraft-popover-form-modal .searchcraft-popover-list-view{max-height:var(--sc-popover-list-view-height)}}.searchcraft-popover-form-modal searchcraft-popover-list-view{overflow:scroll}@media(min-width: 576px){.searchcraft-popover-form-modal searchcraft-popover-list-view{overflow:auto}}.searchcraft-popover-form-fullscreen{position:fixed;inset:0;z-index:1000;background-color:var(--sc-surface-neutral-secondary)}.searchcraft-popover-form-fullscreen .searchcraft-popover-form{position:absolute;inset:0}.searchcraft-popover-form-fullscreen .searchcraft-input{border-radius:calc(--sc-popover-form-border-radius - 12px);border-radius:calc(var(--sc-popover-form-border-radius) - 12px);outline-width:1px;outline-color:var(--sc-border-neutral)}.searchcraft-popover-form-fullscreen searchcraft-popover-list-view{overflow:scroll}.searchcraft-popover-list-item{all:unset;color:var(--sc-content-neutral-secondary);display:flex;flex-direction:row;cursor:pointer;gap:8px;padding-right:var(--sc-popover-list-item-padding-horizontal);padding-left:var(--sc-popover-list-item-padding-horizontal);padding-top:var(--sc-popover-list-item-padding-vertical);padding-bottom:var(--sc-popover-list-item-padding-vertical)}.searchcraft-popover-list-item:focus{background-color:var(--sc-surface-neutral-secondary-active);color:var(--sc-content-neutral-secondary)}.searchcraft-popover-list-item:hover{background-color:var(--sc-surface-neutral-secondary-hover);color:var(--sc-content-neutral-secondary)}.searchcraft-popover-list-item-title{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);margin:0;color:inherit}.searchcraft-popover-list-item-subtitle{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);margin:0;color:inherit}.searchcraft-popover-list-item-image-wrapper{width:var(--sc-popover-list-item-image-size);height:var(--sc-popover-list-item-image-size);display:flex;align-items:center;justify-content:center;flex-shrink:0}.searchcraft-popover-list-item-image{max-width:var(--sc-popover-list-item-image-size);max-height:var(--sc-popover-list-item-image-size)}.searchcraft-popover-list-item-info-wrapper{display:flex;flex-direction:column;gap:8px;justify-content:center}.searchcraft-results-info{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);color:var(--sc-content-primary);margin:0}.searchcraft-slider-container{align-items:center;display:flex;flex-direction:column;gap:10px;width:100%}.searchcraft-slider-range-container{align-items:center;background-color:var(--sc-surface-disabled);border-radius:999px;display:flex;position:relative;height:4px;width:100%}.searchcraft-slider-range-container::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range-container .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-container .searchcraft-slider-active-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range-container .searchcraft-slider-active-range::-moz-range-track{pointer-events:none}.searchcraft-slider-range-container .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-container .searchcraft-slider-input::-webkit-slider-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:2px solid var(--sc-border-neutral);cursor:pointer;height:20px;pointer-events:all;width:20px;-webkit-appearance:none}.searchcraft-slider-range-container .searchcraft-slider-input::-moz-range-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:2px solid var(--sc-border-neutral);cursor:pointer;height:20px;pointer-events:all;width:20px}.searchcraft-slider-label-container{color:var(--sc-content-primary);display:flex;font-family:"Source Sans Pro",sans-serif;font-size:15px;font-weight:600;justify-content:space-between;margin-top:10px;width:100%}.searchcraft-slider-label{min-width:30px;text-align:center}.searchcraft-toggle-button-container{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.searchcraft-toggle-button-label{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);margin:0;color:var(--sc-content-neutral-primary)}.searchcraft-toggle-button-sub-label{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);margin:0;color:var(--sc-content-neutral-secondary)}.searchcraft-toggle-button-background{transition:background-color .2s;background:var(--sc-surface-disabled);border:none;border-radius:16px;cursor:pointer;height:26px;position:relative;width:44px;flex-shrink:0}.searchcraft-toggle-button-background.active{background:var(--sc-surface-brand-primary);box-shadow:0px 0px 0px 1px rgba(0,0,0,.05)}.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-handle.active{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);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);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);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);align-items:center;display:flex}.searchcraft-select{display:flex;flex-direction:column;gap:4px}.searchcraft-select-label{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-bold)}.searchcraft-select-input-wrapper{position:relative}.searchcraft-select-input{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);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{pointer-events:none;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.searchcraft-select-caption{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size)}.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);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size)}.searchcraft-search-results-per-page-select-input{min-width:120px}/*# sourceMappingURL=hologram.css.map */
4903
- `, Us = /* @__PURE__ */ N(class extends D {
4951
+ const yc = Ns, Us = vc, Sc = Ds, wc = Ss, Ec = `: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)}: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: hsl( from var(--sc-color-background) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-primary-hover: var(--sc-color-background-hover, #fafafa);--sc-color-background-active: hsl( from var(--sc-color-background) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-primary-active: var( --sc-color-background-active, #f7f7f7 );--sc-surface-neutral-secondary: var( --sc-color-background-secondary, var(--sc-color-background, #f3f3f3) );--sc-surface-neutral-secondary-hover: var( --sc-color-background-secondary-hover, var(--sc-color-background-hover, #e6e6e6) );--sc-surface-neutral-secondary-active: var( --sc-color-background-secondary-active, var(--sc-color-background-active, #e0e0e0) );--sc-surface-neutral-light: #ffffff;--sc-content-neutral-primary: var(--sc-color-foreground, #292929);--sc-color-foreground-secondary: hsl( from var(--sc-color-foreground) h s clamp(10, calc(l + 5), 90) );--sc-content-neutral-secondary: var(--sc-color-foreground-secondary, #404040);--sc-border-neutral: rgba(0, 0, 0, 0.1);--sc-surface-brand-primary: var(--sc-color-brand, #000000);--sc-color-brand-hover: hsl( from var(--sc-color-brand) h s clamp(20, calc(l + 5), 95) );--sc-surface-brand-primary-hover: var(--sc-color-brand-hover, #2e2e2e);--sc-color-brand-active: hsl( from var(--sc-color-brand) h s clamp(10, calc(l - 5), 85) );--sc-surface-brand-primary-active: var(--sc-color-brand-active, #292929);--sc-surface-brand-secondary: var( --sc-color-brand-secondary, var(--sc-color-brand, #e6e6e6) );--sc-surface-brand-secondary-hover: var( --sc-color-brand-secondary-hover, var(--sc-color-brand-hover, #ebebeb) );--sc-surface-brand-secondary-active: var( --sc-color-brand-secondary-active, var(--sc-color-brand-active, #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: hsl(from var(--sc-color-success) h s 30);--sc-surface-success-primary-hover: var( --sc-color-success-primary-hover, #009900 );--sc-color-success-primary-active: hsl(from var(--sc-color-success) h s 20);--sc-surface-success-primary-active: var( --sc-color-success-primary-active, #006600 );--sc-color-success-secondary: hsl(from var(--sc-color-success) h s 90);--sc-surface-success-secondary: var(--sc-color-success-secondary, #ccffcc);--sc-color-success-secondary-hover: hsl( from var(--sc-color-success-secondary) h s 95 );--sc-surface-success-secondary-hover: var( --sc-color-success-secondary-hover, #e6ffe6 );--sc-color-success-secondary-active: hsl( from var(--sc-color-success-secondary) h s 85 );--sc-surface-success-secondary-active: var( --sc-color-success-secondary-active, #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: hsl(from var(--sc-color-caution) h s 30);--sc-surface-caution-primary-hover: var( --sc-color-caution-primary-hover, #e57300 );--sc-color-caution-primary-active: hsl(from var(--sc-color-caution) h s 20);--sc-surface-caution-primary-active: var( --sc-color-caution-primary-active, #b25a00 );--sc-color-caution-secondary: hsl(from var(--sc-color-caution) h s 90);--sc-surface-caution-secondary: var(--sc-color-caution-secondary, #ffd9b3);--sc-color-caution-secondary-hover: hsl( from var(--sc-color-caution-secondary) h s 95 );--sc-surface-caution-secondary-hover: var( --sc-color-caution-secondary-hover, #ffe5cc );--sc-color-caution-secondary-active: hsl( from var(--sc-color-caution-secondary) h s 85 );--sc-surface-caution-secondary-active: var( --sc-color-caution-secondary-active, #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: hsl(from var(--sc-color-danger) h s 30);--sc-surface-danger-primary-hover: var( --sc-color-danger-primary-hover, #e50000 );--sc-color-danger-primary-active: hsl(from var(--sc-color-danger) h s 20);--sc-surface-danger-primary-active: var( --sc-color-danger-primary-active, #b30000 );--sc-color-danger-secondary: hsl(from var(--sc-color-danger) h s 90);--sc-surface-danger-secondary: var(--sc-color-danger-secondary, #ffcccc);--sc-color-danger-secondary-hover: hsl( from var(--sc-color-danger-secondary) h s 95 );--sc-surface-danger-secondary-hover: var( --sc-color-danger-secondary-hover, #ffe7e7 );--sc-color-danger-secondary-active: hsl( from var(--sc-color-danger-secondary) h s 85 );--sc-surface-danger-secondary-active: var( --sc-color-danger-secondary-active, #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: hsl( from var(--sc-color-background) h s clamp(10%, calc(l + 5%), 95%) );--sc-color-background-active: hsl( from var(--sc-color-background) h s clamp(5%, calc(l - 5%), 90%) );--sc-color-foreground-secondary: hsl( from var(--sc-color-foreground) h s clamp(10%, calc(l + 5%), 90%) );--sc-color-brand-hover: hsl( from var(--sc-color-brand) h s clamp(20%, calc(l + 5%), 95%) );--sc-color-brand-active: hsl( from var(--sc-color-brand) h s clamp(10%, calc(l - 5%), 85%) );--sc-color-success-primary-hover: hsl(from var(--sc-color-success) h s 30%);--sc-color-success-primary-active: hsl( from var(--sc-color-success) h s 20% );--sc-color-success-secondary: hsl(from var(--sc-color-success) h s 90%);--sc-color-success-secondary-hover: hsl( from var(--sc-color-success-secondary) h s 95% );--sc-color-success-secondary-active: 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: hsl(from var(--sc-color-caution) h s 30%);--sc-color-caution-primary-active: hsl( from var(--sc-color-caution) h s 20% );--sc-color-caution-secondary: hsl(from var(--sc-color-caution) h s 90%);--sc-color-caution-secondary-hover: hsl( from var(--sc-color-caution-secondary) h s 95% );--sc-color-caution-secondary-active: 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: hsl(from var(--sc-color-danger) h s 30%);--sc-color-danger-primary-active: hsl(from var(--sc-color-danger) h s 20%);--sc-color-danger-secondary: hsl(from var(--sc-color-danger) h s 90%);--sc-color-danger-secondary-hover: hsl( from var(--sc-color-danger-secondary) h s 95% );--sc-color-danger-secondary-active: 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-custom-ad{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size)}.searchcraft-adm-ad{all:unset;display:flex;flex-direction:row;cursor:pointer;gap:8px;padding-right:var(--sc-popover-list-item-padding-horizontal);padding-left:var(--sc-popover-list-item-padding-horizontal);padding-top:var(--sc-popover-list-item-padding-vertical);padding-bottom:var(--sc-popover-list-item-padding-vertical);border:1px solid blue}.searchcraft-adm-ad:focus{background-color:var(--sc-surface-neutral-secondary-active);color:var(--sc-content-neutral-secondary)}.searchcraft-adm-ad:hover{background-color:var(--sc-surface-neutral-secondary-hover);color:var(--sc-content-neutral-secondary)}.searchcraft-adm-ad-title{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);margin:0;color:inherit}.searchcraft-adm-ad-subtitle{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);margin:0;color:inherit}.searchcraft-adm-ad-image-wrapper{width:var(--sc-popover-list-item-image-size);height:var(--sc-popover-list-item-image-size);display:flex;align-items:center;justify-content:center;flex-shrink:0}.searchcraft-adm-ad-image{max-width:var(--sc-popover-list-item-image-size);max-height:var(--sc-popover-list-item-image-size)}.searchcraft-adm-ad-info-wrapper{display:flex;flex-direction:column;gap:8px;justify-content:center}.searchcraft-search-result-container{all:unset;align-items:flex-start;border-radius:var(--sc-border-radius-lg);display:flex;flex-direction:column;gap:16px;padding:8px;color:inherit;background-color:var(--sc-surface-neutral-primary)}@media(min-width: 768px){.searchcraft-search-result-container{flex-direction:row}}a.searchcraft-search-result-container{cursor:pointer;transition:background-color 100ms}.searchcraft-base-search-result-content-container{flex:1;display:flex;flex-direction:column;gap:8px}.searchcraft-search-result-image{border-radius:calc(--sc-border-radius-lg - 8px);border-radius:calc(var(--sc-border-radius-lg) - 8px);width:100%}@media(min-width: 768px){.searchcraft-search-result-image{width:200px}}.searchcraft-base-search-result-title{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);color:var(--sc-content-neutral-primary);font-weight:var(--sc-font-bold);margin:0}.searchcraft-base-search-result-subtitle{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);color:var(--sc-content-disabled);margin:0}.searchcraft-base-search-result-body-content{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);color:var(--sc-content-neutral-secondary);margin:0}.searchcraft-base-search-result-footer-content{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);color:var(--sc-content-disabled);margin:0}.searchcraft-search-results-container{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-results-empty-state-container{text-align:center}.searchcraft-search-results-error-message-container{text-align:center}.searchcraft-button{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);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);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);color:var(--sc-content-danger);margin:0}.filtersListContainer{width:100%}.filterCheckboxLabel{align-items:center;color:var(--sc-content-brand);display:flex;font-family:var(--sc-font-family);font-size:14px;font-weight:600;gap:14px;position:relative;-webkit-font-smoothing:antialiased}.filterCheckboxLabel input[type=checkbox]{align-items:center;appearance:none;background-color:var(--sc-surface-neutral-secondary);border:1px solid var(--sc-surface-disabled);border-radius:8px;cursor:pointer;display:flex;height:24px;justify-content:center;width:24px}.filterCheckboxLabel input[type=checkbox]:focus{outline:2px solid var(--sc-surface-brand-primary)}.filterCheckboxLabel input[type=checkbox]:checked{background-color:var(--sc-surface-brand-primary);position:relative}.filterCheckboxLabel input[type=checkbox]:checked+.checkContainer{display:block}.filterCheckboxLabel input[type=checkbox]:checked+.dashContainer{display:block}.childFilterCheckboxLabel{align-items:center;color:var(--sc-content-primary);display:flex;font-family:var(--sc-font-family);font-size:14px;font-weight:600;gap:12px;margin-left:24px;position:relative}.childFilterCheckboxLabel input[type=checkbox]{align-items:center;appearance:none;background-color:var(--sc-surface-neutral-secondary-hover);border:1px solid var(--sc-surface-disabled);border-radius:8px;cursor:pointer;display:flex;height:24px;justify-content:center;position:relative;width:24px;-webkit-font-smoothing:antialiased}.childFilterCheckboxLabel input[type=checkbox]:focus{outline:2px solid var(--sc-surface-brand-primary)}.childFilterCheckboxLabel input[type=checkbox]:checked{background-color:var(--sc-surface-brand-primary);position:relative}.childFilterCheckboxLabel input[type=checkbox]:checked+.checkContainer{display:block}.childFilterCheckboxLabel input[type=checkbox]:checked+.dashContainer{display:block}.checkContainer{display:none;height:16px;width:16px;position:absolute;top:9px;left:8px}.dashContainer{display:none;height:3px;width:14px;position:absolute;top:3px;left:9px}.searchcraft-facet-message{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);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);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-bold)}:root{--sc-input-border-radius: var(--sc-border-radius);--sc-input-search-icon-size: 20px;--sc-input-clear-icon-size: 20px;--sc-input-padding-left: 44px;--sc-input-padding-right: 44px}.searchcraft-input-grid{display:grid;gap:4px 8px}.searchcraft-input-grid-buttonLeft{grid-template-rows:repeat(3, auto);grid-template-columns:auto 1fr}.searchcraft-input-grid-buttonLeft .searchcraft-input-button-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-grid-buttonLeft .searchcraft-input-label-wrapper{grid-column:2/span 1;grid-row:1/span 1}.searchcraft-input-grid-buttonLeft .searchcraft-input-error-wrapper{grid-column:2/span 1;grid-row:3/span 1}.searchcraft-input-grid-buttonLeft .searchcraft-input-wrapper{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-grid-buttonRight{grid-template-rows:repeat(3, auto);grid-template-columns:1fr auto}.searchcraft-input-grid-buttonRight .searchcraft-input-button-wrapper{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-grid-buttonRight .searchcraft-input-label-wrapper{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-grid-buttonRight .searchcraft-input-error-wrapper{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-grid-buttonRight .searchcraft-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-grid-buttonNone{grid-template-rows:repeat(3, auto);grid-template-columns:auto}.searchcraft-input-grid-buttonNone .searchcraft-input-button-wrapper{display:none}.searchcraft-input-grid-buttonNone .searchcraft-input-label-wrapper{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-grid-buttonNone .searchcraft-input-error-wrapper{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-grid-buttonNone .searchcraft-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-wrapper{position:relative;display:flex}.searchcraft-input{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);background-color:var(--sc-surface-neutral-secondary);border-radius:var(--sc-input-border-radius);border:none;color:var(--sc-content-neutral-primary);outline:none;padding-left:var(--sc-input-padding-left);padding-right:var(--sc-input-padding-right);padding-top:12px;padding-bottom:12px;flex:1}.searchcraft-input::placeholder{color:var(--sc-content-disabled)}.searchcraft-input:focus{outline:var(--sc-border-brand) solid 2px}.searchcraft-input:focus::placeholder{opacity:0}.searchcraft-input.error{color:var(--sc-content-danger);outline:var(--sc-border-danger) solid 2px}.searchcraft-input.error:focus{outline:var(--sc-border-danger) solid 2px}.searchcraft-input-search-icon-wrapper{align-items:center;justify-content:center;display:flex;position:absolute;pointer-events:none;bottom:0;left:0;top:0;width:var(--sc-input-padding-left)}.searchcraft-input-search-icon{color:var(--sc-content-neutral-secondary);fill:none;height:var(--sc-input-search-icon-size);pointer-events:none;width:var(--sc-input-search-icon-size)}.searchcraft-input-clear-button{all:unset;align-items:center;justify-content:center;cursor:pointer;display:flex;position:absolute;border:none;outline:none;bottom:0;right:0;top:0;width:var(--sc-input-padding-right)}.searchcraft-input-clear-icon{color:var(--sc-content-brand);fill:none;height:var(--sc-input-clear-icon-size);width:var(--sc-input-clear-icon-size)}.searchcraft-input-label{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);color:var(--sc-content-neutral-primary);font-weight:var(--sc-font-bold);margin-top:4px;margin-bottom:4px}:root{--sc-popover-form-border-radius: var(--sc-border-radius);--sc-popover-list-view-height: 400px;--sc-popover-list-item-image-size: 60px;--sc-popover-list-item-padding-horizontal: 8px;--sc-popover-list-item-padding-vertical: 8px;--sc-popover-modal-max-width: 570px}.searchcraft-popover-form{display:flex;flex-direction:column;flex:1}.searchcraft-popover-form .searchcraft-popover-form-input-wrapper{padding:12px;background-color:var(--sc-surface-neutral-secondary);display:flex;flex-direction:row;gap:4px}.searchcraft-popover-form .searchcraft-popover-form-input-wrapper>searchcraft-input-form{flex:1}.searchcraft-popover-form .searchcraft-popover-form-cancel-button{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);border-radius:calc(--sc-popover-form-border-radius - 12px);border-radius:calc(var(--sc-popover-form-border-radius) - 12px);border:0;outline:0;padding:0;flex-shrink:0;background:none;cursor:pointer;padding-left:12px;padding-right:12px}.searchcraft-popover-form .searchcraft-popover-form-cancel-button:hover{background-color:var(--sc-surface-brand-secondary-hover)}.searchcraft-popover-form .searchcraft-popover-form-cancel-button:focus{background-color:var(--sc-surface-brand-secondary-active)}.searchcraft-popover-form-inline .searchcraft-input{border-top-left-radius:var(--sc-popover-form-border-radius);border-top-right-radius:var(--sc-popover-form-border-radius);border-bottom-left-radius:var(--sc-popover-form-border-radius);border-bottom-right-radius:var(--sc-popover-form-border-radius);border:none;outline:none}.searchcraft-popover-form-inline.searchcraft-popover-form-active .searchcraft-input{border-top-left-radius:var(--sc-popover-form-border-radius);border-top-right-radius:var(--sc-popover-form-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.searchcraft-popover-form-inline .searchcraft-popover-inline-wrapper-outer{position:relative}.searchcraft-popover-form-inline .searchcraft-popover-inline-wrapper-inner{position:absolute;height:var(--sc-popover-list-view-height);z-index:1000;width:100%}.searchcraft-popover-form-inline .searchcraft-popover-list-view{display:flex;flex-direction:column;overflow:auto;background-color:var(--sc-surface-neutral-secondary);border-bottom-left-radius:var(--sc-popover-form-border-radius);border-bottom-right-radius:var(--sc-popover-form-border-radius);max-height:var(--sc-popover-list-view-height)}.searchcraft-popover-form-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:flex-start;justify-content:center;padding:0;background-color:var(--sc-surface-neutral-secondary)}@media(min-width: 576px){.searchcraft-popover-form-modal{padding:16px;background-color:rgba(0,0,0,0)}}.searchcraft-popover-form-modal .searchcraft-input{border-radius:calc(--sc-popover-form-border-radius - 12px);border-radius:calc(var(--sc-popover-form-border-radius) - 12px);outline-width:1px;outline-color:var(--sc-border-neutral)}.searchcraft-popover-form-modal .searchcraft-popover-form-modal-backdrop{position:absolute;inset:0;background-color:rgba(0,0,0,.5);display:none}@media(min-width: 576px){.searchcraft-popover-form-modal .searchcraft-popover-form-modal-backdrop{display:block}}.searchcraft-popover-form-modal .searchcraft-popover-form-modal-inner{position:absolute;inset:0;z-index:1002;margin-top:0px;display:flex;border-radius:var(--sc-popover-form-border-radius);overflow:hidden}@media(min-width: 576px){.searchcraft-popover-form-modal .searchcraft-popover-form-modal-inner{inset:auto;position:relative;width:100%;margin-top:100px;max-width:var(--sc-popover-modal-max-width)}}.searchcraft-popover-form-modal .searchcraft-popover-list-view{display:flex;flex-direction:column;overflow:auto;background-color:var(--sc-surface-neutral-secondary);border-bottom-left-radius:0;border-bottom-right-radius:0}@media(min-width: 576px){.searchcraft-popover-form-modal .searchcraft-popover-list-view{max-height:var(--sc-popover-list-view-height)}}.searchcraft-popover-form-modal searchcraft-popover-list-view{overflow:scroll}@media(min-width: 576px){.searchcraft-popover-form-modal searchcraft-popover-list-view{overflow:auto}}.searchcraft-popover-form-fullscreen{position:fixed;inset:0;z-index:1000;background-color:var(--sc-surface-neutral-secondary)}.searchcraft-popover-form-fullscreen .searchcraft-popover-form{position:absolute;inset:0}.searchcraft-popover-form-fullscreen .searchcraft-input{border-radius:calc(--sc-popover-form-border-radius - 12px);border-radius:calc(var(--sc-popover-form-border-radius) - 12px);outline-width:1px;outline-color:var(--sc-border-neutral)}.searchcraft-popover-form-fullscreen searchcraft-popover-list-view{overflow:scroll}.searchcraft-popover-list-item{all:unset;color:var(--sc-content-neutral-secondary);display:flex;flex-direction:row;cursor:pointer;gap:8px;padding-right:var(--sc-popover-list-item-padding-horizontal);padding-left:var(--sc-popover-list-item-padding-horizontal);padding-top:var(--sc-popover-list-item-padding-vertical);padding-bottom:var(--sc-popover-list-item-padding-vertical)}.searchcraft-popover-list-item:focus{background-color:var(--sc-surface-neutral-secondary-active);color:var(--sc-content-neutral-secondary)}.searchcraft-popover-list-item:hover{background-color:var(--sc-surface-neutral-secondary-hover);color:var(--sc-content-neutral-secondary)}.searchcraft-popover-list-item-title{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);margin:0;color:inherit}.searchcraft-popover-list-item-subtitle{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);margin:0;color:inherit}.searchcraft-popover-list-item-image-wrapper{width:var(--sc-popover-list-item-image-size);height:var(--sc-popover-list-item-image-size);display:flex;align-items:center;justify-content:center;flex-shrink:0}.searchcraft-popover-list-item-image{max-width:var(--sc-popover-list-item-image-size);max-height:var(--sc-popover-list-item-image-size)}.searchcraft-popover-list-item-info-wrapper{display:flex;flex-direction:column;gap:8px;justify-content:center}.searchcraft-results-info{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);color:var(--sc-content-primary);margin:0}.searchcraft-slider-container{align-items:center;display:flex;flex-direction:column;gap:10px;width:100%}.searchcraft-slider-range-container{align-items:center;background-color:var(--sc-surface-disabled);border-radius:999px;display:flex;position:relative;height:4px;width:100%}.searchcraft-slider-range-container::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range-container .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-container .searchcraft-slider-active-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range-container .searchcraft-slider-active-range::-moz-range-track{pointer-events:none}.searchcraft-slider-range-container .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-container .searchcraft-slider-input::-webkit-slider-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:2px solid var(--sc-border-neutral);cursor:pointer;height:20px;pointer-events:all;width:20px;-webkit-appearance:none}.searchcraft-slider-range-container .searchcraft-slider-input::-moz-range-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:2px solid var(--sc-border-neutral);cursor:pointer;height:20px;pointer-events:all;width:20px}.searchcraft-slider-label-container{color:var(--sc-content-primary);display:flex;font-family:"Source Sans Pro",sans-serif;font-size:15px;font-weight:600;justify-content:space-between;margin-top:10px;width:100%}.searchcraft-slider-label{min-width:30px;text-align:center}.searchcraft-toggle-button-container{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.searchcraft-toggle-button-label{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);margin:0;color:var(--sc-content-neutral-primary)}.searchcraft-toggle-button-sub-label{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);margin:0;color:var(--sc-content-neutral-secondary)}.searchcraft-toggle-button-background{transition:background-color .2s;background:var(--sc-surface-disabled);border:none;border-radius:16px;cursor:pointer;height:26px;position:relative;width:44px;flex-shrink:0}.searchcraft-toggle-button-background.active{background:var(--sc-surface-brand-primary);box-shadow:0px 0px 0px 1px rgba(0,0,0,.05)}.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-handle.active{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);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);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);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);align-items:center;display:flex}.searchcraft-select{display:flex;flex-direction:column;gap:4px}.searchcraft-select-label{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-bold)}.searchcraft-select-input-wrapper{position:relative}.searchcraft-select-input{font-family:var(--sc-font-family);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);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);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size)}.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);font-weight:var(--sc-font-normal);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size)}.searchcraft-search-results-per-page-select-input{min-width:120px}/*# sourceMappingURL=hologram.css.map */
4952
+ `, zs = /* @__PURE__ */ N(class extends D {
4904
4953
  constructor() {
4905
4954
  super();
4906
4955
  /**
@@ -4916,7 +4965,7 @@ const vc = Ds, Ns = bc, yc = Fs, Sc = ys, wc = `:root{--sc-text-base-size: 1em;-
4916
4965
  }
4917
4966
  componentDidLoad() {
4918
4967
  const r = document.querySelector("#searchcraft-theme") || document.createElement("style");
4919
- r.innerHTML = wc, r.id = "searchcraft-theme";
4968
+ r.innerHTML = Ec, r.id = "searchcraft-theme";
4920
4969
  const a = document.head || document.getElementsByTagName("head")[0];
4921
4970
  a.contains(r) || (a.firstChild ? a.insertBefore(r, a.firstChild) : a.appendChild(r)), document.body.dataset.theme = this.theme || "light", Object.entries(JSON.parse(this.customTheme || "[]")).map(([n, o]) => {
4922
4971
  document.documentElement.style.setProperty(`--${this.camelToKebab(n)}`, `${o}`);
@@ -4928,64 +4977,64 @@ const vc = Ds, Ns = bc, yc = Fs, Sc = ys, wc = `:root{--sc-text-base-size: 1em;-
4928
4977
  theme: [1],
4929
4978
  customTheme: [1, "custom-theme"]
4930
4979
  }]);
4931
- function Ec() {
4980
+ function Rc() {
4932
4981
  if (typeof customElements > "u")
4933
4982
  return;
4934
4983
  ["searchcraft-theme"].forEach((t) => {
4935
4984
  switch (t) {
4936
4985
  case "searchcraft-theme":
4937
- customElements.get(t) || customElements.define(t, Us);
4986
+ customElements.get(t) || customElements.define(t, zs);
4938
4987
  break;
4939
4988
  }
4940
4989
  });
4941
4990
  }
4942
- const Rc = Us, zs = Ec, Cc = Ss, Hs = () => {
4943
- Oi(), Ni(), ps(), Wi(), Gi(), Xi(), Es(), ks(), sc(), Ts(), $s(), Ms(), fc(), dc(), Os(), Ns(), yc(), Sc(), zs(), Cc();
4991
+ const Cc = zs, Hs = Rc, Pc = ws, Bs = () => {
4992
+ Fi(), Ui(), ms(), Gi(), Vi(), Ji(), Rs(), Ts(), nc(), xs(), _s(), Ls(), fc(), pc(), Fs(), Us(), Sc(), wc(), Hs(), Pc();
4944
4993
  };
4945
- Hs();
4946
- const kc = "@searchcraft/react-sdk", Pc = "Searchcraft", Tc = "0.9.5", xc = "Searchcraft React SDK.", $c = "module", _c = "Apache-2.0", Ac = ["searchcraft"], Ic = { build: "tsc && vite build && yarn docs", docs: "typedoc --options typedoc.json", lint: "biome format lint ./src", test: "vitest --watch=false", "test:watch": "vitest" }, Mc = { type: "git", url: "https://bitbucket.org/madebychalk/searchcraft-javascript-sdks/" }, Lc = { node: ">=18.0.0", npm: ">=10.0.0" }, Oc = "dist/index.js", Fc = "dist/index.js", Dc = "dist/index.d.ts", Nc = ["dist/**/*"], Uc = { ".": { import: "./dist/index.js", types: "./dist/index.d.ts" } }, zc = { "@searchcraft/javascript-sdk": "^0.9.5", classnames: "^2.3.2" }, Hc = { react: ">=18.0.0 <19.1.0", "react-dom": ">=18.0.0 <19.1.0" }, Bc = { "@biomejs/biome": "^1.8.1", "@testing-library/jest-dom": "^6.4.2", "@testing-library/react": "^14.2.1", "@types/node": "^20.11.25", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", jsdom: "^24.0.0", react: "^18.3.1", "react-dom": "^18.3.1", sass: "^1.56.1" }, Ma = {
4947
- name: kc,
4994
+ Bs();
4995
+ const Tc = "@searchcraft/react-sdk", kc = "Searchcraft", xc = "0.9.7", $c = "Searchcraft React SDK.", _c = "module", Ac = "Apache-2.0", Ic = ["searchcraft"], Mc = { build: "tsc && vite build && yarn docs", docs: "typedoc --options typedoc.json", lint: "biome format lint ./src", test: "vitest --watch=false", "test:watch": "vitest" }, Lc = { type: "git", url: "https://bitbucket.org/madebychalk/searchcraft-javascript-sdks/" }, Oc = { node: ">=18.0.0", npm: ">=10.0.0" }, Fc = "dist/index.js", Dc = "dist/index.js", Nc = "dist/index.d.ts", Uc = ["dist/**/*"], zc = { ".": { import: "./dist/index.js", types: "./dist/index.d.ts" } }, Hc = { "@searchcraft/javascript-sdk": "^0.9.7", classnames: "^2.3.2" }, Bc = { react: ">=18.0.0 <19.1.0", "react-dom": ">=18.0.0 <19.1.0" }, jc = { "@biomejs/biome": "^1.8.1", "@testing-library/jest-dom": "^6.4.2", "@testing-library/react": "^14.2.1", "@types/node": "^20.11.25", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", jsdom: "^24.0.0", react: "^18.3.1", "react-dom": "^18.3.1", sass: "^1.56.1" }, La = {
4996
+ name: Tc,
4948
4997
  private: !1,
4949
- author: Pc,
4950
- version: Tc,
4951
- description: xc,
4952
- type: $c,
4953
- license: _c,
4954
- keywords: Ac,
4955
- scripts: Ic,
4956
- repository: Mc,
4957
- engines: Lc,
4958
- main: Oc,
4959
- module: Fc,
4960
- types: Dc,
4961
- files: Nc,
4962
- exports: Uc,
4963
- dependencies: zc,
4964
- peerDependencies: Hc,
4965
- devDependencies: Bc
4998
+ author: kc,
4999
+ version: xc,
5000
+ description: $c,
5001
+ type: _c,
5002
+ license: Ac,
5003
+ keywords: Ic,
5004
+ scripts: Mc,
5005
+ repository: Lc,
5006
+ engines: Oc,
5007
+ main: Fc,
5008
+ module: Dc,
5009
+ types: Nc,
5010
+ files: Uc,
5011
+ exports: zc,
5012
+ dependencies: Hc,
5013
+ peerDependencies: Bc,
5014
+ devDependencies: jc
4966
5015
  };
4967
5016
  /**
4968
5017
  * @license
4969
5018
  * Copyright 2018 Google LLC
4970
5019
  * SPDX-License-Identifier: BSD-3-Clause
4971
5020
  */
4972
- const jc = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "className"]), La = /* @__PURE__ */ new WeakMap(), Oa = (e, t, r, a, n) => {
5021
+ const Wc = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "className"]), Oa = /* @__PURE__ */ new WeakMap(), Fa = (e, t, r, a, n) => {
4973
5022
  const o = n == null ? void 0 : n[t];
4974
5023
  o === void 0 ? (e[t] = r, r == null && t in HTMLElement.prototype && e.removeAttribute(t)) : r !== a && ((s, l, u) => {
4975
- let c = La.get(s);
4976
- c === void 0 && La.set(s, c = /* @__PURE__ */ new Map());
5024
+ let c = Oa.get(s);
5025
+ c === void 0 && Oa.set(s, c = /* @__PURE__ */ new Map());
4977
5026
  let i = c.get(l);
4978
5027
  u !== void 0 ? i === void 0 ? (c.set(l, i = { handleEvent: u }), s.addEventListener(l, i)) : i.handleEvent = u : i !== void 0 && (c.delete(l), s.removeEventListener(l, i));
4979
5028
  })(e, o, r);
4980
- }, Wc = ({ react: e, tagName: t, elementClass: r, events: a, displayName: n }) => {
5029
+ }, Gc = ({ react: e, tagName: t, elementClass: r, events: a, displayName: n }) => {
4981
5030
  const o = new Set(Object.keys(a ?? {})), s = e.forwardRef((l, u) => {
4982
5031
  const c = e.useRef(/* @__PURE__ */ new Map()), i = e.useRef(null), p = {}, m = {};
4983
- for (const [v, b] of Object.entries(l)) jc.has(v) ? p[v === "className" ? "class" : v] = b : o.has(v) || v in r.prototype ? m[v] = b : p[v] = b;
5032
+ for (const [v, b] of Object.entries(l)) Wc.has(v) ? p[v === "className" ? "class" : v] = b : o.has(v) || v in r.prototype ? m[v] = b : p[v] = b;
4984
5033
  return e.useLayoutEffect(() => {
4985
5034
  if (i.current === null) return;
4986
5035
  const v = /* @__PURE__ */ new Map();
4987
- for (const b in m) Oa(i.current, b, l[b], c.current.get(b), a), c.current.delete(b), v.set(b, l[b]);
4988
- for (const [b, $] of c.current) Oa(i.current, b, void 0, $, a);
5036
+ for (const b in m) Fa(i.current, b, l[b], c.current.get(b), a), c.current.delete(b), v.set(b, l[b]);
5037
+ for (const [b, $] of c.current) Fa(i.current, b, void 0, $, a);
4989
5038
  c.current = v;
4990
5039
  }), e.useLayoutEffect(() => {
4991
5040
  var v;
@@ -4995,96 +5044,96 @@ const jc = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "cl
4995
5044
  }, [u]) });
4996
5045
  });
4997
5046
  return s.displayName = n ?? r.name, s;
4998
- }, Ee = ({
5047
+ }, Re = ({
4999
5048
  defineCustomElement: e,
5000
5049
  ...t
5001
- }) => (typeof e < "u" && e(), Wc(t)), Gc = /* @__PURE__ */ Ee({
5050
+ }) => (typeof e < "u" && e(), Gc(t)), Vc = /* @__PURE__ */ Re({
5002
5051
  tagName: "searchcraft-base-search-results",
5003
- elementClass: Bi,
5052
+ elementClass: ji,
5004
5053
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
5005
- react: we,
5054
+ react: Ee,
5006
5055
  events: {},
5007
- defineCustomElement: ps
5008
- }), Vc = /* @__PURE__ */ Ee({
5056
+ defineCustomElement: ms
5057
+ }), qc = /* @__PURE__ */ Re({
5009
5058
  tagName: "searchcraft-filter-panel",
5010
- elementClass: tc,
5059
+ elementClass: rc,
5011
5060
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
5012
- react: we,
5061
+ react: Ee,
5013
5062
  events: {},
5014
- defineCustomElement: Es
5015
- }), qc = /* @__PURE__ */ Ee({
5063
+ defineCustomElement: Rs
5064
+ }), Yc = /* @__PURE__ */ Re({
5016
5065
  tagName: "searchcraft-input-form",
5017
- elementClass: ac,
5066
+ elementClass: sc,
5018
5067
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
5019
- react: we,
5068
+ react: Ee,
5020
5069
  events: {
5021
5070
  onInputFocus: "inputFocus",
5022
5071
  onInputBlur: "inputBlur",
5023
5072
  onInputInit: "inputInit"
5024
5073
  },
5025
- defineCustomElement: ks
5026
- }), Yc = /* @__PURE__ */ Ee({
5074
+ defineCustomElement: Ts
5075
+ }), Qc = /* @__PURE__ */ Re({
5027
5076
  tagName: "searchcraft-pagination",
5028
- elementClass: oc,
5077
+ elementClass: ic,
5029
5078
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
5030
- react: we,
5079
+ react: Ee,
5031
5080
  events: {},
5032
- defineCustomElement: Ts
5033
- }), Qc = /* @__PURE__ */ Ee({
5081
+ defineCustomElement: xs
5082
+ }), Kc = /* @__PURE__ */ Re({
5034
5083
  tagName: "searchcraft-popover-button",
5035
- elementClass: cc,
5084
+ elementClass: lc,
5036
5085
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
5037
- react: we,
5086
+ react: Ee,
5038
5087
  events: {},
5039
- defineCustomElement: $s
5040
- }), Kc = /* @__PURE__ */ Ee({
5088
+ defineCustomElement: _s
5089
+ }), Xc = /* @__PURE__ */ Re({
5041
5090
  tagName: "searchcraft-popover-form",
5042
- elementClass: hc,
5091
+ elementClass: dc,
5043
5092
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
5044
- react: we,
5093
+ react: Ee,
5045
5094
  events: {},
5046
- defineCustomElement: Ms
5047
- }), Xc = /* @__PURE__ */ Ee({
5095
+ defineCustomElement: Ls
5096
+ }), Jc = /* @__PURE__ */ Re({
5048
5097
  tagName: "searchcraft-results-info",
5049
- elementClass: mc,
5098
+ elementClass: gc,
5050
5099
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
5051
- react: we,
5100
+ react: Ee,
5052
5101
  events: {},
5053
- defineCustomElement: Os
5054
- }), Jc = /* @__PURE__ */ Ee({
5102
+ defineCustomElement: Fs
5103
+ }), Zc = /* @__PURE__ */ Re({
5055
5104
  tagName: "searchcraft-search-results-per-page",
5056
- elementClass: vc,
5105
+ elementClass: yc,
5057
5106
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
5058
- react: we,
5107
+ react: Ee,
5059
5108
  events: {},
5060
- defineCustomElement: Ns
5061
- }), Zc = /* @__PURE__ */ Ee({
5109
+ defineCustomElement: Us
5110
+ }), el = /* @__PURE__ */ Re({
5062
5111
  tagName: "searchcraft-theme",
5063
- elementClass: Rc,
5112
+ elementClass: Cc,
5064
5113
  // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
5065
- react: we,
5114
+ react: Ee,
5066
5115
  events: {},
5067
- defineCustomElement: zs
5068
- }), Rl = (e) => /* @__PURE__ */ Se(Gc, { ...e }), Cl = (e) => /* @__PURE__ */ Se(Vc, { ...e }), kl = (e) => /* @__PURE__ */ Se(qc, { ...e }), Pl = (e) => /* @__PURE__ */ Se(Qc, { ...e }), Tl = (e) => /* @__PURE__ */ Se(Kc, { ...e }), xl = (e) => /* @__PURE__ */ Se(Xc, { ...e }), $l = (e) => /* @__PURE__ */ Se(Zc, { ...e }), _l = (e) => /* @__PURE__ */ Se(Yc, { ...e }), Al = (e) => /* @__PURE__ */ Se(Jc, { ...e });
5069
- class Il extends oo {
5116
+ defineCustomElement: Hs
5117
+ }), Cl = (e) => /* @__PURE__ */ we(Vc, { ...e }), Pl = (e) => /* @__PURE__ */ we(qc, { ...e }), Tl = (e) => /* @__PURE__ */ we(Yc, { ...e }), kl = (e) => /* @__PURE__ */ we(Kc, { ...e }), xl = (e) => /* @__PURE__ */ we(Xc, { ...e }), $l = (e) => /* @__PURE__ */ we(Jc, { ...e }), _l = (e) => /* @__PURE__ */ we(el, { ...e }), Al = (e) => /* @__PURE__ */ we(Qc, { ...e }), Il = (e) => /* @__PURE__ */ we(Zc, { ...e });
5118
+ class Ml extends co {
5070
5119
  constructor(t) {
5071
5120
  super(t, {
5072
- sdkName: Ma.name,
5073
- sdkVersion: Ma.version
5121
+ sdkName: La.name,
5122
+ sdkVersion: La.version
5074
5123
  });
5075
5124
  }
5076
5125
  }
5077
- Hs();
5126
+ Bs();
5078
5127
  export {
5079
- Il as Searchcraft,
5080
- Rl as SearchcraftBaseSearchResults,
5081
- Cl as SearchcraftFilterPanel,
5082
- kl as SearchcraftInputForm,
5083
- _l as SearchcraftPagination,
5084
- Pl as SearchcraftPopoverButton,
5085
- Tl as SearchcraftPopoverForm,
5086
- xl as SearchcraftResultsInfo,
5087
- Al as SearchcraftSearchResultsPerPage,
5088
- $l as SearchcraftTheme
5128
+ Ml as Searchcraft,
5129
+ Cl as SearchcraftBaseSearchResults,
5130
+ Pl as SearchcraftFilterPanel,
5131
+ Tl as SearchcraftInputForm,
5132
+ Al as SearchcraftPagination,
5133
+ kl as SearchcraftPopoverButton,
5134
+ xl as SearchcraftPopoverForm,
5135
+ $l as SearchcraftResultsInfo,
5136
+ Il as SearchcraftSearchResultsPerPage,
5137
+ _l as SearchcraftTheme
5089
5138
  };
5090
5139
  //# sourceMappingURL=index.js.map