@cartbot/plate-search 2.0.13 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3043 @@
1
+ var st, H, On, Pe, jr, Pn, In, Hn, lr, Qt, er, Dn, it = {}, Un = [], jo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, ct = Array.isArray;
2
+ function Te(e, t) {
3
+ for (var r in t) e[r] = t[r];
4
+ return e;
5
+ }
6
+ function sr(e) {
7
+ e && e.parentNode && e.parentNode.removeChild(e);
8
+ }
9
+ function _(e, t, r) {
10
+ var n, a, o, i = {};
11
+ for (o in t) o == "key" ? n = t[o] : o == "ref" ? a = t[o] : i[o] = t[o];
12
+ if (arguments.length > 2 && (i.children = arguments.length > 3 ? st.call(arguments, 2) : r), typeof e == "function" && e.defaultProps != null) for (o in e.defaultProps) i[o] === void 0 && (i[o] = e.defaultProps[o]);
13
+ return ot(e, i, n, a, null);
14
+ }
15
+ function ot(e, t, r, n, a) {
16
+ var o = { type: e, props: t, key: r, ref: n, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: a ?? ++On, __i: -1, __u: 0 };
17
+ return a == null && H.vnode != null && H.vnode(o), o;
18
+ }
19
+ function $n() {
20
+ return { current: null };
21
+ }
22
+ function O(e) {
23
+ return e.children;
24
+ }
25
+ function be(e, t) {
26
+ this.props = e, this.context = t;
27
+ }
28
+ function Ye(e, t) {
29
+ if (t == null) return e.__ ? Ye(e.__, e.__i + 1) : null;
30
+ for (var r; t < e.__k.length; t++) if ((r = e.__k[t]) != null && r.__e != null) return r.__e;
31
+ return typeof e.type == "function" ? Ye(e) : null;
32
+ }
33
+ function zn(e) {
34
+ var t, r;
35
+ if ((e = e.__) != null && e.__c != null) {
36
+ for (e.__e = e.__c.base = null, t = 0; t < e.__k.length; t++) if ((r = e.__k[t]) != null && r.__e != null) {
37
+ e.__e = e.__c.base = r.__e;
38
+ break;
39
+ }
40
+ return zn(e);
41
+ }
42
+ }
43
+ function tr(e) {
44
+ (!e.__d && (e.__d = !0) && Pe.push(e) && !Tt.__r++ || jr != H.debounceRendering) && ((jr = H.debounceRendering) || Pn)(Tt);
45
+ }
46
+ function Tt() {
47
+ for (var e, t, r, n, a, o, i, u = 1; Pe.length; ) Pe.length > u && Pe.sort(In), e = Pe.shift(), u = Pe.length, e.__d && (r = void 0, a = (n = (t = e).__v).__e, o = [], i = [], t.__P && ((r = Te({}, n)).__v = n.__v + 1, H.vnode && H.vnode(r), cr(t.__P, r, n, t.__n, t.__P.namespaceURI, 32 & n.__u ? [a] : null, o, a ?? Ye(n), !!(32 & n.__u), i), r.__v = n.__v, r.__.__k[r.__i] = r, Zn(o, r, i), r.__e != a && zn(r)));
48
+ Tt.__r = 0;
49
+ }
50
+ function Fn(e, t, r, n, a, o, i, u, d, s, h) {
51
+ var c, w, v, C, R, M, N = n && n.__k || Un, $ = t.length;
52
+ for (d = Zo(r, t, N, d, $), c = 0; c < $; c++) (v = r.__k[c]) != null && (w = v.__i == -1 ? it : N[v.__i] || it, v.__i = c, M = cr(e, v, w, a, o, i, u, d, s, h), C = v.__e, v.ref && w.ref != v.ref && (w.ref && ur(w.ref, null, v), h.push(v.ref, v.__c || C, v)), R == null && C != null && (R = C), 4 & v.__u || w.__k === v.__k ? d = jn(v, d, e) : typeof v.type == "function" && M !== void 0 ? d = M : C && (d = C.nextSibling), v.__u &= -7);
53
+ return r.__e = R, d;
54
+ }
55
+ function Zo(e, t, r, n, a) {
56
+ var o, i, u, d, s, h = r.length, c = h, w = 0;
57
+ for (e.__k = new Array(a), o = 0; o < a; o++) (i = t[o]) != null && typeof i != "boolean" && typeof i != "function" ? (d = o + w, (i = e.__k[o] = typeof i == "string" || typeof i == "number" || typeof i == "bigint" || i.constructor == String ? ot(null, i, null, null, null) : ct(i) ? ot(O, { children: i }, null, null, null) : i.constructor == null && i.__b > 0 ? ot(i.type, i.props, i.key, i.ref ? i.ref : null, i.__v) : i).__ = e, i.__b = e.__b + 1, u = null, (s = i.__i = Vo(i, r, d, c)) != -1 && (c--, (u = r[s]) && (u.__u |= 2)), u == null || u.__v == null ? (s == -1 && (a > h ? w-- : a < h && w++), typeof i.type != "function" && (i.__u |= 4)) : s != d && (s == d - 1 ? w-- : s == d + 1 ? w++ : (s > d ? w-- : w++, i.__u |= 4))) : e.__k[o] = null;
58
+ if (c) for (o = 0; o < h; o++) (u = r[o]) != null && !(2 & u.__u) && (u.__e == n && (n = Ye(u)), Wn(u, u));
59
+ return n;
60
+ }
61
+ function jn(e, t, r) {
62
+ var n, a;
63
+ if (typeof e.type == "function") {
64
+ for (n = e.__k, a = 0; n && a < n.length; a++) n[a] && (n[a].__ = e, t = jn(n[a], t, r));
65
+ return t;
66
+ }
67
+ e.__e != t && (t && e.type && !r.contains(t) && (t = Ye(e)), r.insertBefore(e.__e, t || null), t = e.__e);
68
+ do
69
+ t = t && t.nextSibling;
70
+ while (t != null && t.nodeType == 8);
71
+ return t;
72
+ }
73
+ function Me(e, t) {
74
+ return t = t || [], e == null || typeof e == "boolean" || (ct(e) ? e.some(function(r) {
75
+ Me(r, t);
76
+ }) : t.push(e)), t;
77
+ }
78
+ function Vo(e, t, r, n) {
79
+ var a, o, i = e.key, u = e.type, d = t[r];
80
+ if (d === null && e.key == null || d && i == d.key && u == d.type && !(2 & d.__u)) return r;
81
+ if (n > (d != null && !(2 & d.__u) ? 1 : 0)) for (a = r - 1, o = r + 1; a >= 0 || o < t.length; ) {
82
+ if (a >= 0) {
83
+ if ((d = t[a]) && !(2 & d.__u) && i == d.key && u == d.type) return a;
84
+ a--;
85
+ }
86
+ if (o < t.length) {
87
+ if ((d = t[o]) && !(2 & d.__u) && i == d.key && u == d.type) return o;
88
+ o++;
89
+ }
90
+ }
91
+ return -1;
92
+ }
93
+ function Zr(e, t, r) {
94
+ t[0] == "-" ? e.setProperty(t, r ?? "") : e[t] = r == null ? "" : typeof r != "number" || jo.test(t) ? r : r + "px";
95
+ }
96
+ function vt(e, t, r, n, a) {
97
+ var o, i;
98
+ e: if (t == "style") if (typeof r == "string") e.style.cssText = r;
99
+ else {
100
+ if (typeof n == "string" && (e.style.cssText = n = ""), n) for (t in n) r && t in r || Zr(e.style, t, "");
101
+ if (r) for (t in r) n && r[t] == n[t] || Zr(e.style, t, r[t]);
102
+ }
103
+ else if (t[0] == "o" && t[1] == "n") o = t != (t = t.replace(Hn, "$1")), i = t.toLowerCase(), t = i in e || t == "onFocusOut" || t == "onFocusIn" ? i.slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + o] = r, r ? n ? r.u = n.u : (r.u = lr, e.addEventListener(t, o ? er : Qt, o)) : e.removeEventListener(t, o ? er : Qt, o);
104
+ else {
105
+ if (a == "http://www.w3.org/2000/svg") t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
106
+ else if (t != "width" && t != "height" && t != "href" && t != "list" && t != "form" && t != "tabIndex" && t != "download" && t != "rowSpan" && t != "colSpan" && t != "role" && t != "popover" && t in e) try {
107
+ e[t] = r ?? "";
108
+ break e;
109
+ } catch {
110
+ }
111
+ typeof r == "function" || (r == null || r === !1 && t[4] != "-" ? e.removeAttribute(t) : e.setAttribute(t, t == "popover" && r == 1 ? "" : r));
112
+ }
113
+ }
114
+ function Vr(e) {
115
+ return function(t) {
116
+ if (this.l) {
117
+ var r = this.l[t.type + e];
118
+ if (t.t == null) t.t = lr++;
119
+ else if (t.t < r.u) return;
120
+ return r(H.event ? H.event(t) : t);
121
+ }
122
+ };
123
+ }
124
+ function cr(e, t, r, n, a, o, i, u, d, s) {
125
+ var h, c, w, v, C, R, M, N, $, V, L, y, X, we, se, ue, fe, j = t.type;
126
+ if (t.constructor != null) return null;
127
+ 128 & r.__u && (d = !!(32 & r.__u), o = [u = t.__e = r.__e]), (h = H.__b) && h(t);
128
+ e: if (typeof j == "function") try {
129
+ if (N = t.props, $ = "prototype" in j && j.prototype.render, V = (h = j.contextType) && n[h.__c], L = h ? V ? V.props.value : h.__ : n, r.__c ? M = (c = t.__c = r.__c).__ = c.__E : ($ ? t.__c = c = new j(N, L) : (t.__c = c = new be(N, L), c.constructor = j, c.render = Bo), V && V.sub(c), c.props = N, c.state || (c.state = {}), c.context = L, c.__n = n, w = c.__d = !0, c.__h = [], c._sb = []), $ && c.__s == null && (c.__s = c.state), $ && j.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = Te({}, c.__s)), Te(c.__s, j.getDerivedStateFromProps(N, c.__s))), v = c.props, C = c.state, c.__v = t, w) $ && j.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), $ && c.componentDidMount != null && c.__h.push(c.componentDidMount);
130
+ else {
131
+ if ($ && j.getDerivedStateFromProps == null && N !== v && c.componentWillReceiveProps != null && c.componentWillReceiveProps(N, L), !c.__e && c.shouldComponentUpdate != null && c.shouldComponentUpdate(N, c.__s, L) === !1 || t.__v == r.__v) {
132
+ for (t.__v != r.__v && (c.props = N, c.state = c.__s, c.__d = !1), t.__e = r.__e, t.__k = r.__k, t.__k.some(function(ee) {
133
+ ee && (ee.__ = t);
134
+ }), y = 0; y < c._sb.length; y++) c.__h.push(c._sb[y]);
135
+ c._sb = [], c.__h.length && i.push(c);
136
+ break e;
137
+ }
138
+ c.componentWillUpdate != null && c.componentWillUpdate(N, c.__s, L), $ && c.componentDidUpdate != null && c.__h.push(function() {
139
+ c.componentDidUpdate(v, C, R);
140
+ });
141
+ }
142
+ if (c.context = L, c.props = N, c.__P = e, c.__e = !1, X = H.__r, we = 0, $) {
143
+ for (c.state = c.__s, c.__d = !1, X && X(t), h = c.render(c.props, c.state, c.context), se = 0; se < c._sb.length; se++) c.__h.push(c._sb[se]);
144
+ c._sb = [];
145
+ } else do
146
+ c.__d = !1, X && X(t), h = c.render(c.props, c.state, c.context), c.state = c.__s;
147
+ while (c.__d && ++we < 25);
148
+ c.state = c.__s, c.getChildContext != null && (n = Te(Te({}, n), c.getChildContext())), $ && !w && c.getSnapshotBeforeUpdate != null && (R = c.getSnapshotBeforeUpdate(v, C)), ue = h, h != null && h.type === O && h.key == null && (ue = Vn(h.props.children)), u = Fn(e, ct(ue) ? ue : [ue], t, r, n, a, o, i, u, d, s), c.base = t.__e, t.__u &= -161, c.__h.length && i.push(c), M && (c.__E = c.__ = null);
149
+ } catch (ee) {
150
+ if (t.__v = null, d || o != null) if (ee.then) {
151
+ for (t.__u |= d ? 160 : 128; u && u.nodeType == 8 && u.nextSibling; ) u = u.nextSibling;
152
+ o[o.indexOf(u)] = null, t.__e = u;
153
+ } else for (fe = o.length; fe--; ) sr(o[fe]);
154
+ else t.__e = r.__e, t.__k = r.__k;
155
+ H.__e(ee, t, r);
156
+ }
157
+ else o == null && t.__v == r.__v ? (t.__k = r.__k, t.__e = r.__e) : u = t.__e = Wo(r.__e, t, r, n, a, o, i, d, s);
158
+ return (h = H.diffed) && h(t), 128 & t.__u ? void 0 : u;
159
+ }
160
+ function Zn(e, t, r) {
161
+ for (var n = 0; n < r.length; n++) ur(r[n], r[++n], r[++n]);
162
+ H.__c && H.__c(t, e), e.some(function(a) {
163
+ try {
164
+ e = a.__h, a.__h = [], e.some(function(o) {
165
+ o.call(a);
166
+ });
167
+ } catch (o) {
168
+ H.__e(o, a.__v);
169
+ }
170
+ });
171
+ }
172
+ function Vn(e) {
173
+ return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : ct(e) ? e.map(Vn) : Te({}, e);
174
+ }
175
+ function Wo(e, t, r, n, a, o, i, u, d) {
176
+ var s, h, c, w, v, C, R, M = r.props, N = t.props, $ = t.type;
177
+ if ($ == "svg" ? a = "http://www.w3.org/2000/svg" : $ == "math" ? a = "http://www.w3.org/1998/Math/MathML" : a || (a = "http://www.w3.org/1999/xhtml"), o != null) {
178
+ for (s = 0; s < o.length; s++) if ((v = o[s]) && "setAttribute" in v == !!$ && ($ ? v.localName == $ : v.nodeType == 3)) {
179
+ e = v, o[s] = null;
180
+ break;
181
+ }
182
+ }
183
+ if (e == null) {
184
+ if ($ == null) return document.createTextNode(N);
185
+ e = document.createElementNS(a, $, N.is && N), u && (H.__m && H.__m(t, o), u = !1), o = null;
186
+ }
187
+ if ($ == null) M === N || u && e.data == N || (e.data = N);
188
+ else {
189
+ if (o = o && st.call(e.childNodes), M = r.props || it, !u && o != null) for (M = {}, s = 0; s < e.attributes.length; s++) M[(v = e.attributes[s]).name] = v.value;
190
+ for (s in M) if (v = M[s], s != "children") {
191
+ if (s == "dangerouslySetInnerHTML") c = v;
192
+ else if (!(s in N)) {
193
+ if (s == "value" && "defaultValue" in N || s == "checked" && "defaultChecked" in N) continue;
194
+ vt(e, s, null, v, a);
195
+ }
196
+ }
197
+ for (s in N) v = N[s], s == "children" ? w = v : s == "dangerouslySetInnerHTML" ? h = v : s == "value" ? C = v : s == "checked" ? R = v : u && typeof v != "function" || M[s] === v || vt(e, s, v, M[s], a);
198
+ if (h) u || c && (h.__html == c.__html || h.__html == e.innerHTML) || (e.innerHTML = h.__html), t.__k = [];
199
+ else if (c && (e.innerHTML = ""), Fn(t.type == "template" ? e.content : e, ct(w) ? w : [w], t, r, n, $ == "foreignObject" ? "http://www.w3.org/1999/xhtml" : a, o, i, o ? o[0] : r.__k && Ye(r, 0), u, d), o != null) for (s = o.length; s--; ) sr(o[s]);
200
+ u || (s = "value", $ == "progress" && C == null ? e.removeAttribute("value") : C != null && (C !== e[s] || $ == "progress" && !C || $ == "option" && C != M[s]) && vt(e, s, C, M[s], a), s = "checked", R != null && R != e[s] && vt(e, s, R, M[s], a));
201
+ }
202
+ return e;
203
+ }
204
+ function ur(e, t, r) {
205
+ try {
206
+ if (typeof e == "function") {
207
+ var n = typeof e.__u == "function";
208
+ n && e.__u(), n && t == null || (e.__u = e(t));
209
+ } else e.current = t;
210
+ } catch (a) {
211
+ H.__e(a, r);
212
+ }
213
+ }
214
+ function Wn(e, t, r) {
215
+ var n, a;
216
+ if (H.unmount && H.unmount(e), (n = e.ref) && (n.current && n.current != e.__e || ur(n, null, t)), (n = e.__c) != null) {
217
+ if (n.componentWillUnmount) try {
218
+ n.componentWillUnmount();
219
+ } catch (o) {
220
+ H.__e(o, t);
221
+ }
222
+ n.base = n.__P = null;
223
+ }
224
+ if (n = e.__k) for (a = 0; a < n.length; a++) n[a] && Wn(n[a], t, r || typeof e.type != "function");
225
+ r || sr(e.__e), e.__c = e.__ = e.__e = void 0;
226
+ }
227
+ function Bo(e, t, r) {
228
+ return this.constructor(e, r);
229
+ }
230
+ function lt(e, t, r) {
231
+ var n, a, o, i;
232
+ t == document && (t = document.documentElement), H.__ && H.__(e, t), a = (n = typeof r == "function") ? null : r && r.__k || t.__k, o = [], i = [], cr(t, e = (!n && r || t).__k = _(O, null, [e]), a || it, it, t.namespaceURI, !n && r ? [r] : a ? null : t.firstChild ? st.call(t.childNodes) : null, o, !n && r ? r : a ? a.__e : t.firstChild, n, i), Zn(o, e, i);
233
+ }
234
+ function Bn(e, t) {
235
+ lt(e, t, Bn);
236
+ }
237
+ function Yo(e, t, r) {
238
+ var n, a, o, i, u = Te({}, e.props);
239
+ for (o in e.type && e.type.defaultProps && (i = e.type.defaultProps), t) o == "key" ? n = t[o] : o == "ref" ? a = t[o] : u[o] = t[o] === void 0 && i != null ? i[o] : t[o];
240
+ return arguments.length > 2 && (u.children = arguments.length > 3 ? st.call(arguments, 2) : r), ot(e.type, u, n || e.key, a || e.ref, null);
241
+ }
242
+ function dr(e) {
243
+ function t(r) {
244
+ var n, a;
245
+ return this.getChildContext || (n = /* @__PURE__ */ new Set(), (a = {})[t.__c] = this, this.getChildContext = function() {
246
+ return a;
247
+ }, this.componentWillUnmount = function() {
248
+ n = null;
249
+ }, this.shouldComponentUpdate = function(o) {
250
+ this.props.value != o.value && n.forEach(function(i) {
251
+ i.__e = !0, tr(i);
252
+ });
253
+ }, this.sub = function(o) {
254
+ n.add(o);
255
+ var i = o.componentWillUnmount;
256
+ o.componentWillUnmount = function() {
257
+ n && n.delete(o), i && i.call(o);
258
+ };
259
+ }), r.children;
260
+ }
261
+ return t.__c = "__cC" + Dn++, t.__ = e, t.Provider = t.__l = (t.Consumer = function(r, n) {
262
+ return r.children(n);
263
+ }).contextType = t, t;
264
+ }
265
+ st = Un.slice, H = { __e: function(e, t, r, n) {
266
+ for (var a, o, i; t = t.__; ) if ((a = t.__c) && !a.__) try {
267
+ if ((o = a.constructor) && o.getDerivedStateFromError != null && (a.setState(o.getDerivedStateFromError(e)), i = a.__d), a.componentDidCatch != null && (a.componentDidCatch(e, n || {}), i = a.__d), i) return a.__E = a;
268
+ } catch (u) {
269
+ e = u;
270
+ }
271
+ throw e;
272
+ } }, On = 0, be.prototype.setState = function(e, t) {
273
+ var r;
274
+ r = this.__s != null && this.__s != this.state ? this.__s : this.__s = Te({}, this.state), typeof e == "function" && (e = e(Te({}, r), this.props)), e && Te(r, e), e != null && this.__v && (t && this._sb.push(t), tr(this));
275
+ }, be.prototype.forceUpdate = function(e) {
276
+ this.__v && (this.__e = !0, e && this.__h.push(e), tr(this));
277
+ }, be.prototype.render = O, Pe = [], Pn = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, In = function(e, t) {
278
+ return e.__v.__b - t.__v.__b;
279
+ }, Tt.__r = 0, Hn = /(PointerCapture)$|Capture$/i, lr = 0, Qt = Vr(!1), er = Vr(!0), Dn = 0;
280
+ var Le, Y, $t, Wr, Ge = 0, Yn = [], q = H, Br = q.__b, Yr = q.__r, Gr = q.diffed, qr = q.__c, Xr = q.unmount, Kr = q.__;
281
+ function Ie(e, t) {
282
+ q.__h && q.__h(Y, e, Ge || t), Ge = 0;
283
+ var r = Y.__H || (Y.__H = { __: [], __h: [] });
284
+ return e >= r.__.length && r.__.push({}), r.__[e];
285
+ }
286
+ function de(e) {
287
+ return Ge = 1, Ct(Gn, e);
288
+ }
289
+ function Ct(e, t, r) {
290
+ var n = Ie(Le++, 2);
291
+ if (n.t = e, !n.__c && (n.__ = [r ? r(t) : Gn(void 0, t), function(u) {
292
+ var d = n.__N ? n.__N[0] : n.__[0], s = n.t(d, u);
293
+ d !== s && (n.__N = [s, n.__[1]], n.__c.setState({}));
294
+ }], n.__c = Y, !Y.__f)) {
295
+ var a = function(u, d, s) {
296
+ if (!n.__c.__H) return !0;
297
+ var h = n.__c.__H.__.filter(function(w) {
298
+ return !!w.__c;
299
+ });
300
+ if (h.every(function(w) {
301
+ return !w.__N;
302
+ })) return !o || o.call(this, u, d, s);
303
+ var c = n.__c.props !== u;
304
+ return h.forEach(function(w) {
305
+ if (w.__N) {
306
+ var v = w.__[0];
307
+ w.__ = w.__N, w.__N = void 0, v !== w.__[0] && (c = !0);
308
+ }
309
+ }), o && o.call(this, u, d, s) || c;
310
+ };
311
+ Y.__f = !0;
312
+ var o = Y.shouldComponentUpdate, i = Y.componentWillUpdate;
313
+ Y.componentWillUpdate = function(u, d, s) {
314
+ if (this.__e) {
315
+ var h = o;
316
+ o = void 0, a(u, d, s), o = h;
317
+ }
318
+ i && i.call(this, u, d, s);
319
+ }, Y.shouldComponentUpdate = a;
320
+ }
321
+ return n.__N || n.__;
322
+ }
323
+ function ye(e, t) {
324
+ var r = Ie(Le++, 3);
325
+ !q.__s && _r(r.__H, t) && (r.__ = e, r.u = t, Y.__H.__h.push(r));
326
+ }
327
+ function qe(e, t) {
328
+ var r = Ie(Le++, 4);
329
+ !q.__s && _r(r.__H, t) && (r.__ = e, r.u = t, Y.__h.push(r));
330
+ }
331
+ function Rt(e) {
332
+ return Ge = 5, ut(function() {
333
+ return { current: e };
334
+ }, []);
335
+ }
336
+ function fr(e, t, r) {
337
+ Ge = 6, qe(function() {
338
+ if (typeof e == "function") {
339
+ var n = e(t());
340
+ return function() {
341
+ e(null), n && typeof n == "function" && n();
342
+ };
343
+ }
344
+ if (e) return e.current = t(), function() {
345
+ return e.current = null;
346
+ };
347
+ }, r == null ? r : r.concat(e));
348
+ }
349
+ function ut(e, t) {
350
+ var r = Ie(Le++, 7);
351
+ return _r(r.__H, t) && (r.__ = e(), r.__H = t, r.__h = e), r.__;
352
+ }
353
+ function pr(e, t) {
354
+ return Ge = 8, ut(function() {
355
+ return e;
356
+ }, t);
357
+ }
358
+ function Mt(e) {
359
+ var t = Y.context[e.__c], r = Ie(Le++, 9);
360
+ return r.c = e, t ? (r.__ == null && (r.__ = !0, t.sub(Y)), t.props.value) : e.__;
361
+ }
362
+ function hr(e, t) {
363
+ q.useDebugValue && q.useDebugValue(t ? t(e) : e);
364
+ }
365
+ function Go(e) {
366
+ var t = Ie(Le++, 10), r = de();
367
+ return t.__ = e, Y.componentDidCatch || (Y.componentDidCatch = function(n, a) {
368
+ t.__ && t.__(n, a), r[1](n);
369
+ }), [r[0], function() {
370
+ r[1](void 0);
371
+ }];
372
+ }
373
+ function mr() {
374
+ var e = Ie(Le++, 11);
375
+ if (!e.__) {
376
+ for (var t = Y.__v; t !== null && !t.__m && t.__ !== null; ) t = t.__;
377
+ var r = t.__m || (t.__m = [0, 0]);
378
+ e.__ = "P" + r[0] + "-" + r[1]++;
379
+ }
380
+ return e.__;
381
+ }
382
+ function qo() {
383
+ for (var e; e = Yn.shift(); ) if (e.__P && e.__H) try {
384
+ e.__H.__h.forEach(xt), e.__H.__h.forEach(rr), e.__H.__h = [];
385
+ } catch (t) {
386
+ e.__H.__h = [], q.__e(t, e.__v);
387
+ }
388
+ }
389
+ q.__b = function(e) {
390
+ Y = null, Br && Br(e);
391
+ }, q.__ = function(e, t) {
392
+ e && t.__k && t.__k.__m && (e.__m = t.__k.__m), Kr && Kr(e, t);
393
+ }, q.__r = function(e) {
394
+ Yr && Yr(e), Le = 0;
395
+ var t = (Y = e.__c).__H;
396
+ t && ($t === Y ? (t.__h = [], Y.__h = [], t.__.forEach(function(r) {
397
+ r.__N && (r.__ = r.__N), r.u = r.__N = void 0;
398
+ })) : (t.__h.forEach(xt), t.__h.forEach(rr), t.__h = [], Le = 0)), $t = Y;
399
+ }, q.diffed = function(e) {
400
+ Gr && Gr(e);
401
+ var t = e.__c;
402
+ t && t.__H && (t.__H.__h.length && (Yn.push(t) !== 1 && Wr === q.requestAnimationFrame || ((Wr = q.requestAnimationFrame) || Xo)(qo)), t.__H.__.forEach(function(r) {
403
+ r.u && (r.__H = r.u), r.u = void 0;
404
+ })), $t = Y = null;
405
+ }, q.__c = function(e, t) {
406
+ t.some(function(r) {
407
+ try {
408
+ r.__h.forEach(xt), r.__h = r.__h.filter(function(n) {
409
+ return !n.__ || rr(n);
410
+ });
411
+ } catch (n) {
412
+ t.some(function(a) {
413
+ a.__h && (a.__h = []);
414
+ }), t = [], q.__e(n, r.__v);
415
+ }
416
+ }), qr && qr(e, t);
417
+ }, q.unmount = function(e) {
418
+ Xr && Xr(e);
419
+ var t, r = e.__c;
420
+ r && r.__H && (r.__H.__.forEach(function(n) {
421
+ try {
422
+ xt(n);
423
+ } catch (a) {
424
+ t = a;
425
+ }
426
+ }), r.__H = void 0, t && q.__e(t, r.__v));
427
+ };
428
+ var Jr = typeof requestAnimationFrame == "function";
429
+ function Xo(e) {
430
+ var t, r = function() {
431
+ clearTimeout(n), Jr && cancelAnimationFrame(t), setTimeout(e);
432
+ }, n = setTimeout(r, 35);
433
+ Jr && (t = requestAnimationFrame(r));
434
+ }
435
+ function xt(e) {
436
+ var t = Y, r = e.__c;
437
+ typeof r == "function" && (e.__c = void 0, r()), Y = t;
438
+ }
439
+ function rr(e) {
440
+ var t = Y;
441
+ e.__c = e.__(), Y = t;
442
+ }
443
+ function _r(e, t) {
444
+ return !e || e.length !== t.length || t.some(function(r, n) {
445
+ return r !== e[n];
446
+ });
447
+ }
448
+ function Gn(e, t) {
449
+ return typeof t == "function" ? t(e) : t;
450
+ }
451
+ function qn(e, t) {
452
+ for (var r in t) e[r] = t[r];
453
+ return e;
454
+ }
455
+ function nr(e, t) {
456
+ for (var r in e) if (r !== "__source" && !(r in t)) return !0;
457
+ for (var n in t) if (n !== "__source" && e[n] !== t[n]) return !0;
458
+ return !1;
459
+ }
460
+ function gr(e, t) {
461
+ var r = t(), n = de({ t: { __: r, u: t } }), a = n[0].t, o = n[1];
462
+ return qe(function() {
463
+ a.__ = r, a.u = t, zt(a) && o({ t: a });
464
+ }, [e, r, t]), ye(function() {
465
+ return zt(a) && o({ t: a }), e(function() {
466
+ zt(a) && o({ t: a });
467
+ });
468
+ }, [e]), r;
469
+ }
470
+ function zt(e) {
471
+ var t, r, n = e.u, a = e.__;
472
+ try {
473
+ var o = n();
474
+ return !((t = a) === (r = o) && (t !== 0 || 1 / t == 1 / r) || t != t && r != r);
475
+ } catch {
476
+ return !0;
477
+ }
478
+ }
479
+ function vr(e) {
480
+ e();
481
+ }
482
+ function yr(e) {
483
+ return e;
484
+ }
485
+ function br() {
486
+ return [!1, vr];
487
+ }
488
+ var wr = qe;
489
+ function kt(e, t) {
490
+ this.props = e, this.context = t;
491
+ }
492
+ function Xn(e, t) {
493
+ function r(a) {
494
+ var o = this.props.ref, i = o == a.ref;
495
+ return !i && o && (o.call ? o(null) : o.current = null), t ? !t(this.props, a) || !i : nr(this.props, a);
496
+ }
497
+ function n(a) {
498
+ return this.shouldComponentUpdate = r, _(e, a);
499
+ }
500
+ return n.displayName = "Memo(" + (e.displayName || e.name) + ")", n.prototype.isReactComponent = !0, n.__f = !0, n;
501
+ }
502
+ (kt.prototype = new be()).isPureReactComponent = !0, kt.prototype.shouldComponentUpdate = function(e, t) {
503
+ return nr(this.props, e) || nr(this.state, t);
504
+ };
505
+ var Qr = H.__b;
506
+ H.__b = function(e) {
507
+ e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Qr && Qr(e);
508
+ };
509
+ var Ko = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
510
+ function Ne(e) {
511
+ function t(r) {
512
+ var n = qn({}, r);
513
+ return delete n.ref, e(n, r.ref || null);
514
+ }
515
+ return t.$$typeof = Ko, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
516
+ }
517
+ var en = function(e, t) {
518
+ return e == null ? null : Me(Me(e).map(t));
519
+ }, Kn = { map: en, forEach: en, count: function(e) {
520
+ return e ? Me(e).length : 0;
521
+ }, only: function(e) {
522
+ var t = Me(e);
523
+ if (t.length !== 1) throw "Children.only";
524
+ return t[0];
525
+ }, toArray: Me }, Jo = H.__e;
526
+ H.__e = function(e, t, r, n) {
527
+ if (e.then) {
528
+ for (var a, o = t; o = o.__; ) if ((a = o.__c) && a.__c) return t.__e == null && (t.__e = r.__e, t.__k = r.__k), a.__c(e, t);
529
+ }
530
+ Jo(e, t, r, n);
531
+ };
532
+ var tn = H.unmount;
533
+ function Jn(e, t, r) {
534
+ return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(n) {
535
+ typeof n.__c == "function" && n.__c();
536
+ }), e.__c.__H = null), (e = qn({}, e)).__c != null && (e.__c.__P === r && (e.__c.__P = t), e.__c.__e = !0, e.__c = null), e.__k = e.__k && e.__k.map(function(n) {
537
+ return Jn(n, t, r);
538
+ })), e;
539
+ }
540
+ function Qn(e, t, r) {
541
+ return e && r && (e.__v = null, e.__k = e.__k && e.__k.map(function(n) {
542
+ return Qn(n, t, r);
543
+ }), e.__c && e.__c.__P === t && (e.__e && r.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = r)), e;
544
+ }
545
+ function at() {
546
+ this.__u = 0, this.o = null, this.__b = null;
547
+ }
548
+ function eo(e) {
549
+ var t = e.__.__c;
550
+ return t && t.__a && t.__a(e);
551
+ }
552
+ function to(e) {
553
+ var t, r, n;
554
+ function a(o) {
555
+ if (t || (t = e()).then(function(i) {
556
+ r = i.default || i;
557
+ }, function(i) {
558
+ n = i;
559
+ }), n) throw n;
560
+ if (!r) throw t;
561
+ return _(r, o);
562
+ }
563
+ return a.displayName = "Lazy", a.__f = !0, a;
564
+ }
565
+ function We() {
566
+ this.i = null, this.l = null;
567
+ }
568
+ H.unmount = function(e) {
569
+ var t = e.__c;
570
+ t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), tn && tn(e);
571
+ }, (at.prototype = new be()).__c = function(e, t) {
572
+ var r = t.__c, n = this;
573
+ n.o == null && (n.o = []), n.o.push(r);
574
+ var a = eo(n.__v), o = !1, i = function() {
575
+ o || (o = !0, r.__R = null, a ? a(u) : u());
576
+ };
577
+ r.__R = i;
578
+ var u = function() {
579
+ if (!--n.__u) {
580
+ if (n.state.__a) {
581
+ var d = n.state.__a;
582
+ n.__v.__k[0] = Qn(d, d.__c.__P, d.__c.__O);
583
+ }
584
+ var s;
585
+ for (n.setState({ __a: n.__b = null }); s = n.o.pop(); ) s.forceUpdate();
586
+ }
587
+ };
588
+ n.__u++ || 32 & t.__u || n.setState({ __a: n.__b = n.__v.__k[0] }), e.then(i, i);
589
+ }, at.prototype.componentWillUnmount = function() {
590
+ this.o = [];
591
+ }, at.prototype.render = function(e, t) {
592
+ if (this.__b) {
593
+ if (this.__v.__k) {
594
+ var r = document.createElement("div"), n = this.__v.__k[0].__c;
595
+ this.__v.__k[0] = Jn(this.__b, r, n.__O = n.__P);
596
+ }
597
+ this.__b = null;
598
+ }
599
+ var a = t.__a && _(O, null, e.fallback);
600
+ return a && (a.__u &= -33), [_(O, null, t.__a ? null : e.children), a];
601
+ };
602
+ var rn = function(e, t, r) {
603
+ if (++r[1] === r[0] && e.l.delete(t), e.props.revealOrder && (e.props.revealOrder[0] !== "t" || !e.l.size)) for (r = e.i; r; ) {
604
+ for (; r.length > 3; ) r.pop()();
605
+ if (r[1] < r[0]) break;
606
+ e.i = r = r[2];
607
+ }
608
+ };
609
+ function Qo(e) {
610
+ return this.getChildContext = function() {
611
+ return e.context;
612
+ }, e.children;
613
+ }
614
+ function ea(e) {
615
+ var t = this, r = e.h;
616
+ if (t.componentWillUnmount = function() {
617
+ lt(null, t.v), t.v = null, t.h = null;
618
+ }, t.h && t.h !== r && t.componentWillUnmount(), !t.v) {
619
+ for (var n = t.__v; n !== null && !n.__m && n.__ !== null; ) n = n.__;
620
+ t.h = r, t.v = { nodeType: 1, parentNode: r, childNodes: [], __k: { __m: n.__m }, contains: function() {
621
+ return !0;
622
+ }, insertBefore: function(a, o) {
623
+ this.childNodes.push(a), t.h.insertBefore(a, o);
624
+ }, removeChild: function(a) {
625
+ this.childNodes.splice(this.childNodes.indexOf(a) >>> 1, 1), t.h.removeChild(a);
626
+ } };
627
+ }
628
+ lt(_(Qo, { context: t.context }, e.__v), t.v);
629
+ }
630
+ function ro(e, t) {
631
+ var r = _(ea, { __v: e, h: t });
632
+ return r.containerInfo = t, r;
633
+ }
634
+ (We.prototype = new be()).__a = function(e) {
635
+ var t = this, r = eo(t.__v), n = t.l.get(e);
636
+ return n[0]++, function(a) {
637
+ var o = function() {
638
+ t.props.revealOrder ? (n.push(a), rn(t, e, n)) : a();
639
+ };
640
+ r ? r(o) : o();
641
+ };
642
+ }, We.prototype.render = function(e) {
643
+ this.i = null, this.l = /* @__PURE__ */ new Map();
644
+ var t = Me(e.children);
645
+ e.revealOrder && e.revealOrder[0] === "b" && t.reverse();
646
+ for (var r = t.length; r--; ) this.l.set(t[r], this.i = [1, 0, this.i]);
647
+ return e.children;
648
+ }, We.prototype.componentDidUpdate = We.prototype.componentDidMount = function() {
649
+ var e = this;
650
+ this.l.forEach(function(t, r) {
651
+ rn(e, r, t);
652
+ });
653
+ };
654
+ var no = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, ta = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, ra = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, na = /[A-Z0-9]/g, oa = typeof document < "u", aa = function(e) {
655
+ return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
656
+ };
657
+ function At(e, t, r) {
658
+ return t.__k == null && (t.textContent = ""), lt(e, t), typeof r == "function" && r(), e ? e.__c : null;
659
+ }
660
+ function oo(e, t, r) {
661
+ return Bn(e, t), typeof r == "function" && r(), e ? e.__c : null;
662
+ }
663
+ be.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
664
+ Object.defineProperty(be.prototype, e, { configurable: !0, get: function() {
665
+ return this["UNSAFE_" + e];
666
+ }, set: function(t) {
667
+ Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t });
668
+ } });
669
+ });
670
+ var nn = H.event;
671
+ function ia() {
672
+ }
673
+ function la() {
674
+ return this.cancelBubble;
675
+ }
676
+ function sa() {
677
+ return this.defaultPrevented;
678
+ }
679
+ H.event = function(e) {
680
+ return nn && (e = nn(e)), e.persist = ia, e.isPropagationStopped = la, e.isDefaultPrevented = sa, e.nativeEvent = e;
681
+ };
682
+ var xr, ca = { enumerable: !1, configurable: !0, get: function() {
683
+ return this.class;
684
+ } }, on = H.vnode;
685
+ H.vnode = function(e) {
686
+ typeof e.type == "string" && function(t) {
687
+ var r = t.props, n = t.type, a = {}, o = n.indexOf("-") === -1;
688
+ for (var i in r) {
689
+ var u = r[i];
690
+ if (!(i === "value" && "defaultValue" in r && u == null || oa && i === "children" && n === "noscript" || i === "class" || i === "className")) {
691
+ var d = i.toLowerCase();
692
+ i === "defaultValue" && "value" in r && r.value == null ? i = "value" : i === "download" && u === !0 ? u = "" : d === "translate" && u === "no" ? u = !1 : d[0] === "o" && d[1] === "n" ? d === "ondoubleclick" ? i = "ondblclick" : d !== "onchange" || n !== "input" && n !== "textarea" || aa(r.type) ? d === "onfocus" ? i = "onfocusin" : d === "onblur" ? i = "onfocusout" : ra.test(i) && (i = d) : d = i = "oninput" : o && ta.test(i) ? i = i.replace(na, "-$&").toLowerCase() : u === null && (u = void 0), d === "oninput" && a[i = d] && (i = "oninputCapture"), a[i] = u;
693
+ }
694
+ }
695
+ n == "select" && a.multiple && Array.isArray(a.value) && (a.value = Me(r.children).forEach(function(s) {
696
+ s.props.selected = a.value.indexOf(s.props.value) != -1;
697
+ })), n == "select" && a.defaultValue != null && (a.value = Me(r.children).forEach(function(s) {
698
+ s.props.selected = a.multiple ? a.defaultValue.indexOf(s.props.value) != -1 : a.defaultValue == s.props.value;
699
+ })), r.class && !r.className ? (a.class = r.class, Object.defineProperty(a, "className", ca)) : (r.className && !r.class || r.class && r.className) && (a.class = a.className = r.className), t.props = a;
700
+ }(e), e.$$typeof = no, on && on(e);
701
+ };
702
+ var an = H.__r;
703
+ H.__r = function(e) {
704
+ an && an(e), xr = e.__c;
705
+ };
706
+ var ln = H.diffed;
707
+ H.diffed = function(e) {
708
+ ln && ln(e);
709
+ var t = e.props, r = e.__e;
710
+ r != null && e.type === "textarea" && "value" in t && t.value !== r.value && (r.value = t.value == null ? "" : t.value), xr = null;
711
+ };
712
+ var ao = { ReactCurrentDispatcher: { current: { readContext: function(e) {
713
+ return xr.__n[e.__c].props.value;
714
+ }, useCallback: pr, useContext: Mt, useDebugValue: hr, useDeferredValue: yr, useEffect: ye, useId: mr, useImperativeHandle: fr, useInsertionEffect: wr, useLayoutEffect: qe, useMemo: ut, useReducer: Ct, useRef: Rt, useState: de, useSyncExternalStore: gr, useTransition: br } } }, ua = "18.3.1";
715
+ function io(e) {
716
+ return _.bind(null, e);
717
+ }
718
+ function dt(e) {
719
+ return !!e && e.$$typeof === no;
720
+ }
721
+ function lo(e) {
722
+ return dt(e) && e.type === O;
723
+ }
724
+ function so(e) {
725
+ return !!e && !!e.displayName && (typeof e.displayName == "string" || e.displayName instanceof String) && e.displayName.startsWith("Memo(");
726
+ }
727
+ function co(e) {
728
+ return dt(e) ? Yo.apply(null, arguments) : e;
729
+ }
730
+ function uo(e) {
731
+ return !!e.__k && (lt(null, e), !0);
732
+ }
733
+ function fo(e) {
734
+ return e && (e.base || e.nodeType === 1 && e) || null;
735
+ }
736
+ var po = function(e, t) {
737
+ return e(t);
738
+ }, ho = function(e, t) {
739
+ return e(t);
740
+ }, mo = O, _o = dt, St = { useState: de, useId: mr, useReducer: Ct, useEffect: ye, useLayoutEffect: qe, useInsertionEffect: wr, useTransition: br, useDeferredValue: yr, useSyncExternalStore: gr, startTransition: vr, useRef: Rt, useImperativeHandle: fr, useMemo: ut, useCallback: pr, useContext: Mt, useDebugValue: hr, version: "18.3.1", Children: Kn, render: At, hydrate: oo, unmountComponentAtNode: uo, createPortal: ro, createElement: _, createContext: dr, createFactory: io, cloneElement: co, createRef: $n, Fragment: O, isValidElement: dt, isElement: _o, isFragment: lo, isMemo: so, findDOMNode: fo, Component: be, PureComponent: kt, memo: Xn, forwardRef: Ne, flushSync: ho, unstable_batchedUpdates: po, StrictMode: mo, Suspense: at, SuspenseList: We, lazy: to, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ao };
741
+ const da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
742
+ __proto__: null,
743
+ Children: Kn,
744
+ Component: be,
745
+ Fragment: O,
746
+ PureComponent: kt,
747
+ StrictMode: mo,
748
+ Suspense: at,
749
+ SuspenseList: We,
750
+ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ao,
751
+ cloneElement: co,
752
+ createContext: dr,
753
+ createElement: _,
754
+ createFactory: io,
755
+ createPortal: ro,
756
+ createRef: $n,
757
+ default: St,
758
+ findDOMNode: fo,
759
+ flushSync: ho,
760
+ forwardRef: Ne,
761
+ hydrate: oo,
762
+ isElement: _o,
763
+ isFragment: lo,
764
+ isMemo: so,
765
+ isValidElement: dt,
766
+ lazy: to,
767
+ memo: Xn,
768
+ render: At,
769
+ startTransition: vr,
770
+ unmountComponentAtNode: uo,
771
+ unstable_batchedUpdates: po,
772
+ useCallback: pr,
773
+ useContext: Mt,
774
+ useDebugValue: hr,
775
+ useDeferredValue: yr,
776
+ useEffect: ye,
777
+ useErrorBoundary: Go,
778
+ useId: mr,
779
+ useImperativeHandle: fr,
780
+ useInsertionEffect: wr,
781
+ useLayoutEffect: qe,
782
+ useMemo: ut,
783
+ useReducer: Ct,
784
+ useRef: Rt,
785
+ useState: de,
786
+ useSyncExternalStore: gr,
787
+ useTransition: br,
788
+ version: ua
789
+ }, Symbol.toStringTag, { value: "Module" }));
790
+ var fa = 0;
791
+ function m(e, t, r, n, a, o) {
792
+ t || (t = {});
793
+ var i, u, d = t;
794
+ if ("ref" in d) for (u in d = {}, t) u == "ref" ? i = t[u] : d[u] = t[u];
795
+ var s = { type: e, props: d, key: r, ref: i, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --fa, __i: -1, __u: 0, __source: a, __self: o };
796
+ if (typeof e == "function" && (i = e.defaultProps)) for (u in i) d[u] === void 0 && (d[u] = i[u]);
797
+ return H.vnode && H.vnode(s), s;
798
+ }
799
+ /*! @license DOMPurify 3.2.6 | (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.6/LICENSE */
800
+ const {
801
+ entries: go,
802
+ setPrototypeOf: sn,
803
+ isFrozen: pa,
804
+ getPrototypeOf: ha,
805
+ getOwnPropertyDescriptor: ma
806
+ } = Object;
807
+ let {
808
+ freeze: ie,
809
+ seal: me,
810
+ create: vo
811
+ } = Object, {
812
+ apply: or,
813
+ construct: ar
814
+ } = typeof Reflect < "u" && Reflect;
815
+ ie || (ie = function(t) {
816
+ return t;
817
+ });
818
+ me || (me = function(t) {
819
+ return t;
820
+ });
821
+ or || (or = function(t, r, n) {
822
+ return t.apply(r, n);
823
+ });
824
+ ar || (ar = function(t, r) {
825
+ return new t(...r);
826
+ });
827
+ const yt = le(Array.prototype.forEach), _a = le(Array.prototype.lastIndexOf), cn = le(Array.prototype.pop), Qe = le(Array.prototype.push), ga = le(Array.prototype.splice), Et = le(String.prototype.toLowerCase), Ft = le(String.prototype.toString), un = le(String.prototype.match), et = le(String.prototype.replace), va = le(String.prototype.indexOf), ya = le(String.prototype.trim), ve = le(Object.prototype.hasOwnProperty), ae = le(RegExp.prototype.test), tt = ba(TypeError);
828
+ function le(e) {
829
+ return function(t) {
830
+ t instanceof RegExp && (t.lastIndex = 0);
831
+ for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
832
+ n[a - 1] = arguments[a];
833
+ return or(e, t, n);
834
+ };
835
+ }
836
+ function ba(e) {
837
+ return function() {
838
+ for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++)
839
+ r[n] = arguments[n];
840
+ return ar(e, r);
841
+ };
842
+ }
843
+ function U(e, t) {
844
+ let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Et;
845
+ sn && sn(e, null);
846
+ let n = t.length;
847
+ for (; n--; ) {
848
+ let a = t[n];
849
+ if (typeof a == "string") {
850
+ const o = r(a);
851
+ o !== a && (pa(t) || (t[n] = o), a = o);
852
+ }
853
+ e[a] = !0;
854
+ }
855
+ return e;
856
+ }
857
+ function wa(e) {
858
+ for (let t = 0; t < e.length; t++)
859
+ ve(e, t) || (e[t] = null);
860
+ return e;
861
+ }
862
+ function Re(e) {
863
+ const t = vo(null);
864
+ for (const [r, n] of go(e))
865
+ ve(e, r) && (Array.isArray(n) ? t[r] = wa(n) : n && typeof n == "object" && n.constructor === Object ? t[r] = Re(n) : t[r] = n);
866
+ return t;
867
+ }
868
+ function rt(e, t) {
869
+ for (; e !== null; ) {
870
+ const n = ma(e, t);
871
+ if (n) {
872
+ if (n.get)
873
+ return le(n.get);
874
+ if (typeof n.value == "function")
875
+ return le(n.value);
876
+ }
877
+ e = ha(e);
878
+ }
879
+ function r() {
880
+ return null;
881
+ }
882
+ return r;
883
+ }
884
+ const dn = ie(["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"]), jt = ie(["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"]), Zt = ie(["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"]), xa = ie(["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"]), Vt = ie(["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"]), Ea = ie(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), fn = ie(["#text"]), pn = ie(["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"]), Wt = ie(["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"]), hn = ie(["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"]), bt = ie(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ta = me(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ka = me(/<%[\w\W]*|[\w\W]*%>/gm), Aa = me(/\$\{[\w\W]*/gm), Sa = me(/^data-[\-\w.\u00B7-\uFFFF]+$/), Ca = me(/^aria-[\-\w]+$/), yo = me(
885
+ /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
886
+ // eslint-disable-line no-useless-escape
887
+ ), Ra = me(/^(?:\w+script|data):/i), Ma = me(
888
+ /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
889
+ // eslint-disable-line no-control-regex
890
+ ), bo = me(/^html$/i), La = me(/^[a-z][.\w]*(-[.\w]+)+$/i);
891
+ var mn = /* @__PURE__ */ Object.freeze({
892
+ __proto__: null,
893
+ ARIA_ATTR: Ca,
894
+ ATTR_WHITESPACE: Ma,
895
+ CUSTOM_ELEMENT: La,
896
+ DATA_ATTR: Sa,
897
+ DOCTYPE_NAME: bo,
898
+ ERB_EXPR: ka,
899
+ IS_ALLOWED_URI: yo,
900
+ IS_SCRIPT_OR_DATA: Ra,
901
+ MUSTACHE_EXPR: Ta,
902
+ TMPLIT_EXPR: Aa
903
+ });
904
+ const nt = {
905
+ element: 1,
906
+ text: 3,
907
+ // Deprecated
908
+ progressingInstruction: 7,
909
+ comment: 8,
910
+ document: 9
911
+ }, Na = function() {
912
+ return typeof window > "u" ? null : window;
913
+ }, Oa = function(t, r) {
914
+ if (typeof t != "object" || typeof t.createPolicy != "function")
915
+ return null;
916
+ let n = null;
917
+ const a = "data-tt-policy-suffix";
918
+ r && r.hasAttribute(a) && (n = r.getAttribute(a));
919
+ const o = "dompurify" + (n ? "#" + n : "");
920
+ try {
921
+ return t.createPolicy(o, {
922
+ createHTML(i) {
923
+ return i;
924
+ },
925
+ createScriptURL(i) {
926
+ return i;
927
+ }
928
+ });
929
+ } catch {
930
+ return console.warn("TrustedTypes policy " + o + " could not be created."), null;
931
+ }
932
+ }, _n = function() {
933
+ return {
934
+ afterSanitizeAttributes: [],
935
+ afterSanitizeElements: [],
936
+ afterSanitizeShadowDOM: [],
937
+ beforeSanitizeAttributes: [],
938
+ beforeSanitizeElements: [],
939
+ beforeSanitizeShadowDOM: [],
940
+ uponSanitizeAttribute: [],
941
+ uponSanitizeElement: [],
942
+ uponSanitizeShadowNode: []
943
+ };
944
+ };
945
+ function wo() {
946
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Na();
947
+ const t = (S) => wo(S);
948
+ if (t.version = "3.2.6", t.removed = [], !e || !e.document || e.document.nodeType !== nt.document || !e.Element)
949
+ return t.isSupported = !1, t;
950
+ let {
951
+ document: r
952
+ } = e;
953
+ const n = r, a = n.currentScript, {
954
+ DocumentFragment: o,
955
+ HTMLTemplateElement: i,
956
+ Node: u,
957
+ Element: d,
958
+ NodeFilter: s,
959
+ NamedNodeMap: h = e.NamedNodeMap || e.MozNamedAttrMap,
960
+ HTMLFormElement: c,
961
+ DOMParser: w,
962
+ trustedTypes: v
963
+ } = e, C = d.prototype, R = rt(C, "cloneNode"), M = rt(C, "remove"), N = rt(C, "nextSibling"), $ = rt(C, "childNodes"), V = rt(C, "parentNode");
964
+ if (typeof i == "function") {
965
+ const S = r.createElement("template");
966
+ S.content && S.content.ownerDocument && (r = S.content.ownerDocument);
967
+ }
968
+ let L, y = "";
969
+ const {
970
+ implementation: X,
971
+ createNodeIterator: we,
972
+ createDocumentFragment: se,
973
+ getElementsByTagName: ue
974
+ } = r, {
975
+ importNode: fe
976
+ } = n;
977
+ let j = _n();
978
+ t.isSupported = typeof go == "function" && typeof V == "function" && X && X.createHTMLDocument !== void 0;
979
+ const {
980
+ MUSTACHE_EXPR: ee,
981
+ ERB_EXPR: ke,
982
+ TMPLIT_EXPR: pe,
983
+ DATA_ATTR: Oe,
984
+ ARIA_ATTR: ne,
985
+ IS_SCRIPT_OR_DATA: _e,
986
+ ATTR_WHITESPACE: xe,
987
+ CUSTOM_ELEMENT: A
988
+ } = mn;
989
+ let {
990
+ IS_ALLOWED_URI: f
991
+ } = mn, p = null;
992
+ const E = U({}, [...dn, ...jt, ...Zt, ...Vt, ...fn]);
993
+ let T = null;
994
+ const P = U({}, [...pn, ...Wt, ...hn, ...bt]);
995
+ let k = Object.seal(vo(null, {
996
+ tagNameCheck: {
997
+ writable: !0,
998
+ configurable: !1,
999
+ enumerable: !0,
1000
+ value: null
1001
+ },
1002
+ attributeNameCheck: {
1003
+ writable: !0,
1004
+ configurable: !1,
1005
+ enumerable: !0,
1006
+ value: null
1007
+ },
1008
+ allowCustomizedBuiltInElements: {
1009
+ writable: !0,
1010
+ configurable: !1,
1011
+ enumerable: !0,
1012
+ value: !1
1013
+ }
1014
+ })), I = null, D = null, z = !0, Z = !0, F = !1, Q = !0, b = !1, oe = !0, he = !1, De = !1, Lt = !1, Ue = !1, ft = !1, pt = !1, Tr = !0, kr = !1;
1015
+ const Po = "user-content-";
1016
+ let Nt = !0, Xe = !1, $e = {}, ze = null;
1017
+ const Ar = U({}, ["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"]);
1018
+ let Sr = null;
1019
+ const Cr = U({}, ["audio", "video", "img", "source", "image", "track"]);
1020
+ let Ot = null;
1021
+ const Rr = U({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), ht = "http://www.w3.org/1998/Math/MathML", mt = "http://www.w3.org/2000/svg", Ae = "http://www.w3.org/1999/xhtml";
1022
+ let Fe = Ae, Pt = !1, It = null;
1023
+ const Io = U({}, [ht, mt, Ae], Ft);
1024
+ let _t = U({}, ["mi", "mo", "mn", "ms", "mtext"]), gt = U({}, ["annotation-xml"]);
1025
+ const Ho = U({}, ["title", "style", "font", "a", "script"]);
1026
+ let Ke = null;
1027
+ const Do = ["application/xhtml+xml", "text/html"], Uo = "text/html";
1028
+ let J = null, je = null;
1029
+ const $o = r.createElement("form"), Mr = function(l) {
1030
+ return l instanceof RegExp || l instanceof Function;
1031
+ }, Ht = function() {
1032
+ let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1033
+ if (!(je && je === l)) {
1034
+ if ((!l || typeof l != "object") && (l = {}), l = Re(l), Ke = // eslint-disable-next-line unicorn/prefer-includes
1035
+ Do.indexOf(l.PARSER_MEDIA_TYPE) === -1 ? Uo : l.PARSER_MEDIA_TYPE, J = Ke === "application/xhtml+xml" ? Ft : Et, p = ve(l, "ALLOWED_TAGS") ? U({}, l.ALLOWED_TAGS, J) : E, T = ve(l, "ALLOWED_ATTR") ? U({}, l.ALLOWED_ATTR, J) : P, It = ve(l, "ALLOWED_NAMESPACES") ? U({}, l.ALLOWED_NAMESPACES, Ft) : Io, Ot = ve(l, "ADD_URI_SAFE_ATTR") ? U(Re(Rr), l.ADD_URI_SAFE_ATTR, J) : Rr, Sr = ve(l, "ADD_DATA_URI_TAGS") ? U(Re(Cr), l.ADD_DATA_URI_TAGS, J) : Cr, ze = ve(l, "FORBID_CONTENTS") ? U({}, l.FORBID_CONTENTS, J) : Ar, I = ve(l, "FORBID_TAGS") ? U({}, l.FORBID_TAGS, J) : Re({}), D = ve(l, "FORBID_ATTR") ? U({}, l.FORBID_ATTR, J) : Re({}), $e = ve(l, "USE_PROFILES") ? l.USE_PROFILES : !1, z = l.ALLOW_ARIA_ATTR !== !1, Z = l.ALLOW_DATA_ATTR !== !1, F = l.ALLOW_UNKNOWN_PROTOCOLS || !1, Q = l.ALLOW_SELF_CLOSE_IN_ATTR !== !1, b = l.SAFE_FOR_TEMPLATES || !1, oe = l.SAFE_FOR_XML !== !1, he = l.WHOLE_DOCUMENT || !1, Ue = l.RETURN_DOM || !1, ft = l.RETURN_DOM_FRAGMENT || !1, pt = l.RETURN_TRUSTED_TYPE || !1, Lt = l.FORCE_BODY || !1, Tr = l.SANITIZE_DOM !== !1, kr = l.SANITIZE_NAMED_PROPS || !1, Nt = l.KEEP_CONTENT !== !1, Xe = l.IN_PLACE || !1, f = l.ALLOWED_URI_REGEXP || yo, Fe = l.NAMESPACE || Ae, _t = l.MATHML_TEXT_INTEGRATION_POINTS || _t, gt = l.HTML_INTEGRATION_POINTS || gt, k = l.CUSTOM_ELEMENT_HANDLING || {}, l.CUSTOM_ELEMENT_HANDLING && Mr(l.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (k.tagNameCheck = l.CUSTOM_ELEMENT_HANDLING.tagNameCheck), l.CUSTOM_ELEMENT_HANDLING && Mr(l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (k.attributeNameCheck = l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), l.CUSTOM_ELEMENT_HANDLING && typeof l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (k.allowCustomizedBuiltInElements = l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), b && (Z = !1), ft && (Ue = !0), $e && (p = U({}, fn), T = [], $e.html === !0 && (U(p, dn), U(T, pn)), $e.svg === !0 && (U(p, jt), U(T, Wt), U(T, bt)), $e.svgFilters === !0 && (U(p, Zt), U(T, Wt), U(T, bt)), $e.mathMl === !0 && (U(p, Vt), U(T, hn), U(T, bt))), l.ADD_TAGS && (p === E && (p = Re(p)), U(p, l.ADD_TAGS, J)), l.ADD_ATTR && (T === P && (T = Re(T)), U(T, l.ADD_ATTR, J)), l.ADD_URI_SAFE_ATTR && U(Ot, l.ADD_URI_SAFE_ATTR, J), l.FORBID_CONTENTS && (ze === Ar && (ze = Re(ze)), U(ze, l.FORBID_CONTENTS, J)), Nt && (p["#text"] = !0), he && U(p, ["html", "head", "body"]), p.table && (U(p, ["tbody"]), delete I.tbody), l.TRUSTED_TYPES_POLICY) {
1036
+ if (typeof l.TRUSTED_TYPES_POLICY.createHTML != "function")
1037
+ throw tt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
1038
+ if (typeof l.TRUSTED_TYPES_POLICY.createScriptURL != "function")
1039
+ throw tt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
1040
+ L = l.TRUSTED_TYPES_POLICY, y = L.createHTML("");
1041
+ } else
1042
+ L === void 0 && (L = Oa(v, a)), L !== null && typeof y == "string" && (y = L.createHTML(""));
1043
+ ie && ie(l), je = l;
1044
+ }
1045
+ }, Lr = U({}, [...jt, ...Zt, ...xa]), Nr = U({}, [...Vt, ...Ea]), zo = function(l) {
1046
+ let g = V(l);
1047
+ (!g || !g.tagName) && (g = {
1048
+ namespaceURI: Fe,
1049
+ tagName: "template"
1050
+ });
1051
+ const x = Et(l.tagName), G = Et(g.tagName);
1052
+ return It[l.namespaceURI] ? l.namespaceURI === mt ? g.namespaceURI === Ae ? x === "svg" : g.namespaceURI === ht ? x === "svg" && (G === "annotation-xml" || _t[G]) : !!Lr[x] : l.namespaceURI === ht ? g.namespaceURI === Ae ? x === "math" : g.namespaceURI === mt ? x === "math" && gt[G] : !!Nr[x] : l.namespaceURI === Ae ? g.namespaceURI === mt && !gt[G] || g.namespaceURI === ht && !_t[G] ? !1 : !Nr[x] && (Ho[x] || !Lr[x]) : !!(Ke === "application/xhtml+xml" && It[l.namespaceURI]) : !1;
1053
+ }, Ee = function(l) {
1054
+ Qe(t.removed, {
1055
+ element: l
1056
+ });
1057
+ try {
1058
+ V(l).removeChild(l);
1059
+ } catch {
1060
+ M(l);
1061
+ }
1062
+ }, Ze = function(l, g) {
1063
+ try {
1064
+ Qe(t.removed, {
1065
+ attribute: g.getAttributeNode(l),
1066
+ from: g
1067
+ });
1068
+ } catch {
1069
+ Qe(t.removed, {
1070
+ attribute: null,
1071
+ from: g
1072
+ });
1073
+ }
1074
+ if (g.removeAttribute(l), l === "is")
1075
+ if (Ue || ft)
1076
+ try {
1077
+ Ee(g);
1078
+ } catch {
1079
+ }
1080
+ else
1081
+ try {
1082
+ g.setAttribute(l, "");
1083
+ } catch {
1084
+ }
1085
+ }, Or = function(l) {
1086
+ let g = null, x = null;
1087
+ if (Lt)
1088
+ l = "<remove></remove>" + l;
1089
+ else {
1090
+ const K = un(l, /^[\r\n\t ]+/);
1091
+ x = K && K[0];
1092
+ }
1093
+ Ke === "application/xhtml+xml" && Fe === Ae && (l = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + l + "</body></html>");
1094
+ const G = L ? L.createHTML(l) : l;
1095
+ if (Fe === Ae)
1096
+ try {
1097
+ g = new w().parseFromString(G, Ke);
1098
+ } catch {
1099
+ }
1100
+ if (!g || !g.documentElement) {
1101
+ g = X.createDocument(Fe, "template", null);
1102
+ try {
1103
+ g.documentElement.innerHTML = Pt ? y : G;
1104
+ } catch {
1105
+ }
1106
+ }
1107
+ const te = g.body || g.documentElement;
1108
+ return l && x && te.insertBefore(r.createTextNode(x), te.childNodes[0] || null), Fe === Ae ? ue.call(g, he ? "html" : "body")[0] : he ? g.documentElement : te;
1109
+ }, Pr = function(l) {
1110
+ return we.call(
1111
+ l.ownerDocument || l,
1112
+ l,
1113
+ // eslint-disable-next-line no-bitwise
1114
+ s.SHOW_ELEMENT | s.SHOW_COMMENT | s.SHOW_TEXT | s.SHOW_PROCESSING_INSTRUCTION | s.SHOW_CDATA_SECTION,
1115
+ null
1116
+ );
1117
+ }, Dt = function(l) {
1118
+ return l instanceof c && (typeof l.nodeName != "string" || typeof l.textContent != "string" || typeof l.removeChild != "function" || !(l.attributes instanceof h) || typeof l.removeAttribute != "function" || typeof l.setAttribute != "function" || typeof l.namespaceURI != "string" || typeof l.insertBefore != "function" || typeof l.hasChildNodes != "function");
1119
+ }, Ir = function(l) {
1120
+ return typeof u == "function" && l instanceof u;
1121
+ };
1122
+ function Se(S, l, g) {
1123
+ yt(S, (x) => {
1124
+ x.call(t, l, g, je);
1125
+ });
1126
+ }
1127
+ const Hr = function(l) {
1128
+ let g = null;
1129
+ if (Se(j.beforeSanitizeElements, l, null), Dt(l))
1130
+ return Ee(l), !0;
1131
+ const x = J(l.nodeName);
1132
+ if (Se(j.uponSanitizeElement, l, {
1133
+ tagName: x,
1134
+ allowedTags: p
1135
+ }), oe && l.hasChildNodes() && !Ir(l.firstElementChild) && ae(/<[/\w!]/g, l.innerHTML) && ae(/<[/\w!]/g, l.textContent) || l.nodeType === nt.progressingInstruction || oe && l.nodeType === nt.comment && ae(/<[/\w]/g, l.data))
1136
+ return Ee(l), !0;
1137
+ if (!p[x] || I[x]) {
1138
+ if (!I[x] && Ur(x) && (k.tagNameCheck instanceof RegExp && ae(k.tagNameCheck, x) || k.tagNameCheck instanceof Function && k.tagNameCheck(x)))
1139
+ return !1;
1140
+ if (Nt && !ze[x]) {
1141
+ const G = V(l) || l.parentNode, te = $(l) || l.childNodes;
1142
+ if (te && G) {
1143
+ const K = te.length;
1144
+ for (let ce = K - 1; ce >= 0; --ce) {
1145
+ const Ce = R(te[ce], !0);
1146
+ Ce.__removalCount = (l.__removalCount || 0) + 1, G.insertBefore(Ce, N(l));
1147
+ }
1148
+ }
1149
+ }
1150
+ return Ee(l), !0;
1151
+ }
1152
+ return l instanceof d && !zo(l) || (x === "noscript" || x === "noembed" || x === "noframes") && ae(/<\/no(script|embed|frames)/i, l.innerHTML) ? (Ee(l), !0) : (b && l.nodeType === nt.text && (g = l.textContent, yt([ee, ke, pe], (G) => {
1153
+ g = et(g, G, " ");
1154
+ }), l.textContent !== g && (Qe(t.removed, {
1155
+ element: l.cloneNode()
1156
+ }), l.textContent = g)), Se(j.afterSanitizeElements, l, null), !1);
1157
+ }, Dr = function(l, g, x) {
1158
+ if (Tr && (g === "id" || g === "name") && (x in r || x in $o))
1159
+ return !1;
1160
+ if (!(Z && !D[g] && ae(Oe, g))) {
1161
+ if (!(z && ae(ne, g))) {
1162
+ if (!T[g] || D[g]) {
1163
+ if (
1164
+ // First condition does a very basic check if a) it's basically a valid custom element tagname AND
1165
+ // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
1166
+ // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
1167
+ !(Ur(l) && (k.tagNameCheck instanceof RegExp && ae(k.tagNameCheck, l) || k.tagNameCheck instanceof Function && k.tagNameCheck(l)) && (k.attributeNameCheck instanceof RegExp && ae(k.attributeNameCheck, g) || k.attributeNameCheck instanceof Function && k.attributeNameCheck(g)) || // Alternative, second condition checks if it's an `is`-attribute, AND
1168
+ // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
1169
+ g === "is" && k.allowCustomizedBuiltInElements && (k.tagNameCheck instanceof RegExp && ae(k.tagNameCheck, x) || k.tagNameCheck instanceof Function && k.tagNameCheck(x)))
1170
+ ) return !1;
1171
+ } else if (!Ot[g]) {
1172
+ if (!ae(f, et(x, xe, ""))) {
1173
+ if (!((g === "src" || g === "xlink:href" || g === "href") && l !== "script" && va(x, "data:") === 0 && Sr[l])) {
1174
+ if (!(F && !ae(_e, et(x, xe, "")))) {
1175
+ if (x)
1176
+ return !1;
1177
+ }
1178
+ }
1179
+ }
1180
+ }
1181
+ }
1182
+ }
1183
+ return !0;
1184
+ }, Ur = function(l) {
1185
+ return l !== "annotation-xml" && un(l, A);
1186
+ }, $r = function(l) {
1187
+ Se(j.beforeSanitizeAttributes, l, null);
1188
+ const {
1189
+ attributes: g
1190
+ } = l;
1191
+ if (!g || Dt(l))
1192
+ return;
1193
+ const x = {
1194
+ attrName: "",
1195
+ attrValue: "",
1196
+ keepAttr: !0,
1197
+ allowedAttributes: T,
1198
+ forceKeepAttr: void 0
1199
+ };
1200
+ let G = g.length;
1201
+ for (; G--; ) {
1202
+ const te = g[G], {
1203
+ name: K,
1204
+ namespaceURI: ce,
1205
+ value: Ce
1206
+ } = te, Je = J(K), Ut = Ce;
1207
+ let re = K === "value" ? Ut : ya(Ut);
1208
+ if (x.attrName = Je, x.attrValue = re, x.keepAttr = !0, x.forceKeepAttr = void 0, Se(j.uponSanitizeAttribute, l, x), re = x.attrValue, kr && (Je === "id" || Je === "name") && (Ze(K, l), re = Po + re), oe && ae(/((--!?|])>)|<\/(style|title)/i, re)) {
1209
+ Ze(K, l);
1210
+ continue;
1211
+ }
1212
+ if (x.forceKeepAttr)
1213
+ continue;
1214
+ if (!x.keepAttr) {
1215
+ Ze(K, l);
1216
+ continue;
1217
+ }
1218
+ if (!Q && ae(/\/>/i, re)) {
1219
+ Ze(K, l);
1220
+ continue;
1221
+ }
1222
+ b && yt([ee, ke, pe], (Fr) => {
1223
+ re = et(re, Fr, " ");
1224
+ });
1225
+ const zr = J(l.nodeName);
1226
+ if (!Dr(zr, Je, re)) {
1227
+ Ze(K, l);
1228
+ continue;
1229
+ }
1230
+ if (L && typeof v == "object" && typeof v.getAttributeType == "function" && !ce)
1231
+ switch (v.getAttributeType(zr, Je)) {
1232
+ case "TrustedHTML": {
1233
+ re = L.createHTML(re);
1234
+ break;
1235
+ }
1236
+ case "TrustedScriptURL": {
1237
+ re = L.createScriptURL(re);
1238
+ break;
1239
+ }
1240
+ }
1241
+ if (re !== Ut)
1242
+ try {
1243
+ ce ? l.setAttributeNS(ce, K, re) : l.setAttribute(K, re), Dt(l) ? Ee(l) : cn(t.removed);
1244
+ } catch {
1245
+ Ze(K, l);
1246
+ }
1247
+ }
1248
+ Se(j.afterSanitizeAttributes, l, null);
1249
+ }, Fo = function S(l) {
1250
+ let g = null;
1251
+ const x = Pr(l);
1252
+ for (Se(j.beforeSanitizeShadowDOM, l, null); g = x.nextNode(); )
1253
+ Se(j.uponSanitizeShadowNode, g, null), Hr(g), $r(g), g.content instanceof o && S(g.content);
1254
+ Se(j.afterSanitizeShadowDOM, l, null);
1255
+ };
1256
+ return t.sanitize = function(S) {
1257
+ let l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, g = null, x = null, G = null, te = null;
1258
+ if (Pt = !S, Pt && (S = "<!-->"), typeof S != "string" && !Ir(S))
1259
+ if (typeof S.toString == "function") {
1260
+ if (S = S.toString(), typeof S != "string")
1261
+ throw tt("dirty is not a string, aborting");
1262
+ } else
1263
+ throw tt("toString is not a function");
1264
+ if (!t.isSupported)
1265
+ return S;
1266
+ if (De || Ht(l), t.removed = [], typeof S == "string" && (Xe = !1), Xe) {
1267
+ if (S.nodeName) {
1268
+ const Ce = J(S.nodeName);
1269
+ if (!p[Ce] || I[Ce])
1270
+ throw tt("root node is forbidden and cannot be sanitized in-place");
1271
+ }
1272
+ } else if (S instanceof u)
1273
+ g = Or("<!---->"), x = g.ownerDocument.importNode(S, !0), x.nodeType === nt.element && x.nodeName === "BODY" || x.nodeName === "HTML" ? g = x : g.appendChild(x);
1274
+ else {
1275
+ if (!Ue && !b && !he && // eslint-disable-next-line unicorn/prefer-includes
1276
+ S.indexOf("<") === -1)
1277
+ return L && pt ? L.createHTML(S) : S;
1278
+ if (g = Or(S), !g)
1279
+ return Ue ? null : pt ? y : "";
1280
+ }
1281
+ g && Lt && Ee(g.firstChild);
1282
+ const K = Pr(Xe ? S : g);
1283
+ for (; G = K.nextNode(); )
1284
+ Hr(G), $r(G), G.content instanceof o && Fo(G.content);
1285
+ if (Xe)
1286
+ return S;
1287
+ if (Ue) {
1288
+ if (ft)
1289
+ for (te = se.call(g.ownerDocument); g.firstChild; )
1290
+ te.appendChild(g.firstChild);
1291
+ else
1292
+ te = g;
1293
+ return (T.shadowroot || T.shadowrootmode) && (te = fe.call(n, te, !0)), te;
1294
+ }
1295
+ let ce = he ? g.outerHTML : g.innerHTML;
1296
+ return he && p["!doctype"] && g.ownerDocument && g.ownerDocument.doctype && g.ownerDocument.doctype.name && ae(bo, g.ownerDocument.doctype.name) && (ce = "<!DOCTYPE " + g.ownerDocument.doctype.name + `>
1297
+ ` + ce), b && yt([ee, ke, pe], (Ce) => {
1298
+ ce = et(ce, Ce, " ");
1299
+ }), L && pt ? L.createHTML(ce) : ce;
1300
+ }, t.setConfig = function() {
1301
+ let S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1302
+ Ht(S), De = !0;
1303
+ }, t.clearConfig = function() {
1304
+ je = null, De = !1;
1305
+ }, t.isValidAttribute = function(S, l, g) {
1306
+ je || Ht({});
1307
+ const x = J(S), G = J(l);
1308
+ return Dr(x, G, g);
1309
+ }, t.addHook = function(S, l) {
1310
+ typeof l == "function" && Qe(j[S], l);
1311
+ }, t.removeHook = function(S, l) {
1312
+ if (l !== void 0) {
1313
+ const g = _a(j[S], l);
1314
+ return g === -1 ? void 0 : ga(j[S], g, 1)[0];
1315
+ }
1316
+ return cn(j[S]);
1317
+ }, t.removeHooks = function(S) {
1318
+ j[S] = [];
1319
+ }, t.removeAllHooks = function() {
1320
+ j = _n();
1321
+ }, t;
1322
+ }
1323
+ var gn = wo();
1324
+ const Pa = /* @__PURE__ */ new Map([
1325
+ [
1326
+ "bold",
1327
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M228,128a12,12,0,0,1-12,12H69l51.52,51.51a12,12,0,0,1-17,17l-72-72a12,12,0,0,1,0-17l72-72a12,12,0,0,1,17,17L69,116H216A12,12,0,0,1,228,128Z" }))
1328
+ ],
1329
+ [
1330
+ "duotone",
1331
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M112,56V200L40,128Z", opacity: "0.2" }), /* @__PURE__ */ _("path", { d: "M216,120H120V56a8,8,0,0,0-13.66-5.66l-72,72a8,8,0,0,0,0,11.32l72,72A8,8,0,0,0,120,200V136h96a8,8,0,0,0,0-16ZM104,180.69,51.31,128,104,75.31Z" }))
1332
+ ],
1333
+ [
1334
+ "fill",
1335
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M224,128a8,8,0,0,1-8,8H120v64a8,8,0,0,1-13.66,5.66l-72-72a8,8,0,0,1,0-11.32l72-72A8,8,0,0,1,120,56v64h96A8,8,0,0,1,224,128Z" }))
1336
+ ],
1337
+ [
1338
+ "light",
1339
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M222,128a6,6,0,0,1-6,6H54.49l61.75,61.76a6,6,0,1,1-8.48,8.48l-72-72a6,6,0,0,1,0-8.48l72-72a6,6,0,0,1,8.48,8.48L54.49,122H216A6,6,0,0,1,222,128Z" }))
1340
+ ],
1341
+ [
1342
+ "regular",
1343
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M224,128a8,8,0,0,1-8,8H59.31l58.35,58.34a8,8,0,0,1-11.32,11.32l-72-72a8,8,0,0,1,0-11.32l72-72a8,8,0,0,1,11.32,11.32L59.31,120H216A8,8,0,0,1,224,128Z" }))
1344
+ ],
1345
+ [
1346
+ "thin",
1347
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M220,128a4,4,0,0,1-4,4H49.66l65.17,65.17a4,4,0,0,1-5.66,5.66l-72-72a4,4,0,0,1,0-5.66l72-72a4,4,0,0,1,5.66,5.66L49.66,124H216A4,4,0,0,1,220,128Z" }))
1348
+ ]
1349
+ ]), Ia = /* @__PURE__ */ new Map([
1350
+ [
1351
+ "bold",
1352
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M228,48V96a12,12,0,0,1-12,12H168a12,12,0,0,1,0-24h19l-7.8-7.8a75.55,75.55,0,0,0-53.32-22.26h-.43A75.49,75.49,0,0,0,72.39,75.57,12,12,0,1,1,55.61,58.41a99.38,99.38,0,0,1,69.87-28.47H126A99.42,99.42,0,0,1,196.2,59.23L204,67V48a12,12,0,0,1,24,0ZM183.61,180.43a75.49,75.49,0,0,1-53.09,21.63h-.43A75.55,75.55,0,0,1,76.77,179.8L69,172H88a12,12,0,0,0,0-24H40a12,12,0,0,0-12,12v48a12,12,0,0,0,24,0V189l7.8,7.8A99.42,99.42,0,0,0,130,226.06h.56a99.38,99.38,0,0,0,69.87-28.47,12,12,0,0,0-16.78-17.16Z" }))
1353
+ ],
1354
+ [
1355
+ "duotone",
1356
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z", opacity: "0.2" }), /* @__PURE__ */ _("path", { d: "M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z" }))
1357
+ ],
1358
+ [
1359
+ "fill",
1360
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1-5.66-13.66L180.65,72a79.48,79.48,0,0,0-54.72-22.09h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27,96,96,0,0,1,192,60.7l18.36-18.36A8,8,0,0,1,224,48ZM186.41,183.29A80,80,0,0,1,75.35,184l18.31-18.31A8,8,0,0,0,88,152H40a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66L64,195.3a95.42,95.42,0,0,0,66,26.76h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z" }))
1361
+ ],
1362
+ [
1363
+ "light",
1364
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M222,48V96a6,6,0,0,1-6,6H168a6,6,0,0,1,0-12h33.52L183.47,72a81.51,81.51,0,0,0-57.53-24h-.46A81.5,81.5,0,0,0,68.19,71.28a6,6,0,1,1-8.38-8.58,93.38,93.38,0,0,1,65.67-26.76H126a93.45,93.45,0,0,1,66,27.53l18,18V48a6,6,0,0,1,12,0ZM187.81,184.72a81.5,81.5,0,0,1-57.29,23.34h-.46a81.51,81.51,0,0,1-57.53-24L54.48,166H88a6,6,0,0,0,0-12H40a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V174.48l18,18.05a93.45,93.45,0,0,0,66,27.53h.52a93.38,93.38,0,0,0,65.67-26.76,6,6,0,1,0-8.38-8.58Z" }))
1365
+ ],
1366
+ [
1367
+ "regular",
1368
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z" }))
1369
+ ],
1370
+ [
1371
+ "thin",
1372
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M220,48V96a4,4,0,0,1-4,4H168a4,4,0,0,1,0-8h38.34L184.89,70.54A84,84,0,0,0,66.8,69.85a4,4,0,1,1-5.6-5.72,92,92,0,0,1,129.34.76L212,86.34V48a4,4,0,0,1,8,0ZM189.2,186.15a83.44,83.44,0,0,1-58.68,23.91h-.47a83.52,83.52,0,0,1-58.94-24.6L49.66,164H88a4,4,0,0,0,0-8H40a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V169.66l21.46,21.45A91.43,91.43,0,0,0,130,218.06h.51a91.45,91.45,0,0,0,64.28-26.19,4,4,0,1,0-5.6-5.72Z" }))
1373
+ ]
1374
+ ]), Ha = /* @__PURE__ */ new Map([
1375
+ [
1376
+ "bold",
1377
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M240,100h-8.2L205.08,39.88A20,20,0,0,0,186.8,28H69.2A20,20,0,0,0,50.92,39.88L24.2,100H16a12,12,0,0,0,0,24h4v76a20,20,0,0,0,20,20H68a20,20,0,0,0,20-20V180h80v20a20,20,0,0,0,20,20h28a20,20,0,0,0,20-20V124h4a12,12,0,0,0,0-24ZM71.8,52H184.2l21.33,48H50.47ZM64,196H44V180H64Zm128,0V180h20v16Zm20-40H44V124H212Z" }))
1378
+ ],
1379
+ [
1380
+ "duotone",
1381
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _(
1382
+ "path",
1383
+ {
1384
+ d: "M184,176h40v24a8,8,0,0,1-8,8H192a8,8,0,0,1-8-8ZM32,200a8,8,0,0,0,8,8H64a8,8,0,0,0,8-8V176H32ZM194.11,44.75A8,8,0,0,0,186.8,40H69.2a8,8,0,0,0-7.31,4.75L32,112H224Z",
1385
+ opacity: "0.2"
1386
+ }
1387
+ ), /* @__PURE__ */ _("path", { d: "M240,104H229.2L201.42,41.5A16,16,0,0,0,186.8,32H69.2a16,16,0,0,0-14.62,9.5L26.8,104H16a8,8,0,0,0,0,16h8v80a16,16,0,0,0,16,16H64a16,16,0,0,0,16-16V184h96v16a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V120h8a8,8,0,0,0,0-16ZM69.2,48H186.8l24.89,56H44.31ZM64,200H40V184H64Zm128,0V184h24v16Zm24-32H40V120H216ZM56,144a8,8,0,0,1,8-8H80a8,8,0,0,1,0,16H64A8,8,0,0,1,56,144Zm112,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,144Z" }))
1388
+ ],
1389
+ [
1390
+ "fill",
1391
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M240,104H229.2L201.42,41.5A16,16,0,0,0,186.8,32H69.2a16,16,0,0,0-14.62,9.5L26.8,104H16a8,8,0,0,0,0,16h8v80a16,16,0,0,0,16,16H64a16,16,0,0,0,16-16v-8h96v8a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V120h8a8,8,0,0,0,0-16ZM80,152H56a8,8,0,0,1,0-16H80a8,8,0,0,1,0,16Zm120,0H176a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16ZM44.31,104,69.2,48H186.8l24.89,56Z" }))
1392
+ ],
1393
+ [
1394
+ "light",
1395
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M240,106H227.9L199.59,42.31A14,14,0,0,0,186.8,34H69.2a14,14,0,0,0-12.79,8.31L28.1,106H16a6,6,0,0,0,0,12H26v82a14,14,0,0,0,14,14H64a14,14,0,0,0,14-14V182H178v18a14,14,0,0,0,14,14h24a14,14,0,0,0,14-14V118h10a6,6,0,0,0,0-12ZM67.37,47.19A2,2,0,0,1,69.2,46H186.8a2,2,0,0,1,1.83,1.19L214.77,106H41.23ZM66,200a2,2,0,0,1-2,2H40a2,2,0,0,1-2-2V182H66Zm150,2H192a2,2,0,0,1-2-2V182h28v18A2,2,0,0,1,216,202Zm2-32H38V118H218ZM58,144a6,6,0,0,1,6-6H80a6,6,0,0,1,0,12H64A6,6,0,0,1,58,144Zm112,0a6,6,0,0,1,6-6h16a6,6,0,0,1,0,12H176A6,6,0,0,1,170,144Z" }))
1396
+ ],
1397
+ [
1398
+ "regular",
1399
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M240,104H229.2L201.42,41.5A16,16,0,0,0,186.8,32H69.2a16,16,0,0,0-14.62,9.5L26.8,104H16a8,8,0,0,0,0,16h8v80a16,16,0,0,0,16,16H64a16,16,0,0,0,16-16V184h96v16a16,16,0,0,0,16,16h24a16,16,0,0,0,16-16V120h8a8,8,0,0,0,0-16ZM69.2,48H186.8l24.89,56H44.31ZM64,200H40V184H64Zm128,0V184h24v16Zm24-32H40V120H216ZM56,144a8,8,0,0,1,8-8H80a8,8,0,0,1,0,16H64A8,8,0,0,1,56,144Zm112,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,144Z" }))
1400
+ ],
1401
+ [
1402
+ "thin",
1403
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M240,108H226.6L197.77,43.13a12,12,0,0,0-11-7.13H69.2a12,12,0,0,0-11,7.13L29.4,108H16a4,4,0,0,0,0,8H28v84a12,12,0,0,0,12,12H64a12,12,0,0,0,12-12V180H180v20a12,12,0,0,0,12,12h24a12,12,0,0,0,12-12V116h12a4,4,0,0,0,0-8ZM65.54,46.38A4,4,0,0,1,69.2,44H186.8a4,4,0,0,1,3.66,2.38L217.84,108H38.16ZM68,200a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V180H68Zm148,4H192a4,4,0,0,1-4-4V180h32v20A4,4,0,0,1,216,204Zm4-32H36V116H220ZM60,144a4,4,0,0,1,4-4H80a4,4,0,0,1,0,8H64A4,4,0,0,1,60,144Zm112,0a4,4,0,0,1,4-4h16a4,4,0,0,1,0,8H176A4,4,0,0,1,172,144Z" }))
1404
+ ]
1405
+ ]), Da = /* @__PURE__ */ new Map([
1406
+ [
1407
+ "bold",
1408
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M236,128a108,108,0,0,1-216,0c0-42.52,24.73-81.34,63-98.9A12,12,0,1,1,93,50.91C63.24,64.57,44,94.83,44,128a84,84,0,0,0,168,0c0-33.17-19.24-63.43-49-77.09A12,12,0,1,1,173,29.1C211.27,46.66,236,85.48,236,128Z" }))
1409
+ ],
1410
+ [
1411
+ "duotone",
1412
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z", opacity: "0.2" }), /* @__PURE__ */ _("path", { d: "M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z" }))
1413
+ ],
1414
+ [
1415
+ "fill",
1416
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,176A72,72,0,0,1,92,65.64a8,8,0,0,1,8,13.85,56,56,0,1,0,56,0,8,8,0,0,1,8-13.85A72,72,0,0,1,128,200Z" }))
1417
+ ],
1418
+ [
1419
+ "light",
1420
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M230,128a102,102,0,0,1-204,0c0-40.18,23.35-76.86,59.5-93.45a6,6,0,0,1,5,10.9C58.61,60.09,38,92.49,38,128a90,90,0,0,0,180,0c0-35.51-20.61-67.91-52.5-82.55a6,6,0,0,1,5-10.9C206.65,51.14,230,87.82,230,128Z" }))
1421
+ ],
1422
+ [
1423
+ "regular",
1424
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z" }))
1425
+ ],
1426
+ [
1427
+ "thin",
1428
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M228,128a100,100,0,0,1-200,0c0-39.4,22.9-75.37,58.33-91.63a4,4,0,1,1,3.34,7.27C57.07,58.6,36,91.71,36,128a92,92,0,0,0,184,0c0-36.29-21.07-69.4-53.67-84.36a4,4,0,1,1,3.34-7.27C205.1,52.63,228,88.6,228,128Z" }))
1429
+ ]
1430
+ ]), Ua = /* @__PURE__ */ new Map([
1431
+ [
1432
+ "bold",
1433
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z" }))
1434
+ ],
1435
+ [
1436
+ "duotone",
1437
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _(
1438
+ "path",
1439
+ {
1440
+ d: "M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",
1441
+ opacity: "0.2"
1442
+ }
1443
+ ), /* @__PURE__ */ _("path", { d: "M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z" }))
1444
+ ],
1445
+ [
1446
+ "fill",
1447
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z" }))
1448
+ ],
1449
+ [
1450
+ "light",
1451
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z" }))
1452
+ ],
1453
+ [
1454
+ "regular",
1455
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z" }))
1456
+ ],
1457
+ [
1458
+ "thin",
1459
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z" }))
1460
+ ]
1461
+ ]), $a = /* @__PURE__ */ new Map([
1462
+ [
1463
+ "bold",
1464
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M168.49,104.49,145,128l23.52,23.51a12,12,0,0,1-17,17L128,145l-23.51,23.52a12,12,0,0,1-17-17L111,128,87.51,104.49a12,12,0,0,1,17-17L128,111l23.51-23.52a12,12,0,0,1,17,17ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z" }))
1465
+ ],
1466
+ [
1467
+ "duotone",
1468
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z", opacity: "0.2" }), /* @__PURE__ */ _("path", { d: "M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z" }))
1469
+ ],
1470
+ [
1471
+ "fill",
1472
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,130.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32L139.31,128Z" }))
1473
+ ],
1474
+ [
1475
+ "light",
1476
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M164.24,100.24,136.48,128l27.76,27.76a6,6,0,1,1-8.48,8.48L128,136.48l-27.76,27.76a6,6,0,0,1-8.48-8.48L119.52,128,91.76,100.24a6,6,0,0,1,8.48-8.48L128,119.52l27.76-27.76a6,6,0,0,1,8.48,8.48ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z" }))
1477
+ ],
1478
+ [
1479
+ "regular",
1480
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z" }))
1481
+ ],
1482
+ [
1483
+ "thin",
1484
+ /* @__PURE__ */ _(O, null, /* @__PURE__ */ _("path", { d: "M162.83,98.83,133.66,128l29.17,29.17a4,4,0,0,1-5.66,5.66L128,133.66,98.83,162.83a4,4,0,0,1-5.66-5.66L122.34,128,93.17,98.83a4,4,0,0,1,5.66-5.66L128,122.34l29.17-29.17a4,4,0,1,1,5.66,5.66ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z" }))
1485
+ ]
1486
+ ]), za = dr({
1487
+ color: "currentColor",
1488
+ size: "1em",
1489
+ weight: "regular",
1490
+ mirrored: !1
1491
+ }), He = Ne(
1492
+ (e, t) => {
1493
+ const {
1494
+ alt: r,
1495
+ color: n,
1496
+ size: a,
1497
+ weight: o,
1498
+ mirrored: i,
1499
+ children: u,
1500
+ weights: d,
1501
+ ...s
1502
+ } = e, {
1503
+ color: h = "currentColor",
1504
+ size: c,
1505
+ weight: w = "regular",
1506
+ mirrored: v = !1,
1507
+ ...C
1508
+ } = Mt(za);
1509
+ return /* @__PURE__ */ _(
1510
+ "svg",
1511
+ {
1512
+ ref: t,
1513
+ xmlns: "http://www.w3.org/2000/svg",
1514
+ width: a ?? c,
1515
+ height: a ?? c,
1516
+ fill: n ?? h,
1517
+ viewBox: "0 0 256 256",
1518
+ transform: i || v ? "scale(-1, 1)" : void 0,
1519
+ ...C,
1520
+ ...s
1521
+ },
1522
+ !!r && /* @__PURE__ */ _("title", null, r),
1523
+ u,
1524
+ d.get(o ?? w)
1525
+ );
1526
+ }
1527
+ );
1528
+ He.displayName = "IconBase";
1529
+ const xo = Ne((e, t) => /* @__PURE__ */ _(He, { ref: t, ...e, weights: Pa }));
1530
+ xo.displayName = "ArrowLeftIcon";
1531
+ const Eo = Ne((e, t) => /* @__PURE__ */ _(He, { ref: t, ...e, weights: Ia }));
1532
+ Eo.displayName = "ArrowsClockwiseIcon";
1533
+ const To = Ne((e, t) => /* @__PURE__ */ _(He, { ref: t, ...e, weights: Ha }));
1534
+ To.displayName = "CarIcon";
1535
+ const ko = Ne((e, t) => /* @__PURE__ */ _(He, { ref: t, ...e, weights: Da }));
1536
+ ko.displayName = "CircleNotchIcon";
1537
+ const Ao = Ne((e, t) => /* @__PURE__ */ _(He, { ref: t, ...e, weights: Ua }));
1538
+ Ao.displayName = "XIcon";
1539
+ const So = Ne((e, t) => /* @__PURE__ */ _(He, { ref: t, ...e, weights: $a }));
1540
+ So.displayName = "XCircleIcon";
1541
+ function Co(e) {
1542
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1543
+ }
1544
+ var Ro = { exports: {} };
1545
+ /*!
1546
+ * JavaScript Cookie v2.2.1
1547
+ * https://github.com/js-cookie/js-cookie
1548
+ *
1549
+ * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
1550
+ * Released under the MIT license
1551
+ */
1552
+ (function(e, t) {
1553
+ (function(r) {
1554
+ var n;
1555
+ if (e.exports = r(), n = !0, !n) {
1556
+ var a = window.Cookies, o = window.Cookies = r();
1557
+ o.noConflict = function() {
1558
+ return window.Cookies = a, o;
1559
+ };
1560
+ }
1561
+ })(function() {
1562
+ function r() {
1563
+ for (var o = 0, i = {}; o < arguments.length; o++) {
1564
+ var u = arguments[o];
1565
+ for (var d in u)
1566
+ i[d] = u[d];
1567
+ }
1568
+ return i;
1569
+ }
1570
+ function n(o) {
1571
+ return o.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);
1572
+ }
1573
+ function a(o) {
1574
+ function i() {
1575
+ }
1576
+ function u(s, h, c) {
1577
+ if (!(typeof document > "u")) {
1578
+ c = r({
1579
+ path: "/"
1580
+ }, i.defaults, c), typeof c.expires == "number" && (c.expires = new Date(/* @__PURE__ */ new Date() * 1 + c.expires * 864e5)), c.expires = c.expires ? c.expires.toUTCString() : "";
1581
+ try {
1582
+ var w = JSON.stringify(h);
1583
+ /^[\{\[]/.test(w) && (h = w);
1584
+ } catch {
1585
+ }
1586
+ h = o.write ? o.write(h, s) : encodeURIComponent(String(h)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent), s = encodeURIComponent(String(s)).replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent).replace(/[\(\)]/g, escape);
1587
+ var v = "";
1588
+ for (var C in c)
1589
+ c[C] && (v += "; " + C, c[C] !== !0 && (v += "=" + c[C].split(";")[0]));
1590
+ return document.cookie = s + "=" + h + v;
1591
+ }
1592
+ }
1593
+ function d(s, h) {
1594
+ if (!(typeof document > "u")) {
1595
+ for (var c = {}, w = document.cookie ? document.cookie.split("; ") : [], v = 0; v < w.length; v++) {
1596
+ var C = w[v].split("="), R = C.slice(1).join("=");
1597
+ !h && R.charAt(0) === '"' && (R = R.slice(1, -1));
1598
+ try {
1599
+ var M = n(C[0]);
1600
+ if (R = (o.read || o)(R, M) || n(R), h)
1601
+ try {
1602
+ R = JSON.parse(R);
1603
+ } catch {
1604
+ }
1605
+ if (c[M] = R, s === M)
1606
+ break;
1607
+ } catch {
1608
+ }
1609
+ }
1610
+ return s ? c[s] : c;
1611
+ }
1612
+ }
1613
+ return i.set = u, i.get = function(s) {
1614
+ return d(
1615
+ s,
1616
+ !1
1617
+ /* read as raw */
1618
+ );
1619
+ }, i.getJSON = function(s) {
1620
+ return d(
1621
+ s,
1622
+ !0
1623
+ /* read as json */
1624
+ );
1625
+ }, i.remove = function(s, h) {
1626
+ u(s, "", r(h, {
1627
+ expires: -1
1628
+ }));
1629
+ }, i.defaults = {}, i.withConverter = a, i;
1630
+ }
1631
+ return a(function() {
1632
+ });
1633
+ });
1634
+ })(Ro);
1635
+ var Fa = Ro.exports;
1636
+ const Bt = /* @__PURE__ */ Co(Fa);
1637
+ var ir = { exports: {} }, wt = { exports: {} }, W = {};
1638
+ /** @license React v16.13.1
1639
+ * react-is.production.min.js
1640
+ *
1641
+ * Copyright (c) Facebook, Inc. and its affiliates.
1642
+ *
1643
+ * This source code is licensed under the MIT license found in the
1644
+ * LICENSE file in the root directory of this source tree.
1645
+ */
1646
+ var vn;
1647
+ function ja() {
1648
+ if (vn) return W;
1649
+ vn = 1;
1650
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, s = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, w = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, R = e ? Symbol.for("react.block") : 60121, M = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, $ = e ? Symbol.for("react.scope") : 60119;
1651
+ function V(y) {
1652
+ if (typeof y == "object" && y !== null) {
1653
+ var X = y.$$typeof;
1654
+ switch (X) {
1655
+ case t:
1656
+ switch (y = y.type, y) {
1657
+ case d:
1658
+ case s:
1659
+ case n:
1660
+ case o:
1661
+ case a:
1662
+ case c:
1663
+ return y;
1664
+ default:
1665
+ switch (y = y && y.$$typeof, y) {
1666
+ case u:
1667
+ case h:
1668
+ case C:
1669
+ case v:
1670
+ case i:
1671
+ return y;
1672
+ default:
1673
+ return X;
1674
+ }
1675
+ }
1676
+ case r:
1677
+ return X;
1678
+ }
1679
+ }
1680
+ }
1681
+ function L(y) {
1682
+ return V(y) === s;
1683
+ }
1684
+ return W.AsyncMode = d, W.ConcurrentMode = s, W.ContextConsumer = u, W.ContextProvider = i, W.Element = t, W.ForwardRef = h, W.Fragment = n, W.Lazy = C, W.Memo = v, W.Portal = r, W.Profiler = o, W.StrictMode = a, W.Suspense = c, W.isAsyncMode = function(y) {
1685
+ return L(y) || V(y) === d;
1686
+ }, W.isConcurrentMode = L, W.isContextConsumer = function(y) {
1687
+ return V(y) === u;
1688
+ }, W.isContextProvider = function(y) {
1689
+ return V(y) === i;
1690
+ }, W.isElement = function(y) {
1691
+ return typeof y == "object" && y !== null && y.$$typeof === t;
1692
+ }, W.isForwardRef = function(y) {
1693
+ return V(y) === h;
1694
+ }, W.isFragment = function(y) {
1695
+ return V(y) === n;
1696
+ }, W.isLazy = function(y) {
1697
+ return V(y) === C;
1698
+ }, W.isMemo = function(y) {
1699
+ return V(y) === v;
1700
+ }, W.isPortal = function(y) {
1701
+ return V(y) === r;
1702
+ }, W.isProfiler = function(y) {
1703
+ return V(y) === o;
1704
+ }, W.isStrictMode = function(y) {
1705
+ return V(y) === a;
1706
+ }, W.isSuspense = function(y) {
1707
+ return V(y) === c;
1708
+ }, W.isValidElementType = function(y) {
1709
+ return typeof y == "string" || typeof y == "function" || y === n || y === s || y === o || y === a || y === c || y === w || typeof y == "object" && y !== null && (y.$$typeof === C || y.$$typeof === v || y.$$typeof === i || y.$$typeof === u || y.$$typeof === h || y.$$typeof === M || y.$$typeof === N || y.$$typeof === $ || y.$$typeof === R);
1710
+ }, W.typeOf = V, W;
1711
+ }
1712
+ var B = {};
1713
+ /** @license React v16.13.1
1714
+ * react-is.development.js
1715
+ *
1716
+ * Copyright (c) Facebook, Inc. and its affiliates.
1717
+ *
1718
+ * This source code is licensed under the MIT license found in the
1719
+ * LICENSE file in the root directory of this source tree.
1720
+ */
1721
+ var yn;
1722
+ function Za() {
1723
+ return yn || (yn = 1, process.env.NODE_ENV !== "production" && function() {
1724
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, s = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, w = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, R = e ? Symbol.for("react.block") : 60121, M = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, $ = e ? Symbol.for("react.scope") : 60119;
1725
+ function V(b) {
1726
+ return typeof b == "string" || typeof b == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1727
+ b === n || b === s || b === o || b === a || b === c || b === w || typeof b == "object" && b !== null && (b.$$typeof === C || b.$$typeof === v || b.$$typeof === i || b.$$typeof === u || b.$$typeof === h || b.$$typeof === M || b.$$typeof === N || b.$$typeof === $ || b.$$typeof === R);
1728
+ }
1729
+ function L(b) {
1730
+ if (typeof b == "object" && b !== null) {
1731
+ var oe = b.$$typeof;
1732
+ switch (oe) {
1733
+ case t:
1734
+ var he = b.type;
1735
+ switch (he) {
1736
+ case d:
1737
+ case s:
1738
+ case n:
1739
+ case o:
1740
+ case a:
1741
+ case c:
1742
+ return he;
1743
+ default:
1744
+ var De = he && he.$$typeof;
1745
+ switch (De) {
1746
+ case u:
1747
+ case h:
1748
+ case C:
1749
+ case v:
1750
+ case i:
1751
+ return De;
1752
+ default:
1753
+ return oe;
1754
+ }
1755
+ }
1756
+ case r:
1757
+ return oe;
1758
+ }
1759
+ }
1760
+ }
1761
+ var y = d, X = s, we = u, se = i, ue = t, fe = h, j = n, ee = C, ke = v, pe = r, Oe = o, ne = a, _e = c, xe = !1;
1762
+ function A(b) {
1763
+ return xe || (xe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), f(b) || L(b) === d;
1764
+ }
1765
+ function f(b) {
1766
+ return L(b) === s;
1767
+ }
1768
+ function p(b) {
1769
+ return L(b) === u;
1770
+ }
1771
+ function E(b) {
1772
+ return L(b) === i;
1773
+ }
1774
+ function T(b) {
1775
+ return typeof b == "object" && b !== null && b.$$typeof === t;
1776
+ }
1777
+ function P(b) {
1778
+ return L(b) === h;
1779
+ }
1780
+ function k(b) {
1781
+ return L(b) === n;
1782
+ }
1783
+ function I(b) {
1784
+ return L(b) === C;
1785
+ }
1786
+ function D(b) {
1787
+ return L(b) === v;
1788
+ }
1789
+ function z(b) {
1790
+ return L(b) === r;
1791
+ }
1792
+ function Z(b) {
1793
+ return L(b) === o;
1794
+ }
1795
+ function F(b) {
1796
+ return L(b) === a;
1797
+ }
1798
+ function Q(b) {
1799
+ return L(b) === c;
1800
+ }
1801
+ B.AsyncMode = y, B.ConcurrentMode = X, B.ContextConsumer = we, B.ContextProvider = se, B.Element = ue, B.ForwardRef = fe, B.Fragment = j, B.Lazy = ee, B.Memo = ke, B.Portal = pe, B.Profiler = Oe, B.StrictMode = ne, B.Suspense = _e, B.isAsyncMode = A, B.isConcurrentMode = f, B.isContextConsumer = p, B.isContextProvider = E, B.isElement = T, B.isForwardRef = P, B.isFragment = k, B.isLazy = I, B.isMemo = D, B.isPortal = z, B.isProfiler = Z, B.isStrictMode = F, B.isSuspense = Q, B.isValidElementType = V, B.typeOf = L;
1802
+ }()), B;
1803
+ }
1804
+ var bn;
1805
+ function Mo() {
1806
+ return bn || (bn = 1, process.env.NODE_ENV === "production" ? wt.exports = ja() : wt.exports = Za()), wt.exports;
1807
+ }
1808
+ /*
1809
+ object-assign
1810
+ (c) Sindre Sorhus
1811
+ @license MIT
1812
+ */
1813
+ var Yt, wn;
1814
+ function Va() {
1815
+ if (wn) return Yt;
1816
+ wn = 1;
1817
+ var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
1818
+ function n(o) {
1819
+ if (o == null)
1820
+ throw new TypeError("Object.assign cannot be called with null or undefined");
1821
+ return Object(o);
1822
+ }
1823
+ function a() {
1824
+ try {
1825
+ if (!Object.assign)
1826
+ return !1;
1827
+ var o = new String("abc");
1828
+ if (o[5] = "de", Object.getOwnPropertyNames(o)[0] === "5")
1829
+ return !1;
1830
+ for (var i = {}, u = 0; u < 10; u++)
1831
+ i["_" + String.fromCharCode(u)] = u;
1832
+ var d = Object.getOwnPropertyNames(i).map(function(h) {
1833
+ return i[h];
1834
+ });
1835
+ if (d.join("") !== "0123456789")
1836
+ return !1;
1837
+ var s = {};
1838
+ return "abcdefghijklmnopqrst".split("").forEach(function(h) {
1839
+ s[h] = h;
1840
+ }), Object.keys(Object.assign({}, s)).join("") === "abcdefghijklmnopqrst";
1841
+ } catch {
1842
+ return !1;
1843
+ }
1844
+ }
1845
+ return Yt = a() ? Object.assign : function(o, i) {
1846
+ for (var u, d = n(o), s, h = 1; h < arguments.length; h++) {
1847
+ u = Object(arguments[h]);
1848
+ for (var c in u)
1849
+ t.call(u, c) && (d[c] = u[c]);
1850
+ if (e) {
1851
+ s = e(u);
1852
+ for (var w = 0; w < s.length; w++)
1853
+ r.call(u, s[w]) && (d[s[w]] = u[s[w]]);
1854
+ }
1855
+ }
1856
+ return d;
1857
+ }, Yt;
1858
+ }
1859
+ var Gt, xn;
1860
+ function Er() {
1861
+ if (xn) return Gt;
1862
+ xn = 1;
1863
+ var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
1864
+ return Gt = e, Gt;
1865
+ }
1866
+ var qt, En;
1867
+ function Lo() {
1868
+ return En || (En = 1, qt = Function.call.bind(Object.prototype.hasOwnProperty)), qt;
1869
+ }
1870
+ var Xt, Tn;
1871
+ function Wa() {
1872
+ if (Tn) return Xt;
1873
+ Tn = 1;
1874
+ var e = function() {
1875
+ };
1876
+ if (process.env.NODE_ENV !== "production") {
1877
+ var t = Er(), r = {}, n = Lo();
1878
+ e = function(o) {
1879
+ var i = "Warning: " + o;
1880
+ typeof console < "u" && console.error(i);
1881
+ try {
1882
+ throw new Error(i);
1883
+ } catch {
1884
+ }
1885
+ };
1886
+ }
1887
+ function a(o, i, u, d, s) {
1888
+ if (process.env.NODE_ENV !== "production") {
1889
+ for (var h in o)
1890
+ if (n(o, h)) {
1891
+ var c;
1892
+ try {
1893
+ if (typeof o[h] != "function") {
1894
+ var w = Error(
1895
+ (d || "React class") + ": " + u + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
1896
+ );
1897
+ throw w.name = "Invariant Violation", w;
1898
+ }
1899
+ c = o[h](i, h, d, u, null, t);
1900
+ } catch (C) {
1901
+ c = C;
1902
+ }
1903
+ if (c && !(c instanceof Error) && e(
1904
+ (d || "React class") + ": type specification of " + u + " `" + h + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof c + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
1905
+ ), c instanceof Error && !(c.message in r)) {
1906
+ r[c.message] = !0;
1907
+ var v = s ? s() : "";
1908
+ e(
1909
+ "Failed " + u + " type: " + c.message + (v ?? "")
1910
+ );
1911
+ }
1912
+ }
1913
+ }
1914
+ }
1915
+ return a.resetWarningCache = function() {
1916
+ process.env.NODE_ENV !== "production" && (r = {});
1917
+ }, Xt = a, Xt;
1918
+ }
1919
+ var Kt, kn;
1920
+ function Ba() {
1921
+ if (kn) return Kt;
1922
+ kn = 1;
1923
+ var e = Mo(), t = Va(), r = Er(), n = Lo(), a = Wa(), o = function() {
1924
+ };
1925
+ process.env.NODE_ENV !== "production" && (o = function(u) {
1926
+ var d = "Warning: " + u;
1927
+ typeof console < "u" && console.error(d);
1928
+ try {
1929
+ throw new Error(d);
1930
+ } catch {
1931
+ }
1932
+ });
1933
+ function i() {
1934
+ return null;
1935
+ }
1936
+ return Kt = function(u, d) {
1937
+ var s = typeof Symbol == "function" && Symbol.iterator, h = "@@iterator";
1938
+ function c(f) {
1939
+ var p = f && (s && f[s] || f[h]);
1940
+ if (typeof p == "function")
1941
+ return p;
1942
+ }
1943
+ var w = "<<anonymous>>", v = {
1944
+ array: N("array"),
1945
+ bigint: N("bigint"),
1946
+ bool: N("boolean"),
1947
+ func: N("function"),
1948
+ number: N("number"),
1949
+ object: N("object"),
1950
+ string: N("string"),
1951
+ symbol: N("symbol"),
1952
+ any: $(),
1953
+ arrayOf: V,
1954
+ element: L(),
1955
+ elementType: y(),
1956
+ instanceOf: X,
1957
+ node: fe(),
1958
+ objectOf: se,
1959
+ oneOf: we,
1960
+ oneOfType: ue,
1961
+ shape: ee,
1962
+ exact: ke
1963
+ };
1964
+ function C(f, p) {
1965
+ return f === p ? f !== 0 || 1 / f === 1 / p : f !== f && p !== p;
1966
+ }
1967
+ function R(f, p) {
1968
+ this.message = f, this.data = p && typeof p == "object" ? p : {}, this.stack = "";
1969
+ }
1970
+ R.prototype = Error.prototype;
1971
+ function M(f) {
1972
+ if (process.env.NODE_ENV !== "production")
1973
+ var p = {}, E = 0;
1974
+ function T(k, I, D, z, Z, F, Q) {
1975
+ if (z = z || w, F = F || D, Q !== r) {
1976
+ if (d) {
1977
+ var b = new Error(
1978
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
1979
+ );
1980
+ throw b.name = "Invariant Violation", b;
1981
+ } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1982
+ var oe = z + ":" + D;
1983
+ !p[oe] && // Avoid spamming the console because they are often not actionable except for lib authors
1984
+ E < 3 && (o(
1985
+ "You are manually calling a React.PropTypes validation function for the `" + F + "` prop on `" + z + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1986
+ ), p[oe] = !0, E++);
1987
+ }
1988
+ }
1989
+ return I[D] == null ? k ? I[D] === null ? new R("The " + Z + " `" + F + "` is marked as required " + ("in `" + z + "`, but its value is `null`.")) : new R("The " + Z + " `" + F + "` is marked as required in " + ("`" + z + "`, but its value is `undefined`.")) : null : f(I, D, z, Z, F);
1990
+ }
1991
+ var P = T.bind(null, !1);
1992
+ return P.isRequired = T.bind(null, !0), P;
1993
+ }
1994
+ function N(f) {
1995
+ function p(E, T, P, k, I, D) {
1996
+ var z = E[T], Z = ne(z);
1997
+ if (Z !== f) {
1998
+ var F = _e(z);
1999
+ return new R(
2000
+ "Invalid " + k + " `" + I + "` of type " + ("`" + F + "` supplied to `" + P + "`, expected ") + ("`" + f + "`."),
2001
+ { expectedType: f }
2002
+ );
2003
+ }
2004
+ return null;
2005
+ }
2006
+ return M(p);
2007
+ }
2008
+ function $() {
2009
+ return M(i);
2010
+ }
2011
+ function V(f) {
2012
+ function p(E, T, P, k, I) {
2013
+ if (typeof f != "function")
2014
+ return new R("Property `" + I + "` of component `" + P + "` has invalid PropType notation inside arrayOf.");
2015
+ var D = E[T];
2016
+ if (!Array.isArray(D)) {
2017
+ var z = ne(D);
2018
+ return new R("Invalid " + k + " `" + I + "` of type " + ("`" + z + "` supplied to `" + P + "`, expected an array."));
2019
+ }
2020
+ for (var Z = 0; Z < D.length; Z++) {
2021
+ var F = f(D, Z, P, k, I + "[" + Z + "]", r);
2022
+ if (F instanceof Error)
2023
+ return F;
2024
+ }
2025
+ return null;
2026
+ }
2027
+ return M(p);
2028
+ }
2029
+ function L() {
2030
+ function f(p, E, T, P, k) {
2031
+ var I = p[E];
2032
+ if (!u(I)) {
2033
+ var D = ne(I);
2034
+ return new R("Invalid " + P + " `" + k + "` of type " + ("`" + D + "` supplied to `" + T + "`, expected a single ReactElement."));
2035
+ }
2036
+ return null;
2037
+ }
2038
+ return M(f);
2039
+ }
2040
+ function y() {
2041
+ function f(p, E, T, P, k) {
2042
+ var I = p[E];
2043
+ if (!e.isValidElementType(I)) {
2044
+ var D = ne(I);
2045
+ return new R("Invalid " + P + " `" + k + "` of type " + ("`" + D + "` supplied to `" + T + "`, expected a single ReactElement type."));
2046
+ }
2047
+ return null;
2048
+ }
2049
+ return M(f);
2050
+ }
2051
+ function X(f) {
2052
+ function p(E, T, P, k, I) {
2053
+ if (!(E[T] instanceof f)) {
2054
+ var D = f.name || w, z = A(E[T]);
2055
+ return new R("Invalid " + k + " `" + I + "` of type " + ("`" + z + "` supplied to `" + P + "`, expected ") + ("instance of `" + D + "`."));
2056
+ }
2057
+ return null;
2058
+ }
2059
+ return M(p);
2060
+ }
2061
+ function we(f) {
2062
+ if (!Array.isArray(f))
2063
+ return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
2064
+ "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
2065
+ ) : o("Invalid argument supplied to oneOf, expected an array.")), i;
2066
+ function p(E, T, P, k, I) {
2067
+ for (var D = E[T], z = 0; z < f.length; z++)
2068
+ if (C(D, f[z]))
2069
+ return null;
2070
+ var Z = JSON.stringify(f, function(Q, b) {
2071
+ var oe = _e(b);
2072
+ return oe === "symbol" ? String(b) : b;
2073
+ });
2074
+ return new R("Invalid " + k + " `" + I + "` of value `" + String(D) + "` " + ("supplied to `" + P + "`, expected one of " + Z + "."));
2075
+ }
2076
+ return M(p);
2077
+ }
2078
+ function se(f) {
2079
+ function p(E, T, P, k, I) {
2080
+ if (typeof f != "function")
2081
+ return new R("Property `" + I + "` of component `" + P + "` has invalid PropType notation inside objectOf.");
2082
+ var D = E[T], z = ne(D);
2083
+ if (z !== "object")
2084
+ return new R("Invalid " + k + " `" + I + "` of type " + ("`" + z + "` supplied to `" + P + "`, expected an object."));
2085
+ for (var Z in D)
2086
+ if (n(D, Z)) {
2087
+ var F = f(D, Z, P, k, I + "." + Z, r);
2088
+ if (F instanceof Error)
2089
+ return F;
2090
+ }
2091
+ return null;
2092
+ }
2093
+ return M(p);
2094
+ }
2095
+ function ue(f) {
2096
+ if (!Array.isArray(f))
2097
+ return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), i;
2098
+ for (var p = 0; p < f.length; p++) {
2099
+ var E = f[p];
2100
+ if (typeof E != "function")
2101
+ return o(
2102
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + xe(E) + " at index " + p + "."
2103
+ ), i;
2104
+ }
2105
+ function T(P, k, I, D, z) {
2106
+ for (var Z = [], F = 0; F < f.length; F++) {
2107
+ var Q = f[F], b = Q(P, k, I, D, z, r);
2108
+ if (b == null)
2109
+ return null;
2110
+ b.data && n(b.data, "expectedType") && Z.push(b.data.expectedType);
2111
+ }
2112
+ var oe = Z.length > 0 ? ", expected one of type [" + Z.join(", ") + "]" : "";
2113
+ return new R("Invalid " + D + " `" + z + "` supplied to " + ("`" + I + "`" + oe + "."));
2114
+ }
2115
+ return M(T);
2116
+ }
2117
+ function fe() {
2118
+ function f(p, E, T, P, k) {
2119
+ return pe(p[E]) ? null : new R("Invalid " + P + " `" + k + "` supplied to " + ("`" + T + "`, expected a ReactNode."));
2120
+ }
2121
+ return M(f);
2122
+ }
2123
+ function j(f, p, E, T, P) {
2124
+ return new R(
2125
+ (f || "React class") + ": " + p + " type `" + E + "." + T + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + P + "`."
2126
+ );
2127
+ }
2128
+ function ee(f) {
2129
+ function p(E, T, P, k, I) {
2130
+ var D = E[T], z = ne(D);
2131
+ if (z !== "object")
2132
+ return new R("Invalid " + k + " `" + I + "` of type `" + z + "` " + ("supplied to `" + P + "`, expected `object`."));
2133
+ for (var Z in f) {
2134
+ var F = f[Z];
2135
+ if (typeof F != "function")
2136
+ return j(P, k, I, Z, _e(F));
2137
+ var Q = F(D, Z, P, k, I + "." + Z, r);
2138
+ if (Q)
2139
+ return Q;
2140
+ }
2141
+ return null;
2142
+ }
2143
+ return M(p);
2144
+ }
2145
+ function ke(f) {
2146
+ function p(E, T, P, k, I) {
2147
+ var D = E[T], z = ne(D);
2148
+ if (z !== "object")
2149
+ return new R("Invalid " + k + " `" + I + "` of type `" + z + "` " + ("supplied to `" + P + "`, expected `object`."));
2150
+ var Z = t({}, E[T], f);
2151
+ for (var F in Z) {
2152
+ var Q = f[F];
2153
+ if (n(f, F) && typeof Q != "function")
2154
+ return j(P, k, I, F, _e(Q));
2155
+ if (!Q)
2156
+ return new R(
2157
+ "Invalid " + k + " `" + I + "` key `" + F + "` supplied to `" + P + "`.\nBad object: " + JSON.stringify(E[T], null, " ") + `
2158
+ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
2159
+ );
2160
+ var b = Q(D, F, P, k, I + "." + F, r);
2161
+ if (b)
2162
+ return b;
2163
+ }
2164
+ return null;
2165
+ }
2166
+ return M(p);
2167
+ }
2168
+ function pe(f) {
2169
+ switch (typeof f) {
2170
+ case "number":
2171
+ case "string":
2172
+ case "undefined":
2173
+ return !0;
2174
+ case "boolean":
2175
+ return !f;
2176
+ case "object":
2177
+ if (Array.isArray(f))
2178
+ return f.every(pe);
2179
+ if (f === null || u(f))
2180
+ return !0;
2181
+ var p = c(f);
2182
+ if (p) {
2183
+ var E = p.call(f), T;
2184
+ if (p !== f.entries) {
2185
+ for (; !(T = E.next()).done; )
2186
+ if (!pe(T.value))
2187
+ return !1;
2188
+ } else
2189
+ for (; !(T = E.next()).done; ) {
2190
+ var P = T.value;
2191
+ if (P && !pe(P[1]))
2192
+ return !1;
2193
+ }
2194
+ } else
2195
+ return !1;
2196
+ return !0;
2197
+ default:
2198
+ return !1;
2199
+ }
2200
+ }
2201
+ function Oe(f, p) {
2202
+ return f === "symbol" ? !0 : p ? p["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && p instanceof Symbol : !1;
2203
+ }
2204
+ function ne(f) {
2205
+ var p = typeof f;
2206
+ return Array.isArray(f) ? "array" : f instanceof RegExp ? "object" : Oe(p, f) ? "symbol" : p;
2207
+ }
2208
+ function _e(f) {
2209
+ if (typeof f > "u" || f === null)
2210
+ return "" + f;
2211
+ var p = ne(f);
2212
+ if (p === "object") {
2213
+ if (f instanceof Date)
2214
+ return "date";
2215
+ if (f instanceof RegExp)
2216
+ return "regexp";
2217
+ }
2218
+ return p;
2219
+ }
2220
+ function xe(f) {
2221
+ var p = _e(f);
2222
+ switch (p) {
2223
+ case "array":
2224
+ case "object":
2225
+ return "an " + p;
2226
+ case "boolean":
2227
+ case "date":
2228
+ case "regexp":
2229
+ return "a " + p;
2230
+ default:
2231
+ return p;
2232
+ }
2233
+ }
2234
+ function A(f) {
2235
+ return !f.constructor || !f.constructor.name ? w : f.constructor.name;
2236
+ }
2237
+ return v.checkPropTypes = a, v.resetWarningCache = a.resetWarningCache, v.PropTypes = v, v;
2238
+ }, Kt;
2239
+ }
2240
+ var Jt, An;
2241
+ function Ya() {
2242
+ if (An) return Jt;
2243
+ An = 1;
2244
+ var e = Er();
2245
+ function t() {
2246
+ }
2247
+ function r() {
2248
+ }
2249
+ return r.resetWarningCache = t, Jt = function() {
2250
+ function n(i, u, d, s, h, c) {
2251
+ if (c !== e) {
2252
+ var w = new Error(
2253
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
2254
+ );
2255
+ throw w.name = "Invariant Violation", w;
2256
+ }
2257
+ }
2258
+ n.isRequired = n;
2259
+ function a() {
2260
+ return n;
2261
+ }
2262
+ var o = {
2263
+ array: n,
2264
+ bigint: n,
2265
+ bool: n,
2266
+ func: n,
2267
+ number: n,
2268
+ object: n,
2269
+ string: n,
2270
+ symbol: n,
2271
+ any: n,
2272
+ arrayOf: a,
2273
+ element: n,
2274
+ elementType: n,
2275
+ instanceOf: a,
2276
+ node: n,
2277
+ objectOf: a,
2278
+ oneOf: a,
2279
+ oneOfType: a,
2280
+ shape: a,
2281
+ exact: a,
2282
+ checkPropTypes: r,
2283
+ resetWarningCache: t
2284
+ };
2285
+ return o.PropTypes = o, o;
2286
+ }, Jt;
2287
+ }
2288
+ if (process.env.NODE_ENV !== "production") {
2289
+ var Ga = Mo(), qa = !0;
2290
+ ir.exports = Ba()(Ga.isElement, qa);
2291
+ } else
2292
+ ir.exports = Ya()();
2293
+ var Xa = ir.exports;
2294
+ const ge = /* @__PURE__ */ Co(Xa);
2295
+ function No({ error: e }) {
2296
+ return /* @__PURE__ */ m("div", { className: "rounded-md bg-red-50 p-4", children: /* @__PURE__ */ m("div", { className: "flex justify-center items-center", children: [
2297
+ /* @__PURE__ */ m("div", { className: "flex-shrink-0", children: /* @__PURE__ */ m(
2298
+ So,
2299
+ {
2300
+ size: 20,
2301
+ weight: "bold",
2302
+ className: "text-red-400",
2303
+ "aria-hidden": "true"
2304
+ }
2305
+ ) }),
2306
+ /* @__PURE__ */ m("div", { className: "ml-3", children: /* @__PURE__ */ m("h3", { className: "text-sm font-medium text-red-800", children: e }) })
2307
+ ] }) });
2308
+ }
2309
+ No.propTypes = {
2310
+ error: ge.string.isRequired
2311
+ };
2312
+ function Ka({ className: e, alt: t = "Partbot Logo" }) {
2313
+ return /* @__PURE__ */ m("span", { className: e, role: "img", "aria-label": t, children: /* @__PURE__ */ m(
2314
+ "svg",
2315
+ {
2316
+ xmlns: "http://www.w3.org/2000/svg",
2317
+ width: "239.19",
2318
+ height: "54.22",
2319
+ viewBox: "0 0 239.19 54.22",
2320
+ focusable: "false",
2321
+ "aria-hidden": "true",
2322
+ style: {
2323
+ width: "auto",
2324
+ height: "100%"
2325
+ },
2326
+ children: /* @__PURE__ */ m("g", { children: [
2327
+ /* @__PURE__ */ m(
2328
+ "rect",
2329
+ {
2330
+ fill: "currentColor",
2331
+ y: ".22",
2332
+ width: "24.45",
2333
+ height: "24.45",
2334
+ rx: "1.81",
2335
+ ry: "1.81"
2336
+ }
2337
+ ),
2338
+ /* @__PURE__ */ m(
2339
+ "rect",
2340
+ {
2341
+ fill: "currentColor",
2342
+ y: "29.76",
2343
+ width: "24.45",
2344
+ height: "24.45",
2345
+ rx: "1.7",
2346
+ ry: "1.7"
2347
+ }
2348
+ ),
2349
+ /* @__PURE__ */ m(
2350
+ "path",
2351
+ {
2352
+ fill: "currentColor",
2353
+ d: "M36.91,34.61h-5.67c-.94,0-1.7-.76-1.7-1.7V1.7C29.55.76,30.31,0,31.25,0h5.67c9.44,0,17.09,7.65,17.09,17.09h0v.43c0,9.44-7.65,17.09-17.09,17.09Z"
2354
+ }
2355
+ ),
2356
+ /* @__PURE__ */ m(
2357
+ "path",
2358
+ {
2359
+ fill: "currentColor",
2360
+ d: "M97.79,12.21c-1.74-.96-3.67-1.44-5.8-1.44h-13.54v31.48h7.56v-8.81h5.98c2.13,0,4.06-.48,5.8-1.44,1.74-.96,3.13-2.3,4.18-4.03,1.05-1.72,1.57-3.7,1.57-5.91s-.52-4.18-1.57-5.87c-1.05-1.69-2.44-3.02-4.18-3.98ZM95.32,24.8c-.45.75-1.04,1.32-1.78,1.71-.74.39-1.54.58-2.41.58h-5.13v-10.03h5.13c.87,0,1.67.2,2.41.61.73.4,1.33.98,1.78,1.73.45.75.67,1.65.67,2.7s-.22,1.95-.67,2.7Z"
2361
+ }
2362
+ ),
2363
+ /* @__PURE__ */ m(
2364
+ "path",
2365
+ {
2366
+ fill: "currentColor",
2367
+ d: "M124.27,20.24c-1.81-1.06-4.01-1.6-6.59-1.6s-4.76.54-6.63,1.62c-1.87,1.08-3.32,2.54-4.34,4.39-1.02,1.84-1.53,3.93-1.53,6.27s.43,4.26,1.3,6.05c.87,1.78,2.08,3.2,3.64,4.25,1.56,1.05,3.36,1.57,5.4,1.57,1.29,0,2.41-.18,3.35-.54.94-.36,1.75-.86,2.41-1.51.66-.64,1.2-1.37,1.62-2.18h.18v3.69h6.84v-11.47c0-2.28-.49-4.34-1.46-6.18s-2.37-3.3-4.18-4.36ZM122.18,33.8c-.42.93-1.03,1.66-1.82,2.18s-1.72.79-2.77.79-2.02-.26-2.83-.79-1.42-1.25-1.84-2.18c-.42-.93-.63-1.96-.63-3.1s.21-2.11.63-3.01c.42-.9,1.03-1.61,1.84-2.14s1.75-.79,2.83-.79,1.97.26,2.77.79,1.4,1.24,1.82,2.14c.42.9.63,1.9.63,3.01s-.21,2.17-.63,3.1Z"
2368
+ }
2369
+ ),
2370
+ /* @__PURE__ */ m(
2371
+ "path",
2372
+ {
2373
+ fill: "currentColor",
2374
+ d: "M159.56,13.56h-7.02v5.62h-12.06c-2.13,0-3.79.64-4.99,1.84s-1.8,2.85-1.8,4.95v16.28h6.97v-15.83c0-.45.15-.82.45-1.1.3-.28.66-.43,1.08-.43h10.35v10.61c0,2.07.6,3.71,1.8,4.92,1.2,1.21,2.86,1.82,4.99,1.82h6.57v-5.85h-5.04c-.36,0-.67-.13-.92-.38-.26-.25-.38-.56-.38-.92v-10.21h6.34v-5.71h-6.34v-5.62Z"
2375
+ }
2376
+ ),
2377
+ /* @__PURE__ */ m(
2378
+ "path",
2379
+ {
2380
+ fill: "currentColor",
2381
+ d: "M189.1,20.13c-1.65-.99-3.57-1.48-5.76-1.48-.93,0-1.81.12-2.63.36-.83.24-1.57.59-2.25,1.06-.67.47-1.24,1.01-1.69,1.64h-.14v-12.28h-6.97v20.87c0,2.52.51,4.72,1.53,6.61,1.02,1.89,2.46,3.34,4.32,4.36,1.86,1.02,4.03,1.53,6.52,1.53,1.95,0,3.68-.3,5.19-.9,1.51-.6,2.8-1.46,3.87-2.59,1.06-1.12,1.88-2.45,2.45-3.98.57-1.53.85-3.19.85-4.99,0-2.34-.47-4.38-1.42-6.12-.94-1.74-2.24-3.1-3.89-4.09ZM186.65,33.82c-.44.91-1.04,1.63-1.82,2.16-.78.52-1.71.79-2.79.79s-2.02-.26-2.81-.79-1.4-1.24-1.82-2.16-.63-1.94-.63-3.08.21-2.16.63-3.06c.42-.9,1.03-1.61,1.82-2.14s1.73-.79,2.81-.79,2.01.26,2.79.79c.78.52,1.39,1.24,1.82,2.14.43.9.65,1.92.65,3.06s-.22,2.17-.65,3.08Z"
2382
+ }
2383
+ ),
2384
+ /* @__PURE__ */ m(
2385
+ "path",
2386
+ {
2387
+ fill: "currentColor",
2388
+ d: "M215.96,20.24c-1.87-1.06-4-1.6-6.36-1.6s-4.5.53-6.39,1.6c-1.89,1.06-3.38,2.5-4.48,4.32-1.09,1.81-1.64,3.88-1.64,6.18s.55,4.33,1.64,6.16c1.09,1.83,2.59,3.27,4.48,4.32,1.89,1.05,4.02,1.57,6.39,1.57s4.45-.52,6.34-1.57,3.38-2.49,4.47-4.32c1.09-1.83,1.64-3.88,1.64-6.16s-.55-4.37-1.64-6.18c-1.09-1.81-2.58-3.25-4.45-4.32ZM214.37,33.75c-.45.9-1.08,1.62-1.89,2.16s-1.77.81-2.88.81-2.08-.27-2.9-.81-1.46-1.26-1.91-2.16c-.45-.9-.67-1.92-.67-3.06s.22-2.11.67-3.01c.45-.9,1.09-1.62,1.91-2.16s1.79-.81,2.9-.81,2.07.27,2.88.81,1.44,1.26,1.89,2.16c.45.9.67,1.9.67,3.01s-.22,2.16-.67,3.06Z"
2389
+ }
2390
+ ),
2391
+ /* @__PURE__ */ m(
2392
+ "path",
2393
+ {
2394
+ fill: "currentColor",
2395
+ d: "M239.19,24.89v-5.71h-6.34v-5.62h-7.02v21.95c0,2.07.6,3.71,1.8,4.92,1.2,1.21,2.86,1.82,4.99,1.82h6.57v-5.85h-5.04c-.36,0-.67-.13-.92-.38-.26-.25-.38-.56-.38-.92v-10.21h6.34Z"
2396
+ }
2397
+ )
2398
+ ] })
2399
+ }
2400
+ ) });
2401
+ }
2402
+ const Sn = ["ACT", "NSW", "NT", "QLD", "SA", "TAS", "VIC", "WA"], Cn = "https://api.partbot.io/v1/vehicles/plate-search", Rn = "https://api.partbot.io/v1/vehicles/plate-search-retry";
2403
+ function Oo(e) {
2404
+ const [t, r] = de(!1), [n, a] = de(!1), [o, i] = de(""), [u, d] = de(""), [s, h] = de(null), [c, w] = de(!1), v = Rt(null), [C, R] = de(Cn), [M, N] = de(null), $ = e.apiKey, V = e.callbackUrl, L = e.productsUrl, y = e.useGeolocation === "true", X = e.themeColor || "#4f46e5", we = e.buttonTheme || "light", se = e.responsive, ue = e.intro || "Enter your Number&nbsp;Plate and select your State or Territory to find your vehicle.", fe = e.placeholder || "PL8SRCH", j = e.supportMessage;
2405
+ ye(() => {
2406
+ const A = localStorage.getItem(
2407
+ "partbot_selected_vehicle"
2408
+ );
2409
+ if (A) {
2410
+ const f = JSON.parse(A);
2411
+ f.description && (f.vehicle_ids.length > 0 || Object.values(f.vehicle).every(
2412
+ (p) => p !== null && p !== "" && (typeof p != "object" || Object.keys(p).length > 0)
2413
+ )) && N(f);
2414
+ }
2415
+ }, []), ye(() => {
2416
+ document.documentElement.style.setProperty("--partbot-theme", X);
2417
+ }, [X]), ye(() => {
2418
+ t && y && "geolocation" in navigator && navigator.geolocation.getCurrentPosition(async function(A) {
2419
+ const { latitude: f, longitude: p } = A.coords;
2420
+ try {
2421
+ const T = await (await fetch(
2422
+ `https://maps.googleapis.com/maps/api/geocode/json?latlng=${f},${p}&key=AIzaSyDAdDL5E8iWK_oc0FLqdW-QAhZo84xIX0k`
2423
+ )).json();
2424
+ if (T.results && T.results[0]) {
2425
+ const P = T.results[0].address_components.find(
2426
+ (k) => k.types.includes("administrative_area_level_1")
2427
+ );
2428
+ if (P) {
2429
+ const k = P.short_name;
2430
+ d(k);
2431
+ }
2432
+ }
2433
+ } catch (E) {
2434
+ console.error("Geocoding error:", E);
2435
+ }
2436
+ });
2437
+ }, [y, t]), ye(() => {
2438
+ let A = localStorage.getItem("partbot_plate_details");
2439
+ A && (A = JSON.parse(A), A.plate ? i(A.plate.number) : localStorage.removeItem("partbot_plate_details"));
2440
+ }, []), ye(() => {
2441
+ t && !n && a(!0), t && v.current && v.current.focus();
2442
+ }, [t, n]);
2443
+ const ee = (A) => {
2444
+ if (A && A.preventDefault(), !u || !o)
2445
+ return;
2446
+ w(!0);
2447
+ const f = {
2448
+ plate: o,
2449
+ state: u
2450
+ };
2451
+ async function p() {
2452
+ return (await fetch(C, {
2453
+ method: "POST",
2454
+ mode: "cors",
2455
+ // no-cors, *cors, same-origin
2456
+ cache: "no-cache",
2457
+ // *default, no-cache, reload, force-cache, only-if-cached
2458
+ credentials: "same-origin",
2459
+ // include, *same-origin, omit
2460
+ headers: {
2461
+ "Content-Type": "application/json",
2462
+ Authorization: `Basic ${$}`
2463
+ },
2464
+ redirect: "follow",
2465
+ // manual, *follow, error
2466
+ referrerPolicy: "no-referrer",
2467
+ // no-referrer, *no-referrer-when-downgrade, origin, origin-when-cross-origin, same-origin, strict-origin, strict-origin-when-cross-origin, unsafe-url
2468
+ body: JSON.stringify(f)
2469
+ })).json();
2470
+ }
2471
+ p().then((E) => {
2472
+ w(!1), E.plate ? (localStorage.setItem("partbot_plate_details", JSON.stringify(E)), h(E)) : E && E.indexOf("Invalid API Key") !== -1 ? h({ error: E }) : h({ error: "Could not find any matching vehicles." });
2473
+ }).catch((E) => {
2474
+ console.error("Error:", E), h({ error: "Could not find any matching vehicles." });
2475
+ });
2476
+ };
2477
+ ye(() => {
2478
+ ee();
2479
+ }, [C]);
2480
+ const ke = (A) => {
2481
+ localStorage.removeItem("partbot_plate_details"), localStorage.removeItem("partbot_selected_vehicle"), Bt.remove("partbot_selected_vehicle"), h(null), R(Rn);
2482
+ }, pe = (A) => {
2483
+ window.open(
2484
+ `mailto:report@partbot.io?subject=${encodeURIComponent(
2485
+ "Registration Search Issue"
2486
+ )}&body=${encodeURIComponent(
2487
+ `Incorrect vehicles were shown for ${u} number plate: ${o}, vehicle: ${s.factory_vehicle.make} ${s.factory_vehicle.model} ${s.factory_vehicle.year} ${s.factory_vehicle.body} ${s.factory_vehicle.series}. Please provide details of the correct vehicle below:`
2488
+ )}`
2489
+ );
2490
+ }, Oe = (A) => {
2491
+ i(""), h(null), R(Cn), N(null), localStorage.removeItem("partbot_plate_details"), localStorage.removeItem("partbot_selected_vehicle"), Bt.remove("partbot_selected_vehicle");
2492
+ }, ne = (A) => {
2493
+ var f = JSON.stringify({
2494
+ description: A.description,
2495
+ vehicle_ids: A.vehicle_ids,
2496
+ vehicle: {
2497
+ ...A.vehicle,
2498
+ year: s.factory_vehicle.year
2499
+ }
2500
+ });
2501
+ localStorage.setItem("partbot_selected_vehicle", f), Bt.set("partbot_selected_vehicle", f, {
2502
+ secure: !0
2503
+ });
2504
+ var p = new CustomEvent("plate-search-change", {
2505
+ detail: {
2506
+ vehicle_ids: A.vehicle_ids
2507
+ }
2508
+ });
2509
+ document.dispatchEvent(p), N(A), V && V !== window.location.href && (r(!1), window.location.href = V + window.location.search);
2510
+ }, _e = (A) => {
2511
+ if (r(!1), L)
2512
+ try {
2513
+ const f = new URL(L, window.location.origin);
2514
+ if (f.origin !== window.location.origin) {
2515
+ console.warn(
2516
+ "Partbot: Blocked navigation to external productsUrl",
2517
+ f.toString()
2518
+ );
2519
+ return;
2520
+ }
2521
+ window.location.assign(f.href);
2522
+ } catch (f) {
2523
+ console.error(
2524
+ "Partbot: Invalid productsUrl provided",
2525
+ L,
2526
+ f
2527
+ );
2528
+ }
2529
+ }, xe = (A) => {
2530
+ const f = [
2531
+ "series",
2532
+ "variant",
2533
+ "body",
2534
+ "fuel_type",
2535
+ "drivetrain",
2536
+ "engine",
2537
+ "engine_capacity",
2538
+ "cylinders"
2539
+ ];
2540
+ return Object.entries(A).filter(([p, E]) => E !== null && f.includes(p)).map(([p, E]) => p === "cylinders" ? `${E}cyl` : E).join(" ");
2541
+ };
2542
+ return /* @__PURE__ */ m(O, { children: [
2543
+ /* @__PURE__ */ m(
2544
+ "button",
2545
+ {
2546
+ onClick: (A) => r(!t),
2547
+ type: "button",
2548
+ className: `${we === "dark" ? "bg-transparent text-gray-100 hover:text-white" : "bg-white text-gray-700 hover:bg-gray-50"} inline-flex items-center ${se ? "px-2 md:px-3" : "px-3"} text-md focus:outline-none focus:ring-bg-theme-color h-[44px] rounded-md border-4 border-double border-gray-400 font-license text-base font-medium shadow-sm transition cursor-pointer`,
2549
+ children: [
2550
+ /* @__PURE__ */ m(
2551
+ To,
2552
+ {
2553
+ weight: "fill",
2554
+ className: se ? "h-5 w-5 md:-ml-1 md:mr-2" : "mr-2 -ml-1 h-5 w-5",
2555
+ "aria-hidden": "true"
2556
+ }
2557
+ ),
2558
+ /* @__PURE__ */ m("span", { className: se ? "hidden md:inline" : "mt-0.5 md:inline", children: o || fe })
2559
+ ]
2560
+ }
2561
+ ),
2562
+ /* @__PURE__ */ m(
2563
+ "div",
2564
+ {
2565
+ className: `${t ? "modal-container modal-container-open" : "modal-container modal-container-close"}`,
2566
+ style: !t && !n ? { display: "none" } : {},
2567
+ onClick: (A) => {
2568
+ A.target === A.currentTarget && r(!1);
2569
+ },
2570
+ children: /* @__PURE__ */ m(
2571
+ "div",
2572
+ {
2573
+ role: "dialog",
2574
+ "aria-modal": "true",
2575
+ "aria-label": "Number plate search dialog",
2576
+ className: t ? "modal modal-open" : "modal modal-close",
2577
+ children: [
2578
+ /* @__PURE__ */ m("div", { className: "absolute top-0 right-0 pt-4 pr-4", children: /* @__PURE__ */ m(
2579
+ "button",
2580
+ {
2581
+ type: "button",
2582
+ className: "focus:outline-none focus:ring-bg-theme-color rounded-md bg-white text-gray-400 hover:text-gray-500",
2583
+ onClick: () => r(!1),
2584
+ children: [
2585
+ /* @__PURE__ */ m("span", { className: "sr-only", children: "Close" }),
2586
+ /* @__PURE__ */ m(Ao, { size: 16, weight: "bold", "aria-hidden": "true" })
2587
+ ]
2588
+ }
2589
+ ) }),
2590
+ s && !M && /* @__PURE__ */ m("div", { className: "modal-content", children: /* @__PURE__ */ m("div", { className: "mb-5 text-center", children: [
2591
+ /* @__PURE__ */ m("div", { className: "inline-flex items-center text-center text-2xl font-extrabold tracking-tight text-black", children: /* @__PURE__ */ m("div", { children: [
2592
+ "Results for",
2593
+ " ",
2594
+ /* @__PURE__ */ m("span", { className: "text-theme-color", children: [
2595
+ o,
2596
+ " (",
2597
+ u,
2598
+ ")"
2599
+ ] })
2600
+ ] }) }),
2601
+ /* @__PURE__ */ m("div", { className: "mt-6", children: [
2602
+ /* @__PURE__ */ m("div", { className: "modal-scroll-area", children: s.vehicles ? /* @__PURE__ */ m("div", { className: "grid gap-3 text-left", children: [
2603
+ s.vehicles.map(function(A, f) {
2604
+ return /* @__PURE__ */ m(
2605
+ "div",
2606
+ {
2607
+ className: "focus:outline-none relative grid cursor-pointer gap-4 rounded-lg border border-gray-300 bg-white px-4 py-4 shadow-sm hover:border-gray-400 sm:flex sm:justify-between",
2608
+ children: [
2609
+ /* @__PURE__ */ m("div", { className: "pr-5 text-xs", children: /* @__PURE__ */ m("div", { className: "grid gap-2", children: [
2610
+ /* @__PURE__ */ m("div", { className: "text-sm font-bold text-gray-900", children: A.description }),
2611
+ /* @__PURE__ */ m("div", { className: "text-gray-600", children: xe(A.vehicle) })
2612
+ ] }) }),
2613
+ /* @__PURE__ */ m("div", { children: /* @__PURE__ */ m(
2614
+ "button",
2615
+ {
2616
+ className: "justify-center rounded-md border border-transparent bg-theme-color px-2 py-1.5 text-xs font-medium text-white shadow-sm",
2617
+ onClick: () => ne(A),
2618
+ children: "Select vehicle"
2619
+ }
2620
+ ) })
2621
+ ]
2622
+ },
2623
+ f
2624
+ );
2625
+ }),
2626
+ s.differing_attributes && s.vehicle_breakdown && s.vehicle_breakdown.length > 0 && /* @__PURE__ */ m("div", { children: /* @__PURE__ */ m("details", { className: "[&_summary::-webkit-details-marker]:hidden group rounded-lg border border-gray-300 bg-white", children: [
2627
+ /* @__PURE__ */ m("summary", { className: "flex cursor-pointer items-center justify-between px-4 py-2 text-left text-sm font-medium text-gray-900", children: [
2628
+ /* @__PURE__ */ m("span", { children: "More options..." }),
2629
+ /* @__PURE__ */ m(
2630
+ "svg",
2631
+ {
2632
+ className: "!h-5 !w-5 text-gray-500 transition duration-300 group-open:rotate-180",
2633
+ xmlns: "http://www.w3.org/2000/svg",
2634
+ viewBox: "0 0 20 20",
2635
+ fill: "currentColor",
2636
+ children: /* @__PURE__ */ m(
2637
+ "path",
2638
+ {
2639
+ fillRule: "evenodd",
2640
+ d: "M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",
2641
+ clipRule: "evenodd"
2642
+ }
2643
+ )
2644
+ }
2645
+ )
2646
+ ] }),
2647
+ /* @__PURE__ */ m("div", { className: "border-t border-gray-200 px-4 py-3", children: /* @__PURE__ */ m("div", { className: "grid gap-3", children: s.vehicle_breakdown && s.vehicle_breakdown.map(
2648
+ (A, f) => /* @__PURE__ */ m(
2649
+ "div",
2650
+ {
2651
+ className: "flex items-center justify-between rounded-md border border-gray-200 p-3 text-sm",
2652
+ children: [
2653
+ /* @__PURE__ */ m("div", { children: s.differing_attributes.map(
2654
+ (p) => /* @__PURE__ */ m(
2655
+ "div",
2656
+ {
2657
+ className: "text-xs text-gray-600",
2658
+ children: [
2659
+ /* @__PURE__ */ m("span", { className: "font-medium capitalize", children: [
2660
+ p,
2661
+ ":"
2662
+ ] }),
2663
+ " ",
2664
+ A.vehicle[p]
2665
+ ]
2666
+ },
2667
+ p
2668
+ )
2669
+ ) }),
2670
+ /* @__PURE__ */ m(
2671
+ "button",
2672
+ {
2673
+ onClick: () => ne(A),
2674
+ className: "ml-4 rounded-md bg-theme-color px-3 py-1.5 text-xs font-medium text-white hover:bg-opacity-90",
2675
+ children: "Select"
2676
+ }
2677
+ )
2678
+ ]
2679
+ },
2680
+ f
2681
+ )
2682
+ ) }) })
2683
+ ] }) })
2684
+ ] }) : /* @__PURE__ */ m("div", { className: "my-5", children: /* @__PURE__ */ m(No, { error: s.error }) }) }),
2685
+ s.vehicles && s.vehicles.length > 3 && /* @__PURE__ */ m("div", { className: "pb-4 text-center text-xs text-gray-500", children: "Scroll for more..." }),
2686
+ j && /* @__PURE__ */ m(
2687
+ "div",
2688
+ {
2689
+ className: "pl8srch-text mx-auto my-6 w-full text-sm text-gray-500",
2690
+ dangerouslySetInnerHTML: {
2691
+ __html: gn.sanitize(j)
2692
+ }
2693
+ }
2694
+ ),
2695
+ C !== Rn && /* @__PURE__ */ m(
2696
+ "button",
2697
+ {
2698
+ type: "button",
2699
+ className: "mb-5 hidden w-full items-center justify-center rounded-md border border-theme-color bg-transparent px-4 py-2 text-base font-medium text-theme-color shadow-sm hover:bg-theme-color hover:text-white",
2700
+ onClick: ke,
2701
+ children: [
2702
+ "Try Again",
2703
+ " ",
2704
+ /* @__PURE__ */ m(
2705
+ Eo,
2706
+ {
2707
+ size: 16,
2708
+ weight: "bold",
2709
+ className: "ml-3",
2710
+ "aria-hidden": "true"
2711
+ }
2712
+ )
2713
+ ]
2714
+ }
2715
+ ),
2716
+ /* @__PURE__ */ m("div", { className: "align-center flex justify-between", children: [
2717
+ /* @__PURE__ */ m(
2718
+ "button",
2719
+ {
2720
+ onClick: pe,
2721
+ className: "text-xs text-theme-color",
2722
+ children: "Report incorrect search results"
2723
+ }
2724
+ ),
2725
+ /* @__PURE__ */ m(
2726
+ "button",
2727
+ {
2728
+ onClick: Oe,
2729
+ className: "text-xs text-theme-color",
2730
+ children: [
2731
+ /* @__PURE__ */ m(
2732
+ xo,
2733
+ {
2734
+ size: 12,
2735
+ weight: "bold",
2736
+ className: "mr-1 inline"
2737
+ }
2738
+ ),
2739
+ " ",
2740
+ "Back to search"
2741
+ ]
2742
+ }
2743
+ )
2744
+ ] })
2745
+ ] })
2746
+ ] }) }),
2747
+ M && /* @__PURE__ */ m("div", { className: "modal-content", children: /* @__PURE__ */ m("div", { className: "mb-5 text-center", children: [
2748
+ /* @__PURE__ */ m("div", { className: "grid items-center", children: [
2749
+ /* @__PURE__ */ m("div", { className: "inline-flex items-center justify-center gap-1 text-center text-2xl font-extrabold tracking-tight text-black", children: [
2750
+ /* @__PURE__ */ m("span", { children: "Selected Vehicle" }),
2751
+ o && /* @__PURE__ */ m("span", { className: "text-theme-color", children: [
2752
+ "(",
2753
+ o,
2754
+ ")"
2755
+ ] })
2756
+ ] }),
2757
+ /* @__PURE__ */ m("div", { className: "text-medium mt-5 text-sm text-gray-500", children: s && s.factory_vehicle ? `${s.factory_vehicle.make} ${s.factory_vehicle.model} ${s.factory_vehicle.year}` : M.description }),
2758
+ M.vehicle && /* @__PURE__ */ m("div", { className: "mt-2 text-xs text-gray-600", children: xe(M.vehicle) })
2759
+ ] }),
2760
+ /* @__PURE__ */ m("div", { className: "mt-6 flex gap-4", children: [
2761
+ /* @__PURE__ */ m(
2762
+ "button",
2763
+ {
2764
+ className: "mb-5 flex w-full items-center justify-center rounded-md border border-theme-color bg-transparent px-4 py-2 text-sm font-medium text-theme-color shadow-sm hover:bg-theme-color hover:text-white",
2765
+ onClick: Oe,
2766
+ children: "Clear Vehicle"
2767
+ }
2768
+ ),
2769
+ L && /* @__PURE__ */ m(
2770
+ "button",
2771
+ {
2772
+ className: "mb-5 flex w-full items-center justify-center rounded-md border border-theme-color bg-transparent px-4 py-2 text-sm font-medium text-theme-color shadow-sm hover:bg-theme-color hover:text-white",
2773
+ onClick: _e,
2774
+ children: "Show Products"
2775
+ }
2776
+ )
2777
+ ] })
2778
+ ] }) }),
2779
+ !M && !s && /* @__PURE__ */ m("div", { className: "modal-content", children: [
2780
+ /* @__PURE__ */ m("div", { className: "mb-5 text-center", children: [
2781
+ /* @__PURE__ */ m("div", { className: "inline-flex items-center text-2xl font-extrabold tracking-tight text-black", children: /* @__PURE__ */ m("span", { children: "Number Plate Search" }) }),
2782
+ /* @__PURE__ */ m(
2783
+ "div",
2784
+ {
2785
+ className: "[&>a]:text-theme-color hover:[&>a]:text-theme-color pl8srch-text text-balance mx-auto mt-3 mb-4 max-w-sm text-sm text-gray-500 whitespace-normal!",
2786
+ dangerouslySetInnerHTML: {
2787
+ __html: gn.sanitize(ue)
2788
+ }
2789
+ }
2790
+ )
2791
+ ] }),
2792
+ /* @__PURE__ */ m(
2793
+ "form",
2794
+ {
2795
+ onSubmit: ee,
2796
+ className: "flex flex-col items-center text-black",
2797
+ children: [
2798
+ /* @__PURE__ */ m(
2799
+ "input",
2800
+ {
2801
+ type: "text",
2802
+ name: "plate",
2803
+ ref: v,
2804
+ className: `pl8srch-input h-[130px] w-full rounded-xl border-[6px] px-6 pt-5 pb-2 text-center font-license text-[60px] uppercase md:h-[150px] md:border-8 md:text-[75px] focus:outline-none focus:ring-bg-theme-color focus:border-theme-color transition-all duration-200 ${o ? "border-theme-color" : "border-stone-300"}`,
2805
+ placeholder: fe,
2806
+ value: o,
2807
+ onChange: (A) => i(A.target.value.toUpperCase())
2808
+ }
2809
+ ),
2810
+ /* @__PURE__ */ m("span", { className: "relative z-0 my-5 flex w-full rounded-md items-stretch shadow-sm", children: Sn.map((A, f) => {
2811
+ let p = "bg-white text-gray-700 hover:bg-gray-50 border-gray-300";
2812
+ return A === u && (p = "bg-theme-color text-white hover:bg-theme-color border-theme-color"), f === 0 ? /* @__PURE__ */ m(
2813
+ "button",
2814
+ {
2815
+ onClick: (E) => d(A),
2816
+ type: "button",
2817
+ className: `focus:outline-none focus:ring-bg-theme-color text-center justify-center flex-grow focus:border-bg-theme-color relative inline-flex items-center cursor-pointer rounded-l-md border px-2 py-2 text-xs font-medium focus:z-10 focus:ring-1 sm:px-3 ${p}`,
2818
+ children: A
2819
+ },
2820
+ A
2821
+ ) : Sn.length === f + 1 ? /* @__PURE__ */ m(
2822
+ "button",
2823
+ {
2824
+ onClick: (E) => d(A),
2825
+ type: "button",
2826
+ className: `focus:outline-none focus:ring-bg-theme-color text-center justify-center flex-grow focus:border-bg-theme-color relative -ml-px inline-flex items-center cursor-pointer rounded-r-md border px-2 py-2 text-xs font-medium focus:z-10 focus:ring-1 sm:px-3 ${p}`,
2827
+ children: A
2828
+ },
2829
+ A
2830
+ ) : /* @__PURE__ */ m(
2831
+ "button",
2832
+ {
2833
+ onClick: (E) => d(A),
2834
+ type: "button",
2835
+ className: `focus:outline-none focus:ring-bg-theme-color text-center justify-center flex-grow focus:border-bg-theme-color relative -ml-px inline-flex items-center cursor-pointer border px-2 py-2 text-xs font-medium focus:z-10 focus:ring-1 sm:px-3 ${p}`,
2836
+ children: A
2837
+ },
2838
+ A
2839
+ );
2840
+ }) }),
2841
+ /* @__PURE__ */ m(
2842
+ "button",
2843
+ {
2844
+ type: "submit",
2845
+ className: "hover:bg-theme-color-800 flex w-full items-center justify-center rounded-md border border-transparent bg-theme-color px-4 py-2 text-base font-medium text-white shadow-sm",
2846
+ children: [
2847
+ "Find your vehicle",
2848
+ c ? /* @__PURE__ */ m(
2849
+ ko,
2850
+ {
2851
+ weight: "bold",
2852
+ className: "ml-3 h-4 w-4 animate-spin",
2853
+ "aria-hidden": "true"
2854
+ }
2855
+ ) : ""
2856
+ ]
2857
+ }
2858
+ )
2859
+ ]
2860
+ }
2861
+ )
2862
+ ] }),
2863
+ /* @__PURE__ */ m("div", { className: "mt-8 text-center", children: /* @__PURE__ */ m(
2864
+ "a",
2865
+ {
2866
+ href: `https://use.partbot.io/?ref=${window.location.hostname}`,
2867
+ target: "_blank",
2868
+ rel: "noreferrer",
2869
+ className: "mx-auto inline-flex max-w-sm items-center text-center text-xs font-medium tracking-tight text-gray-500 transition gap-2",
2870
+ children: [
2871
+ /* @__PURE__ */ m("span", { children: "Powered by" }),
2872
+ /* @__PURE__ */ m(Ka, { className: "inline h-4" })
2873
+ ]
2874
+ }
2875
+ ) })
2876
+ ]
2877
+ }
2878
+ )
2879
+ }
2880
+ )
2881
+ ] });
2882
+ }
2883
+ Oo.propTypes = {
2884
+ apiKey: ge.string.isRequired,
2885
+ callbackUrl: ge.string,
2886
+ productsUrl: ge.string,
2887
+ themeColor: ge.string,
2888
+ useGeolocation: ge.bool,
2889
+ buttonTheme: ge.oneOf(["light", "dark"]),
2890
+ responsive: ge.bool,
2891
+ placeholder: ge.string,
2892
+ intro: ge.string,
2893
+ supportMessage: ge.string
2894
+ };
2895
+ const Mn = `@import"https://fonts.googleapis.com/css2?family=Inter:wght@400..800&display=swap";/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */@layer properties{*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-leading:initial;--tw-ease:initial;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}plate-search,plate-search *,plate-search:before,plate-search:after,plate-search::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-leading:initial;--tw-ease:initial;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}:host,:host *,:host:before,:host:after,:host::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-leading:initial;--tw-ease:initial;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-400:oklch(70.4% .191 22.216);--color-red-800:oklch(44.4% .177 26.899);--color-amber-50:oklch(98.7% .022 95.277);--color-amber-800:oklch(47.3% .137 46.201);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-900:oklch(21% .034 264.665);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-300:oklch(86.9% .005 56.366);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-lg:32rem;--container-2xl:42rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--font-weight-medium:500;--font-weight-bold:700;--font-weight-extrabold:800;--tracking-tight:-.025em;--tracking-wide:.025em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-license:"License Plate"}plate-search,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-400:oklch(70.4% .191 22.216);--color-red-800:oklch(44.4% .177 26.899);--color-amber-50:oklch(98.7% .022 95.277);--color-amber-800:oklch(47.3% .137 46.201);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-900:oklch(21% .034 264.665);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-300:oklch(86.9% .005 56.366);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-lg:32rem;--container-2xl:42rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--font-weight-medium:500;--font-weight-bold:700;--font-weight-extrabold:800;--tracking-tight:-.025em;--tracking-wide:.025em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-license:"License Plate"}:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-400:oklch(70.4% .191 22.216);--color-red-800:oklch(44.4% .177 26.899);--color-amber-50:oklch(98.7% .022 95.277);--color-amber-800:oklch(47.3% .137 46.201);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-900:oklch(21% .034 264.665);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-300:oklch(86.9% .005 56.366);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-lg:32rem;--container-2xl:42rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--font-weight-medium:500;--font-weight-bold:700;--font-weight-extrabold:800;--tracking-tight:-.025em;--tracking-wide:.025em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-license:"License Plate"}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components{.modal-container{inset:calc(var(--spacing)*0);top:calc(var(--spacing)*0);z-index:9999;background-color:#00000080;justify-content:center;align-items:flex-start;width:100vw;height:100vh;display:flex;position:fixed;overflow-y:auto}@supports (color:color-mix(in lab,red,red)){.modal-container{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.modal-container{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media (min-width:48rem){.modal-container{align-items:center}}.modal-container-open{pointer-events:auto;opacity:1;--tw-duration:.2s;--tw-ease:var(--ease-out);transition-duration:.2s;transition-timing-function:var(--ease-out)}.modal-container-close{pointer-events:none;opacity:0;--tw-duration:.2s;--tw-ease:var(--ease-in);transition-duration:.2s;transition-timing-function:var(--ease-in)}.modal{width:100vw;height:100vh;transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,);overscroll-behavior:auto;background-color:var(--color-white);padding-inline:calc(var(--spacing)*6);padding-top:calc(var(--spacing)*8);padding-bottom:calc(var(--spacing)*8);text-align:left;vertical-align:bottom;font-family:var(--font-sans);--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));display:inline-block;overflow:hidden}@media (min-width:40rem){.modal{margin-block:calc(var(--spacing)*8);width:100%;max-width:var(--container-lg);vertical-align:middle}}@media (min-width:48rem){.modal{margin:calc(var(--spacing)*3);height:auto;max-width:var(--container-lg);border-radius:var(--radius-xl);padding-inline:calc(var(--spacing)*12)}}.modal-close{--tw-translate-y:calc(var(--spacing)*4);translate:var(--tw-translate-x)var(--tw-translate-y);opacity:0;--tw-duration:.2s;--tw-ease:var(--ease-in);transition-duration:.2s;transition-timing-function:var(--ease-in)}@media (min-width:40rem){.modal-close{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}}.modal-open{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y);opacity:1;--tw-duration:.3s;--tw-ease:var(--ease-out);transition-duration:.3s;transition-timing-function:var(--ease-out)}.modal-scroll-area{margin-top:calc(var(--spacing)*3);margin-bottom:calc(var(--spacing)*3);max-height:380px;overflow:auto}.pl8srch-text a{color:var(--partbot-theme);opacity:.8;transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.2s;text-decoration-line:underline;transition-duration:.2s}@media (hover:hover){.pl8srch-text a:hover{color:var(--partbot-theme);opacity:1}}}@layer utilities{.visible{visibility:visible}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.relative{position:relative}.static{position:static}.top-0{top:calc(var(--spacing)*0)}.right-0{right:calc(var(--spacing)*0)}.isolate{isolation:isolate}.z-0{z-index:0}.z-\\[10000\\]{z-index:10000}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mx-auto{margin-inline:auto}.my-4{margin-block:calc(var(--spacing)*4)}.my-5{margin-block:calc(var(--spacing)*5)}.my-6{margin-block:calc(var(--spacing)*6)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-5{margin-top:calc(var(--spacing)*5)}.mt-6{margin-top:calc(var(--spacing)*6)}.mt-8{margin-top:calc(var(--spacing)*8)}.mt-12{margin-top:calc(var(--spacing)*12)}.mt-auto{margin-top:auto}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-5{margin-bottom:calc(var(--spacing)*5)}.-ml-1{margin-left:calc(var(--spacing)*-1)}.-ml-px{margin-left:-1px}.ml-3{margin-left:calc(var(--spacing)*3)}.ml-4{margin-left:calc(var(--spacing)*4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.\\!h-5{height:calc(var(--spacing)*5)!important}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-\\[44px\\]{height:44px}.h-\\[130px\\]{height:130px}.h-full{height:100%}.min-h-screen{min-height:100vh}.\\!w-5{width:calc(var(--spacing)*5)!important}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-full{width:100%}.max-w-7xl{max-width:var(--container-7xl)}.max-w-prose{max-width:65ch}.max-w-sm{max-width:var(--container-sm)}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-\\[6px\\]{border-style:var(--tw-border-style);border-width:6px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-double{--tw-border-style:double;border-style:double}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-400{border-color:var(--color-gray-400)}.border-stone-300{border-color:var(--color-stone-300)}.border-theme-color{border-color:var(--partbot-theme)}.border-transparent{border-color:#0000}.border-t-white\\/20{border-top-color:#fff3}@supports (color:color-mix(in lab,red,red)){.border-t-white\\/20{border-top-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.border-b-emerald-600{border-bottom-color:var(--color-emerald-600)}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-red-50{background-color:var(--color-red-50)}.bg-stone-50{background-color:var(--color-stone-50)}.bg-theme-color{background-color:var(--partbot-theme)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\\[url\\(\\'\\/background-2\\.png\\'\\)\\]{background-image:url(/background-2.png)}.from-amber-50\\/50{--tw-gradient-from:#fffbeb80}@supports (color:color-mix(in lab,red,red)){.from-amber-50\\/50{--tw-gradient-from:color-mix(in oklab,var(--color-amber-50)50%,transparent)}}.from-amber-50\\/50{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-amber-800\\/10{--tw-gradient-to:#953d001a}@supports (color:color-mix(in lab,red,red)){.to-amber-800\\/10{--tw-gradient-to:color-mix(in oklab,var(--color-amber-800)10%,transparent)}}.to-amber-800\\/10{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.bg-cover{background-size:cover}.bg-top-right{background-position:100% 0}.bg-no-repeat{background-repeat:no-repeat}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-5{padding-block:calc(var(--spacing)*5)}.py-8{padding-block:calc(var(--spacing)*8)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-5{padding-top:calc(var(--spacing)*5)}.pr-4{padding-right:calc(var(--spacing)*4)}.pr-5{padding-right:calc(var(--spacing)*5)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.text-center{text-align:center}.text-left{text-align:left}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[60px\\]{font-size:60px}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.text-balance{text-wrap:balance}.whitespace-normal\\!{white-space:normal!important}.whitespace-nowrap{white-space:nowrap}.text-black{color:var(--color-black)}.text-emerald-100{color:var(--color-emerald-100)}.text-emerald-300{color:var(--color-emerald-300)}.text-emerald-400{color:var(--color-emerald-400)}.text-emerald-500{color:var(--color-emerald-500)}.text-emerald-700{color:var(--color-emerald-700)}.text-gray-100{color:var(--color-gray-100)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-900{color:var(--color-gray-900)}.text-red-400{color:var(--color-red-400)}.text-red-800{color:var(--color-red-800)}.text-theme-color{color:var(--partbot-theme)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.shadow,.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.group-open\\:rotate-180:is(:where(.group):is([open],:popover-open,:open) *){rotate:180deg}@media (hover:hover){.hover\\:border-gray-400:hover{border-color:var(--color-gray-400)}.hover\\:bg-emerald-500:hover{background-color:var(--color-emerald-500)}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-theme-color:hover{background-color:var(--partbot-theme)}.hover\\:text-gray-500:hover{color:var(--color-gray-500)}.hover\\:text-white:hover{color:var(--color-white)}}.focus\\:z-10:focus{z-index:10}.focus\\:border-bg-theme-color:focus,.focus\\:border-theme-color:focus{border-color:var(--partbot-theme)}.focus\\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-bg-theme-color:focus{--tw-ring-color:var(--partbot-theme)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}@media (min-width:40rem){.sm\\:flex{display:flex}.sm\\:max-w-prose{max-width:65ch}.sm\\:justify-between{justify-content:space-between}.sm\\:overflow-hidden{overflow:hidden}.sm\\:px-3{padding-inline:calc(var(--spacing)*3)}.sm\\:px-6{padding-inline:calc(var(--spacing)*6)}}@media (min-width:48rem){.md\\:mt-6{margin-top:calc(var(--spacing)*6)}.md\\:mt-12{margin-top:calc(var(--spacing)*12)}.md\\:mr-2{margin-right:calc(var(--spacing)*2)}.md\\:-ml-1{margin-left:calc(var(--spacing)*-1)}.md\\:inline{display:inline}.md\\:h-\\[150px\\]{height:150px}.md\\:max-w-2xl{max-width:var(--container-2xl)}.md\\:items-center{align-items:center}.md\\:justify-center{justify-content:center}.md\\:border-8{border-style:var(--tw-border-style);border-width:8px}.md\\:px-3{padding-inline:calc(var(--spacing)*3)}.md\\:py-12{padding-block:calc(var(--spacing)*12)}.md\\:text-center{text-align:center}.md\\:text-7xl{font-size:var(--text-7xl);line-height:var(--tw-leading,var(--text-7xl--line-height))}.md\\:text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.md\\:text-\\[75px\\]{font-size:75px}}@media (min-width:64rem){.lg\\:px-8{padding-inline:calc(var(--spacing)*8)}.lg\\:py-12{padding-block:calc(var(--spacing)*12)}.lg\\:text-8xl{font-size:var(--text-8xl);line-height:var(--tw-leading,var(--text-8xl--line-height))}.lg\\:leading-20{--tw-leading:calc(var(--spacing)*20);line-height:calc(var(--spacing)*20)}}.\\[\\&_summary\\:\\:-webkit-details-marker\\]\\:hidden summary::-webkit-details-marker{display:none}.\\[\\&\\>a\\]\\:text-theme-color>a{color:var(--partbot-theme)}@media (hover:hover){.hover\\:\\[\\&\\>a\\]\\:text-theme-color:hover>a{color:var(--partbot-theme)}}.font-license{font-family:var(--font-license)}}@font-face{font-family:License Plate;src:url(https://res.cloudinary.com/proex/raw/upload/v1730709140/partbot/PartbotPlate.woff2)format("woff2");font-weight:400;font-style:normal}:host{overflow-wrap:break-word;white-space:normal;display:block;overflow:auto}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-leading{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@keyframes spin{to{transform:rotate(360deg)}}`, Ja = "3.0.0", Qa = {
2896
+ version: Ja
2897
+ };
2898
+ function Ln({ domElement: e }) {
2899
+ const t = e.getAttribute("data-api-key"), r = e.getAttribute("data-callback-url"), n = e.getAttribute("data-products-url"), a = e.getAttribute("data-theme-color"), o = e.getAttribute("data-use-geolocation") === "true", i = e.getAttribute("data-button"), u = e.getAttribute("data-responsive") ? e.getAttribute("data-responsive") === "true" : !0, d = e.getAttribute("data-placeholder"), s = e.getAttribute("data-intro"), h = e.getAttribute("data-support-message");
2900
+ return ye(() => {
2901
+ console.info(
2902
+ "Vehicle Registration Search powered by Partbot https://use.partbot.io"
2903
+ );
2904
+ }, []), /* @__PURE__ */ m("div", { className: "App", children: /* @__PURE__ */ m(
2905
+ Oo,
2906
+ {
2907
+ className: "partbot",
2908
+ apiKey: t,
2909
+ callbackUrl: r,
2910
+ productsUrl: n,
2911
+ themeColor: a,
2912
+ useGeolocation: o,
2913
+ buttonTheme: i,
2914
+ responsive: u,
2915
+ placeholder: d,
2916
+ intro: s,
2917
+ supportMessage: h
2918
+ }
2919
+ ) });
2920
+ }
2921
+ class Be extends HTMLElement {
2922
+ constructor() {
2923
+ super(), this.apiKey = this.dataset.apiKey, this.callbackUrl = this.dataset.callbackUrl, this.productsUrl = this.dataset.productsUrl, this.themeColor = this.dataset.themeColor, this.useGeolocation = this.dataset.useGeolocation, this.debug = this.dataset.debug === "true", this.assetUrl = this.dataset.assetUrl, this.buttonTheme = this.dataset.button, this.responsive = this.dataset.responsive ? this.dataset.responsive === "true" : !0, this.placeholder = this.dataset.placeholder, this.intro = this.dataset.intro, this.supportMessage = this.dataset.supportMessage;
2924
+ }
2925
+ connectedCallback() {
2926
+ this.style.visibility = "hidden";
2927
+ let t;
2928
+ if (this.assetUrl && (t = new URL(
2929
+ this.assetUrl.replace(/\/$/, "") + "/css/plate-search.css",
2930
+ window.location.href
2931
+ )), !t && this.debug && (t = new URL("/css/plate-search.css", window.location.href)), !t) {
2932
+ const i = Qa.version;
2933
+ t = new URL(
2934
+ `https://unpkg.com/@cartbot/plate-search@${i}/build/dist/css/plate-search.css`
2935
+ );
2936
+ }
2937
+ const n = [
2938
+ ["data-api-key", this.apiKey],
2939
+ ["data-callback-url", this.callbackUrl],
2940
+ ["data-products-url", this.productsUrl],
2941
+ ["data-theme-color", this.themeColor],
2942
+ ["data-use-geolocation", this.useGeolocation],
2943
+ ["data-button", this.buttonTheme],
2944
+ ["data-responsive", this.responsive],
2945
+ ["data-placeholder", this.placeholder],
2946
+ ["data-intro", this.intro],
2947
+ ["data-support-message", this.supportMessage]
2948
+ ].filter(([i, u]) => u != null).map(([i, u]) => `${i}="${u}"`).join(" "), a = (i, u) => {
2949
+ if (!/@import/i.test(i) && "adoptedStyleSheets" in Document.prototype)
2950
+ try {
2951
+ const h = new CSSStyleSheet();
2952
+ return h.replaceSync(i), console.info(`Partbot: using constructable stylesheet (${u})`), h;
2953
+ } catch (h) {
2954
+ console.warn("Partbot: constructable sheet failed, falling back", h);
2955
+ }
2956
+ const s = document.createElement("style");
2957
+ return s.textContent = i, console.info(`Partbot: using <style> element fallback (${u})`), s;
2958
+ };
2959
+ Be.__stylePromise || (t ? Be.__stylePromise = fetch(t).then((i) => {
2960
+ if (!i.ok) throw new Error(`HTTP ${i.status}`);
2961
+ return i.text();
2962
+ }).then((i) => a(i, t.href)).catch((i) => (console.warn(
2963
+ "Partbot: external stylesheet failed, falling back to inline",
2964
+ i
2965
+ ), a(Mn, "inline-fallback"))) : Be.__stylePromise = Promise.resolve(
2966
+ a(Mn, "inline")
2967
+ ));
2968
+ const o = document.createElement("template");
2969
+ if (o.innerHTML = `
2970
+ <div class="partbot-plate-search isolate" ${n}></div>`, this.attachShadow({ mode: "open" }), Be.__stylePromise.then((i) => {
2971
+ var u, d;
2972
+ if (i) {
2973
+ if (i instanceof CSSStyleSheet ? this.shadowRoot.adoptedStyleSheets = [i] : i instanceof HTMLStyleElement && this.shadowRoot.prepend(i.cloneNode(!0)), this.debug)
2974
+ try {
2975
+ const s = (u = this.shadowRoot.adoptedStyleSheets) == null ? void 0 : u[0];
2976
+ s && console.info(
2977
+ "Partbot debug: first rule in adopted sheet →",
2978
+ (d = s.cssRules[0]) == null ? void 0 : d.cssText
2979
+ );
2980
+ const h = getComputedStyle(this).getPropertyValue("--tw-border-style");
2981
+ console.info(
2982
+ "Partbot debug: --tw-border-style on :host →",
2983
+ h
2984
+ );
2985
+ } catch (s) {
2986
+ console.warn("Partbot debug: failed to inspect stylesheet", s);
2987
+ }
2988
+ requestAnimationFrame(() => {
2989
+ this.style.visibility = "visible";
2990
+ });
2991
+ }
2992
+ }), this.shadowRoot.appendChild(o.content.cloneNode(!0)), !document.head.querySelector("style[data-partbot-license]")) {
2993
+ const i = document.createElement("style");
2994
+ i.setAttribute("data-partbot-license", ""), i.appendChild(
2995
+ document.createTextNode(`
2996
+ @font-face {
2997
+ font-family: "License Plate";
2998
+ src: url(https://res.cloudinary.com/proex/raw/upload/v1730709140/partbot/PartbotPlate.woff2)
2999
+ format("woff2");
3000
+ font-weight: normal;
3001
+ font-style: normal;
3002
+ }`)
3003
+ ), document.head.appendChild(i);
3004
+ }
3005
+ }
3006
+ }
3007
+ customElements.define("plate-search", Be);
3008
+ typeof window < "u" && (window.React = window.React || St, window.ReactDOM = window.ReactDOM || da);
3009
+ const Ve = document.querySelector("plate-search");
3010
+ var Nn;
3011
+ if (Ve) {
3012
+ const e = ((Nn = Ve.shadowRoot) == null ? void 0 : Nn.querySelector(
3013
+ ".partbot-plate-search"
3014
+ )) || Ve.querySelector(".partbot-plate-search");
3015
+ if (!e)
3016
+ console.error("Partbot: failed to locate .partbot-plate-search container");
3017
+ else {
3018
+ const t = [
3019
+ ...Ve.shadowRoot ? Ve.shadowRoot.querySelectorAll("link") : Ve.querySelectorAll("link")
3020
+ ];
3021
+ if (t.length === 0)
3022
+ At(
3023
+ St.createElement(Ln, { domElement: e }),
3024
+ e
3025
+ );
3026
+ else {
3027
+ let r = 0;
3028
+ const n = () => {
3029
+ ++r >= t.length && At(
3030
+ St.createElement(Ln, { domElement: e }),
3031
+ e
3032
+ );
3033
+ };
3034
+ t.forEach((a) => {
3035
+ a.sheet || a.complete ? n() : (a.addEventListener("load", n, { once: !0 }), a.addEventListener("error", n, { once: !0 }));
3036
+ });
3037
+ }
3038
+ }
3039
+ } else
3040
+ console.warn("Missing <plate-search> element");
3041
+ export {
3042
+ Oo as PlateSearch
3043
+ };