@inploi/plugin-job-alerts 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,559 @@
1
+ import { createPlugin } from "@inploi/sdk";
2
+ function invariant(condition, message) {
3
+ if (condition) {
4
+ return;
5
+ }
6
+ throw new Error(message);
7
+ }
8
+ var n$1, l$1, u$2, i$1, o$1, r, f$2, c$1 = {}, s$1 = [], a$1 = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, h$1 = Array.isArray;
9
+ function v$1(n2, l2) {
10
+ for (var u2 in l2)
11
+ n2[u2] = l2[u2];
12
+ return n2;
13
+ }
14
+ function p$1(n2) {
15
+ var l2 = n2.parentNode;
16
+ l2 && l2.removeChild(n2);
17
+ }
18
+ function y$1(l2, u2, t) {
19
+ var i2, o2, r2, f2 = {};
20
+ for (r2 in u2)
21
+ "key" == r2 ? i2 = u2[r2] : "ref" == r2 ? o2 = u2[r2] : f2[r2] = u2[r2];
22
+ if (arguments.length > 2 && (f2.children = arguments.length > 3 ? n$1.call(arguments, 2) : t), "function" == typeof l2 && null != l2.defaultProps)
23
+ for (r2 in l2.defaultProps)
24
+ void 0 === f2[r2] && (f2[r2] = l2.defaultProps[r2]);
25
+ return d$1(l2, f2, i2, o2, null);
26
+ }
27
+ function d$1(n2, t, i2, o2, r2) {
28
+ var f2 = { type: n2, props: t, key: i2, ref: o2, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: null == r2 ? ++u$2 : r2, __i: -1, __u: 0 };
29
+ return null == r2 && null != l$1.vnode && l$1.vnode(f2), f2;
30
+ }
31
+ function g$1(n2) {
32
+ return n2.children;
33
+ }
34
+ function b$1(n2, l2) {
35
+ this.props = n2, this.context = l2;
36
+ }
37
+ function m$1(n2, l2) {
38
+ if (null == l2)
39
+ return n2.__ ? m$1(n2.__, n2.__i + 1) : null;
40
+ for (var u2; l2 < n2.__k.length; l2++)
41
+ if (null != (u2 = n2.__k[l2]) && null != u2.__e)
42
+ return u2.__e;
43
+ return "function" == typeof n2.type ? m$1(n2) : null;
44
+ }
45
+ function k$1(n2) {
46
+ var l2, u2;
47
+ if (null != (n2 = n2.__) && null != n2.__c) {
48
+ for (n2.__e = n2.__c.base = null, l2 = 0; l2 < n2.__k.length; l2++)
49
+ if (null != (u2 = n2.__k[l2]) && null != u2.__e) {
50
+ n2.__e = n2.__c.base = u2.__e;
51
+ break;
52
+ }
53
+ return k$1(n2);
54
+ }
55
+ }
56
+ function w$1(n2) {
57
+ (!n2.__d && (n2.__d = true) && i$1.push(n2) && !x$1.__r++ || o$1 !== l$1.debounceRendering) && ((o$1 = l$1.debounceRendering) || r)(x$1);
58
+ }
59
+ function x$1() {
60
+ var n2, u2, t, o2, r2, e, c2, s2, a2;
61
+ for (i$1.sort(f$2); n2 = i$1.shift(); )
62
+ n2.__d && (u2 = i$1.length, o2 = void 0, e = (r2 = (t = n2).__v).__e, s2 = [], a2 = [], (c2 = t.__P) && ((o2 = v$1({}, r2)).__v = r2.__v + 1, l$1.vnode && l$1.vnode(o2), L(c2, o2, r2, t.__n, void 0 !== c2.ownerSVGElement, 32 & r2.__u ? [e] : null, s2, null == e ? m$1(r2) : e, !!(32 & r2.__u), a2), o2.__.__k[o2.__i] = o2, M(s2, o2, a2), o2.__e != e && k$1(o2)), i$1.length > u2 && i$1.sort(f$2));
63
+ x$1.__r = 0;
64
+ }
65
+ function C$1(n2, l2, u2, t, i2, o2, r2, f2, e, a2, h2) {
66
+ var v2, p2, y2, d2, _2, g2 = t && t.__k || s$1, b2 = l2.length;
67
+ for (u2.__d = e, P(u2, l2, g2), e = u2.__d, v2 = 0; v2 < b2; v2++)
68
+ null != (y2 = u2.__k[v2]) && "boolean" != typeof y2 && "function" != typeof y2 && (p2 = -1 === y2.__i ? c$1 : g2[y2.__i] || c$1, y2.__i = v2, L(n2, y2, p2, i2, o2, r2, f2, e, a2, h2), d2 = y2.__e, y2.ref && p2.ref != y2.ref && (p2.ref && z(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 ? e = S$1(y2, e, n2) : "function" == typeof y2.type && void 0 !== y2.__d ? e = y2.__d : d2 && (e = d2.nextSibling), y2.__d = void 0, y2.__u &= -196609);
69
+ u2.__d = e, u2.__e = _2;
70
+ }
71
+ function P(n2, l2, u2) {
72
+ var t, i2, o2, r2, f2, e = l2.length, c2 = u2.length, s2 = c2, a2 = 0;
73
+ for (n2.__k = [], t = 0; t < e; t++)
74
+ null != (i2 = n2.__k[t] = null == (i2 = l2[t]) || "boolean" == typeof i2 || "function" == typeof i2 ? null : "string" == typeof i2 || "number" == typeof i2 || "bigint" == typeof i2 || i2.constructor == String ? d$1(null, i2, null, null, i2) : h$1(i2) ? d$1(g$1, { children: i2 }, null, null, null) : void 0 === i2.constructor && i2.__b > 0 ? d$1(i2.type, i2.props, i2.key, i2.ref ? i2.ref : null, i2.__v) : i2) ? (i2.__ = n2, i2.__b = n2.__b + 1, f2 = H(i2, u2, r2 = t + 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 > e - r2 ? a2 += f2 - r2 : a2-- : a2 = f2 < r2 && f2 == r2 - 1 ? f2 - r2 : 0, f2 !== t + a2 && (i2.__u |= 65536))) : (o2 = u2[t]) && null == o2.key && o2.__e && (o2.__e == n2.__d && (n2.__d = m$1(o2)), N(o2, o2, false), u2[t] = null, s2--);
75
+ if (s2)
76
+ for (t = 0; t < c2; t++)
77
+ null != (o2 = u2[t]) && 0 == (131072 & o2.__u) && (o2.__e == n2.__d && (n2.__d = m$1(o2)), N(o2, o2));
78
+ }
79
+ function S$1(n2, l2, u2) {
80
+ var t, i2;
81
+ if ("function" == typeof n2.type) {
82
+ for (t = n2.__k, i2 = 0; t && i2 < t.length; i2++)
83
+ t[i2] && (t[i2].__ = n2, l2 = S$1(t[i2], l2, u2));
84
+ return l2;
85
+ }
86
+ return n2.__e != l2 && (u2.insertBefore(n2.__e, l2 || null), l2 = n2.__e), l2 && l2.nextSibling;
87
+ }
88
+ function H(n2, l2, u2, t) {
89
+ var i2 = n2.key, o2 = n2.type, r2 = u2 - 1, f2 = u2 + 1, e = l2[u2];
90
+ if (null === e || e && i2 == e.key && o2 === e.type)
91
+ return u2;
92
+ if (t > (null != e && 0 == (131072 & e.__u) ? 1 : 0))
93
+ for (; r2 >= 0 || f2 < l2.length; ) {
94
+ if (r2 >= 0) {
95
+ if ((e = l2[r2]) && 0 == (131072 & e.__u) && i2 == e.key && o2 === e.type)
96
+ return r2;
97
+ r2--;
98
+ }
99
+ if (f2 < l2.length) {
100
+ if ((e = l2[f2]) && 0 == (131072 & e.__u) && i2 == e.key && o2 === e.type)
101
+ return f2;
102
+ f2++;
103
+ }
104
+ }
105
+ return -1;
106
+ }
107
+ function I(n2, l2, u2) {
108
+ "-" === l2[0] ? n2.setProperty(l2, null == u2 ? "" : u2) : n2[l2] = null == u2 ? "" : "number" != typeof u2 || a$1.test(l2) ? u2 : u2 + "px";
109
+ }
110
+ function T(n2, l2, u2, t, i2) {
111
+ var o2;
112
+ n:
113
+ if ("style" === l2)
114
+ if ("string" == typeof u2)
115
+ n2.style.cssText = u2;
116
+ else {
117
+ if ("string" == typeof t && (n2.style.cssText = t = ""), t)
118
+ for (l2 in t)
119
+ u2 && l2 in u2 || I(n2.style, l2, "");
120
+ if (u2)
121
+ for (l2 in u2)
122
+ t && u2[l2] === t[l2] || I(n2.style, l2, u2[l2]);
123
+ }
124
+ else if ("o" === l2[0] && "n" === l2[1])
125
+ 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 ? t ? u2.u = t.u : (u2.u = Date.now(), n2.addEventListener(l2, o2 ? D : A, o2)) : n2.removeEventListener(l2, o2 ? D : A, o2);
126
+ else {
127
+ if (i2)
128
+ l2 = l2.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
129
+ 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)
130
+ try {
131
+ n2[l2] = null == u2 ? "" : u2;
132
+ break n;
133
+ } catch (n3) {
134
+ }
135
+ "function" == typeof u2 || (null == u2 || false === u2 && "-" !== l2[4] ? n2.removeAttribute(l2) : n2.setAttribute(l2, u2));
136
+ }
137
+ }
138
+ function A(n2) {
139
+ var u2 = this.l[n2.type + false];
140
+ if (n2.t) {
141
+ if (n2.t <= u2.u)
142
+ return;
143
+ } else
144
+ n2.t = Date.now();
145
+ return u2(l$1.event ? l$1.event(n2) : n2);
146
+ }
147
+ function D(n2) {
148
+ return this.l[n2.type + true](l$1.event ? l$1.event(n2) : n2);
149
+ }
150
+ function L(n2, u2, t, i2, o2, r2, f2, e, c2, s2) {
151
+ var a2, p2, y2, d2, _2, m2, k2, w2, x2, P2, S2, $, H2, I2, T2, A2 = u2.type;
152
+ if (void 0 !== u2.constructor)
153
+ return null;
154
+ 128 & t.__u && (c2 = !!(32 & t.__u), r2 = [e = u2.__e = t.__e]), (a2 = l$1.__b) && a2(u2);
155
+ n:
156
+ if ("function" == typeof A2)
157
+ try {
158
+ if (w2 = u2.props, x2 = (a2 = A2.contextType) && i2[a2.__c], P2 = a2 ? x2 ? x2.props.value : a2.__ : i2, t.__c ? k2 = (p2 = u2.__c = t.__c).__ = p2.__E : ("prototype" in A2 && A2.prototype.render ? u2.__c = p2 = new A2(w2, P2) : (u2.__c = p2 = new b$1(w2, P2), p2.constructor = A2, p2.render = O), 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$1({}, p2.__s)), v$1(p2.__s, A2.getDerivedStateFromProps(w2, p2.__s))), d2 = p2.props, _2 = p2.state, p2.__v = u2, y2)
159
+ null == A2.getDerivedStateFromProps && null != p2.componentWillMount && p2.componentWillMount(), null != p2.componentDidMount && p2.__h.push(p2.componentDidMount);
160
+ else {
161
+ 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 === t.__v)) {
162
+ for (u2.__v !== t.__v && (p2.props = w2, p2.state = p2.__s, p2.__d = false), u2.__e = t.__e, u2.__k = t.__k, u2.__k.forEach(function(n3) {
163
+ n3 && (n3.__ = u2);
164
+ }), S2 = 0; S2 < p2._sb.length; S2++)
165
+ p2.__h.push(p2._sb[S2]);
166
+ p2._sb = [], p2.__h.length && f2.push(p2);
167
+ break n;
168
+ }
169
+ null != p2.componentWillUpdate && p2.componentWillUpdate(w2, p2.__s, P2), null != p2.componentDidUpdate && p2.__h.push(function() {
170
+ p2.componentDidUpdate(d2, _2, m2);
171
+ });
172
+ }
173
+ if (p2.context = P2, p2.props = w2, p2.__P = n2, p2.__e = false, $ = l$1.__r, H2 = 0, "prototype" in A2 && A2.prototype.render) {
174
+ for (p2.state = p2.__s, p2.__d = false, $ && $(u2), a2 = p2.render(p2.props, p2.state, p2.context), I2 = 0; I2 < p2._sb.length; I2++)
175
+ p2.__h.push(p2._sb[I2]);
176
+ p2._sb = [];
177
+ } else
178
+ do {
179
+ p2.__d = false, $ && $(u2), a2 = p2.render(p2.props, p2.state, p2.context), p2.state = p2.__s;
180
+ } while (p2.__d && ++H2 < 25);
181
+ p2.state = p2.__s, null != p2.getChildContext && (i2 = v$1(v$1({}, i2), p2.getChildContext())), y2 || null == p2.getSnapshotBeforeUpdate || (m2 = p2.getSnapshotBeforeUpdate(d2, _2)), C$1(n2, h$1(T2 = null != a2 && a2.type === g$1 && null == a2.key ? a2.props.children : a2) ? T2 : [T2], u2, t, i2, o2, r2, f2, e, c2, s2), p2.base = u2.__e, u2.__u &= -161, p2.__h.length && f2.push(p2), k2 && (p2.__E = p2.__ = null);
182
+ } catch (n3) {
183
+ u2.__v = null, c2 || null != r2 ? (u2.__e = e, u2.__u |= c2 ? 160 : 32, r2[r2.indexOf(e)] = null) : (u2.__e = t.__e, u2.__k = t.__k), l$1.__e(n3, u2, t);
184
+ }
185
+ else
186
+ null == r2 && u2.__v === t.__v ? (u2.__k = t.__k, u2.__e = t.__e) : u2.__e = j(t.__e, u2, t, i2, o2, r2, f2, c2, s2);
187
+ (a2 = l$1.diffed) && a2(u2);
188
+ }
189
+ function M(n2, u2, t) {
190
+ u2.__d = void 0;
191
+ for (var i2 = 0; i2 < t.length; i2++)
192
+ z(t[i2], t[++i2], t[++i2]);
193
+ l$1.__c && l$1.__c(u2, n2), n2.some(function(u3) {
194
+ try {
195
+ n2 = u3.__h, u3.__h = [], n2.some(function(n3) {
196
+ n3.call(u3);
197
+ });
198
+ } catch (n3) {
199
+ l$1.__e(n3, u3.__v);
200
+ }
201
+ });
202
+ }
203
+ function j(l2, u2, t, i2, o2, r2, f2, e, s2) {
204
+ var a2, v2, y2, d2, _2, g2, b2, k2 = t.props, w2 = u2.props, x2 = u2.type;
205
+ if ("svg" === x2 && (o2 = true), null != r2) {
206
+ for (a2 = 0; a2 < r2.length; a2++)
207
+ if ((_2 = r2[a2]) && "setAttribute" in _2 == !!x2 && (x2 ? _2.localName === x2 : 3 === _2.nodeType)) {
208
+ l2 = _2, r2[a2] = null;
209
+ break;
210
+ }
211
+ }
212
+ if (null == l2) {
213
+ if (null === x2)
214
+ return document.createTextNode(w2);
215
+ l2 = o2 ? document.createElementNS("http://www.w3.org/2000/svg", x2) : document.createElement(x2, w2.is && w2), r2 = null, e = false;
216
+ }
217
+ if (null === x2)
218
+ k2 === w2 || e && l2.data === w2 || (l2.data = w2);
219
+ else {
220
+ if (r2 = r2 && n$1.call(l2.childNodes), k2 = t.props || c$1, !e && null != r2)
221
+ for (k2 = {}, a2 = 0; a2 < l2.attributes.length; a2++)
222
+ k2[(_2 = l2.attributes[a2]).name] = _2.value;
223
+ for (a2 in k2)
224
+ _2 = k2[a2], "children" == a2 || ("dangerouslySetInnerHTML" == a2 ? y2 = _2 : "key" === a2 || a2 in w2 || T(l2, a2, null, _2, o2));
225
+ for (a2 in w2)
226
+ _2 = w2[a2], "children" == a2 ? d2 = _2 : "dangerouslySetInnerHTML" == a2 ? v2 = _2 : "value" == a2 ? g2 = _2 : "checked" == a2 ? b2 = _2 : "key" === a2 || e && "function" != typeof _2 || k2[a2] === _2 || T(l2, a2, _2, k2[a2], o2);
227
+ if (v2)
228
+ e || y2 && (v2.__html === y2.__html || v2.__html === l2.innerHTML) || (l2.innerHTML = v2.__html), u2.__k = [];
229
+ else if (y2 && (l2.innerHTML = ""), C$1(l2, h$1(d2) ? d2 : [d2], u2, t, i2, o2 && "foreignObject" !== x2, r2, f2, r2 ? r2[0] : t.__k && m$1(t, 0), e, s2), null != r2)
230
+ for (a2 = r2.length; a2--; )
231
+ null != r2[a2] && p$1(r2[a2]);
232
+ e || (a2 = "value", void 0 !== g2 && (g2 !== l2[a2] || "progress" === x2 && !g2 || "option" === x2 && g2 !== k2[a2]) && T(l2, a2, g2, k2[a2], false), a2 = "checked", void 0 !== b2 && b2 !== l2[a2] && T(l2, a2, b2, k2[a2], false));
233
+ }
234
+ return l2;
235
+ }
236
+ function z(n2, u2, t) {
237
+ try {
238
+ "function" == typeof n2 ? n2(u2) : n2.current = u2;
239
+ } catch (n3) {
240
+ l$1.__e(n3, t);
241
+ }
242
+ }
243
+ function N(n2, u2, t) {
244
+ var i2, o2;
245
+ if (l$1.unmount && l$1.unmount(n2), (i2 = n2.ref) && (i2.current && i2.current !== n2.__e || z(i2, null, u2)), null != (i2 = n2.__c)) {
246
+ if (i2.componentWillUnmount)
247
+ try {
248
+ i2.componentWillUnmount();
249
+ } catch (n3) {
250
+ l$1.__e(n3, u2);
251
+ }
252
+ i2.base = i2.__P = null, n2.__c = void 0;
253
+ }
254
+ if (i2 = n2.__k)
255
+ for (o2 = 0; o2 < i2.length; o2++)
256
+ i2[o2] && N(i2[o2], u2, t || "function" != typeof n2.type);
257
+ t || null == n2.__e || p$1(n2.__e), n2.__ = n2.__e = n2.__d = void 0;
258
+ }
259
+ function O(n2, l2, u2) {
260
+ return this.constructor(n2, u2);
261
+ }
262
+ function q(u2, t, i2) {
263
+ var o2, r2, f2, e;
264
+ l$1.__ && l$1.__(u2, t), r2 = (o2 = "function" == typeof i2) ? null : i2 && i2.__k || t.__k, f2 = [], e = [], L(t, u2 = (!o2 && i2 || t).__k = y$1(g$1, null, [u2]), r2 || c$1, c$1, void 0 !== t.ownerSVGElement, !o2 && i2 ? [i2] : r2 ? null : t.firstChild ? n$1.call(t.childNodes) : null, f2, !o2 && i2 ? i2 : r2 ? r2.__e : t.firstChild, o2, e), M(f2, u2, e);
265
+ }
266
+ n$1 = s$1.slice, l$1 = { __e: function(n2, l2, u2, t) {
267
+ for (var i2, o2, r2; l2 = l2.__; )
268
+ if ((i2 = l2.__c) && !i2.__)
269
+ try {
270
+ if ((o2 = i2.constructor) && null != o2.getDerivedStateFromError && (i2.setState(o2.getDerivedStateFromError(n2)), r2 = i2.__d), null != i2.componentDidCatch && (i2.componentDidCatch(n2, t || {}), r2 = i2.__d), r2)
271
+ return i2.__E = i2;
272
+ } catch (l3) {
273
+ n2 = l3;
274
+ }
275
+ throw n2;
276
+ } }, u$2 = 0, b$1.prototype.setState = function(n2, l2) {
277
+ var u2;
278
+ u2 = null != this.__s && this.__s !== this.state ? this.__s : this.__s = v$1({}, this.state), "function" == typeof n2 && (n2 = n2(v$1({}, u2), this.props)), n2 && v$1(u2, n2), null != n2 && this.__v && (l2 && this._sb.push(l2), w$1(this));
279
+ }, b$1.prototype.forceUpdate = function(n2) {
280
+ this.__v && (this.__e = true, n2 && this.__h.push(n2), w$1(this));
281
+ }, b$1.prototype.render = g$1, i$1 = [], r = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, f$2 = function(n2, l2) {
282
+ return n2.__v.__b - l2.__v.__b;
283
+ }, x$1.__r = 0;
284
+ var o = /[\s\n\\/='"\0<>]/, n = /^(xlink|xmlns|xml)([A-Z])/, a = /^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 = /^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 = /["&<]/;
285
+ function s(e) {
286
+ if (0 === e.length || false === l.test(e))
287
+ return e;
288
+ for (var t = 0, r2 = 0, o2 = "", n2 = ""; r2 < e.length; r2++) {
289
+ switch (e.charCodeAt(r2)) {
290
+ case 34:
291
+ n2 = "&quot;";
292
+ break;
293
+ case 38:
294
+ n2 = "&amp;";
295
+ break;
296
+ case 60:
297
+ n2 = "&lt;";
298
+ break;
299
+ default:
300
+ continue;
301
+ }
302
+ r2 !== t && (o2 += e.slice(t, r2)), o2 += n2, t = r2 + 1;
303
+ }
304
+ return r2 !== t && (o2 += e.slice(t, r2)), o2;
305
+ }
306
+ var c = {}, p = /* @__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$1 = /[A-Z]/g;
307
+ function f$1(e) {
308
+ var t = "";
309
+ for (var r2 in e) {
310
+ var o2 = e[r2];
311
+ if (null != o2 && "" !== o2) {
312
+ var n2 = "-" == r2[0] ? r2 : c[r2] || (c[r2] = r2.replace(u$1, "-$&").toLowerCase()), a2 = ";";
313
+ "number" != typeof o2 || n2.startsWith("--") || p.has(n2) || (a2 = "px;"), t = t + n2 + ":" + o2 + a2;
314
+ }
315
+ }
316
+ return t || void 0;
317
+ }
318
+ var _, d, h, m, v = [], g = Array.isArray, y = Object.assign;
319
+ function b(o2, n2) {
320
+ var a2 = l$1.__s;
321
+ l$1.__s = true, _ = l$1.__b, d = l$1.diffed, h = l$1.__r, m = l$1.unmount;
322
+ var i2 = y$1(g$1, null);
323
+ i2.__k = [o2];
324
+ try {
325
+ return C(o2, n2 || k, false, void 0, i2);
326
+ } finally {
327
+ l$1.__c && l$1.__c(o2, v), l$1.__s = a2, v.length = 0;
328
+ }
329
+ }
330
+ function x() {
331
+ this.__d = true;
332
+ }
333
+ var k = {};
334
+ function w(e, t) {
335
+ var r2, o2 = e.type, n2 = true;
336
+ return e.__c ? (n2 = false, (r2 = e.__c).state = r2.__s) : r2 = new o2(e.props, t), e.__c = r2, r2.__v = e, r2.props = e.props, r2.context = t, r2.__d = true, null == r2.state && (r2.state = k), null == r2.__s && (r2.__s = r2.state), o2.getDerivedStateFromProps ? r2.state = y({}, 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 && h(e), r2.render(r2.props, r2.state, t);
337
+ }
338
+ function C(t, l2, c2, p2, u2) {
339
+ if (null == t || true === t || false === t || "" === t)
340
+ return "";
341
+ if ("object" != typeof t)
342
+ return "function" == typeof t ? "" : s(t + "");
343
+ if (g(t)) {
344
+ var v2 = "";
345
+ u2.__k = t;
346
+ for (var b2 = 0; b2 < t.length; b2++) {
347
+ var k2 = t[b2];
348
+ null != k2 && "boolean" != typeof k2 && (v2 += C(k2, l2, c2, p2, u2));
349
+ }
350
+ return v2;
351
+ }
352
+ if (void 0 !== t.constructor)
353
+ return "";
354
+ t.__ = u2, _ && _(t);
355
+ var A2, L2, D2, E = t.type, T2 = t.props, Z = l2;
356
+ if ("function" == typeof E) {
357
+ if (E === g$1) {
358
+ if (T2.tpl) {
359
+ for (var F = "", U = 0; U < T2.tpl.length; U++)
360
+ if (F += T2.tpl[U], T2.exprs && U < T2.exprs.length) {
361
+ var W = T2.exprs[U];
362
+ if (null == W)
363
+ continue;
364
+ "object" != typeof W || void 0 !== W.constructor && !g(W) ? F += W : F += C(W, l2, c2, p2, t);
365
+ }
366
+ return F;
367
+ }
368
+ if (T2.UNSTABLE_comment)
369
+ return "<!--" + s(T2.UNSTABLE_comment || "") + "-->";
370
+ L2 = T2.children;
371
+ } else {
372
+ if (null != (A2 = E.contextType)) {
373
+ var $ = l2[A2.__c];
374
+ Z = $ ? $.props.value : A2.__;
375
+ }
376
+ if (E.prototype && "function" == typeof E.prototype.render)
377
+ L2 = w(t, Z), D2 = t.__c;
378
+ else {
379
+ t.__c = D2 = { __v: t, props: T2, context: Z, setState: x, forceUpdate: x, __d: true, __h: [] };
380
+ for (var j2 = 0; D2.__d && j2++ < 25; )
381
+ D2.__d = false, h && h(t), L2 = E.call(D2, T2, Z);
382
+ D2.__d = true;
383
+ }
384
+ if (null != D2.getChildContext && (l2 = y({}, l2, D2.getChildContext())), (E.getDerivedStateFromError || D2.componentDidCatch) && l$1.errorBoundaries) {
385
+ var M2 = "";
386
+ L2 = null != L2 && L2.type === g$1 && null == L2.key ? L2.props.children : L2;
387
+ try {
388
+ return M2 = C(L2, l2, c2, p2, t);
389
+ } catch (e) {
390
+ return E.getDerivedStateFromError && (D2.__s = E.getDerivedStateFromError(e)), D2.componentDidCatch && D2.componentDidCatch(e, {}), D2.__d && (L2 = w(t, l2), null != (D2 = t.__c).getChildContext && (l2 = y({}, l2, D2.getChildContext())), M2 = C(L2 = null != L2 && L2.type === g$1 && null == L2.key ? L2.props.children : L2, l2, c2, p2, t)), M2;
391
+ } finally {
392
+ d && d(t), t.__ = void 0, m && m(t);
393
+ }
394
+ }
395
+ }
396
+ var z2 = C(L2 = null != L2 && L2.type === g$1 && null == L2.key ? L2.props.children : L2, l2, c2, p2, t);
397
+ return d && d(t), t.__ = void 0, m && m(t), z2;
398
+ }
399
+ var H2, q2 = "<" + E, B = "";
400
+ for (var I2 in T2) {
401
+ var N2 = T2[I2];
402
+ switch (I2) {
403
+ case "children":
404
+ H2 = N2;
405
+ continue;
406
+ case "key":
407
+ case "ref":
408
+ case "__self":
409
+ case "__source":
410
+ continue;
411
+ case "htmlFor":
412
+ if ("for" in T2)
413
+ continue;
414
+ I2 = "for";
415
+ break;
416
+ case "className":
417
+ if ("class" in T2)
418
+ continue;
419
+ I2 = "class";
420
+ break;
421
+ case "defaultChecked":
422
+ I2 = "checked";
423
+ break;
424
+ case "defaultSelected":
425
+ I2 = "selected";
426
+ break;
427
+ case "defaultValue":
428
+ case "value":
429
+ switch (I2 = "value", E) {
430
+ case "textarea":
431
+ H2 = N2;
432
+ continue;
433
+ case "select":
434
+ p2 = N2;
435
+ continue;
436
+ case "option":
437
+ p2 != N2 || "selected" in T2 || (q2 += " selected");
438
+ }
439
+ break;
440
+ case "dangerouslySetInnerHTML":
441
+ B = N2 && N2.__html;
442
+ continue;
443
+ case "style":
444
+ "object" == typeof N2 && (N2 = f$1(N2));
445
+ break;
446
+ case "acceptCharset":
447
+ I2 = "accept-charset";
448
+ break;
449
+ case "httpEquiv":
450
+ I2 = "http-equiv";
451
+ break;
452
+ default:
453
+ if (n.test(I2))
454
+ I2 = I2.replace(n, "$1:$2").toLowerCase();
455
+ else {
456
+ if (o.test(I2))
457
+ continue;
458
+ "-" !== I2[4] && "draggable" !== I2 || null == N2 ? c2 ? i.test(I2) && (I2 = "panose1" === I2 ? "panose-1" : I2.replace(/([A-Z])/g, "-$1").toLowerCase()) : a.test(I2) && (I2 = I2.toLowerCase()) : N2 += "";
459
+ }
460
+ }
461
+ null != N2 && false !== N2 && "function" != typeof N2 && (q2 = true === N2 || "" === N2 ? q2 + " " + I2 : q2 + " " + I2 + '="' + s(N2 + "") + '"');
462
+ }
463
+ if (o.test(E))
464
+ throw new Error(E + " is not a valid HTML tag name in " + q2 + ">");
465
+ return B || ("string" == typeof H2 ? B = s(H2) : null != H2 && false !== H2 && true !== H2 && (B = C(H2, l2, "svg" === E || "foreignObject" !== E && c2, p2, t))), d && d(t), t.__ = void 0, m && m(t), !B && S.has(E) ? q2 + "/>" : q2 + ">" + B + "</" + E + ">";
466
+ }
467
+ var S = /* @__PURE__ */ new Set(["area", "base", "br", "col", "command", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]);
468
+ var f = 0;
469
+ function u(e, t, n2, o2, i2, u2) {
470
+ var a2, c2, p2 = {};
471
+ for (c2 in t)
472
+ "ref" == c2 ? a2 = t[c2] : p2[c2] = t[c2];
473
+ var l2 = { type: e, props: p2, key: n2, ref: a2, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: --f, __i: -1, __u: 0, __source: i2, __self: u2 };
474
+ if ("function" == typeof e && (a2 = e.defaultProps))
475
+ for (c2 in a2)
476
+ void 0 === p2[c2] && (p2[c2] = a2[c2]);
477
+ return l$1.vnode && l$1.vnode(l2), l2;
478
+ }
479
+ const icons = {
480
+ default: u(g$1, {})
481
+ };
482
+ const IconSpritesheet = ({
483
+ theme
484
+ }) => {
485
+ return u("svg", {
486
+ xmlns: "http://www.w3.org/2000/svg",
487
+ style: {
488
+ display: "none"
489
+ },
490
+ children: u("defs", {
491
+ children: Object.entries(icons).map(([name, icon]) => u("symbol", {
492
+ id: `i-icon-${name}`,
493
+ children: u("g", {
494
+ fill: "none",
495
+ "stroke-width": theme.mode === "dark" ? "1" : "1.5",
496
+ "stroke-linecap": "round",
497
+ "stroke-linejoin": "round",
498
+ stroke: "currentColor",
499
+ children: icon
500
+ })
501
+ }))
502
+ })
503
+ });
504
+ };
505
+ const JobAlerts = () => {
506
+ return u("div", {
507
+ children: "Job Alerts"
508
+ });
509
+ };
510
+ const JOB_ALERTS_ELEMENT_ID = "inploi-job-alerts";
511
+ const tailwind = "#ija {\n font-size: 16px;\n --tw-content: '';\n}\n\n #ija * {\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 #ija ::before,\n #ija ::after {\n box-sizing: border-box;\n }\n\n #ija :is(a) {\n text-decoration: none;\n }\n\n #ija :is(ul, ol) {\n list-style: none;\n padding: 0;\n margin: 0;\n }\n\n #ija :is(p) {\n margin: 0;\n padding: 0;\n }\n\n #ija :is(li) {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n\n #ija :is(button),\n #ija :is(a) {\n display: block;\n margin: 0;\n padding: 0;\n border: unset;\n background: unset;\n text-align: unset;\n }\n\n #ija :is(input),\n #ija :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 #ija :is(svg) {\n display: block;\n }\n\n @media (prefers-reduced-motion) {\n #ija * {\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 #ija *, #ija ::before, #ija ::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 #ija ::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 #ija .container {\n width: 100%;\n}\n\n @media (min-width: 640px) {\n\n #ija .container {\n max-width: 640px;\n }\n}\n\n @media (min-width: 768px) {\n\n #ija .container {\n max-width: 768px;\n }\n}\n\n @media (min-width: 1024px) {\n\n #ija .container {\n max-width: 1024px;\n }\n}\n\n @media (min-width: 1280px) {\n\n #ija .container {\n max-width: 1280px;\n }\n}\n\n @media (min-width: 1536px) {\n\n #ija .container {\n max-width: 1536px;\n }\n}\n\n #ija .visible {\n visibility: visible;\n}\n\n #ija .invisible {\n visibility: hidden;\n}\n\n #ija .collapse {\n visibility: collapse;\n}\n\n #ija .static {\n position: static;\n}\n\n #ija .fixed {\n position: fixed;\n}\n\n #ija .absolute {\n position: absolute;\n}\n\n #ija .relative {\n position: relative;\n}\n\n #ija .sticky {\n position: sticky;\n}\n\n #ija .isolate {\n isolation: isolate;\n}\n\n #ija .block {\n display: block;\n}\n\n #ija .inline-block {\n display: inline-block;\n}\n\n #ija .inline {\n display: inline;\n}\n\n #ija .flex {\n display: flex;\n}\n\n #ija .inline-flex {\n display: inline-flex;\n}\n\n #ija .table {\n display: table;\n}\n\n #ija .table-row {\n display: table-row;\n}\n\n #ija .flow-root {\n display: flow-root;\n}\n\n #ija .grid {\n display: grid;\n}\n\n #ija .inline-grid {\n display: inline-grid;\n}\n\n #ija .contents {\n display: contents;\n}\n\n #ija .list-item {\n display: list-item;\n}\n\n #ija .\\!hidden {\n display: none !important;\n}\n\n #ija .hidden {\n display: none;\n}\n\n #ija .flex-shrink {\n flex-shrink: 1;\n}\n\n #ija .shrink {\n flex-shrink: 1;\n}\n\n #ija .flex-grow {\n flex-grow: 1;\n}\n\n #ija .grow {\n flex-grow: 1;\n}\n\n #ija .border-collapse {\n border-collapse: collapse;\n}\n\n #ija .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 #ija .resize {\n resize: both;\n}\n\n #ija .flex-wrap {\n flex-wrap: wrap;\n}\n\n #ija .truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n #ija .rounded {\n border-radius: 0.25rem;\n}\n\n #ija .border {\n border-width: 1px;\n}\n\n #ija .text-justify {\n text-align: justify;\n}\n\n #ija .uppercase {\n text-transform: uppercase;\n}\n\n #ija .lowercase {\n text-transform: lowercase;\n}\n\n #ija .capitalize {\n text-transform: capitalize;\n}\n\n #ija .italic {\n font-style: italic;\n}\n\n #ija .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 #ija .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 #ija .outline {\n outline-style: solid;\n}\n\n #ija .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 #ija .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 #ija .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 #ija .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 #ija .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 #ija .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 #ija .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 #ija .fr {\n outline: none;\n}\n\n #ija .fr:focus {\n outline: none;\n}\n\n #ija .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\] {\n a-z-a--z0-9-_: .$@?;\n}\n";
512
+ const createJobAlertsDomManager = () => {
513
+ return {
514
+ getRenderTargetElement: () => {
515
+ const element = document.body.querySelector(`#${JOB_ALERTS_ELEMENT_ID}`);
516
+ invariant(element, `Element with id ${JOB_ALERTS_ELEMENT_ID} not found.`);
517
+ return element;
518
+ }
519
+ };
520
+ };
521
+ const dom = createJobAlertsDomManager();
522
+ const jobAlertsPlugin = () => createPlugin(({
523
+ apiClient: _2,
524
+ logger: __,
525
+ analytics: ___
526
+ }) => {
527
+ const App = ({
528
+ params
529
+ }) => {
530
+ return y$1(g$1, {}, [[y$1("style", {
531
+ id: "inploi-job-alerts-styles"
532
+ }, tailwind)], y$1(IconSpritesheet, {
533
+ theme: params.theme
534
+ }), y$1(JobAlerts, {})]);
535
+ };
536
+ return {
537
+ /** Returns a string with the initial rendering state of the UI.
538
+ * Useful when server-side rendering to avoid CLS.
539
+ */
540
+ prerender: async (params) => {
541
+ return {
542
+ html: b(y$1(g$1, {}, y$1(App, {
543
+ params
544
+ })))
545
+ };
546
+ },
547
+ /** Renders the Job Alerts Plugin inside the container element. */
548
+ render: async (params) => {
549
+ invariant(typeof window !== "undefined", "the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead.");
550
+ q(y$1(App, {
551
+ params
552
+ }), dom.getRenderTargetElement());
553
+ }
554
+ };
555
+ });
556
+ export {
557
+ createJobAlertsDomManager,
558
+ jobAlertsPlugin
559
+ };
package/package.json ADDED
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "@inploi/plugin-job-alerts",
3
+ "version": "0.0.0",
4
+ "type": "module",
5
+ "main": "dist/plugin-job-alerts.js",
6
+ "types": "dist/index.d.ts",
7
+ "files": [
8
+ "/dist",
9
+ "/cdn"
10
+ ],
11
+ "peerDependencies": {
12
+ "@inploi/sdk": "*"
13
+ },
14
+ "devDependencies": {
15
+ "@faker-js/faker": "^8.4.0",
16
+ "@happy-dom/global-registrator": "14.3.6",
17
+ "@preact/preset-vite": "^2.7.0",
18
+ "@preact/signals": "^1.2.2",
19
+ "@total-typescript/ts-reset": "^0.5.1",
20
+ "@types/bun": "^1.0.8",
21
+ "@types/culori": "^2.0.4",
22
+ "@types/eslint": "^8.56.2",
23
+ "@types/node": "^20.10.0",
24
+ "autoprefixer": "^10.4.16",
25
+ "cva": "1.0.0-beta.1",
26
+ "dotenv": "^16.3.1",
27
+ "eslint-plugin-react-hooks": "^4.6.0",
28
+ "eslint-plugin-tailwindcss": "^3.14.1",
29
+ "happy-dom": "14.3.6",
30
+ "msw": "^2.0.10",
31
+ "playwright-msw": "^3.0.0",
32
+ "postcss": "^8.4.31",
33
+ "preact": "^10.19.3",
34
+ "preact-render-to-string": "^6.3.1",
35
+ "react": "npm:@preact/compat",
36
+ "react-dom": "npm:@preact/compat",
37
+ "rollup-plugin-visualizer": "^5.9.2",
38
+ "swr": "^2.2.4",
39
+ "tailwindcss": "^3.3.5",
40
+ "tailwindcss-touch": "^1.0.1",
41
+ "type-testing": "^0.2.0",
42
+ "typescript": "^5.3.0",
43
+ "valibot": "^0.21.0",
44
+ "vite": "^4.4.5",
45
+ "vite-plugin-dts": "^3.7.0",
46
+ "vite-tsconfig-paths": "^4.2.1",
47
+ "@inploi/core": "1.11.10",
48
+ "@inploi/design-tokens": "0.2.1",
49
+ "@inploi/sdk": "1.12.2",
50
+ "eslint-config-custom": "0.1.0"
51
+ },
52
+ "msw": {
53
+ "workerDirectory": "public"
54
+ },
55
+ "dependencies": {
56
+ "clsx": "^2.0.0"
57
+ },
58
+ "scripts": {
59
+ "dev": "vite",
60
+ "build": "concurrently 'pnpm build:npm' 'pnpm run build:cdn'",
61
+ "build:npm": "VITE_MOCKS=false vite build --mode=production",
62
+ "build:cdn": "VITE_MOCKS=false vite build --mode=cdn",
63
+ "preview": "vite preview",
64
+ "_test": "bun test src/",
65
+ "_test:watch": "bun test src/ --watch",
66
+ "_test:int": "playwright test",
67
+ "_test:ui": "playwright test --ui",
68
+ "check": "eslint src --fix --max-warnings 0 && tsc"
69
+ }
70
+ }