@inploi/plugin-job-alerts 5.3.0 → 5.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/index.js +5 -41
- package/dist/index.d.ts +104 -1
- package/dist/plugin-job-alerts.cjs +292 -584
- package/dist/plugin-job-alerts.js +293 -585
- package/package.json +12 -12
- package/dist/index.cdn.d.ts +0 -9
- package/dist/job-alerts.constants.d.ts +0 -6
- package/dist/job-alerts.d.ts +0 -71
- package/dist/job-alerts.dev.d.ts +0 -1
- package/dist/job-alerts.terms.d.ts +0 -20
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
-
var __publicField = (obj, key, value) =>
|
|
4
|
-
|
|
5
|
-
return value;
|
|
6
|
-
};
|
|
7
|
-
import { saveSearchEndpoint, JOB_ALERT_FREQUENCIES, createPlugin } from "@inploi/sdk";
|
|
3
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
+
import { JOB_ALERT_FREQUENCIES, saveSearchEndpoint, createPlugin } from "@inploi/sdk";
|
|
8
5
|
function invariant(condition, message) {
|
|
9
6
|
if (condition) {
|
|
10
7
|
return;
|
|
@@ -13,8 +10,7 @@ function invariant(condition, message) {
|
|
|
13
10
|
}
|
|
14
11
|
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;
|
|
15
12
|
function w$4(n2, l2) {
|
|
16
|
-
for (var u2 in l2)
|
|
17
|
-
n2[u2] = l2[u2];
|
|
13
|
+
for (var u2 in l2) n2[u2] = l2[u2];
|
|
18
14
|
return n2;
|
|
19
15
|
}
|
|
20
16
|
function g$4(n2) {
|
|
@@ -22,11 +18,8 @@ function g$4(n2) {
|
|
|
22
18
|
}
|
|
23
19
|
function _$3(l2, u2, t2) {
|
|
24
20
|
var i2, r2, o2, e2 = {};
|
|
25
|
-
for (o2 in u2)
|
|
26
|
-
|
|
27
|
-
if (arguments.length > 2 && (e2.children = arguments.length > 3 ? n.call(arguments, 2) : t2), "function" == typeof l2 && null != l2.defaultProps)
|
|
28
|
-
for (o2 in l2.defaultProps)
|
|
29
|
-
void 0 === e2[o2] && (e2[o2] = l2.defaultProps[o2]);
|
|
21
|
+
for (o2 in u2) "key" == o2 ? i2 = u2[o2] : "ref" == o2 ? r2 = u2[o2] : e2[o2] = u2[o2];
|
|
22
|
+
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]);
|
|
30
23
|
return m$2(l2, e2, i2, r2, null);
|
|
31
24
|
}
|
|
32
25
|
function m$2(n2, t2, i2, r2, o2) {
|
|
@@ -43,11 +36,8 @@ function x$3(n2, l2) {
|
|
|
43
36
|
this.props = n2, this.context = l2;
|
|
44
37
|
}
|
|
45
38
|
function S(n2, l2) {
|
|
46
|
-
if (null == l2)
|
|
47
|
-
|
|
48
|
-
for (var u2; l2 < n2.__k.length; l2++)
|
|
49
|
-
if (null != (u2 = n2.__k[l2]) && null != u2.__e)
|
|
50
|
-
return u2.__e;
|
|
39
|
+
if (null == l2) return n2.__ ? S(n2.__, n2.__i + 1) : null;
|
|
40
|
+
for (var u2; l2 < n2.__k.length; l2++) if (null != (u2 = n2.__k[l2]) && null != u2.__e) return u2.__e;
|
|
51
41
|
return "function" == typeof n2.type ? S(n2) : null;
|
|
52
42
|
}
|
|
53
43
|
function C$3(n2) {
|
|
@@ -57,40 +47,32 @@ function C$3(n2) {
|
|
|
57
47
|
}
|
|
58
48
|
}
|
|
59
49
|
function M$2(n2) {
|
|
60
|
-
if (null != (n2 = n2.__) && null != n2.__c)
|
|
61
|
-
return n2.__e = n2.__c.base =
|
|
62
|
-
|
|
63
|
-
return n2.__e = n2.__c.base = l2.__e;
|
|
64
|
-
}), M$2(n2);
|
|
50
|
+
if (null != (n2 = n2.__) && null != n2.__c) return n2.__e = n2.__c.base = null, n2.__k.some(function(l2) {
|
|
51
|
+
if (null != l2 && null != l2.__e) return n2.__e = n2.__c.base = l2.__e;
|
|
52
|
+
}), M$2(n2);
|
|
65
53
|
}
|
|
66
54
|
function $$2(n2) {
|
|
67
55
|
(!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);
|
|
68
56
|
}
|
|
69
57
|
function I$2() {
|
|
70
|
-
for (var n2, l2 = 1; i$3.length; )
|
|
71
|
-
i$3.length > l2 && i$3.sort(e$2), n2 = i$3.shift(), l2 = i$3.length, C$3(n2);
|
|
58
|
+
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);
|
|
72
59
|
I$2.__r = 0;
|
|
73
60
|
}
|
|
74
61
|
function P$3(n2, l2, u2, t2, i2, r2, o2, e2, f2, c2, s2) {
|
|
75
62
|
var a2, h2, y2, d2, w2, g2, _2, m2 = t2 && t2.__k || v$3, b2 = l2.length;
|
|
76
|
-
for (f2 = A$3(u2, l2, m2, f2, b2), a2 = 0; a2 < b2; a2++)
|
|
77
|
-
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);
|
|
63
|
+
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);
|
|
78
64
|
return u2.__e = w2, f2;
|
|
79
65
|
}
|
|
80
66
|
function A$3(n2, l2, u2, t2, i2) {
|
|
81
67
|
var r2, o2, e2, f2, c2, s2 = u2.length, a2 = s2, h2 = 0;
|
|
82
|
-
for (n2.__k = new Array(i2), r2 = 0; r2 < i2; r2++)
|
|
83
|
-
|
|
84
|
-
if (a2)
|
|
85
|
-
for (r2 = 0; r2 < s2; r2++)
|
|
86
|
-
null != (e2 = u2[r2]) && 0 == (2 & e2.__u) && (e2.__e == t2 && (t2 = S(e2)), E$2(e2, e2));
|
|
68
|
+
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;
|
|
69
|
+
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));
|
|
87
70
|
return t2;
|
|
88
71
|
}
|
|
89
72
|
function H$2(n2, l2, u2, t2) {
|
|
90
73
|
var i2, r2;
|
|
91
74
|
if ("function" == typeof n2.type) {
|
|
92
|
-
for (i2 = n2.__k, r2 = 0; i2 && r2 < i2.length; r2++)
|
|
93
|
-
i2[r2] && (i2[r2].__ = n2, l2 = H$2(i2[r2], l2, u2, t2));
|
|
75
|
+
for (i2 = n2.__k, r2 = 0; i2 && r2 < i2.length; r2++) i2[r2] && (i2[r2].__ = n2, l2 = H$2(i2[r2], l2, u2, t2));
|
|
94
76
|
return l2;
|
|
95
77
|
}
|
|
96
78
|
n2.__e != l2 && (t2 && (l2 && n2.type && !l2.parentNode && (l2 = S(n2)), u2.insertBefore(n2.__e, l2 || null)), l2 = n2.__e);
|
|
@@ -106,12 +88,9 @@ function L$1(n2, l2) {
|
|
|
106
88
|
}
|
|
107
89
|
function T$2(n2, l2, u2, t2) {
|
|
108
90
|
var i2, r2, o2, e2 = n2.key, f2 = n2.type, c2 = l2[u2], s2 = null != c2 && 0 == (2 & c2.__u);
|
|
109
|
-
if (null === c2 && null == e2 || s2 && e2 == c2.key && f2 == c2.type)
|
|
110
|
-
return u2;
|
|
91
|
+
if (null === c2 && null == e2 || s2 && e2 == c2.key && f2 == c2.type) return u2;
|
|
111
92
|
if (t2 > (s2 ? 1 : 0)) {
|
|
112
|
-
for (i2 = u2 - 1, r2 = u2 + 1; i2 >= 0 || r2 < l2.length; )
|
|
113
|
-
if (null != (c2 = l2[o2 = i2 >= 0 ? i2-- : r2++]) && 0 == (2 & c2.__u) && e2 == c2.key && f2 == c2.type)
|
|
114
|
-
return o2;
|
|
93
|
+
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;
|
|
115
94
|
}
|
|
116
95
|
return -1;
|
|
117
96
|
}
|
|
@@ -120,97 +99,73 @@ function j$2(n2, l2, u2) {
|
|
|
120
99
|
}
|
|
121
100
|
function F$3(n2, l2, u2, t2, i2) {
|
|
122
101
|
var r2, o2;
|
|
123
|
-
n:
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
else if ("o" == l2[0] && "n" == l2[1])
|
|
136
|
-
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);
|
|
137
|
-
else {
|
|
138
|
-
if ("http://www.w3.org/2000/svg" == i2)
|
|
139
|
-
l2 = l2.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
140
|
-
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)
|
|
141
|
-
try {
|
|
142
|
-
n2[l2] = null == u2 ? "" : u2;
|
|
143
|
-
break n;
|
|
144
|
-
} catch (n3) {
|
|
145
|
-
}
|
|
146
|
-
"function" == typeof u2 || (null == u2 || false === u2 && "-" != l2[4] ? n2.removeAttribute(l2) : n2.setAttribute(l2, "popover" == l2 && 1 == u2 ? "" : u2));
|
|
102
|
+
n: if ("style" == l2) if ("string" == typeof u2) n2.style.cssText = u2;
|
|
103
|
+
else {
|
|
104
|
+
if ("string" == typeof t2 && (n2.style.cssText = t2 = ""), t2) for (l2 in t2) u2 && l2 in u2 || j$2(n2.style, l2, "");
|
|
105
|
+
if (u2) for (l2 in u2) t2 && u2[l2] == t2[l2] || j$2(n2.style, l2, u2[l2]);
|
|
106
|
+
}
|
|
107
|
+
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);
|
|
108
|
+
else {
|
|
109
|
+
if ("http://www.w3.org/2000/svg" == i2) l2 = l2.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
110
|
+
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 {
|
|
111
|
+
n2[l2] = null == u2 ? "" : u2;
|
|
112
|
+
break n;
|
|
113
|
+
} catch (n3) {
|
|
147
114
|
}
|
|
115
|
+
"function" == typeof u2 || (null == u2 || false === u2 && "-" != l2[4] ? n2.removeAttribute(l2) : n2.setAttribute(l2, "popover" == l2 && 1 == u2 ? "" : u2));
|
|
116
|
+
}
|
|
148
117
|
}
|
|
149
118
|
function O$2(n2) {
|
|
150
119
|
return function(u2) {
|
|
151
120
|
if (this.l) {
|
|
152
121
|
var t2 = this.l[u2.type + n2];
|
|
153
|
-
if (null == u2.t)
|
|
154
|
-
|
|
155
|
-
else if (u2.t < t2.u)
|
|
156
|
-
return;
|
|
122
|
+
if (null == u2.t) u2.t = c$3++;
|
|
123
|
+
else if (u2.t < t2.u) return;
|
|
157
124
|
return t2(l$4.event ? l$4.event(u2) : u2);
|
|
158
125
|
}
|
|
159
126
|
};
|
|
160
127
|
}
|
|
161
128
|
function z$3(n2, u2, t2, i2, r2, o2, e2, f2, c2, s2) {
|
|
162
129
|
var a2, h2, p2, y2, _2, m2, b2, S2, C2, M2, $2, I2, A2, H2, L2, T2 = u2.type;
|
|
163
|
-
if (void 0 !== u2.constructor)
|
|
164
|
-
return null;
|
|
130
|
+
if (void 0 !== u2.constructor) return null;
|
|
165
131
|
128 & t2.__u && (c2 = !!(32 & t2.__u), o2 = [f2 = u2.__e = t2.__e]), (a2 = l$4.__b) && a2(u2);
|
|
166
|
-
n:
|
|
167
|
-
if ("
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
for (L2 = o2.length; L2--; )
|
|
197
|
-
g$4(o2[L2]);
|
|
198
|
-
N$2(u2);
|
|
199
|
-
}
|
|
200
|
-
else
|
|
201
|
-
u2.__e = t2.__e, u2.__k = t2.__k, n3.then || N$2(u2);
|
|
202
|
-
l$4.__e(n3, u2, t2);
|
|
203
|
-
}
|
|
204
|
-
else
|
|
205
|
-
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);
|
|
132
|
+
n: if ("function" == typeof T2) try {
|
|
133
|
+
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);
|
|
134
|
+
else {
|
|
135
|
+
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)) {
|
|
136
|
+
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) {
|
|
137
|
+
n3 && (n3.__ = u2);
|
|
138
|
+
}), v$3.push.apply(h2.__h, h2._sb), h2._sb = [], h2.__h.length && e2.push(h2);
|
|
139
|
+
break n;
|
|
140
|
+
}
|
|
141
|
+
null != h2.componentWillUpdate && h2.componentWillUpdate(S2, h2.__s, $2), C2 && null != h2.componentDidUpdate && h2.__h.push(function() {
|
|
142
|
+
h2.componentDidUpdate(y2, _2, m2);
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
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 = [];
|
|
146
|
+
else do {
|
|
147
|
+
h2.__d = false, I2 && I2(u2), a2 = h2.render(h2.props, h2.state, h2.context), h2.state = h2.__s;
|
|
148
|
+
} while (h2.__d && ++A2 < 25);
|
|
149
|
+
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);
|
|
150
|
+
} catch (n3) {
|
|
151
|
+
if (u2.__v = null, c2 || null != o2) if (n3.then) {
|
|
152
|
+
for (u2.__u |= c2 ? 160 : 128; f2 && 8 == f2.nodeType && f2.nextSibling; ) f2 = f2.nextSibling;
|
|
153
|
+
o2[o2.indexOf(f2)] = null, u2.__e = f2;
|
|
154
|
+
} else {
|
|
155
|
+
for (L2 = o2.length; L2--; ) g$4(o2[L2]);
|
|
156
|
+
N$2(u2);
|
|
157
|
+
}
|
|
158
|
+
else u2.__e = t2.__e, u2.__k = t2.__k, n3.then || N$2(u2);
|
|
159
|
+
l$4.__e(n3, u2, t2);
|
|
160
|
+
}
|
|
161
|
+
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);
|
|
206
162
|
return (a2 = l$4.diffed) && a2(u2), 128 & u2.__u ? void 0 : f2;
|
|
207
163
|
}
|
|
208
164
|
function N$2(n2) {
|
|
209
165
|
n2 && (n2.__c && (n2.__c.__e = true), n2.__k && n2.__k.some(N$2));
|
|
210
166
|
}
|
|
211
167
|
function V$1(n2, u2, t2) {
|
|
212
|
-
for (var i2 = 0; i2 < t2.length; i2++)
|
|
213
|
-
D$3(t2[i2], t2[++i2], t2[++i2]);
|
|
168
|
+
for (var i2 = 0; i2 < t2.length; i2++) D$3(t2[i2], t2[++i2], t2[++i2]);
|
|
214
169
|
l$4.__c && l$4.__c(u2, n2), n2.some(function(u3) {
|
|
215
170
|
try {
|
|
216
171
|
n2 = u3.__h, u3.__h = [], n2.some(function(n3) {
|
|
@@ -227,32 +182,22 @@ function q$3(n2) {
|
|
|
227
182
|
function B$3(u2, t2, i2, r2, o2, e2, f2, c2, s2) {
|
|
228
183
|
var a2, h2, v2, y2, w2, _2, m2, b2 = i2.props || p$4, k2 = t2.props, x2 = t2.type;
|
|
229
184
|
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) {
|
|
230
|
-
for (a2 = 0; a2 < e2.length; a2++)
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
}
|
|
185
|
+
for (a2 = 0; a2 < e2.length; a2++) if ((w2 = e2[a2]) && "setAttribute" in w2 == !!x2 && (x2 ? w2.localName == x2 : 3 == w2.nodeType)) {
|
|
186
|
+
u2 = w2, e2[a2] = null;
|
|
187
|
+
break;
|
|
188
|
+
}
|
|
235
189
|
}
|
|
236
190
|
if (null == u2) {
|
|
237
|
-
if (null == x2)
|
|
238
|
-
return document.createTextNode(k2);
|
|
191
|
+
if (null == x2) return document.createTextNode(k2);
|
|
239
192
|
u2 = document.createElementNS(o2, x2, k2.is && k2), c2 && (l$4.__m && l$4.__m(t2, e2), c2 = false), e2 = null;
|
|
240
193
|
}
|
|
241
|
-
if (null == x2)
|
|
242
|
-
b2 === k2 || c2 && u2.data == k2 || (u2.data = k2);
|
|
194
|
+
if (null == x2) b2 === k2 || c2 && u2.data == k2 || (u2.data = k2);
|
|
243
195
|
else {
|
|
244
|
-
if (e2 = e2 && n.call(u2.childNodes), !c2 && null != e2)
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
for (a2 in k2)
|
|
250
|
-
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);
|
|
251
|
-
if (h2)
|
|
252
|
-
c2 || v2 && (h2.__html == v2.__html || h2.__html == u2.innerHTML) || (u2.innerHTML = h2.__html), t2.__k = [];
|
|
253
|
-
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)
|
|
254
|
-
for (a2 = e2.length; a2--; )
|
|
255
|
-
g$4(e2[a2]);
|
|
196
|
+
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;
|
|
197
|
+
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);
|
|
198
|
+
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);
|
|
199
|
+
if (h2) c2 || v2 && (h2.__html == v2.__html || h2.__html == u2.innerHTML) || (u2.innerHTML = h2.__html), t2.__k = [];
|
|
200
|
+
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]);
|
|
256
201
|
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));
|
|
257
202
|
}
|
|
258
203
|
return u2;
|
|
@@ -262,8 +207,7 @@ function D$3(n2, u2, t2) {
|
|
|
262
207
|
if ("function" == typeof n2) {
|
|
263
208
|
var i2 = "function" == typeof n2.__u;
|
|
264
209
|
i2 && n2.__u(), i2 && null == u2 || (n2.__u = n2(u2));
|
|
265
|
-
} else
|
|
266
|
-
n2.current = u2;
|
|
210
|
+
} else n2.current = u2;
|
|
267
211
|
} catch (n3) {
|
|
268
212
|
l$4.__e(n3, t2);
|
|
269
213
|
}
|
|
@@ -271,17 +215,14 @@ function D$3(n2, u2, t2) {
|
|
|
271
215
|
function E$2(n2, u2, t2) {
|
|
272
216
|
var i2, r2;
|
|
273
217
|
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)) {
|
|
274
|
-
if (i2.componentWillUnmount)
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
}
|
|
218
|
+
if (i2.componentWillUnmount) try {
|
|
219
|
+
i2.componentWillUnmount();
|
|
220
|
+
} catch (n3) {
|
|
221
|
+
l$4.__e(n3, u2);
|
|
222
|
+
}
|
|
280
223
|
i2.base = i2.__P = null;
|
|
281
224
|
}
|
|
282
|
-
if (i2 = n2.__k)
|
|
283
|
-
for (r2 = 0; r2 < i2.length; r2++)
|
|
284
|
-
i2[r2] && E$2(i2[r2], u2, t2 || "function" != typeof n2.type);
|
|
225
|
+
if (i2 = n2.__k) for (r2 = 0; r2 < i2.length; r2++) i2[r2] && E$2(i2[r2], u2, t2 || "function" != typeof n2.type);
|
|
285
226
|
t2 || g$4(n2.__e), n2.__c = n2.__ = n2.__e = void 0;
|
|
286
227
|
}
|
|
287
228
|
function G$2(n2, l2, u2) {
|
|
@@ -296,8 +237,7 @@ function K$1(n2, l2) {
|
|
|
296
237
|
}
|
|
297
238
|
function Q$1(l2, u2, t2) {
|
|
298
239
|
var i2, r2, o2, e2, f2 = w$4({}, l2.props);
|
|
299
|
-
for (o2 in l2.type && l2.type.defaultProps && (e2 = l2.type.defaultProps), u2)
|
|
300
|
-
"key" == o2 ? i2 = u2[o2] : "ref" == o2 ? r2 = u2[o2] : f2[o2] = void 0 === u2[o2] && null != e2 ? e2[o2] : u2[o2];
|
|
240
|
+
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];
|
|
301
241
|
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);
|
|
302
242
|
}
|
|
303
243
|
function R$2(n2) {
|
|
@@ -324,14 +264,11 @@ function R$2(n2) {
|
|
|
324
264
|
}).contextType = l2, l2;
|
|
325
265
|
}
|
|
326
266
|
n = v$3.slice, l$4 = { __e: function(n2, l2, u2, t2) {
|
|
327
|
-
for (var i2, r2, o2; l2 = l2.__; )
|
|
328
|
-
if ((i2 =
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
} catch (l3) {
|
|
333
|
-
n2 = l3;
|
|
334
|
-
}
|
|
267
|
+
for (var i2, r2, o2; l2 = l2.__; ) if ((i2 = l2.__c) && !i2.__) try {
|
|
268
|
+
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;
|
|
269
|
+
} catch (l3) {
|
|
270
|
+
n2 = l3;
|
|
271
|
+
}
|
|
335
272
|
throw n2;
|
|
336
273
|
} }, u$4 = 0, t$2 = function(n2) {
|
|
337
274
|
return null != n2 && void 0 === n2.constructor;
|
|
@@ -355,8 +292,7 @@ function y$2(e2) {
|
|
|
355
292
|
}
|
|
356
293
|
var _$2 = /["&<]/;
|
|
357
294
|
function g$3(e2) {
|
|
358
|
-
if (0 === e2.length || false === _$2.test(e2))
|
|
359
|
-
return e2;
|
|
295
|
+
if (0 === e2.length || false === _$2.test(e2)) return e2;
|
|
360
296
|
for (var t2 = 0, n2 = 0, r2 = "", o2 = ""; n2 < e2.length; n2++) {
|
|
361
297
|
switch (e2.charCodeAt(n2)) {
|
|
362
298
|
case 34:
|
|
@@ -403,8 +339,7 @@ function B$2(a2, u2, s2) {
|
|
|
403
339
|
var p2 = O$1(a2, u2 || F$2, false, void 0, f2, false, s2);
|
|
404
340
|
return W$1(p2) ? p2.join(H$1) : p2;
|
|
405
341
|
} catch (e2) {
|
|
406
|
-
if (e2.then)
|
|
407
|
-
throw new Error('Use "renderToStringAsync" for suspenseful rendering.');
|
|
342
|
+
if (e2.then) throw new Error('Use "renderToStringAsync" for suspenseful rendering.');
|
|
408
343
|
throw e2;
|
|
409
344
|
} finally {
|
|
410
345
|
l$4[o$2] && l$4[o$2](a2, M$1), l$4[i$2] = l2, M$1.length = 0;
|
|
@@ -415,11 +350,9 @@ function I$1(e2, t2) {
|
|
|
415
350
|
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);
|
|
416
351
|
}
|
|
417
352
|
function O$1(t2, r2, o2, i2, u2, _2, b2) {
|
|
418
|
-
if (null == t2 || true === t2 || false === t2 || t2 === H$1)
|
|
419
|
-
return H$1;
|
|
353
|
+
if (null == t2 || true === t2 || false === t2 || t2 === H$1) return H$1;
|
|
420
354
|
var x2 = typeof t2;
|
|
421
|
-
if ("object" != x2)
|
|
422
|
-
return "function" == x2 ? H$1 : "string" == x2 ? g$3(t2) : t2 + H$1;
|
|
355
|
+
if ("object" != x2) return "function" == x2 ? H$1 : "string" == x2 ? g$3(t2) : t2 + H$1;
|
|
423
356
|
if (W$1(t2)) {
|
|
424
357
|
var k2, C2 = H$1;
|
|
425
358
|
u2[c$2] = t2;
|
|
@@ -432,25 +365,21 @@ function O$1(t2, r2, o2, i2, u2, _2, b2) {
|
|
|
432
365
|
}
|
|
433
366
|
return k2 ? (C2 && k2.push(C2), k2) : C2;
|
|
434
367
|
}
|
|
435
|
-
if (void 0 !== t2.constructor)
|
|
436
|
-
return H$1;
|
|
368
|
+
if (void 0 !== t2.constructor) return H$1;
|
|
437
369
|
t2.__ = u2, D$2 && D$2(t2);
|
|
438
370
|
var Z2 = t2.type, M2 = t2.props;
|
|
439
371
|
if ("function" == typeof Z2) {
|
|
440
372
|
var B2, V2, K2, J2 = r2;
|
|
441
373
|
if (Z2 === k$3) {
|
|
442
374
|
if ("tpl" in M2) {
|
|
443
|
-
for (var Q2 = H$1, X2 = 0; X2 < M2.tpl.length; X2++)
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
"object" != typeof Y2 || void 0 !== Y2.constructor && !W$1(Y2) ? Q2 += Y2 : Q2 += O$1(Y2, r2, o2, i2, t2, _2, b2);
|
|
449
|
-
}
|
|
375
|
+
for (var Q2 = H$1, X2 = 0; X2 < M2.tpl.length; X2++) if (Q2 += M2.tpl[X2], M2.exprs && X2 < M2.exprs.length) {
|
|
376
|
+
var Y2 = M2.exprs[X2];
|
|
377
|
+
if (null == Y2) continue;
|
|
378
|
+
"object" != typeof Y2 || void 0 !== Y2.constructor && !W$1(Y2) ? Q2 += Y2 : Q2 += O$1(Y2, r2, o2, i2, t2, _2, b2);
|
|
379
|
+
}
|
|
450
380
|
return Q2;
|
|
451
381
|
}
|
|
452
|
-
if ("UNSTABLE_comment" in M2)
|
|
453
|
-
return "<!--" + g$3(M2.UNSTABLE_comment) + "-->";
|
|
382
|
+
if ("UNSTABLE_comment" in M2) return "<!--" + g$3(M2.UNSTABLE_comment) + "-->";
|
|
454
383
|
V2 = M2.children;
|
|
455
384
|
} else {
|
|
456
385
|
if (null != (B2 = Z2.contextType)) {
|
|
@@ -458,9 +387,8 @@ function O$1(t2, r2, o2, i2, u2, _2, b2) {
|
|
|
458
387
|
J2 = ee ? ee.props.value : B2.__;
|
|
459
388
|
}
|
|
460
389
|
var te = Z2.prototype && "function" == typeof Z2.prototype.render;
|
|
461
|
-
if (te)
|
|
462
|
-
|
|
463
|
-
I$1(t2, J2), K2 = t2[a$2];
|
|
390
|
+
if (te) V2 = /**#__NOINLINE__**/
|
|
391
|
+
I$1(t2, J2), K2 = t2[a$2];
|
|
464
392
|
else {
|
|
465
393
|
t2[a$2] = K2 = /**#__NOINLINE__**/
|
|
466
394
|
A$2(t2, J2);
|
|
@@ -469,7 +397,7 @@ function O$1(t2, r2, o2, i2, u2, _2, b2) {
|
|
|
469
397
|
try {
|
|
470
398
|
V2 = Z2.call(K2, M2, J2);
|
|
471
399
|
} catch (e2) {
|
|
472
|
-
throw
|
|
400
|
+
throw e2;
|
|
473
401
|
}
|
|
474
402
|
}
|
|
475
403
|
v$2(K2);
|
|
@@ -492,8 +420,8 @@ function O$1(t2, r2, o2, i2, u2, _2, b2) {
|
|
|
492
420
|
return N$1 + e2 + q$2;
|
|
493
421
|
}) : re;
|
|
494
422
|
} catch (n2) {
|
|
495
|
-
if (
|
|
496
|
-
var oe = function e2(n3) {
|
|
423
|
+
if (b2 && b2.onError) {
|
|
424
|
+
var oe = (function e2(n3) {
|
|
497
425
|
return b2.onError(n3, t2, function(t3, n4) {
|
|
498
426
|
try {
|
|
499
427
|
return O$1(t3, r2, o2, i2, n4, _2, b2);
|
|
@@ -501,26 +429,12 @@ function O$1(t2, r2, o2, i2, u2, _2, b2) {
|
|
|
501
429
|
return e2(t4);
|
|
502
430
|
}
|
|
503
431
|
});
|
|
504
|
-
}(n2);
|
|
505
|
-
if (void 0 !== oe)
|
|
506
|
-
return oe;
|
|
432
|
+
})(n2);
|
|
433
|
+
if (void 0 !== oe) return oe;
|
|
507
434
|
var ie = l$4.__e;
|
|
508
435
|
return ie && ie(n2, t2), H$1;
|
|
509
436
|
}
|
|
510
|
-
|
|
511
|
-
throw n2;
|
|
512
|
-
if (!n2 || "function" != typeof n2.then)
|
|
513
|
-
throw n2;
|
|
514
|
-
return n2.then(function e2() {
|
|
515
|
-
try {
|
|
516
|
-
var n3 = O$1(V2, r2, o2, i2, t2, _2, b2);
|
|
517
|
-
return t2._suspended ? N$1 + n3 + q$2 : n3;
|
|
518
|
-
} catch (t3) {
|
|
519
|
-
if (!t3 || "function" != typeof t3.then)
|
|
520
|
-
throw t3;
|
|
521
|
-
return t3.then(e2);
|
|
522
|
-
}
|
|
523
|
-
});
|
|
437
|
+
throw n2;
|
|
524
438
|
}
|
|
525
439
|
}
|
|
526
440
|
var ae, ce = "<" + Z2, ue = H$1;
|
|
@@ -537,13 +451,11 @@ function O$1(t2, r2, o2, i2, u2, _2, b2) {
|
|
|
537
451
|
case "__source":
|
|
538
452
|
continue;
|
|
539
453
|
case "htmlFor":
|
|
540
|
-
if ("for" in M2)
|
|
541
|
-
continue;
|
|
454
|
+
if ("for" in M2) continue;
|
|
542
455
|
se = "for";
|
|
543
456
|
break;
|
|
544
457
|
case "className":
|
|
545
|
-
if ("class" in M2)
|
|
546
|
-
continue;
|
|
458
|
+
if ("class" in M2) continue;
|
|
547
459
|
se = "class";
|
|
548
460
|
break;
|
|
549
461
|
case "defaultChecked":
|
|
@@ -578,21 +490,17 @@ function O$1(t2, r2, o2, i2, u2, _2, b2) {
|
|
|
578
490
|
se = "http-equiv";
|
|
579
491
|
break;
|
|
580
492
|
default:
|
|
581
|
-
if (f$3.test(se))
|
|
582
|
-
se = se.replace(f$3, "$1:$2").toLowerCase();
|
|
493
|
+
if (f$3.test(se)) se = se.replace(f$3, "$1:$2").toLowerCase();
|
|
583
494
|
else {
|
|
584
|
-
if (l$3.test(se))
|
|
585
|
-
continue;
|
|
495
|
+
if (l$3.test(se)) continue;
|
|
586
496
|
"-" !== 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;
|
|
587
497
|
}
|
|
588
498
|
}
|
|
589
499
|
null != le && false !== le && (ce = true === le || le === H$1 ? ce + " " + se : ce + " " + se + '="' + ("string" == typeof le ? g$3(le) : le + H$1) + '"');
|
|
590
500
|
}
|
|
591
501
|
}
|
|
592
|
-
if (l$3.test(Z2))
|
|
593
|
-
|
|
594
|
-
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))
|
|
595
|
-
return ce + "/>";
|
|
502
|
+
if (l$3.test(Z2)) throw new Error(Z2 + " is not a valid HTML tag name in " + ce + ">");
|
|
503
|
+
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 + "/>";
|
|
596
504
|
var fe = "</" + Z2 + ">", pe = ce + ">";
|
|
597
505
|
return W$1(ue) ? [pe].concat(ue, [fe]) : "string" != typeof ue ? [pe, ue, fe] : pe + ue + fe;
|
|
598
506
|
}
|
|
@@ -604,13 +512,9 @@ var f$2 = 0;
|
|
|
604
512
|
function u$2(e2, t2, n2, o2, i2, u2) {
|
|
605
513
|
t2 || (t2 = {});
|
|
606
514
|
var a2, c2, p2 = t2;
|
|
607
|
-
if ("ref" in p2)
|
|
608
|
-
for (c2 in p2 = {}, t2)
|
|
609
|
-
"ref" == c2 ? a2 = t2[c2] : p2[c2] = t2[c2];
|
|
515
|
+
if ("ref" in p2) for (c2 in p2 = {}, t2) "ref" == c2 ? a2 = t2[c2] : p2[c2] = t2[c2];
|
|
610
516
|
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 };
|
|
611
|
-
if ("function" == typeof e2 && (a2 = e2.defaultProps))
|
|
612
|
-
for (c2 in a2)
|
|
613
|
-
void 0 === p2[c2] && (p2[c2] = a2[c2]);
|
|
517
|
+
if ("function" == typeof e2 && (a2 = e2.defaultProps)) for (c2 in a2) void 0 === p2[c2] && (p2[c2] = a2[c2]);
|
|
614
518
|
return l$4.vnode && l$4.vnode(l2), l2;
|
|
615
519
|
}
|
|
616
520
|
const icons = {
|
|
@@ -650,15 +554,13 @@ function h$2(n2, u2, i2) {
|
|
|
650
554
|
t2 !== r2 && (o2.__N = [r2, o2.__[1]], o2.__c.setState({}));
|
|
651
555
|
}], o2.__c = r$1, !r$1.__f)) {
|
|
652
556
|
var f2 = function(n3, t2, r2) {
|
|
653
|
-
if (!o2.__c.__H)
|
|
654
|
-
return true;
|
|
557
|
+
if (!o2.__c.__H) return true;
|
|
655
558
|
var u3 = o2.__c.__H.__.filter(function(n4) {
|
|
656
559
|
return n4.__c;
|
|
657
560
|
});
|
|
658
561
|
if (u3.every(function(n4) {
|
|
659
562
|
return !n4.__N;
|
|
660
|
-
}))
|
|
661
|
-
return !c2 || c2.call(this, n3, t2, r2);
|
|
563
|
+
})) return !c2 || c2.call(this, n3, t2, r2);
|
|
662
564
|
var i3 = o2.__c.props !== n3;
|
|
663
565
|
return u3.some(function(n4) {
|
|
664
566
|
if (n4.__N) {
|
|
@@ -700,10 +602,9 @@ function F$1(n2, t2, r2) {
|
|
|
700
602
|
n2(null), r3 && "function" == typeof r3 && r3();
|
|
701
603
|
};
|
|
702
604
|
}
|
|
703
|
-
if (n2)
|
|
704
|
-
return n2.current =
|
|
705
|
-
|
|
706
|
-
};
|
|
605
|
+
if (n2) return n2.current = t2(), function() {
|
|
606
|
+
return n2.current = null;
|
|
607
|
+
};
|
|
707
608
|
}, null == r2 ? r2 : r2.concat(n2));
|
|
708
609
|
}
|
|
709
610
|
function T$1(n2, r2) {
|
|
@@ -733,8 +634,7 @@ function b$1(n2) {
|
|
|
733
634
|
function g$2() {
|
|
734
635
|
var n2 = p$2(t$1++, 11);
|
|
735
636
|
if (!n2.__) {
|
|
736
|
-
for (var u2 = r$1.__v; null !== u2 && !u2.__m && null !== u2.__; )
|
|
737
|
-
u2 = u2.__;
|
|
637
|
+
for (var u2 = r$1.__v; null !== u2 && !u2.__m && null !== u2.__; ) u2 = u2.__;
|
|
738
638
|
var i2 = u2.__m || (u2.__m = [0, 0]);
|
|
739
639
|
n2.__ = "P" + i2[0] + "-" + i2[1]++;
|
|
740
640
|
}
|
|
@@ -743,12 +643,11 @@ function g$2() {
|
|
|
743
643
|
function j$1() {
|
|
744
644
|
for (var n2; n2 = f$1.shift(); ) {
|
|
745
645
|
var t2 = n2.__H;
|
|
746
|
-
if (n2.__P && t2)
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
}
|
|
646
|
+
if (n2.__P && t2) try {
|
|
647
|
+
t2.__h.some(z$1), t2.__h.some(B$1), t2.__h = [];
|
|
648
|
+
} catch (r2) {
|
|
649
|
+
t2.__h = [], c$1.__e(r2, n2.__v);
|
|
650
|
+
}
|
|
752
651
|
}
|
|
753
652
|
}
|
|
754
653
|
c$1.__b = function(n2) {
|
|
@@ -814,17 +713,12 @@ function D$1(n2, t2) {
|
|
|
814
713
|
return "function" == typeof t2 ? t2(n2) : t2;
|
|
815
714
|
}
|
|
816
715
|
function g$1(n2, t2) {
|
|
817
|
-
for (var e2 in t2)
|
|
818
|
-
n2[e2] = t2[e2];
|
|
716
|
+
for (var e2 in t2) n2[e2] = t2[e2];
|
|
819
717
|
return n2;
|
|
820
718
|
}
|
|
821
719
|
function E$1(n2, t2) {
|
|
822
|
-
for (var e2 in n2)
|
|
823
|
-
|
|
824
|
-
return true;
|
|
825
|
-
for (var r2 in t2)
|
|
826
|
-
if ("__source" !== r2 && n2[r2] !== t2[r2])
|
|
827
|
-
return true;
|
|
720
|
+
for (var e2 in n2) if ("__source" !== e2 && !(e2 in t2)) return true;
|
|
721
|
+
for (var r2 in t2) if ("__source" !== r2 && n2[r2] !== t2[r2]) return true;
|
|
828
722
|
return false;
|
|
829
723
|
}
|
|
830
724
|
function C(n2, t2) {
|
|
@@ -875,7 +769,7 @@ var T = l$4.__b;
|
|
|
875
769
|
l$4.__b = function(n2) {
|
|
876
770
|
n2.type && n2.type.__f && n2.ref && (n2.props.ref = n2.ref, n2.ref = null), T && T(n2);
|
|
877
771
|
};
|
|
878
|
-
var A = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.forward_ref") || 3911;
|
|
772
|
+
var A = "undefined" != typeof Symbol && Symbol.for && /* @__PURE__ */ Symbol.for("react.forward_ref") || 3911;
|
|
879
773
|
function D(n2) {
|
|
880
774
|
function t2(t3) {
|
|
881
775
|
var e2 = g$1({}, t3);
|
|
@@ -889,15 +783,12 @@ var L = function(n2, t2) {
|
|
|
889
783
|
return n2 ? L$1(n2).length : 0;
|
|
890
784
|
}, only: function(n2) {
|
|
891
785
|
var t2 = L$1(n2);
|
|
892
|
-
if (1 !== t2.length)
|
|
893
|
-
throw "Children.only";
|
|
786
|
+
if (1 !== t2.length) throw "Children.only";
|
|
894
787
|
return t2[0];
|
|
895
788
|
}, toArray: L$1 }, U = l$4.__e;
|
|
896
789
|
l$4.__e = function(n2, t2, e2, r2) {
|
|
897
790
|
if (n2.then) {
|
|
898
|
-
for (var u2, o2 = t2; o2 = o2.__; )
|
|
899
|
-
if ((u2 = o2.__c) && u2.__c)
|
|
900
|
-
return null == t2.__e && (t2.__e = e2.__e, t2.__k = e2.__k), u2.__c(n2, t2);
|
|
791
|
+
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);
|
|
901
792
|
}
|
|
902
793
|
U(n2, t2, e2, r2);
|
|
903
794
|
};
|
|
@@ -918,8 +809,7 @@ function P() {
|
|
|
918
809
|
this.__u = 0, this.o = null, this.__b = null;
|
|
919
810
|
}
|
|
920
811
|
function j(n2) {
|
|
921
|
-
if (!n2.__)
|
|
922
|
-
return null;
|
|
812
|
+
if (!n2.__) return null;
|
|
923
813
|
var t2 = n2.__.__c;
|
|
924
814
|
return t2 && t2.__a && t2.__a(n2);
|
|
925
815
|
}
|
|
@@ -930,10 +820,8 @@ function z(n2) {
|
|
|
930
820
|
n3 && (o2 = n3.default || n3), u2 = true;
|
|
931
821
|
}, function(n3) {
|
|
932
822
|
r2 = n3, u2 = true;
|
|
933
|
-
}), r2)
|
|
934
|
-
|
|
935
|
-
if (!u2)
|
|
936
|
-
throw e2;
|
|
823
|
+
}), r2) throw r2;
|
|
824
|
+
if (!u2) throw e2;
|
|
937
825
|
return o2 ? _$3(o2, i3) : null;
|
|
938
826
|
}
|
|
939
827
|
return i2.displayName = "Lazy", i2.__f = true, i2;
|
|
@@ -960,8 +848,7 @@ l$4.unmount = function(n2) {
|
|
|
960
848
|
r2.__v.__k[0] = W(n3, n3.__c.__P, n3.__c.__O);
|
|
961
849
|
}
|
|
962
850
|
var t3;
|
|
963
|
-
for (r2.setState({ __a: r2.__b = null }); t3 = r2.o.pop(); )
|
|
964
|
-
t3.__P = l2, t3.forceUpdate();
|
|
851
|
+
for (r2.setState({ __a: r2.__b = null }); t3 = r2.o.pop(); ) t3.__P = l2, t3.forceUpdate();
|
|
965
852
|
}
|
|
966
853
|
};
|
|
967
854
|
r2.__u++ || 32 & t2.__u || r2.setState({ __a: r2.__b = r2.__v.__k[0] }), n2.then(i2, i2);
|
|
@@ -979,14 +866,11 @@ l$4.unmount = function(n2) {
|
|
|
979
866
|
return i2 && (i2.__u &= -33), [_$3(k$3, null, e2.__a ? null : n2.children), i2];
|
|
980
867
|
};
|
|
981
868
|
var H = function(n2, t2, e2) {
|
|
982
|
-
if (++e2[1] === e2[0] && n2.l.delete(t2), n2.props.revealOrder && ("t" !== n2.props.revealOrder[0] || !n2.l.size))
|
|
983
|
-
for (e2
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
break;
|
|
988
|
-
n2.i = e2 = e2[2];
|
|
989
|
-
}
|
|
869
|
+
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; ) {
|
|
870
|
+
for (; e2.length > 3; ) e2.pop()();
|
|
871
|
+
if (e2[1] < e2[0]) break;
|
|
872
|
+
n2.i = e2 = e2[2];
|
|
873
|
+
}
|
|
990
874
|
};
|
|
991
875
|
function Z(n2) {
|
|
992
876
|
return this.getChildContext = function() {
|
|
@@ -998,8 +882,7 @@ function Y(n2) {
|
|
|
998
882
|
if (e2.componentWillUnmount = function() {
|
|
999
883
|
J$1(null, e2.v), e2.v = null, e2.h = null;
|
|
1000
884
|
}, e2.h && e2.h !== r2 && e2.componentWillUnmount(), !e2.v) {
|
|
1001
|
-
for (var u2 = e2.__v; null !== u2 && !u2.__m && null !== u2.__; )
|
|
1002
|
-
u2 = u2.__;
|
|
885
|
+
for (var u2 = e2.__v; null !== u2 && !u2.__m && null !== u2.__; ) u2 = u2.__;
|
|
1003
886
|
e2.h = r2, e2.v = { nodeType: 1, parentNode: r2, childNodes: [], __k: { __m: u2.__m }, contains: function() {
|
|
1004
887
|
return true;
|
|
1005
888
|
}, namespaceURI: r2.namespaceURI, insertBefore: function(n3, t2) {
|
|
@@ -1026,8 +909,7 @@ function $(n2, e2) {
|
|
|
1026
909
|
this.i = null, this.l = /* @__PURE__ */ new Map();
|
|
1027
910
|
var t2 = L$1(n2.children);
|
|
1028
911
|
n2.revealOrder && "b" === n2.revealOrder[0] && t2.reverse();
|
|
1029
|
-
for (var e2 = t2.length; e2--; )
|
|
1030
|
-
this.l.set(t2[e2], this.i = [1, 0, this.i]);
|
|
912
|
+
for (var e2 = t2.length; e2--; ) this.l.set(t2[e2], this.i = [1, 0, this.i]);
|
|
1031
913
|
return n2.children;
|
|
1032
914
|
}, B.prototype.componentDidUpdate = B.prototype.componentDidMount = function() {
|
|
1033
915
|
var n2 = this;
|
|
@@ -1035,8 +917,8 @@ function $(n2, e2) {
|
|
|
1035
917
|
H(n2, e2, t2);
|
|
1036
918
|
});
|
|
1037
919
|
};
|
|
1038
|
-
var q = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.element") || 60103, G = /^(?: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]/, J = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, K = /[A-Z0-9]/g, Q = "undefined" != typeof document, X = function(n2) {
|
|
1039
|
-
return ("undefined" != typeof Symbol && "symbol" == typeof Symbol() ? /fil|che|rad/ : /fil|che|ra/).test(n2);
|
|
920
|
+
var q = "undefined" != typeof Symbol && Symbol.for && /* @__PURE__ */ Symbol.for("react.element") || 60103, G = /^(?: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]/, J = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, K = /[A-Z0-9]/g, Q = "undefined" != typeof document, X = function(n2) {
|
|
921
|
+
return ("undefined" != typeof Symbol && "symbol" == typeof /* @__PURE__ */ Symbol() ? /fil|che|rad/ : /fil|che|ra/).test(n2);
|
|
1040
922
|
};
|
|
1041
923
|
function nn(n2, t2, e2) {
|
|
1042
924
|
return null == t2.__k && (t2.textContent = ""), J$1(n2, t2), "function" == typeof e2 && e2(), n2 ? n2.__c : null;
|
|
@@ -1067,7 +949,7 @@ var ln, cn = { enumerable: false, configurable: true, get: function() {
|
|
|
1067
949
|
return this.class;
|
|
1068
950
|
} }, fn = l$4.vnode;
|
|
1069
951
|
l$4.vnode = function(n2) {
|
|
1070
|
-
"string" == typeof n2.type && function(n3) {
|
|
952
|
+
"string" == typeof n2.type && (function(n3) {
|
|
1071
953
|
var t2 = n3.props, e2 = n3.type, u2 = {}, o2 = -1 === e2.indexOf("-");
|
|
1072
954
|
for (var i2 in t2) {
|
|
1073
955
|
var l2 = t2[i2];
|
|
@@ -1081,7 +963,7 @@ l$4.vnode = function(n2) {
|
|
|
1081
963
|
})), "select" == e2 && null != u2.defaultValue && (u2.value = L$1(t2.children).forEach(function(n4) {
|
|
1082
964
|
n4.props.selected = u2.multiple ? -1 != u2.defaultValue.indexOf(n4.props.value) : u2.defaultValue == n4.props.value;
|
|
1083
965
|
})), t2.class && !t2.className ? (u2.class = t2.class, Object.defineProperty(u2, "className", cn)) : t2.className && (u2.class = u2.className = t2.className), n3.props = u2;
|
|
1084
|
-
}(n2), n2.$$typeof = q, fn && fn(n2);
|
|
966
|
+
})(n2), n2.$$typeof = q, fn && fn(n2);
|
|
1085
967
|
};
|
|
1086
968
|
var an = l$4.__r;
|
|
1087
969
|
l$4.__r = function(n2) {
|
|
@@ -1223,8 +1105,7 @@ function isOverflowElement$1(element) {
|
|
|
1223
1105
|
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);
|
|
1224
1106
|
}
|
|
1225
1107
|
function isWebKit$2() {
|
|
1226
|
-
if (typeof CSS === "undefined" || !CSS.supports)
|
|
1227
|
-
return false;
|
|
1108
|
+
if (typeof CSS === "undefined" || !CSS.supports) return false;
|
|
1228
1109
|
return CSS.supports("-webkit-backdrop-filter", "none");
|
|
1229
1110
|
}
|
|
1230
1111
|
const lastTraversableNodeNames = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
@@ -1843,10 +1724,6 @@ function getPaddingObject$1(padding) {
|
|
|
1843
1724
|
left: padding
|
|
1844
1725
|
};
|
|
1845
1726
|
}
|
|
1846
|
-
/*!
|
|
1847
|
-
* tabbable 6.3.0
|
|
1848
|
-
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
1849
|
-
*/
|
|
1850
1727
|
var candidateSelectors = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"];
|
|
1851
1728
|
var candidateSelector = /* @__PURE__ */ candidateSelectors.join(",");
|
|
1852
1729
|
var NoElement = typeof Element === "undefined";
|
|
@@ -2317,11 +2194,9 @@ class FloatingTreeStore {
|
|
|
2317
2194
|
}
|
|
2318
2195
|
}
|
|
2319
2196
|
const FloatingNodeContext = /* @__PURE__ */ R$2(null);
|
|
2320
|
-
if (process.env.NODE_ENV !== "production")
|
|
2321
|
-
FloatingNodeContext.displayName = "FloatingNodeContext";
|
|
2197
|
+
if (process.env.NODE_ENV !== "production") FloatingNodeContext.displayName = "FloatingNodeContext";
|
|
2322
2198
|
const FloatingTreeContext = /* @__PURE__ */ R$2(null);
|
|
2323
|
-
if (process.env.NODE_ENV !== "production")
|
|
2324
|
-
FloatingTreeContext.displayName = "FloatingTreeContext";
|
|
2199
|
+
if (process.env.NODE_ENV !== "production") FloatingTreeContext.displayName = "FloatingTreeContext";
|
|
2325
2200
|
const useFloatingParentNodeId = () => {
|
|
2326
2201
|
var _a;
|
|
2327
2202
|
return ((_a = x$1(FloatingNodeContext)) == null ? void 0 : _a.id) || null;
|
|
@@ -2400,7 +2275,7 @@ const imperativeAction = "imperative-action";
|
|
|
2400
2275
|
function createChangeEventDetails(reason, event, trigger, customProperties) {
|
|
2401
2276
|
let canceled = false;
|
|
2402
2277
|
let allowPropagation = false;
|
|
2403
|
-
const custom =
|
|
2278
|
+
const custom = EMPTY_OBJECT;
|
|
2404
2279
|
const details = {
|
|
2405
2280
|
reason,
|
|
2406
2281
|
event: event ?? new Event("base-ui"),
|
|
@@ -2559,8 +2434,7 @@ const FocusGuard = /* @__PURE__ */ D(function FocusGuard2(props, ref) {
|
|
|
2559
2434
|
"data-base-ui-focus-guard": ""
|
|
2560
2435
|
});
|
|
2561
2436
|
});
|
|
2562
|
-
if (process.env.NODE_ENV !== "production")
|
|
2563
|
-
FocusGuard.displayName = "FocusGuard";
|
|
2437
|
+
if (process.env.NODE_ENV !== "production") FocusGuard.displayName = "FocusGuard";
|
|
2564
2438
|
let rafId = 0;
|
|
2565
2439
|
function enqueueFocus(el, options = {}) {
|
|
2566
2440
|
const {
|
|
@@ -2761,9 +2635,6 @@ function mergeProps$1(a2, b2, c2, d2, e2) {
|
|
|
2761
2635
|
if (d2) {
|
|
2762
2636
|
merged = mergeOne(merged, d2);
|
|
2763
2637
|
}
|
|
2764
|
-
if (e2) {
|
|
2765
|
-
merged = mergeOne(merged, e2);
|
|
2766
|
-
}
|
|
2767
2638
|
return merged;
|
|
2768
2639
|
}
|
|
2769
2640
|
function mergePropsN(props) {
|
|
@@ -2948,8 +2819,7 @@ function renderTag(Tag, props) {
|
|
|
2948
2819
|
return /* @__PURE__ */ _$3(Tag, props);
|
|
2949
2820
|
}
|
|
2950
2821
|
const PortalContext = /* @__PURE__ */ R$2(null);
|
|
2951
|
-
if (process.env.NODE_ENV !== "production")
|
|
2952
|
-
PortalContext.displayName = "PortalContext";
|
|
2822
|
+
if (process.env.NODE_ENV !== "production") PortalContext.displayName = "PortalContext";
|
|
2953
2823
|
const usePortalContext = () => x$1(PortalContext);
|
|
2954
2824
|
const attr = createAttribute("portal");
|
|
2955
2825
|
function useFloatingPortalNode(props = {}) {
|
|
@@ -3104,8 +2974,7 @@ const FloatingPortal = /* @__PURE__ */ D(function FloatingPortal2(componentProps
|
|
|
3104
2974
|
})]
|
|
3105
2975
|
});
|
|
3106
2976
|
});
|
|
3107
|
-
if (process.env.NODE_ENV !== "production")
|
|
3108
|
-
FloatingPortal.displayName = "FloatingPortal";
|
|
2977
|
+
if (process.env.NODE_ENV !== "production") FloatingPortal.displayName = "FloatingPortal";
|
|
3109
2978
|
function resolveRef(maybeRef) {
|
|
3110
2979
|
if (maybeRef == null) {
|
|
3111
2980
|
return maybeRef;
|
|
@@ -3799,8 +3668,7 @@ function getSideList(side, isStart, rtl) {
|
|
|
3799
3668
|
switch (side) {
|
|
3800
3669
|
case "top":
|
|
3801
3670
|
case "bottom":
|
|
3802
|
-
if (rtl)
|
|
3803
|
-
return isStart ? rlPlacement : lrPlacement;
|
|
3671
|
+
if (rtl) return isStart ? rlPlacement : lrPlacement;
|
|
3804
3672
|
return isStart ? lrPlacement : rlPlacement;
|
|
3805
3673
|
case "left":
|
|
3806
3674
|
case "right":
|
|
@@ -5298,8 +5166,7 @@ function deepEqual(a2, b2) {
|
|
|
5298
5166
|
if (a2 && b2 && typeof a2 === "object") {
|
|
5299
5167
|
if (Array.isArray(a2)) {
|
|
5300
5168
|
length = a2.length;
|
|
5301
|
-
if (length !== b2.length)
|
|
5302
|
-
return false;
|
|
5169
|
+
if (length !== b2.length) return false;
|
|
5303
5170
|
for (i2 = length; i2-- !== 0; ) {
|
|
5304
5171
|
if (!deepEqual(a2[i2], b2[i2])) {
|
|
5305
5172
|
return false;
|
|
@@ -5446,10 +5313,8 @@ function useFloating$1(options) {
|
|
|
5446
5313
|
};
|
|
5447
5314
|
}, []);
|
|
5448
5315
|
index(() => {
|
|
5449
|
-
if (referenceEl)
|
|
5450
|
-
|
|
5451
|
-
if (floatingEl)
|
|
5452
|
-
floatingRef.current = floatingEl;
|
|
5316
|
+
if (referenceEl) referenceRef.current = referenceEl;
|
|
5317
|
+
if (floatingEl) floatingRef.current = floatingEl;
|
|
5453
5318
|
if (referenceEl && floatingEl) {
|
|
5454
5319
|
if (whileElementsMountedRef.current) {
|
|
5455
5320
|
return whileElementsMountedRef.current(referenceEl, floatingEl, update2);
|
|
@@ -6348,42 +6213,7 @@ const createSelector = (a2, b2, c2, d2, e2, f2, ...other) => {
|
|
|
6348
6213
|
throw new Error(process.env.NODE_ENV !== "production" ? "Unsupported number of selectors" : formatErrorMessage(1));
|
|
6349
6214
|
}
|
|
6350
6215
|
let selector;
|
|
6351
|
-
if (a2
|
|
6352
|
-
selector = (state, a1, a22, a3) => {
|
|
6353
|
-
const va = a2(state, a1, a22, a3);
|
|
6354
|
-
const vb = b2(state, a1, a22, a3);
|
|
6355
|
-
const vc = c2(state, a1, a22, a3);
|
|
6356
|
-
const vd = d2(state, a1, a22, a3);
|
|
6357
|
-
const ve = e2(state, a1, a22, a3);
|
|
6358
|
-
return f2(va, vb, vc, vd, ve, a1, a22, a3);
|
|
6359
|
-
};
|
|
6360
|
-
} else if (a2 && b2 && c2 && d2 && e2) {
|
|
6361
|
-
selector = (state, a1, a22, a3) => {
|
|
6362
|
-
const va = a2(state, a1, a22, a3);
|
|
6363
|
-
const vb = b2(state, a1, a22, a3);
|
|
6364
|
-
const vc = c2(state, a1, a22, a3);
|
|
6365
|
-
const vd = d2(state, a1, a22, a3);
|
|
6366
|
-
return e2(va, vb, vc, vd, a1, a22, a3);
|
|
6367
|
-
};
|
|
6368
|
-
} else if (a2 && b2 && c2 && d2) {
|
|
6369
|
-
selector = (state, a1, a22, a3) => {
|
|
6370
|
-
const va = a2(state, a1, a22, a3);
|
|
6371
|
-
const vb = b2(state, a1, a22, a3);
|
|
6372
|
-
const vc = c2(state, a1, a22, a3);
|
|
6373
|
-
return d2(va, vb, vc, a1, a22, a3);
|
|
6374
|
-
};
|
|
6375
|
-
} else if (a2 && b2 && c2) {
|
|
6376
|
-
selector = (state, a1, a22, a3) => {
|
|
6377
|
-
const va = a2(state, a1, a22, a3);
|
|
6378
|
-
const vb = b2(state, a1, a22, a3);
|
|
6379
|
-
return c2(va, vb, a1, a22, a3);
|
|
6380
|
-
};
|
|
6381
|
-
} else if (a2 && b2) {
|
|
6382
|
-
selector = (state, a1, a22, a3) => {
|
|
6383
|
-
const va = a2(state, a1, a22, a3);
|
|
6384
|
-
return b2(va, a1, a22, a3);
|
|
6385
|
-
};
|
|
6386
|
-
} else if (a2) {
|
|
6216
|
+
if (a2) {
|
|
6387
6217
|
selector = a2;
|
|
6388
6218
|
} else {
|
|
6389
6219
|
throw new Error("Missing arguments");
|
|
@@ -6391,19 +6221,22 @@ const createSelector = (a2, b2, c2, d2, e2, f2, ...other) => {
|
|
|
6391
6221
|
return selector;
|
|
6392
6222
|
};
|
|
6393
6223
|
function getAugmentedNamespace(n2) {
|
|
6394
|
-
if (n2
|
|
6395
|
-
return n2;
|
|
6224
|
+
if (Object.prototype.hasOwnProperty.call(n2, "__esModule")) return n2;
|
|
6396
6225
|
var f2 = n2.default;
|
|
6397
6226
|
if (typeof f2 == "function") {
|
|
6398
6227
|
var a2 = function a3() {
|
|
6399
|
-
|
|
6228
|
+
var isInstance = false;
|
|
6229
|
+
try {
|
|
6230
|
+
isInstance = this instanceof a3;
|
|
6231
|
+
} catch {
|
|
6232
|
+
}
|
|
6233
|
+
if (isInstance) {
|
|
6400
6234
|
return Reflect.construct(f2, arguments, this.constructor);
|
|
6401
6235
|
}
|
|
6402
6236
|
return f2.apply(this, arguments);
|
|
6403
6237
|
};
|
|
6404
6238
|
a2.prototype = f2.prototype;
|
|
6405
|
-
} else
|
|
6406
|
-
a2 = {};
|
|
6239
|
+
} else a2 = {};
|
|
6407
6240
|
Object.defineProperty(a2, "__esModule", { value: true });
|
|
6408
6241
|
Object.keys(n2).forEach(function(k2) {
|
|
6409
6242
|
var d2 = Object.getOwnPropertyDescriptor(n2, k2);
|
|
@@ -6419,19 +6252,9 @@ function getAugmentedNamespace(n2) {
|
|
|
6419
6252
|
var shim = { exports: {} };
|
|
6420
6253
|
var useSyncExternalStoreShim_production = {};
|
|
6421
6254
|
const require$$0 = /* @__PURE__ */ getAugmentedNamespace(compat_module);
|
|
6422
|
-
/**
|
|
6423
|
-
* @license React
|
|
6424
|
-
* use-sync-external-store-shim.production.js
|
|
6425
|
-
*
|
|
6426
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6427
|
-
*
|
|
6428
|
-
* This source code is licensed under the MIT license found in the
|
|
6429
|
-
* LICENSE file in the root directory of this source tree.
|
|
6430
|
-
*/
|
|
6431
6255
|
var hasRequiredUseSyncExternalStoreShim_production;
|
|
6432
6256
|
function requireUseSyncExternalStoreShim_production() {
|
|
6433
|
-
if (hasRequiredUseSyncExternalStoreShim_production)
|
|
6434
|
-
return useSyncExternalStoreShim_production;
|
|
6257
|
+
if (hasRequiredUseSyncExternalStoreShim_production) return useSyncExternalStoreShim_production;
|
|
6435
6258
|
hasRequiredUseSyncExternalStoreShim_production = 1;
|
|
6436
6259
|
var React = require$$0;
|
|
6437
6260
|
function is(x2, y2) {
|
|
@@ -6478,21 +6301,11 @@ function requireUseSyncExternalStoreShim_production() {
|
|
|
6478
6301
|
return useSyncExternalStoreShim_production;
|
|
6479
6302
|
}
|
|
6480
6303
|
var useSyncExternalStoreShim_development = {};
|
|
6481
|
-
/**
|
|
6482
|
-
* @license React
|
|
6483
|
-
* use-sync-external-store-shim.development.js
|
|
6484
|
-
*
|
|
6485
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6486
|
-
*
|
|
6487
|
-
* This source code is licensed under the MIT license found in the
|
|
6488
|
-
* LICENSE file in the root directory of this source tree.
|
|
6489
|
-
*/
|
|
6490
6304
|
var hasRequiredUseSyncExternalStoreShim_development;
|
|
6491
6305
|
function requireUseSyncExternalStoreShim_development() {
|
|
6492
|
-
if (hasRequiredUseSyncExternalStoreShim_development)
|
|
6493
|
-
return useSyncExternalStoreShim_development;
|
|
6306
|
+
if (hasRequiredUseSyncExternalStoreShim_development) return useSyncExternalStoreShim_development;
|
|
6494
6307
|
hasRequiredUseSyncExternalStoreShim_development = 1;
|
|
6495
|
-
"production" !== process.env.NODE_ENV && function() {
|
|
6308
|
+
"production" !== process.env.NODE_ENV && (function() {
|
|
6496
6309
|
function is(x2, y2) {
|
|
6497
6310
|
return x2 === y2 && (0 !== x2 || 1 / x2 === 1 / y2) || x2 !== x2 && y2 !== y2;
|
|
6498
6311
|
}
|
|
@@ -6548,7 +6361,7 @@ function requireUseSyncExternalStoreShim_development() {
|
|
|
6548
6361
|
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;
|
|
6549
6362
|
useSyncExternalStoreShim_development.useSyncExternalStore = void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim2;
|
|
6550
6363
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
6551
|
-
}();
|
|
6364
|
+
})();
|
|
6552
6365
|
return useSyncExternalStoreShim_development;
|
|
6553
6366
|
}
|
|
6554
6367
|
if (process.env.NODE_ENV === "production") {
|
|
@@ -6559,19 +6372,9 @@ if (process.env.NODE_ENV === "production") {
|
|
|
6559
6372
|
var shimExports = shim.exports;
|
|
6560
6373
|
var withSelector = { exports: {} };
|
|
6561
6374
|
var withSelector_production = {};
|
|
6562
|
-
/**
|
|
6563
|
-
* @license React
|
|
6564
|
-
* use-sync-external-store-shim/with-selector.production.js
|
|
6565
|
-
*
|
|
6566
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6567
|
-
*
|
|
6568
|
-
* This source code is licensed under the MIT license found in the
|
|
6569
|
-
* LICENSE file in the root directory of this source tree.
|
|
6570
|
-
*/
|
|
6571
6375
|
var hasRequiredWithSelector_production;
|
|
6572
6376
|
function requireWithSelector_production() {
|
|
6573
|
-
if (hasRequiredWithSelector_production)
|
|
6574
|
-
return withSelector_production;
|
|
6377
|
+
if (hasRequiredWithSelector_production) return withSelector_production;
|
|
6575
6378
|
hasRequiredWithSelector_production = 1;
|
|
6576
6379
|
var React = require$$0, shim2 = shimExports;
|
|
6577
6380
|
function is(x2, y2) {
|
|
@@ -6583,8 +6386,7 @@ function requireWithSelector_production() {
|
|
|
6583
6386
|
if (null === instRef.current) {
|
|
6584
6387
|
var inst = { hasValue: false, value: null };
|
|
6585
6388
|
instRef.current = inst;
|
|
6586
|
-
} else
|
|
6587
|
-
inst = instRef.current;
|
|
6389
|
+
} else inst = instRef.current;
|
|
6588
6390
|
instRef = useMemo(
|
|
6589
6391
|
function() {
|
|
6590
6392
|
function memoizedSelector(nextSnapshot) {
|
|
@@ -6600,8 +6402,7 @@ function requireWithSelector_production() {
|
|
|
6600
6402
|
return memoizedSelection = nextSnapshot;
|
|
6601
6403
|
}
|
|
6602
6404
|
currentSelection = memoizedSelection;
|
|
6603
|
-
if (objectIs(memoizedSnapshot, nextSnapshot))
|
|
6604
|
-
return currentSelection;
|
|
6405
|
+
if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;
|
|
6605
6406
|
var nextSelection = selector(nextSnapshot);
|
|
6606
6407
|
if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
|
|
6607
6408
|
return memoizedSnapshot = nextSnapshot, currentSelection;
|
|
@@ -6634,21 +6435,11 @@ function requireWithSelector_production() {
|
|
|
6634
6435
|
return withSelector_production;
|
|
6635
6436
|
}
|
|
6636
6437
|
var withSelector_development = {};
|
|
6637
|
-
/**
|
|
6638
|
-
* @license React
|
|
6639
|
-
* use-sync-external-store-shim/with-selector.development.js
|
|
6640
|
-
*
|
|
6641
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6642
|
-
*
|
|
6643
|
-
* This source code is licensed under the MIT license found in the
|
|
6644
|
-
* LICENSE file in the root directory of this source tree.
|
|
6645
|
-
*/
|
|
6646
6438
|
var hasRequiredWithSelector_development;
|
|
6647
6439
|
function requireWithSelector_development() {
|
|
6648
|
-
if (hasRequiredWithSelector_development)
|
|
6649
|
-
return withSelector_development;
|
|
6440
|
+
if (hasRequiredWithSelector_development) return withSelector_development;
|
|
6650
6441
|
hasRequiredWithSelector_development = 1;
|
|
6651
|
-
"production" !== process.env.NODE_ENV && function() {
|
|
6442
|
+
"production" !== process.env.NODE_ENV && (function() {
|
|
6652
6443
|
function is(x2, y2) {
|
|
6653
6444
|
return x2 === y2 && (0 !== x2 || 1 / x2 === 1 / y2) || x2 !== x2 && y2 !== y2;
|
|
6654
6445
|
}
|
|
@@ -6659,8 +6450,7 @@ function requireWithSelector_development() {
|
|
|
6659
6450
|
if (null === instRef.current) {
|
|
6660
6451
|
var inst = { hasValue: false, value: null };
|
|
6661
6452
|
instRef.current = inst;
|
|
6662
|
-
} else
|
|
6663
|
-
inst = instRef.current;
|
|
6453
|
+
} else inst = instRef.current;
|
|
6664
6454
|
instRef = useMemo(
|
|
6665
6455
|
function() {
|
|
6666
6456
|
function memoizedSelector(nextSnapshot) {
|
|
@@ -6708,7 +6498,7 @@ function requireWithSelector_development() {
|
|
|
6708
6498
|
return value;
|
|
6709
6499
|
};
|
|
6710
6500
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
6711
|
-
}();
|
|
6501
|
+
})();
|
|
6712
6502
|
return withSelector_development;
|
|
6713
6503
|
}
|
|
6714
6504
|
if (process.env.NODE_ENV === "production") {
|
|
@@ -8469,8 +8259,7 @@ function safePolygon(options = {}) {
|
|
|
8469
8259
|
return fn2;
|
|
8470
8260
|
}
|
|
8471
8261
|
const PopoverRootContext = /* @__PURE__ */ R$2(void 0);
|
|
8472
|
-
if (process.env.NODE_ENV !== "production")
|
|
8473
|
-
PopoverRootContext.displayName = "PopoverRootContext";
|
|
8262
|
+
if (process.env.NODE_ENV !== "production") PopoverRootContext.displayName = "PopoverRootContext";
|
|
8474
8263
|
function usePopoverRootContext(optional) {
|
|
8475
8264
|
const context = x$1(PopoverRootContext);
|
|
8476
8265
|
if (context === void 0 && !optional) {
|
|
@@ -8772,8 +8561,7 @@ function error(...messages) {
|
|
|
8772
8561
|
}
|
|
8773
8562
|
}
|
|
8774
8563
|
const CompositeRootContext = /* @__PURE__ */ R$2(void 0);
|
|
8775
|
-
if (process.env.NODE_ENV !== "production")
|
|
8776
|
-
CompositeRootContext.displayName = "CompositeRootContext";
|
|
8564
|
+
if (process.env.NODE_ENV !== "production") CompositeRootContext.displayName = "CompositeRootContext";
|
|
8777
8565
|
function useCompositeRootContext(optional = false) {
|
|
8778
8566
|
const context = x$1(CompositeRootContext);
|
|
8779
8567
|
if (context === void 0 && !optional) {
|
|
@@ -8944,11 +8732,11 @@ function useButton(parameters = {}) {
|
|
|
8944
8732
|
function isButtonElement(elem) {
|
|
8945
8733
|
return isHTMLElement$1(elem) && elem.tagName === "BUTTON";
|
|
8946
8734
|
}
|
|
8947
|
-
let TransitionStatusDataAttributes = /* @__PURE__ */ function(TransitionStatusDataAttributes2) {
|
|
8735
|
+
let TransitionStatusDataAttributes = /* @__PURE__ */ (function(TransitionStatusDataAttributes2) {
|
|
8948
8736
|
TransitionStatusDataAttributes2["startingStyle"] = "data-starting-style";
|
|
8949
8737
|
TransitionStatusDataAttributes2["endingStyle"] = "data-ending-style";
|
|
8950
8738
|
return TransitionStatusDataAttributes2;
|
|
8951
|
-
}({});
|
|
8739
|
+
})({});
|
|
8952
8740
|
const STARTING_HOOK = {
|
|
8953
8741
|
[TransitionStatusDataAttributes.startingStyle]: ""
|
|
8954
8742
|
};
|
|
@@ -8966,19 +8754,19 @@ const transitionStatusMapping = {
|
|
|
8966
8754
|
return null;
|
|
8967
8755
|
}
|
|
8968
8756
|
};
|
|
8969
|
-
let CommonPopupDataAttributes = function(CommonPopupDataAttributes2) {
|
|
8757
|
+
let CommonPopupDataAttributes = (function(CommonPopupDataAttributes2) {
|
|
8970
8758
|
CommonPopupDataAttributes2["open"] = "data-open";
|
|
8971
8759
|
CommonPopupDataAttributes2["closed"] = "data-closed";
|
|
8972
8760
|
CommonPopupDataAttributes2[CommonPopupDataAttributes2["startingStyle"] = TransitionStatusDataAttributes.startingStyle] = "startingStyle";
|
|
8973
8761
|
CommonPopupDataAttributes2[CommonPopupDataAttributes2["endingStyle"] = TransitionStatusDataAttributes.endingStyle] = "endingStyle";
|
|
8974
8762
|
CommonPopupDataAttributes2["anchorHidden"] = "data-anchor-hidden";
|
|
8975
8763
|
return CommonPopupDataAttributes2;
|
|
8976
|
-
}({});
|
|
8977
|
-
let CommonTriggerDataAttributes = /* @__PURE__ */ function(CommonTriggerDataAttributes2) {
|
|
8764
|
+
})({});
|
|
8765
|
+
let CommonTriggerDataAttributes = /* @__PURE__ */ (function(CommonTriggerDataAttributes2) {
|
|
8978
8766
|
CommonTriggerDataAttributes2["popupOpen"] = "data-popup-open";
|
|
8979
8767
|
CommonTriggerDataAttributes2["pressed"] = "data-pressed";
|
|
8980
8768
|
return CommonTriggerDataAttributes2;
|
|
8981
|
-
}({});
|
|
8769
|
+
})({});
|
|
8982
8770
|
const TRIGGER_HOOK = {
|
|
8983
8771
|
[CommonTriggerDataAttributes.popupOpen]: ""
|
|
8984
8772
|
};
|
|
@@ -9156,11 +8944,9 @@ const PopoverTrigger = /* @__PURE__ */ D(function PopoverTrigger2(componentProps
|
|
|
9156
8944
|
children: element
|
|
9157
8945
|
}, thisTriggerId);
|
|
9158
8946
|
});
|
|
9159
|
-
if (process.env.NODE_ENV !== "production")
|
|
9160
|
-
PopoverTrigger.displayName = "PopoverTrigger";
|
|
8947
|
+
if (process.env.NODE_ENV !== "production") PopoverTrigger.displayName = "PopoverTrigger";
|
|
9161
8948
|
const PopoverPortalContext = /* @__PURE__ */ R$2(void 0);
|
|
9162
|
-
if (process.env.NODE_ENV !== "production")
|
|
9163
|
-
PopoverPortalContext.displayName = "PopoverPortalContext";
|
|
8949
|
+
if (process.env.NODE_ENV !== "production") PopoverPortalContext.displayName = "PopoverPortalContext";
|
|
9164
8950
|
function usePopoverPortalContext() {
|
|
9165
8951
|
const value = x$1(PopoverPortalContext);
|
|
9166
8952
|
if (value === void 0) {
|
|
@@ -9190,8 +8976,7 @@ const PopoverPortal = /* @__PURE__ */ D(function PopoverPortal2(props, forwarded
|
|
|
9190
8976
|
})
|
|
9191
8977
|
});
|
|
9192
8978
|
});
|
|
9193
|
-
if (process.env.NODE_ENV !== "production")
|
|
9194
|
-
PopoverPortal.displayName = "PopoverPortal";
|
|
8979
|
+
if (process.env.NODE_ENV !== "production") PopoverPortal.displayName = "PopoverPortal";
|
|
9195
8980
|
function inertValue(value) {
|
|
9196
8981
|
if (isReactVersionAtLeast(19)) {
|
|
9197
8982
|
return value;
|
|
@@ -9199,8 +8984,7 @@ function inertValue(value) {
|
|
|
9199
8984
|
return value ? "true" : void 0;
|
|
9200
8985
|
}
|
|
9201
8986
|
const PopoverPositionerContext = /* @__PURE__ */ R$2(void 0);
|
|
9202
|
-
if (process.env.NODE_ENV !== "production")
|
|
9203
|
-
PopoverPositionerContext.displayName = "PopoverPositionerContext";
|
|
8987
|
+
if (process.env.NODE_ENV !== "production") PopoverPositionerContext.displayName = "PopoverPositionerContext";
|
|
9204
8988
|
function usePopoverPositionerContext() {
|
|
9205
8989
|
const context = x$1(PopoverPositionerContext);
|
|
9206
8990
|
if (!context) {
|
|
@@ -9209,8 +8993,7 @@ function usePopoverPositionerContext() {
|
|
|
9209
8993
|
return context;
|
|
9210
8994
|
}
|
|
9211
8995
|
const DirectionContext = /* @__PURE__ */ R$2(void 0);
|
|
9212
|
-
if (process.env.NODE_ENV !== "production")
|
|
9213
|
-
DirectionContext.displayName = "DirectionContext";
|
|
8996
|
+
if (process.env.NODE_ENV !== "production") DirectionContext.displayName = "DirectionContext";
|
|
9214
8997
|
function useDirection() {
|
|
9215
8998
|
const context = x$1(DirectionContext);
|
|
9216
8999
|
return (context == null ? void 0 : context.direction) ?? "ltr";
|
|
@@ -9755,8 +9538,7 @@ const InternalBackdrop = /* @__PURE__ */ D(function InternalBackdrop2(props, ref
|
|
|
9755
9538
|
}
|
|
9756
9539
|
});
|
|
9757
9540
|
});
|
|
9758
|
-
if (process.env.NODE_ENV !== "production")
|
|
9759
|
-
InternalBackdrop.displayName = "InternalBackdrop";
|
|
9541
|
+
if (process.env.NODE_ENV !== "production") InternalBackdrop.displayName = "InternalBackdrop";
|
|
9760
9542
|
function getDisabledMountTransitionStyles(transitionStatus) {
|
|
9761
9543
|
return transitionStatus === "starting" ? DISABLED_TRANSITIONS_STYLE : EMPTY_OBJECT;
|
|
9762
9544
|
}
|
|
@@ -9878,8 +9660,7 @@ const PopoverPositioner = /* @__PURE__ */ D(function PopoverPositioner2(componen
|
|
|
9878
9660
|
})]
|
|
9879
9661
|
});
|
|
9880
9662
|
});
|
|
9881
|
-
if (process.env.NODE_ENV !== "production")
|
|
9882
|
-
PopoverPositioner.displayName = "PopoverPositioner";
|
|
9663
|
+
if (process.env.NODE_ENV !== "production") PopoverPositioner.displayName = "PopoverPositioner";
|
|
9883
9664
|
function getCssDimensions(element) {
|
|
9884
9665
|
const css = getComputedStyle$2(element);
|
|
9885
9666
|
let width = parseFloat(css.width) || 0;
|
|
@@ -10034,13 +9815,9 @@ const ARROW_KEYS = /* @__PURE__ */ new Set([...HORIZONTAL_KEYS, ...VERTICAL_KEYS
|
|
|
10034
9815
|
/* @__PURE__ */ new Set([...ARROW_KEYS, HOME, END]);
|
|
10035
9816
|
const COMPOSITE_KEYS = /* @__PURE__ */ new Set([ARROW_UP, ARROW_DOWN, ARROW_LEFT, ARROW_RIGHT, HOME, END]);
|
|
10036
9817
|
const ToolbarRootContext = /* @__PURE__ */ R$2(void 0);
|
|
10037
|
-
if (process.env.NODE_ENV !== "production")
|
|
10038
|
-
ToolbarRootContext.displayName = "ToolbarRootContext";
|
|
9818
|
+
if (process.env.NODE_ENV !== "production") ToolbarRootContext.displayName = "ToolbarRootContext";
|
|
10039
9819
|
function useToolbarRootContext(optional) {
|
|
10040
9820
|
const context = x$1(ToolbarRootContext);
|
|
10041
|
-
if (context === void 0 && !optional) {
|
|
10042
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: ToolbarRootContext is missing. Toolbar parts must be placed within <Toolbar.Root>." : formatErrorMessage(69));
|
|
10043
|
-
}
|
|
10044
9821
|
return context;
|
|
10045
9822
|
}
|
|
10046
9823
|
const stateAttributesMapping = {
|
|
@@ -10059,7 +9836,7 @@ const PopoverPopup = /* @__PURE__ */ D(function PopoverPopup2(componentProps, fo
|
|
|
10059
9836
|
store: store2
|
|
10060
9837
|
} = usePopoverRootContext();
|
|
10061
9838
|
const positioner = usePopoverPositionerContext();
|
|
10062
|
-
const insideToolbar = useToolbarRootContext(
|
|
9839
|
+
const insideToolbar = useToolbarRootContext() != null;
|
|
10063
9840
|
const direction = useDirection();
|
|
10064
9841
|
const open = store2.useState("open");
|
|
10065
9842
|
const openMethod = store2.useState("openMethod");
|
|
@@ -10159,25 +9936,18 @@ const PopoverPopup = /* @__PURE__ */ D(function PopoverPopup2(componentProps, fo
|
|
|
10159
9936
|
children: element
|
|
10160
9937
|
});
|
|
10161
9938
|
});
|
|
10162
|
-
if (process.env.NODE_ENV !== "production")
|
|
10163
|
-
PopoverPopup.displayName = "PopoverPopup";
|
|
9939
|
+
if (process.env.NODE_ENV !== "production") PopoverPopup.displayName = "PopoverPopup";
|
|
10164
9940
|
function r(e2) {
|
|
10165
9941
|
var t2, f2, n2 = "";
|
|
10166
|
-
if ("string" == typeof e2 || "number" == typeof e2)
|
|
10167
|
-
|
|
10168
|
-
|
|
10169
|
-
|
|
10170
|
-
|
|
10171
|
-
for (t2 = 0; t2 < o2; t2++)
|
|
10172
|
-
e2[t2] && (f2 = r(e2[t2])) && (n2 && (n2 += " "), n2 += f2);
|
|
10173
|
-
} else
|
|
10174
|
-
for (f2 in e2)
|
|
10175
|
-
e2[f2] && (n2 && (n2 += " "), n2 += f2);
|
|
9942
|
+
if ("string" == typeof e2 || "number" == typeof e2) n2 += e2;
|
|
9943
|
+
else if ("object" == typeof e2) if (Array.isArray(e2)) {
|
|
9944
|
+
var o2 = e2.length;
|
|
9945
|
+
for (t2 = 0; t2 < o2; t2++) e2[t2] && (f2 = r(e2[t2])) && (n2 && (n2 += " "), n2 += f2);
|
|
9946
|
+
} else for (f2 in e2) e2[f2] && (n2 && (n2 += " "), n2 += f2);
|
|
10176
9947
|
return n2;
|
|
10177
9948
|
}
|
|
10178
9949
|
function clsx() {
|
|
10179
|
-
for (var e2, t2, f2 = 0, n2 = "", o2 = arguments.length; f2 < o2; f2++)
|
|
10180
|
-
(e2 = arguments[f2]) && (t2 = r(e2)) && (n2 && (n2 += " "), n2 += t2);
|
|
9950
|
+
for (var e2, t2, f2 = 0, n2 = "", o2 = arguments.length; f2 < o2; f2++) (e2 = arguments[f2]) && (t2 = r(e2)) && (n2 && (n2 += " "), n2 += t2);
|
|
10181
9951
|
return n2;
|
|
10182
9952
|
}
|
|
10183
9953
|
const JOB_ALERTS_ELEMENT_ID = "inploi-job-alerts";
|
|
@@ -10257,8 +10027,8 @@ const defaultTerms = {
|
|
|
10257
10027
|
alert_notice_sender: "{{company}} will email you new jobs matching this search, as often as you choose. Every email has an unsubscribe link.",
|
|
10258
10028
|
alert_notice: "You'll get new jobs matching this search by email, as often as you choose. Every email has an unsubscribe link."
|
|
10259
10029
|
};
|
|
10260
|
-
const { TranslationProvider, useTranslation
|
|
10261
|
-
var i = Symbol.for("preact-signals");
|
|
10030
|
+
const { TranslationProvider, useTranslation } = createTranslation(defaultTerms);
|
|
10031
|
+
var i = /* @__PURE__ */ Symbol.for("preact-signals");
|
|
10262
10032
|
function t() {
|
|
10263
10033
|
if (!(s$1 > 1)) {
|
|
10264
10034
|
var i2, t2 = false;
|
|
@@ -10270,24 +10040,21 @@ function t() {
|
|
|
10270
10040
|
var o2 = r2.o;
|
|
10271
10041
|
r2.o = void 0;
|
|
10272
10042
|
r2.f &= -3;
|
|
10273
|
-
if (!(8 & r2.f) && c(r2))
|
|
10274
|
-
|
|
10275
|
-
|
|
10276
|
-
|
|
10277
|
-
|
|
10278
|
-
|
|
10279
|
-
t2 = true;
|
|
10280
|
-
}
|
|
10043
|
+
if (!(8 & r2.f) && c(r2)) try {
|
|
10044
|
+
r2.c();
|
|
10045
|
+
} catch (r3) {
|
|
10046
|
+
if (!t2) {
|
|
10047
|
+
i2 = r3;
|
|
10048
|
+
t2 = true;
|
|
10281
10049
|
}
|
|
10050
|
+
}
|
|
10282
10051
|
r2 = o2;
|
|
10283
10052
|
}
|
|
10284
10053
|
}
|
|
10285
10054
|
f = 0;
|
|
10286
10055
|
s$1--;
|
|
10287
|
-
if (t2)
|
|
10288
|
-
|
|
10289
|
-
} else
|
|
10290
|
-
s$1--;
|
|
10056
|
+
if (t2) throw i2;
|
|
10057
|
+
} else s$1--;
|
|
10291
10058
|
}
|
|
10292
10059
|
var o = void 0;
|
|
10293
10060
|
var h$1 = void 0, s$1 = 0, f = 0, v = 0;
|
|
@@ -10296,19 +10063,16 @@ function e(i2) {
|
|
|
10296
10063
|
var t2 = i2.n;
|
|
10297
10064
|
if (void 0 === t2 || t2.t !== o) {
|
|
10298
10065
|
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;
|
|
10066
|
+
if (void 0 !== o.s) o.s.n = t2;
|
|
10301
10067
|
o.s = t2;
|
|
10302
10068
|
i2.n = t2;
|
|
10303
|
-
if (32 & o.f)
|
|
10304
|
-
i2.S(t2);
|
|
10069
|
+
if (32 & o.f) i2.S(t2);
|
|
10305
10070
|
return t2;
|
|
10306
10071
|
} else if (-1 === t2.i) {
|
|
10307
10072
|
t2.i = 0;
|
|
10308
10073
|
if (void 0 !== t2.n) {
|
|
10309
10074
|
t2.n.p = t2.p;
|
|
10310
|
-
if (void 0 !== t2.p)
|
|
10311
|
-
t2.p.n = t2.n;
|
|
10075
|
+
if (void 0 !== t2.p) t2.p.n = t2.n;
|
|
10312
10076
|
t2.p = o.s;
|
|
10313
10077
|
t2.n = void 0;
|
|
10314
10078
|
o.s.n = t2;
|
|
@@ -10331,8 +10095,7 @@ u.prototype.h = function() {
|
|
|
10331
10095
|
u.prototype.S = function(i2) {
|
|
10332
10096
|
if (this.t !== i2 && void 0 === i2.e) {
|
|
10333
10097
|
i2.x = this.t;
|
|
10334
|
-
if (void 0 !== this.t)
|
|
10335
|
-
this.t.e = i2;
|
|
10098
|
+
if (void 0 !== this.t) this.t.e = i2;
|
|
10336
10099
|
this.t = i2;
|
|
10337
10100
|
}
|
|
10338
10101
|
};
|
|
@@ -10347,8 +10110,7 @@ u.prototype.U = function(i2) {
|
|
|
10347
10110
|
r2.e = t2;
|
|
10348
10111
|
i2.x = void 0;
|
|
10349
10112
|
}
|
|
10350
|
-
if (i2 === this.t)
|
|
10351
|
-
this.t = r2;
|
|
10113
|
+
if (i2 === this.t) this.t = r2;
|
|
10352
10114
|
}
|
|
10353
10115
|
};
|
|
10354
10116
|
u.prototype.subscribe = function(i2) {
|
|
@@ -10383,20 +10145,17 @@ u.prototype.peek = function() {
|
|
|
10383
10145
|
};
|
|
10384
10146
|
Object.defineProperty(u.prototype, "value", { get: function() {
|
|
10385
10147
|
var i2 = e(this);
|
|
10386
|
-
if (void 0 !== i2)
|
|
10387
|
-
i2.i = this.i;
|
|
10148
|
+
if (void 0 !== i2) i2.i = this.i;
|
|
10388
10149
|
return this.v;
|
|
10389
10150
|
}, set: function(i2) {
|
|
10390
10151
|
if (i2 !== this.v) {
|
|
10391
|
-
if (f > 100)
|
|
10392
|
-
throw new Error("Cycle detected");
|
|
10152
|
+
if (f > 100) throw new Error("Cycle detected");
|
|
10393
10153
|
this.v = i2;
|
|
10394
10154
|
this.i++;
|
|
10395
10155
|
v++;
|
|
10396
10156
|
s$1++;
|
|
10397
10157
|
try {
|
|
10398
|
-
for (var r2 = this.t; void 0 !== r2; r2 = r2.x)
|
|
10399
|
-
r2.t.N();
|
|
10158
|
+
for (var r2 = this.t; void 0 !== r2; r2 = r2.x) r2.t.N();
|
|
10400
10159
|
} finally {
|
|
10401
10160
|
t();
|
|
10402
10161
|
}
|
|
@@ -10406,16 +10165,13 @@ function d$1(i2) {
|
|
|
10406
10165
|
return new u(i2);
|
|
10407
10166
|
}
|
|
10408
10167
|
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;
|
|
10168
|
+
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
10169
|
return false;
|
|
10413
10170
|
}
|
|
10414
10171
|
function a(i2) {
|
|
10415
10172
|
for (var t2 = i2.s; void 0 !== t2; t2 = t2.n) {
|
|
10416
10173
|
var r2 = t2.S.n;
|
|
10417
|
-
if (void 0 !== r2)
|
|
10418
|
-
t2.r = r2;
|
|
10174
|
+
if (void 0 !== r2) t2.r = r2;
|
|
10419
10175
|
t2.S.n = t2;
|
|
10420
10176
|
t2.i = -1;
|
|
10421
10177
|
if (void 0 === t2.n) {
|
|
@@ -10430,15 +10186,11 @@ function l$1(i2) {
|
|
|
10430
10186
|
var o2 = t2.p;
|
|
10431
10187
|
if (-1 === t2.i) {
|
|
10432
10188
|
t2.S.U(t2);
|
|
10433
|
-
if (void 0 !== o2)
|
|
10434
|
-
|
|
10435
|
-
|
|
10436
|
-
t2.n.p = o2;
|
|
10437
|
-
} else
|
|
10438
|
-
r2 = t2;
|
|
10189
|
+
if (void 0 !== o2) o2.n = t2.n;
|
|
10190
|
+
if (void 0 !== t2.n) t2.n.p = o2;
|
|
10191
|
+
} else r2 = t2;
|
|
10439
10192
|
t2.S.n = t2.r;
|
|
10440
|
-
if (void 0 !== t2.r)
|
|
10441
|
-
t2.r = void 0;
|
|
10193
|
+
if (void 0 !== t2.r) t2.r = void 0;
|
|
10442
10194
|
t2 = o2;
|
|
10443
10195
|
}
|
|
10444
10196
|
i2.s = r2;
|
|
@@ -10452,13 +10204,10 @@ function y(i2) {
|
|
|
10452
10204
|
}
|
|
10453
10205
|
(y.prototype = new u()).h = function() {
|
|
10454
10206
|
this.f &= -3;
|
|
10455
|
-
if (1 & this.f)
|
|
10456
|
-
|
|
10457
|
-
if (32 == (36 & this.f))
|
|
10458
|
-
return true;
|
|
10207
|
+
if (1 & this.f) return false;
|
|
10208
|
+
if (32 == (36 & this.f)) return true;
|
|
10459
10209
|
this.f &= -5;
|
|
10460
|
-
if (this.g === v)
|
|
10461
|
-
return true;
|
|
10210
|
+
if (this.g === v) return true;
|
|
10462
10211
|
this.g = v;
|
|
10463
10212
|
this.f |= 1;
|
|
10464
10213
|
if (this.i > 0 && !c(this)) {
|
|
@@ -10488,8 +10237,7 @@ function y(i2) {
|
|
|
10488
10237
|
y.prototype.S = function(i2) {
|
|
10489
10238
|
if (void 0 === this.t) {
|
|
10490
10239
|
this.f |= 36;
|
|
10491
|
-
for (var t2 = this.s; void 0 !== t2; t2 = t2.n)
|
|
10492
|
-
t2.S.S(t2);
|
|
10240
|
+
for (var t2 = this.s; void 0 !== t2; t2 = t2.n) t2.S.S(t2);
|
|
10493
10241
|
}
|
|
10494
10242
|
u.prototype.S.call(this, i2);
|
|
10495
10243
|
};
|
|
@@ -10498,27 +10246,22 @@ y.prototype.U = function(i2) {
|
|
|
10498
10246
|
u.prototype.U.call(this, i2);
|
|
10499
10247
|
if (void 0 === this.t) {
|
|
10500
10248
|
this.f &= -33;
|
|
10501
|
-
for (var t2 = this.s; void 0 !== t2; t2 = t2.n)
|
|
10502
|
-
t2.S.U(t2);
|
|
10249
|
+
for (var t2 = this.s; void 0 !== t2; t2 = t2.n) t2.S.U(t2);
|
|
10503
10250
|
}
|
|
10504
10251
|
}
|
|
10505
10252
|
};
|
|
10506
10253
|
y.prototype.N = function() {
|
|
10507
10254
|
if (!(2 & this.f)) {
|
|
10508
10255
|
this.f |= 6;
|
|
10509
|
-
for (var i2 = this.t; void 0 !== i2; i2 = i2.x)
|
|
10510
|
-
i2.t.N();
|
|
10256
|
+
for (var i2 = this.t; void 0 !== i2; i2 = i2.x) i2.t.N();
|
|
10511
10257
|
}
|
|
10512
10258
|
};
|
|
10513
10259
|
Object.defineProperty(y.prototype, "value", { get: function() {
|
|
10514
|
-
if (1 & this.f)
|
|
10515
|
-
throw new Error("Cycle detected");
|
|
10260
|
+
if (1 & this.f) throw new Error("Cycle detected");
|
|
10516
10261
|
var i2 = e(this);
|
|
10517
10262
|
this.h();
|
|
10518
|
-
if (void 0 !== i2)
|
|
10519
|
-
|
|
10520
|
-
if (16 & this.f)
|
|
10521
|
-
throw this.v;
|
|
10263
|
+
if (void 0 !== i2) i2.i = this.i;
|
|
10264
|
+
if (16 & this.f) throw this.v;
|
|
10522
10265
|
return this.v;
|
|
10523
10266
|
} });
|
|
10524
10267
|
function w(i2) {
|
|
@@ -10545,20 +10288,17 @@ function _(i2) {
|
|
|
10545
10288
|
}
|
|
10546
10289
|
}
|
|
10547
10290
|
function g(i2) {
|
|
10548
|
-
for (var t2 = i2.s; void 0 !== t2; t2 = t2.n)
|
|
10549
|
-
t2.S.U(t2);
|
|
10291
|
+
for (var t2 = i2.s; void 0 !== t2; t2 = t2.n) t2.S.U(t2);
|
|
10550
10292
|
i2.x = void 0;
|
|
10551
10293
|
i2.s = void 0;
|
|
10552
10294
|
_(i2);
|
|
10553
10295
|
}
|
|
10554
10296
|
function p$1(i2) {
|
|
10555
|
-
if (o !== this)
|
|
10556
|
-
throw new Error("Out-of-order effect");
|
|
10297
|
+
if (o !== this) throw new Error("Out-of-order effect");
|
|
10557
10298
|
l$1(this);
|
|
10558
10299
|
o = i2;
|
|
10559
10300
|
this.f &= -2;
|
|
10560
|
-
if (8 & this.f)
|
|
10561
|
-
g(this);
|
|
10301
|
+
if (8 & this.f) g(this);
|
|
10562
10302
|
t();
|
|
10563
10303
|
}
|
|
10564
10304
|
function b(i2) {
|
|
@@ -10571,20 +10311,16 @@ function b(i2) {
|
|
|
10571
10311
|
b.prototype.c = function() {
|
|
10572
10312
|
var i2 = this.S();
|
|
10573
10313
|
try {
|
|
10574
|
-
if (8 & this.f)
|
|
10575
|
-
|
|
10576
|
-
if (void 0 === this.x)
|
|
10577
|
-
return;
|
|
10314
|
+
if (8 & this.f) return;
|
|
10315
|
+
if (void 0 === this.x) return;
|
|
10578
10316
|
var t2 = this.x();
|
|
10579
|
-
if ("function" == typeof t2)
|
|
10580
|
-
this.u = t2;
|
|
10317
|
+
if ("function" == typeof t2) this.u = t2;
|
|
10581
10318
|
} finally {
|
|
10582
10319
|
i2();
|
|
10583
10320
|
}
|
|
10584
10321
|
};
|
|
10585
10322
|
b.prototype.S = function() {
|
|
10586
|
-
if (1 & this.f)
|
|
10587
|
-
throw new Error("Cycle detected");
|
|
10323
|
+
if (1 & this.f) throw new Error("Cycle detected");
|
|
10588
10324
|
this.f |= 1;
|
|
10589
10325
|
this.f &= -9;
|
|
10590
10326
|
_(this);
|
|
@@ -10603,8 +10339,7 @@ b.prototype.N = function() {
|
|
|
10603
10339
|
};
|
|
10604
10340
|
b.prototype.d = function() {
|
|
10605
10341
|
this.f |= 8;
|
|
10606
|
-
if (!(1 & this.f))
|
|
10607
|
-
g(this);
|
|
10342
|
+
if (!(1 & this.f)) g(this);
|
|
10608
10343
|
};
|
|
10609
10344
|
function E(i2) {
|
|
10610
10345
|
var t2 = new b(i2);
|
|
@@ -10634,19 +10369,17 @@ function h(i2) {
|
|
|
10634
10369
|
o2.value = f2;
|
|
10635
10370
|
var e2 = T$1(function() {
|
|
10636
10371
|
var i3 = r2.__v;
|
|
10637
|
-
while (i3 = i3.__)
|
|
10638
|
-
|
|
10639
|
-
|
|
10640
|
-
|
|
10641
|
-
}
|
|
10372
|
+
while (i3 = i3.__) if (i3.__c) {
|
|
10373
|
+
i3.__c.__$f |= 4;
|
|
10374
|
+
break;
|
|
10375
|
+
}
|
|
10642
10376
|
r2.__$u.c = function() {
|
|
10643
10377
|
var i4, t2 = r2.__$u.S(), f3 = e2.value;
|
|
10644
10378
|
t2();
|
|
10645
10379
|
if (t$2(f3) || 3 !== (null == (i4 = r2.base) ? void 0 : i4.nodeType)) {
|
|
10646
10380
|
r2.__$f |= 1;
|
|
10647
10381
|
r2.setState({});
|
|
10648
|
-
} else
|
|
10649
|
-
r2.base.data = f3;
|
|
10382
|
+
} else r2.base.data = f3;
|
|
10650
10383
|
};
|
|
10651
10384
|
return w(function() {
|
|
10652
10385
|
var i4 = o2.value.value;
|
|
@@ -10662,16 +10395,14 @@ Object.defineProperties(u.prototype, { constructor: { configurable: true, value:
|
|
|
10662
10395
|
l("__b", function(i2, r2) {
|
|
10663
10396
|
if ("string" == typeof r2.type) {
|
|
10664
10397
|
var n2, t2 = r2.props;
|
|
10665
|
-
for (var f2 in t2)
|
|
10666
|
-
|
|
10667
|
-
|
|
10668
|
-
if (
|
|
10669
|
-
|
|
10670
|
-
|
|
10671
|
-
n2[f2] = o2;
|
|
10672
|
-
t2[f2] = o2.peek();
|
|
10673
|
-
}
|
|
10398
|
+
for (var f2 in t2) if ("children" !== f2) {
|
|
10399
|
+
var o2 = t2[f2];
|
|
10400
|
+
if (o2 instanceof u) {
|
|
10401
|
+
if (!n2) r2.__np = n2 = {};
|
|
10402
|
+
n2[f2] = o2;
|
|
10403
|
+
t2[f2] = o2.peek();
|
|
10674
10404
|
}
|
|
10405
|
+
}
|
|
10675
10406
|
}
|
|
10676
10407
|
i2(r2);
|
|
10677
10408
|
});
|
|
@@ -10681,18 +10412,17 @@ l("__r", function(i2, r2) {
|
|
|
10681
10412
|
var n2, t2 = r2.__c;
|
|
10682
10413
|
if (t2) {
|
|
10683
10414
|
t2.__$f &= -2;
|
|
10684
|
-
if (void 0 === (n2 = t2.__$u))
|
|
10685
|
-
|
|
10686
|
-
|
|
10687
|
-
|
|
10688
|
-
|
|
10689
|
-
|
|
10690
|
-
|
|
10691
|
-
|
|
10692
|
-
|
|
10693
|
-
|
|
10694
|
-
|
|
10695
|
-
}();
|
|
10415
|
+
if (void 0 === (n2 = t2.__$u)) t2.__$u = n2 = (function(i3) {
|
|
10416
|
+
var r3;
|
|
10417
|
+
E(function() {
|
|
10418
|
+
r3 = this;
|
|
10419
|
+
});
|
|
10420
|
+
r3.c = function() {
|
|
10421
|
+
t2.__$f |= 1;
|
|
10422
|
+
t2.setState({});
|
|
10423
|
+
};
|
|
10424
|
+
return r3;
|
|
10425
|
+
})();
|
|
10696
10426
|
}
|
|
10697
10427
|
d(n2);
|
|
10698
10428
|
});
|
|
@@ -10707,23 +10437,20 @@ l("diffed", function(i2, r2) {
|
|
|
10707
10437
|
var t2 = r2.__np, f2 = r2.props;
|
|
10708
10438
|
if (t2) {
|
|
10709
10439
|
var o2 = n2.U;
|
|
10710
|
-
if (o2)
|
|
10711
|
-
|
|
10712
|
-
|
|
10713
|
-
|
|
10714
|
-
|
|
10715
|
-
o2[e2] = void 0;
|
|
10716
|
-
}
|
|
10440
|
+
if (o2) for (var e2 in o2) {
|
|
10441
|
+
var u2 = o2[e2];
|
|
10442
|
+
if (void 0 !== u2 && !(e2 in t2)) {
|
|
10443
|
+
u2.d();
|
|
10444
|
+
o2[e2] = void 0;
|
|
10717
10445
|
}
|
|
10718
|
-
|
|
10719
|
-
|
|
10446
|
+
}
|
|
10447
|
+
else n2.U = o2 = {};
|
|
10720
10448
|
for (var a2 in t2) {
|
|
10721
10449
|
var c2 = o2[a2], s2 = t2[a2];
|
|
10722
10450
|
if (void 0 === c2) {
|
|
10723
10451
|
c2 = p(n2, a2, s2, f2);
|
|
10724
10452
|
o2[a2] = c2;
|
|
10725
|
-
} else
|
|
10726
|
-
c2.o(s2, f2);
|
|
10453
|
+
} else c2.o(s2, f2);
|
|
10727
10454
|
}
|
|
10728
10455
|
}
|
|
10729
10456
|
}
|
|
@@ -10738,12 +10465,9 @@ function p(i2, r2, n2, t2) {
|
|
|
10738
10465
|
var n3 = o2.value.value;
|
|
10739
10466
|
if (t2[r2] !== n3) {
|
|
10740
10467
|
t2[r2] = n3;
|
|
10741
|
-
if (f2)
|
|
10742
|
-
|
|
10743
|
-
else
|
|
10744
|
-
i2.setAttribute(r2, n3);
|
|
10745
|
-
else
|
|
10746
|
-
i2.removeAttribute(r2);
|
|
10468
|
+
if (f2) i2[r2] = n3;
|
|
10469
|
+
else if (n3) i2.setAttribute(r2, n3);
|
|
10470
|
+
else i2.removeAttribute(r2);
|
|
10747
10471
|
}
|
|
10748
10472
|
}) };
|
|
10749
10473
|
}
|
|
@@ -10756,8 +10480,7 @@ l("unmount", function(i2, r2) {
|
|
|
10756
10480
|
n2.U = void 0;
|
|
10757
10481
|
for (var f2 in t2) {
|
|
10758
10482
|
var o2 = t2[f2];
|
|
10759
|
-
if (o2)
|
|
10760
|
-
o2.d();
|
|
10483
|
+
if (o2) o2.d();
|
|
10761
10484
|
}
|
|
10762
10485
|
}
|
|
10763
10486
|
}
|
|
@@ -10774,33 +10497,22 @@ l("unmount", function(i2, r2) {
|
|
|
10774
10497
|
i2(r2);
|
|
10775
10498
|
});
|
|
10776
10499
|
l("__h", function(i2, r2, n2, t2) {
|
|
10777
|
-
if (t2 < 3 || 9 === t2)
|
|
10778
|
-
r2.__$f |= 2;
|
|
10500
|
+
if (t2 < 3 || 9 === t2) r2.__$f |= 2;
|
|
10779
10501
|
i2(r2, n2, t2);
|
|
10780
10502
|
});
|
|
10781
10503
|
x$3.prototype.shouldComponentUpdate = function(i2, r2) {
|
|
10782
|
-
if (this.__R)
|
|
10783
|
-
return true;
|
|
10504
|
+
if (this.__R) return true;
|
|
10784
10505
|
var n2 = this.__$u, t2 = n2 && void 0 !== n2.s;
|
|
10785
|
-
for (var f2 in r2)
|
|
10786
|
-
return true;
|
|
10506
|
+
for (var f2 in r2) return true;
|
|
10787
10507
|
if (this.__f || "boolean" == typeof this.u && true === this.u) {
|
|
10788
|
-
if (!(t2 || 2 & this.__$f || 4 & this.__$f))
|
|
10789
|
-
|
|
10790
|
-
if (1 & this.__$f)
|
|
10791
|
-
return true;
|
|
10508
|
+
if (!(t2 || 2 & this.__$f || 4 & this.__$f)) return true;
|
|
10509
|
+
if (1 & this.__$f) return true;
|
|
10792
10510
|
} else {
|
|
10793
|
-
if (!(t2 || 4 & this.__$f))
|
|
10794
|
-
|
|
10795
|
-
if (3 & this.__$f)
|
|
10796
|
-
return true;
|
|
10511
|
+
if (!(t2 || 4 & this.__$f)) return true;
|
|
10512
|
+
if (3 & this.__$f) return true;
|
|
10797
10513
|
}
|
|
10798
|
-
for (var o2 in i2)
|
|
10799
|
-
|
|
10800
|
-
return true;
|
|
10801
|
-
for (var e2 in this.props)
|
|
10802
|
-
if (!(e2 in i2))
|
|
10803
|
-
return true;
|
|
10514
|
+
for (var o2 in i2) if ("__source" !== o2 && i2[o2] !== this.props[o2]) return true;
|
|
10515
|
+
for (var e2 in this.props) if (!(e2 in i2)) return true;
|
|
10804
10516
|
return false;
|
|
10805
10517
|
};
|
|
10806
10518
|
function useSignal(i2) {
|
|
@@ -10989,8 +10701,7 @@ const getThemeVariants = (theme) => {
|
|
|
10989
10701
|
return variants;
|
|
10990
10702
|
};
|
|
10991
10703
|
const InputError = ({ error: error2 }) => {
|
|
10992
|
-
if (!error2)
|
|
10993
|
-
return null;
|
|
10704
|
+
if (!error2) return null;
|
|
10994
10705
|
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
10706
|
/* @__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
10707
|
/* @__PURE__ */ u$2("circle", { cx: "8", cy: "8", r: "6.3", stroke: "currentColor", "stroke-width": "1.4" }),
|
|
@@ -11031,8 +10742,7 @@ const JobAlertsButton = D(
|
|
|
11031
10742
|
const PopoverHeader = () => /* @__PURE__ */ u$2("p", { class: "text-neutral-11 px-2 pb-4 pt-1 text-sm", children: store.config$.value.headerText });
|
|
11032
10743
|
const PrivacyPolicyLink = ({ label }) => {
|
|
11033
10744
|
const url = store.config$.value.privacyPolicyUrl;
|
|
11034
|
-
if (!url)
|
|
11035
|
-
return null;
|
|
10745
|
+
if (!url) return null;
|
|
11036
10746
|
return /* @__PURE__ */ u$2(
|
|
11037
10747
|
"a",
|
|
11038
10748
|
{
|
|
@@ -11060,8 +10770,7 @@ const JobAlerts = ({ theme, rpcClient, logger, analytics }) => {
|
|
|
11060
10770
|
onSubmit: async (e2) => {
|
|
11061
10771
|
var _a, _b, _c, _d;
|
|
11062
10772
|
e2.preventDefault();
|
|
11063
|
-
if (formState !== "idle")
|
|
11064
|
-
return;
|
|
10773
|
+
if (formState !== "idle") return;
|
|
11065
10774
|
const formData = new FormData(e2.currentTarget);
|
|
11066
10775
|
const name = (_a = formData.get("name")) == null ? void 0 : _a.toString();
|
|
11067
10776
|
const [firstName, ...rest] = (name == null ? void 0 : name.split(" ")) ?? [];
|
|
@@ -12190,8 +11899,7 @@ const createJobAlertsDomManager = () => {
|
|
|
12190
11899
|
return {
|
|
12191
11900
|
getRenderTargetElement: () => {
|
|
12192
11901
|
const element = document.body.querySelector(`#${JOB_ALERTS_ELEMENT_ID}`);
|
|
12193
|
-
if (!element)
|
|
12194
|
-
throw new Error(`Element with id ${JOB_ALERTS_ELEMENT_ID} not found.`);
|
|
11902
|
+
if (!element) throw new Error(`Element with id ${JOB_ALERTS_ELEMENT_ID} not found.`);
|
|
12195
11903
|
return element;
|
|
12196
11904
|
}
|
|
12197
11905
|
};
|