@inploi/plugin-job-search 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/index.js +19 -19
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/job-search.api.d.ts +18 -33
- package/dist/job-search.d.ts +2 -4
- package/dist/job-search.schemas.d.ts +17 -7
- package/dist/{map-2e884bf4.cjs → map-1b3b5ece.cjs} +1 -1
- package/dist/{map-3be6fe38.js → map-5d58fed1.js} +1 -1
- package/dist/{utils-7e6788ec.cjs → utils-063c2cb5.cjs} +6 -6
- package/dist/{utils-a3a16f64.js → utils-67863dbf.js} +403 -378
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +1 -1
- package/package.json +2 -2
- package/dist/lib/rpc.d.ts +0 -12
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var Uo = (e, t, n) => (
|
|
4
|
-
import { endpoint as oo, typed as io, SdkError as
|
|
1
|
+
var mc = Object.defineProperty;
|
|
2
|
+
var _c = (e, t, n) => t in e ? mc(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
+
var Uo = (e, t, n) => (_c(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
|
+
import { endpoint as oo, typed as io, SdkError as yc } from "@inploi/sdk";
|
|
5
5
|
var yt = (e) => {
|
|
6
6
|
throw new Error(`Unhandled discriminated union member: ${JSON.stringify(e)}`);
|
|
7
7
|
};
|
|
8
|
-
function
|
|
8
|
+
function bc(e, t) {
|
|
9
9
|
if (!e)
|
|
10
10
|
throw new Error(t);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function wc(e, t) {
|
|
13
13
|
return e in t;
|
|
14
14
|
}
|
|
15
15
|
var Wo = {
|
|
@@ -18,7 +18,7 @@ var Wo = {
|
|
|
18
18
|
HOURLY: "per hour",
|
|
19
19
|
MONTHLY: "per month",
|
|
20
20
|
WEEKLY: "per week"
|
|
21
|
-
},
|
|
21
|
+
}, xc = (e) => {
|
|
22
22
|
const { salary: t, config: n, t: r = (a) => a } = e, o = new Intl.NumberFormat(n.locales, {
|
|
23
23
|
style: "currency",
|
|
24
24
|
currency: t.pay_currency,
|
|
@@ -32,10 +32,10 @@ var Wo = {
|
|
|
32
32
|
return r("invalid_salary");
|
|
33
33
|
const i = t.pay_type && t.pay_type in Wo ? Wo[t.pay_type] : void 0;
|
|
34
34
|
return t.pay ? [o.format(+t.pay), i].filter(Boolean).join(" ") : t.pay_max && t.pay_min ? [o.formatRange(+t.pay_min, +t.pay_max), i].filter(Boolean).join(" ") || "" : t.pay_max ? `${r("up_to")} ${[o.format(+t.pay_max), i].filter(Boolean).join(" ")}` : t.pay_min ? `${r("from")} ${[o.format(+t.pay_min), i].filter(Boolean).join(" ")}` : r("invalid_salary");
|
|
35
|
-
},
|
|
35
|
+
}, $c = new Intl.RelativeTimeFormat(void 0, { numeric: "auto" }), Ec = ({
|
|
36
36
|
from: e = /* @__PURE__ */ new Date(),
|
|
37
37
|
to: t,
|
|
38
|
-
formatter: n =
|
|
38
|
+
formatter: n = $c,
|
|
39
39
|
t: r = (o) => o
|
|
40
40
|
}) => {
|
|
41
41
|
const i = (t instanceof Date ? t : new Date(t)).getTime() - e.getTime(), a = {
|
|
@@ -43,7 +43,7 @@ var Wo = {
|
|
|
43
43
|
months: Math.round(i / 1e3 / 60 / 60 / 24 / 30)
|
|
44
44
|
};
|
|
45
45
|
return a.days === 0 ? r("today") : Math.abs(a.days) < 30 ? n.format(a.days, "days") : Math.abs(a.days) < 3 ? n.format(a.months, "months") : a.months < 0 ? r("over_30_days_ago") : r("in_over_30_days");
|
|
46
|
-
}, Jt, N, fa, st, zo, pa, ha, ga, ao, Dr, Nr, va, Wt = {}, ma = [],
|
|
46
|
+
}, Jt, N, fa, st, zo, pa, ha, ga, ao, Dr, Nr, va, Wt = {}, ma = [], Cc = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Un = Array.isArray;
|
|
47
47
|
function Le(e, t) {
|
|
48
48
|
for (var n in t)
|
|
49
49
|
e[n] = t[n];
|
|
@@ -71,7 +71,7 @@ function _a() {
|
|
|
71
71
|
function I(e) {
|
|
72
72
|
return e.children;
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function ge(e, t) {
|
|
75
75
|
this.props = e, this.context = t;
|
|
76
76
|
}
|
|
77
77
|
function Et(e, t) {
|
|
@@ -103,14 +103,14 @@ function kn() {
|
|
|
103
103
|
}
|
|
104
104
|
function ba(e, t, n, r, o, i, a, s, c, d, p) {
|
|
105
105
|
var l, h, f, m, v, _, g = r && r.__k || ma, b = t.length;
|
|
106
|
-
for (c =
|
|
106
|
+
for (c = Sc(n, t, g, c, b), l = 0; l < b; l++)
|
|
107
107
|
(f = n.__k[l]) != null && (h = f.__i === -1 ? Wt : g[f.__i] || Wt, f.__i = l, _ = co(e, f, h, o, i, a, s, c, d, p), m = f.__e, f.ref && h.ref != f.ref && (h.ref && lo(h.ref, null, f), p.push(f.ref, f.__c || m, f)), v == null && m != null && (v = m), 4 & f.__u || h.__k === f.__k ? c = wa(f, c, e) : typeof f.type == "function" && _ !== void 0 ? c = _ : m && (c = m.nextSibling), f.__u &= -7);
|
|
108
108
|
return n.__e = v, c;
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function Sc(e, t, n, r, o) {
|
|
111
111
|
var i, a, s, c, d, p = n.length, l = p, h = 0;
|
|
112
112
|
for (e.__k = new Array(o), i = 0; i < o; i++)
|
|
113
|
-
(a = t[i]) != null && typeof a != "boolean" && typeof a != "function" ? (c = i + h, (a = e.__k[i] = typeof a == "string" || typeof a == "number" || typeof a == "bigint" || a.constructor == String ? Ht(null, a, null, null, null) : Un(a) ? Ht(I, { children: a }, null, null, null) : a.constructor === void 0 && a.__b > 0 ? Ht(a.type, a.props, a.key, a.ref ? a.ref : null, a.__v) : a).__ = e, a.__b = e.__b + 1, s = null, (d = a.__i =
|
|
113
|
+
(a = t[i]) != null && typeof a != "boolean" && typeof a != "function" ? (c = i + h, (a = e.__k[i] = typeof a == "string" || typeof a == "number" || typeof a == "bigint" || a.constructor == String ? Ht(null, a, null, null, null) : Un(a) ? Ht(I, { children: a }, null, null, null) : a.constructor === void 0 && a.__b > 0 ? Ht(a.type, a.props, a.key, a.ref ? a.ref : null, a.__v) : a).__ = e, a.__b = e.__b + 1, s = null, (d = a.__i = Oc(a, n, c, l)) !== -1 && (l--, (s = n[d]) && (s.__u |= 2)), s == null || s.__v === null ? (d == -1 && (o > p ? h-- : o < p && h++), typeof a.type != "function" && (a.__u |= 4)) : d != c && (d == c - 1 ? h-- : d == c + 1 ? h++ : (d > c ? h-- : h++, a.__u |= 4))) : e.__k[i] = null;
|
|
114
114
|
if (l)
|
|
115
115
|
for (i = 0; i < p; i++)
|
|
116
116
|
(s = n[i]) != null && !(2 & s.__u) && (s.__e == r && (r = Et(s)), $a(s, s));
|
|
@@ -134,7 +134,7 @@ function Ie(e, t) {
|
|
|
134
134
|
Ie(n, t);
|
|
135
135
|
}) : t.push(e)), t;
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function Oc(e, t, n, r) {
|
|
138
138
|
var o, i, a = e.key, s = e.type, c = t[n];
|
|
139
139
|
if (c === null && e.key == null || c && a == c.key && s === c.type && !(2 & c.__u))
|
|
140
140
|
return n;
|
|
@@ -154,7 +154,7 @@ function Ec(e, t, n, r) {
|
|
|
154
154
|
return -1;
|
|
155
155
|
}
|
|
156
156
|
function Bo(e, t, n) {
|
|
157
|
-
t[0] == "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" ||
|
|
157
|
+
t[0] == "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || Cc.test(t) ? n : n + "px";
|
|
158
158
|
}
|
|
159
159
|
function ln(e, t, n, r, o) {
|
|
160
160
|
var i;
|
|
@@ -204,7 +204,7 @@ function co(e, t, n, r, o, i, a, s, c, d) {
|
|
|
204
204
|
e:
|
|
205
205
|
if (typeof D == "function")
|
|
206
206
|
try {
|
|
207
|
-
if (g = t.props, b = "prototype" in D && D.prototype.render, w = (p = D.contextType) && r[p.__c], y = p ? w ? w.props.value : p.__ : r, n.__c ? _ = (l = t.__c = n.__c).__ = l.__E : (b ? t.__c = l = new D(g, y) : (t.__c = l = new
|
|
207
|
+
if (g = t.props, b = "prototype" in D && D.prototype.render, w = (p = D.contextType) && r[p.__c], y = p ? w ? w.props.value : p.__ : r, n.__c ? _ = (l = t.__c = n.__c).__ = l.__E : (b ? t.__c = l = new D(g, y) : (t.__c = l = new ge(g, y), l.constructor = D, l.render = Ac), w && w.sub(l), l.props = g, l.state || (l.state = {}), l.context = y, l.__n = r, h = l.__d = !0, l.__h = [], l._sb = []), b && l.__s == null && (l.__s = l.state), b && D.getDerivedStateFromProps != null && (l.__s == l.state && (l.__s = Le({}, l.__s)), Le(l.__s, D.getDerivedStateFromProps(g, l.__s))), f = l.props, m = l.state, l.__v = t, h)
|
|
208
208
|
b && D.getDerivedStateFromProps == null && l.componentWillMount != null && l.componentWillMount(), b && l.componentDidMount != null && l.__h.push(l.componentDidMount);
|
|
209
209
|
else {
|
|
210
210
|
if (b && D.getDerivedStateFromProps == null && g !== f && l.componentWillReceiveProps != null && l.componentWillReceiveProps(g, y), !l.__e && (l.shouldComponentUpdate != null && l.shouldComponentUpdate(g, l.__s, y) === !1 || t.__v == n.__v)) {
|
|
@@ -242,7 +242,7 @@ function co(e, t, n, r, o, i, a, s, c, d) {
|
|
|
242
242
|
N.__e(V, t, n);
|
|
243
243
|
}
|
|
244
244
|
else
|
|
245
|
-
i == null && t.__v == n.__v ? (t.__k = n.__k, t.__e = n.__e) : s = t.__e =
|
|
245
|
+
i == null && t.__v == n.__v ? (t.__k = n.__k, t.__e = n.__e) : s = t.__e = Tc(n.__e, t, n, r, o, i, a, c, d);
|
|
246
246
|
return (p = N.diffed) && p(t), 128 & t.__u ? void 0 : s;
|
|
247
247
|
}
|
|
248
248
|
function xa(e, t, n) {
|
|
@@ -258,7 +258,7 @@ function xa(e, t, n) {
|
|
|
258
258
|
}
|
|
259
259
|
});
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function Tc(e, t, n, r, o, i, a, s, c) {
|
|
262
262
|
var d, p, l, h, f, m, v, _ = n.props, g = t.props, b = t.type;
|
|
263
263
|
if (b == "svg" ? o = "http://www.w3.org/2000/svg" : b == "math" ? o = "http://www.w3.org/1998/Math/MathML" : o || (o = "http://www.w3.org/1999/xhtml"), i != null) {
|
|
264
264
|
for (d = 0; d < i.length; d++)
|
|
@@ -326,7 +326,7 @@ function $a(e, t, n) {
|
|
|
326
326
|
r[o] && $a(r[o], t, n || typeof e.type != "function");
|
|
327
327
|
n || so(e.__e), e.__c = e.__ = e.__e = void 0;
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function Ac(e, t, n) {
|
|
330
330
|
return this.constructor(e, n);
|
|
331
331
|
}
|
|
332
332
|
function zt(e, t, n) {
|
|
@@ -336,7 +336,7 @@ function zt(e, t, n) {
|
|
|
336
336
|
function Ea(e, t) {
|
|
337
337
|
zt(e, t, Ea);
|
|
338
338
|
}
|
|
339
|
-
function
|
|
339
|
+
function kc(e, t, n) {
|
|
340
340
|
var r, o, i, a, s = Le({}, e.props);
|
|
341
341
|
for (i in e.type && e.type.defaultProps && (a = e.type.defaultProps), t)
|
|
342
342
|
i == "key" ? r = t[i] : i == "ref" ? o = t[i] : s[i] = t[i] === void 0 && a !== void 0 ? a[i] : t[i];
|
|
@@ -375,12 +375,12 @@ Jt = ma.slice, N = { __e: function(e, t, n, r) {
|
|
|
375
375
|
e = s;
|
|
376
376
|
}
|
|
377
377
|
throw e;
|
|
378
|
-
} }, fa = 0,
|
|
378
|
+
} }, fa = 0, ge.prototype.setState = function(e, t) {
|
|
379
379
|
var n;
|
|
380
380
|
n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = Le({}, this.state), typeof e == "function" && (e = e(Le({}, n), this.props)), e && Le(n, e), e != null && this.__v && (t && this._sb.push(t), Mr(this));
|
|
381
|
-
},
|
|
381
|
+
}, ge.prototype.forceUpdate = function(e) {
|
|
382
382
|
this.__v && (this.__e = !0, e && this.__h.push(e), Mr(this));
|
|
383
|
-
},
|
|
383
|
+
}, ge.prototype.render = I, st = [], pa = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, ha = function(e, t) {
|
|
384
384
|
return e.__v.__b - t.__v.__b;
|
|
385
385
|
}, kn.__r = 0, ga = /(PointerCapture)$|Capture$/i, ao = 0, Dr = qo(!1), Nr = qo(!0), va = 0;
|
|
386
386
|
var Ne;
|
|
@@ -395,17 +395,17 @@ function Ca(e) {
|
|
|
395
395
|
}
|
|
396
396
|
var ar;
|
|
397
397
|
// @__NO_SIDE_EFFECTS__
|
|
398
|
-
function
|
|
398
|
+
function Pc(e) {
|
|
399
399
|
return ar == null ? void 0 : ar.get(e);
|
|
400
400
|
}
|
|
401
401
|
var sr;
|
|
402
402
|
// @__NO_SIDE_EFFECTS__
|
|
403
|
-
function
|
|
403
|
+
function Rc(e) {
|
|
404
404
|
return sr == null ? void 0 : sr.get(e);
|
|
405
405
|
}
|
|
406
406
|
var cr;
|
|
407
407
|
// @__NO_SIDE_EFFECTS__
|
|
408
|
-
function
|
|
408
|
+
function Dc(e, t) {
|
|
409
409
|
var n;
|
|
410
410
|
return (n = cr == null ? void 0 : cr.get(e)) == null ? void 0 : n.get(t);
|
|
411
411
|
}
|
|
@@ -415,7 +415,7 @@ function uo(e) {
|
|
|
415
415
|
const t = typeof e;
|
|
416
416
|
return t === "string" ? `"${e}"` : t === "number" || t === "bigint" || t === "boolean" ? `${e}` : t === "object" || t === "function" ? (e && ((r = (n = Object.getPrototypeOf(e)) == null ? void 0 : n.constructor) == null ? void 0 : r.name)) ?? "null" : t;
|
|
417
417
|
}
|
|
418
|
-
function
|
|
418
|
+
function ve(e, t, n, r, o) {
|
|
419
419
|
const i = o && "input" in o ? o.input : n.value, a = (o == null ? void 0 : o.expected) ?? e.expects ?? null, s = (o == null ? void 0 : o.received) ?? /* @__PURE__ */ uo(i), c = {
|
|
420
420
|
kind: e.kind,
|
|
421
421
|
type: e.type,
|
|
@@ -429,7 +429,7 @@ function he(e, t, n, r, o) {
|
|
|
429
429
|
lang: r.lang,
|
|
430
430
|
abortEarly: r.abortEarly,
|
|
431
431
|
abortPipeEarly: r.abortPipeEarly
|
|
432
|
-
}, d = e.kind === "schema", p = (o == null ? void 0 : o.message) ?? e.message ?? /* @__PURE__ */
|
|
432
|
+
}, d = e.kind === "schema", p = (o == null ? void 0 : o.message) ?? e.message ?? /* @__PURE__ */ Dc(e.reference, c.lang) ?? (d ? /* @__PURE__ */ Rc(c.lang) : null) ?? r.message ?? /* @__PURE__ */ Pc(c.lang);
|
|
433
433
|
p !== void 0 && (c.message = typeof p == "function" ? (
|
|
434
434
|
// @ts-expect-error
|
|
435
435
|
p(c)
|
|
@@ -446,7 +446,7 @@ function se(e) {
|
|
|
446
446
|
};
|
|
447
447
|
}
|
|
448
448
|
// @__NO_SIDE_EFFECTS__
|
|
449
|
-
function
|
|
449
|
+
function Nc(e, t) {
|
|
450
450
|
return Object.hasOwn(e, t) && t !== "__proto__" && t !== "prototype" && t !== "constructor";
|
|
451
451
|
}
|
|
452
452
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -455,11 +455,11 @@ function Sa(e, t) {
|
|
|
455
455
|
return n.length > 1 ? `(${n.join(` ${t} `)})` : n[0] ?? "never";
|
|
456
456
|
}
|
|
457
457
|
// @__NO_SIDE_EFFECTS__
|
|
458
|
-
function
|
|
458
|
+
function pe(e) {
|
|
459
459
|
return {
|
|
460
460
|
kind: "transformation",
|
|
461
461
|
type: "transform",
|
|
462
|
-
reference:
|
|
462
|
+
reference: pe,
|
|
463
463
|
async: !1,
|
|
464
464
|
operation: e,
|
|
465
465
|
"~run"(t) {
|
|
@@ -484,12 +484,12 @@ function Oa(e) {
|
|
|
484
484
|
},
|
|
485
485
|
message: e,
|
|
486
486
|
"~run"(t, n) {
|
|
487
|
-
return t.typed && !this.requirement(t.value) &&
|
|
487
|
+
return t.typed && !this.requirement(t.value) && ve(this, "URL", t, n), t;
|
|
488
488
|
}
|
|
489
489
|
};
|
|
490
490
|
}
|
|
491
491
|
// @__NO_SIDE_EFFECTS__
|
|
492
|
-
function
|
|
492
|
+
function Mc(e, t, n) {
|
|
493
493
|
return typeof e.fallback == "function" ? (
|
|
494
494
|
// @ts-expect-error
|
|
495
495
|
e.fallback(t, n)
|
|
@@ -562,7 +562,7 @@ function Qt(e, t) {
|
|
|
562
562
|
c.typed || (n.typed = !1), n.value.push(c.value);
|
|
563
563
|
}
|
|
564
564
|
} else
|
|
565
|
-
|
|
565
|
+
ve(this, "type", n, r);
|
|
566
566
|
return n;
|
|
567
567
|
}
|
|
568
568
|
};
|
|
@@ -580,7 +580,7 @@ function Pn(e) {
|
|
|
580
580
|
return /* @__PURE__ */ se(this);
|
|
581
581
|
},
|
|
582
582
|
"~run"(t, n) {
|
|
583
|
-
return typeof t.value == "boolean" ? t.typed = !0 :
|
|
583
|
+
return typeof t.value == "boolean" ? t.typed = !0 : ve(this, "type", t, n), t;
|
|
584
584
|
}
|
|
585
585
|
};
|
|
586
586
|
}
|
|
@@ -598,7 +598,7 @@ function ct(e, t) {
|
|
|
598
598
|
return /* @__PURE__ */ se(this);
|
|
599
599
|
},
|
|
600
600
|
"~run"(n, r) {
|
|
601
|
-
return n.value === this.literal ? n.typed = !0 :
|
|
601
|
+
return n.value === this.literal ? n.typed = !0 : ve(this, "type", n, r), n;
|
|
602
602
|
}
|
|
603
603
|
};
|
|
604
604
|
}
|
|
@@ -621,11 +621,11 @@ function ae(e, t) {
|
|
|
621
621
|
};
|
|
622
622
|
}
|
|
623
623
|
// @__NO_SIDE_EFFECTS__
|
|
624
|
-
function
|
|
624
|
+
function we(e) {
|
|
625
625
|
return {
|
|
626
626
|
kind: "schema",
|
|
627
627
|
type: "number",
|
|
628
|
-
reference:
|
|
628
|
+
reference: we,
|
|
629
629
|
expects: "number",
|
|
630
630
|
async: !1,
|
|
631
631
|
message: e,
|
|
@@ -633,7 +633,7 @@ function be(e) {
|
|
|
633
633
|
return /* @__PURE__ */ se(this);
|
|
634
634
|
},
|
|
635
635
|
"~run"(t, n) {
|
|
636
|
-
return typeof t.value == "number" && !isNaN(t.value) ? t.typed = !0 :
|
|
636
|
+
return typeof t.value == "number" && !isNaN(t.value) ? t.typed = !0 : ve(this, "type", t, n), t;
|
|
637
637
|
}
|
|
638
638
|
};
|
|
639
639
|
}
|
|
@@ -680,8 +680,8 @@ function ue(e, t) {
|
|
|
680
680
|
}
|
|
681
681
|
d.typed || (n.typed = !1), n.value[a] = d.value;
|
|
682
682
|
} else if (s.fallback !== void 0)
|
|
683
|
-
n.value[a] = /* @__PURE__ */
|
|
684
|
-
else if (s.type !== "exact_optional" && s.type !== "optional" && s.type !== "nullish" && (
|
|
683
|
+
n.value[a] = /* @__PURE__ */ Mc(s);
|
|
684
|
+
else if (s.type !== "exact_optional" && s.type !== "optional" && s.type !== "nullish" && (ve(this, "key", n, r, {
|
|
685
685
|
input: void 0,
|
|
686
686
|
expected: `"${a}"`,
|
|
687
687
|
path: [
|
|
@@ -698,7 +698,7 @@ function ue(e, t) {
|
|
|
698
698
|
break;
|
|
699
699
|
}
|
|
700
700
|
} else
|
|
701
|
-
|
|
701
|
+
ve(this, "type", n, r);
|
|
702
702
|
return n;
|
|
703
703
|
}
|
|
704
704
|
};
|
|
@@ -735,7 +735,7 @@ function Ta(e, t) {
|
|
|
735
735
|
return /* @__PURE__ */ se(this);
|
|
736
736
|
},
|
|
737
737
|
"~run"(n, r) {
|
|
738
|
-
return this.options.includes(n.value) ? n.typed = !0 :
|
|
738
|
+
return this.options.includes(n.value) ? n.typed = !0 : ve(this, "type", n, r), n;
|
|
739
739
|
}
|
|
740
740
|
};
|
|
741
741
|
}
|
|
@@ -759,7 +759,7 @@ function po(e, t, n) {
|
|
|
759
759
|
if (i && typeof i == "object") {
|
|
760
760
|
r.typed = !0, r.value = {};
|
|
761
761
|
for (const c in i)
|
|
762
|
-
if (/* @__PURE__ */
|
|
762
|
+
if (/* @__PURE__ */ Nc(i, c)) {
|
|
763
763
|
const d = i[c], p = this.key["~run"]({ value: c }, o);
|
|
764
764
|
if (p.issues) {
|
|
765
765
|
const h = {
|
|
@@ -798,7 +798,7 @@ function po(e, t, n) {
|
|
|
798
798
|
(!p.typed || !l.typed) && (r.typed = !1), p.typed && (r.value[p.value] = l.value);
|
|
799
799
|
}
|
|
800
800
|
} else
|
|
801
|
-
|
|
801
|
+
ve(this, "type", r, o);
|
|
802
802
|
return r;
|
|
803
803
|
}
|
|
804
804
|
};
|
|
@@ -816,7 +816,7 @@ function G(e) {
|
|
|
816
816
|
return /* @__PURE__ */ se(this);
|
|
817
817
|
},
|
|
818
818
|
"~run"(t, n) {
|
|
819
|
-
return typeof t.value == "string" ? t.typed = !0 :
|
|
819
|
+
return typeof t.value == "string" ? t.typed = !0 : ve(this, "type", t, n), t;
|
|
820
820
|
}
|
|
821
821
|
};
|
|
822
822
|
}
|
|
@@ -863,13 +863,13 @@ function Aa(e, t) {
|
|
|
863
863
|
if (i) {
|
|
864
864
|
if (i.length === 1)
|
|
865
865
|
return i[0];
|
|
866
|
-
|
|
866
|
+
ve(this, "type", n, r, {
|
|
867
867
|
issues: /* @__PURE__ */ Ko(i)
|
|
868
868
|
}), n.typed = !0;
|
|
869
869
|
} else {
|
|
870
870
|
if ((a == null ? void 0 : a.length) === 1)
|
|
871
871
|
return a[0];
|
|
872
|
-
|
|
872
|
+
ve(this, "type", n, r, {
|
|
873
873
|
issues: /* @__PURE__ */ Ko(a)
|
|
874
874
|
});
|
|
875
875
|
}
|
|
@@ -894,7 +894,7 @@ function ka() {
|
|
|
894
894
|
};
|
|
895
895
|
}
|
|
896
896
|
// @__NO_SIDE_EFFECTS__
|
|
897
|
-
function
|
|
897
|
+
function he(...e) {
|
|
898
898
|
return {
|
|
899
899
|
...e[0],
|
|
900
900
|
pipe: e,
|
|
@@ -924,7 +924,7 @@ function ho(e, t, n) {
|
|
|
924
924
|
issues: r.issues
|
|
925
925
|
};
|
|
926
926
|
}
|
|
927
|
-
const Km = "inploi-job-search",
|
|
927
|
+
const Km = "inploi-job-search", Lc = [
|
|
928
928
|
"FULL_TIME",
|
|
929
929
|
"PART_TIME",
|
|
930
930
|
"CONTRACT",
|
|
@@ -932,21 +932,37 @@ const Km = "inploi-job-search", Dc = [
|
|
|
932
932
|
"INTERN",
|
|
933
933
|
"VOLUNTEER",
|
|
934
934
|
"OTHER"
|
|
935
|
-
],
|
|
936
|
-
/* @__PURE__ */ G(),
|
|
937
|
-
/* @__PURE__ */
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
935
|
+
], Pa = ["LOCATION", "REMOTE", "HYBRID"], lt = 10, Go = /* @__PURE__ */ he(/* @__PURE__ */ ka(), /* @__PURE__ */ pe(String), /* @__PURE__ */ G()), Ic = (e) => /* @__PURE__ */ he(
|
|
936
|
+
/* @__PURE__ */ po(/* @__PURE__ */ G(), /* @__PURE__ */ Qt(/* @__PURE__ */ ue({ label: Go, value: Go, jobs: /* @__PURE__ */ we() }))),
|
|
937
|
+
/* @__PURE__ */ pe((t) => {
|
|
938
|
+
for (const n in t) {
|
|
939
|
+
const r = t[n];
|
|
940
|
+
if (r)
|
|
941
|
+
switch (n) {
|
|
942
|
+
case "employment_type":
|
|
943
|
+
for (const o of r)
|
|
944
|
+
Ra(o.value) && (o.label = e(`employment_type.${o.value}`));
|
|
945
|
+
break;
|
|
946
|
+
case "location_type":
|
|
947
|
+
for (const o of r)
|
|
948
|
+
Da(o.value) && (o.label = e(`location_type.${o.value}`));
|
|
949
|
+
break;
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
return t;
|
|
953
|
+
})
|
|
954
|
+
), jc = /* @__PURE__ */ he(/* @__PURE__ */ G(), /* @__PURE__ */ Oa()), Fc = /* @__PURE__ */ ue({
|
|
955
|
+
total: /* @__PURE__ */ we(),
|
|
956
|
+
current_page: /* @__PURE__ */ we(),
|
|
957
|
+
per_page: /* @__PURE__ */ we(),
|
|
958
|
+
last_page: /* @__PURE__ */ we()
|
|
959
|
+
}), un = /* @__PURE__ */ dt(/* @__PURE__ */ ae(/* @__PURE__ */ G()), null), Vc = /* @__PURE__ */ ue({
|
|
960
|
+
id: /* @__PURE__ */ we(),
|
|
945
961
|
company_name: /* @__PURE__ */ G(),
|
|
946
962
|
company_logo: un,
|
|
947
963
|
/** For backwards compat we are not strict about this field, as it used to return arbitrary strings like "Full time" anod not just enum members */
|
|
948
964
|
employment_type: /* @__PURE__ */ G(),
|
|
949
|
-
location_type: /* @__PURE__ */ Ta(
|
|
965
|
+
location_type: /* @__PURE__ */ Ta(Pa),
|
|
950
966
|
pay_type: /* @__PURE__ */ ae(
|
|
951
967
|
/* @__PURE__ */ Aa([/* @__PURE__ */ ct("ANNUALLY"), /* @__PURE__ */ ct("HOURLY"), /* @__PURE__ */ ct("MONTHLY"), /* @__PURE__ */ ct("WEEKLY"), /* @__PURE__ */ ct("DAILY")])
|
|
952
968
|
),
|
|
@@ -974,15 +990,18 @@ const Km = "inploi-job-search", Dc = [
|
|
|
974
990
|
city: /* @__PURE__ */ ae(/* @__PURE__ */ G()),
|
|
975
991
|
country: /* @__PURE__ */ ae(/* @__PURE__ */ G()),
|
|
976
992
|
vector_distance: un,
|
|
977
|
-
coordinates: /* @__PURE__ */ dt(/* @__PURE__ */ ae(/* @__PURE__ */ ue({ lat: /* @__PURE__ */
|
|
993
|
+
coordinates: /* @__PURE__ */ dt(/* @__PURE__ */ ae(/* @__PURE__ */ ue({ lat: /* @__PURE__ */ we(), lng: /* @__PURE__ */ we() })))
|
|
978
994
|
});
|
|
979
|
-
function
|
|
980
|
-
return
|
|
995
|
+
function Ra(e) {
|
|
996
|
+
return Lc.includes(e);
|
|
997
|
+
}
|
|
998
|
+
function Da(e) {
|
|
999
|
+
return Pa.includes(e);
|
|
981
1000
|
}
|
|
982
|
-
const
|
|
983
|
-
|
|
984
|
-
/* @__PURE__ */
|
|
985
|
-
const n = /* @__PURE__ */ ho(
|
|
1001
|
+
const Na = (e) => /* @__PURE__ */ he(
|
|
1002
|
+
Vc,
|
|
1003
|
+
/* @__PURE__ */ pe((t) => {
|
|
1004
|
+
const n = /* @__PURE__ */ ho(jc, t.company_logo);
|
|
986
1005
|
return {
|
|
987
1006
|
id: t.id,
|
|
988
1007
|
createdAt: t.created_at,
|
|
@@ -990,31 +1009,26 @@ const Pa = (e) => /* @__PURE__ */ we(
|
|
|
990
1009
|
name: t.company_name,
|
|
991
1010
|
logo: n.success ? n.output : null
|
|
992
1011
|
},
|
|
993
|
-
|
|
994
|
-
locationType: t.location_type,
|
|
995
|
-
pay: yc({ salary: t, config: { locales: void 0 }, t: e }) ?? null,
|
|
1012
|
+
pay: xc({ salary: t, config: { locales: void 0 }, t: e }) ?? null,
|
|
996
1013
|
title: t.title,
|
|
997
1014
|
contractType: t.contract_type,
|
|
998
1015
|
href: t.href,
|
|
999
|
-
relativePostedDate: t.created_at ?
|
|
1016
|
+
relativePostedDate: t.created_at ? Ec({ to: new Date(t.created_at), t: e }) : "INVALID DATE",
|
|
1000
1017
|
customData: t.custom_data,
|
|
1001
|
-
raw:
|
|
1018
|
+
raw: {
|
|
1019
|
+
...t,
|
|
1020
|
+
location_type: Da(t.location_type) ? e(`location_type.${t.location_type}`) : t.location_type,
|
|
1021
|
+
employment_type: Ra(t.employment_type) ? e(`employment_type.${t.employment_type}`) : t.employment_type
|
|
1022
|
+
},
|
|
1002
1023
|
match: t.vector_distance && parseFloat(t.vector_distance) < 0.15 ? e("great_match") : null
|
|
1003
1024
|
};
|
|
1004
1025
|
})
|
|
1005
|
-
),
|
|
1006
|
-
method: "GET",
|
|
1007
|
-
pathname: "/search/filters",
|
|
1008
|
-
schema: {
|
|
1009
|
-
response: Mc,
|
|
1010
|
-
searchParams: io()
|
|
1011
|
-
}
|
|
1012
|
-
}), Hc = (e) => /* @__PURE__ */ we(
|
|
1026
|
+
), Hc = (e) => /* @__PURE__ */ he(
|
|
1013
1027
|
/* @__PURE__ */ ue({
|
|
1014
|
-
data: /* @__PURE__ */ Qt(
|
|
1015
|
-
pagination:
|
|
1028
|
+
data: /* @__PURE__ */ Qt(Na(e)),
|
|
1029
|
+
pagination: Fc
|
|
1016
1030
|
}),
|
|
1017
|
-
/* @__PURE__ */
|
|
1031
|
+
/* @__PURE__ */ pe((t) => ({
|
|
1018
1032
|
pagination: t.pagination,
|
|
1019
1033
|
results: t.data
|
|
1020
1034
|
}))
|
|
@@ -1038,14 +1052,25 @@ const Pa = (e) => /* @__PURE__ */ we(
|
|
|
1038
1052
|
}, Yo = async ({
|
|
1039
1053
|
rpcClient: e,
|
|
1040
1054
|
state: t,
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1055
|
+
t: n,
|
|
1056
|
+
signal: r
|
|
1057
|
+
}) => {
|
|
1058
|
+
const o = oo({
|
|
1059
|
+
method: "GET",
|
|
1060
|
+
pathname: "/search/filters",
|
|
1061
|
+
schema: {
|
|
1062
|
+
response: Ic(n),
|
|
1063
|
+
searchParams: io()
|
|
1064
|
+
}
|
|
1065
|
+
});
|
|
1066
|
+
return await e.request(o, {
|
|
1067
|
+
searchParams: {
|
|
1068
|
+
filters: Wn(t),
|
|
1069
|
+
query: t.query
|
|
1070
|
+
},
|
|
1071
|
+
signal: r
|
|
1072
|
+
});
|
|
1073
|
+
}, Wc = async ({
|
|
1049
1074
|
rpcClient: e,
|
|
1050
1075
|
signal: t,
|
|
1051
1076
|
state: n,
|
|
@@ -1071,12 +1096,12 @@ const Pa = (e) => /* @__PURE__ */ we(
|
|
|
1071
1096
|
},
|
|
1072
1097
|
signal: t
|
|
1073
1098
|
});
|
|
1074
|
-
}, zc = (e) => /* @__PURE__ */
|
|
1099
|
+
}, zc = (e) => /* @__PURE__ */ he(
|
|
1075
1100
|
/* @__PURE__ */ ue({
|
|
1076
|
-
data: /* @__PURE__ */ Qt(
|
|
1101
|
+
data: /* @__PURE__ */ Qt(Na(e)),
|
|
1077
1102
|
pagination: /* @__PURE__ */ ue({ has_more: /* @__PURE__ */ Pn() })
|
|
1078
1103
|
}),
|
|
1079
|
-
/* @__PURE__ */
|
|
1104
|
+
/* @__PURE__ */ pe((t) => ({ results: t.data, pagination: t.pagination }))
|
|
1080
1105
|
), Bc = async ({
|
|
1081
1106
|
rpcClient: e,
|
|
1082
1107
|
signal: t,
|
|
@@ -1133,7 +1158,7 @@ function u(e, t, n, r, o, i) {
|
|
|
1133
1158
|
c[s] === void 0 && (c[s] = a[s]);
|
|
1134
1159
|
return N.vnode && N.vnode(d), d;
|
|
1135
1160
|
}
|
|
1136
|
-
function
|
|
1161
|
+
function Ma(e) {
|
|
1137
1162
|
var t, n, r = "";
|
|
1138
1163
|
if (typeof e == "string" || typeof e == "number")
|
|
1139
1164
|
r += e;
|
|
@@ -1141,7 +1166,7 @@ function Ra(e) {
|
|
|
1141
1166
|
if (Array.isArray(e)) {
|
|
1142
1167
|
var o = e.length;
|
|
1143
1168
|
for (t = 0; t < o; t++)
|
|
1144
|
-
e[t] && (n =
|
|
1169
|
+
e[t] && (n = Ma(e[t])) && (r && (r += " "), r += n);
|
|
1145
1170
|
} else
|
|
1146
1171
|
for (n in e)
|
|
1147
1172
|
e[n] && (r && (r += " "), r += n);
|
|
@@ -1149,21 +1174,21 @@ function Ra(e) {
|
|
|
1149
1174
|
}
|
|
1150
1175
|
function Ct() {
|
|
1151
1176
|
for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++)
|
|
1152
|
-
(e = arguments[n]) && (t =
|
|
1177
|
+
(e = arguments[n]) && (t = Ma(e)) && (r && (r += " "), r += t);
|
|
1153
1178
|
return r;
|
|
1154
1179
|
}
|
|
1155
|
-
var je, K, lr, Zo, St = 0,
|
|
1180
|
+
var je, K, lr, Zo, St = 0, La = [], J = N, Xo = J.__b, Jo = J.__r, Qo = J.diffed, ei = J.__c, ti = J.unmount, ni = J.__;
|
|
1156
1181
|
function pt(e, t) {
|
|
1157
1182
|
J.__h && J.__h(K, e, St || t), St = 0;
|
|
1158
1183
|
var n = K.__H || (K.__H = { __: [], __h: [] });
|
|
1159
1184
|
return e >= n.__.length && n.__.push({}), n.__[e];
|
|
1160
1185
|
}
|
|
1161
1186
|
function A(e) {
|
|
1162
|
-
return St = 1, tn(
|
|
1187
|
+
return St = 1, tn(Ia, e);
|
|
1163
1188
|
}
|
|
1164
1189
|
function tn(e, t, n) {
|
|
1165
1190
|
var r = pt(je++, 2);
|
|
1166
|
-
if (r.t = e, !r.__c && (r.__ = [n ? n(t) :
|
|
1191
|
+
if (r.t = e, !r.__c && (r.__ = [n ? n(t) : Ia(void 0, t), function(s) {
|
|
1167
1192
|
var c = r.__N ? r.__N[0] : r.__[0], d = r.t(c, s);
|
|
1168
1193
|
c !== d && (r.__N = [d, r.__[1]], r.__c.setState({}));
|
|
1169
1194
|
}], r.__c = K, !K.__f)) {
|
|
@@ -1259,7 +1284,7 @@ function Bn() {
|
|
|
1259
1284
|
return e.__;
|
|
1260
1285
|
}
|
|
1261
1286
|
function Gc() {
|
|
1262
|
-
for (var e; e =
|
|
1287
|
+
for (var e; e = La.shift(); )
|
|
1263
1288
|
if (e.__P && e.__H)
|
|
1264
1289
|
try {
|
|
1265
1290
|
e.__H.__h.forEach(xn), e.__H.__h.forEach(Ir), e.__H.__h = [];
|
|
@@ -1280,7 +1305,7 @@ J.__b = function(e) {
|
|
|
1280
1305
|
}, J.diffed = function(e) {
|
|
1281
1306
|
Qo && Qo(e);
|
|
1282
1307
|
var t = e.__c;
|
|
1283
|
-
t && t.__H && (t.__H.__h.length && (
|
|
1308
|
+
t && t.__H && (t.__H.__h.length && (La.push(t) !== 1 && Zo === J.requestAnimationFrame || ((Zo = J.requestAnimationFrame) || Yc)(Gc)), t.__H.__.forEach(function(n) {
|
|
1284
1309
|
n.u && (n.__H = n.u), n.u = void 0;
|
|
1285
1310
|
})), lr = K = null;
|
|
1286
1311
|
}, J.__c = function(e, t) {
|
|
@@ -1326,7 +1351,7 @@ function vo(e, t) {
|
|
|
1326
1351
|
return n !== e[r];
|
|
1327
1352
|
});
|
|
1328
1353
|
}
|
|
1329
|
-
function
|
|
1354
|
+
function Ia(e, t) {
|
|
1330
1355
|
return typeof t == "function" ? t(e) : t;
|
|
1331
1356
|
}
|
|
1332
1357
|
var Zc = ["other", "few", "many", "two", "one", "zero"], oi = ({
|
|
@@ -1444,14 +1469,14 @@ const { TranslationProvider: Gm, useTranslation: oe, createTFunction: Ym, defaul
|
|
|
1444
1469
|
"location_type.REMOTE": "Remote",
|
|
1445
1470
|
"location_type.HYBRID": "Hybrid"
|
|
1446
1471
|
});
|
|
1447
|
-
function
|
|
1472
|
+
function ja(e) {
|
|
1448
1473
|
var t, n, r = "";
|
|
1449
1474
|
if (typeof e == "string" || typeof e == "number")
|
|
1450
1475
|
r += e;
|
|
1451
1476
|
else if (typeof e == "object")
|
|
1452
1477
|
if (Array.isArray(e))
|
|
1453
1478
|
for (t = 0; t < e.length; t++)
|
|
1454
|
-
e[t] && (n =
|
|
1479
|
+
e[t] && (n = ja(e[t])) && (r && (r += " "), r += n);
|
|
1455
1480
|
else
|
|
1456
1481
|
for (t in e)
|
|
1457
1482
|
e[t] && (r && (r += " "), r += t);
|
|
@@ -1459,7 +1484,7 @@ function Ma(e) {
|
|
|
1459
1484
|
}
|
|
1460
1485
|
function ur() {
|
|
1461
1486
|
for (var e, t, n = 0, r = ""; n < arguments.length; )
|
|
1462
|
-
(e = arguments[n++]) && (t =
|
|
1487
|
+
(e = arguments[n++]) && (t = ja(e)) && (r && (r += " "), r += t);
|
|
1463
1488
|
return r;
|
|
1464
1489
|
}
|
|
1465
1490
|
const ai = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Jc = (e) => {
|
|
@@ -1499,7 +1524,7 @@ const ai = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Jc =
|
|
|
1499
1524
|
}, []);
|
|
1500
1525
|
return t(o == null ? void 0 : o.base, d, l, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
|
|
1501
1526
|
}, cx: t };
|
|
1502
|
-
}, { compose: Xm, cva:
|
|
1527
|
+
}, { compose: Xm, cva: me, cx: Jm } = Jc(), Fe = me({
|
|
1503
1528
|
base: "fr animate-selected-tag justify-center touch-hitbox text-style-filter ease-expo-out disabled:text-interactive-neutral-bg-hover disabled:bg-interactive-neutral-bg disabled:hover:disabled:bg-interactive-neutral-bg flex cursor-pointer items-center transition-all duration-snappy active:scale-95",
|
|
1504
1529
|
variants: {
|
|
1505
1530
|
variant: {
|
|
@@ -1576,7 +1601,7 @@ const ai = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Jc =
|
|
|
1576
1601
|
}, Ze = ({ error: e, resetError: t, class: n, ...r }) => {
|
|
1577
1602
|
const { t: o } = oe();
|
|
1578
1603
|
return R(() => {
|
|
1579
|
-
e.cause instanceof
|
|
1604
|
+
e.cause instanceof yc.SchemaValidation && console.error(e.message, e.cause.issues);
|
|
1580
1605
|
}, [e]), /* @__PURE__ */ u(
|
|
1581
1606
|
"div",
|
|
1582
1607
|
{
|
|
@@ -1607,7 +1632,7 @@ const ai = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Jc =
|
|
|
1607
1632
|
}
|
|
1608
1633
|
);
|
|
1609
1634
|
};
|
|
1610
|
-
class Dn extends
|
|
1635
|
+
class Dn extends ge {
|
|
1611
1636
|
constructor() {
|
|
1612
1637
|
super(...arguments);
|
|
1613
1638
|
Uo(this, "state", { error: null });
|
|
@@ -1746,7 +1771,7 @@ const Qc = {
|
|
|
1746
1771
|
}
|
|
1747
1772
|
) }, t);
|
|
1748
1773
|
}) }) }), ee = ({ name: e, ...t }) => /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", width: 24, height: 24, ...t, children: /* @__PURE__ */ u("use", { href: `#i-icon-${e}` }) });
|
|
1749
|
-
function
|
|
1774
|
+
function Fa(e, t) {
|
|
1750
1775
|
for (var n in t)
|
|
1751
1776
|
e[n] = t[n];
|
|
1752
1777
|
return e;
|
|
@@ -1792,7 +1817,7 @@ var wo = Ae;
|
|
|
1792
1817
|
function Nn(e, t) {
|
|
1793
1818
|
this.props = e, this.context = t;
|
|
1794
1819
|
}
|
|
1795
|
-
function
|
|
1820
|
+
function Va(e, t) {
|
|
1796
1821
|
function n(o) {
|
|
1797
1822
|
var i = this.props.ref, a = i == o.ref;
|
|
1798
1823
|
return !a && i && (i.call ? i(null) : i.current = null), t ? !t(this.props, o) || !a : jr(this.props, o);
|
|
@@ -1802,7 +1827,7 @@ function Ia(e, t) {
|
|
|
1802
1827
|
}
|
|
1803
1828
|
return r.displayName = "Memo(" + (e.displayName || e.name) + ")", r.prototype.isReactComponent = !0, r.__f = !0, r;
|
|
1804
1829
|
}
|
|
1805
|
-
(Nn.prototype = new
|
|
1830
|
+
(Nn.prototype = new ge()).isPureReactComponent = !0, Nn.prototype.shouldComponentUpdate = function(e, t) {
|
|
1806
1831
|
return jr(this.props, e) || jr(this.state, t);
|
|
1807
1832
|
};
|
|
1808
1833
|
var si = N.__b;
|
|
@@ -1812,7 +1837,7 @@ N.__b = function(e) {
|
|
|
1812
1837
|
var el = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
|
|
1813
1838
|
function Z(e) {
|
|
1814
1839
|
function t(n) {
|
|
1815
|
-
var r =
|
|
1840
|
+
var r = Fa({}, n);
|
|
1816
1841
|
return delete r.ref, e(r, n.ref || null);
|
|
1817
1842
|
}
|
|
1818
1843
|
return t.$$typeof = el, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
|
|
@@ -1836,22 +1861,22 @@ N.__e = function(e, t, n, r) {
|
|
|
1836
1861
|
tl(e, t, n, r);
|
|
1837
1862
|
};
|
|
1838
1863
|
var li = N.unmount;
|
|
1839
|
-
function
|
|
1864
|
+
function Ha(e, t, n) {
|
|
1840
1865
|
return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(r) {
|
|
1841
1866
|
typeof r.__c == "function" && r.__c();
|
|
1842
|
-
}), e.__c.__H = null), (e =
|
|
1843
|
-
return
|
|
1867
|
+
}), e.__c.__H = null), (e = Fa({}, e)).__c != null && (e.__c.__P === n && (e.__c.__P = t), e.__c = null), e.__k = e.__k && e.__k.map(function(r) {
|
|
1868
|
+
return Ha(r, t, n);
|
|
1844
1869
|
})), e;
|
|
1845
1870
|
}
|
|
1846
|
-
function
|
|
1871
|
+
function Ua(e, t, n) {
|
|
1847
1872
|
return e && n && (e.__v = null, e.__k = e.__k && e.__k.map(function(r) {
|
|
1848
|
-
return
|
|
1873
|
+
return Ua(r, t, n);
|
|
1849
1874
|
}), e.__c && e.__c.__P === t && (e.__e && n.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = n)), e;
|
|
1850
1875
|
}
|
|
1851
1876
|
function bt() {
|
|
1852
1877
|
this.__u = 0, this.o = null, this.__b = null;
|
|
1853
1878
|
}
|
|
1854
|
-
function
|
|
1879
|
+
function Wa(e) {
|
|
1855
1880
|
var t = e.__.__c;
|
|
1856
1881
|
return t && t.__a && t.__a(e);
|
|
1857
1882
|
}
|
|
@@ -1876,10 +1901,10 @@ function _t() {
|
|
|
1876
1901
|
N.unmount = function(e) {
|
|
1877
1902
|
var t = e.__c;
|
|
1878
1903
|
t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), li && li(e);
|
|
1879
|
-
}, (bt.prototype = new
|
|
1904
|
+
}, (bt.prototype = new ge()).__c = function(e, t) {
|
|
1880
1905
|
var n = t.__c, r = this;
|
|
1881
1906
|
r.o == null && (r.o = []), r.o.push(n);
|
|
1882
|
-
var o =
|
|
1907
|
+
var o = Wa(r.__v), i = !1, a = function() {
|
|
1883
1908
|
i || (i = !0, n.__R = null, o ? o(s) : s());
|
|
1884
1909
|
};
|
|
1885
1910
|
n.__R = a;
|
|
@@ -1887,7 +1912,7 @@ N.unmount = function(e) {
|
|
|
1887
1912
|
if (!--r.__u) {
|
|
1888
1913
|
if (r.state.__a) {
|
|
1889
1914
|
var c = r.state.__a;
|
|
1890
|
-
r.__v.__k[0] =
|
|
1915
|
+
r.__v.__k[0] = Ua(c, c.__c.__P, c.__c.__O);
|
|
1891
1916
|
}
|
|
1892
1917
|
var d;
|
|
1893
1918
|
for (r.setState({ __a: r.__b = null }); d = r.o.pop(); )
|
|
@@ -1901,7 +1926,7 @@ N.unmount = function(e) {
|
|
|
1901
1926
|
if (this.__b) {
|
|
1902
1927
|
if (this.__v.__k) {
|
|
1903
1928
|
var n = document.createElement("div"), r = this.__v.__k[0].__c;
|
|
1904
|
-
this.__v.__k[0] =
|
|
1929
|
+
this.__v.__k[0] = Ha(this.__b, n, r.__O = r.__P);
|
|
1905
1930
|
}
|
|
1906
1931
|
this.__b = null;
|
|
1907
1932
|
}
|
|
@@ -1937,12 +1962,12 @@ function rl(e) {
|
|
|
1937
1962
|
this.childNodes.splice(this.childNodes.indexOf(r) >>> 1, 1), t.h.removeChild(r);
|
|
1938
1963
|
} }), zt(C(nl, { context: t.context }, e.__v), t.v);
|
|
1939
1964
|
}
|
|
1940
|
-
function
|
|
1965
|
+
function za(e, t) {
|
|
1941
1966
|
var n = C(rl, { __v: e, h: t });
|
|
1942
1967
|
return n.containerInfo = t, n;
|
|
1943
1968
|
}
|
|
1944
|
-
(_t.prototype = new
|
|
1945
|
-
var t = this, n =
|
|
1969
|
+
(_t.prototype = new ge()).__a = function(e) {
|
|
1970
|
+
var t = this, n = Wa(t.__v), r = t.l.get(e);
|
|
1946
1971
|
return r[0]++, function(o) {
|
|
1947
1972
|
var i = function() {
|
|
1948
1973
|
t.props.revealOrder ? (r.push(o), ui(t, e, r)) : o();
|
|
@@ -1962,17 +1987,17 @@ function Ha(e, t) {
|
|
|
1962
1987
|
ui(e, n, t);
|
|
1963
1988
|
});
|
|
1964
1989
|
};
|
|
1965
|
-
var
|
|
1990
|
+
var Ba = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, ol = /^(?: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]/, il = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, al = /[A-Z0-9]/g, sl = typeof document < "u", cl = function(e) {
|
|
1966
1991
|
return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
|
|
1967
1992
|
};
|
|
1968
|
-
function
|
|
1993
|
+
function qa(e, t, n) {
|
|
1969
1994
|
return t.__k == null && (t.textContent = ""), zt(e, t), typeof n == "function" && n(), e ? e.__c : null;
|
|
1970
1995
|
}
|
|
1971
|
-
function
|
|
1996
|
+
function Ka(e, t, n) {
|
|
1972
1997
|
return Ea(e, t), typeof n == "function" && n(), e ? e.__c : null;
|
|
1973
1998
|
}
|
|
1974
|
-
|
|
1975
|
-
Object.defineProperty(
|
|
1999
|
+
ge.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
|
|
2000
|
+
Object.defineProperty(ge.prototype, e, { configurable: !0, get: function() {
|
|
1976
2001
|
return this["UNSAFE_" + e];
|
|
1977
2002
|
}, set: function(t) {
|
|
1978
2003
|
Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t });
|
|
@@ -2008,7 +2033,7 @@ N.vnode = function(e) {
|
|
|
2008
2033
|
})), r == "select" && o.defaultValue != null && (o.value = Ie(n.children).forEach(function(d) {
|
|
2009
2034
|
d.props.selected = o.multiple ? o.defaultValue.indexOf(d.props.value) != -1 : o.defaultValue == d.props.value;
|
|
2010
2035
|
})), n.class && !n.className ? (o.class = n.class, Object.defineProperty(o, "className", fl)) : (n.className && !n.class || n.class && n.className) && (o.class = o.className = n.className), t.props = o;
|
|
2011
|
-
}(e), e.$$typeof =
|
|
2036
|
+
}(e), e.$$typeof = Ba, fi && fi(e);
|
|
2012
2037
|
};
|
|
2013
2038
|
var pi = N.__r;
|
|
2014
2039
|
N.__r = function(e) {
|
|
@@ -2020,66 +2045,66 @@ N.diffed = function(e) {
|
|
|
2020
2045
|
var t = e.props, n = e.__e;
|
|
2021
2046
|
n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value), $o = null;
|
|
2022
2047
|
};
|
|
2023
|
-
var
|
|
2048
|
+
var Ga = { ReactCurrentDispatcher: { current: { readContext: function(e) {
|
|
2024
2049
|
return $o.__n[e.__c].props.value;
|
|
2025
2050
|
}, useCallback: U, useContext: tt, useDebugValue: zn, useDeferredValue: yo, useEffect: R, useId: Bn, useImperativeHandle: go, useInsertionEffect: wo, useLayoutEffect: Ae, useMemo: Q, useReducer: tn, useRef: k, useState: A, useSyncExternalStore: mo, useTransition: bo } } }, pl = "18.3.1";
|
|
2026
|
-
function
|
|
2051
|
+
function Ya(e) {
|
|
2027
2052
|
return C.bind(null, e);
|
|
2028
2053
|
}
|
|
2029
2054
|
function Ve(e) {
|
|
2030
|
-
return !!e && e.$$typeof ===
|
|
2055
|
+
return !!e && e.$$typeof === Ba;
|
|
2031
2056
|
}
|
|
2032
|
-
function
|
|
2057
|
+
function Za(e) {
|
|
2033
2058
|
return Ve(e) && e.type === I;
|
|
2034
2059
|
}
|
|
2035
|
-
function
|
|
2060
|
+
function Xa(e) {
|
|
2036
2061
|
return !!e && !!e.displayName && (typeof e.displayName == "string" || e.displayName instanceof String) && e.displayName.startsWith("Memo(");
|
|
2037
2062
|
}
|
|
2038
2063
|
function At(e) {
|
|
2039
|
-
return Ve(e) ?
|
|
2064
|
+
return Ve(e) ? kc.apply(null, arguments) : e;
|
|
2040
2065
|
}
|
|
2041
|
-
function
|
|
2066
|
+
function Ja(e) {
|
|
2042
2067
|
return !!e.__k && (zt(null, e), !0);
|
|
2043
2068
|
}
|
|
2044
|
-
function
|
|
2069
|
+
function Qa(e) {
|
|
2045
2070
|
return e && (e.base || e.nodeType === 1 && e) || null;
|
|
2046
2071
|
}
|
|
2047
|
-
var
|
|
2072
|
+
var es = function(e, t) {
|
|
2048
2073
|
return e(t);
|
|
2049
2074
|
}, nn = function(e, t) {
|
|
2050
2075
|
return e(t);
|
|
2051
|
-
},
|
|
2052
|
-
const
|
|
2076
|
+
}, ts = I, ns = Ve, rn = { useState: A, useId: Bn, useReducer: tn, useEffect: R, useLayoutEffect: Ae, useInsertionEffect: wo, useTransition: bo, useDeferredValue: yo, useSyncExternalStore: mo, startTransition: _o, useRef: k, useImperativeHandle: go, useMemo: Q, useCallback: U, useContext: tt, useDebugValue: zn, version: "18.3.1", Children: Oe, render: qa, hydrate: Ka, unmountComponentAtNode: Ja, createPortal: za, createElement: C, createContext: ut, createFactory: Ya, cloneElement: At, createRef: _a, Fragment: I, isValidElement: Ve, isElement: ns, isFragment: Za, isMemo: Xa, findDOMNode: Qa, Component: ge, PureComponent: Nn, memo: Va, forwardRef: Z, flushSync: nn, unstable_batchedUpdates: es, StrictMode: ts, Suspense: bt, SuspenseList: _t, lazy: xo, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Ga };
|
|
2077
|
+
const rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2053
2078
|
__proto__: null,
|
|
2054
2079
|
Children: Oe,
|
|
2055
|
-
Component:
|
|
2080
|
+
Component: ge,
|
|
2056
2081
|
Fragment: I,
|
|
2057
2082
|
PureComponent: Nn,
|
|
2058
|
-
StrictMode:
|
|
2083
|
+
StrictMode: ts,
|
|
2059
2084
|
Suspense: bt,
|
|
2060
2085
|
SuspenseList: _t,
|
|
2061
|
-
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:
|
|
2086
|
+
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Ga,
|
|
2062
2087
|
cloneElement: At,
|
|
2063
2088
|
createContext: ut,
|
|
2064
2089
|
createElement: C,
|
|
2065
|
-
createFactory:
|
|
2066
|
-
createPortal:
|
|
2090
|
+
createFactory: Ya,
|
|
2091
|
+
createPortal: za,
|
|
2067
2092
|
createRef: _a,
|
|
2068
2093
|
default: rn,
|
|
2069
|
-
findDOMNode:
|
|
2094
|
+
findDOMNode: Qa,
|
|
2070
2095
|
flushSync: nn,
|
|
2071
2096
|
forwardRef: Z,
|
|
2072
|
-
hydrate:
|
|
2073
|
-
isElement:
|
|
2074
|
-
isFragment:
|
|
2075
|
-
isMemo:
|
|
2097
|
+
hydrate: Ka,
|
|
2098
|
+
isElement: ns,
|
|
2099
|
+
isFragment: Za,
|
|
2100
|
+
isMemo: Xa,
|
|
2076
2101
|
isValidElement: Ve,
|
|
2077
2102
|
lazy: xo,
|
|
2078
|
-
memo:
|
|
2079
|
-
render:
|
|
2103
|
+
memo: Va,
|
|
2104
|
+
render: qa,
|
|
2080
2105
|
startTransition: _o,
|
|
2081
|
-
unmountComponentAtNode:
|
|
2082
|
-
unstable_batchedUpdates:
|
|
2106
|
+
unmountComponentAtNode: Ja,
|
|
2107
|
+
unstable_batchedUpdates: es,
|
|
2083
2108
|
useCallback: U,
|
|
2084
2109
|
useContext: tt,
|
|
2085
2110
|
useDebugValue: zn,
|
|
@@ -2099,7 +2124,7 @@ const es = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2099
2124
|
version: pl
|
|
2100
2125
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2101
2126
|
var dn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2102
|
-
function
|
|
2127
|
+
function os(e) {
|
|
2103
2128
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
2104
2129
|
}
|
|
2105
2130
|
function hl(e) {
|
|
@@ -2124,7 +2149,7 @@ function hl(e) {
|
|
|
2124
2149
|
}), n;
|
|
2125
2150
|
}
|
|
2126
2151
|
var Fr = { exports: {} }, fr = {};
|
|
2127
|
-
const
|
|
2152
|
+
const is = /* @__PURE__ */ hl(rs);
|
|
2128
2153
|
/**
|
|
2129
2154
|
* @license React
|
|
2130
2155
|
* use-sync-external-store-shim.production.min.js
|
|
@@ -2139,7 +2164,7 @@ function gl() {
|
|
|
2139
2164
|
if (gi)
|
|
2140
2165
|
return fr;
|
|
2141
2166
|
gi = 1;
|
|
2142
|
-
var e =
|
|
2167
|
+
var e = is;
|
|
2143
2168
|
function t(l, h) {
|
|
2144
2169
|
return l === h && (l !== 0 || 1 / l === 1 / h) || l !== l && h !== h;
|
|
2145
2170
|
}
|
|
@@ -2184,7 +2209,7 @@ var vi;
|
|
|
2184
2209
|
function vl() {
|
|
2185
2210
|
return vi || (vi = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2186
2211
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
2187
|
-
var e =
|
|
2212
|
+
var e = is, t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
2188
2213
|
function n(w) {
|
|
2189
2214
|
{
|
|
2190
2215
|
for (var y = arguments.length, x = new Array(y > 1 ? y - 1 : 0), $ = 1; $ < y; $++)
|
|
@@ -2257,10 +2282,10 @@ const Ye = () => {
|
|
|
2257
2282
|
}, ie = (
|
|
2258
2283
|
/*#__NOINLINE__*/
|
|
2259
2284
|
Ye()
|
|
2260
|
-
), $n = Object, H = (e) => e === ie,
|
|
2285
|
+
), $n = Object, H = (e) => e === ie, be = (e) => typeof e == "function", He = (e, t) => ({
|
|
2261
2286
|
...e,
|
|
2262
2287
|
...t
|
|
2263
|
-
}), _l = (e) =>
|
|
2288
|
+
}), _l = (e) => be(e.then), fn = /* @__PURE__ */ new WeakMap();
|
|
2264
2289
|
let yl = 0;
|
|
2265
2290
|
const Bt = (e) => {
|
|
2266
2291
|
const t = typeof e, n = e && e.constructor, r = n == Date;
|
|
@@ -2283,7 +2308,7 @@ const Bt = (e) => {
|
|
|
2283
2308
|
} else
|
|
2284
2309
|
o = r ? e.toJSON() : t == "symbol" ? e.toString() : t == "string" ? JSON.stringify(e) : "" + e;
|
|
2285
2310
|
return o;
|
|
2286
|
-
}, Me = /* @__PURE__ */ new WeakMap(), hr = {}, pn = {}, Eo = "undefined", qn = typeof window != Eo, Vr = typeof document != Eo, bl = () => qn && typeof window.requestAnimationFrame != Eo,
|
|
2311
|
+
}, Me = /* @__PURE__ */ new WeakMap(), hr = {}, pn = {}, Eo = "undefined", qn = typeof window != Eo, Vr = typeof document != Eo, bl = () => qn && typeof window.requestAnimationFrame != Eo, as = (e, t) => {
|
|
2287
2312
|
const n = Me.get(e);
|
|
2288
2313
|
return [
|
|
2289
2314
|
// Getter
|
|
@@ -2332,7 +2357,7 @@ const wl = () => Hr, [Ur, Wr] = qn && window.addEventListener ? [
|
|
|
2332
2357
|
"slow-2g",
|
|
2333
2358
|
"2g"
|
|
2334
2359
|
].includes(gr.effectiveType) || gr.saveData), Co = (e) => {
|
|
2335
|
-
if (
|
|
2360
|
+
if (be(e))
|
|
2336
2361
|
try {
|
|
2337
2362
|
e = e();
|
|
2338
2363
|
} catch {
|
|
@@ -2345,15 +2370,15 @@ const wl = () => Hr, [Ur, Wr] = qn && window.addEventListener ? [
|
|
|
2345
2370
|
];
|
|
2346
2371
|
};
|
|
2347
2372
|
let Tl = 0;
|
|
2348
|
-
const zr = () => ++Tl,
|
|
2373
|
+
const zr = () => ++Tl, ss = 0, cs = 1, ls = 2, Al = 3;
|
|
2349
2374
|
var Ft = {
|
|
2350
2375
|
__proto__: null,
|
|
2351
2376
|
ERROR_REVALIDATE_EVENT: Al,
|
|
2352
|
-
FOCUS_EVENT:
|
|
2353
|
-
MUTATE_EVENT:
|
|
2354
|
-
RECONNECT_EVENT:
|
|
2377
|
+
FOCUS_EVENT: ss,
|
|
2378
|
+
MUTATE_EVENT: ls,
|
|
2379
|
+
RECONNECT_EVENT: cs
|
|
2355
2380
|
};
|
|
2356
|
-
async function
|
|
2381
|
+
async function us(...e) {
|
|
2357
2382
|
const [t, n, r, o] = e, i = He({
|
|
2358
2383
|
populateCache: !0,
|
|
2359
2384
|
throwOnError: !0
|
|
@@ -2364,7 +2389,7 @@ async function ss(...e) {
|
|
|
2364
2389
|
const s = i.rollbackOnError;
|
|
2365
2390
|
let c = i.optimisticData;
|
|
2366
2391
|
const d = (h) => typeof s == "function" ? s(h) : s !== !1, p = i.throwOnError;
|
|
2367
|
-
if (
|
|
2392
|
+
if (be(n)) {
|
|
2368
2393
|
const h = n, f = [], m = t.keys();
|
|
2369
2394
|
for (const v of m)
|
|
2370
2395
|
// Skip the special useSWRInfinite and useSWRSubscription keys.
|
|
@@ -2376,9 +2401,9 @@ async function ss(...e) {
|
|
|
2376
2401
|
const [f] = Co(h);
|
|
2377
2402
|
if (!f)
|
|
2378
2403
|
return;
|
|
2379
|
-
const [m, v] =
|
|
2404
|
+
const [m, v] = as(t, f), [_, g, b, w] = Me.get(t), y = () => {
|
|
2380
2405
|
const V = _[f];
|
|
2381
|
-
return (
|
|
2406
|
+
return (be(i.revalidate) ? i.revalidate(m().data, h) : i.revalidate !== !1) && (delete b[f], delete w[f], V && V[0]) ? V[0](ls).then(() => m().data) : m().data;
|
|
2382
2407
|
};
|
|
2383
2408
|
if (e.length < 3)
|
|
2384
2409
|
return y();
|
|
@@ -2389,10 +2414,10 @@ async function ss(...e) {
|
|
|
2389
2414
|
0
|
|
2390
2415
|
];
|
|
2391
2416
|
const E = !H(c), O = m(), P = O.data, L = O._c, D = H(L) ? P : L;
|
|
2392
|
-
if (E && (c =
|
|
2417
|
+
if (E && (c = be(c) ? c(D, P) : c, v({
|
|
2393
2418
|
data: c,
|
|
2394
2419
|
_c: D
|
|
2395
|
-
})),
|
|
2420
|
+
})), be(x))
|
|
2396
2421
|
try {
|
|
2397
2422
|
x = x(D);
|
|
2398
2423
|
} catch (V) {
|
|
@@ -2411,7 +2436,7 @@ async function ss(...e) {
|
|
|
2411
2436
|
_c: ie
|
|
2412
2437
|
}));
|
|
2413
2438
|
if (a && !$)
|
|
2414
|
-
if (
|
|
2439
|
+
if (be(a)) {
|
|
2415
2440
|
const V = a(x, D);
|
|
2416
2441
|
v({
|
|
2417
2442
|
data: V,
|
|
@@ -2439,9 +2464,9 @@ async function ss(...e) {
|
|
|
2439
2464
|
const yi = (e, t) => {
|
|
2440
2465
|
for (const n in e)
|
|
2441
2466
|
e[n][0] && e[n][0](t);
|
|
2442
|
-
},
|
|
2467
|
+
}, ds = (e, t) => {
|
|
2443
2468
|
if (!Me.has(e)) {
|
|
2444
|
-
const n = He(Sl, t), r = {}, o =
|
|
2469
|
+
const n = He(Sl, t), r = {}, o = us.bind(ie, e);
|
|
2445
2470
|
let i = Ye;
|
|
2446
2471
|
const a = {}, s = (p, l) => {
|
|
2447
2472
|
const h = a[p] || [];
|
|
@@ -2462,7 +2487,7 @@ const yi = (e, t) => {
|
|
|
2462
2487
|
c,
|
|
2463
2488
|
s
|
|
2464
2489
|
]), !qt)) {
|
|
2465
|
-
const p = n.initFocus(setTimeout.bind(ie, yi.bind(ie, r,
|
|
2490
|
+
const p = n.initFocus(setTimeout.bind(ie, yi.bind(ie, r, ss))), l = n.initReconnect(setTimeout.bind(ie, yi.bind(ie, r, cs)));
|
|
2466
2491
|
i = () => {
|
|
2467
2492
|
p && p(), l && l(), Me.delete(e);
|
|
2468
2493
|
};
|
|
@@ -2482,7 +2507,7 @@ const yi = (e, t) => {
|
|
|
2482
2507
|
}, kl = (e, t, n, r, o) => {
|
|
2483
2508
|
const i = n.errorRetryCount, a = o.retryCount, s = ~~((Math.random() + 0.5) * (1 << (a < 8 ? a : 8))) * n.errorRetryInterval;
|
|
2484
2509
|
!H(i) && a > i || setTimeout(r, s, o);
|
|
2485
|
-
}, Pl = (e, t) => Bt(e) == Bt(t), [So, Rl] =
|
|
2510
|
+
}, Pl = (e, t) => Bt(e) == Bt(t), [So, Rl] = ds(/* @__PURE__ */ new Map()), fs = He(
|
|
2486
2511
|
{
|
|
2487
2512
|
// events
|
|
2488
2513
|
onLoadingSlow: Ye,
|
|
@@ -2509,7 +2534,7 @@ const yi = (e, t) => {
|
|
|
2509
2534
|
},
|
|
2510
2535
|
// use web preset by default
|
|
2511
2536
|
Cl
|
|
2512
|
-
),
|
|
2537
|
+
), ps = (e, t) => {
|
|
2513
2538
|
const n = He(e, t);
|
|
2514
2539
|
if (t) {
|
|
2515
2540
|
const { use: r, fallback: o } = e, { use: i, fallback: a } = t;
|
|
@@ -2517,16 +2542,16 @@ const yi = (e, t) => {
|
|
|
2517
2542
|
}
|
|
2518
2543
|
return n;
|
|
2519
2544
|
}, Br = ut({}), Dl = (e) => {
|
|
2520
|
-
const { value: t } = e, n = tt(Br), r =
|
|
2545
|
+
const { value: t } = e, n = tt(Br), r = be(t), o = Q(() => r ? t(n) : t, [
|
|
2521
2546
|
r,
|
|
2522
2547
|
n,
|
|
2523
2548
|
t
|
|
2524
|
-
]), i = Q(() => r ? o :
|
|
2549
|
+
]), i = Q(() => r ? o : ps(n, o), [
|
|
2525
2550
|
r,
|
|
2526
2551
|
n,
|
|
2527
2552
|
o
|
|
2528
2553
|
]), a = o && o.provider, s = k(ie);
|
|
2529
|
-
a && !s.current && (s.current =
|
|
2554
|
+
a && !s.current && (s.current = ds(a(i.cache || So), o));
|
|
2530
2555
|
const c = s.current;
|
|
2531
2556
|
return c && (i.cache = c[0], i.mutate = c[1]), En(() => {
|
|
2532
2557
|
if (c)
|
|
@@ -2534,9 +2559,9 @@ const yi = (e, t) => {
|
|
|
2534
2559
|
}, []), C(Br.Provider, He(e, {
|
|
2535
2560
|
value: i
|
|
2536
2561
|
}));
|
|
2537
|
-
}, Nl = "$inf$",
|
|
2538
|
-
|
|
2539
|
-
}, Il = (e) =>
|
|
2562
|
+
}, Nl = "$inf$", hs = qn && window.__SWR_DEVTOOLS_USE__, Ml = hs ? window.__SWR_DEVTOOLS_USE__ : [], Ll = () => {
|
|
2563
|
+
hs && (window.__SWR_DEVTOOLS_REACT__ = rn);
|
|
2564
|
+
}, Il = (e) => be(e[1]) ? [
|
|
2540
2565
|
e[0],
|
|
2541
2566
|
e[1],
|
|
2542
2567
|
e[2] || {}
|
|
@@ -2544,14 +2569,14 @@ const yi = (e, t) => {
|
|
|
2544
2569
|
e[0],
|
|
2545
2570
|
null,
|
|
2546
2571
|
(e[1] === null ? e[2] : e[1]) || {}
|
|
2547
|
-
], jl = () => He(
|
|
2572
|
+
], jl = () => He(fs, tt(Br)), Fl = (e) => (t, n, r) => e(t, n && ((...i) => {
|
|
2548
2573
|
const [a] = Co(t), [, , , s] = Me.get(So);
|
|
2549
2574
|
if (a.startsWith(Nl))
|
|
2550
2575
|
return n(...i);
|
|
2551
2576
|
const c = s[a];
|
|
2552
2577
|
return H(c) ? n(...i) : (delete s[a], c);
|
|
2553
2578
|
}), r), Vl = Ml.concat(Fl), Hl = (e) => function(...n) {
|
|
2554
|
-
const r = jl(), [o, i, a] = Il(n), s =
|
|
2579
|
+
const r = jl(), [o, i, a] = Il(n), s = ps(r, a);
|
|
2555
2580
|
let c = e;
|
|
2556
2581
|
const { use: d } = s, p = (d || []).concat(Vl);
|
|
2557
2582
|
for (let l = p.length; l--; )
|
|
@@ -2578,7 +2603,7 @@ const bi = rn.use || ((e) => {
|
|
|
2578
2603
|
}), vr = {
|
|
2579
2604
|
dedupe: !0
|
|
2580
2605
|
}, Wl = (e, t, n) => {
|
|
2581
|
-
const { cache: r, compare: o, suspense: i, fallbackData: a, revalidateOnMount: s, revalidateIfStale: c, refreshInterval: d, refreshWhenHidden: p, refreshWhenOffline: l, keepPreviousData: h } = n, [f, m, v, _] = Me.get(r), [g, b] = Co(e), w = k(!1), y = k(!1), x = k(g), $ = k(t), S = k(n), E = () => S.current, O = () => E().isVisible() && E().isOnline(), [P, L, D, V] =
|
|
2606
|
+
const { cache: r, compare: o, suspense: i, fallbackData: a, revalidateOnMount: s, revalidateIfStale: c, refreshInterval: d, refreshWhenHidden: p, refreshWhenOffline: l, keepPreviousData: h } = n, [f, m, v, _] = Me.get(r), [g, b] = Co(e), w = k(!1), y = k(!1), x = k(g), $ = k(t), S = k(n), E = () => S.current, O = () => E().isVisible() && E().isOnline(), [P, L, D, V] = as(r, g), T = k({}).current, M = H(a) ? n.fallback[g] : a, j = (z, B) => {
|
|
2582
2607
|
for (const ne in T) {
|
|
2583
2608
|
const q = ne;
|
|
2584
2609
|
if (q === "data") {
|
|
@@ -2590,12 +2615,12 @@ const bi = rn.use || ((e) => {
|
|
|
2590
2615
|
return !0;
|
|
2591
2616
|
}, F = Q(() => {
|
|
2592
2617
|
const z = (() => !g || !t ? !1 : H(s) ? E().isPaused() || i ? !1 : H(c) ? !0 : c : s)(), B = (re) => {
|
|
2593
|
-
const
|
|
2594
|
-
return delete
|
|
2618
|
+
const ye = He(re);
|
|
2619
|
+
return delete ye._k, z ? {
|
|
2595
2620
|
isValidating: !0,
|
|
2596
2621
|
isLoading: !0,
|
|
2597
|
-
...
|
|
2598
|
-
} :
|
|
2622
|
+
...ye
|
|
2623
|
+
} : ye;
|
|
2599
2624
|
}, ne = P(), q = V(), ce = B(ne), qe = ne === q ? ce : B(q);
|
|
2600
2625
|
let te = ce;
|
|
2601
2626
|
return [
|
|
@@ -2617,17 +2642,17 @@ const bi = rn.use || ((e) => {
|
|
|
2617
2642
|
r,
|
|
2618
2643
|
g
|
|
2619
2644
|
]
|
|
2620
|
-
), F[0], F[1]), X = !w.current, It = f[g] && f[g].length > 0,
|
|
2645
|
+
), F[0], F[1]), X = !w.current, It = f[g] && f[g].length > 0, _e = W.data, Be = H(_e) ? M : _e, ot = W.error, sn = k(Be), Pe = h ? H(_e) ? sn.current : _e : Be, Re = (() => It && !H(ot) ? !1 : X && !H(s) ? s : E().isPaused() ? !1 : i ? H(Be) ? !1 : c : H(Be) || c)(), jt = !!(g && t && X && Re), rr = H(W.isValidating) ? jt : W.isValidating, ht = H(W.isLoading) ? jt : W.isLoading, it = U(
|
|
2621
2646
|
async (z) => {
|
|
2622
2647
|
const B = $.current;
|
|
2623
2648
|
if (!g || !B || y.current || E().isPaused())
|
|
2624
2649
|
return !1;
|
|
2625
2650
|
let ne, q, ce = !0;
|
|
2626
|
-
const qe = z || {}, te = !v[g] || !qe.dedupe, re = () => mi ? !y.current && g === x.current && w.current : g === x.current,
|
|
2651
|
+
const qe = z || {}, te = !v[g] || !qe.dedupe, re = () => mi ? !y.current && g === x.current && w.current : g === x.current, ye = {
|
|
2627
2652
|
isValidating: !1,
|
|
2628
2653
|
isLoading: !1
|
|
2629
2654
|
}, at = () => {
|
|
2630
|
-
L(
|
|
2655
|
+
L(ye);
|
|
2631
2656
|
}, Vo = () => {
|
|
2632
2657
|
const fe = v[g];
|
|
2633
2658
|
fe && fe[1] === q && delete v[g];
|
|
@@ -2643,7 +2668,7 @@ const bi = rn.use || ((e) => {
|
|
|
2643
2668
|
zr()
|
|
2644
2669
|
]), [ne, q] = v[g], ne = await ne, te && setTimeout(Vo, n.dedupingInterval), !v[g] || v[g][1] !== q)
|
|
2645
2670
|
return te && re() && E().onDiscarded(g), !1;
|
|
2646
|
-
|
|
2671
|
+
ye.error = ie;
|
|
2647
2672
|
const fe = m[g];
|
|
2648
2673
|
if (!H(fe) && // case 1
|
|
2649
2674
|
(q <= fe[0] || // case 2
|
|
@@ -2651,13 +2676,13 @@ const bi = rn.use || ((e) => {
|
|
|
2651
2676
|
fe[1] === 0))
|
|
2652
2677
|
return at(), te && re() && E().onDiscarded(g), !1;
|
|
2653
2678
|
const De = P().data;
|
|
2654
|
-
|
|
2679
|
+
ye.data = o(De, ne) ? De : ne, te && re() && E().onSuccess(ne, g, n);
|
|
2655
2680
|
} catch (fe) {
|
|
2656
2681
|
Vo();
|
|
2657
2682
|
const De = E(), { shouldRetryOnError: or } = De;
|
|
2658
|
-
De.isPaused() || (
|
|
2683
|
+
De.isPaused() || (ye.error = fe, te && re() && (De.onError(fe, g, De), (or === !0 || be(or) && or(fe)) && (!E().revalidateOnFocus || !E().revalidateOnReconnect || O()) && De.onErrorRetry(fe, g, De, (vc) => {
|
|
2659
2684
|
const ir = f[g];
|
|
2660
|
-
ir && ir[0] && ir[0](Ft.ERROR_REVALIDATE_EVENT,
|
|
2685
|
+
ir && ir[0] && ir[0](Ft.ERROR_REVALIDATE_EVENT, vc);
|
|
2661
2686
|
}, {
|
|
2662
2687
|
retryCount: (qe.retryCount || 0) + 1,
|
|
2663
2688
|
dedupe: !0
|
|
@@ -2682,12 +2707,12 @@ const bi = rn.use || ((e) => {
|
|
|
2682
2707
|
]
|
|
2683
2708
|
), cn = U(
|
|
2684
2709
|
// Use callback to make sure `keyRef.current` returns latest result every time
|
|
2685
|
-
(...z) =>
|
|
2710
|
+
(...z) => us(r, x.current, ...z),
|
|
2686
2711
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2687
2712
|
[]
|
|
2688
2713
|
);
|
|
2689
2714
|
if (En(() => {
|
|
2690
|
-
$.current = t, S.current = n, H(
|
|
2715
|
+
$.current = t, S.current = n, H(_e) || (sn.current = _e);
|
|
2691
2716
|
}), En(() => {
|
|
2692
2717
|
if (!g)
|
|
2693
2718
|
return;
|
|
@@ -2716,7 +2741,7 @@ const bi = rn.use || ((e) => {
|
|
|
2716
2741
|
]), En(() => {
|
|
2717
2742
|
let z;
|
|
2718
2743
|
function B() {
|
|
2719
|
-
const q =
|
|
2744
|
+
const q = be(d) ? d(P().data) : d;
|
|
2720
2745
|
q && z !== -1 && (z = setTimeout(ne, q));
|
|
2721
2746
|
}
|
|
2722
2747
|
function ne() {
|
|
@@ -2761,8 +2786,8 @@ const bi = rn.use || ((e) => {
|
|
|
2761
2786
|
}
|
|
2762
2787
|
};
|
|
2763
2788
|
}, zl = $n.defineProperty(Dl, "defaultValue", {
|
|
2764
|
-
value:
|
|
2765
|
-
}), Kt = Hl(Wl),
|
|
2789
|
+
value: fs
|
|
2790
|
+
}), Kt = Hl(Wl), gs = (e) => {
|
|
2766
2791
|
const [t, n] = A(!1);
|
|
2767
2792
|
return R(() => {
|
|
2768
2793
|
if (typeof window > "u")
|
|
@@ -3038,13 +3063,13 @@ function xe(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
|
3038
3063
|
function eu(e, t) {
|
|
3039
3064
|
typeof e == "function" ? e(t) : e != null && (e.current = t);
|
|
3040
3065
|
}
|
|
3041
|
-
function
|
|
3066
|
+
function vs(...e) {
|
|
3042
3067
|
return (t) => e.forEach(
|
|
3043
3068
|
(n) => eu(n, t)
|
|
3044
3069
|
);
|
|
3045
3070
|
}
|
|
3046
3071
|
function ke(...e) {
|
|
3047
|
-
return U(
|
|
3072
|
+
return U(vs(...e), e);
|
|
3048
3073
|
}
|
|
3049
3074
|
function Oo(e, t = []) {
|
|
3050
3075
|
let n = [];
|
|
@@ -3131,7 +3156,7 @@ function tu(...e) {
|
|
|
3131
3156
|
return n.scopeName = t.scopeName, n;
|
|
3132
3157
|
}
|
|
3133
3158
|
const Ot = globalThis != null && globalThis.document ? Ae : () => {
|
|
3134
|
-
}, nu =
|
|
3159
|
+
}, nu = rs["useId".toString()] || (() => {
|
|
3135
3160
|
});
|
|
3136
3161
|
let ru = 0;
|
|
3137
3162
|
function Cn(e) {
|
|
@@ -3156,7 +3181,7 @@ function Xe(e) {
|
|
|
3156
3181
|
[]
|
|
3157
3182
|
);
|
|
3158
3183
|
}
|
|
3159
|
-
function
|
|
3184
|
+
function ms({ prop: e, defaultProp: t, onChange: n = () => {
|
|
3160
3185
|
} }) {
|
|
3161
3186
|
const [r, o] = ou({
|
|
3162
3187
|
defaultProp: t,
|
|
@@ -3205,7 +3230,7 @@ const Yr = /* @__PURE__ */ Z((e, t) => {
|
|
|
3205
3230
|
const { children: n, ...r } = e;
|
|
3206
3231
|
return /* @__PURE__ */ Ve(n) ? /* @__PURE__ */ At(n, {
|
|
3207
3232
|
...su(r, n.props),
|
|
3208
|
-
ref: t ?
|
|
3233
|
+
ref: t ? vs(t, n.ref) : n.ref
|
|
3209
3234
|
}) : Oe.count(n) > 1 ? Oe.only(null) : null;
|
|
3210
3235
|
});
|
|
3211
3236
|
Yr.displayName = "SlotClone";
|
|
@@ -3288,7 +3313,7 @@ const pu = /* @__PURE__ */ ut({
|
|
|
3288
3313
|
layers: /* @__PURE__ */ new Set(),
|
|
3289
3314
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
3290
3315
|
branches: /* @__PURE__ */ new Set()
|
|
3291
|
-
}),
|
|
3316
|
+
}), _s = /* @__PURE__ */ Z((e, t) => {
|
|
3292
3317
|
var n;
|
|
3293
3318
|
const { disableOutsidePointerEvents: r = !1, onEscapeKeyDown: o, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: s, onDismiss: c, ...d } = e, p = tt(pu), [l, h] = A(null), f = (n = l == null ? void 0 : l.ownerDocument) !== null && n !== void 0 ? n : globalThis == null ? void 0 : globalThis.document, [, m] = A({}), v = ke(
|
|
3294
3319
|
t,
|
|
@@ -3348,7 +3373,7 @@ function hu(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
3348
3373
|
const i = (s) => {
|
|
3349
3374
|
if (s.target && !r.current) {
|
|
3350
3375
|
let d = function() {
|
|
3351
|
-
|
|
3376
|
+
ys(du, n, c, {
|
|
3352
3377
|
discrete: !0
|
|
3353
3378
|
});
|
|
3354
3379
|
};
|
|
@@ -3379,7 +3404,7 @@ function gu(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
3379
3404
|
const n = Xe(e), r = k(!1);
|
|
3380
3405
|
return R(() => {
|
|
3381
3406
|
const o = (i) => {
|
|
3382
|
-
i.target && !r.current &&
|
|
3407
|
+
i.target && !r.current && ys(fu, n, {
|
|
3383
3408
|
originalEvent: i
|
|
3384
3409
|
}, {
|
|
3385
3410
|
discrete: !1
|
|
@@ -3398,7 +3423,7 @@ function xi() {
|
|
|
3398
3423
|
const e = new CustomEvent(Zr);
|
|
3399
3424
|
document.dispatchEvent(e);
|
|
3400
3425
|
}
|
|
3401
|
-
function
|
|
3426
|
+
function ys(e, t, n, { discrete: r }) {
|
|
3402
3427
|
const o = n.originalEvent.target, i = new CustomEvent(e, {
|
|
3403
3428
|
bubbles: !1,
|
|
3404
3429
|
cancelable: !0,
|
|
@@ -3411,7 +3436,7 @@ function vs(e, t, n, { discrete: r }) {
|
|
|
3411
3436
|
const wr = "focusScope.autoFocusOnMount", xr = "focusScope.autoFocusOnUnmount", $i = {
|
|
3412
3437
|
bubbles: !1,
|
|
3413
3438
|
cancelable: !0
|
|
3414
|
-
},
|
|
3439
|
+
}, bs = /* @__PURE__ */ Z((e, t) => {
|
|
3415
3440
|
const { loop: n = !1, trapped: r = !1, onMountAutoFocus: o, onUnmountAutoFocus: i, ...a } = e, [s, c] = A(null), d = Xe(o), p = Xe(i), l = k(null), h = ke(
|
|
3416
3441
|
t,
|
|
3417
3442
|
(v) => c(v)
|
|
@@ -3464,7 +3489,7 @@ const wr = "focusScope.autoFocusOnMount", xr = "focusScope.autoFocusOnUnmount",
|
|
|
3464
3489
|
const v = document.activeElement;
|
|
3465
3490
|
if (!s.contains(v)) {
|
|
3466
3491
|
const g = new CustomEvent(wr, $i);
|
|
3467
|
-
s.addEventListener(wr, d), s.dispatchEvent(g), g.defaultPrevented || (vu(wu(
|
|
3492
|
+
s.addEventListener(wr, d), s.dispatchEvent(g), g.defaultPrevented || (vu(wu(ws(s)), {
|
|
3468
3493
|
select: !0
|
|
3469
3494
|
}), document.activeElement === v && Ke(s));
|
|
3470
3495
|
}
|
|
@@ -3516,13 +3541,13 @@ function vu(e, { select: t = !1 } = {}) {
|
|
|
3516
3541
|
return;
|
|
3517
3542
|
}
|
|
3518
3543
|
function mu(e) {
|
|
3519
|
-
const t =
|
|
3544
|
+
const t = ws(e), n = Ei(t, e), r = Ei(t.reverse(), e);
|
|
3520
3545
|
return [
|
|
3521
3546
|
n,
|
|
3522
3547
|
r
|
|
3523
3548
|
];
|
|
3524
3549
|
}
|
|
3525
|
-
function
|
|
3550
|
+
function ws(e) {
|
|
3526
3551
|
const t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
|
|
3527
3552
|
acceptNode: (r) => {
|
|
3528
3553
|
const o = r.tagName === "INPUT" && r.type === "hidden";
|
|
@@ -3588,7 +3613,7 @@ function wu(e) {
|
|
|
3588
3613
|
(t) => t.tagName !== "A"
|
|
3589
3614
|
);
|
|
3590
3615
|
}
|
|
3591
|
-
const
|
|
3616
|
+
const xs = /* @__PURE__ */ Z((e, t) => {
|
|
3592
3617
|
var n;
|
|
3593
3618
|
const { container: r = globalThis == null || (n = globalThis.document) === null || n === void 0 ? void 0 : n.body, ...o } = e;
|
|
3594
3619
|
return r ? /* @__PURE__ */ rn.createPortal(/* @__PURE__ */ C(nt.div, Y({}, o, {
|
|
@@ -3670,7 +3695,7 @@ function vn(e) {
|
|
|
3670
3695
|
return (e == null ? void 0 : e.animationName) || "none";
|
|
3671
3696
|
}
|
|
3672
3697
|
let $r = 0;
|
|
3673
|
-
function
|
|
3698
|
+
function $s() {
|
|
3674
3699
|
R(() => {
|
|
3675
3700
|
var e, t;
|
|
3676
3701
|
const n = document.querySelectorAll("[data-radix-focus-guard]");
|
|
@@ -3837,7 +3862,7 @@ function Nu(e) {
|
|
|
3837
3862
|
var t = Du(null);
|
|
3838
3863
|
return t.options = Mn({ async: !0, ssr: !1 }, e), t;
|
|
3839
3864
|
}
|
|
3840
|
-
var
|
|
3865
|
+
var Es = function(e) {
|
|
3841
3866
|
var t = e.sideCar, n = Pu(e, ["sideCar"]);
|
|
3842
3867
|
if (!t)
|
|
3843
3868
|
throw new Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
@@ -3846,11 +3871,11 @@ var ws = function(e) {
|
|
|
3846
3871
|
throw new Error("Sidecar medium not found");
|
|
3847
3872
|
return C(r, Mn({}, n));
|
|
3848
3873
|
};
|
|
3849
|
-
|
|
3874
|
+
Es.isSideCarExport = !0;
|
|
3850
3875
|
function Mu(e, t) {
|
|
3851
|
-
return e.useMedium(t),
|
|
3876
|
+
return e.useMedium(t), Es;
|
|
3852
3877
|
}
|
|
3853
|
-
var
|
|
3878
|
+
var Cs = Nu(), Cr = function() {
|
|
3854
3879
|
}, Gn = Z(function(e, t) {
|
|
3855
3880
|
var n = k(null), r = A({
|
|
3856
3881
|
onScrollCapture: Cr,
|
|
@@ -3860,7 +3885,7 @@ var xs = Nu(), Cr = function() {
|
|
|
3860
3885
|
return C(
|
|
3861
3886
|
I,
|
|
3862
3887
|
null,
|
|
3863
|
-
p && C(w, { sideCar:
|
|
3888
|
+
p && C(w, { sideCar: Cs, removeScrollBar: d, shards: l, noIsolation: f, inert: m, setCallbacks: i, allowPinchZoom: !!v, lockRef: n }),
|
|
3864
3889
|
a ? At(Oe.only(s), Ge(Ge({}, x), { ref: y })) : C(g, Ge({}, x, { className: c, ref: y }), s)
|
|
3865
3890
|
);
|
|
3866
3891
|
});
|
|
@@ -3913,7 +3938,7 @@ var Vu = function() {
|
|
|
3913
3938
|
};
|
|
3914
3939
|
}, [t && n]);
|
|
3915
3940
|
};
|
|
3916
|
-
},
|
|
3941
|
+
}, Ss = function() {
|
|
3917
3942
|
var e = Hu(), t = function(n) {
|
|
3918
3943
|
var r = n.styles, o = n.dynamic;
|
|
3919
3944
|
return e(r, o), null;
|
|
@@ -3939,7 +3964,7 @@ var Vu = function() {
|
|
|
3939
3964
|
right: t[2],
|
|
3940
3965
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
3941
3966
|
};
|
|
3942
|
-
}, Bu =
|
|
3967
|
+
}, Bu = Ss(), wt = "data-scroll-locked", qu = function(e, t, n, r) {
|
|
3943
3968
|
var o = e.left, i = e.top, a = e.right, s = e.gap;
|
|
3944
3969
|
return n === void 0 && (n = "margin"), `
|
|
3945
3970
|
.`.concat(Su, ` {
|
|
@@ -4014,7 +4039,7 @@ if (typeof window < "u")
|
|
|
4014
4039
|
}
|
|
4015
4040
|
var gt = Xr ? { passive: !1 } : !1, Yu = function(e) {
|
|
4016
4041
|
return e.tagName === "TEXTAREA";
|
|
4017
|
-
},
|
|
4042
|
+
}, Os = function(e, t) {
|
|
4018
4043
|
var n = window.getComputedStyle(e);
|
|
4019
4044
|
return (
|
|
4020
4045
|
// not-not-scrollable
|
|
@@ -4022,16 +4047,16 @@ var gt = Xr ? { passive: !1 } : !1, Yu = function(e) {
|
|
|
4022
4047
|
!(n.overflowY === n.overflowX && !Yu(e) && n[t] === "visible")
|
|
4023
4048
|
);
|
|
4024
4049
|
}, Zu = function(e) {
|
|
4025
|
-
return
|
|
4050
|
+
return Os(e, "overflowY");
|
|
4026
4051
|
}, Xu = function(e) {
|
|
4027
|
-
return
|
|
4052
|
+
return Os(e, "overflowX");
|
|
4028
4053
|
}, Pi = function(e, t) {
|
|
4029
4054
|
var n = t;
|
|
4030
4055
|
do {
|
|
4031
4056
|
typeof ShadowRoot < "u" && n instanceof ShadowRoot && (n = n.host);
|
|
4032
|
-
var r =
|
|
4057
|
+
var r = Ts(e, n);
|
|
4033
4058
|
if (r) {
|
|
4034
|
-
var o =
|
|
4059
|
+
var o = As(e, n), i = o[1], a = o[2];
|
|
4035
4060
|
if (i > a)
|
|
4036
4061
|
return !0;
|
|
4037
4062
|
}
|
|
@@ -4052,17 +4077,17 @@ var gt = Xr ? { passive: !1 } : !1, Yu = function(e) {
|
|
|
4052
4077
|
n,
|
|
4053
4078
|
r
|
|
4054
4079
|
];
|
|
4055
|
-
},
|
|
4080
|
+
}, Ts = function(e, t) {
|
|
4056
4081
|
return e === "v" ? Zu(t) : Xu(t);
|
|
4057
|
-
},
|
|
4082
|
+
}, As = function(e, t) {
|
|
4058
4083
|
return e === "v" ? Ju(t) : Qu(t);
|
|
4059
4084
|
}, ed = function(e, t) {
|
|
4060
4085
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
4061
4086
|
}, td = function(e, t, n, r, o) {
|
|
4062
4087
|
var i = ed(e, window.getComputedStyle(t).direction), a = i * r, s = n.target, c = t.contains(s), d = !1, p = a > 0, l = 0, h = 0;
|
|
4063
4088
|
do {
|
|
4064
|
-
var f =
|
|
4065
|
-
(m || g) &&
|
|
4089
|
+
var f = As(e, s), m = f[0], v = f[1], _ = f[2], g = v - _ - i * m;
|
|
4090
|
+
(m || g) && Ts(e, s) && (l += g, h += m), s = s.parentNode;
|
|
4066
4091
|
} while (
|
|
4067
4092
|
// portaled content
|
|
4068
4093
|
!c && s !== document.body || // self content
|
|
@@ -4085,7 +4110,7 @@ var gt = Xr ? { passive: !1 } : !1, Yu = function(e) {
|
|
|
4085
4110
|
}, od = 0, vt = [];
|
|
4086
4111
|
function id(e) {
|
|
4087
4112
|
var t = k([]), n = k([0, 0]), r = k(), o = A(od++)[0], i = A(function() {
|
|
4088
|
-
return
|
|
4113
|
+
return Ss();
|
|
4089
4114
|
})[0], a = k(e);
|
|
4090
4115
|
R(function() {
|
|
4091
4116
|
a.current = e;
|
|
@@ -4167,24 +4192,24 @@ function id(e) {
|
|
|
4167
4192
|
f ? C(Gu, { gapMode: "margin" }) : null
|
|
4168
4193
|
);
|
|
4169
4194
|
}
|
|
4170
|
-
const ad = Mu(
|
|
4171
|
-
var
|
|
4195
|
+
const ad = Mu(Cs, id);
|
|
4196
|
+
var ks = Z(function(e, t) {
|
|
4172
4197
|
return C(Gn, Ge({}, e, { ref: t, sideCar: ad }));
|
|
4173
4198
|
});
|
|
4174
|
-
|
|
4175
|
-
const
|
|
4199
|
+
ks.classNames = Gn.classNames;
|
|
4200
|
+
const Ps = ks;
|
|
4176
4201
|
var sd = function(e) {
|
|
4177
4202
|
if (typeof document > "u")
|
|
4178
4203
|
return null;
|
|
4179
4204
|
var t = Array.isArray(e) ? e[0] : e;
|
|
4180
4205
|
return t.ownerDocument.body;
|
|
4181
|
-
}, mt = /* @__PURE__ */ new WeakMap(), yn = /* @__PURE__ */ new WeakMap(), bn = {}, Or = 0,
|
|
4182
|
-
return e && (e.host ||
|
|
4206
|
+
}, mt = /* @__PURE__ */ new WeakMap(), yn = /* @__PURE__ */ new WeakMap(), bn = {}, Or = 0, Rs = function(e) {
|
|
4207
|
+
return e && (e.host || Rs(e.parentNode));
|
|
4183
4208
|
}, cd = function(e, t) {
|
|
4184
4209
|
return t.map(function(n) {
|
|
4185
4210
|
if (e.contains(n))
|
|
4186
4211
|
return n;
|
|
4187
|
-
var r =
|
|
4212
|
+
var r = Rs(n);
|
|
4188
4213
|
return r && e.contains(r) ? r : (console.error("aria-hidden", n, "in not contained inside", e, ". Doing nothing"), null);
|
|
4189
4214
|
}).filter(function(n) {
|
|
4190
4215
|
return !!n;
|
|
@@ -4215,15 +4240,15 @@ var sd = function(e) {
|
|
|
4215
4240
|
mt.set(l, h), i.set(l, f), h || (yn.has(l) || l.removeAttribute(r), yn.delete(l)), f || l.removeAttribute(n);
|
|
4216
4241
|
}), Or--, Or || (mt = /* @__PURE__ */ new WeakMap(), mt = /* @__PURE__ */ new WeakMap(), yn = /* @__PURE__ */ new WeakMap(), bn = {});
|
|
4217
4242
|
};
|
|
4218
|
-
},
|
|
4243
|
+
}, Ds = function(e, t, n) {
|
|
4219
4244
|
n === void 0 && (n = "data-aria-hidden");
|
|
4220
4245
|
var r = Array.from(Array.isArray(e) ? e : [e]), o = t || sd(e);
|
|
4221
4246
|
return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live], script"))), ld(r, o, n, "aria-hidden")) : function() {
|
|
4222
4247
|
return null;
|
|
4223
4248
|
};
|
|
4224
4249
|
};
|
|
4225
|
-
const
|
|
4226
|
-
const { __scopeDialog: t, children: n, open: r, defaultOpen: o, onOpenChange: i, modal: a = !0 } = e, s = k(null), c = k(null), [d = !1, p] =
|
|
4250
|
+
const Ns = "Dialog", [Ms, n_] = Oo(Ns), [ud, rt] = Ms(Ns), dd = (e) => {
|
|
4251
|
+
const { __scopeDialog: t, children: n, open: r, defaultOpen: o, onOpenChange: i, modal: a = !0 } = e, s = k(null), c = k(null), [d = !1, p] = ms({
|
|
4227
4252
|
prop: r,
|
|
4228
4253
|
defaultProp: o,
|
|
4229
4254
|
onChange: i
|
|
@@ -4259,10 +4284,10 @@ const Ps = "Dialog", [Rs, n_] = Oo(Ps), [ud, rt] = Rs(Ps), dd = (e) => {
|
|
|
4259
4284
|
ref: i,
|
|
4260
4285
|
onClick: xe(e.onClick, o.onOpenToggle)
|
|
4261
4286
|
}));
|
|
4262
|
-
}),
|
|
4287
|
+
}), Ls = "DialogPortal", [hd, Is] = Ms(Ls, {
|
|
4263
4288
|
forceMount: void 0
|
|
4264
4289
|
}), gd = (e) => {
|
|
4265
|
-
const { __scopeDialog: t, forceMount: n, children: r, container: o } = e, i = rt(
|
|
4290
|
+
const { __scopeDialog: t, forceMount: n, children: r, container: o } = e, i = rt(Ls, t);
|
|
4266
4291
|
return /* @__PURE__ */ C(hd, {
|
|
4267
4292
|
scope: t,
|
|
4268
4293
|
forceMount: n
|
|
@@ -4270,13 +4295,13 @@ const Ps = "Dialog", [Rs, n_] = Oo(Ps), [ud, rt] = Rs(Ps), dd = (e) => {
|
|
|
4270
4295
|
r,
|
|
4271
4296
|
(a) => /* @__PURE__ */ C(kt, {
|
|
4272
4297
|
present: n || i.open
|
|
4273
|
-
}, /* @__PURE__ */ C(
|
|
4298
|
+
}, /* @__PURE__ */ C(xs, {
|
|
4274
4299
|
asChild: !0,
|
|
4275
4300
|
container: o
|
|
4276
4301
|
}, a))
|
|
4277
4302
|
));
|
|
4278
4303
|
}, Jr = "DialogOverlay", vd = /* @__PURE__ */ Z((e, t) => {
|
|
4279
|
-
const n =
|
|
4304
|
+
const n = Is(Jr, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, i = rt(Jr, e.__scopeDialog);
|
|
4280
4305
|
return i.modal ? /* @__PURE__ */ C(kt, {
|
|
4281
4306
|
present: r || i.open
|
|
4282
4307
|
}, /* @__PURE__ */ C(md, Y({}, o, {
|
|
@@ -4287,7 +4312,7 @@ const Ps = "Dialog", [Rs, n_] = Oo(Ps), [ud, rt] = Rs(Ps), dd = (e) => {
|
|
|
4287
4312
|
return (
|
|
4288
4313
|
// Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
|
4289
4314
|
// ie. when `Overlay` and `Content` are siblings
|
|
4290
|
-
/* @__PURE__ */ C(
|
|
4315
|
+
/* @__PURE__ */ C(Ps, {
|
|
4291
4316
|
as: Kn,
|
|
4292
4317
|
allowPinchZoom: !0,
|
|
4293
4318
|
shards: [
|
|
@@ -4304,7 +4329,7 @@ const Ps = "Dialog", [Rs, n_] = Oo(Ps), [ud, rt] = Rs(Ps), dd = (e) => {
|
|
|
4304
4329
|
})))
|
|
4305
4330
|
);
|
|
4306
4331
|
}), Gt = "DialogContent", _d = /* @__PURE__ */ Z((e, t) => {
|
|
4307
|
-
const n =
|
|
4332
|
+
const n = Is(Gt, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, i = rt(Gt, e.__scopeDialog);
|
|
4308
4333
|
return /* @__PURE__ */ C(kt, {
|
|
4309
4334
|
present: r || i.open
|
|
4310
4335
|
}, i.modal ? /* @__PURE__ */ C(yd, Y({}, o, {
|
|
@@ -4317,8 +4342,8 @@ const Ps = "Dialog", [Rs, n_] = Oo(Ps), [ud, rt] = Rs(Ps), dd = (e) => {
|
|
|
4317
4342
|
return R(() => {
|
|
4318
4343
|
const i = r.current;
|
|
4319
4344
|
if (i)
|
|
4320
|
-
return
|
|
4321
|
-
}, []), /* @__PURE__ */ C(
|
|
4345
|
+
return Ds(i);
|
|
4346
|
+
}, []), /* @__PURE__ */ C(js, Y({}, e, {
|
|
4322
4347
|
ref: o,
|
|
4323
4348
|
trapFocus: n.open,
|
|
4324
4349
|
disableOutsidePointerEvents: !0,
|
|
@@ -4337,7 +4362,7 @@ const Ps = "Dialog", [Rs, n_] = Oo(Ps), [ud, rt] = Rs(Ps), dd = (e) => {
|
|
|
4337
4362
|
}));
|
|
4338
4363
|
}), bd = /* @__PURE__ */ Z((e, t) => {
|
|
4339
4364
|
const n = rt(Gt, e.__scopeDialog), r = k(!1), o = k(!1);
|
|
4340
|
-
return /* @__PURE__ */ C(
|
|
4365
|
+
return /* @__PURE__ */ C(js, Y({}, e, {
|
|
4341
4366
|
ref: t,
|
|
4342
4367
|
trapFocus: !1,
|
|
4343
4368
|
disableOutsidePointerEvents: !1,
|
|
@@ -4356,15 +4381,15 @@ const Ps = "Dialog", [Rs, n_] = Oo(Ps), [ud, rt] = Rs(Ps), dd = (e) => {
|
|
|
4356
4381
|
((s = n.triggerRef.current) === null || s === void 0 ? void 0 : s.contains(c)) && i.preventDefault(), i.detail.originalEvent.type === "focusin" && o.current && i.preventDefault();
|
|
4357
4382
|
}
|
|
4358
4383
|
}));
|
|
4359
|
-
}),
|
|
4384
|
+
}), js = /* @__PURE__ */ Z((e, t) => {
|
|
4360
4385
|
const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: i, ...a } = e, s = rt(Gt, n), c = k(null), d = ke(t, c);
|
|
4361
|
-
return
|
|
4386
|
+
return $s(), /* @__PURE__ */ C(I, null, /* @__PURE__ */ C(bs, {
|
|
4362
4387
|
asChild: !0,
|
|
4363
4388
|
loop: !0,
|
|
4364
4389
|
trapped: r,
|
|
4365
4390
|
onMountAutoFocus: o,
|
|
4366
4391
|
onUnmountAutoFocus: i
|
|
4367
|
-
}, /* @__PURE__ */ C(
|
|
4392
|
+
}, /* @__PURE__ */ C(_s, Y({
|
|
4368
4393
|
role: "dialog",
|
|
4369
4394
|
id: s.contentId,
|
|
4370
4395
|
"aria-describedby": s.descriptionId,
|
|
@@ -4457,7 +4482,7 @@ function Dd(e) {
|
|
|
4457
4482
|
...e
|
|
4458
4483
|
};
|
|
4459
4484
|
}
|
|
4460
|
-
function
|
|
4485
|
+
function Fs(e) {
|
|
4461
4486
|
return typeof e != "number" ? Dd(e) : {
|
|
4462
4487
|
top: e,
|
|
4463
4488
|
right: e,
|
|
@@ -4608,7 +4633,7 @@ async function Yt(e, t) {
|
|
|
4608
4633
|
elementContext: l = "floating",
|
|
4609
4634
|
altBoundary: h = !1,
|
|
4610
4635
|
padding: f = 0
|
|
4611
|
-
} = Ue(t, e), m =
|
|
4636
|
+
} = Ue(t, e), m = Fs(f), _ = s[h ? l === "floating" ? "reference" : "floating" : l], g = jn(await i.getClippingRect({
|
|
4612
4637
|
element: (n = await (i.isElement == null ? void 0 : i.isElement(_))) == null || n ? _ : _.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(s.floating)),
|
|
4613
4638
|
boundary: d,
|
|
4614
4639
|
rootBoundary: p,
|
|
@@ -4655,7 +4680,7 @@ const Md = (e) => ({
|
|
|
4655
4680
|
} = Ue(e, t) || {};
|
|
4656
4681
|
if (d == null)
|
|
4657
4682
|
return {};
|
|
4658
|
-
const l =
|
|
4683
|
+
const l = Fs(p), h = {
|
|
4659
4684
|
x: n,
|
|
4660
4685
|
y: r
|
|
4661
4686
|
}, f = Po(o), m = ko(f), v = await a.getDimensions(d), _ = f === "y", g = _ ? "top" : "left", b = _ ? "bottom" : "right", w = _ ? "clientHeight" : "clientWidth", y = i.reference[m] + i.reference[f] - h[f] - i.floating[m], x = h[f] - i.reference[f], $ = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(d));
|
|
@@ -4992,7 +5017,7 @@ const Fd = function(e) {
|
|
|
4992
5017
|
};
|
|
4993
5018
|
};
|
|
4994
5019
|
function Rt(e) {
|
|
4995
|
-
return
|
|
5020
|
+
return Vs(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
4996
5021
|
}
|
|
4997
5022
|
function de(e) {
|
|
4998
5023
|
var t;
|
|
@@ -5000,9 +5025,9 @@ function de(e) {
|
|
|
5000
5025
|
}
|
|
5001
5026
|
function ze(e) {
|
|
5002
5027
|
var t;
|
|
5003
|
-
return (t = (
|
|
5028
|
+
return (t = (Vs(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
|
5004
5029
|
}
|
|
5005
|
-
function
|
|
5030
|
+
function Vs(e) {
|
|
5006
5031
|
return e instanceof Node || e instanceof de(e).Node;
|
|
5007
5032
|
}
|
|
5008
5033
|
function $e(e) {
|
|
@@ -5080,14 +5105,14 @@ function et(e) {
|
|
|
5080
5105
|
);
|
|
5081
5106
|
return Ii(t) ? t.host : t;
|
|
5082
5107
|
}
|
|
5083
|
-
function
|
|
5108
|
+
function Hs(e) {
|
|
5084
5109
|
const t = et(e);
|
|
5085
|
-
return Tt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Te(t) && on(t) ? t :
|
|
5110
|
+
return Tt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Te(t) && on(t) ? t : Hs(t);
|
|
5086
5111
|
}
|
|
5087
5112
|
function Zt(e, t, n) {
|
|
5088
5113
|
var r;
|
|
5089
5114
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
5090
|
-
const o =
|
|
5115
|
+
const o = Hs(e), i = o === ((r = e.ownerDocument) == null ? void 0 : r.body), a = de(o);
|
|
5091
5116
|
if (i) {
|
|
5092
5117
|
const s = to(a);
|
|
5093
5118
|
return t.concat(a, a.visualViewport || [], on(o) ? o : [], s && n ? Zt(s) : []);
|
|
@@ -5097,7 +5122,7 @@ function Zt(e, t, n) {
|
|
|
5097
5122
|
function to(e) {
|
|
5098
5123
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
5099
5124
|
}
|
|
5100
|
-
function
|
|
5125
|
+
function Us(e) {
|
|
5101
5126
|
const t = Ee(e);
|
|
5102
5127
|
let n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0;
|
|
5103
5128
|
const o = Te(e), i = o ? e.offsetWidth : n, a = o ? e.offsetHeight : r, s = Ln(n) !== i || Ln(r) !== a;
|
|
@@ -5118,7 +5143,7 @@ function xt(e) {
|
|
|
5118
5143
|
width: r,
|
|
5119
5144
|
height: o,
|
|
5120
5145
|
$: i
|
|
5121
|
-
} =
|
|
5146
|
+
} = Us(t);
|
|
5122
5147
|
let a = (i ? Ln(n.width) : n.width) / r, s = (i ? Ln(n.height) : n.height) / o;
|
|
5123
5148
|
return (!a || !Number.isFinite(a)) && (a = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
5124
5149
|
x: a,
|
|
@@ -5126,7 +5151,7 @@ function xt(e) {
|
|
|
5126
5151
|
};
|
|
5127
5152
|
}
|
|
5128
5153
|
const Bd = /* @__PURE__ */ Je(0);
|
|
5129
|
-
function
|
|
5154
|
+
function Ws(e) {
|
|
5130
5155
|
const t = de(e);
|
|
5131
5156
|
return !Do() || !t.visualViewport ? Bd : {
|
|
5132
5157
|
x: t.visualViewport.offsetLeft,
|
|
@@ -5141,7 +5166,7 @@ function ft(e, t, n, r) {
|
|
|
5141
5166
|
const o = e.getBoundingClientRect(), i = No(e);
|
|
5142
5167
|
let a = Je(1);
|
|
5143
5168
|
t && (r ? $e(r) && (a = xt(r)) : a = xt(e));
|
|
5144
|
-
const s = qd(i, n, r) ?
|
|
5169
|
+
const s = qd(i, n, r) ? Ws(i) : Je(0);
|
|
5145
5170
|
let c = (o.left + s.x) / a.x, d = (o.top + s.y) / a.y, p = o.width / a.x, l = o.height / a.y;
|
|
5146
5171
|
if (i) {
|
|
5147
5172
|
const h = de(i), f = r && $e(r) ? de(r) : r;
|
|
@@ -5187,12 +5212,12 @@ function Kd(e) {
|
|
|
5187
5212
|
function Gd(e) {
|
|
5188
5213
|
return Array.from(e.getClientRects());
|
|
5189
5214
|
}
|
|
5190
|
-
function
|
|
5215
|
+
function zs(e) {
|
|
5191
5216
|
return ft(ze(e)).left + Zn(e).scrollLeft;
|
|
5192
5217
|
}
|
|
5193
5218
|
function Yd(e) {
|
|
5194
5219
|
const t = ze(e), n = Zn(e), r = e.ownerDocument.body, o = le(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), i = le(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
|
|
5195
|
-
let a = -n.scrollLeft +
|
|
5220
|
+
let a = -n.scrollLeft + zs(e);
|
|
5196
5221
|
const s = -n.scrollTop;
|
|
5197
5222
|
return Ee(r).direction === "rtl" && (a += le(t.clientWidth, r.clientWidth) - o), {
|
|
5198
5223
|
width: o,
|
|
@@ -5234,7 +5259,7 @@ function ji(e, t, n) {
|
|
|
5234
5259
|
else if ($e(t))
|
|
5235
5260
|
r = Xd(t, n);
|
|
5236
5261
|
else {
|
|
5237
|
-
const o =
|
|
5262
|
+
const o = Ws(e);
|
|
5238
5263
|
r = {
|
|
5239
5264
|
...t,
|
|
5240
5265
|
x: t.x - o.x,
|
|
@@ -5243,9 +5268,9 @@ function ji(e, t, n) {
|
|
|
5243
5268
|
}
|
|
5244
5269
|
return jn(r);
|
|
5245
5270
|
}
|
|
5246
|
-
function
|
|
5271
|
+
function Bs(e, t) {
|
|
5247
5272
|
const n = et(e);
|
|
5248
|
-
return n === t || !$e(n) || Tt(n) ? !1 : Ee(n).position === "fixed" ||
|
|
5273
|
+
return n === t || !$e(n) || Tt(n) ? !1 : Ee(n).position === "fixed" || Bs(n, t);
|
|
5249
5274
|
}
|
|
5250
5275
|
function Jd(e, t) {
|
|
5251
5276
|
const n = t.get(e);
|
|
@@ -5256,7 +5281,7 @@ function Jd(e, t) {
|
|
|
5256
5281
|
let a = i ? et(e) : e;
|
|
5257
5282
|
for (; $e(a) && !Tt(a); ) {
|
|
5258
5283
|
const s = Ee(a), c = Ro(a);
|
|
5259
|
-
!c && s.position === "fixed" && (o = null), (i ? !c && !o : !c && s.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || on(a) && !c &&
|
|
5284
|
+
!c && s.position === "fixed" && (o = null), (i ? !c && !o : !c && s.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || on(a) && !c && Bs(e, a)) ? r = r.filter((p) => p !== a) : o = s, a = et(a);
|
|
5260
5285
|
}
|
|
5261
5286
|
return t.set(e, r), r;
|
|
5262
5287
|
}
|
|
@@ -5282,7 +5307,7 @@ function ef(e) {
|
|
|
5282
5307
|
const {
|
|
5283
5308
|
width: t,
|
|
5284
5309
|
height: n
|
|
5285
|
-
} =
|
|
5310
|
+
} = Us(e);
|
|
5286
5311
|
return {
|
|
5287
5312
|
width: t,
|
|
5288
5313
|
height: n
|
|
@@ -5300,7 +5325,7 @@ function tf(e, t, n) {
|
|
|
5300
5325
|
const l = ft(t, !0, i, t);
|
|
5301
5326
|
c.x = l.x + t.clientLeft, c.y = l.y + t.clientTop;
|
|
5302
5327
|
} else
|
|
5303
|
-
o && (c.x =
|
|
5328
|
+
o && (c.x = zs(o));
|
|
5304
5329
|
const d = a.left + s.scrollLeft - c.x, p = a.top + s.scrollTop - c.y;
|
|
5305
5330
|
return {
|
|
5306
5331
|
x: d,
|
|
@@ -5315,7 +5340,7 @@ function Tr(e) {
|
|
|
5315
5340
|
function Fi(e, t) {
|
|
5316
5341
|
return !Te(e) || Ee(e).position === "fixed" ? null : t ? t(e) : e.offsetParent;
|
|
5317
5342
|
}
|
|
5318
|
-
function
|
|
5343
|
+
function qs(e, t) {
|
|
5319
5344
|
const n = de(e);
|
|
5320
5345
|
if (Yn(e))
|
|
5321
5346
|
return n;
|
|
@@ -5334,7 +5359,7 @@ function Ws(e, t) {
|
|
|
5334
5359
|
return r && Tt(r) && Tr(r) && !Ro(r) ? n : r || zd(e) || n;
|
|
5335
5360
|
}
|
|
5336
5361
|
const nf = async function(e) {
|
|
5337
|
-
const t = this.getOffsetParent ||
|
|
5362
|
+
const t = this.getOffsetParent || qs, n = this.getDimensions, r = await n(e.floating);
|
|
5338
5363
|
return {
|
|
5339
5364
|
reference: tf(e.reference, await t(e.floating), e.strategy),
|
|
5340
5365
|
floating: {
|
|
@@ -5352,7 +5377,7 @@ const of = {
|
|
|
5352
5377
|
convertOffsetParentRelativeRectToViewportRelativeRect: Kd,
|
|
5353
5378
|
getDocumentElement: ze,
|
|
5354
5379
|
getClippingRect: Qd,
|
|
5355
|
-
getOffsetParent:
|
|
5380
|
+
getOffsetParent: qs,
|
|
5356
5381
|
getElementRects: nf,
|
|
5357
5382
|
getClientRects: Gd,
|
|
5358
5383
|
getDimensions: ef,
|
|
@@ -5487,11 +5512,11 @@ function Fn(e, t) {
|
|
|
5487
5512
|
}
|
|
5488
5513
|
return e !== e && t !== t;
|
|
5489
5514
|
}
|
|
5490
|
-
function
|
|
5515
|
+
function Ks(e) {
|
|
5491
5516
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
5492
5517
|
}
|
|
5493
5518
|
function Hi(e, t) {
|
|
5494
|
-
const n =
|
|
5519
|
+
const n = Ks(e);
|
|
5495
5520
|
return Math.round(t * n) / n;
|
|
5496
5521
|
}
|
|
5497
5522
|
function Ui(e) {
|
|
@@ -5581,7 +5606,7 @@ function gf(e) {
|
|
|
5581
5606
|
return s ? {
|
|
5582
5607
|
...F,
|
|
5583
5608
|
transform: "translate(" + W + "px, " + X + "px)",
|
|
5584
|
-
...
|
|
5609
|
+
...Ks(M.floating) >= 1.5 && {
|
|
5585
5610
|
willChange: "transform"
|
|
5586
5611
|
}
|
|
5587
5612
|
} : {
|
|
@@ -5673,7 +5698,7 @@ function Ef(e) {
|
|
|
5673
5698
|
e
|
|
5674
5699
|
]), t;
|
|
5675
5700
|
}
|
|
5676
|
-
const
|
|
5701
|
+
const Gs = "Popper", [Ys, Zs] = Oo(Gs), [Cf, Xs] = Ys(Gs), Sf = (e) => {
|
|
5677
5702
|
const { __scopePopper: t, children: n } = e, [r, o] = A(null);
|
|
5678
5703
|
return /* @__PURE__ */ C(Cf, {
|
|
5679
5704
|
scope: t,
|
|
@@ -5681,15 +5706,15 @@ const Bs = "Popper", [qs, Ks] = Oo(Bs), [Cf, Gs] = qs(Bs), Sf = (e) => {
|
|
|
5681
5706
|
onAnchorChange: o
|
|
5682
5707
|
}, n);
|
|
5683
5708
|
}, Of = "PopperAnchor", Tf = /* @__PURE__ */ Z((e, t) => {
|
|
5684
|
-
const { __scopePopper: n, virtualRef: r, ...o } = e, i =
|
|
5709
|
+
const { __scopePopper: n, virtualRef: r, ...o } = e, i = Xs(Of, n), a = k(null), s = ke(t, a);
|
|
5685
5710
|
return R(() => {
|
|
5686
5711
|
i.onAnchorChange((r == null ? void 0 : r.current) || a.current);
|
|
5687
5712
|
}), r ? null : /* @__PURE__ */ C(nt.div, Y({}, o, {
|
|
5688
5713
|
ref: s
|
|
5689
5714
|
}));
|
|
5690
|
-
}),
|
|
5715
|
+
}), Js = "PopperContent", [Af, r_] = Ys(Js), kf = /* @__PURE__ */ Z((e, t) => {
|
|
5691
5716
|
var n, r, o, i, a, s, c, d;
|
|
5692
|
-
const { __scopePopper: p, side: l = "bottom", sideOffset: h = 0, align: f = "center", alignOffset: m = 0, arrowPadding: v = 0, avoidCollisions: _ = !0, collisionBoundary: g = [], collisionPadding: b = 0, sticky: w = "partial", hideWhenDetached: y = !1, updatePositionStrategy: x = "optimized", onPlaced: $, ...S } = e, E =
|
|
5717
|
+
const { __scopePopper: p, side: l = "bottom", sideOffset: h = 0, align: f = "center", alignOffset: m = 0, arrowPadding: v = 0, avoidCollisions: _ = !0, collisionBoundary: g = [], collisionPadding: b = 0, sticky: w = "partial", hideWhenDetached: y = !1, updatePositionStrategy: x = "optimized", onPlaced: $, ...S } = e, E = Xs(Js, p), [O, P] = A(null), L = ke(
|
|
5693
5718
|
t,
|
|
5694
5719
|
(q) => P(q)
|
|
5695
5720
|
), [D, V] = A(null), T = Ef(D), M = (n = T == null ? void 0 : T.width) !== null && n !== void 0 ? n : 0, j = (r = T == null ? void 0 : T.height) !== null && r !== void 0 ? r : 0, F = l + (f !== "center" ? "-" + f : ""), W = typeof b == "number" ? b : {
|
|
@@ -5700,7 +5725,7 @@ const Bs = "Popper", [qs, Ks] = Oo(Bs), [Cf, Gs] = qs(Bs), Sf = (e) => {
|
|
|
5700
5725
|
...b
|
|
5701
5726
|
}, X = Array.isArray(g) ? g : [
|
|
5702
5727
|
g
|
|
5703
|
-
], It = X.length > 0,
|
|
5728
|
+
], It = X.length > 0, _e = {
|
|
5704
5729
|
padding: W,
|
|
5705
5730
|
boundary: X.filter(Pf),
|
|
5706
5731
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
@@ -5724,16 +5749,16 @@ const Bs = "Popper", [qs, Ks] = Oo(Bs), [Cf, Gs] = qs(Bs), Sf = (e) => {
|
|
|
5724
5749
|
mainAxis: !0,
|
|
5725
5750
|
crossAxis: !1,
|
|
5726
5751
|
limiter: w === "partial" ? yf() : void 0,
|
|
5727
|
-
...
|
|
5752
|
+
..._e
|
|
5728
5753
|
}),
|
|
5729
5754
|
_ && bf({
|
|
5730
|
-
...
|
|
5755
|
+
..._e
|
|
5731
5756
|
}),
|
|
5732
5757
|
wf({
|
|
5733
|
-
...
|
|
5758
|
+
..._e,
|
|
5734
5759
|
apply: ({ elements: q, rects: ce, availableWidth: qe, availableHeight: te }) => {
|
|
5735
|
-
const { width: re, height:
|
|
5736
|
-
at.setProperty("--radix-popper-available-width", `${qe}px`), at.setProperty("--radix-popper-available-height", `${te}px`), at.setProperty("--radix-popper-anchor-width", `${re}px`), at.setProperty("--radix-popper-anchor-height", `${
|
|
5760
|
+
const { width: re, height: ye } = ce.reference, at = q.floating.style;
|
|
5761
|
+
at.setProperty("--radix-popper-available-width", `${qe}px`), at.setProperty("--radix-popper-available-height", `${te}px`), at.setProperty("--radix-popper-anchor-width", `${re}px`), at.setProperty("--radix-popper-anchor-height", `${ye}px`);
|
|
5737
5762
|
}
|
|
5738
5763
|
}),
|
|
5739
5764
|
D && $f({
|
|
@@ -5746,10 +5771,10 @@ const Bs = "Popper", [qs, Ks] = Oo(Bs), [Cf, Gs] = qs(Bs), Sf = (e) => {
|
|
|
5746
5771
|
}),
|
|
5747
5772
|
y && xf({
|
|
5748
5773
|
strategy: "referenceHidden",
|
|
5749
|
-
...
|
|
5774
|
+
..._e
|
|
5750
5775
|
})
|
|
5751
5776
|
]
|
|
5752
|
-
}), [jt, rr] =
|
|
5777
|
+
}), [jt, rr] = Qs(sn), ht = Xe($);
|
|
5753
5778
|
Ot(() => {
|
|
5754
5779
|
Pe && (ht == null || ht());
|
|
5755
5780
|
}, [
|
|
@@ -5806,7 +5831,7 @@ const Rf = (e) => ({
|
|
|
5806
5831
|
options: e,
|
|
5807
5832
|
fn(t) {
|
|
5808
5833
|
var n, r, o, i, a;
|
|
5809
|
-
const { placement: s, rects: c, middlewareData: d } = t, l = ((n = d.arrow) === null || n === void 0 ? void 0 : n.centerOffset) !== 0, h = l ? 0 : e.arrowWidth, f = l ? 0 : e.arrowHeight, [m, v] =
|
|
5834
|
+
const { placement: s, rects: c, middlewareData: d } = t, l = ((n = d.arrow) === null || n === void 0 ? void 0 : n.centerOffset) !== 0, h = l ? 0 : e.arrowWidth, f = l ? 0 : e.arrowHeight, [m, v] = Qs(s), _ = {
|
|
5810
5835
|
start: "0%",
|
|
5811
5836
|
center: "50%",
|
|
5812
5837
|
end: "100%"
|
|
@@ -5820,17 +5845,17 @@ const Rf = (e) => ({
|
|
|
5820
5845
|
};
|
|
5821
5846
|
}
|
|
5822
5847
|
});
|
|
5823
|
-
function
|
|
5848
|
+
function Qs(e) {
|
|
5824
5849
|
const [t, n = "center"] = e.split("-");
|
|
5825
5850
|
return [
|
|
5826
5851
|
t,
|
|
5827
5852
|
n
|
|
5828
5853
|
];
|
|
5829
5854
|
}
|
|
5830
|
-
const Df = Sf, Nf = Tf, Mf = kf,
|
|
5831
|
-
|
|
5832
|
-
]), Mo =
|
|
5833
|
-
const { __scopePopover: t, children: n, open: r, defaultOpen: o, onOpenChange: i, modal: a = !1 } = e, s = Mo(t), c = k(null), [d, p] = A(!1), [l = !1, h] =
|
|
5855
|
+
const Df = Sf, Nf = Tf, Mf = kf, ec = "Popover", [tc, o_] = Oo(ec, [
|
|
5856
|
+
Zs
|
|
5857
|
+
]), Mo = Zs(), [Lf, Dt] = tc(ec), If = (e) => {
|
|
5858
|
+
const { __scopePopover: t, children: n, open: r, defaultOpen: o, onOpenChange: i, modal: a = !1 } = e, s = Mo(t), c = k(null), [d, p] = A(!1), [l = !1, h] = ms({
|
|
5834
5859
|
prop: r,
|
|
5835
5860
|
defaultProp: o,
|
|
5836
5861
|
onChange: i
|
|
@@ -5866,7 +5891,7 @@ const Df = Sf, Nf = Tf, Mf = kf, Xs = "Popover", [Js, o_] = Oo(Xs, [
|
|
|
5866
5891
|
"aria-haspopup": "dialog",
|
|
5867
5892
|
"aria-expanded": o.open,
|
|
5868
5893
|
"aria-controls": o.contentId,
|
|
5869
|
-
"data-state":
|
|
5894
|
+
"data-state": oc(o.open)
|
|
5870
5895
|
}, r, {
|
|
5871
5896
|
ref: a,
|
|
5872
5897
|
onClick: xe(e.onClick, o.onOpenToggle)
|
|
@@ -5874,16 +5899,16 @@ const Df = Sf, Nf = Tf, Mf = kf, Xs = "Popover", [Js, o_] = Oo(Xs, [
|
|
|
5874
5899
|
return o.hasCustomAnchor ? s : /* @__PURE__ */ C(Nf, Y({
|
|
5875
5900
|
asChild: !0
|
|
5876
5901
|
}, i), s);
|
|
5877
|
-
}),
|
|
5902
|
+
}), nc = "PopoverPortal", [Vf, Hf] = tc(nc, {
|
|
5878
5903
|
forceMount: void 0
|
|
5879
5904
|
}), Uf = (e) => {
|
|
5880
|
-
const { __scopePopover: t, forceMount: n, children: r, container: o } = e, i = Dt(
|
|
5905
|
+
const { __scopePopover: t, forceMount: n, children: r, container: o } = e, i = Dt(nc, t);
|
|
5881
5906
|
return /* @__PURE__ */ C(Vf, {
|
|
5882
5907
|
scope: t,
|
|
5883
5908
|
forceMount: n
|
|
5884
5909
|
}, /* @__PURE__ */ C(kt, {
|
|
5885
5910
|
present: n || i.open
|
|
5886
|
-
}, /* @__PURE__ */ C(
|
|
5911
|
+
}, /* @__PURE__ */ C(xs, {
|
|
5887
5912
|
asChild: !0,
|
|
5888
5913
|
container: o
|
|
5889
5914
|
}, r)));
|
|
@@ -5901,11 +5926,11 @@ const Df = Sf, Nf = Tf, Mf = kf, Xs = "Popover", [Js, o_] = Oo(Xs, [
|
|
|
5901
5926
|
return R(() => {
|
|
5902
5927
|
const a = r.current;
|
|
5903
5928
|
if (a)
|
|
5904
|
-
return
|
|
5905
|
-
}, []), /* @__PURE__ */ C(
|
|
5929
|
+
return Ds(a);
|
|
5930
|
+
}, []), /* @__PURE__ */ C(Ps, {
|
|
5906
5931
|
as: Kn,
|
|
5907
5932
|
allowPinchZoom: !0
|
|
5908
|
-
}, /* @__PURE__ */ C(
|
|
5933
|
+
}, /* @__PURE__ */ C(rc, Y({}, e, {
|
|
5909
5934
|
ref: o,
|
|
5910
5935
|
trapFocus: n.open,
|
|
5911
5936
|
disableOutsidePointerEvents: !0,
|
|
@@ -5929,7 +5954,7 @@ const Df = Sf, Nf = Tf, Mf = kf, Xs = "Popover", [Js, o_] = Oo(Xs, [
|
|
|
5929
5954
|
})));
|
|
5930
5955
|
}), Bf = /* @__PURE__ */ Z((e, t) => {
|
|
5931
5956
|
const n = Dt(Xt, e.__scopePopover), r = k(!1), o = k(!1);
|
|
5932
|
-
return /* @__PURE__ */ C(
|
|
5957
|
+
return /* @__PURE__ */ C(rc, Y({}, e, {
|
|
5933
5958
|
ref: t,
|
|
5934
5959
|
trapFocus: !1,
|
|
5935
5960
|
disableOutsidePointerEvents: !1,
|
|
@@ -5948,15 +5973,15 @@ const Df = Sf, Nf = Tf, Mf = kf, Xs = "Popover", [Js, o_] = Oo(Xs, [
|
|
|
5948
5973
|
((s = n.triggerRef.current) === null || s === void 0 ? void 0 : s.contains(c)) && i.preventDefault(), i.detail.originalEvent.type === "focusin" && o.current && i.preventDefault();
|
|
5949
5974
|
}
|
|
5950
5975
|
}));
|
|
5951
|
-
}),
|
|
5976
|
+
}), rc = /* @__PURE__ */ Z((e, t) => {
|
|
5952
5977
|
const { __scopePopover: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: i, disableOutsidePointerEvents: a, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: d, onInteractOutside: p, ...l } = e, h = Dt(Xt, n), f = Mo(n);
|
|
5953
|
-
return
|
|
5978
|
+
return $s(), /* @__PURE__ */ C(bs, {
|
|
5954
5979
|
asChild: !0,
|
|
5955
5980
|
loop: !0,
|
|
5956
5981
|
trapped: r,
|
|
5957
5982
|
onMountAutoFocus: o,
|
|
5958
5983
|
onUnmountAutoFocus: i
|
|
5959
|
-
}, /* @__PURE__ */ C(
|
|
5984
|
+
}, /* @__PURE__ */ C(_s, {
|
|
5960
5985
|
asChild: !0,
|
|
5961
5986
|
disableOutsidePointerEvents: a,
|
|
5962
5987
|
onInteractOutside: p,
|
|
@@ -5965,7 +5990,7 @@ const Df = Sf, Nf = Tf, Mf = kf, Xs = "Popover", [Js, o_] = Oo(Xs, [
|
|
|
5965
5990
|
onFocusOutside: d,
|
|
5966
5991
|
onDismiss: () => h.onOpenChange(!1)
|
|
5967
5992
|
}, /* @__PURE__ */ C(Mf, Y({
|
|
5968
|
-
"data-state":
|
|
5993
|
+
"data-state": oc(h.open),
|
|
5969
5994
|
role: "dialog",
|
|
5970
5995
|
id: h.contentId
|
|
5971
5996
|
}, f, l, {
|
|
@@ -5980,7 +6005,7 @@ const Df = Sf, Nf = Tf, Mf = kf, Xs = "Popover", [Js, o_] = Oo(Xs, [
|
|
|
5980
6005
|
}
|
|
5981
6006
|
}))));
|
|
5982
6007
|
});
|
|
5983
|
-
function
|
|
6008
|
+
function oc(e) {
|
|
5984
6009
|
return e ? "open" : "closed";
|
|
5985
6010
|
}
|
|
5986
6011
|
const qf = If, Kf = Ff, Gf = Uf, Yf = Wf, Wi = (e) => {
|
|
@@ -6007,7 +6032,7 @@ const qf = If, Kf = Ff, Gf = Uf, Yf = Wf, Wi = (e) => {
|
|
|
6007
6032
|
break;
|
|
6008
6033
|
}
|
|
6009
6034
|
return t.order === "descending" && n.reverse(), n;
|
|
6010
|
-
}, an =
|
|
6035
|
+
}, an = me({
|
|
6011
6036
|
base: "fr bg-lowest caret-accent-11 selection:bg-accent-4 selection:text-accent-12 placeholder:text-copy-neutral placeholder:opacity-30 ring-width-section ease-expo-out duration-snappy transition-all disabled:opacity-50 rounded-input font-style-input text-style-input font-weight-input",
|
|
6012
6037
|
variants: {
|
|
6013
6038
|
hasValue: {
|
|
@@ -6023,7 +6048,7 @@ const qf = If, Kf = Ff, Gf = Uf, Yf = Wf, Wi = (e) => {
|
|
|
6023
6048
|
size: "md",
|
|
6024
6049
|
hasValue: !1
|
|
6025
6050
|
}
|
|
6026
|
-
}),
|
|
6051
|
+
}), ic = me({
|
|
6027
6052
|
base: "flex-1 gutter-stable group/filter flex-col p-2 bg-app flex max-w-full overflow-y-auto items-stretch",
|
|
6028
6053
|
variants: {
|
|
6029
6054
|
ring: {
|
|
@@ -6034,7 +6059,7 @@ const qf = If, Kf = Ff, Gf = Uf, Yf = Wf, Wi = (e) => {
|
|
|
6034
6059
|
defaultVariants: {
|
|
6035
6060
|
ring: "default"
|
|
6036
6061
|
}
|
|
6037
|
-
}),
|
|
6062
|
+
}), ac = me({
|
|
6038
6063
|
base: "max-w-full origin-top group/tag ease-expo-out transition-all duration-snappy",
|
|
6039
6064
|
variants: {
|
|
6040
6065
|
type: {
|
|
@@ -6042,7 +6067,7 @@ const qf = If, Kf = Ff, Gf = Uf, Yf = Wf, Wi = (e) => {
|
|
|
6042
6067
|
line: "[&:not(:last-child)]:border-b-px border-neutral-2 has-[[data-current-value=true]]:border-b-accent-3"
|
|
6043
6068
|
}
|
|
6044
6069
|
}
|
|
6045
|
-
}),
|
|
6070
|
+
}), sc = me({
|
|
6046
6071
|
base: "cursor-pointer flex fr gap-2 font-style-tag pointer-fine:group-[&:first-child]/filter:group-[&:first-child]/tag:rounded-t-tag py-2.5 px-2.5 font-family-tag font-weight-tag text-style-tag focus:relative w-full justify-between",
|
|
6047
6072
|
variants: {
|
|
6048
6073
|
active: {
|
|
@@ -6065,7 +6090,7 @@ const qf = If, Kf = Ff, Gf = Uf, Yf = Wf, Wi = (e) => {
|
|
|
6065
6090
|
disabled: !1,
|
|
6066
6091
|
active: !1
|
|
6067
6092
|
}
|
|
6068
|
-
}), Xf =
|
|
6093
|
+
}), Xf = me({
|
|
6069
6094
|
base: "rounded-job-tag inline-block px-1 border-solid border-px ease-expo-out transition-all duration-snappy",
|
|
6070
6095
|
variants: {
|
|
6071
6096
|
colorScheme: {
|
|
@@ -6109,7 +6134,7 @@ const qf = If, Kf = Ff, Gf = Uf, Yf = Wf, Wi = (e) => {
|
|
|
6109
6134
|
default:
|
|
6110
6135
|
yt(s);
|
|
6111
6136
|
}
|
|
6112
|
-
}, [s, t.key]), d =
|
|
6137
|
+
}, [s, t.key]), d = cc(e), p = d.length > 0, [l, h] = A();
|
|
6113
6138
|
return /* @__PURE__ */ u("div", { class: "theme-fill:bg-neutral-1 flex min-h-0 w-full flex-1 flex-col", children: [
|
|
6114
6139
|
t.searchable && /* @__PURE__ */ u("div", { class: "border-b-px border-neutral-4", children: /* @__PURE__ */ u(
|
|
6115
6140
|
"input",
|
|
@@ -6163,12 +6188,12 @@ const qf = If, Kf = Ff, Gf = Uf, Yf = Wf, Wi = (e) => {
|
|
|
6163
6188
|
v.push(b);
|
|
6164
6189
|
}
|
|
6165
6190
|
}
|
|
6166
|
-
return v.find((g) => !g.disabled) ? /* @__PURE__ */ u("ul", { class:
|
|
6191
|
+
return v.find((g) => !g.disabled) ? /* @__PURE__ */ u("ul", { class: ic(), children: Zf(v, t.sortSuggestions).map((g) => {
|
|
6167
6192
|
const b = d.includes(g.value);
|
|
6168
6193
|
return /* @__PURE__ */ u(
|
|
6169
6194
|
"li",
|
|
6170
6195
|
{
|
|
6171
|
-
class:
|
|
6196
|
+
class: ac({
|
|
6172
6197
|
type: "line"
|
|
6173
6198
|
}),
|
|
6174
6199
|
children: /* @__PURE__ */ u(
|
|
@@ -6198,7 +6223,7 @@ const qf = If, Kf = Ff, Gf = Uf, Yf = Wf, Wi = (e) => {
|
|
|
6198
6223
|
yt(e);
|
|
6199
6224
|
}
|
|
6200
6225
|
},
|
|
6201
|
-
class:
|
|
6226
|
+
class: sc({
|
|
6202
6227
|
active: b,
|
|
6203
6228
|
disabled: g.disabled
|
|
6204
6229
|
}),
|
|
@@ -6269,7 +6294,7 @@ const qf = If, Kf = Ff, Gf = Uf, Yf = Wf, Wi = (e) => {
|
|
|
6269
6294
|
pay_max: "pay",
|
|
6270
6295
|
pay_min: "pay",
|
|
6271
6296
|
pay_type: "pay"
|
|
6272
|
-
}, qi =
|
|
6297
|
+
}, qi = me({
|
|
6273
6298
|
base: "theme-fill:fr theme-fill:bg-neutral-2 theme-fill:hover:bg-neutral-3 theme-stroke:fr theme-stroke:hover:fr theme-stroke:ring-px theme-stroke:bg-lowest theme-stroke:ring-neutral-4 theme-stroke:hover:ring-neutral-6 group relative flex cursor-pointer select-none items-center gap-1.5 py-2.5 pl-3.5 pr-3 font-style-filter font-family-filter font-weight-filter text-style-filter duration-snappy outline-none ijs-filter flex-shrink-0 min-w-0 theme-rounded:rounded-md theme-soft:rounded-sm transition-all ease-expo-out active:scale-[0.975] origin-[50%_1.75rem]",
|
|
6274
6299
|
variants: {
|
|
6275
6300
|
state: {
|
|
@@ -6277,7 +6302,7 @@ const qf = If, Kf = Ff, Gf = Uf, Yf = Wf, Wi = (e) => {
|
|
|
6277
6302
|
active: "text-copy-neutral"
|
|
6278
6303
|
}
|
|
6279
6304
|
}
|
|
6280
|
-
}), Ki =
|
|
6305
|
+
}), Ki = me({
|
|
6281
6306
|
base: "bg-lowest isolate z-50 flex flex-col overflow-hidden ring-neutral-4 ring-px",
|
|
6282
6307
|
variants: {
|
|
6283
6308
|
mode: {
|
|
@@ -6285,7 +6310,7 @@ const qf = If, Kf = Ff, Gf = Uf, Yf = Wf, Wi = (e) => {
|
|
|
6285
6310
|
desktop: "min-w-64 max-w-xs max-h-[--radix-popover-content-available-height] rounded-section animate-slideDownFade data-[side=top]:animate-slideUpFade shadow-lg"
|
|
6286
6311
|
}
|
|
6287
6312
|
}
|
|
6288
|
-
}),
|
|
6313
|
+
}), cc = (e) => typeof e.value == "string" ? [e.value] : e.value ?? [], rp = ({ selectedValues: e }) => {
|
|
6289
6314
|
const t = e.length;
|
|
6290
6315
|
return t === 0 ? null : /* @__PURE__ */ u(
|
|
6291
6316
|
"span",
|
|
@@ -6307,7 +6332,7 @@ const qf = If, Kf = Ff, Gf = Uf, Yf = Wf, Wi = (e) => {
|
|
|
6307
6332
|
theme: s,
|
|
6308
6333
|
widgetId: c
|
|
6309
6334
|
}) => {
|
|
6310
|
-
const d =
|
|
6335
|
+
const d = wc(r.key, Bi) ? Bi[r.key] : void 0, p = r.icon ?? d ?? "filter", l = cc(t), h = l.length > 0, f = gs("(pointer: coarse)"), m = /* @__PURE__ */ u(I, { children: [
|
|
6311
6336
|
/* @__PURE__ */ u("div", { class: "flex min-w-0 flex-1 items-center gap-1.5", children: [
|
|
6312
6337
|
/* @__PURE__ */ u(ee, { "aria-hidden": !0, class: "flex-none", name: p }),
|
|
6313
6338
|
/* @__PURE__ */ u("span", { class: "truncate", children: r.label })
|
|
@@ -6444,7 +6469,7 @@ const ap = (e, t) => {
|
|
|
6444
6469
|
), h = en(
|
|
6445
6470
|
Kt(
|
|
6446
6471
|
Gr({ state: l, baseKey: "filters" }),
|
|
6447
|
-
() => Yo({ rpcClient: o, state: l }),
|
|
6472
|
+
() => Yo({ rpcClient: o, state: l, t: c }),
|
|
6448
6473
|
Rn
|
|
6449
6474
|
)
|
|
6450
6475
|
), f = U(
|
|
@@ -6455,11 +6480,11 @@ const ap = (e, t) => {
|
|
|
6455
6480
|
};
|
|
6456
6481
|
return Kt(
|
|
6457
6482
|
Gr({ state: v, baseKey: "filters" }),
|
|
6458
|
-
() => Yo({ rpcClient: o, state: v }),
|
|
6483
|
+
() => Yo({ rpcClient: o, state: v, t: c }),
|
|
6459
6484
|
Rn
|
|
6460
6485
|
);
|
|
6461
6486
|
},
|
|
6462
|
-
[o, l.filters, t]
|
|
6487
|
+
[o, l.filters, t, c]
|
|
6463
6488
|
);
|
|
6464
6489
|
return h.queryState === "error" ? /* @__PURE__ */ u(
|
|
6465
6490
|
Ze,
|
|
@@ -6519,7 +6544,7 @@ var bp = yp, wp = bp, xp = /^\s+/;
|
|
|
6519
6544
|
function $p(e) {
|
|
6520
6545
|
return e && e.slice(0, wp(e) + 1).replace(xp, "");
|
|
6521
6546
|
}
|
|
6522
|
-
var Ep = $p, Cp = Jn, Sp = Cp.Symbol, Lo = Sp, Gi = Lo,
|
|
6547
|
+
var Ep = $p, Cp = Jn, Sp = Cp.Symbol, Lo = Sp, Gi = Lo, lc = Object.prototype, Op = lc.hasOwnProperty, Tp = lc.toString, Vt = Gi ? Gi.toStringTag : void 0;
|
|
6523
6548
|
function Ap(e) {
|
|
6524
6549
|
var t = Op.call(e, Vt), n = e[Vt];
|
|
6525
6550
|
try {
|
|
@@ -6538,11 +6563,11 @@ var Np = Dp, Yi = Lo, Mp = kp, Lp = Np, Ip = "[object Null]", jp = "[object Unde
|
|
|
6538
6563
|
function Fp(e) {
|
|
6539
6564
|
return e == null ? e === void 0 ? jp : Ip : Zi && Zi in Object(e) ? Mp(e) : Lp(e);
|
|
6540
6565
|
}
|
|
6541
|
-
var
|
|
6566
|
+
var uc = Fp;
|
|
6542
6567
|
function Vp(e) {
|
|
6543
6568
|
return e != null && typeof e == "object";
|
|
6544
6569
|
}
|
|
6545
|
-
var Hp = Vp, Up =
|
|
6570
|
+
var Hp = Vp, Up = uc, Wp = Hp, zp = "[object Symbol]";
|
|
6546
6571
|
function Bp(e) {
|
|
6547
6572
|
return typeof e == "symbol" || Wp(e) && Up(e) == zp;
|
|
6548
6573
|
}
|
|
@@ -6611,7 +6636,7 @@ function oh(e, t, n) {
|
|
|
6611
6636
|
return x.cancel = w, x.flush = y, x;
|
|
6612
6637
|
}
|
|
6613
6638
|
var ih = oh;
|
|
6614
|
-
const ah = /* @__PURE__ */
|
|
6639
|
+
const ah = /* @__PURE__ */ os(ih), no = "|", sh = (e, t) => {
|
|
6615
6640
|
const n = structuredClone(e);
|
|
6616
6641
|
return n.forEach((r) => {
|
|
6617
6642
|
if (t.has(r.key)) {
|
|
@@ -6755,7 +6780,7 @@ const ah = /* @__PURE__ */ ts(ih), no = "|", sh = (e, t) => {
|
|
|
6755
6780
|
!t && f && !e && o.length > 0 ? /* @__PURE__ */ u(
|
|
6756
6781
|
"ul",
|
|
6757
6782
|
{
|
|
6758
|
-
className:
|
|
6783
|
+
className: ic({
|
|
6759
6784
|
ring: "unset",
|
|
6760
6785
|
className: "ring-width-section rounded-input ring-job-card-stroke absolute left-0 right-0 top-12 z-50 w-full shadow-sm"
|
|
6761
6786
|
}),
|
|
@@ -6767,7 +6792,7 @@ const ah = /* @__PURE__ */ ts(ih), no = "|", sh = (e, t) => {
|
|
|
6767
6792
|
children: t ? /* @__PURE__ */ u("div", { role: "alert", children: g("geo_suggestions_error") }) : o.map((y) => /* @__PURE__ */ u(
|
|
6768
6793
|
"li",
|
|
6769
6794
|
{
|
|
6770
|
-
class:
|
|
6795
|
+
class: ac({
|
|
6771
6796
|
type: "line",
|
|
6772
6797
|
className: "group/tag"
|
|
6773
6798
|
}),
|
|
@@ -6776,7 +6801,7 @@ const ah = /* @__PURE__ */ ts(ih), no = "|", sh = (e, t) => {
|
|
|
6776
6801
|
{
|
|
6777
6802
|
type: "button",
|
|
6778
6803
|
onMouseEnter: () => _(y.id),
|
|
6779
|
-
class:
|
|
6804
|
+
class: sc({
|
|
6780
6805
|
active: y.id === v,
|
|
6781
6806
|
className: "line-clamp-1 overflow-hidden truncate"
|
|
6782
6807
|
}),
|
|
@@ -6858,7 +6883,7 @@ const ah = /* @__PURE__ */ ts(ih), no = "|", sh = (e, t) => {
|
|
|
6858
6883
|
children: /* @__PURE__ */ u(ee, { name: "target-location" })
|
|
6859
6884
|
}
|
|
6860
6885
|
);
|
|
6861
|
-
}, $t =
|
|
6886
|
+
}, $t = me({
|
|
6862
6887
|
base: "block fr font-style-tag font-family-tag font-weight-tag",
|
|
6863
6888
|
variants: {
|
|
6864
6889
|
variant: {
|
|
@@ -6891,22 +6916,22 @@ const ah = /* @__PURE__ */ ts(ih), no = "|", sh = (e, t) => {
|
|
|
6891
6916
|
}
|
|
6892
6917
|
}), vh = "https://api.mapbox.com/search/geocode/v6/forward", mh = "ZzRDWFU0dTZ3SF9aWk9RNGl6QzZaWS5RZmlFak13a0hPbGxXZXlNSGN5RUhObUJ6TXpSV08yUW5OdE5tSTZJU1lpd2lJb1JYYXRObmJ2Tm5iaGhHZWx4V1lpb2pJMUp5ZS5rcA==", _h = (e) => atob(e).split("").reverse().join(""), yh = /* @__PURE__ */ ue({
|
|
6893
6918
|
features: /* @__PURE__ */ Qt(
|
|
6894
|
-
/* @__PURE__ */
|
|
6919
|
+
/* @__PURE__ */ he(
|
|
6895
6920
|
/* @__PURE__ */ ue({
|
|
6896
6921
|
properties: /* @__PURE__ */ ue({
|
|
6897
6922
|
mapbox_id: /* @__PURE__ */ G(),
|
|
6898
6923
|
place_formatted: /* @__PURE__ */ dt(/* @__PURE__ */ G()),
|
|
6899
6924
|
name_preferred: /* @__PURE__ */ dt(/* @__PURE__ */ G(), "Untitled location"),
|
|
6900
|
-
coordinates: /* @__PURE__ */
|
|
6925
|
+
coordinates: /* @__PURE__ */ he(
|
|
6901
6926
|
/* @__PURE__ */ ue({
|
|
6902
|
-
latitude: /* @__PURE__ */
|
|
6903
|
-
longitude: /* @__PURE__ */
|
|
6927
|
+
latitude: /* @__PURE__ */ we(),
|
|
6928
|
+
longitude: /* @__PURE__ */ we()
|
|
6904
6929
|
}),
|
|
6905
|
-
/* @__PURE__ */
|
|
6930
|
+
/* @__PURE__ */ pe(({ latitude: e, longitude: t }) => ({ lat: e, lng: t }))
|
|
6906
6931
|
)
|
|
6907
6932
|
})
|
|
6908
6933
|
}),
|
|
6909
|
-
/* @__PURE__ */
|
|
6934
|
+
/* @__PURE__ */ pe((e) => e.properties)
|
|
6910
6935
|
)
|
|
6911
6936
|
)
|
|
6912
6937
|
}), bh = (e, t) => Array.from(new Map(e.map((n) => [typeof t == "function" ? t(n) : n[t], n])).values()), wh = async (e) => {
|
|
@@ -7022,14 +7047,14 @@ const ah = /* @__PURE__ */ ts(ih), no = "|", sh = (e, t) => {
|
|
|
7022
7047
|
unitDisplay: "long",
|
|
7023
7048
|
maximumFractionDigits: 1,
|
|
7024
7049
|
trailingZeroDisplay: "stripIfInteger"
|
|
7025
|
-
}), Ch = /* @__PURE__ */
|
|
7050
|
+
}), Ch = /* @__PURE__ */ he(
|
|
7026
7051
|
/* @__PURE__ */ ue({
|
|
7027
7052
|
type: /* @__PURE__ */ ct("provided"),
|
|
7028
|
-
lat: /* @__PURE__ */ dt(/* @__PURE__ */
|
|
7029
|
-
lng: /* @__PURE__ */ dt(/* @__PURE__ */
|
|
7030
|
-
radius: /* @__PURE__ */
|
|
7053
|
+
lat: /* @__PURE__ */ dt(/* @__PURE__ */ he(/* @__PURE__ */ G(), /* @__PURE__ */ pe(Number))),
|
|
7054
|
+
lng: /* @__PURE__ */ dt(/* @__PURE__ */ he(/* @__PURE__ */ G(), /* @__PURE__ */ pe(Number))),
|
|
7055
|
+
radius: /* @__PURE__ */ he(/* @__PURE__ */ G(), /* @__PURE__ */ pe(Number))
|
|
7031
7056
|
}),
|
|
7032
|
-
/* @__PURE__ */
|
|
7057
|
+
/* @__PURE__ */ pe(
|
|
7033
7058
|
(e) => ({
|
|
7034
7059
|
radius: e.radius,
|
|
7035
7060
|
type: e.type,
|
|
@@ -7336,7 +7361,7 @@ function Ih(e, t) {
|
|
|
7336
7361
|
var n = typeof e;
|
|
7337
7362
|
return n == "number" || n == "symbol" || n == "boolean" || e == null || Nh(e) ? !0 : Lh.test(e) || !Mh.test(e) || t != null && e in Object(t);
|
|
7338
7363
|
}
|
|
7339
|
-
var jh = Ih, Fh =
|
|
7364
|
+
var jh = Ih, Fh = uc, Vh = Xn, Hh = "[object AsyncFunction]", Uh = "[object Function]", Wh = "[object GeneratorFunction]", zh = "[object Proxy]";
|
|
7340
7365
|
function Bh(e) {
|
|
7341
7366
|
if (!Vh(e))
|
|
7342
7367
|
return !1;
|
|
@@ -7382,7 +7407,7 @@ function yg(e, t) {
|
|
|
7382
7407
|
var n = _g(e, t);
|
|
7383
7408
|
return mg(n) ? n : void 0;
|
|
7384
7409
|
}
|
|
7385
|
-
var
|
|
7410
|
+
var dc = yg, bg = dc, wg = bg(Object, "create"), er = wg, ra = er;
|
|
7386
7411
|
function xg() {
|
|
7387
7412
|
this.__data__ = ra ? ra(null) : {}, this.size = 0;
|
|
7388
7413
|
}
|
|
@@ -7473,7 +7498,7 @@ Mt.prototype.delete = hv;
|
|
|
7473
7498
|
Mt.prototype.get = gv;
|
|
7474
7499
|
Mt.prototype.has = vv;
|
|
7475
7500
|
Mt.prototype.set = mv;
|
|
7476
|
-
var _v = Mt, yv =
|
|
7501
|
+
var _v = Mt, yv = dc, bv = Jn, wv = yv(bv, "Map"), xv = wv, oa = qg, $v = _v, Ev = xv;
|
|
7477
7502
|
function Cv() {
|
|
7478
7503
|
this.size = 0, this.__data__ = {
|
|
7479
7504
|
hash: new oa(),
|
|
@@ -7522,7 +7547,7 @@ Lt.prototype.delete = zv;
|
|
|
7522
7547
|
Lt.prototype.get = Bv;
|
|
7523
7548
|
Lt.prototype.has = qv;
|
|
7524
7549
|
Lt.prototype.set = Kv;
|
|
7525
|
-
var Gv = Lt,
|
|
7550
|
+
var Gv = Lt, fc = Gv, Yv = "Expected a function";
|
|
7526
7551
|
function jo(e, t) {
|
|
7527
7552
|
if (typeof e != "function" || t != null && typeof t != "function")
|
|
7528
7553
|
throw new TypeError(Yv);
|
|
@@ -7533,9 +7558,9 @@ function jo(e, t) {
|
|
|
7533
7558
|
var a = e.apply(this, r);
|
|
7534
7559
|
return n.cache = i.set(o, a) || i, a;
|
|
7535
7560
|
};
|
|
7536
|
-
return n.cache = new (jo.Cache ||
|
|
7561
|
+
return n.cache = new (jo.Cache || fc)(), n;
|
|
7537
7562
|
}
|
|
7538
|
-
jo.Cache =
|
|
7563
|
+
jo.Cache = fc;
|
|
7539
7564
|
var Zv = jo, Xv = Zv, Jv = 500;
|
|
7540
7565
|
function Qv(e) {
|
|
7541
7566
|
var t = Xv(e, function(r) {
|
|
@@ -7555,17 +7580,17 @@ function am(e, t) {
|
|
|
7555
7580
|
return o;
|
|
7556
7581
|
}
|
|
7557
7582
|
var sm = am, ia = Lo, cm = sm, lm = Io, um = Qn, dm = 1 / 0, aa = ia ? ia.prototype : void 0, sa = aa ? aa.toString : void 0;
|
|
7558
|
-
function
|
|
7583
|
+
function pc(e) {
|
|
7559
7584
|
if (typeof e == "string")
|
|
7560
7585
|
return e;
|
|
7561
7586
|
if (lm(e))
|
|
7562
|
-
return cm(e,
|
|
7587
|
+
return cm(e, pc) + "";
|
|
7563
7588
|
if (um(e))
|
|
7564
7589
|
return sa ? sa.call(e) : "";
|
|
7565
7590
|
var t = e + "";
|
|
7566
7591
|
return t == "0" && 1 / e == -dm ? "-0" : t;
|
|
7567
7592
|
}
|
|
7568
|
-
var fm =
|
|
7593
|
+
var fm = pc, pm = fm;
|
|
7569
7594
|
function hm(e) {
|
|
7570
7595
|
return e == null ? "" : pm(e);
|
|
7571
7596
|
}
|
|
@@ -7593,13 +7618,13 @@ function Pm(e, t, n) {
|
|
|
7593
7618
|
return r === void 0 ? n : r;
|
|
7594
7619
|
}
|
|
7595
7620
|
var Rm = Pm;
|
|
7596
|
-
const Dm = /* @__PURE__ */
|
|
7621
|
+
const Dm = /* @__PURE__ */ os(Rm), Ut = ({ chars: e }) => /* @__PURE__ */ u(
|
|
7597
7622
|
"span",
|
|
7598
7623
|
{
|
|
7599
7624
|
style: { width: e + "ch" },
|
|
7600
7625
|
class: "rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"
|
|
7601
7626
|
}
|
|
7602
|
-
),
|
|
7627
|
+
), hc = me({
|
|
7603
7628
|
base: "ijs-job relative rounded-job-card bg-job-card-bg ring-width-job-card ring-job-card-stroke flex gap-4 fr ease-expo-out min-w-0 p-4 transition-all duration-medium",
|
|
7604
7629
|
variants: {
|
|
7605
7630
|
interactive: {
|
|
@@ -7608,7 +7633,7 @@ const Dm = /* @__PURE__ */ ts(Rm), Ut = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
7608
7633
|
}
|
|
7609
7634
|
},
|
|
7610
7635
|
defaultVariants: { interactive: !0 }
|
|
7611
|
-
}), Nm =
|
|
7636
|
+
}), Nm = me({
|
|
7612
7637
|
base: "font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading text-pretty",
|
|
7613
7638
|
variants: {
|
|
7614
7639
|
size: {
|
|
@@ -7637,7 +7662,7 @@ const Dm = /* @__PURE__ */ ts(Rm), Ut = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
7637
7662
|
alt: e.company.name,
|
|
7638
7663
|
class: "h-full w-full select-none object-contain [-webkit-user-drag:none]"
|
|
7639
7664
|
}
|
|
7640
|
-
) : null }), ca = (e) => Array.isArray(e) ? e : [e], Lm = 1e3 * 60 * 60 * 24,
|
|
7665
|
+
) : null }), ca = (e) => Array.isArray(e) ? e : [e], Lm = 1e3 * 60 * 60 * 24, gc = ({
|
|
7641
7666
|
job: e,
|
|
7642
7667
|
config: t,
|
|
7643
7668
|
onJobClick: n,
|
|
@@ -7657,7 +7682,7 @@ const Dm = /* @__PURE__ */ ts(Rm), Ut = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
7657
7682
|
onClick: h,
|
|
7658
7683
|
href: d,
|
|
7659
7684
|
target: t.openJob === "redirect-new-tab" ? "_blank" : void 0,
|
|
7660
|
-
class:
|
|
7685
|
+
class: hc(),
|
|
7661
7686
|
children: [
|
|
7662
7687
|
/* @__PURE__ */ u("div", { class: "flex min-w-0 flex-1 flex-col gap-4", children: [
|
|
7663
7688
|
/* @__PURE__ */ u("div", { class: "gap-logo flex items-center", children: [
|
|
@@ -7706,7 +7731,7 @@ const Dm = /* @__PURE__ */ ts(Rm), Ut = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
7706
7731
|
seed: n
|
|
7707
7732
|
}) => {
|
|
7708
7733
|
const r = e.logo ?? "hidden", o = e.postedDate ?? "show";
|
|
7709
|
-
return /* @__PURE__ */ u("div", { "aria-hidden": !0, style: { animationDelay: t + "s" }, class:
|
|
7734
|
+
return /* @__PURE__ */ u("div", { "aria-hidden": !0, style: { animationDelay: t + "s" }, class: hc({ interactive: !1 }), children: [
|
|
7710
7735
|
/* @__PURE__ */ u("div", { class: "flex flex-1 flex-col gap-4", children: [
|
|
7711
7736
|
/* @__PURE__ */ u("div", { class: "flex items-center gap-4", children: [
|
|
7712
7737
|
r === "hidden" ? null : /* @__PURE__ */ u(
|
|
@@ -7861,7 +7886,7 @@ const Dm = /* @__PURE__ */ ts(Rm), Ut = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
7861
7886
|
return /* @__PURE__ */ u(Ze, { error: new Error(h("jobs_loading_error"), { cause: v }), resetError: () => g.mutate() });
|
|
7862
7887
|
case "revalidating":
|
|
7863
7888
|
case "loaded": {
|
|
7864
|
-
if (
|
|
7889
|
+
if (bc(m.pagination.current_page === n, "Received wrong page from server"), m.pagination.total === 0)
|
|
7865
7890
|
return /* @__PURE__ */ u("div", { class: "mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center", children: [
|
|
7866
7891
|
/* @__PURE__ */ u(ee, { "aria-hidden": !0, name: "magnifier", class: "text-copy-neutral-lowcontrast" }),
|
|
7867
7892
|
/* @__PURE__ */ u("div", { class: "flex flex-col items-center gap-1", children: [
|
|
@@ -7883,7 +7908,7 @@ const Dm = /* @__PURE__ */ ts(Rm), Ut = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
7883
7908
|
{
|
|
7884
7909
|
class: "ease-expo-out duration-slow transition-opacity",
|
|
7885
7910
|
style: { opacity: _ === "revalidating" ? 0.33 : 1 },
|
|
7886
|
-
children: /* @__PURE__ */ u(
|
|
7911
|
+
children: /* @__PURE__ */ u(gc, { job: $, onJobClick: x, config: a })
|
|
7887
7912
|
},
|
|
7888
7913
|
$.id
|
|
7889
7914
|
)) }),
|
|
@@ -7901,7 +7926,7 @@ const Dm = /* @__PURE__ */ ts(Rm), Ut = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
7901
7926
|
default:
|
|
7902
7927
|
yt(_);
|
|
7903
7928
|
}
|
|
7904
|
-
}, Vm = xo(() => import("./map-
|
|
7929
|
+
}, Vm = xo(() => import("./map-5d58fed1.js").then((e) => e.Map)), Hm = ({
|
|
7905
7930
|
state: e,
|
|
7906
7931
|
rpcClient: t,
|
|
7907
7932
|
mapConfig: n,
|
|
@@ -7912,7 +7937,7 @@ const Dm = /* @__PURE__ */ ts(Rm), Ut = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
7912
7937
|
prioritySegment: s
|
|
7913
7938
|
}) => {
|
|
7914
7939
|
var v, _;
|
|
7915
|
-
const { t: c } = oe(), [d, p] = A(new AbortController()), l =
|
|
7940
|
+
const { t: c } = oe(), [d, p] = A(new AbortController()), l = gs("(max-width: 767px)"), h = U(
|
|
7916
7941
|
(g) => {
|
|
7917
7942
|
r(g), d.abort(), p(new AbortController());
|
|
7918
7943
|
},
|
|
@@ -7963,7 +7988,7 @@ const Dm = /* @__PURE__ */ ts(Rm), Ut = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
7963
7988
|
class: "ease-expo-out duration-slow min-w-[calc(100%-1rem)] snap-start transition-opacity",
|
|
7964
7989
|
style: { opacity: f.queryState === "revalidating" ? 0.33 : 1 },
|
|
7965
7990
|
children: /* @__PURE__ */ u(
|
|
7966
|
-
|
|
7991
|
+
gc,
|
|
7967
7992
|
{
|
|
7968
7993
|
job: g,
|
|
7969
7994
|
onJobClick: (b) => i(b, 1),
|
|
@@ -7977,7 +8002,7 @@ const Dm = /* @__PURE__ */ ts(Rm), Ut = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
7977
8002
|
] })
|
|
7978
8003
|
] })
|
|
7979
8004
|
] });
|
|
7980
|
-
}, ua =
|
|
8005
|
+
}, ua = me({
|
|
7981
8006
|
base: "flex items-center justify-center cursor-pointer text-style-tag rounded-interactive active:scale-95 transition-all duration-snappy pl-2 pr-2.5 py-1.5 gap-1",
|
|
7982
8007
|
variants: {
|
|
7983
8008
|
active: {
|
|
@@ -8283,8 +8308,8 @@ export {
|
|
|
8283
8308
|
Rr as f,
|
|
8284
8309
|
Wc as g,
|
|
8285
8310
|
dn as h,
|
|
8286
|
-
|
|
8287
|
-
|
|
8311
|
+
bc as i,
|
|
8312
|
+
os as j,
|
|
8288
8313
|
I as k,
|
|
8289
8314
|
N as l,
|
|
8290
8315
|
A as m,
|