@inploi/plugin-job-search 0.8.0 → 0.9.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)
@@ -1077,24 +1132,19 @@ const getSalaryAsText = (params) => {
1077
1132
  return "Invalid salary";
1078
1133
  if (salary.pay && isNaN(+salary.pay))
1079
1134
  return "Invalid salary";
1135
+ const period = salary.pay_type && salary.pay_type in payPeriods ? payPeriods[salary.pay_type] : void 0;
1080
1136
  if (salary.pay)
1081
- return [numberFormatter.format(+salary.pay), payPeriods[salary.pay_type]].join(" ");
1137
+ return [numberFormatter.format(+salary.pay), period].filter(Boolean).join(" ");
1082
1138
  if (salary.pay_max && salary.pay_min)
1083
- return [numberFormatter.formatRange(+salary.pay_min, +salary.pay_max), payPeriods[salary.pay_type]].join(" ");
1139
+ return [numberFormatter.formatRange(+salary.pay_min, +salary.pay_max), period].filter(Boolean).join(" ");
1084
1140
  if (salary.pay_max)
1085
- return "Up to " + [numberFormatter.format(+salary.pay_max), payPeriods[salary.pay_type]].join(" ");
1141
+ return "Up to " + [numberFormatter.format(+salary.pay_max), period].filter(Boolean).join(" ");
1086
1142
  if (salary.pay_min)
1087
- return "From " + [numberFormatter.format(+salary.pay_min), payPeriods[salary.pay_type]].join(" ");
1143
+ return "From " + [numberFormatter.format(+salary.pay_min), period].filter(Boolean).join(" ");
1088
1144
  return "Invalid salary";
1089
1145
  };
1090
- const DEFAULT_FORMATTER = new Intl.RelativeTimeFormat("en", {
1091
- numeric: "auto"
1092
- });
1093
- const getRelativeTimeDifference = ({
1094
- from = /* @__PURE__ */ new Date(),
1095
- to,
1096
- formatter = DEFAULT_FORMATTER
1097
- }) => {
1146
+ const DEFAULT_FORMATTER = new Intl.RelativeTimeFormat("en", { numeric: "auto" });
1147
+ const getRelativeTimeDifference = ({ from = /* @__PURE__ */ new Date(), to, formatter = DEFAULT_FORMATTER }) => {
1098
1148
  const then = to instanceof Date ? to : new Date(to);
1099
1149
  const diff = then.getTime() - from.getTime();
1100
1150
  const diffIn = {
@@ -1110,10 +1160,9 @@ const getRelativeTimeDifference = ({
1110
1160
  return diffIn.months < 0 ? "a long time ago" : "in a long time";
1111
1161
  };
1112
1162
  const SEVEN_DAYS_MS = 1e3 * 60 * 60 * 24 * 7;
1113
- const AvailablePropertiesSchema = record(array(object({
1114
- label: coerce(string(), String),
1115
- value: coerce(string(), String)
1116
- })));
1163
+ const AvailablePropertiesSchema = record(
1164
+ array(object({ label: coerce(string(), String), value: coerce(string(), String) }))
1165
+ );
1117
1166
  const URLSchema = string([url()]);
1118
1167
  const PaginationSchema = object({
1119
1168
  total: number(),
@@ -1127,7 +1176,9 @@ const JobPayloadSchema = object({
1127
1176
  company_logo: optional(string()),
1128
1177
  employment_type: string(),
1129
1178
  location_type: union([literal("LOCATION"), literal("REMOTE"), literal("HYBRID")]),
1130
- pay_type: 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
+ ),
1131
1182
  pay_currency: string(),
1132
1183
  // Whether to mask the pay and show as "competitive"
1133
1184
  pay_mask: boolean(),
@@ -1166,29 +1217,25 @@ const JobSchema = transform(JobPayloadSchema, (schema) => {
1166
1217
  },
1167
1218
  employmentType: schema.employment_type,
1168
1219
  locationType: schema.location_type,
1169
- pay: getSalaryAsText({
1170
- salary: schema,
1171
- config: {
1172
- locales: void 0
1173
- }
1174
- }),
1220
+ pay: getSalaryAsText({ salary: schema, config: { locales: void 0 } }),
1175
1221
  description: schema.description,
1176
1222
  title: schema.title,
1177
1223
  contractType: schema.contract_type,
1178
1224
  href: schema.href,
1179
- relativePostedDate: schema.created_at ? getRelativeTimeDifference({
1180
- to: new Date(schema.created_at)
1181
- }) : "INVALID DATE",
1225
+ relativePostedDate: schema.created_at ? getRelativeTimeDifference({ to: new Date(schema.created_at) }) : "INVALID DATE",
1182
1226
  customData: schema.custom_data
1183
1227
  };
1184
1228
  });
1185
- const JobSearchResponseSchema = transform(object({
1186
- data: array(JobSchema),
1187
- pagination: PaginationSchema
1188
- }), (schema) => ({
1189
- pagination: schema.pagination,
1190
- results: schema.data
1191
- }));
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
+ );
1192
1239
  const filtersToPayload = (filters) => {
1193
1240
  return Object.fromEntries(Object.entries(filters).map(([key, filter]) => [key, (filter == null ? void 0 : filter.value) ?? null]));
1194
1241
  };
@@ -1243,28 +1290,13 @@ const getJobSearchResults = async ({
1243
1290
  };
1244
1291
  const getQueryState = (swr) => {
1245
1292
  if (swr.error)
1246
- return {
1247
- state: "error",
1248
- error: swr.error,
1249
- swr
1250
- };
1293
+ return { state: "error", error: swr.error, swr };
1251
1294
  if (swr.isLoading && swr.data === void 0)
1252
- return {
1253
- state: "loading",
1254
- swr
1255
- };
1295
+ return { state: "loading", swr };
1256
1296
  if ((swr.isLoading || swr.isValidating) && swr.data)
1257
- return {
1258
- state: "revalidating",
1259
- data: swr.data,
1260
- swr
1261
- };
1297
+ return { state: "revalidating", data: swr.data, swr };
1262
1298
  if (!swr.isLoading && swr.data)
1263
- return {
1264
- state: "loaded",
1265
- data: swr.data,
1266
- swr
1267
- };
1299
+ return { state: "loaded", data: swr.data, swr };
1268
1300
  throw new Error("Unhandled data state");
1269
1301
  };
1270
1302
  const SWR_SETTINGS = {
@@ -1274,6 +1306,38 @@ const SWR_SETTINGS = {
1274
1306
  revalidateIfStale: false,
1275
1307
  revalidateFirstPage: false
1276
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
+ }
1277
1341
  function r$1(e2) {
1278
1342
  var t2, f2, n2 = "";
1279
1343
  if ("string" == typeof e2 || "number" == typeof e2)
@@ -1365,31 +1429,11 @@ const btnClass = cva({
1365
1429
  }
1366
1430
  },
1367
1431
  compoundVariants: [
1368
- {
1369
- size: "sm",
1370
- icon: "right",
1371
- class: "pl-3 pr-1"
1372
- },
1373
- {
1374
- size: "sm",
1375
- icon: "left",
1376
- class: "pl-1 pr-3"
1377
- },
1378
- {
1379
- size: "sm",
1380
- icon: "none",
1381
- class: "px-3"
1382
- },
1383
- {
1384
- size: "lg",
1385
- icon: "none",
1386
- class: "px-5"
1387
- },
1388
- {
1389
- size: "lg",
1390
- icon: "right",
1391
- class: "pl-5 pr-3"
1392
- }
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" }
1393
1437
  // { size: 'lg', icon: 'left', class: 'pl-3 pr-5' },
1394
1438
  // { size: 'lg', icon: 'none', class: 'px-5' },
1395
1439
  ],
@@ -1399,287 +1443,189 @@ const btnClass = cva({
1399
1443
  size: "sm"
1400
1444
  }
1401
1445
  });
1402
- var f$1 = 0;
1403
- function u$1(e2, t2, n2, o2, i2, u2) {
1404
- var a2, c2, p2 = {};
1405
- for (c2 in t2)
1406
- "ref" == c2 ? a2 = t2[c2] : p2[c2] = t2[c2];
1407
- 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 };
1408
- if ("function" == typeof e2 && (a2 = e2.defaultProps))
1409
- for (c2 in a2)
1410
- void 0 === p2[c2] && (p2[c2] = a2[c2]);
1411
- return l$2.vnode && l$2.vnode(l2), l2;
1412
- }
1413
- const UnstyledErrorView = ({
1414
- error,
1415
- resetError
1416
- }) => {
1417
- return u$1("div", {
1418
- style: {
1419
- display: "flex",
1420
- flexDirection: "column",
1421
- gap: ".5rem",
1422
- padding: "1rem",
1423
- fontSize: "1rem",
1424
- color: "hsl(10, 82%, 45%)",
1425
- fontFamily: "'system-ui' 'Helvetica'",
1426
- background: "hsl(7, 100%, 98%)"
1427
- },
1428
- children: [u$1("p", {
1429
- children: error.message
1430
- }), u$1("button", {
1431
- onClick: resetError,
1446
+ const UnstyledErrorView = ({ error, resetError }) => {
1447
+ return /* @__PURE__ */ u$1(
1448
+ "div",
1449
+ {
1432
1450
  style: {
1433
- background: "white",
1434
- border: "none",
1435
- cursor: "pointer",
1436
- textAlign: "center",
1437
- borderRadius: "4px",
1438
- 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%)"
1439
1459
  },
1440
- children: "Retry"
1441
- })]
1442
- });
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
+ );
1443
1480
  };
1444
- const ErrorView = ({
1445
- error,
1446
- resetError,
1447
- class: className,
1448
- ...props
1449
- }) => {
1450
- return u$1("div", {
1451
- class: clsx("bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center", className),
1452
- ...props,
1453
- children: [u$1("div", {
1454
- class: "flex flex-col gap-1",
1455
- children: [u$1("p", {
1456
- class: "text-neutral-1 text-style-job-heading font-style-job-heading font-weight-job-heading [text-wrap:balance]",
1457
- children: "Sorry, this widget is unavailable at the moment."
1458
- }), u$1("p", {
1459
- class: "text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]",
1460
- children: error.message
1461
- })]
1462
- }), u$1("button", {
1463
- class: btnClass({
1464
- variant: "neutral",
1465
- size: "lg",
1466
- class: "text-interactive-neutral-bg bg-lowest"
1467
- }),
1468
- onClick: resetError,
1469
- children: "Retry"
1470
- })]
1471
- });
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
+ );
1472
1510
  };
1473
1511
  class ErrorBoundary extends b$2 {
1474
1512
  constructor() {
1475
1513
  super(...arguments);
1476
- __publicField(this, "state", {
1477
- error: null
1478
- });
1514
+ __publicField(this, "state", { error: null });
1479
1515
  }
1480
1516
  static getDerivedStateFromError(error) {
1481
- return {
1482
- error: error.message
1483
- };
1517
+ return { error: error.message };
1484
1518
  }
1485
1519
  componentDidCatch(error) {
1486
- this.setState({
1487
- error
1488
- });
1520
+ this.setState({ error });
1489
1521
  }
1490
1522
  render() {
1491
1523
  if (this.state.error) {
1492
- const {
1493
- Fallback
1494
- } = this.props;
1495
- return u$1(Fallback, {
1496
- error: this.state.error,
1497
- resetError: () => {
1498
- console.log("resetting error");
1499
- this.setState({
1500
- error: null
1501
- });
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
+ }
1502
1533
  }
1503
- });
1534
+ );
1504
1535
  }
1505
1536
  return this.props.children;
1506
1537
  }
1507
1538
  }
1508
1539
  const icons = {
1509
- briefcase: u$1(g$3, {
1510
- children: [u$1("path", {
1511
- 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"
1512
- }), u$1("path", {
1513
- d: "M4.75 11.75H19.25"
1514
- }), u$1("path", {
1515
- d: "M13.25 12.25V13.25H10.75V12.25H13.25Z"
1516
- }), u$1("path", {
1517
- 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"
1518
- })]
1519
- }),
1520
- brand: u$1(g$3, {
1521
- children: [u$1("path", {
1522
- 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"
1523
- }), u$1("path", {
1524
- 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"
1525
- }), u$1("path", {
1526
- d: "M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"
1527
- }), u$1("path", {
1528
- d: "M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"
1529
- }), u$1("path", {
1530
- d: "M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"
1531
- }), u$1("circle", {
1532
- cx: "18.75",
1533
- cy: "12",
1534
- r: "2"
1535
- }), u$1("circle", {
1536
- cx: "5.25",
1537
- cy: "12",
1538
- r: "2"
1539
- })]
1540
- }),
1541
- building: u$1(g$3, {
1542
- children: [u$1("path", {
1543
- d: "M16.75 10.25H13.75"
1544
- }), u$1("path", {
1545
- d: "M16.75 13.25H13.75"
1546
- }), u$1("path", {
1547
- 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"
1548
- }), u$1("path", {
1549
- d: "M10.25 12.25V18.25"
1550
- })]
1551
- }),
1552
- circles: u$1(g$3, {
1553
- children: [u$1("path", {
1554
- 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"
1555
- }), u$1("path", {
1556
- 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"
1557
- })]
1558
- }),
1559
- clock: u$1(g$3, {
1560
- children: [u$1("path", {
1561
- d: "M14 9L12 13L9.5 12"
1562
- }), u$1("path", {
1563
- 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"
1564
- })]
1565
- }),
1566
- filter: u$1(g$3, {
1567
- children: u$1("path", {
1568
- d: "M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"
1569
- })
1570
- }),
1571
- globe: u$1(g$3, {
1572
- children: [u$1("path", {
1573
- d: "M5 13.75H19"
1574
- }), u$1("path", {
1575
- d: "M5 10.25H19"
1576
- }), u$1("path", {
1577
- 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"
1578
- }), u$1("circle", {
1579
- cx: "12",
1580
- cy: "12",
1581
- r: "7.25"
1582
- })]
1583
- }),
1584
- magnifier: u$1(g$3, {
1585
- children: [u$1("path", {
1586
- 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"
1587
- }), u$1("path", {
1588
- 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"
1589
- }), u$1("path", {
1590
- d: "M16 16L19 19"
1591
- })]
1592
- }),
1593
- mapPin: u$1(g$3, {
1594
- children: u$1(g$3, {
1595
- children: [u$1("circle", {
1596
- cx: "12",
1597
- cy: "9",
1598
- r: "2"
1599
- }), u$1("path", {
1600
- 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"
1601
- }), u$1("path", {
1602
- 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"
1603
- })]
1604
- })
1605
- }),
1606
- sunset: u$1(g$3, {
1607
- children: [u$1("path", {
1608
- d: "M18.5 8.5L17.5 9.5"
1609
- }), u$1("path", {
1610
- d: "M5.5 8.5L6.5 9.5"
1611
- }), u$1("path", {
1612
- d: "M12 6L12 7.5"
1613
- }), u$1("path", {
1614
- 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"
1615
- }), u$1("path", {
1616
- d: "M20.25 15.25H12H3.75"
1617
- }), u$1("path", {
1618
- d: "M16.25 18.25H12L7.75 18.25"
1619
- })]
1620
- }),
1621
- x: u$1("path", {
1622
- d: "M8 8l8 8M8 16l8 -8"
1623
- }),
1624
- plus: u$1("path", {
1625
- d: "M12 8V16M8 12H16"
1626
- }),
1627
- "chevron-right": u$1("path", {
1628
- d: "M11 8L15 12L11 16"
1629
- })
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
+ sunset: /* @__PURE__ */ u$1(k$3, { children: [
1587
+ /* @__PURE__ */ u$1("path", { d: "M18.5 8.5L17.5 9.5" }),
1588
+ /* @__PURE__ */ u$1("path", { d: "M5.5 8.5L6.5 9.5" }),
1589
+ /* @__PURE__ */ u$1("path", { d: "M12 6L12 7.5" }),
1590
+ /* @__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" }),
1591
+ /* @__PURE__ */ u$1("path", { d: "M20.25 15.25H12H3.75" }),
1592
+ /* @__PURE__ */ u$1("path", { d: "M16.25 18.25H12L7.75 18.25" })
1593
+ ] }),
1594
+ x: /* @__PURE__ */ u$1("path", { d: "M8 8l8 8M8 16l8 -8" }),
1595
+ plus: /* @__PURE__ */ u$1("path", { d: "M12 8V16M8 12H16" }),
1596
+ "chevron-right": /* @__PURE__ */ u$1("path", { d: "M11 8L15 12L11 16" })
1630
1597
  };
1631
- const IconSpritesheet = ({
1632
- theme
1633
- }) => {
1634
- return u$1("svg", {
1635
- xmlns: "http://www.w3.org/2000/svg",
1636
- style: {
1637
- display: "none"
1638
- },
1639
- children: u$1("defs", {
1640
- children: Object.entries(icons).map(([name, icon]) => {
1641
- var _a;
1642
- return u$1("symbol", {
1643
- id: `i-icon-${name}`,
1644
- children: u$1("g", {
1645
- fill: "none",
1646
- "stroke-width": theme.mode === "dark" && ((_a = theme.accessibility) == null ? void 0 : _a.highContrast) != true ? "1" : "1.5",
1647
- "stroke-linecap": "round",
1648
- "stroke-linejoin": "round",
1649
- stroke: "currentColor",
1650
- children: icon
1651
- })
1652
- });
1653
- })
1654
- })
1655
- });
1598
+ const IconSpritesheet = ({ theme }) => {
1599
+ 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]) => {
1600
+ var _a;
1601
+ return /* @__PURE__ */ u$1("symbol", { id: `i-icon-${name}`, children: /* @__PURE__ */ u$1(
1602
+ "g",
1603
+ {
1604
+ fill: "none",
1605
+ "stroke-width": theme.mode === "dark" && ((_a = theme.accessibility) == null ? void 0 : _a.highContrast) != true ? "1" : "1.5",
1606
+ "stroke-linecap": "round",
1607
+ "stroke-linejoin": "round",
1608
+ stroke: "currentColor",
1609
+ children: icon
1610
+ }
1611
+ ) });
1612
+ }) }) });
1656
1613
  };
