@inploi/plugin-job-search 0.25.0 → 1.0.0
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 +6 -1055
- package/cdn/style.css +1 -1
- package/dist/components/job-search.d.ts +1 -2
- package/dist/index.cjs +4 -4
- package/dist/index.js +841 -847
- package/dist/{job-search.api-4bfb3842.js → job-search.api-f001f5fd.js} +192 -197
- package/dist/job-search.api-fce04187.cjs +17 -0
- package/dist/job-search.api.d.ts +49 -2
- package/dist/job-search.constants.d.ts +1 -1
- package/dist/job-search.d.ts +21 -6
- package/dist/job-search.schemas.d.ts +51 -5
- package/dist/lib/i18n.d.ts +295 -0
- package/dist/style/theme.d.ts +1 -1
- package/dist/style/tokens.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +1 -1
- package/package.json +11 -8
- package/dist/components/alerts-button.d.ts +0 -11
- package/dist/job-search.api-e3e2ae41.cjs +0 -17
- package/dist/plugin-job-alerts-7fc7b0f9.cjs +0 -1050
- package/dist/plugin-job-alerts-a5cbb5be.js +0 -5578
|
@@ -11,7 +11,7 @@ function wo(e, t) {
|
|
|
11
11
|
function So(e, t) {
|
|
12
12
|
return e in t;
|
|
13
13
|
}
|
|
14
|
-
var ze, w, tr, Ee, fn, nr, Ot, rr,
|
|
14
|
+
var ze, w, tr, Ee, fn, nr, Ot, rr, Ie = {}, or = [], Co = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, at = Array.isArray;
|
|
15
15
|
function ie(e, t) {
|
|
16
16
|
for (var n in t)
|
|
17
17
|
e[n] = t[n];
|
|
@@ -28,9 +28,9 @@ function X(e, t, n) {
|
|
|
28
28
|
if (arguments.length > 2 && (s.children = arguments.length > 3 ? ze.call(arguments, 2) : n), typeof e == "function" && e.defaultProps != null)
|
|
29
29
|
for (a in e.defaultProps)
|
|
30
30
|
s[a] === void 0 && (s[a] = e.defaultProps[a]);
|
|
31
|
-
return
|
|
31
|
+
return Me(e, s, r, o, null);
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function Me(e, t, n, r, o) {
|
|
34
34
|
var a = { type: e, props: t, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: o ?? ++tr };
|
|
35
35
|
return o == null && w.vnode != null && w.vnode(a), a;
|
|
36
36
|
}
|
|
@@ -74,7 +74,7 @@ function nt() {
|
|
|
74
74
|
function lr(e, t, n, r, o, a, s, l, c, d, f) {
|
|
75
75
|
var i, p, y, _, h, C, g, E, S, v, b = 0, m = r && r.__k || or, k = m.length, x = k, T = t.length;
|
|
76
76
|
for (n.__k = [], i = 0; i < T; i++)
|
|
77
|
-
(_ = n.__k[i] = (_ = t[i]) == null || typeof _ == "boolean" || typeof _ == "function" ? null : typeof _ == "string" || typeof _ == "number" || typeof _ == "bigint" ?
|
|
77
|
+
(_ = n.__k[i] = (_ = t[i]) == null || typeof _ == "boolean" || typeof _ == "function" ? null : typeof _ == "string" || typeof _ == "number" || typeof _ == "bigint" ? Me(null, _, null, null, _) : at(_) ? Me(D, { children: _ }, null, null, null) : _.__b > 0 ? Me(_.type, _.props, _.key, _.ref ? _.ref : null, _.__v) : _) != null && (_.__ = n, _.__b = n.__b + 1, (E = xo(_, m, g = i + b, x)) === -1 ? y = Ie : (y = m[E] || Ie, m[E] = void 0, x--), Ht(e, _, y, o, a, s, l, c, d, f), h = _.__e, (p = _.ref) && y.ref != p && (y.ref && Ft(y.ref, null, _), f.push(p, _.__c || h, _)), h != null && (C == null && (C = h), v = !(S = y === Ie || y.__v === null) && E === g, S ? E == -1 && b-- : E !== g && (E === g + 1 ? (b++, v = !0) : E > g ? x > T - g ? (b += E - g, v = !0) : b-- : b = E < g && E == g - 1 ? E - g : 0), g = i + b, v = v || E == i && !S, typeof _.type != "function" || E === g && y.__k !== _.__k ? typeof _.type == "function" || v ? _.__d !== void 0 ? (c = _.__d, _.__d = void 0) : c = h.nextSibling : c = ur(e, h, c) : c = cr(_, c, e), typeof n.type == "function" && (n.__d = c)));
|
|
78
78
|
for (n.__e = C, i = k; i--; )
|
|
79
79
|
m[i] != null && (typeof n.type == "function" && m[i].__e != null && m[i].__e == n.__d && (n.__d = m[i].__e.nextSibling), fr(m[i], m[i]));
|
|
80
80
|
}
|
|
@@ -223,7 +223,7 @@ function ko(e, t, n, r, o, a, s, l, c) {
|
|
|
223
223
|
if (_ === null)
|
|
224
224
|
p === y || l && e.data === y || (e.data = y);
|
|
225
225
|
else {
|
|
226
|
-
if (a = a && ze.call(e.childNodes), f = (p = n.props ||
|
|
226
|
+
if (a = a && ze.call(e.childNodes), f = (p = n.props || Ie).dangerouslySetInnerHTML, i = y.dangerouslySetInnerHTML, !l) {
|
|
227
227
|
if (a != null)
|
|
228
228
|
for (p = {}, h = 0; h < e.attributes.length; h++)
|
|
229
229
|
p[e.attributes[h].name] = e.attributes[h].value;
|
|
@@ -266,7 +266,7 @@ function Oo(e, t, n) {
|
|
|
266
266
|
}
|
|
267
267
|
function $e(e, t, n) {
|
|
268
268
|
var r, o, a, s;
|
|
269
|
-
w.__ && w.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, a = [], s = [], Ht(t, e = (!r && n || t).__k = X(D, null, [e]), o ||
|
|
269
|
+
w.__ && w.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, a = [], s = [], Ht(t, e = (!r && n || t).__k = X(D, null, [e]), o || Ie, Ie, t.ownerSVGElement !== void 0, !r && n ? [n] : o ? null : t.firstChild ? ze.call(t.childNodes) : null, a, !r && n ? n : o ? o.__e : t.firstChild, r, s), dr(a, e, s);
|
|
270
270
|
}
|
|
271
271
|
function _r(e, t) {
|
|
272
272
|
$e(e, t, _r);
|
|
@@ -275,7 +275,7 @@ function Ro(e, t, n) {
|
|
|
275
275
|
var r, o, a, s, l = ie({}, e.props);
|
|
276
276
|
for (a in e.type && e.type.defaultProps && (s = e.type.defaultProps), t)
|
|
277
277
|
a == "key" ? r = t[a] : a == "ref" ? o = t[a] : l[a] = t[a] === void 0 && s !== void 0 ? s[a] : t[a];
|
|
278
|
-
return arguments.length > 2 && (l.children = arguments.length > 3 ? ze.call(arguments, 2) : n),
|
|
278
|
+
return arguments.length > 2 && (l.children = arguments.length > 3 ? ze.call(arguments, 2) : n), Me(e.type, l, r || e.key, o || e.ref, null);
|
|
279
279
|
}
|
|
280
280
|
function it(e, t) {
|
|
281
281
|
var n = { __c: t = "__cC" + rr++, __: e, Consumer: function(r, o) {
|
|
@@ -316,15 +316,15 @@ ze = or.slice, w = { __e: function(e, t, n, r) {
|
|
|
316
316
|
}, G.prototype.render = D, Ee = [], nr = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Ot = function(e, t) {
|
|
317
317
|
return e.__v.__b - t.__v.__b;
|
|
318
318
|
}, nt.__r = 0, rr = 0;
|
|
319
|
-
var Nt = "RFC3986",
|
|
319
|
+
var Nt = "RFC3986", It = {
|
|
320
320
|
RFC1738: (e) => String(e).replace(/%20/g, "+"),
|
|
321
321
|
RFC3986: (e) => String(e)
|
|
322
|
-
}, No = "RFC1738",
|
|
322
|
+
}, No = "RFC1738", Io = Array.isArray, Y = (() => {
|
|
323
323
|
const e = [];
|
|
324
324
|
for (let t = 0; t < 256; ++t)
|
|
325
325
|
e.push("%" + ((t < 16 ? "0" : "") + t.toString(16)).toUpperCase());
|
|
326
326
|
return e;
|
|
327
|
-
})(), ht = 1024,
|
|
327
|
+
})(), ht = 1024, Lo = (e, t, n, r, o) => {
|
|
328
328
|
if (e.length === 0)
|
|
329
329
|
return e;
|
|
330
330
|
let a = e;
|
|
@@ -370,7 +370,7 @@ function Ao(e) {
|
|
|
370
370
|
return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
|
|
371
371
|
}
|
|
372
372
|
function yn(e, t) {
|
|
373
|
-
if (
|
|
373
|
+
if (Io(e)) {
|
|
374
374
|
const n = [];
|
|
375
375
|
for (let r = 0; r < e.length; r += 1)
|
|
376
376
|
n.push(t(e[r]));
|
|
@@ -389,9 +389,9 @@ var Do = Object.prototype.hasOwnProperty, pr = {
|
|
|
389
389
|
repeat(e) {
|
|
390
390
|
return String(e);
|
|
391
391
|
}
|
|
392
|
-
}, J = Array.isArray,
|
|
393
|
-
|
|
394
|
-
},
|
|
392
|
+
}, J = Array.isArray, Po = Array.prototype.push, hr = function(e, t) {
|
|
393
|
+
Po.apply(e, J(t) ? t : [t]);
|
|
394
|
+
}, Mo = Date.prototype.toISOString, M = {
|
|
395
395
|
addQueryPrefix: !1,
|
|
396
396
|
allowDots: !1,
|
|
397
397
|
allowEmptyArrays: !1,
|
|
@@ -401,14 +401,14 @@ var Do = Object.prototype.hasOwnProperty, pr = {
|
|
|
401
401
|
delimiter: "&",
|
|
402
402
|
encode: !0,
|
|
403
403
|
encodeDotInKeys: !1,
|
|
404
|
-
encoder:
|
|
404
|
+
encoder: Lo,
|
|
405
405
|
encodeValuesOnly: !1,
|
|
406
406
|
format: Nt,
|
|
407
|
-
formatter:
|
|
407
|
+
formatter: It[Nt],
|
|
408
408
|
/** @deprecated */
|
|
409
409
|
indices: !1,
|
|
410
410
|
serializeDate(e) {
|
|
411
|
-
return
|
|
411
|
+
return Mo.call(e);
|
|
412
412
|
},
|
|
413
413
|
skipNulls: !1,
|
|
414
414
|
strictNullHandling: !1
|
|
@@ -434,7 +434,7 @@ function yr(e, t, n, r, o, a, s, l, c, d, f, i, p, y, _, h, C, g) {
|
|
|
434
434
|
if (a)
|
|
435
435
|
return c && !h ? (
|
|
436
436
|
// @ts-expect-error
|
|
437
|
-
c(t,
|
|
437
|
+
c(t, M.encoder, C, "key", y)
|
|
438
438
|
) : t;
|
|
439
439
|
E = "";
|
|
440
440
|
}
|
|
@@ -442,11 +442,11 @@ function yr(e, t, n, r, o, a, s, l, c, d, f, i, p, y, _, h, C, g) {
|
|
|
442
442
|
if (c) {
|
|
443
443
|
const O = h ? t : (
|
|
444
444
|
// @ts-expect-error
|
|
445
|
-
c(t,
|
|
445
|
+
c(t, M.encoder, C, "key", y)
|
|
446
446
|
);
|
|
447
447
|
return [
|
|
448
448
|
(_ == null ? void 0 : _(O)) + "=" + // @ts-expect-error
|
|
449
|
-
(_ == null ? void 0 : _(c(E,
|
|
449
|
+
(_ == null ? void 0 : _(c(E, M.encoder, C, "value", y)))
|
|
450
450
|
];
|
|
451
451
|
}
|
|
452
452
|
return [(_ == null ? void 0 : _(t)) + "=" + (_ == null ? void 0 : _(String(E)))];
|
|
@@ -503,51 +503,51 @@ function yr(e, t, n, r, o, a, s, l, c, d, f, i, p, y, _, h, C, g) {
|
|
|
503
503
|
}
|
|
504
504
|
return m;
|
|
505
505
|
}
|
|
506
|
-
function Vo(e =
|
|
506
|
+
function Vo(e = M) {
|
|
507
507
|
if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
|
|
508
508
|
throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
509
509
|
if (typeof e.encodeDotInKeys < "u" && typeof e.encodeDotInKeys != "boolean")
|
|
510
510
|
throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
511
511
|
if (e.encoder !== null && typeof e.encoder < "u" && typeof e.encoder != "function")
|
|
512
512
|
throw new TypeError("Encoder has to be a function.");
|
|
513
|
-
const t = e.charset ||
|
|
513
|
+
const t = e.charset || M.charset;
|
|
514
514
|
if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
|
|
515
515
|
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
516
516
|
let n = Nt;
|
|
517
517
|
if (typeof e.format < "u") {
|
|
518
|
-
if (!Do.call(
|
|
518
|
+
if (!Do.call(It, e.format))
|
|
519
519
|
throw new TypeError("Unknown format option provided.");
|
|
520
520
|
n = e.format;
|
|
521
521
|
}
|
|
522
|
-
const r =
|
|
523
|
-
let o =
|
|
522
|
+
const r = It[n];
|
|
523
|
+
let o = M.filter;
|
|
524
524
|
(typeof e.filter == "function" || J(e.filter)) && (o = e.filter);
|
|
525
525
|
let a;
|
|
526
|
-
if (e.arrayFormat && e.arrayFormat in pr ? a = e.arrayFormat : "indices" in e ? a = e.indices ? "indices" : "repeat" : a =
|
|
526
|
+
if (e.arrayFormat && e.arrayFormat in pr ? a = e.arrayFormat : "indices" in e ? a = e.indices ? "indices" : "repeat" : a = M.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
|
|
527
527
|
throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
|
|
528
|
-
const s = typeof e.allowDots > "u" ? e.encodeDotInKeys ? !0 :
|
|
528
|
+
const s = typeof e.allowDots > "u" ? e.encodeDotInKeys ? !0 : M.allowDots : !!e.allowDots;
|
|
529
529
|
return {
|
|
530
|
-
addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix :
|
|
530
|
+
addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : M.addQueryPrefix,
|
|
531
531
|
// @ts-ignore
|
|
532
532
|
allowDots: s,
|
|
533
|
-
allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays :
|
|
533
|
+
allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : M.allowEmptyArrays,
|
|
534
534
|
arrayFormat: a,
|
|
535
535
|
charset: t,
|
|
536
|
-
charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel :
|
|
536
|
+
charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : M.charsetSentinel,
|
|
537
537
|
commaRoundTrip: !!e.commaRoundTrip,
|
|
538
|
-
delimiter: typeof e.delimiter > "u" ?
|
|
539
|
-
encode: typeof e.encode == "boolean" ? e.encode :
|
|
540
|
-
encodeDotInKeys: typeof e.encodeDotInKeys == "boolean" ? e.encodeDotInKeys :
|
|
541
|
-
encoder: typeof e.encoder == "function" ? e.encoder :
|
|
542
|
-
encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly :
|
|
538
|
+
delimiter: typeof e.delimiter > "u" ? M.delimiter : e.delimiter,
|
|
539
|
+
encode: typeof e.encode == "boolean" ? e.encode : M.encode,
|
|
540
|
+
encodeDotInKeys: typeof e.encodeDotInKeys == "boolean" ? e.encodeDotInKeys : M.encodeDotInKeys,
|
|
541
|
+
encoder: typeof e.encoder == "function" ? e.encoder : M.encoder,
|
|
542
|
+
encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly : M.encodeValuesOnly,
|
|
543
543
|
filter: o,
|
|
544
544
|
format: n,
|
|
545
545
|
formatter: r,
|
|
546
|
-
serializeDate: typeof e.serializeDate == "function" ? e.serializeDate :
|
|
547
|
-
skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls :
|
|
546
|
+
serializeDate: typeof e.serializeDate == "function" ? e.serializeDate : M.serializeDate,
|
|
547
|
+
skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls : M.skipNulls,
|
|
548
548
|
// @ts-expect-error
|
|
549
549
|
sort: typeof e.sort == "function" ? e.sort : null,
|
|
550
|
-
strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling :
|
|
550
|
+
strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : M.strictNullHandling
|
|
551
551
|
};
|
|
552
552
|
}
|
|
553
553
|
function gr(e, t = {}) {
|
|
@@ -1033,7 +1033,7 @@ function qo(e = "Invalid URL") {
|
|
|
1033
1033
|
}
|
|
1034
1034
|
};
|
|
1035
1035
|
}
|
|
1036
|
-
const Ws = "inploi-job-search",
|
|
1036
|
+
const Ws = "inploi-job-search", Go = 10;
|
|
1037
1037
|
var Ze = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1038
1038
|
function Ko(e) {
|
|
1039
1039
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -1098,15 +1098,15 @@ var ka = Ta;
|
|
|
1098
1098
|
function Oa(e) {
|
|
1099
1099
|
return e != null && typeof e == "object";
|
|
1100
1100
|
}
|
|
1101
|
-
var Ra = Oa, Na = ka,
|
|
1101
|
+
var Ra = Oa, Na = ka, Ia = Ra, La = "[object Symbol]";
|
|
1102
1102
|
function Aa(e) {
|
|
1103
|
-
return typeof e == "symbol" ||
|
|
1103
|
+
return typeof e == "symbol" || Ia(e) && Na(e) == La;
|
|
1104
1104
|
}
|
|
1105
|
-
var Da = Aa,
|
|
1105
|
+
var Da = Aa, Pa = da, Sn = wr, Ma = Da, Cn = 0 / 0, ja = /^[-+]0x[0-9a-f]+$/i, Va = /^0b[01]+$/i, $a = /^0o[0-7]+$/i, Ua = parseInt;
|
|
1106
1106
|
function Ha(e) {
|
|
1107
1107
|
if (typeof e == "number")
|
|
1108
1108
|
return e;
|
|
1109
|
-
if (
|
|
1109
|
+
if (Ma(e))
|
|
1110
1110
|
return Cn;
|
|
1111
1111
|
if (Sn(e)) {
|
|
1112
1112
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
@@ -1114,7 +1114,7 @@ function Ha(e) {
|
|
|
1114
1114
|
}
|
|
1115
1115
|
if (typeof e != "string")
|
|
1116
1116
|
return e === 0 ? e : +e;
|
|
1117
|
-
e =
|
|
1117
|
+
e = Pa(e);
|
|
1118
1118
|
var n = Va.test(e);
|
|
1119
1119
|
return n || $a.test(e) ? Ua(e.slice(2), n ? 2 : 8) : ja.test(e) ? Cn : +e;
|
|
1120
1120
|
}
|
|
@@ -1168,21 +1168,21 @@ function Ga(e, t, n) {
|
|
|
1168
1168
|
}
|
|
1169
1169
|
var Ka = Ga;
|
|
1170
1170
|
const Za = /* @__PURE__ */ Ko(Ka);
|
|
1171
|
-
var ce,
|
|
1171
|
+
var ce, I, vt, Tn, Le = 0, Tr = [], Xe = [], kn = w.__b, On = w.__r, Rn = w.diffed, Nn = w.__c, In = w.unmount;
|
|
1172
1172
|
function Se(e, t) {
|
|
1173
|
-
w.__h && w.__h(
|
|
1174
|
-
var n =
|
|
1173
|
+
w.__h && w.__h(I, e, Le || t), Le = 0;
|
|
1174
|
+
var n = I.__H || (I.__H = { __: [], __h: [] });
|
|
1175
1175
|
return e >= n.__.length && n.__.push({ __V: Xe }), n.__[e];
|
|
1176
1176
|
}
|
|
1177
1177
|
function j(e) {
|
|
1178
|
-
return
|
|
1178
|
+
return Le = 1, Bt(Or, e);
|
|
1179
1179
|
}
|
|
1180
1180
|
function Bt(e, t, n) {
|
|
1181
1181
|
var r = Se(ce++, 2);
|
|
1182
1182
|
if (r.t = e, !r.__c && (r.__ = [n ? n(t) : Or(void 0, t), function(l) {
|
|
1183
1183
|
var c = r.__N ? r.__N[0] : r.__[0], d = r.t(c, l);
|
|
1184
1184
|
c !== d && (r.__N = [d, r.__[1]], r.__c.setState({}));
|
|
1185
|
-
}], r.__c =
|
|
1185
|
+
}], r.__c = I, !I.u)) {
|
|
1186
1186
|
var o = function(l, c, d) {
|
|
1187
1187
|
if (!r.__c.__H)
|
|
1188
1188
|
return !0;
|
|
@@ -1201,33 +1201,33 @@ function Bt(e, t, n) {
|
|
|
1201
1201
|
}
|
|
1202
1202
|
}), !(!i && r.__c.props === l) && (!a || a.call(this, l, c, d));
|
|
1203
1203
|
};
|
|
1204
|
-
|
|
1205
|
-
var a =
|
|
1206
|
-
|
|
1204
|
+
I.u = !0;
|
|
1205
|
+
var a = I.shouldComponentUpdate, s = I.componentWillUpdate;
|
|
1206
|
+
I.componentWillUpdate = function(l, c, d) {
|
|
1207
1207
|
if (this.__e) {
|
|
1208
1208
|
var f = a;
|
|
1209
1209
|
a = void 0, o(l, c, d), a = f;
|
|
1210
1210
|
}
|
|
1211
1211
|
s && s.call(this, l, c, d);
|
|
1212
|
-
},
|
|
1212
|
+
}, I.shouldComponentUpdate = o;
|
|
1213
1213
|
}
|
|
1214
1214
|
return r.__N || r.__;
|
|
1215
1215
|
}
|
|
1216
1216
|
function ee(e, t) {
|
|
1217
1217
|
var n = Se(ce++, 3);
|
|
1218
|
-
!w.__s && Kt(n.__H, t) && (n.__ = e, n.i = t,
|
|
1218
|
+
!w.__s && Kt(n.__H, t) && (n.__ = e, n.i = t, I.__H.__h.push(n));
|
|
1219
1219
|
}
|
|
1220
1220
|
function Ce(e, t) {
|
|
1221
1221
|
var n = Se(ce++, 4);
|
|
1222
|
-
!w.__s && Kt(n.__H, t) && (n.__ = e, n.i = t,
|
|
1222
|
+
!w.__s && Kt(n.__H, t) && (n.__ = e, n.i = t, I.__h.push(n));
|
|
1223
1223
|
}
|
|
1224
1224
|
function q(e) {
|
|
1225
|
-
return
|
|
1225
|
+
return Le = 5, be(function() {
|
|
1226
1226
|
return { current: e };
|
|
1227
1227
|
}, []);
|
|
1228
1228
|
}
|
|
1229
1229
|
function kr(e, t, n) {
|
|
1230
|
-
|
|
1230
|
+
Le = 6, Ce(function() {
|
|
1231
1231
|
return typeof e == "function" ? (e(t()), function() {
|
|
1232
1232
|
return e(null);
|
|
1233
1233
|
}) : e ? (e.current = t(), function() {
|
|
@@ -1240,20 +1240,20 @@ function be(e, t) {
|
|
|
1240
1240
|
return Kt(n.__H, t) ? (n.__V = e(), n.i = t, n.__h = e, n.__V) : n.__;
|
|
1241
1241
|
}
|
|
1242
1242
|
function je(e, t) {
|
|
1243
|
-
return
|
|
1243
|
+
return Le = 8, be(function() {
|
|
1244
1244
|
return e;
|
|
1245
1245
|
}, t);
|
|
1246
1246
|
}
|
|
1247
1247
|
function lt(e) {
|
|
1248
|
-
var t =
|
|
1249
|
-
return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub(
|
|
1248
|
+
var t = I.context[e.__c], n = Se(ce++, 9);
|
|
1249
|
+
return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub(I)), t.props.value) : e.__;
|
|
1250
1250
|
}
|
|
1251
1251
|
function qt(e, t) {
|
|
1252
1252
|
w.useDebugValue && w.useDebugValue(t ? t(e) : e);
|
|
1253
1253
|
}
|
|
1254
1254
|
function Ya(e) {
|
|
1255
1255
|
var t = Se(ce++, 10), n = j();
|
|
1256
|
-
return t.__ = e,
|
|
1256
|
+
return t.__ = e, I.componentDidCatch || (I.componentDidCatch = function(r, o) {
|
|
1257
1257
|
t.__ && t.__(r, o), n[1](r);
|
|
1258
1258
|
}), [n[0], function() {
|
|
1259
1259
|
n[1](void 0);
|
|
@@ -1262,7 +1262,7 @@ function Ya(e) {
|
|
|
1262
1262
|
function Gt() {
|
|
1263
1263
|
var e = Se(ce++, 11);
|
|
1264
1264
|
if (!e.__) {
|
|
1265
|
-
for (var t =
|
|
1265
|
+
for (var t = I.__v; t !== null && !t.__m && t.__ !== null; )
|
|
1266
1266
|
t = t.__;
|
|
1267
1267
|
var n = t.__m || (t.__m = [0, 0]);
|
|
1268
1268
|
e.__ = "P" + n[0] + "-" + n[1]++;
|
|
@@ -1273,30 +1273,30 @@ function Ja() {
|
|
|
1273
1273
|
for (var e; e = Tr.shift(); )
|
|
1274
1274
|
if (e.__P && e.__H)
|
|
1275
1275
|
try {
|
|
1276
|
-
e.__H.__h.forEach(et), e.__H.__h.forEach(
|
|
1276
|
+
e.__H.__h.forEach(et), e.__H.__h.forEach(Lt), e.__H.__h = [];
|
|
1277
1277
|
} catch (t) {
|
|
1278
1278
|
e.__H.__h = [], w.__e(t, e.__v);
|
|
1279
1279
|
}
|
|
1280
1280
|
}
|
|
1281
1281
|
w.__b = function(e) {
|
|
1282
|
-
|
|
1282
|
+
I = null, kn && kn(e);
|
|
1283
1283
|
}, w.__r = function(e) {
|
|
1284
1284
|
On && On(e), ce = 0;
|
|
1285
|
-
var t = (
|
|
1286
|
-
t && (vt ===
|
|
1285
|
+
var t = (I = e.__c).__H;
|
|
1286
|
+
t && (vt === I ? (t.__h = [], I.__h = [], t.__.forEach(function(n) {
|
|
1287
1287
|
n.__N && (n.__ = n.__N), n.__V = Xe, n.__N = n.i = void 0;
|
|
1288
|
-
})) : (t.__h.forEach(et), t.__h.forEach(
|
|
1288
|
+
})) : (t.__h.forEach(et), t.__h.forEach(Lt), t.__h = [], ce = 0)), vt = I;
|
|
1289
1289
|
}, w.diffed = function(e) {
|
|
1290
1290
|
Rn && Rn(e);
|
|
1291
1291
|
var t = e.__c;
|
|
1292
1292
|
t && t.__H && (t.__H.__h.length && (Tr.push(t) !== 1 && Tn === w.requestAnimationFrame || ((Tn = w.requestAnimationFrame) || Qa)(Ja)), t.__H.__.forEach(function(n) {
|
|
1293
1293
|
n.i && (n.__H = n.i), n.__V !== Xe && (n.__ = n.__V), n.i = void 0, n.__V = Xe;
|
|
1294
|
-
})), vt =
|
|
1294
|
+
})), vt = I = null;
|
|
1295
1295
|
}, w.__c = function(e, t) {
|
|
1296
1296
|
t.some(function(n) {
|
|
1297
1297
|
try {
|
|
1298
1298
|
n.__h.forEach(et), n.__h = n.__h.filter(function(r) {
|
|
1299
|
-
return !r.__ ||
|
|
1299
|
+
return !r.__ || Lt(r);
|
|
1300
1300
|
});
|
|
1301
1301
|
} catch (r) {
|
|
1302
1302
|
t.some(function(o) {
|
|
@@ -1305,7 +1305,7 @@ w.__b = function(e) {
|
|
|
1305
1305
|
}
|
|
1306
1306
|
}), Nn && Nn(e, t);
|
|
1307
1307
|
}, w.unmount = function(e) {
|
|
1308
|
-
|
|
1308
|
+
In && In(e);
|
|
1309
1309
|
var t, n = e.__c;
|
|
1310
1310
|
n && n.__H && (n.__H.__.forEach(function(r) {
|
|
1311
1311
|
try {
|
|
@@ -1315,20 +1315,20 @@ w.__b = function(e) {
|
|
|
1315
1315
|
}
|
|
1316
1316
|
}), n.__H = void 0, t && w.__e(t, n.__v));
|
|
1317
1317
|
};
|
|
1318
|
-
var
|
|
1318
|
+
var Ln = typeof requestAnimationFrame == "function";
|
|
1319
1319
|
function Qa(e) {
|
|
1320
1320
|
var t, n = function() {
|
|
1321
|
-
clearTimeout(r),
|
|
1321
|
+
clearTimeout(r), Ln && cancelAnimationFrame(t), setTimeout(e);
|
|
1322
1322
|
}, r = setTimeout(n, 100);
|
|
1323
|
-
|
|
1323
|
+
Ln && (t = requestAnimationFrame(n));
|
|
1324
1324
|
}
|
|
1325
1325
|
function et(e) {
|
|
1326
|
-
var t =
|
|
1327
|
-
typeof n == "function" && (e.__c = void 0, n()),
|
|
1326
|
+
var t = I, n = e.__c;
|
|
1327
|
+
typeof n == "function" && (e.__c = void 0, n()), I = t;
|
|
1328
1328
|
}
|
|
1329
|
-
function
|
|
1330
|
-
var t =
|
|
1331
|
-
e.__c = e.__(),
|
|
1329
|
+
function Lt(e) {
|
|
1330
|
+
var t = I;
|
|
1331
|
+
e.__c = e.__(), I = t;
|
|
1332
1332
|
}
|
|
1333
1333
|
function Kt(e, t) {
|
|
1334
1334
|
return !e || e.length !== t.length || t.some(function(n, r) {
|
|
@@ -1349,7 +1349,7 @@ function u(e, t, n, r, o, a) {
|
|
|
1349
1349
|
c[l] === void 0 && (c[l] = s[l]);
|
|
1350
1350
|
return w.vnode && w.vnode(d), d;
|
|
1351
1351
|
}
|
|
1352
|
-
|
|
1352
|
+
var ei = ["other", "few", "many", "two", "one", "zero"], An = ({
|
|
1353
1353
|
terms: e,
|
|
1354
1354
|
overrides: t,
|
|
1355
1355
|
locale: n
|
|
@@ -1384,11 +1384,7 @@ const ei = ["other", "few", "many", "two", "one", "zero"], An = ({
|
|
|
1384
1384
|
}
|
|
1385
1385
|
return o;
|
|
1386
1386
|
}, Dn = it(null), ti = (e) => ({
|
|
1387
|
-
TranslationProvider: ({
|
|
1388
|
-
terms: t,
|
|
1389
|
-
children: n,
|
|
1390
|
-
locale: r
|
|
1391
|
-
}) => {
|
|
1387
|
+
TranslationProvider: ({ terms: t, children: n, locale: r }) => {
|
|
1392
1388
|
const o = be(() => (console.log("instantiating"), An({ locale: r, terms: e, overrides: t })), [t, r]);
|
|
1393
1389
|
return /* @__PURE__ */ u(Dn.Provider, { value: { t: o, locale: r }, children: n });
|
|
1394
1390
|
},
|
|
@@ -1402,7 +1398,8 @@ const ei = ["other", "few", "many", "two", "one", "zero"], An = ({
|
|
|
1402
1398
|
overrides: t,
|
|
1403
1399
|
locale: n
|
|
1404
1400
|
}) => An({ terms: e, overrides: t, locale: n })
|
|
1405
|
-
})
|
|
1401
|
+
});
|
|
1402
|
+
const { TranslationProvider: zs, useTranslation: xe, createTFunction: Bs } = ti({
|
|
1406
1403
|
type_to_search_jobs: "Type to search jobs",
|
|
1407
1404
|
type_to_search: "Type to search",
|
|
1408
1405
|
jobs_found: { one: "{{count}} job found", other: "{{count}} jobs found" },
|
|
@@ -1421,8 +1418,6 @@ const ei = ["other", "few", "many", "two", "one", "zero"], An = ({
|
|
|
1421
1418
|
widget_unavailable: "Sorry, this widget is unavailable at the moment.",
|
|
1422
1419
|
load_more_count: "Load {{count}} more",
|
|
1423
1420
|
of_remaining_count: "of {{count}} remaining",
|
|
1424
|
-
create_alert: "Create alert",
|
|
1425
|
-
alert_header_text: "You will be alerted for new jobs matching the filters currently set",
|
|
1426
1421
|
today: "today",
|
|
1427
1422
|
over_30_days_ago: "over 30 days ago",
|
|
1428
1423
|
in_over_30_days: "in over 30 days",
|
|
@@ -1446,7 +1441,8 @@ const ei = ["other", "few", "many", "two", "one", "zero"], An = ({
|
|
|
1446
1441
|
search_label: "What",
|
|
1447
1442
|
geo_label: "Where",
|
|
1448
1443
|
geo_range_label: "Within",
|
|
1449
|
-
geo_suggestions_error: "Could not get the suggested locations."
|
|
1444
|
+
geo_suggestions_error: "Could not get the suggested locations.",
|
|
1445
|
+
feedback: "How was your search experience?"
|
|
1450
1446
|
});
|
|
1451
1447
|
function Rr(e) {
|
|
1452
1448
|
var t, n, r = "";
|
|
@@ -1466,7 +1462,7 @@ function mt() {
|
|
|
1466
1462
|
(e = arguments[n++]) && (t = Rr(e)) && (r && (r += " "), r += t);
|
|
1467
1463
|
return r;
|
|
1468
1464
|
}
|
|
1469
|
-
const
|
|
1465
|
+
const Pn = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, ni = (e) => {
|
|
1470
1466
|
const t = function() {
|
|
1471
1467
|
for (var o = arguments.length, a = new Array(o), s = 0; s < o; s++)
|
|
1472
1468
|
a[s] = arguments[s];
|
|
@@ -1488,7 +1484,7 @@ const Mn = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, ni =
|
|
|
1488
1484
|
if ((o == null ? void 0 : o.variants) == null)
|
|
1489
1485
|
return t(o == null ? void 0 : o.base, a == null ? void 0 : a.class, a == null ? void 0 : a.className);
|
|
1490
1486
|
const { variants: l, defaultVariants: c } = o, d = Object.keys(l).map((p) => {
|
|
1491
|
-
const y = a == null ? void 0 : a[p], _ = c == null ? void 0 : c[p], h =
|
|
1487
|
+
const y = a == null ? void 0 : a[p], _ = c == null ? void 0 : c[p], h = Pn(y) || Pn(_);
|
|
1492
1488
|
return l[p][h];
|
|
1493
1489
|
}), f = { ...c, ...a && Object.entries(a).reduce((p, y) => {
|
|
1494
1490
|
let [_, h] = y;
|
|
@@ -1503,7 +1499,7 @@ const Mn = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, ni =
|
|
|
1503
1499
|
}, []);
|
|
1504
1500
|
return t(o == null ? void 0 : o.base, d, i, a == null ? void 0 : a.class, a == null ? void 0 : a.className);
|
|
1505
1501
|
}, cx: t };
|
|
1506
|
-
}, { compose:
|
|
1502
|
+
}, { compose: qs, cva: te, cx: Gs } = ni(), ri = (e) => {
|
|
1507
1503
|
const [t, n] = j(!1);
|
|
1508
1504
|
return ee(() => {
|
|
1509
1505
|
if (typeof window > "u")
|
|
@@ -1511,7 +1507,7 @@ const Mn = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, ni =
|
|
|
1511
1507
|
const r = window.matchMedia(e), o = () => n(r.matches);
|
|
1512
1508
|
return o(), r.addEventListener("change", o), () => r.removeEventListener("change", o);
|
|
1513
1509
|
}, [e]), t;
|
|
1514
|
-
},
|
|
1510
|
+
}, Ks = (e, { minViewTime: t = 1e3, visibilityThreshold: n = 0, onView: r }) => {
|
|
1515
1511
|
const [o, a] = j(!1);
|
|
1516
1512
|
ee(() => {
|
|
1517
1513
|
if (o || !e.current)
|
|
@@ -1589,7 +1585,7 @@ function oi() {
|
|
|
1589
1585
|
(e = arguments[n]) && (t = Nr(e)) && (r && (r += " "), r += t);
|
|
1590
1586
|
return r;
|
|
1591
1587
|
}
|
|
1592
|
-
const
|
|
1588
|
+
const Zs = ({ error: e, resetError: t }) => {
|
|
1593
1589
|
const { t: n } = xe();
|
|
1594
1590
|
return /* @__PURE__ */ u(
|
|
1595
1591
|
"div",
|
|
@@ -1625,7 +1621,7 @@ const Ys = ({ error: e, resetError: t }) => {
|
|
|
1625
1621
|
]
|
|
1626
1622
|
}
|
|
1627
1623
|
);
|
|
1628
|
-
},
|
|
1624
|
+
}, Mn = ({ error: e, resetError: t, class: n, ...r }) => {
|
|
1629
1625
|
const { t: o } = xe();
|
|
1630
1626
|
return /* @__PURE__ */ u(
|
|
1631
1627
|
"div",
|
|
@@ -1657,7 +1653,7 @@ const Ys = ({ error: e, resetError: t }) => {
|
|
|
1657
1653
|
}
|
|
1658
1654
|
);
|
|
1659
1655
|
};
|
|
1660
|
-
class
|
|
1656
|
+
class Ys extends G {
|
|
1661
1657
|
constructor() {
|
|
1662
1658
|
super(...arguments);
|
|
1663
1659
|
pt(this, "state", { error: null });
|
|
@@ -1838,7 +1834,7 @@ const He = te({
|
|
|
1838
1834
|
d: "M12 20.4C16.63 20.4 20.4 16.64 20.4 12C20.4 7.36 16.64 3.6 12.0 3.6C7.36 3.6 3.6 7.36 3.6 12C3.6 16.64 7.36 20.4 12 20.4ZM10.8 12.6V7.8H13.2V12.6H10.8ZM10.8 16.8V14.4H13.2V16.8H10.8Z"
|
|
1839
1835
|
}
|
|
1840
1836
|
)
|
|
1841
|
-
},
|
|
1837
|
+
}, Js = ({ theme: e }) => /* @__PURE__ */ u("svg", { xmlns: "http://www.w3.org/2000/svg", style: { display: "none" }, children: /* @__PURE__ */ u("defs", { children: Object.entries(ii).map(([t, n]) => {
|
|
1842
1838
|
var r;
|
|
1843
1839
|
return /* @__PURE__ */ u("symbol", { id: `i-icon-${t}`, children: /* @__PURE__ */ u(
|
|
1844
1840
|
"g",
|
|
@@ -1891,7 +1887,7 @@ const He = te({
|
|
|
1891
1887
|
return r(((a = t.current) == null ? void 0 : a.clientHeight) ?? 0);
|
|
1892
1888
|
};
|
|
1893
1889
|
return Ce(() => (o(), window.addEventListener("resize", o), () => window.removeEventListener("resize", o)), e), { height: n, ref: t, updateHeight: o };
|
|
1894
|
-
},
|
|
1890
|
+
}, Ir = (e) => typeof e.value == "string" ? [e.value] : e.value ?? [], Qs = ({
|
|
1895
1891
|
active: e,
|
|
1896
1892
|
value: t,
|
|
1897
1893
|
onActiveChange: n,
|
|
@@ -1901,7 +1897,7 @@ const He = te({
|
|
|
1901
1897
|
unfilteredQuery: s,
|
|
1902
1898
|
useQuery: l
|
|
1903
1899
|
}) => {
|
|
1904
|
-
const c = So(r.key, jn) ? jn[r.key] : void 0, d = r.icon ?? c ?? "filter", f =
|
|
1900
|
+
const c = So(r.key, jn) ? jn[r.key] : void 0, d = r.icon ?? c ?? "filter", f = Ir(t), { height: i, ref: p, updateHeight: y } = ui([e]), _ = f.length > 0;
|
|
1905
1901
|
return /* @__PURE__ */ u(
|
|
1906
1902
|
"section",
|
|
1907
1903
|
{
|
|
@@ -1974,7 +1970,7 @@ const fi = 44, _i = 6, pi = 12, hi = 8, ct = te({
|
|
|
1974
1970
|
size: "md",
|
|
1975
1971
|
hasValue: !1
|
|
1976
1972
|
}
|
|
1977
|
-
}),
|
|
1973
|
+
}), Lr = te({
|
|
1978
1974
|
base: "gutter-stable pointer-fine:flex-wrap pointer-fine:p-2 pointer-fine:bg-app pointer-fine:rounded-section pointer-coarse:overflow-x-auto flex max-w-full overflow-y-auto px-4",
|
|
1979
1975
|
variants: {
|
|
1980
1976
|
type: {
|
|
@@ -2090,11 +2086,11 @@ const fi = 44, _i = 6, pi = 12, hi = 8, ct = te({
|
|
|
2090
2086
|
default:
|
|
2091
2087
|
Qe(c);
|
|
2092
2088
|
}
|
|
2093
|
-
}, [c, t.key]), f =
|
|
2089
|
+
}, [c, t.key]), f = Ir(e), i = f.length > 0, [p, y] = j(), _ = ri("(pointer: coarse)");
|
|
2094
2090
|
return ee(() => {
|
|
2095
2091
|
s();
|
|
2096
2092
|
}), c.queryState === "error" ? /* @__PURE__ */ u(
|
|
2097
|
-
|
|
2093
|
+
Mn,
|
|
2098
2094
|
{
|
|
2099
2095
|
error: new Error(l("filters_loading_error"), { cause: c.error }),
|
|
2100
2096
|
resetError: () => c.swr.mutate()
|
|
@@ -2114,7 +2110,7 @@ const fi = 44, _i = 6, pi = 12, hi = 8, ct = te({
|
|
|
2114
2110
|
switch (a.queryState) {
|
|
2115
2111
|
case "error":
|
|
2116
2112
|
return /* @__PURE__ */ u(
|
|
2117
|
-
|
|
2113
|
+
Mn,
|
|
2118
2114
|
{
|
|
2119
2115
|
error: new Error(l("filters_loading_error"), {
|
|
2120
2116
|
cause: a.error
|
|
@@ -2165,7 +2161,7 @@ const fi = 44, _i = 6, pi = 12, hi = 8, ct = te({
|
|
|
2165
2161
|
style: {
|
|
2166
2162
|
"--maxHeight": `${fi * (_i + 0.5) + 2 * hi}px`
|
|
2167
2163
|
},
|
|
2168
|
-
class:
|
|
2164
|
+
class: Lr({
|
|
2169
2165
|
type: v ? "long" : "short"
|
|
2170
2166
|
}),
|
|
2171
2167
|
children: mi(g, t.sortSuggestions).map((b) => {
|
|
@@ -2273,7 +2269,7 @@ const fi = 44, _i = 6, pi = 12, hi = 8, ct = te({
|
|
|
2273
2269
|
] })
|
|
2274
2270
|
] });
|
|
2275
2271
|
};
|
|
2276
|
-
function
|
|
2272
|
+
function Pr(e, t) {
|
|
2277
2273
|
for (var n in t)
|
|
2278
2274
|
e[n] = t[n];
|
|
2279
2275
|
return e;
|
|
@@ -2293,7 +2289,7 @@ function bt(e, t) {
|
|
|
2293
2289
|
function ot(e) {
|
|
2294
2290
|
this.props = e;
|
|
2295
2291
|
}
|
|
2296
|
-
function
|
|
2292
|
+
function Mr(e, t) {
|
|
2297
2293
|
function n(o) {
|
|
2298
2294
|
var a = this.props.ref, s = a == o.ref;
|
|
2299
2295
|
return !s && a && (a.call ? a(null) : a.current = null), t ? !t(this.props, o) || !s : At(this.props, o);
|
|
@@ -2313,7 +2309,7 @@ w.__b = function(e) {
|
|
|
2313
2309
|
var Si = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
|
|
2314
2310
|
function Zt(e) {
|
|
2315
2311
|
function t(n) {
|
|
2316
|
-
var r =
|
|
2312
|
+
var r = Pr({}, n);
|
|
2317
2313
|
return delete r.ref, e(r, n.ref || null);
|
|
2318
2314
|
}
|
|
2319
2315
|
return t.$$typeof = Si, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
|
|
@@ -2340,7 +2336,7 @@ var Hn = w.unmount;
|
|
|
2340
2336
|
function Vr(e, t, n) {
|
|
2341
2337
|
return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(r) {
|
|
2342
2338
|
typeof r.__c == "function" && r.__c();
|
|
2343
|
-
}), e.__c.__H = null), (e =
|
|
2339
|
+
}), e.__c.__H = null), (e = Pr({}, e)).__c != null && (e.__c.__P === n && (e.__c.__P = t), e.__c = null), e.__k = e.__k && e.__k.map(function(r) {
|
|
2344
2340
|
return Vr(r, t, n);
|
|
2345
2341
|
})), e;
|
|
2346
2342
|
}
|
|
@@ -2461,7 +2457,7 @@ function Fr(e, t) {
|
|
|
2461
2457
|
Fn(e, n, t);
|
|
2462
2458
|
});
|
|
2463
2459
|
};
|
|
2464
|
-
var Wr = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, ki = /^(?: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]/, Oi = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Ri = /[A-Z0-9]/g, Ni = typeof document < "u",
|
|
2460
|
+
var Wr = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, ki = /^(?: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]/, Oi = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Ri = /[A-Z0-9]/g, Ni = typeof document < "u", Ii = function(e) {
|
|
2465
2461
|
return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
|
|
2466
2462
|
};
|
|
2467
2463
|
function zr(e, t, n) {
|
|
@@ -2478,7 +2474,7 @@ G.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveP
|
|
|
2478
2474
|
} });
|
|
2479
2475
|
});
|
|
2480
2476
|
var Wn = w.event;
|
|
2481
|
-
function
|
|
2477
|
+
function Li() {
|
|
2482
2478
|
}
|
|
2483
2479
|
function Ai() {
|
|
2484
2480
|
return this.cancelBubble;
|
|
@@ -2487,9 +2483,9 @@ function Di() {
|
|
|
2487
2483
|
return this.defaultPrevented;
|
|
2488
2484
|
}
|
|
2489
2485
|
w.event = function(e) {
|
|
2490
|
-
return Wn && (e = Wn(e)), e.persist =
|
|
2486
|
+
return Wn && (e = Wn(e)), e.persist = Li, e.isPropagationStopped = Ai, e.isDefaultPrevented = Di, e.nativeEvent = e;
|
|
2491
2487
|
};
|
|
2492
|
-
var Yt,
|
|
2488
|
+
var Yt, Pi = { enumerable: !1, configurable: !0, get: function() {
|
|
2493
2489
|
return this.class;
|
|
2494
2490
|
} }, zn = w.vnode;
|
|
2495
2491
|
w.vnode = function(e) {
|
|
@@ -2499,14 +2495,14 @@ w.vnode = function(e) {
|
|
|
2499
2495
|
var s = n[a];
|
|
2500
2496
|
if (!(a === "value" && "defaultValue" in n && s == null || Ni && a === "children" && r === "noscript" || a === "class" || a === "className")) {
|
|
2501
2497
|
var l = a.toLowerCase();
|
|
2502
|
-
a === "defaultValue" && "value" in n && n.value == null ? a = "value" : a === "download" && s === !0 ? s = "" : l === "ondoubleclick" ? a = "ondblclick" : l !== "onchange" || r !== "input" && r !== "textarea" ||
|
|
2498
|
+
a === "defaultValue" && "value" in n && n.value == null ? a = "value" : a === "download" && s === !0 ? s = "" : l === "ondoubleclick" ? a = "ondblclick" : l !== "onchange" || r !== "input" && r !== "textarea" || Ii(n.type) ? l === "onfocus" ? a = "onfocusin" : l === "onblur" ? a = "onfocusout" : Oi.test(a) ? a = l : r.indexOf("-") === -1 && ki.test(a) ? a = a.replace(Ri, "-$&").toLowerCase() : s === null && (s = void 0) : l = a = "oninput", l === "oninput" && o[a = l] && (a = "oninputCapture"), o[a] = s;
|
|
2503
2499
|
}
|
|
2504
2500
|
}
|
|
2505
2501
|
r == "select" && o.multiple && Array.isArray(o.value) && (o.value = le(n.children).forEach(function(c) {
|
|
2506
2502
|
c.props.selected = o.value.indexOf(c.props.value) != -1;
|
|
2507
2503
|
})), r == "select" && o.defaultValue != null && (o.value = le(n.children).forEach(function(c) {
|
|
2508
2504
|
c.props.selected = o.multiple ? o.defaultValue.indexOf(c.props.value) != -1 : o.defaultValue == c.props.value;
|
|
2509
|
-
})), n.class && !n.className ? (o.class = n.class, Object.defineProperty(o, "className",
|
|
2505
|
+
})), n.class && !n.className ? (o.class = n.class, Object.defineProperty(o, "className", Pi)) : (n.className && !n.class || n.class && n.className) && (o.class = o.className = n.className), t.props = o;
|
|
2510
2506
|
}(e), e.$$typeof = Wr, zn && zn(e);
|
|
2511
2507
|
};
|
|
2512
2508
|
var Bn = w.__r;
|
|
@@ -2521,7 +2517,7 @@ w.diffed = function(e) {
|
|
|
2521
2517
|
};
|
|
2522
2518
|
var qr = { ReactCurrentDispatcher: { current: { readContext: function(e) {
|
|
2523
2519
|
return Yt.__n[e.__c].props.value;
|
|
2524
|
-
} } } },
|
|
2520
|
+
} } } }, Mi = "17.0.2";
|
|
2525
2521
|
function Gr(e) {
|
|
2526
2522
|
return X.bind(null, e);
|
|
2527
2523
|
}
|
|
@@ -2562,7 +2558,7 @@ function ro(e, t) {
|
|
|
2562
2558
|
});
|
|
2563
2559
|
}, [e]), n;
|
|
2564
2560
|
}
|
|
2565
|
-
var ut = { useState: j, useId: Gt, useReducer: Bt, useEffect: ee, useLayoutEffect: Ce, useInsertionEffect: no, useTransition: to, useDeferredValue: eo, useSyncExternalStore: ro, startTransition: Qt, useRef: q, useImperativeHandle: kr, useMemo: be, useCallback: je, useContext: lt, useDebugValue: qt, version: "17.0.2", Children: jr, render: zr, hydrate: Br, unmountComponentAtNode: Zr, createPortal: Fr, createElement: X, createContext: it, createFactory: Gr, cloneElement: Kr, createRef: ir, Fragment: D, isValidElement: Jt, findDOMNode: Yr, Component: G, PureComponent: ot, memo:
|
|
2561
|
+
var ut = { useState: j, useId: Gt, useReducer: Bt, useEffect: ee, useLayoutEffect: Ce, useInsertionEffect: no, useTransition: to, useDeferredValue: eo, useSyncExternalStore: ro, startTransition: Qt, useRef: q, useImperativeHandle: kr, useMemo: be, useCallback: je, useContext: lt, useDebugValue: qt, version: "17.0.2", Children: jr, render: zr, hydrate: Br, unmountComponentAtNode: Zr, createPortal: Fr, createElement: X, createContext: it, createFactory: Gr, cloneElement: Kr, createRef: ir, Fragment: D, isValidElement: Jt, findDOMNode: Yr, Component: G, PureComponent: ot, memo: Mr, forwardRef: Zt, flushSync: Qr, unstable_batchedUpdates: Jr, StrictMode: Xr, Suspense: Ve, SuspenseList: Ne, lazy: Hr, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: qr };
|
|
2566
2562
|
const ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2567
2563
|
__proto__: null,
|
|
2568
2564
|
Children: jr,
|
|
@@ -2586,7 +2582,7 @@ const ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2586
2582
|
hydrate: Br,
|
|
2587
2583
|
isValidElement: Jt,
|
|
2588
2584
|
lazy: Hr,
|
|
2589
|
-
memo:
|
|
2585
|
+
memo: Mr,
|
|
2590
2586
|
render: zr,
|
|
2591
2587
|
startTransition: Qt,
|
|
2592
2588
|
unmountComponentAtNode: Zr,
|
|
@@ -2607,7 +2603,7 @@ const ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2607
2603
|
useState: j,
|
|
2608
2604
|
useSyncExternalStore: ro,
|
|
2609
2605
|
useTransition: to,
|
|
2610
|
-
version:
|
|
2606
|
+
version: Mi
|
|
2611
2607
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2612
2608
|
var Dt = { exports: {} }, Et = {};
|
|
2613
2609
|
const oo = /* @__PURE__ */ Zo(ji);
|
|
@@ -2769,7 +2765,7 @@ const Fe = (e) => {
|
|
|
2769
2765
|
} else
|
|
2770
2766
|
o = r ? e.toJSON() : t == "symbol" ? e.toString() : t == "string" ? JSON.stringify(e) : "" + e;
|
|
2771
2767
|
return o;
|
|
2772
|
-
}, ae = /* @__PURE__ */ new WeakMap(), Ct = {}, Je = {}, Xt = "undefined", dt = typeof window != Xt,
|
|
2768
|
+
}, ae = /* @__PURE__ */ new WeakMap(), Ct = {}, Je = {}, Xt = "undefined", dt = typeof window != Xt, Pt = typeof document != Xt, Wi = () => dt && typeof window.requestAnimationFrame != Xt, ao = (e, t) => {
|
|
2773
2769
|
const n = ae.get(e);
|
|
2774
2770
|
return [
|
|
2775
2771
|
// Getter
|
|
@@ -2787,23 +2783,23 @@ const Fe = (e) => {
|
|
|
2787
2783
|
() => !R(t) && t in Je ? Je[t] : !R(t) && e.get(t) || Ct
|
|
2788
2784
|
];
|
|
2789
2785
|
};
|
|
2790
|
-
let
|
|
2791
|
-
const zi = () =>
|
|
2786
|
+
let Mt = !0;
|
|
2787
|
+
const zi = () => Mt, [jt, Vt] = dt && window.addEventListener ? [
|
|
2792
2788
|
window.addEventListener.bind(window),
|
|
2793
2789
|
window.removeEventListener.bind(window)
|
|
2794
2790
|
] : [
|
|
2795
2791
|
pe,
|
|
2796
2792
|
pe
|
|
2797
2793
|
], Bi = () => {
|
|
2798
|
-
const e =
|
|
2794
|
+
const e = Pt && document.visibilityState;
|
|
2799
2795
|
return R(e) || e !== "hidden";
|
|
2800
|
-
}, qi = (e) => (
|
|
2801
|
-
|
|
2796
|
+
}, qi = (e) => (Pt && document.addEventListener("visibilitychange", e), jt("focus", e), () => {
|
|
2797
|
+
Pt && document.removeEventListener("visibilitychange", e), Vt("focus", e);
|
|
2802
2798
|
}), Gi = (e) => {
|
|
2803
2799
|
const t = () => {
|
|
2804
|
-
|
|
2800
|
+
Mt = !0, e();
|
|
2805
2801
|
}, n = () => {
|
|
2806
|
-
|
|
2802
|
+
Mt = !1;
|
|
2807
2803
|
};
|
|
2808
2804
|
return jt("online", t), jt("offline", n), () => {
|
|
2809
2805
|
Vt("online", t), Vt("offline", n);
|
|
@@ -2832,7 +2828,7 @@ const zi = () => Pt, [jt, Vt] = dt && window.addEventListener ? [
|
|
|
2832
2828
|
};
|
|
2833
2829
|
let Ji = 0;
|
|
2834
2830
|
const $t = () => ++Ji, io = 0, so = 1, lo = 2, Qi = 3;
|
|
2835
|
-
var
|
|
2831
|
+
var Pe = {
|
|
2836
2832
|
__proto__: null,
|
|
2837
2833
|
ERROR_REVALIDATE_EVENT: Qi,
|
|
2838
2834
|
FOCUS_EVENT: io,
|
|
@@ -3046,25 +3042,25 @@ const Qn = ut.use || ((e) => {
|
|
|
3046
3042
|
}), kt = {
|
|
3047
3043
|
dedupe: !0
|
|
3048
3044
|
}, hs = (e, t, n) => {
|
|
3049
|
-
const { cache: r, compare: o, suspense: a, fallbackData: s, revalidateOnMount: l, revalidateIfStale: c, refreshInterval: d, refreshWhenHidden: f, refreshWhenOffline: i, keepPreviousData: p } = n, [y, _, h, C] = ae.get(r), [g, E] = en(e), S = q(!1), v = q(!1), b = q(g), m = q(t), k = q(n), x = () => k.current, T = () => x().isVisible() && x().isOnline(), [O, U, K, H] = ao(r, g), ue = q({}).current, qe = R(s) ? n.fallback[g] : s, tn = (
|
|
3045
|
+
const { cache: r, compare: o, suspense: a, fallbackData: s, revalidateOnMount: l, revalidateIfStale: c, refreshInterval: d, refreshWhenHidden: f, refreshWhenOffline: i, keepPreviousData: p } = n, [y, _, h, C] = ae.get(r), [g, E] = en(e), S = q(!1), v = q(!1), b = q(g), m = q(t), k = q(n), x = () => k.current, T = () => x().isVisible() && x().isOnline(), [O, U, K, H] = ao(r, g), ue = q({}).current, qe = R(s) ? n.fallback[g] : s, tn = (L, A) => {
|
|
3050
3046
|
for (const $ in ue) {
|
|
3051
|
-
const
|
|
3052
|
-
if (
|
|
3053
|
-
if (!o(
|
|
3047
|
+
const P = $;
|
|
3048
|
+
if (P === "data") {
|
|
3049
|
+
if (!o(L[P], A[P]) && (!R(L[P]) || !o(Ke, A[P])))
|
|
3054
3050
|
return !1;
|
|
3055
|
-
} else if (A[
|
|
3051
|
+
} else if (A[P] !== L[P])
|
|
3056
3052
|
return !1;
|
|
3057
3053
|
}
|
|
3058
3054
|
return !0;
|
|
3059
3055
|
}, nn = be(() => {
|
|
3060
|
-
const
|
|
3056
|
+
const L = (() => !g || !t ? !1 : R(l) ? x().isPaused() || a ? !1 : R(c) ? !0 : c : l)(), A = (F) => {
|
|
3061
3057
|
const ne = ge(F);
|
|
3062
|
-
return delete ne._k,
|
|
3058
|
+
return delete ne._k, L ? {
|
|
3063
3059
|
isValidating: !0,
|
|
3064
3060
|
isLoading: !0,
|
|
3065
3061
|
...ne
|
|
3066
3062
|
} : ne;
|
|
3067
|
-
}, $ = O(),
|
|
3063
|
+
}, $ = O(), P = H(), Z = A($), Re = $ === P ? Z : A(P);
|
|
3068
3064
|
let V = Z;
|
|
3069
3065
|
return [
|
|
3070
3066
|
() => {
|
|
@@ -3077,8 +3073,8 @@ const Qn = ut.use || ((e) => {
|
|
|
3077
3073
|
r,
|
|
3078
3074
|
g
|
|
3079
3075
|
]), Te = Ui.useSyncExternalStore(je(
|
|
3080
|
-
(
|
|
3081
|
-
tn($, A) ||
|
|
3076
|
+
(L) => K(g, (A, $) => {
|
|
3077
|
+
tn($, A) || L();
|
|
3082
3078
|
}),
|
|
3083
3079
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
3084
3080
|
[
|
|
@@ -3086,19 +3082,19 @@ const Qn = ut.use || ((e) => {
|
|
|
3086
3082
|
g
|
|
3087
3083
|
]
|
|
3088
3084
|
), nn[0], nn[1]), rn = !S.current, yo = y[g] && y[g].length > 0, ke = Te.data, Oe = R(ke) ? qe : ke, Ge = Te.error, on = q(Oe), Ke = p ? R(ke) ? on.current : ke : Oe, an = (() => yo && !R(Ge) ? !1 : rn && !R(l) ? l : x().isPaused() ? !1 : a ? R(Oe) ? !1 : c : R(Oe) || c)(), sn = !!(g && t && rn && an), go = R(Te.isValidating) ? sn : Te.isValidating, vo = R(Te.isLoading) ? sn : Te.isLoading, Ae = je(
|
|
3089
|
-
async (
|
|
3085
|
+
async (L) => {
|
|
3090
3086
|
const A = m.current;
|
|
3091
3087
|
if (!g || !A || v.current || x().isPaused())
|
|
3092
3088
|
return !1;
|
|
3093
|
-
let $,
|
|
3094
|
-
const Re =
|
|
3089
|
+
let $, P, Z = !0;
|
|
3090
|
+
const Re = L || {}, V = !h[g] || !Re.dedupe, F = () => Zn ? !v.current && g === b.current && S.current : g === b.current, ne = {
|
|
3095
3091
|
isValidating: !1,
|
|
3096
3092
|
isLoading: !1
|
|
3097
3093
|
}, cn = () => {
|
|
3098
3094
|
U(ne);
|
|
3099
3095
|
}, un = () => {
|
|
3100
3096
|
const B = h[g];
|
|
3101
|
-
B && B[1] ===
|
|
3097
|
+
B && B[1] === P && delete h[g];
|
|
3102
3098
|
}, dn = {
|
|
3103
3099
|
isValidating: !0
|
|
3104
3100
|
};
|
|
@@ -3109,13 +3105,13 @@ const Qn = ut.use || ((e) => {
|
|
|
3109
3105
|
}, n.loadingTimeout), h[g] = [
|
|
3110
3106
|
A(E),
|
|
3111
3107
|
$t()
|
|
3112
|
-
]), [$,
|
|
3108
|
+
]), [$, P] = h[g], $ = await $, V && setTimeout(un, n.dedupingInterval), !h[g] || h[g][1] !== P)
|
|
3113
3109
|
return V && F() && x().onDiscarded(g), !1;
|
|
3114
3110
|
ne.error = W;
|
|
3115
3111
|
const B = _[g];
|
|
3116
3112
|
if (!R(B) && // case 1
|
|
3117
|
-
(
|
|
3118
|
-
|
|
3113
|
+
(P <= B[0] || // case 2
|
|
3114
|
+
P <= B[1] || // case 3
|
|
3119
3115
|
B[1] === 0))
|
|
3120
3116
|
return cn(), V && F() && x().onDiscarded(g), !1;
|
|
3121
3117
|
const re = O().data;
|
|
@@ -3125,7 +3121,7 @@ const Qn = ut.use || ((e) => {
|
|
|
3125
3121
|
const re = x(), { shouldRetryOnError: ft } = re;
|
|
3126
3122
|
re.isPaused() || (ne.error = B, V && F() && (re.onError(B, g, re), (ft === !0 || Q(ft) && ft(B)) && (!x().revalidateOnFocus || !x().revalidateOnReconnect || T()) && re.onErrorRetry(B, g, re, (mo) => {
|
|
3127
3123
|
const _t = y[g];
|
|
3128
|
-
_t && _t[0] && _t[0](
|
|
3124
|
+
_t && _t[0] && _t[0](Pe.ERROR_REVALIDATE_EVENT, mo);
|
|
3129
3125
|
}, {
|
|
3130
3126
|
retryCount: (Re.retryCount || 0) + 1,
|
|
3131
3127
|
dedupe: !0
|
|
@@ -3150,7 +3146,7 @@ const Qn = ut.use || ((e) => {
|
|
|
3150
3146
|
]
|
|
3151
3147
|
), ln = je(
|
|
3152
3148
|
// Use callback to make sure `keyRef.current` returns latest result every time
|
|
3153
|
-
(...
|
|
3149
|
+
(...L) => co(r, b.current, ...L),
|
|
3154
3150
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
3155
3151
|
[]
|
|
3156
3152
|
);
|
|
@@ -3159,39 +3155,39 @@ const Qn = ut.use || ((e) => {
|
|
|
3159
3155
|
}), xt(() => {
|
|
3160
3156
|
if (!g)
|
|
3161
3157
|
return;
|
|
3162
|
-
const
|
|
3158
|
+
const L = Ae.bind(W, kt);
|
|
3163
3159
|
let A = 0;
|
|
3164
|
-
const
|
|
3165
|
-
if (Z ==
|
|
3160
|
+
const P = ps(g, y, (Z, Re = {}) => {
|
|
3161
|
+
if (Z == Pe.FOCUS_EVENT) {
|
|
3166
3162
|
const V = Date.now();
|
|
3167
|
-
x().revalidateOnFocus && V > A && T() && (A = V + x().focusThrottleInterval,
|
|
3168
|
-
} else if (Z ==
|
|
3169
|
-
x().revalidateOnReconnect && T() &&
|
|
3163
|
+
x().revalidateOnFocus && V > A && T() && (A = V + x().focusThrottleInterval, L());
|
|
3164
|
+
} else if (Z == Pe.RECONNECT_EVENT)
|
|
3165
|
+
x().revalidateOnReconnect && T() && L();
|
|
3170
3166
|
else {
|
|
3171
|
-
if (Z ==
|
|
3167
|
+
if (Z == Pe.MUTATE_EVENT)
|
|
3172
3168
|
return Ae();
|
|
3173
|
-
if (Z ==
|
|
3169
|
+
if (Z == Pe.ERROR_REVALIDATE_EVENT)
|
|
3174
3170
|
return Ae(Re);
|
|
3175
3171
|
}
|
|
3176
3172
|
});
|
|
3177
3173
|
return v.current = !1, b.current = g, S.current = !0, U({
|
|
3178
3174
|
_k: E
|
|
3179
|
-
}), an && (R(Oe) || We ?
|
|
3180
|
-
v.current = !0,
|
|
3175
|
+
}), an && (R(Oe) || We ? L() : Yi(L)), () => {
|
|
3176
|
+
v.current = !0, P();
|
|
3181
3177
|
};
|
|
3182
3178
|
}, [
|
|
3183
3179
|
g
|
|
3184
3180
|
]), xt(() => {
|
|
3185
|
-
let
|
|
3181
|
+
let L;
|
|
3186
3182
|
function A() {
|
|
3187
|
-
const
|
|
3188
|
-
|
|
3183
|
+
const P = Q(d) ? d(O().data) : d;
|
|
3184
|
+
P && L !== -1 && (L = setTimeout($, P));
|
|
3189
3185
|
}
|
|
3190
3186
|
function $() {
|
|
3191
3187
|
!O().error && (f || x().isVisible()) && (i || x().isOnline()) ? Ae(kt).then(A) : A();
|
|
3192
3188
|
}
|
|
3193
3189
|
return A(), () => {
|
|
3194
|
-
|
|
3190
|
+
L && (clearTimeout(L), L = -1);
|
|
3195
3191
|
};
|
|
3196
3192
|
}, [
|
|
3197
3193
|
d,
|
|
@@ -3202,9 +3198,9 @@ const Qn = ut.use || ((e) => {
|
|
|
3202
3198
|
if (!Zn && We)
|
|
3203
3199
|
throw new Error("Fallback data is required when using suspense in SSR.");
|
|
3204
3200
|
m.current = t, k.current = n, v.current = !1;
|
|
3205
|
-
const
|
|
3206
|
-
if (!R(
|
|
3207
|
-
const A = ln(
|
|
3201
|
+
const L = C[g];
|
|
3202
|
+
if (!R(L)) {
|
|
3203
|
+
const A = ln(L);
|
|
3208
3204
|
Qn(A);
|
|
3209
3205
|
}
|
|
3210
3206
|
if (R(Ge)) {
|
|
@@ -3300,7 +3296,7 @@ const Qn = ut.use || ((e) => {
|
|
|
3300
3296
|
!t && y && !e && o.length > 0 ? /* @__PURE__ */ u(
|
|
3301
3297
|
"ul",
|
|
3302
3298
|
{
|
|
3303
|
-
className:
|
|
3299
|
+
className: Lr({
|
|
3304
3300
|
type: "long",
|
|
3305
3301
|
ring: "unset",
|
|
3306
3302
|
className: "ring-width-section ring-job-card-stroke absolute left-0 right-0 top-12 z-50 w-full shadow-sm"
|
|
@@ -3444,7 +3440,7 @@ const Qn = ut.use || ((e) => {
|
|
|
3444
3440
|
radius: r,
|
|
3445
3441
|
onError: o
|
|
3446
3442
|
}) => {
|
|
3447
|
-
const { t: a } = xe(), [s, l] = j(""), [c, d] = j(), f =
|
|
3443
|
+
const { t: a } = xe(), [s, l] = j(""), [c, d] = j(), f = Is(s, 500), [i, p] = j(new AbortController()), y = ys(f, Ts, {
|
|
3448
3444
|
keepPreviousData: !1,
|
|
3449
3445
|
revalidateIfStale: !1,
|
|
3450
3446
|
revalidateOnFocus: !1
|
|
@@ -3501,7 +3497,7 @@ const Qn = ut.use || ((e) => {
|
|
|
3501
3497
|
}))) ?? []
|
|
3502
3498
|
}
|
|
3503
3499
|
),
|
|
3504
|
-
/* @__PURE__ */ u("div", { class: "absolute bottom-0 right-0 top-0
|
|
3500
|
+
/* @__PURE__ */ u("div", { class: "absolute bottom-0 right-0 top-0 flex items-center", children: !s && !n ? /* @__PURE__ */ u(
|
|
3505
3501
|
bs,
|
|
3506
3502
|
{
|
|
3507
3503
|
onLocate: (v) => {
|
|
@@ -3550,7 +3546,7 @@ const Qn = ut.use || ((e) => {
|
|
|
3550
3546
|
type: e.type,
|
|
3551
3547
|
coords: e.lat && e.lng ? { lat: e.lat, lng: e.lng } : void 0
|
|
3552
3548
|
})
|
|
3553
|
-
),
|
|
3549
|
+
), Xs = ({
|
|
3554
3550
|
value: e,
|
|
3555
3551
|
onValueChange: t,
|
|
3556
3552
|
logger: n
|
|
@@ -3630,7 +3626,7 @@ const Qn = ut.use || ((e) => {
|
|
|
3630
3626
|
}
|
|
3631
3627
|
) : null
|
|
3632
3628
|
] });
|
|
3633
|
-
},
|
|
3629
|
+
}, el = (e, t) => {
|
|
3634
3630
|
const n = structuredClone(e);
|
|
3635
3631
|
return n.forEach((r) => {
|
|
3636
3632
|
if (t.has(r.key)) {
|
|
@@ -3640,14 +3636,14 @@ const Qn = ut.use || ((e) => {
|
|
|
3640
3636
|
r.defaultValue = o.includes(",") ? o.split(",") : o;
|
|
3641
3637
|
}
|
|
3642
3638
|
}), n;
|
|
3643
|
-
},
|
|
3639
|
+
}, tl = (e) => {
|
|
3644
3640
|
const t = e.get("lat"), n = e.get("lng"), r = e.get("radius");
|
|
3645
3641
|
return {
|
|
3646
3642
|
type: "provided",
|
|
3647
3643
|
coords: t && n ? { lat: Number(t), lng: Number(n) } : void 0,
|
|
3648
3644
|
radius: r ? Number(r) : Ut(_o)
|
|
3649
3645
|
};
|
|
3650
|
-
},
|
|
3646
|
+
}, Is = (e, t = 1e3) => {
|
|
3651
3647
|
const [n, r] = j(e), o = be(() => Za((a) => r(a), t), [t]);
|
|
3652
3648
|
return ee(() => {
|
|
3653
3649
|
o(e);
|
|
@@ -3658,7 +3654,7 @@ const Qn = ut.use || ((e) => {
|
|
|
3658
3654
|
HOURLY: "per hour",
|
|
3659
3655
|
MONTHLY: "per month",
|
|
3660
3656
|
WEEKLY: "per week"
|
|
3661
|
-
},
|
|
3657
|
+
}, Ls = (e) => {
|
|
3662
3658
|
const { salary: t, config: n } = e, r = new Intl.NumberFormat(n.locales, {
|
|
3663
3659
|
style: "currency",
|
|
3664
3660
|
currency: t.pay_currency,
|
|
@@ -3679,9 +3675,9 @@ const Qn = ut.use || ((e) => {
|
|
|
3679
3675
|
months: Math.round(a / 1e3 / 60 / 60 / 24 / 30)
|
|
3680
3676
|
};
|
|
3681
3677
|
return s.days === 0 ? r("today") : Math.abs(s.days) < 30 ? n.format(s.days, "days") : Math.abs(s.days) < 3 ? n.format(s.months, "months") : s.months < 0 ? r("over_30_days_ago") : r("in_over_30_days");
|
|
3682
|
-
},
|
|
3678
|
+
}, Ps = br(
|
|
3683
3679
|
Wt(se({ label: gn(N(), String), value: gn(N(), String), jobs: de() }))
|
|
3684
|
-
),
|
|
3680
|
+
), Ms = N([qo()]), js = se({
|
|
3685
3681
|
total: de(),
|
|
3686
3682
|
current_page: de(),
|
|
3687
3683
|
per_page: de(),
|
|
@@ -3721,7 +3717,7 @@ const Qn = ut.use || ((e) => {
|
|
|
3721
3717
|
country: z(N()),
|
|
3722
3718
|
vector_distance: fe(z(N()))
|
|
3723
3719
|
}), $s = (e) => _e(Vs, (t) => {
|
|
3724
|
-
const n = zt(
|
|
3720
|
+
const n = zt(Ms, t.company_logo);
|
|
3725
3721
|
return {
|
|
3726
3722
|
id: t.id,
|
|
3727
3723
|
createdAt: t.created_at,
|
|
@@ -3731,7 +3727,7 @@ const Qn = ut.use || ((e) => {
|
|
|
3731
3727
|
},
|
|
3732
3728
|
employmentType: t.employment_type,
|
|
3733
3729
|
locationType: t.location_type,
|
|
3734
|
-
pay:
|
|
3730
|
+
pay: Ls({ salary: t, config: { locales: void 0 }, t: e }) ?? null,
|
|
3735
3731
|
description: t.description,
|
|
3736
3732
|
title: t.title,
|
|
3737
3733
|
contractType: t.contract_type,
|
|
@@ -3763,7 +3759,7 @@ const Qn = ut.use || ((e) => {
|
|
|
3763
3759
|
lng: e.geo.coords.lng,
|
|
3764
3760
|
radius: e.geo.radius
|
|
3765
3761
|
}), t;
|
|
3766
|
-
},
|
|
3762
|
+
}, nl = async ({
|
|
3767
3763
|
apiClient: e,
|
|
3768
3764
|
state: t,
|
|
3769
3765
|
logger: n,
|
|
@@ -3778,11 +3774,11 @@ const Qn = ut.use || ((e) => {
|
|
|
3778
3774
|
), a = "/search/filters", s = await e.fetch([a, o.toString()].filter(Boolean).join("?"), {
|
|
3779
3775
|
signal: r
|
|
3780
3776
|
});
|
|
3781
|
-
return Er(
|
|
3777
|
+
return Er(Ps, s);
|
|
3782
3778
|
} catch (o) {
|
|
3783
3779
|
throw o instanceof st ? n.error(o.message, o.issues) : n.error(o), o;
|
|
3784
3780
|
}
|
|
3785
|
-
},
|
|
3781
|
+
}, rl = async ({
|
|
3786
3782
|
apiClient: e,
|
|
3787
3783
|
logger: t,
|
|
3788
3784
|
signal: n,
|
|
@@ -3816,7 +3812,7 @@ const Qn = ut.use || ((e) => {
|
|
|
3816
3812
|
if (!e.data && !e.isLoading)
|
|
3817
3813
|
return { queryState: "idle", swr: e };
|
|
3818
3814
|
throw console.error("Unhandled data state", e), new Error("Unhandled data state");
|
|
3819
|
-
},
|
|
3815
|
+
}, ol = {
|
|
3820
3816
|
keepPreviousData: !0,
|
|
3821
3817
|
revalidateOnFocus: !1,
|
|
3822
3818
|
revalidateOnReconnect: !1,
|
|
@@ -3824,31 +3820,30 @@ const Qn = ut.use || ((e) => {
|
|
|
3824
3820
|
revalidateFirstPage: !1
|
|
3825
3821
|
};
|
|
3826
3822
|
export {
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3823
|
+
Ks as A,
|
|
3824
|
+
Bs as B,
|
|
3825
|
+
_r as C,
|
|
3826
|
+
$e as D,
|
|
3827
|
+
Mn as E,
|
|
3832
3828
|
be as F,
|
|
3833
|
-
|
|
3834
|
-
|
|
3829
|
+
Xs as G,
|
|
3830
|
+
zs as H,
|
|
3835
3831
|
ye as I,
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3832
|
+
Ws as J,
|
|
3833
|
+
Js as K,
|
|
3834
|
+
el as L,
|
|
3839
3835
|
tl as M,
|
|
3840
|
-
|
|
3841
|
-
|
|
3836
|
+
Ls as N,
|
|
3837
|
+
Ds as O,
|
|
3842
3838
|
Go as P,
|
|
3843
|
-
|
|
3844
|
-
al as S,
|
|
3839
|
+
ol as S,
|
|
3845
3840
|
je as T,
|
|
3846
|
-
|
|
3841
|
+
Zs as U,
|
|
3847
3842
|
q as _,
|
|
3848
3843
|
ys as a,
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3844
|
+
nl as b,
|
|
3845
|
+
Ys as c,
|
|
3846
|
+
Qs as d,
|
|
3852
3847
|
Qe as e,
|
|
3853
3848
|
oi as f,
|
|
3854
3849
|
ho as g,
|
|
@@ -3868,7 +3863,7 @@ export {
|
|
|
3868
3863
|
xe as u,
|
|
3869
3864
|
Ko as v,
|
|
3870
3865
|
te as w,
|
|
3871
|
-
|
|
3866
|
+
rl as x,
|
|
3872
3867
|
X as y,
|
|
3873
3868
|
wo as z
|
|
3874
3869
|
};
|