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