@inploi/plugin-job-alerts 1.0.0 → 1.0.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 +9 -9
- package/dist/job-alerts.d.ts +2 -0
- package/dist/plugin-job-alerts.cjs +940 -855
- package/dist/plugin-job-alerts.js +940 -855
- package/package.json +6 -5
|
@@ -5,47 +5,46 @@ function invariant(condition, message) {
|
|
|
5
5
|
}
|
|
6
6
|
throw new Error(message);
|
|
7
7
|
}
|
|
8
|
-
var n$1, l$4, u$
|
|
9
|
-
function
|
|
8
|
+
var n$1, l$4, u$4, t$2, i$3, r$2, o$3, e$2, f$4, c$3, s$4, a$3, h$2, p$4 = {}, v$2 = [], y$3 = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, d$3 = Array.isArray;
|
|
9
|
+
function w$4(n2, l2) {
|
|
10
10
|
for (var u2 in l2)
|
|
11
11
|
n2[u2] = l2[u2];
|
|
12
12
|
return n2;
|
|
13
13
|
}
|
|
14
|
-
function
|
|
15
|
-
|
|
16
|
-
l2 && l2.removeChild(n2);
|
|
14
|
+
function g$4(n2) {
|
|
15
|
+
n2 && n2.parentNode && n2.parentNode.removeChild(n2);
|
|
17
16
|
}
|
|
18
|
-
function
|
|
19
|
-
var i2,
|
|
20
|
-
for (
|
|
21
|
-
"key" ==
|
|
22
|
-
if (arguments.length > 2 && (
|
|
23
|
-
for (
|
|
24
|
-
void 0 ===
|
|
25
|
-
return
|
|
17
|
+
function _$3(l2, u2, t2) {
|
|
18
|
+
var i2, r2, o2, e2 = {};
|
|
19
|
+
for (o2 in u2)
|
|
20
|
+
"key" == o2 ? i2 = u2[o2] : "ref" == o2 ? r2 = u2[o2] : e2[o2] = u2[o2];
|
|
21
|
+
if (arguments.length > 2 && (e2.children = arguments.length > 3 ? n$1.call(arguments, 2) : t2), "function" == typeof l2 && null != l2.defaultProps)
|
|
22
|
+
for (o2 in l2.defaultProps)
|
|
23
|
+
void 0 === e2[o2] && (e2[o2] = l2.defaultProps[o2]);
|
|
24
|
+
return m$1(l2, e2, i2, r2, null);
|
|
26
25
|
}
|
|
27
|
-
function
|
|
28
|
-
var
|
|
29
|
-
return null ==
|
|
26
|
+
function m$1(n2, t2, i2, r2, o2) {
|
|
27
|
+
var e2 = { type: n2, props: t2, key: i2, ref: r2, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: null == o2 ? ++u$4 : o2, __i: -1, __u: 0 };
|
|
28
|
+
return null == o2 && null != l$4.vnode && l$4.vnode(e2), e2;
|
|
30
29
|
}
|
|
31
|
-
function
|
|
30
|
+
function b$3() {
|
|
32
31
|
return { current: null };
|
|
33
32
|
}
|
|
34
33
|
function k$3(n2) {
|
|
35
34
|
return n2.children;
|
|
36
35
|
}
|
|
37
|
-
function
|
|
36
|
+
function x$2(n2, l2) {
|
|
38
37
|
this.props = n2, this.context = l2;
|
|
39
38
|
}
|
|
40
|
-
function
|
|
39
|
+
function S$1(n2, l2) {
|
|
41
40
|
if (null == l2)
|
|
42
|
-
return n2.__ ?
|
|
41
|
+
return n2.__ ? S$1(n2.__, n2.__i + 1) : null;
|
|
43
42
|
for (var u2; l2 < n2.__k.length; l2++)
|
|
44
43
|
if (null != (u2 = n2.__k[l2]) && null != u2.__e)
|
|
45
44
|
return u2.__e;
|
|
46
|
-
return "function" == typeof n2.type ?
|
|
45
|
+
return "function" == typeof n2.type ? S$1(n2) : null;
|
|
47
46
|
}
|
|
48
|
-
function
|
|
47
|
+
function C$3(n2) {
|
|
49
48
|
var l2, u2;
|
|
50
49
|
if (null != (n2 = n2.__) && null != n2.__c) {
|
|
51
50
|
for (n2.__e = n2.__c.base = null, l2 = 0; l2 < n2.__k.length; l2++)
|
|
@@ -53,143 +52,164 @@ function m$1(n2) {
|
|
|
53
52
|
n2.__e = n2.__c.base = u2.__e;
|
|
54
53
|
break;
|
|
55
54
|
}
|
|
56
|
-
return
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
function
|
|
60
|
-
(!n2.__d && (n2.__d = true) && i$3.push(n2) &&
|
|
61
|
-
}
|
|
62
|
-
function
|
|
63
|
-
var n2,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
55
|
+
return C$3(n2);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
function M$1(n2) {
|
|
59
|
+
(!n2.__d && (n2.__d = true) && i$3.push(n2) && !$$1.__r++ || r$2 !== l$4.debounceRendering) && ((r$2 = l$4.debounceRendering) || o$3)($$1);
|
|
60
|
+
}
|
|
61
|
+
function $$1() {
|
|
62
|
+
for (var n2, u2, t2, r2, o2, f2, c2, s2 = 1; i$3.length; )
|
|
63
|
+
i$3.length > s2 && i$3.sort(e$2), n2 = i$3.shift(), s2 = i$3.length, n2.__d && (t2 = void 0, o2 = (r2 = (u2 = n2).__v).__e, f2 = [], c2 = [], u2.__P && ((t2 = w$4({}, r2)).__v = r2.__v + 1, l$4.vnode && l$4.vnode(t2), j$3(u2.__P, t2, r2, u2.__n, u2.__P.namespaceURI, 32 & r2.__u ? [o2] : null, f2, null == o2 ? S$1(r2) : o2, !!(32 & r2.__u), c2), t2.__v = r2.__v, t2.__.__k[t2.__i] = t2, z$2(f2, t2, c2), t2.__e != o2 && C$3(t2)));
|
|
64
|
+
$$1.__r = 0;
|
|
65
|
+
}
|
|
66
|
+
function I$1(n2, l2, u2, t2, i2, r2, o2, e2, f2, c2, s2) {
|
|
67
|
+
var a2, h2, y2, d2, w2, g2, _2 = t2 && t2.__k || v$2, m2 = l2.length;
|
|
68
|
+
for (f2 = P$2(u2, l2, _2, f2, m2), a2 = 0; a2 < m2; a2++)
|
|
69
|
+
null != (y2 = u2.__k[a2]) && (h2 = -1 === y2.__i ? p$4 : _2[y2.__i] || p$4, y2.__i = a2, g2 = j$3(n2, y2, h2, i2, r2, o2, e2, f2, c2, s2), d2 = y2.__e, y2.ref && h2.ref != y2.ref && (h2.ref && V$1(h2.ref, null, y2), s2.push(y2.ref, y2.__c || d2, y2)), null == w2 && null != d2 && (w2 = d2), 4 & y2.__u || h2.__k === y2.__k ? f2 = A$3(y2, f2, n2) : "function" == typeof y2.type && void 0 !== g2 ? f2 = g2 : d2 && (f2 = d2.nextSibling), y2.__u &= -7);
|
|
70
|
+
return u2.__e = w2, f2;
|
|
71
|
+
}
|
|
72
|
+
function P$2(n2, l2, u2, t2, i2) {
|
|
73
|
+
var r2, o2, e2, f2, c2, s2 = u2.length, a2 = s2, h2 = 0;
|
|
74
|
+
for (n2.__k = new Array(i2), r2 = 0; r2 < i2; r2++)
|
|
75
|
+
null != (o2 = l2[r2]) && "boolean" != typeof o2 && "function" != typeof o2 ? (f2 = r2 + h2, (o2 = n2.__k[r2] = "string" == typeof o2 || "number" == typeof o2 || "bigint" == typeof o2 || o2.constructor == String ? m$1(null, o2, null, null, null) : d$3(o2) ? m$1(k$3, { children: o2 }, null, null, null) : void 0 === o2.constructor && o2.__b > 0 ? m$1(o2.type, o2.props, o2.key, o2.ref ? o2.ref : null, o2.__v) : o2).__ = n2, o2.__b = n2.__b + 1, e2 = null, -1 !== (c2 = o2.__i = L$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;
|
|
76
|
+
if (a2)
|
|
77
|
+
for (r2 = 0; r2 < s2; r2++)
|
|
78
|
+
null != (e2 = u2[r2]) && 0 == (2 & e2.__u) && (e2.__e == t2 && (t2 = S$1(e2)), q$2(e2, e2));
|
|
79
|
+
return t2;
|
|
74
80
|
}
|
|
75
|
-
function
|
|
76
|
-
|
|
77
|
-
|
|
81
|
+
function A$3(n2, l2, u2) {
|
|
82
|
+
var t2, i2;
|
|
83
|
+
if ("function" == typeof n2.type) {
|
|
84
|
+
for (t2 = n2.__k, i2 = 0; t2 && i2 < t2.length; i2++)
|
|
85
|
+
t2[i2] && (t2[i2].__ = n2, l2 = A$3(t2[i2], l2, u2));
|
|
86
|
+
return l2;
|
|
87
|
+
}
|
|
88
|
+
n2.__e != l2 && (l2 && n2.type && !u2.contains(l2) && (l2 = S$1(n2)), u2.insertBefore(n2.__e, l2 || null), l2 = n2.__e);
|
|
89
|
+
do {
|
|
90
|
+
l2 = l2 && l2.nextSibling;
|
|
91
|
+
} while (null != l2 && 8 == l2.nodeType);
|
|
78
92
|
return l2;
|
|
79
93
|
}
|
|
80
|
-
function
|
|
81
|
-
return l2 = l2 || [], null == n2 || "boolean" == typeof n2 || (
|
|
82
|
-
|
|
94
|
+
function H$1(n2, l2) {
|
|
95
|
+
return l2 = l2 || [], null == n2 || "boolean" == typeof n2 || (d$3(n2) ? n2.some(function(n3) {
|
|
96
|
+
H$1(n3, l2);
|
|
83
97
|
}) : l2.push(n2)), l2;
|
|
84
98
|
}
|
|
85
|
-
function
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
function A$3(n2, l2, u2, t2) {
|
|
89
|
-
var i2 = n2.key, o2 = n2.type, r2 = u2 - 1, f2 = u2 + 1, e2 = l2[u2];
|
|
90
|
-
if (null === e2 || e2 && i2 == e2.key && o2 === e2.type)
|
|
99
|
+
function L$2(n2, l2, u2, t2) {
|
|
100
|
+
var i2, r2, o2 = n2.key, e2 = n2.type, f2 = l2[u2];
|
|
101
|
+
if (null === f2 && null == n2.key || f2 && o2 == f2.key && e2 === f2.type && 0 == (2 & f2.__u))
|
|
91
102
|
return u2;
|
|
92
|
-
if (t2 > (null !=
|
|
93
|
-
for (
|
|
94
|
-
if (
|
|
95
|
-
if ((
|
|
96
|
-
return
|
|
97
|
-
|
|
103
|
+
if (t2 > (null != f2 && 0 == (2 & f2.__u) ? 1 : 0))
|
|
104
|
+
for (i2 = u2 - 1, r2 = u2 + 1; i2 >= 0 || r2 < l2.length; ) {
|
|
105
|
+
if (i2 >= 0) {
|
|
106
|
+
if ((f2 = l2[i2]) && 0 == (2 & f2.__u) && o2 == f2.key && e2 === f2.type)
|
|
107
|
+
return i2;
|
|
108
|
+
i2--;
|
|
98
109
|
}
|
|
99
|
-
if (
|
|
100
|
-
if ((
|
|
101
|
-
return
|
|
102
|
-
|
|
110
|
+
if (r2 < l2.length) {
|
|
111
|
+
if ((f2 = l2[r2]) && 0 == (2 & f2.__u) && o2 == f2.key && e2 === f2.type)
|
|
112
|
+
return r2;
|
|
113
|
+
r2++;
|
|
103
114
|
}
|
|
104
115
|
}
|
|
105
116
|
return -1;
|
|
106
117
|
}
|
|
107
|
-
function
|
|
108
|
-
|
|
109
|
-
for (o2 in u2)
|
|
110
|
-
"children" === o2 || "key" === o2 || o2 in l2 || T$3(n2, o2, null, u2[o2], t2);
|
|
111
|
-
for (o2 in l2)
|
|
112
|
-
i2 && "function" != typeof l2[o2] || "children" === o2 || "key" === o2 || "value" === o2 || "checked" === o2 || u2[o2] === l2[o2] || T$3(n2, o2, l2[o2], u2[o2], t2);
|
|
113
|
-
}
|
|
114
|
-
function I$1(n2, l2, u2) {
|
|
115
|
-
"-" === l2[0] ? n2.setProperty(l2, null == u2 ? "" : u2) : n2[l2] = null == u2 ? "" : "number" != typeof u2 || a$3.test(l2) ? u2 : u2 + "px";
|
|
118
|
+
function T$3(n2, l2, u2) {
|
|
119
|
+
"-" == l2[0] ? n2.setProperty(l2, null == u2 ? "" : u2) : n2[l2] = null == u2 ? "" : "number" != typeof u2 || y$3.test(l2) ? u2 : u2 + "px";
|
|
116
120
|
}
|
|
117
|
-
function
|
|
118
|
-
var
|
|
121
|
+
function F$2(n2, l2, u2, t2, i2) {
|
|
122
|
+
var r2;
|
|
119
123
|
n:
|
|
120
|
-
if ("style"
|
|
124
|
+
if ("style" == l2)
|
|
121
125
|
if ("string" == typeof u2)
|
|
122
126
|
n2.style.cssText = u2;
|
|
123
127
|
else {
|
|
124
128
|
if ("string" == typeof t2 && (n2.style.cssText = t2 = ""), t2)
|
|
125
129
|
for (l2 in t2)
|
|
126
|
-
u2 && l2 in u2 ||
|
|
130
|
+
u2 && l2 in u2 || T$3(n2.style, l2, "");
|
|
127
131
|
if (u2)
|
|
128
132
|
for (l2 in u2)
|
|
129
|
-
t2 && u2[l2] === t2[l2] ||
|
|
133
|
+
t2 && u2[l2] === t2[l2] || T$3(n2.style, l2, u2[l2]);
|
|
130
134
|
}
|
|
131
|
-
else if ("o"
|
|
132
|
-
|
|
133
|
-
else
|
|
134
|
-
if (i2)
|
|
135
|
+
else if ("o" == l2[0] && "n" == l2[1])
|
|
136
|
+
r2 = l2 != (l2 = l2.replace(f$4, "$1")), l2 = l2.toLowerCase() in n2 || "onFocusOut" == l2 || "onFocusIn" == l2 ? l2.toLowerCase().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)
|
|
135
139
|
l2 = l2.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
136
|
-
else if ("width"
|
|
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)
|
|
137
141
|
try {
|
|
138
142
|
n2[l2] = null == u2 ? "" : u2;
|
|
139
143
|
break n;
|
|
140
144
|
} catch (n3) {
|
|
141
145
|
}
|
|
142
|
-
"function" == typeof u2 || (null == u2 || false === u2 && "-"
|
|
146
|
+
"function" == typeof u2 || (null == u2 || false === u2 && "-" != l2[4] ? n2.removeAttribute(l2) : n2.setAttribute(l2, "popover" == l2 && 1 == u2 ? "" : u2));
|
|
143
147
|
}
|
|
144
148
|
}
|
|
145
|
-
function
|
|
146
|
-
return
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
149
|
+
function O$1(n2) {
|
|
150
|
+
return function(u2) {
|
|
151
|
+
if (this.l) {
|
|
152
|
+
var t2 = this.l[u2.type + n2];
|
|
153
|
+
if (null == u2.t)
|
|
154
|
+
u2.t = c$3++;
|
|
155
|
+
else if (u2.t < t2.u)
|
|
156
|
+
return;
|
|
157
|
+
return t2(l$4.event ? l$4.event(u2) : u2);
|
|
158
|
+
}
|
|
159
|
+
};
|
|
150
160
|
}
|
|
151
|
-
function
|
|
152
|
-
var a2, p2,
|
|
161
|
+
function j$3(n2, u2, t2, i2, r2, o2, e2, f2, c2, s2) {
|
|
162
|
+
var a2, h2, p2, v2, y2, _2, m2, b2, S2, C2, M2, $2, P2, A2, H2, L2, T2, F2, O2 = u2.type;
|
|
153
163
|
if (void 0 !== u2.constructor)
|
|
154
164
|
return null;
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
if (
|
|
160
|
-
null ==
|
|
165
|
+
128 & t2.__u && (c2 = !!(32 & t2.__u), o2 = [f2 = u2.__e = t2.__e]), (a2 = l$4.__b) && a2(u2);
|
|
166
|
+
n:
|
|
167
|
+
if ("function" == typeof O2)
|
|
168
|
+
try {
|
|
169
|
+
if (b2 = u2.props, S2 = "prototype" in O2 && O2.prototype.render, C2 = (a2 = O2.contextType) && i2[a2.__c], M2 = a2 ? C2 ? C2.props.value : a2.__ : i2, t2.__c ? m2 = (h2 = u2.__c = t2.__c).__ = h2.__E : (S2 ? u2.__c = h2 = new O2(b2, M2) : (u2.__c = h2 = new x$2(b2, M2), h2.constructor = O2, h2.render = B$2), C2 && C2.sub(h2), h2.props = b2, h2.state || (h2.state = {}), h2.context = M2, h2.__n = i2, p2 = h2.__d = true, h2.__h = [], h2._sb = []), S2 && null == h2.__s && (h2.__s = h2.state), S2 && null != O2.getDerivedStateFromProps && (h2.__s == h2.state && (h2.__s = w$4({}, h2.__s)), w$4(h2.__s, O2.getDerivedStateFromProps(b2, h2.__s))), v2 = h2.props, y2 = h2.state, h2.__v = u2, p2)
|
|
170
|
+
S2 && null == O2.getDerivedStateFromProps && null != h2.componentWillMount && h2.componentWillMount(), S2 && null != h2.componentDidMount && h2.__h.push(h2.componentDidMount);
|
|
161
171
|
else {
|
|
162
|
-
if (null ==
|
|
163
|
-
for (u2.__v
|
|
172
|
+
if (S2 && null == O2.getDerivedStateFromProps && b2 !== v2 && null != h2.componentWillReceiveProps && h2.componentWillReceiveProps(b2, M2), !h2.__e && (null != h2.shouldComponentUpdate && false === h2.shouldComponentUpdate(b2, h2.__s, M2) || u2.__v == t2.__v)) {
|
|
173
|
+
for (u2.__v != t2.__v && (h2.props = b2, h2.state = h2.__s, h2.__d = false), u2.__e = t2.__e, u2.__k = t2.__k, u2.__k.some(function(n3) {
|
|
164
174
|
n3 && (n3.__ = u2);
|
|
165
|
-
}),
|
|
166
|
-
|
|
167
|
-
|
|
175
|
+
}), $2 = 0; $2 < h2._sb.length; $2++)
|
|
176
|
+
h2.__h.push(h2._sb[$2]);
|
|
177
|
+
h2._sb = [], h2.__h.length && e2.push(h2);
|
|
168
178
|
break n;
|
|
169
179
|
}
|
|
170
|
-
null !=
|
|
171
|
-
|
|
180
|
+
null != h2.componentWillUpdate && h2.componentWillUpdate(b2, h2.__s, M2), S2 && null != h2.componentDidUpdate && h2.__h.push(function() {
|
|
181
|
+
h2.componentDidUpdate(v2, y2, _2);
|
|
172
182
|
});
|
|
173
183
|
}
|
|
174
|
-
if (
|
|
175
|
-
for (
|
|
176
|
-
|
|
177
|
-
|
|
184
|
+
if (h2.context = M2, h2.props = b2, h2.__P = n2, h2.__e = false, P2 = l$4.__r, A2 = 0, S2) {
|
|
185
|
+
for (h2.state = h2.__s, h2.__d = false, P2 && P2(u2), a2 = h2.render(h2.props, h2.state, h2.context), H2 = 0; H2 < h2._sb.length; H2++)
|
|
186
|
+
h2.__h.push(h2._sb[H2]);
|
|
187
|
+
h2._sb = [];
|
|
178
188
|
} else
|
|
179
189
|
do {
|
|
180
|
-
|
|
181
|
-
} while (
|
|
182
|
-
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
190
|
+
h2.__d = false, P2 && P2(u2), a2 = h2.render(h2.props, h2.state, h2.context), h2.state = h2.__s;
|
|
191
|
+
} while (h2.__d && ++A2 < 25);
|
|
192
|
+
h2.state = h2.__s, null != h2.getChildContext && (i2 = w$4(w$4({}, i2), h2.getChildContext())), S2 && !p2 && null != h2.getSnapshotBeforeUpdate && (_2 = h2.getSnapshotBeforeUpdate(v2, y2)), T2 = (L2 = null != a2 && a2.type === k$3 && null == a2.key) ? a2.props.children : a2, L2 && (a2.props.children = null), f2 = I$1(n2, d$3(T2) ? T2 : [T2], u2, t2, i2, r2, o2, e2, f2, c2, s2), h2.base = u2.__e, u2.__u &= -161, h2.__h.length && e2.push(h2), m2 && (h2.__E = h2.__ = null);
|
|
193
|
+
} catch (n3) {
|
|
194
|
+
if (u2.__v = null, c2 || null != o2)
|
|
195
|
+
if (n3.then) {
|
|
196
|
+
for (u2.__u |= c2 ? 160 : 128; f2 && 8 == f2.nodeType && f2.nextSibling; )
|
|
197
|
+
f2 = f2.nextSibling;
|
|
198
|
+
o2[o2.indexOf(f2)] = null, u2.__e = f2;
|
|
199
|
+
} else
|
|
200
|
+
for (F2 = o2.length; F2--; )
|
|
201
|
+
g$4(o2[F2]);
|
|
202
|
+
else
|
|
203
|
+
u2.__e = t2.__e, u2.__k = t2.__k;
|
|
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 = N$1(t2.__e, u2, t2, i2, r2, o2, e2, c2, s2);
|
|
208
|
+
return (a2 = l$4.diffed) && a2(u2), 128 & u2.__u ? void 0 : f2;
|
|
189
209
|
}
|
|
190
|
-
function
|
|
210
|
+
function z$2(n2, u2, t2) {
|
|
191
211
|
for (var i2 = 0; i2 < t2.length; i2++)
|
|
192
|
-
|
|
212
|
+
V$1(t2[i2], t2[++i2], t2[++i2]);
|
|
193
213
|
l$4.__c && l$4.__c(u2, n2), n2.some(function(u3) {
|
|
194
214
|
try {
|
|
195
215
|
n2 = u3.__h, u3.__h = [], n2.some(function(n3) {
|
|
@@ -200,120 +220,135 @@ function M$1(n2, u2, t2) {
|
|
|
200
220
|
}
|
|
201
221
|
});
|
|
202
222
|
}
|
|
203
|
-
function N$1(
|
|
204
|
-
var a2, v2, y2,
|
|
205
|
-
if ("svg"
|
|
206
|
-
for (;
|
|
207
|
-
if ((
|
|
208
|
-
|
|
223
|
+
function N$1(u2, t2, i2, r2, o2, e2, f2, c2, s2) {
|
|
224
|
+
var a2, h2, v2, y2, w2, _2, m2, b2 = i2.props, k2 = t2.props, x2 = t2.type;
|
|
225
|
+
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) {
|
|
226
|
+
for (a2 = 0; a2 < e2.length; a2++)
|
|
227
|
+
if ((w2 = e2[a2]) && "setAttribute" in w2 == !!x2 && (x2 ? w2.localName == x2 : 3 == w2.nodeType)) {
|
|
228
|
+
u2 = w2, e2[a2] = null;
|
|
209
229
|
break;
|
|
210
230
|
}
|
|
211
231
|
}
|
|
212
|
-
if (null ==
|
|
213
|
-
if (null
|
|
214
|
-
return document.createTextNode(
|
|
215
|
-
|
|
232
|
+
if (null == u2) {
|
|
233
|
+
if (null == x2)
|
|
234
|
+
return document.createTextNode(k2);
|
|
235
|
+
u2 = document.createElementNS(o2, x2, k2.is && k2), c2 && (l$4.__m && l$4.__m(t2, e2), c2 = false), e2 = null;
|
|
216
236
|
}
|
|
217
|
-
if (null ===
|
|
218
|
-
|
|
237
|
+
if (null === x2)
|
|
238
|
+
b2 === k2 || c2 && u2.data === k2 || (u2.data = k2);
|
|
219
239
|
else {
|
|
220
|
-
if (
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
240
|
+
if (e2 = e2 && n$1.call(u2.childNodes), b2 = i2.props || p$4, !c2 && null != e2)
|
|
241
|
+
for (b2 = {}, a2 = 0; a2 < u2.attributes.length; a2++)
|
|
242
|
+
b2[(w2 = u2.attributes[a2]).name] = w2.value;
|
|
243
|
+
for (a2 in b2)
|
|
244
|
+
if (w2 = b2[a2], "children" == a2)
|
|
245
|
+
;
|
|
246
|
+
else if ("dangerouslySetInnerHTML" == a2)
|
|
247
|
+
v2 = w2;
|
|
248
|
+
else if (!(a2 in k2)) {
|
|
249
|
+
if ("value" == a2 && "defaultValue" in k2 || "checked" == a2 && "defaultChecked" in k2)
|
|
250
|
+
continue;
|
|
251
|
+
F$2(u2, a2, null, w2, o2);
|
|
252
|
+
}
|
|
253
|
+
for (a2 in k2)
|
|
254
|
+
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$2(u2, a2, w2, b2[a2], o2);
|
|
255
|
+
if (h2)
|
|
256
|
+
c2 || v2 && (h2.__html === v2.__html || h2.__html === u2.innerHTML) || (u2.innerHTML = h2.__html), t2.__k = [];
|
|
257
|
+
else if (v2 && (u2.innerHTML = ""), I$1("template" === t2.type ? u2.content : u2, d$3(y2) ? y2 : [y2], t2, i2, r2, "foreignObject" == x2 ? "http://www.w3.org/1999/xhtml" : o2, e2, f2, e2 ? e2[0] : i2.__k && S$1(i2, 0), c2, s2), null != e2)
|
|
258
|
+
for (a2 = e2.length; a2--; )
|
|
259
|
+
g$4(e2[a2]);
|
|
260
|
+
c2 || (a2 = "value", "progress" == x2 && null == _2 ? u2.removeAttribute("value") : void 0 !== _2 && (_2 !== u2[a2] || "progress" == x2 && !_2 || "option" == x2 && _2 !== b2[a2]) && F$2(u2, a2, _2, b2[a2], o2), a2 = "checked", void 0 !== m2 && m2 !== u2[a2] && F$2(u2, a2, m2, b2[a2], o2));
|
|
261
|
+
}
|
|
262
|
+
return u2;
|
|
263
|
+
}
|
|
264
|
+
function V$1(n2, u2, t2) {
|
|
236
265
|
try {
|
|
237
|
-
"function" == typeof n2
|
|
266
|
+
if ("function" == typeof n2) {
|
|
267
|
+
var i2 = "function" == typeof n2.__u;
|
|
268
|
+
i2 && n2.__u(), i2 && null == u2 || (n2.__u = n2(u2));
|
|
269
|
+
} else
|
|
270
|
+
n2.current = u2;
|
|
238
271
|
} catch (n3) {
|
|
239
272
|
l$4.__e(n3, t2);
|
|
240
273
|
}
|
|
241
274
|
}
|
|
242
275
|
function q$2(n2, u2, t2) {
|
|
243
|
-
var i2,
|
|
244
|
-
if (l$4.unmount && l$4.unmount(n2), (i2 = n2.ref) && (i2.current && i2.current !== n2.__e ||
|
|
276
|
+
var i2, r2;
|
|
277
|
+
if (l$4.unmount && l$4.unmount(n2), (i2 = n2.ref) && (i2.current && i2.current !== n2.__e || V$1(i2, null, u2)), null != (i2 = n2.__c)) {
|
|
245
278
|
if (i2.componentWillUnmount)
|
|
246
279
|
try {
|
|
247
280
|
i2.componentWillUnmount();
|
|
248
281
|
} catch (n3) {
|
|
249
282
|
l$4.__e(n3, u2);
|
|
250
283
|
}
|
|
251
|
-
i2.base = i2.__P = null
|
|
284
|
+
i2.base = i2.__P = null;
|
|
252
285
|
}
|
|
253
286
|
if (i2 = n2.__k)
|
|
254
|
-
for (
|
|
255
|
-
i2[
|
|
256
|
-
t2 ||
|
|
287
|
+
for (r2 = 0; r2 < i2.length; r2++)
|
|
288
|
+
i2[r2] && q$2(i2[r2], u2, t2 || "function" != typeof n2.type);
|
|
289
|
+
t2 || g$4(n2.__e), n2.__c = n2.__ = n2.__e = void 0;
|
|
257
290
|
}
|
|
258
291
|
function B$2(n2, l2, u2) {
|
|
259
292
|
return this.constructor(n2, u2);
|
|
260
293
|
}
|
|
261
|
-
function D$
|
|
262
|
-
var o2,
|
|
263
|
-
l$4.__ && l$4.__(u2, t2),
|
|
294
|
+
function D$3(u2, t2, i2) {
|
|
295
|
+
var r2, o2, e2, f2;
|
|
296
|
+
t2 == document && (t2 = document.documentElement), l$4.__ && l$4.__(u2, t2), o2 = (r2 = "function" == typeof i2) ? null : i2 && i2.__k || t2.__k, e2 = [], f2 = [], j$3(t2, u2 = (!r2 && i2 || t2).__k = _$3(k$3, null, [u2]), o2 || p$4, p$4, t2.namespaceURI, !r2 && i2 ? [i2] : o2 ? null : t2.firstChild ? n$1.call(t2.childNodes) : null, e2, !r2 && i2 ? i2 : o2 ? o2.__e : t2.firstChild, r2, f2), z$2(e2, u2, f2);
|
|
264
297
|
}
|
|
265
298
|
function E$3(n2, l2) {
|
|
266
|
-
D$
|
|
267
|
-
}
|
|
268
|
-
function
|
|
269
|
-
var i2, o2,
|
|
270
|
-
for (
|
|
271
|
-
"key" ==
|
|
272
|
-
return arguments.length > 2 && (
|
|
273
|
-
}
|
|
274
|
-
function
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
var u3, t2;
|
|
279
|
-
return this.getChildContext || (u3 = [], (t2 = {})[l2] = this, this.getChildContext = function() {
|
|
299
|
+
D$3(n2, l2, E$3);
|
|
300
|
+
}
|
|
301
|
+
function G$1(l2, u2, t2) {
|
|
302
|
+
var i2, r2, o2, e2, f2 = w$4({}, l2.props);
|
|
303
|
+
for (o2 in l2.type && l2.type.defaultProps && (e2 = l2.type.defaultProps), u2)
|
|
304
|
+
"key" == o2 ? i2 = u2[o2] : "ref" == o2 ? r2 = u2[o2] : f2[o2] = void 0 === u2[o2] && void 0 !== e2 ? e2[o2] : u2[o2];
|
|
305
|
+
return arguments.length > 2 && (f2.children = arguments.length > 3 ? n$1.call(arguments, 2) : t2), m$1(l2.type, f2, i2 || l2.key, r2 || l2.ref, null);
|
|
306
|
+
}
|
|
307
|
+
function J$1(n2) {
|
|
308
|
+
function l2(n3) {
|
|
309
|
+
var u2, t2;
|
|
310
|
+
return this.getChildContext || (u2 = /* @__PURE__ */ new Set(), (t2 = {})[l2.__c] = this, this.getChildContext = function() {
|
|
280
311
|
return t2;
|
|
312
|
+
}, this.componentWillUnmount = function() {
|
|
313
|
+
u2 = null;
|
|
281
314
|
}, this.shouldComponentUpdate = function(n4) {
|
|
282
|
-
this.props.value !== n4.value &&
|
|
283
|
-
n5.__e = true,
|
|
315
|
+
this.props.value !== n4.value && u2.forEach(function(n5) {
|
|
316
|
+
n5.__e = true, M$1(n5);
|
|
284
317
|
});
|
|
285
318
|
}, this.sub = function(n4) {
|
|
286
|
-
|
|
319
|
+
u2.add(n4);
|
|
287
320
|
var l3 = n4.componentWillUnmount;
|
|
288
321
|
n4.componentWillUnmount = function() {
|
|
289
|
-
|
|
322
|
+
u2 && u2.delete(n4), l3 && l3.call(n4);
|
|
290
323
|
};
|
|
291
324
|
}), n3.children;
|
|
292
|
-
}
|
|
293
|
-
return
|
|
325
|
+
}
|
|
326
|
+
return l2.__c = "__cC" + h$2++, l2.__ = n2, l2.Provider = l2.__l = (l2.Consumer = function(n3, l3) {
|
|
327
|
+
return n3.children(l3);
|
|
328
|
+
}).contextType = l2, l2;
|
|
294
329
|
}
|
|
295
|
-
n$1 =
|
|
296
|
-
for (var i2,
|
|
330
|
+
n$1 = v$2.slice, l$4 = { __e: function(n2, l2, u2, t2) {
|
|
331
|
+
for (var i2, r2, o2; l2 = l2.__; )
|
|
297
332
|
if ((i2 = l2.__c) && !i2.__)
|
|
298
333
|
try {
|
|
299
|
-
if ((
|
|
334
|
+
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)
|
|
300
335
|
return i2.__E = i2;
|
|
301
336
|
} catch (l3) {
|
|
302
337
|
n2 = l3;
|
|
303
338
|
}
|
|
304
339
|
throw n2;
|
|
305
|
-
} }, u$
|
|
306
|
-
return null != n2 &&
|
|
307
|
-
},
|
|
340
|
+
} }, u$4 = 0, t$2 = function(n2) {
|
|
341
|
+
return null != n2 && null == n2.constructor;
|
|
342
|
+
}, x$2.prototype.setState = function(n2, l2) {
|
|
308
343
|
var u2;
|
|
309
|
-
u2 = null != this.__s && this.__s !== this.state ? this.__s : this.__s =
|
|
310
|
-
},
|
|
311
|
-
this.__v && (this.__e = true, n2 && this.__h.push(n2),
|
|
312
|
-
},
|
|
344
|
+
u2 = null != this.__s && this.__s !== this.state ? this.__s : this.__s = w$4({}, this.state), "function" == typeof n2 && (n2 = n2(w$4({}, u2), this.props)), n2 && w$4(u2, n2), null != n2 && this.__v && (l2 && this._sb.push(l2), M$1(this));
|
|
345
|
+
}, x$2.prototype.forceUpdate = function(n2) {
|
|
346
|
+
this.__v && (this.__e = true, n2 && this.__h.push(n2), M$1(this));
|
|
347
|
+
}, x$2.prototype.render = k$3, i$3 = [], o$3 = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, e$2 = function(n2, l2) {
|
|
313
348
|
return n2.__v.__b - l2.__v.__b;
|
|
314
|
-
},
|
|
315
|
-
var n = /[\s\n\\/='"\0<>]/, o$
|
|
316
|
-
function s$
|
|
349
|
+
}, $$1.__r = 0, f$4 = /(PointerCapture)$|Capture$/i, c$3 = 0, s$4 = O$1(false), a$3 = O$1(true), h$2 = 0;
|
|
350
|
+
var n = /[\s\n\\/='"\0<>]/, o$2 = /^(xlink|xmlns|xml)([A-Z])/, i$2 = /^accessK|^auto[A-Z]|^cell|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|spellC|src[A-Z]|tabI|useM|item[A-Z]/, a$2 = /^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/, c$2 = /["&<]/;
|
|
351
|
+
function s$3(e2) {
|
|
317
352
|
if (0 === e2.length || false === c$2.test(e2))
|
|
318
353
|
return e2;
|
|
319
354
|
for (var t2 = 0, r2 = 0, n2 = "", o2 = ""; r2 < e2.length; r2++) {
|
|
@@ -334,23 +369,23 @@ function s$2(e2) {
|
|
|
334
369
|
}
|
|
335
370
|
return r2 !== t2 && (n2 += e2.slice(t2, r2)), n2;
|
|
336
371
|
}
|
|
337
|
-
var l$3 = {}, u$
|
|
372
|
+
var l$3 = {}, u$3 = /* @__PURE__ */ new Set(["animation-iteration-count", "border-image-outset", "border-image-slice", "border-image-width", "box-flex", "box-flex-group", "box-ordinal-group", "column-count", "fill-opacity", "flex", "flex-grow", "flex-negative", "flex-order", "flex-positive", "flex-shrink", "flood-opacity", "font-weight", "grid-column", "grid-row", "line-clamp", "line-height", "opacity", "order", "orphans", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-miterlimit", "stroke-opacity", "stroke-width", "tab-size", "widows", "z-index", "zoom"]), f$3 = /[A-Z]/g;
|
|
338
373
|
function p$3(e2) {
|
|
339
374
|
var t2 = "";
|
|
340
375
|
for (var r2 in e2) {
|
|
341
376
|
var n2 = e2[r2];
|
|
342
377
|
if (null != n2 && "" !== n2) {
|
|
343
|
-
var o2 = "-" == r2[0] ? r2 : l$3[r2] || (l$3[r2] = r2.replace(f$
|
|
344
|
-
"number" != typeof n2 || o2.startsWith("--") || u$
|
|
378
|
+
var o2 = "-" == r2[0] ? r2 : l$3[r2] || (l$3[r2] = r2.replace(f$3, "-$&").toLowerCase()), i2 = ";";
|
|
379
|
+
"number" != typeof n2 || o2.startsWith("--") || u$3.has(o2) || (i2 = "px;"), t2 = t2 + o2 + ":" + n2 + i2;
|
|
345
380
|
}
|
|
346
381
|
}
|
|
347
382
|
return t2 || void 0;
|
|
348
383
|
}
|
|
349
|
-
var y$2, g$3, b$2, k$2, w$3 = [], A$2 = Array.isArray, C$
|
|
384
|
+
var y$2, g$3, b$2, k$2, w$3 = [], A$2 = Array.isArray, C$2 = Object.assign;
|
|
350
385
|
function S(n2, o2, i2) {
|
|
351
386
|
var a2 = l$4.__s;
|
|
352
387
|
l$4.__s = true, y$2 = l$4.__b, g$3 = l$4.diffed, b$2 = l$4.__r, k$2 = l$4.unmount;
|
|
353
|
-
var c2 =
|
|
388
|
+
var c2 = _$3(k$3, null);
|
|
354
389
|
c2.__k = [n2];
|
|
355
390
|
try {
|
|
356
391
|
var s2 = j$2(n2, o2 || E$2, false, void 0, c2, false, i2);
|
|
@@ -369,13 +404,13 @@ function L$1() {
|
|
|
369
404
|
var E$2 = {};
|
|
370
405
|
function T$2(e2, t2) {
|
|
371
406
|
var r2, n2 = e2.type, o2 = true;
|
|
372
|
-
return e2.__c ? (o2 = false, (r2 = e2.__c).state = r2.__s) : r2 = new n2(e2.props, t2), e2.__c = r2, r2.__v = e2, r2.props = e2.props, r2.context = t2, r2.__d = true, null == r2.state && (r2.state = E$2), null == r2.__s && (r2.__s = r2.state), n2.getDerivedStateFromProps ? r2.state = C$
|
|
407
|
+
return e2.__c ? (o2 = false, (r2 = e2.__c).state = r2.__s) : r2 = new n2(e2.props, t2), e2.__c = r2, r2.__v = e2, r2.props = e2.props, r2.context = t2, r2.__d = true, null == r2.state && (r2.state = E$2), null == r2.__s && (r2.__s = r2.state), n2.getDerivedStateFromProps ? r2.state = C$2({}, r2.state, n2.getDerivedStateFromProps(r2.props, r2.state)) : o2 && r2.componentWillMount ? (r2.componentWillMount(), r2.state = r2.__s !== r2.state ? r2.__s : r2.state) : !o2 && r2.componentWillUpdate && r2.componentWillUpdate(), b$2 && b$2(e2), r2.render(r2.props, r2.state, t2);
|
|
373
408
|
}
|
|
374
409
|
function j$2(t2, c2, l2, u2, f2, h2, d2) {
|
|
375
410
|
if (null == t2 || true === t2 || false === t2 || "" === t2)
|
|
376
411
|
return "";
|
|
377
412
|
if ("object" != typeof t2)
|
|
378
|
-
return "function" == typeof t2 ? "" : s$
|
|
413
|
+
return "function" == typeof t2 ? "" : s$3(t2 + "");
|
|
379
414
|
if (A$2(t2)) {
|
|
380
415
|
var _2, v2 = "";
|
|
381
416
|
f2.__k = t2;
|
|
@@ -405,7 +440,7 @@ function j$2(t2, c2, l2, u2, f2, h2, d2) {
|
|
|
405
440
|
return W2;
|
|
406
441
|
}
|
|
407
442
|
if (F2.UNSTABLE_comment)
|
|
408
|
-
return "<!--" + s$
|
|
443
|
+
return "<!--" + s$3(F2.UNSTABLE_comment || "") + "-->";
|
|
409
444
|
P2 = F2.children;
|
|
410
445
|
} else {
|
|
411
446
|
if (null != (E2 = Z2.contextType)) {
|
|
@@ -420,13 +455,13 @@ function j$2(t2, c2, l2, u2, f2, h2, d2) {
|
|
|
420
455
|
U2.__d = false, b$2 && b$2(t2), P2 = Z2.call(U2, F2, M2);
|
|
421
456
|
U2.__d = true;
|
|
422
457
|
}
|
|
423
|
-
if (null != U2.getChildContext && (c2 = C$
|
|
458
|
+
if (null != U2.getChildContext && (c2 = C$2({}, c2, U2.getChildContext())), (Z2.getDerivedStateFromError || U2.componentDidCatch) && l$4.errorBoundaries) {
|
|
424
459
|
var B2 = "";
|
|
425
460
|
P2 = null != P2 && P2.type === k$3 && null == P2.key ? P2.props.children : P2;
|
|
426
461
|
try {
|
|
427
462
|
return B2 = j$2(P2, c2, l2, u2, t2, h2, d2);
|
|
428
463
|
} catch (e2) {
|
|
429
|
-
return Z2.getDerivedStateFromError && (U2.__s = Z2.getDerivedStateFromError(e2)), U2.componentDidCatch && U2.componentDidCatch(e2, {}), U2.__d && (P2 = T$2(t2, c2), null != (U2 = t2.__c).getChildContext && (c2 = C$
|
|
464
|
+
return Z2.getDerivedStateFromError && (U2.__s = Z2.getDerivedStateFromError(e2)), U2.componentDidCatch && U2.componentDidCatch(e2, {}), U2.__d && (P2 = T$2(t2, c2), null != (U2 = t2.__c).getChildContext && (c2 = C$2({}, c2, U2.getChildContext())), B2 = j$2(P2 = null != P2 && P2.type === k$3 && null == P2.key ? P2.props.children : P2, c2, l2, u2, t2, h2, d2)), B2;
|
|
430
465
|
} finally {
|
|
431
466
|
g$3 && g$3(t2), t2.__ = null, k$2 && k$2(t2);
|
|
432
467
|
}
|
|
@@ -522,42 +557,44 @@ function j$2(t2, c2, l2, u2, f2, h2, d2) {
|
|
|
522
557
|
J2 = "http-equiv";
|
|
523
558
|
break;
|
|
524
559
|
default:
|
|
525
|
-
if (o$
|
|
526
|
-
J2 = J2.replace(o$
|
|
560
|
+
if (o$2.test(J2))
|
|
561
|
+
J2 = J2.replace(o$2, "$1:$2").toLowerCase();
|
|
527
562
|
else {
|
|
528
563
|
if (n.test(J2))
|
|
529
564
|
continue;
|
|
530
565
|
"-" !== J2[4] && "draggable" !== J2 || null == Q2 ? l2 ? a$2.test(J2) && (J2 = "panose1" === J2 ? "panose-1" : J2.replace(/([A-Z])/g, "-$1").toLowerCase()) : i$2.test(J2) && (J2 = J2.toLowerCase()) : Q2 += "";
|
|
531
566
|
}
|
|
532
567
|
}
|
|
533
|
-
null != Q2 && false !== Q2 && "function" != typeof Q2 && (K2 = true === Q2 || "" === Q2 ? K2 + " " + J2 : K2 + " " + J2 + '="' + s$
|
|
568
|
+
null != Q2 && false !== Q2 && "function" != typeof Q2 && (K2 = true === Q2 || "" === Q2 ? K2 + " " + J2 : K2 + " " + J2 + '="' + s$3(Q2 + "") + '"');
|
|
534
569
|
}
|
|
535
570
|
if (n.test(Z2))
|
|
536
571
|
throw new Error(Z2 + " is not a valid HTML tag name in " + K2 + ">");
|
|
537
|
-
if (G2 || ("string" == typeof V2 ? G2 = s$
|
|
572
|
+
if (G2 || ("string" == typeof V2 ? G2 = s$3(V2) : null != V2 && false !== V2 && true !== V2 && (G2 = j$2(V2, c2, "svg" === Z2 || "foreignObject" !== Z2 && l2, u2, t2, h2, d2))), g$3 && g$3(t2), t2.__ = null, k$2 && k$2(t2), !G2 && D$2.has(Z2))
|
|
538
573
|
return K2 + "/>";
|
|
539
574
|
var X2 = "</" + Z2 + ">", Y2 = K2 + ">";
|
|
540
575
|
return Array.isArray(G2) ? [Y2].concat(G2, [X2]) : "string" != typeof G2 ? [Y2, G2, X2] : Y2 + G2 + X2;
|
|
541
576
|
}
|
|
542
|
-
var D$
|
|
543
|
-
var
|
|
544
|
-
function
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
577
|
+
var D$2 = /* @__PURE__ */ new Set(["area", "base", "br", "col", "command", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]);
|
|
578
|
+
var f$2 = 0;
|
|
579
|
+
function u$2(e2, t2, n2, o2, i2, u2) {
|
|
580
|
+
t2 || (t2 = {});
|
|
581
|
+
var a2, c2, p2 = t2;
|
|
582
|
+
if ("ref" in p2)
|
|
583
|
+
for (c2 in p2 = {}, t2)
|
|
584
|
+
"ref" == c2 ? a2 = t2[c2] : p2[c2] = t2[c2];
|
|
585
|
+
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 };
|
|
586
|
+
if ("function" == typeof e2 && (a2 = e2.defaultProps))
|
|
587
|
+
for (c2 in a2)
|
|
588
|
+
void 0 === p2[c2] && (p2[c2] = a2[c2]);
|
|
589
|
+
return l$4.vnode && l$4.vnode(l2), l2;
|
|
553
590
|
}
|
|
554
591
|
const icons = {
|
|
555
|
-
bell: /* @__PURE__ */
|
|
556
|
-
x: /* @__PURE__ */
|
|
557
|
-
"chevron-up-down": /* @__PURE__ */
|
|
592
|
+
bell: /* @__PURE__ */ u$2("path", { d: "M10 17a2.4 2.4 0 0 0 2.5 2.3A2.4 2.4 0 0 0 15 17m-7.5-6.5c0-4 1.9-6 5-6s5 2 5 6c0 3.3 1 4.3 1.4 5.1v.6c0 .2-.3.3-.5.3H6.7a.6.6 0 0 1-.5-.3.6.6 0 0 1 0-.6c.5-.8 1.3-1.9 1.3-5.1Z" }),
|
|
593
|
+
x: /* @__PURE__ */ u$2("path", { d: "M8 8l8 8M8 16l8 -8" }),
|
|
594
|
+
"chevron-up-down": /* @__PURE__ */ u$2("path", { d: "M8 9l4 -4l4 4 M8 15l4 4l4 -4" })
|
|
558
595
|
};
|
|
559
596
|
const IconSpritesheet = ({ theme }) => {
|
|
560
|
-
return /* @__PURE__ */
|
|
597
|
+
return /* @__PURE__ */ u$2("svg", { xmlns: "http://www.w3.org/2000/svg", style: { display: "none" }, children: /* @__PURE__ */ u$2("defs", { children: Object.entries(icons).map(([name, icon]) => /* @__PURE__ */ u$2("symbol", { id: `i-icon-${name}`, children: /* @__PURE__ */ u$2(
|
|
561
598
|
"g",
|
|
562
599
|
{
|
|
563
600
|
fill: "none",
|
|
@@ -570,7 +607,7 @@ const IconSpritesheet = ({ theme }) => {
|
|
|
570
607
|
) })) }) });
|
|
571
608
|
};
|
|
572
609
|
const Icon = ({ name, ...props }) => {
|
|
573
|
-
return /* @__PURE__ */
|
|
610
|
+
return /* @__PURE__ */ u$2("svg", { viewBox: "0 0 24 24", width: 24, height: 24, ...props, children: /* @__PURE__ */ u$2("use", { href: `#i-icon-${name}` }) });
|
|
574
611
|
};
|
|
575
612
|
function _extends() {
|
|
576
613
|
_extends = Object.assign ? Object.assign.bind() : function(target) {
|
|
@@ -586,174 +623,181 @@ function _extends() {
|
|
|
586
623
|
};
|
|
587
624
|
return _extends.apply(this, arguments);
|
|
588
625
|
}
|
|
589
|
-
var t$1, r$
|
|
590
|
-
function
|
|
591
|
-
|
|
592
|
-
var
|
|
593
|
-
return
|
|
626
|
+
var t$1, r$1, u$1, i$1, o$1 = 0, f$1 = [], c$1 = l$4, e$1 = c$1.__b, a$1 = c$1.__r, v$1 = c$1.diffed, l$2 = c$1.__c, m = c$1.unmount, s$2 = c$1.__;
|
|
627
|
+
function p$2(n2, t2) {
|
|
628
|
+
c$1.__h && c$1.__h(r$1, n2, o$1 || t2), o$1 = 0;
|
|
629
|
+
var u2 = r$1.__H || (r$1.__H = { __: [], __h: [] });
|
|
630
|
+
return n2 >= u2.__.length && u2.__.push({}), u2.__[n2];
|
|
594
631
|
}
|
|
595
|
-
function
|
|
596
|
-
return o$1 = 1,
|
|
632
|
+
function d$2(n2) {
|
|
633
|
+
return o$1 = 1, h$1(D$1, n2);
|
|
597
634
|
}
|
|
598
|
-
function
|
|
599
|
-
var o2 =
|
|
600
|
-
if (o2.t = n2, !o2.__c && (o2.__ = [i2 ? i2(u2) :
|
|
635
|
+
function h$1(n2, u2, i2) {
|
|
636
|
+
var o2 = p$2(t$1++, 2);
|
|
637
|
+
if (o2.t = n2, !o2.__c && (o2.__ = [i2 ? i2(u2) : D$1(void 0, u2), function(n3) {
|
|
601
638
|
var t2 = o2.__N ? o2.__N[0] : o2.__[0], r2 = o2.t(t2, n3);
|
|
602
639
|
t2 !== r2 && (o2.__N = [r2, o2.__[1]], o2.__c.setState({}));
|
|
603
|
-
}], o2.__c = r$
|
|
640
|
+
}], o2.__c = r$1, !r$1.__f)) {
|
|
604
641
|
var f2 = function(n3, t2, r2) {
|
|
605
642
|
if (!o2.__c.__H)
|
|
606
643
|
return true;
|
|
607
644
|
var u3 = o2.__c.__H.__.filter(function(n4) {
|
|
608
|
-
return n4.__c;
|
|
645
|
+
return !!n4.__c;
|
|
609
646
|
});
|
|
610
647
|
if (u3.every(function(n4) {
|
|
611
648
|
return !n4.__N;
|
|
612
649
|
}))
|
|
613
650
|
return !c2 || c2.call(this, n3, t2, r2);
|
|
614
|
-
var i3 =
|
|
651
|
+
var i3 = o2.__c.props !== n3;
|
|
615
652
|
return u3.forEach(function(n4) {
|
|
616
653
|
if (n4.__N) {
|
|
617
654
|
var t3 = n4.__[0];
|
|
618
655
|
n4.__ = n4.__N, n4.__N = void 0, t3 !== n4.__[0] && (i3 = true);
|
|
619
656
|
}
|
|
620
|
-
}),
|
|
657
|
+
}), c2 && c2.call(this, n3, t2, r2) || i3;
|
|
621
658
|
};
|
|
622
|
-
r$
|
|
623
|
-
var c2 = r$
|
|
624
|
-
r$
|
|
659
|
+
r$1.__f = true;
|
|
660
|
+
var c2 = r$1.shouldComponentUpdate, e2 = r$1.componentWillUpdate;
|
|
661
|
+
r$1.componentWillUpdate = function(n3, t2, r2) {
|
|
625
662
|
if (this.__e) {
|
|
626
663
|
var u3 = c2;
|
|
627
664
|
c2 = void 0, f2(n3, t2, r2), c2 = u3;
|
|
628
665
|
}
|
|
629
666
|
e2 && e2.call(this, n3, t2, r2);
|
|
630
|
-
}, r$
|
|
667
|
+
}, r$1.shouldComponentUpdate = f2;
|
|
631
668
|
}
|
|
632
669
|
return o2.__N || o2.__;
|
|
633
670
|
}
|
|
634
|
-
function
|
|
635
|
-
var
|
|
636
|
-
!
|
|
671
|
+
function y$1(n2, u2) {
|
|
672
|
+
var i2 = p$2(t$1++, 3);
|
|
673
|
+
!c$1.__s && C$1(i2.__H, u2) && (i2.__ = n2, i2.u = u2, r$1.__H.__h.push(i2));
|
|
637
674
|
}
|
|
638
|
-
function
|
|
639
|
-
var
|
|
640
|
-
!
|
|
675
|
+
function _$2(n2, u2) {
|
|
676
|
+
var i2 = p$2(t$1++, 4);
|
|
677
|
+
!c$1.__s && C$1(i2.__H, u2) && (i2.__ = n2, i2.u = u2, r$1.__h.push(i2));
|
|
641
678
|
}
|
|
642
|
-
function
|
|
643
|
-
return o$1 = 5,
|
|
679
|
+
function A$1(n2) {
|
|
680
|
+
return o$1 = 5, T$1(function() {
|
|
644
681
|
return { current: n2 };
|
|
645
682
|
}, []);
|
|
646
683
|
}
|
|
647
|
-
function
|
|
648
|
-
o$1 = 6,
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
684
|
+
function F$1(n2, t2, r2) {
|
|
685
|
+
o$1 = 6, _$2(function() {
|
|
686
|
+
if ("function" == typeof n2) {
|
|
687
|
+
var r3 = n2(t2());
|
|
688
|
+
return function() {
|
|
689
|
+
n2(null), r3 && "function" == typeof r3 && r3();
|
|
690
|
+
};
|
|
691
|
+
}
|
|
692
|
+
if (n2)
|
|
693
|
+
return n2.current = t2(), function() {
|
|
694
|
+
return n2.current = null;
|
|
695
|
+
};
|
|
654
696
|
}, null == r2 ? r2 : r2.concat(n2));
|
|
655
697
|
}
|
|
656
|
-
function
|
|
657
|
-
var u2 =
|
|
658
|
-
return
|
|
698
|
+
function T$1(n2, r2) {
|
|
699
|
+
var u2 = p$2(t$1++, 7);
|
|
700
|
+
return C$1(u2.__H, r2) && (u2.__ = n2(), u2.__H = r2, u2.__h = n2), u2.__;
|
|
659
701
|
}
|
|
660
|
-
function
|
|
661
|
-
return o$1 = 8,
|
|
702
|
+
function q$1(n2, t2) {
|
|
703
|
+
return o$1 = 8, T$1(function() {
|
|
662
704
|
return n2;
|
|
663
705
|
}, t2);
|
|
664
706
|
}
|
|
665
|
-
function
|
|
666
|
-
var u2 = r$
|
|
667
|
-
return i2.c = n2, u2 ? (null == i2.__ && (i2.__ = true, u2.sub(r$
|
|
707
|
+
function x$1(n2) {
|
|
708
|
+
var u2 = r$1.context[n2.__c], i2 = p$2(t$1++, 9);
|
|
709
|
+
return i2.c = n2, u2 ? (null == i2.__ && (i2.__ = true, u2.sub(r$1)), u2.props.value) : n2.__;
|
|
668
710
|
}
|
|
669
|
-
function
|
|
670
|
-
|
|
711
|
+
function P$1(n2, t2) {
|
|
712
|
+
c$1.useDebugValue && c$1.useDebugValue(t2 ? t2(n2) : n2);
|
|
671
713
|
}
|
|
672
|
-
function
|
|
673
|
-
var u2 =
|
|
674
|
-
return u2.__ = n2, r$
|
|
714
|
+
function b$1(n2) {
|
|
715
|
+
var u2 = p$2(t$1++, 10), i2 = d$2();
|
|
716
|
+
return u2.__ = n2, r$1.componentDidCatch || (r$1.componentDidCatch = function(n3, t2) {
|
|
675
717
|
u2.__ && u2.__(n3, t2), i2[1](n3);
|
|
676
718
|
}), [i2[0], function() {
|
|
677
719
|
i2[1](void 0);
|
|
678
720
|
}];
|
|
679
721
|
}
|
|
680
|
-
function
|
|
681
|
-
var n2 =
|
|
722
|
+
function g$2() {
|
|
723
|
+
var n2 = p$2(t$1++, 11);
|
|
682
724
|
if (!n2.__) {
|
|
683
|
-
for (var u2 = r$
|
|
725
|
+
for (var u2 = r$1.__v; null !== u2 && !u2.__m && null !== u2.__; )
|
|
684
726
|
u2 = u2.__;
|
|
685
727
|
var i2 = u2.__m || (u2.__m = [0, 0]);
|
|
686
728
|
n2.__ = "P" + i2[0] + "-" + i2[1]++;
|
|
687
729
|
}
|
|
688
730
|
return n2.__;
|
|
689
731
|
}
|
|
690
|
-
function
|
|
691
|
-
for (var
|
|
692
|
-
if (
|
|
732
|
+
function j$1() {
|
|
733
|
+
for (var n2; n2 = f$1.shift(); )
|
|
734
|
+
if (n2.__P && n2.__H)
|
|
693
735
|
try {
|
|
694
|
-
|
|
695
|
-
} catch (
|
|
696
|
-
|
|
736
|
+
n2.__H.__h.forEach(z$1), n2.__H.__h.forEach(B$1), n2.__H.__h = [];
|
|
737
|
+
} catch (t2) {
|
|
738
|
+
n2.__H.__h = [], c$1.__e(t2, n2.__v);
|
|
697
739
|
}
|
|
698
740
|
}
|
|
699
|
-
|
|
700
|
-
r$
|
|
701
|
-
},
|
|
741
|
+
c$1.__b = function(n2) {
|
|
742
|
+
r$1 = null, e$1 && e$1(n2);
|
|
743
|
+
}, c$1.__ = function(n2, t2) {
|
|
744
|
+
n2 && t2.__k && t2.__k.__m && (n2.__m = t2.__k.__m), s$2 && s$2(n2, t2);
|
|
745
|
+
}, c$1.__r = function(n2) {
|
|
702
746
|
a$1 && a$1(n2), t$1 = 0;
|
|
703
|
-
var i2 = (r$
|
|
704
|
-
i2 && (u$1 === r$
|
|
705
|
-
n3.__N && (n3.__ = n3.__N), n3.
|
|
706
|
-
})) : (i2.__h.forEach(
|
|
707
|
-
},
|
|
708
|
-
v$1 && v$1(
|
|
709
|
-
var
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
})), u$1 = r$
|
|
713
|
-
},
|
|
714
|
-
|
|
747
|
+
var i2 = (r$1 = n2.__c).__H;
|
|
748
|
+
i2 && (u$1 === r$1 ? (i2.__h = [], r$1.__h = [], i2.__.forEach(function(n3) {
|
|
749
|
+
n3.__N && (n3.__ = n3.__N), n3.u = n3.__N = void 0;
|
|
750
|
+
})) : (i2.__h.forEach(z$1), i2.__h.forEach(B$1), i2.__h = [], t$1 = 0)), u$1 = r$1;
|
|
751
|
+
}, c$1.diffed = function(n2) {
|
|
752
|
+
v$1 && v$1(n2);
|
|
753
|
+
var t2 = n2.__c;
|
|
754
|
+
t2 && t2.__H && (t2.__H.__h.length && (1 !== f$1.push(t2) && i$1 === c$1.requestAnimationFrame || ((i$1 = c$1.requestAnimationFrame) || w$2)(j$1)), t2.__H.__.forEach(function(n3) {
|
|
755
|
+
n3.u && (n3.__H = n3.u), n3.u = void 0;
|
|
756
|
+
})), u$1 = r$1 = null;
|
|
757
|
+
}, c$1.__c = function(n2, t2) {
|
|
758
|
+
t2.some(function(n3) {
|
|
715
759
|
try {
|
|
716
|
-
|
|
717
|
-
return !
|
|
760
|
+
n3.__h.forEach(z$1), n3.__h = n3.__h.filter(function(n4) {
|
|
761
|
+
return !n4.__ || B$1(n4);
|
|
718
762
|
});
|
|
719
|
-
} catch (
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
}),
|
|
723
|
-
}
|
|
724
|
-
}), l$2 && l$2(
|
|
725
|
-
},
|
|
726
|
-
m && m(
|
|
727
|
-
var
|
|
728
|
-
|
|
763
|
+
} catch (r2) {
|
|
764
|
+
t2.some(function(n4) {
|
|
765
|
+
n4.__h && (n4.__h = []);
|
|
766
|
+
}), t2 = [], c$1.__e(r2, n3.__v);
|
|
767
|
+
}
|
|
768
|
+
}), l$2 && l$2(n2, t2);
|
|
769
|
+
}, c$1.unmount = function(n2) {
|
|
770
|
+
m && m(n2);
|
|
771
|
+
var t2, r2 = n2.__c;
|
|
772
|
+
r2 && r2.__H && (r2.__H.__.forEach(function(n3) {
|
|
729
773
|
try {
|
|
730
|
-
|
|
731
|
-
} catch (
|
|
732
|
-
|
|
774
|
+
z$1(n3);
|
|
775
|
+
} catch (n4) {
|
|
776
|
+
t2 = n4;
|
|
733
777
|
}
|
|
734
|
-
}),
|
|
778
|
+
}), r2.__H = void 0, t2 && c$1.__e(t2, r2.__v));
|
|
735
779
|
};
|
|
736
|
-
var
|
|
737
|
-
function
|
|
780
|
+
var k$1 = "function" == typeof requestAnimationFrame;
|
|
781
|
+
function w$2(n2) {
|
|
738
782
|
var t2, r2 = function() {
|
|
739
|
-
clearTimeout(u2),
|
|
783
|
+
clearTimeout(u2), k$1 && cancelAnimationFrame(t2), setTimeout(n2);
|
|
740
784
|
}, u2 = setTimeout(r2, 100);
|
|
741
|
-
|
|
785
|
+
k$1 && (t2 = requestAnimationFrame(r2));
|
|
742
786
|
}
|
|
743
|
-
function
|
|
744
|
-
var t2 = r$
|
|
745
|
-
"function" == typeof u2 && (n2.__c = void 0, u2()), r$
|
|
787
|
+
function z$1(n2) {
|
|
788
|
+
var t2 = r$1, u2 = n2.__c;
|
|
789
|
+
"function" == typeof u2 && (n2.__c = void 0, u2()), r$1 = t2;
|
|
746
790
|
}
|
|
747
|
-
function
|
|
748
|
-
var t2 = r$
|
|
749
|
-
n2.__c = n2.__(), r$
|
|
791
|
+
function B$1(n2) {
|
|
792
|
+
var t2 = r$1;
|
|
793
|
+
n2.__c = n2.__(), r$1 = t2;
|
|
750
794
|
}
|
|
751
|
-
function
|
|
795
|
+
function C$1(n2, t2) {
|
|
752
796
|
return !n2 || n2.length !== t2.length || t2.some(function(t3, r2) {
|
|
753
797
|
return t3 !== n2[r2];
|
|
754
798
|
});
|
|
755
799
|
}
|
|
756
|
-
function
|
|
800
|
+
function D$1(n2, t2) {
|
|
757
801
|
return "function" == typeof t2 ? t2(n2) : t2;
|
|
758
802
|
}
|
|
759
803
|
function g$1(n2, t2) {
|
|
@@ -761,7 +805,7 @@ function g$1(n2, t2) {
|
|
|
761
805
|
n2[e2] = t2[e2];
|
|
762
806
|
return n2;
|
|
763
807
|
}
|
|
764
|
-
function
|
|
808
|
+
function E$1(n2, t2) {
|
|
765
809
|
for (var e2 in n2)
|
|
766
810
|
if ("__source" !== e2 && !(e2 in t2))
|
|
767
811
|
return true;
|
|
@@ -770,76 +814,102 @@ function C(n2, t2) {
|
|
|
770
814
|
return true;
|
|
771
815
|
return false;
|
|
772
816
|
}
|
|
773
|
-
function
|
|
774
|
-
|
|
817
|
+
function C(n2, t2) {
|
|
818
|
+
var e2 = t2(), r2 = d$2({ t: { __: e2, u: t2 } }), u2 = r2[0].t, o2 = r2[1];
|
|
819
|
+
return _$2(function() {
|
|
820
|
+
u2.__ = e2, u2.u = t2, x(u2) && o2({ t: u2 });
|
|
821
|
+
}, [n2, e2, t2]), y$1(function() {
|
|
822
|
+
return x(u2) && o2({ t: u2 }), n2(function() {
|
|
823
|
+
x(u2) && o2({ t: u2 });
|
|
824
|
+
});
|
|
825
|
+
}, [n2]), e2;
|
|
826
|
+
}
|
|
827
|
+
function x(n2) {
|
|
828
|
+
var t2, e2, r2 = n2.u, u2 = n2.__;
|
|
829
|
+
try {
|
|
830
|
+
var o2 = r2();
|
|
831
|
+
return !((t2 = u2) === (e2 = o2) && (0 !== t2 || 1 / t2 == 1 / e2) || t2 != t2 && e2 != e2);
|
|
832
|
+
} catch (n3) {
|
|
833
|
+
return true;
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
function R(n2) {
|
|
837
|
+
n2();
|
|
775
838
|
}
|
|
776
839
|
function w$1(n2) {
|
|
777
|
-
|
|
840
|
+
return n2;
|
|
778
841
|
}
|
|
779
|
-
function
|
|
842
|
+
function k() {
|
|
843
|
+
return [false, R];
|
|
844
|
+
}
|
|
845
|
+
var I = _$2;
|
|
846
|
+
function N(n2, t2) {
|
|
847
|
+
this.props = n2, this.context = t2;
|
|
848
|
+
}
|
|
849
|
+
function M(n2, e2) {
|
|
780
850
|
function r2(n3) {
|
|
781
851
|
var t2 = this.props.ref, r3 = t2 == n3.ref;
|
|
782
|
-
return !r3 && t2 && (t2.call ? t2(null) : t2.current = null), e2 ? !e2(this.props, n3) || !r3 :
|
|
852
|
+
return !r3 && t2 && (t2.call ? t2(null) : t2.current = null), e2 ? !e2(this.props, n3) || !r3 : E$1(this.props, n3);
|
|
783
853
|
}
|
|
784
854
|
function u2(e3) {
|
|
785
|
-
return this.shouldComponentUpdate = r2,
|
|
855
|
+
return this.shouldComponentUpdate = r2, _$3(n2, e3);
|
|
786
856
|
}
|
|
787
857
|
return u2.displayName = "Memo(" + (n2.displayName || n2.name) + ")", u2.prototype.isReactComponent = true, u2.__f = true, u2;
|
|
788
858
|
}
|
|
789
|
-
(
|
|
790
|
-
return
|
|
859
|
+
(N.prototype = new x$2()).isPureReactComponent = true, N.prototype.shouldComponentUpdate = function(n2, t2) {
|
|
860
|
+
return E$1(this.props, n2) || E$1(this.state, t2);
|
|
791
861
|
};
|
|
792
|
-
var
|
|
862
|
+
var T = l$4.__b;
|
|
793
863
|
l$4.__b = function(n2) {
|
|
794
|
-
n2.type && n2.type.__f && n2.ref && (n2.props.ref = n2.ref, n2.ref = null),
|
|
864
|
+
n2.type && n2.type.__f && n2.ref && (n2.props.ref = n2.ref, n2.ref = null), T && T(n2);
|
|
795
865
|
};
|
|
796
|
-
var
|
|
797
|
-
function
|
|
866
|
+
var A = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.forward_ref") || 3911;
|
|
867
|
+
function D(n2) {
|
|
798
868
|
function t2(t3) {
|
|
799
869
|
var e2 = g$1({}, t3);
|
|
800
870
|
return delete e2.ref, n2(e2, t3.ref || null);
|
|
801
871
|
}
|
|
802
|
-
return t2.$$typeof =
|
|
872
|
+
return t2.$$typeof = A, t2.render = t2, t2.prototype.isReactComponent = t2.__f = true, t2.displayName = "ForwardRef(" + (n2.displayName || n2.name) + ")", t2;
|
|
803
873
|
}
|
|
804
|
-
var
|
|
805
|
-
return null == n2 ? null :
|
|
806
|
-
}, O
|
|
807
|
-
return n2 ?
|
|
874
|
+
var L = function(n2, t2) {
|
|
875
|
+
return null == n2 ? null : H$1(H$1(n2).map(t2));
|
|
876
|
+
}, O = { map: L, forEach: L, count: function(n2) {
|
|
877
|
+
return n2 ? H$1(n2).length : 0;
|
|
808
878
|
}, only: function(n2) {
|
|
809
|
-
var t2 =
|
|
879
|
+
var t2 = H$1(n2);
|
|
810
880
|
if (1 !== t2.length)
|
|
811
881
|
throw "Children.only";
|
|
812
882
|
return t2[0];
|
|
813
|
-
}, toArray:
|
|
883
|
+
}, toArray: H$1 }, F = l$4.__e;
|
|
814
884
|
l$4.__e = function(n2, t2, e2, r2) {
|
|
815
885
|
if (n2.then) {
|
|
816
886
|
for (var u2, o2 = t2; o2 = o2.__; )
|
|
817
887
|
if ((u2 = o2.__c) && u2.__c)
|
|
818
888
|
return null == t2.__e && (t2.__e = e2.__e, t2.__k = e2.__k), u2.__c(n2, t2);
|
|
819
889
|
}
|
|
820
|
-
|
|
890
|
+
F(n2, t2, e2, r2);
|
|
821
891
|
};
|
|
822
|
-
var
|
|
823
|
-
function
|
|
892
|
+
var U = l$4.unmount;
|
|
893
|
+
function V(n2, t2, e2) {
|
|
824
894
|
return n2 && (n2.__c && n2.__c.__H && (n2.__c.__H.__.forEach(function(n3) {
|
|
825
895
|
"function" == typeof n3.__c && n3.__c();
|
|
826
896
|
}), n2.__c.__H = null), null != (n2 = g$1({}, n2)).__c && (n2.__c.__P === e2 && (n2.__c.__P = t2), n2.__c = null), n2.__k = n2.__k && n2.__k.map(function(n3) {
|
|
827
|
-
return
|
|
897
|
+
return V(n3, t2, e2);
|
|
828
898
|
})), n2;
|
|
829
899
|
}
|
|
830
|
-
function
|
|
831
|
-
return n2 && (n2.__v = null, n2.__k = n2.__k && n2.__k.map(function(n3) {
|
|
832
|
-
return
|
|
833
|
-
}), n2.__c && n2.__c.__P === t2 && (n2.__e && e2.
|
|
900
|
+
function W(n2, t2, e2) {
|
|
901
|
+
return n2 && e2 && (n2.__v = null, n2.__k = n2.__k && n2.__k.map(function(n3) {
|
|
902
|
+
return W(n3, t2, e2);
|
|
903
|
+
}), n2.__c && n2.__c.__P === t2 && (n2.__e && e2.appendChild(n2.__e), n2.__c.__e = true, n2.__c.__P = e2)), n2;
|
|
834
904
|
}
|
|
835
|
-
function
|
|
836
|
-
this.__u = 0, this.
|
|
905
|
+
function P() {
|
|
906
|
+
this.__u = 0, this.o = null, this.__b = null;
|
|
837
907
|
}
|
|
838
|
-
function
|
|
908
|
+
function j(n2) {
|
|
839
909
|
var t2 = n2.__.__c;
|
|
840
910
|
return t2 && t2.__a && t2.__a(n2);
|
|
841
911
|
}
|
|
842
|
-
function
|
|
912
|
+
function z(n2) {
|
|
843
913
|
var e2, r2, u2;
|
|
844
914
|
function o2(o3) {
|
|
845
915
|
if (e2 || (e2 = n2()).then(function(n3) {
|
|
@@ -850,247 +920,237 @@ function M(n2) {
|
|
|
850
920
|
throw u2;
|
|
851
921
|
if (!r2)
|
|
852
922
|
throw e2;
|
|
853
|
-
return
|
|
923
|
+
return _$3(r2, o3);
|
|
854
924
|
}
|
|
855
925
|
return o2.displayName = "Lazy", o2.__f = true, o2;
|
|
856
926
|
}
|
|
857
|
-
function
|
|
858
|
-
this.
|
|
927
|
+
function B() {
|
|
928
|
+
this.i = null, this.l = null;
|
|
859
929
|
}
|
|
860
930
|
l$4.unmount = function(n2) {
|
|
861
931
|
var t2 = n2.__c;
|
|
862
|
-
t2 && t2.__R && t2.__R(), t2 &&
|
|
863
|
-
}, (
|
|
932
|
+
t2 && t2.__R && t2.__R(), t2 && 32 & n2.__u && (n2.type = null), U && U(n2);
|
|
933
|
+
}, (P.prototype = new x$2()).__c = function(n2, t2) {
|
|
864
934
|
var e2 = t2.__c, r2 = this;
|
|
865
|
-
null == r2.
|
|
866
|
-
var u2 =
|
|
867
|
-
o2 || (o2 = true, e2.__R = null, u2 ? u2(
|
|
935
|
+
null == r2.o && (r2.o = []), r2.o.push(e2);
|
|
936
|
+
var u2 = j(r2.__v), o2 = false, i2 = function() {
|
|
937
|
+
o2 || (o2 = true, e2.__R = null, u2 ? u2(c2) : c2());
|
|
868
938
|
};
|
|
869
939
|
e2.__R = i2;
|
|
870
|
-
var
|
|
940
|
+
var c2 = function() {
|
|
871
941
|
if (!--r2.__u) {
|
|
872
942
|
if (r2.state.__a) {
|
|
873
943
|
var n3 = r2.state.__a;
|
|
874
|
-
r2.__v.__k[0] =
|
|
944
|
+
r2.__v.__k[0] = W(n3, n3.__c.__P, n3.__c.__O);
|
|
875
945
|
}
|
|
876
946
|
var t3;
|
|
877
|
-
for (r2.setState({ __a: r2.__b = null }); t3 = r2.
|
|
947
|
+
for (r2.setState({ __a: r2.__b = null }); t3 = r2.o.pop(); )
|
|
878
948
|
t3.forceUpdate();
|
|
879
949
|
}
|
|
880
|
-
}
|
|
881
|
-
r2.__u++ ||
|
|
882
|
-
},
|
|
883
|
-
this.
|
|
884
|
-
},
|
|
950
|
+
};
|
|
951
|
+
r2.__u++ || 32 & t2.__u || r2.setState({ __a: r2.__b = r2.__v.__k[0] }), n2.then(i2, i2);
|
|
952
|
+
}, P.prototype.componentWillUnmount = function() {
|
|
953
|
+
this.o = [];
|
|
954
|
+
}, P.prototype.render = function(n2, e2) {
|
|
885
955
|
if (this.__b) {
|
|
886
956
|
if (this.__v.__k) {
|
|
887
957
|
var r2 = document.createElement("div"), o2 = this.__v.__k[0].__c;
|
|
888
|
-
this.__v.__k[0] =
|
|
958
|
+
this.__v.__k[0] = V(this.__b, r2, o2.__O = o2.__P);
|
|
889
959
|
}
|
|
890
960
|
this.__b = null;
|
|
891
961
|
}
|
|
892
|
-
var i2 = e2.__a &&
|
|
893
|
-
return i2 && (i2.
|
|
962
|
+
var i2 = e2.__a && _$3(k$3, null, n2.fallback);
|
|
963
|
+
return i2 && (i2.__u &= -33), [_$3(k$3, null, e2.__a ? null : n2.children), i2];
|
|
894
964
|
};
|
|
895
|
-
var
|
|
896
|
-
if (++e2[1] === e2[0] && n2.
|
|
897
|
-
for (e2 = n2.
|
|
965
|
+
var H = function(n2, t2, e2) {
|
|
966
|
+
if (++e2[1] === e2[0] && n2.l.delete(t2), n2.props.revealOrder && ("t" !== n2.props.revealOrder[0] || !n2.l.size))
|
|
967
|
+
for (e2 = n2.i; e2; ) {
|
|
898
968
|
for (; e2.length > 3; )
|
|
899
969
|
e2.pop()();
|
|
900
970
|
if (e2[1] < e2[0])
|
|
901
971
|
break;
|
|
902
|
-
n2.
|
|
972
|
+
n2.i = e2 = e2[2];
|
|
903
973
|
}
|
|
904
974
|
};
|
|
905
|
-
function
|
|
975
|
+
function Z(n2) {
|
|
906
976
|
return this.getChildContext = function() {
|
|
907
977
|
return n2.context;
|
|
908
978
|
}, n2.children;
|
|
909
979
|
}
|
|
910
|
-
function
|
|
911
|
-
var e2 = this, r2 = n2.
|
|
980
|
+
function Y(n2) {
|
|
981
|
+
var e2 = this, r2 = n2.h;
|
|
912
982
|
e2.componentWillUnmount = function() {
|
|
913
|
-
D$
|
|
914
|
-
}, e2.
|
|
915
|
-
|
|
983
|
+
D$3(null, e2.v), e2.v = null, e2.h = null;
|
|
984
|
+
}, e2.h && e2.h !== r2 && e2.componentWillUnmount(), e2.v || (e2.h = r2, e2.v = { nodeType: 1, parentNode: r2, childNodes: [], contains: function() {
|
|
985
|
+
return true;
|
|
986
|
+
}, appendChild: function(n3) {
|
|
987
|
+
this.childNodes.push(n3), e2.h.appendChild(n3);
|
|
916
988
|
}, insertBefore: function(n3, t2) {
|
|
917
|
-
this.childNodes.push(n3), e2.
|
|
989
|
+
this.childNodes.push(n3), e2.h.insertBefore(n3, t2);
|
|
918
990
|
}, removeChild: function(n3) {
|
|
919
|
-
this.childNodes.splice(this.childNodes.indexOf(n3) >>> 1, 1), e2.
|
|
920
|
-
} }), D$
|
|
991
|
+
this.childNodes.splice(this.childNodes.indexOf(n3) >>> 1, 1), e2.h.removeChild(n3);
|
|
992
|
+
} }), D$3(_$3(Z, { context: e2.context }, n2.__v), e2.v);
|
|
921
993
|
}
|
|
922
|
-
function
|
|
923
|
-
var r2 =
|
|
994
|
+
function $(n2, e2) {
|
|
995
|
+
var r2 = _$3(Y, { __v: n2, h: e2 });
|
|
924
996
|
return r2.containerInfo = e2, r2;
|
|
925
997
|
}
|
|
926
|
-
(
|
|
927
|
-
var t2 = this, e2 =
|
|
998
|
+
(B.prototype = new x$2()).__a = function(n2) {
|
|
999
|
+
var t2 = this, e2 = j(t2.__v), r2 = t2.l.get(n2);
|
|
928
1000
|
return r2[0]++, function(u2) {
|
|
929
1001
|
var o2 = function() {
|
|
930
|
-
t2.props.revealOrder ? (r2.push(u2),
|
|
1002
|
+
t2.props.revealOrder ? (r2.push(u2), H(t2, n2, r2)) : u2();
|
|
931
1003
|
};
|
|
932
1004
|
e2 ? e2(o2) : o2();
|
|
933
1005
|
};
|
|
934
|
-
},
|
|
935
|
-
this.
|
|
936
|
-
var t2 =
|
|
1006
|
+
}, B.prototype.render = function(n2) {
|
|
1007
|
+
this.i = null, this.l = /* @__PURE__ */ new Map();
|
|
1008
|
+
var t2 = H$1(n2.children);
|
|
937
1009
|
n2.revealOrder && "b" === n2.revealOrder[0] && t2.reverse();
|
|
938
1010
|
for (var e2 = t2.length; e2--; )
|
|
939
|
-
this.
|
|
1011
|
+
this.l.set(t2[e2], this.i = [1, 0, this.i]);
|
|
940
1012
|
return n2.children;
|
|
941
|
-
},
|
|
1013
|
+
}, B.prototype.componentDidUpdate = B.prototype.componentDidMount = function() {
|
|
942
1014
|
var n2 = this;
|
|
943
|
-
this.
|
|
944
|
-
|
|
1015
|
+
this.l.forEach(function(t2, e2) {
|
|
1016
|
+
H(n2, e2, t2);
|
|
945
1017
|
});
|
|
946
1018
|
};
|
|
947
|
-
var
|
|
1019
|
+
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) {
|
|
948
1020
|
return ("undefined" != typeof Symbol && "symbol" == typeof Symbol() ? /fil|che|rad/ : /fil|che|ra/).test(n2);
|
|
949
1021
|
};
|
|
950
|
-
function
|
|
951
|
-
return null == t2.__k && (t2.textContent = ""), D$
|
|
1022
|
+
function nn(n2, t2, e2) {
|
|
1023
|
+
return null == t2.__k && (t2.textContent = ""), D$3(n2, t2), "function" == typeof e2 && e2(), n2 ? n2.__c : null;
|
|
952
1024
|
}
|
|
953
|
-
function
|
|
1025
|
+
function tn(n2, t2, e2) {
|
|
954
1026
|
return E$3(n2, t2), "function" == typeof e2 && e2(), n2 ? n2.__c : null;
|
|
955
1027
|
}
|
|
956
|
-
|
|
957
|
-
Object.defineProperty(
|
|
1028
|
+
x$2.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(t2) {
|
|
1029
|
+
Object.defineProperty(x$2.prototype, t2, { configurable: true, get: function() {
|
|
958
1030
|
return this["UNSAFE_" + t2];
|
|
959
1031
|
}, set: function(n2) {
|
|
960
1032
|
Object.defineProperty(this, t2, { configurable: true, writable: true, value: n2 });
|
|
961
1033
|
} });
|
|
962
1034
|
});
|
|
963
|
-
var
|
|
964
|
-
function
|
|
1035
|
+
var en = l$4.event;
|
|
1036
|
+
function rn() {
|
|
965
1037
|
}
|
|
966
|
-
function
|
|
1038
|
+
function un() {
|
|
967
1039
|
return this.cancelBubble;
|
|
968
1040
|
}
|
|
969
|
-
function
|
|
1041
|
+
function on() {
|
|
970
1042
|
return this.defaultPrevented;
|
|
971
1043
|
}
|
|
972
1044
|
l$4.event = function(n2) {
|
|
973
|
-
return
|
|
1045
|
+
return en && (n2 = en(n2)), n2.persist = rn, n2.isPropagationStopped = un, n2.isDefaultPrevented = on, n2.nativeEvent = n2;
|
|
974
1046
|
};
|
|
975
|
-
var
|
|
1047
|
+
var cn, ln = { enumerable: false, configurable: true, get: function() {
|
|
976
1048
|
return this.class;
|
|
977
|
-
} },
|
|
1049
|
+
} }, fn = l$4.vnode;
|
|
978
1050
|
l$4.vnode = function(n2) {
|
|
979
1051
|
"string" == typeof n2.type && function(n3) {
|
|
980
|
-
var t2 = n3.props, e2 = n3.type, u2 = {};
|
|
981
|
-
for (var
|
|
982
|
-
var
|
|
983
|
-
if (!("value" ===
|
|
984
|
-
var l2 =
|
|
985
|
-
"defaultValue" ===
|
|
1052
|
+
var t2 = n3.props, e2 = n3.type, u2 = {}, o2 = -1 === e2.indexOf("-");
|
|
1053
|
+
for (var i2 in t2) {
|
|
1054
|
+
var c2 = t2[i2];
|
|
1055
|
+
if (!("value" === i2 && "defaultValue" in t2 && null == c2 || Q && "children" === i2 && "noscript" === e2 || "class" === i2 || "className" === i2)) {
|
|
1056
|
+
var l2 = i2.toLowerCase();
|
|
1057
|
+
"defaultValue" === i2 && "value" in t2 && null == t2.value ? i2 = "value" : "download" === i2 && true === c2 ? c2 = "" : "translate" === l2 && "no" === c2 ? c2 = false : "o" === l2[0] && "n" === l2[1] ? "ondoubleclick" === l2 ? i2 = "ondblclick" : "onchange" !== l2 || "input" !== e2 && "textarea" !== e2 || X(t2.type) ? "onfocus" === l2 ? i2 = "onfocusin" : "onblur" === l2 ? i2 = "onfocusout" : J.test(i2) && (i2 = l2) : l2 = i2 = "oninput" : o2 && G.test(i2) ? i2 = i2.replace(K, "-$&").toLowerCase() : null === c2 && (c2 = void 0), "oninput" === l2 && u2[i2 = l2] && (i2 = "oninputCapture"), u2[i2] = c2;
|
|
986
1058
|
}
|
|
987
1059
|
}
|
|
988
|
-
"select" == e2 && u2.multiple && Array.isArray(u2.value) && (u2.value =
|
|
1060
|
+
"select" == e2 && u2.multiple && Array.isArray(u2.value) && (u2.value = H$1(t2.children).forEach(function(n4) {
|
|
989
1061
|
n4.props.selected = -1 != u2.value.indexOf(n4.props.value);
|
|
990
|
-
})), "select" == e2 && null != u2.defaultValue && (u2.value =
|
|
1062
|
+
})), "select" == e2 && null != u2.defaultValue && (u2.value = H$1(t2.children).forEach(function(n4) {
|
|
991
1063
|
n4.props.selected = u2.multiple ? -1 != u2.defaultValue.indexOf(n4.props.value) : u2.defaultValue == n4.props.value;
|
|
992
|
-
})), t2.class && !t2.className ? (u2.class = t2.class, Object.defineProperty(u2, "className",
|
|
993
|
-
}(n2), n2.$$typeof =
|
|
1064
|
+
})), t2.class && !t2.className ? (u2.class = t2.class, Object.defineProperty(u2, "className", ln)) : (t2.className && !t2.class || t2.class && t2.className) && (u2.class = u2.className = t2.className), n3.props = u2;
|
|
1065
|
+
}(n2), n2.$$typeof = q, fn && fn(n2);
|
|
994
1066
|
};
|
|
995
|
-
var
|
|
1067
|
+
var an = l$4.__r;
|
|
996
1068
|
l$4.__r = function(n2) {
|
|
997
|
-
|
|
1069
|
+
an && an(n2), cn = n2.__c;
|
|
998
1070
|
};
|
|
999
|
-
var
|
|
1071
|
+
var sn = l$4.diffed;
|
|
1000
1072
|
l$4.diffed = function(n2) {
|
|
1001
|
-
|
|
1073
|
+
sn && sn(n2);
|
|
1002
1074
|
var t2 = n2.props, e2 = n2.__e;
|
|
1003
|
-
null != e2 && "textarea" === n2.type && "value" in t2 && t2.value !== e2.value && (e2.value = null == t2.value ? "" : t2.value),
|
|
1075
|
+
null != e2 && "textarea" === n2.type && "value" in t2 && t2.value !== e2.value && (e2.value = null == t2.value ? "" : t2.value), cn = null;
|
|
1004
1076
|
};
|
|
1005
|
-
var
|
|
1006
|
-
return
|
|
1007
|
-
} } } },
|
|
1008
|
-
function
|
|
1009
|
-
return
|
|
1010
|
-
}
|
|
1011
|
-
function an(n2) {
|
|
1012
|
-
return !!n2 && n2.$$typeof === B;
|
|
1077
|
+
var hn = { ReactCurrentDispatcher: { current: { readContext: function(n2) {
|
|
1078
|
+
return cn.__n[n2.__c].props.value;
|
|
1079
|
+
}, useCallback: q$1, useContext: x$1, useDebugValue: P$1, useDeferredValue: w$1, useEffect: y$1, useId: g$2, useImperativeHandle: F$1, useInsertionEffect: I, useLayoutEffect: _$2, useMemo: T$1, useReducer: h$1, useRef: A$1, useState: d$2, useSyncExternalStore: C, useTransition: k } } }, vn = "18.3.1";
|
|
1080
|
+
function dn(n2) {
|
|
1081
|
+
return _$3.bind(null, n2);
|
|
1013
1082
|
}
|
|
1014
|
-
function
|
|
1015
|
-
return
|
|
1083
|
+
function pn(n2) {
|
|
1084
|
+
return !!n2 && n2.$$typeof === q;
|
|
1016
1085
|
}
|
|
1017
|
-
function
|
|
1018
|
-
return
|
|
1086
|
+
function mn(n2) {
|
|
1087
|
+
return pn(n2) && n2.type === k$3;
|
|
1019
1088
|
}
|
|
1020
|
-
function vn(n2) {
|
|
1021
|
-
return n2 && (n2.base || 1 === n2.nodeType && n2) || null;
|
|
1022
|
-
}
|
|
1023
|
-
var dn = function(n2, t2) {
|
|
1024
|
-
return n2(t2);
|
|
1025
|
-
}, pn = function(n2, t2) {
|
|
1026
|
-
return n2(t2);
|
|
1027
|
-
}, mn = k$3;
|
|
1028
1089
|
function yn(n2) {
|
|
1029
|
-
n2();
|
|
1090
|
+
return !!n2 && !!n2.displayName && ("string" == typeof n2.displayName || n2.displayName instanceof String) && n2.displayName.startsWith("Memo(");
|
|
1030
1091
|
}
|
|
1031
1092
|
function _n(n2) {
|
|
1032
|
-
return n2;
|
|
1093
|
+
return pn(n2) ? G$1.apply(null, arguments) : n2;
|
|
1033
1094
|
}
|
|
1034
|
-
function bn() {
|
|
1035
|
-
return
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
var e2 = t2(), r2 = h({ h: { __: e2, v: t2 } }), u2 = r2[0].h, o2 = r2[1];
|
|
1040
|
-
return y$1(function() {
|
|
1041
|
-
u2.__ = e2, u2.v = t2, E$1(u2.__, t2()) || o2({ h: u2 });
|
|
1042
|
-
}, [n2, e2, t2]), p$2(function() {
|
|
1043
|
-
return E$1(u2.__, u2.v()) || o2({ h: u2 }), n2(function() {
|
|
1044
|
-
E$1(u2.__, u2.v()) || o2({ h: u2 });
|
|
1045
|
-
});
|
|
1046
|
-
}, [n2]), e2;
|
|
1095
|
+
function bn(n2) {
|
|
1096
|
+
return !!n2.__k && (D$3(null, n2), true);
|
|
1097
|
+
}
|
|
1098
|
+
function Sn(n2) {
|
|
1099
|
+
return n2 && (n2.base || 1 === n2.nodeType && n2) || null;
|
|
1047
1100
|
}
|
|
1048
|
-
var
|
|
1101
|
+
var gn = function(n2, t2) {
|
|
1102
|
+
return n2(t2);
|
|
1103
|
+
}, En = function(n2, t2) {
|
|
1104
|
+
return n2(t2);
|
|
1105
|
+
}, Cn = k$3, xn = pn, Rn = { useState: d$2, useId: g$2, useReducer: h$1, useEffect: y$1, useLayoutEffect: _$2, useInsertionEffect: I, useTransition: k, useDeferredValue: w$1, useSyncExternalStore: C, startTransition: R, useRef: A$1, useImperativeHandle: F$1, useMemo: T$1, useCallback: q$1, useContext: x$1, useDebugValue: P$1, version: "18.3.1", Children: O, render: nn, hydrate: tn, unmountComponentAtNode: bn, createPortal: $, createElement: _$3, createContext: J$1, createFactory: dn, cloneElement: _n, createRef: b$3, Fragment: k$3, isValidElement: pn, isElement: xn, isFragment: mn, isMemo: yn, findDOMNode: Sn, Component: x$2, PureComponent: N, memo: M, forwardRef: D, flushSync: En, unstable_batchedUpdates: gn, StrictMode: Cn, Suspense: P, SuspenseList: B, lazy: z, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: hn };
|
|
1049
1106
|
const $2AODx$react = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1050
1107
|
__proto__: null,
|
|
1051
|
-
Children: O
|
|
1052
|
-
Component:
|
|
1108
|
+
Children: O,
|
|
1109
|
+
Component: x$2,
|
|
1053
1110
|
Fragment: k$3,
|
|
1054
|
-
PureComponent:
|
|
1055
|
-
StrictMode:
|
|
1056
|
-
Suspense:
|
|
1057
|
-
SuspenseList:
|
|
1058
|
-
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:
|
|
1059
|
-
cloneElement:
|
|
1060
|
-
createContext:
|
|
1061
|
-
createElement:
|
|
1062
|
-
createFactory:
|
|
1063
|
-
createPortal:
|
|
1064
|
-
createRef:
|
|
1065
|
-
default:
|
|
1066
|
-
findDOMNode:
|
|
1067
|
-
flushSync:
|
|
1068
|
-
forwardRef:
|
|
1069
|
-
hydrate:
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1111
|
+
PureComponent: N,
|
|
1112
|
+
StrictMode: Cn,
|
|
1113
|
+
Suspense: P,
|
|
1114
|
+
SuspenseList: B,
|
|
1115
|
+
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: hn,
|
|
1116
|
+
cloneElement: _n,
|
|
1117
|
+
createContext: J$1,
|
|
1118
|
+
createElement: _$3,
|
|
1119
|
+
createFactory: dn,
|
|
1120
|
+
createPortal: $,
|
|
1121
|
+
createRef: b$3,
|
|
1122
|
+
default: Rn,
|
|
1123
|
+
findDOMNode: Sn,
|
|
1124
|
+
flushSync: En,
|
|
1125
|
+
forwardRef: D,
|
|
1126
|
+
hydrate: tn,
|
|
1127
|
+
isElement: xn,
|
|
1128
|
+
isFragment: mn,
|
|
1129
|
+
isMemo: yn,
|
|
1130
|
+
isValidElement: pn,
|
|
1131
|
+
lazy: z,
|
|
1132
|
+
memo: M,
|
|
1133
|
+
render: nn,
|
|
1134
|
+
startTransition: R,
|
|
1135
|
+
unmountComponentAtNode: bn,
|
|
1136
|
+
unstable_batchedUpdates: gn,
|
|
1137
|
+
useCallback: q$1,
|
|
1138
|
+
useContext: x$1,
|
|
1139
|
+
useDebugValue: P$1,
|
|
1140
|
+
useDeferredValue: w$1,
|
|
1141
|
+
useEffect: y$1,
|
|
1142
|
+
useErrorBoundary: b$1,
|
|
1143
|
+
useId: g$2,
|
|
1144
|
+
useImperativeHandle: F$1,
|
|
1145
|
+
useInsertionEffect: I,
|
|
1146
|
+
useLayoutEffect: _$2,
|
|
1147
|
+
useMemo: T$1,
|
|
1148
|
+
useReducer: h$1,
|
|
1149
|
+
useRef: A$1,
|
|
1150
|
+
useState: d$2,
|
|
1151
|
+
useSyncExternalStore: C,
|
|
1152
|
+
useTransition: k,
|
|
1153
|
+
version: vn
|
|
1094
1154
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1095
1155
|
function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
|
|
1096
1156
|
return function handleEvent(event) {
|
|
@@ -1111,12 +1171,12 @@ function $6ed0406888f73fc4$export$43e446d32b3d21af(...refs) {
|
|
|
1111
1171
|
);
|
|
1112
1172
|
}
|
|
1113
1173
|
function $6ed0406888f73fc4$export$c7b2cbe3552a0d05(...refs) {
|
|
1114
|
-
return
|
|
1174
|
+
return q$1($6ed0406888f73fc4$export$43e446d32b3d21af(...refs), refs);
|
|
1115
1175
|
}
|
|
1116
1176
|
function $c512c27ab02ef895$export$50c7b4e9d9f19c1(scopeName, createContextScopeDeps = []) {
|
|
1117
1177
|
let defaultContexts = [];
|
|
1118
1178
|
function $c512c27ab02ef895$export$fd42f52fd3ae1109(rootComponentName, defaultContext) {
|
|
1119
|
-
const BaseContext = /* @__PURE__ */
|
|
1179
|
+
const BaseContext = /* @__PURE__ */ J$1(defaultContext);
|
|
1120
1180
|
const index2 = defaultContexts.length;
|
|
1121
1181
|
defaultContexts = [
|
|
1122
1182
|
...defaultContexts,
|
|
@@ -1125,17 +1185,17 @@ function $c512c27ab02ef895$export$50c7b4e9d9f19c1(scopeName, createContextScopeD
|
|
|
1125
1185
|
function Provider(props) {
|
|
1126
1186
|
const { scope, children, ...context } = props;
|
|
1127
1187
|
const Context = (scope === null || scope === void 0 ? void 0 : scope[scopeName][index2]) || BaseContext;
|
|
1128
|
-
const value =
|
|
1188
|
+
const value = T$1(
|
|
1129
1189
|
() => context,
|
|
1130
1190
|
Object.values(context)
|
|
1131
1191
|
);
|
|
1132
|
-
return /* @__PURE__ */
|
|
1192
|
+
return /* @__PURE__ */ _$3(Context.Provider, {
|
|
1133
1193
|
value
|
|
1134
1194
|
}, children);
|
|
1135
1195
|
}
|
|
1136
1196
|
function useContext(consumerName, scope) {
|
|
1137
1197
|
const Context = (scope === null || scope === void 0 ? void 0 : scope[scopeName][index2]) || BaseContext;
|
|
1138
|
-
const context =
|
|
1198
|
+
const context = x$1(Context);
|
|
1139
1199
|
if (context)
|
|
1140
1200
|
return context;
|
|
1141
1201
|
if (defaultContext !== void 0)
|
|
@@ -1150,11 +1210,11 @@ function $c512c27ab02ef895$export$50c7b4e9d9f19c1(scopeName, createContextScopeD
|
|
|
1150
1210
|
}
|
|
1151
1211
|
const createScope = () => {
|
|
1152
1212
|
const scopeContexts = defaultContexts.map((defaultContext) => {
|
|
1153
|
-
return /* @__PURE__ */
|
|
1213
|
+
return /* @__PURE__ */ J$1(defaultContext);
|
|
1154
1214
|
});
|
|
1155
1215
|
return function useScope(scope) {
|
|
1156
1216
|
const contexts = (scope === null || scope === void 0 ? void 0 : scope[scopeName]) || scopeContexts;
|
|
1157
|
-
return
|
|
1217
|
+
return T$1(
|
|
1158
1218
|
() => ({
|
|
1159
1219
|
[`__scope${scopeName}`]: {
|
|
1160
1220
|
...scope,
|
|
@@ -1194,7 +1254,7 @@ function $c512c27ab02ef895$var$composeContextScopes(...scopes) {
|
|
|
1194
1254
|
...currentScope
|
|
1195
1255
|
};
|
|
1196
1256
|
}, {});
|
|
1197
|
-
return
|
|
1257
|
+
return T$1(
|
|
1198
1258
|
() => ({
|
|
1199
1259
|
[`__scope${baseScope.scopeName}`]: nextScopes1
|
|
1200
1260
|
}),
|
|
@@ -1207,44 +1267,44 @@ function $c512c27ab02ef895$var$composeContextScopes(...scopes) {
|
|
|
1207
1267
|
createScope1.scopeName = baseScope.scopeName;
|
|
1208
1268
|
return createScope1;
|
|
1209
1269
|
}
|
|
1210
|
-
const $5e63c961fc1ce211$export$8c6ed5c666ac1360 = /* @__PURE__ */
|
|
1270
|
+
const $5e63c961fc1ce211$export$8c6ed5c666ac1360 = /* @__PURE__ */ D((props, forwardedRef) => {
|
|
1211
1271
|
const { children, ...slotProps } = props;
|
|
1212
|
-
const childrenArray = O
|
|
1272
|
+
const childrenArray = O.toArray(children);
|
|
1213
1273
|
const slottable = childrenArray.find($5e63c961fc1ce211$var$isSlottable);
|
|
1214
1274
|
if (slottable) {
|
|
1215
1275
|
const newElement = slottable.props.children;
|
|
1216
1276
|
const newChildren = childrenArray.map((child) => {
|
|
1217
1277
|
if (child === slottable) {
|
|
1218
|
-
if (O
|
|
1219
|
-
return O
|
|
1220
|
-
return /* @__PURE__ */
|
|
1278
|
+
if (O.count(newElement) > 1)
|
|
1279
|
+
return O.only(null);
|
|
1280
|
+
return /* @__PURE__ */ pn(newElement) ? newElement.props.children : null;
|
|
1221
1281
|
} else
|
|
1222
1282
|
return child;
|
|
1223
1283
|
});
|
|
1224
|
-
return /* @__PURE__ */
|
|
1284
|
+
return /* @__PURE__ */ _$3($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
|
|
1225
1285
|
ref: forwardedRef
|
|
1226
|
-
}), /* @__PURE__ */
|
|
1286
|
+
}), /* @__PURE__ */ pn(newElement) ? /* @__PURE__ */ _n(newElement, void 0, newChildren) : null);
|
|
1227
1287
|
}
|
|
1228
|
-
return /* @__PURE__ */
|
|
1288
|
+
return /* @__PURE__ */ _$3($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
|
|
1229
1289
|
ref: forwardedRef
|
|
1230
1290
|
}), children);
|
|
1231
1291
|
});
|
|
1232
1292
|
$5e63c961fc1ce211$export$8c6ed5c666ac1360.displayName = "Slot";
|
|
1233
|
-
const $5e63c961fc1ce211$var$SlotClone = /* @__PURE__ */
|
|
1293
|
+
const $5e63c961fc1ce211$var$SlotClone = /* @__PURE__ */ D((props, forwardedRef) => {
|
|
1234
1294
|
const { children, ...slotProps } = props;
|
|
1235
|
-
if (/* @__PURE__ */
|
|
1236
|
-
return /* @__PURE__ */
|
|
1295
|
+
if (/* @__PURE__ */ pn(children))
|
|
1296
|
+
return /* @__PURE__ */ _n(children, {
|
|
1237
1297
|
...$5e63c961fc1ce211$var$mergeProps(slotProps, children.props),
|
|
1238
1298
|
ref: forwardedRef ? $6ed0406888f73fc4$export$43e446d32b3d21af(forwardedRef, children.ref) : children.ref
|
|
1239
1299
|
});
|
|
1240
|
-
return O
|
|
1300
|
+
return O.count(children) > 1 ? O.only(null) : null;
|
|
1241
1301
|
});
|
|
1242
1302
|
$5e63c961fc1ce211$var$SlotClone.displayName = "SlotClone";
|
|
1243
1303
|
const $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 = ({ children }) => {
|
|
1244
|
-
return /* @__PURE__ */
|
|
1304
|
+
return /* @__PURE__ */ _$3(k$3, null, children);
|
|
1245
1305
|
};
|
|
1246
1306
|
function $5e63c961fc1ce211$var$isSlottable(child) {
|
|
1247
|
-
return /* @__PURE__ */
|
|
1307
|
+
return /* @__PURE__ */ pn(child) && child.type === $5e63c961fc1ce211$export$d9f1ccf0bdb05d45;
|
|
1248
1308
|
}
|
|
1249
1309
|
function $5e63c961fc1ce211$var$mergeProps(slotProps, childProps) {
|
|
1250
1310
|
const overrideProps = {
|
|
@@ -1297,13 +1357,13 @@ const $8927f6f2acc4f386$var$NODES = [
|
|
|
1297
1357
|
"ul"
|
|
1298
1358
|
];
|
|
1299
1359
|
const $8927f6f2acc4f386$export$250ffa63cdc0d034 = $8927f6f2acc4f386$var$NODES.reduce((primitive, node) => {
|
|
1300
|
-
const Node2 = /* @__PURE__ */
|
|
1360
|
+
const Node2 = /* @__PURE__ */ D((props, forwardedRef) => {
|
|
1301
1361
|
const { asChild, ...primitiveProps } = props;
|
|
1302
1362
|
const Comp = asChild ? $5e63c961fc1ce211$export$8c6ed5c666ac1360 : node;
|
|
1303
|
-
|
|
1363
|
+
y$1(() => {
|
|
1304
1364
|
window[Symbol.for("radix-ui")] = true;
|
|
1305
1365
|
}, []);
|
|
1306
|
-
return /* @__PURE__ */
|
|
1366
|
+
return /* @__PURE__ */ _$3(Comp, _extends({}, primitiveProps, {
|
|
1307
1367
|
ref: forwardedRef
|
|
1308
1368
|
}));
|
|
1309
1369
|
});
|
|
@@ -1315,16 +1375,16 @@ const $8927f6f2acc4f386$export$250ffa63cdc0d034 = $8927f6f2acc4f386$var$NODES.re
|
|
|
1315
1375
|
}, {});
|
|
1316
1376
|
function $8927f6f2acc4f386$export$6d1a0317bde7de7f(target, event) {
|
|
1317
1377
|
if (target)
|
|
1318
|
-
|
|
1378
|
+
En(
|
|
1319
1379
|
() => target.dispatchEvent(event)
|
|
1320
1380
|
);
|
|
1321
1381
|
}
|
|
1322
1382
|
function $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(callback) {
|
|
1323
|
-
const callbackRef =
|
|
1324
|
-
|
|
1383
|
+
const callbackRef = A$1(callback);
|
|
1384
|
+
y$1(() => {
|
|
1325
1385
|
callbackRef.current = callback;
|
|
1326
1386
|
});
|
|
1327
|
-
return
|
|
1387
|
+
return T$1(
|
|
1328
1388
|
() => (...args) => {
|
|
1329
1389
|
var _callbackRef$current;
|
|
1330
1390
|
return (_callbackRef$current = callbackRef.current) === null || _callbackRef$current === void 0 ? void 0 : _callbackRef$current.call(callbackRef, ...args);
|
|
@@ -1334,7 +1394,7 @@ function $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(callback) {
|
|
|
1334
1394
|
}
|
|
1335
1395
|
function $addc16e1bbe58fd0$export$3a72a57244d6e765(onEscapeKeyDownProp, ownerDocument = globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) {
|
|
1336
1396
|
const onEscapeKeyDown = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onEscapeKeyDownProp);
|
|
1337
|
-
|
|
1397
|
+
y$1(() => {
|
|
1338
1398
|
const handleKeyDown = (event) => {
|
|
1339
1399
|
if (event.key === "Escape")
|
|
1340
1400
|
onEscapeKeyDown(event);
|
|
@@ -1350,18 +1410,18 @@ const $5cb92bef7577960e$var$CONTEXT_UPDATE = "dismissableLayer.update";
|
|
|
1350
1410
|
const $5cb92bef7577960e$var$POINTER_DOWN_OUTSIDE = "dismissableLayer.pointerDownOutside";
|
|
1351
1411
|
const $5cb92bef7577960e$var$FOCUS_OUTSIDE = "dismissableLayer.focusOutside";
|
|
1352
1412
|
let $5cb92bef7577960e$var$originalBodyPointerEvents;
|
|
1353
|
-
const $5cb92bef7577960e$var$DismissableLayerContext = /* @__PURE__ */
|
|
1413
|
+
const $5cb92bef7577960e$var$DismissableLayerContext = /* @__PURE__ */ J$1({
|
|
1354
1414
|
layers: /* @__PURE__ */ new Set(),
|
|
1355
1415
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
1356
1416
|
branches: /* @__PURE__ */ new Set()
|
|
1357
1417
|
});
|
|
1358
|
-
const $5cb92bef7577960e$export$177fb62ff3ec1f22 = /* @__PURE__ */
|
|
1418
|
+
const $5cb92bef7577960e$export$177fb62ff3ec1f22 = /* @__PURE__ */ D((props, forwardedRef) => {
|
|
1359
1419
|
var _node$ownerDocument;
|
|
1360
1420
|
const { disableOutsidePointerEvents = false, onEscapeKeyDown, onPointerDownOutside, onFocusOutside, onInteractOutside, onDismiss, ...layerProps } = props;
|
|
1361
|
-
const context =
|
|
1362
|
-
const [node1, setNode] =
|
|
1421
|
+
const context = x$1($5cb92bef7577960e$var$DismissableLayerContext);
|
|
1422
|
+
const [node1, setNode] = d$2(null);
|
|
1363
1423
|
const ownerDocument = (_node$ownerDocument = node1 === null || node1 === void 0 ? void 0 : node1.ownerDocument) !== null && _node$ownerDocument !== void 0 ? _node$ownerDocument : globalThis === null || globalThis === void 0 ? void 0 : globalThis.document;
|
|
1364
|
-
const [, force] =
|
|
1424
|
+
const [, force] = d$2({});
|
|
1365
1425
|
const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(
|
|
1366
1426
|
forwardedRef,
|
|
1367
1427
|
(node) => setNode(node)
|
|
@@ -1412,7 +1472,7 @@ const $5cb92bef7577960e$export$177fb62ff3ec1f22 = /* @__PURE__ */ k((props, forw
|
|
|
1412
1472
|
onDismiss();
|
|
1413
1473
|
}
|
|
1414
1474
|
}, ownerDocument);
|
|
1415
|
-
|
|
1475
|
+
y$1(() => {
|
|
1416
1476
|
if (!node1)
|
|
1417
1477
|
return;
|
|
1418
1478
|
if (disableOutsidePointerEvents) {
|
|
@@ -1434,7 +1494,7 @@ const $5cb92bef7577960e$export$177fb62ff3ec1f22 = /* @__PURE__ */ k((props, forw
|
|
|
1434
1494
|
disableOutsidePointerEvents,
|
|
1435
1495
|
context
|
|
1436
1496
|
]);
|
|
1437
|
-
|
|
1497
|
+
y$1(() => {
|
|
1438
1498
|
return () => {
|
|
1439
1499
|
if (!node1)
|
|
1440
1500
|
return;
|
|
@@ -1446,12 +1506,12 @@ const $5cb92bef7577960e$export$177fb62ff3ec1f22 = /* @__PURE__ */ k((props, forw
|
|
|
1446
1506
|
node1,
|
|
1447
1507
|
context
|
|
1448
1508
|
]);
|
|
1449
|
-
|
|
1509
|
+
y$1(() => {
|
|
1450
1510
|
const handleUpdate = () => force({});
|
|
1451
1511
|
document.addEventListener($5cb92bef7577960e$var$CONTEXT_UPDATE, handleUpdate);
|
|
1452
1512
|
return () => document.removeEventListener($5cb92bef7577960e$var$CONTEXT_UPDATE, handleUpdate);
|
|
1453
1513
|
}, []);
|
|
1454
|
-
return /* @__PURE__ */
|
|
1514
|
+
return /* @__PURE__ */ _$3($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, layerProps, {
|
|
1455
1515
|
ref: composedRefs,
|
|
1456
1516
|
style: {
|
|
1457
1517
|
pointerEvents: isBodyPointerEventsDisabled ? isPointerEventsEnabled ? "auto" : "none" : void 0,
|
|
@@ -1464,10 +1524,10 @@ const $5cb92bef7577960e$export$177fb62ff3ec1f22 = /* @__PURE__ */ k((props, forw
|
|
|
1464
1524
|
});
|
|
1465
1525
|
function $5cb92bef7577960e$var$usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) {
|
|
1466
1526
|
const handlePointerDownOutside = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onPointerDownOutside);
|
|
1467
|
-
const isPointerInsideReactTreeRef =
|
|
1468
|
-
const handleClickRef =
|
|
1527
|
+
const isPointerInsideReactTreeRef = A$1(false);
|
|
1528
|
+
const handleClickRef = A$1(() => {
|
|
1469
1529
|
});
|
|
1470
|
-
|
|
1530
|
+
y$1(() => {
|
|
1471
1531
|
const handlePointerDown = (event) => {
|
|
1472
1532
|
if (event.target && !isPointerInsideReactTreeRef.current) {
|
|
1473
1533
|
let handleAndDispatchPointerDownOutsideEvent = function() {
|
|
@@ -1509,8 +1569,8 @@ function $5cb92bef7577960e$var$usePointerDownOutside(onPointerDownOutside, owner
|
|
|
1509
1569
|
}
|
|
1510
1570
|
function $5cb92bef7577960e$var$useFocusOutside(onFocusOutside, ownerDocument = globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) {
|
|
1511
1571
|
const handleFocusOutside = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onFocusOutside);
|
|
1512
|
-
const isFocusInsideReactTreeRef =
|
|
1513
|
-
|
|
1572
|
+
const isFocusInsideReactTreeRef = A$1(false);
|
|
1573
|
+
y$1(() => {
|
|
1514
1574
|
const handleFocus = (event) => {
|
|
1515
1575
|
if (event.target && !isFocusInsideReactTreeRef.current) {
|
|
1516
1576
|
const eventDetail = {
|
|
@@ -1554,7 +1614,7 @@ function $5cb92bef7577960e$var$handleAndDispatchCustomEvent(name, handler, detai
|
|
|
1554
1614
|
}
|
|
1555
1615
|
let $3db38b7d1fb3fe6a$var$count = 0;
|
|
1556
1616
|
function $3db38b7d1fb3fe6a$export$b7ece24a22aeda8c() {
|
|
1557
|
-
|
|
1617
|
+
y$1(() => {
|
|
1558
1618
|
var _edgeGuards$, _edgeGuards$2;
|
|
1559
1619
|
const edgeGuards = document.querySelectorAll("[data-radix-focus-guard]");
|
|
1560
1620
|
document.body.insertAdjacentElement("afterbegin", (_edgeGuards$ = edgeGuards[0]) !== null && _edgeGuards$ !== void 0 ? _edgeGuards$ : $3db38b7d1fb3fe6a$var$createFocusGuard());
|
|
@@ -1582,17 +1642,17 @@ const $d3863c46a17e8a28$var$EVENT_OPTIONS = {
|
|
|
1582
1642
|
bubbles: false,
|
|
1583
1643
|
cancelable: true
|
|
1584
1644
|
};
|
|
1585
|
-
const $d3863c46a17e8a28$export$20e40289641fbbb6 = /* @__PURE__ */
|
|
1645
|
+
const $d3863c46a17e8a28$export$20e40289641fbbb6 = /* @__PURE__ */ D((props, forwardedRef) => {
|
|
1586
1646
|
const { loop = false, trapped = false, onMountAutoFocus: onMountAutoFocusProp, onUnmountAutoFocus: onUnmountAutoFocusProp, ...scopeProps } = props;
|
|
1587
|
-
const [container1, setContainer] =
|
|
1647
|
+
const [container1, setContainer] = d$2(null);
|
|
1588
1648
|
const onMountAutoFocus = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onMountAutoFocusProp);
|
|
1589
1649
|
const onUnmountAutoFocus = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onUnmountAutoFocusProp);
|
|
1590
|
-
const lastFocusedElementRef =
|
|
1650
|
+
const lastFocusedElementRef = A$1(null);
|
|
1591
1651
|
const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(
|
|
1592
1652
|
forwardedRef,
|
|
1593
1653
|
(node) => setContainer(node)
|
|
1594
1654
|
);
|
|
1595
|
-
const focusScope =
|
|
1655
|
+
const focusScope = A$1({
|
|
1596
1656
|
paused: false,
|
|
1597
1657
|
pause() {
|
|
1598
1658
|
this.paused = true;
|
|
@@ -1601,7 +1661,7 @@ const $d3863c46a17e8a28$export$20e40289641fbbb6 = /* @__PURE__ */ k((props, forw
|
|
|
1601
1661
|
this.paused = false;
|
|
1602
1662
|
}
|
|
1603
1663
|
}).current;
|
|
1604
|
-
|
|
1664
|
+
y$1(() => {
|
|
1605
1665
|
if (trapped) {
|
|
1606
1666
|
let handleFocusIn = function(event) {
|
|
1607
1667
|
if (focusScope.paused || !container1)
|
|
@@ -1650,7 +1710,7 @@ const $d3863c46a17e8a28$export$20e40289641fbbb6 = /* @__PURE__ */ k((props, forw
|
|
|
1650
1710
|
container1,
|
|
1651
1711
|
focusScope.paused
|
|
1652
1712
|
]);
|
|
1653
|
-
|
|
1713
|
+
y$1(() => {
|
|
1654
1714
|
if (container1) {
|
|
1655
1715
|
$d3863c46a17e8a28$var$focusScopesStack.add(focusScope);
|
|
1656
1716
|
const previouslyFocusedElement = document.activeElement;
|
|
@@ -1688,7 +1748,7 @@ const $d3863c46a17e8a28$export$20e40289641fbbb6 = /* @__PURE__ */ k((props, forw
|
|
|
1688
1748
|
onUnmountAutoFocus,
|
|
1689
1749
|
focusScope
|
|
1690
1750
|
]);
|
|
1691
|
-
const handleKeyDown =
|
|
1751
|
+
const handleKeyDown = q$1((event) => {
|
|
1692
1752
|
if (!loop && !trapped)
|
|
1693
1753
|
return;
|
|
1694
1754
|
if (focusScope.paused)
|
|
@@ -1723,7 +1783,7 @@ const $d3863c46a17e8a28$export$20e40289641fbbb6 = /* @__PURE__ */ k((props, forw
|
|
|
1723
1783
|
trapped,
|
|
1724
1784
|
focusScope.paused
|
|
1725
1785
|
]);
|
|
1726
|
-
return /* @__PURE__ */
|
|
1786
|
+
return /* @__PURE__ */ _$3($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
1727
1787
|
tabIndex: -1
|
|
1728
1788
|
}, scopeProps, {
|
|
1729
1789
|
ref: composedRefs,
|
|
@@ -1828,12 +1888,12 @@ function $d3863c46a17e8a28$var$removeLinks(items) {
|
|
|
1828
1888
|
(item) => item.tagName !== "A"
|
|
1829
1889
|
);
|
|
1830
1890
|
}
|
|
1831
|
-
const $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ?
|
|
1891
|
+
const $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ? _$2 : () => {
|
|
1832
1892
|
};
|
|
1833
1893
|
const $1746a345f3d73bb7$var$useReactId = $2AODx$react["useId".toString()] || (() => void 0);
|
|
1834
1894
|
let $1746a345f3d73bb7$var$count = 0;
|
|
1835
1895
|
function $1746a345f3d73bb7$export$f680877a34711e37(deterministicId) {
|
|
1836
|
-
const [id, setId] =
|
|
1896
|
+
const [id, setId] = d$2($1746a345f3d73bb7$var$useReactId());
|
|
1837
1897
|
$9f79659886946c16$export$e5c5a5f917a5871c(() => {
|
|
1838
1898
|
if (!deterministicId)
|
|
1839
1899
|
setId(
|
|
@@ -3365,7 +3425,7 @@ const computePosition = (reference, floating, options) => {
|
|
|
3365
3425
|
platform: platformWithCache
|
|
3366
3426
|
});
|
|
3367
3427
|
};
|
|
3368
|
-
var index = typeof document !== "undefined" ?
|
|
3428
|
+
var index = typeof document !== "undefined" ? _$2 : y$1;
|
|
3369
3429
|
function deepEqual(a2, b2) {
|
|
3370
3430
|
if (a2 === b2) {
|
|
3371
3431
|
return true;
|
|
@@ -3426,7 +3486,7 @@ function roundByDPR(element, value) {
|
|
|
3426
3486
|
return Math.round(value * dpr) / dpr;
|
|
3427
3487
|
}
|
|
3428
3488
|
function useLatestRef(value) {
|
|
3429
|
-
const ref =
|
|
3489
|
+
const ref = A$1(value);
|
|
3430
3490
|
index(() => {
|
|
3431
3491
|
ref.current = value;
|
|
3432
3492
|
});
|
|
@@ -3449,7 +3509,7 @@ function useFloating(options) {
|
|
|
3449
3509
|
whileElementsMounted,
|
|
3450
3510
|
open
|
|
3451
3511
|
} = options;
|
|
3452
|
-
const [data, setData] =
|
|
3512
|
+
const [data, setData] = d$2({
|
|
3453
3513
|
x: 0,
|
|
3454
3514
|
y: 0,
|
|
3455
3515
|
strategy,
|
|
@@ -3457,19 +3517,19 @@ function useFloating(options) {
|
|
|
3457
3517
|
middlewareData: {},
|
|
3458
3518
|
isPositioned: false
|
|
3459
3519
|
});
|
|
3460
|
-
const [latestMiddleware, setLatestMiddleware] =
|
|
3520
|
+
const [latestMiddleware, setLatestMiddleware] = d$2(middleware);
|
|
3461
3521
|
if (!deepEqual(latestMiddleware, middleware)) {
|
|
3462
3522
|
setLatestMiddleware(middleware);
|
|
3463
3523
|
}
|
|
3464
|
-
const [_reference, _setReference] =
|
|
3465
|
-
const [_floating, _setFloating] =
|
|
3466
|
-
const setReference =
|
|
3524
|
+
const [_reference, _setReference] = d$2(null);
|
|
3525
|
+
const [_floating, _setFloating] = d$2(null);
|
|
3526
|
+
const setReference = q$1((node) => {
|
|
3467
3527
|
if (node !== referenceRef.current) {
|
|
3468
3528
|
referenceRef.current = node;
|
|
3469
3529
|
_setReference(node);
|
|
3470
3530
|
}
|
|
3471
3531
|
}, []);
|
|
3472
|
-
const setFloating =
|
|
3532
|
+
const setFloating = q$1((node) => {
|
|
3473
3533
|
if (node !== floatingRef.current) {
|
|
3474
3534
|
floatingRef.current = node;
|
|
3475
3535
|
_setFloating(node);
|
|
@@ -3477,13 +3537,13 @@ function useFloating(options) {
|
|
|
3477
3537
|
}, []);
|
|
3478
3538
|
const referenceEl = externalReference || _reference;
|
|
3479
3539
|
const floatingEl = externalFloating || _floating;
|
|
3480
|
-
const referenceRef =
|
|
3481
|
-
const floatingRef =
|
|
3482
|
-
const dataRef =
|
|
3540
|
+
const referenceRef = A$1(null);
|
|
3541
|
+
const floatingRef = A$1(null);
|
|
3542
|
+
const dataRef = A$1(data);
|
|
3483
3543
|
const hasWhileElementsMounted = whileElementsMounted != null;
|
|
3484
3544
|
const whileElementsMountedRef = useLatestRef(whileElementsMounted);
|
|
3485
3545
|
const platformRef = useLatestRef(platform2);
|
|
3486
|
-
const update =
|
|
3546
|
+
const update = q$1(() => {
|
|
3487
3547
|
if (!referenceRef.current || !floatingRef.current) {
|
|
3488
3548
|
return;
|
|
3489
3549
|
}
|
|
@@ -3502,7 +3562,7 @@ function useFloating(options) {
|
|
|
3502
3562
|
};
|
|
3503
3563
|
if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {
|
|
3504
3564
|
dataRef.current = fullData;
|
|
3505
|
-
|
|
3565
|
+
En(() => {
|
|
3506
3566
|
setData(fullData);
|
|
3507
3567
|
});
|
|
3508
3568
|
}
|
|
@@ -3517,7 +3577,7 @@ function useFloating(options) {
|
|
|
3517
3577
|
}));
|
|
3518
3578
|
}
|
|
3519
3579
|
}, [open]);
|
|
3520
|
-
const isMountedRef =
|
|
3580
|
+
const isMountedRef = A$1(false);
|
|
3521
3581
|
index(() => {
|
|
3522
3582
|
isMountedRef.current = true;
|
|
3523
3583
|
return () => {
|
|
@@ -3536,17 +3596,17 @@ function useFloating(options) {
|
|
|
3536
3596
|
update();
|
|
3537
3597
|
}
|
|
3538
3598
|
}, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);
|
|
3539
|
-
const refs =
|
|
3599
|
+
const refs = T$1(() => ({
|
|
3540
3600
|
reference: referenceRef,
|
|
3541
3601
|
floating: floatingRef,
|
|
3542
3602
|
setReference,
|
|
3543
3603
|
setFloating
|
|
3544
3604
|
}), [setReference, setFloating]);
|
|
3545
|
-
const elements =
|
|
3605
|
+
const elements = T$1(() => ({
|
|
3546
3606
|
reference: referenceEl,
|
|
3547
3607
|
floating: floatingEl
|
|
3548
3608
|
}), [referenceEl, floatingEl]);
|
|
3549
|
-
const floatingStyles =
|
|
3609
|
+
const floatingStyles = T$1(() => {
|
|
3550
3610
|
const initialStyles = {
|
|
3551
3611
|
position: strategy,
|
|
3552
3612
|
left: 0,
|
|
@@ -3572,7 +3632,7 @@ function useFloating(options) {
|
|
|
3572
3632
|
top: y2
|
|
3573
3633
|
};
|
|
3574
3634
|
}, [strategy, transform, elements.floating, data.x, data.y]);
|
|
3575
|
-
return
|
|
3635
|
+
return T$1(() => ({
|
|
3576
3636
|
...data,
|
|
3577
3637
|
update,
|
|
3578
3638
|
refs,
|
|
@@ -3640,7 +3700,7 @@ const arrow = (options, deps) => ({
|
|
|
3640
3700
|
options: [options, deps]
|
|
3641
3701
|
});
|
|
3642
3702
|
function $db6c3485150b8e66$export$1ab7ae714698c4b8(element) {
|
|
3643
|
-
const [size2, setSize] =
|
|
3703
|
+
const [size2, setSize] = d$2(void 0);
|
|
3644
3704
|
$9f79659886946c16$export$e5c5a5f917a5871c(() => {
|
|
3645
3705
|
if (element) {
|
|
3646
3706
|
setSize({
|
|
@@ -3685,38 +3745,38 @@ const [$cf1ac5d9fe0e8206$var$createPopperContext, $cf1ac5d9fe0e8206$export$722aa
|
|
|
3685
3745
|
const [$cf1ac5d9fe0e8206$var$PopperProvider, $cf1ac5d9fe0e8206$var$usePopperContext] = $cf1ac5d9fe0e8206$var$createPopperContext($cf1ac5d9fe0e8206$var$POPPER_NAME);
|
|
3686
3746
|
const $cf1ac5d9fe0e8206$export$badac9ada3a0bdf9 = (props) => {
|
|
3687
3747
|
const { __scopePopper, children } = props;
|
|
3688
|
-
const [anchor, setAnchor] =
|
|
3689
|
-
return /* @__PURE__ */
|
|
3748
|
+
const [anchor, setAnchor] = d$2(null);
|
|
3749
|
+
return /* @__PURE__ */ _$3($cf1ac5d9fe0e8206$var$PopperProvider, {
|
|
3690
3750
|
scope: __scopePopper,
|
|
3691
3751
|
anchor,
|
|
3692
3752
|
onAnchorChange: setAnchor
|
|
3693
3753
|
}, children);
|
|
3694
3754
|
};
|
|
3695
3755
|
const $cf1ac5d9fe0e8206$var$ANCHOR_NAME = "PopperAnchor";
|
|
3696
|
-
const $cf1ac5d9fe0e8206$export$ecd4e1ccab6ed6d = /* @__PURE__ */
|
|
3756
|
+
const $cf1ac5d9fe0e8206$export$ecd4e1ccab6ed6d = /* @__PURE__ */ D((props, forwardedRef) => {
|
|
3697
3757
|
const { __scopePopper, virtualRef, ...anchorProps } = props;
|
|
3698
3758
|
const context = $cf1ac5d9fe0e8206$var$usePopperContext($cf1ac5d9fe0e8206$var$ANCHOR_NAME, __scopePopper);
|
|
3699
|
-
const ref =
|
|
3759
|
+
const ref = A$1(null);
|
|
3700
3760
|
const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, ref);
|
|
3701
|
-
|
|
3761
|
+
y$1(() => {
|
|
3702
3762
|
context.onAnchorChange((virtualRef === null || virtualRef === void 0 ? void 0 : virtualRef.current) || ref.current);
|
|
3703
3763
|
});
|
|
3704
|
-
return virtualRef ? null : /* @__PURE__ */
|
|
3764
|
+
return virtualRef ? null : /* @__PURE__ */ _$3($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, anchorProps, {
|
|
3705
3765
|
ref: composedRefs
|
|
3706
3766
|
}));
|
|
3707
3767
|
});
|
|
3708
3768
|
const $cf1ac5d9fe0e8206$var$CONTENT_NAME = "PopperContent";
|
|
3709
3769
|
const [$cf1ac5d9fe0e8206$var$PopperContentProvider, $cf1ac5d9fe0e8206$var$useContentContext] = $cf1ac5d9fe0e8206$var$createPopperContext($cf1ac5d9fe0e8206$var$CONTENT_NAME);
|
|
3710
|
-
const $cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc = /* @__PURE__ */
|
|
3770
|
+
const $cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc = /* @__PURE__ */ D((props, forwardedRef) => {
|
|
3711
3771
|
var _arrowSize$width, _arrowSize$height, _middlewareData$arrow, _middlewareData$arrow2, _middlewareData$arrow3, _middlewareData$trans, _middlewareData$trans2, _middlewareData$hide;
|
|
3712
3772
|
const { __scopePopper, side = "bottom", sideOffset = 0, align = "center", alignOffset = 0, arrowPadding = 0, avoidCollisions = true, collisionBoundary = [], collisionPadding: collisionPaddingProp = 0, sticky = "partial", hideWhenDetached = false, updatePositionStrategy = "optimized", onPlaced, ...contentProps } = props;
|
|
3713
3773
|
const context = $cf1ac5d9fe0e8206$var$usePopperContext($cf1ac5d9fe0e8206$var$CONTENT_NAME, __scopePopper);
|
|
3714
|
-
const [content, setContent] =
|
|
3774
|
+
const [content, setContent] = d$2(null);
|
|
3715
3775
|
const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(
|
|
3716
3776
|
forwardedRef,
|
|
3717
3777
|
(node) => setContent(node)
|
|
3718
3778
|
);
|
|
3719
|
-
const [arrow$12, setArrow] =
|
|
3779
|
+
const [arrow$12, setArrow] = d$2(null);
|
|
3720
3780
|
const arrowSize = $db6c3485150b8e66$export$1ab7ae714698c4b8(arrow$12);
|
|
3721
3781
|
const arrowWidth = (_arrowSize$width = arrowSize === null || arrowSize === void 0 ? void 0 : arrowSize.width) !== null && _arrowSize$width !== void 0 ? _arrowSize$width : 0;
|
|
3722
3782
|
const arrowHeight = (_arrowSize$height = arrowSize === null || arrowSize === void 0 ? void 0 : arrowSize.height) !== null && _arrowSize$height !== void 0 ? _arrowSize$height : 0;
|
|
@@ -3802,14 +3862,14 @@ const $cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc = /* @__PURE__ */ k((props, forwa
|
|
|
3802
3862
|
const arrowX = (_middlewareData$arrow = middlewareData.arrow) === null || _middlewareData$arrow === void 0 ? void 0 : _middlewareData$arrow.x;
|
|
3803
3863
|
const arrowY = (_middlewareData$arrow2 = middlewareData.arrow) === null || _middlewareData$arrow2 === void 0 ? void 0 : _middlewareData$arrow2.y;
|
|
3804
3864
|
const cannotCenterArrow = ((_middlewareData$arrow3 = middlewareData.arrow) === null || _middlewareData$arrow3 === void 0 ? void 0 : _middlewareData$arrow3.centerOffset) !== 0;
|
|
3805
|
-
const [contentZIndex, setContentZIndex] =
|
|
3865
|
+
const [contentZIndex, setContentZIndex] = d$2();
|
|
3806
3866
|
$9f79659886946c16$export$e5c5a5f917a5871c(() => {
|
|
3807
3867
|
if (content)
|
|
3808
3868
|
setContentZIndex(window.getComputedStyle(content).zIndex);
|
|
3809
3869
|
}, [
|
|
3810
3870
|
content
|
|
3811
3871
|
]);
|
|
3812
|
-
return /* @__PURE__ */
|
|
3872
|
+
return /* @__PURE__ */ _$3("div", {
|
|
3813
3873
|
ref: refs.setFloating,
|
|
3814
3874
|
"data-radix-popper-content-wrapper": "",
|
|
3815
3875
|
style: {
|
|
@@ -3824,14 +3884,14 @@ const $cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc = /* @__PURE__ */ k((props, forwa
|
|
|
3824
3884
|
].join(" ")
|
|
3825
3885
|
},
|
|
3826
3886
|
dir: props.dir
|
|
3827
|
-
}, /* @__PURE__ */
|
|
3887
|
+
}, /* @__PURE__ */ _$3($cf1ac5d9fe0e8206$var$PopperContentProvider, {
|
|
3828
3888
|
scope: __scopePopper,
|
|
3829
3889
|
placedSide,
|
|
3830
3890
|
onArrowChange: setArrow,
|
|
3831
3891
|
arrowX,
|
|
3832
3892
|
arrowY,
|
|
3833
3893
|
shouldHideArrow: cannotCenterArrow
|
|
3834
|
-
}, /* @__PURE__ */
|
|
3894
|
+
}, /* @__PURE__ */ _$3($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
|
|
3835
3895
|
"data-side": placedSide,
|
|
3836
3896
|
"data-align": placedAlign
|
|
3837
3897
|
}, contentProps, {
|
|
@@ -3900,15 +3960,15 @@ function $cf1ac5d9fe0e8206$var$getSideAndAlignFromPlacement(placement) {
|
|
|
3900
3960
|
const $cf1ac5d9fe0e8206$export$be92b6f5f03c0fe9 = $cf1ac5d9fe0e8206$export$badac9ada3a0bdf9;
|
|
3901
3961
|
const $cf1ac5d9fe0e8206$export$b688253958b8dfe7 = $cf1ac5d9fe0e8206$export$ecd4e1ccab6ed6d;
|
|
3902
3962
|
const $cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2 = $cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc;
|
|
3903
|
-
const $f1701beae083dbae$export$602eac185826482c = /* @__PURE__ */
|
|
3963
|
+
const $f1701beae083dbae$export$602eac185826482c = /* @__PURE__ */ D((props, forwardedRef) => {
|
|
3904
3964
|
var _globalThis$document;
|
|
3905
3965
|
const { container = globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : _globalThis$document.body, ...portalProps } = props;
|
|
3906
|
-
return container ? /* @__PURE__ */
|
|
3966
|
+
return container ? /* @__PURE__ */ Rn.createPortal(/* @__PURE__ */ _$3($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, portalProps, {
|
|
3907
3967
|
ref: forwardedRef
|
|
3908
3968
|
})), container) : null;
|
|
3909
3969
|
});
|
|
3910
3970
|
function $fe963b355347cc68$export$3e6543de14f8614f(initialState, machine) {
|
|
3911
|
-
return
|
|
3971
|
+
return h$1((state, event) => {
|
|
3912
3972
|
const nextState = machine[state][event];
|
|
3913
3973
|
return nextState !== null && nextState !== void 0 ? nextState : state;
|
|
3914
3974
|
}, initialState);
|
|
@@ -3918,19 +3978,19 @@ const $921a889cee6df7e8$export$99c2b779aa4e8b8b = (props) => {
|
|
|
3918
3978
|
const presence = $921a889cee6df7e8$var$usePresence(present);
|
|
3919
3979
|
const child = typeof children === "function" ? children({
|
|
3920
3980
|
present: presence.isPresent
|
|
3921
|
-
}) : O
|
|
3981
|
+
}) : O.only(children);
|
|
3922
3982
|
const ref = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(presence.ref, child.ref);
|
|
3923
3983
|
const forceMount = typeof children === "function";
|
|
3924
|
-
return forceMount || presence.isPresent ? /* @__PURE__ */
|
|
3984
|
+
return forceMount || presence.isPresent ? /* @__PURE__ */ _n(child, {
|
|
3925
3985
|
ref
|
|
3926
3986
|
}) : null;
|
|
3927
3987
|
};
|
|
3928
3988
|
$921a889cee6df7e8$export$99c2b779aa4e8b8b.displayName = "Presence";
|
|
3929
3989
|
function $921a889cee6df7e8$var$usePresence(present) {
|
|
3930
|
-
const [node1, setNode] =
|
|
3931
|
-
const stylesRef =
|
|
3932
|
-
const prevPresentRef =
|
|
3933
|
-
const prevAnimationNameRef =
|
|
3990
|
+
const [node1, setNode] = d$2();
|
|
3991
|
+
const stylesRef = A$1({});
|
|
3992
|
+
const prevPresentRef = A$1(present);
|
|
3993
|
+
const prevAnimationNameRef = A$1("none");
|
|
3934
3994
|
const initialState = present ? "mounted" : "unmounted";
|
|
3935
3995
|
const [state, send] = $fe963b355347cc68$export$3e6543de14f8614f(initialState, {
|
|
3936
3996
|
mounted: {
|
|
@@ -3945,7 +4005,7 @@ function $921a889cee6df7e8$var$usePresence(present) {
|
|
|
3945
4005
|
MOUNT: "mounted"
|
|
3946
4006
|
}
|
|
3947
4007
|
});
|
|
3948
|
-
|
|
4008
|
+
y$1(() => {
|
|
3949
4009
|
const currentAnimationName = $921a889cee6df7e8$var$getAnimationName(stylesRef.current);
|
|
3950
4010
|
prevAnimationNameRef.current = state === "mounted" ? currentAnimationName : "none";
|
|
3951
4011
|
}, [
|
|
@@ -3981,7 +4041,7 @@ function $921a889cee6df7e8$var$usePresence(present) {
|
|
|
3981
4041
|
const currentAnimationName = $921a889cee6df7e8$var$getAnimationName(stylesRef.current);
|
|
3982
4042
|
const isCurrentAnimation = currentAnimationName.includes(event.animationName);
|
|
3983
4043
|
if (event.target === node1 && isCurrentAnimation)
|
|
3984
|
-
|
|
4044
|
+
En(
|
|
3985
4045
|
() => send("ANIMATION_END")
|
|
3986
4046
|
);
|
|
3987
4047
|
};
|
|
@@ -4008,7 +4068,7 @@ function $921a889cee6df7e8$var$usePresence(present) {
|
|
|
4008
4068
|
"mounted",
|
|
4009
4069
|
"unmountSuspended"
|
|
4010
4070
|
].includes(state),
|
|
4011
|
-
ref:
|
|
4071
|
+
ref: q$1((node) => {
|
|
4012
4072
|
if (node)
|
|
4013
4073
|
stylesRef.current = getComputedStyle(node);
|
|
4014
4074
|
setNode(node);
|
|
@@ -4027,7 +4087,7 @@ function $71cd76cc60e0454e$export$6f32135080cb4c3({ prop, defaultProp, onChange
|
|
|
4027
4087
|
const isControlled = prop !== void 0;
|
|
4028
4088
|
const value1 = isControlled ? prop : uncontrolledProp;
|
|
4029
4089
|
const handleChange = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onChange);
|
|
4030
|
-
const setValue =
|
|
4090
|
+
const setValue = q$1((nextValue) => {
|
|
4031
4091
|
if (isControlled) {
|
|
4032
4092
|
const setter = nextValue;
|
|
4033
4093
|
const value = typeof nextValue === "function" ? setter(prop) : nextValue;
|
|
@@ -4047,11 +4107,11 @@ function $71cd76cc60e0454e$export$6f32135080cb4c3({ prop, defaultProp, onChange
|
|
|
4047
4107
|
];
|
|
4048
4108
|
}
|
|
4049
4109
|
function $71cd76cc60e0454e$var$useUncontrolledState({ defaultProp, onChange }) {
|
|
4050
|
-
const uncontrolledState =
|
|
4110
|
+
const uncontrolledState = d$2(defaultProp);
|
|
4051
4111
|
const [value] = uncontrolledState;
|
|
4052
|
-
const prevValueRef =
|
|
4112
|
+
const prevValueRef = A$1(value);
|
|
4053
4113
|
const handleChange = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onChange);
|
|
4054
|
-
|
|
4114
|
+
y$1(() => {
|
|
4055
4115
|
if (prevValueRef.current !== value) {
|
|
4056
4116
|
handleChange(value);
|
|
4057
4117
|
prevValueRef.current = value;
|
|
@@ -4182,8 +4242,8 @@ var hideOthers = function(originalTarget, parentNode, markerName) {
|
|
|
4182
4242
|
targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll("[aria-live], script")));
|
|
4183
4243
|
return applyAttributeToOthers(targets, activeParentNode, markerName, "aria-hidden");
|
|
4184
4244
|
};
|
|
4185
|
-
var __assign = function() {
|
|
4186
|
-
__assign = Object.assign || function __assign2(t2) {
|
|
4245
|
+
var __assign$1 = function() {
|
|
4246
|
+
__assign$1 = Object.assign || function __assign2(t2) {
|
|
4187
4247
|
for (var s2, i2 = 1, n2 = arguments.length; i2 < n2; i2++) {
|
|
4188
4248
|
s2 = arguments[i2];
|
|
4189
4249
|
for (var p2 in s2)
|
|
@@ -4192,9 +4252,9 @@ var __assign = function() {
|
|
|
4192
4252
|
}
|
|
4193
4253
|
return t2;
|
|
4194
4254
|
};
|
|
4195
|
-
return __assign.apply(this, arguments);
|
|
4255
|
+
return __assign$1.apply(this, arguments);
|
|
4196
4256
|
};
|
|
4197
|
-
function __rest(s2, e2) {
|
|
4257
|
+
function __rest$1(s2, e2) {
|
|
4198
4258
|
var t2 = {};
|
|
4199
4259
|
for (var p2 in s2)
|
|
4200
4260
|
if (Object.prototype.hasOwnProperty.call(s2, p2) && e2.indexOf(p2) < 0)
|
|
@@ -4234,7 +4294,7 @@ function assignRef(ref, value) {
|
|
|
4234
4294
|
return ref;
|
|
4235
4295
|
}
|
|
4236
4296
|
function useCallbackRef(initialValue, callback) {
|
|
4237
|
-
var ref =
|
|
4297
|
+
var ref = d$2(function() {
|
|
4238
4298
|
return {
|
|
4239
4299
|
// value
|
|
4240
4300
|
value: initialValue,
|
|
@@ -4258,7 +4318,7 @@ function useCallbackRef(initialValue, callback) {
|
|
|
4258
4318
|
ref.callback = callback;
|
|
4259
4319
|
return ref.facade;
|
|
4260
4320
|
}
|
|
4261
|
-
var useIsomorphicLayoutEffect = typeof window !== "undefined" ?
|
|
4321
|
+
var useIsomorphicLayoutEffect = typeof window !== "undefined" ? _$2 : y$1;
|
|
4262
4322
|
var currentValues = /* @__PURE__ */ new WeakMap();
|
|
4263
4323
|
function useMergeRefs(refs, defaultValue) {
|
|
4264
4324
|
var callbackRef = useCallbackRef(defaultValue || null, function(newValue) {
|
|
@@ -4287,6 +4347,34 @@ function useMergeRefs(refs, defaultValue) {
|
|
|
4287
4347
|
}, [refs]);
|
|
4288
4348
|
return callbackRef;
|
|
4289
4349
|
}
|
|
4350
|
+
var __assign = function() {
|
|
4351
|
+
__assign = Object.assign || function __assign2(t2) {
|
|
4352
|
+
for (var s2, i2 = 1, n2 = arguments.length; i2 < n2; i2++) {
|
|
4353
|
+
s2 = arguments[i2];
|
|
4354
|
+
for (var p2 in s2)
|
|
4355
|
+
if (Object.prototype.hasOwnProperty.call(s2, p2))
|
|
4356
|
+
t2[p2] = s2[p2];
|
|
4357
|
+
}
|
|
4358
|
+
return t2;
|
|
4359
|
+
};
|
|
4360
|
+
return __assign.apply(this, arguments);
|
|
4361
|
+
};
|
|
4362
|
+
function __rest(s2, e2) {
|
|
4363
|
+
var t2 = {};
|
|
4364
|
+
for (var p2 in s2)
|
|
4365
|
+
if (Object.prototype.hasOwnProperty.call(s2, p2) && e2.indexOf(p2) < 0)
|
|
4366
|
+
t2[p2] = s2[p2];
|
|
4367
|
+
if (s2 != null && typeof Object.getOwnPropertySymbols === "function")
|
|
4368
|
+
for (var i2 = 0, p2 = Object.getOwnPropertySymbols(s2); i2 < p2.length; i2++) {
|
|
4369
|
+
if (e2.indexOf(p2[i2]) < 0 && Object.prototype.propertyIsEnumerable.call(s2, p2[i2]))
|
|
4370
|
+
t2[p2[i2]] = s2[p2[i2]];
|
|
4371
|
+
}
|
|
4372
|
+
return t2;
|
|
4373
|
+
}
|
|
4374
|
+
typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
|
|
4375
|
+
var e2 = new Error(message);
|
|
4376
|
+
return e2.name = "SuppressedError", e2.error = error, e2.suppressed = suppressed, e2;
|
|
4377
|
+
};
|
|
4290
4378
|
function ItoI(a2) {
|
|
4291
4379
|
return a2;
|
|
4292
4380
|
}
|
|
@@ -4380,7 +4468,7 @@ var SideCar$1 = function(_a) {
|
|
|
4380
4468
|
if (!Target) {
|
|
4381
4469
|
throw new Error("Sidecar medium not found");
|
|
4382
4470
|
}
|
|
4383
|
-
return
|
|
4471
|
+
return _$3(Target, __assign({}, rest));
|
|
4384
4472
|
};
|
|
4385
4473
|
SideCar$1.isSideCarExport = true;
|
|
4386
4474
|
function exportSidecar(medium, exported) {
|
|
@@ -4391,22 +4479,22 @@ var effectCar = createSidecarMedium();
|
|
|
4391
4479
|
var nothing = function() {
|
|
4392
4480
|
return;
|
|
4393
4481
|
};
|
|
4394
|
-
var RemoveScroll =
|
|
4395
|
-
var ref =
|
|
4396
|
-
var _a =
|
|
4482
|
+
var RemoveScroll = D(function(props, parentRef) {
|
|
4483
|
+
var ref = A$1(null);
|
|
4484
|
+
var _a = d$2({
|
|
4397
4485
|
onScrollCapture: nothing,
|
|
4398
4486
|
onWheelCapture: nothing,
|
|
4399
4487
|
onTouchMoveCapture: nothing
|
|
4400
4488
|
}), callbacks = _a[0], setCallbacks = _a[1];
|
|
4401
|
-
var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? "div" : _b, rest = __rest(props, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as"]);
|
|
4489
|
+
var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? "div" : _b, rest = __rest$1(props, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as"]);
|
|
4402
4490
|
var SideCar2 = sideCar;
|
|
4403
4491
|
var containerRef = useMergeRefs([ref, parentRef]);
|
|
4404
|
-
var containerProps = __assign(__assign({}, rest), callbacks);
|
|
4405
|
-
return
|
|
4492
|
+
var containerProps = __assign$1(__assign$1({}, rest), callbacks);
|
|
4493
|
+
return _$3(
|
|
4406
4494
|
k$3,
|
|
4407
4495
|
null,
|
|
4408
|
-
enabled &&
|
|
4409
|
-
forwardProps ?
|
|
4496
|
+
enabled && _$3(SideCar2, { sideCar: effectCar, removeScrollBar, shards, noIsolation, inert, setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref }),
|
|
4497
|
+
forwardProps ? _n(O.only(children), __assign$1(__assign$1({}, containerProps), { ref: containerRef })) : _$3(Container, __assign$1({}, containerProps, { className, ref: containerRef }), children)
|
|
4410
4498
|
);
|
|
4411
4499
|
});
|
|
4412
4500
|
RemoveScroll.defaultProps = {
|
|
@@ -4475,7 +4563,7 @@ var stylesheetSingleton = function() {
|
|
|
4475
4563
|
var styleHookSingleton = function() {
|
|
4476
4564
|
var sheet = stylesheetSingleton();
|
|
4477
4565
|
return function(styles, isDynamic) {
|
|
4478
|
-
|
|
4566
|
+
y$1(function() {
|
|
4479
4567
|
sheet.add(styles);
|
|
4480
4568
|
return function() {
|
|
4481
4569
|
sheet.remove();
|
|
@@ -4543,7 +4631,7 @@ var getCurrentUseCounter = function() {
|
|
|
4543
4631
|
return isFinite(counter) ? counter : 0;
|
|
4544
4632
|
};
|
|
4545
4633
|
var useLockAttribute = function() {
|
|
4546
|
-
|
|
4634
|
+
y$1(function() {
|
|
4547
4635
|
document.body.setAttribute(lockAttribute, (getCurrentUseCounter() + 1).toString());
|
|
4548
4636
|
return function() {
|
|
4549
4637
|
var newCounter = getCurrentUseCounter() - 1;
|
|
@@ -4558,10 +4646,10 @@ var useLockAttribute = function() {
|
|
|
4558
4646
|
var RemoveScrollBar = function(_a) {
|
|
4559
4647
|
var noRelative = _a.noRelative, noImportant = _a.noImportant, _b = _a.gapMode, gapMode = _b === void 0 ? "margin" : _b;
|
|
4560
4648
|
useLockAttribute();
|
|
4561
|
-
var gap =
|
|
4649
|
+
var gap = T$1(function() {
|
|
4562
4650
|
return getGapWidth(gapMode);
|
|
4563
4651
|
}, [gapMode]);
|
|
4564
|
-
return
|
|
4652
|
+
return _$3(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? "!important" : "") });
|
|
4565
4653
|
};
|
|
4566
4654
|
var passiveSupported = false;
|
|
4567
4655
|
if (typeof window !== "undefined") {
|
|
@@ -4687,18 +4775,18 @@ var generateStyle = function(id) {
|
|
|
4687
4775
|
var idCounter = 0;
|
|
4688
4776
|
var lockStack = [];
|
|
4689
4777
|
function RemoveScrollSideCar(props) {
|
|
4690
|
-
var shouldPreventQueue =
|
|
4691
|
-
var touchStartRef =
|
|
4692
|
-
var activeAxis =
|
|
4693
|
-
var id =
|
|
4694
|
-
var Style2 =
|
|
4778
|
+
var shouldPreventQueue = A$1([]);
|
|
4779
|
+
var touchStartRef = A$1([0, 0]);
|
|
4780
|
+
var activeAxis = A$1();
|
|
4781
|
+
var id = d$2(idCounter++)[0];
|
|
4782
|
+
var Style2 = d$2(function() {
|
|
4695
4783
|
return styleSingleton();
|
|
4696
4784
|
})[0];
|
|
4697
|
-
var lastProps =
|
|
4698
|
-
|
|
4785
|
+
var lastProps = A$1(props);
|
|
4786
|
+
y$1(function() {
|
|
4699
4787
|
lastProps.current = props;
|
|
4700
4788
|
}, [props]);
|
|
4701
|
-
|
|
4789
|
+
y$1(function() {
|
|
4702
4790
|
if (props.inert) {
|
|
4703
4791
|
document.body.classList.add("block-interactivity-".concat(id));
|
|
4704
4792
|
var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);
|
|
@@ -4714,7 +4802,7 @@ function RemoveScrollSideCar(props) {
|
|
|
4714
4802
|
}
|
|
4715
4803
|
return;
|
|
4716
4804
|
}, [props.inert, props.lockRef.current, props.shards]);
|
|
4717
|
-
var shouldCancelEvent =
|
|
4805
|
+
var shouldCancelEvent = q$1(function(event, parent) {
|
|
4718
4806
|
if ("touches" in event && event.touches.length === 2) {
|
|
4719
4807
|
return !lastProps.current.allowPinchZoom;
|
|
4720
4808
|
}
|
|
@@ -4750,7 +4838,7 @@ function RemoveScrollSideCar(props) {
|
|
|
4750
4838
|
var cancelingAxis = activeAxis.current || currentAxis;
|
|
4751
4839
|
return handleScroll(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY, true);
|
|
4752
4840
|
}, []);
|
|
4753
|
-
var shouldPrevent =
|
|
4841
|
+
var shouldPrevent = q$1(function(_event) {
|
|
4754
4842
|
var event = _event;
|
|
4755
4843
|
if (!lockStack.length || lockStack[lockStack.length - 1] !== Style2) {
|
|
4756
4844
|
return;
|
|
@@ -4777,7 +4865,7 @@ function RemoveScrollSideCar(props) {
|
|
|
4777
4865
|
}
|
|
4778
4866
|
}
|
|
4779
4867
|
}, []);
|
|
4780
|
-
var shouldCancel =
|
|
4868
|
+
var shouldCancel = q$1(function(name, delta, target, should) {
|
|
4781
4869
|
var event = { name, delta, target, should };
|
|
4782
4870
|
shouldPreventQueue.current.push(event);
|
|
4783
4871
|
setTimeout(function() {
|
|
@@ -4786,17 +4874,17 @@ function RemoveScrollSideCar(props) {
|
|
|
4786
4874
|
});
|
|
4787
4875
|
}, 1);
|
|
4788
4876
|
}, []);
|
|
4789
|
-
var scrollTouchStart =
|
|
4877
|
+
var scrollTouchStart = q$1(function(event) {
|
|
4790
4878
|
touchStartRef.current = getTouchXY(event);
|
|
4791
4879
|
activeAxis.current = void 0;
|
|
4792
4880
|
}, []);
|
|
4793
|
-
var scrollWheel =
|
|
4881
|
+
var scrollWheel = q$1(function(event) {
|
|
4794
4882
|
shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));
|
|
4795
4883
|
}, []);
|
|
4796
|
-
var scrollTouchMove =
|
|
4884
|
+
var scrollTouchMove = q$1(function(event) {
|
|
4797
4885
|
shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));
|
|
4798
4886
|
}, []);
|
|
4799
|
-
|
|
4887
|
+
y$1(function() {
|
|
4800
4888
|
lockStack.push(Style2);
|
|
4801
4889
|
props.setCallbacks({
|
|
4802
4890
|
onScrollCapture: scrollWheel,
|
|
@@ -4816,16 +4904,16 @@ function RemoveScrollSideCar(props) {
|
|
|
4816
4904
|
};
|
|
4817
4905
|
}, []);
|
|
4818
4906
|
var removeScrollBar = props.removeScrollBar, inert = props.inert;
|
|
4819
|
-
return
|
|
4907
|
+
return _$3(
|
|
4820
4908
|
k$3,
|
|
4821
4909
|
null,
|
|
4822
|
-
inert ?
|
|
4823
|
-
removeScrollBar ?
|
|
4910
|
+
inert ? _$3(Style2, { styles: generateStyle(id) }) : null,
|
|
4911
|
+
removeScrollBar ? _$3(RemoveScrollBar, { gapMode: "margin" }) : null
|
|
4824
4912
|
);
|
|
4825
4913
|
}
|
|
4826
4914
|
const SideCar = exportSidecar(effectCar, RemoveScrollSideCar);
|
|
4827
|
-
var ReactRemoveScroll =
|
|
4828
|
-
return
|
|
4915
|
+
var ReactRemoveScroll = D(function(props, ref) {
|
|
4916
|
+
return _$3(RemoveScroll, __assign$1({}, props, { ref, sideCar: SideCar }));
|
|
4829
4917
|
});
|
|
4830
4918
|
ReactRemoveScroll.classNames = RemoveScroll.classNames;
|
|
4831
4919
|
const $am6gm$RemoveScroll = ReactRemoveScroll;
|
|
@@ -4838,20 +4926,20 @@ const [$cb5cc270b50c6fcd$var$PopoverProvider, $cb5cc270b50c6fcd$var$usePopoverCo
|
|
|
4838
4926
|
const $cb5cc270b50c6fcd$export$5b6b19405a83ff9d = (props) => {
|
|
4839
4927
|
const { __scopePopover, children, open: openProp, defaultOpen, onOpenChange, modal = false } = props;
|
|
4840
4928
|
const popperScope = $cb5cc270b50c6fcd$var$usePopperScope(__scopePopover);
|
|
4841
|
-
const triggerRef =
|
|
4842
|
-
const [hasCustomAnchor, setHasCustomAnchor] =
|
|
4929
|
+
const triggerRef = A$1(null);
|
|
4930
|
+
const [hasCustomAnchor, setHasCustomAnchor] = d$2(false);
|
|
4843
4931
|
const [open = false, setOpen] = $71cd76cc60e0454e$export$6f32135080cb4c3({
|
|
4844
4932
|
prop: openProp,
|
|
4845
4933
|
defaultProp: defaultOpen,
|
|
4846
4934
|
onChange: onOpenChange
|
|
4847
4935
|
});
|
|
4848
|
-
return /* @__PURE__ */
|
|
4936
|
+
return /* @__PURE__ */ _$3($cf1ac5d9fe0e8206$export$be92b6f5f03c0fe9, popperScope, /* @__PURE__ */ _$3($cb5cc270b50c6fcd$var$PopoverProvider, {
|
|
4849
4937
|
scope: __scopePopover,
|
|
4850
4938
|
contentId: $1746a345f3d73bb7$export$f680877a34711e37(),
|
|
4851
4939
|
triggerRef,
|
|
4852
4940
|
open,
|
|
4853
4941
|
onOpenChange: setOpen,
|
|
4854
|
-
onOpenToggle:
|
|
4942
|
+
onOpenToggle: q$1(
|
|
4855
4943
|
() => setOpen(
|
|
4856
4944
|
(prevOpen) => !prevOpen
|
|
4857
4945
|
),
|
|
@@ -4860,11 +4948,11 @@ const $cb5cc270b50c6fcd$export$5b6b19405a83ff9d = (props) => {
|
|
|
4860
4948
|
]
|
|
4861
4949
|
),
|
|
4862
4950
|
hasCustomAnchor,
|
|
4863
|
-
onCustomAnchorAdd:
|
|
4951
|
+
onCustomAnchorAdd: q$1(
|
|
4864
4952
|
() => setHasCustomAnchor(true),
|
|
4865
4953
|
[]
|
|
4866
4954
|
),
|
|
4867
|
-
onCustomAnchorRemove:
|
|
4955
|
+
onCustomAnchorRemove: q$1(
|
|
4868
4956
|
() => setHasCustomAnchor(false),
|
|
4869
4957
|
[]
|
|
4870
4958
|
),
|
|
@@ -4872,12 +4960,12 @@ const $cb5cc270b50c6fcd$export$5b6b19405a83ff9d = (props) => {
|
|
|
4872
4960
|
}, children));
|
|
4873
4961
|
};
|
|
4874
4962
|
const $cb5cc270b50c6fcd$var$TRIGGER_NAME = "PopoverTrigger";
|
|
4875
|
-
const $cb5cc270b50c6fcd$export$7dacb05d26466c3 = /* @__PURE__ */
|
|
4963
|
+
const $cb5cc270b50c6fcd$export$7dacb05d26466c3 = /* @__PURE__ */ D((props, forwardedRef) => {
|
|
4876
4964
|
const { __scopePopover, ...triggerProps } = props;
|
|
4877
4965
|
const context = $cb5cc270b50c6fcd$var$usePopoverContext($cb5cc270b50c6fcd$var$TRIGGER_NAME, __scopePopover);
|
|
4878
4966
|
const popperScope = $cb5cc270b50c6fcd$var$usePopperScope(__scopePopover);
|
|
4879
4967
|
const composedTriggerRef = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, context.triggerRef);
|
|
4880
|
-
const trigger = /* @__PURE__ */
|
|
4968
|
+
const trigger = /* @__PURE__ */ _$3($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends({
|
|
4881
4969
|
type: "button",
|
|
4882
4970
|
"aria-haspopup": "dialog",
|
|
4883
4971
|
"aria-expanded": context.open,
|
|
@@ -4887,7 +4975,7 @@ const $cb5cc270b50c6fcd$export$7dacb05d26466c3 = /* @__PURE__ */ k((props, forwa
|
|
|
4887
4975
|
ref: composedTriggerRef,
|
|
4888
4976
|
onClick: $e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onClick, context.onOpenToggle)
|
|
4889
4977
|
}));
|
|
4890
|
-
return context.hasCustomAnchor ? trigger : /* @__PURE__ */
|
|
4978
|
+
return context.hasCustomAnchor ? trigger : /* @__PURE__ */ _$3($cf1ac5d9fe0e8206$export$b688253958b8dfe7, _extends({
|
|
4891
4979
|
asChild: true
|
|
4892
4980
|
}, popperScope), trigger);
|
|
4893
4981
|
});
|
|
@@ -4898,43 +4986,43 @@ const [$cb5cc270b50c6fcd$var$PortalProvider, $cb5cc270b50c6fcd$var$usePortalCont
|
|
|
4898
4986
|
const $cb5cc270b50c6fcd$export$dd679ffb4362d2d4 = (props) => {
|
|
4899
4987
|
const { __scopePopover, forceMount, children, container } = props;
|
|
4900
4988
|
const context = $cb5cc270b50c6fcd$var$usePopoverContext($cb5cc270b50c6fcd$var$PORTAL_NAME, __scopePopover);
|
|
4901
|
-
return /* @__PURE__ */
|
|
4989
|
+
return /* @__PURE__ */ _$3($cb5cc270b50c6fcd$var$PortalProvider, {
|
|
4902
4990
|
scope: __scopePopover,
|
|
4903
4991
|
forceMount
|
|
4904
|
-
}, /* @__PURE__ */
|
|
4992
|
+
}, /* @__PURE__ */ _$3($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
4905
4993
|
present: forceMount || context.open
|
|
4906
|
-
}, /* @__PURE__ */
|
|
4994
|
+
}, /* @__PURE__ */ _$3($f1701beae083dbae$export$602eac185826482c, {
|
|
4907
4995
|
asChild: true,
|
|
4908
4996
|
container
|
|
4909
4997
|
}, children)));
|
|
4910
4998
|
};
|
|
4911
4999
|
const $cb5cc270b50c6fcd$var$CONTENT_NAME = "PopoverContent";
|
|
4912
|
-
const $cb5cc270b50c6fcd$export$d7e1f420b25549ff = /* @__PURE__ */
|
|
5000
|
+
const $cb5cc270b50c6fcd$export$d7e1f420b25549ff = /* @__PURE__ */ D((props, forwardedRef) => {
|
|
4913
5001
|
const portalContext = $cb5cc270b50c6fcd$var$usePortalContext($cb5cc270b50c6fcd$var$CONTENT_NAME, props.__scopePopover);
|
|
4914
5002
|
const { forceMount = portalContext.forceMount, ...contentProps } = props;
|
|
4915
5003
|
const context = $cb5cc270b50c6fcd$var$usePopoverContext($cb5cc270b50c6fcd$var$CONTENT_NAME, props.__scopePopover);
|
|
4916
|
-
return /* @__PURE__ */
|
|
5004
|
+
return /* @__PURE__ */ _$3($921a889cee6df7e8$export$99c2b779aa4e8b8b, {
|
|
4917
5005
|
present: forceMount || context.open
|
|
4918
|
-
}, context.modal ? /* @__PURE__ */
|
|
5006
|
+
}, context.modal ? /* @__PURE__ */ _$3($cb5cc270b50c6fcd$var$PopoverContentModal, _extends({}, contentProps, {
|
|
4919
5007
|
ref: forwardedRef
|
|
4920
|
-
})) : /* @__PURE__ */
|
|
5008
|
+
})) : /* @__PURE__ */ _$3($cb5cc270b50c6fcd$var$PopoverContentNonModal, _extends({}, contentProps, {
|
|
4921
5009
|
ref: forwardedRef
|
|
4922
5010
|
})));
|
|
4923
5011
|
});
|
|
4924
|
-
const $cb5cc270b50c6fcd$var$PopoverContentModal = /* @__PURE__ */
|
|
5012
|
+
const $cb5cc270b50c6fcd$var$PopoverContentModal = /* @__PURE__ */ D((props, forwardedRef) => {
|
|
4925
5013
|
const context = $cb5cc270b50c6fcd$var$usePopoverContext($cb5cc270b50c6fcd$var$CONTENT_NAME, props.__scopePopover);
|
|
4926
|
-
const contentRef =
|
|
5014
|
+
const contentRef = A$1(null);
|
|
4927
5015
|
const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, contentRef);
|
|
4928
|
-
const isRightClickOutsideRef =
|
|
4929
|
-
|
|
5016
|
+
const isRightClickOutsideRef = A$1(false);
|
|
5017
|
+
y$1(() => {
|
|
4930
5018
|
const content = contentRef.current;
|
|
4931
5019
|
if (content)
|
|
4932
5020
|
return hideOthers(content);
|
|
4933
5021
|
}, []);
|
|
4934
|
-
return /* @__PURE__ */
|
|
5022
|
+
return /* @__PURE__ */ _$3($am6gm$RemoveScroll, {
|
|
4935
5023
|
as: $5e63c961fc1ce211$export$8c6ed5c666ac1360,
|
|
4936
5024
|
allowPinchZoom: true
|
|
4937
|
-
}, /* @__PURE__ */
|
|
5025
|
+
}, /* @__PURE__ */ _$3($cb5cc270b50c6fcd$var$PopoverContentImpl, _extends({}, props, {
|
|
4938
5026
|
ref: composedRefs,
|
|
4939
5027
|
trapFocus: context.open,
|
|
4940
5028
|
disableOutsidePointerEvents: true,
|
|
@@ -4961,11 +5049,11 @@ const $cb5cc270b50c6fcd$var$PopoverContentModal = /* @__PURE__ */ k((props, forw
|
|
|
4961
5049
|
)
|
|
4962
5050
|
})));
|
|
4963
5051
|
});
|
|
4964
|
-
const $cb5cc270b50c6fcd$var$PopoverContentNonModal = /* @__PURE__ */
|
|
5052
|
+
const $cb5cc270b50c6fcd$var$PopoverContentNonModal = /* @__PURE__ */ D((props, forwardedRef) => {
|
|
4965
5053
|
const context = $cb5cc270b50c6fcd$var$usePopoverContext($cb5cc270b50c6fcd$var$CONTENT_NAME, props.__scopePopover);
|
|
4966
|
-
const hasInteractedOutsideRef =
|
|
4967
|
-
const hasPointerDownOutsideRef =
|
|
4968
|
-
return /* @__PURE__ */
|
|
5054
|
+
const hasInteractedOutsideRef = A$1(false);
|
|
5055
|
+
const hasPointerDownOutsideRef = A$1(false);
|
|
5056
|
+
return /* @__PURE__ */ _$3($cb5cc270b50c6fcd$var$PopoverContentImpl, _extends({}, props, {
|
|
4969
5057
|
ref: forwardedRef,
|
|
4970
5058
|
trapFocus: false,
|
|
4971
5059
|
disableOutsidePointerEvents: false,
|
|
@@ -4998,18 +5086,18 @@ const $cb5cc270b50c6fcd$var$PopoverContentNonModal = /* @__PURE__ */ k((props, f
|
|
|
4998
5086
|
}
|
|
4999
5087
|
}));
|
|
5000
5088
|
});
|
|
5001
|
-
const $cb5cc270b50c6fcd$var$PopoverContentImpl = /* @__PURE__ */
|
|
5089
|
+
const $cb5cc270b50c6fcd$var$PopoverContentImpl = /* @__PURE__ */ D((props, forwardedRef) => {
|
|
5002
5090
|
const { __scopePopover, trapFocus, onOpenAutoFocus, onCloseAutoFocus, disableOutsidePointerEvents, onEscapeKeyDown, onPointerDownOutside, onFocusOutside, onInteractOutside, ...contentProps } = props;
|
|
5003
5091
|
const context = $cb5cc270b50c6fcd$var$usePopoverContext($cb5cc270b50c6fcd$var$CONTENT_NAME, __scopePopover);
|
|
5004
5092
|
const popperScope = $cb5cc270b50c6fcd$var$usePopperScope(__scopePopover);
|
|
5005
5093
|
$3db38b7d1fb3fe6a$export$b7ece24a22aeda8c();
|
|
5006
|
-
return /* @__PURE__ */
|
|
5094
|
+
return /* @__PURE__ */ _$3($d3863c46a17e8a28$export$20e40289641fbbb6, {
|
|
5007
5095
|
asChild: true,
|
|
5008
5096
|
loop: true,
|
|
5009
5097
|
trapped: trapFocus,
|
|
5010
5098
|
onMountAutoFocus: onOpenAutoFocus,
|
|
5011
5099
|
onUnmountAutoFocus: onCloseAutoFocus
|
|
5012
|
-
}, /* @__PURE__ */
|
|
5100
|
+
}, /* @__PURE__ */ _$3($5cb92bef7577960e$export$177fb62ff3ec1f22, {
|
|
5013
5101
|
asChild: true,
|
|
5014
5102
|
disableOutsidePointerEvents,
|
|
5015
5103
|
onInteractOutside,
|
|
@@ -5017,7 +5105,7 @@ const $cb5cc270b50c6fcd$var$PopoverContentImpl = /* @__PURE__ */ k((props, forwa
|
|
|
5017
5105
|
onPointerDownOutside,
|
|
5018
5106
|
onFocusOutside,
|
|
5019
5107
|
onDismiss: () => context.onOpenChange(false)
|
|
5020
|
-
}, /* @__PURE__ */
|
|
5108
|
+
}, /* @__PURE__ */ _$3($cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2, _extends({
|
|
5021
5109
|
"data-state": $cb5cc270b50c6fcd$var$getState(context.open),
|
|
5022
5110
|
role: "dialog",
|
|
5023
5111
|
id: context.contentId
|
|
@@ -5040,7 +5128,7 @@ const $cb5cc270b50c6fcd$export$be92b6f5f03c0fe9 = $cb5cc270b50c6fcd$export$5b6b1
|
|
|
5040
5128
|
const $cb5cc270b50c6fcd$export$41fb9f06171c75f4 = $cb5cc270b50c6fcd$export$7dacb05d26466c3;
|
|
5041
5129
|
const $cb5cc270b50c6fcd$export$602eac185826482c = $cb5cc270b50c6fcd$export$dd679ffb4362d2d4;
|
|
5042
5130
|
const $cb5cc270b50c6fcd$export$7c6e2c02157bb7d2 = $cb5cc270b50c6fcd$export$d7e1f420b25549ff;
|
|
5043
|
-
function r
|
|
5131
|
+
function r(e2) {
|
|
5044
5132
|
var t2, f2, n2 = "";
|
|
5045
5133
|
if ("string" == typeof e2 || "number" == typeof e2)
|
|
5046
5134
|
n2 += e2;
|
|
@@ -5048,7 +5136,7 @@ function r$1(e2) {
|
|
|
5048
5136
|
if (Array.isArray(e2)) {
|
|
5049
5137
|
var o2 = e2.length;
|
|
5050
5138
|
for (t2 = 0; t2 < o2; t2++)
|
|
5051
|
-
e2[t2] && (f2 = r
|
|
5139
|
+
e2[t2] && (f2 = r(e2[t2])) && (n2 && (n2 += " "), n2 += f2);
|
|
5052
5140
|
} else
|
|
5053
5141
|
for (f2 in e2)
|
|
5054
5142
|
e2[f2] && (n2 && (n2 += " "), n2 += f2);
|
|
@@ -5056,7 +5144,7 @@ function r$1(e2) {
|
|
|
5056
5144
|
}
|
|
5057
5145
|
function clsx() {
|
|
5058
5146
|
for (var e2, t2, f2 = 0, n2 = "", o2 = arguments.length; f2 < o2; f2++)
|
|
5059
|
-
(e2 = arguments[f2]) && (t2 = r
|
|
5147
|
+
(e2 = arguments[f2]) && (t2 = r(e2)) && (n2 && (n2 += " "), n2 += t2);
|
|
5060
5148
|
return n2;
|
|
5061
5149
|
}
|
|
5062
5150
|
const JOB_ALERTS_ELEMENT_ID = "inploi-job-alerts";
|
|
@@ -5098,17 +5186,17 @@ var createTranslateFunction = ({
|
|
|
5098
5186
|
}
|
|
5099
5187
|
return t2;
|
|
5100
5188
|
};
|
|
5101
|
-
var TranslationContext =
|
|
5189
|
+
var TranslationContext = J$1(null);
|
|
5102
5190
|
var createTranslation = (defaultTerms) => {
|
|
5103
5191
|
return {
|
|
5104
5192
|
TranslationProvider: ({ terms, children, locale }) => {
|
|
5105
|
-
const t2 =
|
|
5193
|
+
const t2 = T$1(() => {
|
|
5106
5194
|
return createTranslateFunction({ locale, terms: defaultTerms, overrides: terms });
|
|
5107
5195
|
}, [terms, locale]);
|
|
5108
|
-
return /* @__PURE__ */
|
|
5196
|
+
return /* @__PURE__ */ u$2(TranslationContext.Provider, { value: { t: t2, locale }, children });
|
|
5109
5197
|
},
|
|
5110
5198
|
useTranslation: () => {
|
|
5111
|
-
const context =
|
|
5199
|
+
const context = x$1(TranslationContext);
|
|
5112
5200
|
if (context === null)
|
|
5113
5201
|
throw new Error("Please wrap useTranslation in a TranslationProvider");
|
|
5114
5202
|
return { t: context.t, locale: context.locale };
|
|
@@ -5133,22 +5221,19 @@ const { TranslationProvider, useTranslation, createTFunction } = createTranslati
|
|
|
5133
5221
|
frequency: "Frequency",
|
|
5134
5222
|
create_alert: "Create Alert"
|
|
5135
5223
|
});
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
var t = Symbol.for("preact-signals");
|
|
5140
|
-
function r() {
|
|
5141
|
-
if (!(v > 1)) {
|
|
5224
|
+
var i = Symbol.for("preact-signals");
|
|
5225
|
+
function t() {
|
|
5226
|
+
if (!(s$1 > 1)) {
|
|
5142
5227
|
var i2, t2 = false;
|
|
5143
|
-
while (void 0 !==
|
|
5144
|
-
var r2 =
|
|
5145
|
-
|
|
5146
|
-
|
|
5228
|
+
while (void 0 !== h) {
|
|
5229
|
+
var r2 = h;
|
|
5230
|
+
h = void 0;
|
|
5231
|
+
f++;
|
|
5147
5232
|
while (void 0 !== r2) {
|
|
5148
|
-
var
|
|
5233
|
+
var o2 = r2.o;
|
|
5149
5234
|
r2.o = void 0;
|
|
5150
5235
|
r2.f &= -3;
|
|
5151
|
-
if (!(8 & r2.f) &&
|
|
5236
|
+
if (!(8 & r2.f) && c(r2))
|
|
5152
5237
|
try {
|
|
5153
5238
|
r2.c();
|
|
5154
5239
|
} catch (r3) {
|
|
@@ -5157,19 +5242,19 @@ function r() {
|
|
|
5157
5242
|
t2 = true;
|
|
5158
5243
|
}
|
|
5159
5244
|
}
|
|
5160
|
-
r2 =
|
|
5245
|
+
r2 = o2;
|
|
5161
5246
|
}
|
|
5162
5247
|
}
|
|
5163
|
-
|
|
5164
|
-
|
|
5248
|
+
f = 0;
|
|
5249
|
+
s$1--;
|
|
5165
5250
|
if (t2)
|
|
5166
5251
|
throw i2;
|
|
5167
5252
|
} else
|
|
5168
|
-
|
|
5253
|
+
s$1--;
|
|
5169
5254
|
}
|
|
5170
5255
|
var o = void 0;
|
|
5171
|
-
var
|
|
5172
|
-
function
|
|
5256
|
+
var h = void 0, s$1 = 0, f = 0, v = 0;
|
|
5257
|
+
function e(i2) {
|
|
5173
5258
|
if (void 0 !== o) {
|
|
5174
5259
|
var t2 = i2.n;
|
|
5175
5260
|
if (void 0 === t2 || t2.t !== o) {
|
|
@@ -5196,17 +5281,17 @@ function c(i2) {
|
|
|
5196
5281
|
}
|
|
5197
5282
|
}
|
|
5198
5283
|
}
|
|
5199
|
-
function
|
|
5284
|
+
function u(i2) {
|
|
5200
5285
|
this.v = i2;
|
|
5201
5286
|
this.i = 0;
|
|
5202
5287
|
this.n = void 0;
|
|
5203
5288
|
this.t = void 0;
|
|
5204
5289
|
}
|
|
5205
|
-
|
|
5206
|
-
|
|
5290
|
+
u.prototype.brand = i;
|
|
5291
|
+
u.prototype.h = function() {
|
|
5207
5292
|
return true;
|
|
5208
5293
|
};
|
|
5209
|
-
|
|
5294
|
+
u.prototype.S = function(i2) {
|
|
5210
5295
|
if (this.t !== i2 && void 0 === i2.e) {
|
|
5211
5296
|
i2.x = this.t;
|
|
5212
5297
|
if (void 0 !== this.t)
|
|
@@ -5214,7 +5299,7 @@ d$1.prototype.S = function(i2) {
|
|
|
5214
5299
|
this.t = i2;
|
|
5215
5300
|
}
|
|
5216
5301
|
};
|
|
5217
|
-
|
|
5302
|
+
u.prototype.U = function(i2) {
|
|
5218
5303
|
if (void 0 !== this.t) {
|
|
5219
5304
|
var t2 = i2.e, r2 = i2.x;
|
|
5220
5305
|
if (void 0 !== t2) {
|
|
@@ -5229,65 +5314,67 @@ d$1.prototype.U = function(i2) {
|
|
|
5229
5314
|
this.t = r2;
|
|
5230
5315
|
}
|
|
5231
5316
|
};
|
|
5232
|
-
|
|
5317
|
+
u.prototype.subscribe = function(i2) {
|
|
5233
5318
|
var t2 = this;
|
|
5234
|
-
return
|
|
5235
|
-
var r2 = t2.value, n2 =
|
|
5236
|
-
|
|
5319
|
+
return E(function() {
|
|
5320
|
+
var r2 = t2.value, n2 = o;
|
|
5321
|
+
o = void 0;
|
|
5237
5322
|
try {
|
|
5238
5323
|
i2(r2);
|
|
5239
5324
|
} finally {
|
|
5240
|
-
|
|
5325
|
+
o = n2;
|
|
5241
5326
|
}
|
|
5242
5327
|
});
|
|
5243
5328
|
};
|
|
5244
|
-
|
|
5329
|
+
u.prototype.valueOf = function() {
|
|
5245
5330
|
return this.value;
|
|
5246
5331
|
};
|
|
5247
|
-
|
|
5332
|
+
u.prototype.toString = function() {
|
|
5248
5333
|
return this.value + "";
|
|
5249
5334
|
};
|
|
5250
|
-
|
|
5335
|
+
u.prototype.toJSON = function() {
|
|
5251
5336
|
return this.value;
|
|
5252
5337
|
};
|
|
5253
|
-
|
|
5254
|
-
|
|
5338
|
+
u.prototype.peek = function() {
|
|
5339
|
+
var i2 = o;
|
|
5340
|
+
o = void 0;
|
|
5341
|
+
try {
|
|
5342
|
+
return this.value;
|
|
5343
|
+
} finally {
|
|
5344
|
+
o = i2;
|
|
5345
|
+
}
|
|
5255
5346
|
};
|
|
5256
|
-
Object.defineProperty(
|
|
5257
|
-
var i2 =
|
|
5347
|
+
Object.defineProperty(u.prototype, "value", { get: function() {
|
|
5348
|
+
var i2 = e(this);
|
|
5258
5349
|
if (void 0 !== i2)
|
|
5259
5350
|
i2.i = this.i;
|
|
5260
5351
|
return this.v;
|
|
5261
|
-
}, set: function(
|
|
5262
|
-
if (
|
|
5263
|
-
|
|
5264
|
-
throw new Error("
|
|
5265
|
-
|
|
5266
|
-
if (t2 !== this.v) {
|
|
5267
|
-
if (e > 100)
|
|
5268
|
-
i();
|
|
5269
|
-
this.v = t2;
|
|
5352
|
+
}, set: function(i2) {
|
|
5353
|
+
if (i2 !== this.v) {
|
|
5354
|
+
if (f > 100)
|
|
5355
|
+
throw new Error("Cycle detected");
|
|
5356
|
+
this.v = i2;
|
|
5270
5357
|
this.i++;
|
|
5271
|
-
u++;
|
|
5272
5358
|
v++;
|
|
5359
|
+
s$1++;
|
|
5273
5360
|
try {
|
|
5274
|
-
for (var
|
|
5275
|
-
|
|
5361
|
+
for (var r2 = this.t; void 0 !== r2; r2 = r2.x)
|
|
5362
|
+
r2.t.N();
|
|
5276
5363
|
} finally {
|
|
5277
|
-
|
|
5364
|
+
t();
|
|
5278
5365
|
}
|
|
5279
5366
|
}
|
|
5280
5367
|
} });
|
|
5281
|
-
function
|
|
5282
|
-
return new
|
|
5368
|
+
function d$1(i2) {
|
|
5369
|
+
return new u(i2);
|
|
5283
5370
|
}
|
|
5284
|
-
function
|
|
5371
|
+
function c(i2) {
|
|
5285
5372
|
for (var t2 = i2.s; void 0 !== t2; t2 = t2.n)
|
|
5286
5373
|
if (t2.S.i !== t2.i || !t2.S.h() || t2.S.i !== t2.i)
|
|
5287
5374
|
return true;
|
|
5288
5375
|
return false;
|
|
5289
5376
|
}
|
|
5290
|
-
function
|
|
5377
|
+
function a(i2) {
|
|
5291
5378
|
for (var t2 = i2.s; void 0 !== t2; t2 = t2.n) {
|
|
5292
5379
|
var r2 = t2.S.n;
|
|
5293
5380
|
if (void 0 !== r2)
|
|
@@ -5300,50 +5387,50 @@ function y(i2) {
|
|
|
5300
5387
|
}
|
|
5301
5388
|
}
|
|
5302
5389
|
}
|
|
5303
|
-
function
|
|
5390
|
+
function l$1(i2) {
|
|
5304
5391
|
var t2 = i2.s, r2 = void 0;
|
|
5305
5392
|
while (void 0 !== t2) {
|
|
5306
|
-
var
|
|
5393
|
+
var o2 = t2.p;
|
|
5307
5394
|
if (-1 === t2.i) {
|
|
5308
5395
|
t2.S.U(t2);
|
|
5309
|
-
if (void 0 !==
|
|
5310
|
-
|
|
5396
|
+
if (void 0 !== o2)
|
|
5397
|
+
o2.n = t2.n;
|
|
5311
5398
|
if (void 0 !== t2.n)
|
|
5312
|
-
t2.n.p =
|
|
5399
|
+
t2.n.p = o2;
|
|
5313
5400
|
} else
|
|
5314
5401
|
r2 = t2;
|
|
5315
5402
|
t2.S.n = t2.r;
|
|
5316
5403
|
if (void 0 !== t2.r)
|
|
5317
5404
|
t2.r = void 0;
|
|
5318
|
-
t2 =
|
|
5405
|
+
t2 = o2;
|
|
5319
5406
|
}
|
|
5320
5407
|
i2.s = r2;
|
|
5321
5408
|
}
|
|
5322
|
-
function
|
|
5323
|
-
|
|
5409
|
+
function y(i2) {
|
|
5410
|
+
u.call(this, void 0);
|
|
5324
5411
|
this.x = i2;
|
|
5325
5412
|
this.s = void 0;
|
|
5326
|
-
this.g =
|
|
5413
|
+
this.g = v - 1;
|
|
5327
5414
|
this.f = 4;
|
|
5328
5415
|
}
|
|
5329
|
-
(
|
|
5416
|
+
(y.prototype = new u()).h = function() {
|
|
5330
5417
|
this.f &= -3;
|
|
5331
5418
|
if (1 & this.f)
|
|
5332
5419
|
return false;
|
|
5333
5420
|
if (32 == (36 & this.f))
|
|
5334
5421
|
return true;
|
|
5335
5422
|
this.f &= -5;
|
|
5336
|
-
if (this.g ===
|
|
5423
|
+
if (this.g === v)
|
|
5337
5424
|
return true;
|
|
5338
|
-
this.g =
|
|
5425
|
+
this.g = v;
|
|
5339
5426
|
this.f |= 1;
|
|
5340
|
-
if (this.i > 0 && !
|
|
5427
|
+
if (this.i > 0 && !c(this)) {
|
|
5341
5428
|
this.f &= -2;
|
|
5342
5429
|
return true;
|
|
5343
5430
|
}
|
|
5344
5431
|
var i2 = o;
|
|
5345
5432
|
try {
|
|
5346
|
-
|
|
5433
|
+
a(this);
|
|
5347
5434
|
o = this;
|
|
5348
5435
|
var t2 = this.x();
|
|
5349
5436
|
if (16 & this.f || this.v !== t2 || 0 === this.i) {
|
|
@@ -5357,21 +5444,21 @@ function _$1(i2) {
|
|
|
5357
5444
|
this.i++;
|
|
5358
5445
|
}
|
|
5359
5446
|
o = i2;
|
|
5360
|
-
|
|
5447
|
+
l$1(this);
|
|
5361
5448
|
this.f &= -2;
|
|
5362
5449
|
return true;
|
|
5363
5450
|
};
|
|
5364
|
-
|
|
5451
|
+
y.prototype.S = function(i2) {
|
|
5365
5452
|
if (void 0 === this.t) {
|
|
5366
5453
|
this.f |= 36;
|
|
5367
5454
|
for (var t2 = this.s; void 0 !== t2; t2 = t2.n)
|
|
5368
5455
|
t2.S.S(t2);
|
|
5369
5456
|
}
|
|
5370
|
-
|
|
5457
|
+
u.prototype.S.call(this, i2);
|
|
5371
5458
|
};
|
|
5372
|
-
|
|
5459
|
+
y.prototype.U = function(i2) {
|
|
5373
5460
|
if (void 0 !== this.t) {
|
|
5374
|
-
|
|
5461
|
+
u.prototype.U.call(this, i2);
|
|
5375
5462
|
if (void 0 === this.t) {
|
|
5376
5463
|
this.f &= -33;
|
|
5377
5464
|
for (var t2 = this.s; void 0 !== t2; t2 = t2.n)
|
|
@@ -5379,79 +5466,72 @@ _$1.prototype.U = function(i2) {
|
|
|
5379
5466
|
}
|
|
5380
5467
|
}
|
|
5381
5468
|
};
|
|
5382
|
-
|
|
5469
|
+
y.prototype.N = function() {
|
|
5383
5470
|
if (!(2 & this.f)) {
|
|
5384
5471
|
this.f |= 6;
|
|
5385
5472
|
for (var i2 = this.t; void 0 !== i2; i2 = i2.x)
|
|
5386
5473
|
i2.t.N();
|
|
5387
5474
|
}
|
|
5388
5475
|
};
|
|
5389
|
-
|
|
5390
|
-
if (!this.h())
|
|
5391
|
-
i();
|
|
5392
|
-
if (16 & this.f)
|
|
5393
|
-
throw this.v;
|
|
5394
|
-
return this.v;
|
|
5395
|
-
};
|
|
5396
|
-
Object.defineProperty(_$1.prototype, "value", { get: function() {
|
|
5476
|
+
Object.defineProperty(y.prototype, "value", { get: function() {
|
|
5397
5477
|
if (1 & this.f)
|
|
5398
|
-
|
|
5399
|
-
var
|
|
5478
|
+
throw new Error("Cycle detected");
|
|
5479
|
+
var i2 = e(this);
|
|
5400
5480
|
this.h();
|
|
5401
|
-
if (void 0 !==
|
|
5402
|
-
|
|
5481
|
+
if (void 0 !== i2)
|
|
5482
|
+
i2.i = this.i;
|
|
5403
5483
|
if (16 & this.f)
|
|
5404
5484
|
throw this.v;
|
|
5405
5485
|
return this.v;
|
|
5406
5486
|
} });
|
|
5407
|
-
function
|
|
5408
|
-
return new
|
|
5487
|
+
function w(i2) {
|
|
5488
|
+
return new y(i2);
|
|
5409
5489
|
}
|
|
5410
|
-
function
|
|
5411
|
-
var
|
|
5490
|
+
function _$1(i2) {
|
|
5491
|
+
var r2 = i2.u;
|
|
5412
5492
|
i2.u = void 0;
|
|
5413
|
-
if ("function" == typeof
|
|
5414
|
-
|
|
5493
|
+
if ("function" == typeof r2) {
|
|
5494
|
+
s$1++;
|
|
5415
5495
|
var n2 = o;
|
|
5416
5496
|
o = void 0;
|
|
5417
5497
|
try {
|
|
5418
|
-
|
|
5419
|
-
} catch (
|
|
5498
|
+
r2();
|
|
5499
|
+
} catch (t2) {
|
|
5420
5500
|
i2.f &= -2;
|
|
5421
5501
|
i2.f |= 8;
|
|
5422
|
-
|
|
5423
|
-
throw
|
|
5502
|
+
g(i2);
|
|
5503
|
+
throw t2;
|
|
5424
5504
|
} finally {
|
|
5425
5505
|
o = n2;
|
|
5426
|
-
|
|
5506
|
+
t();
|
|
5427
5507
|
}
|
|
5428
5508
|
}
|
|
5429
5509
|
}
|
|
5430
|
-
function
|
|
5510
|
+
function g(i2) {
|
|
5431
5511
|
for (var t2 = i2.s; void 0 !== t2; t2 = t2.n)
|
|
5432
5512
|
t2.S.U(t2);
|
|
5433
5513
|
i2.x = void 0;
|
|
5434
5514
|
i2.s = void 0;
|
|
5435
|
-
|
|
5515
|
+
_$1(i2);
|
|
5436
5516
|
}
|
|
5437
|
-
function
|
|
5517
|
+
function p$1(i2) {
|
|
5438
5518
|
if (o !== this)
|
|
5439
5519
|
throw new Error("Out-of-order effect");
|
|
5440
|
-
|
|
5520
|
+
l$1(this);
|
|
5441
5521
|
o = i2;
|
|
5442
5522
|
this.f &= -2;
|
|
5443
5523
|
if (8 & this.f)
|
|
5444
|
-
|
|
5445
|
-
|
|
5524
|
+
g(this);
|
|
5525
|
+
t();
|
|
5446
5526
|
}
|
|
5447
|
-
function
|
|
5527
|
+
function b(i2) {
|
|
5448
5528
|
this.x = i2;
|
|
5449
5529
|
this.u = void 0;
|
|
5450
5530
|
this.s = void 0;
|
|
5451
5531
|
this.o = void 0;
|
|
5452
5532
|
this.f = 32;
|
|
5453
5533
|
}
|
|
5454
|
-
|
|
5534
|
+
b.prototype.c = function() {
|
|
5455
5535
|
var i2 = this.S();
|
|
5456
5536
|
try {
|
|
5457
5537
|
if (8 & this.f)
|
|
@@ -5465,32 +5545,32 @@ E.prototype.c = function() {
|
|
|
5465
5545
|
i2();
|
|
5466
5546
|
}
|
|
5467
5547
|
};
|
|
5468
|
-
|
|
5548
|
+
b.prototype.S = function() {
|
|
5469
5549
|
if (1 & this.f)
|
|
5470
|
-
|
|
5550
|
+
throw new Error("Cycle detected");
|
|
5471
5551
|
this.f |= 1;
|
|
5472
5552
|
this.f &= -9;
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
var
|
|
5553
|
+
_$1(this);
|
|
5554
|
+
a(this);
|
|
5555
|
+
s$1++;
|
|
5556
|
+
var i2 = o;
|
|
5477
5557
|
o = this;
|
|
5478
|
-
return
|
|
5558
|
+
return p$1.bind(this, i2);
|
|
5479
5559
|
};
|
|
5480
|
-
|
|
5560
|
+
b.prototype.N = function() {
|
|
5481
5561
|
if (!(2 & this.f)) {
|
|
5482
5562
|
this.f |= 2;
|
|
5483
|
-
this.o =
|
|
5484
|
-
|
|
5563
|
+
this.o = h;
|
|
5564
|
+
h = this;
|
|
5485
5565
|
}
|
|
5486
5566
|
};
|
|
5487
|
-
|
|
5567
|
+
b.prototype.d = function() {
|
|
5488
5568
|
this.f |= 8;
|
|
5489
5569
|
if (!(1 & this.f))
|
|
5490
|
-
|
|
5570
|
+
g(this);
|
|
5491
5571
|
};
|
|
5492
|
-
function
|
|
5493
|
-
var t2 = new
|
|
5572
|
+
function E(i2) {
|
|
5573
|
+
var t2 = new b(i2);
|
|
5494
5574
|
try {
|
|
5495
5575
|
t2.c();
|
|
5496
5576
|
} catch (i3) {
|
|
@@ -5512,7 +5592,7 @@ function d(n2) {
|
|
|
5512
5592
|
function p(n2) {
|
|
5513
5593
|
var r2 = this, f2 = n2.data, o2 = useSignal(f2);
|
|
5514
5594
|
o2.value = f2;
|
|
5515
|
-
var e2 =
|
|
5595
|
+
var e2 = T$1(function() {
|
|
5516
5596
|
var n3 = r2.__v;
|
|
5517
5597
|
while (n3 = n3.__)
|
|
5518
5598
|
if (n3.__c) {
|
|
@@ -5528,7 +5608,7 @@ function p(n2) {
|
|
|
5528
5608
|
r2.setState({});
|
|
5529
5609
|
}
|
|
5530
5610
|
};
|
|
5531
|
-
return
|
|
5611
|
+
return w(function() {
|
|
5532
5612
|
var n4 = o2.value.value;
|
|
5533
5613
|
return 0 === n4 ? 0 : true === n4 ? "" : n4 || "";
|
|
5534
5614
|
});
|
|
@@ -5536,7 +5616,7 @@ function p(n2) {
|
|
|
5536
5616
|
return e2.value;
|
|
5537
5617
|
}
|
|
5538
5618
|
p.displayName = "_st";
|
|
5539
|
-
Object.defineProperties(
|
|
5619
|
+
Object.defineProperties(u.prototype, { constructor: { configurable: true, value: void 0 }, type: { configurable: true, value: p }, props: { configurable: true, get: function() {
|
|
5540
5620
|
return { data: this };
|
|
5541
5621
|
} }, __b: { configurable: true, value: 1 } });
|
|
5542
5622
|
l("__b", function(n2, r2) {
|
|
@@ -5545,7 +5625,7 @@ l("__b", function(n2, r2) {
|
|
|
5545
5625
|
for (var f2 in t2)
|
|
5546
5626
|
if ("children" !== f2) {
|
|
5547
5627
|
var o2 = t2[f2];
|
|
5548
|
-
if (o2 instanceof
|
|
5628
|
+
if (o2 instanceof u) {
|
|
5549
5629
|
if (!i2)
|
|
5550
5630
|
r2.__np = i2 = {};
|
|
5551
5631
|
i2[f2] = o2;
|
|
@@ -5563,7 +5643,7 @@ l("__r", function(n2, r2) {
|
|
|
5563
5643
|
if (void 0 === (i2 = t2.__$u))
|
|
5564
5644
|
t2.__$u = i2 = function(n3) {
|
|
5565
5645
|
var r3;
|
|
5566
|
-
|
|
5646
|
+
E(function() {
|
|
5567
5647
|
r3 = this;
|
|
5568
5648
|
});
|
|
5569
5649
|
r3.c = function() {
|
|
@@ -5610,11 +5690,11 @@ l("diffed", function(n2, r2) {
|
|
|
5610
5690
|
n2(r2);
|
|
5611
5691
|
});
|
|
5612
5692
|
function _(n2, r2, i2, t2) {
|
|
5613
|
-
var f2 = r2 in n2 && void 0 === n2.ownerSVGElement, o2 =
|
|
5693
|
+
var f2 = r2 in n2 && void 0 === n2.ownerSVGElement, o2 = d$1(i2);
|
|
5614
5694
|
return { o: function(n3, r3) {
|
|
5615
5695
|
o2.value = n3;
|
|
5616
5696
|
t2 = r3;
|
|
5617
|
-
}, d:
|
|
5697
|
+
}, d: E(function() {
|
|
5618
5698
|
var i3 = o2.value.value;
|
|
5619
5699
|
if (t2[r2] !== i3) {
|
|
5620
5700
|
t2[r2] = i3;
|
|
@@ -5658,7 +5738,7 @@ l("__h", function(n2, r2, i2, t2) {
|
|
|
5658
5738
|
r2.__$f |= 2;
|
|
5659
5739
|
n2(r2, i2, t2);
|
|
5660
5740
|
});
|
|
5661
|
-
|
|
5741
|
+
x$2.prototype.shouldComponentUpdate = function(n2, r2) {
|
|
5662
5742
|
var i2 = this.__$u;
|
|
5663
5743
|
if (!(i2 && void 0 !== i2.s || 4 & this.__$f))
|
|
5664
5744
|
return true;
|
|
@@ -5675,13 +5755,13 @@ b$3.prototype.shouldComponentUpdate = function(n2, r2) {
|
|
|
5675
5755
|
return false;
|
|
5676
5756
|
};
|
|
5677
5757
|
function useSignal(n2) {
|
|
5678
|
-
return
|
|
5679
|
-
return
|
|
5758
|
+
return T$1(function() {
|
|
5759
|
+
return d$1(n2);
|
|
5680
5760
|
}, []);
|
|
5681
5761
|
}
|
|
5682
5762
|
const store$1 = {
|
|
5683
|
-
config$:
|
|
5684
|
-
filters$:
|
|
5763
|
+
config$: d$1({ headerText: "", label: "" }),
|
|
5764
|
+
filters$: d$1({})
|
|
5685
5765
|
};
|
|
5686
5766
|
var store;
|
|
5687
5767
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -6418,13 +6498,13 @@ const getThemeVariants = (theme) => {
|
|
|
6418
6498
|
const InputError = ({ error }) => {
|
|
6419
6499
|
if (!error)
|
|
6420
6500
|
return null;
|
|
6421
|
-
return /* @__PURE__ */
|
|
6422
|
-
/* @__PURE__ */
|
|
6423
|
-
/* @__PURE__ */
|
|
6424
|
-
/* @__PURE__ */
|
|
6425
|
-
/* @__PURE__ */
|
|
6501
|
+
return /* @__PURE__ */ u$2("div", { role: "alert", class: "flex max-w-full items-start gap-1.5 px-2 py-2 text-[#E5484D]", children: [
|
|
6502
|
+
/* @__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: [
|
|
6503
|
+
/* @__PURE__ */ u$2("circle", { cx: "8", cy: "8", r: "6.3", stroke: "currentColor", "stroke-width": "1.4" }),
|
|
6504
|
+
/* @__PURE__ */ u$2("rect", { x: "7", y: "4", width: "2", height: "5", fill: "currentColor" }),
|
|
6505
|
+
/* @__PURE__ */ u$2("rect", { x: "7", y: "10", width: "2", height: "2", fill: "currentColor" })
|
|
6426
6506
|
] }),
|
|
6427
|
-
/* @__PURE__ */
|
|
6507
|
+
/* @__PURE__ */ u$2("p", { class: "pr-1 text-sm", children: error })
|
|
6428
6508
|
] });
|
|
6429
6509
|
};
|
|
6430
6510
|
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]";
|
|
@@ -6435,8 +6515,8 @@ const getErrorMessage = (error) => {
|
|
|
6435
6515
|
return error.message;
|
|
6436
6516
|
return "Failed to create alert. Please try again later.";
|
|
6437
6517
|
};
|
|
6438
|
-
const JobAlertsButton =
|
|
6439
|
-
({ class: className, ...props }, ref) => /* @__PURE__ */
|
|
6518
|
+
const JobAlertsButton = D(
|
|
6519
|
+
({ class: className, ...props }, ref) => /* @__PURE__ */ u$2(
|
|
6440
6520
|
"button",
|
|
6441
6521
|
{
|
|
6442
6522
|
ref,
|
|
@@ -6447,35 +6527,35 @@ const JobAlertsButton = k(
|
|
|
6447
6527
|
onTouchStart: noop,
|
|
6448
6528
|
...props,
|
|
6449
6529
|
children: [
|
|
6450
|
-
/* @__PURE__ */
|
|
6530
|
+
/* @__PURE__ */ u$2(Icon, { class: "flex-none", name: "bell" }),
|
|
6451
6531
|
" ",
|
|
6452
|
-
/* @__PURE__ */
|
|
6532
|
+
/* @__PURE__ */ u$2("span", { class: "min-w-0 truncate text-center", children: store$1.config$.value.label })
|
|
6453
6533
|
]
|
|
6454
6534
|
}
|
|
6455
6535
|
)
|
|
6456
6536
|
);
|
|
6457
|
-
const PopoverHeader = () => /* @__PURE__ */
|
|
6537
|
+
const PopoverHeader = () => /* @__PURE__ */ u$2("p", { class: "text-neutral-11 px-2 pb-4 pt-1 text-sm", children: store$1.config$.value.headerText });
|
|
6458
6538
|
function noop() {
|
|
6459
6539
|
}
|
|
6460
|
-
const JobAlerts = ({ theme, rpcClient, logger }) => {
|
|
6461
|
-
const [formState, setFormState] =
|
|
6462
|
-
const [error, setError] =
|
|
6540
|
+
const JobAlerts = ({ theme, rpcClient, logger, analytics }) => {
|
|
6541
|
+
const [formState, setFormState] = d$2("idle");
|
|
6542
|
+
const [error, setError] = d$2();
|
|
6463
6543
|
const { t: t2 } = useTranslation();
|
|
6464
|
-
return /* @__PURE__ */
|
|
6465
|
-
/* @__PURE__ */
|
|
6466
|
-
/* @__PURE__ */
|
|
6544
|
+
return /* @__PURE__ */ u$2("div", { id: "ija", children: /* @__PURE__ */ u$2("div", { class: getThemeVariants(theme).join(" "), children: /* @__PURE__ */ u$2($cb5cc270b50c6fcd$export$be92b6f5f03c0fe9, { children: [
|
|
6545
|
+
/* @__PURE__ */ u$2($cb5cc270b50c6fcd$export$41fb9f06171c75f4, { asChild: true, children: /* @__PURE__ */ u$2(JobAlertsButton, {}) }),
|
|
6546
|
+
/* @__PURE__ */ u$2($cb5cc270b50c6fcd$export$602eac185826482c, { children: /* @__PURE__ */ u$2("div", { id: "ija", children: /* @__PURE__ */ u$2("div", { class: clsx("absolute isolate z-50", getThemeVariants(theme).join(" ")), children: /* @__PURE__ */ u$2(
|
|
6467
6547
|
$cb5cc270b50c6fcd$export$7c6e2c02157bb7d2,
|
|
6468
6548
|
{
|
|
6469
6549
|
collisionPadding: 16,
|
|
6470
6550
|
class: "data-[state=open]:data-[side=top]:animate-slideDownAndFade data-[state=open]:data-[side=right]:animate-slideLeftAndFade data-[state=open]:data-[side=bottom]:animate-slideUpAndFade data-[state=open]:data-[side=left]:animate-slideRightAndFade bg-lowest ring-neutral-5 shadow-surface-lg isolate w-64 max-w-[var(--radix-popover-content-available-width)] rounded-lg p-2 ring-1 will-change-[transform,opacity]",
|
|
6471
6551
|
sideOffset: 5,
|
|
6472
6552
|
children: [
|
|
6473
|
-
/* @__PURE__ */
|
|
6474
|
-
/* @__PURE__ */
|
|
6553
|
+
/* @__PURE__ */ u$2(PopoverHeader, {}),
|
|
6554
|
+
/* @__PURE__ */ u$2(
|
|
6475
6555
|
"form",
|
|
6476
6556
|
{
|
|
6477
6557
|
onSubmit: async (e2) => {
|
|
6478
|
-
var _a, _b, _c;
|
|
6558
|
+
var _a, _b, _c, _d;
|
|
6479
6559
|
e2.preventDefault();
|
|
6480
6560
|
if (formState !== "idle")
|
|
6481
6561
|
return;
|
|
@@ -6483,18 +6563,23 @@ const JobAlerts = ({ theme, rpcClient, logger }) => {
|
|
|
6483
6563
|
const name = (_a = formData.get("name")) == null ? void 0 : _a.toString();
|
|
6484
6564
|
const [firstName, ...rest] = (name == null ? void 0 : name.split(" ")) ?? [];
|
|
6485
6565
|
const lastName = rest.join(" ");
|
|
6566
|
+
const email2 = (_b = formData.get("email")) == null ? void 0 : _b.toString();
|
|
6486
6567
|
setFormState("loading");
|
|
6568
|
+
analytics.log({
|
|
6569
|
+
event: "IDENTIFY",
|
|
6570
|
+
properties: { identifier: "job_alerts", email: email2, first_name: firstName, last_name: lastName }
|
|
6571
|
+
});
|
|
6487
6572
|
await Promise.all([
|
|
6488
6573
|
// waits for at least 1 second
|
|
6489
6574
|
new Promise((resolve) => setTimeout(resolve, 1e3)),
|
|
6490
6575
|
rpcClient.request(saveSearchEndpoint, {
|
|
6491
6576
|
body: {
|
|
6492
6577
|
contact: {
|
|
6493
|
-
email: (
|
|
6578
|
+
email: (_c = formData.get("email")) == null ? void 0 : _c.toString(),
|
|
6494
6579
|
first_name: firstName,
|
|
6495
6580
|
last_name: lastName
|
|
6496
6581
|
},
|
|
6497
|
-
alerts: (
|
|
6582
|
+
alerts: (_d = formData.get("frequency")) == null ? void 0 : _d.toString(),
|
|
6498
6583
|
filters: store$1.filters$.peek()
|
|
6499
6584
|
}
|
|
6500
6585
|
})
|
|
@@ -6510,10 +6595,10 @@ const JobAlerts = ({ theme, rpcClient, logger }) => {
|
|
|
6510
6595
|
},
|
|
6511
6596
|
class: "flex flex-col gap-2.5",
|
|
6512
6597
|
children: [
|
|
6513
|
-
/* @__PURE__ */
|
|
6514
|
-
/* @__PURE__ */
|
|
6515
|
-
/* @__PURE__ */
|
|
6516
|
-
/* @__PURE__ */
|
|
6598
|
+
/* @__PURE__ */ u$2("div", { children: [
|
|
6599
|
+
/* @__PURE__ */ u$2("fieldset", { class: "fieldset relative focus-within:z-10", children: [
|
|
6600
|
+
/* @__PURE__ */ u$2("label", { class: "sr-only", htmlFor: "ija-email", children: t2("email") }),
|
|
6601
|
+
/* @__PURE__ */ u$2(
|
|
6517
6602
|
"input",
|
|
6518
6603
|
{
|
|
6519
6604
|
name: "email",
|
|
@@ -6527,9 +6612,9 @@ const JobAlerts = ({ theme, rpcClient, logger }) => {
|
|
|
6527
6612
|
}
|
|
6528
6613
|
)
|
|
6529
6614
|
] }),
|
|
6530
|
-
/* @__PURE__ */
|
|
6531
|
-
/* @__PURE__ */
|
|
6532
|
-
/* @__PURE__ */
|
|
6615
|
+
/* @__PURE__ */ u$2("fieldset", { class: "fieldset relative focus-within:z-10", children: [
|
|
6616
|
+
/* @__PURE__ */ u$2("label", { class: "sr-only", htmlFor: "ija-name", children: t2("name") }),
|
|
6617
|
+
/* @__PURE__ */ u$2(
|
|
6533
6618
|
"input",
|
|
6534
6619
|
{
|
|
6535
6620
|
disabled: formState === "loading",
|
|
@@ -6542,9 +6627,9 @@ const JobAlerts = ({ theme, rpcClient, logger }) => {
|
|
|
6542
6627
|
}
|
|
6543
6628
|
)
|
|
6544
6629
|
] }),
|
|
6545
|
-
/* @__PURE__ */
|
|
6546
|
-
/* @__PURE__ */
|
|
6547
|
-
/* @__PURE__ */
|
|
6630
|
+
/* @__PURE__ */ u$2("fieldset", { class: "fieldset relative focus-within:z-10", children: [
|
|
6631
|
+
/* @__PURE__ */ u$2("label", { class: "sr-only", htmlFor: "ija-frequency", children: t2("frequency") }),
|
|
6632
|
+
/* @__PURE__ */ u$2(
|
|
6548
6633
|
"select",
|
|
6549
6634
|
{
|
|
6550
6635
|
disabled: formState === "loading",
|
|
@@ -6552,19 +6637,19 @@ const JobAlerts = ({ theme, rpcClient, logger }) => {
|
|
|
6552
6637
|
id: "ija-frequency",
|
|
6553
6638
|
defaultValue: "WEEKLY",
|
|
6554
6639
|
name: "frequency",
|
|
6555
|
-
children: FREQUENCIES.map((frequency) => /* @__PURE__ */
|
|
6640
|
+
children: FREQUENCIES.map((frequency) => /* @__PURE__ */ u$2("option", { value: frequency, children: t2(frequency) }))
|
|
6556
6641
|
}
|
|
6557
6642
|
),
|
|
6558
|
-
/* @__PURE__ */
|
|
6643
|
+
/* @__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" }) })
|
|
6559
6644
|
] })
|
|
6560
6645
|
] }),
|
|
6561
|
-
/* @__PURE__ */
|
|
6646
|
+
/* @__PURE__ */ u$2(
|
|
6562
6647
|
"button",
|
|
6563
6648
|
{
|
|
6564
6649
|
onTouchStart: noop,
|
|
6565
6650
|
class: "bg-accent-9 active:bg-accent-10 theme-dark:active:bg-accent-8 fr ease-expo-out duration-snappy text-accent-1 theme-dark:text-highest grid items-center overflow-hidden rounded-lg px-5 py-2 pl-2.5 text-center transition-all hover:scale-[1.02] active:scale-[.97]",
|
|
6566
6651
|
children: [
|
|
6567
|
-
/* @__PURE__ */
|
|
6652
|
+
/* @__PURE__ */ u$2(
|
|
6568
6653
|
"span",
|
|
6569
6654
|
{
|
|
6570
6655
|
"data-state": formState,
|
|
@@ -6572,12 +6657,12 @@ const JobAlerts = ({ theme, rpcClient, logger }) => {
|
|
|
6572
6657
|
children: t2("create_alert")
|
|
6573
6658
|
}
|
|
6574
6659
|
),
|
|
6575
|
-
/* @__PURE__ */
|
|
6660
|
+
/* @__PURE__ */ u$2(
|
|
6576
6661
|
"div",
|
|
6577
6662
|
{
|
|
6578
6663
|
"data-state": formState,
|
|
6579
6664
|
class: "ease-expo-out duration-medium col-span-full row-span-full flex translate-y-0 justify-center text-base transition-all data-[state=idle]:translate-y-full data-[state=idle]:opacity-0",
|
|
6580
|
-
children: /* @__PURE__ */
|
|
6665
|
+
children: /* @__PURE__ */ u$2(
|
|
6581
6666
|
"svg",
|
|
6582
6667
|
{
|
|
6583
6668
|
width: "24",
|
|
@@ -6590,7 +6675,7 @@ const JobAlerts = ({ theme, rpcClient, logger }) => {
|
|
|
6590
6675
|
fill: "none",
|
|
6591
6676
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6592
6677
|
children: [
|
|
6593
|
-
/* @__PURE__ */
|
|
6678
|
+
/* @__PURE__ */ u$2(
|
|
6594
6679
|
"circle",
|
|
6595
6680
|
{
|
|
6596
6681
|
class: "loading-circle duration-snappy ease-expo-out transition-all",
|
|
@@ -6599,7 +6684,7 @@ const JobAlerts = ({ theme, rpcClient, logger }) => {
|
|
|
6599
6684
|
r: "9"
|
|
6600
6685
|
}
|
|
6601
6686
|
),
|
|
6602
|
-
/* @__PURE__ */
|
|
6687
|
+
/* @__PURE__ */ u$2("path", { class: "done-checkmark", d: "M9 12L11 14L15 10" })
|
|
6603
6688
|
]
|
|
6604
6689
|
}
|
|
6605
6690
|
)
|
|
@@ -6608,7 +6693,7 @@ const JobAlerts = ({ theme, rpcClient, logger }) => {
|
|
|
6608
6693
|
]
|
|
6609
6694
|
}
|
|
6610
6695
|
),
|
|
6611
|
-
/* @__PURE__ */
|
|
6696
|
+
/* @__PURE__ */ u$2(InputError, { error })
|
|
6612
6697
|
]
|
|
6613
6698
|
}
|
|
6614
6699
|
)
|
|
@@ -6632,7 +6717,7 @@ const dom = createJobAlertsDomManager();
|
|
|
6632
6717
|
const jobAlertsPlugin = () => createPlugin(({ rpcClient, logger, analytics }) => {
|
|
6633
6718
|
let prerendered = false;
|
|
6634
6719
|
const App = ({ params }) => {
|
|
6635
|
-
return
|
|
6720
|
+
return _$3(
|
|
6636
6721
|
TranslationProvider,
|
|
6637
6722
|
{
|
|
6638
6723
|
terms: params.terms,
|
|
@@ -6640,11 +6725,11 @@ const jobAlertsPlugin = () => createPlugin(({ rpcClient, logger, analytics }) =>
|
|
|
6640
6725
|
},
|
|
6641
6726
|
[
|
|
6642
6727
|
[
|
|
6643
|
-
|
|
6644
|
-
|
|
6728
|
+
_$3("style", { id: "inploi-job-alerts-styles" }, tailwind),
|
|
6729
|
+
_$3("style", { id: "inploi-job-search-theme" }, generateColorThemeCss(params.theme))
|
|
6645
6730
|
],
|
|
6646
|
-
|
|
6647
|
-
|
|
6731
|
+
_$3(IconSpritesheet, { theme: params.theme }),
|
|
6732
|
+
_$3(JobAlerts, { theme: params.theme, rpcClient, logger, analytics })
|
|
6648
6733
|
]
|
|
6649
6734
|
);
|
|
6650
6735
|
};
|
|
@@ -6658,19 +6743,19 @@ const jobAlertsPlugin = () => createPlugin(({ rpcClient, logger, analytics }) =>
|
|
|
6658
6743
|
prerendered = true;
|
|
6659
6744
|
setFilters(params.initialFilters);
|
|
6660
6745
|
return {
|
|
6661
|
-
html: S(
|
|
6746
|
+
html: S(_$3(k$3, {}, _$3(App, { params })))
|
|
6662
6747
|
};
|
|
6663
6748
|
},
|
|
6664
6749
|
/** Renders the Job Alerts Plugin inside the container element. */
|
|
6665
6750
|
render: async (params) => {
|
|
6666
|
-
const fn2 = prerendered ? E$3 : D$
|
|
6751
|
+
const fn2 = prerendered ? E$3 : D$3;
|
|
6667
6752
|
invariant(
|
|
6668
6753
|
typeof window !== "undefined",
|
|
6669
6754
|
"the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."
|
|
6670
6755
|
);
|
|
6671
6756
|
setFilters(params.initialFilters);
|
|
6672
6757
|
setConfig(params.config);
|
|
6673
|
-
fn2(
|
|
6758
|
+
fn2(_$3(App, { params }), dom.getRenderTargetElement());
|
|
6674
6759
|
},
|
|
6675
6760
|
setFilters,
|
|
6676
6761
|
setConfig,
|