1657
- const Icon = ({
1658
- name,
1659
- ...props
1660
- }) => {
1661
- return u$1("svg", {
1662
- viewBox: "0 0 24 24",
1663
- width: 24,
1664
- height: 24,
1665
- ...props,
1666
- children: u$1("use", {
1667
- href: `#i-icon-${name}`
1668
- })
1669
- });
1614
+ const Icon = ({ name, ...props }) => {
1615
+ return /* @__PURE__ */ u$1("svg", { viewBox: "0 0 24 24", width: 24, height: 24, ...props, children: /* @__PURE__ */ u$1("use", { href: `#i-icon-${name}` }) });
1670
1616
  };
1671
- 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;
1672
- function d(t2, u2) {
1673
- l$2.__h && l$2.__h(r, t2, o || u2), o = 0;
1674
- var i2 = r.__H || (r.__H = { __: [], __h: [] });
1675
- return t2 >= i2.__.length && i2.__.push({ __V: c }), i2.__[t2];
1617
+ 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.__;
1618
+ function d(n2, t2) {
1619
+ c.__h && c.__h(r, n2, o || t2), o = 0;
1620
+ var u2 = r.__H || (r.__H = { __: [], __h: [] });
1621
+ return n2 >= u2.__.length && u2.__.push({}), u2.__[n2];
1676
1622
  }
1677
1623
  function h(n2) {
1678
- return o = 1, s(B$1, n2);
1624
+ return o = 1, p(D$1, n2);
1679
1625
  }
1680
- function s(n2, u2, i2) {
1626
+ function p(n2, u2, i2) {
1681
1627
  var o2 = d(t++, 2);
1682
- if (o2.t = n2, !o2.__c && (o2.__ = [i2 ? i2(u2) : B$1(void 0, u2), function(n3) {
1628
+ if (o2.t = n2, !o2.__c && (o2.__ = [i2 ? i2(u2) : D$1(void 0, u2), function(n3) {
1683
1629
  var t2 = o2.__N ? o2.__N[0] : o2.__[0], r2 = o2.t(t2, n3);
1684
1630
  t2 !== r2 && (o2.__N = [r2, o2.__[1]], o2.__c.setState({}));
1685
1631
  }], o2.__c = r, !r.u)) {
@@ -1687,7 +1633,7 @@ function s(n2, u2, i2) {
1687
1633
  if (!o2.__c.__H)
1688
1634
  return true;
1689
1635
  var u3 = o2.__c.__H.__.filter(function(n4) {
1690
- return n4.__c;
1636
+ return !!n4.__c;
1691
1637
  });
1692
1638
  if (u3.every(function(n4) {
1693
1639
  return !n4.__N;
@@ -1713,21 +1659,21 @@ function s(n2, u2, i2) {
1713
1659
  }
1714
1660
  return o2.__N || o2.__;
1715
1661
  }
1716
- function p(u2, i2) {
1717
- var o2 = d(t++, 3);
1718
- !l$2.__s && z$1(o2.__H, i2) && (o2.__ = u2, o2.i = i2, r.__H.__h.push(o2));
1662
+ function y(n2, u2) {
1663
+ var i2 = d(t++, 3);
1664
+ !c.__s && C$1(i2.__H, u2) && (i2.__ = n2, i2.i = u2, r.__H.__h.push(i2));
1719
1665
  }
1720
- function y(u2, i2) {
1721
- var o2 = d(t++, 4);
1722
- !l$2.__s && z$1(o2.__H, i2) && (o2.__ = u2, o2.i = i2, r.__h.push(o2));
1666
+ function _(n2, u2) {
1667
+ var i2 = d(t++, 4);
1668
+ !c.__s && C$1(i2.__H, u2) && (i2.__ = n2, i2.i = u2, r.__h.push(i2));
1723
1669
  }
1724
- function _(n2) {
1725
- return o = 5, F$1(function() {
1670
+ function A$1(n2) {
1671
+ return o = 5, T$1(function() {
1726
1672
  return { current: n2 };
1727
1673
  }, []);
1728
1674
  }
1729
- function A$1(n2, t2, r2) {
1730
- o = 6, y(function() {
1675
+ function F$1(n2, t2, r2) {
1676
+ o = 6, _(function() {
1731
1677
  return "function" == typeof n2 ? (n2(t2()), function() {
1732
1678
  return n2(null);
1733
1679
  }) : n2 ? (n2.current = t2(), function() {
@@ -1735,23 +1681,23 @@ function A$1(n2, t2, r2) {
1735
1681
  }) : void 0;
1736
1682
  }, null == r2 ? r2 : r2.concat(n2));
1737
1683
  }
1738
- function F$1(n2, r2) {
1684
+ function T$1(n2, r2) {
1739
1685
  var u2 = d(t++, 7);
1740
- return z$1(u2.__H, r2) ? (u2.__V = n2(), u2.i = r2, u2.__h = n2, u2.__V) : u2.__;
1686
+ return C$1(u2.__H, r2) && (u2.__ = n2(), u2.__H = r2, u2.__h = n2), u2.__;
1741
1687
  }
1742
- function T$1(n2, t2) {
1743
- return o = 8, F$1(function() {
1688
+ function q$1(n2, t2) {
1689
+ return o = 8, T$1(function() {
1744
1690
  return n2;
1745
1691
  }, t2);
1746
1692
  }
1747
- function q$1(n2) {
1693
+ function x$1(n2) {
1748
1694
  var u2 = r.context[n2.__c], i2 = d(t++, 9);
1749
1695
  return i2.c = n2, u2 ? (null == i2.__ && (i2.__ = true, u2.sub(r)), u2.props.value) : n2.__;
1750
1696
  }
1751
- function x$1(t2, r2) {
1752
- l$2.useDebugValue && l$2.useDebugValue(r2 ? r2(t2) : t2);
1697
+ function P$1(n2, t2) {
1698
+ c.useDebugValue && c.useDebugValue(t2 ? t2(n2) : n2);
1753
1699
  }
1754
- function P$1(n2) {
1700
+ function b(n2) {
1755
1701
  var u2 = d(t++, 10), i2 = h();
1756
1702
  return u2.__ = n2, r.componentDidCatch || (r.componentDidCatch = function(n3, t2) {
1757
1703
  u2.__ && u2.__(n3, t2), i2[1](n3);
@@ -1759,7 +1705,7 @@ function P$1(n2) {
1759
1705
  i2[1](void 0);
1760
1706
  }];
1761
1707
  }
1762
- function V$1() {
1708
+ function g$1() {
1763
1709
  var n2 = d(t++, 11);
1764
1710
  if (!n2.__) {
1765
1711
  for (var u2 = r.__v; null !== u2 && !u2.__m && null !== u2.__; )
@@ -1769,80 +1715,84 @@ function V$1() {
1769
1715
  }
1770
1716
  return n2.__;
1771
1717
  }
1772
- function b() {
1773
- for (var t2; t2 = f.shift(); )
1774
- if (t2.__P && t2.__H)
1718
+ function j$1() {
1719
+ for (var n2; n2 = f.shift(); )
1720
+ if (n2.__P && n2.__H)
1775
1721
  try {
1776
- t2.__H.__h.forEach(k$1), t2.__H.__h.forEach(w$1), t2.__H.__h = [];
1777
- } catch (r2) {
1778
- t2.__H.__h = [], l$2.__e(r2, t2.__v);
1722
+ n2.__H.__h.forEach(z$1), n2.__H.__h.forEach(B$1), n2.__H.__h = [];
1723
+ } catch (t2) {
1724
+ n2.__H.__h = [], c.__e(t2, n2.__v);
1779
1725
  }
1780
1726
  }
1781
- l$2.__b = function(n2) {
1727
+ c.__b = function(n2) {
1782
1728
  r = null, e && e(n2);
1783
- }, l$2.__r = function(n2) {
1729
+ }, c.__ = function(n2, t2) {
1730
+ n2 && t2.__k && t2.__k.__m && (n2.__m = t2.__k.__m), s && s(n2, t2);
1731
+ }, c.__r = function(n2) {
1784
1732
  a && a(n2), t = 0;
1785
1733
  var i2 = (r = n2.__c).__H;
1786
1734
  i2 && (u === r ? (i2.__h = [], r.__h = [], i2.__.forEach(function(n3) {
1787
- n3.__N && (n3.__ = n3.__N), n3.__V = c, n3.__N = n3.i = void 0;
1788
- })) : (i2.__h.forEach(k$1), i2.__h.forEach(w$1), i2.__h = [], t = 0)), u = r;
1789
- }, l$2.diffed = function(t2) {
1790
- v && v(t2);
1791
- var o2 = t2.__c;
1792
- 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) {
1793
- n2.i && (n2.__H = n2.i), n2.__V !== c && (n2.__ = n2.__V), n2.i = void 0, n2.__V = c;
1735
+ n3.__N && (n3.__ = n3.__N), n3.i = n3.__N = void 0;
1736
+ })) : (i2.__h.forEach(z$1), i2.__h.forEach(B$1), i2.__h = [], t = 0)), u = r;
1737
+ }, c.diffed = function(n2) {
1738
+ v && v(n2);
1739
+ var t2 = n2.__c;
1740
+ 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) {
1741
+ n3.i && (n3.__H = n3.i), n3.i = void 0;
1794
1742
  })), u = r = null;
1795
- }, l$2.__c = function(t2, r2) {
1796
- r2.some(function(t3) {
1743
+ }, c.__c = function(n2, t2) {
1744
+ t2.some(function(n3) {
1797
1745
  try {
1798
- t3.__h.forEach(k$1), t3.__h = t3.__h.filter(function(n2) {
1799
- return !n2.__ || w$1(n2);
1746
+ n3.__h.forEach(z$1), n3.__h = n3.__h.filter(function(n4) {
1747
+ return !n4.__ || B$1(n4);
1800
1748
  });
1801
- } catch (u2) {
1802
- r2.some(function(n2) {
1803
- n2.__h && (n2.__h = []);
1804
- }), r2 = [], l$2.__e(u2, t3.__v);
1749
+ } catch (r2) {
1750
+ t2.some(function(n4) {
1751
+ n4.__h && (n4.__h = []);
1752
+ }), t2 = [], c.__e(r2, n3.__v);
1805
1753
  }
1806
- }), l && l(t2, r2);
1807
- }, l$2.unmount = function(t2) {
1808
- m && m(t2);
1809
- var r2, u2 = t2.__c;
1810
- u2 && u2.__H && (u2.__H.__.forEach(function(n2) {
1754
+ }), l && l(n2, t2);
1755
+ }, c.unmount = function(n2) {
1756
+ m && m(n2);
1757
+ var t2, r2 = n2.__c;
1758
+ r2 && r2.__H && (r2.__H.__.forEach(function(n3) {
1811
1759
  try {
1812
- k$1(n2);
1813
- } catch (n3) {
1814
- r2 = n3;
1760
+ z$1(n3);
1761
+ } catch (n4) {
1762
+ t2 = n4;
1815
1763
  }
1816
- }), u2.__H = void 0, r2 && l$2.__e(r2, u2.__v));
1764
+ }), r2.__H = void 0, t2 && c.__e(t2, r2.__v));
1817
1765
  };
1818
- var g$1 = "function" == typeof requestAnimationFrame;
1819
- function j$1(n2) {
1766
+ var k$1 = "function" == typeof requestAnimationFrame;
1767
+ function w$1(n2) {
1820
1768
  var t2, r2 = function() {
1821
- clearTimeout(u2), g$1 && cancelAnimationFrame(t2), setTimeout(n2);
1769
+ clearTimeout(u2), k$1 && cancelAnimationFrame(t2), setTimeout(n2);
1822
1770
  }, u2 = setTimeout(r2, 100);
1823
- g$1 && (t2 = requestAnimationFrame(r2));
1771
+ k$1 && (t2 = requestAnimationFrame(r2));
1824
1772
  }
1825
- function k$1(n2) {
1773
+ function z$1(n2) {
1826
1774
  var t2 = r, u2 = n2.__c;
1827
1775
  "function" == typeof u2 && (n2.__c = void 0, u2()), r = t2;
1828
1776
  }
1829
- function w$1(n2) {
1777
+ function B$1(n2) {
1830
1778
  var t2 = r;
1831
1779
  n2.__c = n2.__(), r = t2;
1832
1780
  }
1833
- function z$1(n2, t2) {
1781
+ function C$1(n2, t2) {
1834
1782
  return !n2 || n2.length !== t2.length || t2.some(function(t3, r2) {
1835
1783
  return t3 !== n2[r2];
1836
1784
  });
1837
1785
  }
1838
- function B$1(n2, t2) {
1786
+ function D$1(n2, t2) {
1839
1787
  return "function" == typeof t2 ? t2(n2) : t2;
1840
1788
  }
1841
1789
  const cacheKey = (value) => {
1842
- const filterString = Object.entries(value.filter).sort(([key1], [key2]) => key1.localeCompare(key2)).map(([key, value2]) => {
1843
- var _a;
1844
- 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}`;
1845
- }).join("&");
1790
+ const filterString = Object.entries(value.filter).sort(([key1], [key2]) => key1.localeCompare(key2)).map(
1791
+ ([key, value2]) => {
1792
+ var _a;
1793
+ 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}`;
1794
+ }
1795
+ ).join("&");
1846
1796
  return `${value.baseKey}::${filterString}`;
1847
1797
  };
1848
1798
  const jobSearch = "";
@@ -1863,37 +1813,23 @@ const AlertsButton = ({
1863
1813
  appliedFilters
1864
1814
  }) => {
1865
1815
  const [plugin, setPlugin] = h();
1866
- p(() => {
1867
- Promise.resolve().then(() => require("./plugin-job-alerts-16396947.cjs")).then((m2) => setPlugin(m2.jobAlertsPlugin()({
1868
- analytics,
1869
- apiClient,
1870
- logger
1871
- })));
1816
+ y(() => {
1817
+ Promise.resolve().then(() => require("./plugin-job-alerts-ee47a7fb.cjs")).then((m2) => setPlugin(m2.jobAlertsPlugin()({ analytics, apiClient, logger })));
1872
1818
  }, [analytics, apiClient, logger]);
1873
- p(() => {
1874
- plugin == null ? void 0 : plugin.render({
1875
- config: {
1876
- label: "Create alert",
1877
- headerText: "asd"
1878
- },
1879
- initialFilters: {},
1880
- theme
1881
- });
1819
+ y(() => {
1820
+ plugin == null ? void 0 : plugin.render({ config: { label: "Create alert", headerText: "asd" }, initialFilters: {}, theme });
1882
1821
  });
1883
- p(() => {
1822
+ y(() => {
1884
1823
  plugin == null ? void 0 : plugin.setFilters(getFilterValues(appliedFilters));
1885
1824
  }, [appliedFilters, plugin]);
1886
- return u$1("div", {
1887
- id: "inploi-job-alerts",
1888
- class: "min-h-[36px]"
1889
- });
1825
+ return /* @__PURE__ */ u$1("div", { id: "inploi-job-alerts", class: "min-h-[36px]" });
1890
1826
  };
1891
1827
  function g(n2, t2) {
1892
1828
  for (var e2 in t2)
1893
1829
  n2[e2] = t2[e2];
1894
1830
  return n2;
1895
1831
  }
1896
- function C(n2, t2) {
1832
+ function E(n2, t2) {
1897
1833
  for (var e2 in n2)
1898
1834
  if ("__source" !== e2 && !(e2 in t2))
1899
1835
  return true;
@@ -1902,73 +1838,73 @@ function C(n2, t2) {
1902
1838
  return true;
1903
1839
  return false;
1904
1840
  }
1905
- function E(n2) {
1906
- this.props = n2;
1841
+ function C(n2, t2) {
1842
+ this.props = n2, this.context = t2;
1907
1843
  }
1908
- function w(n2, e2) {
1844
+ function x(n2, e2) {
1909
1845
  function r2(n3) {
1910
1846
  var t2 = this.props.ref, r3 = t2 == n3.ref;
1911
- return !r3 && t2 && (t2.call ? t2(null) : t2.current = null), e2 ? !e2(this.props, n3) || !r3 : C(this.props, n3);
1847
+ return !r3 && t2 && (t2.call ? t2(null) : t2.current = null), e2 ? !e2(this.props, n3) || !r3 : E(this.props, n3);
1912
1848
  }
1913
1849
  function u2(e3) {
1914
- return this.shouldComponentUpdate = r2, y$2(n2, e3);
1850
+ return this.shouldComponentUpdate = r2, _$1(n2, e3);
1915
1851
  }
1916
1852
  return u2.displayName = "Memo(" + (n2.displayName || n2.name) + ")", u2.prototype.isReactComponent = true, u2.__f = true, u2;
1917
1853
  }
1918
- (E.prototype = new b$2()).isPureReactComponent = true, E.prototype.shouldComponentUpdate = function(n2, t2) {
1919
- return C(this.props, n2) || C(this.state, t2);
1854
+ (C.prototype = new b$2()).isPureReactComponent = true, C.prototype.shouldComponentUpdate = function(n2, t2) {
1855
+ return E(this.props, n2) || E(this.state, t2);
1920
1856
  };
1921
- var x = l$2.__b;
1857
+ var R = l$2.__b;
1922
1858
  l$2.__b = function(n2) {
1923
- n2.type && n2.type.__f && n2.ref && (n2.props.ref = n2.ref, n2.ref = null), x && x(n2);
1859
+ n2.type && n2.type.__f && n2.ref && (n2.props.ref = n2.ref, n2.ref = null), R && R(n2);
1924
1860
  };
1925
- var R = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.forward_ref") || 3911;
1926
- function N(n2) {
1861
+ var w = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.forward_ref") || 3911;
1862
+ function k(n2) {
1927
1863
  function t2(t3) {
1928
1864
  var e2 = g({}, t3);
1929
1865
  return delete e2.ref, n2(e2, t3.ref || null);
1930
1866
  }
1931
- return t2.$$typeof = R, t2.render = t2, t2.prototype.isReactComponent = t2.__f = true, t2.displayName = "ForwardRef(" + (n2.displayName || n2.name) + ")", t2;
1867
+ return t2.$$typeof = w, t2.render = t2, t2.prototype.isReactComponent = t2.__f = true, t2.displayName = "ForwardRef(" + (n2.displayName || n2.name) + ")", t2;
1932
1868
  }
1933
- var k = function(n2, t2) {
1934
- return null == n2 ? null : $$1($$1(n2).map(t2));
1935
- }, A = { map: k, forEach: k, count: function(n2) {
1936
- return n2 ? $$1(n2).length : 0;
1869
+ var I = function(n2, t2) {
1870
+ return null == n2 ? null : H$1(H$1(n2).map(t2));
1871
+ }, N = { map: I, forEach: I, count: function(n2) {
1872
+ return n2 ? H$1(n2).length : 0;
1937
1873
  }, only: function(n2) {
1938
- var t2 = $$1(n2);
1874
+ var t2 = H$1(n2);
1939
1875
  if (1 !== t2.length)
1940
1876
  throw "Children.only";
1941
1877
  return t2[0];
1942
- }, toArray: $$1 }, O = l$2.__e;
1878
+ }, toArray: H$1 }, M = l$2.__e;
1943
1879
  l$2.__e = function(n2, t2, e2, r2) {
1944
1880
  if (n2.then) {
1945
1881
  for (var u2, o2 = t2; o2 = o2.__; )
1946
1882
  if ((u2 = o2.__c) && u2.__c)
1947
1883
  return null == t2.__e && (t2.__e = e2.__e, t2.__k = e2.__k), u2.__c(n2, t2);
1948
1884
  }
1949
- O(n2, t2, e2, r2);
1885
+ M(n2, t2, e2, r2);
1950
1886
  };
1951
1887
  var T = l$2.unmount;
1952
- function F(n2, t2, e2) {
1888
+ function A(n2, t2, e2) {
1953
1889
  return n2 && (n2.__c && n2.__c.__H && (n2.__c.__H.__.forEach(function(n3) {
1954
1890
  "function" == typeof n3.__c && n3.__c();
1955
1891
  }), 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) {
1956
- return F(n3, t2, e2);
1892
+ return A(n3, t2, e2);
1957
1893
  })), n2;
1958
1894
  }
1959
- function I(n2, t2, e2) {
1895
+ function D(n2, t2, e2) {
1960
1896
  return n2 && e2 && (n2.__v = null, n2.__k = n2.__k && n2.__k.map(function(n3) {
1961
- return I(n3, t2, e2);
1897
+ return D(n3, t2, e2);
1962
1898
  }), n2.__c && n2.__c.__P === t2 && (n2.__e && e2.appendChild(n2.__e), n2.__c.__e = true, n2.__c.__P = e2)), n2;
1963
1899
  }
1964
1900
  function L() {
1965
1901
  this.__u = 0, this.t = null, this.__b = null;
1966
1902
  }
1967
- function U(n2) {
1903
+ function O(n2) {
1968
1904
  var t2 = n2.__.__c;
1969
1905
  return t2 && t2.__a && t2.__a(n2);
1970
1906
  }
1971
- function D(n2) {
1907
+ function F(n2) {
1972
1908
  var e2, r2, u2;
1973
1909
  function o2(o3) {
1974
1910
  if (e2 || (e2 = n2()).then(function(n3) {
@@ -1979,11 +1915,11 @@ function D(n2) {
1979
1915
  throw u2;
1980
1916
  if (!r2)
1981
1917
  throw e2;
1982
- return y$2(r2, o3);
1918
+ return _$1(r2, o3);
1983
1919
  }
1984
1920
  return o2.displayName = "Lazy", o2.__f = true, o2;
1985
1921
  }
1986
- function M() {
1922
+ function U() {
1987
1923
  this.u = null, this.o = null;
1988
1924
  }
1989
1925
  l$2.unmount = function(n2) {
@@ -1992,15 +1928,15 @@ l$2.unmount = function(n2) {
1992
1928
  }, (L.prototype = new b$2()).__c = function(n2, t2) {
1993
1929
  var e2 = t2.__c, r2 = this;
1994
1930
  null == r2.t && (r2.t = []), r2.t.push(e2);
1995
- var u2 = U(r2.__v), o2 = false, i2 = function() {
1996
- o2 || (o2 = true, e2.__R = null, u2 ? u2(l2) : l2());
1931
+ var u2 = O(r2.__v), o2 = false, i2 = function() {
1932
+ o2 || (o2 = true, e2.__R = null, u2 ? u2(c2) : c2());
1997
1933
  };
1998
1934
  e2.__R = i2;
1999
- var l2 = function() {
1935
+ var c2 = function() {
2000
1936
  if (!--r2.__u) {
2001
1937
  if (r2.state.__a) {
2002
1938
  var n3 = r2.state.__a;
2003
- r2.__v.__k[0] = I(n3, n3.__c.__P, n3.__c.__O);
1939
+ r2.__v.__k[0] = D(n3, n3.__c.__P, n3.__c.__O);
2004
1940
  }
2005
1941
  var t3;
2006
1942
  for (r2.setState({ __a: r2.__b = null }); t3 = r2.t.pop(); )
@@ -2014,12 +1950,12 @@ l$2.unmount = function(n2) {
2014
1950
  if (this.__b) {
2015
1951
  if (this.__v.__k) {
2016
1952
  var r2 = document.createElement("div"), o2 = this.__v.__k[0].__c;
2017
- this.__v.__k[0] = F(this.__b, r2, o2.__O = o2.__P);
1953
+ this.__v.__k[0] = A(this.__b, r2, o2.__O = o2.__P);
2018
1954
  }
2019
1955
  this.__b = null;
2020
1956
  }
2021
- var i2 = e2.__a && y$2(g$3, null, n2.fallback);
2022
- return i2 && (i2.__u &= -33), [y$2(g$3, null, e2.__a ? null : n2.children), i2];
1957
+ var i2 = e2.__a && _$1(k$3, null, n2.fallback);
1958
+ return i2 && (i2.__u &= -33), [_$1(k$3, null, e2.__a ? null : n2.children), i2];
2023
1959
  };
2024
1960
  var V = function(n2, t2, e2) {
2025
1961
  if (++e2[1] === e2[0] && n2.o.delete(t2), n2.props.revealOrder && ("t" !== n2.props.revealOrder[0] || !n2.o.size))
@@ -2039,35 +1975,37 @@ function W(n2) {
2039
1975
  function P(n2) {
2040
1976
  var e2 = this, r2 = n2.i;
2041
1977
  e2.componentWillUnmount = function() {
2042
- q$2(null, e2.l), e2.l = null, e2.i = null;
2043
- }, e2.i && e2.i !== r2 && e2.componentWillUnmount(), e2.l || (e2.i = r2, e2.l = { nodeType: 1, parentNode: r2, childNodes: [], appendChild: function(n3) {
1978
+ B$2(null, e2.l), e2.l = null, e2.i = null;
1979
+ }, e2.i && e2.i !== r2 && e2.componentWillUnmount(), e2.l || (e2.i = r2, e2.l = { nodeType: 1, parentNode: r2, childNodes: [], contains: function() {
1980
+ return true;
1981
+ }, appendChild: function(n3) {
2044
1982
  this.childNodes.push(n3), e2.i.appendChild(n3);
2045
1983
  }, insertBefore: function(n3, t2) {
2046
1984
  this.childNodes.push(n3), e2.i.appendChild(n3);
2047
1985
  }, removeChild: function(n3) {
2048
1986
  this.childNodes.splice(this.childNodes.indexOf(n3) >>> 1, 1), e2.i.removeChild(n3);
2049
- } }), q$2(y$2(W, { context: e2.context }, n2.__v), e2.l);
1987
+ } }), B$2(_$1(W, { context: e2.context }, n2.__v), e2.l);
2050
1988
  }
2051
1989
  function j(n2, e2) {
2052
- var r2 = y$2(P, { __v: n2, i: e2 });
1990
+ var r2 = _$1(P, { __v: n2, i: e2 });
2053
1991
  return r2.containerInfo = e2, r2;
2054
1992
  }
2055
- (M.prototype = new b$2()).__a = function(n2) {
2056
- var t2 = this, e2 = U(t2.__v), r2 = t2.o.get(n2);
1993
+ (U.prototype = new b$2()).__a = function(n2) {
1994
+ var t2 = this, e2 = O(t2.__v), r2 = t2.o.get(n2);
2057
1995
  return r2[0]++, function(u2) {
2058
1996
  var o2 = function() {
2059
1997
  t2.props.revealOrder ? (r2.push(u2), V(t2, n2, r2)) : u2();
2060
1998
  };
2061
1999
  e2 ? e2(o2) : o2();
2062
2000
  };
2063
- }, M.prototype.render = function(n2) {
2001
+ }, U.prototype.render = function(n2) {
2064
2002
  this.u = null, this.o = /* @__PURE__ */ new Map();
2065
- var t2 = $$1(n2.children);
2003
+ var t2 = H$1(n2.children);
2066
2004
  n2.revealOrder && "b" === n2.revealOrder[0] && t2.reverse();
2067
2005
  for (var e2 = t2.length; e2--; )
2068
2006
  this.o.set(t2[e2], this.u = [1, 0, this.u]);
2069
2007
  return n2.children;
2070
- }, M.prototype.componentDidUpdate = M.prototype.componentDidMount = function() {
2008
+ }, U.prototype.componentDidUpdate = U.prototype.componentDidMount = function() {
2071
2009
  var n2 = this;
2072
2010
  this.o.forEach(function(t2, e2) {
2073
2011
  V(n2, e2, t2);
@@ -2077,10 +2015,10 @@ var z = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.element"
2077
2015
  return ("undefined" != typeof Symbol && "symbol" == typeof Symbol() ? /fil|che|rad/ : /fil|che|ra/).test(n2);
2078
2016
  };
2079
2017
  function q(n2, t2, e2) {
2080
- return null == t2.__k && (t2.textContent = ""), q$2(n2, t2), "function" == typeof e2 && e2(), n2 ? n2.__c : null;
2018
+ return null == t2.__k && (t2.textContent = ""), B$2(n2, t2), "function" == typeof e2 && e2(), n2 ? n2.__c : null;
2081
2019
  }
2082
2020
  function G(n2, t2, e2) {
2083
- return B$2(n2, t2), "function" == typeof e2 && e2(), n2 ? n2.__c : null;
2021
+ return D$3(n2, t2), "function" == typeof e2 && e2(), n2 ? n2.__c : null;
2084
2022
  }
2085
2023
  b$2.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(t2) {
2086
2024
  Object.defineProperty(b$2.prototype, t2, { configurable: true, get: function() {
@@ -2110,13 +2048,13 @@ l$2.vnode = function(n2) {
2110
2048
  for (var o2 in t2) {
2111
2049
  var i2 = t2[o2];
2112
2050
  if (!("value" === o2 && "defaultValue" in t2 && null == i2 || Y && "children" === o2 && "noscript" === e2 || "class" === o2 || "className" === o2)) {
2113
- var l2 = o2.toLowerCase();
2114
- "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;
2051
+ var c2 = o2.toLowerCase();
2052
+ "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;
2115
2053
  }
2116
2054
  }
2117
- "select" == e2 && u2.multiple && Array.isArray(u2.value) && (u2.value = $$1(t2.children).forEach(function(n4) {
2055
+ "select" == e2 && u2.multiple && Array.isArray(u2.value) && (u2.value = H$1(t2.children).forEach(function(n4) {
2118
2056
  n4.props.selected = -1 != u2.value.indexOf(n4.props.value);
2119
- })), "select" == e2 && null != u2.defaultValue && (u2.value = $$1(t2.children).forEach(function(n4) {
2057
+ })), "select" == e2 && null != u2.defaultValue && (u2.value = H$1(t2.children).forEach(function(n4) {
2120
2058
  n4.props.selected = u2.multiple ? -1 != u2.defaultValue.indexOf(n4.props.value) : u2.defaultValue == n4.props.value;
2121
2059
  })), 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;
2122
2060
  }(n2), n2.$$typeof = z, en && en(n2);
@@ -2133,51 +2071,54 @@ l$2.diffed = function(n2) {
2133
2071
  };
2134
2072
  var on = { ReactCurrentDispatcher: { current: { readContext: function(n2) {
2135
2073
  return nn.__n[n2.__c].props.value;
2136
- } } } }, ln = "17.0.2";
2137
- function cn(n2) {
2138
- return y$2.bind(null, n2);
2074
+ }, 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";
2075
+ function ln(n2) {
2076
+ return _$1.bind(null, n2);
2139
2077
  }
2140
2078
  function fn(n2) {
2141
2079
  return !!n2 && n2.$$typeof === z;
2142
2080
  }
2143
2081
  function an(n2) {
2144
- return fn(n2) && n2.type === g$3;
2082
+ return fn(n2) && n2.type === k$3;
2145
2083
  }
2146
2084
  function sn(n2) {
2147
- return fn(n2) ? E$1.apply(null, arguments) : n2;
2085
+ return !!n2 && !!n2.displayName && ("string" == typeof n2.displayName || n2.displayName instanceof String) && n2.displayName.startsWith("Memo(");
2148
2086
  }
2149
2087
  function hn(n2) {
2150
- return !!n2.__k && (q$2(null, n2), true);
2088
+ return fn(n2) ? E$2.apply(null, arguments) : n2;
2151
2089
  }
2152
2090
  function vn(n2) {
2091
+ return !!n2.__k && (B$2(null, n2), true);
2092
+ }
2093
+ function dn(n2) {
2153
2094
  return n2 && (n2.base || 1 === n2.nodeType && n2) || null;
2154
2095
  }
2155
- var dn = function(n2, t2) {
2096
+ var pn = function(n2, t2) {
2156
2097
  return n2(t2);
2157
- }, pn = function(n2, t2) {
2098
+ }, mn = function(n2, t2) {
2158
2099
  return n2(t2);
2159
- }, mn = g$3;
2160
- function yn(n2) {
2100
+ }, yn = k$3;
2101
+ function _n(n2) {
2161
2102
  n2();
2162
2103
  }
2163
- function _n(n2) {
2104
+ function bn(n2) {
2164
2105
  return n2;
2165
2106
  }
2166
- function bn() {
2167
- return [false, yn];
2107
+ function Sn() {
2108
+ return [false, _n];
2168
2109
  }
2169
- var Sn = y, gn = fn;
2110
+ var gn = _, En = fn;
2170
2111
  function Cn(n2, t2) {
2171
2112
  var e2 = t2(), r2 = h({ h: { __: e2, v: t2 } }), u2 = r2[0].h, o2 = r2[1];
2172
- return y(function() {
2173
- u2.__ = e2, u2.v = t2, En(u2) && o2({ h: u2 });
2174
- }, [n2, e2, t2]), p(function() {
2175
- return En(u2) && o2({ h: u2 }), n2(function() {
2176
- En(u2) && o2({ h: u2 });
2113
+ return _(function() {
2114
+ u2.__ = e2, u2.v = t2, xn(u2) && o2({ h: u2 });
2115
+ }, [n2, e2, t2]), y(function() {
2116
+ return xn(u2) && o2({ h: u2 }), n2(function() {
2117
+ xn(u2) && o2({ h: u2 });
2177
2118
  });
2178
2119
  }, [n2]), e2;
2179
2120
  }
2180
- function En(n2) {
2121
+ function xn(n2) {
2181
2122
  var t2, e2, r2 = n2.v, u2 = n2.__;
2182
2123
  try {
2183
2124
  var o2 = r2();
@@ -2186,55 +2127,60 @@ function En(n2) {
2186
2127
  return true;
2187
2128
  }
2188
2129
  }
2189
- 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 };
2130
+ 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 };
2190
2131
  const compat_module = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2191
2132
  __proto__: null,
2192
- Children: A,
2133
+ Children: N,
2193
2134
  Component: b$2,
2194
- Fragment: g$3,
2195
- PureComponent: E,
2196
- StrictMode: mn,
2135
+ Fragment: k$3,
2136
+ PureComponent: C,
2137
+ StrictMode: yn,
2197
2138
  Suspense: L,
2198
- SuspenseList: M,
2139
+ SuspenseList: U,
2199
2140
  __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: on,
2200
- cloneElement: sn,
2201
- createContext: F$2,
2202
- createElement: y$2,
2203
- createFactory: cn,
2141
+ cloneElement: hn,
2142
+ createContext: G$1,
2143
+ createElement: _$1,
2144
+ createFactory: ln,
2204
2145
  createPortal: j,
2205
- createRef: _$2,
2206
- default: wn,
2207
- findDOMNode: vn,
2208
- flushSync: pn,
2209
- forwardRef: N,
2146
+ createRef: m$1,
2147
+ default: Rn,
2148
+ findDOMNode: dn,
2149
+ flushSync: mn,
2150
+ forwardRef: k,
2210
2151
  hydrate: G,
2211
- isElement: gn,
2152
+ isElement: En,
2212
2153
  isFragment: an,
2154
+ isMemo: sn,
2213
2155
  isValidElement: fn,
2214
- lazy: D,
2215
- memo: w,
2156
+ lazy: F,
2157
+ memo: x,
2216
2158
  render: q,
2217
- startTransition: yn,
2218
- unmountComponentAtNode: hn,
2219
- unstable_batchedUpdates: dn,
2220
- useCallback: T$1,
2221
- useContext: q$1,
2222
- useDebugValue: x$1,
2223
- useDeferredValue: _n,
2224
- useEffect: p,
2225
- useErrorBoundary: P$1,
2226
- useId: V$1,
2227
- useImperativeHandle: A$1,
2228
- useInsertionEffect: Sn,
2229
- useLayoutEffect: y,
2230
- useMemo: F$1,
2231
- useReducer: s,
2232
- useRef: _,
2159
+ startTransition: _n,
2160
+ unmountComponentAtNode: vn,
2161
+ unstable_batchedUpdates: pn,
2162
+ useCallback: q$1,
2163
+ useContext: x$1,
2164
+ useDebugValue: P$1,
2165
+ useDeferredValue: bn,
2166
+ useEffect: y,
2167
+ useErrorBoundary: b,
2168
+ useId: g$1,
2169
+ useImperativeHandle: F$1,
2170
+ useInsertionEffect: gn,
2171
+ useLayoutEffect: _,
2172
+ useMemo: T$1,
2173
+ useReducer: p,
2174
+ useRef: A$1,
2233
2175
  useState: h,
2234
2176
  useSyncExternalStore: Cn,
2235
- useTransition: bn,
2236
- version: ln
2177
+ useTransition: Sn,
2178
+ version: cn
2237
2179
  }, Symbol.toStringTag, { value: "Module" }));
2180
+ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
2181
+ function getDefaultExportFromCjs(x2) {
2182
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
2183
+ }
2238
2184
  function getAugmentedNamespace(n2) {
2239
2185
  if (n2.__esModule)
2240
2186
  return n2;
@@ -2461,12 +2407,12 @@ const UNDEFINED = (
2461
2407
  );
2462
2408
  const OBJECT = Object;
2463
2409
  const isUndefined = (v2) => v2 === UNDEFINED;
2464
- const isFunction = (v2) => typeof v2 == "function";
2410
+ const isFunction$2 = (v2) => typeof v2 == "function";
2465
2411
  const mergeObjects = (a2, b2) => ({
2466
2412
  ...a2,
2467
2413
  ...b2
2468
2414
  });
2469
- const isPromiseLike = (x2) => isFunction(x2.then);
2415
+ const isPromiseLike = (x2) => isFunction$2(x2.then);
2470
2416
  const table = /* @__PURE__ */ new WeakMap();
2471
2417
  let counter = 0;
2472
2418
  const stableHash = (arg) => {
@@ -2585,17 +2531,17 @@ const defaultConfigOptions = {
2585
2531
  initFocus,
2586
2532
  initReconnect
2587
2533
  };
2588
- const IS_REACT_LEGACY = !wn.useId;
2534
+ const IS_REACT_LEGACY = !Rn.useId;
2589
2535
  const IS_SERVER = !isWindowDefined || "Deno" in window;
2590
2536
  const rAF = (f2) => hasRequestAnimationFrame() ? window["requestAnimationFrame"](f2) : setTimeout(f2, 1);
2591
- const useIsomorphicLayoutEffect = IS_SERVER ? p : y;
2537
+ const useIsomorphicLayoutEffect = IS_SERVER ? y : _;
2592
2538
  const navigatorConnection = typeof navigator !== "undefined" && navigator.connection;
2593
2539
  const slowConnection = !IS_SERVER && navigatorConnection && ([
2594
2540
  "slow-2g",
2595
2541
  "2g"
2596
2542
  ].includes(navigatorConnection.effectiveType) || navigatorConnection.saveData);
2597
2543
  const serialize = (key) => {
2598
- if (isFunction(key)) {
2544
+ if (isFunction$2(key)) {
2599
2545
  try {
2600
2546
  key = key();
2601
2547
  } catch (err) {
@@ -2633,12 +2579,11 @@ async function internalMutate(...args) {
2633
2579
  let populateCache = options.populateCache;
2634
2580
  const rollbackOnErrorOption = options.rollbackOnError;
2635
2581
  let optimisticData = options.optimisticData;
2636
- const revalidate = options.revalidate !== false;
2637
2582
  const rollbackOnError = (error) => {
2638
2583
  return typeof rollbackOnErrorOption === "function" ? rollbackOnErrorOption(error) : rollbackOnErrorOption !== false;
2639
2584
  };
2640
2585
  const throwOnError = options.throwOnError;
2641
- if (isFunction(_key)) {
2586
+ if (isFunction$2(_key)) {
2642
2587
  const keyFilter = _key;
2643
2588
  const matchedKeys = [];
2644
2589
  const it = cache2.keys();
@@ -2657,18 +2602,19 @@ async function internalMutate(...args) {
2657
2602
  const [key] = serialize(_k);
2658
2603
  if (!key)
2659
2604
  return;
2660
- const [get, set] = createCacheHelper(cache2, key);
2605
+ const [get2, set] = createCacheHelper(cache2, key);
2661
2606
  const [EVENT_REVALIDATORS, MUTATION, FETCH, PRELOAD] = SWRGlobalState.get(cache2);
2662
2607
  const startRevalidate = () => {
2663
2608
  const revalidators = EVENT_REVALIDATORS[key];
2609
+ const revalidate = isFunction$2(options.revalidate) ? options.revalidate(get2().data, _k) : options.revalidate !== false;
2664
2610
  if (revalidate) {
2665
2611
  delete FETCH[key];
2666
2612
  delete PRELOAD[key];
2667
2613
  if (revalidators && revalidators[0]) {
2668
- return revalidators[0](MUTATE_EVENT).then(() => get().data);
2614
+ return revalidators[0](MUTATE_EVENT).then(() => get2().data);
2669
2615
  }
2670
2616
  }
2671
- return get().data;
2617
+ return get2().data;
2672
2618
  };
2673
2619
  if (args.length < 3) {
2674
2620
  return startRevalidate();
@@ -2681,18 +2627,18 @@ async function internalMutate(...args) {
2681
2627
  0
2682
2628
  ];
2683
2629
  const hasOptimisticData = !isUndefined(optimisticData);
2684
- const state = get();
2630
+ const state = get2();
2685
2631
  const displayedData = state.data;
2686
2632
  const currentData = state._c;
2687
2633
  const committedData = isUndefined(currentData) ? displayedData : currentData;
2688
2634
  if (hasOptimisticData) {
2689
- optimisticData = isFunction(optimisticData) ? optimisticData(committedData, displayedData) : optimisticData;
2635
+ optimisticData = isFunction$2(optimisticData) ? optimisticData(committedData, displayedData) : optimisticData;
2690
2636
  set({
2691
2637
  data: optimisticData,
2692
2638
  _c: committedData
2693
2639
  });
2694
2640
  }
2695
- if (isFunction(data)) {
2641
+ if (isFunction$2(data)) {
2696
2642
  try {
2697
2643
  data = data(committedData);
2698
2644
  } catch (err) {
@@ -2717,7 +2663,7 @@ async function internalMutate(...args) {
2717
2663
  }
2718
2664
  if (populateCache) {
2719
2665
  if (!error) {
2720
- if (isFunction(populateCache)) {
2666
+ if (isFunction$2(populateCache)) {
2721
2667
  const populateCachedData = populateCache(data, committedData);
2722
2668
  set({
2723
2669
  data: populateCachedData,
@@ -2863,17 +2809,17 @@ const mergeConfigs = (a2, b2) => {
2863
2809
  }
2864
2810
  return v2;
2865
2811
  };
2866
- const SWRConfigContext = F$2({});
2812
+ const SWRConfigContext = G$1({});
2867
2813
  const INFINITE_PREFIX = "$inf$";
2868
2814
  const enableDevtools = isWindowDefined && window.__SWR_DEVTOOLS_USE__;
2869
2815
  const use$1 = enableDevtools ? window.__SWR_DEVTOOLS_USE__ : [];
2870
2816
  const setupDevTools = () => {
2871
2817
  if (enableDevtools) {
2872
- window.__SWR_DEVTOOLS_REACT__ = wn;
2818
+ window.__SWR_DEVTOOLS_REACT__ = Rn;
2873
2819
  }
2874
2820
  };
2875
2821
  const normalize = (args) => {
2876
- return isFunction(args[1]) ? [
2822
+ return isFunction$2(args[1]) ? [
2877
2823
  args[0],
2878
2824
  args[1],
2879
2825
  args[2] || {}
@@ -2884,7 +2830,7 @@ const normalize = (args) => {
2884
2830
  ];
2885
2831
  };
2886
2832
  const useSWRConfig = () => {
2887
- return mergeObjects(defaultConfig, q$1(SWRConfigContext));
2833
+ return mergeObjects(defaultConfig, x$1(SWRConfigContext));
2888
2834
  };
2889
2835
  const middleware = (useSWRNext) => (key_, fetcher_, config) => {
2890
2836
  const fetcher = fetcher_ && ((...args) => {
@@ -2928,7 +2874,7 @@ const subscribeCallback = (key, callbacks, callback) => {
2928
2874
  };
2929
2875
  };
2930
2876
  setupDevTools();
2931
- const use = wn.use || ((promise) => {
2877
+ const use = Rn.use || ((promise) => {
2932
2878
  if (promise.status === "pending") {
2933
2879
  throw promise;
2934
2880
  } else if (promise.status === "fulfilled") {
@@ -2954,15 +2900,15 @@ const useSWRHandler = (_key, fetcher, config) => {
2954
2900
  const { cache: cache2, compare: compare2, suspense, fallbackData, revalidateOnMount, revalidateIfStale, refreshInterval, refreshWhenHidden, refreshWhenOffline, keepPreviousData } = config;
2955
2901
  const [EVENT_REVALIDATORS, MUTATION, FETCH, PRELOAD] = SWRGlobalState.get(cache2);
2956
2902
  const [key, fnArg] = serialize(_key);
2957
- const initialMountedRef = _(false);
2958
- const unmountedRef = _(false);
2959
- const keyRef = _(key);
2960
- const fetcherRef = _(fetcher);
2961
- const configRef = _(config);
2903
+ const initialMountedRef = A$1(false);
2904
+ const unmountedRef = A$1(false);
2905
+ const keyRef = A$1(key);
2906
+ const fetcherRef = A$1(fetcher);
2907
+ const configRef = A$1(config);
2962
2908
  const getConfig = () => configRef.current;
2963
2909
  const isActive = () => getConfig().isVisible() && getConfig().isOnline();
2964
2910
  const [getCache, setCache, subscribeCache, getInitialCache] = createCacheHelper(cache2, key);
2965
- const stateDependencies = _({}).current;
2911
+ const stateDependencies = A$1({}).current;
2966
2912
  const fallback = isUndefined(fallbackData) ? config.fallback[key] : fallbackData;
2967
2913
  const isEqual = (prev, current) => {
2968
2914
  for (const _2 in stateDependencies) {
@@ -2984,7 +2930,7 @@ const useSWRHandler = (_key, fetcher, config) => {
2984
2930
  }
2985
2931
  return true;
2986
2932
  };
2987
- const getSnapshot = F$1(() => {
2933
+ const getSnapshot = T$1(() => {
2988
2934
  const shouldStartRequest = (() => {
2989
2935
  if (!key)
2990
2936
  return false;
@@ -3038,7 +2984,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3038
2984
  cache2,
3039
2985
  key
3040
2986
  ]);
3041
- const cached = shimExports.useSyncExternalStore(T$1(
2987
+ const cached = shimExports.useSyncExternalStore(q$1(
3042
2988
  (callback) => subscribeCache(key, (current, prev) => {
3043
2989
  if (!isEqual(prev, current))
3044
2990
  callback();
@@ -3054,7 +3000,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3054
3000
  const cachedData = cached.data;
3055
3001
  const data = isUndefined(cachedData) ? fallback : cachedData;
3056
3002
  const error = cached.error;
3057
- const laggyDataRef = _(data);
3003
+ const laggyDataRef = A$1(data);
3058
3004
  const returnedData = keepPreviousData ? isUndefined(cachedData) ? laggyDataRef.current : cachedData : data;
3059
3005
  const shouldDoInitialRevalidation = (() => {
3060
3006
  if (hasRevalidator && !isUndefined(error))
@@ -3070,7 +3016,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3070
3016
  const defaultValidatingState = !!(key && fetcher && isInitialMount && shouldDoInitialRevalidation);
3071
3017
  const isValidating = isUndefined(cached.isValidating) ? defaultValidatingState : cached.isValidating;
3072
3018
  const isLoading = isUndefined(cached.isLoading) ? defaultValidatingState : cached.isLoading;
3073
- const revalidate = T$1(
3019
+ const revalidate = q$1(
3074
3020
  async (revalidateOpts) => {
3075
3021
  const currentFetcher = fetcherRef.current;
3076
3022
  if (!key || !currentFetcher || unmountedRef.current || getConfig().isPaused()) {
@@ -3163,8 +3109,8 @@ const useSWRHandler = (_key, fetcher, config) => {
3163
3109
  finalState.error = err;
3164
3110
  if (shouldStartNewRequest && callbackSafeguard()) {
3165
3111
  currentConfig.onError(err, key, currentConfig);
3166
- if (shouldRetryOnError === true || isFunction(shouldRetryOnError) && shouldRetryOnError(err)) {
3167
- if (isActive()) {
3112
+ if (shouldRetryOnError === true || isFunction$2(shouldRetryOnError) && shouldRetryOnError(err)) {
3113
+ if (!getConfig().revalidateOnFocus || !getConfig().revalidateOnReconnect || isActive()) {
3168
3114
  currentConfig.onErrorRetry(err, key, currentConfig, (_opts) => {
3169
3115
  const revalidators = EVENT_REVALIDATORS[key];
3170
3116
  if (revalidators && revalidators[0]) {
@@ -3199,7 +3145,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3199
3145
  cache2
3200
3146
  ]
3201
3147
  );
3202
- const boundMutate = T$1(
3148
+ const boundMutate = q$1(
3203
3149
  // Use callback to make sure `keyRef.current` returns latest result every time
3204
3150
  (...args) => {
3205
3151
  return internalMutate(cache2, keyRef.current, ...args);
@@ -3261,7 +3207,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3261
3207
  useIsomorphicLayoutEffect(() => {
3262
3208
  let timer;
3263
3209
  function next() {
3264
- const interval = isFunction(refreshInterval) ? refreshInterval(getCache().data) : refreshInterval;
3210
+ const interval = isFunction$2(refreshInterval) ? refreshInterval(getCache().data) : refreshInterval;
3265
3211
  if (interval && timer !== -1) {
3266
3212
  timer = setTimeout(execute, interval);
3267
3213
  }
@@ -3286,7 +3232,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3286
3232
  refreshWhenOffline,
3287
3233
  key
3288
3234
  ]);
3289
- x$1(returnedData);
3235
+ P$1(returnedData);
3290
3236
  if (suspense && isUndefined(data) && key) {
3291
3237
  if (!IS_REACT_LEGACY && IS_SERVER) {
3292
3238
  throw new Error("Fallback data is required when using suspense in SSR.");
@@ -3354,11 +3300,7 @@ const tagClass = cva({
3354
3300
  false: ""
3355
3301
  }
3356
3302
  },
3357
- compoundVariants: [{
3358
- disabled: false,
3359
- interactive: true,
3360
- class: "cursor-pointer active:scale-[0.975]"
3361
- }],
3303
+ compoundVariants: [{ disabled: false, interactive: true, class: "cursor-pointer active:scale-[0.975]" }],
3362
3304
  defaultVariants: {
3363
3305
  variant: "neutralWeak",
3364
3306
  size: "sm",
@@ -3366,11 +3308,7 @@ const tagClass = cva({
3366
3308
  interactive: false
3367
3309
  }
3368
3310
  });
3369
- const CurrentValueTag = ({
3370
- query,
3371
- property,
3372
- selectedValues
3373
- }) => {
3311
+ const CurrentValueTag = ({ query, property, selectedValues }) => {
3374
3312
  switch (query.state) {
3375
3313
  case "error":
3376
3314
  case "loading":
@@ -3385,26 +3323,21 @@ const CurrentValueTag = ({
3385
3323
  case 1: {
3386
3324
  const firstSuggestion = selectedSuggestions[0];
3387
3325
  invariant(firstSuggestion);
3388
- return u$1("span", {
3389
- class: tagClass({
3390
- size: "sm",
3391
- variant: "accentStrong",
3392
- interactive: true,
3393
- class: "truncate"
3394
- }),
3395
- children: firstSuggestion.label
3396
- });
3326
+ return /* @__PURE__ */ u$1("span", { class: tagClass({ size: "sm", variant: "accentStrong", interactive: true, class: "truncate" }), children: firstSuggestion.label });
3397
3327
  }
3398
3328
  default:
3399
- return u$1("span", {
3400
- class: tagClass({
3401
- size: "sm",
3402
- variant: "accentStrong",
3403
- interactive: true,
3404
- class: "ijs-filter-current truncate tabular-nums"
3405
- }),
3406
- children: selectedSuggestions.length
3407
- });
3329
+ return /* @__PURE__ */ u$1(
3330
+ "span",
3331
+ {
3332
+ class: tagClass({
3333
+ size: "sm",
3334
+ variant: "accentStrong",
3335
+ interactive: true,
3336
+ class: "ijs-filter-current truncate tabular-nums"
3337
+ }),
3338
+ children: selectedSuggestions.length
3339
+ }
3340
+ );
3408
3341
  }
3409
3342
  }
3410
3343
  default:
@@ -3441,7 +3374,7 @@ const FilterContentActive = ({
3441
3374
  onRender
3442
3375
  }) => {
3443
3376
  const filterQuery = getQueryState(useQuery());
3444
- const availablePropertyKeys = F$1(() => {
3377
+ const availablePropertyKeys = T$1(() => {
3445
3378
  switch (filterQuery.state) {
3446
3379
  case "error":
3447
3380
  case "loading":
@@ -3459,43 +3392,45 @@ const FilterContentActive = ({
3459
3392
  const hasValue = selectedValues.length > 0;
3460
3393
  const [displayCount, setDisplayCount] = h(SUGGESTION_COUNT);
3461
3394
  const [search, setSearch] = h();
3462
- p(() => {
3395
+ y(() => {
3463
3396
  onRender();
3464
3397
  });
3465
3398
  if (filterQuery.state === "error") {
3466
- return u$1(ErrorView, {
3467
- error: new Error("We’re having trouble loading available filters.", {
3468
- cause: filterQuery.error
3469
- }),
3470
- resetError: () => filterQuery.swr.mutate()
3471
- });
3399
+ return /* @__PURE__ */ u$1(
3400
+ ErrorView,
3401
+ {
3402
+ error: new Error("We’re having trouble loading available filters.", { cause: filterQuery.error }),
3403
+ resetError: () => filterQuery.swr.mutate()
3404
+ }
3405
+ );
3472
3406
  }
3473
- return u$1("div", {
3474
- class: "animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",
3475
- children: [property.searchable && u$1("div", {
3476
- class: "top-0 px-4 py-1",
3477
- children: u$1("input", {
3407
+ return /* @__PURE__ */ u$1("div", { class: "animate-slide-in-bottom flex w-full flex-col gap-2 pt-1", children: [
3408
+ property.searchable && /* @__PURE__ */ u$1("div", { class: "top-0 px-4 py-1", children: /* @__PURE__ */ u$1(
3409
+ "input",
3410
+ {
3478
3411
  type: "text",
3479
- class: inputClass({
3480
- hasValue
3481
- }),
3412
+ class: inputClass({ hasValue }),
3482
3413
  value: search,
3483
3414
  onInput: (e2) => setSearch(e2.currentTarget.value),
3484
3415
  placeholder: "Type to search"
3485
- })
3486
- }), (() => {
3416
+ }
3417
+ ) }),
3418
+ (() => {
3487
3419
  switch (unfilteredQuery.state) {
3488
3420
  case "error":
3489
- return u$1(ErrorView, {
3490
- error: new Error("We’re having trouble loading available filters.", {
3491
- cause: unfilteredQuery.error
3492
- }),
3493
- resetError: () => unfilteredQuery.swr.mutate()
3494
- });
3421
+ return /* @__PURE__ */ u$1(
3422
+ ErrorView,
3423
+ {
3424
+ error: new Error("We’re having trouble loading available filters.", {
3425
+ cause: unfilteredQuery.error
3426
+ }),
3427
+ resetError: () => unfilteredQuery.swr.mutate()
3428
+ }
3429
+ );
3495
3430
  case "loading":
3496
- return u$1("div", {
3497
- class: "flex px-4",
3498
- children: u$1("div", {
3431
+ return /* @__PURE__ */ u$1("div", { class: "flex px-4", children: /* @__PURE__ */ u$1(
3432
+ "div",
3433
+ {
3499
3434
  "aria-hidden": true,
3500
3435
  class: tagClass({
3501
3436
  size: "lg",
@@ -3503,144 +3438,137 @@ const FilterContentActive = ({
3503
3438
  interactive: true,
3504
3439
  class: "animate-skeleton cursor-default opacity-20 active:-scale-100"
3505
3440
  }),
3506
- children: u$1("span", {
3507
- class: "inline-block w-[10ch]"
3508
- })
3509
- })
3510
- });
3441
+ children: /* @__PURE__ */ u$1("span", { class: "inline-block w-[10ch]" })
3442
+ }
3443
+ ) });
3511
3444
  case "revalidating":
3512
3445
  case "loaded": {
3513
3446
  const allSuggestions = unfilteredQuery.data[property.key] ?? [];
3514
3447
  const filteredSuggestions = search && search.length > 1 ? allSuggestions.filter((s2) => s2.label.toLowerCase().includes(search.toLowerCase())) : allSuggestions;
3515
- const suggestions = filteredSuggestions.map((s2) => ({
3516
- ...s2,
3517
- disabled: availablePropertyKeys === null ? false : availablePropertyKeys[s2.value] !== true
3518
- }));
3448
+ const suggestions = [];
3449
+ for (const suggestion of filteredSuggestions) {
3450
+ if (suggestion.label.length < 1)
3451
+ continue;
3452
+ const statefulSuggestion = {
3453
+ ...suggestion,
3454
+ disabled: availablePropertyKeys === null ? false : availablePropertyKeys[suggestion.value] !== true
3455
+ };
3456
+ switch (property.results) {
3457
+ case "only-available":
3458
+ if (statefulSuggestion.disabled == false)
3459
+ suggestions.push(statefulSuggestion);
3460
+ break;
3461
+ default:
3462
+ suggestions.push(statefulSuggestion);
3463
+ }
3464
+ }
3519
3465
  const noEnabledOptions = !suggestions.find((suggestion) => !suggestion.disabled);
3520
3466
  if (noEnabledOptions)
3521
- return u$1("p", {
3522
- class: "font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center",
3523
- children: "No filter options available."
3524
- });
3525
- return u$1("div", {
3526
- class: "pointer-fine:px-4",
3527
- children: u$1("ul", {
3528
- style: {
3529
- maxHeight: (TAG_HEIGHT + GAP) * (LINE_COUNT - 1) + TAG_HEIGHT / 2 + 2 * PADDING_Y
3530
- },
3467
+ 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." });
3468
+ return /* @__PURE__ */ u$1("div", { class: "pointer-fine:px-4", children: /* @__PURE__ */ u$1(
3469
+ "ul",
3470
+ {
3471
+ style: { maxHeight: (TAG_HEIGHT + GAP) * (LINE_COUNT - 1) + TAG_HEIGHT / 2 + 2 * PADDING_Y },
3531
3472
  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",
3532
- children: [suggestions.slice(0, displayCount).map((suggestion) => {
3533
- const active = selectedValues.includes(suggestion.value);
3534
- return u$1("li", {
3535
- class: "animate-appear-tag max-w-full origin-top",
3536
- children: u$1("button", {
3537
- disabled: suggestion.disabled,
3538
- "data-filter": true,
3539
- "data-current-value": active ? "true" : void 0,
3540
- onClick: () => {
3541
- switch (value.select) {
3542
- case "many": {
3543
- const newValue = toggleInArray(selectedValues, suggestion.value);
3544
- onValueChange({
3545
- select: "many",
3546
- value: newValue
3547
- });
3548
- break;
3473
+ children: [
3474
+ suggestions.slice(0, displayCount).map((suggestion) => {
3475
+ const active = selectedValues.includes(suggestion.value);
3476
+ return /* @__PURE__ */ u$1("li", { class: "animate-appear-tag max-w-full origin-top", children: /* @__PURE__ */ u$1(
3477
+ "button",
3478
+ {
3479
+ disabled: suggestion.disabled,
3480
+ "data-filter": true,
3481
+ "data-current-value": active ? "true" : void 0,
3482
+ onClick: () => {
3483
+ switch (value.select) {
3484
+ case "many": {
3485
+ const newValue = toggleInArray(selectedValues, suggestion.value);
3486
+ onValueChange({ select: "many", value: newValue });
3487
+ break;
3488
+ }
3489
+ case "one":
3490
+ onValueChange({ select: "one", value: suggestion.value });
3491
+ break;
3492
+ default:
3493
+ exhaustive(value);
3549
3494
  }
3550
- case "one":
3551
- onValueChange({
3552
- select: "one",
3553
- value: suggestion.value
3554
- });
3555
- break;
3556
- default:
3557
- exhaustive(value);
3558
- }
3559
- },
3560
- class: tagClass({
3495
+ },
3496
+ class: tagClass({
3497
+ size: "lg",
3498
+ variant: active ? "accentStrong" : "neutralStrong",
3499
+ interactive: true,
3500
+ disabled: suggestion.disabled,
3501
+ class: "ijs-filter-tag"
3502
+ }),
3503
+ children: suggestion.label
3504
+ }
3505
+ ) }, suggestion.value);
3506
+ }),
3507
+ 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(
3508
+ "button",
3509
+ {
3510
+ class: btnClass({
3511
+ variant: "neutral",
3512
+ icon: "right",
3561
3513
  size: "lg",
3562
- variant: active ? "accentStrong" : "neutralStrong",
3563
- interactive: true,
3564
- disabled: suggestion.disabled,
3565
- class: "ijs-filter-tag"
3514
+ class: "border-px flex w-full max-w-full flex-none flex-nowrap justify-center truncate border-transparent"
3566
3515
  }),
3567
- children: suggestion.label
3568
- })
3569
- }, suggestion.value);
3570
- }), suggestions.length > displayCount && u$1("li", {
3571
- class: "animate-appear-tag pointer-fine:w-full max-w-full flex-none origin-top",
3572
- children: u$1("button", {
3573
- class: btnClass({
3574
- variant: "neutral",
3575
- icon: "right",
3576
- size: "lg",
3577
- class: "border-px flex w-full max-w-full flex-none flex-nowrap justify-center truncate border-transparent"
3578
- }),
3579
- onClick: () => {
3580
- setDisplayCount(displayCount + SUGGESTION_COUNT);
3581
- },
3582
- children: [u$1("span", {
3583
- class: "font-style-tag font-family-tag font-weight-tag text-style-tag",
3584
- children: "Show More"
3585
- }), u$1(Icon, {
3586
- "aria-hidden": true,
3587
- name: "plus"
3588
- })]
3589
- })
3590
- })]
3591
- })
3592
- });
3516
+ onClick: () => {
3517
+ setDisplayCount(displayCount + SUGGESTION_COUNT);
3518
+ },
3519
+ children: [
3520
+ /* @__PURE__ */ u$1("span", { class: "font-style-tag font-family-tag font-weight-tag text-style-tag", children: "Show More" }),
3521
+ /* @__PURE__ */ u$1(Icon, { "aria-hidden": true, name: "plus" })
3522
+ ]
3523
+ }
3524
+ ) })
3525
+ ]
3526
+ }
3527
+ ) });
3593
3528
  }
3594
3529
  default:
3595
3530
  exhaustive(unfilteredQuery);
3596
3531
  }
3597
- })(), u$1("footer", {
3598
- class: "flex justify-end p-2",
3599
- children: [u$1("div", {
3600
- class: "flex-1",
3601
- children: hasValue && u$1("button", {
3602
- class: btnClass({
3603
- variant: "neutral",
3604
- icon: "left"
3605
- }),
3532
+ })(),
3533
+ /* @__PURE__ */ u$1("footer", { class: "flex justify-end p-2", children: [
3534
+ /* @__PURE__ */ u$1("div", { class: "flex-1", children: hasValue && /* @__PURE__ */ u$1(
3535
+ "button",
3536
+ {
3537
+ class: btnClass({ variant: "neutral", icon: "left" }),
3606
3538
  onClick: () => {
3607
3539
  onValueChange(void 0);
3608
3540
  },
3609
- children: [u$1(Icon, {
3610
- "aria-hidden": true,
3611
- name: "x"
3612
- }), " Clear"]
3613
- })
3614
- }), value.select === "many" && u$1("div", {
3615
- class: "flex items-center overflow-hidden",
3616
- children: u$1("p", {
3617
- class: "font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center",
3618
- children: [selectedValues.length, " selected"]
3619
- })
3620
- }), u$1("div", {
3621
- class: "flex-1",
3622
- children: u$1("button", {
3623
- class: btnClass({
3624
- variant: hasValue ? "accent" : "neutral",
3625
- icon: "right",
3626
- class: "ml-auto"
3627
- }),
3541
+ children: [
3542
+ /* @__PURE__ */ u$1(Icon, { "aria-hidden": true, name: "x" }),
3543
+ " Clear"
3544
+ ]
3545
+ }
3546
+ ) }),
3547
+ 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: [
3548
+ selectedValues.length,
3549
+ " selected"
3550
+ ] }) }),
3551
+ /* @__PURE__ */ u$1("div", { class: "flex-1", children: /* @__PURE__ */ u$1(
3552
+ "button",
3553
+ {
3554
+ class: btnClass({ variant: hasValue ? "accent" : "neutral", icon: "right", class: "ml-auto" }),
3628
3555
  onClick: onSkip,
3629
- children: [hasValue ? "Done" : "Skip", " ", u$1(Icon, {
3630
- name: "chevron-right"
3631
- })]
3632
- }, hasValue ? "done" : "skip")
3633
- })]
3634
- })]
3635
- });
3556
+ children: [
3557
+ hasValue ? "Done" : "Skip",
3558
+ " ",
3559
+ /* @__PURE__ */ u$1(Icon, { name: "chevron-right" })
3560
+ ]
3561
+ },
3562
+ hasValue ? "done" : "skip"
3563
+ ) })
3564
+ ] })
3565
+ ] });
3636
3566
  };
3637
3567
  const filterIcons = {
3638
3568
  contract_type: "clock",
3639
3569
  title: "magnifier",
3640
3570
  city: "mapPin",
3641
3571
  town: "mapPin",
3642
- address_1: "mapPin",
3643
- address_2: "mapPin",
3644
3572
  country: "mapPin",
3645
3573
  company_name: "briefcase",
3646
3574
  category: "briefcase"
@@ -3668,22 +3596,18 @@ const chevronClass = cva({
3668
3596
  base: "flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"
3669
3597
  });
3670
3598
  const useMeasureHeight = (dependencies) => {
3671
- const ref = _(null);
3599
+ const ref = A$1(null);
3672
3600
  const [height, setHeight] = h(0);
3673
3601
  const updateHeight = () => {
3674
3602
  var _a;
3675
3603
  return setHeight(((_a = ref.current) == null ? void 0 : _a.clientHeight) ?? 0);
3676
3604
  };
3677
- y(() => {
3605
+ _(() => {
3678
3606
  updateHeight();
3679
3607
  window.addEventListener("resize", updateHeight);
3680
3608
  return () => window.removeEventListener("resize", updateHeight);
3681
3609
  }, dependencies);
3682
- return {
3683
- height,
3684
- ref,
3685
- updateHeight
3686
- };
3610
+ return { height, ref, updateHeight };
3687
3611
  };
3688
3612
  const getSelectedValues = (current) => typeof current.value === "string" ? [current.value] : current.value ?? [];
3689
3613
  const Filter = ({
@@ -3696,81 +3620,69 @@ const Filter = ({
3696
3620
  unfilteredQuery,
3697
3621
  useQuery
3698
3622
  }) => {
3699
- const icon = property.icon ?? filterIcons[property.key] ?? "filter";
3623
+ const defaultIcon = isKeyInObj(property.key, filterIcons) ? filterIcons[property.key] : void 0;
3624
+ const icon = property.icon ?? defaultIcon ?? "filter";
3700
3625
  const selectedValues = getSelectedValues(value);
3701
- const {
3702
- height,
3703
- ref: contentRef,
3704
- updateHeight
3705
- } = useMeasureHeight([active]);
3626
+ const { height, ref: contentRef, updateHeight } = useMeasureHeight([active]);
3706
3627
  const hasValue = selectedValues.length > 0;
3707
- return u$1("section", {
3708
- "data-filter-key": property.key,
3709
- role: "tab",
3710
- "aria-label": property.label,
3711
- "aria-selected": active ? "true" : void 0,
3712
- class: wrapperClass$1({
3713
- hasValue
3714
- }),
3715
- onTouchStart: noop,
3716
- children: [u$1("div", {
3717
- class: "min-w-0 max-w-full shrink-0 flex-grow",
3718
- children: [u$1("button", {
3719
- "aria-label": active ? "Close filter" : "Open filter",
3720
- class: headerClass({
3721
- state: active ? "active" : hasValue ? "filled" : "default",
3722
- class: "ijs-filter-heading rounded-section fr-child flex w-full cursor-pointer select-none items-center gap-2 py-4 pl-4"
3723
- }),
3724
- onClick: () => onActiveChange(!active),
3725
- children: [u$1(Icon, {
3726
- "aria-hidden": true,
3727
- class: "flex-none",
3728
- name: icon
3729
- }), u$1("p", {
3730
- children: property.label
3731
- })]
3732
- }), u$1("div", {
3733
- class: "ease-expo-out duration-snappy relative overflow-hidden transition-all",
3734
- style: {
3735
- height
3736
- },
3737
- children: u$1("div", {
3738
- class: "w-full",
3739
- ref: contentRef,
3740
- children: active && u$1(FilterContentActive, {
3741
- useQuery,
3742
- onRender: updateHeight,
3743
- onSkip,
3744
- onValueChange,
3745
- unfilteredQuery,
3746
- property,
3747
- value
3748
- })
3749
- })
3750
- })]
3751
- }), !active && u$1("button", {
3752
- tabIndex: -1,
3753
- 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",
3754
- onClick: () => onActiveChange(true),
3755
- children: [u$1("div", {
3756
- "aria-label": "Current value",
3757
- class: "flex max-w-full gap-1 overflow-hidden",
3758
- children: u$1(CurrentValueTag, {
3759
- property,
3760
- query: unfilteredQuery,
3761
- selectedValues
3762
- })
3763
- }), u$1(Icon, {
3764
- "aria-hidden": true,
3765
- class: chevronClass(),
3766
- name: "chevron-right"
3767
- })]
3768
- })]
3769
- });
3628
+ return /* @__PURE__ */ u$1(
3629
+ "section",
3630
+ {
3631
+ "data-filter-key": property.key,
3632
+ role: "tab",
3633
+ "aria-label": property.label,
3634
+ "aria-selected": active ? "true" : void 0,
3635
+ class: wrapperClass$1({ hasValue }),
3636
+ onTouchStart: noop,
3637
+ children: [
3638
+ /* @__PURE__ */ u$1("div", { class: "min-w-0 max-w-full shrink-0 flex-grow", children: [
3639
+ /* @__PURE__ */ u$1(
3640
+ "button",
3641
+ {
3642
+ "aria-label": active ? "Close filter" : "Open filter",
3643
+ class: headerClass({
3644
+ state: active ? "active" : hasValue ? "filled" : "default",
3645
+ class: "ijs-filter-heading rounded-section fr-child flex w-full cursor-pointer select-none items-center gap-2 py-4 pl-4"
3646
+ }),
3647
+ onClick: () => onActiveChange(!active),
3648
+ children: [
3649
+ /* @__PURE__ */ u$1(Icon, { "aria-hidden": true, class: "flex-none", name: icon }),
3650
+ /* @__PURE__ */ u$1("p", { children: property.label })
3651
+ ]
3652
+ }
3653
+ ),
3654
+ /* @__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(
3655
+ FilterContentActive,
3656
+ {
3657
+ useQuery,
3658
+ onRender: updateHeight,
3659
+ onSkip,
3660
+ onValueChange,
3661
+ unfilteredQuery,
3662
+ property,
3663
+ value
3664
+ }
3665
+ ) }) })
3666
+ ] }),
3667
+ !active && /* @__PURE__ */ u$1(
3668
+ "button",
3669
+ {
3670
+ tabIndex: -1,
3671
+ 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",
3672
+ onClick: () => onActiveChange(true),
3673
+ children: [
3674
+ /* @__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 }) }),
3675
+ /* @__PURE__ */ u$1(Icon, { "aria-hidden": true, class: chevronClass(), name: "chevron-right" })
3676
+ ]
3677
+ }
3678
+ )
3679
+ ]
3680
+ }
3681
+ );
3770
3682
  };
3771
3683
  const usePrevious = (value) => {
3772
- const ref = _();
3773
- p(() => {
3684
+ const ref = A$1();
3685
+ y(() => {
3774
3686
  ref.current = value;
3775
3687
  }, [value]);
3776
3688
  return ref.current;
@@ -3786,7 +3698,7 @@ const focusFirstAvailableOption = (activeKey, ref) => {
3786
3698
  };
3787
3699
  const useFilterKeyboardFocus = (activeKey, ref) => {
3788
3700
  const previousActiveKey = usePrevious(activeKey);
3789
- p(() => {
3701
+ y(() => {
3790
3702
  if (previousActiveKey === activeKey)
3791
3703
  return;
3792
3704
  const keyToFocus = activeKey ?? previousActiveKey;
@@ -3806,26 +3718,17 @@ const nextStateFromValue = ({
3806
3718
  var _a, _b;
3807
3719
  switch (value == null ? void 0 : value.select) {
3808
3720
  case void 0: {
3809
- return {
3810
- newValue: void 0,
3811
- newActiveKey: activeKey
3812
- };
3721
+ return { newValue: void 0, newActiveKey: activeKey };
3813
3722
  }
3814
3723
  case "many": {
3815
- return {
3816
- newValue: value,
3817
- newActiveKey: activeKey
3818
- };
3724
+ return { newValue: value, newActiveKey: activeKey };
3819
3725
  }
3820
3726
  case "one": {
3821
3727
  const currentIndex = properties.findIndex((p2) => p2.key === property.key);
3822
3728
  const nextPropertyKey = currentIndex !== -1 ? (_a = properties[currentIndex + 1]) == null ? void 0 : _a.key : void 0;
3823
3729
  const isNextFilled = nextPropertyKey ? ((_b = appliedFilters[nextPropertyKey]) == null ? void 0 : _b.value) !== void 0 : false;
3824
3730
  const nextKey = isNextFilled ? void 0 : nextPropertyKey;
3825
- return {
3826
- newValue: value,
3827
- newActiveKey: nextKey
3828
- };
3731
+ return { newValue: value, newActiveKey: nextKey };
3829
3732
  }
3830
3733
  default:
3831
3734
  exhaustive(value);
@@ -3842,97 +3745,536 @@ const FilterSection = ({
3842
3745
  var _a;
3843
3746
  const [activeKey, setActiveKey] = h((_a = properties[0]) == null ? void 0 : _a.key);
3844
3747
  useFilterKeyboardFocus(activeKey, parentRef);
3845
- const defaultFilters = F$1(() => getFilterDefaults(properties.map(({
3846
- value: _2,
3847
- ...prop
3848
- }) => prop)), [properties]);
3849
- const unfilteredQuery = getQueryState(useSWR(cacheKey({
3850
- filter: defaultFilters,
3851
- baseKey: "filters"
3852
- }), () => getAvailableFilters({
3853
- apiClient,
3854
- logger,
3855
- filters: defaultFilters
3856
- }), SWR_SETTINGS));
3857
- const makeQueryWithoutFilter = T$1((keyToExclude) => () => {
3858
- const filters = {
3859
- ...appliedFilters,
3860
- [keyToExclude]: defaultFilters[keyToExclude]
3861
- };
3862
- return useSWR(cacheKey({
3863
- filter: filters,
3864
- baseKey: "filters"
3865
- }), () => getAvailableFilters({
3866
- apiClient,
3867
- logger,
3868
- filters
3869
- }), SWR_SETTINGS);
3870
- }, [apiClient, appliedFilters, defaultFilters, logger]);
3748
+ const defaultFilters = T$1(
3749
+ () => getFilterDefaults(properties.map(({ value: _2, ...prop }) => prop)),
3750
+ [properties]
3751
+ );
3752
+ const unfilteredQuery = getQueryState(
3753
+ useSWR(
3754
+ cacheKey({ filter: defaultFilters, baseKey: "filters" }),
3755
+ () => getAvailableFilters({ apiClient, logger, filters: defaultFilters }),
3756
+ SWR_SETTINGS
3757
+ )
3758
+ );
3759
+ const makeQueryWithoutFilter = q$1(
3760
+ (keyToExclude) => () => {
3761
+ const filters = { ...appliedFilters, [keyToExclude]: defaultFilters[keyToExclude] };
3762
+ return useSWR(
3763
+ cacheKey({ filter: filters, baseKey: "filters" }),
3764
+ () => getAvailableFilters({ apiClient, logger, filters }),
3765
+ SWR_SETTINGS
3766
+ );
3767
+ },
3768
+ [apiClient, appliedFilters, defaultFilters, logger]
3769
+ );
3871
3770
  if (unfilteredQuery.state === "error") {
3872
- return u$1(ErrorView, {
3873
- error: new Error("We’re having trouble loading available filters.", {
3874
- cause: unfilteredQuery.error
3875
- }),
3876
- resetError: () => unfilteredQuery.swr.mutate()
3877
- });
3771
+ return /* @__PURE__ */ u$1(
3772
+ ErrorView,
3773
+ {
3774
+ error: new Error("We’re having trouble loading available filters.", { cause: unfilteredQuery.error }),
3775
+ resetError: () => unfilteredQuery.swr.mutate()
3776
+ }
3777
+ );
3878
3778
  }
3879
- return u$1("aside", {
3880
- children: u$1("div", {
3881
- role: "tablist",
3882
- class: "top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",
3883
- children: properties.map((property) => {
3884
- const active = activeKey === property.key;
3885
- const value = appliedFilters[property.key] ?? {
3886
- select: property.select,
3887
- value: void 0
3888
- };
3889
- const onValueChange = (value2) => {
3890
- const {
3891
- newActiveKey,
3892
- newValue
3893
- } = nextStateFromValue({
3894
- property,
3895
- activeKey,
3896
- value: value2,
3897
- properties,
3898
- appliedFilters
3899
- });
3900
- setActiveKey(newActiveKey);
3901
- return onFilterValueChange(property.key, newValue);
3902
- };
3903
- const onActiveChange = (active2) => setActiveKey(active2 ? property.key : void 0);
3904
- const useQuery = makeQueryWithoutFilter(property.key);
3905
- return u$1(ErrorBoundary, {
3906
- Fallback: ErrorView,
3907
- children: u$1(Filter, {
3908
- unfilteredQuery,
3909
- active,
3910
- property,
3911
- onActiveChange,
3912
- value,
3913
- onSkip: () => {
3914
- var _a2;
3915
- const currentIndex = properties.findIndex((p2) => p2.key === activeKey);
3916
- const nextPropertyKey = currentIndex !== -1 ? (_a2 = properties[currentIndex + 1]) == null ? void 0 : _a2.key : void 0;
3917
- setActiveKey(nextPropertyKey);
3918
- },
3919
- useQuery,
3920
- onValueChange
3921
- })
3922
- }, property.key);
3923
- })
3924
- })
3925
- });
3779
+ 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) => {
3780
+ const active = activeKey === property.key;
3781
+ const value = appliedFilters[property.key] ?? { select: property.select, value: void 0 };
3782
+ const onValueChange = (value2) => {
3783
+ const { newActiveKey, newValue } = nextStateFromValue({
3784
+ property,
3785
+ activeKey,
3786
+ value: value2,
3787
+ properties,
3788
+ appliedFilters
3789
+ });
3790
+ setActiveKey(newActiveKey);
3791
+ return onFilterValueChange(property.key, newValue);
3792
+ };
3793
+ const onActiveChange = (active2) => setActiveKey(active2 ? property.key : void 0);
3794
+ const useQuery = makeQueryWithoutFilter(property.key);
3795
+ return /* @__PURE__ */ u$1(ErrorBoundary, { Fallback: ErrorView, children: /* @__PURE__ */ u$1(
3796
+ Filter,
3797
+ {
3798
+ unfilteredQuery,
3799
+ active,
3800
+ property,
3801
+ onActiveChange,
3802
+ value,
3803
+ onSkip: () => {
3804
+ var _a2;
3805
+ const currentIndex = properties.findIndex((p2) => p2.key === activeKey);
3806
+ const nextPropertyKey = currentIndex !== -1 ? (_a2 = properties[currentIndex + 1]) == null ? void 0 : _a2.key : void 0;
3807
+ setActiveKey(nextPropertyKey);
3808
+ },
3809
+ useQuery,
3810
+ onValueChange
3811
+ }
3812
+ ) }, property.key);
3813
+ }) }) });
3926
3814
  };
3927
- const SkeletonText = ({
3928
- chars
3929
- }) => {
3930
- return u$1("span", {
3931
- style: {
3932
- width: chars + "ch"
3933
- },
3934
- class: "rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"
3815
+ var isArray$3 = Array.isArray;
3816
+ var isArray_1 = isArray$3;
3817
+ var freeGlobal$1 = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
3818
+ var _freeGlobal = freeGlobal$1;
3819
+ var freeGlobal = _freeGlobal;
3820
+ var freeSelf = typeof self == "object" && self && self.Object === Object && self;
3821
+ var root$3 = freeGlobal || freeSelf || Function("return this")();
3822
+ var _root = root$3;
3823
+ var root$2 = _root;
3824
+ var Symbol$4 = root$2.Symbol;
3825
+ var _Symbol = Symbol$4;
3826
+ var Symbol$3 = _Symbol;
3827
+ var objectProto$4 = Object.prototype;
3828
+ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
3829
+ var nativeObjectToString$1 = objectProto$4.toString;
3830
+ var symToStringTag$1 = Symbol$3 ? Symbol$3.toStringTag : void 0;
3831
+ function getRawTag$1(value) {
3832
+ var isOwn = hasOwnProperty$3.call(value, symToStringTag$1), tag = value[symToStringTag$1];
3833
+ try {
3834
+ value[symToStringTag$1] = void 0;
3835
+ var unmasked = true;
3836
+ } catch (e2) {
3837
+ }
3838
+ var result = nativeObjectToString$1.call(value);
3839
+ if (unmasked) {
3840
+ if (isOwn) {
3841
+ value[symToStringTag$1] = tag;
3842
+ } else {
3843
+ delete value[symToStringTag$1];
3844
+ }
3845
+ }
3846
+ return result;
3847
+ }
3848
+ var _getRawTag = getRawTag$1;
3849
+ var objectProto$3 = Object.prototype;
3850
+ var nativeObjectToString = objectProto$3.toString;
3851
+ function objectToString$1(value) {
3852
+ return nativeObjectToString.call(value);
3853
+ }
3854
+ var _objectToString = objectToString$1;
3855
+ var Symbol$2 = _Symbol, getRawTag = _getRawTag, objectToString = _objectToString;
3856
+ var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
3857
+ var symToStringTag = Symbol$2 ? Symbol$2.toStringTag : void 0;
3858
+ function baseGetTag$2(value) {
3859
+ if (value == null) {
3860
+ return value === void 0 ? undefinedTag : nullTag;
3861
+ }
3862
+ return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
3863
+ }
3864
+ var _baseGetTag = baseGetTag$2;
3865
+ function isObjectLike$1(value) {
3866
+ return value != null && typeof value == "object";
3867
+ }
3868
+ var isObjectLike_1 = isObjectLike$1;
3869
+ var baseGetTag$1 = _baseGetTag, isObjectLike = isObjectLike_1;
3870
+ var symbolTag = "[object Symbol]";
3871
+ function isSymbol$3(value) {
3872
+ return typeof value == "symbol" || isObjectLike(value) && baseGetTag$1(value) == symbolTag;
3873
+ }
3874
+ var isSymbol_1 = isSymbol$3;
3875
+ var isArray$2 = isArray_1, isSymbol$2 = isSymbol_1;
3876
+ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
3877
+ function isKey$1(value, object2) {
3878
+ if (isArray$2(value)) {
3879
+ return false;
3880
+ }
3881
+ var type = typeof value;
3882
+ if (type == "number" || type == "symbol" || type == "boolean" || value == null || isSymbol$2(value)) {
3883
+ return true;
3884
+ }
3885
+ return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object2 != null && value in Object(object2);
3886
+ }
3887
+ var _isKey = isKey$1;
3888
+ function isObject$3(value) {
3889
+ var type = typeof value;
3890
+ return value != null && (type == "object" || type == "function");
3891
+ }
3892
+ var isObject_1 = isObject$3;
3893
+ var baseGetTag = _baseGetTag, isObject$2 = isObject_1;
3894
+ var asyncTag = "[object AsyncFunction]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
3895
+ function isFunction$1(value) {
3896
+ if (!isObject$2(value)) {
3897
+ return false;
3898
+ }
3899
+ var tag = baseGetTag(value);
3900
+ return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
3901
+ }
3902
+ var isFunction_1 = isFunction$1;
3903
+ var root$1 = _root;
3904
+ var coreJsData$1 = root$1["__core-js_shared__"];
3905
+ var _coreJsData = coreJsData$1;
3906
+ var coreJsData = _coreJsData;
3907
+ var maskSrcKey = function() {
3908
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
3909
+ return uid ? "Symbol(src)_1." + uid : "";
3910
+ }();
3911
+ function isMasked$1(func) {
3912
+ return !!maskSrcKey && maskSrcKey in func;
3913
+ }
3914
+ var _isMasked = isMasked$1;
3915
+ var funcProto$1 = Function.prototype;
3916
+ var funcToString$1 = funcProto$1.toString;
3917
+ function toSource$1(func) {
3918
+ if (func != null) {
3919
+ try {
3920
+ return funcToString$1.call(func);
3921
+ } catch (e2) {
3922
+ }
3923
+ try {
3924
+ return func + "";
3925
+ } catch (e2) {
3926
+ }
3927
+ }
3928
+ return "";
3929
+ }
3930
+ var _toSource = toSource$1;
3931
+ var isFunction = isFunction_1, isMasked = _isMasked, isObject$1 = isObject_1, toSource = _toSource;
3932
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
3933
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
3934
+ var funcProto = Function.prototype, objectProto$2 = Object.prototype;
3935
+ var funcToString = funcProto.toString;
3936
+ var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
3937
+ var reIsNative = RegExp(
3938
+ "^" + funcToString.call(hasOwnProperty$2).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
3939
+ );
3940
+ function baseIsNative$1(value) {
3941
+ if (!isObject$1(value) || isMasked(value)) {
3942
+ return false;
3943
+ }
3944
+ var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
3945
+ return pattern.test(toSource(value));
3946
+ }
3947
+ var _baseIsNative = baseIsNative$1;
3948
+ function getValue$1(object2, key) {
3949
+ return object2 == null ? void 0 : object2[key];
3950
+ }
3951
+ var _getValue = getValue$1;
3952
+ var baseIsNative = _baseIsNative, getValue = _getValue;
3953
+ function getNative$2(object2, key) {
3954
+ var value = getValue(object2, key);
3955
+ return baseIsNative(value) ? value : void 0;
3956
+ }
3957
+ var _getNative = getNative$2;
3958
+ var getNative$1 = _getNative;
3959
+ var nativeCreate$4 = getNative$1(Object, "create");
3960
+ var _nativeCreate = nativeCreate$4;
3961
+ var nativeCreate$3 = _nativeCreate;
3962
+ function hashClear$1() {
3963
+ this.__data__ = nativeCreate$3 ? nativeCreate$3(null) : {};
3964
+ this.size = 0;
3965
+ }
3966
+ var _hashClear = hashClear$1;
3967
+ function hashDelete$1(key) {
3968
+ var result = this.has(key) && delete this.__data__[key];
3969
+ this.size -= result ? 1 : 0;
3970
+ return result;
3971
+ }
3972
+ var _hashDelete = hashDelete$1;
3973
+ var nativeCreate$2 = _nativeCreate;
3974
+ var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
3975
+ var objectProto$1 = Object.prototype;
3976
+ var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
3977
+ function hashGet$1(key) {
3978
+ var data = this.__data__;
3979
+ if (nativeCreate$2) {
3980
+ var result = data[key];
3981
+ return result === HASH_UNDEFINED$1 ? void 0 : result;
3982
+ }
3983
+ return hasOwnProperty$1.call(data, key) ? data[key] : void 0;
3984
+ }
3985
+ var _hashGet = hashGet$1;
3986
+ var nativeCreate$1 = _nativeCreate;
3987
+ var objectProto = Object.prototype;
3988
+ var hasOwnProperty = objectProto.hasOwnProperty;
3989
+ function hashHas$1(key) {
3990
+ var data = this.__data__;
3991
+ return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty.call(data, key);
3992
+ }
3993
+ var _hashHas = hashHas$1;
3994
+ var nativeCreate = _nativeCreate;
3995
+ var HASH_UNDEFINED = "__lodash_hash_undefined__";
3996
+ function hashSet$1(key, value) {
3997
+ var data = this.__data__;
3998
+ this.size += this.has(key) ? 0 : 1;
3999
+ data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
4000
+ return this;
4001
+ }
4002
+ var _hashSet = hashSet$1;
4003
+ var hashClear = _hashClear, hashDelete = _hashDelete, hashGet = _hashGet, hashHas = _hashHas, hashSet = _hashSet;
4004
+ function Hash$1(entries) {
4005
+ var index = -1, length = entries == null ? 0 : entries.length;
4006
+ this.clear();
4007
+ while (++index < length) {
4008
+ var entry = entries[index];
4009
+ this.set(entry[0], entry[1]);
4010
+ }
4011
+ }
4012
+ Hash$1.prototype.clear = hashClear;
4013
+ Hash$1.prototype["delete"] = hashDelete;
4014
+ Hash$1.prototype.get = hashGet;
4015
+ Hash$1.prototype.has = hashHas;
4016
+ Hash$1.prototype.set = hashSet;
4017
+ var _Hash = Hash$1;
4018
+ function listCacheClear$1() {
4019
+ this.__data__ = [];
4020
+ this.size = 0;
4021
+ }
4022
+ var _listCacheClear = listCacheClear$1;
4023
+ function eq$1(value, other) {
4024
+ return value === other || value !== value && other !== other;
4025
+ }
4026
+ var eq_1 = eq$1;
4027
+ var eq = eq_1;
4028
+ function assocIndexOf$4(array2, key) {
4029
+ var length = array2.length;
4030
+ while (length--) {
4031
+ if (eq(array2[length][0], key)) {
4032
+ return length;
4033
+ }
4034
+ }
4035
+ return -1;
4036
+ }
4037
+ var _assocIndexOf = assocIndexOf$4;
4038
+ var assocIndexOf$3 = _assocIndexOf;
4039
+ var arrayProto = Array.prototype;
4040
+ var splice = arrayProto.splice;
4041
+ function listCacheDelete$1(key) {
4042
+ var data = this.__data__, index = assocIndexOf$3(data, key);
4043
+ if (index < 0) {
4044
+ return false;
4045
+ }
4046
+ var lastIndex = data.length - 1;
4047
+ if (index == lastIndex) {
4048
+ data.pop();
4049
+ } else {
4050
+ splice.call(data, index, 1);
4051
+ }
4052
+ --this.size;
4053
+ return true;
4054
+ }
4055
+ var _listCacheDelete = listCacheDelete$1;
4056
+ var assocIndexOf$2 = _assocIndexOf;
4057
+ function listCacheGet$1(key) {
4058
+ var data = this.__data__, index = assocIndexOf$2(data, key);
4059
+ return index < 0 ? void 0 : data[index][1];
4060
+ }
4061
+ var _listCacheGet = listCacheGet$1;
4062
+ var assocIndexOf$1 = _assocIndexOf;
4063
+ function listCacheHas$1(key) {
4064
+ return assocIndexOf$1(this.__data__, key) > -1;
4065
+ }
4066
+ var _listCacheHas = listCacheHas$1;
4067
+ var assocIndexOf = _assocIndexOf;
4068
+ function listCacheSet$1(key, value) {
4069
+ var data = this.__data__, index = assocIndexOf(data, key);
4070
+ if (index < 0) {
4071
+ ++this.size;
4072
+ data.push([key, value]);
4073
+ } else {
4074
+ data[index][1] = value;
4075
+ }
4076
+ return this;
4077
+ }
4078
+ var _listCacheSet = listCacheSet$1;
4079
+ var listCacheClear = _listCacheClear, listCacheDelete = _listCacheDelete, listCacheGet = _listCacheGet, listCacheHas = _listCacheHas, listCacheSet = _listCacheSet;
4080
+ function ListCache$1(entries) {
4081
+ var index = -1, length = entries == null ? 0 : entries.length;
4082
+ this.clear();
4083
+ while (++index < length) {
4084
+ var entry = entries[index];
4085
+ this.set(entry[0], entry[1]);
4086
+ }
4087
+ }
4088
+ ListCache$1.prototype.clear = listCacheClear;
4089
+ ListCache$1.prototype["delete"] = listCacheDelete;
4090
+ ListCache$1.prototype.get = listCacheGet;
4091
+ ListCache$1.prototype.has = listCacheHas;
4092
+ ListCache$1.prototype.set = listCacheSet;
4093
+ var _ListCache = ListCache$1;
4094
+ var getNative = _getNative, root = _root;
4095
+ var Map$2 = getNative(root, "Map");
4096
+ var _Map = Map$2;
4097
+ var Hash = _Hash, ListCache = _ListCache, Map$1 = _Map;
4098
+ function mapCacheClear$1() {
4099
+ this.size = 0;
4100
+ this.__data__ = {
4101
+ "hash": new Hash(),
4102
+ "map": new (Map$1 || ListCache)(),
4103
+ "string": new Hash()
4104
+ };
4105
+ }
4106
+ var _mapCacheClear = mapCacheClear$1;
4107
+ function isKeyable$1(value) {
4108
+ var type = typeof value;
4109
+ return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
4110
+ }
4111
+ var _isKeyable = isKeyable$1;
4112
+ var isKeyable = _isKeyable;
4113
+ function getMapData$4(map, key) {
4114
+ var data = map.__data__;
4115
+ return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
4116
+ }
4117
+ var _getMapData = getMapData$4;
4118
+ var getMapData$3 = _getMapData;
4119
+ function mapCacheDelete$1(key) {
4120
+ var result = getMapData$3(this, key)["delete"](key);
4121
+ this.size -= result ? 1 : 0;
4122
+ return result;
4123
+ }
4124
+ var _mapCacheDelete = mapCacheDelete$1;
4125
+ var getMapData$2 = _getMapData;
4126
+ function mapCacheGet$1(key) {
4127
+ return getMapData$2(this, key).get(key);
4128
+ }
4129
+ var _mapCacheGet = mapCacheGet$1;
4130
+ var getMapData$1 = _getMapData;
4131
+ function mapCacheHas$1(key) {
4132
+ return getMapData$1(this, key).has(key);
4133
+ }
4134
+ var _mapCacheHas = mapCacheHas$1;
4135
+ var getMapData = _getMapData;
4136
+ function mapCacheSet$1(key, value) {
4137
+ var data = getMapData(this, key), size = data.size;
4138
+ data.set(key, value);
4139
+ this.size += data.size == size ? 0 : 1;
4140
+ return this;
4141
+ }
4142
+ var _mapCacheSet = mapCacheSet$1;
4143
+ var mapCacheClear = _mapCacheClear, mapCacheDelete = _mapCacheDelete, mapCacheGet = _mapCacheGet, mapCacheHas = _mapCacheHas, mapCacheSet = _mapCacheSet;
4144
+ function MapCache$1(entries) {
4145
+ var index = -1, length = entries == null ? 0 : entries.length;
4146
+ this.clear();
4147
+ while (++index < length) {
4148
+ var entry = entries[index];
4149
+ this.set(entry[0], entry[1]);
4150
+ }
4151
+ }
4152
+ MapCache$1.prototype.clear = mapCacheClear;
4153
+ MapCache$1.prototype["delete"] = mapCacheDelete;
4154
+ MapCache$1.prototype.get = mapCacheGet;
4155
+ MapCache$1.prototype.has = mapCacheHas;
4156
+ MapCache$1.prototype.set = mapCacheSet;
4157
+ var _MapCache = MapCache$1;
4158
+ var MapCache = _MapCache;
4159
+ var FUNC_ERROR_TEXT = "Expected a function";
4160
+ function memoize$1(func, resolver) {
4161
+ if (typeof func != "function" || resolver != null && typeof resolver != "function") {
4162
+ throw new TypeError(FUNC_ERROR_TEXT);
4163
+ }
4164
+ var memoized = function() {
4165
+ var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache2 = memoized.cache;
4166
+ if (cache2.has(key)) {
4167
+ return cache2.get(key);
4168
+ }
4169
+ var result = func.apply(this, args);
4170
+ memoized.cache = cache2.set(key, result) || cache2;
4171
+ return result;
4172
+ };
4173
+ memoized.cache = new (memoize$1.Cache || MapCache)();
4174
+ return memoized;
4175
+ }
4176
+ memoize$1.Cache = MapCache;
4177
+ var memoize_1 = memoize$1;
4178
+ var memoize = memoize_1;
4179
+ var MAX_MEMOIZE_SIZE = 500;
4180
+ function memoizeCapped$1(func) {
4181
+ var result = memoize(func, function(key) {
4182
+ if (cache2.size === MAX_MEMOIZE_SIZE) {
4183
+ cache2.clear();
4184
+ }
4185
+ return key;
3935
4186
  });
4187
+ var cache2 = result.cache;
4188
+ return result;
4189
+ }
4190
+ var _memoizeCapped = memoizeCapped$1;
4191
+ var memoizeCapped = _memoizeCapped;
4192
+ var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
4193
+ var reEscapeChar = /\\(\\)?/g;
4194
+ var stringToPath$1 = memoizeCapped(function(string2) {
4195
+ var result = [];
4196
+ if (string2.charCodeAt(0) === 46) {
4197
+ result.push("");
4198
+ }
4199
+ string2.replace(rePropName, function(match2, number2, quote, subString) {
4200
+ result.push(quote ? subString.replace(reEscapeChar, "$1") : number2 || match2);
4201
+ });
4202
+ return result;
4203
+ });
4204
+ var _stringToPath = stringToPath$1;
4205
+ function arrayMap$1(array2, iteratee) {
4206
+ var index = -1, length = array2 == null ? 0 : array2.length, result = Array(length);
4207
+ while (++index < length) {
4208
+ result[index] = iteratee(array2[index], index, array2);
4209
+ }
4210
+ return result;
4211
+ }
4212
+ var _arrayMap = arrayMap$1;
4213
+ var Symbol$1 = _Symbol, arrayMap = _arrayMap, isArray$1 = isArray_1, isSymbol$1 = isSymbol_1;
4214
+ var INFINITY$1 = 1 / 0;
4215
+ var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolToString = symbolProto ? symbolProto.toString : void 0;
4216
+ function baseToString$1(value) {
4217
+ if (typeof value == "string") {
4218
+ return value;
4219
+ }
4220
+ if (isArray$1(value)) {
4221
+ return arrayMap(value, baseToString$1) + "";
4222
+ }
4223
+ if (isSymbol$1(value)) {
4224
+ return symbolToString ? symbolToString.call(value) : "";
4225
+ }
4226
+ var result = value + "";
4227
+ return result == "0" && 1 / value == -INFINITY$1 ? "-0" : result;
4228
+ }
4229
+ var _baseToString = baseToString$1;
4230
+ var baseToString = _baseToString;
4231
+ function toString$1(value) {
4232
+ return value == null ? "" : baseToString(value);
4233
+ }
4234
+ var toString_1 = toString$1;
4235
+ var isArray = isArray_1, isKey = _isKey, stringToPath = _stringToPath, toString = toString_1;
4236
+ function castPath$1(value, object2) {
4237
+ if (isArray(value)) {
4238
+ return value;
4239
+ }
4240
+ return isKey(value, object2) ? [value] : stringToPath(toString(value));
4241
+ }
4242
+ var _castPath = castPath$1;
4243
+ var isSymbol = isSymbol_1;
4244
+ var INFINITY = 1 / 0;
4245
+ function toKey$1(value) {
4246
+ if (typeof value == "string" || isSymbol(value)) {
4247
+ return value;
4248
+ }
4249
+ var result = value + "";
4250
+ return result == "0" && 1 / value == -INFINITY ? "-0" : result;
4251
+ }
4252
+ var _toKey = toKey$1;
4253
+ var castPath = _castPath, toKey = _toKey;
4254
+ function baseGet$1(object2, path) {
4255
+ path = castPath(path, object2);
4256
+ var index = 0, length = path.length;
4257
+ while (object2 != null && index < length) {
4258
+ object2 = object2[toKey(path[index++])];
4259
+ }
4260
+ return index && index == length ? object2 : void 0;
4261
+ }
4262
+ var _baseGet = baseGet$1;
4263
+ var baseGet = _baseGet;
4264
+ function get(object2, path, defaultValue) {
4265
+ var result = object2 == null ? void 0 : baseGet(object2, path);
4266
+ return result === void 0 ? defaultValue : result;
4267
+ }
4268
+ var get_1 = get;
4269
+ const get$1 = /* @__PURE__ */ getDefaultExportFromCjs(get_1);
4270
+ const SkeletonText = ({ chars }) => {
4271
+ return /* @__PURE__ */ u$1(
4272
+ "span",
4273
+ {
4274
+ style: { width: chars + "ch" },
4275
+ class: "rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"
4276
+ }
4277
+ );
3936
4278
  };
3937
4279
  const wrapperClass = cva({
3938
4280
  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",
@@ -3942,184 +4284,117 @@ const wrapperClass = cva({
3942
4284
  false: "animate-skeleton"
3943
4285
  }
3944
4286
  },
3945
- defaultVariants: {
3946
- interactive: true
3947
- }
3948
- });
3949
- const badgeClass = cva({
3950
- 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"
4287
+ defaultVariants: { interactive: true }
3951
4288
  });
3952
- const getDisplayableFilterProperty = ({
4289
+ const getDisplayableProperty = ({
3953
4290
  job,
3954
4291
  property
3955
4292
  }) => {
3956
- switch (typeof property) {
3957
- case "string":
3958
- if (isKeyInObj(property, job.raw))
3959
- return job.raw[property];
3960
- return null;
3961
- case "object":
3962
- return job.customData && property.transform(job.customData[property.key]);
3963
- default:
3964
- exhaustive(property);
3965
- }
4293
+ if (!property)
4294
+ return null;
4295
+ const value = get$1(job.raw, property.key);
4296
+ return property.transform ? property.transform(value) : value;
3966
4297
  };
3967
- const JobCard = ({
4298
+ const JobCardLogo = ({
3968
4299
  job,
3969
- config
4300
+ config = "hidden"
3970
4301
  }) => {
3971
- const subheading = config.subheading ? getDisplayableFilterProperty({
3972
- job,
3973
- property: config.subheading
3974
- }) : null;
3975
- const tags = config.infoTags.map((infoTag) => getDisplayableFilterProperty({
3976
- job,
3977
- property: infoTag
3978
- })).filter(Boolean);
3979
- return u$1("a", {
3980
- href: job.href,
3981
- class: wrapperClass(),
3982
- children: [u$1("div", {
3983
- class: "flex min-w-0 flex-1 flex-col gap-4",
3984
- children: [u$1("div", {
3985
- class: "gap-logo flex items-center",
3986
- children: [!config.logo || config.logo === "hidden" ? null : u$1("div", {
3987
- class: "rounded-logo bg-neutral-1 h-12 flex-none overflow-hidden",
3988
- style: {
3989
- aspectRatio: config.logo.replace(":", "/")
3990
- },
3991
- children: job.company.logo ? u$1("img", {
3992
- src: job.company.logo,
3993
- alt: job.company.name,
3994
- class: "h-full w-full select-none object-contain [-webkit-user-drag:none]"
3995
- }) : null
3996
- }), u$1("div", {
3997
- class: "flex flex-col items-start gap-1",
3998
- children: [u$1("div", {
3999
- class: "order-2 flex flex-col gap-1",
4000
- children: [u$1("p", {
4001
- class: "text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",
4002
- children: job.title
4003
- }), subheading ? u$1("p", {
4004
- class: "text-style-job-card text-copy-neutral-lowcontrast",
4005
- children: subheading
4006
- }) : null]
4007
- }), job.isNew ? u$1("span", {
4008
- class: badgeClass({
4009
- class: "order-1"
4010
- }),
4011
- children: "NEW"
4012
- }) : u$1("p", {
4013
- class: "text-style-job-card-info text-copy-job-info order-1",
4014
- children: ["Posted ", job.relativePostedDate]
4015
- })]
4016
- })]
4017
- }), u$1("div", {
4018
- class: "flex min-w-0 flex-col items-start gap-2",
4019
- children: [job.pay && u$1("span", {
4020
- class: tagClass({
4021
- variant: "monetaryWeak",
4022
- size: "xs"
4023
- }),
4024
- children: job.pay
4025
- }), tags.length > 0 && u$1("ul", {
4026
- class: "flex min-w-0 max-w-full flex-wrap items-center gap-2",
4027
- children: tags.map((tag) => u$1("li", {
4028
- class: tagClass({
4029
- size: "xs"
4030
- }),
4031
- children: tag
4032
- }, tag))
4033
- })]
4034
- })]
4035
- }), u$1("div", {
4036
- "aria-hidden": true,
4037
- class: "flex items-center",
4038
- children: u$1(Icon, {
4039
- name: "chevron-right",
4040
- class: "text-copy-neutral-icon"
4041
- })
4042
- })]
4043
- });
4302
+ if (config === "hidden")
4303
+ return null;
4304
+ 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(
4305
+ "img",
4306
+ {
4307
+ src: job.company.logo,
4308
+ alt: job.company.name,
4309
+ class: "h-full w-full select-none object-contain [-webkit-user-drag:none]"
4310
+ }
4311
+ ) : null });
4312
+ };
4313
+ const asArray = (value) => Array.isArray(value) ? value : [value];
4314
+ const JobCard = ({ job, config }) => {
4315
+ var _a;
4316
+ const subheading = config.subheading ? getDisplayableProperty({ job, property: config.subheading }) : null;
4317
+ const tags = config.infoTags.flatMap((infoTag) => asArray(getDisplayableProperty({ job, property: infoTag }))).filter(Boolean);
4318
+ const salary = asArray(
4319
+ ((_a = config.overrides) == null ? void 0 : _a.salary) ? getDisplayableProperty({ job, property: config.overrides.salary }) : job.pay
4320
+ ).filter(Boolean);
4321
+ const postedDateConfig = config.postedDate ?? "show";
4322
+ return /* @__PURE__ */ u$1("a", { href: job.href, class: wrapperClass(), children: [
4323
+ /* @__PURE__ */ u$1("div", { class: "flex min-w-0 flex-1 flex-col gap-4", children: [
4324
+ /* @__PURE__ */ u$1("div", { class: "gap-logo flex items-center", children: [
4325
+ /* @__PURE__ */ u$1(JobCardLogo, { job, config: config.logo }),
4326
+ /* @__PURE__ */ u$1("div", { class: "flex flex-col items-start gap-1", children: [
4327
+ /* @__PURE__ */ u$1("div", { class: "order-2 flex flex-col gap-1", children: [
4328
+ /* @__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: [
4329
+ job.title.trim(),
4330
+ job.isNew && postedDateConfig !== "hide" && /* @__PURE__ */ u$1(k$3, { children: [
4331
+ " ",
4332
+ /* @__PURE__ */ u$1(
4333
+ "span",
4334
+ {
4335
+ "aria-hidden": true,
4336
+ 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",
4337
+ children: "NEW"
4338
+ }
4339
+ )
4340
+ ] })
4341
+ ] }),
4342
+ subheading ? /* @__PURE__ */ u$1("p", { class: "text-style-job-card text-copy-neutral-lowcontrast", children: subheading }) : null
4343
+ ] }),
4344
+ postedDateConfig === "show" ? /* @__PURE__ */ u$1("p", { class: "text-style-job-card-info text-copy-job-info order-1", children: [
4345
+ "Posted ",
4346
+ job.relativePostedDate
4347
+ ] }) : null
4348
+ ] })
4349
+ ] }),
4350
+ /* @__PURE__ */ u$1("div", { class: "flex min-w-0 flex-col items-start gap-2", children: [
4351
+ /* @__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)) }),
4352
+ 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)) })
4353
+ ] })
4354
+ ] }),
4355
+ /* @__PURE__ */ u$1("div", { "aria-hidden": true, class: "flex items-center", children: /* @__PURE__ */ u$1(Icon, { name: "chevron-right", class: "text-copy-neutral-icon" }) })
4356
+ ] });
4044
4357
  };
4045
4358
  const JobCardSkeleton = ({
4046
4359
  config,
4047
4360
  animationDelay,
4048
4361
  seed
4049
4362
  }) => {
4050
- return u$1("div", {
4051
- "aria-hidden": true,
4052
- style: {
4053
- animationDelay: animationDelay + "s"
4054
- },
4055
- class: wrapperClass({
4056
- interactive: false
4057
- }),
4058
- children: [u$1("div", {
4059
- class: "flex flex-1 flex-col gap-4",
4060
- children: [u$1("div", {
4061
- class: "flex items-center gap-4",
4062
- children: [!config.logo || config.logo === "hidden" ? null : u$1("div", {
4063
- class: "rounded-logo bg-copy-neutral h-12 opacity-25",
4064
- style: {
4065
- aspectRatio: config.logo.replace(":", "/")
4363
+ const logoConfig = config.logo ?? "hidden";
4364
+ const postedDateConfig = config.postedDate ?? "show";
4365
+ return /* @__PURE__ */ u$1("div", { "aria-hidden": true, style: { animationDelay: animationDelay + "s" }, class: wrapperClass({ interactive: false }), children: [
4366
+ /* @__PURE__ */ u$1("div", { class: "flex flex-1 flex-col gap-4", children: [
4367
+ /* @__PURE__ */ u$1("div", { class: "flex items-center gap-4", children: [
4368
+ logoConfig === "hidden" ? null : /* @__PURE__ */ u$1(
4369
+ "div",
4370
+ {
4371
+ class: "rounded-logo bg-copy-neutral h-12 opacity-25",
4372
+ style: { aspectRatio: logoConfig.replace(":", "/") }
4066
4373
  }
4067
- }), u$1("div", {
4068
- class: "flex flex-col items-start gap-1",
4069
- children: [u$1("p", {
4070
- class: "text-style-job-card-info text-copy-job-info",
4071
- children: u$1(SkeletonText, {
4072
- chars: 12
4073
- })
4074
- }), u$1("div", {
4075
- class: "flex flex-col gap-1",
4076
- children: [u$1("p", {
4077
- class: "text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",
4078
- children: u$1(SkeletonText, {
4079
- chars: 13 + (seed + 5) * seed % 7
4080
- })
4081
- }), config.subheading !== null ? u$1("p", {
4082
- class: "text-style-job-card text-copy-neutral-lowcontrast",
4083
- children: u$1(SkeletonText, {
4084
- chars: 7 + seed * seed % 3
4085
- })
4086
- }) : null]
4087
- })]
4088
- })]
4089
- }), u$1("div", {
4090
- class: "flex flex-col items-start gap-2",
4091
- children: [seed % 2 === 0 && u$1("span", {
4092
- class: tagClass({
4093
- variant: "neutralWeak",
4094
- size: "xs",
4095
- class: "h-[1lh] min-h-[1em] w-[10ch]"
4096
- })
4097
- }), u$1("div", {
4098
- class: "flex items-center gap-2",
4099
- children: [u$1("span", {
4100
- class: tagClass({
4101
- variant: "neutralWeak",
4102
- size: "xs",
4103
- class: "h-[1lh] min-h-[1em] w-[6ch]"
4104
- })
4105
- }), u$1("span", {
4106
- class: tagClass({
4107
- variant: "neutralWeak",
4108
- size: "xs",
4109
- class: "h-[1lh] min-h-[1em] w-[8ch]"
4110
- })
4111
- })]
4112
- })]
4113
- })]
4114
- }), u$1("div", {
4115
- "aria-hidden": true,
4116
- class: "flex items-center",
4117
- children: u$1(Icon, {
4118
- name: "chevron-right",
4119
- class: "text-copy-neutral-icon"
4120
- })
4121
- })]
4122
- });
4374
+ ),
4375
+ /* @__PURE__ */ u$1("div", { class: "flex flex-col items-start gap-1", children: [
4376
+ postedDateConfig === "show" ? /* @__PURE__ */ u$1("p", { class: "text-style-job-card-info text-copy-job-info", children: /* @__PURE__ */ u$1(SkeletonText, { chars: 12 }) }) : null,
4377
+ /* @__PURE__ */ u$1("div", { class: "flex flex-col gap-1", children: [
4378
+ /* @__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 }) }),
4379
+ 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
4380
+ ] })
4381
+ ] })
4382
+ ] }),
4383
+ /* @__PURE__ */ u$1("div", { class: "flex flex-col items-start gap-2", children: [
4384
+ seed % 2 === 0 && /* @__PURE__ */ u$1(
4385
+ "span",
4386
+ {
4387
+ class: tagClass({ variant: "neutralWeak", size: "xs", class: "h-[1lh] min-h-[1em] w-[10ch]" })
4388
+ }
4389
+ ),
4390
+ /* @__PURE__ */ u$1("div", { class: "flex items-center gap-2", children: [
4391
+ /* @__PURE__ */ u$1("span", { class: tagClass({ variant: "neutralWeak", size: "xs", class: "h-[1lh] min-h-[1em] w-[6ch]" }) }),
4392
+ /* @__PURE__ */ u$1("span", { class: tagClass({ variant: "neutralWeak", size: "xs", class: "h-[1lh] min-h-[1em] w-[8ch]" }) })
4393
+ ] })
4394
+ ] })
4395
+ ] }),
4396
+ /* @__PURE__ */ u$1("div", { "aria-hidden": true, class: "flex items-center", children: /* @__PURE__ */ u$1(Icon, { name: "chevron-right", class: "text-copy-neutral-icon" }) })
4397
+ ] });
4123
4398
  };
4124
4399
  const LoadMore = ({
4125
4400
  state,
@@ -4127,33 +4402,12 @@ const LoadMore = ({
4127
4402
  config
4128
4403
  }) => {
4129
4404
  if (state === "revalidating") {
4130
- return u$1("ul", {
4131
- class: "flex flex-col gap-3",
4132
- "aria-hidden": true,
4133
- children: Array.from({
4134
- length: PAGE_SIZE
4135
- }).map((_2, i2) => u$1("li", {
4136
- children: u$1(JobCardSkeleton, {
4137
- seed: i2,
4138
- animationDelay: (i2 - 4) * 0.1,
4139
- config
4140
- })
4141
- }, i2))
4142
- });
4405
+ 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)) });
4143
4406
  } else {
4144
- return u$1("button", {
4145
- class: btnClass({
4146
- variant: "neutral",
4147
- class: "py-2"
4148
- }),
4149
- onClick: fetchNextPage,
4150
- children: "Load More"
4151
- });
4407
+ return /* @__PURE__ */ u$1("button", { class: btnClass({ variant: "neutral", class: "py-2" }), onClick: fetchNextPage, children: "Load More" });
4152
4408
  }
4153
4409
  };
4154
- const getResultsCount = ({
4155
- pagination
4156
- }) => {
4410
+ const getResultsCount = ({ pagination }) => {
4157
4411
  invariant(pagination.total >= 0);
4158
4412
  if (pagination.total === 1)
4159
4413
  return "1 job found";
@@ -4167,27 +4421,24 @@ const ResultsSection = ({
4167
4421
  initialData
4168
4422
  }) => {
4169
4423
  const [page, setPage] = h(1);
4170
- return u$1(g$3, {
4171
- children: Array.from({
4172
- length: page
4173
- }).map((a2, index) => {
4174
- const isLast = index === page - 1;
4175
- return u$1(ErrorBoundary, {
4176
- Fallback: ErrorView,
4177
- children: u$1(ResultsPage, {
4178
- appliedFilters,
4179
- apiClient,
4180
- logger,
4181
- page: index + 1,
4182
- isFirst: index === 0,
4183
- isLast,
4184
- fetchNextPage: () => setPage(page + 1),
4185
- jobCardConfig,
4186
- initialData
4187
- }, index)
4188
- }, index);
4189
- })
4190
- });
4424
+ return /* @__PURE__ */ u$1(k$3, { children: Array.from({ length: page }).map((_2, index) => {
4425
+ const isLast = index === page - 1;
4426
+ return /* @__PURE__ */ u$1(ErrorBoundary, { Fallback: ErrorView, children: /* @__PURE__ */ u$1(
4427
+ ResultsPage,
4428
+ {
4429
+ appliedFilters,
4430
+ apiClient,
4431
+ logger,
4432
+ page: index + 1,
4433
+ isFirst: index === 0,
4434
+ isLast,
4435
+ fetchNextPage: () => setPage(page + 1),
4436
+ jobCardConfig,
4437
+ initialData
4438
+ },
4439
+ index
4440
+ ) }, index);
4441
+ }) });
4191
4442
  };
4192
4443
  const ResultsPage = ({
4193
4444
  appliedFilters,
@@ -4201,126 +4452,76 @@ const ResultsPage = ({
4201
4452
  initialData
4202
4453
  }) => {
4203
4454
  const fallbackData = page === 1 ? initialData : void 0;
4204
- const {
4205
- data,
4206
- error,
4207
- state,
4208
- swr
4209
- } = getQueryState(useSWR(cacheKey({
4210
- filter: appliedFilters,
4211
- baseKey: page.toString()
4212
- }), () => getJobSearchResults({
4213
- apiClient,
4214
- logger,
4215
- filters: appliedFilters,
4216
- page
4217
- }), {
4218
- ...SWR_SETTINGS,
4219
- fallbackData
4220
- }));
4455
+ const { data, error, state, swr } = getQueryState(
4456
+ useSWR(
4457
+ cacheKey({ filter: appliedFilters, baseKey: page.toString() }),
4458
+ () => getJobSearchResults({ apiClient, logger, filters: appliedFilters, page }),
4459
+ { ...SWR_SETTINGS, fallbackData }
4460
+ )
4461
+ );
4221
4462
  switch (state) {
4222
4463
  case "loading":
4223
- return u$1(g$3, {
4224
- children: [isFirst && u$1("p", {
4225
- class: "text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",
4226
- children: u$1(SkeletonText, {
4227
- chars: 8
4228
- })
4229
- }), u$1("ul", {
4230
- class: "flex flex-col gap-3",
4231
- "aria-hidden": true,
4232
- children: Array.from({
4233
- length: PAGE_SIZE
4234
- }).map((_2, i2) => u$1("li", {
4235
- children: u$1(JobCardSkeleton, {
4236
- seed: i2,
4237
- animationDelay: (i2 - PAGE_SIZE) * 0.1,
4238
- config: jobCardConfig
4239
- })
4240
- }, i2))
4241
- })]
4242
- });
4464
+ return /* @__PURE__ */ u$1(k$3, { children: [
4465
+ 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 }) }),
4466
+ /* @__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)) })
4467
+ ] });
4243
4468
  case "error":
4244
- return u$1(ErrorView, {
4245
- class: "-m-4",
4246
- error: new Error("We’re having trouble loading available jobs.", {
4247
- cause: error
4248
- }),
4249
- resetError: () => swr.mutate()
4250
- });
4469
+ return /* @__PURE__ */ u$1(
4470
+ ErrorView,
4471
+ {
4472
+ class: "-m-4",
4473
+ error: new Error("We’re having trouble loading available jobs.", { cause: error }),
4474
+ resetError: () => swr.mutate()
4475
+ }
4476
+ );
4251
4477
  case "revalidating":
4252
4478
  case "loaded": {
4253
4479
  invariant(data.pagination.current_page === page, "Received wrong page from server");
4254
4480
  if (data.pagination.total === 0)
4255
- return u$1("div", {
4256
- class: "mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",
4257
- children: [u$1(Icon, {
4258
- "aria-hidden": true,
4259
- name: "magnifier",
4260
- class: "text-copy-neutral-lowcontrast"
4261
- }), u$1("div", {
4262
- class: "flex flex-col items-center gap-1",
4263
- children: [u$1("p", {
4264
- class: "text-copy-neutral text-style-job-heading",
4265
- children: "No jobs found"
4266
- }), u$1("p", {
4267
- class: "text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",
4268
- children: "We could not find any jobs matching your filtering criteria."
4269
- })]
4270
- })]
4271
- });
4481
+ return /* @__PURE__ */ u$1("div", { class: "mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center", children: [
4482
+ /* @__PURE__ */ u$1(Icon, { "aria-hidden": true, name: "magnifier", class: "text-copy-neutral-lowcontrast" }),
4483
+ /* @__PURE__ */ u$1("div", { class: "flex flex-col items-center gap-1", children: [
4484
+ /* @__PURE__ */ u$1("p", { class: "text-copy-neutral text-style-job-heading", children: "No jobs found" }),
4485
+ /* @__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." })
4486
+ ] })
4487
+ ] });
4272
4488
  const hasMore = data.pagination.last_page !== data.pagination.current_page;
4273
- return u$1(g$3, {
4274
- children: [isFirst && u$1("p", {
4275
- class: "text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",
4276
- children: getResultsCount({
4277
- pagination: data.pagination
4278
- })
4279
- }), u$1("ul", {
4280
- "aria-label": `Page ${page}`,
4281
- class: "flex flex-col gap-3",
4282
- children: data.results.map((job) => {
4283
- return u$1("li", {
4489
+ return /* @__PURE__ */ u$1(k$3, { children: [
4490
+ isFirst && /* @__PURE__ */ u$1("p", { class: "text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center", children: getResultsCount({ pagination: data.pagination }) }),
4491
+ /* @__PURE__ */ u$1("ul", { "aria-label": `Page ${page}`, class: "flex flex-col gap-3", children: data.results.map((job) => {
4492
+ return /* @__PURE__ */ u$1(
4493
+ "li",
4494
+ {
4284
4495
  class: "ease-expo-out duration-slow transition-opacity",
4285
- style: {
4286
- opacity: state === "revalidating" ? 0.33 : 1
4287
- },
4288
- children: u$1(JobCard, {
4289
- job,
4290
- config: jobCardConfig
4291
- })
4292
- }, job.id);
4293
- })
4294
- }), hasMore && isLast && u$1(LoadMore, {
4295
- state,
4296
- fetchNextPage,
4297
- config: jobCardConfig
4298
- })]
4299
- });
4496
+ style: { opacity: state === "revalidating" ? 0.33 : 1 },
4497
+ children: /* @__PURE__ */ u$1(JobCard, { job, config: jobCardConfig })
4498
+ },
4499
+ job.id
4500
+ );
4501
+ }) }),
4502
+ hasMore && isLast && /* @__PURE__ */ u$1(LoadMore, { state, fetchNextPage, config: jobCardConfig })
4503
+ ] });
4300
4504
  }
4301
4505
  default:
4302
4506
  exhaustive(state);
4303
4507
  }
4304
4508
  };
4305
- const getFilterDefaults = (properties) => properties.reduce((acc, property) => {
4306
- switch (property.select) {
4307
- case "one":
4308
- acc[property.key] = {
4309
- select: property.select,
4310
- value: property.value
4311
- };
4312
- break;
4313
- case "many":
4314
- acc[property.key] = {
4315
- select: property.select,
4316
- value: property.value ? [property.value] : []
4317
- };
4318
- break;
4319
- default:
4320
- exhaustive(property.select);
4321
- }
4322
- return acc;
4323
- }, {});
4509
+ const getFilterDefaults = (properties) => properties.reduce(
4510
+ (acc, property) => {
4511
+ switch (property.select) {
4512
+ case "one":
4513
+ acc[property.key] = { select: property.select, value: property.value };
4514
+ break;
4515
+ case "many":
4516
+ acc[property.key] = { select: property.select, value: property.value ? [property.value] : [] };
4517
+ break;
4518
+ default:
4519
+ exhaustive(property.select);
4520
+ }
4521
+ return acc;
4522
+ },
4523
+ {}
4524
+ );
4324
4525
  const JobSearch = ({
4325
4526
  apiClient,
4326
4527
  logger,
@@ -4331,70 +4532,54 @@ const JobSearch = ({
4331
4532
  onFilterChange,
4332
4533
  params
4333
4534
  }) => {
4334
- const appRef = _(null);
4335
- const [appliedFilters, setAppliedFilters] = h(() => getFilterDefaults(properties));
4336
- return u$1("div", {
4337
- ref: appRef,
4338
- class: className,
4339
- id: JOB_SEARCH_SCOPE_ELEMENT_ID,
4340
- children: u$1("div", {
4341
- 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",
4342
- children: [u$1(ErrorBoundary, {
4343
- Fallback: ErrorView,
4344
- children: u$1("div", {
4345
- class: "flex flex-col gap-2",
4346
- children: [u$1(FilterSection, {
4347
- appliedFilters,
4348
- onFilterValueChange: (key, value) => {
4349
- setAppliedFilters((prev) => {
4350
- onFilterChange == null ? void 0 : onFilterChange({
4351
- ...prev,
4352
- [key]: value
4353
- });
4354
- return {
4355
- ...prev,
4356
- [key]: value
4357
- };
4358
- });
4359
- },
4360
- properties,
4361
- parentRef: appRef,
4362
- logger,
4363
- apiClient
4364
- }), params.enableJobAlerts && u$1("div", {
4365
- class: "flex justify-center px-4 md:px-0",
4366
- children: u$1(AlertsButton, {
4367
- appliedFilters,
4368
- analytics,
4369
- apiClient,
4370
- logger,
4371
- theme: params.theme
4372
- })
4373
- })]
4374
- })
4375
- }), u$1("div", {
4376
- class: "md:col-span-2",
4377
- children: u$1("section", {
4378
- class: "bg-section-strong-bg ring-section-weak-stroke rounded-section ring-px lg:ring-width-section flex flex-col gap-4 p-4",
4379
- children: u$1(ErrorBoundary, {
4380
- Fallback: ErrorView,
4381
- children: u$1(ResultsSection, {
4382
- appliedFilters,
4383
- logger,
4384
- apiClient,
4385
- jobCardConfig: params.jobCard,
4386
- initialData: initialData == null ? void 0 : initialData.jobs
4387
- }, cacheKey({
4388
- filter: appliedFilters,
4389
- baseKey: "resultsSection"
4390
- }))
4391
- })
4392
- })
4393
- })]
4394
- })
4395
- });
4535
+ const appRef = A$1(null);
4536
+ const [appliedFilters, setAppliedFilters] = h(() => ({
4537
+ default: true,
4538
+ filters: getFilterDefaults(properties)
4539
+ }));
4540
+ 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: [
4541
+ /* @__PURE__ */ u$1(ErrorBoundary, { Fallback: ErrorView, children: /* @__PURE__ */ u$1("div", { class: "flex flex-col gap-2", children: [
4542
+ /* @__PURE__ */ u$1(
4543
+ FilterSection,
4544
+ {
4545
+ appliedFilters: appliedFilters.filters,
4546
+ onFilterValueChange: (key, value) => {
4547
+ setAppliedFilters((prev) => {
4548
+ onFilterChange == null ? void 0 : onFilterChange({ ...prev.filters, [key]: value });
4549
+ return { default: false, filters: { ...prev.filters, [key]: value } };
4550
+ });
4551
+ },
4552
+ properties,
4553
+ parentRef: appRef,
4554
+ logger,
4555
+ apiClient
4556
+ }
4557
+ ),
4558
+ params.enableJobAlerts && /* @__PURE__ */ u$1("div", { class: "flex justify-center px-4 md:px-0", children: /* @__PURE__ */ u$1(
4559
+ AlertsButton,
4560
+ {
4561
+ appliedFilters: appliedFilters.filters,
4562
+ analytics,
4563
+ apiClient,
4564
+ logger,
4565
+ theme: params.theme
4566
+ }
4567
+ ) })
4568
+ ] }) }),
4569
+ /* @__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(
4570
+ ResultsSection,
4571
+ {
4572
+ appliedFilters: appliedFilters.filters,
4573
+ logger,
4574
+ apiClient,
4575
+ jobCardConfig: params.jobCard,
4576
+ initialData: appliedFilters.default ? initialData == null ? void 0 : initialData.jobs : void 0
4577
+ },
4578
+ cacheKey({ filter: appliedFilters.filters, baseKey: "resultsSection" })
4579
+ ) }) }) })
4580
+ ] }) });
4396
4581
  };
4397
- 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";
4582
+ 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";
4398
4583
  var COLOR_SHADES = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"];
4399
4584
  var OKLCH_PRESETS = {
4400
4585
  light: {
@@ -4516,37 +4701,30 @@ var designTokens = () => {
4516
4701
  })
4517
4702
  };
4518
4703
  };
4519
- const match = (m2) => {
4704
+ const match = (subject) => {
4520
4705
  const patterns = [];
4521
- const i2 = (m22) => ({
4522
- with: (p2, fn2) => {
4523
- patterns.push({
4524
- p: p2,
4525
- fn: fn2
4526
- });
4527
- return i2(m22);
4706
+ const run = (subject2) => ({
4707
+ with: (pattern, fn2) => {
4708
+ patterns.push({ pattern, fn: fn2 });
4709
+ return run(subject2);
4528
4710
  },
4529
- otherwise: (o2) => {
4711
+ otherwise: (fallback) => {
4530
4712
  pattern:
4531
- for (let i22 = patterns.length - 1; i22 >= 0; i22--) {
4532
- const pattern = patterns[i22];
4533
- for (const key in pattern.p) {
4534
- if (pattern.p[key] !== m22[key])
4713
+ for (const { fn: fn2, pattern } of patterns) {
4714
+ for (const key in pattern)
4715
+ if (pattern[key] !== subject2[key])
4535
4716
  continue pattern;
4536
- return pattern.fn(m22);
4537
- }
4717
+ return fn2(subject2);
4538
4718
  }
4539
- if (o2)
4540
- return o2(m22);
4719
+ if (fallback)
4720
+ return fallback(subject2);
4541
4721
  throw new Error("No pattern matched");
4542
4722
  }
4543
4723
  });
4544
- return i2(m2);
4724
+ return run(subject);
4545
4725
  };
4546
4726
  const [black, white, transparent] = ["oklch(0 0 0)", "oklch(100 0 0)", "transparent"];
4547
- const tokens = designTokens().core(({
4548
- theme
4549
- }) => ({
4727
+ const tokens = designTokens().core(({ theme }) => ({
4550
4728
  color: {
4551
4729
  black,
4552
4730
  white,
@@ -4574,17 +4752,10 @@ const tokens = designTokens().core(({
4574
4752
  transform: sameAsInput
4575
4753
  })
4576
4754
  }
4577
- })).semantic(({
4578
- core,
4579
- theme,
4580
- raw
4581
- }) => {
4755
+ })).semantic(({ core, theme, raw }) => {
4582
4756
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n2, _o, _p, _q, _r, _s, _t, _u;
4583
4757
  const withOpacity = (token, opacity) => raw.core.color[token].replace(")", ` / ${opacity})`);
4584
- const {
4585
- typography,
4586
- highlights
4587
- } = theme;
4758
+ const { typography, highlights } = theme;
4588
4759
  const highContrast = ((_a = theme.accessibility) == null ? void 0 : _a.highContrast) ?? false;
4589
4760
  return {
4590
4761
  "filters-offset-top": (theme.filtersOffsetTopPx ?? 112) + "px",
@@ -4625,102 +4796,60 @@ const tokens = designTokens().core(({
4625
4796
  "tag-accent-strong-bg": theme.mode === "dark" ? core("color.a-9") : core("color.a-11"),
4626
4797
  "tag-accent-strong-copy": core("color.white"),
4627
4798
  "tag-accent-strong-stroke-color": transparent,
4628
- "radius-app": match(theme).with({
4629
- corners: "rounded"
4630
- }, () => "2rem").with({
4631
- corners: "soft"
4632
- }, () => "2rem").otherwise(() => "0"),
4633
- "radius-section": match(theme).with({
4634
- corners: "rounded"
4635
- }, () => "1rem").with({
4636
- corners: "soft"
4637
- }, () => "1rem").with({
4638
- corners: "sharp"
4639
- }, () => "0").otherwise(),
4640
- "radius-input": match(theme).with({
4641
- corners: "rounded"
4642
- }, () => ".5rem").with({
4643
- corners: "soft"
4644
- }, () => ".25rem").with({
4645
- corners: "sharp"
4646
- }, () => "0").otherwise(),
4647
- "radius-job-card": match(theme).with({
4648
- corners: "rounded"
4649
- }, () => "0.75rem").with({
4650
- corners: "soft"
4651
- }, () => "0.5rem").with({
4652
- corners: "sharp"
4653
- }, () => "0").otherwise(),
4654
- "radius-job-tag": match(theme).with({
4655
- corners: "rounded"
4656
- }, () => "0.5rem").with({
4657
- corners: "soft"
4658
- }, () => "0.25rem").with({
4659
- corners: "sharp"
4660
- }, () => "0").otherwise(),
4661
- "radius-logo": match(theme).with({
4662
- corners: "rounded"
4663
- }, () => ".25rem").with({
4664
- corners: "soft"
4665
- }, () => ".125rem").with({
4666
- corners: "sharp"
4667
- }, () => "0").otherwise(),
4668
- "logo-gap": match(theme).with({
4669
- corners: "rounded"
4670
- }, () => "0.75rem").with({
4671
- corners: "soft"
4672
- }, () => "1rem").with({
4673
- corners: "sharp"
4674
- }, () => "1rem").otherwise(),
4799
+ "radius-app": match(theme).with({ corners: "rounded" }, () => "2rem").with({ corners: "soft" }, () => "2rem").otherwise(() => "0"),
4800
+ "radius-section": match(theme).with({ corners: "rounded" }, () => "1rem").with({ corners: "soft" }, () => "1rem").with({ corners: "sharp" }, () => "0").otherwise(),
4801
+ "radius-input": match(theme).with({ corners: "rounded" }, () => ".5rem").with({ corners: "soft" }, () => ".25rem").with({ corners: "sharp" }, () => "0").otherwise(),
4802
+ "radius-job-card": match(theme).with({ corners: "rounded" }, () => "0.75rem").with({ corners: "soft" }, () => "0.5rem").with({ corners: "sharp" }, () => "0").otherwise(),
4803
+ "radius-job-tag": match(theme).with({ corners: "rounded" }, () => "0.5rem").with({ corners: "soft" }, () => "0.25rem").with({ corners: "sharp" }, () => "0").otherwise(),
4804
+ "radius-logo": match(theme).with({ corners: "rounded" }, () => ".25rem").with({ corners: "soft" }, () => ".125rem").with({ corners: "sharp" }, () => "0").otherwise(),
4805
+ "logo-gap": match(theme).with({ corners: "rounded" }, () => "0.75rem").with({ corners: "soft" }, () => "1rem").with({ corners: "sharp" }, () => "1rem").otherwise(),
4675
4806
  "interactive-neutral-bg": withOpacity(highContrast ? "n-5" : "n-4", 0.01),
4676
4807
  "interactive-neutral-bg-hover": highContrast ? core("color.n-5") : core("color.n-4"),
4677
4808
  "interactive-neutral-text": core("color.n-12"),
4678
4809
  "interactive-accent-bg": withOpacity(highlights === "fill" ? "a-4" : "a-3", 0.01),
4679
4810
  "interactive-accent-bg-hover": highlights === "fill" ? core("color.a-4") : core("color.a-3"),
4680
4811
  "interactive-accent-text": core("color.a-11"),
4681
- "radius-interactive": match(theme).with({
4682
- corners: "rounded"
4683
- }, () => "1.5rem").with({
4684
- corners: "soft"
4685
- }, () => ".5rem").with({
4686
- corners: "sharp"
4687
- }, () => "0").otherwise(),
4812
+ "radius-interactive": match(theme).with({ corners: "rounded" }, () => "1.5rem").with({ corners: "soft" }, () => ".5rem").with({ corners: "sharp" }, () => "0").otherwise(),
4688
4813
  "section-weak-bg": highlights === "fill" ? core("color.n-2") : transparent,
4689
4814
  "section-strong-bg": highlights === "fill" ? highContrast ? core("color.n-3") : core("color.n-2") : transparent,
4690
4815
  "section-weak-stroke-color": highlights === "fill" ? transparent : highContrast ? core("color.n-7") : core("color.n-3"),
4691
4816
  "section-strong-stroke-color": highlights === "fill" ? transparent : highContrast ? core("color.n-11") : core("color.n-4"),
4692
- "section-stroke-width": match(theme).with({
4693
- highlights: "stroke",
4694
- highcontrast: true
4695
- }, () => "1.5px").otherwise(() => "1px"),
4696
- "job-card-bg": match(theme).with({
4697
- highlights: "fill"
4698
- }, () => core("color.lowest")).otherwise(() => transparent),
4699
- "job-card-bg-active": match(theme).with({
4700
- highlights: "fill"
4701
- }, () => core("color.lowest")).otherwise(() => transparent),
4817
+ "section-stroke-width": match(theme).with({ highlights: "stroke", highcontrast: true }, () => "1.5px").otherwise(() => "1px"),
4818
+ "job-card-bg": match(theme).with({ highlights: "fill" }, () => core("color.lowest")).otherwise(() => transparent),
4819
+ "job-card-bg-active": match(theme).with({ highlights: "fill" }, () => core("color.lowest")).otherwise(() => transparent),
4702
4820
  "job-card-stroke-color": highContrast ? core("color.n-10") : core("color.n-4"),
4703
4821
  "job-card-stroke-color-active": core("color.a-9"),
4704
- "job-card-stroke-width": match(theme).with({
4705
- highlights: "stroke",
4706
- highcontrast: true
4707
- }, () => "1.5px").otherwise(() => "1px")
4822
+ "job-card-stroke-width": match(theme).with({ highlights: "stroke", highcontrast: true }, () => "1.5px").otherwise(() => "1px")
4708
4823
  };
4709
4824
  }).component(() => ({}));
4710
- const asInploiVar = asCssVar({
4711
- prefix: "i-"
4712
- });
4825
+ const asInploiVar = asCssVar({ prefix: "i-" });
4713
4826
  const generateColorThemeCss = (theme) => {
4714
- const core = tokens.from({
4715
- theme,
4716
- getToken: asInploiVar
4717
- });
4827
+ const core = tokens.from({ theme, getToken: asInploiVar });
4718
4828
  const tokenCss = Object.entries(core.declarations).map(([key, value]) => `${key}: ${value};`);
4719
4829
  return `#${JOB_SEARCH_SCOPE_ELEMENT_ID} {
4720
4830
  ${tokenCss.concat(tokenCss).join("\n")}
4721
4831
  }`;
4722
4832
  };
4723
- 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"];
4833
+ const FILTER_KEYS = [
4834
+ "company_name",
4835
+ "employment_type",
4836
+ "location_type",
4837
+ "pay_type",
4838
+ "pay_currency",
4839
+ "pay_mask",
4840
+ "pay",
4841
+ "pay_min",
4842
+ "pay_max",
4843
+ "title",
4844
+ "industry",
4845
+ "category",
4846
+ "skills",
4847
+ "town",
4848
+ "city",
4849
+ "country",
4850
+ "contract_type",
4851
+ "pay_display"
4852
+ ];
4724
4853
  const createJobSearchDomManager = () => {
4725
4854
  return {
4726
4855
  getRenderTargetElement: () => {
@@ -4732,33 +4861,28 @@ const createJobSearchDomManager = () => {
4732
4861
  };
4733
4862
  const dom = createJobSearchDomManager();
4734
4863
  const jobSearchPlugin = () => {
4735
- return sdk.createPlugin(({
4736
- apiClient,
4737
- logger,
4738
- analytics
4739
- }) => {
4864
+ return sdk.createPlugin(({ apiClient, logger, analytics }) => {
4740
4865
  const App = ({
4741
4866
  params
4742
4867
  }) => {
4743
4868
  var _a;
4744
- return y$2(ErrorBoundary, {
4745
- Fallback: UnstyledErrorView
4746
- }, [[y$2("style", {
4747
- id: "inploi-job-search-styles"
4748
- }, tailwind), y$2("style", {
4749
- id: "inploi-job-search-theme"
4750
- }, generateColorThemeCss(params.theme))], y$2(IconSpritesheet, {
4751
- theme: params.theme
4752
- }), y$2(JobSearch, {
4753
- properties: params.properties,
4754
- apiClient,
4755
- logger,
4756
- analytics,
4757
- class: ((_a = params.theme.accessibility) == null ? void 0 : _a.reducedMotion) ? "reduced-motion" : void 0,
4758
- initialData: params.initialData,
4759
- onFilterChange: params.onFilterChange,
4760
- params
4761
- })]);
4869
+ return _$1(ErrorBoundary, { Fallback: UnstyledErrorView }, [
4870
+ [
4871
+ _$1("style", { id: "inploi-job-search-styles" }, tailwind),
4872
+ _$1("style", { id: "inploi-job-search-theme" }, generateColorThemeCss(params.theme))
4873
+ ],
4874
+ _$1(IconSpritesheet, { theme: params.theme }),
4875
+ _$1(JobSearch, {
4876
+ properties: params.properties,
4877
+ apiClient,
4878
+ logger,
4879
+ analytics,
4880
+ class: ((_a = params.theme.accessibility) == null ? void 0 : _a.reducedMotion) ? "reduced-motion" : void 0,
4881
+ initialData: params.initialData,
4882
+ onFilterChange: params.onFilterChange,
4883
+ params
4884
+ })
4885
+ ]);
4762
4886
  };
4763
4887
  return {
4764
4888
  /** Returns a string with the initial rendering state of the UI.
@@ -4769,26 +4893,31 @@ const jobSearchPlugin = () => {
4769
4893
  filters: getFilterDefaults(params.properties),
4770
4894
  apiClient,
4771
4895
  logger
4772
- }).then((jobs) => ({
4773
- jobs
4774
- })).catch(() => void 0) : void 0;
4896
+ }).then((jobs) => ({ jobs })).catch(() => void 0) : void 0;
4775
4897
  return {
4776
- html: b$1(y$2(g$3, {}, y$2(App, {
4777
- params: {
4778
- ...params,
4779
- initialData: data
4780
- }
4781
- }))),
4898
+ html: S(
4899
+ _$1(
4900
+ k$3,
4901
+ {},
4902
+ _$1(App, {
4903
+ params: {
4904
+ ...params,
4905
+ initialData: data
4906
+ }
4907
+ })
4908
+ )
4909
+ ),
4782
4910
  data
4783
4911
  };
4784
4912
  },
4785
4913
  /** Renders the Job Search Plugin inside the container element. */
4786
4914
  render: async (params) => {
4787
- const fn2 = params.initialData ? B$2 : q$2;
4788
- invariant(typeof window !== "undefined", "the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead.");
4789
- fn2(y$2(App, {
4790
- params
4791
- }), dom.getRenderTargetElement());
4915
+ const fn2 = params.initialData ? D$3 : B$2;
4916
+ invariant(
4917
+ typeof window !== "undefined",
4918
+ "the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."
4919
+ );
4920
+ fn2(_$1(App, { params }), dom.getRenderTargetElement());
4792
4921
  }
4793
4922
  };
4794
4923
  });