@inploi/plugin-job-search 0.8.1 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,47 +19,47 @@ function invariant(condition, message) {
19
19
  function isKeyInObj(key, obj) {
20
20
  return key in obj;
21
21
  }
22
- var n$1, l$2, u$3, i$2, o$2, r$2, f$3, e$1, c$2 = {}, s$2 = [], a$2 = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, h$2 = Array.isArray;
23
- function v$2(n2, l2) {
22
+ var n$1, l$2, u$3, i$2, o$2, r$3, f$3, e$1, c$2, s$2, a$2, h$1 = {}, p$2 = [], v$1 = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, y$2 = Array.isArray;
23
+ function d$1(n2, l2) {
24
24
  for (var u2 in l2)
25
25
  n2[u2] = l2[u2];
26
26
  return n2;
27
27
  }
28
- function p$2(n2) {
28
+ function w$3(n2) {
29
29
  var l2 = n2.parentNode;
30
30
  l2 && l2.removeChild(n2);
31
31
  }
32
- function y$2(l2, u2, t2) {
32
+ function _$1(l2, u2, t2) {
33
33
  var i2, o2, r2, f2 = {};
34
34
  for (r2 in u2)
35
35
  "key" == r2 ? i2 = u2[r2] : "ref" == r2 ? o2 = u2[r2] : f2[r2] = u2[r2];
36
36
  if (arguments.length > 2 && (f2.children = arguments.length > 3 ? n$1.call(arguments, 2) : t2), "function" == typeof l2 && null != l2.defaultProps)
37
37
  for (r2 in l2.defaultProps)
38
38
  void 0 === f2[r2] && (f2[r2] = l2.defaultProps[r2]);
39
- return d$2(l2, f2, i2, o2, null);
39
+ return g$3(l2, f2, i2, o2, null);
40
40
  }
41
- function d$2(n2, t2, i2, o2, r2) {
41
+ function g$3(n2, t2, i2, o2, r2) {
42
42
  var f2 = { type: n2, props: t2, key: i2, ref: o2, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: null == r2 ? ++u$3 : r2, __i: -1, __u: 0 };
43
43
  return null == r2 && null != l$2.vnode && l$2.vnode(f2), f2;
44
44
  }
45
- function _$2() {
45
+ function m$1() {
46
46
  return { current: null };
47
47
  }
48
- function g$3(n2) {
48
+ function k$3(n2) {
49
49
  return n2.children;
50
50
  }
51
51
  function b$2(n2, l2) {
52
52
  this.props = n2, this.context = l2;
53
53
  }
54
- function m$2(n2, l2) {
54
+ function x$2(n2, l2) {
55
55
  if (null == l2)
56
- return n2.__ ? m$2(n2.__, n2.__i + 1) : null;
56
+ return n2.__ ? x$2(n2.__, n2.__i + 1) : null;
57
57
  for (var u2; l2 < n2.__k.length; l2++)
58
58
  if (null != (u2 = n2.__k[l2]) && null != u2.__e)
59
59
  return u2.__e;
60
- return "function" == typeof n2.type ? m$2(n2) : null;
60
+ return "function" == typeof n2.type ? x$2(n2) : null;
61
61
  }
62
- function k$3(n2) {
62
+ function C$3(n2) {
63
63
  var l2, u2;
64
64
  if (null != (n2 = n2.__) && null != n2.__c) {
65
65
  for (n2.__e = n2.__c.base = null, l2 = 0; l2 < n2.__k.length; l2++)
@@ -67,49 +67,53 @@ function k$3(n2) {
67
67
  n2.__e = n2.__c.base = u2.__e;
68
68
  break;
69
69
  }
70
- return k$3(n2);
70
+ return C$3(n2);
71
71
  }
72
72
  }
73
- function w$3(n2) {
74
- (!n2.__d && (n2.__d = true) && i$2.push(n2) && !x$3.__r++ || o$2 !== l$2.debounceRendering) && ((o$2 = l$2.debounceRendering) || r$2)(x$3);
73
+ function M$1(n2) {
74
+ (!n2.__d && (n2.__d = true) && i$2.push(n2) && !P$2.__r++ || o$2 !== l$2.debounceRendering) && ((o$2 = l$2.debounceRendering) || r$3)(P$2);
75
75
  }
76
- function x$3() {
77
- var n2, u2, t2, o2, r2, e2, c2, s2, a2;
76
+ function P$2() {
77
+ var n2, u2, t2, o2, r2, e2, c2, s2;
78
78
  for (i$2.sort(f$3); n2 = i$2.shift(); )
79
- n2.__d && (u2 = i$2.length, o2 = void 0, e2 = (r2 = (t2 = n2).__v).__e, s2 = [], a2 = [], (c2 = t2.__P) && ((o2 = v$2({}, r2)).__v = r2.__v + 1, l$2.vnode && l$2.vnode(o2), L$1(c2, o2, r2, t2.__n, void 0 !== c2.ownerSVGElement, 32 & r2.__u ? [e2] : null, s2, null == e2 ? m$2(r2) : e2, !!(32 & r2.__u), a2), o2.__.__k[o2.__i] = o2, M$1(s2, o2, a2), o2.__e != e2 && k$3(o2)), i$2.length > u2 && i$2.sort(f$3));
80
- x$3.__r = 0;
79
+ n2.__d && (u2 = i$2.length, o2 = void 0, e2 = (r2 = (t2 = n2).__v).__e, c2 = [], s2 = [], t2.__P && ((o2 = d$1({}, r2)).__v = r2.__v + 1, l$2.vnode && l$2.vnode(o2), O$1(t2.__P, o2, r2, t2.__n, t2.__P.namespaceURI, 32 & r2.__u ? [e2] : null, c2, null == e2 ? x$2(r2) : e2, !!(32 & r2.__u), s2), o2.__v = r2.__v, o2.__.__k[o2.__i] = o2, j$3(c2, o2, s2), o2.__e != e2 && C$3(o2)), i$2.length > u2 && i$2.sort(f$3));
80
+ P$2.__r = 0;
81
81
  }
82
- function C$2(n2, l2, u2, t2, i2, o2, r2, f2, e2, a2, h2) {
83
- var v2, p2, y2, d2, _2, g2 = t2 && t2.__k || s$2, b2 = l2.length;
84
- for (u2.__d = e2, P$2(u2, l2, g2), e2 = u2.__d, v2 = 0; v2 < b2; v2++)
85
- null != (y2 = u2.__k[v2]) && "boolean" != typeof y2 && "function" != typeof y2 && (p2 = -1 === y2.__i ? c$2 : g2[y2.__i] || c$2, y2.__i = v2, L$1(n2, y2, p2, i2, o2, r2, f2, e2, a2, h2), d2 = y2.__e, y2.ref && p2.ref != y2.ref && (p2.ref && z$2(p2.ref, null, y2), h2.push(y2.ref, y2.__c || d2, y2)), null == _2 && null != d2 && (_2 = d2), 65536 & y2.__u || p2.__k === y2.__k ? e2 = S$1(y2, e2, n2) : "function" == typeof y2.type && void 0 !== y2.__d ? e2 = y2.__d : d2 && (e2 = d2.nextSibling), y2.__d = void 0, y2.__u &= -196609);
86
- u2.__d = e2, u2.__e = _2;
82
+ function S$1(n2, l2, u2, t2, i2, o2, r2, f2, e2, c2, s2) {
83
+ var a2, v2, y2, d2, w2, _2 = t2 && t2.__k || p$2, g2 = l2.length;
84
+ for (u2.__d = e2, $$1(u2, l2, _2), e2 = u2.__d, a2 = 0; a2 < g2; a2++)
85
+ null != (y2 = u2.__k[a2]) && "boolean" != typeof y2 && "function" != typeof y2 && (v2 = -1 === y2.__i ? h$1 : _2[y2.__i] || h$1, y2.__i = a2, O$1(n2, y2, v2, i2, o2, r2, f2, e2, c2, s2), d2 = y2.__e, y2.ref && v2.ref != y2.ref && (v2.ref && N$1(v2.ref, null, y2), s2.push(y2.ref, y2.__c || d2, y2)), null == w2 && null != d2 && (w2 = d2), 65536 & y2.__u || v2.__k === y2.__k ? (e2 && "string" == typeof y2.type && !n2.contains(e2) && (e2 = x$2(v2)), e2 = I$1(y2, e2, n2)) : "function" == typeof y2.type && void 0 !== y2.__d ? e2 = y2.__d : d2 && (e2 = d2.nextSibling), y2.__d = void 0, y2.__u &= -196609);
86
+ u2.__d = e2, u2.__e = w2;
87
87
  }
88
- function P$2(n2, l2, u2) {
88
+ function $$1(n2, l2, u2) {
89
89
  var t2, i2, o2, r2, f2, e2 = l2.length, c2 = u2.length, s2 = c2, a2 = 0;
90
90
  for (n2.__k = [], t2 = 0; t2 < e2; t2++)
91
- null != (i2 = n2.__k[t2] = null == (i2 = l2[t2]) || "boolean" == typeof i2 || "function" == typeof i2 ? null : "string" == typeof i2 || "number" == typeof i2 || "bigint" == typeof i2 || i2.constructor == String ? d$2(null, i2, null, null, i2) : h$2(i2) ? d$2(g$3, { children: i2 }, null, null, null) : void 0 === i2.constructor && i2.__b > 0 ? d$2(i2.type, i2.props, i2.key, i2.ref ? i2.ref : null, i2.__v) : i2) ? (i2.__ = n2, i2.__b = n2.__b + 1, f2 = H$1(i2, u2, r2 = t2 + a2, s2), i2.__i = f2, o2 = null, -1 !== f2 && (s2--, (o2 = u2[f2]) && (o2.__u |= 131072)), null == o2 || null === o2.__v ? (-1 == f2 && a2--, "function" != typeof i2.type && (i2.__u |= 65536)) : f2 !== r2 && (f2 === r2 + 1 ? a2++ : f2 > r2 ? s2 > e2 - r2 ? a2 += f2 - r2 : a2-- : a2 = f2 < r2 && f2 == r2 - 1 ? f2 - r2 : 0, f2 !== t2 + a2 && (i2.__u |= 65536))) : (o2 = u2[t2]) && null == o2.key && o2.__e && (o2.__e == n2.__d && (n2.__d = m$2(o2)), N$1(o2, o2, false), u2[t2] = null, s2--);
91
+ r2 = t2 + a2, null != (i2 = n2.__k[t2] = null == (i2 = l2[t2]) || "boolean" == typeof i2 || "function" == typeof i2 ? null : "string" == typeof i2 || "number" == typeof i2 || "bigint" == typeof i2 || i2.constructor == String ? g$3(null, i2, null, null, null) : y$2(i2) ? g$3(k$3, { children: i2 }, null, null, null) : void 0 === i2.constructor && i2.__b > 0 ? g$3(i2.type, i2.props, i2.key, i2.ref ? i2.ref : null, i2.__v) : i2) ? (i2.__ = n2, i2.__b = n2.__b + 1, f2 = L$2(i2, u2, r2, s2), i2.__i = f2, o2 = null, -1 !== f2 && (s2--, (o2 = u2[f2]) && (o2.__u |= 131072)), null == o2 || null === o2.__v ? (-1 == f2 && a2--, "function" != typeof i2.type && (i2.__u |= 65536)) : f2 !== r2 && (f2 == r2 - 1 ? a2 = f2 - r2 : f2 == r2 + 1 ? a2++ : f2 > r2 ? s2 > e2 - r2 ? a2 += f2 - r2 : a2-- : f2 < r2 && a2++, f2 !== t2 + a2 && (i2.__u |= 65536))) : (o2 = u2[r2]) && null == o2.key && o2.__e && 0 == (131072 & o2.__u) && (o2.__e == n2.__d && (n2.__d = x$2(o2)), V$1(o2, o2, false), u2[r2] = null, s2--);
92
92
  if (s2)
93
93
  for (t2 = 0; t2 < c2; t2++)
94
- null != (o2 = u2[t2]) && 0 == (131072 & o2.__u) && (o2.__e == n2.__d && (n2.__d = m$2(o2)), N$1(o2, o2));
94
+ null != (o2 = u2[t2]) && 0 == (131072 & o2.__u) && (o2.__e == n2.__d && (n2.__d = x$2(o2)), V$1(o2, o2));
95
95
  }
96
- function S$1(n2, l2, u2) {
96
+ function I$1(n2, l2, u2) {
97
97
  var t2, i2;
98
98
  if ("function" == typeof n2.type) {
99
99
  for (t2 = n2.__k, i2 = 0; t2 && i2 < t2.length; i2++)
100
- t2[i2] && (t2[i2].__ = n2, l2 = S$1(t2[i2], l2, u2));
100
+ t2[i2] && (t2[i2].__ = n2, l2 = I$1(t2[i2], l2, u2));
101
101
  return l2;
102
102
  }
103
- return n2.__e != l2 && (u2.insertBefore(n2.__e, l2 || null), l2 = n2.__e), l2 && l2.nextSibling;
103
+ n2.__e != l2 && (u2.insertBefore(n2.__e, l2 || null), l2 = n2.__e);
104
+ do {
105
+ l2 = l2 && l2.nextSibling;
106
+ } while (null != l2 && 8 === l2.nodeType);
107
+ return l2;
104
108
  }
105
- function $$1(n2, l2) {
106
- return l2 = l2 || [], null == n2 || "boolean" == typeof n2 || (h$2(n2) ? n2.some(function(n3) {
107
- $$1(n3, l2);
109
+ function H$1(n2, l2) {
110
+ return l2 = l2 || [], null == n2 || "boolean" == typeof n2 || (y$2(n2) ? n2.some(function(n3) {
111
+ H$1(n3, l2);
108
112
  }) : l2.push(n2)), l2;
109
113
  }
110
- function H$1(n2, l2, u2, t2) {
114
+ function L$2(n2, l2, u2, t2) {
111
115
  var i2 = n2.key, o2 = n2.type, r2 = u2 - 1, f2 = u2 + 1, e2 = l2[u2];
112
- if (null === e2 || e2 && i2 == e2.key && o2 === e2.type)
116
+ if (null === e2 || e2 && i2 == e2.key && o2 === e2.type && 0 == (131072 & e2.__u))
113
117
  return u2;
114
118
  if (t2 > (null != e2 && 0 == (131072 & e2.__u) ? 1 : 0))
115
119
  for (; r2 >= 0 || f2 < l2.length; ) {
@@ -126,10 +130,10 @@ function H$1(n2, l2, u2, t2) {
126
130
  }
127
131
  return -1;
128
132
  }
129
- function I$1(n2, l2, u2) {
130
- "-" === l2[0] ? n2.setProperty(l2, null == u2 ? "" : u2) : n2[l2] = null == u2 ? "" : "number" != typeof u2 || a$2.test(l2) ? u2 : u2 + "px";
133
+ function T$3(n2, l2, u2) {
134
+ "-" === l2[0] ? n2.setProperty(l2, null == u2 ? "" : u2) : n2[l2] = null == u2 ? "" : "number" != typeof u2 || v$1.test(l2) ? u2 : u2 + "px";
131
135
  }
132
- function T$2(n2, l2, u2, t2, i2) {
136
+ function A$3(n2, l2, u2, t2, i2) {
133
137
  var o2;
134
138
  n:
135
139
  if ("style" === l2)
@@ -138,80 +142,80 @@ function T$2(n2, l2, u2, t2, i2) {
138
142
  else {
139
143
  if ("string" == typeof t2 && (n2.style.cssText = t2 = ""), t2)
140
144
  for (l2 in t2)
141
- u2 && l2 in u2 || I$1(n2.style, l2, "");
145
+ u2 && l2 in u2 || T$3(n2.style, l2, "");
142
146
  if (u2)
143
147
  for (l2 in u2)
144
- t2 && u2[l2] === t2[l2] || I$1(n2.style, l2, u2[l2]);
148
+ t2 && u2[l2] === t2[l2] || T$3(n2.style, l2, u2[l2]);
145
149
  }
146
150
  else if ("o" === l2[0] && "n" === l2[1])
147
- o2 = l2 !== (l2 = l2.replace(/(PointerCapture)$|Capture$/, "$1")), l2 = l2.toLowerCase() in n2 ? l2.toLowerCase().slice(2) : l2.slice(2), n2.l || (n2.l = {}), n2.l[l2 + o2] = u2, u2 ? t2 ? u2.u = t2.u : (u2.u = Date.now(), n2.addEventListener(l2, o2 ? D$1 : A$2, o2)) : n2.removeEventListener(l2, o2 ? D$1 : A$2, o2);
151
+ o2 = l2 !== (l2 = l2.replace(/(PointerCapture)$|Capture$/i, "$1")), l2 = l2.toLowerCase() in n2 || "onFocusOut" === l2 || "onFocusIn" === l2 ? l2.toLowerCase().slice(2) : l2.slice(2), n2.l || (n2.l = {}), n2.l[l2 + o2] = u2, u2 ? t2 ? u2.u = t2.u : (u2.u = e$1, n2.addEventListener(l2, o2 ? s$2 : c$2, o2)) : n2.removeEventListener(l2, o2 ? s$2 : c$2, o2);
148
152
  else {
149
- if (i2)
153
+ if ("http://www.w3.org/2000/svg" == i2)
150
154
  l2 = l2.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
151
- else if ("width" !== l2 && "height" !== l2 && "href" !== l2 && "list" !== l2 && "form" !== l2 && "tabIndex" !== l2 && "download" !== l2 && "rowSpan" !== l2 && "colSpan" !== l2 && "role" !== l2 && l2 in n2)
155
+ else if ("width" != l2 && "height" != l2 && "href" != l2 && "list" != l2 && "form" != l2 && "tabIndex" != l2 && "download" != l2 && "rowSpan" != l2 && "colSpan" != l2 && "role" != l2 && "popover" != l2 && l2 in n2)
152
156
  try {
153
157
  n2[l2] = null == u2 ? "" : u2;
154
158
  break n;
155
159
  } catch (n3) {
156
160
  }
157
- "function" == typeof u2 || (null == u2 || false === u2 && "-" !== l2[4] ? n2.removeAttribute(l2) : n2.setAttribute(l2, u2));
161
+ "function" == typeof u2 || (null == u2 || false === u2 && "-" !== l2[4] ? n2.removeAttribute(l2) : n2.setAttribute(l2, "popover" == l2 && 1 == u2 ? "" : u2));
158
162
  }
159
163
  }
160
- function A$2(n2) {
161
- var u2 = this.l[n2.type + false];
162
- if (n2.t) {
163
- if (n2.t <= u2.u)
164
- return;
165
- } else
166
- n2.t = Date.now();
167
- return u2(l$2.event ? l$2.event(n2) : n2);
168
- }
169
- function D$1(n2) {
170
- return this.l[n2.type + true](l$2.event ? l$2.event(n2) : n2);
164
+ function F$2(n2) {
165
+ return function(u2) {
166
+ if (this.l) {
167
+ var t2 = this.l[u2.type + n2];
168
+ if (null == u2.t)
169
+ u2.t = e$1++;
170
+ else if (u2.t < t2.u)
171
+ return;
172
+ return t2(l$2.event ? l$2.event(u2) : u2);
173
+ }
174
+ };
171
175
  }
172
- function L$1(n2, u2, t2, i2, o2, r2, f2, e2, c2, s2) {
173
- var a2, p2, y2, d2, _2, m2, k2, w2, x2, P2, S2, $2, H2, I2, T2, A2 = u2.type;
176
+ function O$1(n2, u2, t2, i2, o2, r2, f2, e2, c2, s2) {
177
+ var a2, h2, p2, v2, w2, _2, g2, m2, x2, C2, M2, P2, $2, I2, H2, L2, T2 = u2.type;
174
178
  if (void 0 !== u2.constructor)
175
179
  return null;
176
180
  128 & t2.__u && (c2 = !!(32 & t2.__u), r2 = [e2 = u2.__e = t2.__e]), (a2 = l$2.__b) && a2(u2);
177
181
  n:
178
- if ("function" == typeof A2)
182
+ if ("function" == typeof T2)
179
183
  try {
180
- if (w2 = u2.props, x2 = (a2 = A2.contextType) && i2[a2.__c], P2 = a2 ? x2 ? x2.props.value : a2.__ : i2, t2.__c ? k2 = (p2 = u2.__c = t2.__c).__ = p2.__E : ("prototype" in A2 && A2.prototype.render ? u2.__c = p2 = new A2(w2, P2) : (u2.__c = p2 = new b$2(w2, P2), p2.constructor = A2, p2.render = O$1), x2 && x2.sub(p2), p2.props = w2, p2.state || (p2.state = {}), p2.context = P2, p2.__n = i2, y2 = p2.__d = true, p2.__h = [], p2._sb = []), null == p2.__s && (p2.__s = p2.state), null != A2.getDerivedStateFromProps && (p2.__s == p2.state && (p2.__s = v$2({}, p2.__s)), v$2(p2.__s, A2.getDerivedStateFromProps(w2, p2.__s))), d2 = p2.props, _2 = p2.state, p2.__v = u2, y2)
181
- null == A2.getDerivedStateFromProps && null != p2.componentWillMount && p2.componentWillMount(), null != p2.componentDidMount && p2.__h.push(p2.componentDidMount);
184
+ if (m2 = u2.props, x2 = "prototype" in T2 && T2.prototype.render, C2 = (a2 = T2.contextType) && i2[a2.__c], M2 = a2 ? C2 ? C2.props.value : a2.__ : i2, t2.__c ? g2 = (h2 = u2.__c = t2.__c).__ = h2.__E : (x2 ? u2.__c = h2 = new T2(m2, M2) : (u2.__c = h2 = new b$2(m2, M2), h2.constructor = T2, h2.render = q$2), C2 && C2.sub(h2), h2.props = m2, h2.state || (h2.state = {}), h2.context = M2, h2.__n = i2, p2 = h2.__d = true, h2.__h = [], h2._sb = []), x2 && null == h2.__s && (h2.__s = h2.state), x2 && null != T2.getDerivedStateFromProps && (h2.__s == h2.state && (h2.__s = d$1({}, h2.__s)), d$1(h2.__s, T2.getDerivedStateFromProps(m2, h2.__s))), v2 = h2.props, w2 = h2.state, h2.__v = u2, p2)
185
+ x2 && null == T2.getDerivedStateFromProps && null != h2.componentWillMount && h2.componentWillMount(), x2 && null != h2.componentDidMount && h2.__h.push(h2.componentDidMount);
182
186
  else {
183
- if (null == A2.getDerivedStateFromProps && w2 !== d2 && null != p2.componentWillReceiveProps && p2.componentWillReceiveProps(w2, P2), !p2.__e && (null != p2.shouldComponentUpdate && false === p2.shouldComponentUpdate(w2, p2.__s, P2) || u2.__v === t2.__v)) {
184
- for (u2.__v !== t2.__v && (p2.props = w2, p2.state = p2.__s, p2.__d = false), u2.__e = t2.__e, u2.__k = t2.__k, u2.__k.forEach(function(n3) {
187
+ if (x2 && null == T2.getDerivedStateFromProps && m2 !== v2 && null != h2.componentWillReceiveProps && h2.componentWillReceiveProps(m2, M2), !h2.__e && (null != h2.shouldComponentUpdate && false === h2.shouldComponentUpdate(m2, h2.__s, M2) || u2.__v === t2.__v)) {
188
+ for (u2.__v !== t2.__v && (h2.props = m2, h2.state = h2.__s, h2.__d = false), u2.__e = t2.__e, u2.__k = t2.__k, u2.__k.forEach(function(n3) {
185
189
  n3 && (n3.__ = u2);
186
- }), S2 = 0; S2 < p2._sb.length; S2++)
187
- p2.__h.push(p2._sb[S2]);
188
- p2._sb = [], p2.__h.length && f2.push(p2);
190
+ }), P2 = 0; P2 < h2._sb.length; P2++)
191
+ h2.__h.push(h2._sb[P2]);
192
+ h2._sb = [], h2.__h.length && f2.push(h2);
189
193
  break n;
190
194
  }
191
- null != p2.componentWillUpdate && p2.componentWillUpdate(w2, p2.__s, P2), null != p2.componentDidUpdate && p2.__h.push(function() {
192
- p2.componentDidUpdate(d2, _2, m2);
195
+ null != h2.componentWillUpdate && h2.componentWillUpdate(m2, h2.__s, M2), x2 && null != h2.componentDidUpdate && h2.__h.push(function() {
196
+ h2.componentDidUpdate(v2, w2, _2);
193
197
  });
194
198
  }
195
- if (p2.context = P2, p2.props = w2, p2.__P = n2, p2.__e = false, $2 = l$2.__r, H2 = 0, "prototype" in A2 && A2.prototype.render) {
196
- for (p2.state = p2.__s, p2.__d = false, $2 && $2(u2), a2 = p2.render(p2.props, p2.state, p2.context), I2 = 0; I2 < p2._sb.length; I2++)
197
- p2.__h.push(p2._sb[I2]);
198
- p2._sb = [];
199
+ if (h2.context = M2, h2.props = m2, h2.__P = n2, h2.__e = false, $2 = l$2.__r, I2 = 0, x2) {
200
+ for (h2.state = h2.__s, h2.__d = false, $2 && $2(u2), a2 = h2.render(h2.props, h2.state, h2.context), H2 = 0; H2 < h2._sb.length; H2++)
201
+ h2.__h.push(h2._sb[H2]);
202
+ h2._sb = [];
199
203
  } else
200
204
  do {
201
- p2.__d = false, $2 && $2(u2), a2 = p2.render(p2.props, p2.state, p2.context), p2.state = p2.__s;
202
- } while (p2.__d && ++H2 < 25);
203
- p2.state = p2.__s, null != p2.getChildContext && (i2 = v$2(v$2({}, i2), p2.getChildContext())), y2 || null == p2.getSnapshotBeforeUpdate || (m2 = p2.getSnapshotBeforeUpdate(d2, _2)), C$2(n2, h$2(T2 = null != a2 && a2.type === g$3 && null == a2.key ? a2.props.children : a2) ? T2 : [T2], u2, t2, i2, o2, r2, f2, e2, c2, s2), p2.base = u2.__e, u2.__u &= -161, p2.__h.length && f2.push(p2), k2 && (p2.__E = p2.__ = null);
205
+ h2.__d = false, $2 && $2(u2), a2 = h2.render(h2.props, h2.state, h2.context), h2.state = h2.__s;
206
+ } while (h2.__d && ++I2 < 25);
207
+ h2.state = h2.__s, null != h2.getChildContext && (i2 = d$1(d$1({}, i2), h2.getChildContext())), x2 && !p2 && null != h2.getSnapshotBeforeUpdate && (_2 = h2.getSnapshotBeforeUpdate(v2, w2)), S$1(n2, y$2(L2 = null != a2 && a2.type === k$3 && null == a2.key ? a2.props.children : a2) ? L2 : [L2], u2, t2, i2, o2, r2, f2, e2, c2, s2), h2.base = u2.__e, u2.__u &= -161, h2.__h.length && f2.push(h2), g2 && (h2.__E = h2.__ = null);
204
208
  } catch (n3) {
205
209
  u2.__v = null, c2 || null != r2 ? (u2.__e = e2, u2.__u |= c2 ? 160 : 32, r2[r2.indexOf(e2)] = null) : (u2.__e = t2.__e, u2.__k = t2.__k), l$2.__e(n3, u2, t2);
206
210
  }
207
211
  else
208
- null == r2 && u2.__v === t2.__v ? (u2.__k = t2.__k, u2.__e = t2.__e) : u2.__e = j$2(t2.__e, u2, t2, i2, o2, r2, f2, c2, s2);
212
+ null == r2 && u2.__v === t2.__v ? (u2.__k = t2.__k, u2.__e = t2.__e) : u2.__e = z$2(t2.__e, u2, t2, i2, o2, r2, f2, c2, s2);
209
213
  (a2 = l$2.diffed) && a2(u2);
210
214
  }
211
- function M$1(n2, u2, t2) {
215
+ function j$3(n2, u2, t2) {
212
216
  u2.__d = void 0;
213
217
  for (var i2 = 0; i2 < t2.length; i2++)
214
- z$2(t2[i2], t2[++i2], t2[++i2]);
218
+ N$1(t2[i2], t2[++i2], t2[++i2]);
215
219
  l$2.__c && l$2.__c(u2, n2), n2.some(function(u3) {
216
220
  try {
217
221
  n2 = u3.__h, u3.__h = [], n2.some(function(n3) {
@@ -222,100 +226,110 @@ function M$1(n2, u2, t2) {
222
226
  }
223
227
  });
224
228
  }
225
- function j$2(l2, u2, t2, i2, o2, r2, f2, e2, s2) {
226
- var a2, v2, y2, d2, _2, g2, b2, k2 = t2.props, w2 = u2.props, x2 = u2.type;
227
- if ("svg" === x2 && (o2 = true), null != r2) {
228
- for (a2 = 0; a2 < r2.length; a2++)
229
- if ((_2 = r2[a2]) && "setAttribute" in _2 == !!x2 && (x2 ? _2.localName === x2 : 3 === _2.nodeType)) {
230
- l2 = _2, r2[a2] = null;
229
+ function z$2(l2, u2, t2, i2, o2, r2, f2, e2, c2) {
230
+ var s2, a2, p2, v2, d2, _2, g2, m2 = t2.props, k2 = u2.props, b2 = u2.type;
231
+ if ("svg" === b2 ? o2 = "http://www.w3.org/2000/svg" : "math" === b2 ? o2 = "http://www.w3.org/1998/Math/MathML" : o2 || (o2 = "http://www.w3.org/1999/xhtml"), null != r2) {
232
+ for (s2 = 0; s2 < r2.length; s2++)
233
+ if ((d2 = r2[s2]) && "setAttribute" in d2 == !!b2 && (b2 ? d2.localName === b2 : 3 === d2.nodeType)) {
234
+ l2 = d2, r2[s2] = null;
231
235
  break;
232
236
  }
233
237
  }
234
238
  if (null == l2) {
235
- if (null === x2)
236
- return document.createTextNode(w2);
237
- l2 = o2 ? document.createElementNS("http://www.w3.org/2000/svg", x2) : document.createElement(x2, w2.is && w2), r2 = null, e2 = false;
239
+ if (null === b2)
240
+ return document.createTextNode(k2);
241
+ l2 = document.createElementNS(o2, b2, k2.is && k2), r2 = null, e2 = false;
238
242
  }
239
- if (null === x2)
240
- k2 === w2 || e2 && l2.data === w2 || (l2.data = w2);
243
+ if (null === b2)
244
+ m2 === k2 || e2 && l2.data === k2 || (l2.data = k2);
241
245
  else {
242
- if (r2 = r2 && n$1.call(l2.childNodes), k2 = t2.props || c$2, !e2 && null != r2)
243
- for (k2 = {}, a2 = 0; a2 < l2.attributes.length; a2++)
244
- k2[(_2 = l2.attributes[a2]).name] = _2.value;
245
- for (a2 in k2)
246
- _2 = k2[a2], "children" == a2 || ("dangerouslySetInnerHTML" == a2 ? y2 = _2 : "key" === a2 || a2 in w2 || T$2(l2, a2, null, _2, o2));
247
- for (a2 in w2)
248
- _2 = w2[a2], "children" == a2 ? d2 = _2 : "dangerouslySetInnerHTML" == a2 ? v2 = _2 : "value" == a2 ? g2 = _2 : "checked" == a2 ? b2 = _2 : "key" === a2 || e2 && "function" != typeof _2 || k2[a2] === _2 || T$2(l2, a2, _2, k2[a2], o2);
249
- if (v2)
250
- e2 || y2 && (v2.__html === y2.__html || v2.__html === l2.innerHTML) || (l2.innerHTML = v2.__html), u2.__k = [];
251
- else if (y2 && (l2.innerHTML = ""), C$2(l2, h$2(d2) ? d2 : [d2], u2, t2, i2, o2 && "foreignObject" !== x2, r2, f2, r2 ? r2[0] : t2.__k && m$2(t2, 0), e2, s2), null != r2)
252
- for (a2 = r2.length; a2--; )
253
- null != r2[a2] && p$2(r2[a2]);
254
- e2 || (a2 = "value", void 0 !== g2 && (g2 !== l2[a2] || "progress" === x2 && !g2 || "option" === x2 && g2 !== k2[a2]) && T$2(l2, a2, g2, k2[a2], false), a2 = "checked", void 0 !== b2 && b2 !== l2[a2] && T$2(l2, a2, b2, k2[a2], false));
246
+ if (r2 = r2 && n$1.call(l2.childNodes), m2 = t2.props || h$1, !e2 && null != r2)
247
+ for (m2 = {}, s2 = 0; s2 < l2.attributes.length; s2++)
248
+ m2[(d2 = l2.attributes[s2]).name] = d2.value;
249
+ for (s2 in m2)
250
+ if (d2 = m2[s2], "children" == s2)
251
+ ;
252
+ else if ("dangerouslySetInnerHTML" == s2)
253
+ p2 = d2;
254
+ else if ("key" !== s2 && !(s2 in k2)) {
255
+ if ("value" == s2 && "defaultValue" in k2 || "checked" == s2 && "defaultChecked" in k2)
256
+ continue;
257
+ A$3(l2, s2, null, d2, o2);
258
+ }
259
+ for (s2 in k2)
260
+ d2 = k2[s2], "children" == s2 ? v2 = d2 : "dangerouslySetInnerHTML" == s2 ? a2 = d2 : "value" == s2 ? _2 = d2 : "checked" == s2 ? g2 = d2 : "key" === s2 || e2 && "function" != typeof d2 || m2[s2] === d2 || A$3(l2, s2, d2, m2[s2], o2);
261
+ if (a2)
262
+ e2 || p2 && (a2.__html === p2.__html || a2.__html === l2.innerHTML) || (l2.innerHTML = a2.__html), u2.__k = [];
263
+ else if (p2 && (l2.innerHTML = ""), S$1(l2, y$2(v2) ? v2 : [v2], u2, t2, i2, "foreignObject" === b2 ? "http://www.w3.org/1999/xhtml" : o2, r2, f2, r2 ? r2[0] : t2.__k && x$2(t2, 0), e2, c2), null != r2)
264
+ for (s2 = r2.length; s2--; )
265
+ null != r2[s2] && w$3(r2[s2]);
266
+ e2 || (s2 = "value", void 0 !== _2 && (_2 !== l2[s2] || "progress" === b2 && !_2 || "option" === b2 && _2 !== m2[s2]) && A$3(l2, s2, _2, m2[s2], o2), s2 = "checked", void 0 !== g2 && g2 !== l2[s2] && A$3(l2, s2, g2, m2[s2], o2));
255
267
  }
256
268
  return l2;
257
269
  }
258
- function z$2(n2, u2, t2) {
270
+ function N$1(n2, u2, t2) {
259
271
  try {
260
272
  "function" == typeof n2 ? n2(u2) : n2.current = u2;
261
273
  } catch (n3) {
262
274
  l$2.__e(n3, t2);
263
275
  }
264
276
  }
265
- function N$1(n2, u2, t2) {
277
+ function V$1(n2, u2, t2) {
266
278
  var i2, o2;
267
- if (l$2.unmount && l$2.unmount(n2), (i2 = n2.ref) && (i2.current && i2.current !== n2.__e || z$2(i2, null, u2)), null != (i2 = n2.__c)) {
279
+ if (l$2.unmount && l$2.unmount(n2), (i2 = n2.ref) && (i2.current && i2.current !== n2.__e || N$1(i2, null, u2)), null != (i2 = n2.__c)) {
268
280
  if (i2.componentWillUnmount)
269
281
  try {
270
282
  i2.componentWillUnmount();
271
283
  } catch (n3) {
272
284
  l$2.__e(n3, u2);
273
285
  }
274
- i2.base = i2.__P = null, n2.__c = void 0;
286
+ i2.base = i2.__P = null;
275
287
  }
276
288
  if (i2 = n2.__k)
277
289
  for (o2 = 0; o2 < i2.length; o2++)
278
- i2[o2] && N$1(i2[o2], u2, t2 || "function" != typeof n2.type);
279
- t2 || null == n2.__e || p$2(n2.__e), n2.__ = n2.__e = n2.__d = void 0;
290
+ i2[o2] && V$1(i2[o2], u2, t2 || "function" != typeof n2.type);
291
+ t2 || null == n2.__e || w$3(n2.__e), n2.__c = n2.__ = n2.__e = n2.__d = void 0;
280
292
  }
281
- function O$1(n2, l2, u2) {
293
+ function q$2(n2, l2, u2) {
282
294
  return this.constructor(n2, u2);
283
295
  }
284
- function q$2(u2, t2, i2) {
296
+ function B$2(u2, t2, i2) {
285
297
  var o2, r2, f2, e2;
286
- l$2.__ && l$2.__(u2, t2), r2 = (o2 = "function" == typeof i2) ? null : i2 && i2.__k || t2.__k, f2 = [], e2 = [], L$1(t2, u2 = (!o2 && i2 || t2).__k = y$2(g$3, null, [u2]), r2 || c$2, c$2, void 0 !== t2.ownerSVGElement, !o2 && i2 ? [i2] : r2 ? null : t2.firstChild ? n$1.call(t2.childNodes) : null, f2, !o2 && i2 ? i2 : r2 ? r2.__e : t2.firstChild, o2, e2), M$1(f2, u2, e2);
298
+ l$2.__ && l$2.__(u2, t2), r2 = (o2 = "function" == typeof i2) ? null : i2 && i2.__k || t2.__k, f2 = [], e2 = [], O$1(t2, u2 = (!o2 && i2 || t2).__k = _$1(k$3, null, [u2]), r2 || h$1, h$1, t2.namespaceURI, !o2 && i2 ? [i2] : r2 ? null : t2.firstChild ? n$1.call(t2.childNodes) : null, f2, !o2 && i2 ? i2 : r2 ? r2.__e : t2.firstChild, o2, e2), j$3(f2, u2, e2);
287
299
  }
288
- function B$2(n2, l2) {
289
- q$2(n2, l2, B$2);
300
+ function D$3(n2, l2) {
301
+ B$2(n2, l2, D$3);
290
302
  }
291
- function E$1(l2, u2, t2) {
292
- var i2, o2, r2, f2, e2 = v$2({}, l2.props);
303
+ function E$2(l2, u2, t2) {
304
+ var i2, o2, r2, f2, e2 = d$1({}, l2.props);
293
305
  for (r2 in l2.type && l2.type.defaultProps && (f2 = l2.type.defaultProps), u2)
294
306
  "key" == r2 ? i2 = u2[r2] : "ref" == r2 ? o2 = u2[r2] : e2[r2] = void 0 === u2[r2] && void 0 !== f2 ? f2[r2] : u2[r2];
295
- return arguments.length > 2 && (e2.children = arguments.length > 3 ? n$1.call(arguments, 2) : t2), d$2(l2.type, e2, i2 || l2.key, o2 || l2.ref, null);
307
+ return arguments.length > 2 && (e2.children = arguments.length > 3 ? n$1.call(arguments, 2) : t2), g$3(l2.type, e2, i2 || l2.key, o2 || l2.ref, null);
296
308
  }
297
- function F$2(n2, l2) {
298
- var u2 = { __c: l2 = "__cC" + e$1++, __: n2, Consumer: function(n3, l3) {
309
+ function G$1(n2, l2) {
310
+ var u2 = { __c: l2 = "__cC" + a$2++, __: n2, Consumer: function(n3, l3) {
299
311
  return n3.children(l3);
300
312
  }, Provider: function(n3) {
301
313
  var u3, t2;
302
314
  return this.getChildContext || (u3 = [], (t2 = {})[l2] = this, this.getChildContext = function() {
303
315
  return t2;
316
+ }, this.componentWillUnmount = function() {
317
+ u3 = null;
304
318
  }, this.shouldComponentUpdate = function(n4) {
305
319
  this.props.value !== n4.value && u3.some(function(n5) {
306
- n5.__e = true, w$3(n5);
320
+ n5.__e = true, M$1(n5);
307
321
  });
308
322
  }, this.sub = function(n4) {
309
323
  u3.push(n4);
310
324
  var l3 = n4.componentWillUnmount;
311
325
  n4.componentWillUnmount = function() {
312
- u3.splice(u3.indexOf(n4), 1), l3 && l3.call(n4);
326
+ u3 && u3.splice(u3.indexOf(n4), 1), l3 && l3.call(n4);
313
327
  };
314
328
  }), n3.children;
315
329
  } };
316
330
  return u2.Provider.__ = u2.Consumer.contextType = u2;
317
331
  }
318
- n$1 = s$2.slice, l$2 = { __e: function(n2, l2, u2, t2) {
332
+ n$1 = p$2.slice, l$2 = { __e: function(n2, l2, u2, t2) {
319
333
  for (var i2, o2, r2; l2 = l2.__; )
320
334
  if ((i2 = l2.__c) && !i2.__)
321
335
  try {
@@ -327,133 +341,174 @@ n$1 = s$2.slice, l$2 = { __e: function(n2, l2, u2, t2) {
327
341
  throw n2;
328
342
  } }, u$3 = 0, b$2.prototype.setState = function(n2, l2) {
329
343
  var u2;
330
- u2 = null != this.__s && this.__s !== this.state ? this.__s : this.__s = v$2({}, this.state), "function" == typeof n2 && (n2 = n2(v$2({}, u2), this.props)), n2 && v$2(u2, n2), null != n2 && this.__v && (l2 && this._sb.push(l2), w$3(this));
344
+ u2 = null != this.__s && this.__s !== this.state ? this.__s : this.__s = d$1({}, this.state), "function" == typeof n2 && (n2 = n2(d$1({}, u2), this.props)), n2 && d$1(u2, n2), null != n2 && this.__v && (l2 && this._sb.push(l2), M$1(this));
331
345
  }, b$2.prototype.forceUpdate = function(n2) {
332
- this.__v && (this.__e = true, n2 && this.__h.push(n2), w$3(this));
333
- }, b$2.prototype.render = g$3, i$2 = [], r$2 = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, f$3 = function(n2, l2) {
346
+ this.__v && (this.__e = true, n2 && this.__h.push(n2), M$1(this));
347
+ }, b$2.prototype.render = k$3, i$2 = [], r$3 = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, f$3 = function(n2, l2) {
334
348
  return n2.__v.__b - l2.__v.__b;
335
- }, x$3.__r = 0, e$1 = 0;
336
- var o$1 = /[\s\n\\/='"\0<>]/, n = /^(xlink|xmlns|xml)([A-Z])/, a$1 = /^accessK|^auto[A-Z]|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|readO|rowS|spellC|src[A-Z]|tabI|item[A-Z]/, i$1 = /^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/, l$1 = /["&<]/;
349
+ }, P$2.__r = 0, e$1 = 0, c$2 = F$2(false), s$2 = F$2(true), a$2 = 0;
350
+ var n = /[\s\n\\/='"\0<>]/, o$1 = /^(xlink|xmlns|xml)([A-Z])/, i$1 = /^accessK|^auto[A-Z]|^cell|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|spellC|src[A-Z]|tabI|useM|item[A-Z]/, a$1 = /^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/, c$1 = /["&<]/;
337
351
  function s$1(e2) {
338
- if (0 === e2.length || false === l$1.test(e2))
352
+ if (0 === e2.length || false === c$1.test(e2))
339
353
  return e2;
340
- for (var t2 = 0, r2 = 0, o2 = "", n2 = ""; r2 < e2.length; r2++) {
354
+ for (var t2 = 0, r2 = 0, n2 = "", o2 = ""; r2 < e2.length; r2++) {
341
355
  switch (e2.charCodeAt(r2)) {
342
356
  case 34:
343
- n2 = "&quot;";
357
+ o2 = "&quot;";
344
358
  break;
345
359
  case 38:
346
- n2 = "&amp;";
360
+ o2 = "&amp;";
347
361
  break;
348
362
  case 60:
349
- n2 = "&lt;";
363
+ o2 = "&lt;";
350
364
  break;
351
365
  default:
352
366
  continue;
353
367
  }
354
- r2 !== t2 && (o2 += e2.slice(t2, r2)), o2 += n2, t2 = r2 + 1;
368
+ r2 !== t2 && (n2 += e2.slice(t2, r2)), n2 += o2, t2 = r2 + 1;
355
369
  }
356
- return r2 !== t2 && (o2 += e2.slice(t2, r2)), o2;
370
+ return r2 !== t2 && (n2 += e2.slice(t2, r2)), n2;
357
371
  }
358
- var c$1 = {}, p$1 = /* @__PURE__ */ new Set(["animation-iteration-count", "border-image-outset", "border-image-slice", "border-image-width", "box-flex", "box-flex-group", "box-ordinal-group", "column-count", "fill-opacity", "flex", "flex-grow", "flex-negative", "flex-order", "flex-positive", "flex-shrink", "flood-opacity", "font-weight", "grid-column", "grid-row", "line-clamp", "line-height", "opacity", "order", "orphans", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-miterlimit", "stroke-opacity", "stroke-width", "tab-size", "widows", "z-index", "zoom"]), u$2 = /[A-Z]/g;
359
- function f$2(e2) {
372
+ var l$1 = {}, u$2 = /* @__PURE__ */ new Set(["animation-iteration-count", "border-image-outset", "border-image-slice", "border-image-width", "box-flex", "box-flex-group", "box-ordinal-group", "column-count", "fill-opacity", "flex", "flex-grow", "flex-negative", "flex-order", "flex-positive", "flex-shrink", "flood-opacity", "font-weight", "grid-column", "grid-row", "line-clamp", "line-height", "opacity", "order", "orphans", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-miterlimit", "stroke-opacity", "stroke-width", "tab-size", "widows", "z-index", "zoom"]), f$2 = /[A-Z]/g;
373
+ function p$1(e2) {
360
374
  var t2 = "";
361
375
  for (var r2 in e2) {
362
- var o2 = e2[r2];
363
- if (null != o2 && "" !== o2) {
364
- var n2 = "-" == r2[0] ? r2 : c$1[r2] || (c$1[r2] = r2.replace(u$2, "-$&").toLowerCase()), a2 = ";";
365
- "number" != typeof o2 || n2.startsWith("--") || p$1.has(n2) || (a2 = "px;"), t2 = t2 + n2 + ":" + o2 + a2;
376
+ var n2 = e2[r2];
377
+ if (null != n2 && "" !== n2) {
378
+ var o2 = "-" == r2[0] ? r2 : l$1[r2] || (l$1[r2] = r2.replace(f$2, "-$&").toLowerCase()), i2 = ";";
379
+ "number" != typeof n2 || o2.startsWith("--") || u$2.has(o2) || (i2 = "px;"), t2 = t2 + o2 + ":" + n2 + i2;
366
380
  }
367
381
  }
368
382
  return t2 || void 0;
369
383
  }
370
- var _$1, d$1, h$1, m$1, v$1 = [], g$2 = Array.isArray, y$1 = Object.assign;
371
- function b$1(o2, n2) {
384
+ var y$1, g$2, b$1, k$2, w$2 = [], A$2 = Array.isArray, C$2 = Object.assign;
385
+ function S(n2, o2, i2) {
372
386
  var a2 = l$2.__s;
373
- l$2.__s = true, _$1 = l$2.__b, d$1 = l$2.diffed, h$1 = l$2.__r, m$1 = l$2.unmount;
374
- var i2 = y$2(g$3, null);
375
- i2.__k = [o2];
387
+ l$2.__s = true, y$1 = l$2.__b, g$2 = l$2.diffed, b$1 = l$2.__r, k$2 = l$2.unmount;
388
+ var c2 = _$1(k$3, null);
389
+ c2.__k = [n2];
376
390
  try {
377
- return C$1(o2, n2 || k$2, false, void 0, i2);
391
+ var s2 = j$2(n2, o2 || E$1, false, void 0, c2, false, i2);
392
+ return Array.isArray(s2) ? s2.join("") : s2;
393
+ } catch (e2) {
394
+ if (e2.then)
395
+ throw new Error('Use "renderToStringAsync" for suspenseful rendering.');
396
+ throw e2;
378
397
  } finally {
379
- l$2.__c && l$2.__c(o2, v$1), l$2.__s = a2, v$1.length = 0;
398
+ l$2.__c && l$2.__c(n2, w$2), l$2.__s = a2, w$2.length = 0;
380
399
  }
381
400
  }
382
- function x$2() {
401
+ function L$1() {
383
402
  this.__d = true;
384
403
  }
385
- var k$2 = {};
386
- function w$2(e2, t2) {
387
- var r2, o2 = e2.type, n2 = true;
388
- return e2.__c ? (n2 = false, (r2 = e2.__c).state = r2.__s) : r2 = new o2(e2.props, t2), e2.__c = r2, r2.__v = e2, r2.props = e2.props, r2.context = t2, r2.__d = true, null == r2.state && (r2.state = k$2), null == r2.__s && (r2.__s = r2.state), o2.getDerivedStateFromProps ? r2.state = y$1({}, r2.state, o2.getDerivedStateFromProps(r2.props, r2.state)) : n2 && r2.componentWillMount ? (r2.componentWillMount(), r2.state = r2.__s !== r2.state ? r2.__s : r2.state) : !n2 && r2.componentWillUpdate && r2.componentWillUpdate(), h$1 && h$1(e2), r2.render(r2.props, r2.state, t2);
404
+ var E$1 = {};
405
+ function T$2(e2, t2) {
406
+ var r2, n2 = e2.type, o2 = true;
407
+ return e2.__c ? (o2 = false, (r2 = e2.__c).state = r2.__s) : r2 = new n2(e2.props, t2), e2.__c = r2, r2.__v = e2, r2.props = e2.props, r2.context = t2, r2.__d = true, null == r2.state && (r2.state = E$1), null == r2.__s && (r2.__s = r2.state), n2.getDerivedStateFromProps ? r2.state = C$2({}, r2.state, n2.getDerivedStateFromProps(r2.props, r2.state)) : o2 && r2.componentWillMount ? (r2.componentWillMount(), r2.state = r2.__s !== r2.state ? r2.__s : r2.state) : !o2 && r2.componentWillUpdate && r2.componentWillUpdate(), b$1 && b$1(e2), r2.render(r2.props, r2.state, t2);
389
408
  }
390
- function C$1(t2, l2, c2, p2, u2) {
409
+ function j$2(t2, c2, l2, u2, f2, h2, d2) {
391
410
  if (null == t2 || true === t2 || false === t2 || "" === t2)
392
411
  return "";
393
412
  if ("object" != typeof t2)
394
413
  return "function" == typeof t2 ? "" : s$1(t2 + "");
395
- if (g$2(t2)) {
396
- var v2 = "";
397
- u2.__k = t2;
398
- for (var b2 = 0; b2 < t2.length; b2++) {
399
- var k2 = t2[b2];
400
- null != k2 && "boolean" != typeof k2 && (v2 += C$1(k2, l2, c2, p2, u2));
414
+ if (A$2(t2)) {
415
+ var _2, v2 = "";
416
+ f2.__k = t2;
417
+ for (var m2 = 0; m2 < t2.length; m2++) {
418
+ var x2 = t2[m2];
419
+ if (null != x2 && "boolean" != typeof x2) {
420
+ var w2, S2 = j$2(x2, c2, l2, u2, f2, h2, d2);
421
+ "string" == typeof S2 ? v2 += S2 : (_2 = _2 || [], v2 && _2.push(v2), v2 = "", Array.isArray(S2) ? (w2 = _2).push.apply(w2, S2) : _2.push(S2));
422
+ }
401
423
  }
402
- return v2;
424
+ return _2 ? (v2 && _2.push(v2), _2) : v2;
403
425
  }
404
426
  if (void 0 !== t2.constructor)
405
427
  return "";
406
- t2.__ = u2, _$1 && _$1(t2);
407
- var A2, L2, D2, E2 = t2.type, T2 = t2.props, Z2 = l2;
408
- if ("function" == typeof E2) {
409
- if (E2 === g$3) {
410
- if (T2.tpl) {
411
- for (var F2 = "", U2 = 0; U2 < T2.tpl.length; U2++)
412
- if (F2 += T2.tpl[U2], T2.exprs && U2 < T2.exprs.length) {
413
- var W2 = T2.exprs[U2];
414
- if (null == W2)
428
+ t2.__ = f2, y$1 && y$1(t2);
429
+ var E2, P2, U2, Z2 = t2.type, F2 = t2.props, M2 = c2;
430
+ if ("function" == typeof Z2) {
431
+ if (Z2 === k$3) {
432
+ if (F2.tpl) {
433
+ for (var W2 = "", $2 = 0; $2 < F2.tpl.length; $2++)
434
+ if (W2 += F2.tpl[$2], F2.exprs && $2 < F2.exprs.length) {
435
+ var z2 = F2.exprs[$2];
436
+ if (null == z2)
415
437
  continue;
416
- "object" != typeof W2 || void 0 !== W2.constructor && !g$2(W2) ? F2 += W2 : F2 += C$1(W2, l2, c2, p2, t2);
438
+ "object" != typeof z2 || void 0 !== z2.constructor && !A$2(z2) ? W2 += z2 : W2 += j$2(z2, c2, l2, u2, t2, h2, d2);
417
439
  }
418
- return F2;
440
+ return W2;
419
441
  }
420
- if (T2.UNSTABLE_comment)
421
- return "<!--" + s$1(T2.UNSTABLE_comment || "") + "-->";
422
- L2 = T2.children;
442
+ if (F2.UNSTABLE_comment)
443
+ return "<!--" + s$1(F2.UNSTABLE_comment || "") + "-->";
444
+ P2 = F2.children;
423
445
  } else {
424
- if (null != (A2 = E2.contextType)) {
425
- var $2 = l2[A2.__c];
426
- Z2 = $2 ? $2.props.value : A2.__;
446
+ if (null != (E2 = Z2.contextType)) {
447
+ var H2 = c2[E2.__c];
448
+ M2 = H2 ? H2.props.value : E2.__;
427
449
  }
428
- if (E2.prototype && "function" == typeof E2.prototype.render)
429
- L2 = w$2(t2, Z2), D2 = t2.__c;
450
+ if (Z2.prototype && "function" == typeof Z2.prototype.render)
451
+ P2 = T$2(t2, M2), U2 = t2.__c;
430
452
  else {
431
- t2.__c = D2 = { __v: t2, props: T2, context: Z2, setState: x$2, forceUpdate: x$2, __d: true, __h: [] };
432
- for (var j2 = 0; D2.__d && j2++ < 25; )
433
- D2.__d = false, h$1 && h$1(t2), L2 = E2.call(D2, T2, Z2);
434
- D2.__d = true;
453
+ t2.__c = U2 = { __v: t2, props: F2, context: M2, setState: L$1, forceUpdate: L$1, __d: true, __h: [] };
454
+ for (var q2 = 0; U2.__d && q2++ < 25; )
455
+ U2.__d = false, b$1 && b$1(t2), P2 = Z2.call(U2, F2, M2);
456
+ U2.__d = true;
435
457
  }
436
- if (null != D2.getChildContext && (l2 = y$1({}, l2, D2.getChildContext())), (E2.getDerivedStateFromError || D2.componentDidCatch) && l$2.errorBoundaries) {
437
- var M2 = "";
438
- L2 = null != L2 && L2.type === g$3 && null == L2.key ? L2.props.children : L2;
458
+ if (null != U2.getChildContext && (c2 = C$2({}, c2, U2.getChildContext())), (Z2.getDerivedStateFromError || U2.componentDidCatch) && l$2.errorBoundaries) {
459
+ var B2 = "";
460
+ P2 = null != P2 && P2.type === k$3 && null == P2.key ? P2.props.children : P2;
439
461
  try {
440
- return M2 = C$1(L2, l2, c2, p2, t2);
462
+ return B2 = j$2(P2, c2, l2, u2, t2, h2, d2);
441
463
  } catch (e2) {
442
- return E2.getDerivedStateFromError && (D2.__s = E2.getDerivedStateFromError(e2)), D2.componentDidCatch && D2.componentDidCatch(e2, {}), D2.__d && (L2 = w$2(t2, l2), null != (D2 = t2.__c).getChildContext && (l2 = y$1({}, l2, D2.getChildContext())), M2 = C$1(L2 = null != L2 && L2.type === g$3 && null == L2.key ? L2.props.children : L2, l2, c2, p2, t2)), M2;
464
+ return Z2.getDerivedStateFromError && (U2.__s = Z2.getDerivedStateFromError(e2)), U2.componentDidCatch && U2.componentDidCatch(e2, {}), U2.__d && (P2 = T$2(t2, c2), null != (U2 = t2.__c).getChildContext && (c2 = C$2({}, c2, U2.getChildContext())), B2 = j$2(P2 = null != P2 && P2.type === k$3 && null == P2.key ? P2.props.children : P2, c2, l2, u2, t2, h2, d2)), B2;
443
465
  } finally {
444
- d$1 && d$1(t2), t2.__ = void 0, m$1 && m$1(t2);
466
+ g$2 && g$2(t2), t2.__ = null, k$2 && k$2(t2);
445
467
  }
446
468
  }
447
469
  }
448
- var z2 = C$1(L2 = null != L2 && L2.type === g$3 && null == L2.key ? L2.props.children : L2, l2, c2, p2, t2);
449
- return d$1 && d$1(t2), t2.__ = void 0, m$1 && m$1(t2), z2;
470
+ P2 = null != P2 && P2.type === k$3 && null == P2.key && null == P2.props.tpl ? P2.props.children : P2;
471
+ try {
472
+ var I2 = j$2(P2, c2, l2, u2, t2, h2, d2);
473
+ return g$2 && g$2(t2), t2.__ = null, l$2.unmount && l$2.unmount(t2), I2;
474
+ } catch (r2) {
475
+ if (!h2 && d2 && d2.onError) {
476
+ var N2 = d2.onError(r2, t2, function(e2) {
477
+ return j$2(e2, c2, l2, u2, t2, h2, d2);
478
+ });
479
+ if (void 0 !== N2)
480
+ return N2;
481
+ var O2 = l$2.__e;
482
+ return O2 && O2(r2, t2), "";
483
+ }
484
+ if (!h2)
485
+ throw r2;
486
+ if (!r2 || "function" != typeof r2.then)
487
+ throw r2;
488
+ var R2 = function e2() {
489
+ try {
490
+ return j$2(P2, c2, l2, u2, t2, h2, d2);
491
+ } catch (r3) {
492
+ if (!r3 || "function" != typeof r3.then)
493
+ throw r3;
494
+ return r3.then(function() {
495
+ return j$2(P2, c2, l2, u2, t2, h2, d2);
496
+ }, function() {
497
+ return e2();
498
+ });
499
+ }
500
+ };
501
+ return r2.then(function() {
502
+ return R2();
503
+ });
504
+ }
450
505
  }
451
- var H2, q2 = "<" + E2, B2 = "";
452
- for (var I2 in T2) {
453
- var N2 = T2[I2];
454
- switch (I2) {
506
+ var V2, K2 = "<" + Z2, G2 = "";
507
+ for (var J2 in F2) {
508
+ var Q2 = F2[J2];
509
+ switch (J2) {
455
510
  case "children":
456
- H2 = N2;
511
+ V2 = Q2;
457
512
  continue;
458
513
  case "key":
459
514
  case "ref":
@@ -461,62 +516,65 @@ function C$1(t2, l2, c2, p2, u2) {
461
516
  case "__source":
462
517
  continue;
463
518
  case "htmlFor":
464
- if ("for" in T2)
519
+ if ("for" in F2)
465
520
  continue;
466
- I2 = "for";
521
+ J2 = "for";
467
522
  break;
468
523
  case "className":
469
- if ("class" in T2)
524
+ if ("class" in F2)
470
525
  continue;
471
- I2 = "class";
526
+ J2 = "class";
472
527
  break;
473
528
  case "defaultChecked":
474
- I2 = "checked";
529
+ J2 = "checked";
475
530
  break;
476
531
  case "defaultSelected":
477
- I2 = "selected";
532
+ J2 = "selected";
478
533
  break;
479
534
  case "defaultValue":
480
535
  case "value":
481
- switch (I2 = "value", E2) {
536
+ switch (J2 = "value", Z2) {
482
537
  case "textarea":
483
- H2 = N2;
538
+ V2 = Q2;
484
539
  continue;
485
540
  case "select":
486
- p2 = N2;
541
+ u2 = Q2;
487
542
  continue;
488
543
  case "option":
489
- p2 != N2 || "selected" in T2 || (q2 += " selected");
544
+ u2 != Q2 || "selected" in F2 || (K2 += " selected");
490
545
  }
491
546
  break;
492
547
  case "dangerouslySetInnerHTML":
493
- B2 = N2 && N2.__html;
548
+ G2 = Q2 && Q2.__html;
494
549
  continue;
495
550
  case "style":
496
- "object" == typeof N2 && (N2 = f$2(N2));
551
+ "object" == typeof Q2 && (Q2 = p$1(Q2));
497
552
  break;
498
553
  case "acceptCharset":
499
- I2 = "accept-charset";
554
+ J2 = "accept-charset";
500
555
  break;
501
556
  case "httpEquiv":
502
- I2 = "http-equiv";
557
+ J2 = "http-equiv";
503
558
  break;
504
559
  default:
505
- if (n.test(I2))
506
- I2 = I2.replace(n, "$1:$2").toLowerCase();
560
+ if (o$1.test(J2))
561
+ J2 = J2.replace(o$1, "$1:$2").toLowerCase();
507
562
  else {
508
- if (o$1.test(I2))
563
+ if (n.test(J2))
509
564
  continue;
510
- "-" !== I2[4] && "draggable" !== I2 || null == N2 ? c2 ? i$1.test(I2) && (I2 = "panose1" === I2 ? "panose-1" : I2.replace(/([A-Z])/g, "-$1").toLowerCase()) : a$1.test(I2) && (I2 = I2.toLowerCase()) : N2 += "";
565
+ "-" !== J2[4] && "draggable" !== J2 || null == Q2 ? l2 ? a$1.test(J2) && (J2 = "panose1" === J2 ? "panose-1" : J2.replace(/([A-Z])/g, "-$1").toLowerCase()) : i$1.test(J2) && (J2 = J2.toLowerCase()) : Q2 += "";
511
566
  }
512
567
  }
513
- null != N2 && false !== N2 && "function" != typeof N2 && (q2 = true === N2 || "" === N2 ? q2 + " " + I2 : q2 + " " + I2 + '="' + s$1(N2 + "") + '"');
568
+ null != Q2 && false !== Q2 && "function" != typeof Q2 && (K2 = true === Q2 || "" === Q2 ? K2 + " " + J2 : K2 + " " + J2 + '="' + s$1(Q2 + "") + '"');
514
569
  }
515
- if (o$1.test(E2))
516
- throw new Error(E2 + " is not a valid HTML tag name in " + q2 + ">");
517
- return B2 || ("string" == typeof H2 ? B2 = s$1(H2) : null != H2 && false !== H2 && true !== H2 && (B2 = C$1(H2, l2, "svg" === E2 || "foreignObject" !== E2 && c2, p2, t2))), d$1 && d$1(t2), t2.__ = void 0, m$1 && m$1(t2), !B2 && S.has(E2) ? q2 + "/>" : q2 + ">" + B2 + "</" + E2 + ">";
570
+ if (n.test(Z2))
571
+ throw new Error(Z2 + " is not a valid HTML tag name in " + K2 + ">");
572
+ if (G2 || ("string" == typeof V2 ? G2 = s$1(V2) : null != V2 && false !== V2 && true !== V2 && (G2 = j$2(V2, c2, "svg" === Z2 || "foreignObject" !== Z2 && l2, u2, t2, h2, d2))), g$2 && g$2(t2), t2.__ = null, k$2 && k$2(t2), !G2 && D$2.has(Z2))
573
+ return K2 + "/>";
574
+ var X2 = "</" + Z2 + ">", Y2 = K2 + ">";
575
+ return Array.isArray(G2) ? [Y2].concat(G2, [X2]) : "string" != typeof G2 ? [Y2, G2, X2] : Y2 + G2 + X2;
518
576
  }
519
- var S = /* @__PURE__ */ new Set(["area", "base", "br", "col", "command", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]);
577
+ var D$2 = /* @__PURE__ */ new Set(["area", "base", "br", "col", "command", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]);
520
578
  var ValiError = class extends Error {
521
579
  /**
522
580
  * Creates a Valibot error with useful information.
@@ -1057,14 +1115,11 @@ const payPeriods = {
1057
1115
  WEEKLY: "per week"
1058
1116
  };
1059
1117
  const getSalaryAsText = (params) => {
1060
- const {
1061
- salary,
1062
- config
1063
- } = params;
1118
+ const { salary, config } = params;
1064
1119
  const numberFormatter = new Intl.NumberFormat(config.locales, {
1065
1120
  style: "currency",
1066
1121
  currency: salary.pay_currency,
1067
- // @ts-expect-error - trailingZeroDisplay is not in the types but exists: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#trailingzerodisplay
1122
+ // @ts-expect-error - it exists, but TS doesn't know it
1068
1123
  trailingZeroDisplay: "stripIfInteger"
1069
1124
  });
1070
1125
  if (salary.pay_display === false)
@@ -1088,14 +1143,8 @@ const getSalaryAsText = (params) => {
1088
1143
  return "From " + [numberFormatter.format(+salary.pay_min), period].filter(Boolean).join(" ");
1089
1144
  return "Invalid salary";
1090
1145
  };
1091
- const DEFAULT_FORMATTER = new Intl.RelativeTimeFormat("en", {
1092
- numeric: "auto"
1093
- });
1094
- const getRelativeTimeDifference = ({
1095
- from = /* @__PURE__ */ new Date(),
1096
- to,
1097
- formatter = DEFAULT_FORMATTER
1098
- }) => {
1146
+ const DEFAULT_FORMATTER = new Intl.RelativeTimeFormat("en", { numeric: "auto" });
1147
+ const getRelativeTimeDifference = ({ from = /* @__PURE__ */ new Date(), to, formatter = DEFAULT_FORMATTER }) => {
1099
1148
  const then = to instanceof Date ? to : new Date(to);
1100
1149
  const diff = then.getTime() - from.getTime();
1101
1150
  const diffIn = {
@@ -1111,10 +1160,9 @@ const getRelativeTimeDifference = ({
1111
1160
  return diffIn.months < 0 ? "a long time ago" : "in a long time";
1112
1161
  };
1113
1162
  const SEVEN_DAYS_MS = 1e3 * 60 * 60 * 24 * 7;
1114
- const AvailablePropertiesSchema = record(array(object({
1115
- label: coerce(string(), String),
1116
- value: coerce(string(), String)
1117
- })));
1163
+ const AvailablePropertiesSchema = record(
1164
+ array(object({ label: coerce(string(), String), value: coerce(string(), String) }))
1165
+ );
1118
1166
  const URLSchema = string([url()]);
1119
1167
  const PaginationSchema = object({
1120
1168
  total: number(),
@@ -1125,10 +1173,12 @@ const PaginationSchema = object({
1125
1173
  const JobPayloadSchema = object({
1126
1174
  id: number(),
1127
1175
  company_name: string(),
1128
- company_logo: optional(string()),
1176
+ company_logo: nullable(optional(string())),
1129
1177
  employment_type: string(),
1130
1178
  location_type: union([literal("LOCATION"), literal("REMOTE"), literal("HYBRID")]),
1131
- pay_type: nullable(union([literal("ANNUALLY"), literal("HOURLY"), literal("MONTHLY"), literal("WEEKLY"), literal("DAILY")])),
1179
+ pay_type: nullable(
1180
+ union([literal("ANNUALLY"), literal("HOURLY"), literal("MONTHLY"), literal("WEEKLY"), literal("DAILY")])
1181
+ ),
1132
1182
  pay_currency: string(),
1133
1183
  // Whether to mask the pay and show as "competitive"
1134
1184
  pay_mask: boolean(),
@@ -1167,29 +1217,25 @@ const JobSchema = transform(JobPayloadSchema, (schema) => {
1167
1217
  },
1168
1218
  employmentType: schema.employment_type,
1169
1219
  locationType: schema.location_type,
1170
- pay: getSalaryAsText({
1171
- salary: schema,
1172
- config: {
1173
- locales: void 0
1174
- }
1175
- }),
1220
+ pay: getSalaryAsText({ salary: schema, config: { locales: void 0 } }),
1176
1221
  description: schema.description,
1177
1222
  title: schema.title,
1178
1223
  contractType: schema.contract_type,
1179
1224
  href: schema.href,
1180
- relativePostedDate: schema.created_at ? getRelativeTimeDifference({
1181
- to: new Date(schema.created_at)
1182
- }) : "INVALID DATE",
1225
+ relativePostedDate: schema.created_at ? getRelativeTimeDifference({ to: new Date(schema.created_at) }) : "INVALID DATE",
1183
1226
  customData: schema.custom_data
1184
1227
  };
1185
1228
  });
1186
- const JobSearchResponseSchema = transform(object({
1187
- data: array(JobSchema),
1188
- pagination: PaginationSchema
1189
- }), (schema) => ({
1190
- pagination: schema.pagination,
1191
- results: schema.data
1192
- }));
1229
+ const JobSearchResponseSchema = transform(
1230
+ object({
1231
+ data: array(JobSchema),
1232
+ pagination: PaginationSchema
1233
+ }),
1234
+ (schema) => ({
1235
+ pagination: schema.pagination,
1236
+ results: schema.data
1237
+ })
1238
+ );
1193
1239
  const filtersToPayload = (filters) => {
1194
1240
  return Object.fromEntries(Object.entries(filters).map(([key, filter]) => [key, (filter == null ? void 0 : filter.value) ?? null]));
1195
1241
  };
@@ -1244,28 +1290,13 @@ const getJobSearchResults = async ({
1244
1290
  };
1245
1291
  const getQueryState = (swr) => {
1246
1292
  if (swr.error)
1247
- return {
1248
- state: "error",
1249
- error: swr.error,
1250
- swr
1251
- };
1293
+ return { state: "error", error: swr.error, swr };
1252
1294
  if (swr.isLoading && swr.data === void 0)
1253
- return {
1254
- state: "loading",
1255
- swr
1256
- };
1295
+ return { state: "loading", swr };
1257
1296
  if ((swr.isLoading || swr.isValidating) && swr.data)
1258
- return {
1259
- state: "revalidating",
1260
- data: swr.data,
1261
- swr
1262
- };
1297
+ return { state: "revalidating", data: swr.data, swr };
1263
1298
  if (!swr.isLoading && swr.data)
1264
- return {
1265
- state: "loaded",
1266
- data: swr.data,
1267
- swr
1268
- };
1299
+ return { state: "loaded", data: swr.data, swr };
1269
1300
  throw new Error("Unhandled data state");
1270
1301
  };
1271
1302
  const SWR_SETTINGS = {
@@ -1275,6 +1306,38 @@ const SWR_SETTINGS = {
1275
1306
  revalidateIfStale: false,
1276
1307
  revalidateFirstPage: false
1277
1308
  };
1309
+ var f$1 = 0;
1310
+ function u$1(e2, t2, n2, o2, i2, u2) {
1311
+ t2 || (t2 = {});
1312
+ var a2, c2, p2 = t2;
1313
+ if ("ref" in p2)
1314
+ for (c2 in p2 = {}, t2)
1315
+ "ref" == c2 ? a2 = t2[c2] : p2[c2] = t2[c2];
1316
+ var l2 = { type: e2, props: p2, key: n2, ref: a2, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: --f$1, __i: -1, __u: 0, __source: i2, __self: u2 };
1317
+ if ("function" == typeof e2 && (a2 = e2.defaultProps))
1318
+ for (c2 in a2)
1319
+ void 0 === p2[c2] && (p2[c2] = a2[c2]);
1320
+ return l$2.vnode && l$2.vnode(l2), l2;
1321
+ }
1322
+ function r$2(e2) {
1323
+ var t2, f2, n2 = "";
1324
+ if ("string" == typeof e2 || "number" == typeof e2)
1325
+ n2 += e2;
1326
+ else if ("object" == typeof e2)
1327
+ if (Array.isArray(e2)) {
1328
+ var o2 = e2.length;
1329
+ for (t2 = 0; t2 < o2; t2++)
1330
+ e2[t2] && (f2 = r$2(e2[t2])) && (n2 && (n2 += " "), n2 += f2);
1331
+ } else
1332
+ for (f2 in e2)
1333
+ e2[f2] && (n2 && (n2 += " "), n2 += f2);
1334
+ return n2;
1335
+ }
1336
+ function clsx$1() {
1337
+ for (var e2, t2, f2 = 0, n2 = "", o2 = arguments.length; f2 < o2; f2++)
1338
+ (e2 = arguments[f2]) && (t2 = r$2(e2)) && (n2 && (n2 += " "), n2 += t2);
1339
+ return n2;
1340
+ }
1278
1341
  function r$1(e2) {
1279
1342
  var t2, f2, n2 = "";
1280
1343
  if ("string" == typeof e2 || "number" == typeof e2)
@@ -1366,31 +1429,11 @@ const btnClass = cva({
1366
1429
  }
1367
1430
  },
1368
1431
  compoundVariants: [
1369
- {
1370
- size: "sm",
1371
- icon: "right",
1372
- class: "pl-3 pr-1"
1373
- },
1374
- {
1375
- size: "sm",
1376
- icon: "left",
1377
- class: "pl-1 pr-3"
1378
- },
1379
- {
1380
- size: "sm",
1381
- icon: "none",
1382
- class: "px-3"
1383
- },
1384
- {
1385
- size: "lg",
1386
- icon: "none",
1387
- class: "px-5"
1388
- },
1389
- {
1390
- size: "lg",
1391
- icon: "right",
1392
- class: "pl-5 pr-3"
1393
- }
1432
+ { size: "sm", icon: "right", class: "pl-3 pr-1" },
1433
+ { size: "sm", icon: "left", class: "pl-1 pr-3" },
1434
+ { size: "sm", icon: "none", class: "px-3" },
1435
+ { size: "lg", icon: "none", class: "px-5" },
1436
+ { size: "lg", icon: "right", class: "pl-5 pr-3" }
1394
1437
  // { size: 'lg', icon: 'left', class: 'pl-3 pr-5' },
1395
1438
  // { size: 'lg', icon: 'none', class: 'px-5' },
1396
1439
  ],
@@ -1400,287 +1443,193 @@ const btnClass = cva({
1400
1443
  size: "sm"
1401
1444
  }
1402
1445
  });
1403
- var f$1 = 0;
1404
- function u$1(e2, t2, n2, o2, i2, u2) {
1405
- var a2, c2, p2 = {};
1406
- for (c2 in t2)
1407
- "ref" == c2 ? a2 = t2[c2] : p2[c2] = t2[c2];
1408
- var l2 = { type: e2, props: p2, key: n2, ref: a2, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: --f$1, __i: -1, __u: 0, __source: i2, __self: u2 };
1409
- if ("function" == typeof e2 && (a2 = e2.defaultProps))
1410
- for (c2 in a2)
1411
- void 0 === p2[c2] && (p2[c2] = a2[c2]);
1412
- return l$2.vnode && l$2.vnode(l2), l2;
1413
- }
1414
- const UnstyledErrorView = ({
1415
- error,
1416
- resetError
1417
- }) => {
1418
- return u$1("div", {
1419
- style: {
1420
- display: "flex",
1421
- flexDirection: "column",
1422
- gap: ".5rem",
1423
- padding: "1rem",
1424
- fontSize: "1rem",
1425
- color: "hsl(10, 82%, 45%)",
1426
- fontFamily: "'system-ui' 'Helvetica'",
1427
- background: "hsl(7, 100%, 98%)"
1428
- },
1429
- children: [u$1("p", {
1430
- children: error.message
1431
- }), u$1("button", {
1432
- onClick: resetError,
1446
+ const UnstyledErrorView = ({ error, resetError }) => {
1447
+ return /* @__PURE__ */ u$1(
1448
+ "div",
1449
+ {
1433
1450
  style: {
1434
- background: "white",
1435
- border: "none",
1436
- cursor: "pointer",
1437
- textAlign: "center",
1438
- borderRadius: "4px",
1439
- padding: "0.5rem 1rem"
1451
+ display: "flex",
1452
+ flexDirection: "column",
1453
+ gap: ".5rem",
1454
+ padding: "1rem",
1455
+ fontSize: "1rem",
1456
+ color: "hsl(10, 82%, 45%)",
1457
+ fontFamily: "'system-ui' 'Helvetica'",
1458
+ background: "hsl(7, 100%, 98%)"
1440
1459
  },
1441
- children: "Retry"
1442
- })]
1443
- });
1460
+ children: [
1461
+ /* @__PURE__ */ u$1("p", { children: error.message }),
1462
+ /* @__PURE__ */ u$1(
1463
+ "button",
1464
+ {
1465
+ onClick: resetError,
1466
+ style: {
1467
+ background: "white",
1468
+ border: "none",
1469
+ cursor: "pointer",
1470
+ textAlign: "center",
1471
+ borderRadius: "4px",
1472
+ padding: "0.5rem 1rem"
1473
+ },
1474
+ children: "Retry"
1475
+ }
1476
+ )
1477
+ ]
1478
+ }
1479
+ );
1444
1480
  };
1445
- const ErrorView = ({
1446
- error,
1447
- resetError,
1448
- class: className,
1449
- ...props
1450
- }) => {
1451
- return u$1("div", {
1452
- class: clsx("bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center", className),
1453
- ...props,
1454
- children: [u$1("div", {
1455
- class: "flex flex-col gap-1",
1456
- children: [u$1("p", {
1457
- class: "text-neutral-1 text-style-job-heading font-style-job-heading font-weight-job-heading [text-wrap:balance]",
1458
- children: "Sorry, this widget is unavailable at the moment."
1459
- }), u$1("p", {
1460
- class: "text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]",
1461
- children: error.message
1462
- })]
1463
- }), u$1("button", {
1464
- class: btnClass({
1465
- variant: "neutral",
1466
- size: "lg",
1467
- class: "text-interactive-neutral-bg bg-lowest"
1468
- }),
1469
- onClick: resetError,
1470
- children: "Retry"
1471
- })]
1472
- });
1481
+ const ErrorView = ({ error, resetError, class: className, ...props }) => {
1482
+ return /* @__PURE__ */ u$1(
1483
+ "div",
1484
+ {
1485
+ class: clsx$1(
1486
+ "bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center",
1487
+ className
1488
+ ),
1489
+ ...props,
1490
+ children: [
1491
+ /* @__PURE__ */ u$1("div", { class: "flex flex-col gap-1", children: [
1492
+ /* @__PURE__ */ u$1("p", { class: "text-neutral-1 text-style-job-heading font-style-job-heading font-weight-job-heading [text-wrap:balance]", children: "Sorry, this widget is unavailable at the moment." }),
1493
+ /* @__PURE__ */ u$1("p", { class: "text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]", children: error.message })
1494
+ ] }),
1495
+ /* @__PURE__ */ u$1(
1496
+ "button",
1497
+ {
1498
+ class: btnClass({
1499
+ variant: "neutral",
1500
+ size: "lg",
1501
+ class: "text-interactive-neutral-bg bg-lowest"
1502
+ }),
1503
+ onClick: resetError,
1504
+ children: "Retry"
1505
+ }
1506
+ )
1507
+ ]
1508
+ }
1509
+ );
1473
1510
  };
1474
1511
  class ErrorBoundary extends b$2 {
1475
1512
  constructor() {
1476
1513
  super(...arguments);
1477
- __publicField(this, "state", {
1478
- error: null
1479
- });
1514
+ __publicField(this, "state", { error: null });
1480
1515
  }
1481
1516
  static getDerivedStateFromError(error) {
1482
- return {
1483
- error: error.message
1484
- };
1517
+ return { error: error.message };
1485
1518
  }
1486
1519
  componentDidCatch(error) {
1487
- this.setState({
1488
- error
1489
- });
1520
+ this.setState({ error });
1490
1521
  }
1491
1522
  render() {
1492
1523
  if (this.state.error) {
1493
- const {
1494
- Fallback
1495
- } = this.props;
1496
- return u$1(Fallback, {
1497
- error: this.state.error,
1498
- resetError: () => {
1499
- console.log("resetting error");
1500
- this.setState({
1501
- error: null
1502
- });
1524
+ const { Fallback } = this.props;
1525
+ return /* @__PURE__ */ u$1(
1526
+ Fallback,
1527
+ {
1528
+ error: this.state.error,
1529
+ resetError: () => {
1530
+ console.log("resetting error");
1531
+ this.setState({ error: null });
1532
+ }
1503
1533
  }
1504
- });
1534
+ );
1505
1535
  }
1506
1536
  return this.props.children;
1507
1537
  }
1508
1538
  }
1509
1539
  const icons = {
1510
- briefcase: u$1(g$3, {
1511
- children: [u$1("path", {
1512
- d: "M17.25 7.75H6.75C5.64543 7.75 4.75 8.64543 4.75 9.75V16.25C4.75 17.3546 5.64543 18.25 6.75 18.25H17.25C18.3546 18.25 19.25 17.3546 19.25 16.25V9.75C19.25 8.64543 18.3546 7.75 17.25 7.75Z"
1513
- }), u$1("path", {
1514
- d: "M4.75 11.75H19.25"
1515
- }), u$1("path", {
1516
- d: "M13.25 12.25V13.25H10.75V12.25H13.25Z"
1517
- }), u$1("path", {
1518
- d: "M9.25 7.5V6.25C9.25 5.42157 9.92157 4.75 10.75 4.75H13.25C14.0784 4.75 14.75 5.42157 14.75 6.25V7.5"
1519
- })]
1520
- }),
1521
- brand: u$1(g$3, {
1522
- children: [u$1("path", {
1523
- d: "M18.45 13.9901C18.1288 15.031 17.5574 15.9886 16.773 16.773C15.5071 18.0388 13.7902 18.75 12 18.75C10.2098 18.75 8.49289 18.0388 7.22702 16.773C6.44262 15.9886 5.87122 15.031 5.55003 13.9901"
1524
- }), u$1("path", {
1525
- d: "M9.87868 14.8713C10.1573 15.1499 10.488 15.3709 10.8519 15.5216C11.2159 15.6724 11.606 15.75 12 15.75C12.394 15.75 12.7841 15.6724 13.1481 15.5216C13.512 15.3709 13.8427 15.1499 14.1213 14.8713"
1526
- }), u$1("path", {
1527
- d: "M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"
1528
- }), u$1("path", {
1529
- d: "M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"
1530
- }), u$1("path", {
1531
- d: "M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"
1532
- }), u$1("circle", {
1533
- cx: "18.75",
1534
- cy: "12",
1535
- r: "2"
1536
- }), u$1("circle", {
1537
- cx: "5.25",
1538
- cy: "12",
1539
- r: "2"
1540
- })]
1541
- }),
1542
- building: u$1(g$3, {
1543
- children: [u$1("path", {
1544
- d: "M16.75 10.25H13.75"
1545
- }), u$1("path", {
1546
- d: "M16.75 13.25H13.75"
1547
- }), u$1("path", {
1548
- d: "M3 18.25H5.25006M5.25006 18.25V14.25C5.25006 13.1454 6.14549 12.25 7.25006 12.25H10.2501L10.25 8.25003C10.25 6.59316 11.5932 5.25 13.25 5.25H17.25C18.9069 5.25 20.25 6.59315 20.25 8.25V18.25H5.25006Z"
1549
- }), u$1("path", {
1550
- d: "M10.25 12.25V18.25"
1551
- })]
1552
- }),
1553
- circles: u$1(g$3, {
1554
- children: [u$1("path", {
1555
- d: "M16.773 16.773C15.829 17.717 14.6262 18.3599 13.3169 18.6203C12.0075 18.8808 10.6503 18.7471 9.41689 18.2362C8.18349 17.7253 7.12928 16.8601 6.38758 15.7501C5.64588 14.6401 5.25 13.335 5.25 12C5.25 10.665 5.64588 9.35993 6.38758 8.2499C7.12928 7.13987 8.18349 6.27471 9.41689 5.76381C10.6503 5.25292 12.0075 5.11925 13.3169 5.3797C14.6262 5.64015 15.829 6.28302 16.773 7.22703"
1556
- }), u$1("path", {
1557
- d: "M9.34835 9.34835C9.8728 8.8239 10.541 8.46675 11.2684 8.32206C11.9958 8.17736 12.7498 8.25162 13.4351 8.53545C14.1203 8.81928 14.706 9.29993 15.118 9.91661C15.5301 10.5333 15.75 11.2583 15.75 12C15.75 12.7417 15.5301 13.4667 15.118 14.0834C14.706 14.7001 14.1203 15.1807 13.4351 15.4645C12.7498 15.7484 11.9958 15.8226 11.2684 15.6779C10.541 15.5333 9.8728 15.1761 9.34835 14.6517"
1558
- })]
1559
- }),
1560
- clock: u$1(g$3, {
1561
- children: [u$1("path", {
1562
- d: "M14 9L12 13L9.5 12"
1563
- }), u$1("path", {
1564
- d: "M18.75 12C18.75 15.7279 15.7279 18.75 12 18.75C8.27208 18.75 5.25 15.7279 5.25 12C5.25 8.27208 8.27208 5.25 12 5.25C15.7279 5.25 18.75 8.27208 18.75 12Z"
1565
- })]
1566
- }),
1567
- filter: u$1(g$3, {
1568
- children: u$1("path", {
1569
- d: "M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"
1570
- })
1571
- }),
1572
- globe: u$1(g$3, {
1573
- children: [u$1("path", {
1574
- d: "M5 13.75H19"
1575
- }), u$1("path", {
1576
- d: "M5 10.25H19"
1577
- }), u$1("path", {
1578
- d: "M12 4.75C15.5 9.25 15.5 14.75 12.0001 19.25C8.50012 14.75 8.50005 9.25 12 4.75Z"
1579
- }), u$1("circle", {
1580
- cx: "12",
1581
- cy: "12",
1582
- r: "7.25"
1583
- })]
1584
- }),
1585
- magnifier: u$1(g$3, {
1586
- children: [u$1("path", {
1587
- d: "M15.5659 15.5659C14.4875 16.6442 13.025 17.25 11.5 17.25C9.97501 17.25 8.51247 16.6442 7.43414 15.5659C6.3558 14.4875 5.75 13.025 5.75 11.5C5.75 9.97501 6.3558 8.51247 7.43414 7.43414C8.51247 6.3558 9.97501 5.75 11.5 5.75C13.025 5.75 14.4875 6.3558 15.5659 7.43414C16.6442 8.51247 17.25 9.97501 17.25 11.5C17.25 13.025 16.6442 14.4875 15.5659 15.5659L15.5659 15.5659Z"
1588
- }), u$1("path", {
1589
- d: "M11.5 8.75C11.8611 8.75 12.2187 8.82113 12.5524 8.95933C12.886 9.09753 13.1892 9.3001 13.4445 9.55546C13.6999 9.81082 13.9025 10.114 14.0407 10.4476C14.1789 10.7813 14.25 11.1389 14.25 11.5"
1590
- }), u$1("path", {
1591
- d: "M16 16L19 19"
1592
- })]
1593
- }),
1594
- mapPin: u$1(g$3, {
1595
- children: u$1(g$3, {
1596
- children: [u$1("circle", {
1597
- cx: "12",
1598
- cy: "9",
1599
- r: "2"
1600
- }), u$1("path", {
1601
- d: "M16.2426 16.8358C17.0818 17.1155 17.6532 17.4719 17.8847 17.8598C18.1162 18.2478 17.9974 18.6499 17.5433 19.0154C17.0892 19.3808 16.3201 19.6932 15.3334 19.9129C14.3467 20.1327 13.1867 20.25 12 20.25C10.8133 20.25 9.65327 20.1327 8.66658 19.9129C7.67988 19.6932 6.91085 19.3808 6.45672 19.0154C6.0026 18.6499 5.88378 18.2478 6.11529 17.8598C6.3468 17.4719 6.91825 17.1155 7.75736 16.8358"
1602
- }), u$1("path", {
1603
- d: "M17.25 9C17.25 13.3995 12 16.75 12 16.75C12 16.75 6.75 13.3995 6.75 9C6.75 6.10051 9.10051 3.75 12 3.75C14.8995 3.75 17.25 6.10051 17.25 9Z"
1604
- })]
1605
- })
1606
- }),
1607
- sunset: u$1(g$3, {
1608
- children: [u$1("path", {
1609
- d: "M18.5 8.5L17.5 9.5"
1610
- }), u$1("path", {
1611
- d: "M5.5 8.5L6.5 9.5"
1612
- }), u$1("path", {
1613
- d: "M12 6L12 7.5"
1614
- }), u$1("path", {
1615
- d: "M7.5 15.25L7.5 14.25C7.5 13.6591 7.6164 13.0739 7.84254 12.5279C8.06869 11.982 8.40016 11.4859 8.81802 11.068C9.23588 10.6502 9.73196 10.3187 10.2779 10.0925C10.8239 9.8664 11.4091 9.75 12 9.75C12.5909 9.75 13.1761 9.8664 13.7221 10.0925C14.268 10.3187 14.7641 10.6502 15.182 11.068C15.5998 11.4859 15.9313 11.982 16.1575 12.5279C16.3836 13.0739 16.5 13.6591 16.5 14.25V15.25"
1616
- }), u$1("path", {
1617
- d: "M20.25 15.25H12H3.75"
1618
- }), u$1("path", {
1619
- d: "M16.25 18.25H12L7.75 18.25"
1620
- })]
1621
- }),
1622
- x: u$1("path", {
1623
- d: "M8 8l8 8M8 16l8 -8"
1624
- }),
1625
- plus: u$1("path", {
1626
- d: "M12 8V16M8 12H16"
1627
- }),
1628
- "chevron-right": u$1("path", {
1629
- d: "M11 8L15 12L11 16"
1630
- })
1540
+ briefcase: /* @__PURE__ */ u$1(k$3, { children: [
1541
+ /* @__PURE__ */ u$1("path", { d: "M17.25 7.75H6.75C5.64543 7.75 4.75 8.64543 4.75 9.75V16.25C4.75 17.3546 5.64543 18.25 6.75 18.25H17.25C18.3546 18.25 19.25 17.3546 19.25 16.25V9.75C19.25 8.64543 18.3546 7.75 17.25 7.75Z" }),
1542
+ /* @__PURE__ */ u$1("path", { d: "M4.75 11.75H19.25" }),
1543
+ /* @__PURE__ */ u$1("path", { d: "M13.25 12.25V13.25H10.75V12.25H13.25Z" }),
1544
+ /* @__PURE__ */ u$1("path", { d: "M9.25 7.5V6.25C9.25 5.42157 9.92157 4.75 10.75 4.75H13.25C14.0784 4.75 14.75 5.42157 14.75 6.25V7.5" })
1545
+ ] }),
1546
+ brand: /* @__PURE__ */ u$1(k$3, { children: [
1547
+ /* @__PURE__ */ u$1("path", { d: "M18.45 13.9901C18.1288 15.031 17.5574 15.9886 16.773 16.773C15.5071 18.0388 13.7902 18.75 12 18.75C10.2098 18.75 8.49289 18.0388 7.22702 16.773C6.44262 15.9886 5.87122 15.031 5.55003 13.9901" }),
1548
+ /* @__PURE__ */ u$1("path", { d: "M9.87868 14.8713C10.1573 15.1499 10.488 15.3709 10.8519 15.5216C11.2159 15.6724 11.606 15.75 12 15.75C12.394 15.75 12.7841 15.6724 13.1481 15.5216C13.512 15.3709 13.8427 15.1499 14.1213 14.8713" }),
1549
+ /* @__PURE__ */ u$1("path", { d: "M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486" }),
1550
+ /* @__PURE__ */ u$1("path", { d: "M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465" }),
1551
+ /* @__PURE__ */ u$1("path", { d: "M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818" }),
1552
+ /* @__PURE__ */ u$1("circle", { cx: "18.75", cy: "12", r: "2" }),
1553
+ /* @__PURE__ */ u$1("circle", { cx: "5.25", cy: "12", r: "2" })
1554
+ ] }),
1555
+ building: /* @__PURE__ */ u$1(k$3, { children: [
1556
+ /* @__PURE__ */ u$1("path", { d: "M16.75 10.25H13.75" }),
1557
+ /* @__PURE__ */ u$1("path", { d: "M16.75 13.25H13.75" }),
1558
+ /* @__PURE__ */ u$1("path", { d: "M3 18.25H5.25006M5.25006 18.25V14.25C5.25006 13.1454 6.14549 12.25 7.25006 12.25H10.2501L10.25 8.25003C10.25 6.59316 11.5932 5.25 13.25 5.25H17.25C18.9069 5.25 20.25 6.59315 20.25 8.25V18.25H5.25006Z" }),
1559
+ /* @__PURE__ */ u$1("path", { d: "M10.25 12.25V18.25" })
1560
+ ] }),
1561
+ circles: /* @__PURE__ */ u$1(k$3, { children: [
1562
+ /* @__PURE__ */ u$1("path", { d: "M16.773 16.773C15.829 17.717 14.6262 18.3599 13.3169 18.6203C12.0075 18.8808 10.6503 18.7471 9.41689 18.2362C8.18349 17.7253 7.12928 16.8601 6.38758 15.7501C5.64588 14.6401 5.25 13.335 5.25 12C5.25 10.665 5.64588 9.35993 6.38758 8.2499C7.12928 7.13987 8.18349 6.27471 9.41689 5.76381C10.6503 5.25292 12.0075 5.11925 13.3169 5.3797C14.6262 5.64015 15.829 6.28302 16.773 7.22703" }),
1563
+ /* @__PURE__ */ u$1("path", { d: "M9.34835 9.34835C9.8728 8.8239 10.541 8.46675 11.2684 8.32206C11.9958 8.17736 12.7498 8.25162 13.4351 8.53545C14.1203 8.81928 14.706 9.29993 15.118 9.91661C15.5301 10.5333 15.75 11.2583 15.75 12C15.75 12.7417 15.5301 13.4667 15.118 14.0834C14.706 14.7001 14.1203 15.1807 13.4351 15.4645C12.7498 15.7484 11.9958 15.8226 11.2684 15.6779C10.541 15.5333 9.8728 15.1761 9.34835 14.6517" })
1564
+ ] }),
1565
+ clock: /* @__PURE__ */ u$1(k$3, { children: [
1566
+ /* @__PURE__ */ u$1("path", { d: "M14 9L12 13L9.5 12" }),
1567
+ /* @__PURE__ */ u$1("path", { d: "M18.75 12C18.75 15.7279 15.7279 18.75 12 18.75C8.27208 18.75 5.25 15.7279 5.25 12C5.25 8.27208 8.27208 5.25 12 5.25C15.7279 5.25 18.75 8.27208 18.75 12Z" })
1568
+ ] }),
1569
+ filter: /* @__PURE__ */ u$1(k$3, { children: /* @__PURE__ */ u$1("path", { d: "M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z" }) }),
1570
+ globe: /* @__PURE__ */ u$1(k$3, { children: [
1571
+ /* @__PURE__ */ u$1("path", { d: "M5 13.75H19" }),
1572
+ /* @__PURE__ */ u$1("path", { d: "M5 10.25H19" }),
1573
+ /* @__PURE__ */ u$1("path", { d: "M12 4.75C15.5 9.25 15.5 14.75 12.0001 19.25C8.50012 14.75 8.50005 9.25 12 4.75Z" }),
1574
+ /* @__PURE__ */ u$1("circle", { cx: "12", cy: "12", r: "7.25" })
1575
+ ] }),
1576
+ magnifier: /* @__PURE__ */ u$1(k$3, { children: [
1577
+ /* @__PURE__ */ u$1("path", { d: "M15.5659 15.5659C14.4875 16.6442 13.025 17.25 11.5 17.25C9.97501 17.25 8.51247 16.6442 7.43414 15.5659C6.3558 14.4875 5.75 13.025 5.75 11.5C5.75 9.97501 6.3558 8.51247 7.43414 7.43414C8.51247 6.3558 9.97501 5.75 11.5 5.75C13.025 5.75 14.4875 6.3558 15.5659 7.43414C16.6442 8.51247 17.25 9.97501 17.25 11.5C17.25 13.025 16.6442 14.4875 15.5659 15.5659L15.5659 15.5659Z" }),
1578
+ /* @__PURE__ */ u$1("path", { d: "M11.5 8.75C11.8611 8.75 12.2187 8.82113 12.5524 8.95933C12.886 9.09753 13.1892 9.3001 13.4445 9.55546C13.6999 9.81082 13.9025 10.114 14.0407 10.4476C14.1789 10.7813 14.25 11.1389 14.25 11.5" }),
1579
+ /* @__PURE__ */ u$1("path", { d: "M16 16L19 19" })
1580
+ ] }),
1581
+ mapPin: /* @__PURE__ */ u$1(k$3, { children: /* @__PURE__ */ u$1(k$3, { children: [
1582
+ /* @__PURE__ */ u$1("circle", { cx: "12", cy: "9", r: "2" }),
1583
+ /* @__PURE__ */ u$1("path", { d: "M16.2426 16.8358C17.0818 17.1155 17.6532 17.4719 17.8847 17.8598C18.1162 18.2478 17.9974 18.6499 17.5433 19.0154C17.0892 19.3808 16.3201 19.6932 15.3334 19.9129C14.3467 20.1327 13.1867 20.25 12 20.25C10.8133 20.25 9.65327 20.1327 8.66658 19.9129C7.67988 19.6932 6.91085 19.3808 6.45672 19.0154C6.0026 18.6499 5.88378 18.2478 6.11529 17.8598C6.3468 17.4719 6.91825 17.1155 7.75736 16.8358" }),
1584
+ /* @__PURE__ */ u$1("path", { d: "M17.25 9C17.25 13.3995 12 16.75 12 16.75C12 16.75 6.75 13.3995 6.75 9C6.75 6.10051 9.10051 3.75 12 3.75C14.8995 3.75 17.25 6.10051 17.25 9Z" })
1585
+ ] }) }),
1586
+ pay: /* @__PURE__ */ u$1(k$3, { children: [
1587
+ /* @__PURE__ */ u$1("path", { d: "M16.8 16.8a6.78 6.78 0 1 1 0-9.6M12 16v-1M12 9V8" }),
1588
+ /* @__PURE__ */ u$1("path", { d: "M10 14c.3.7 1 1 2 1 2.6 0 2.7-3 0-3s-2.7-3 0-3c1 0 1.7.4 2 1" })
1589
+ ] }),
1590
+ sunset: /* @__PURE__ */ u$1(k$3, { children: [
1591
+ /* @__PURE__ */ u$1("path", { d: "M18.5 8.5L17.5 9.5" }),
1592
+ /* @__PURE__ */ u$1("path", { d: "M5.5 8.5L6.5 9.5" }),
1593
+ /* @__PURE__ */ u$1("path", { d: "M12 6L12 7.5" }),
1594
+ /* @__PURE__ */ u$1("path", { d: "M7.5 15.25L7.5 14.25C7.5 13.6591 7.6164 13.0739 7.84254 12.5279C8.06869 11.982 8.40016 11.4859 8.81802 11.068C9.23588 10.6502 9.73196 10.3187 10.2779 10.0925C10.8239 9.8664 11.4091 9.75 12 9.75C12.5909 9.75 13.1761 9.8664 13.7221 10.0925C14.268 10.3187 14.7641 10.6502 15.182 11.068C15.5998 11.4859 15.9313 11.982 16.1575 12.5279C16.3836 13.0739 16.5 13.6591 16.5 14.25V15.25" }),
1595
+ /* @__PURE__ */ u$1("path", { d: "M20.25 15.25H12H3.75" }),
1596
+ /* @__PURE__ */ u$1("path", { d: "M16.25 18.25H12L7.75 18.25" })
1597
+ ] }),
1598
+ x: /* @__PURE__ */ u$1("path", { d: "M8 8l8 8M8 16l8 -8" }),
1599
+ plus: /* @__PURE__ */ u$1("path", { d: "M12 8V16M8 12H16" }),
1600
+ "chevron-right": /* @__PURE__ */ u$1("path", { d: "M11 8L15 12L11 16" })
1631
1601
  };
1632
- const IconSpritesheet = ({
1633
- theme
1634
- }) => {
1635
- return u$1("svg", {
1636
- xmlns: "http://www.w3.org/2000/svg",
1637
- style: {
1638
- display: "none"
1639
- },
1640
- children: u$1("defs", {
1641
- children: Object.entries(icons).map(([name, icon]) => {
1642
- var _a;
1643
- return u$1("symbol", {
1644
- id: `i-icon-${name}`,
1645
- children: u$1("g", {
1646
- fill: "none",
1647
- "stroke-width": theme.mode === "dark" && ((_a = theme.accessibility) == null ? void 0 : _a.highContrast) != true ? "1" : "1.5",
1648
- "stroke-linecap": "round",
1649
- "stroke-linejoin": "round",
1650
- stroke: "currentColor",
1651
- children: icon
1652
- })
1653
- });
1654
- })
1655
- })
1656
- });
1602
+ const IconSpritesheet = ({ theme }) => {
1603
+ return /* @__PURE__ */ u$1("svg", { xmlns: "http://www.w3.org/2000/svg", style: { display: "none" }, children: /* @__PURE__ */ u$1("defs", { children: Object.entries(icons).map(([name, icon]) => {
1604
+ var _a;
1605
+ return /* @__PURE__ */ u$1("symbol", { id: `i-icon-${name}`, children: /* @__PURE__ */ u$1(
1606
+ "g",
1607
+ {
1608
+ fill: "none",
1609
+ "stroke-width": theme.mode === "dark" && ((_a = theme.accessibility) == null ? void 0 : _a.highContrast) != true ? "1" : "1.5",
1610
+ "stroke-linecap": "round",
1611
+ "stroke-linejoin": "round",
1612
+ stroke: "currentColor",
1613
+ children: icon
1614
+ }
1615
+ ) });
1616
+ }) }) });
1657
1617
  };
1658
- const Icon = ({
1659
- name,
1660
- ...props
1661
- }) => {
1662
- return u$1("svg", {
1663
- viewBox: "0 0 24 24",
1664
- width: 24,
1665
- height: 24,
1666
- ...props,
1667
- children: u$1("use", {
1668
- href: `#i-icon-${name}`
1669
- })
1670
- });
1618
+ const Icon = ({ name, ...props }) => {
1619
+ return /* @__PURE__ */ u$1("svg", { viewBox: "0 0 24 24", width: 24, height: 24, ...props, children: /* @__PURE__ */ u$1("use", { href: `#i-icon-${name}` }) });
1671
1620
  };
1672
- var t, r, u, i, o = 0, f = [], c = [], e = l$2.__b, a = l$2.__r, v = l$2.diffed, l = l$2.__c, m = l$2.unmount;
1673
- function d(t2, u2) {
1674
- l$2.__h && l$2.__h(r, t2, o || u2), o = 0;
1675
- var i2 = r.__H || (r.__H = { __: [], __h: [] });
1676
- return t2 >= i2.__.length && i2.__.push({ __V: c }), i2.__[t2];
1621
+ var t, r, u, i, o = 0, f = [], c = l$2, e = c.__b, a = c.__r, v = c.diffed, l = c.__c, m = c.unmount, s = c.__;
1622
+ function d(n2, t2) {
1623
+ c.__h && c.__h(r, n2, o || t2), o = 0;
1624
+ var u2 = r.__H || (r.__H = { __: [], __h: [] });
1625
+ return n2 >= u2.__.length && u2.__.push({}), u2.__[n2];
1677
1626
  }
1678
1627
  function h(n2) {
1679
- return o = 1, s(B$1, n2);
1628
+ return o = 1, p(D$1, n2);
1680
1629
  }
1681
- function s(n2, u2, i2) {
1630
+ function p(n2, u2, i2) {
1682
1631
  var o2 = d(t++, 2);
1683
- if (o2.t = n2, !o2.__c && (o2.__ = [i2 ? i2(u2) : B$1(void 0, u2), function(n3) {
1632
+ if (o2.t = n2, !o2.__c && (o2.__ = [i2 ? i2(u2) : D$1(void 0, u2), function(n3) {
1684
1633
  var t2 = o2.__N ? o2.__N[0] : o2.__[0], r2 = o2.t(t2, n3);
1685
1634
  t2 !== r2 && (o2.__N = [r2, o2.__[1]], o2.__c.setState({}));
1686
1635
  }], o2.__c = r, !r.u)) {
@@ -1688,7 +1637,7 @@ function s(n2, u2, i2) {
1688
1637
  if (!o2.__c.__H)
1689
1638
  return true;
1690
1639
  var u3 = o2.__c.__H.__.filter(function(n4) {
1691
- return n4.__c;
1640
+ return !!n4.__c;
1692
1641
  });
1693
1642
  if (u3.every(function(n4) {
1694
1643
  return !n4.__N;
@@ -1714,21 +1663,21 @@ function s(n2, u2, i2) {
1714
1663
  }
1715
1664
  return o2.__N || o2.__;
1716
1665
  }
1717
- function p(u2, i2) {
1718
- var o2 = d(t++, 3);
1719
- !l$2.__s && z$1(o2.__H, i2) && (o2.__ = u2, o2.i = i2, r.__H.__h.push(o2));
1666
+ function y(n2, u2) {
1667
+ var i2 = d(t++, 3);
1668
+ !c.__s && C$1(i2.__H, u2) && (i2.__ = n2, i2.i = u2, r.__H.__h.push(i2));
1720
1669
  }
1721
- function y(u2, i2) {
1722
- var o2 = d(t++, 4);
1723
- !l$2.__s && z$1(o2.__H, i2) && (o2.__ = u2, o2.i = i2, r.__h.push(o2));
1670
+ function _(n2, u2) {
1671
+ var i2 = d(t++, 4);
1672
+ !c.__s && C$1(i2.__H, u2) && (i2.__ = n2, i2.i = u2, r.__h.push(i2));
1724
1673
  }
1725
- function _(n2) {
1726
- return o = 5, F$1(function() {
1674
+ function A$1(n2) {
1675
+ return o = 5, T$1(function() {
1727
1676
  return { current: n2 };
1728
1677
  }, []);
1729
1678
  }
1730
- function A$1(n2, t2, r2) {
1731
- o = 6, y(function() {
1679
+ function F$1(n2, t2, r2) {
1680
+ o = 6, _(function() {
1732
1681
  return "function" == typeof n2 ? (n2(t2()), function() {
1733
1682
  return n2(null);
1734
1683
  }) : n2 ? (n2.current = t2(), function() {
@@ -1736,23 +1685,23 @@ function A$1(n2, t2, r2) {
1736
1685
  }) : void 0;
1737
1686
  }, null == r2 ? r2 : r2.concat(n2));
1738
1687
  }
1739
- function F$1(n2, r2) {
1688
+ function T$1(n2, r2) {
1740
1689
  var u2 = d(t++, 7);
1741
- return z$1(u2.__H, r2) ? (u2.__V = n2(), u2.i = r2, u2.__h = n2, u2.__V) : u2.__;
1690
+ return C$1(u2.__H, r2) && (u2.__ = n2(), u2.__H = r2, u2.__h = n2), u2.__;
1742
1691
  }
1743
- function T$1(n2, t2) {
1744
- return o = 8, F$1(function() {
1692
+ function q$1(n2, t2) {
1693
+ return o = 8, T$1(function() {
1745
1694
  return n2;
1746
1695
  }, t2);
1747
1696
  }
1748
- function q$1(n2) {
1697
+ function x$1(n2) {
1749
1698
  var u2 = r.context[n2.__c], i2 = d(t++, 9);
1750
1699
  return i2.c = n2, u2 ? (null == i2.__ && (i2.__ = true, u2.sub(r)), u2.props.value) : n2.__;
1751
1700
  }
1752
- function x$1(t2, r2) {
1753
- l$2.useDebugValue && l$2.useDebugValue(r2 ? r2(t2) : t2);
1701
+ function P$1(n2, t2) {
1702
+ c.useDebugValue && c.useDebugValue(t2 ? t2(n2) : n2);
1754
1703
  }
1755
- function P$1(n2) {
1704
+ function b(n2) {
1756
1705
  var u2 = d(t++, 10), i2 = h();
1757
1706
  return u2.__ = n2, r.componentDidCatch || (r.componentDidCatch = function(n3, t2) {
1758
1707
  u2.__ && u2.__(n3, t2), i2[1](n3);
@@ -1760,7 +1709,7 @@ function P$1(n2) {
1760
1709
  i2[1](void 0);
1761
1710
  }];
1762
1711
  }
1763
- function V$1() {
1712
+ function g$1() {
1764
1713
  var n2 = d(t++, 11);
1765
1714
  if (!n2.__) {
1766
1715
  for (var u2 = r.__v; null !== u2 && !u2.__m && null !== u2.__; )
@@ -1770,80 +1719,84 @@ function V$1() {
1770
1719
  }
1771
1720
  return n2.__;
1772
1721
  }
1773
- function b() {
1774
- for (var t2; t2 = f.shift(); )
1775
- if (t2.__P && t2.__H)
1722
+ function j$1() {
1723
+ for (var n2; n2 = f.shift(); )
1724
+ if (n2.__P && n2.__H)
1776
1725
  try {
1777
- t2.__H.__h.forEach(k$1), t2.__H.__h.forEach(w$1), t2.__H.__h = [];
1778
- } catch (r2) {
1779
- t2.__H.__h = [], l$2.__e(r2, t2.__v);
1726
+ n2.__H.__h.forEach(z$1), n2.__H.__h.forEach(B$1), n2.__H.__h = [];
1727
+ } catch (t2) {
1728
+ n2.__H.__h = [], c.__e(t2, n2.__v);
1780
1729
  }
1781
1730
  }
1782
- l$2.__b = function(n2) {
1731
+ c.__b = function(n2) {
1783
1732
  r = null, e && e(n2);
1784
- }, l$2.__r = function(n2) {
1733
+ }, c.__ = function(n2, t2) {
1734
+ n2 && t2.__k && t2.__k.__m && (n2.__m = t2.__k.__m), s && s(n2, t2);
1735
+ }, c.__r = function(n2) {
1785
1736
  a && a(n2), t = 0;
1786
1737
  var i2 = (r = n2.__c).__H;
1787
1738
  i2 && (u === r ? (i2.__h = [], r.__h = [], i2.__.forEach(function(n3) {
1788
- n3.__N && (n3.__ = n3.__N), n3.__V = c, n3.__N = n3.i = void 0;
1789
- })) : (i2.__h.forEach(k$1), i2.__h.forEach(w$1), i2.__h = [], t = 0)), u = r;
1790
- }, l$2.diffed = function(t2) {
1791
- v && v(t2);
1792
- var o2 = t2.__c;
1793
- o2 && o2.__H && (o2.__H.__h.length && (1 !== f.push(o2) && i === l$2.requestAnimationFrame || ((i = l$2.requestAnimationFrame) || j$1)(b)), o2.__H.__.forEach(function(n2) {
1794
- n2.i && (n2.__H = n2.i), n2.__V !== c && (n2.__ = n2.__V), n2.i = void 0, n2.__V = c;
1739
+ n3.__N && (n3.__ = n3.__N), n3.i = n3.__N = void 0;
1740
+ })) : (i2.__h.forEach(z$1), i2.__h.forEach(B$1), i2.__h = [], t = 0)), u = r;
1741
+ }, c.diffed = function(n2) {
1742
+ v && v(n2);
1743
+ var t2 = n2.__c;
1744
+ t2 && t2.__H && (t2.__H.__h.length && (1 !== f.push(t2) && i === c.requestAnimationFrame || ((i = c.requestAnimationFrame) || w$1)(j$1)), t2.__H.__.forEach(function(n3) {
1745
+ n3.i && (n3.__H = n3.i), n3.i = void 0;
1795
1746
  })), u = r = null;
1796
- }, l$2.__c = function(t2, r2) {
1797
- r2.some(function(t3) {
1747
+ }, c.__c = function(n2, t2) {
1748
+ t2.some(function(n3) {
1798
1749
  try {
1799
- t3.__h.forEach(k$1), t3.__h = t3.__h.filter(function(n2) {
1800
- return !n2.__ || w$1(n2);
1750
+ n3.__h.forEach(z$1), n3.__h = n3.__h.filter(function(n4) {
1751
+ return !n4.__ || B$1(n4);
1801
1752
  });
1802
- } catch (u2) {
1803
- r2.some(function(n2) {
1804
- n2.__h && (n2.__h = []);
1805
- }), r2 = [], l$2.__e(u2, t3.__v);
1753
+ } catch (r2) {
1754
+ t2.some(function(n4) {
1755
+ n4.__h && (n4.__h = []);
1756
+ }), t2 = [], c.__e(r2, n3.__v);
1806
1757
  }
1807
- }), l && l(t2, r2);
1808
- }, l$2.unmount = function(t2) {
1809
- m && m(t2);
1810
- var r2, u2 = t2.__c;
1811
- u2 && u2.__H && (u2.__H.__.forEach(function(n2) {
1758
+ }), l && l(n2, t2);
1759
+ }, c.unmount = function(n2) {
1760
+ m && m(n2);
1761
+ var t2, r2 = n2.__c;
1762
+ r2 && r2.__H && (r2.__H.__.forEach(function(n3) {
1812
1763
  try {
1813
- k$1(n2);
1814
- } catch (n3) {
1815
- r2 = n3;
1764
+ z$1(n3);
1765
+ } catch (n4) {
1766
+ t2 = n4;
1816
1767
  }
1817
- }), u2.__H = void 0, r2 && l$2.__e(r2, u2.__v));
1768
+ }), r2.__H = void 0, t2 && c.__e(t2, r2.__v));
1818
1769
  };
1819
- var g$1 = "function" == typeof requestAnimationFrame;
1820
- function j$1(n2) {
1770
+ var k$1 = "function" == typeof requestAnimationFrame;
1771
+ function w$1(n2) {
1821
1772
  var t2, r2 = function() {
1822
- clearTimeout(u2), g$1 && cancelAnimationFrame(t2), setTimeout(n2);
1773
+ clearTimeout(u2), k$1 && cancelAnimationFrame(t2), setTimeout(n2);
1823
1774
  }, u2 = setTimeout(r2, 100);
1824
- g$1 && (t2 = requestAnimationFrame(r2));
1775
+ k$1 && (t2 = requestAnimationFrame(r2));
1825
1776
  }
1826
- function k$1(n2) {
1777
+ function z$1(n2) {
1827
1778
  var t2 = r, u2 = n2.__c;
1828
1779
  "function" == typeof u2 && (n2.__c = void 0, u2()), r = t2;
1829
1780
  }
1830
- function w$1(n2) {
1781
+ function B$1(n2) {
1831
1782
  var t2 = r;
1832
1783
  n2.__c = n2.__(), r = t2;
1833
1784
  }
1834
- function z$1(n2, t2) {
1785
+ function C$1(n2, t2) {
1835
1786
  return !n2 || n2.length !== t2.length || t2.some(function(t3, r2) {
1836
1787
  return t3 !== n2[r2];
1837
1788
  });
1838
1789
  }
1839
- function B$1(n2, t2) {
1790
+ function D$1(n2, t2) {
1840
1791
  return "function" == typeof t2 ? t2(n2) : t2;
1841
1792
  }
1842
1793
  const cacheKey = (value) => {
1843
- const filterString = Object.entries(value.filter).sort(([key1], [key2]) => key1.localeCompare(key2)).map(([key, value2]) => {
1844
- var _a;
1845
- return (value2 == null ? void 0 : value2.select) === "many" ? `${key}=${(_a = value2.value) == null ? void 0 : _a.sort().join("|")}` : `${key}=${value2 == null ? void 0 : value2.value}`;
1846
- }).join("&");
1794
+ const filterString = Object.entries(value.filter).sort(([key1], [key2]) => key1.localeCompare(key2)).map(
1795
+ ([key, value2]) => {
1796
+ var _a;
1797
+ return (value2 == null ? void 0 : value2.select) === "many" ? `${key}=${(_a = value2.value) == null ? void 0 : _a.sort().join("|")}` : `${key}=${value2 == null ? void 0 : value2.value}`;
1798
+ }
1799
+ ).join("&");
1847
1800
  return `${value.baseKey}::${filterString}`;
1848
1801
  };
1849
1802
  const jobSearch = "";
@@ -1864,37 +1817,30 @@ const AlertsButton = ({
1864
1817
  appliedFilters
1865
1818
  }) => {
1866
1819
  const [plugin, setPlugin] = h();
1867
- p(() => {
1868
- Promise.resolve().then(() => require("./plugin-job-alerts-16396947.cjs")).then((m2) => setPlugin(m2.jobAlertsPlugin()({
1869
- analytics,
1870
- apiClient,
1871
- logger
1872
- })));
1820
+ y(() => {
1821
+ Promise.resolve().then(() => require("./plugin-job-alerts-ee47a7fb.cjs")).then((m2) => setPlugin(m2.jobAlertsPlugin()({ analytics, apiClient, logger })));
1873
1822
  }, [analytics, apiClient, logger]);
1874
- p(() => {
1823
+ y(() => {
1875
1824
  plugin == null ? void 0 : plugin.render({
1876
1825
  config: {
1877
1826
  label: "Create alert",
1878
- headerText: "asd"
1827
+ headerText: "You will be alerted for new jobs matching the filters currently set"
1879
1828
  },
1880
1829
  initialFilters: {},
1881
1830
  theme
1882
1831
  });
1883
1832
  });
1884
- p(() => {
1833
+ y(() => {
1885
1834
  plugin == null ? void 0 : plugin.setFilters(getFilterValues(appliedFilters));
1886
1835
  }, [appliedFilters, plugin]);
1887
- return u$1("div", {
1888
- id: "inploi-job-alerts",
1889
- class: "min-h-[36px]"
1890
- });
1836
+ return /* @__PURE__ */ u$1("div", { id: "inploi-job-alerts", class: "min-h-[36px]" });
1891
1837
  };
1892
1838
  function g(n2, t2) {
1893
1839
  for (var e2 in t2)
1894
1840
  n2[e2] = t2[e2];
1895
1841
  return n2;
1896
1842
  }
1897
- function C(n2, t2) {
1843
+ function E(n2, t2) {
1898
1844
  for (var e2 in n2)
1899
1845
  if ("__source" !== e2 && !(e2 in t2))
1900
1846
  return true;
@@ -1903,73 +1849,73 @@ function C(n2, t2) {
1903
1849
  return true;
1904
1850
  return false;
1905
1851
  }
1906
- function E(n2) {
1907
- this.props = n2;
1852
+ function C(n2, t2) {
1853
+ this.props = n2, this.context = t2;
1908
1854
  }
1909
- function w(n2, e2) {
1855
+ function x(n2, e2) {
1910
1856
  function r2(n3) {
1911
1857
  var t2 = this.props.ref, r3 = t2 == n3.ref;
1912
- return !r3 && t2 && (t2.call ? t2(null) : t2.current = null), e2 ? !e2(this.props, n3) || !r3 : C(this.props, n3);
1858
+ return !r3 && t2 && (t2.call ? t2(null) : t2.current = null), e2 ? !e2(this.props, n3) || !r3 : E(this.props, n3);
1913
1859
  }
1914
1860
  function u2(e3) {
1915
- return this.shouldComponentUpdate = r2, y$2(n2, e3);
1861
+ return this.shouldComponentUpdate = r2, _$1(n2, e3);
1916
1862
  }
1917
1863
  return u2.displayName = "Memo(" + (n2.displayName || n2.name) + ")", u2.prototype.isReactComponent = true, u2.__f = true, u2;
1918
1864
  }
1919
- (E.prototype = new b$2()).isPureReactComponent = true, E.prototype.shouldComponentUpdate = function(n2, t2) {
1920
- return C(this.props, n2) || C(this.state, t2);
1865
+ (C.prototype = new b$2()).isPureReactComponent = true, C.prototype.shouldComponentUpdate = function(n2, t2) {
1866
+ return E(this.props, n2) || E(this.state, t2);
1921
1867
  };
1922
- var x = l$2.__b;
1868
+ var R = l$2.__b;
1923
1869
  l$2.__b = function(n2) {
1924
- n2.type && n2.type.__f && n2.ref && (n2.props.ref = n2.ref, n2.ref = null), x && x(n2);
1870
+ n2.type && n2.type.__f && n2.ref && (n2.props.ref = n2.ref, n2.ref = null), R && R(n2);
1925
1871
  };
1926
- var R = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.forward_ref") || 3911;
1927
- function N(n2) {
1872
+ var w = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.forward_ref") || 3911;
1873
+ function k(n2) {
1928
1874
  function t2(t3) {
1929
1875
  var e2 = g({}, t3);
1930
1876
  return delete e2.ref, n2(e2, t3.ref || null);
1931
1877
  }
1932
- return t2.$$typeof = R, t2.render = t2, t2.prototype.isReactComponent = t2.__f = true, t2.displayName = "ForwardRef(" + (n2.displayName || n2.name) + ")", t2;
1878
+ return t2.$$typeof = w, t2.render = t2, t2.prototype.isReactComponent = t2.__f = true, t2.displayName = "ForwardRef(" + (n2.displayName || n2.name) + ")", t2;
1933
1879
  }
1934
- var k = function(n2, t2) {
1935
- return null == n2 ? null : $$1($$1(n2).map(t2));
1936
- }, A = { map: k, forEach: k, count: function(n2) {
1937
- return n2 ? $$1(n2).length : 0;
1880
+ var I = function(n2, t2) {
1881
+ return null == n2 ? null : H$1(H$1(n2).map(t2));
1882
+ }, N = { map: I, forEach: I, count: function(n2) {
1883
+ return n2 ? H$1(n2).length : 0;
1938
1884
  }, only: function(n2) {
1939
- var t2 = $$1(n2);
1885
+ var t2 = H$1(n2);
1940
1886
  if (1 !== t2.length)
1941
1887
  throw "Children.only";
1942
1888
  return t2[0];
1943
- }, toArray: $$1 }, O = l$2.__e;
1889
+ }, toArray: H$1 }, M = l$2.__e;
1944
1890
  l$2.__e = function(n2, t2, e2, r2) {
1945
1891
  if (n2.then) {
1946
1892
  for (var u2, o2 = t2; o2 = o2.__; )
1947
1893
  if ((u2 = o2.__c) && u2.__c)
1948
1894
  return null == t2.__e && (t2.__e = e2.__e, t2.__k = e2.__k), u2.__c(n2, t2);
1949
1895
  }
1950
- O(n2, t2, e2, r2);
1896
+ M(n2, t2, e2, r2);
1951
1897
  };
1952
1898
  var T = l$2.unmount;
1953
- function F(n2, t2, e2) {
1899
+ function A(n2, t2, e2) {
1954
1900
  return n2 && (n2.__c && n2.__c.__H && (n2.__c.__H.__.forEach(function(n3) {
1955
1901
  "function" == typeof n3.__c && n3.__c();
1956
1902
  }), n2.__c.__H = null), null != (n2 = g({}, n2)).__c && (n2.__c.__P === e2 && (n2.__c.__P = t2), n2.__c = null), n2.__k = n2.__k && n2.__k.map(function(n3) {
1957
- return F(n3, t2, e2);
1903
+ return A(n3, t2, e2);
1958
1904
  })), n2;
1959
1905
  }
1960
- function I(n2, t2, e2) {
1906
+ function D(n2, t2, e2) {
1961
1907
  return n2 && e2 && (n2.__v = null, n2.__k = n2.__k && n2.__k.map(function(n3) {
1962
- return I(n3, t2, e2);
1908
+ return D(n3, t2, e2);
1963
1909
  }), n2.__c && n2.__c.__P === t2 && (n2.__e && e2.appendChild(n2.__e), n2.__c.__e = true, n2.__c.__P = e2)), n2;
1964
1910
  }
1965
1911
  function L() {
1966
1912
  this.__u = 0, this.t = null, this.__b = null;
1967
1913
  }
1968
- function U(n2) {
1914
+ function O(n2) {
1969
1915
  var t2 = n2.__.__c;
1970
1916
  return t2 && t2.__a && t2.__a(n2);
1971
1917
  }
1972
- function D(n2) {
1918
+ function F(n2) {
1973
1919
  var e2, r2, u2;
1974
1920
  function o2(o3) {
1975
1921
  if (e2 || (e2 = n2()).then(function(n3) {
@@ -1980,11 +1926,11 @@ function D(n2) {
1980
1926
  throw u2;
1981
1927
  if (!r2)
1982
1928
  throw e2;
1983
- return y$2(r2, o3);
1929
+ return _$1(r2, o3);
1984
1930
  }
1985
1931
  return o2.displayName = "Lazy", o2.__f = true, o2;
1986
1932
  }
1987
- function M() {
1933
+ function U() {
1988
1934
  this.u = null, this.o = null;
1989
1935
  }
1990
1936
  l$2.unmount = function(n2) {
@@ -1993,15 +1939,15 @@ l$2.unmount = function(n2) {
1993
1939
  }, (L.prototype = new b$2()).__c = function(n2, t2) {
1994
1940
  var e2 = t2.__c, r2 = this;
1995
1941
  null == r2.t && (r2.t = []), r2.t.push(e2);
1996
- var u2 = U(r2.__v), o2 = false, i2 = function() {
1997
- o2 || (o2 = true, e2.__R = null, u2 ? u2(l2) : l2());
1942
+ var u2 = O(r2.__v), o2 = false, i2 = function() {
1943
+ o2 || (o2 = true, e2.__R = null, u2 ? u2(c2) : c2());
1998
1944
  };
1999
1945
  e2.__R = i2;
2000
- var l2 = function() {
1946
+ var c2 = function() {
2001
1947
  if (!--r2.__u) {
2002
1948
  if (r2.state.__a) {
2003
1949
  var n3 = r2.state.__a;
2004
- r2.__v.__k[0] = I(n3, n3.__c.__P, n3.__c.__O);
1950
+ r2.__v.__k[0] = D(n3, n3.__c.__P, n3.__c.__O);
2005
1951
  }
2006
1952
  var t3;
2007
1953
  for (r2.setState({ __a: r2.__b = null }); t3 = r2.t.pop(); )
@@ -2015,12 +1961,12 @@ l$2.unmount = function(n2) {
2015
1961
  if (this.__b) {
2016
1962
  if (this.__v.__k) {
2017
1963
  var r2 = document.createElement("div"), o2 = this.__v.__k[0].__c;
2018
- this.__v.__k[0] = F(this.__b, r2, o2.__O = o2.__P);
1964
+ this.__v.__k[0] = A(this.__b, r2, o2.__O = o2.__P);
2019
1965
  }
2020
1966
  this.__b = null;
2021
1967
  }
2022
- var i2 = e2.__a && y$2(g$3, null, n2.fallback);
2023
- return i2 && (i2.__u &= -33), [y$2(g$3, null, e2.__a ? null : n2.children), i2];
1968
+ var i2 = e2.__a && _$1(k$3, null, n2.fallback);
1969
+ return i2 && (i2.__u &= -33), [_$1(k$3, null, e2.__a ? null : n2.children), i2];
2024
1970
  };
2025
1971
  var V = function(n2, t2, e2) {
2026
1972
  if (++e2[1] === e2[0] && n2.o.delete(t2), n2.props.revealOrder && ("t" !== n2.props.revealOrder[0] || !n2.o.size))
@@ -2040,35 +1986,37 @@ function W(n2) {
2040
1986
  function P(n2) {
2041
1987
  var e2 = this, r2 = n2.i;
2042
1988
  e2.componentWillUnmount = function() {
2043
- q$2(null, e2.l), e2.l = null, e2.i = null;
2044
- }, e2.i && e2.i !== r2 && e2.componentWillUnmount(), e2.l || (e2.i = r2, e2.l = { nodeType: 1, parentNode: r2, childNodes: [], appendChild: function(n3) {
1989
+ B$2(null, e2.l), e2.l = null, e2.i = null;
1990
+ }, e2.i && e2.i !== r2 && e2.componentWillUnmount(), e2.l || (e2.i = r2, e2.l = { nodeType: 1, parentNode: r2, childNodes: [], contains: function() {
1991
+ return true;
1992
+ }, appendChild: function(n3) {
2045
1993
  this.childNodes.push(n3), e2.i.appendChild(n3);
2046
1994
  }, insertBefore: function(n3, t2) {
2047
1995
  this.childNodes.push(n3), e2.i.appendChild(n3);
2048
1996
  }, removeChild: function(n3) {
2049
1997
  this.childNodes.splice(this.childNodes.indexOf(n3) >>> 1, 1), e2.i.removeChild(n3);
2050
- } }), q$2(y$2(W, { context: e2.context }, n2.__v), e2.l);
1998
+ } }), B$2(_$1(W, { context: e2.context }, n2.__v), e2.l);
2051
1999
  }
2052
2000
  function j(n2, e2) {
2053
- var r2 = y$2(P, { __v: n2, i: e2 });
2001
+ var r2 = _$1(P, { __v: n2, i: e2 });
2054
2002
  return r2.containerInfo = e2, r2;
2055
2003
  }
2056
- (M.prototype = new b$2()).__a = function(n2) {
2057
- var t2 = this, e2 = U(t2.__v), r2 = t2.o.get(n2);
2004
+ (U.prototype = new b$2()).__a = function(n2) {
2005
+ var t2 = this, e2 = O(t2.__v), r2 = t2.o.get(n2);
2058
2006
  return r2[0]++, function(u2) {
2059
2007
  var o2 = function() {
2060
2008
  t2.props.revealOrder ? (r2.push(u2), V(t2, n2, r2)) : u2();
2061
2009
  };
2062
2010
  e2 ? e2(o2) : o2();
2063
2011
  };
2064
- }, M.prototype.render = function(n2) {
2012
+ }, U.prototype.render = function(n2) {
2065
2013
  this.u = null, this.o = /* @__PURE__ */ new Map();
2066
- var t2 = $$1(n2.children);
2014
+ var t2 = H$1(n2.children);
2067
2015
  n2.revealOrder && "b" === n2.revealOrder[0] && t2.reverse();
2068
2016
  for (var e2 = t2.length; e2--; )
2069
2017
  this.o.set(t2[e2], this.u = [1, 0, this.u]);
2070
2018
  return n2.children;
2071
- }, M.prototype.componentDidUpdate = M.prototype.componentDidMount = function() {
2019
+ }, U.prototype.componentDidUpdate = U.prototype.componentDidMount = function() {
2072
2020
  var n2 = this;
2073
2021
  this.o.forEach(function(t2, e2) {
2074
2022
  V(n2, e2, t2);
@@ -2078,10 +2026,10 @@ var z = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.element"
2078
2026
  return ("undefined" != typeof Symbol && "symbol" == typeof Symbol() ? /fil|che|rad/ : /fil|che|ra/).test(n2);
2079
2027
  };
2080
2028
  function q(n2, t2, e2) {
2081
- return null == t2.__k && (t2.textContent = ""), q$2(n2, t2), "function" == typeof e2 && e2(), n2 ? n2.__c : null;
2029
+ return null == t2.__k && (t2.textContent = ""), B$2(n2, t2), "function" == typeof e2 && e2(), n2 ? n2.__c : null;
2082
2030
  }
2083
2031
  function G(n2, t2, e2) {
2084
- return B$2(n2, t2), "function" == typeof e2 && e2(), n2 ? n2.__c : null;
2032
+ return D$3(n2, t2), "function" == typeof e2 && e2(), n2 ? n2.__c : null;
2085
2033
  }
2086
2034
  b$2.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(t2) {
2087
2035
  Object.defineProperty(b$2.prototype, t2, { configurable: true, get: function() {
@@ -2111,13 +2059,13 @@ l$2.vnode = function(n2) {
2111
2059
  for (var o2 in t2) {
2112
2060
  var i2 = t2[o2];
2113
2061
  if (!("value" === o2 && "defaultValue" in t2 && null == i2 || Y && "children" === o2 && "noscript" === e2 || "class" === o2 || "className" === o2)) {
2114
- var l2 = o2.toLowerCase();
2115
- "defaultValue" === o2 && "value" in t2 && null == t2.value ? o2 = "value" : "download" === o2 && true === i2 ? i2 = "" : "ondoubleclick" === l2 ? o2 = "ondblclick" : "onchange" !== l2 || "input" !== e2 && "textarea" !== e2 || $(t2.type) ? "onfocus" === l2 ? o2 = "onfocusin" : "onblur" === l2 ? o2 = "onfocusout" : H.test(o2) ? o2 = l2 : -1 === e2.indexOf("-") && B.test(o2) ? o2 = o2.replace(Z, "-$&").toLowerCase() : null === i2 && (i2 = void 0) : l2 = o2 = "oninput", "oninput" === l2 && u2[o2 = l2] && (o2 = "oninputCapture"), u2[o2] = i2;
2062
+ var c2 = o2.toLowerCase();
2063
+ "defaultValue" === o2 && "value" in t2 && null == t2.value ? o2 = "value" : "download" === o2 && true === i2 ? i2 = "" : "translate" === c2 && "no" === i2 ? i2 = false : "ondoubleclick" === c2 ? o2 = "ondblclick" : "onchange" !== c2 || "input" !== e2 && "textarea" !== e2 || $(t2.type) ? "onfocus" === c2 ? o2 = "onfocusin" : "onblur" === c2 ? o2 = "onfocusout" : H.test(o2) ? o2 = c2 : -1 === e2.indexOf("-") && B.test(o2) ? o2 = o2.replace(Z, "-$&").toLowerCase() : null === i2 && (i2 = void 0) : c2 = o2 = "oninput", "oninput" === c2 && u2[o2 = c2] && (o2 = "oninputCapture"), u2[o2] = i2;
2116
2064
  }
2117
2065
  }
2118
- "select" == e2 && u2.multiple && Array.isArray(u2.value) && (u2.value = $$1(t2.children).forEach(function(n4) {
2066
+ "select" == e2 && u2.multiple && Array.isArray(u2.value) && (u2.value = H$1(t2.children).forEach(function(n4) {
2119
2067
  n4.props.selected = -1 != u2.value.indexOf(n4.props.value);
2120
- })), "select" == e2 && null != u2.defaultValue && (u2.value = $$1(t2.children).forEach(function(n4) {
2068
+ })), "select" == e2 && null != u2.defaultValue && (u2.value = H$1(t2.children).forEach(function(n4) {
2121
2069
  n4.props.selected = u2.multiple ? -1 != u2.defaultValue.indexOf(n4.props.value) : u2.defaultValue == n4.props.value;
2122
2070
  })), t2.class && !t2.className ? (u2.class = t2.class, Object.defineProperty(u2, "className", tn)) : (t2.className && !t2.class || t2.class && t2.className) && (u2.class = u2.className = t2.className), n3.props = u2;
2123
2071
  }(n2), n2.$$typeof = z, en && en(n2);
@@ -2134,51 +2082,54 @@ l$2.diffed = function(n2) {
2134
2082
  };
2135
2083
  var on = { ReactCurrentDispatcher: { current: { readContext: function(n2) {
2136
2084
  return nn.__n[n2.__c].props.value;
2137
- } } } }, ln = "17.0.2";
2138
- function cn(n2) {
2139
- return y$2.bind(null, n2);
2085
+ }, useCallback: q$1, useContext: x$1, useDebugValue: P$1, useDeferredValue: bn, useEffect: y, useId: g$1, useImperativeHandle: F$1, useInsertionEffect: gn, useLayoutEffect: _, useMemo: T$1, useReducer: p, useRef: A$1, useState: h, useSyncExternalStore: Cn, useTransition: Sn } } }, cn = "17.0.2";
2086
+ function ln(n2) {
2087
+ return _$1.bind(null, n2);
2140
2088
  }
2141
2089
  function fn(n2) {
2142
2090
  return !!n2 && n2.$$typeof === z;
2143
2091
  }
2144
2092
  function an(n2) {
2145
- return fn(n2) && n2.type === g$3;
2093
+ return fn(n2) && n2.type === k$3;
2146
2094
  }
2147
2095
  function sn(n2) {
2148
- return fn(n2) ? E$1.apply(null, arguments) : n2;
2096
+ return !!n2 && !!n2.displayName && ("string" == typeof n2.displayName || n2.displayName instanceof String) && n2.displayName.startsWith("Memo(");
2149
2097
  }
2150
2098
  function hn(n2) {
2151
- return !!n2.__k && (q$2(null, n2), true);
2099
+ return fn(n2) ? E$2.apply(null, arguments) : n2;
2152
2100
  }
2153
2101
  function vn(n2) {
2102
+ return !!n2.__k && (B$2(null, n2), true);
2103
+ }
2104
+ function dn(n2) {
2154
2105
  return n2 && (n2.base || 1 === n2.nodeType && n2) || null;
2155
2106
  }
2156
- var dn = function(n2, t2) {
2107
+ var pn = function(n2, t2) {
2157
2108
  return n2(t2);
2158
- }, pn = function(n2, t2) {
2109
+ }, mn = function(n2, t2) {
2159
2110
  return n2(t2);
2160
- }, mn = g$3;
2161
- function yn(n2) {
2111
+ }, yn = k$3;
2112
+ function _n(n2) {
2162
2113
  n2();
2163
2114
  }
2164
- function _n(n2) {
2115
+ function bn(n2) {
2165
2116
  return n2;
2166
2117
  }
2167
- function bn() {
2168
- return [false, yn];
2118
+ function Sn() {
2119
+ return [false, _n];
2169
2120
  }
2170
- var Sn = y, gn = fn;
2121
+ var gn = _, En = fn;
2171
2122
  function Cn(n2, t2) {
2172
2123
  var e2 = t2(), r2 = h({ h: { __: e2, v: t2 } }), u2 = r2[0].h, o2 = r2[1];
2173
- return y(function() {
2174
- u2.__ = e2, u2.v = t2, En(u2) && o2({ h: u2 });
2175
- }, [n2, e2, t2]), p(function() {
2176
- return En(u2) && o2({ h: u2 }), n2(function() {
2177
- En(u2) && o2({ h: u2 });
2124
+ return _(function() {
2125
+ u2.__ = e2, u2.v = t2, xn(u2) && o2({ h: u2 });
2126
+ }, [n2, e2, t2]), y(function() {
2127
+ return xn(u2) && o2({ h: u2 }), n2(function() {
2128
+ xn(u2) && o2({ h: u2 });
2178
2129
  });
2179
2130
  }, [n2]), e2;
2180
2131
  }
2181
- function En(n2) {
2132
+ function xn(n2) {
2182
2133
  var t2, e2, r2 = n2.v, u2 = n2.__;
2183
2134
  try {
2184
2135
  var o2 = r2();
@@ -2187,55 +2138,60 @@ function En(n2) {
2187
2138
  return true;
2188
2139
  }
2189
2140
  }
2190
- var wn = { useState: h, useId: V$1, useReducer: s, useEffect: p, useLayoutEffect: y, useInsertionEffect: Sn, useTransition: bn, useDeferredValue: _n, useSyncExternalStore: Cn, startTransition: yn, useRef: _, useImperativeHandle: A$1, useMemo: F$1, useCallback: T$1, useContext: q$1, useDebugValue: x$1, version: "17.0.2", Children: A, render: q, hydrate: G, unmountComponentAtNode: hn, createPortal: j, createElement: y$2, createContext: F$2, createFactory: cn, cloneElement: sn, createRef: _$2, Fragment: g$3, isValidElement: fn, isElement: gn, isFragment: an, findDOMNode: vn, Component: b$2, PureComponent: E, memo: w, forwardRef: N, flushSync: pn, unstable_batchedUpdates: dn, StrictMode: mn, Suspense: L, SuspenseList: M, lazy: D, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: on };
2141
+ var Rn = { useState: h, useId: g$1, useReducer: p, useEffect: y, useLayoutEffect: _, useInsertionEffect: gn, useTransition: Sn, useDeferredValue: bn, useSyncExternalStore: Cn, startTransition: _n, useRef: A$1, useImperativeHandle: F$1, useMemo: T$1, useCallback: q$1, useContext: x$1, useDebugValue: P$1, version: "17.0.2", Children: N, render: q, hydrate: G, unmountComponentAtNode: vn, createPortal: j, createElement: _$1, createContext: G$1, createFactory: ln, cloneElement: hn, createRef: m$1, Fragment: k$3, isValidElement: fn, isElement: En, isFragment: an, isMemo: sn, findDOMNode: dn, Component: b$2, PureComponent: C, memo: x, forwardRef: k, flushSync: mn, unstable_batchedUpdates: pn, StrictMode: yn, Suspense: L, SuspenseList: U, lazy: F, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: on };
2191
2142
  const compat_module = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2192
2143
  __proto__: null,
2193
- Children: A,
2144
+ Children: N,
2194
2145
  Component: b$2,
2195
- Fragment: g$3,
2196
- PureComponent: E,
2197
- StrictMode: mn,
2146
+ Fragment: k$3,
2147
+ PureComponent: C,
2148
+ StrictMode: yn,
2198
2149
  Suspense: L,
2199
- SuspenseList: M,
2150
+ SuspenseList: U,
2200
2151
  __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: on,
2201
- cloneElement: sn,
2202
- createContext: F$2,
2203
- createElement: y$2,
2204
- createFactory: cn,
2152
+ cloneElement: hn,
2153
+ createContext: G$1,
2154
+ createElement: _$1,
2155
+ createFactory: ln,
2205
2156
  createPortal: j,
2206
- createRef: _$2,
2207
- default: wn,
2208
- findDOMNode: vn,
2209
- flushSync: pn,
2210
- forwardRef: N,
2157
+ createRef: m$1,
2158
+ default: Rn,
2159
+ findDOMNode: dn,
2160
+ flushSync: mn,
2161
+ forwardRef: k,
2211
2162
  hydrate: G,
2212
- isElement: gn,
2163
+ isElement: En,
2213
2164
  isFragment: an,
2165
+ isMemo: sn,
2214
2166
  isValidElement: fn,
2215
- lazy: D,
2216
- memo: w,
2167
+ lazy: F,
2168
+ memo: x,
2217
2169
  render: q,
2218
- startTransition: yn,
2219
- unmountComponentAtNode: hn,
2220
- unstable_batchedUpdates: dn,
2221
- useCallback: T$1,
2222
- useContext: q$1,
2223
- useDebugValue: x$1,
2224
- useDeferredValue: _n,
2225
- useEffect: p,
2226
- useErrorBoundary: P$1,
2227
- useId: V$1,
2228
- useImperativeHandle: A$1,
2229
- useInsertionEffect: Sn,
2230
- useLayoutEffect: y,
2231
- useMemo: F$1,
2232
- useReducer: s,
2233
- useRef: _,
2170
+ startTransition: _n,
2171
+ unmountComponentAtNode: vn,
2172
+ unstable_batchedUpdates: pn,
2173
+ useCallback: q$1,
2174
+ useContext: x$1,
2175
+ useDebugValue: P$1,
2176
+ useDeferredValue: bn,
2177
+ useEffect: y,
2178
+ useErrorBoundary: b,
2179
+ useId: g$1,
2180
+ useImperativeHandle: F$1,
2181
+ useInsertionEffect: gn,
2182
+ useLayoutEffect: _,
2183
+ useMemo: T$1,
2184
+ useReducer: p,
2185
+ useRef: A$1,
2234
2186
  useState: h,
2235
2187
  useSyncExternalStore: Cn,
2236
- useTransition: bn,
2237
- version: ln
2188
+ useTransition: Sn,
2189
+ version: cn
2238
2190
  }, Symbol.toStringTag, { value: "Module" }));
2191
+ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
2192
+ function getDefaultExportFromCjs(x2) {
2193
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
2194
+ }
2239
2195
  function getAugmentedNamespace(n2) {
2240
2196
  if (n2.__esModule)
2241
2197
  return n2;
@@ -2462,12 +2418,12 @@ const UNDEFINED = (
2462
2418
  );
2463
2419
  const OBJECT = Object;
2464
2420
  const isUndefined = (v2) => v2 === UNDEFINED;
2465
- const isFunction = (v2) => typeof v2 == "function";
2421
+ const isFunction$2 = (v2) => typeof v2 == "function";
2466
2422
  const mergeObjects = (a2, b2) => ({
2467
2423
  ...a2,
2468
2424
  ...b2
2469
2425
  });
2470
- const isPromiseLike = (x2) => isFunction(x2.then);
2426
+ const isPromiseLike = (x2) => isFunction$2(x2.then);
2471
2427
  const table = /* @__PURE__ */ new WeakMap();
2472
2428
  let counter = 0;
2473
2429
  const stableHash = (arg) => {
@@ -2586,17 +2542,17 @@ const defaultConfigOptions = {
2586
2542
  initFocus,
2587
2543
  initReconnect
2588
2544
  };
2589
- const IS_REACT_LEGACY = !wn.useId;
2545
+ const IS_REACT_LEGACY = !Rn.useId;
2590
2546
  const IS_SERVER = !isWindowDefined || "Deno" in window;
2591
2547
  const rAF = (f2) => hasRequestAnimationFrame() ? window["requestAnimationFrame"](f2) : setTimeout(f2, 1);
2592
- const useIsomorphicLayoutEffect = IS_SERVER ? p : y;
2548
+ const useIsomorphicLayoutEffect = IS_SERVER ? y : _;
2593
2549
  const navigatorConnection = typeof navigator !== "undefined" && navigator.connection;
2594
2550
  const slowConnection = !IS_SERVER && navigatorConnection && ([
2595
2551
  "slow-2g",
2596
2552
  "2g"
2597
2553
  ].includes(navigatorConnection.effectiveType) || navigatorConnection.saveData);
2598
2554
  const serialize = (key) => {
2599
- if (isFunction(key)) {
2555
+ if (isFunction$2(key)) {
2600
2556
  try {
2601
2557
  key = key();
2602
2558
  } catch (err) {
@@ -2634,12 +2590,11 @@ async function internalMutate(...args) {
2634
2590
  let populateCache = options.populateCache;
2635
2591
  const rollbackOnErrorOption = options.rollbackOnError;
2636
2592
  let optimisticData = options.optimisticData;
2637
- const revalidate = options.revalidate !== false;
2638
2593
  const rollbackOnError = (error) => {
2639
2594
  return typeof rollbackOnErrorOption === "function" ? rollbackOnErrorOption(error) : rollbackOnErrorOption !== false;
2640
2595
  };
2641
2596
  const throwOnError = options.throwOnError;
2642
- if (isFunction(_key)) {
2597
+ if (isFunction$2(_key)) {
2643
2598
  const keyFilter = _key;
2644
2599
  const matchedKeys = [];
2645
2600
  const it = cache2.keys();
@@ -2658,18 +2613,19 @@ async function internalMutate(...args) {
2658
2613
  const [key] = serialize(_k);
2659
2614
  if (!key)
2660
2615
  return;
2661
- const [get, set] = createCacheHelper(cache2, key);
2616
+ const [get2, set] = createCacheHelper(cache2, key);
2662
2617
  const [EVENT_REVALIDATORS, MUTATION, FETCH, PRELOAD] = SWRGlobalState.get(cache2);
2663
2618
  const startRevalidate = () => {
2664
2619
  const revalidators = EVENT_REVALIDATORS[key];
2620
+ const revalidate = isFunction$2(options.revalidate) ? options.revalidate(get2().data, _k) : options.revalidate !== false;
2665
2621
  if (revalidate) {
2666
2622
  delete FETCH[key];
2667
2623
  delete PRELOAD[key];
2668
2624
  if (revalidators && revalidators[0]) {
2669
- return revalidators[0](MUTATE_EVENT).then(() => get().data);
2625
+ return revalidators[0](MUTATE_EVENT).then(() => get2().data);
2670
2626
  }
2671
2627
  }
2672
- return get().data;
2628
+ return get2().data;
2673
2629
  };
2674
2630
  if (args.length < 3) {
2675
2631
  return startRevalidate();
@@ -2682,18 +2638,18 @@ async function internalMutate(...args) {
2682
2638
  0
2683
2639
  ];
2684
2640
  const hasOptimisticData = !isUndefined(optimisticData);
2685
- const state = get();
2641
+ const state = get2();
2686
2642
  const displayedData = state.data;
2687
2643
  const currentData = state._c;
2688
2644
  const committedData = isUndefined(currentData) ? displayedData : currentData;
2689
2645
  if (hasOptimisticData) {
2690
- optimisticData = isFunction(optimisticData) ? optimisticData(committedData, displayedData) : optimisticData;
2646
+ optimisticData = isFunction$2(optimisticData) ? optimisticData(committedData, displayedData) : optimisticData;
2691
2647
  set({
2692
2648
  data: optimisticData,
2693
2649
  _c: committedData
2694
2650
  });
2695
2651
  }
2696
- if (isFunction(data)) {
2652
+ if (isFunction$2(data)) {
2697
2653
  try {
2698
2654
  data = data(committedData);
2699
2655
  } catch (err) {
@@ -2718,7 +2674,7 @@ async function internalMutate(...args) {
2718
2674
  }
2719
2675
  if (populateCache) {
2720
2676
  if (!error) {
2721
- if (isFunction(populateCache)) {
2677
+ if (isFunction$2(populateCache)) {
2722
2678
  const populateCachedData = populateCache(data, committedData);
2723
2679
  set({
2724
2680
  data: populateCachedData,
@@ -2864,17 +2820,17 @@ const mergeConfigs = (a2, b2) => {
2864
2820
  }
2865
2821
  return v2;
2866
2822
  };
2867
- const SWRConfigContext = F$2({});
2823
+ const SWRConfigContext = G$1({});
2868
2824
  const INFINITE_PREFIX = "$inf$";
2869
2825
  const enableDevtools = isWindowDefined && window.__SWR_DEVTOOLS_USE__;
2870
2826
  const use$1 = enableDevtools ? window.__SWR_DEVTOOLS_USE__ : [];
2871
2827
  const setupDevTools = () => {
2872
2828
  if (enableDevtools) {
2873
- window.__SWR_DEVTOOLS_REACT__ = wn;
2829
+ window.__SWR_DEVTOOLS_REACT__ = Rn;
2874
2830
  }
2875
2831
  };
2876
2832
  const normalize = (args) => {
2877
- return isFunction(args[1]) ? [
2833
+ return isFunction$2(args[1]) ? [
2878
2834
  args[0],
2879
2835
  args[1],
2880
2836
  args[2] || {}
@@ -2885,7 +2841,7 @@ const normalize = (args) => {
2885
2841
  ];
2886
2842
  };
2887
2843
  const useSWRConfig = () => {
2888
- return mergeObjects(defaultConfig, q$1(SWRConfigContext));
2844
+ return mergeObjects(defaultConfig, x$1(SWRConfigContext));
2889
2845
  };
2890
2846
  const middleware = (useSWRNext) => (key_, fetcher_, config) => {
2891
2847
  const fetcher = fetcher_ && ((...args) => {
@@ -2929,7 +2885,7 @@ const subscribeCallback = (key, callbacks, callback) => {
2929
2885
  };
2930
2886
  };
2931
2887
  setupDevTools();
2932
- const use = wn.use || ((promise) => {
2888
+ const use = Rn.use || ((promise) => {
2933
2889
  if (promise.status === "pending") {
2934
2890
  throw promise;
2935
2891
  } else if (promise.status === "fulfilled") {
@@ -2955,15 +2911,15 @@ const useSWRHandler = (_key, fetcher, config) => {
2955
2911
  const { cache: cache2, compare: compare2, suspense, fallbackData, revalidateOnMount, revalidateIfStale, refreshInterval, refreshWhenHidden, refreshWhenOffline, keepPreviousData } = config;
2956
2912
  const [EVENT_REVALIDATORS, MUTATION, FETCH, PRELOAD] = SWRGlobalState.get(cache2);
2957
2913
  const [key, fnArg] = serialize(_key);
2958
- const initialMountedRef = _(false);
2959
- const unmountedRef = _(false);
2960
- const keyRef = _(key);
2961
- const fetcherRef = _(fetcher);
2962
- const configRef = _(config);
2914
+ const initialMountedRef = A$1(false);
2915
+ const unmountedRef = A$1(false);
2916
+ const keyRef = A$1(key);
2917
+ const fetcherRef = A$1(fetcher);
2918
+ const configRef = A$1(config);
2963
2919
  const getConfig = () => configRef.current;
2964
2920
  const isActive = () => getConfig().isVisible() && getConfig().isOnline();
2965
2921
  const [getCache, setCache, subscribeCache, getInitialCache] = createCacheHelper(cache2, key);
2966
- const stateDependencies = _({}).current;
2922
+ const stateDependencies = A$1({}).current;
2967
2923
  const fallback = isUndefined(fallbackData) ? config.fallback[key] : fallbackData;
2968
2924
  const isEqual = (prev, current) => {
2969
2925
  for (const _2 in stateDependencies) {
@@ -2985,7 +2941,7 @@ const useSWRHandler = (_key, fetcher, config) => {
2985
2941
  }
2986
2942
  return true;
2987
2943
  };
2988
- const getSnapshot = F$1(() => {
2944
+ const getSnapshot = T$1(() => {
2989
2945
  const shouldStartRequest = (() => {
2990
2946
  if (!key)
2991
2947
  return false;
@@ -3039,7 +2995,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3039
2995
  cache2,
3040
2996
  key
3041
2997
  ]);
3042
- const cached = shimExports.useSyncExternalStore(T$1(
2998
+ const cached = shimExports.useSyncExternalStore(q$1(
3043
2999
  (callback) => subscribeCache(key, (current, prev) => {
3044
3000
  if (!isEqual(prev, current))
3045
3001
  callback();
@@ -3055,7 +3011,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3055
3011
  const cachedData = cached.data;
3056
3012
  const data = isUndefined(cachedData) ? fallback : cachedData;
3057
3013
  const error = cached.error;
3058
- const laggyDataRef = _(data);
3014
+ const laggyDataRef = A$1(data);
3059
3015
  const returnedData = keepPreviousData ? isUndefined(cachedData) ? laggyDataRef.current : cachedData : data;
3060
3016
  const shouldDoInitialRevalidation = (() => {
3061
3017
  if (hasRevalidator && !isUndefined(error))
@@ -3071,7 +3027,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3071
3027
  const defaultValidatingState = !!(key && fetcher && isInitialMount && shouldDoInitialRevalidation);
3072
3028
  const isValidating = isUndefined(cached.isValidating) ? defaultValidatingState : cached.isValidating;
3073
3029
  const isLoading = isUndefined(cached.isLoading) ? defaultValidatingState : cached.isLoading;
3074
- const revalidate = T$1(
3030
+ const revalidate = q$1(
3075
3031
  async (revalidateOpts) => {
3076
3032
  const currentFetcher = fetcherRef.current;
3077
3033
  if (!key || !currentFetcher || unmountedRef.current || getConfig().isPaused()) {
@@ -3164,8 +3120,8 @@ const useSWRHandler = (_key, fetcher, config) => {
3164
3120
  finalState.error = err;
3165
3121
  if (shouldStartNewRequest && callbackSafeguard()) {
3166
3122
  currentConfig.onError(err, key, currentConfig);
3167
- if (shouldRetryOnError === true || isFunction(shouldRetryOnError) && shouldRetryOnError(err)) {
3168
- if (isActive()) {
3123
+ if (shouldRetryOnError === true || isFunction$2(shouldRetryOnError) && shouldRetryOnError(err)) {
3124
+ if (!getConfig().revalidateOnFocus || !getConfig().revalidateOnReconnect || isActive()) {
3169
3125
  currentConfig.onErrorRetry(err, key, currentConfig, (_opts) => {
3170
3126
  const revalidators = EVENT_REVALIDATORS[key];
3171
3127
  if (revalidators && revalidators[0]) {
@@ -3200,7 +3156,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3200
3156
  cache2
3201
3157
  ]
3202
3158
  );
3203
- const boundMutate = T$1(
3159
+ const boundMutate = q$1(
3204
3160
  // Use callback to make sure `keyRef.current` returns latest result every time
3205
3161
  (...args) => {
3206
3162
  return internalMutate(cache2, keyRef.current, ...args);
@@ -3262,7 +3218,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3262
3218
  useIsomorphicLayoutEffect(() => {
3263
3219
  let timer;
3264
3220
  function next() {
3265
- const interval = isFunction(refreshInterval) ? refreshInterval(getCache().data) : refreshInterval;
3221
+ const interval = isFunction$2(refreshInterval) ? refreshInterval(getCache().data) : refreshInterval;
3266
3222
  if (interval && timer !== -1) {
3267
3223
  timer = setTimeout(execute, interval);
3268
3224
  }
@@ -3287,7 +3243,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3287
3243
  refreshWhenOffline,
3288
3244
  key
3289
3245
  ]);
3290
- x$1(returnedData);
3246
+ P$1(returnedData);
3291
3247
  if (suspense && isUndefined(data) && key) {
3292
3248
  if (!IS_REACT_LEGACY && IS_SERVER) {
3293
3249
  throw new Error("Fallback data is required when using suspense in SSR.");
@@ -3355,11 +3311,7 @@ const tagClass = cva({
3355
3311
  false: ""
3356
3312
  }
3357
3313
  },
3358
- compoundVariants: [{
3359
- disabled: false,
3360
- interactive: true,
3361
- class: "cursor-pointer active:scale-[0.975]"
3362
- }],
3314
+ compoundVariants: [{ disabled: false, interactive: true, class: "cursor-pointer active:scale-[0.975]" }],
3363
3315
  defaultVariants: {
3364
3316
  variant: "neutralWeak",
3365
3317
  size: "sm",
@@ -3367,11 +3319,7 @@ const tagClass = cva({
3367
3319
  interactive: false
3368
3320
  }
3369
3321
  });
3370
- const CurrentValueTag = ({
3371
- query,
3372
- property,
3373
- selectedValues
3374
- }) => {
3322
+ const CurrentValueTag = ({ query, property, selectedValues }) => {
3375
3323
  switch (query.state) {
3376
3324
  case "error":
3377
3325
  case "loading":
@@ -3386,26 +3334,21 @@ const CurrentValueTag = ({
3386
3334
  case 1: {
3387
3335
  const firstSuggestion = selectedSuggestions[0];
3388
3336
  invariant(firstSuggestion);
3389
- return u$1("span", {
3390
- class: tagClass({
3391
- size: "sm",
3392
- variant: "accentStrong",
3393
- interactive: true,
3394
- class: "truncate"
3395
- }),
3396
- children: firstSuggestion.label
3397
- });
3337
+ return /* @__PURE__ */ u$1("span", { class: tagClass({ size: "sm", variant: "accentStrong", interactive: true, class: "truncate" }), children: firstSuggestion.label });
3398
3338
  }
3399
3339
  default:
3400
- return u$1("span", {
3401
- class: tagClass({
3402
- size: "sm",
3403
- variant: "accentStrong",
3404
- interactive: true,
3405
- class: "ijs-filter-current truncate tabular-nums"
3406
- }),
3407
- children: selectedSuggestions.length
3408
- });
3340
+ return /* @__PURE__ */ u$1(
3341
+ "span",
3342
+ {
3343
+ class: tagClass({
3344
+ size: "sm",
3345
+ variant: "accentStrong",
3346
+ interactive: true,
3347
+ class: "ijs-filter-current truncate tabular-nums"
3348
+ }),
3349
+ children: selectedSuggestions.length
3350
+ }
3351
+ );
3409
3352
  }
3410
3353
  }
3411
3354
  default:
@@ -3442,7 +3385,7 @@ const FilterContentActive = ({
3442
3385
  onRender
3443
3386
  }) => {
3444
3387
  const filterQuery = getQueryState(useQuery());
3445
- const availablePropertyKeys = F$1(() => {
3388
+ const availablePropertyKeys = T$1(() => {
3446
3389
  switch (filterQuery.state) {
3447
3390
  case "error":
3448
3391
  case "loading":
@@ -3460,43 +3403,45 @@ const FilterContentActive = ({
3460
3403
  const hasValue = selectedValues.length > 0;
3461
3404
  const [displayCount, setDisplayCount] = h(SUGGESTION_COUNT);
3462
3405
  const [search, setSearch] = h();
3463
- p(() => {
3406
+ y(() => {
3464
3407
  onRender();
3465
3408
  });
3466
3409
  if (filterQuery.state === "error") {
3467
- return u$1(ErrorView, {
3468
- error: new Error("We’re having trouble loading available filters.", {
3469
- cause: filterQuery.error
3470
- }),
3471
- resetError: () => filterQuery.swr.mutate()
3472
- });
3410
+ return /* @__PURE__ */ u$1(
3411
+ ErrorView,
3412
+ {
3413
+ error: new Error("We’re having trouble loading available filters.", { cause: filterQuery.error }),
3414
+ resetError: () => filterQuery.swr.mutate()
3415
+ }
3416
+ );
3473
3417
  }
3474
- return u$1("div", {
3475
- class: "animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",
3476
- children: [property.searchable && u$1("div", {
3477
- class: "top-0 px-4 py-1",
3478
- children: u$1("input", {
3418
+ return /* @__PURE__ */ u$1("div", { class: "animate-slide-in-bottom flex w-full flex-col gap-2 pt-1", children: [
3419
+ property.searchable && /* @__PURE__ */ u$1("div", { class: "top-0 px-4 py-1", children: /* @__PURE__ */ u$1(
3420
+ "input",
3421
+ {
3479
3422
  type: "text",
3480
- class: inputClass({
3481
- hasValue
3482
- }),
3423
+ class: inputClass({ hasValue }),
3483
3424
  value: search,
3484
3425
  onInput: (e2) => setSearch(e2.currentTarget.value),
3485
3426
  placeholder: "Type to search"
3486
- })
3487
- }), (() => {
3427
+ }
3428
+ ) }),
3429
+ (() => {
3488
3430
  switch (unfilteredQuery.state) {
3489
3431
  case "error":
3490
- return u$1(ErrorView, {
3491
- error: new Error("We’re having trouble loading available filters.", {
3492
- cause: unfilteredQuery.error
3493
- }),
3494
- resetError: () => unfilteredQuery.swr.mutate()
3495
- });
3432
+ return /* @__PURE__ */ u$1(
3433
+ ErrorView,
3434
+ {
3435
+ error: new Error("We’re having trouble loading available filters.", {
3436
+ cause: unfilteredQuery.error
3437
+ }),
3438
+ resetError: () => unfilteredQuery.swr.mutate()
3439
+ }
3440
+ );
3496
3441
  case "loading":
3497
- return u$1("div", {
3498
- class: "flex px-4",
3499
- children: u$1("div", {
3442
+ return /* @__PURE__ */ u$1("div", { class: "flex px-4", children: /* @__PURE__ */ u$1(
3443
+ "div",
3444
+ {
3500
3445
  "aria-hidden": true,
3501
3446
  class: tagClass({
3502
3447
  size: "lg",
@@ -3504,147 +3449,147 @@ const FilterContentActive = ({
3504
3449
  interactive: true,
3505
3450
  class: "animate-skeleton cursor-default opacity-20 active:-scale-100"
3506
3451
  }),
3507
- children: u$1("span", {
3508
- class: "inline-block w-[10ch]"
3509
- })
3510
- })
3511
- });
3452
+ children: /* @__PURE__ */ u$1("span", { class: "inline-block w-[10ch]" })
3453
+ }
3454
+ ) });
3512
3455
  case "revalidating":
3513
3456
  case "loaded": {
3514
3457
  const allSuggestions = unfilteredQuery.data[property.key] ?? [];
3515
3458
  const filteredSuggestions = search && search.length > 1 ? allSuggestions.filter((s2) => s2.label.toLowerCase().includes(search.toLowerCase())) : allSuggestions;
3516
- const suggestions = filteredSuggestions.map((s2) => ({
3517
- ...s2,
3518
- disabled: availablePropertyKeys === null ? false : availablePropertyKeys[s2.value] !== true
3519
- }));
3459
+ const suggestions = [];
3460
+ for (const suggestion of filteredSuggestions) {
3461
+ if (suggestion.label.length < 1)
3462
+ continue;
3463
+ const statefulSuggestion = {
3464
+ ...suggestion,
3465
+ disabled: availablePropertyKeys === null ? false : availablePropertyKeys[suggestion.value] !== true
3466
+ };
3467
+ switch (property.results) {
3468
+ case "only-available":
3469
+ if (statefulSuggestion.disabled == false)
3470
+ suggestions.push(statefulSuggestion);
3471
+ break;
3472
+ default:
3473
+ suggestions.push(statefulSuggestion);
3474
+ }
3475
+ }
3520
3476
  const noEnabledOptions = !suggestions.find((suggestion) => !suggestion.disabled);
3521
3477
  if (noEnabledOptions)
3522
- return u$1("p", {
3523
- class: "font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center",
3524
- children: "No filter options available."
3525
- });
3526
- return u$1("div", {
3527
- class: "pointer-fine:px-4",
3528
- children: u$1("ul", {
3529
- style: {
3530
- maxHeight: (TAG_HEIGHT + GAP) * (LINE_COUNT - 1) + TAG_HEIGHT / 2 + 2 * PADDING_Y
3531
- },
3478
+ return /* @__PURE__ */ u$1("p", { class: "font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center", children: "No filter options available." });
3479
+ return /* @__PURE__ */ u$1("div", { class: "pointer-fine:px-4", children: /* @__PURE__ */ u$1(
3480
+ "ul",
3481
+ {
3482
+ style: { maxHeight: (TAG_HEIGHT + GAP) * (LINE_COUNT - 1) + TAG_HEIGHT / 2 + 2 * PADDING_Y },
3532
3483
  class: "hide-scrollbars pointer-fine:flex-wrap pointer-fine:p-2 pointer-fine:ring-width-section ring-section-weak-stroke pointer-fine:bg-app pointer-fine:rounded-section pointer-coarse:overflow-x-auto flex max-w-full gap-2 overflow-y-auto px-4",
3533
- children: [suggestions.slice(0, displayCount).map((suggestion) => {
3534
- const active = selectedValues.includes(suggestion.value);
3535
- return u$1("li", {
3536
- class: "animate-appear-tag max-w-full origin-top",
3537
- children: u$1("button", {
3538
- disabled: suggestion.disabled,
3539
- "data-filter": true,
3540
- "data-current-value": active ? "true" : void 0,
3541
- onClick: () => {
3542
- switch (value.select) {
3543
- case "many": {
3544
- const newValue = toggleInArray(selectedValues, suggestion.value);
3545
- onValueChange({
3546
- select: "many",
3547
- value: newValue
3548
- });
3549
- break;
3484
+ children: [
3485
+ suggestions.slice(0, displayCount).map((suggestion) => {
3486
+ const active = selectedValues.includes(suggestion.value);
3487
+ return /* @__PURE__ */ u$1("li", { class: "animate-appear-tag max-w-full origin-top", children: /* @__PURE__ */ u$1(
3488
+ "button",
3489
+ {
3490
+ disabled: suggestion.disabled,
3491
+ "data-filter": true,
3492
+ "data-current-value": active ? "true" : void 0,
3493
+ onClick: () => {
3494
+ switch (value.select) {
3495
+ case "many": {
3496
+ const newValue = toggleInArray(selectedValues, suggestion.value);
3497
+ onValueChange({ select: "many", value: newValue });
3498
+ break;
3499
+ }
3500
+ case "one":
3501
+ onValueChange({ select: "one", value: suggestion.value });
3502
+ break;
3503
+ default:
3504
+ exhaustive(value);
3550
3505
  }
3551
- case "one":
3552
- onValueChange({
3553
- select: "one",
3554
- value: suggestion.value
3555
- });
3556
- break;
3557
- default:
3558
- exhaustive(value);
3559
- }
3560
- },
3561
- class: tagClass({
3506
+ },
3507
+ class: tagClass({
3508
+ size: "lg",
3509
+ variant: active ? "accentStrong" : "neutralStrong",
3510
+ interactive: true,
3511
+ disabled: suggestion.disabled,
3512
+ class: "ijs-filter-tag"
3513
+ }),
3514
+ children: suggestion.label
3515
+ }
3516
+ ) }, suggestion.value);
3517
+ }),
3518
+ suggestions.length > displayCount && /* @__PURE__ */ u$1("li", { class: "animate-appear-tag pointer-fine:w-full max-w-full flex-none origin-top", children: /* @__PURE__ */ u$1(
3519
+ "button",
3520
+ {
3521
+ class: btnClass({
3522
+ variant: "neutral",
3523
+ icon: "right",
3562
3524
  size: "lg",
3563
- variant: active ? "accentStrong" : "neutralStrong",
3564
- interactive: true,
3565
- disabled: suggestion.disabled,
3566
- class: "ijs-filter-tag"
3525
+ class: "border-px flex w-full max-w-full flex-none flex-nowrap justify-center truncate border-transparent"
3567
3526
  }),
3568
- children: suggestion.label
3569
- })
3570
- }, suggestion.value);
3571
- }), suggestions.length > displayCount && u$1("li", {
3572
- class: "animate-appear-tag pointer-fine:w-full max-w-full flex-none origin-top",
3573
- children: u$1("button", {
3574
- class: btnClass({
3575
- variant: "neutral",
3576
- icon: "right",
3577
- size: "lg",
3578
- class: "border-px flex w-full max-w-full flex-none flex-nowrap justify-center truncate border-transparent"
3579
- }),
3580
- onClick: () => {
3581
- setDisplayCount(displayCount + SUGGESTION_COUNT);
3582
- },
3583
- children: [u$1("span", {
3584
- class: "font-style-tag font-family-tag font-weight-tag text-style-tag",
3585
- children: "Show More"
3586
- }), u$1(Icon, {
3587
- "aria-hidden": true,
3588
- name: "plus"
3589
- })]
3590
- })
3591
- })]
3592
- })
3593
- });
3527
+ onClick: () => {
3528
+ setDisplayCount(displayCount + SUGGESTION_COUNT);
3529
+ },
3530
+ children: [
3531
+ /* @__PURE__ */ u$1("span", { class: "font-style-tag font-family-tag font-weight-tag text-style-tag", children: "Show More" }),
3532
+ /* @__PURE__ */ u$1(Icon, { "aria-hidden": true, name: "plus" })
3533
+ ]
3534
+ }
3535
+ ) })
3536
+ ]
3537
+ }
3538
+ ) });
3594
3539
  }
3595
3540
  default:
3596
3541
  exhaustive(unfilteredQuery);
3597
3542
  }
3598
- })(), u$1("footer", {
3599
- class: "flex justify-end p-2",
3600
- children: [u$1("div", {
3601
- class: "flex-1",
3602
- children: hasValue && u$1("button", {
3603
- class: btnClass({
3604
- variant: "neutral",
3605
- icon: "left"
3606
- }),
3543
+ })(),
3544
+ /* @__PURE__ */ u$1("footer", { class: "flex justify-end p-2", children: [
3545
+ /* @__PURE__ */ u$1("div", { class: "flex-1", children: hasValue && /* @__PURE__ */ u$1(
3546
+ "button",
3547
+ {
3548
+ class: btnClass({ variant: "neutral", icon: "left" }),
3607
3549
  onClick: () => {
3608
3550
  onValueChange(void 0);
3609
3551
  },
3610
- children: [u$1(Icon, {
3611
- "aria-hidden": true,
3612
- name: "x"
3613
- }), " Clear"]
3614
- })
3615
- }), value.select === "many" && u$1("div", {
3616
- class: "flex items-center overflow-hidden",
3617
- children: u$1("p", {
3618
- class: "font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center",
3619
- children: [selectedValues.length, " selected"]
3620
- })
3621
- }), u$1("div", {
3622
- class: "flex-1",
3623
- children: u$1("button", {
3624
- class: btnClass({
3625
- variant: hasValue ? "accent" : "neutral",
3626
- icon: "right",
3627
- class: "ml-auto"
3628
- }),
3552
+ children: [
3553
+ /* @__PURE__ */ u$1(Icon, { "aria-hidden": true, name: "x" }),
3554
+ " Clear"
3555
+ ]
3556
+ }
3557
+ ) }),
3558
+ value.select === "many" && /* @__PURE__ */ u$1("div", { class: "flex items-center overflow-hidden", children: /* @__PURE__ */ u$1("p", { class: "font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center", children: [
3559
+ selectedValues.length,
3560
+ " selected"
3561
+ ] }) }),
3562
+ /* @__PURE__ */ u$1("div", { class: "flex-1", children: /* @__PURE__ */ u$1(
3563
+ "button",
3564
+ {
3565
+ class: btnClass({ variant: hasValue ? "accent" : "neutral", icon: "right", class: "ml-auto" }),
3629
3566
  onClick: onSkip,
3630
- children: [hasValue ? "Done" : "Skip", " ", u$1(Icon, {
3631
- name: "chevron-right"
3632
- })]
3633
- }, hasValue ? "done" : "skip")
3634
- })]
3635
- })]
3636
- });
3567
+ children: [
3568
+ hasValue ? "Done" : "Skip",
3569
+ " ",
3570
+ /* @__PURE__ */ u$1(Icon, { name: "chevron-right" })
3571
+ ]
3572
+ },
3573
+ hasValue ? "done" : "skip"
3574
+ ) })
3575
+ ] })
3576
+ ] });
3637
3577
  };
3638
3578
  const filterIcons = {
3639
3579
  contract_type: "clock",
3640
3580
  title: "magnifier",
3641
3581
  city: "mapPin",
3642
3582
  town: "mapPin",
3643
- address_1: "mapPin",
3644
- address_2: "mapPin",
3645
3583
  country: "mapPin",
3646
3584
  company_name: "briefcase",
3647
- category: "briefcase"
3585
+ category: "briefcase",
3586
+ pay: "pay",
3587
+ pay_currency: "pay",
3588
+ pay_mask: "pay",
3589
+ pay_display: "pay",
3590
+ pay_max: "pay",
3591
+ pay_min: "pay",
3592
+ pay_type: "pay"
3648
3593
  };
3649
3594
  const wrapperClass$1 = cva({
3650
3595
  base: "group ijs-filter flex min-w-0 fr overflow-hidden rounded-section text-copy-neutral-lowcontrast ring-width-section transition-all duration-medium ease-expo-out fr-parent [&:has(.fr-child:active)]:scale-[0.975] origin-[50%_1.75rem]",
@@ -3669,22 +3614,18 @@ const chevronClass = cva({
3669
3614
  base: "flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"
3670
3615
  });
3671
3616
  const useMeasureHeight = (dependencies) => {
3672
- const ref = _(null);
3617
+ const ref = A$1(null);
3673
3618
  const [height, setHeight] = h(0);
3674
3619
  const updateHeight = () => {
3675
3620
  var _a;
3676
3621
  return setHeight(((_a = ref.current) == null ? void 0 : _a.clientHeight) ?? 0);
3677
3622
  };
3678
- y(() => {
3623
+ _(() => {
3679
3624
  updateHeight();
3680
3625
  window.addEventListener("resize", updateHeight);
3681
3626
  return () => window.removeEventListener("resize", updateHeight);
3682
3627
  }, dependencies);
3683
- return {
3684
- height,
3685
- ref,
3686
- updateHeight
3687
- };
3628
+ return { height, ref, updateHeight };
3688
3629
  };
3689
3630
  const getSelectedValues = (current) => typeof current.value === "string" ? [current.value] : current.value ?? [];
3690
3631
  const Filter = ({
@@ -3697,81 +3638,69 @@ const Filter = ({
3697
3638
  unfilteredQuery,
3698
3639
  useQuery
3699
3640
  }) => {
3700
- const icon = property.icon ?? filterIcons[property.key] ?? "filter";
3641
+ const defaultIcon = isKeyInObj(property.key, filterIcons) ? filterIcons[property.key] : void 0;
3642
+ const icon = property.icon ?? defaultIcon ?? "filter";
3701
3643
  const selectedValues = getSelectedValues(value);
3702
- const {
3703
- height,
3704
- ref: contentRef,
3705
- updateHeight
3706
- } = useMeasureHeight([active]);
3644
+ const { height, ref: contentRef, updateHeight } = useMeasureHeight([active]);
3707
3645
  const hasValue = selectedValues.length > 0;
3708
- return u$1("section", {
3709
- "data-filter-key": property.key,
3710
- role: "tab",
3711
- "aria-label": property.label,
3712
- "aria-selected": active ? "true" : void 0,
3713
- class: wrapperClass$1({
3714
- hasValue
3715
- }),
3716
- onTouchStart: noop,
3717
- children: [u$1("div", {
3718
- class: "min-w-0 max-w-full shrink-0 flex-grow",
3719
- children: [u$1("button", {
3720
- "aria-label": active ? "Close filter" : "Open filter",
3721
- class: headerClass({
3722
- state: active ? "active" : hasValue ? "filled" : "default",
3723
- class: "ijs-filter-heading rounded-section fr-child flex w-full cursor-pointer select-none items-center gap-2 py-4 pl-4"
3724
- }),
3725
- onClick: () => onActiveChange(!active),
3726
- children: [u$1(Icon, {
3727
- "aria-hidden": true,
3728
- class: "flex-none",
3729
- name: icon
3730
- }), u$1("p", {
3731
- children: property.label
3732
- })]
3733
- }), u$1("div", {
3734
- class: "ease-expo-out duration-snappy relative overflow-hidden transition-all",
3735
- style: {
3736
- height
3737
- },
3738
- children: u$1("div", {
3739
- class: "w-full",
3740
- ref: contentRef,
3741
- children: active && u$1(FilterContentActive, {
3742
- useQuery,
3743
- onRender: updateHeight,
3744
- onSkip,
3745
- onValueChange,
3746
- unfilteredQuery,
3747
- property,
3748
- value
3749
- })
3750
- })
3751
- })]
3752
- }), !active && u$1("button", {
3753
- tabIndex: -1,
3754
- class: "fr-child flex flex-shrink flex-grow cursor-pointer select-none items-center justify-end gap-2 overflow-hidden pl-2 pr-3 focus:outline-none",
3755
- onClick: () => onActiveChange(true),
3756
- children: [u$1("div", {
3757
- "aria-label": "Current value",
3758
- class: "flex max-w-full gap-1 overflow-hidden",
3759
- children: u$1(CurrentValueTag, {
3760
- property,
3761
- query: unfilteredQuery,
3762
- selectedValues
3763
- })
3764
- }), u$1(Icon, {
3765
- "aria-hidden": true,
3766
- class: chevronClass(),
3767
- name: "chevron-right"
3768
- })]
3769
- })]
3770
- });
3646
+ return /* @__PURE__ */ u$1(
3647
+ "section",
3648
+ {
3649
+ "data-filter-key": property.key,
3650
+ role: "tab",
3651
+ "aria-label": property.label,
3652
+ "aria-selected": active ? "true" : void 0,
3653
+ class: wrapperClass$1({ hasValue }),
3654
+ onTouchStart: noop,
3655
+ children: [
3656
+ /* @__PURE__ */ u$1("div", { class: "min-w-0 max-w-full shrink-0 flex-grow", children: [
3657
+ /* @__PURE__ */ u$1(
3658
+ "button",
3659
+ {
3660
+ "aria-label": active ? "Close filter" : "Open filter",
3661
+ class: headerClass({
3662
+ state: active ? "active" : hasValue ? "filled" : "default",
3663
+ class: "ijs-filter-heading rounded-section fr-child flex w-full cursor-pointer select-none items-center gap-2 py-4 pl-4"
3664
+ }),
3665
+ onClick: () => onActiveChange(!active),
3666
+ children: [
3667
+ /* @__PURE__ */ u$1(Icon, { "aria-hidden": true, class: "flex-none", name: icon }),
3668
+ /* @__PURE__ */ u$1("p", { children: property.label })
3669
+ ]
3670
+ }
3671
+ ),
3672
+ /* @__PURE__ */ u$1("div", { class: "ease-expo-out duration-snappy relative overflow-hidden transition-all", style: { height }, children: /* @__PURE__ */ u$1("div", { class: "w-full", ref: contentRef, children: active && /* @__PURE__ */ u$1(
3673
+ FilterContentActive,
3674
+ {
3675
+ useQuery,
3676
+ onRender: updateHeight,
3677
+ onSkip,
3678
+ onValueChange,
3679
+ unfilteredQuery,
3680
+ property,
3681
+ value
3682
+ }
3683
+ ) }) })
3684
+ ] }),
3685
+ !active && /* @__PURE__ */ u$1(
3686
+ "button",
3687
+ {
3688
+ tabIndex: -1,
3689
+ class: "fr-child flex flex-shrink flex-grow cursor-pointer select-none items-center justify-end gap-2 overflow-hidden pl-2 pr-3 focus:outline-none",
3690
+ onClick: () => onActiveChange(true),
3691
+ children: [
3692
+ /* @__PURE__ */ u$1("div", { "aria-label": "Current value", class: "flex max-w-full gap-1 overflow-hidden", children: /* @__PURE__ */ u$1(CurrentValueTag, { property, query: unfilteredQuery, selectedValues }) }),
3693
+ /* @__PURE__ */ u$1(Icon, { "aria-hidden": true, class: chevronClass(), name: "chevron-right" })
3694
+ ]
3695
+ }
3696
+ )
3697
+ ]
3698
+ }
3699
+ );
3771
3700
  };
3772
3701
  const usePrevious = (value) => {
3773
- const ref = _();
3774
- p(() => {
3702
+ const ref = A$1();
3703
+ y(() => {
3775
3704
  ref.current = value;
3776
3705
  }, [value]);
3777
3706
  return ref.current;
@@ -3787,7 +3716,7 @@ const focusFirstAvailableOption = (activeKey, ref) => {
3787
3716
  };
3788
3717
  const useFilterKeyboardFocus = (activeKey, ref) => {
3789
3718
  const previousActiveKey = usePrevious(activeKey);
3790
- p(() => {
3719
+ y(() => {
3791
3720
  if (previousActiveKey === activeKey)
3792
3721
  return;
3793
3722
  const keyToFocus = activeKey ?? previousActiveKey;
@@ -3807,26 +3736,17 @@ const nextStateFromValue = ({
3807
3736
  var _a, _b;
3808
3737
  switch (value == null ? void 0 : value.select) {
3809
3738
  case void 0: {
3810
- return {
3811
- newValue: void 0,
3812
- newActiveKey: activeKey
3813
- };
3739
+ return { newValue: void 0, newActiveKey: activeKey };
3814
3740
  }
3815
3741
  case "many": {
3816
- return {
3817
- newValue: value,
3818
- newActiveKey: activeKey
3819
- };
3742
+ return { newValue: value, newActiveKey: activeKey };
3820
3743
  }
3821
3744
  case "one": {
3822
3745
  const currentIndex = properties.findIndex((p2) => p2.key === property.key);
3823
3746
  const nextPropertyKey = currentIndex !== -1 ? (_a = properties[currentIndex + 1]) == null ? void 0 : _a.key : void 0;
3824
3747
  const isNextFilled = nextPropertyKey ? ((_b = appliedFilters[nextPropertyKey]) == null ? void 0 : _b.value) !== void 0 : false;
3825
3748
  const nextKey = isNextFilled ? void 0 : nextPropertyKey;
3826
- return {
3827
- newValue: value,
3828
- newActiveKey: nextKey
3829
- };
3749
+ return { newValue: value, newActiveKey: nextKey };
3830
3750
  }
3831
3751
  default:
3832
3752
  exhaustive(value);
@@ -3843,97 +3763,536 @@ const FilterSection = ({
3843
3763
  var _a;
3844
3764
  const [activeKey, setActiveKey] = h((_a = properties[0]) == null ? void 0 : _a.key);
3845
3765
  useFilterKeyboardFocus(activeKey, parentRef);
3846
- const defaultFilters = F$1(() => getFilterDefaults(properties.map(({
3847
- value: _2,
3848
- ...prop
3849
- }) => prop)), [properties]);
3850
- const unfilteredQuery = getQueryState(useSWR(cacheKey({
3851
- filter: defaultFilters,
3852
- baseKey: "filters"
3853
- }), () => getAvailableFilters({
3854
- apiClient,
3855
- logger,
3856
- filters: defaultFilters
3857
- }), SWR_SETTINGS));
3858
- const makeQueryWithoutFilter = T$1((keyToExclude) => () => {
3859
- const filters = {
3860
- ...appliedFilters,
3861
- [keyToExclude]: defaultFilters[keyToExclude]
3862
- };
3863
- return useSWR(cacheKey({
3864
- filter: filters,
3865
- baseKey: "filters"
3866
- }), () => getAvailableFilters({
3867
- apiClient,
3868
- logger,
3869
- filters
3870
- }), SWR_SETTINGS);
3871
- }, [apiClient, appliedFilters, defaultFilters, logger]);
3766
+ const defaultFilters = T$1(
3767
+ () => getFilterDefaults(properties.map(({ value: _2, ...prop }) => prop)),
3768
+ [properties]
3769
+ );
3770
+ const unfilteredQuery = getQueryState(
3771
+ useSWR(
3772
+ cacheKey({ filter: defaultFilters, baseKey: "filters" }),
3773
+ () => getAvailableFilters({ apiClient, logger, filters: defaultFilters }),
3774
+ SWR_SETTINGS
3775
+ )
3776
+ );
3777
+ const makeQueryWithoutFilter = q$1(
3778
+ (keyToExclude) => () => {
3779
+ const filters = { ...appliedFilters, [keyToExclude]: defaultFilters[keyToExclude] };
3780
+ return useSWR(
3781
+ cacheKey({ filter: filters, baseKey: "filters" }),
3782
+ () => getAvailableFilters({ apiClient, logger, filters }),
3783
+ SWR_SETTINGS
3784
+ );
3785
+ },
3786
+ [apiClient, appliedFilters, defaultFilters, logger]
3787
+ );
3872
3788
  if (unfilteredQuery.state === "error") {
3873
- return u$1(ErrorView, {
3874
- error: new Error("We’re having trouble loading available filters.", {
3875
- cause: unfilteredQuery.error
3876
- }),
3877
- resetError: () => unfilteredQuery.swr.mutate()
3878
- });
3789
+ return /* @__PURE__ */ u$1(
3790
+ ErrorView,
3791
+ {
3792
+ error: new Error("We’re having trouble loading available filters.", { cause: unfilteredQuery.error }),
3793
+ resetError: () => unfilteredQuery.swr.mutate()
3794
+ }
3795
+ );
3879
3796
  }
3880
- return u$1("aside", {
3881
- children: u$1("div", {
3882
- role: "tablist",
3883
- class: "top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",
3884
- children: properties.map((property) => {
3885
- const active = activeKey === property.key;
3886
- const value = appliedFilters[property.key] ?? {
3887
- select: property.select,
3888
- value: void 0
3889
- };
3890
- const onValueChange = (value2) => {
3891
- const {
3892
- newActiveKey,
3893
- newValue
3894
- } = nextStateFromValue({
3895
- property,
3896
- activeKey,
3897
- value: value2,
3898
- properties,
3899
- appliedFilters
3900
- });
3901
- setActiveKey(newActiveKey);
3902
- return onFilterValueChange(property.key, newValue);
3903
- };
3904
- const onActiveChange = (active2) => setActiveKey(active2 ? property.key : void 0);
3905
- const useQuery = makeQueryWithoutFilter(property.key);
3906
- return u$1(ErrorBoundary, {
3907
- Fallback: ErrorView,
3908
- children: u$1(Filter, {
3909
- unfilteredQuery,
3910
- active,
3911
- property,
3912
- onActiveChange,
3913
- value,
3914
- onSkip: () => {
3915
- var _a2;
3916
- const currentIndex = properties.findIndex((p2) => p2.key === activeKey);
3917
- const nextPropertyKey = currentIndex !== -1 ? (_a2 = properties[currentIndex + 1]) == null ? void 0 : _a2.key : void 0;
3918
- setActiveKey(nextPropertyKey);
3919
- },
3920
- useQuery,
3921
- onValueChange
3922
- })
3923
- }, property.key);
3924
- })
3925
- })
3926
- });
3797
+ return /* @__PURE__ */ u$1("aside", { children: /* @__PURE__ */ u$1("div", { role: "tablist", class: "top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0", children: properties.filter((property) => property.hidden !== true).map((property) => {
3798
+ const active = activeKey === property.key;
3799
+ const value = appliedFilters[property.key] ?? { select: property.select, value: void 0 };
3800
+ const onValueChange = (value2) => {
3801
+ const { newActiveKey, newValue } = nextStateFromValue({
3802
+ property,
3803
+ activeKey,
3804
+ value: value2,
3805
+ properties,
3806
+ appliedFilters
3807
+ });
3808
+ setActiveKey(newActiveKey);
3809
+ return onFilterValueChange(property.key, newValue);
3810
+ };
3811
+ const onActiveChange = (active2) => setActiveKey(active2 ? property.key : void 0);
3812
+ const useQuery = makeQueryWithoutFilter(property.key);
3813
+ return /* @__PURE__ */ u$1(ErrorBoundary, { Fallback: ErrorView, children: /* @__PURE__ */ u$1(
3814
+ Filter,
3815
+ {
3816
+ unfilteredQuery,
3817
+ active,
3818
+ property,
3819
+ onActiveChange,
3820
+ value,
3821
+ onSkip: () => {
3822
+ var _a2;
3823
+ const currentIndex = properties.findIndex((p2) => p2.key === activeKey);
3824
+ const nextPropertyKey = currentIndex !== -1 ? (_a2 = properties[currentIndex + 1]) == null ? void 0 : _a2.key : void 0;
3825
+ setActiveKey(nextPropertyKey);
3826
+ },
3827
+ useQuery,
3828
+ onValueChange
3829
+ }
3830
+ ) }, property.key);
3831
+ }) }) });
3927
3832
  };
3928
- const SkeletonText = ({
3929
- chars
3930
- }) => {
3931
- return u$1("span", {
3932
- style: {
3933
- width: chars + "ch"
3934
- },
3935
- class: "rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"
3833
+ var isArray$3 = Array.isArray;
3834
+ var isArray_1 = isArray$3;
3835
+ var freeGlobal$1 = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
3836
+ var _freeGlobal = freeGlobal$1;
3837
+ var freeGlobal = _freeGlobal;
3838
+ var freeSelf = typeof self == "object" && self && self.Object === Object && self;
3839
+ var root$3 = freeGlobal || freeSelf || Function("return this")();
3840
+ var _root = root$3;
3841
+ var root$2 = _root;
3842
+ var Symbol$4 = root$2.Symbol;
3843
+ var _Symbol = Symbol$4;
3844
+ var Symbol$3 = _Symbol;
3845
+ var objectProto$4 = Object.prototype;
3846
+ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
3847
+ var nativeObjectToString$1 = objectProto$4.toString;
3848
+ var symToStringTag$1 = Symbol$3 ? Symbol$3.toStringTag : void 0;
3849
+ function getRawTag$1(value) {
3850
+ var isOwn = hasOwnProperty$3.call(value, symToStringTag$1), tag = value[symToStringTag$1];
3851
+ try {
3852
+ value[symToStringTag$1] = void 0;
3853
+ var unmasked = true;
3854
+ } catch (e2) {
3855
+ }
3856
+ var result = nativeObjectToString$1.call(value);
3857
+ if (unmasked) {
3858
+ if (isOwn) {
3859
+ value[symToStringTag$1] = tag;
3860
+ } else {
3861
+ delete value[symToStringTag$1];
3862
+ }
3863
+ }
3864
+ return result;
3865
+ }
3866
+ var _getRawTag = getRawTag$1;
3867
+ var objectProto$3 = Object.prototype;
3868
+ var nativeObjectToString = objectProto$3.toString;
3869
+ function objectToString$1(value) {
3870
+ return nativeObjectToString.call(value);
3871
+ }
3872
+ var _objectToString = objectToString$1;
3873
+ var Symbol$2 = _Symbol, getRawTag = _getRawTag, objectToString = _objectToString;
3874
+ var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
3875
+ var symToStringTag = Symbol$2 ? Symbol$2.toStringTag : void 0;
3876
+ function baseGetTag$2(value) {
3877
+ if (value == null) {
3878
+ return value === void 0 ? undefinedTag : nullTag;
3879
+ }
3880
+ return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
3881
+ }
3882
+ var _baseGetTag = baseGetTag$2;
3883
+ function isObjectLike$1(value) {
3884
+ return value != null && typeof value == "object";
3885
+ }
3886
+ var isObjectLike_1 = isObjectLike$1;
3887
+ var baseGetTag$1 = _baseGetTag, isObjectLike = isObjectLike_1;
3888
+ var symbolTag = "[object Symbol]";
3889
+ function isSymbol$3(value) {
3890
+ return typeof value == "symbol" || isObjectLike(value) && baseGetTag$1(value) == symbolTag;
3891
+ }
3892
+ var isSymbol_1 = isSymbol$3;
3893
+ var isArray$2 = isArray_1, isSymbol$2 = isSymbol_1;
3894
+ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
3895
+ function isKey$1(value, object2) {
3896
+ if (isArray$2(value)) {
3897
+ return false;
3898
+ }
3899
+ var type = typeof value;
3900
+ if (type == "number" || type == "symbol" || type == "boolean" || value == null || isSymbol$2(value)) {
3901
+ return true;
3902
+ }
3903
+ return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object2 != null && value in Object(object2);
3904
+ }
3905
+ var _isKey = isKey$1;
3906
+ function isObject$3(value) {
3907
+ var type = typeof value;
3908
+ return value != null && (type == "object" || type == "function");
3909
+ }
3910
+ var isObject_1 = isObject$3;
3911
+ var baseGetTag = _baseGetTag, isObject$2 = isObject_1;
3912
+ var asyncTag = "[object AsyncFunction]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
3913
+ function isFunction$1(value) {
3914
+ if (!isObject$2(value)) {
3915
+ return false;
3916
+ }
3917
+ var tag = baseGetTag(value);
3918
+ return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
3919
+ }
3920
+ var isFunction_1 = isFunction$1;
3921
+ var root$1 = _root;
3922
+ var coreJsData$1 = root$1["__core-js_shared__"];
3923
+ var _coreJsData = coreJsData$1;
3924
+ var coreJsData = _coreJsData;
3925
+ var maskSrcKey = function() {
3926
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
3927
+ return uid ? "Symbol(src)_1." + uid : "";
3928
+ }();
3929
+ function isMasked$1(func) {
3930
+ return !!maskSrcKey && maskSrcKey in func;
3931
+ }
3932
+ var _isMasked = isMasked$1;
3933
+ var funcProto$1 = Function.prototype;
3934
+ var funcToString$1 = funcProto$1.toString;
3935
+ function toSource$1(func) {
3936
+ if (func != null) {
3937
+ try {
3938
+ return funcToString$1.call(func);
3939
+ } catch (e2) {
3940
+ }
3941
+ try {
3942
+ return func + "";
3943
+ } catch (e2) {
3944
+ }
3945
+ }
3946
+ return "";
3947
+ }
3948
+ var _toSource = toSource$1;
3949
+ var isFunction = isFunction_1, isMasked = _isMasked, isObject$1 = isObject_1, toSource = _toSource;
3950
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
3951
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
3952
+ var funcProto = Function.prototype, objectProto$2 = Object.prototype;
3953
+ var funcToString = funcProto.toString;
3954
+ var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
3955
+ var reIsNative = RegExp(
3956
+ "^" + funcToString.call(hasOwnProperty$2).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
3957
+ );
3958
+ function baseIsNative$1(value) {
3959
+ if (!isObject$1(value) || isMasked(value)) {
3960
+ return false;
3961
+ }
3962
+ var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
3963
+ return pattern.test(toSource(value));
3964
+ }
3965
+ var _baseIsNative = baseIsNative$1;
3966
+ function getValue$1(object2, key) {
3967
+ return object2 == null ? void 0 : object2[key];
3968
+ }
3969
+ var _getValue = getValue$1;
3970
+ var baseIsNative = _baseIsNative, getValue = _getValue;
3971
+ function getNative$2(object2, key) {
3972
+ var value = getValue(object2, key);
3973
+ return baseIsNative(value) ? value : void 0;
3974
+ }
3975
+ var _getNative = getNative$2;
3976
+ var getNative$1 = _getNative;
3977
+ var nativeCreate$4 = getNative$1(Object, "create");
3978
+ var _nativeCreate = nativeCreate$4;
3979
+ var nativeCreate$3 = _nativeCreate;
3980
+ function hashClear$1() {
3981
+ this.__data__ = nativeCreate$3 ? nativeCreate$3(null) : {};
3982
+ this.size = 0;
3983
+ }
3984
+ var _hashClear = hashClear$1;
3985
+ function hashDelete$1(key) {
3986
+ var result = this.has(key) && delete this.__data__[key];
3987
+ this.size -= result ? 1 : 0;
3988
+ return result;
3989
+ }
3990
+ var _hashDelete = hashDelete$1;
3991
+ var nativeCreate$2 = _nativeCreate;
3992
+ var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
3993
+ var objectProto$1 = Object.prototype;
3994
+ var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
3995
+ function hashGet$1(key) {
3996
+ var data = this.__data__;
3997
+ if (nativeCreate$2) {
3998
+ var result = data[key];
3999
+ return result === HASH_UNDEFINED$1 ? void 0 : result;
4000
+ }
4001
+ return hasOwnProperty$1.call(data, key) ? data[key] : void 0;
4002
+ }
4003
+ var _hashGet = hashGet$1;
4004
+ var nativeCreate$1 = _nativeCreate;
4005
+ var objectProto = Object.prototype;
4006
+ var hasOwnProperty = objectProto.hasOwnProperty;
4007
+ function hashHas$1(key) {
4008
+ var data = this.__data__;
4009
+ return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty.call(data, key);
4010
+ }
4011
+ var _hashHas = hashHas$1;
4012
+ var nativeCreate = _nativeCreate;
4013
+ var HASH_UNDEFINED = "__lodash_hash_undefined__";
4014
+ function hashSet$1(key, value) {
4015
+ var data = this.__data__;
4016
+ this.size += this.has(key) ? 0 : 1;
4017
+ data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
4018
+ return this;
4019
+ }
4020
+ var _hashSet = hashSet$1;
4021
+ var hashClear = _hashClear, hashDelete = _hashDelete, hashGet = _hashGet, hashHas = _hashHas, hashSet = _hashSet;
4022
+ function Hash$1(entries) {
4023
+ var index = -1, length = entries == null ? 0 : entries.length;
4024
+ this.clear();
4025
+ while (++index < length) {
4026
+ var entry = entries[index];
4027
+ this.set(entry[0], entry[1]);
4028
+ }
4029
+ }
4030
+ Hash$1.prototype.clear = hashClear;
4031
+ Hash$1.prototype["delete"] = hashDelete;
4032
+ Hash$1.prototype.get = hashGet;
4033
+ Hash$1.prototype.has = hashHas;
4034
+ Hash$1.prototype.set = hashSet;
4035
+ var _Hash = Hash$1;
4036
+ function listCacheClear$1() {
4037
+ this.__data__ = [];
4038
+ this.size = 0;
4039
+ }
4040
+ var _listCacheClear = listCacheClear$1;
4041
+ function eq$1(value, other) {
4042
+ return value === other || value !== value && other !== other;
4043
+ }
4044
+ var eq_1 = eq$1;
4045
+ var eq = eq_1;
4046
+ function assocIndexOf$4(array2, key) {
4047
+ var length = array2.length;
4048
+ while (length--) {
4049
+ if (eq(array2[length][0], key)) {
4050
+ return length;
4051
+ }
4052
+ }
4053
+ return -1;
4054
+ }
4055
+ var _assocIndexOf = assocIndexOf$4;
4056
+ var assocIndexOf$3 = _assocIndexOf;
4057
+ var arrayProto = Array.prototype;
4058
+ var splice = arrayProto.splice;
4059
+ function listCacheDelete$1(key) {
4060
+ var data = this.__data__, index = assocIndexOf$3(data, key);
4061
+ if (index < 0) {
4062
+ return false;
4063
+ }
4064
+ var lastIndex = data.length - 1;
4065
+ if (index == lastIndex) {
4066
+ data.pop();
4067
+ } else {
4068
+ splice.call(data, index, 1);
4069
+ }
4070
+ --this.size;
4071
+ return true;
4072
+ }
4073
+ var _listCacheDelete = listCacheDelete$1;
4074
+ var assocIndexOf$2 = _assocIndexOf;
4075
+ function listCacheGet$1(key) {
4076
+ var data = this.__data__, index = assocIndexOf$2(data, key);
4077
+ return index < 0 ? void 0 : data[index][1];
4078
+ }
4079
+ var _listCacheGet = listCacheGet$1;
4080
+ var assocIndexOf$1 = _assocIndexOf;
4081
+ function listCacheHas$1(key) {
4082
+ return assocIndexOf$1(this.__data__, key) > -1;
4083
+ }
4084
+ var _listCacheHas = listCacheHas$1;
4085
+ var assocIndexOf = _assocIndexOf;
4086
+ function listCacheSet$1(key, value) {
4087
+ var data = this.__data__, index = assocIndexOf(data, key);
4088
+ if (index < 0) {
4089
+ ++this.size;
4090
+ data.push([key, value]);
4091
+ } else {
4092
+ data[index][1] = value;
4093
+ }
4094
+ return this;
4095
+ }
4096
+ var _listCacheSet = listCacheSet$1;
4097
+ var listCacheClear = _listCacheClear, listCacheDelete = _listCacheDelete, listCacheGet = _listCacheGet, listCacheHas = _listCacheHas, listCacheSet = _listCacheSet;
4098
+ function ListCache$1(entries) {
4099
+ var index = -1, length = entries == null ? 0 : entries.length;
4100
+ this.clear();
4101
+ while (++index < length) {
4102
+ var entry = entries[index];
4103
+ this.set(entry[0], entry[1]);
4104
+ }
4105
+ }
4106
+ ListCache$1.prototype.clear = listCacheClear;
4107
+ ListCache$1.prototype["delete"] = listCacheDelete;
4108
+ ListCache$1.prototype.get = listCacheGet;
4109
+ ListCache$1.prototype.has = listCacheHas;
4110
+ ListCache$1.prototype.set = listCacheSet;
4111
+ var _ListCache = ListCache$1;
4112
+ var getNative = _getNative, root = _root;
4113
+ var Map$2 = getNative(root, "Map");
4114
+ var _Map = Map$2;
4115
+ var Hash = _Hash, ListCache = _ListCache, Map$1 = _Map;
4116
+ function mapCacheClear$1() {
4117
+ this.size = 0;
4118
+ this.__data__ = {
4119
+ "hash": new Hash(),
4120
+ "map": new (Map$1 || ListCache)(),
4121
+ "string": new Hash()
4122
+ };
4123
+ }
4124
+ var _mapCacheClear = mapCacheClear$1;
4125
+ function isKeyable$1(value) {
4126
+ var type = typeof value;
4127
+ return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
4128
+ }
4129
+ var _isKeyable = isKeyable$1;
4130
+ var isKeyable = _isKeyable;
4131
+ function getMapData$4(map, key) {
4132
+ var data = map.__data__;
4133
+ return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
4134
+ }
4135
+ var _getMapData = getMapData$4;
4136
+ var getMapData$3 = _getMapData;
4137
+ function mapCacheDelete$1(key) {
4138
+ var result = getMapData$3(this, key)["delete"](key);
4139
+ this.size -= result ? 1 : 0;
4140
+ return result;
4141
+ }
4142
+ var _mapCacheDelete = mapCacheDelete$1;
4143
+ var getMapData$2 = _getMapData;
4144
+ function mapCacheGet$1(key) {
4145
+ return getMapData$2(this, key).get(key);
4146
+ }
4147
+ var _mapCacheGet = mapCacheGet$1;
4148
+ var getMapData$1 = _getMapData;
4149
+ function mapCacheHas$1(key) {
4150
+ return getMapData$1(this, key).has(key);
4151
+ }
4152
+ var _mapCacheHas = mapCacheHas$1;
4153
+ var getMapData = _getMapData;
4154
+ function mapCacheSet$1(key, value) {
4155
+ var data = getMapData(this, key), size = data.size;
4156
+ data.set(key, value);
4157
+ this.size += data.size == size ? 0 : 1;
4158
+ return this;
4159
+ }
4160
+ var _mapCacheSet = mapCacheSet$1;
4161
+ var mapCacheClear = _mapCacheClear, mapCacheDelete = _mapCacheDelete, mapCacheGet = _mapCacheGet, mapCacheHas = _mapCacheHas, mapCacheSet = _mapCacheSet;
4162
+ function MapCache$1(entries) {
4163
+ var index = -1, length = entries == null ? 0 : entries.length;
4164
+ this.clear();
4165
+ while (++index < length) {
4166
+ var entry = entries[index];
4167
+ this.set(entry[0], entry[1]);
4168
+ }
4169
+ }
4170
+ MapCache$1.prototype.clear = mapCacheClear;
4171
+ MapCache$1.prototype["delete"] = mapCacheDelete;
4172
+ MapCache$1.prototype.get = mapCacheGet;
4173
+ MapCache$1.prototype.has = mapCacheHas;
4174
+ MapCache$1.prototype.set = mapCacheSet;
4175
+ var _MapCache = MapCache$1;
4176
+ var MapCache = _MapCache;
4177
+ var FUNC_ERROR_TEXT = "Expected a function";
4178
+ function memoize$1(func, resolver) {
4179
+ if (typeof func != "function" || resolver != null && typeof resolver != "function") {
4180
+ throw new TypeError(FUNC_ERROR_TEXT);
4181
+ }
4182
+ var memoized = function() {
4183
+ var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache2 = memoized.cache;
4184
+ if (cache2.has(key)) {
4185
+ return cache2.get(key);
4186
+ }
4187
+ var result = func.apply(this, args);
4188
+ memoized.cache = cache2.set(key, result) || cache2;
4189
+ return result;
4190
+ };
4191
+ memoized.cache = new (memoize$1.Cache || MapCache)();
4192
+ return memoized;
4193
+ }
4194
+ memoize$1.Cache = MapCache;
4195
+ var memoize_1 = memoize$1;
4196
+ var memoize = memoize_1;
4197
+ var MAX_MEMOIZE_SIZE = 500;
4198
+ function memoizeCapped$1(func) {
4199
+ var result = memoize(func, function(key) {
4200
+ if (cache2.size === MAX_MEMOIZE_SIZE) {
4201
+ cache2.clear();
4202
+ }
4203
+ return key;
3936
4204
  });
4205
+ var cache2 = result.cache;
4206
+ return result;
4207
+ }
4208
+ var _memoizeCapped = memoizeCapped$1;
4209
+ var memoizeCapped = _memoizeCapped;
4210
+ var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
4211
+ var reEscapeChar = /\\(\\)?/g;
4212
+ var stringToPath$1 = memoizeCapped(function(string2) {
4213
+ var result = [];
4214
+ if (string2.charCodeAt(0) === 46) {
4215
+ result.push("");
4216
+ }
4217
+ string2.replace(rePropName, function(match2, number2, quote, subString) {
4218
+ result.push(quote ? subString.replace(reEscapeChar, "$1") : number2 || match2);
4219
+ });
4220
+ return result;
4221
+ });
4222
+ var _stringToPath = stringToPath$1;
4223
+ function arrayMap$1(array2, iteratee) {
4224
+ var index = -1, length = array2 == null ? 0 : array2.length, result = Array(length);
4225
+ while (++index < length) {
4226
+ result[index] = iteratee(array2[index], index, array2);
4227
+ }
4228
+ return result;
4229
+ }
4230
+ var _arrayMap = arrayMap$1;
4231
+ var Symbol$1 = _Symbol, arrayMap = _arrayMap, isArray$1 = isArray_1, isSymbol$1 = isSymbol_1;
4232
+ var INFINITY$1 = 1 / 0;
4233
+ var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolToString = symbolProto ? symbolProto.toString : void 0;
4234
+ function baseToString$1(value) {
4235
+ if (typeof value == "string") {
4236
+ return value;
4237
+ }
4238
+ if (isArray$1(value)) {
4239
+ return arrayMap(value, baseToString$1) + "";
4240
+ }
4241
+ if (isSymbol$1(value)) {
4242
+ return symbolToString ? symbolToString.call(value) : "";
4243
+ }
4244
+ var result = value + "";
4245
+ return result == "0" && 1 / value == -INFINITY$1 ? "-0" : result;
4246
+ }
4247
+ var _baseToString = baseToString$1;
4248
+ var baseToString = _baseToString;
4249
+ function toString$1(value) {
4250
+ return value == null ? "" : baseToString(value);
4251
+ }
4252
+ var toString_1 = toString$1;
4253
+ var isArray = isArray_1, isKey = _isKey, stringToPath = _stringToPath, toString = toString_1;
4254
+ function castPath$1(value, object2) {
4255
+ if (isArray(value)) {
4256
+ return value;
4257
+ }
4258
+ return isKey(value, object2) ? [value] : stringToPath(toString(value));
4259
+ }
4260
+ var _castPath = castPath$1;
4261
+ var isSymbol = isSymbol_1;
4262
+ var INFINITY = 1 / 0;
4263
+ function toKey$1(value) {
4264
+ if (typeof value == "string" || isSymbol(value)) {
4265
+ return value;
4266
+ }
4267
+ var result = value + "";
4268
+ return result == "0" && 1 / value == -INFINITY ? "-0" : result;
4269
+ }
4270
+ var _toKey = toKey$1;
4271
+ var castPath = _castPath, toKey = _toKey;
4272
+ function baseGet$1(object2, path) {
4273
+ path = castPath(path, object2);
4274
+ var index = 0, length = path.length;
4275
+ while (object2 != null && index < length) {
4276
+ object2 = object2[toKey(path[index++])];
4277
+ }
4278
+ return index && index == length ? object2 : void 0;
4279
+ }
4280
+ var _baseGet = baseGet$1;
4281
+ var baseGet = _baseGet;
4282
+ function get(object2, path, defaultValue) {
4283
+ var result = object2 == null ? void 0 : baseGet(object2, path);
4284
+ return result === void 0 ? defaultValue : result;
4285
+ }
4286
+ var get_1 = get;
4287
+ const get$1 = /* @__PURE__ */ getDefaultExportFromCjs(get_1);
4288
+ const SkeletonText = ({ chars }) => {
4289
+ return /* @__PURE__ */ u$1(
4290
+ "span",
4291
+ {
4292
+ style: { width: chars + "ch" },
4293
+ class: "rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"
4294
+ }
4295
+ );
3937
4296
  };
3938
4297
  const wrapperClass = cva({
3939
4298
  base: "ijs-job 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",
@@ -3943,184 +4302,117 @@ const wrapperClass = cva({
3943
4302
  false: "animate-skeleton"
3944
4303
  }
3945
4304
  },
3946
- defaultVariants: {
3947
- interactive: true
3948
- }
3949
- });
3950
- const badgeClass = cva({
3951
- base: "bg-tag-accent-strong-bg rounded-job-tag text-style-tag text-tag-accent-strong-copy font-weight-tag flex items-center justify-center px-2"
4305
+ defaultVariants: { interactive: true }
3952
4306
  });
3953
- const getDisplayableFilterProperty = ({
4307
+ const getDisplayableProperty = ({
3954
4308
  job,
3955
4309
  property
3956
4310
  }) => {
3957
- switch (typeof property) {
3958
- case "string":
3959
- if (isKeyInObj(property, job.raw))
3960
- return job.raw[property];
3961
- return null;
3962
- case "object":
3963
- return job.customData && property.transform(job.customData[property.key]);
3964
- default:
3965
- exhaustive(property);
3966
- }
4311
+ if (!property)
4312
+ return null;
4313
+ const value = get$1(job.raw, property.key);
4314
+ return property.transform ? property.transform(value) : value;
3967
4315
  };
3968
- const JobCard = ({
4316
+ const JobCardLogo = ({
3969
4317
  job,
3970
- config
4318
+ config = "hidden"
3971
4319
  }) => {
3972
- const subheading = config.subheading ? getDisplayableFilterProperty({
3973
- job,
3974
- property: config.subheading
3975
- }) : null;
3976
- const tags = config.infoTags.map((infoTag) => getDisplayableFilterProperty({
3977
- job,
3978
- property: infoTag
3979
- })).filter(Boolean);
3980
- return u$1("a", {
3981
- href: job.href,
3982
- class: wrapperClass(),
3983
- children: [u$1("div", {
3984
- class: "flex min-w-0 flex-1 flex-col gap-4",
3985
- children: [u$1("div", {
3986
- class: "gap-logo flex items-center",
3987
- children: [!config.logo || config.logo === "hidden" ? null : u$1("div", {
3988
- class: "rounded-logo bg-neutral-1 h-12 flex-none overflow-hidden",
3989
- style: {
3990
- aspectRatio: config.logo.replace(":", "/")
3991
- },
3992
- children: job.company.logo ? u$1("img", {
3993
- src: job.company.logo,
3994
- alt: job.company.name,
3995
- class: "h-full w-full select-none object-contain [-webkit-user-drag:none]"
3996
- }) : null
3997
- }), u$1("div", {
3998
- class: "flex flex-col items-start gap-1",
3999
- children: [u$1("div", {
4000
- class: "order-2 flex flex-col gap-1",
4001
- children: [u$1("p", {
4002
- class: "text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",
4003
- children: job.title
4004
- }), subheading ? u$1("p", {
4005
- class: "text-style-job-card text-copy-neutral-lowcontrast",
4006
- children: subheading
4007
- }) : null]
4008
- }), job.isNew ? u$1("span", {
4009
- class: badgeClass({
4010
- class: "order-1"
4011
- }),
4012
- children: "NEW"
4013
- }) : u$1("p", {
4014
- class: "text-style-job-card-info text-copy-job-info order-1",
4015
- children: ["Posted ", job.relativePostedDate]
4016
- })]
4017
- })]
4018
- }), u$1("div", {
4019
- class: "flex min-w-0 flex-col items-start gap-2",
4020
- children: [job.pay && u$1("span", {
4021
- class: tagClass({
4022
- variant: "monetaryWeak",
4023
- size: "xs"
4024
- }),
4025
- children: job.pay
4026
- }), tags.length > 0 && u$1("ul", {
4027
- class: "flex min-w-0 max-w-full flex-wrap items-center gap-2",
4028
- children: tags.map((tag) => u$1("li", {
4029
- class: tagClass({
4030
- size: "xs"
4031
- }),
4032
- children: tag
4033
- }, tag))
4034
- })]
4035
- })]
4036
- }), u$1("div", {
4037
- "aria-hidden": true,
4038
- class: "flex items-center",
4039
- children: u$1(Icon, {
4040
- name: "chevron-right",
4041
- class: "text-copy-neutral-icon"
4042
- })
4043
- })]
4044
- });
4320
+ if (config === "hidden")
4321
+ return null;
4322
+ return /* @__PURE__ */ u$1("div", { class: "rounded-logo h-12 flex-none overflow-hidden", style: { aspectRatio: config.replace(":", "/") }, children: job.company.logo ? /* @__PURE__ */ u$1(
4323
+ "img",
4324
+ {
4325
+ src: job.company.logo,
4326
+ alt: job.company.name,
4327
+ class: "h-full w-full select-none object-contain [-webkit-user-drag:none]"
4328
+ }
4329
+ ) : null });
4330
+ };
4331
+ const asArray = (value) => Array.isArray(value) ? value : [value];
4332
+ const JobCard = ({ job, config }) => {
4333
+ var _a;
4334
+ const subheading = config.subheading ? getDisplayableProperty({ job, property: config.subheading }) : null;
4335
+ const tags = config.infoTags.flatMap((infoTag) => asArray(getDisplayableProperty({ job, property: infoTag }))).filter(Boolean);
4336
+ const salary = asArray(
4337
+ ((_a = config.overrides) == null ? void 0 : _a.salary) ? getDisplayableProperty({ job, property: config.overrides.salary }) : job.pay
4338
+ ).filter(Boolean);
4339
+ const postedDateConfig = config.postedDate ?? "show";
4340
+ return /* @__PURE__ */ u$1("a", { href: job.href, class: wrapperClass(), children: [
4341
+ /* @__PURE__ */ u$1("div", { class: "flex min-w-0 flex-1 flex-col gap-4", children: [
4342
+ /* @__PURE__ */ u$1("div", { class: "gap-logo flex items-center", children: [
4343
+ /* @__PURE__ */ u$1(JobCardLogo, { job, config: config.logo }),
4344
+ /* @__PURE__ */ u$1("div", { class: "flex flex-col items-start gap-1", children: [
4345
+ /* @__PURE__ */ u$1("div", { class: "order-2 flex flex-col gap-1", children: [
4346
+ /* @__PURE__ */ u$1("p", { class: "text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading text-pretty", children: [
4347
+ job.title.trim(),
4348
+ job.isNew && postedDateConfig !== "hide" && /* @__PURE__ */ u$1(k$3, { children: [
4349
+ " ",
4350
+ /* @__PURE__ */ u$1(
4351
+ "span",
4352
+ {
4353
+ "aria-hidden": true,
4354
+ class: "ring-px ring-tag-accent-strong-bg rounded-job-card text-tag-accent-strong-bg font-weight-tag not-sr-only order-1 inline-block px-2 py-1 align-middle text-[10px] leading-none",
4355
+ children: "NEW"
4356
+ }
4357
+ )
4358
+ ] })
4359
+ ] }),
4360
+ subheading ? /* @__PURE__ */ u$1("p", { class: "text-style-job-card text-copy-neutral-lowcontrast", children: subheading }) : null
4361
+ ] }),
4362
+ postedDateConfig === "show" ? /* @__PURE__ */ u$1("p", { class: "text-style-job-card-info text-copy-job-info order-1", children: [
4363
+ "Posted ",
4364
+ job.relativePostedDate
4365
+ ] }) : null
4366
+ ] })
4367
+ ] }),
4368
+ /* @__PURE__ */ u$1("div", { class: "flex min-w-0 flex-col items-start gap-2", children: [
4369
+ /* @__PURE__ */ u$1("div", { class: "flex min-w-0 max-w-full flex-wrap items-center gap-2", children: salary.map((salary2, i2) => /* @__PURE__ */ u$1("span", { class: tagClass({ variant: "monetaryWeak", size: "xs" }), children: salary2 }, i2)) }),
4370
+ tags.length > 0 && /* @__PURE__ */ u$1("ul", { class: "flex min-w-0 max-w-full flex-wrap items-center gap-2", children: tags.map((tag) => /* @__PURE__ */ u$1("li", { class: tagClass({ size: "xs" }), children: tag }, tag)) })
4371
+ ] })
4372
+ ] }),
4373
+ /* @__PURE__ */ u$1("div", { "aria-hidden": true, class: "flex items-center", children: /* @__PURE__ */ u$1(Icon, { name: "chevron-right", class: "text-copy-neutral-icon" }) })
4374
+ ] });
4045
4375
  };
4046
4376
  const JobCardSkeleton = ({
4047
4377
  config,
4048
4378
  animationDelay,
4049
4379
  seed
4050
4380
  }) => {
4051
- return u$1("div", {
4052
- "aria-hidden": true,
4053
- style: {
4054
- animationDelay: animationDelay + "s"
4055
- },
4056
- class: wrapperClass({
4057
- interactive: false
4058
- }),
4059
- children: [u$1("div", {
4060
- class: "flex flex-1 flex-col gap-4",
4061
- children: [u$1("div", {
4062
- class: "flex items-center gap-4",
4063
- children: [!config.logo || config.logo === "hidden" ? null : u$1("div", {
4064
- class: "rounded-logo bg-copy-neutral h-12 opacity-25",
4065
- style: {
4066
- aspectRatio: config.logo.replace(":", "/")
4381
+ const logoConfig = config.logo ?? "hidden";
4382
+ const postedDateConfig = config.postedDate ?? "show";
4383
+ return /* @__PURE__ */ u$1("div", { "aria-hidden": true, style: { animationDelay: animationDelay + "s" }, class: wrapperClass({ interactive: false }), children: [
4384
+ /* @__PURE__ */ u$1("div", { class: "flex flex-1 flex-col gap-4", children: [
4385
+ /* @__PURE__ */ u$1("div", { class: "flex items-center gap-4", children: [
4386
+ logoConfig === "hidden" ? null : /* @__PURE__ */ u$1(
4387
+ "div",
4388
+ {
4389
+ class: "rounded-logo bg-copy-neutral h-12 opacity-25",
4390
+ style: { aspectRatio: logoConfig.replace(":", "/") }
4067
4391
  }
4068
- }), u$1("div", {
4069
- class: "flex flex-col items-start gap-1",
4070
- children: [u$1("p", {
4071
- class: "text-style-job-card-info text-copy-job-info",
4072
- children: u$1(SkeletonText, {
4073
- chars: 12
4074
- })
4075
- }), u$1("div", {
4076
- class: "flex flex-col gap-1",
4077
- children: [u$1("p", {
4078
- class: "text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",
4079
- children: u$1(SkeletonText, {
4080
- chars: 13 + (seed + 5) * seed % 7
4081
- })
4082
- }), config.subheading !== null ? u$1("p", {
4083
- class: "text-style-job-card text-copy-neutral-lowcontrast",
4084
- children: u$1(SkeletonText, {
4085
- chars: 7 + seed * seed % 3
4086
- })
4087
- }) : null]
4088
- })]
4089
- })]
4090
- }), u$1("div", {
4091
- class: "flex flex-col items-start gap-2",
4092
- children: [seed % 2 === 0 && u$1("span", {
4093
- class: tagClass({
4094
- variant: "neutralWeak",
4095
- size: "xs",
4096
- class: "h-[1lh] min-h-[1em] w-[10ch]"
4097
- })
4098
- }), u$1("div", {
4099
- class: "flex items-center gap-2",
4100
- children: [u$1("span", {
4101
- class: tagClass({
4102
- variant: "neutralWeak",
4103
- size: "xs",
4104
- class: "h-[1lh] min-h-[1em] w-[6ch]"
4105
- })
4106
- }), u$1("span", {
4107
- class: tagClass({
4108
- variant: "neutralWeak",
4109
- size: "xs",
4110
- class: "h-[1lh] min-h-[1em] w-[8ch]"
4111
- })
4112
- })]
4113
- })]
4114
- })]
4115
- }), u$1("div", {
4116
- "aria-hidden": true,
4117
- class: "flex items-center",
4118
- children: u$1(Icon, {
4119
- name: "chevron-right",
4120
- class: "text-copy-neutral-icon"
4121
- })
4122
- })]
4123
- });
4392
+ ),
4393
+ /* @__PURE__ */ u$1("div", { class: "flex flex-col items-start gap-1", children: [
4394
+ postedDateConfig === "show" ? /* @__PURE__ */ u$1("p", { class: "text-style-job-card-info text-copy-job-info", children: /* @__PURE__ */ u$1(SkeletonText, { chars: 12 }) }) : null,
4395
+ /* @__PURE__ */ u$1("div", { class: "flex flex-col gap-1", children: [
4396
+ /* @__PURE__ */ u$1("p", { class: "text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading", children: /* @__PURE__ */ u$1(SkeletonText, { chars: 13 + (seed + 5) * seed % 7 }) }),
4397
+ config.subheading !== null ? /* @__PURE__ */ u$1("p", { class: "text-style-job-card text-copy-neutral-lowcontrast", children: /* @__PURE__ */ u$1(SkeletonText, { chars: 7 + seed * seed % 3 }) }) : null
4398
+ ] })
4399
+ ] })
4400
+ ] }),
4401
+ /* @__PURE__ */ u$1("div", { class: "flex flex-col items-start gap-2", children: [
4402
+ seed % 2 === 0 && /* @__PURE__ */ u$1(
4403
+ "span",
4404
+ {
4405
+ class: tagClass({ variant: "neutralWeak", size: "xs", class: "h-[1lh] min-h-[1em] w-[10ch]" })
4406
+ }
4407
+ ),
4408
+ /* @__PURE__ */ u$1("div", { class: "flex items-center gap-2", children: [
4409
+ /* @__PURE__ */ u$1("span", { class: tagClass({ variant: "neutralWeak", size: "xs", class: "h-[1lh] min-h-[1em] w-[6ch]" }) }),
4410
+ /* @__PURE__ */ u$1("span", { class: tagClass({ variant: "neutralWeak", size: "xs", class: "h-[1lh] min-h-[1em] w-[8ch]" }) })
4411
+ ] })
4412
+ ] })
4413
+ ] }),
4414
+ /* @__PURE__ */ u$1("div", { "aria-hidden": true, class: "flex items-center", children: /* @__PURE__ */ u$1(Icon, { name: "chevron-right", class: "text-copy-neutral-icon" }) })
4415
+ ] });
4124
4416
  };
4125
4417
  const LoadMore = ({
4126
4418
  state,
@@ -4128,33 +4420,12 @@ const LoadMore = ({
4128
4420
  config
4129
4421
  }) => {
4130
4422
  if (state === "revalidating") {
4131
- return u$1("ul", {
4132
- class: "flex flex-col gap-3",
4133
- "aria-hidden": true,
4134
- children: Array.from({
4135
- length: PAGE_SIZE
4136
- }).map((_2, i2) => u$1("li", {
4137
- children: u$1(JobCardSkeleton, {
4138
- seed: i2,
4139
- animationDelay: (i2 - 4) * 0.1,
4140
- config
4141
- })
4142
- }, i2))
4143
- });
4423
+ return /* @__PURE__ */ u$1("ul", { class: "flex flex-col gap-3", "aria-hidden": true, children: Array.from({ length: PAGE_SIZE }).map((_2, i2) => /* @__PURE__ */ u$1("li", { children: /* @__PURE__ */ u$1(JobCardSkeleton, { seed: i2, animationDelay: (i2 - 4) * 0.1, config }) }, i2)) });
4144
4424
  } else {
4145
- return u$1("button", {
4146
- class: btnClass({
4147
- variant: "neutral",
4148
- class: "py-2"
4149
- }),
4150
- onClick: fetchNextPage,
4151
- children: "Load More"
4152
- });
4425
+ return /* @__PURE__ */ u$1("button", { class: btnClass({ variant: "neutral", class: "py-2" }), onClick: fetchNextPage, children: "Load More" });
4153
4426
  }
4154
4427
  };
4155
- const getResultsCount = ({
4156
- pagination
4157
- }) => {
4428
+ const getResultsCount = ({ pagination }) => {
4158
4429
  invariant(pagination.total >= 0);
4159
4430
  if (pagination.total === 1)
4160
4431
  return "1 job found";
@@ -4168,27 +4439,24 @@ const ResultsSection = ({
4168
4439
  initialData
4169
4440
  }) => {
4170
4441
  const [page, setPage] = h(1);
4171
- return u$1(g$3, {
4172
- children: Array.from({
4173
- length: page
4174
- }).map((_2, index) => {
4175
- const isLast = index === page - 1;
4176
- return u$1(ErrorBoundary, {
4177
- Fallback: ErrorView,
4178
- children: u$1(ResultsPage, {
4179
- appliedFilters,
4180
- apiClient,
4181
- logger,
4182
- page: index + 1,
4183
- isFirst: index === 0,
4184
- isLast,
4185
- fetchNextPage: () => setPage(page + 1),
4186
- jobCardConfig,
4187
- initialData
4188
- }, index)
4189
- }, index);
4190
- })
4191
- });
4442
+ return /* @__PURE__ */ u$1(k$3, { children: Array.from({ length: page }).map((_2, index) => {
4443
+ const isLast = index === page - 1;
4444
+ return /* @__PURE__ */ u$1(ErrorBoundary, { Fallback: ErrorView, children: /* @__PURE__ */ u$1(
4445
+ ResultsPage,
4446
+ {
4447
+ appliedFilters,
4448
+ apiClient,
4449
+ logger,
4450
+ page: index + 1,
4451
+ isFirst: index === 0,
4452
+ isLast,
4453
+ fetchNextPage: () => setPage(page + 1),
4454
+ jobCardConfig,
4455
+ initialData
4456
+ },
4457
+ index
4458
+ ) }, index);
4459
+ }) });
4192
4460
  };
4193
4461
  const ResultsPage = ({
4194
4462
  appliedFilters,
@@ -4202,126 +4470,76 @@ const ResultsPage = ({
4202
4470
  initialData
4203
4471
  }) => {
4204
4472
  const fallbackData = page === 1 ? initialData : void 0;
4205
- const {
4206
- data,
4207
- error,
4208
- state,
4209
- swr
4210
- } = getQueryState(useSWR(cacheKey({
4211
- filter: appliedFilters,
4212
- baseKey: page.toString()
4213
- }), () => getJobSearchResults({
4214
- apiClient,
4215
- logger,
4216
- filters: appliedFilters,
4217
- page
4218
- }), {
4219
- ...SWR_SETTINGS,
4220
- fallbackData
4221
- }));
4473
+ const { data, error, state, swr } = getQueryState(
4474
+ useSWR(
4475
+ cacheKey({ filter: appliedFilters, baseKey: page.toString() }),
4476
+ () => getJobSearchResults({ apiClient, logger, filters: appliedFilters, page }),
4477
+ { ...SWR_SETTINGS, fallbackData }
4478
+ )
4479
+ );
4222
4480
  switch (state) {
4223
4481
  case "loading":
4224
- return u$1(g$3, {
4225
- children: [isFirst && u$1("p", {
4226
- class: "text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",
4227
- children: u$1(SkeletonText, {
4228
- chars: 8
4229
- })
4230
- }), u$1("ul", {
4231
- class: "flex flex-col gap-3",
4232
- "aria-hidden": true,
4233
- children: Array.from({
4234
- length: PAGE_SIZE
4235
- }).map((_2, i2) => u$1("li", {
4236
- children: u$1(JobCardSkeleton, {
4237
- seed: i2,
4238
- animationDelay: (i2 - PAGE_SIZE) * 0.1,
4239
- config: jobCardConfig
4240
- })
4241
- }, i2))
4242
- })]
4243
- });
4482
+ return /* @__PURE__ */ u$1(k$3, { children: [
4483
+ isFirst && /* @__PURE__ */ u$1("p", { class: "text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0", children: /* @__PURE__ */ u$1(SkeletonText, { chars: 8 }) }),
4484
+ /* @__PURE__ */ u$1("ul", { class: "flex flex-col gap-3", "aria-hidden": true, children: Array.from({ length: PAGE_SIZE }).map((_2, i2) => /* @__PURE__ */ u$1("li", { children: /* @__PURE__ */ u$1(JobCardSkeleton, { seed: i2, animationDelay: (i2 - PAGE_SIZE) * 0.1, config: jobCardConfig }) }, i2)) })
4485
+ ] });
4244
4486
  case "error":
4245
- return u$1(ErrorView, {
4246
- class: "-m-4",
4247
- error: new Error("We’re having trouble loading available jobs.", {
4248
- cause: error
4249
- }),
4250
- resetError: () => swr.mutate()
4251
- });
4487
+ return /* @__PURE__ */ u$1(
4488
+ ErrorView,
4489
+ {
4490
+ class: "-m-4",
4491
+ error: new Error("We’re having trouble loading available jobs.", { cause: error }),
4492
+ resetError: () => swr.mutate()
4493
+ }
4494
+ );
4252
4495
  case "revalidating":
4253
4496
  case "loaded": {
4254
4497
  invariant(data.pagination.current_page === page, "Received wrong page from server");
4255
4498
  if (data.pagination.total === 0)
4256
- return u$1("div", {
4257
- class: "mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",
4258
- children: [u$1(Icon, {
4259
- "aria-hidden": true,
4260
- name: "magnifier",
4261
- class: "text-copy-neutral-lowcontrast"
4262
- }), u$1("div", {
4263
- class: "flex flex-col items-center gap-1",
4264
- children: [u$1("p", {
4265
- class: "text-copy-neutral text-style-job-heading",
4266
- children: "No jobs found"
4267
- }), u$1("p", {
4268
- class: "text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",
4269
- children: "We could not find any jobs matching your filtering criteria."
4270
- })]
4271
- })]
4272
- });
4499
+ return /* @__PURE__ */ u$1("div", { class: "mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center", children: [
4500
+ /* @__PURE__ */ u$1(Icon, { "aria-hidden": true, name: "magnifier", class: "text-copy-neutral-lowcontrast" }),
4501
+ /* @__PURE__ */ u$1("div", { class: "flex flex-col items-center gap-1", children: [
4502
+ /* @__PURE__ */ u$1("p", { class: "text-copy-neutral text-style-job-heading", children: "No jobs found" }),
4503
+ /* @__PURE__ */ u$1("p", { class: "text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]", children: "We could not find any jobs matching your filtering criteria." })
4504
+ ] })
4505
+ ] });
4273
4506
  const hasMore = data.pagination.last_page !== data.pagination.current_page;
4274
- return u$1(g$3, {
4275
- children: [isFirst && u$1("p", {
4276
- class: "text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",
4277
- children: getResultsCount({
4278
- pagination: data.pagination
4279
- })
4280
- }), u$1("ul", {
4281
- "aria-label": `Page ${page}`,
4282
- class: "flex flex-col gap-3",
4283
- children: data.results.map((job) => {
4284
- return u$1("li", {
4507
+ return /* @__PURE__ */ u$1(k$3, { children: [
4508
+ isFirst && /* @__PURE__ */ u$1("p", { class: "text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center", children: getResultsCount({ pagination: data.pagination }) }),
4509
+ /* @__PURE__ */ u$1("ul", { "aria-label": `Page ${page}`, class: "flex flex-col gap-3", children: data.results.map((job) => {
4510
+ return /* @__PURE__ */ u$1(
4511
+ "li",
4512
+ {
4285
4513
  class: "ease-expo-out duration-slow transition-opacity",
4286
- style: {
4287
- opacity: state === "revalidating" ? 0.33 : 1
4288
- },
4289
- children: u$1(JobCard, {
4290
- job,
4291
- config: jobCardConfig
4292
- })
4293
- }, job.id);
4294
- })
4295
- }), hasMore && isLast && u$1(LoadMore, {
4296
- state,
4297
- fetchNextPage,
4298
- config: jobCardConfig
4299
- })]
4300
- });
4514
+ style: { opacity: state === "revalidating" ? 0.33 : 1 },
4515
+ children: /* @__PURE__ */ u$1(JobCard, { job, config: jobCardConfig })
4516
+ },
4517
+ job.id
4518
+ );
4519
+ }) }),
4520
+ hasMore && isLast && /* @__PURE__ */ u$1(LoadMore, { state, fetchNextPage, config: jobCardConfig })
4521
+ ] });
4301
4522
  }
4302
4523
  default:
4303
4524
  exhaustive(state);
4304
4525
  }
4305
4526
  };
4306
- const getFilterDefaults = (properties) => properties.reduce((acc, property) => {
4307
- switch (property.select) {
4308
- case "one":
4309
- acc[property.key] = {
4310
- select: property.select,
4311
- value: property.value
4312
- };
4313
- break;
4314
- case "many":
4315
- acc[property.key] = {
4316
- select: property.select,
4317
- value: property.value ? [property.value] : []
4318
- };
4319
- break;
4320
- default:
4321
- exhaustive(property.select);
4322
- }
4323
- return acc;
4324
- }, {});
4527
+ const getFilterDefaults = (properties) => properties.reduce(
4528
+ (acc, property) => {
4529
+ switch (property.select) {
4530
+ case "one":
4531
+ acc[property.key] = { select: property.select, value: property.value };
4532
+ break;
4533
+ case "many":
4534
+ acc[property.key] = { select: property.select, value: property.value ? [property.value] : [] };
4535
+ break;
4536
+ default:
4537
+ exhaustive(property.select);
4538
+ }
4539
+ return acc;
4540
+ },
4541
+ {}
4542
+ );
4325
4543
  const JobSearch = ({
4326
4544
  apiClient,
4327
4545
  logger,
@@ -4332,76 +4550,54 @@ const JobSearch = ({
4332
4550
  onFilterChange,
4333
4551
  params
4334
4552
  }) => {
4335
- const appRef = _(null);
4553
+ const appRef = A$1(null);
4336
4554
  const [appliedFilters, setAppliedFilters] = h(() => ({
4337
4555
  default: true,
4338
4556
  filters: getFilterDefaults(properties)
4339
4557
  }));
4340
- return u$1("div", {
4341
- ref: appRef,
4342
- class: className,
4343
- id: JOB_SEARCH_SCOPE_ELEMENT_ID,
4344
- children: u$1("div", {
4345
- class: "ijs-app bg-app rounded-app font-family-default font-weight-default font-style-default mx-auto flex min-h-screen max-w-screen-lg flex-col gap-4 py-4 md:grid md:grid-cols-3 md:px-4",
4346
- children: [u$1(ErrorBoundary, {
4347
- Fallback: ErrorView,
4348
- children: u$1("div", {
4349
- class: "flex flex-col gap-2",
4350
- children: [u$1(FilterSection, {
4351
- appliedFilters: appliedFilters.filters,
4352
- onFilterValueChange: (key, value) => {
4353
- setAppliedFilters((prev) => {
4354
- onFilterChange == null ? void 0 : onFilterChange({
4355
- ...prev.filters,
4356
- [key]: value
4357
- });
4358
- return {
4359
- default: false,
4360
- filters: {
4361
- ...prev.filters,
4362
- [key]: value
4363
- }
4364
- };
4365
- });
4366
- },
4367
- properties,
4368
- parentRef: appRef,
4369
- logger,
4370
- apiClient
4371
- }), params.enableJobAlerts && u$1("div", {
4372
- class: "flex justify-center px-4 md:px-0",
4373
- children: u$1(AlertsButton, {
4374
- appliedFilters: appliedFilters.filters,
4375
- analytics,
4376
- apiClient,
4377
- logger,
4378
- theme: params.theme
4379
- })
4380
- })]
4381
- })
4382
- }), u$1("div", {
4383
- class: "md:col-span-2",
4384
- children: u$1("section", {
4385
- class: "bg-section-strong-bg ring-section-weak-stroke rounded-section ring-px lg:ring-width-section flex flex-col gap-4 p-4",
4386
- children: u$1(ErrorBoundary, {
4387
- Fallback: ErrorView,
4388
- children: u$1(ResultsSection, {
4389
- appliedFilters: appliedFilters.filters,
4390
- logger,
4391
- apiClient,
4392
- jobCardConfig: params.jobCard,
4393
- initialData: appliedFilters.default ? initialData == null ? void 0 : initialData.jobs : void 0
4394
- }, cacheKey({
4395
- filter: appliedFilters.filters,
4396
- baseKey: "resultsSection"
4397
- }))
4398
- })
4399
- })
4400
- })]
4401
- })
4402
- });
4558
+ return /* @__PURE__ */ u$1("div", { ref: appRef, class: className, id: JOB_SEARCH_SCOPE_ELEMENT_ID, children: /* @__PURE__ */ u$1("div", { class: "ijs-app bg-app rounded-app font-family-default font-weight-default font-style-default mx-auto flex min-h-screen max-w-screen-lg flex-col gap-4 py-4 md:grid md:grid-cols-3 md:px-4", children: [
4559
+ /* @__PURE__ */ u$1(ErrorBoundary, { Fallback: ErrorView, children: /* @__PURE__ */ u$1("div", { class: "flex flex-col gap-2", children: [
4560
+ /* @__PURE__ */ u$1(
4561
+ FilterSection,
4562
+ {
4563
+ appliedFilters: appliedFilters.filters,
4564
+ onFilterValueChange: (key, value) => {
4565
+ setAppliedFilters((prev) => {
4566
+ onFilterChange == null ? void 0 : onFilterChange({ ...prev.filters, [key]: value });
4567
+ return { default: false, filters: { ...prev.filters, [key]: value } };
4568
+ });
4569
+ },
4570
+ properties,
4571
+ parentRef: appRef,
4572
+ logger,
4573
+ apiClient
4574
+ }
4575
+ ),
4576
+ params.enableJobAlerts && /* @__PURE__ */ u$1("div", { class: "flex justify-center px-4 md:px-0", children: /* @__PURE__ */ u$1(
4577
+ AlertsButton,
4578
+ {
4579
+ appliedFilters: appliedFilters.filters,
4580
+ analytics,
4581
+ apiClient,
4582
+ logger,
4583
+ theme: params.theme
4584
+ }
4585
+ ) })
4586
+ ] }) }),
4587
+ /* @__PURE__ */ u$1("div", { class: "md:col-span-2", children: /* @__PURE__ */ u$1("section", { class: "bg-section-strong-bg ring-section-weak-stroke rounded-section ring-px lg:ring-width-section flex flex-col gap-4 p-4", children: /* @__PURE__ */ u$1(ErrorBoundary, { Fallback: ErrorView, children: /* @__PURE__ */ u$1(
4588
+ ResultsSection,
4589
+ {
4590
+ appliedFilters: appliedFilters.filters,
4591
+ logger,
4592
+ apiClient,
4593
+ jobCardConfig: params.jobCard,
4594
+ initialData: appliedFilters.default ? initialData == null ? void 0 : initialData.jobs : void 0
4595
+ },
4596
+ cacheKey({ filter: appliedFilters.filters, baseKey: "resultsSection" })
4597
+ ) }) }) })
4598
+ ] }) });
4403
4599
  };
4404
- const tailwind = "#ijs {\n font-size: 16px;\n --tw-content: '';\n}\n\n #ijs * {\n box-sizing: border-box;\n border-style: solid;\n border-width: 0;\n -webkit-tap-highlight-color: transparent;\n font-family: inherit;\n font-style: inherit;\n font-weight: inherit;\n }\n\n #ijs ::before,\n #ijs ::after {\n box-sizing: border-box;\n }\n\n #ijs :is(a) {\n text-decoration: none;\n }\n\n #ijs :is(ul, ol) {\n list-style: none;\n padding: 0;\n margin: 0;\n }\n\n #ijs :is(p) {\n margin: 0;\n padding: 0;\n }\n\n #ijs :is(li) {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n\n #ijs :is(button),\n #ijs :is(a) {\n display: block;\n margin: 0;\n padding: 0;\n border: unset;\n background: unset;\n text-align: unset;\n }\n\n #ijs :is(input),\n #ijs :is(textarea) {\n display: block;\n margin: 0;\n padding: 0;\n min-width: 0;\n max-width: unset;\n width: 100%;\n }\n\n #ijs :is(svg) {\n display: block;\n }\n\n #ijs.reduced-motion * {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n animation-delay: 0s !important;\n }\n\n @media (prefers-reduced-motion) {\n #ijs * {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n animation-delay: 0s !important;\n }\n }\n\n #ijs *, #ijs ::before, #ijs ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n}\n\n #ijs ::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n}\n\n #ijs .container {\n width: 100%;\n}\n\n @media (min-width: 640px) {\n\n #ijs .container {\n max-width: 640px;\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .container {\n max-width: 768px;\n }\n}\n\n @media (min-width: 1024px) {\n\n #ijs .container {\n max-width: 1024px;\n }\n}\n\n @media (min-width: 1280px) {\n\n #ijs .container {\n max-width: 1280px;\n }\n}\n\n @media (min-width: 1536px) {\n\n #ijs .container {\n max-width: 1536px;\n }\n}\n\n #ijs .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n #ijs .pointer-events-none {\n pointer-events: none;\n}\n\n #ijs .visible {\n visibility: visible;\n}\n\n #ijs .invisible {\n visibility: hidden;\n}\n\n #ijs .collapse {\n visibility: collapse;\n}\n\n #ijs .static {\n position: static;\n}\n\n #ijs .fixed {\n position: fixed;\n}\n\n #ijs .absolute {\n position: absolute;\n}\n\n #ijs .relative {\n position: relative;\n}\n\n #ijs .sticky {\n position: sticky;\n}\n\n #ijs .bottom-0 {\n bottom: 0px;\n}\n\n #ijs .right-0 {\n right: 0px;\n}\n\n #ijs .top-0 {\n top: 0px;\n}\n\n #ijs .isolate {\n isolation: isolate;\n}\n\n #ijs .z-50 {\n z-index: 50;\n}\n\n #ijs .order-1 {\n order: 1;\n}\n\n #ijs .order-2 {\n order: 2;\n}\n\n #ijs .col-span-full {\n grid-column: 1 / -1;\n}\n\n #ijs .row-span-full {\n grid-row: 1 / -1;\n}\n\n #ijs .-m-4 {\n margin: -1rem;\n}\n\n #ijs .m-0 {\n margin: 0px;\n}\n\n #ijs .m-11 {\n margin: 2.75rem;\n}\n\n #ijs .m-3 {\n margin: 0.75rem;\n}\n\n #ijs .m-4 {\n margin: 1rem;\n}\n\n #ijs .mx-auto {\n margin-left: auto;\n margin-right: auto;\n}\n\n #ijs .ml-auto {\n margin-left: auto;\n}\n\n #ijs .mt-0 {\n margin-top: 0px;\n}\n\n #ijs .mt-0\\.5 {\n margin-top: 0.125rem;\n}\n\n #ijs .block {\n display: block;\n}\n\n #ijs .inline-block {\n display: inline-block;\n}\n\n #ijs .inline {\n display: inline;\n}\n\n #ijs .flex {\n display: flex;\n}\n\n #ijs .inline-flex {\n display: inline-flex;\n}\n\n #ijs .table {\n display: table;\n}\n\n #ijs .table-row {\n display: table-row;\n}\n\n #ijs .flow-root {\n display: flow-root;\n}\n\n #ijs .grid {\n display: grid;\n}\n\n #ijs .inline-grid {\n display: inline-grid;\n}\n\n #ijs .contents {\n display: contents;\n}\n\n #ijs .list-item {\n display: list-item;\n}\n\n #ijs .\\!hidden {\n display: none !important;\n}\n\n #ijs .hidden {\n display: none;\n}\n\n #ijs .h-12 {\n height: 3rem;\n}\n\n #ijs .h-4 {\n height: 1rem;\n}\n\n #ijs .h-8 {\n height: 2rem;\n}\n\n #ijs .h-\\[1lh\\] {\n height: 1lh;\n}\n\n #ijs .h-full {\n height: 100%;\n}\n\n #ijs .min-h-\\[1em\\] {\n min-height: 1em;\n}\n\n #ijs .min-h-\\[36px\\] {\n min-height: 36px;\n}\n\n #ijs .min-h-screen {\n min-height: 100vh;\n}\n\n #ijs .w-4 {\n width: 1rem;\n}\n\n #ijs .w-64 {\n width: 16rem;\n}\n\n #ijs .w-\\[10ch\\] {\n width: 10ch;\n}\n\n #ijs .w-\\[6ch\\] {\n width: 6ch;\n}\n\n #ijs .w-\\[8ch\\] {\n width: 8ch;\n}\n\n #ijs .w-full {\n width: 100%;\n}\n\n #ijs .min-w-0 {\n min-width: 0px;\n}\n\n #ijs .max-w-\\[var\\(--radix-popover-content-available-width\\)\\] {\n max-width: var(--radix-popover-content-available-width);\n}\n\n #ijs .max-w-full {\n max-width: 100%;\n}\n\n #ijs .max-w-screen-lg {\n max-width: 1024px;\n}\n\n #ijs .flex-1 {\n flex: 1 1 0%;\n}\n\n #ijs .flex-none {\n flex: none;\n}\n\n #ijs .flex-shrink {\n flex-shrink: 1;\n}\n\n #ijs .shrink {\n flex-shrink: 1;\n}\n\n #ijs .shrink-0 {\n flex-shrink: 0;\n}\n\n #ijs .flex-grow {\n flex-grow: 1;\n}\n\n #ijs .grow {\n flex-grow: 1;\n}\n\n #ijs .border-collapse {\n border-collapse: collapse;\n}\n\n #ijs .origin-\\[50\\%_1\\.75rem\\] {\n transform-origin: 50% 1.75rem;\n}\n\n #ijs .origin-top {\n transform-origin: top;\n}\n\n #ijs .translate-y-0 {\n --tw-translate-y: 0px;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .transform {\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n @keyframes appear-tag {\n\n 0% {\n transform: scale(0.9);\n }\n\n 100% {\n transform: scale(1);\n }\n}\n\n #ijs .animate-appear-tag {\n animation: appear-tag .6s cubic-bezier(0.16, 1, 0.3, 1) both;\n}\n\n @keyframes selected-tag {\n\n 0% {\n transform: scale(1.11);\n }\n\n 100% {\n transform: scale(1);\n }\n}\n\n #ijs .animate-selected-tag {\n animation: selected-tag .9s cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n @keyframes skeleton {\n\n 0% {\n opacity: 0.2;\n }\n\n 50% {\n opacity: 0.6;\n }\n\n 100% {\n opacity: 0.25;\n }\n}\n\n #ijs .animate-skeleton {\n animation: skeleton 1.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n}\n\n @keyframes slide-in-bottom {\n\n 0% {\n transform: translateY(-50%);\n }\n\n 100% {\n transform: translateY(0);\n }\n}\n\n #ijs .animate-slide-in-bottom {\n animation: slide-in-bottom .4s cubic-bezier(0.16, 1, 0.3, 1) both;\n}\n\n #ijs .cursor-default {\n cursor: default;\n}\n\n #ijs .cursor-pointer {\n cursor: pointer;\n}\n\n #ijs .select-none {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n\n #ijs .resize {\n resize: both;\n}\n\n #ijs .appearance-none {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n\n #ijs .flex-col {\n flex-direction: column;\n}\n\n #ijs .flex-wrap {\n flex-wrap: wrap;\n}\n\n #ijs .flex-nowrap {\n flex-wrap: nowrap;\n}\n\n #ijs .items-start {\n align-items: flex-start;\n}\n\n #ijs .items-center {\n align-items: center;\n}\n\n #ijs .justify-end {\n justify-content: flex-end;\n}\n\n #ijs .justify-center {\n justify-content: center;\n}\n\n #ijs .gap-1 {\n gap: 0.25rem;\n}\n\n #ijs .gap-1\\.5 {\n gap: 0.375rem;\n}\n\n #ijs .gap-2 {\n gap: 0.5rem;\n}\n\n #ijs .gap-2\\.5 {\n gap: 0.625rem;\n}\n\n #ijs .gap-3 {\n gap: 0.75rem;\n}\n\n #ijs .gap-4 {\n gap: 1rem;\n}\n\n #ijs .gap-logo {\n gap: var(--i-logo-gap);\n}\n\n #ijs .self-center {\n align-self: center;\n}\n\n #ijs .overflow-hidden {\n overflow: hidden;\n}\n\n #ijs .overflow-y-auto {\n overflow-y: auto;\n}\n\n #ijs .truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n #ijs .rounded-app {\n border-radius: var(--i-radius-app);\n}\n\n #ijs .rounded-input {\n border-radius: var(--i-radius-input);\n}\n\n #ijs .rounded-interactive {\n border-radius: var(--i-radius-interactive);\n}\n\n #ijs .rounded-job-card {\n border-radius: var(--i-radius-job-card);\n}\n\n #ijs .rounded-job-tag {\n border-radius: var(--i-radius-job-tag);\n}\n\n #ijs .rounded-logo {\n border-radius: var(--i-radius-logo);\n}\n\n #ijs .rounded-section {\n border-radius: var(--i-radius-section);\n}\n\n #ijs .rounded-tag {\n border-radius: var(--i-radius-job-tag);\n}\n\n #ijs .border-px {\n border-width: 1px;\n}\n\n #ijs .border-solid {\n border-style: solid;\n}\n\n #ijs .border-tag-accent-strong-stroke {\n border-color: var(--i-tag-accent-strong-stroke-color);\n}\n\n #ijs .border-tag-monetary-weak-stroke {\n border-color: var(--i-tag-monetary-weak-stroke-color);\n}\n\n #ijs .border-tag-neutral-strong-stroke {\n border-color: var(--i-tag-neutral-strong-stroke-color);\n}\n\n #ijs .border-tag-neutral-weak-stroke {\n border-color: var(--i-tag-neutral-weak-stroke-color);\n}\n\n #ijs .border-transparent {\n border-color: transparent;\n}\n\n #ijs .bg-\\[currentColor\\] {\n background-color: currentColor;\n}\n\n #ijs .bg-accent-9 {\n background-color: var(--i-color-a-9);\n}\n\n #ijs .bg-app {\n background-color: var(--i-app-bg);\n}\n\n #ijs .bg-copy-neutral {\n background-color: var(--i-copy);\n}\n\n #ijs .bg-interactive-accent-bg {\n background-color: var(--i-interactive-accent-bg);\n}\n\n #ijs .bg-interactive-neutral-bg {\n background-color: var(--i-interactive-neutral-bg);\n}\n\n #ijs .bg-job-card-bg {\n background-color: var(--i-job-card-bg);\n}\n\n #ijs .bg-lowest {\n background-color: var(--i-color-lowest);\n}\n\n #ijs .bg-neutral-1 {\n background-color: var(--i-color-n-1);\n}\n\n #ijs .bg-neutral-12 {\n background-color: var(--i-color-n-12);\n}\n\n #ijs .bg-section-strong-bg {\n background-color: var(--i-section-strong-bg);\n}\n\n #ijs .bg-section-weak-bg {\n background-color: var(--i-section-weak-bg);\n}\n\n #ijs .bg-tag-accent-strong-bg {\n background-color: var(--i-tag-accent-strong-bg);\n}\n\n #ijs .bg-tag-monetary-weak-bg {\n background-color: var(--i-tag-monetary-weak-bg);\n}\n\n #ijs .bg-tag-neutral-strong-bg {\n background-color: var(--i-tag-neutral-strong-bg);\n}\n\n #ijs .bg-tag-neutral-weak-bg {\n background-color: var(--i-tag-neutral-weak-bg);\n}\n\n #ijs .object-contain {\n -o-object-fit: contain;\n object-fit: contain;\n}\n\n #ijs .p-0 {\n padding: 0px;\n}\n\n #ijs .p-1 {\n padding: 0.25rem;\n}\n\n #ijs .p-2 {\n padding: 0.5rem;\n}\n\n #ijs .p-4 {\n padding: 1rem;\n}\n\n #ijs .p-6 {\n padding: 1.5rem;\n}\n\n #ijs .px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n #ijs .px-2\\.5 {\n padding-left: 0.625rem;\n padding-right: 0.625rem;\n}\n\n #ijs .px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n\n #ijs .px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n\n #ijs .px-5 {\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n\n #ijs .py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n\n #ijs .py-1\\.5 {\n padding-top: 0.375rem;\n padding-bottom: 0.375rem;\n}\n\n #ijs .py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n #ijs .py-4 {\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n\n #ijs .pb-4 {\n padding-bottom: 1rem;\n}\n\n #ijs .pl-1 {\n padding-left: 0.25rem;\n}\n\n #ijs .pl-2 {\n padding-left: 0.5rem;\n}\n\n #ijs .pl-2\\.5 {\n padding-left: 0.625rem;\n}\n\n #ijs .pl-3 {\n padding-left: 0.75rem;\n}\n\n #ijs .pl-4 {\n padding-left: 1rem;\n}\n\n #ijs .pl-5 {\n padding-left: 1.25rem;\n}\n\n #ijs .pr-1 {\n padding-right: 0.25rem;\n}\n\n #ijs .pr-3 {\n padding-right: 0.75rem;\n}\n\n #ijs .pr-5 {\n padding-right: 1.25rem;\n}\n\n #ijs .pr-8 {\n padding-right: 2rem;\n}\n\n #ijs .pt-1 {\n padding-top: 0.25rem;\n}\n\n #ijs .text-center {\n text-align: center;\n}\n\n #ijs .text-justify {\n text-align: justify;\n}\n\n #ijs .font-family-default {\n font-family: var(--i-font);\n}\n\n #ijs .font-family-filter {\n font-family: var(--i-font-filter);\n}\n\n #ijs .font-family-job-heading {\n font-family: var(--i-font-job-heading);\n}\n\n #ijs .font-family-tag {\n font-family: var(--i-font-tag);\n}\n\n #ijs .text-style-filter {\n font-size: 1rem;\n line-height: 1.5rem;\n letter-spacing: -0.01em;\n}\n\n #ijs .text-style-input {\n font-size: 1rem;\n line-height: 1.5rem;\n}\n\n #ijs .text-style-job-card {\n font-size: 0.875rem;\n line-height: 1.125rem;\n}\n\n #ijs .text-style-job-card-info {\n font-size: 0.75rem;\n line-height: 1.125rem;\n}\n\n #ijs .text-style-job-heading {\n font-size: 1.125rem;\n line-height: 1.5rem;\n}\n\n #ijs .text-style-tag {\n font-size: 0.875rem;\n line-height: 1.5rem;\n}\n\n #ijs .font-weight-default {\n font-weight: var(--i-weight-default);\n}\n\n #ijs .font-weight-filter {\n font-weight: var(--i-weight-filter);\n}\n\n #ijs .font-weight-input {\n font-weight: var(--i-weight-input);\n}\n\n #ijs .font-weight-job-heading {\n font-weight: var(--i-weight-job-heading);\n}\n\n #ijs .font-weight-tag {\n font-weight: var(--i-weight-tag);\n}\n\n #ijs .uppercase {\n text-transform: uppercase;\n}\n\n #ijs .lowercase {\n text-transform: lowercase;\n}\n\n #ijs .capitalize {\n text-transform: capitalize;\n}\n\n #ijs .italic {\n font-style: italic;\n}\n\n #ijs .ordinal {\n --tw-ordinal: ordinal;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);\n}\n\n #ijs .tabular-nums {\n --tw-numeric-spacing: tabular-nums;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);\n}\n\n #ijs .leading-snug {\n line-height: 1.375;\n}\n\n #ijs .text-\\[\\#E5484D\\] {\n --tw-text-opacity: 1;\n color: rgb(229 72 77 / var(--tw-text-opacity));\n}\n\n #ijs .text-accent-1 {\n color: var(--i-color-a-1);\n}\n\n #ijs .text-accent-11 {\n color: var(--i-color-a-11);\n}\n\n #ijs .text-copy-accent {\n color: var(--i-copy-accent);\n}\n\n #ijs .text-copy-job-info {\n color: var(--i-copy-info);\n}\n\n #ijs .text-copy-neutral {\n color: var(--i-copy);\n}\n\n #ijs .text-copy-neutral-icon {\n color: var(--i-copy-icon);\n}\n\n #ijs .text-copy-neutral-lowcontrast {\n color: var(--i-copy-lowcontrast);\n}\n\n #ijs .text-interactive-accent-text {\n color: var(--i-interactive-accent-text);\n}\n\n #ijs .text-interactive-neutral-bg {\n color: var(--i-interactive-neutral-bg);\n}\n\n #ijs .text-interactive-neutral-text {\n color: var(--i-interactive-neutral-text);\n}\n\n #ijs .text-neutral-1 {\n color: var(--i-color-n-1);\n}\n\n #ijs .text-neutral-10 {\n color: var(--i-color-n-10);\n}\n\n #ijs .text-neutral-11 {\n color: var(--i-color-n-11);\n}\n\n #ijs .text-neutral-8 {\n color: var(--i-color-n-8);\n}\n\n #ijs .text-tag-accent-strong-copy {\n color: var(--i-tag-accent-strong-copy);\n}\n\n #ijs .text-tag-monetary-weak-copy {\n color: var(--i-tag-monetary-weak-copy);\n}\n\n #ijs .text-tag-neutral-strong-copy {\n color: var(--i-tag-neutral-strong-copy);\n}\n\n #ijs .text-tag-neutral-weak-copy {\n color: var(--i-tag-neutral-weak-copy);\n}\n\n #ijs .caret-accent-11 {\n caret-color: var(--i-color-a-11);\n}\n\n #ijs .opacity-0 {\n opacity: 0;\n}\n\n #ijs .opacity-20 {\n opacity: 0.2;\n}\n\n #ijs .opacity-25 {\n opacity: 0.25;\n}\n\n #ijs .shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .shadow-\\[0_0_0_1px\\] {\n --tw-shadow: 0 0 0 1px;\n --tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .outline-none {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n #ijs .outline {\n outline-style: solid;\n}\n\n #ijs .ring-\\[1px\\] {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .ring-px {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .ring-width-job-card {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-job-card-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .ring-width-section {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .ring-job-card-stroke {\n --tw-ring-color: var(--i-job-card-stroke-color);\n}\n\n #ijs .ring-neutral-4 {\n --tw-ring-color: var(--i-color-n-4);\n}\n\n #ijs .ring-neutral-5 {\n --tw-ring-color: var(--i-color-n-5);\n}\n\n #ijs .ring-section-strong-stroke {\n --tw-ring-color: var(--i-section-strong-stroke-color);\n}\n\n #ijs .ring-section-weak-stroke {\n --tw-ring-color: var(--i-section-weak-stroke-color);\n}\n\n #ijs .blur {\n --tw-blur: blur(8px);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .grayscale {\n --tw-grayscale: grayscale(100%);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .invert {\n --tw-invert: invert(100%);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .sepia {\n --tw-sepia: sepia(100%);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .filter {\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .backdrop-filter {\n -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n}\n\n #ijs .transition {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n #ijs .transition-all {\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n #ijs .transition-opacity {\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n #ijs .duration-medium {\n transition-duration: .6s;\n}\n\n #ijs .duration-slow {\n transition-duration: .9s;\n}\n\n #ijs .duration-snappy {\n transition-duration: .4s;\n}\n\n #ijs .ease-expo-out {\n transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n #ijs .will-change-\\[transform\\2c opacity\\] {\n will-change: transform,opacity;\n}\n\n #ijs .font-style-default {\n font-style: var(--i-font-style);\n}\n\n #ijs .font-style-filter {\n font-style: var(--i-style-filter);\n}\n\n #ijs .font-style-input {\n font-style: var(--i-style-input);\n}\n\n #ijs .font-style-job-heading {\n font-style: var(--i-style-job-heading);\n}\n\n #ijs .font-style-tag {\n font-style: var(--i-style-tag);\n}\n\n #ijs .top-filters {\n top: var(--i-filters-offset-top);\n}\n\n #ijs .fr {\n outline: none;\n}\n\n #ijs .fr:focus {\n outline: none;\n}\n\n #ijs .fr:focus-visible {\n outline: none;\n --tw-ring-offset-width: 1px;\n --tw-ring-offset-color: var(--i-color-lowest);\n --tw-ring-opacity: 1;\n --tw-ring-color: var(--i-color-a-9);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .fr-parent:has(.fr-child:focus-visible) {\n outline: none;\n --tw-ring-offset-width: 1px;\n --tw-ring-offset-color: var(--i-color-lowest);\n --tw-ring-opacity: 1;\n --tw-ring-color: var(--i-color-a-9);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .fr-child {}\n\n #ijs .hide-scrollbars::-webkit-scrollbar {\n display: none;\n}\n\n #ijs .hide-scrollbars {\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n\n #ijs .touch-hitbox::before {\n content: '';\n position: absolute;\n display: block;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n height: 100%;\n min-height: 44px;\n min-width: 44px;\n z-index: 9999;\n}\n\n #ijs .\\[-webkit-user-drag\\:none\\] {\n -webkit-user-drag: none;\n}\n\n #ijs .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\] {\n a-z-a--z0-9-_: .$@?;\n}\n\n #ijs .\\[text-wrap\\:balance\\] {\n text-wrap: balance;\n}\n\n #ijs .\\[text-wrap\\:pretty\\] {\n text-wrap: pretty;\n}\n\n #ijs .placeholder\\:text-neutral-10::-moz-placeholder {\n color: var(--i-color-n-10);\n}\n\n #ijs .placeholder\\:text-neutral-10::placeholder {\n color: var(--i-color-n-10);\n}\n\n #ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill {\n -webkit-text-fill-color: var(--i-color-a-11);\n}\n\n #ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill {\n -webkit-text-fill-color: var(--i-color-a-11);\n}\n\n #ijs .focus-within\\:z-10:focus-within {\n z-index: 10;\n}\n\n #ijs .hover\\:scale-\\[1\\.02\\]:hover {\n --tw-scale-x: 1.02;\n --tw-scale-y: 1.02;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .focus\\:shadow-\\[0_0_0_2px\\]:focus {\n --tw-shadow: 0 0 0 2px;\n --tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .focus\\:outline-none:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n #ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .active\\:-scale-100:active {\n --tw-scale-x: -1;\n --tw-scale-y: -1;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .active\\:scale-95:active {\n --tw-scale-x: .95;\n --tw-scale-y: .95;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .active\\:scale-\\[\\.97\\]:active {\n --tw-scale-x: .97;\n --tw-scale-y: .97;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .active\\:scale-\\[0\\.975\\]:active {\n --tw-scale-x: 0.975;\n --tw-scale-y: 0.975;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .active\\:bg-accent-10:active {\n background-color: var(--i-color-a-10);\n}\n\n #ijs .active\\:bg-job-card-bg-active:active {\n background-color: var(--i-job-card-bg-active);\n}\n\n #ijs .active\\:ring-job-card-stroke-active:active {\n --tw-ring-color: var(--i-job-card-stroke-color-active);\n}\n\n #ijs .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle] {\n --tw-translate-y: 100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading] {\n --tw-translate-y: -100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .data-\\[state\\=success\\]\\:translate-y-full[data-state=success] {\n --tw-translate-y: 100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle] {\n opacity: 0;\n}\n\n #ijs .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle] {\n opacity: 1;\n}\n\n @media (pointer: coarse) {\n\n #ijs .pointer-coarse\\:overflow-x-auto {\n overflow-x: auto;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:w-full {\n width: 100%;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:flex-wrap {\n flex-wrap: wrap;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:rounded-section {\n border-radius: var(--i-radius-section);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:bg-app {\n background-color: var(--i-app-bg);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:p-2 {\n padding: 0.5rem;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:ring-width-section {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:hover\\:bg-interactive-accent-bg-hover:hover {\n background-color: var(--i-interactive-accent-bg-hover);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:hover\\:bg-interactive-neutral-bg-hover:hover {\n background-color: var(--i-interactive-neutral-bg-hover);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .group:hover .pointer-fine\\:group-hover\\:text-copy-neutral {\n color: var(--i-copy);\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:col-span-2 {\n grid-column: span 2 / span 2;\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:grid {\n display: grid;\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:px-0 {\n padding-left: 0px;\n padding-right: 0px;\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n }\n}\n\n @media (min-width: 1024px) {\n\n #ijs .lg\\:ring-width-section {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n }\n}\n\n #ijs .\\[\\&\\:has\\(\\.fr-child\\:active\\)\\]\\:scale-\\[0\\.975\\]:has(.fr-child:active) {\n --tw-scale-x: 0.975;\n --tw-scale-y: 0.975;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n";
4600
+ const tailwind = "#ijs {\n font-size: 16px;\n --tw-content: '';\n}\n\n #ijs * {\n box-sizing: border-box;\n border-style: solid;\n border-width: 0;\n -webkit-tap-highlight-color: transparent;\n font-family: inherit;\n font-style: inherit;\n font-weight: inherit;\n }\n\n #ijs ::before,\n #ijs ::after {\n box-sizing: border-box;\n }\n\n #ijs :is(a) {\n text-decoration: none;\n }\n\n #ijs :is(ul, ol) {\n list-style: none;\n padding: 0;\n margin: 0;\n }\n\n #ijs :is(p) {\n margin: 0;\n padding: 0;\n }\n\n #ijs :is(li) {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n\n #ijs :is(button),\n #ijs :is(a) {\n display: block;\n margin: 0;\n padding: 0;\n border: unset;\n background: unset;\n text-align: unset;\n }\n\n #ijs :is(input),\n #ijs :is(textarea) {\n display: block;\n margin: 0;\n padding: 0;\n min-width: 0;\n max-width: unset;\n width: 100%;\n }\n\n #ijs :is(svg) {\n display: block;\n }\n\n #ijs.reduced-motion * {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n animation-delay: 0s !important;\n }\n\n @media (prefers-reduced-motion) {\n #ijs * {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n animation-delay: 0s !important;\n }\n }\n\n #ijs *, #ijs ::before, #ijs ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n\n #ijs ::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n\n #ijs .container {\n width: 100%;\n}\n\n @media (min-width: 640px) {\n\n #ijs .container {\n max-width: 640px;\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .container {\n max-width: 768px;\n }\n}\n\n @media (min-width: 1024px) {\n\n #ijs .container {\n max-width: 1024px;\n }\n}\n\n @media (min-width: 1280px) {\n\n #ijs .container {\n max-width: 1280px;\n }\n}\n\n @media (min-width: 1536px) {\n\n #ijs .container {\n max-width: 1536px;\n }\n}\n\n #ijs .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n #ijs .not-sr-only {\n position: static;\n width: auto;\n height: auto;\n padding: 0;\n margin: 0;\n overflow: visible;\n clip: auto;\n white-space: normal;\n}\n\n #ijs .pointer-events-none {\n pointer-events: none;\n}\n\n #ijs .visible {\n visibility: visible;\n}\n\n #ijs .invisible {\n visibility: hidden;\n}\n\n #ijs .collapse {\n visibility: collapse;\n}\n\n #ijs .static {\n position: static;\n}\n\n #ijs .fixed {\n position: fixed;\n}\n\n #ijs .absolute {\n position: absolute;\n}\n\n #ijs .relative {\n position: relative;\n}\n\n #ijs .sticky {\n position: sticky;\n}\n\n #ijs .bottom-0 {\n bottom: 0px;\n}\n\n #ijs .right-0 {\n right: 0px;\n}\n\n #ijs .top-0 {\n top: 0px;\n}\n\n #ijs .isolate {\n isolation: isolate;\n}\n\n #ijs .z-50 {\n z-index: 50;\n}\n\n #ijs .order-1 {\n order: 1;\n}\n\n #ijs .order-2 {\n order: 2;\n}\n\n #ijs .col-span-full {\n grid-column: 1 / -1;\n}\n\n #ijs .row-span-full {\n grid-row: 1 / -1;\n}\n\n #ijs .-m-4 {\n margin: -1rem;\n}\n\n #ijs .m-0 {\n margin: 0px;\n}\n\n #ijs .m-11 {\n margin: 2.75rem;\n}\n\n #ijs .m-3 {\n margin: 0.75rem;\n}\n\n #ijs .m-4 {\n margin: 1rem;\n}\n\n #ijs .mx-auto {\n margin-left: auto;\n margin-right: auto;\n}\n\n #ijs .ml-auto {\n margin-left: auto;\n}\n\n #ijs .mt-0\\.5 {\n margin-top: 0.125rem;\n}\n\n #ijs .block {\n display: block;\n}\n\n #ijs .inline-block {\n display: inline-block;\n}\n\n #ijs .inline {\n display: inline;\n}\n\n #ijs .flex {\n display: flex;\n}\n\n #ijs .inline-flex {\n display: inline-flex;\n}\n\n #ijs .table {\n display: table;\n}\n\n #ijs .table-row {\n display: table-row;\n}\n\n #ijs .flow-root {\n display: flow-root;\n}\n\n #ijs .grid {\n display: grid;\n}\n\n #ijs .inline-grid {\n display: inline-grid;\n}\n\n #ijs .contents {\n display: contents;\n}\n\n #ijs .list-item {\n display: list-item;\n}\n\n #ijs .\\!hidden {\n display: none !important;\n}\n\n #ijs .hidden {\n display: none;\n}\n\n #ijs .h-12 {\n height: 3rem;\n}\n\n #ijs .h-4 {\n height: 1rem;\n}\n\n #ijs .h-8 {\n height: 2rem;\n}\n\n #ijs .h-\\[1lh\\] {\n height: 1lh;\n}\n\n #ijs .h-full {\n height: 100%;\n}\n\n #ijs .min-h-\\[1em\\] {\n min-height: 1em;\n}\n\n #ijs .min-h-\\[36px\\] {\n min-height: 36px;\n}\n\n #ijs .min-h-screen {\n min-height: 100vh;\n}\n\n #ijs .w-4 {\n width: 1rem;\n}\n\n #ijs .w-64 {\n width: 16rem;\n}\n\n #ijs .w-\\[10ch\\] {\n width: 10ch;\n}\n\n #ijs .w-\\[6ch\\] {\n width: 6ch;\n}\n\n #ijs .w-\\[8ch\\] {\n width: 8ch;\n}\n\n #ijs .w-full {\n width: 100%;\n}\n\n #ijs .min-w-0 {\n min-width: 0px;\n}\n\n #ijs .max-w-\\[var\\(--radix-popover-content-available-width\\)\\] {\n max-width: var(--radix-popover-content-available-width);\n}\n\n #ijs .max-w-full {\n max-width: 100%;\n}\n\n #ijs .max-w-screen-lg {\n max-width: 1024px;\n}\n\n #ijs .flex-1 {\n flex: 1 1 0%;\n}\n\n #ijs .flex-none {\n flex: none;\n}\n\n #ijs .flex-shrink {\n flex-shrink: 1;\n}\n\n #ijs .shrink {\n flex-shrink: 1;\n}\n\n #ijs .shrink-0 {\n flex-shrink: 0;\n}\n\n #ijs .flex-grow {\n flex-grow: 1;\n}\n\n #ijs .grow {\n flex-grow: 1;\n}\n\n #ijs .border-collapse {\n border-collapse: collapse;\n}\n\n #ijs .origin-\\[50\\%_1\\.75rem\\] {\n transform-origin: 50% 1.75rem;\n}\n\n #ijs .origin-top {\n transform-origin: top;\n}\n\n #ijs .translate-y-0 {\n --tw-translate-y: 0px;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .transform {\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n @keyframes appear-tag {\n\n 0% {\n transform: scale(0.9);\n }\n\n 100% {\n transform: scale(1);\n }\n}\n\n #ijs .animate-appear-tag {\n animation: appear-tag .6s cubic-bezier(0.16, 1, 0.3, 1) both;\n}\n\n @keyframes selected-tag {\n\n 0% {\n transform: scale(1.11);\n }\n\n 100% {\n transform: scale(1);\n }\n}\n\n #ijs .animate-selected-tag {\n animation: selected-tag .9s cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n @keyframes skeleton {\n\n 0% {\n opacity: 0.2;\n }\n\n 50% {\n opacity: 0.6;\n }\n\n 100% {\n opacity: 0.25;\n }\n}\n\n #ijs .animate-skeleton {\n animation: skeleton 1.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n}\n\n @keyframes slide-in-bottom {\n\n 0% {\n transform: translateY(-50%);\n }\n\n 100% {\n transform: translateY(0);\n }\n}\n\n #ijs .animate-slide-in-bottom {\n animation: slide-in-bottom .4s cubic-bezier(0.16, 1, 0.3, 1) both;\n}\n\n #ijs .cursor-default {\n cursor: default;\n}\n\n #ijs .cursor-pointer {\n cursor: pointer;\n}\n\n #ijs .select-none {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n\n #ijs .resize {\n resize: both;\n}\n\n #ijs .appearance-none {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n\n #ijs .flex-col {\n flex-direction: column;\n}\n\n #ijs .flex-wrap {\n flex-wrap: wrap;\n}\n\n #ijs .flex-nowrap {\n flex-wrap: nowrap;\n}\n\n #ijs .items-start {\n align-items: flex-start;\n}\n\n #ijs .items-center {\n align-items: center;\n}\n\n #ijs .justify-end {\n justify-content: flex-end;\n}\n\n #ijs .justify-center {\n justify-content: center;\n}\n\n #ijs .gap-1 {\n gap: 0.25rem;\n}\n\n #ijs .gap-1\\.5 {\n gap: 0.375rem;\n}\n\n #ijs .gap-2 {\n gap: 0.5rem;\n}\n\n #ijs .gap-2\\.5 {\n gap: 0.625rem;\n}\n\n #ijs .gap-3 {\n gap: 0.75rem;\n}\n\n #ijs .gap-4 {\n gap: 1rem;\n}\n\n #ijs .gap-logo {\n gap: var(--i-logo-gap);\n}\n\n #ijs .self-center {\n align-self: center;\n}\n\n #ijs .overflow-hidden {\n overflow: hidden;\n}\n\n #ijs .overflow-y-auto {\n overflow-y: auto;\n}\n\n #ijs .truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n #ijs .text-pretty {\n text-wrap: pretty;\n}\n\n #ijs .rounded-app {\n border-radius: var(--i-radius-app);\n}\n\n #ijs .rounded-input {\n border-radius: var(--i-radius-input);\n}\n\n #ijs .rounded-interactive {\n border-radius: var(--i-radius-interactive);\n}\n\n #ijs .rounded-job-card {\n border-radius: var(--i-radius-job-card);\n}\n\n #ijs .rounded-job-tag {\n border-radius: var(--i-radius-job-tag);\n}\n\n #ijs .rounded-logo {\n border-radius: var(--i-radius-logo);\n}\n\n #ijs .rounded-section {\n border-radius: var(--i-radius-section);\n}\n\n #ijs .rounded-tag {\n border-radius: var(--i-radius-job-tag);\n}\n\n #ijs .border-px {\n border-width: 1px;\n}\n\n #ijs .border-solid {\n border-style: solid;\n}\n\n #ijs .border-tag-accent-strong-stroke {\n border-color: var(--i-tag-accent-strong-stroke-color);\n}\n\n #ijs .border-tag-monetary-weak-stroke {\n border-color: var(--i-tag-monetary-weak-stroke-color);\n}\n\n #ijs .border-tag-neutral-strong-stroke {\n border-color: var(--i-tag-neutral-strong-stroke-color);\n}\n\n #ijs .border-tag-neutral-weak-stroke {\n border-color: var(--i-tag-neutral-weak-stroke-color);\n}\n\n #ijs .border-transparent {\n border-color: transparent;\n}\n\n #ijs .bg-\\[currentColor\\] {\n background-color: currentColor;\n}\n\n #ijs .bg-accent-9 {\n background-color: var(--i-color-a-9);\n}\n\n #ijs .bg-app {\n background-color: var(--i-app-bg);\n}\n\n #ijs .bg-copy-neutral {\n background-color: var(--i-copy);\n}\n\n #ijs .bg-interactive-accent-bg {\n background-color: var(--i-interactive-accent-bg);\n}\n\n #ijs .bg-interactive-neutral-bg {\n background-color: var(--i-interactive-neutral-bg);\n}\n\n #ijs .bg-job-card-bg {\n background-color: var(--i-job-card-bg);\n}\n\n #ijs .bg-lowest {\n background-color: var(--i-color-lowest);\n}\n\n #ijs .bg-neutral-1 {\n background-color: var(--i-color-n-1);\n}\n\n #ijs .bg-neutral-12 {\n background-color: var(--i-color-n-12);\n}\n\n #ijs .bg-section-strong-bg {\n background-color: var(--i-section-strong-bg);\n}\n\n #ijs .bg-section-weak-bg {\n background-color: var(--i-section-weak-bg);\n}\n\n #ijs .bg-tag-accent-strong-bg {\n background-color: var(--i-tag-accent-strong-bg);\n}\n\n #ijs .bg-tag-monetary-weak-bg {\n background-color: var(--i-tag-monetary-weak-bg);\n}\n\n #ijs .bg-tag-neutral-strong-bg {\n background-color: var(--i-tag-neutral-strong-bg);\n}\n\n #ijs .bg-tag-neutral-weak-bg {\n background-color: var(--i-tag-neutral-weak-bg);\n}\n\n #ijs .object-contain {\n -o-object-fit: contain;\n object-fit: contain;\n}\n\n #ijs .p-0 {\n padding: 0px;\n}\n\n #ijs .p-1 {\n padding: 0.25rem;\n}\n\n #ijs .p-2 {\n padding: 0.5rem;\n}\n\n #ijs .p-4 {\n padding: 1rem;\n}\n\n #ijs .p-6 {\n padding: 1.5rem;\n}\n\n #ijs .px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n #ijs .px-2\\.5 {\n padding-left: 0.625rem;\n padding-right: 0.625rem;\n}\n\n #ijs .px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n\n #ijs .px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n\n #ijs .px-5 {\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n\n #ijs .py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n\n #ijs .py-1\\.5 {\n padding-top: 0.375rem;\n padding-bottom: 0.375rem;\n}\n\n #ijs .py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n #ijs .py-4 {\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n\n #ijs .pb-4 {\n padding-bottom: 1rem;\n}\n\n #ijs .pl-1 {\n padding-left: 0.25rem;\n}\n\n #ijs .pl-2 {\n padding-left: 0.5rem;\n}\n\n #ijs .pl-2\\.5 {\n padding-left: 0.625rem;\n}\n\n #ijs .pl-3 {\n padding-left: 0.75rem;\n}\n\n #ijs .pl-4 {\n padding-left: 1rem;\n}\n\n #ijs .pl-5 {\n padding-left: 1.25rem;\n}\n\n #ijs .pr-1 {\n padding-right: 0.25rem;\n}\n\n #ijs .pr-3 {\n padding-right: 0.75rem;\n}\n\n #ijs .pr-5 {\n padding-right: 1.25rem;\n}\n\n #ijs .pr-8 {\n padding-right: 2rem;\n}\n\n #ijs .pt-1 {\n padding-top: 0.25rem;\n}\n\n #ijs .text-center {\n text-align: center;\n}\n\n #ijs .text-justify {\n text-align: justify;\n}\n\n #ijs .align-middle {\n vertical-align: middle;\n}\n\n #ijs .font-family-default {\n font-family: var(--i-font);\n}\n\n #ijs .font-family-filter {\n font-family: var(--i-font-filter);\n}\n\n #ijs .font-family-job-heading {\n font-family: var(--i-font-job-heading);\n}\n\n #ijs .font-family-tag {\n font-family: var(--i-font-tag);\n}\n\n #ijs .text-\\[10px\\] {\n font-size: 10px;\n}\n\n #ijs .text-style-filter {\n font-size: 1rem;\n line-height: 1.5rem;\n letter-spacing: -0.01em;\n}\n\n #ijs .text-style-input {\n font-size: 1rem;\n line-height: 1.5rem;\n}\n\n #ijs .text-style-job-card {\n font-size: 0.875rem;\n line-height: 1.125rem;\n}\n\n #ijs .text-style-job-card-info {\n font-size: 0.75rem;\n line-height: 1.125rem;\n}\n\n #ijs .text-style-job-heading {\n font-size: 1.125rem;\n line-height: 1.5rem;\n}\n\n #ijs .text-style-tag {\n font-size: 0.875rem;\n line-height: 1.5rem;\n}\n\n #ijs .font-weight-default {\n font-weight: var(--i-weight-default);\n}\n\n #ijs .font-weight-filter {\n font-weight: var(--i-weight-filter);\n}\n\n #ijs .font-weight-input {\n font-weight: var(--i-weight-input);\n}\n\n #ijs .font-weight-job-heading {\n font-weight: var(--i-weight-job-heading);\n}\n\n #ijs .font-weight-tag {\n font-weight: var(--i-weight-tag);\n}\n\n #ijs .uppercase {\n text-transform: uppercase;\n}\n\n #ijs .lowercase {\n text-transform: lowercase;\n}\n\n #ijs .capitalize {\n text-transform: capitalize;\n}\n\n #ijs .italic {\n font-style: italic;\n}\n\n #ijs .ordinal {\n --tw-ordinal: ordinal;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);\n}\n\n #ijs .tabular-nums {\n --tw-numeric-spacing: tabular-nums;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);\n}\n\n #ijs .leading-none {\n line-height: 1;\n}\n\n #ijs .leading-snug {\n line-height: 1.375;\n}\n\n #ijs .text-\\[\\#E5484D\\] {\n --tw-text-opacity: 1;\n color: rgb(229 72 77 / var(--tw-text-opacity));\n}\n\n #ijs .text-accent-1 {\n color: var(--i-color-a-1);\n}\n\n #ijs .text-accent-11 {\n color: var(--i-color-a-11);\n}\n\n #ijs .text-copy-accent {\n color: var(--i-copy-accent);\n}\n\n #ijs .text-copy-job-info {\n color: var(--i-copy-info);\n}\n\n #ijs .text-copy-neutral {\n color: var(--i-copy);\n}\n\n #ijs .text-copy-neutral-icon {\n color: var(--i-copy-icon);\n}\n\n #ijs .text-copy-neutral-lowcontrast {\n color: var(--i-copy-lowcontrast);\n}\n\n #ijs .text-interactive-accent-text {\n color: var(--i-interactive-accent-text);\n}\n\n #ijs .text-interactive-neutral-bg {\n color: var(--i-interactive-neutral-bg);\n}\n\n #ijs .text-interactive-neutral-text {\n color: var(--i-interactive-neutral-text);\n}\n\n #ijs .text-neutral-1 {\n color: var(--i-color-n-1);\n}\n\n #ijs .text-neutral-10 {\n color: var(--i-color-n-10);\n}\n\n #ijs .text-neutral-11 {\n color: var(--i-color-n-11);\n}\n\n #ijs .text-neutral-8 {\n color: var(--i-color-n-8);\n}\n\n #ijs .text-tag-accent-strong-bg {\n color: var(--i-tag-accent-strong-bg);\n}\n\n #ijs .text-tag-accent-strong-copy {\n color: var(--i-tag-accent-strong-copy);\n}\n\n #ijs .text-tag-monetary-weak-copy {\n color: var(--i-tag-monetary-weak-copy);\n}\n\n #ijs .text-tag-neutral-strong-copy {\n color: var(--i-tag-neutral-strong-copy);\n}\n\n #ijs .text-tag-neutral-weak-copy {\n color: var(--i-tag-neutral-weak-copy);\n}\n\n #ijs .underline {\n text-decoration-line: underline;\n}\n\n #ijs .caret-accent-11 {\n caret-color: var(--i-color-a-11);\n}\n\n #ijs .opacity-0 {\n opacity: 0;\n}\n\n #ijs .opacity-20 {\n opacity: 0.2;\n}\n\n #ijs .opacity-25 {\n opacity: 0.25;\n}\n\n #ijs .shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .shadow-\\[0_0_0_1px\\] {\n --tw-shadow: 0 0 0 1px;\n --tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .outline-none {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n #ijs .outline {\n outline-style: solid;\n}\n\n #ijs .ring-\\[1px\\] {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .ring-px {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .ring-width-job-card {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-job-card-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .ring-width-section {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .ring-job-card-stroke {\n --tw-ring-color: var(--i-job-card-stroke-color);\n}\n\n #ijs .ring-neutral-4 {\n --tw-ring-color: var(--i-color-n-4);\n}\n\n #ijs .ring-neutral-5 {\n --tw-ring-color: var(--i-color-n-5);\n}\n\n #ijs .ring-section-strong-stroke {\n --tw-ring-color: var(--i-section-strong-stroke-color);\n}\n\n #ijs .ring-section-weak-stroke {\n --tw-ring-color: var(--i-section-weak-stroke-color);\n}\n\n #ijs .ring-tag-accent-strong-bg {\n --tw-ring-color: var(--i-tag-accent-strong-bg);\n}\n\n #ijs .blur {\n --tw-blur: blur(8px);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .grayscale {\n --tw-grayscale: grayscale(100%);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .invert {\n --tw-invert: invert(100%);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .sepia {\n --tw-sepia: sepia(100%);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .filter {\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .backdrop-filter {\n -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n}\n\n #ijs .transition {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n #ijs .transition-all {\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n #ijs .transition-opacity {\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n #ijs .duration-medium {\n transition-duration: .6s;\n}\n\n #ijs .duration-slow {\n transition-duration: .9s;\n}\n\n #ijs .duration-snappy {\n transition-duration: .4s;\n}\n\n #ijs .ease-expo-out {\n transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n #ijs .will-change-\\[transform\\2c opacity\\] {\n will-change: transform,opacity;\n}\n\n #ijs .font-style-default {\n font-style: var(--i-font-style);\n}\n\n #ijs .font-style-filter {\n font-style: var(--i-style-filter);\n}\n\n #ijs .font-style-input {\n font-style: var(--i-style-input);\n}\n\n #ijs .font-style-job-heading {\n font-style: var(--i-style-job-heading);\n}\n\n #ijs .font-style-tag {\n font-style: var(--i-style-tag);\n}\n\n #ijs .top-filters {\n top: var(--i-filters-offset-top);\n}\n\n #ijs .fr {\n outline: none;\n}\n\n #ijs .fr:focus {\n outline: none;\n}\n\n #ijs .fr:focus-visible {\n outline: none;\n --tw-ring-offset-width: 1px;\n --tw-ring-offset-color: var(--i-color-lowest);\n --tw-ring-opacity: 1;\n --tw-ring-color: var(--i-color-a-9);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .fr-parent:has(.fr-child:focus-visible) {\n outline: none;\n --tw-ring-offset-width: 1px;\n --tw-ring-offset-color: var(--i-color-lowest);\n --tw-ring-opacity: 1;\n --tw-ring-color: var(--i-color-a-9);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .fr-child {}\n\n #ijs .hide-scrollbars::-webkit-scrollbar {\n display: none;\n}\n\n #ijs .hide-scrollbars {\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n\n #ijs .touch-hitbox::before {\n content: '';\n position: absolute;\n display: block;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n height: 100%;\n min-height: 44px;\n min-width: 44px;\n z-index: 9999;\n}\n\n #ijs .\\[-webkit-user-drag\\:none\\] {\n -webkit-user-drag: none;\n}\n\n #ijs .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\] {\n a-z-a--z0-9-_: .$@?;\n}\n\n #ijs .\\[text-wrap\\:balance\\] {\n text-wrap: balance;\n}\n\n #ijs .\\[text-wrap\\:pretty\\] {\n text-wrap: pretty;\n}\n\n #ijs .placeholder\\:text-neutral-10::-moz-placeholder {\n color: var(--i-color-n-10);\n}\n\n #ijs .placeholder\\:text-neutral-10::placeholder {\n color: var(--i-color-n-10);\n}\n\n #ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill {\n -webkit-text-fill-color: var(--i-color-a-11);\n}\n\n #ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill {\n -webkit-text-fill-color: var(--i-color-a-11);\n}\n\n #ijs .focus-within\\:z-10:focus-within {\n z-index: 10;\n}\n\n #ijs .hover\\:scale-\\[1\\.02\\]:hover {\n --tw-scale-x: 1.02;\n --tw-scale-y: 1.02;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .focus\\:shadow-\\[0_0_0_2px\\]:focus {\n --tw-shadow: 0 0 0 2px;\n --tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .focus\\:outline-none:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n #ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .active\\:-scale-100:active {\n --tw-scale-x: -1;\n --tw-scale-y: -1;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .active\\:scale-95:active {\n --tw-scale-x: .95;\n --tw-scale-y: .95;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .active\\:scale-\\[\\.97\\]:active {\n --tw-scale-x: .97;\n --tw-scale-y: .97;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .active\\:scale-\\[0\\.975\\]:active {\n --tw-scale-x: 0.975;\n --tw-scale-y: 0.975;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .active\\:bg-accent-10:active {\n background-color: var(--i-color-a-10);\n}\n\n #ijs .active\\:bg-job-card-bg-active:active {\n background-color: var(--i-job-card-bg-active);\n}\n\n #ijs .active\\:ring-job-card-stroke-active:active {\n --tw-ring-color: var(--i-job-card-stroke-color-active);\n}\n\n #ijs .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle] {\n --tw-translate-y: 100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading] {\n --tw-translate-y: -100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .data-\\[state\\=success\\]\\:translate-y-full[data-state=success] {\n --tw-translate-y: 100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle] {\n opacity: 0;\n}\n\n #ijs .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle] {\n opacity: 1;\n}\n\n @media (pointer: coarse) {\n\n #ijs .pointer-coarse\\:overflow-x-auto {\n overflow-x: auto;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:w-full {\n width: 100%;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:flex-wrap {\n flex-wrap: wrap;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:rounded-section {\n border-radius: var(--i-radius-section);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:bg-app {\n background-color: var(--i-app-bg);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:p-2 {\n padding: 0.5rem;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:ring-width-section {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:hover\\:bg-interactive-accent-bg-hover:hover {\n background-color: var(--i-interactive-accent-bg-hover);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:hover\\:bg-interactive-neutral-bg-hover:hover {\n background-color: var(--i-interactive-neutral-bg-hover);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .group:hover .pointer-fine\\:group-hover\\:text-copy-neutral {\n color: var(--i-copy);\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:col-span-2 {\n grid-column: span 2 / span 2;\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:grid {\n display: grid;\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:px-0 {\n padding-left: 0px;\n padding-right: 0px;\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n }\n}\n\n @media (min-width: 1024px) {\n\n #ijs .lg\\:ring-width-section {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n }\n}\n\n #ijs .\\[\\&\\:has\\(\\.fr-child\\:active\\)\\]\\:scale-\\[0\\.975\\]:has(.fr-child:active) {\n --tw-scale-x: 0.975;\n --tw-scale-y: 0.975;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n";
4405
4601
  var COLOR_SHADES = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"];
4406
4602
  var OKLCH_PRESETS = {
4407
4603
  light: {
@@ -4523,37 +4719,30 @@ var designTokens = () => {
4523
4719
  })
4524
4720
  };
4525
4721
  };
4526
- const match = (m2) => {
4722
+ const match = (subject) => {
4527
4723
  const patterns = [];
4528
- const i2 = (m22) => ({
4529
- with: (p2, fn2) => {
4530
- patterns.push({
4531
- p: p2,
4532
- fn: fn2
4533
- });
4534
- return i2(m22);
4724
+ const run = (subject2) => ({
4725
+ with: (pattern, fn2) => {
4726
+ patterns.push({ pattern, fn: fn2 });
4727
+ return run(subject2);
4535
4728
  },
4536
- otherwise: (o2) => {
4729
+ otherwise: (fallback) => {
4537
4730
  pattern:
4538
- for (let i22 = patterns.length - 1; i22 >= 0; i22--) {
4539
- const pattern = patterns[i22];
4540
- for (const key in pattern.p) {
4541
- if (pattern.p[key] !== m22[key])
4731
+ for (const { fn: fn2, pattern } of patterns) {
4732
+ for (const key in pattern)
4733
+ if (pattern[key] !== subject2[key])
4542
4734
  continue pattern;
4543
- return pattern.fn(m22);
4544
- }
4735
+ return fn2(subject2);
4545
4736
  }
4546
- if (o2)
4547
- return o2(m22);
4737
+ if (fallback)
4738
+ return fallback(subject2);
4548
4739
  throw new Error("No pattern matched");
4549
4740
  }
4550
4741
  });
4551
- return i2(m2);
4742
+ return run(subject);
4552
4743
  };
4553
4744
  const [black, white, transparent] = ["oklch(0 0 0)", "oklch(100 0 0)", "transparent"];
4554
- const tokens = designTokens().core(({
4555
- theme
4556
- }) => ({
4745
+ const tokens = designTokens().core(({ theme }) => ({
4557
4746
  color: {
4558
4747
  black,
4559
4748
  white,
@@ -4581,17 +4770,10 @@ const tokens = designTokens().core(({
4581
4770
  transform: sameAsInput
4582
4771
  })
4583
4772
  }
4584
- })).semantic(({
4585
- core,
4586
- theme,
4587
- raw
4588
- }) => {
4773
+ })).semantic(({ core, theme, raw }) => {
4589
4774
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n2, _o, _p, _q, _r, _s, _t, _u;
4590
4775
  const withOpacity = (token, opacity) => raw.core.color[token].replace(")", ` / ${opacity})`);
4591
- const {
4592
- typography,
4593
- highlights
4594
- } = theme;
4776
+ const { typography, highlights } = theme;
4595
4777
  const highContrast = ((_a = theme.accessibility) == null ? void 0 : _a.highContrast) ?? false;
4596
4778
  return {
4597
4779
  "filters-offset-top": (theme.filtersOffsetTopPx ?? 112) + "px",
@@ -4632,102 +4814,60 @@ const tokens = designTokens().core(({
4632
4814
  "tag-accent-strong-bg": theme.mode === "dark" ? core("color.a-9") : core("color.a-11"),
4633
4815
  "tag-accent-strong-copy": core("color.white"),
4634
4816
  "tag-accent-strong-stroke-color": transparent,
4635
- "radius-app": match(theme).with({
4636
- corners: "rounded"
4637
- }, () => "2rem").with({
4638
- corners: "soft"
4639
- }, () => "2rem").otherwise(() => "0"),
4640
- "radius-section": match(theme).with({
4641
- corners: "rounded"
4642
- }, () => "1rem").with({
4643
- corners: "soft"
4644
- }, () => "1rem").with({
4645
- corners: "sharp"
4646
- }, () => "0").otherwise(),
4647
- "radius-input": match(theme).with({
4648
- corners: "rounded"
4649
- }, () => ".5rem").with({
4650
- corners: "soft"
4651
- }, () => ".25rem").with({
4652
- corners: "sharp"
4653
- }, () => "0").otherwise(),
4654
- "radius-job-card": match(theme).with({
4655
- corners: "rounded"
4656
- }, () => "0.75rem").with({
4657
- corners: "soft"
4658
- }, () => "0.5rem").with({
4659
- corners: "sharp"
4660
- }, () => "0").otherwise(),
4661
- "radius-job-tag": match(theme).with({
4662
- corners: "rounded"
4663
- }, () => "0.5rem").with({
4664
- corners: "soft"
4665
- }, () => "0.25rem").with({
4666
- corners: "sharp"
4667
- }, () => "0").otherwise(),
4668
- "radius-logo": match(theme).with({
4669
- corners: "rounded"
4670
- }, () => ".25rem").with({
4671
- corners: "soft"
4672
- }, () => ".125rem").with({
4673
- corners: "sharp"
4674
- }, () => "0").otherwise(),
4675
- "logo-gap": match(theme).with({
4676
- corners: "rounded"
4677
- }, () => "0.75rem").with({
4678
- corners: "soft"
4679
- }, () => "1rem").with({
4680
- corners: "sharp"
4681
- }, () => "1rem").otherwise(),
4817
+ "radius-app": match(theme).with({ corners: "rounded" }, () => "2rem").with({ corners: "soft" }, () => "2rem").otherwise(() => "0"),
4818
+ "radius-section": match(theme).with({ corners: "rounded" }, () => "1rem").with({ corners: "soft" }, () => "1rem").with({ corners: "sharp" }, () => "0").otherwise(),
4819
+ "radius-input": match(theme).with({ corners: "rounded" }, () => ".5rem").with({ corners: "soft" }, () => ".25rem").with({ corners: "sharp" }, () => "0").otherwise(),
4820
+ "radius-job-card": match(theme).with({ corners: "rounded" }, () => "0.75rem").with({ corners: "soft" }, () => "0.5rem").with({ corners: "sharp" }, () => "0").otherwise(),
4821
+ "radius-job-tag": match(theme).with({ corners: "rounded" }, () => "0.5rem").with({ corners: "soft" }, () => "0.25rem").with({ corners: "sharp" }, () => "0").otherwise(),
4822
+ "radius-logo": match(theme).with({ corners: "rounded" }, () => ".25rem").with({ corners: "soft" }, () => ".125rem").with({ corners: "sharp" }, () => "0").otherwise(),
4823
+ "logo-gap": match(theme).with({ corners: "rounded" }, () => "0.75rem").with({ corners: "soft" }, () => "1rem").with({ corners: "sharp" }, () => "1rem").otherwise(),
4682
4824
  "interactive-neutral-bg": withOpacity(highContrast ? "n-5" : "n-4", 0.01),
4683
4825
  "interactive-neutral-bg-hover": highContrast ? core("color.n-5") : core("color.n-4"),
4684
4826
  "interactive-neutral-text": core("color.n-12"),
4685
4827
  "interactive-accent-bg": withOpacity(highlights === "fill" ? "a-4" : "a-3", 0.01),
4686
4828
  "interactive-accent-bg-hover": highlights === "fill" ? core("color.a-4") : core("color.a-3"),
4687
4829
  "interactive-accent-text": core("color.a-11"),
4688
- "radius-interactive": match(theme).with({
4689
- corners: "rounded"
4690
- }, () => "1.5rem").with({
4691
- corners: "soft"
4692
- }, () => ".5rem").with({
4693
- corners: "sharp"
4694
- }, () => "0").otherwise(),
4830
+ "radius-interactive": match(theme).with({ corners: "rounded" }, () => "1.5rem").with({ corners: "soft" }, () => ".5rem").with({ corners: "sharp" }, () => "0").otherwise(),
4695
4831
  "section-weak-bg": highlights === "fill" ? core("color.n-2") : transparent,
4696
4832
  "section-strong-bg": highlights === "fill" ? highContrast ? core("color.n-3") : core("color.n-2") : transparent,
4697
4833
  "section-weak-stroke-color": highlights === "fill" ? transparent : highContrast ? core("color.n-7") : core("color.n-3"),
4698
4834
  "section-strong-stroke-color": highlights === "fill" ? transparent : highContrast ? core("color.n-11") : core("color.n-4"),
4699
- "section-stroke-width": match(theme).with({
4700
- highlights: "stroke",
4701
- highcontrast: true
4702
- }, () => "1.5px").otherwise(() => "1px"),
4703
- "job-card-bg": match(theme).with({
4704
- highlights: "fill"
4705
- }, () => core("color.lowest")).otherwise(() => transparent),
4706
- "job-card-bg-active": match(theme).with({
4707
- highlights: "fill"
4708
- }, () => core("color.lowest")).otherwise(() => transparent),
4835
+ "section-stroke-width": match(theme).with({ highlights: "stroke", highcontrast: true }, () => "1.5px").otherwise(() => "1px"),
4836
+ "job-card-bg": match(theme).with({ highlights: "fill" }, () => core("color.lowest")).otherwise(() => transparent),
4837
+ "job-card-bg-active": match(theme).with({ highlights: "fill" }, () => core("color.lowest")).otherwise(() => transparent),
4709
4838
  "job-card-stroke-color": highContrast ? core("color.n-10") : core("color.n-4"),
4710
4839
  "job-card-stroke-color-active": core("color.a-9"),
4711
- "job-card-stroke-width": match(theme).with({
4712
- highlights: "stroke",
4713
- highcontrast: true
4714
- }, () => "1.5px").otherwise(() => "1px")
4840
+ "job-card-stroke-width": match(theme).with({ highlights: "stroke", highcontrast: true }, () => "1.5px").otherwise(() => "1px")
4715
4841
  };
4716
4842
  }).component(() => ({}));
4717
- const asInploiVar = asCssVar({
4718
- prefix: "i-"
4719
- });
4843
+ const asInploiVar = asCssVar({ prefix: "i-" });
4720
4844
  const generateColorThemeCss = (theme) => {
4721
- const core = tokens.from({
4722
- theme,
4723
- getToken: asInploiVar
4724
- });
4845
+ const core = tokens.from({ theme, getToken: asInploiVar });
4725
4846
  const tokenCss = Object.entries(core.declarations).map(([key, value]) => `${key}: ${value};`);
4726
4847
  return `#${JOB_SEARCH_SCOPE_ELEMENT_ID} {
4727
4848
  ${tokenCss.concat(tokenCss).join("\n")}
4728
4849
  }`;
4729
4850
  };
4730
- const FILTER_KEYS = ["company_name", "employment_type", "location_type", "pay_type", "pay_currency", "pay_mask", "pay", "pay_min", "pay_max", "title", "industry", "category", "skills", "town", "city", "country", "contract_type", "pay_display"];
4851
+ const FILTER_KEYS = [
4852
+ "company_name",
4853
+ "employment_type",
4854
+ "location_type",
4855
+ "pay_type",
4856
+ "pay_currency",
4857
+ "pay_mask",
4858
+ "pay",
4859
+ "pay_min",
4860
+ "pay_max",
4861
+ "title",
4862
+ "industry",
4863
+ "category",
4864
+ "skills",
4865
+ "town",
4866
+ "city",
4867
+ "country",
4868
+ "contract_type",
4869
+ "pay_display"
4870
+ ];
4731
4871
  const createJobSearchDomManager = () => {
4732
4872
  return {
4733
4873
  getRenderTargetElement: () => {
@@ -4739,33 +4879,28 @@ const createJobSearchDomManager = () => {
4739
4879
  };
4740
4880
  const dom = createJobSearchDomManager();
4741
4881
  const jobSearchPlugin = () => {
4742
- return sdk.createPlugin(({
4743
- apiClient,
4744
- logger,
4745
- analytics
4746
- }) => {
4882
+ return sdk.createPlugin(({ apiClient, logger, analytics }) => {
4747
4883
  const App = ({
4748
4884
  params
4749
4885
  }) => {
4750
4886
  var _a;
4751
- return y$2(ErrorBoundary, {
4752
- Fallback: UnstyledErrorView
4753
- }, [[y$2("style", {
4754
- id: "inploi-job-search-styles"
4755
- }, tailwind), y$2("style", {
4756
- id: "inploi-job-search-theme"
4757
- }, generateColorThemeCss(params.theme))], y$2(IconSpritesheet, {
4758
- theme: params.theme
4759
- }), y$2(JobSearch, {
4760
- properties: params.properties,
4761
- apiClient,
4762
- logger,
4763
- analytics,
4764
- class: ((_a = params.theme.accessibility) == null ? void 0 : _a.reducedMotion) ? "reduced-motion" : void 0,
4765
- initialData: params.initialData,
4766
- onFilterChange: params.onFilterChange,
4767
- params
4768
- })]);
4887
+ return _$1(ErrorBoundary, { Fallback: UnstyledErrorView }, [
4888
+ [
4889
+ _$1("style", { id: "inploi-job-search-styles" }, tailwind),
4890
+ _$1("style", { id: "inploi-job-search-theme" }, generateColorThemeCss(params.theme))
4891
+ ],
4892
+ _$1(IconSpritesheet, { theme: params.theme }),
4893
+ _$1(JobSearch, {
4894
+ properties: params.properties,
4895
+ apiClient,
4896
+ logger,
4897
+ analytics,
4898
+ class: ((_a = params.theme.accessibility) == null ? void 0 : _a.reducedMotion) ? "reduced-motion" : void 0,
4899
+ initialData: params.initialData,
4900
+ onFilterChange: params.onFilterChange,
4901
+ params
4902
+ })
4903
+ ]);
4769
4904
  };
4770
4905
  return {
4771
4906
  /** Returns a string with the initial rendering state of the UI.
@@ -4776,26 +4911,31 @@ const jobSearchPlugin = () => {
4776
4911
  filters: getFilterDefaults(params.properties),
4777
4912
  apiClient,
4778
4913
  logger
4779
- }).then((jobs) => ({
4780
- jobs
4781
- })).catch(() => void 0) : void 0;
4914
+ }).then((jobs) => ({ jobs })).catch(() => void 0) : void 0;
4782
4915
  return {
4783
- html: b$1(y$2(g$3, {}, y$2(App, {
4784
- params: {
4785
- ...params,
4786
- initialData: data
4787
- }
4788
- }))),
4916
+ html: S(
4917
+ _$1(
4918
+ k$3,
4919
+ {},
4920
+ _$1(App, {
4921
+ params: {
4922
+ ...params,
4923
+ initialData: data
4924
+ }
4925
+ })
4926
+ )
4927
+ ),
4789
4928
  data
4790
4929
  };
4791
4930
  },
4792
4931
  /** Renders the Job Search Plugin inside the container element. */
4793
4932
  render: async (params) => {
4794
- const fn2 = params.initialData ? B$2 : q$2;
4795
- invariant(typeof window !== "undefined", "the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead.");
4796
- fn2(y$2(App, {
4797
- params
4798
- }), dom.getRenderTargetElement());
4933
+ const fn2 = params.initialData ? D$3 : B$2;
4934
+ invariant(
4935
+ typeof window !== "undefined",
4936
+ "the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."
4937
+ );
4938
+ fn2(_$1(App, { params }), dom.getRenderTargetElement());
4799
4939
  }
4800
4940
  };
4801
4941
  });