@inploi/plugin-job-alerts 5.2.1 → 5.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,7 @@
1
1
  "use strict";
2
2
  var __defProp = Object.defineProperty;
3
3
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
- var __publicField = (obj, key, value) => {
5
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
6
- return value;
7
- };
4
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
8
5
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
9
6
  const sdk = require("@inploi/sdk");
10
7
  function invariant(condition, message) {
@@ -15,8 +12,7 @@ function invariant(condition, message) {
15
12
  }
16
13
  var n, l$4, u$4, t$2, i$3, r$3, o$3, e$2, f$4, c$3, s$4, a$3, h$4, p$4 = {}, v$3 = [], y$3 = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, d$4 = Array.isArray;
17
14
  function w$4(n2, l2) {
18
- for (var u2 in l2)
19
- n2[u2] = l2[u2];
15
+ for (var u2 in l2) n2[u2] = l2[u2];
20
16
  return n2;
21
17
  }
22
18
  function g$4(n2) {
@@ -24,11 +20,8 @@ function g$4(n2) {
24
20
  }
25
21
  function _$3(l2, u2, t2) {
26
22
  var i2, r2, o2, e2 = {};
27
- for (o2 in u2)
28
- "key" == o2 ? i2 = u2[o2] : "ref" == o2 ? r2 = u2[o2] : e2[o2] = u2[o2];
29
- if (arguments.length > 2 && (e2.children = arguments.length > 3 ? n.call(arguments, 2) : t2), "function" == typeof l2 && null != l2.defaultProps)
30
- for (o2 in l2.defaultProps)
31
- void 0 === e2[o2] && (e2[o2] = l2.defaultProps[o2]);
23
+ for (o2 in u2) "key" == o2 ? i2 = u2[o2] : "ref" == o2 ? r2 = u2[o2] : e2[o2] = u2[o2];
24
+ if (arguments.length > 2 && (e2.children = arguments.length > 3 ? n.call(arguments, 2) : t2), "function" == typeof l2 && null != l2.defaultProps) for (o2 in l2.defaultProps) void 0 === e2[o2] && (e2[o2] = l2.defaultProps[o2]);
32
25
  return m$2(l2, e2, i2, r2, null);
33
26
  }
34
27
  function m$2(n2, t2, i2, r2, o2) {
@@ -45,11 +38,8 @@ function x$3(n2, l2) {
45
38
  this.props = n2, this.context = l2;
46
39
  }
47
40
  function S(n2, l2) {
48
- if (null == l2)
49
- return n2.__ ? S(n2.__, n2.__i + 1) : null;
50
- for (var u2; l2 < n2.__k.length; l2++)
51
- if (null != (u2 = n2.__k[l2]) && null != u2.__e)
52
- return u2.__e;
41
+ if (null == l2) return n2.__ ? S(n2.__, n2.__i + 1) : null;
42
+ for (var u2; l2 < n2.__k.length; l2++) if (null != (u2 = n2.__k[l2]) && null != u2.__e) return u2.__e;
53
43
  return "function" == typeof n2.type ? S(n2) : null;
54
44
  }
55
45
  function C$3(n2) {
@@ -59,40 +49,32 @@ function C$3(n2) {
59
49
  }
60
50
  }
61
51
  function M$2(n2) {
62
- if (null != (n2 = n2.__) && null != n2.__c)
63
- return n2.__e = n2.__c.base = null, n2.__k.some(function(l2) {
64
- if (null != l2 && null != l2.__e)
65
- return n2.__e = n2.__c.base = l2.__e;
66
- }), M$2(n2);
52
+ if (null != (n2 = n2.__) && null != n2.__c) return n2.__e = n2.__c.base = null, n2.__k.some(function(l2) {
53
+ if (null != l2 && null != l2.__e) return n2.__e = n2.__c.base = l2.__e;
54
+ }), M$2(n2);
67
55
  }
68
56
  function $$2(n2) {
69
57
  (!n2.__d && (n2.__d = true) && i$3.push(n2) && !I$2.__r++ || r$3 != l$4.debounceRendering) && ((r$3 = l$4.debounceRendering) || o$3)(I$2);
70
58
  }
71
59
  function I$2() {
72
- for (var n2, l2 = 1; i$3.length; )
73
- i$3.length > l2 && i$3.sort(e$2), n2 = i$3.shift(), l2 = i$3.length, C$3(n2);
60
+ for (var n2, l2 = 1; i$3.length; ) i$3.length > l2 && i$3.sort(e$2), n2 = i$3.shift(), l2 = i$3.length, C$3(n2);
74
61
  I$2.__r = 0;
75
62
  }
76
63
  function P$3(n2, l2, u2, t2, i2, r2, o2, e2, f2, c2, s2) {
77
64
  var a2, h2, y2, d2, w2, g2, _2, m2 = t2 && t2.__k || v$3, b2 = l2.length;
78
- for (f2 = A$3(u2, l2, m2, f2, b2), a2 = 0; a2 < b2; a2++)
79
- null != (y2 = u2.__k[a2]) && (h2 = -1 != y2.__i && m2[y2.__i] || p$4, y2.__i = a2, g2 = z$3(n2, y2, h2, i2, r2, o2, e2, f2, c2, s2), d2 = y2.__e, y2.ref && h2.ref != y2.ref && (h2.ref && D$3(h2.ref, null, y2), s2.push(y2.ref, y2.__c || d2, y2)), null == w2 && null != d2 && (w2 = d2), (_2 = !!(4 & y2.__u)) || h2.__k === y2.__k ? f2 = H$2(y2, f2, n2, _2) : "function" == typeof y2.type && void 0 !== g2 ? f2 = g2 : d2 && (f2 = d2.nextSibling), y2.__u &= -7);
65
+ for (f2 = A$3(u2, l2, m2, f2, b2), a2 = 0; a2 < b2; a2++) null != (y2 = u2.__k[a2]) && (h2 = -1 != y2.__i && m2[y2.__i] || p$4, y2.__i = a2, g2 = z$3(n2, y2, h2, i2, r2, o2, e2, f2, c2, s2), d2 = y2.__e, y2.ref && h2.ref != y2.ref && (h2.ref && D$3(h2.ref, null, y2), s2.push(y2.ref, y2.__c || d2, y2)), null == w2 && null != d2 && (w2 = d2), (_2 = !!(4 & y2.__u)) || h2.__k === y2.__k ? f2 = H$2(y2, f2, n2, _2) : "function" == typeof y2.type && void 0 !== g2 ? f2 = g2 : d2 && (f2 = d2.nextSibling), y2.__u &= -7);
80
66
  return u2.__e = w2, f2;
81
67
  }
82
68
  function A$3(n2, l2, u2, t2, i2) {
83
69
  var r2, o2, e2, f2, c2, s2 = u2.length, a2 = s2, h2 = 0;
84
- for (n2.__k = new Array(i2), r2 = 0; r2 < i2; r2++)
85
- null != (o2 = l2[r2]) && "boolean" != typeof o2 && "function" != typeof o2 ? ("string" == typeof o2 || "number" == typeof o2 || "bigint" == typeof o2 || o2.constructor == String ? o2 = n2.__k[r2] = m$2(null, o2, null, null, null) : d$4(o2) ? o2 = n2.__k[r2] = m$2(k$3, { children: o2 }, null, null, null) : void 0 === o2.constructor && o2.__b > 0 ? o2 = n2.__k[r2] = m$2(o2.type, o2.props, o2.key, o2.ref ? o2.ref : null, o2.__v) : n2.__k[r2] = o2, f2 = r2 + h2, o2.__ = n2, o2.__b = n2.__b + 1, e2 = null, -1 != (c2 = o2.__i = T$2(o2, u2, f2, a2)) && (a2--, (e2 = u2[c2]) && (e2.__u |= 2)), null == e2 || null == e2.__v ? (-1 == c2 && (i2 > s2 ? h2-- : i2 < s2 && h2++), "function" != typeof o2.type && (o2.__u |= 4)) : c2 != f2 && (c2 == f2 - 1 ? h2-- : c2 == f2 + 1 ? h2++ : (c2 > f2 ? h2-- : h2++, o2.__u |= 4))) : n2.__k[r2] = null;
86
- if (a2)
87
- for (r2 = 0; r2 < s2; r2++)
88
- null != (e2 = u2[r2]) && 0 == (2 & e2.__u) && (e2.__e == t2 && (t2 = S(e2)), E$2(e2, e2));
70
+ for (n2.__k = new Array(i2), r2 = 0; r2 < i2; r2++) null != (o2 = l2[r2]) && "boolean" != typeof o2 && "function" != typeof o2 ? ("string" == typeof o2 || "number" == typeof o2 || "bigint" == typeof o2 || o2.constructor == String ? o2 = n2.__k[r2] = m$2(null, o2, null, null, null) : d$4(o2) ? o2 = n2.__k[r2] = m$2(k$3, { children: o2 }, null, null, null) : void 0 === o2.constructor && o2.__b > 0 ? o2 = n2.__k[r2] = m$2(o2.type, o2.props, o2.key, o2.ref ? o2.ref : null, o2.__v) : n2.__k[r2] = o2, f2 = r2 + h2, o2.__ = n2, o2.__b = n2.__b + 1, e2 = null, -1 != (c2 = o2.__i = T$2(o2, u2, f2, a2)) && (a2--, (e2 = u2[c2]) && (e2.__u |= 2)), null == e2 || null == e2.__v ? (-1 == c2 && (i2 > s2 ? h2-- : i2 < s2 && h2++), "function" != typeof o2.type && (o2.__u |= 4)) : c2 != f2 && (c2 == f2 - 1 ? h2-- : c2 == f2 + 1 ? h2++ : (c2 > f2 ? h2-- : h2++, o2.__u |= 4))) : n2.__k[r2] = null;
71
+ if (a2) for (r2 = 0; r2 < s2; r2++) null != (e2 = u2[r2]) && 0 == (2 & e2.__u) && (e2.__e == t2 && (t2 = S(e2)), E$2(e2, e2));
89
72
  return t2;
90
73
  }
91
74
  function H$2(n2, l2, u2, t2) {
92
75
  var i2, r2;
93
76
  if ("function" == typeof n2.type) {
94
- for (i2 = n2.__k, r2 = 0; i2 && r2 < i2.length; r2++)
95
- i2[r2] && (i2[r2].__ = n2, l2 = H$2(i2[r2], l2, u2, t2));
77
+ for (i2 = n2.__k, r2 = 0; i2 && r2 < i2.length; r2++) i2[r2] && (i2[r2].__ = n2, l2 = H$2(i2[r2], l2, u2, t2));
96
78
  return l2;
97
79
  }
98
80
  n2.__e != l2 && (t2 && (l2 && n2.type && !l2.parentNode && (l2 = S(n2)), u2.insertBefore(n2.__e, l2 || null)), l2 = n2.__e);
@@ -108,12 +90,9 @@ function L$1(n2, l2) {
108
90
  }
109
91
  function T$2(n2, l2, u2, t2) {
110
92
  var i2, r2, o2, e2 = n2.key, f2 = n2.type, c2 = l2[u2], s2 = null != c2 && 0 == (2 & c2.__u);
111
- if (null === c2 && null == e2 || s2 && e2 == c2.key && f2 == c2.type)
112
- return u2;
93
+ if (null === c2 && null == e2 || s2 && e2 == c2.key && f2 == c2.type) return u2;
113
94
  if (t2 > (s2 ? 1 : 0)) {
114
- for (i2 = u2 - 1, r2 = u2 + 1; i2 >= 0 || r2 < l2.length; )
115
- if (null != (c2 = l2[o2 = i2 >= 0 ? i2-- : r2++]) && 0 == (2 & c2.__u) && e2 == c2.key && f2 == c2.type)
116
- return o2;
95
+ for (i2 = u2 - 1, r2 = u2 + 1; i2 >= 0 || r2 < l2.length; ) if (null != (c2 = l2[o2 = i2 >= 0 ? i2-- : r2++]) && 0 == (2 & c2.__u) && e2 == c2.key && f2 == c2.type) return o2;
117
96
  }
118
97
  return -1;
119
98
  }
@@ -122,97 +101,73 @@ function j$2(n2, l2, u2) {
122
101
  }
123
102
  function F$3(n2, l2, u2, t2, i2) {
124
103
  var r2, o2;
125
- n:
126
- if ("style" == l2)
127
- if ("string" == typeof u2)
128
- n2.style.cssText = u2;
129
- else {
130
- if ("string" == typeof t2 && (n2.style.cssText = t2 = ""), t2)
131
- for (l2 in t2)
132
- u2 && l2 in u2 || j$2(n2.style, l2, "");
133
- if (u2)
134
- for (l2 in u2)
135
- t2 && u2[l2] == t2[l2] || j$2(n2.style, l2, u2[l2]);
136
- }
137
- else if ("o" == l2[0] && "n" == l2[1])
138
- r2 = l2 != (l2 = l2.replace(f$4, "$1")), o2 = l2.toLowerCase(), l2 = o2 in n2 || "onFocusOut" == l2 || "onFocusIn" == l2 ? o2.slice(2) : l2.slice(2), n2.l || (n2.l = {}), n2.l[l2 + r2] = u2, u2 ? t2 ? u2.u = t2.u : (u2.u = c$3, n2.addEventListener(l2, r2 ? a$3 : s$4, r2)) : n2.removeEventListener(l2, r2 ? a$3 : s$4, r2);
139
- else {
140
- if ("http://www.w3.org/2000/svg" == i2)
141
- l2 = l2.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
142
- else if ("width" != l2 && "height" != l2 && "href" != l2 && "list" != l2 && "form" != l2 && "tabIndex" != l2 && "download" != l2 && "rowSpan" != l2 && "colSpan" != l2 && "role" != l2 && "popover" != l2 && l2 in n2)
143
- try {
144
- n2[l2] = null == u2 ? "" : u2;
145
- break n;
146
- } catch (n3) {
147
- }
148
- "function" == typeof u2 || (null == u2 || false === u2 && "-" != l2[4] ? n2.removeAttribute(l2) : n2.setAttribute(l2, "popover" == l2 && 1 == u2 ? "" : u2));
104
+ n: if ("style" == l2) if ("string" == typeof u2) n2.style.cssText = u2;
105
+ else {
106
+ if ("string" == typeof t2 && (n2.style.cssText = t2 = ""), t2) for (l2 in t2) u2 && l2 in u2 || j$2(n2.style, l2, "");
107
+ if (u2) for (l2 in u2) t2 && u2[l2] == t2[l2] || j$2(n2.style, l2, u2[l2]);
108
+ }
109
+ else if ("o" == l2[0] && "n" == l2[1]) r2 = l2 != (l2 = l2.replace(f$4, "$1")), o2 = l2.toLowerCase(), l2 = o2 in n2 || "onFocusOut" == l2 || "onFocusIn" == l2 ? o2.slice(2) : l2.slice(2), n2.l || (n2.l = {}), n2.l[l2 + r2] = u2, u2 ? t2 ? u2.u = t2.u : (u2.u = c$3, n2.addEventListener(l2, r2 ? a$3 : s$4, r2)) : n2.removeEventListener(l2, r2 ? a$3 : s$4, r2);
110
+ else {
111
+ if ("http://www.w3.org/2000/svg" == i2) l2 = l2.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
112
+ else if ("width" != l2 && "height" != l2 && "href" != l2 && "list" != l2 && "form" != l2 && "tabIndex" != l2 && "download" != l2 && "rowSpan" != l2 && "colSpan" != l2 && "role" != l2 && "popover" != l2 && l2 in n2) try {
113
+ n2[l2] = null == u2 ? "" : u2;
114
+ break n;
115
+ } catch (n3) {
149
116
  }
117
+ "function" == typeof u2 || (null == u2 || false === u2 && "-" != l2[4] ? n2.removeAttribute(l2) : n2.setAttribute(l2, "popover" == l2 && 1 == u2 ? "" : u2));
118
+ }
150
119
  }
151
120
  function O$2(n2) {
152
121
  return function(u2) {
153
122
  if (this.l) {
154
123
  var t2 = this.l[u2.type + n2];
155
- if (null == u2.t)
156
- u2.t = c$3++;
157
- else if (u2.t < t2.u)
158
- return;
124
+ if (null == u2.t) u2.t = c$3++;
125
+ else if (u2.t < t2.u) return;
159
126
  return t2(l$4.event ? l$4.event(u2) : u2);
160
127
  }
161
128
  };
162
129
  }
163
130
  function z$3(n2, u2, t2, i2, r2, o2, e2, f2, c2, s2) {
164
131
  var a2, h2, p2, y2, _2, m2, b2, S2, C2, M2, $2, I2, A2, H2, L2, T2 = u2.type;
165
- if (void 0 !== u2.constructor)
166
- return null;
132
+ if (void 0 !== u2.constructor) return null;
167
133
  128 & t2.__u && (c2 = !!(32 & t2.__u), o2 = [f2 = u2.__e = t2.__e]), (a2 = l$4.__b) && a2(u2);
168
- n:
169
- if ("function" == typeof T2)
170
- try {
171
- if (S2 = u2.props, C2 = "prototype" in T2 && T2.prototype.render, M2 = (a2 = T2.contextType) && i2[a2.__c], $2 = a2 ? M2 ? M2.props.value : a2.__ : i2, t2.__c ? b2 = (h2 = u2.__c = t2.__c).__ = h2.__E : (C2 ? u2.__c = h2 = new T2(S2, $2) : (u2.__c = h2 = new x$3(S2, $2), h2.constructor = T2, h2.render = G$2), M2 && M2.sub(h2), h2.state || (h2.state = {}), h2.__n = i2, p2 = h2.__d = true, h2.__h = [], h2._sb = []), C2 && null == h2.__s && (h2.__s = h2.state), C2 && null != T2.getDerivedStateFromProps && (h2.__s == h2.state && (h2.__s = w$4({}, h2.__s)), w$4(h2.__s, T2.getDerivedStateFromProps(S2, h2.__s))), y2 = h2.props, _2 = h2.state, h2.__v = u2, p2)
172
- C2 && null == T2.getDerivedStateFromProps && null != h2.componentWillMount && h2.componentWillMount(), C2 && null != h2.componentDidMount && h2.__h.push(h2.componentDidMount);
173
- else {
174
- if (C2 && null == T2.getDerivedStateFromProps && S2 !== y2 && null != h2.componentWillReceiveProps && h2.componentWillReceiveProps(S2, $2), u2.__v == t2.__v || !h2.__e && null != h2.shouldComponentUpdate && false === h2.shouldComponentUpdate(S2, h2.__s, $2)) {
175
- u2.__v != t2.__v && (h2.props = S2, h2.state = h2.__s, h2.__d = false), u2.__e = t2.__e, u2.__k = t2.__k, u2.__k.some(function(n3) {
176
- n3 && (n3.__ = u2);
177
- }), v$3.push.apply(h2.__h, h2._sb), h2._sb = [], h2.__h.length && e2.push(h2);
178
- break n;
179
- }
180
- null != h2.componentWillUpdate && h2.componentWillUpdate(S2, h2.__s, $2), C2 && null != h2.componentDidUpdate && h2.__h.push(function() {
181
- h2.componentDidUpdate(y2, _2, m2);
182
- });
183
- }
184
- if (h2.context = $2, h2.props = S2, h2.__P = n2, h2.__e = false, I2 = l$4.__r, A2 = 0, C2)
185
- h2.state = h2.__s, h2.__d = false, I2 && I2(u2), a2 = h2.render(h2.props, h2.state, h2.context), v$3.push.apply(h2.__h, h2._sb), h2._sb = [];
186
- else
187
- do {
188
- h2.__d = false, I2 && I2(u2), a2 = h2.render(h2.props, h2.state, h2.context), h2.state = h2.__s;
189
- } while (h2.__d && ++A2 < 25);
190
- h2.state = h2.__s, null != h2.getChildContext && (i2 = w$4(w$4({}, i2), h2.getChildContext())), C2 && !p2 && null != h2.getSnapshotBeforeUpdate && (m2 = h2.getSnapshotBeforeUpdate(y2, _2)), H2 = null != a2 && a2.type === k$3 && null == a2.key ? q$3(a2.props.children) : a2, f2 = P$3(n2, d$4(H2) ? H2 : [H2], u2, t2, i2, r2, o2, e2, f2, c2, s2), h2.base = u2.__e, u2.__u &= -161, h2.__h.length && e2.push(h2), b2 && (h2.__E = h2.__ = null);
191
- } catch (n3) {
192
- if (u2.__v = null, c2 || null != o2)
193
- if (n3.then) {
194
- for (u2.__u |= c2 ? 160 : 128; f2 && 8 == f2.nodeType && f2.nextSibling; )
195
- f2 = f2.nextSibling;
196
- o2[o2.indexOf(f2)] = null, u2.__e = f2;
197
- } else {
198
- for (L2 = o2.length; L2--; )
199
- g$4(o2[L2]);
200
- N$2(u2);
201
- }
202
- else
203
- u2.__e = t2.__e, u2.__k = t2.__k, n3.then || N$2(u2);
204
- l$4.__e(n3, u2, t2);
205
- }
206
- else
207
- null == o2 && u2.__v == t2.__v ? (u2.__k = t2.__k, u2.__e = t2.__e) : f2 = u2.__e = B$3(t2.__e, u2, t2, i2, r2, o2, e2, c2, s2);
134
+ n: if ("function" == typeof T2) try {
135
+ if (S2 = u2.props, C2 = "prototype" in T2 && T2.prototype.render, M2 = (a2 = T2.contextType) && i2[a2.__c], $2 = a2 ? M2 ? M2.props.value : a2.__ : i2, t2.__c ? b2 = (h2 = u2.__c = t2.__c).__ = h2.__E : (C2 ? u2.__c = h2 = new T2(S2, $2) : (u2.__c = h2 = new x$3(S2, $2), h2.constructor = T2, h2.render = G$2), M2 && M2.sub(h2), h2.state || (h2.state = {}), h2.__n = i2, p2 = h2.__d = true, h2.__h = [], h2._sb = []), C2 && null == h2.__s && (h2.__s = h2.state), C2 && null != T2.getDerivedStateFromProps && (h2.__s == h2.state && (h2.__s = w$4({}, h2.__s)), w$4(h2.__s, T2.getDerivedStateFromProps(S2, h2.__s))), y2 = h2.props, _2 = h2.state, h2.__v = u2, p2) C2 && null == T2.getDerivedStateFromProps && null != h2.componentWillMount && h2.componentWillMount(), C2 && null != h2.componentDidMount && h2.__h.push(h2.componentDidMount);
136
+ else {
137
+ if (C2 && null == T2.getDerivedStateFromProps && S2 !== y2 && null != h2.componentWillReceiveProps && h2.componentWillReceiveProps(S2, $2), u2.__v == t2.__v || !h2.__e && null != h2.shouldComponentUpdate && false === h2.shouldComponentUpdate(S2, h2.__s, $2)) {
138
+ u2.__v != t2.__v && (h2.props = S2, h2.state = h2.__s, h2.__d = false), u2.__e = t2.__e, u2.__k = t2.__k, u2.__k.some(function(n3) {
139
+ n3 && (n3.__ = u2);
140
+ }), v$3.push.apply(h2.__h, h2._sb), h2._sb = [], h2.__h.length && e2.push(h2);
141
+ break n;
142
+ }
143
+ null != h2.componentWillUpdate && h2.componentWillUpdate(S2, h2.__s, $2), C2 && null != h2.componentDidUpdate && h2.__h.push(function() {
144
+ h2.componentDidUpdate(y2, _2, m2);
145
+ });
146
+ }
147
+ if (h2.context = $2, h2.props = S2, h2.__P = n2, h2.__e = false, I2 = l$4.__r, A2 = 0, C2) h2.state = h2.__s, h2.__d = false, I2 && I2(u2), a2 = h2.render(h2.props, h2.state, h2.context), v$3.push.apply(h2.__h, h2._sb), h2._sb = [];
148
+ else do {
149
+ h2.__d = false, I2 && I2(u2), a2 = h2.render(h2.props, h2.state, h2.context), h2.state = h2.__s;
150
+ } while (h2.__d && ++A2 < 25);
151
+ h2.state = h2.__s, null != h2.getChildContext && (i2 = w$4(w$4({}, i2), h2.getChildContext())), C2 && !p2 && null != h2.getSnapshotBeforeUpdate && (m2 = h2.getSnapshotBeforeUpdate(y2, _2)), H2 = null != a2 && a2.type === k$3 && null == a2.key ? q$3(a2.props.children) : a2, f2 = P$3(n2, d$4(H2) ? H2 : [H2], u2, t2, i2, r2, o2, e2, f2, c2, s2), h2.base = u2.__e, u2.__u &= -161, h2.__h.length && e2.push(h2), b2 && (h2.__E = h2.__ = null);
152
+ } catch (n3) {
153
+ if (u2.__v = null, c2 || null != o2) if (n3.then) {
154
+ for (u2.__u |= c2 ? 160 : 128; f2 && 8 == f2.nodeType && f2.nextSibling; ) f2 = f2.nextSibling;
155
+ o2[o2.indexOf(f2)] = null, u2.__e = f2;
156
+ } else {
157
+ for (L2 = o2.length; L2--; ) g$4(o2[L2]);
158
+ N$2(u2);
159
+ }
160
+ else u2.__e = t2.__e, u2.__k = t2.__k, n3.then || N$2(u2);
161
+ l$4.__e(n3, u2, t2);
162
+ }
163
+ else null == o2 && u2.__v == t2.__v ? (u2.__k = t2.__k, u2.__e = t2.__e) : f2 = u2.__e = B$3(t2.__e, u2, t2, i2, r2, o2, e2, c2, s2);
208
164
  return (a2 = l$4.diffed) && a2(u2), 128 & u2.__u ? void 0 : f2;
209
165
  }
210
166
  function N$2(n2) {
211
167
  n2 && (n2.__c && (n2.__c.__e = true), n2.__k && n2.__k.some(N$2));
212
168
  }
213
169
  function V$1(n2, u2, t2) {
214
- for (var i2 = 0; i2 < t2.length; i2++)
215
- D$3(t2[i2], t2[++i2], t2[++i2]);
170
+ for (var i2 = 0; i2 < t2.length; i2++) D$3(t2[i2], t2[++i2], t2[++i2]);
216
171
  l$4.__c && l$4.__c(u2, n2), n2.some(function(u3) {
217
172
  try {
218
173
  n2 = u3.__h, u3.__h = [], n2.some(function(n3) {
@@ -229,32 +184,22 @@ function q$3(n2) {
229
184
  function B$3(u2, t2, i2, r2, o2, e2, f2, c2, s2) {
230
185
  var a2, h2, v2, y2, w2, _2, m2, b2 = i2.props || p$4, k2 = t2.props, x2 = t2.type;
231
186
  if ("svg" == x2 ? o2 = "http://www.w3.org/2000/svg" : "math" == x2 ? o2 = "http://www.w3.org/1998/Math/MathML" : o2 || (o2 = "http://www.w3.org/1999/xhtml"), null != e2) {
232
- for (a2 = 0; a2 < e2.length; a2++)
233
- if ((w2 = e2[a2]) && "setAttribute" in w2 == !!x2 && (x2 ? w2.localName == x2 : 3 == w2.nodeType)) {
234
- u2 = w2, e2[a2] = null;
235
- break;
236
- }
187
+ for (a2 = 0; a2 < e2.length; a2++) if ((w2 = e2[a2]) && "setAttribute" in w2 == !!x2 && (x2 ? w2.localName == x2 : 3 == w2.nodeType)) {
188
+ u2 = w2, e2[a2] = null;
189
+ break;
190
+ }
237
191
  }
238
192
  if (null == u2) {
239
- if (null == x2)
240
- return document.createTextNode(k2);
193
+ if (null == x2) return document.createTextNode(k2);
241
194
  u2 = document.createElementNS(o2, x2, k2.is && k2), c2 && (l$4.__m && l$4.__m(t2, e2), c2 = false), e2 = null;
242
195
  }
243
- if (null == x2)
244
- b2 === k2 || c2 && u2.data == k2 || (u2.data = k2);
196
+ if (null == x2) b2 === k2 || c2 && u2.data == k2 || (u2.data = k2);
245
197
  else {
246
- if (e2 = e2 && n.call(u2.childNodes), !c2 && null != e2)
247
- for (b2 = {}, a2 = 0; a2 < u2.attributes.length; a2++)
248
- b2[(w2 = u2.attributes[a2]).name] = w2.value;
249
- for (a2 in b2)
250
- w2 = b2[a2], "dangerouslySetInnerHTML" == a2 ? v2 = w2 : "children" == a2 || a2 in k2 || "value" == a2 && "defaultValue" in k2 || "checked" == a2 && "defaultChecked" in k2 || F$3(u2, a2, null, w2, o2);
251
- for (a2 in k2)
252
- w2 = k2[a2], "children" == a2 ? y2 = w2 : "dangerouslySetInnerHTML" == a2 ? h2 = w2 : "value" == a2 ? _2 = w2 : "checked" == a2 ? m2 = w2 : c2 && "function" != typeof w2 || b2[a2] === w2 || F$3(u2, a2, w2, b2[a2], o2);
253
- if (h2)
254
- c2 || v2 && (h2.__html == v2.__html || h2.__html == u2.innerHTML) || (u2.innerHTML = h2.__html), t2.__k = [];
255
- else if (v2 && (u2.innerHTML = ""), P$3("template" == t2.type ? u2.content : u2, d$4(y2) ? y2 : [y2], t2, i2, r2, "foreignObject" == x2 ? "http://www.w3.org/1999/xhtml" : o2, e2, f2, e2 ? e2[0] : i2.__k && S(i2, 0), c2, s2), null != e2)
256
- for (a2 = e2.length; a2--; )
257
- g$4(e2[a2]);
198
+ if (e2 = e2 && n.call(u2.childNodes), !c2 && null != e2) for (b2 = {}, a2 = 0; a2 < u2.attributes.length; a2++) b2[(w2 = u2.attributes[a2]).name] = w2.value;
199
+ for (a2 in b2) w2 = b2[a2], "dangerouslySetInnerHTML" == a2 ? v2 = w2 : "children" == a2 || a2 in k2 || "value" == a2 && "defaultValue" in k2 || "checked" == a2 && "defaultChecked" in k2 || F$3(u2, a2, null, w2, o2);
200
+ for (a2 in k2) w2 = k2[a2], "children" == a2 ? y2 = w2 : "dangerouslySetInnerHTML" == a2 ? h2 = w2 : "value" == a2 ? _2 = w2 : "checked" == a2 ? m2 = w2 : c2 && "function" != typeof w2 || b2[a2] === w2 || F$3(u2, a2, w2, b2[a2], o2);
201
+ if (h2) c2 || v2 && (h2.__html == v2.__html || h2.__html == u2.innerHTML) || (u2.innerHTML = h2.__html), t2.__k = [];
202
+ else if (v2 && (u2.innerHTML = ""), P$3("template" == t2.type ? u2.content : u2, d$4(y2) ? y2 : [y2], t2, i2, r2, "foreignObject" == x2 ? "http://www.w3.org/1999/xhtml" : o2, e2, f2, e2 ? e2[0] : i2.__k && S(i2, 0), c2, s2), null != e2) for (a2 = e2.length; a2--; ) g$4(e2[a2]);
258
203
  c2 || (a2 = "value", "progress" == x2 && null == _2 ? u2.removeAttribute("value") : null != _2 && (_2 !== u2[a2] || "progress" == x2 && !_2 || "option" == x2 && _2 != b2[a2]) && F$3(u2, a2, _2, b2[a2], o2), a2 = "checked", null != m2 && m2 != u2[a2] && F$3(u2, a2, m2, b2[a2], o2));
259
204
  }
260
205
  return u2;
@@ -264,8 +209,7 @@ function D$3(n2, u2, t2) {
264
209
  if ("function" == typeof n2) {
265
210
  var i2 = "function" == typeof n2.__u;
266
211
  i2 && n2.__u(), i2 && null == u2 || (n2.__u = n2(u2));
267
- } else
268
- n2.current = u2;
212
+ } else n2.current = u2;
269
213
  } catch (n3) {
270
214
  l$4.__e(n3, t2);
271
215
  }
@@ -273,17 +217,14 @@ function D$3(n2, u2, t2) {
273
217
  function E$2(n2, u2, t2) {
274
218
  var i2, r2;
275
219
  if (l$4.unmount && l$4.unmount(n2), (i2 = n2.ref) && (i2.current && i2.current != n2.__e || D$3(i2, null, u2)), null != (i2 = n2.__c)) {
276
- if (i2.componentWillUnmount)
277
- try {
278
- i2.componentWillUnmount();
279
- } catch (n3) {
280
- l$4.__e(n3, u2);
281
- }
220
+ if (i2.componentWillUnmount) try {
221
+ i2.componentWillUnmount();
222
+ } catch (n3) {
223
+ l$4.__e(n3, u2);
224
+ }
282
225
  i2.base = i2.__P = null;
283
226
  }
284
- if (i2 = n2.__k)
285
- for (r2 = 0; r2 < i2.length; r2++)
286
- i2[r2] && E$2(i2[r2], u2, t2 || "function" != typeof n2.type);
227
+ if (i2 = n2.__k) for (r2 = 0; r2 < i2.length; r2++) i2[r2] && E$2(i2[r2], u2, t2 || "function" != typeof n2.type);
287
228
  t2 || g$4(n2.__e), n2.__c = n2.__ = n2.__e = void 0;
288
229
  }
289
230
  function G$2(n2, l2, u2) {
@@ -298,8 +239,7 @@ function K$1(n2, l2) {
298
239
  }
299
240
  function Q$1(l2, u2, t2) {
300
241
  var i2, r2, o2, e2, f2 = w$4({}, l2.props);
301
- for (o2 in l2.type && l2.type.defaultProps && (e2 = l2.type.defaultProps), u2)
302
- "key" == o2 ? i2 = u2[o2] : "ref" == o2 ? r2 = u2[o2] : f2[o2] = void 0 === u2[o2] && null != e2 ? e2[o2] : u2[o2];
242
+ for (o2 in l2.type && l2.type.defaultProps && (e2 = l2.type.defaultProps), u2) "key" == o2 ? i2 = u2[o2] : "ref" == o2 ? r2 = u2[o2] : f2[o2] = void 0 === u2[o2] && null != e2 ? e2[o2] : u2[o2];
303
243
  return arguments.length > 2 && (f2.children = arguments.length > 3 ? n.call(arguments, 2) : t2), m$2(l2.type, f2, i2 || l2.key, r2 || l2.ref, null);
304
244
  }
305
245
  function R$2(n2) {
@@ -326,14 +266,11 @@ function R$2(n2) {
326
266
  }).contextType = l2, l2;
327
267
  }
328
268
  n = v$3.slice, l$4 = { __e: function(n2, l2, u2, t2) {
329
- for (var i2, r2, o2; l2 = l2.__; )
330
- if ((i2 = l2.__c) && !i2.__)
331
- try {
332
- if ((r2 = i2.constructor) && null != r2.getDerivedStateFromError && (i2.setState(r2.getDerivedStateFromError(n2)), o2 = i2.__d), null != i2.componentDidCatch && (i2.componentDidCatch(n2, t2 || {}), o2 = i2.__d), o2)
333
- return i2.__E = i2;
334
- } catch (l3) {
335
- n2 = l3;
336
- }
269
+ for (var i2, r2, o2; l2 = l2.__; ) if ((i2 = l2.__c) && !i2.__) try {
270
+ if ((r2 = i2.constructor) && null != r2.getDerivedStateFromError && (i2.setState(r2.getDerivedStateFromError(n2)), o2 = i2.__d), null != i2.componentDidCatch && (i2.componentDidCatch(n2, t2 || {}), o2 = i2.__d), o2) return i2.__E = i2;
271
+ } catch (l3) {
272
+ n2 = l3;
273
+ }
337
274
  throw n2;
338
275
  } }, u$4 = 0, t$2 = function(n2) {
339
276
  return null != n2 && void 0 === n2.constructor;
@@ -357,8 +294,7 @@ function y$2(e2) {
357
294
  }
358
295
  var _$2 = /["&<]/;
359
296
  function g$3(e2) {
360
- if (0 === e2.length || false === _$2.test(e2))
361
- return e2;
297
+ if (0 === e2.length || false === _$2.test(e2)) return e2;
362
298
  for (var t2 = 0, n2 = 0, r2 = "", o2 = ""; n2 < e2.length; n2++) {
363
299
  switch (e2.charCodeAt(n2)) {
364
300
  case 34:
@@ -405,8 +341,7 @@ function B$2(a2, u2, s2) {
405
341
  var p2 = O$1(a2, u2 || F$2, false, void 0, f2, false, s2);
406
342
  return W$1(p2) ? p2.join(H$1) : p2;
407
343
  } catch (e2) {
408
- if (e2.then)
409
- throw new Error('Use "renderToStringAsync" for suspenseful rendering.');
344
+ if (e2.then) throw new Error('Use "renderToStringAsync" for suspenseful rendering.');
410
345
  throw e2;
411
346
  } finally {
412
347
  l$4[o$2] && l$4[o$2](a2, M$1), l$4[i$2] = l2, M$1.length = 0;
@@ -417,11 +352,9 @@ function I$1(e2, t2) {
417
352
  return e2[a$2] ? (o2 = false, (n2 = e2[a$2]).state = n2[s$3]) : n2 = new r2(e2.props, t2), e2[a$2] = n2, n2.__v = e2, n2.props = e2.props, n2.context = t2, v$2(n2), null == n2.state && (n2.state = F$2), null == n2[s$3] && (n2[s$3] = n2.state), r2.getDerivedStateFromProps ? n2.state = z$2({}, n2.state, r2.getDerivedStateFromProps(n2.props, n2.state)) : o2 && n2.componentWillMount ? (n2.componentWillMount(), n2.state = n2[s$3] !== n2.state ? n2[s$3] : n2.state) : !o2 && n2.componentWillUpdate && n2.componentWillUpdate(), $$1 && $$1(e2), n2.render(n2.props, n2.state, t2);
418
353
  }
419
354
  function O$1(t2, r2, o2, i2, u2, _2, b2) {
420
- if (null == t2 || true === t2 || false === t2 || t2 === H$1)
421
- return H$1;
355
+ if (null == t2 || true === t2 || false === t2 || t2 === H$1) return H$1;
422
356
  var x2 = typeof t2;
423
- if ("object" != x2)
424
- return "function" == x2 ? H$1 : "string" == x2 ? g$3(t2) : t2 + H$1;
357
+ if ("object" != x2) return "function" == x2 ? H$1 : "string" == x2 ? g$3(t2) : t2 + H$1;
425
358
  if (W$1(t2)) {
426
359
  var k2, C2 = H$1;
427
360
  u2[c$2] = t2;
@@ -434,25 +367,21 @@ function O$1(t2, r2, o2, i2, u2, _2, b2) {
434
367
  }
435
368
  return k2 ? (C2 && k2.push(C2), k2) : C2;
436
369
  }
437
- if (void 0 !== t2.constructor)
438
- return H$1;
370
+ if (void 0 !== t2.constructor) return H$1;
439
371
  t2.__ = u2, D$2 && D$2(t2);
440
372
  var Z2 = t2.type, M2 = t2.props;
441
373
  if ("function" == typeof Z2) {
442
374
  var B2, V2, K2, J2 = r2;
443
375
  if (Z2 === k$3) {
444
376
  if ("tpl" in M2) {
445
- for (var Q2 = H$1, X2 = 0; X2 < M2.tpl.length; X2++)
446
- if (Q2 += M2.tpl[X2], M2.exprs && X2 < M2.exprs.length) {
447
- var Y2 = M2.exprs[X2];
448
- if (null == Y2)
449
- continue;
450
- "object" != typeof Y2 || void 0 !== Y2.constructor && !W$1(Y2) ? Q2 += Y2 : Q2 += O$1(Y2, r2, o2, i2, t2, _2, b2);
451
- }
377
+ for (var Q2 = H$1, X2 = 0; X2 < M2.tpl.length; X2++) if (Q2 += M2.tpl[X2], M2.exprs && X2 < M2.exprs.length) {
378
+ var Y2 = M2.exprs[X2];
379
+ if (null == Y2) continue;
380
+ "object" != typeof Y2 || void 0 !== Y2.constructor && !W$1(Y2) ? Q2 += Y2 : Q2 += O$1(Y2, r2, o2, i2, t2, _2, b2);
381
+ }
452
382
  return Q2;
453
383
  }
454
- if ("UNSTABLE_comment" in M2)
455
- return "<!--" + g$3(M2.UNSTABLE_comment) + "-->";
384
+ if ("UNSTABLE_comment" in M2) return "<!--" + g$3(M2.UNSTABLE_comment) + "-->";
456
385
  V2 = M2.children;
457
386
  } else {
458
387
  if (null != (B2 = Z2.contextType)) {
@@ -460,9 +389,8 @@ function O$1(t2, r2, o2, i2, u2, _2, b2) {
460
389
  J2 = ee ? ee.props.value : B2.__;
461
390
  }
462
391
  var te = Z2.prototype && "function" == typeof Z2.prototype.render;
463
- if (te)
464
- V2 = /**#__NOINLINE__**/
465
- I$1(t2, J2), K2 = t2[a$2];
392
+ if (te) V2 = /**#__NOINLINE__**/
393
+ I$1(t2, J2), K2 = t2[a$2];
466
394
  else {
467
395
  t2[a$2] = K2 = /**#__NOINLINE__**/
468
396
  A$2(t2, J2);
@@ -471,7 +399,7 @@ function O$1(t2, r2, o2, i2, u2, _2, b2) {
471
399
  try {
472
400
  V2 = Z2.call(K2, M2, J2);
473
401
  } catch (e2) {
474
- throw _2 && e2 && "function" == typeof e2.then && (t2._suspended = true), e2;
402
+ throw e2;
475
403
  }
476
404
  }
477
405
  v$2(K2);
@@ -494,8 +422,8 @@ function O$1(t2, r2, o2, i2, u2, _2, b2) {
494
422
  return N$1 + e2 + q$2;
495
423
  }) : re;
496
424
  } catch (n2) {
497
- if (!_2 && b2 && b2.onError) {
498
- var oe = function e2(n3) {
425
+ if (b2 && b2.onError) {
426
+ var oe = (function e2(n3) {
499
427
  return b2.onError(n3, t2, function(t3, n4) {
500
428
  try {
501
429
  return O$1(t3, r2, o2, i2, n4, _2, b2);
@@ -503,26 +431,12 @@ function O$1(t2, r2, o2, i2, u2, _2, b2) {
503
431
  return e2(t4);
504
432
  }
505
433
  });
506
- }(n2);
507
- if (void 0 !== oe)
508
- return oe;
434
+ })(n2);
435
+ if (void 0 !== oe) return oe;
509
436
  var ie = l$4.__e;
510
437
  return ie && ie(n2, t2), H$1;
511
438
  }
512
- if (!_2)
513
- throw n2;
514
- if (!n2 || "function" != typeof n2.then)
515
- throw n2;
516
- return n2.then(function e2() {
517
- try {
518
- var n3 = O$1(V2, r2, o2, i2, t2, _2, b2);
519
- return t2._suspended ? N$1 + n3 + q$2 : n3;
520
- } catch (t3) {
521
- if (!t3 || "function" != typeof t3.then)
522
- throw t3;
523
- return t3.then(e2);
524
- }
525
- });
439
+ throw n2;
526
440
  }
527
441
  }
528
442
  var ae, ce = "<" + Z2, ue = H$1;
@@ -539,13 +453,11 @@ function O$1(t2, r2, o2, i2, u2, _2, b2) {
539
453
  case "__source":
540
454
  continue;
541
455
  case "htmlFor":
542
- if ("for" in M2)
543
- continue;
456
+ if ("for" in M2) continue;
544
457
  se = "for";
545
458
  break;
546
459
  case "className":
547
- if ("class" in M2)
548
- continue;
460
+ if ("class" in M2) continue;
549
461
  se = "class";
550
462
  break;
551
463
  case "defaultChecked":
@@ -580,21 +492,17 @@ function O$1(t2, r2, o2, i2, u2, _2, b2) {
580
492
  se = "http-equiv";
581
493
  break;
582
494
  default:
583
- if (f$3.test(se))
584
- se = se.replace(f$3, "$1:$2").toLowerCase();
495
+ if (f$3.test(se)) se = se.replace(f$3, "$1:$2").toLowerCase();
585
496
  else {
586
- if (l$3.test(se))
587
- continue;
497
+ if (l$3.test(se)) continue;
588
498
  "-" !== se[4] && !d$3.has(se) || null == le ? o2 ? h$3.test(se) && (se = "panose1" === se ? "panose-1" : se.replace(/([A-Z])/g, "-$1").toLowerCase()) : p$3.test(se) && (se = se.toLowerCase()) : le += H$1;
589
499
  }
590
500
  }
591
501
  null != le && false !== le && (ce = true === le || le === H$1 ? ce + " " + se : ce + " " + se + '="' + ("string" == typeof le ? g$3(le) : le + H$1) + '"');
592
502
  }
593
503
  }
594
- if (l$3.test(Z2))
595
- throw new Error(Z2 + " is not a valid HTML tag name in " + ce + ">");
596
- if (ue || ("string" == typeof ae ? ue = g$3(ae) : null != ae && false !== ae && true !== ae && (ue = O$1(ae, r2, "svg" === Z2 || "foreignObject" !== Z2 && o2, i2, t2, _2, b2))), P$2 && P$2(t2), U$1 && U$1(t2), !ue && R$1.has(Z2))
597
- return ce + "/>";
504
+ if (l$3.test(Z2)) throw new Error(Z2 + " is not a valid HTML tag name in " + ce + ">");
505
+ if (ue || ("string" == typeof ae ? ue = g$3(ae) : null != ae && false !== ae && true !== ae && (ue = O$1(ae, r2, "svg" === Z2 || "foreignObject" !== Z2 && o2, i2, t2, _2, b2))), P$2 && P$2(t2), U$1 && U$1(t2), !ue && R$1.has(Z2)) return ce + "/>";
598
506
  var fe = "</" + Z2 + ">", pe = ce + ">";
599
507
  return W$1(ue) ? [pe].concat(ue, [fe]) : "string" != typeof ue ? [pe, ue, fe] : pe + ue + fe;
600
508
  }
@@ -606,13 +514,9 @@ var f$2 = 0;
606
514
  function u$2(e2, t2, n2, o2, i2, u2) {
607
515
  t2 || (t2 = {});
608
516
  var a2, c2, p2 = t2;
609
- if ("ref" in p2)
610
- for (c2 in p2 = {}, t2)
611
- "ref" == c2 ? a2 = t2[c2] : p2[c2] = t2[c2];
517
+ if ("ref" in p2) for (c2 in p2 = {}, t2) "ref" == c2 ? a2 = t2[c2] : p2[c2] = t2[c2];
612
518
  var l2 = { type: e2, props: p2, key: n2, ref: a2, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --f$2, __i: -1, __u: 0, __source: i2, __self: u2 };
613
- if ("function" == typeof e2 && (a2 = e2.defaultProps))
614
- for (c2 in a2)
615
- void 0 === p2[c2] && (p2[c2] = a2[c2]);
519
+ if ("function" == typeof e2 && (a2 = e2.defaultProps)) for (c2 in a2) void 0 === p2[c2] && (p2[c2] = a2[c2]);
616
520
  return l$4.vnode && l$4.vnode(l2), l2;
617
521
  }
618
522
  const icons = {
@@ -652,15 +556,13 @@ function h$2(n2, u2, i2) {
652
556
  t2 !== r2 && (o2.__N = [r2, o2.__[1]], o2.__c.setState({}));
653
557
  }], o2.__c = r$1, !r$1.__f)) {
654
558
  var f2 = function(n3, t2, r2) {
655
- if (!o2.__c.__H)
656
- return true;
559
+ if (!o2.__c.__H) return true;
657
560
  var u3 = o2.__c.__H.__.filter(function(n4) {
658
561
  return n4.__c;
659
562
  });
660
563
  if (u3.every(function(n4) {
661
564
  return !n4.__N;
662
- }))
663
- return !c2 || c2.call(this, n3, t2, r2);
565
+ })) return !c2 || c2.call(this, n3, t2, r2);
664
566
  var i3 = o2.__c.props !== n3;
665
567
  return u3.some(function(n4) {
666
568
  if (n4.__N) {
@@ -702,10 +604,9 @@ function F$1(n2, t2, r2) {
702
604
  n2(null), r3 && "function" == typeof r3 && r3();
703
605
  };
704
606
  }
705
- if (n2)
706
- return n2.current = t2(), function() {
707
- return n2.current = null;
708
- };
607
+ if (n2) return n2.current = t2(), function() {
608
+ return n2.current = null;
609
+ };
709
610
  }, null == r2 ? r2 : r2.concat(n2));
710
611
  }
711
612
  function T$1(n2, r2) {
@@ -735,8 +636,7 @@ function b$1(n2) {
735
636
  function g$2() {
736
637
  var n2 = p$2(t$1++, 11);
737
638
  if (!n2.__) {
738
- for (var u2 = r$1.__v; null !== u2 && !u2.__m && null !== u2.__; )
739
- u2 = u2.__;
639
+ for (var u2 = r$1.__v; null !== u2 && !u2.__m && null !== u2.__; ) u2 = u2.__;
740
640
  var i2 = u2.__m || (u2.__m = [0, 0]);
741
641
  n2.__ = "P" + i2[0] + "-" + i2[1]++;
742
642
  }
@@ -745,12 +645,11 @@ function g$2() {
745
645
  function j$1() {
746
646
  for (var n2; n2 = f$1.shift(); ) {
747
647
  var t2 = n2.__H;
748
- if (n2.__P && t2)
749
- try {
750
- t2.__h.some(z$1), t2.__h.some(B$1), t2.__h = [];
751
- } catch (r2) {
752
- t2.__h = [], c$1.__e(r2, n2.__v);
753
- }
648
+ if (n2.__P && t2) try {
649
+ t2.__h.some(z$1), t2.__h.some(B$1), t2.__h = [];
650
+ } catch (r2) {
651
+ t2.__h = [], c$1.__e(r2, n2.__v);
652
+ }
754
653
  }
755
654
  }
756
655
  c$1.__b = function(n2) {
@@ -816,17 +715,12 @@ function D$1(n2, t2) {
816
715
  return "function" == typeof t2 ? t2(n2) : t2;
817
716
  }
818
717
  function g$1(n2, t2) {
819
- for (var e2 in t2)
820
- n2[e2] = t2[e2];
718
+ for (var e2 in t2) n2[e2] = t2[e2];
821
719
  return n2;
822
720
  }
823
721
  function E$1(n2, t2) {
824
- for (var e2 in n2)
825
- if ("__source" !== e2 && !(e2 in t2))
826
- return true;
827
- for (var r2 in t2)
828
- if ("__source" !== r2 && n2[r2] !== t2[r2])
829
- return true;
722
+ for (var e2 in n2) if ("__source" !== e2 && !(e2 in t2)) return true;
723
+ for (var r2 in t2) if ("__source" !== r2 && n2[r2] !== t2[r2]) return true;
830
724
  return false;
831
725
  }
832
726
  function C(n2, t2) {
@@ -891,15 +785,12 @@ var L = function(n2, t2) {
891
785
  return n2 ? L$1(n2).length : 0;
892
786
  }, only: function(n2) {
893
787
  var t2 = L$1(n2);
894
- if (1 !== t2.length)
895
- throw "Children.only";
788
+ if (1 !== t2.length) throw "Children.only";
896
789
  return t2[0];
897
790
  }, toArray: L$1 }, U = l$4.__e;
898
791
  l$4.__e = function(n2, t2, e2, r2) {
899
792
  if (n2.then) {
900
- for (var u2, o2 = t2; o2 = o2.__; )
901
- if ((u2 = o2.__c) && u2.__c)
902
- return null == t2.__e && (t2.__e = e2.__e, t2.__k = e2.__k), u2.__c(n2, t2);
793
+ for (var u2, o2 = t2; o2 = o2.__; ) if ((u2 = o2.__c) && u2.__c) return null == t2.__e && (t2.__e = e2.__e, t2.__k = e2.__k), u2.__c(n2, t2);
903
794
  }
904
795
  U(n2, t2, e2, r2);
905
796
  };
@@ -920,8 +811,7 @@ function P() {
920
811
  this.__u = 0, this.o = null, this.__b = null;
921
812
  }
922
813
  function j(n2) {
923
- if (!n2.__)
924
- return null;
814
+ if (!n2.__) return null;
925
815
  var t2 = n2.__.__c;
926
816
  return t2 && t2.__a && t2.__a(n2);
927
817
  }
@@ -932,10 +822,8 @@ function z(n2) {
932
822
  n3 && (o2 = n3.default || n3), u2 = true;
933
823
  }, function(n3) {
934
824
  r2 = n3, u2 = true;
935
- }), r2)
936
- throw r2;
937
- if (!u2)
938
- throw e2;
825
+ }), r2) throw r2;
826
+ if (!u2) throw e2;
939
827
  return o2 ? _$3(o2, i3) : null;
940
828
  }
941
829
  return i2.displayName = "Lazy", i2.__f = true, i2;
@@ -962,8 +850,7 @@ l$4.unmount = function(n2) {
962
850
  r2.__v.__k[0] = W(n3, n3.__c.__P, n3.__c.__O);
963
851
  }
964
852
  var t3;
965
- for (r2.setState({ __a: r2.__b = null }); t3 = r2.o.pop(); )
966
- t3.__P = l2, t3.forceUpdate();
853
+ for (r2.setState({ __a: r2.__b = null }); t3 = r2.o.pop(); ) t3.__P = l2, t3.forceUpdate();
967
854
  }
968
855
  };
969
856
  r2.__u++ || 32 & t2.__u || r2.setState({ __a: r2.__b = r2.__v.__k[0] }), n2.then(i2, i2);
@@ -981,14 +868,11 @@ l$4.unmount = function(n2) {
981
868
  return i2 && (i2.__u &= -33), [_$3(k$3, null, e2.__a ? null : n2.children), i2];
982
869
  };
983
870
  var H = function(n2, t2, e2) {
984
- if (++e2[1] === e2[0] && n2.l.delete(t2), n2.props.revealOrder && ("t" !== n2.props.revealOrder[0] || !n2.l.size))
985
- for (e2 = n2.i; e2; ) {
986
- for (; e2.length > 3; )
987
- e2.pop()();
988
- if (e2[1] < e2[0])
989
- break;
990
- n2.i = e2 = e2[2];
991
- }
871
+ if (++e2[1] === e2[0] && n2.l.delete(t2), n2.props.revealOrder && ("t" !== n2.props.revealOrder[0] || !n2.l.size)) for (e2 = n2.i; e2; ) {
872
+ for (; e2.length > 3; ) e2.pop()();
873
+ if (e2[1] < e2[0]) break;
874
+ n2.i = e2 = e2[2];
875
+ }
992
876
  };
993
877
  function Z(n2) {
994
878
  return this.getChildContext = function() {
@@ -1000,8 +884,7 @@ function Y(n2) {
1000
884
  if (e2.componentWillUnmount = function() {
1001
885
  J$1(null, e2.v), e2.v = null, e2.h = null;
1002
886
  }, e2.h && e2.h !== r2 && e2.componentWillUnmount(), !e2.v) {
1003
- for (var u2 = e2.__v; null !== u2 && !u2.__m && null !== u2.__; )
1004
- u2 = u2.__;
887
+ for (var u2 = e2.__v; null !== u2 && !u2.__m && null !== u2.__; ) u2 = u2.__;
1005
888
  e2.h = r2, e2.v = { nodeType: 1, parentNode: r2, childNodes: [], __k: { __m: u2.__m }, contains: function() {
1006
889
  return true;
1007
890
  }, namespaceURI: r2.namespaceURI, insertBefore: function(n3, t2) {
@@ -1028,8 +911,7 @@ function $(n2, e2) {
1028
911
  this.i = null, this.l = /* @__PURE__ */ new Map();
1029
912
  var t2 = L$1(n2.children);
1030
913
  n2.revealOrder && "b" === n2.revealOrder[0] && t2.reverse();
1031
- for (var e2 = t2.length; e2--; )
1032
- this.l.set(t2[e2], this.i = [1, 0, this.i]);
914
+ for (var e2 = t2.length; e2--; ) this.l.set(t2[e2], this.i = [1, 0, this.i]);
1033
915
  return n2.children;
1034
916
  }, B.prototype.componentDidUpdate = B.prototype.componentDidMount = function() {
1035
917
  var n2 = this;
@@ -1069,7 +951,7 @@ var ln, cn = { enumerable: false, configurable: true, get: function() {
1069
951
  return this.class;
1070
952
  } }, fn = l$4.vnode;
1071
953
  l$4.vnode = function(n2) {
1072
- "string" == typeof n2.type && function(n3) {
954
+ "string" == typeof n2.type && (function(n3) {
1073
955
  var t2 = n3.props, e2 = n3.type, u2 = {}, o2 = -1 === e2.indexOf("-");
1074
956
  for (var i2 in t2) {
1075
957
  var l2 = t2[i2];
@@ -1083,7 +965,7 @@ l$4.vnode = function(n2) {
1083
965
  })), "select" == e2 && null != u2.defaultValue && (u2.value = L$1(t2.children).forEach(function(n4) {
1084
966
  n4.props.selected = u2.multiple ? -1 != u2.defaultValue.indexOf(n4.props.value) : u2.defaultValue == n4.props.value;
1085
967
  })), t2.class && !t2.className ? (u2.class = t2.class, Object.defineProperty(u2, "className", cn)) : t2.className && (u2.class = u2.className = t2.className), n3.props = u2;
1086
- }(n2), n2.$$typeof = q, fn && fn(n2);
968
+ })(n2), n2.$$typeof = q, fn && fn(n2);
1087
969
  };
1088
970
  var an = l$4.__r;
1089
971
  l$4.__r = function(n2) {
@@ -1225,8 +1107,7 @@ function isOverflowElement$1(element) {
1225
1107
  return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);
1226
1108
  }
1227
1109
  function isWebKit$2() {
1228
- if (typeof CSS === "undefined" || !CSS.supports)
1229
- return false;
1110
+ if (typeof CSS === "undefined" || !CSS.supports) return false;
1230
1111
  return CSS.supports("-webkit-backdrop-filter", "none");
1231
1112
  }
1232
1113
  const lastTraversableNodeNames = /* @__PURE__ */ new Set(["html", "body", "#document"]);
@@ -2319,11 +2200,9 @@ class FloatingTreeStore {
2319
2200
  }
2320
2201
  }
2321
2202
  const FloatingNodeContext = /* @__PURE__ */ R$2(null);
2322
- if (process.env.NODE_ENV !== "production")
2323
- FloatingNodeContext.displayName = "FloatingNodeContext";
2203
+ if (process.env.NODE_ENV !== "production") FloatingNodeContext.displayName = "FloatingNodeContext";
2324
2204
  const FloatingTreeContext = /* @__PURE__ */ R$2(null);
2325
- if (process.env.NODE_ENV !== "production")
2326
- FloatingTreeContext.displayName = "FloatingTreeContext";
2205
+ if (process.env.NODE_ENV !== "production") FloatingTreeContext.displayName = "FloatingTreeContext";
2327
2206
  const useFloatingParentNodeId = () => {
2328
2207
  var _a;
2329
2208
  return ((_a = x$1(FloatingNodeContext)) == null ? void 0 : _a.id) || null;
@@ -2402,7 +2281,7 @@ const imperativeAction = "imperative-action";
2402
2281
  function createChangeEventDetails(reason, event, trigger, customProperties) {
2403
2282
  let canceled = false;
2404
2283
  let allowPropagation = false;
2405
- const custom = customProperties ?? EMPTY_OBJECT;
2284
+ const custom = EMPTY_OBJECT;
2406
2285
  const details = {
2407
2286
  reason,
2408
2287
  event: event ?? new Event("base-ui"),
@@ -2561,8 +2440,7 @@ const FocusGuard = /* @__PURE__ */ D(function FocusGuard2(props, ref) {
2561
2440
  "data-base-ui-focus-guard": ""
2562
2441
  });
2563
2442
  });
2564
- if (process.env.NODE_ENV !== "production")
2565
- FocusGuard.displayName = "FocusGuard";
2443
+ if (process.env.NODE_ENV !== "production") FocusGuard.displayName = "FocusGuard";
2566
2444
  let rafId = 0;
2567
2445
  function enqueueFocus(el, options = {}) {
2568
2446
  const {
@@ -2763,9 +2641,6 @@ function mergeProps$1(a2, b2, c2, d2, e2) {
2763
2641
  if (d2) {
2764
2642
  merged = mergeOne(merged, d2);
2765
2643
  }
2766
- if (e2) {
2767
- merged = mergeOne(merged, e2);
2768
- }
2769
2644
  return merged;
2770
2645
  }
2771
2646
  function mergePropsN(props) {
@@ -2950,8 +2825,7 @@ function renderTag(Tag, props) {
2950
2825
  return /* @__PURE__ */ _$3(Tag, props);
2951
2826
  }
2952
2827
  const PortalContext = /* @__PURE__ */ R$2(null);
2953
- if (process.env.NODE_ENV !== "production")
2954
- PortalContext.displayName = "PortalContext";
2828
+ if (process.env.NODE_ENV !== "production") PortalContext.displayName = "PortalContext";
2955
2829
  const usePortalContext = () => x$1(PortalContext);
2956
2830
  const attr = createAttribute("portal");
2957
2831
  function useFloatingPortalNode(props = {}) {
@@ -3106,8 +2980,7 @@ const FloatingPortal = /* @__PURE__ */ D(function FloatingPortal2(componentProps
3106
2980
  })]
3107
2981
  });
3108
2982
  });
3109
- if (process.env.NODE_ENV !== "production")
3110
- FloatingPortal.displayName = "FloatingPortal";
2983
+ if (process.env.NODE_ENV !== "production") FloatingPortal.displayName = "FloatingPortal";
3111
2984
  function resolveRef(maybeRef) {
3112
2985
  if (maybeRef == null) {
3113
2986
  return maybeRef;
@@ -3801,8 +3674,7 @@ function getSideList(side, isStart, rtl) {
3801
3674
  switch (side) {
3802
3675
  case "top":
3803
3676
  case "bottom":
3804
- if (rtl)
3805
- return isStart ? rlPlacement : lrPlacement;
3677
+ if (rtl) return isStart ? rlPlacement : lrPlacement;
3806
3678
  return isStart ? lrPlacement : rlPlacement;
3807
3679
  case "left":
3808
3680
  case "right":
@@ -5300,8 +5172,7 @@ function deepEqual(a2, b2) {
5300
5172
  if (a2 && b2 && typeof a2 === "object") {
5301
5173
  if (Array.isArray(a2)) {
5302
5174
  length = a2.length;
5303
- if (length !== b2.length)
5304
- return false;
5175
+ if (length !== b2.length) return false;
5305
5176
  for (i2 = length; i2-- !== 0; ) {
5306
5177
  if (!deepEqual(a2[i2], b2[i2])) {
5307
5178
  return false;
@@ -5448,10 +5319,8 @@ function useFloating$1(options) {
5448
5319
  };
5449
5320
  }, []);
5450
5321
  index(() => {
5451
- if (referenceEl)
5452
- referenceRef.current = referenceEl;
5453
- if (floatingEl)
5454
- floatingRef.current = floatingEl;
5322
+ if (referenceEl) referenceRef.current = referenceEl;
5323
+ if (floatingEl) floatingRef.current = floatingEl;
5455
5324
  if (referenceEl && floatingEl) {
5456
5325
  if (whileElementsMountedRef.current) {
5457
5326
  return whileElementsMountedRef.current(referenceEl, floatingEl, update2);
@@ -6350,42 +6219,7 @@ const createSelector = (a2, b2, c2, d2, e2, f2, ...other) => {
6350
6219
  throw new Error(process.env.NODE_ENV !== "production" ? "Unsupported number of selectors" : formatErrorMessage(1));
6351
6220
  }
6352
6221
  let selector;
6353
- if (a2 && b2 && c2 && d2 && e2 && f2) {
6354
- selector = (state, a1, a22, a3) => {
6355
- const va = a2(state, a1, a22, a3);
6356
- const vb = b2(state, a1, a22, a3);
6357
- const vc = c2(state, a1, a22, a3);
6358
- const vd = d2(state, a1, a22, a3);
6359
- const ve = e2(state, a1, a22, a3);
6360
- return f2(va, vb, vc, vd, ve, a1, a22, a3);
6361
- };
6362
- } else if (a2 && b2 && c2 && d2 && e2) {
6363
- selector = (state, a1, a22, a3) => {
6364
- const va = a2(state, a1, a22, a3);
6365
- const vb = b2(state, a1, a22, a3);
6366
- const vc = c2(state, a1, a22, a3);
6367
- const vd = d2(state, a1, a22, a3);
6368
- return e2(va, vb, vc, vd, a1, a22, a3);
6369
- };
6370
- } else if (a2 && b2 && c2 && d2) {
6371
- selector = (state, a1, a22, a3) => {
6372
- const va = a2(state, a1, a22, a3);
6373
- const vb = b2(state, a1, a22, a3);
6374
- const vc = c2(state, a1, a22, a3);
6375
- return d2(va, vb, vc, a1, a22, a3);
6376
- };
6377
- } else if (a2 && b2 && c2) {
6378
- selector = (state, a1, a22, a3) => {
6379
- const va = a2(state, a1, a22, a3);
6380
- const vb = b2(state, a1, a22, a3);
6381
- return c2(va, vb, a1, a22, a3);
6382
- };
6383
- } else if (a2 && b2) {
6384
- selector = (state, a1, a22, a3) => {
6385
- const va = a2(state, a1, a22, a3);
6386
- return b2(va, a1, a22, a3);
6387
- };
6388
- } else if (a2) {
6222
+ if (a2) {
6389
6223
  selector = a2;
6390
6224
  } else {
6391
6225
  throw new Error("Missing arguments");
@@ -6393,19 +6227,22 @@ const createSelector = (a2, b2, c2, d2, e2, f2, ...other) => {
6393
6227
  return selector;
6394
6228
  };
6395
6229
  function getAugmentedNamespace(n2) {
6396
- if (n2.__esModule)
6397
- return n2;
6230
+ if (Object.prototype.hasOwnProperty.call(n2, "__esModule")) return n2;
6398
6231
  var f2 = n2.default;
6399
6232
  if (typeof f2 == "function") {
6400
6233
  var a2 = function a3() {
6401
- if (this instanceof a3) {
6234
+ var isInstance = false;
6235
+ try {
6236
+ isInstance = this instanceof a3;
6237
+ } catch {
6238
+ }
6239
+ if (isInstance) {
6402
6240
  return Reflect.construct(f2, arguments, this.constructor);
6403
6241
  }
6404
6242
  return f2.apply(this, arguments);
6405
6243
  };
6406
6244
  a2.prototype = f2.prototype;
6407
- } else
6408
- a2 = {};
6245
+ } else a2 = {};
6409
6246
  Object.defineProperty(a2, "__esModule", { value: true });
6410
6247
  Object.keys(n2).forEach(function(k2) {
6411
6248
  var d2 = Object.getOwnPropertyDescriptor(n2, k2);
@@ -6432,8 +6269,7 @@ const require$$0 = /* @__PURE__ */ getAugmentedNamespace(compat_module);
6432
6269
  */
6433
6270
  var hasRequiredUseSyncExternalStoreShim_production;
6434
6271
  function requireUseSyncExternalStoreShim_production() {
6435
- if (hasRequiredUseSyncExternalStoreShim_production)
6436
- return useSyncExternalStoreShim_production;
6272
+ if (hasRequiredUseSyncExternalStoreShim_production) return useSyncExternalStoreShim_production;
6437
6273
  hasRequiredUseSyncExternalStoreShim_production = 1;
6438
6274
  var React = require$$0;
6439
6275
  function is(x2, y2) {
@@ -6491,10 +6327,9 @@ var useSyncExternalStoreShim_development = {};
6491
6327
  */
6492
6328
  var hasRequiredUseSyncExternalStoreShim_development;
6493
6329
  function requireUseSyncExternalStoreShim_development() {
6494
- if (hasRequiredUseSyncExternalStoreShim_development)
6495
- return useSyncExternalStoreShim_development;
6330
+ if (hasRequiredUseSyncExternalStoreShim_development) return useSyncExternalStoreShim_development;
6496
6331
  hasRequiredUseSyncExternalStoreShim_development = 1;
6497
- "production" !== process.env.NODE_ENV && function() {
6332
+ "production" !== process.env.NODE_ENV && (function() {
6498
6333
  function is(x2, y2) {
6499
6334
  return x2 === y2 && (0 !== x2 || 1 / x2 === 1 / y2) || x2 !== x2 && y2 !== y2;
6500
6335
  }
@@ -6550,7 +6385,7 @@ function requireUseSyncExternalStoreShim_development() {
6550
6385
  var React = require$$0, objectIs = "function" === typeof Object.is ? Object.is : is, useState = React.useState, useEffect = React.useEffect, useLayoutEffect = React.useLayoutEffect, useDebugValue = React.useDebugValue, didWarnOld18Alpha = false, didWarnUncachedGetSnapshot = false, shim2 = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
6551
6386
  useSyncExternalStoreShim_development.useSyncExternalStore = void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim2;
6552
6387
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
6553
- }();
6388
+ })();
6554
6389
  return useSyncExternalStoreShim_development;
6555
6390
  }
6556
6391
  if (process.env.NODE_ENV === "production") {
@@ -6572,8 +6407,7 @@ var withSelector_production = {};
6572
6407
  */
6573
6408
  var hasRequiredWithSelector_production;
6574
6409
  function requireWithSelector_production() {
6575
- if (hasRequiredWithSelector_production)
6576
- return withSelector_production;
6410
+ if (hasRequiredWithSelector_production) return withSelector_production;
6577
6411
  hasRequiredWithSelector_production = 1;
6578
6412
  var React = require$$0, shim2 = shimExports;
6579
6413
  function is(x2, y2) {
@@ -6585,8 +6419,7 @@ function requireWithSelector_production() {
6585
6419
  if (null === instRef.current) {
6586
6420
  var inst = { hasValue: false, value: null };
6587
6421
  instRef.current = inst;
6588
- } else
6589
- inst = instRef.current;
6422
+ } else inst = instRef.current;
6590
6423
  instRef = useMemo(
6591
6424
  function() {
6592
6425
  function memoizedSelector(nextSnapshot) {
@@ -6602,8 +6435,7 @@ function requireWithSelector_production() {
6602
6435
  return memoizedSelection = nextSnapshot;
6603
6436
  }
6604
6437
  currentSelection = memoizedSelection;
6605
- if (objectIs(memoizedSnapshot, nextSnapshot))
6606
- return currentSelection;
6438
+ if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;
6607
6439
  var nextSelection = selector(nextSnapshot);
6608
6440
  if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
6609
6441
  return memoizedSnapshot = nextSnapshot, currentSelection;
@@ -6647,10 +6479,9 @@ var withSelector_development = {};
6647
6479
  */
6648
6480
  var hasRequiredWithSelector_development;
6649
6481
  function requireWithSelector_development() {
6650
- if (hasRequiredWithSelector_development)
6651
- return withSelector_development;
6482
+ if (hasRequiredWithSelector_development) return withSelector_development;
6652
6483
  hasRequiredWithSelector_development = 1;
6653
- "production" !== process.env.NODE_ENV && function() {
6484
+ "production" !== process.env.NODE_ENV && (function() {
6654
6485
  function is(x2, y2) {
6655
6486
  return x2 === y2 && (0 !== x2 || 1 / x2 === 1 / y2) || x2 !== x2 && y2 !== y2;
6656
6487
  }
@@ -6661,8 +6492,7 @@ function requireWithSelector_development() {
6661
6492
  if (null === instRef.current) {
6662
6493
  var inst = { hasValue: false, value: null };
6663
6494
  instRef.current = inst;
6664
- } else
6665
- inst = instRef.current;
6495
+ } else inst = instRef.current;
6666
6496
  instRef = useMemo(
6667
6497
  function() {
6668
6498
  function memoizedSelector(nextSnapshot) {
@@ -6710,7 +6540,7 @@ function requireWithSelector_development() {
6710
6540
  return value;
6711
6541
  };
6712
6542
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
6713
- }();
6543
+ })();
6714
6544
  return withSelector_development;
6715
6545
  }
6716
6546
  if (process.env.NODE_ENV === "production") {
@@ -8471,8 +8301,7 @@ function safePolygon(options = {}) {
8471
8301
  return fn2;
8472
8302
  }
8473
8303
  const PopoverRootContext = /* @__PURE__ */ R$2(void 0);
8474
- if (process.env.NODE_ENV !== "production")
8475
- PopoverRootContext.displayName = "PopoverRootContext";
8304
+ if (process.env.NODE_ENV !== "production") PopoverRootContext.displayName = "PopoverRootContext";
8476
8305
  function usePopoverRootContext(optional) {
8477
8306
  const context = x$1(PopoverRootContext);
8478
8307
  if (context === void 0 && !optional) {
@@ -8774,8 +8603,7 @@ function error(...messages) {
8774
8603
  }
8775
8604
  }
8776
8605
  const CompositeRootContext = /* @__PURE__ */ R$2(void 0);
8777
- if (process.env.NODE_ENV !== "production")
8778
- CompositeRootContext.displayName = "CompositeRootContext";
8606
+ if (process.env.NODE_ENV !== "production") CompositeRootContext.displayName = "CompositeRootContext";
8779
8607
  function useCompositeRootContext(optional = false) {
8780
8608
  const context = x$1(CompositeRootContext);
8781
8609
  if (context === void 0 && !optional) {
@@ -8946,11 +8774,11 @@ function useButton(parameters = {}) {
8946
8774
  function isButtonElement(elem) {
8947
8775
  return isHTMLElement$1(elem) && elem.tagName === "BUTTON";
8948
8776
  }
8949
- let TransitionStatusDataAttributes = /* @__PURE__ */ function(TransitionStatusDataAttributes2) {
8777
+ let TransitionStatusDataAttributes = /* @__PURE__ */ (function(TransitionStatusDataAttributes2) {
8950
8778
  TransitionStatusDataAttributes2["startingStyle"] = "data-starting-style";
8951
8779
  TransitionStatusDataAttributes2["endingStyle"] = "data-ending-style";
8952
8780
  return TransitionStatusDataAttributes2;
8953
- }({});
8781
+ })({});
8954
8782
  const STARTING_HOOK = {
8955
8783
  [TransitionStatusDataAttributes.startingStyle]: ""
8956
8784
  };
@@ -8968,19 +8796,19 @@ const transitionStatusMapping = {
8968
8796
  return null;
8969
8797
  }
8970
8798
  };
8971
- let CommonPopupDataAttributes = function(CommonPopupDataAttributes2) {
8799
+ let CommonPopupDataAttributes = (function(CommonPopupDataAttributes2) {
8972
8800
  CommonPopupDataAttributes2["open"] = "data-open";
8973
8801
  CommonPopupDataAttributes2["closed"] = "data-closed";
8974
8802
  CommonPopupDataAttributes2[CommonPopupDataAttributes2["startingStyle"] = TransitionStatusDataAttributes.startingStyle] = "startingStyle";
8975
8803
  CommonPopupDataAttributes2[CommonPopupDataAttributes2["endingStyle"] = TransitionStatusDataAttributes.endingStyle] = "endingStyle";
8976
8804
  CommonPopupDataAttributes2["anchorHidden"] = "data-anchor-hidden";
8977
8805
  return CommonPopupDataAttributes2;
8978
- }({});
8979
- let CommonTriggerDataAttributes = /* @__PURE__ */ function(CommonTriggerDataAttributes2) {
8806
+ })({});
8807
+ let CommonTriggerDataAttributes = /* @__PURE__ */ (function(CommonTriggerDataAttributes2) {
8980
8808
  CommonTriggerDataAttributes2["popupOpen"] = "data-popup-open";
8981
8809
  CommonTriggerDataAttributes2["pressed"] = "data-pressed";
8982
8810
  return CommonTriggerDataAttributes2;
8983
- }({});
8811
+ })({});
8984
8812
  const TRIGGER_HOOK = {
8985
8813
  [CommonTriggerDataAttributes.popupOpen]: ""
8986
8814
  };
@@ -9158,11 +8986,9 @@ const PopoverTrigger = /* @__PURE__ */ D(function PopoverTrigger2(componentProps
9158
8986
  children: element
9159
8987
  }, thisTriggerId);
9160
8988
  });
9161
- if (process.env.NODE_ENV !== "production")
9162
- PopoverTrigger.displayName = "PopoverTrigger";
8989
+ if (process.env.NODE_ENV !== "production") PopoverTrigger.displayName = "PopoverTrigger";
9163
8990
  const PopoverPortalContext = /* @__PURE__ */ R$2(void 0);
9164
- if (process.env.NODE_ENV !== "production")
9165
- PopoverPortalContext.displayName = "PopoverPortalContext";
8991
+ if (process.env.NODE_ENV !== "production") PopoverPortalContext.displayName = "PopoverPortalContext";
9166
8992
  function usePopoverPortalContext() {
9167
8993
  const value = x$1(PopoverPortalContext);
9168
8994
  if (value === void 0) {
@@ -9192,8 +9018,7 @@ const PopoverPortal = /* @__PURE__ */ D(function PopoverPortal2(props, forwarded
9192
9018
  })
9193
9019
  });
9194
9020
  });
9195
- if (process.env.NODE_ENV !== "production")
9196
- PopoverPortal.displayName = "PopoverPortal";
9021
+ if (process.env.NODE_ENV !== "production") PopoverPortal.displayName = "PopoverPortal";
9197
9022
  function inertValue(value) {
9198
9023
  if (isReactVersionAtLeast(19)) {
9199
9024
  return value;
@@ -9201,8 +9026,7 @@ function inertValue(value) {
9201
9026
  return value ? "true" : void 0;
9202
9027
  }
9203
9028
  const PopoverPositionerContext = /* @__PURE__ */ R$2(void 0);
9204
- if (process.env.NODE_ENV !== "production")
9205
- PopoverPositionerContext.displayName = "PopoverPositionerContext";
9029
+ if (process.env.NODE_ENV !== "production") PopoverPositionerContext.displayName = "PopoverPositionerContext";
9206
9030
  function usePopoverPositionerContext() {
9207
9031
  const context = x$1(PopoverPositionerContext);
9208
9032
  if (!context) {
@@ -9211,8 +9035,7 @@ function usePopoverPositionerContext() {
9211
9035
  return context;
9212
9036
  }
9213
9037
  const DirectionContext = /* @__PURE__ */ R$2(void 0);
9214
- if (process.env.NODE_ENV !== "production")
9215
- DirectionContext.displayName = "DirectionContext";
9038
+ if (process.env.NODE_ENV !== "production") DirectionContext.displayName = "DirectionContext";
9216
9039
  function useDirection() {
9217
9040
  const context = x$1(DirectionContext);
9218
9041
  return (context == null ? void 0 : context.direction) ?? "ltr";
@@ -9757,8 +9580,7 @@ const InternalBackdrop = /* @__PURE__ */ D(function InternalBackdrop2(props, ref
9757
9580
  }
9758
9581
  });
9759
9582
  });
9760
- if (process.env.NODE_ENV !== "production")
9761
- InternalBackdrop.displayName = "InternalBackdrop";
9583
+ if (process.env.NODE_ENV !== "production") InternalBackdrop.displayName = "InternalBackdrop";
9762
9584
  function getDisabledMountTransitionStyles(transitionStatus) {
9763
9585
  return transitionStatus === "starting" ? DISABLED_TRANSITIONS_STYLE : EMPTY_OBJECT;
9764
9586
  }
@@ -9880,8 +9702,7 @@ const PopoverPositioner = /* @__PURE__ */ D(function PopoverPositioner2(componen
9880
9702
  })]
9881
9703
  });
9882
9704
  });
9883
- if (process.env.NODE_ENV !== "production")
9884
- PopoverPositioner.displayName = "PopoverPositioner";
9705
+ if (process.env.NODE_ENV !== "production") PopoverPositioner.displayName = "PopoverPositioner";
9885
9706
  function getCssDimensions(element) {
9886
9707
  const css = getComputedStyle$2(element);
9887
9708
  let width = parseFloat(css.width) || 0;
@@ -10036,13 +9857,9 @@ const ARROW_KEYS = /* @__PURE__ */ new Set([...HORIZONTAL_KEYS, ...VERTICAL_KEYS
10036
9857
  /* @__PURE__ */ new Set([...ARROW_KEYS, HOME, END]);
10037
9858
  const COMPOSITE_KEYS = /* @__PURE__ */ new Set([ARROW_UP, ARROW_DOWN, ARROW_LEFT, ARROW_RIGHT, HOME, END]);
10038
9859
  const ToolbarRootContext = /* @__PURE__ */ R$2(void 0);
10039
- if (process.env.NODE_ENV !== "production")
10040
- ToolbarRootContext.displayName = "ToolbarRootContext";
9860
+ if (process.env.NODE_ENV !== "production") ToolbarRootContext.displayName = "ToolbarRootContext";
10041
9861
  function useToolbarRootContext(optional) {
10042
9862
  const context = x$1(ToolbarRootContext);
10043
- if (context === void 0 && !optional) {
10044
- throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: ToolbarRootContext is missing. Toolbar parts must be placed within <Toolbar.Root>." : formatErrorMessage(69));
10045
- }
10046
9863
  return context;
10047
9864
  }
10048
9865
  const stateAttributesMapping = {
@@ -10061,7 +9878,7 @@ const PopoverPopup = /* @__PURE__ */ D(function PopoverPopup2(componentProps, fo
10061
9878
  store: store2
10062
9879
  } = usePopoverRootContext();
10063
9880
  const positioner = usePopoverPositionerContext();
10064
- const insideToolbar = useToolbarRootContext(true) != null;
9881
+ const insideToolbar = useToolbarRootContext() != null;
10065
9882
  const direction = useDirection();
10066
9883
  const open = store2.useState("open");
10067
9884
  const openMethod = store2.useState("openMethod");
@@ -10161,25 +9978,18 @@ const PopoverPopup = /* @__PURE__ */ D(function PopoverPopup2(componentProps, fo
10161
9978
  children: element
10162
9979
  });
10163
9980
  });
10164
- if (process.env.NODE_ENV !== "production")
10165
- PopoverPopup.displayName = "PopoverPopup";
9981
+ if (process.env.NODE_ENV !== "production") PopoverPopup.displayName = "PopoverPopup";
10166
9982
  function r(e2) {
10167
9983
  var t2, f2, n2 = "";
10168
- if ("string" == typeof e2 || "number" == typeof e2)
10169
- n2 += e2;
10170
- else if ("object" == typeof e2)
10171
- if (Array.isArray(e2)) {
10172
- var o2 = e2.length;
10173
- for (t2 = 0; t2 < o2; t2++)
10174
- e2[t2] && (f2 = r(e2[t2])) && (n2 && (n2 += " "), n2 += f2);
10175
- } else
10176
- for (f2 in e2)
10177
- e2[f2] && (n2 && (n2 += " "), n2 += f2);
9984
+ if ("string" == typeof e2 || "number" == typeof e2) n2 += e2;
9985
+ else if ("object" == typeof e2) if (Array.isArray(e2)) {
9986
+ var o2 = e2.length;
9987
+ for (t2 = 0; t2 < o2; t2++) e2[t2] && (f2 = r(e2[t2])) && (n2 && (n2 += " "), n2 += f2);
9988
+ } else for (f2 in e2) e2[f2] && (n2 && (n2 += " "), n2 += f2);
10178
9989
  return n2;
10179
9990
  }
10180
9991
  function clsx() {
10181
- for (var e2, t2, f2 = 0, n2 = "", o2 = arguments.length; f2 < o2; f2++)
10182
- (e2 = arguments[f2]) && (t2 = r(e2)) && (n2 && (n2 += " "), n2 += t2);
9992
+ for (var e2, t2, f2 = 0, n2 = "", o2 = arguments.length; f2 < o2; f2++) (e2 = arguments[f2]) && (t2 = r(e2)) && (n2 && (n2 += " "), n2 += t2);
10183
9993
  return n2;
10184
9994
  }
10185
9995
  const JOB_ALERTS_ELEMENT_ID = "inploi-job-alerts";
@@ -10255,9 +10065,11 @@ const defaultTerms = {
10255
10065
  frequency: "Frequency",
10256
10066
  create_alert: "Create Alert",
10257
10067
  create_alert_error: "Failed to create alert. Please try again later.",
10258
- privacy_policy_link: "How we use your personal data"
10068
+ privacy_policy_link: "How we use your personal data",
10069
+ alert_notice_sender: "{{company}} will email you new jobs matching this search, as often as you choose. Every email has an unsubscribe link.",
10070
+ alert_notice: "You'll get new jobs matching this search by email, as often as you choose. Every email has an unsubscribe link."
10259
10071
  };
10260
- const { TranslationProvider, useTranslation, createTFunction } = createTranslation(defaultTerms);
10072
+ const { TranslationProvider, useTranslation } = createTranslation(defaultTerms);
10261
10073
  var i = Symbol.for("preact-signals");
10262
10074
  function t() {
10263
10075
  if (!(s$1 > 1)) {
@@ -10270,24 +10082,21 @@ function t() {
10270
10082
  var o2 = r2.o;
10271
10083
  r2.o = void 0;
10272
10084
  r2.f &= -3;
10273
- if (!(8 & r2.f) && c(r2))
10274
- try {
10275
- r2.c();
10276
- } catch (r3) {
10277
- if (!t2) {
10278
- i2 = r3;
10279
- t2 = true;
10280
- }
10085
+ if (!(8 & r2.f) && c(r2)) try {
10086
+ r2.c();
10087
+ } catch (r3) {
10088
+ if (!t2) {
10089
+ i2 = r3;
10090
+ t2 = true;
10281
10091
  }
10092
+ }
10282
10093
  r2 = o2;
10283
10094
  }
10284
10095
  }
10285
10096
  f = 0;
10286
10097
  s$1--;
10287
- if (t2)
10288
- throw i2;
10289
- } else
10290
- s$1--;
10098
+ if (t2) throw i2;
10099
+ } else s$1--;
10291
10100
  }
10292
10101
  var o = void 0;
10293
10102
  var h$1 = void 0, s$1 = 0, f = 0, v = 0;
@@ -10296,19 +10105,16 @@ function e(i2) {
10296
10105
  var t2 = i2.n;
10297
10106
  if (void 0 === t2 || t2.t !== o) {
10298
10107
  t2 = { i: 0, S: i2, p: o.s, n: void 0, t: o, e: void 0, x: void 0, r: t2 };
10299
- if (void 0 !== o.s)
10300
- o.s.n = t2;
10108
+ if (void 0 !== o.s) o.s.n = t2;
10301
10109
  o.s = t2;
10302
10110
  i2.n = t2;
10303
- if (32 & o.f)
10304
- i2.S(t2);
10111
+ if (32 & o.f) i2.S(t2);
10305
10112
  return t2;
10306
10113
  } else if (-1 === t2.i) {
10307
10114
  t2.i = 0;
10308
10115
  if (void 0 !== t2.n) {
10309
10116
  t2.n.p = t2.p;
10310
- if (void 0 !== t2.p)
10311
- t2.p.n = t2.n;
10117
+ if (void 0 !== t2.p) t2.p.n = t2.n;
10312
10118
  t2.p = o.s;
10313
10119
  t2.n = void 0;
10314
10120
  o.s.n = t2;
@@ -10331,8 +10137,7 @@ u.prototype.h = function() {
10331
10137
  u.prototype.S = function(i2) {
10332
10138
  if (this.t !== i2 && void 0 === i2.e) {
10333
10139
  i2.x = this.t;
10334
- if (void 0 !== this.t)
10335
- this.t.e = i2;
10140
+ if (void 0 !== this.t) this.t.e = i2;
10336
10141
  this.t = i2;
10337
10142
  }
10338
10143
  };
@@ -10347,8 +10152,7 @@ u.prototype.U = function(i2) {
10347
10152
  r2.e = t2;
10348
10153
  i2.x = void 0;
10349
10154
  }
10350
- if (i2 === this.t)
10351
- this.t = r2;
10155
+ if (i2 === this.t) this.t = r2;
10352
10156
  }
10353
10157
  };
10354
10158
  u.prototype.subscribe = function(i2) {
@@ -10383,20 +10187,17 @@ u.prototype.peek = function() {
10383
10187
  };
10384
10188
  Object.defineProperty(u.prototype, "value", { get: function() {
10385
10189
  var i2 = e(this);
10386
- if (void 0 !== i2)
10387
- i2.i = this.i;
10190
+ if (void 0 !== i2) i2.i = this.i;
10388
10191
  return this.v;
10389
10192
  }, set: function(i2) {
10390
10193
  if (i2 !== this.v) {
10391
- if (f > 100)
10392
- throw new Error("Cycle detected");
10194
+ if (f > 100) throw new Error("Cycle detected");
10393
10195
  this.v = i2;
10394
10196
  this.i++;
10395
10197
  v++;
10396
10198
  s$1++;
10397
10199
  try {
10398
- for (var r2 = this.t; void 0 !== r2; r2 = r2.x)
10399
- r2.t.N();
10200
+ for (var r2 = this.t; void 0 !== r2; r2 = r2.x) r2.t.N();
10400
10201
  } finally {
10401
10202
  t();
10402
10203
  }
@@ -10406,16 +10207,13 @@ function d$1(i2) {
10406
10207
  return new u(i2);
10407
10208
  }
10408
10209
  function c(i2) {
10409
- for (var t2 = i2.s; void 0 !== t2; t2 = t2.n)
10410
- if (t2.S.i !== t2.i || !t2.S.h() || t2.S.i !== t2.i)
10411
- return true;
10210
+ for (var t2 = i2.s; void 0 !== t2; t2 = t2.n) if (t2.S.i !== t2.i || !t2.S.h() || t2.S.i !== t2.i) return true;
10412
10211
  return false;
10413
10212
  }
10414
10213
  function a(i2) {
10415
10214
  for (var t2 = i2.s; void 0 !== t2; t2 = t2.n) {
10416
10215
  var r2 = t2.S.n;
10417
- if (void 0 !== r2)
10418
- t2.r = r2;
10216
+ if (void 0 !== r2) t2.r = r2;
10419
10217
  t2.S.n = t2;
10420
10218
  t2.i = -1;
10421
10219
  if (void 0 === t2.n) {
@@ -10430,15 +10228,11 @@ function l$1(i2) {
10430
10228
  var o2 = t2.p;
10431
10229
  if (-1 === t2.i) {
10432
10230
  t2.S.U(t2);
10433
- if (void 0 !== o2)
10434
- o2.n = t2.n;
10435
- if (void 0 !== t2.n)
10436
- t2.n.p = o2;
10437
- } else
10438
- r2 = t2;
10231
+ if (void 0 !== o2) o2.n = t2.n;
10232
+ if (void 0 !== t2.n) t2.n.p = o2;
10233
+ } else r2 = t2;
10439
10234
  t2.S.n = t2.r;
10440
- if (void 0 !== t2.r)
10441
- t2.r = void 0;
10235
+ if (void 0 !== t2.r) t2.r = void 0;
10442
10236
  t2 = o2;
10443
10237
  }
10444
10238
  i2.s = r2;
@@ -10452,13 +10246,10 @@ function y(i2) {
10452
10246
  }
10453
10247
  (y.prototype = new u()).h = function() {
10454
10248
  this.f &= -3;
10455
- if (1 & this.f)
10456
- return false;
10457
- if (32 == (36 & this.f))
10458
- return true;
10249
+ if (1 & this.f) return false;
10250
+ if (32 == (36 & this.f)) return true;
10459
10251
  this.f &= -5;
10460
- if (this.g === v)
10461
- return true;
10252
+ if (this.g === v) return true;
10462
10253
  this.g = v;
10463
10254
  this.f |= 1;
10464
10255
  if (this.i > 0 && !c(this)) {
@@ -10488,8 +10279,7 @@ function y(i2) {
10488
10279
  y.prototype.S = function(i2) {
10489
10280
  if (void 0 === this.t) {
10490
10281
  this.f |= 36;
10491
- for (var t2 = this.s; void 0 !== t2; t2 = t2.n)
10492
- t2.S.S(t2);
10282
+ for (var t2 = this.s; void 0 !== t2; t2 = t2.n) t2.S.S(t2);
10493
10283
  }
10494
10284
  u.prototype.S.call(this, i2);
10495
10285
  };
@@ -10498,27 +10288,22 @@ y.prototype.U = function(i2) {
10498
10288
  u.prototype.U.call(this, i2);
10499
10289
  if (void 0 === this.t) {
10500
10290
  this.f &= -33;
10501
- for (var t2 = this.s; void 0 !== t2; t2 = t2.n)
10502
- t2.S.U(t2);
10291
+ for (var t2 = this.s; void 0 !== t2; t2 = t2.n) t2.S.U(t2);
10503
10292
  }
10504
10293
  }
10505
10294
  };
10506
10295
  y.prototype.N = function() {
10507
10296
  if (!(2 & this.f)) {
10508
10297
  this.f |= 6;
10509
- for (var i2 = this.t; void 0 !== i2; i2 = i2.x)
10510
- i2.t.N();
10298
+ for (var i2 = this.t; void 0 !== i2; i2 = i2.x) i2.t.N();
10511
10299
  }
10512
10300
  };
10513
10301
  Object.defineProperty(y.prototype, "value", { get: function() {
10514
- if (1 & this.f)
10515
- throw new Error("Cycle detected");
10302
+ if (1 & this.f) throw new Error("Cycle detected");
10516
10303
  var i2 = e(this);
10517
10304
  this.h();
10518
- if (void 0 !== i2)
10519
- i2.i = this.i;
10520
- if (16 & this.f)
10521
- throw this.v;
10305
+ if (void 0 !== i2) i2.i = this.i;
10306
+ if (16 & this.f) throw this.v;
10522
10307
  return this.v;
10523
10308
  } });
10524
10309
  function w(i2) {
@@ -10545,20 +10330,17 @@ function _(i2) {
10545
10330
  }
10546
10331
  }
10547
10332
  function g(i2) {
10548
- for (var t2 = i2.s; void 0 !== t2; t2 = t2.n)
10549
- t2.S.U(t2);
10333
+ for (var t2 = i2.s; void 0 !== t2; t2 = t2.n) t2.S.U(t2);
10550
10334
  i2.x = void 0;
10551
10335
  i2.s = void 0;
10552
10336
  _(i2);
10553
10337
  }
10554
10338
  function p$1(i2) {
10555
- if (o !== this)
10556
- throw new Error("Out-of-order effect");
10339
+ if (o !== this) throw new Error("Out-of-order effect");
10557
10340
  l$1(this);
10558
10341
  o = i2;
10559
10342
  this.f &= -2;
10560
- if (8 & this.f)
10561
- g(this);
10343
+ if (8 & this.f) g(this);
10562
10344
  t();
10563
10345
  }
10564
10346
  function b(i2) {
@@ -10571,20 +10353,16 @@ function b(i2) {
10571
10353
  b.prototype.c = function() {
10572
10354
  var i2 = this.S();
10573
10355
  try {
10574
- if (8 & this.f)
10575
- return;
10576
- if (void 0 === this.x)
10577
- return;
10356
+ if (8 & this.f) return;
10357
+ if (void 0 === this.x) return;
10578
10358
  var t2 = this.x();
10579
- if ("function" == typeof t2)
10580
- this.u = t2;
10359
+ if ("function" == typeof t2) this.u = t2;
10581
10360
  } finally {
10582
10361
  i2();
10583
10362
  }
10584
10363
  };
10585
10364
  b.prototype.S = function() {
10586
- if (1 & this.f)
10587
- throw new Error("Cycle detected");
10365
+ if (1 & this.f) throw new Error("Cycle detected");
10588
10366
  this.f |= 1;
10589
10367
  this.f &= -9;
10590
10368
  _(this);
@@ -10603,8 +10381,7 @@ b.prototype.N = function() {
10603
10381
  };
10604
10382
  b.prototype.d = function() {
10605
10383
  this.f |= 8;
10606
- if (!(1 & this.f))
10607
- g(this);
10384
+ if (!(1 & this.f)) g(this);
10608
10385
  };
10609
10386
  function E(i2) {
10610
10387
  var t2 = new b(i2);
@@ -10634,19 +10411,17 @@ function h(i2) {
10634
10411
  o2.value = f2;
10635
10412
  var e2 = T$1(function() {
10636
10413
  var i3 = r2.__v;
10637
- while (i3 = i3.__)
10638
- if (i3.__c) {
10639
- i3.__c.__$f |= 4;
10640
- break;
10641
- }
10414
+ while (i3 = i3.__) if (i3.__c) {
10415
+ i3.__c.__$f |= 4;
10416
+ break;
10417
+ }
10642
10418
  r2.__$u.c = function() {
10643
10419
  var i4, t2 = r2.__$u.S(), f3 = e2.value;
10644
10420
  t2();
10645
10421
  if (t$2(f3) || 3 !== (null == (i4 = r2.base) ? void 0 : i4.nodeType)) {
10646
10422
  r2.__$f |= 1;
10647
10423
  r2.setState({});
10648
- } else
10649
- r2.base.data = f3;
10424
+ } else r2.base.data = f3;
10650
10425
  };
10651
10426
  return w(function() {
10652
10427
  var i4 = o2.value.value;
@@ -10662,16 +10437,14 @@ Object.defineProperties(u.prototype, { constructor: { configurable: true, value:
10662
10437
  l("__b", function(i2, r2) {
10663
10438
  if ("string" == typeof r2.type) {
10664
10439
  var n2, t2 = r2.props;
10665
- for (var f2 in t2)
10666
- if ("children" !== f2) {
10667
- var o2 = t2[f2];
10668
- if (o2 instanceof u) {
10669
- if (!n2)
10670
- r2.__np = n2 = {};
10671
- n2[f2] = o2;
10672
- t2[f2] = o2.peek();
10673
- }
10440
+ for (var f2 in t2) if ("children" !== f2) {
10441
+ var o2 = t2[f2];
10442
+ if (o2 instanceof u) {
10443
+ if (!n2) r2.__np = n2 = {};
10444
+ n2[f2] = o2;
10445
+ t2[f2] = o2.peek();
10674
10446
  }
10447
+ }
10675
10448
  }
10676
10449
  i2(r2);
10677
10450
  });
@@ -10681,18 +10454,17 @@ l("__r", function(i2, r2) {
10681
10454
  var n2, t2 = r2.__c;
10682
10455
  if (t2) {
10683
10456
  t2.__$f &= -2;
10684
- if (void 0 === (n2 = t2.__$u))
10685
- t2.__$u = n2 = function(i3) {
10686
- var r3;
10687
- E(function() {
10688
- r3 = this;
10689
- });
10690
- r3.c = function() {
10691
- t2.__$f |= 1;
10692
- t2.setState({});
10693
- };
10694
- return r3;
10695
- }();
10457
+ if (void 0 === (n2 = t2.__$u)) t2.__$u = n2 = (function(i3) {
10458
+ var r3;
10459
+ E(function() {
10460
+ r3 = this;
10461
+ });
10462
+ r3.c = function() {
10463
+ t2.__$f |= 1;
10464
+ t2.setState({});
10465
+ };
10466
+ return r3;
10467
+ })();
10696
10468
  }
10697
10469
  d(n2);
10698
10470
  });
@@ -10707,23 +10479,20 @@ l("diffed", function(i2, r2) {
10707
10479
  var t2 = r2.__np, f2 = r2.props;
10708
10480
  if (t2) {
10709
10481
  var o2 = n2.U;
10710
- if (o2)
10711
- for (var e2 in o2) {
10712
- var u2 = o2[e2];
10713
- if (void 0 !== u2 && !(e2 in t2)) {
10714
- u2.d();
10715
- o2[e2] = void 0;
10716
- }
10482
+ if (o2) for (var e2 in o2) {
10483
+ var u2 = o2[e2];
10484
+ if (void 0 !== u2 && !(e2 in t2)) {
10485
+ u2.d();
10486
+ o2[e2] = void 0;
10717
10487
  }
10718
- else
10719
- n2.U = o2 = {};
10488
+ }
10489
+ else n2.U = o2 = {};
10720
10490
  for (var a2 in t2) {
10721
10491
  var c2 = o2[a2], s2 = t2[a2];
10722
10492
  if (void 0 === c2) {
10723
10493
  c2 = p(n2, a2, s2, f2);
10724
10494
  o2[a2] = c2;
10725
- } else
10726
- c2.o(s2, f2);
10495
+ } else c2.o(s2, f2);
10727
10496
  }
10728
10497
  }
10729
10498
  }
@@ -10738,12 +10507,9 @@ function p(i2, r2, n2, t2) {
10738
10507
  var n3 = o2.value.value;
10739
10508
  if (t2[r2] !== n3) {
10740
10509
  t2[r2] = n3;
10741
- if (f2)
10742
- i2[r2] = n3;
10743
- else if (n3)
10744
- i2.setAttribute(r2, n3);
10745
- else
10746
- i2.removeAttribute(r2);
10510
+ if (f2) i2[r2] = n3;
10511
+ else if (n3) i2.setAttribute(r2, n3);
10512
+ else i2.removeAttribute(r2);
10747
10513
  }
10748
10514
  }) };
10749
10515
  }
@@ -10756,8 +10522,7 @@ l("unmount", function(i2, r2) {
10756
10522
  n2.U = void 0;
10757
10523
  for (var f2 in t2) {
10758
10524
  var o2 = t2[f2];
10759
- if (o2)
10760
- o2.d();
10525
+ if (o2) o2.d();
10761
10526
  }
10762
10527
  }
10763
10528
  }
@@ -10774,33 +10539,22 @@ l("unmount", function(i2, r2) {
10774
10539
  i2(r2);
10775
10540
  });
10776
10541
  l("__h", function(i2, r2, n2, t2) {
10777
- if (t2 < 3 || 9 === t2)
10778
- r2.__$f |= 2;
10542
+ if (t2 < 3 || 9 === t2) r2.__$f |= 2;
10779
10543
  i2(r2, n2, t2);
10780
10544
  });
10781
10545
  x$3.prototype.shouldComponentUpdate = function(i2, r2) {
10782
- if (this.__R)
10783
- return true;
10546
+ if (this.__R) return true;
10784
10547
  var n2 = this.__$u, t2 = n2 && void 0 !== n2.s;
10785
- for (var f2 in r2)
10786
- return true;
10548
+ for (var f2 in r2) return true;
10787
10549
  if (this.__f || "boolean" == typeof this.u && true === this.u) {
10788
- if (!(t2 || 2 & this.__$f || 4 & this.__$f))
10789
- return true;
10790
- if (1 & this.__$f)
10791
- return true;
10550
+ if (!(t2 || 2 & this.__$f || 4 & this.__$f)) return true;
10551
+ if (1 & this.__$f) return true;
10792
10552
  } else {
10793
- if (!(t2 || 4 & this.__$f))
10794
- return true;
10795
- if (3 & this.__$f)
10796
- return true;
10553
+ if (!(t2 || 4 & this.__$f)) return true;
10554
+ if (3 & this.__$f) return true;
10797
10555
  }
10798
- for (var o2 in i2)
10799
- if ("__source" !== o2 && i2[o2] !== this.props[o2])
10800
- return true;
10801
- for (var e2 in this.props)
10802
- if (!(e2 in i2))
10803
- return true;
10556
+ for (var o2 in i2) if ("__source" !== o2 && i2[o2] !== this.props[o2]) return true;
10557
+ for (var e2 in this.props) if (!(e2 in i2)) return true;
10804
10558
  return false;
10805
10559
  };
10806
10560
  function useSignal(i2) {
@@ -10989,8 +10743,7 @@ const getThemeVariants = (theme) => {
10989
10743
  return variants;
10990
10744
  };
10991
10745
  const InputError = ({ error: error2 }) => {
10992
- if (!error2)
10993
- return null;
10746
+ if (!error2) return null;
10994
10747
  return /* @__PURE__ */ u$2("div", { role: "alert", class: "flex max-w-full items-start gap-1.5 px-2 py-2 text-[#E5484D]", children: [
10995
10748
  /* @__PURE__ */ u$2("svg", { class: "mt-0.5 h-4 w-4 flex-none", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
10996
10749
  /* @__PURE__ */ u$2("circle", { cx: "8", cy: "8", r: "6.3", stroke: "currentColor", "stroke-width": "1.4" }),
@@ -11000,6 +10753,14 @@ const InputError = ({ error: error2 }) => {
11000
10753
  /* @__PURE__ */ u$2("p", { class: "pr-1 text-sm", children: error2 })
11001
10754
  ] });
11002
10755
  };
10756
+ const signupNoticeText = (t2, employerName) => {
10757
+ const sender = employerName == null ? void 0 : employerName.trim();
10758
+ return sender ? t2("alert_notice_sender", { company: sender }) : t2("alert_notice");
10759
+ };
10760
+ const SignupNotice = ({ employerName }) => {
10761
+ const { t: t2 } = useTranslation();
10762
+ return /* @__PURE__ */ u$2("p", { class: "text-neutral-11 px-2 text-xs leading-snug", children: signupNoticeText(t2, employerName) });
10763
+ };
11003
10764
  const inputClass = "rounded-field-input bg-neutral-1 text-accent-11 autofill:shadow-[inset_0_0_0_1000px_var(--i-color-a-2)] autofill:focus:shadow-[inset_0_0_0_1000px_var(--i-color-a-1)] autofill:[-webkit-text-fill-color:var(--i-color-a-11)] px-3 py-2 ring ring-[1px] transition-all ease-expo-out duration-snappy ring-neutral-4 fr inline-flex w-full items-center justify-center px-2.5 text-base shadow-[0_0_0_1px] outline-none focus:shadow-[0_0_0_2px]";
11004
10765
  const JobAlertsButton = D(
11005
10766
  ({ class: className, ...props }, ref) => /* @__PURE__ */ u$2(
@@ -11023,8 +10784,7 @@ const JobAlertsButton = D(
11023
10784
  const PopoverHeader = () => /* @__PURE__ */ u$2("p", { class: "text-neutral-11 px-2 pb-4 pt-1 text-sm", children: store.config$.value.headerText });
11024
10785
  const PrivacyPolicyLink = ({ label }) => {
11025
10786
  const url = store.config$.value.privacyPolicyUrl;
11026
- if (!url)
11027
- return null;
10787
+ if (!url) return null;
11028
10788
  return /* @__PURE__ */ u$2(
11029
10789
  "a",
11030
10790
  {
@@ -11052,8 +10812,7 @@ const JobAlerts = ({ theme, rpcClient, logger, analytics }) => {
11052
10812
  onSubmit: async (e2) => {
11053
10813
  var _a, _b, _c, _d;
11054
10814
  e2.preventDefault();
11055
- if (formState !== "idle")
11056
- return;
10815
+ if (formState !== "idle") return;
11057
10816
  const formData = new FormData(e2.currentTarget);
11058
10817
  const name = (_a = formData.get("name")) == null ? void 0 : _a.toString();
11059
10818
  const [firstName, ...rest] = (name == null ? void 0 : name.split(" ")) ?? [];
@@ -11138,6 +10897,7 @@ const JobAlerts = ({ theme, rpcClient, logger, analytics }) => {
11138
10897
  /* @__PURE__ */ u$2("div", { class: "text-neutral-10 absolute bottom-0 right-0 top-0 flex items-center p-1", "aria-hidden": true, children: /* @__PURE__ */ u$2(Icon, { name: "chevron-up-down" }) })
11139
10898
  ] })
11140
10899
  ] }),
10900
+ /* @__PURE__ */ u$2(SignupNotice, { employerName: store.config$.value.employerName }),
11141
10901
  /* @__PURE__ */ u$2(PrivacyPolicyLink, { label: t2("privacy_policy_link") }),
11142
10902
  /* @__PURE__ */ u$2(
11143
10903
  "button",
@@ -11806,6 +11566,10 @@ const tailwind = `#ija {
11806
11566
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
11807
11567
  }
11808
11568
 
11569
+ #ija .leading-snug {
11570
+ line-height: 1.375;
11571
+ }
11572
+
11809
11573
  #ija .text-\\[\\#E5484D\\] {
11810
11574
  --tw-text-opacity: 1;
11811
11575
  color: rgb(229 72 77 / var(--tw-text-opacity, 1));
@@ -12177,8 +11941,7 @@ const createJobAlertsDomManager = () => {
12177
11941
  return {
12178
11942
  getRenderTargetElement: () => {
12179
11943
  const element = document.body.querySelector(`#${JOB_ALERTS_ELEMENT_ID}`);
12180
- if (!element)
12181
- throw new Error(`Element with id ${JOB_ALERTS_ELEMENT_ID} not found.`);
11944
+ if (!element) throw new Error(`Element with id ${JOB_ALERTS_ELEMENT_ID} not found.`);
12182
11945
  return element;
12183
11946
  }
12184
11947
  };