acemyjob-ui 2.0.2 → 2.0.4

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.
@@ -1,10 +1,11 @@
1
1
  import * as j from "react";
2
- import I, { useState as V, useCallback as M, createContext as Te, useEffect as U, useContext as Ee, useRef as Z } from "react";
3
- import { ChevronDownIcon as ae, InformationCircleIcon as be, ExclamationCircleIcon as pe, XCircleIcon as je, CheckCircleIcon as ye, XMarkIcon as Re, Bars3Icon as Ae } from "@heroicons/react/24/outline";
4
- import { useSortable as Se } from "@dnd-kit/sortable";
5
- import { CSS as Be } from "@dnd-kit/utilities";
6
- import { Dialog as Me, DialogBackdrop as _e, DialogPanel as De, TransitionChild as Oe } from "@headlessui/react";
7
- const Rr = {
2
+ import P, { useState as V, useCallback as M, createContext as Ee, useEffect as I, useContext as Re, useRef as G } from "react";
3
+ import { ChevronDownIcon as te, InformationCircleIcon as ve, ExclamationCircleIcon as pe, XCircleIcon as je, CheckCircleIcon as ye, XMarkIcon as we, Bars3Icon as Ae } from "@heroicons/react/24/outline";
4
+ import { createPortal as Se } from "react-dom";
5
+ import { useSortable as Be } from "@dnd-kit/sortable";
6
+ import { CSS as Me } from "@dnd-kit/utilities";
7
+ import { Dialog as De, DialogBackdrop as _e, DialogPanel as Oe, TransitionChild as Ie } from "@headlessui/react";
8
+ const Or = {
8
9
  required: (r = "This field is required") => ({
9
10
  validate: (s) => typeof s == "string" ? s.trim().length > 0 : Array.isArray(s) ? s.length > 0 : s != null,
10
11
  message: r
@@ -14,23 +15,23 @@ const Rr = {
14
15
  message: r
15
16
  }),
16
17
  minLength: (r, s) => ({
17
- validate: (a) => String(a).length >= r,
18
+ validate: (t) => String(t).length >= r,
18
19
  message: s || `Must be at least ${r} characters`
19
20
  }),
20
21
  maxLength: (r, s) => ({
21
- validate: (a) => String(a).length <= r,
22
+ validate: (t) => String(t).length <= r,
22
23
  message: s || `Must be no more than ${r} characters`
23
24
  }),
24
25
  pattern: (r, s = "Invalid format") => ({
25
- validate: (a) => r.test(String(a)),
26
+ validate: (t) => r.test(String(t)),
26
27
  message: s
27
28
  }),
28
29
  minValue: (r, s) => ({
29
- validate: (a) => Number(a) >= r,
30
+ validate: (t) => Number(t) >= r,
30
31
  message: s || `Must be at least ${r}`
31
32
  }),
32
33
  maxValue: (r, s) => ({
33
- validate: (a) => Number(a) <= r,
34
+ validate: (t) => Number(t) <= r,
34
35
  message: s || `Must be no more than ${r}`
35
36
  }),
36
37
  url: (r = "Please enter a valid URL") => ({
@@ -45,13 +46,13 @@ const Rr = {
45
46
  }),
46
47
  phone: (r = "Please enter a valid phone number") => ({
47
48
  validate: (s) => {
48
- const a = /^[\d\s\-+()]+$/, t = String(s);
49
- return a.test(t) && t.replace(/\D/g, "").length >= 10;
49
+ const t = /^[\d\s\-+()]+$/, a = String(s);
50
+ return t.test(a) && a.replace(/\D/g, "").length >= 10;
50
51
  },
51
52
  message: r
52
53
  }),
53
54
  match: (r, s = "Fields do not match") => ({
54
- validate: (a) => a === r,
55
+ validate: (t) => t === r,
55
56
  message: s
56
57
  }),
57
58
  custom: (r, s) => ({
@@ -59,99 +60,99 @@ const Rr = {
59
60
  message: s
60
61
  })
61
62
  };
62
- function Ie(r, s) {
63
- for (const a of s)
64
- if (!a.validate(r))
65
- return a.message;
63
+ function Pe(r, s) {
64
+ for (const t of s)
65
+ if (!t.validate(r))
66
+ return t.message;
66
67
  return null;
67
68
  }
68
69
  function ee(r, s) {
69
- const a = {};
70
- for (const [t, l] of Object.entries(s)) {
71
- const n = r[t], c = Ie(n, l);
72
- a[t] = c;
70
+ const t = {};
71
+ for (const [a, l] of Object.entries(s)) {
72
+ const n = r[a], c = Pe(n, l);
73
+ t[a] = c;
73
74
  }
74
- return a;
75
+ return t;
75
76
  }
76
- function Pe(r) {
77
+ function ze(r) {
77
78
  return Object.values(r).some((s) => s !== null);
78
79
  }
79
- function Ar(r) {
80
+ function Ir(r) {
80
81
  for (const s of Object.values(r))
81
82
  if (s !== null)
82
83
  return s;
83
84
  return null;
84
85
  }
85
- function Sr(r, s) {
86
+ function Pr(r, s) {
86
87
  return {
87
88
  ...r,
88
89
  [s]: null
89
90
  };
90
91
  }
91
- function Br(r) {
92
+ function zr(r) {
92
93
  const s = {};
93
- for (const a of Object.keys(r))
94
- s[a] = null;
94
+ for (const t of Object.keys(r))
95
+ s[t] = null;
95
96
  return s;
96
97
  }
97
- function Mr({
98
+ function Lr({
98
99
  initialValues: r,
99
100
  validationRules: s = {},
100
- onSubmit: a
101
+ onSubmit: t
101
102
  }) {
102
- const [t, l] = V(r), [n, c] = V({}), [o, u] = V({}), [d, m] = V(!1), h = JSON.stringify(t) !== JSON.stringify(r), x = M(
103
+ const [a, l] = V(r), [n, c] = V({}), [o, u] = V({}), [d, m] = V(!1), h = JSON.stringify(a) !== JSON.stringify(r), x = M(
103
104
  (p) => {
104
- const { name: b, value: w, type: S } = p.target;
105
- let L = w;
106
- if (S === "checkbox" ? L = p.target.checked : S === "number" && (L = w ? Number(w) : ""), l((P) => ({
107
- ...P,
108
- [b]: L
109
- })), s[b]) {
110
- const P = ee({ [b]: L }, { [b]: s[b] });
105
+ const { name: v, value: w, type: S } = p.target;
106
+ let F = w;
107
+ if (S === "checkbox" ? F = p.target.checked : S === "number" && (F = w ? Number(w) : ""), l((z) => ({
108
+ ...z,
109
+ [v]: F
110
+ })), s[v]) {
111
+ const z = ee({ [v]: F }, { [v]: s[v] });
111
112
  c((W) => ({
112
113
  ...W,
113
- [b]: P[b]
114
+ [v]: z[v]
114
115
  }));
115
116
  }
116
117
  },
117
118
  [s]
118
- ), g = M(
119
+ ), f = M(
119
120
  (p) => {
120
- const { name: b } = p.target;
121
+ const { name: v } = p.target;
121
122
  u((w) => ({
122
123
  ...w,
123
- [b]: !0
124
+ [v]: !0
124
125
  }));
125
126
  },
126
127
  []
127
- ), v = M((p, b) => {
128
+ ), b = M((p, v) => {
128
129
  if (l((w) => ({
129
130
  ...w,
130
- [p]: b
131
+ [p]: v
131
132
  })), s[p]) {
132
- const w = ee({ [p]: b }, { [p]: s[p] });
133
+ const w = ee({ [p]: v }, { [p]: s[p] });
133
134
  c((S) => ({
134
135
  ...S,
135
136
  [p]: w[p]
136
137
  }));
137
138
  }
138
- }, [s]), C = M((p, b) => {
139
+ }, [s]), C = M((p, v) => {
139
140
  c((w) => ({
140
141
  ...w,
141
- [p]: b
142
+ [p]: v
142
143
  }));
143
144
  }, []), T = M(
144
145
  async (p) => {
145
146
  p.preventDefault();
146
- const b = ee(t, s);
147
- c(b);
147
+ const v = ee(a, s);
148
+ c(v);
148
149
  const w = {};
149
- for (const S of Object.keys(t))
150
+ for (const S of Object.keys(a))
150
151
  w[S] = !0;
151
- if (u(w), !Pe(b) && a) {
152
+ if (u(w), !ze(v) && t) {
152
153
  m(!0);
153
154
  try {
154
- await a(t);
155
+ await t(a);
155
156
  } catch (S) {
156
157
  console.error("Form submission error:", S);
157
158
  } finally {
@@ -159,46 +160,46 @@ function Mr({
159
160
  }
160
161
  }
161
162
  },
162
- [t, s, a]
163
+ [a, s, t]
163
164
  ), E = M(() => {
164
165
  l(r), c({}), u({}), m(!1);
165
166
  }, [r]), A = M(
166
167
  (p) => ({
167
168
  name: p,
168
- value: t[p] || "",
169
+ value: a[p] || "",
169
170
  onChange: x,
170
- onBlur: g
171
+ onBlur: f
171
172
  }),
172
- [t, x, g]
173
+ [a, x, f]
173
174
  ), N = M(
174
175
  (p) => n[p] || null,
175
176
  [n]
176
- ), D = M(
177
+ ), _ = M(
177
178
  (p) => o[p] || !1,
178
179
  [o]
179
- ), z = M(
180
- (p) => t[p] !== r[p],
181
- [t, r]
180
+ ), L = M(
181
+ (p) => a[p] !== r[p],
182
+ [a, r]
182
183
  );
183
184
  return {
184
- values: t,
185
+ values: a,
185
186
  errors: n,
186
187
  touched: o,
187
188
  isSubmitting: d,
188
189
  isDirty: h,
189
190
  handleChange: x,
190
- handleBlur: g,
191
- setFieldValue: v,
191
+ handleBlur: f,
192
+ setFieldValue: b,
192
193
  setFieldError: C,
193
194
  handleSubmit: T,
194
195
  resetForm: E,
195
196
  getFieldProps: A,
196
197
  getFieldError: N,
197
- isFieldTouched: D,
198
- isFieldDirty: z
198
+ isFieldTouched: _,
199
+ isFieldDirty: L
199
200
  };
200
201
  }
201
- var q = { exports: {} }, Y = {};
202
+ var Z = { exports: {} }, Y = {};
202
203
  /**
203
204
  * @license React
204
205
  * react-jsx-runtime.production.js
@@ -209,11 +210,11 @@ var q = { exports: {} }, Y = {};
209
210
  * LICENSE file in the root directory of this source tree.
210
211
  */
211
212
  var ie;
212
- function ze() {
213
+ function Le() {
213
214
  if (ie) return Y;
214
215
  ie = 1;
215
216
  var r = Symbol.for("react.transitional.element"), s = Symbol.for("react.fragment");
216
- function a(t, l, n) {
217
+ function t(a, l, n) {
217
218
  var c = null;
218
219
  if (n !== void 0 && (c = "" + n), l.key !== void 0 && (c = "" + l.key), "key" in l) {
219
220
  n = {};
@@ -222,13 +223,13 @@ function ze() {
222
223
  } else n = l;
223
224
  return l = n.ref, {
224
225
  $$typeof: r,
225
- type: t,
226
+ type: a,
226
227
  key: c,
227
228
  ref: l !== void 0 ? l : null,
228
229
  props: n
229
230
  };
230
231
  }
231
- return Y.Fragment = s, Y.jsx = a, Y.jsxs = a, Y;
232
+ return Y.Fragment = s, Y.jsx = t, Y.jsxs = t, Y;
232
233
  }
233
234
  var H = {};
234
235
  /**
@@ -241,12 +242,12 @@ var H = {};
241
242
  * LICENSE file in the root directory of this source tree.
242
243
  */
243
244
  var de;
244
- function Le() {
245
+ function Fe() {
245
246
  return de || (de = 1, process.env.NODE_ENV !== "production" && function() {
246
247
  function r(i) {
247
248
  if (i == null) return null;
248
249
  if (typeof i == "function")
249
- return i.$$typeof === L ? null : i.displayName || i.name || null;
250
+ return i.$$typeof === F ? null : i.displayName || i.name || null;
250
251
  if (typeof i == "string") return i;
251
252
  switch (i) {
252
253
  case C:
@@ -255,7 +256,7 @@ function Le() {
255
256
  return "Profiler";
256
257
  case T:
257
258
  return "StrictMode";
258
- case z:
259
+ case L:
259
260
  return "Suspense";
260
261
  case p:
261
262
  return "SuspenseList";
@@ -266,21 +267,21 @@ function Le() {
266
267
  switch (typeof i.tag == "number" && console.error(
267
268
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
268
269
  ), i.$$typeof) {
269
- case v:
270
+ case b:
270
271
  return "Portal";
271
272
  case N:
272
273
  return (i.displayName || "Context") + ".Provider";
273
274
  case A:
274
275
  return (i._context.displayName || "Context") + ".Consumer";
275
- case D:
276
- var f = i.render;
277
- return i = i.displayName, i || (i = f.displayName || f.name || "", i = i !== "" ? "ForwardRef(" + i + ")" : "ForwardRef"), i;
278
- case b:
279
- return f = i.displayName || null, f !== null ? f : r(i.type) || "Memo";
276
+ case _:
277
+ var g = i.render;
278
+ return i = i.displayName, i || (i = g.displayName || g.name || "", i = i !== "" ? "ForwardRef(" + i + ")" : "ForwardRef"), i;
279
+ case v:
280
+ return g = i.displayName || null, g !== null ? g : r(i.type) || "Memo";
280
281
  case w:
281
- f = i._payload, i = i._init;
282
+ g = i._payload, i = i._init;
282
283
  try {
283
- return r(i(f));
284
+ return r(i(g));
284
285
  } catch {
285
286
  }
286
287
  }
@@ -289,36 +290,36 @@ function Le() {
289
290
  function s(i) {
290
291
  return "" + i;
291
292
  }
292
- function a(i) {
293
+ function t(i) {
293
294
  try {
294
295
  s(i);
295
- var f = !1;
296
+ var g = !1;
296
297
  } catch {
297
- f = !0;
298
+ g = !0;
298
299
  }
299
- if (f) {
300
- f = console;
301
- var y = f.error, k = typeof Symbol == "function" && Symbol.toStringTag && i[Symbol.toStringTag] || i.constructor.name || "Object";
300
+ if (g) {
301
+ g = console;
302
+ var y = g.error, k = typeof Symbol == "function" && Symbol.toStringTag && i[Symbol.toStringTag] || i.constructor.name || "Object";
302
303
  return y.call(
303
- f,
304
+ g,
304
305
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
305
306
  k
306
307
  ), s(i);
307
308
  }
308
309
  }
309
- function t(i) {
310
+ function a(i) {
310
311
  if (i === C) return "<>";
311
312
  if (typeof i == "object" && i !== null && i.$$typeof === w)
312
313
  return "<...>";
313
314
  try {
314
- var f = r(i);
315
- return f ? "<" + f + ">" : "<...>";
315
+ var g = r(i);
316
+ return g ? "<" + g + ">" : "<...>";
316
317
  } catch {
317
318
  return "<...>";
318
319
  }
319
320
  }
320
321
  function l() {
321
- var i = P.A;
322
+ var i = z.A;
322
323
  return i === null ? null : i.getOwner();
323
324
  }
324
325
  function n() {
@@ -326,16 +327,16 @@ function Le() {
326
327
  }
327
328
  function c(i) {
328
329
  if (W.call(i, "key")) {
329
- var f = Object.getOwnPropertyDescriptor(i, "key").get;
330
- if (f && f.isReactWarning) return !1;
330
+ var g = Object.getOwnPropertyDescriptor(i, "key").get;
331
+ if (g && g.isReactWarning) return !1;
331
332
  }
332
333
  return i.key !== void 0;
333
334
  }
334
- function o(i, f) {
335
+ function o(i, g) {
335
336
  function y() {
336
- te || (te = !0, console.error(
337
+ ae || (ae = !0, console.error(
337
338
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
338
- f
339
+ g
339
340
  ));
340
341
  }
341
342
  y.isReactWarning = !0, Object.defineProperty(i, "key", {
@@ -349,11 +350,11 @@ function Le() {
349
350
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
350
351
  )), i = this.props.ref, i !== void 0 ? i : null;
351
352
  }
352
- function d(i, f, y, k, O, B, X, K) {
353
+ function d(i, g, y, k, O, B, X, K) {
353
354
  return y = B.ref, i = {
354
- $$typeof: g,
355
+ $$typeof: f,
355
356
  type: i,
356
- key: f,
357
+ key: g,
357
358
  props: B,
358
359
  _owner: O
359
360
  }, (y !== void 0 ? y : null) !== null ? Object.defineProperty(i, "ref", {
@@ -381,11 +382,11 @@ function Le() {
381
382
  value: K
382
383
  }), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
383
384
  }
384
- function m(i, f, y, k, O, B, X, K) {
385
- var $ = f.children;
385
+ function m(i, g, y, k, O, B, X, K) {
386
+ var $ = g.children;
386
387
  if ($ !== void 0)
387
388
  if (k)
388
- if ($e($)) {
389
+ if (Ve($)) {
389
390
  for (k = 0; k < $.length; k++)
390
391
  h($[k]);
391
392
  Object.freeze && Object.freeze($);
@@ -394,12 +395,12 @@ function Le() {
394
395
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
395
396
  );
396
397
  else h($);
397
- if (W.call(f, "key")) {
398
+ if (W.call(g, "key")) {
398
399
  $ = r(i);
399
- var F = Object.keys(f).filter(function(Ve) {
400
- return Ve !== "key";
400
+ var U = Object.keys(g).filter(function(Te) {
401
+ return Te !== "key";
401
402
  });
402
- k = 0 < F.length ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}", ce[$ + k] || (F = 0 < F.length ? "{" + F.join(": ..., ") + ": ...}" : "{}", console.error(
403
+ k = 0 < U.length ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}", ce[$ + k] || (U = 0 < U.length ? "{" + U.join(": ..., ") + ": ...}" : "{}", console.error(
403
404
  `A props object containing a "key" prop is being spread into JSX:
404
405
  let props = %s;
405
406
  <%s {...props} />
@@ -408,15 +409,15 @@ React keys must be passed directly to JSX without using spread:
408
409
  <%s key={someKey} {...props} />`,
409
410
  k,
410
411
  $,
411
- F,
412
+ U,
412
413
  $
413
414
  ), ce[$ + k] = !0);
414
415
  }
415
- if ($ = null, y !== void 0 && (a(y), $ = "" + y), c(f) && (a(f.key), $ = "" + f.key), "key" in f) {
416
+ if ($ = null, y !== void 0 && (t(y), $ = "" + y), c(g) && (t(g.key), $ = "" + g.key), "key" in g) {
416
417
  y = {};
417
- for (var Q in f)
418
- Q !== "key" && (y[Q] = f[Q]);
419
- } else y = f;
418
+ for (var Q in g)
419
+ Q !== "key" && (y[Q] = g[Q]);
420
+ } else y = g;
420
421
  return $ && o(
421
422
  y,
422
423
  typeof i == "function" ? i.displayName || i.name || "Unknown" : i
@@ -432,9 +433,9 @@ React keys must be passed directly to JSX without using spread:
432
433
  );
433
434
  }
434
435
  function h(i) {
435
- typeof i == "object" && i !== null && i.$$typeof === g && i._store && (i._store.validated = 1);
436
+ typeof i == "object" && i !== null && i.$$typeof === f && i._store && (i._store.validated = 1);
436
437
  }
437
- var x = I, g = Symbol.for("react.transitional.element"), v = Symbol.for("react.portal"), C = Symbol.for("react.fragment"), T = Symbol.for("react.strict_mode"), E = Symbol.for("react.profiler"), A = Symbol.for("react.consumer"), N = Symbol.for("react.context"), D = Symbol.for("react.forward_ref"), z = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), S = Symbol.for("react.activity"), L = Symbol.for("react.client.reference"), P = x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, W = Object.prototype.hasOwnProperty, $e = Array.isArray, J = console.createTask ? console.createTask : function() {
438
+ var x = P, f = Symbol.for("react.transitional.element"), b = Symbol.for("react.portal"), C = Symbol.for("react.fragment"), T = Symbol.for("react.strict_mode"), E = Symbol.for("react.profiler"), A = Symbol.for("react.consumer"), N = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), L = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), S = Symbol.for("react.activity"), F = Symbol.for("react.client.reference"), z = x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, W = Object.prototype.hasOwnProperty, Ve = Array.isArray, J = console.createTask ? console.createTask : function() {
438
439
  return null;
439
440
  };
440
441
  x = {
@@ -442,61 +443,61 @@ React keys must be passed directly to JSX without using spread:
442
443
  return i();
443
444
  }
444
445
  };
445
- var te, ne = {}, le = x["react-stack-bottom-frame"].bind(
446
+ var ae, ne = {}, le = x["react-stack-bottom-frame"].bind(
446
447
  x,
447
448
  n
448
- )(), oe = J(t(n)), ce = {};
449
- H.Fragment = C, H.jsx = function(i, f, y, k, O) {
450
- var B = 1e4 > P.recentlyCreatedOwnerStacks++;
449
+ )(), oe = J(a(n)), ce = {};
450
+ H.Fragment = C, H.jsx = function(i, g, y, k, O) {
451
+ var B = 1e4 > z.recentlyCreatedOwnerStacks++;
451
452
  return m(
452
453
  i,
453
- f,
454
+ g,
454
455
  y,
455
456
  !1,
456
457
  k,
457
458
  O,
458
459
  B ? Error("react-stack-top-frame") : le,
459
- B ? J(t(i)) : oe
460
+ B ? J(a(i)) : oe
460
461
  );
461
- }, H.jsxs = function(i, f, y, k, O) {
462
- var B = 1e4 > P.recentlyCreatedOwnerStacks++;
462
+ }, H.jsxs = function(i, g, y, k, O) {
463
+ var B = 1e4 > z.recentlyCreatedOwnerStacks++;
463
464
  return m(
464
465
  i,
465
- f,
466
+ g,
466
467
  y,
467
468
  !0,
468
469
  k,
469
470
  O,
470
471
  B ? Error("react-stack-top-frame") : le,
471
- B ? J(t(i)) : oe
472
+ B ? J(a(i)) : oe
472
473
  );
473
474
  };
474
475
  }()), H;
475
476
  }
476
477
  var ue;
477
- function Fe() {
478
- return ue || (ue = 1, process.env.NODE_ENV === "production" ? q.exports = ze() : q.exports = Le()), q.exports;
478
+ function Ue() {
479
+ return ue || (ue = 1, process.env.NODE_ENV === "production" ? Z.exports = Le() : Z.exports = Fe()), Z.exports;
479
480
  }
480
- var e = Fe();
481
- const we = (r) => r.replace("--color-", "bg-"), Ue = ({ name: r, cssVar: s, value: a }) => {
482
- const t = `rgb(${a})`;
481
+ var e = Ue();
482
+ const Ne = (r) => r.replace("--color-", "bg-"), Ye = ({ name: r, cssVar: s, value: t }) => {
483
+ const a = `rgb(${t})`;
483
484
  return /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center space-y-2 p-3 rounded-lg border border-border-subtle bg-surface hover:bg-surface-variant transition-colors", children: [
484
485
  /* @__PURE__ */ e.jsx(
485
486
  "div",
486
487
  {
487
- className: `w-16 h-16 rounded-lg border border-border shadow-sm ${we(s)}`
488
+ className: `w-16 h-16 rounded-lg border border-border shadow-sm ${Ne(s)}`
488
489
  }
489
490
  ),
490
491
  /* @__PURE__ */ e.jsxs("div", { className: "text-center", children: [
491
492
  /* @__PURE__ */ e.jsx("div", { className: "text-sm font-medium text-text-primary", children: r }),
492
493
  /* @__PURE__ */ e.jsx("div", { className: "text-xs text-text-muted font-mono", children: s }),
493
- /* @__PURE__ */ e.jsx("div", { className: "text-xs text-text-secondary", children: t })
494
+ /* @__PURE__ */ e.jsx("div", { className: "text-xs text-text-secondary", children: a })
494
495
  ] })
495
496
  ] });
496
497
  }, me = ({ title: r, colors: s }) => /* @__PURE__ */ e.jsxs("div", { className: "space-y-4", children: [
497
498
  /* @__PURE__ */ e.jsx("h3", { className: "text-lg font-semibold text-text-primary border-b border-border-subtle pb-2", children: r }),
498
- /* @__PURE__ */ e.jsx("div", { className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 xl:grid-cols-11 gap-4", children: s.map((a) => /* @__PURE__ */ e.jsx(Ue, { ...a }, a.name)) })
499
- ] }), Ye = () => {
499
+ /* @__PURE__ */ e.jsx("div", { className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 xl:grid-cols-11 gap-4", children: s.map((t) => /* @__PURE__ */ e.jsx(Ye, { ...t }, t.name)) })
500
+ ] }), He = () => {
500
501
  const r = [
501
502
  {
502
503
  title: "Success Colors (Green)",
@@ -697,7 +698,7 @@ const we = (r) => r.replace("--color-", "bg-"), Ue = ({ name: r, cssVar: s, valu
697
698
  { name: "900", cssVar: "--color-beaver-900", value: "235 229 224" }
698
699
  ]
699
700
  }
700
- ], a = [
701
+ ], t = [
701
702
  { name: "Background", cssVar: "--color-background" },
702
703
  { name: "Surface", cssVar: "--color-surface" },
703
704
  { name: "Surface Variant", cssVar: "--color-surface-variant" },
@@ -712,63 +713,63 @@ const we = (r) => r.replace("--color-", "bg-"), Ue = ({ name: r, cssVar: s, valu
712
713
  /* @__PURE__ */ e.jsx("h1", { className: "text-3xl font-bold text-text-primary", children: "AceMyJob Color Palette" }),
713
714
  /* @__PURE__ */ e.jsx("p", { className: "text-text-secondary", children: "Your complete design system color reference" })
714
715
  ] }),
715
- s.map((t) => /* @__PURE__ */ e.jsx(me, { ...t }, t.title)),
716
- r.map((t) => /* @__PURE__ */ e.jsx(me, { ...t }, t.title)),
716
+ s.map((a) => /* @__PURE__ */ e.jsx(me, { ...a }, a.title)),
717
+ r.map((a) => /* @__PURE__ */ e.jsx(me, { ...a }, a.title)),
717
718
  /* @__PURE__ */ e.jsxs("div", { className: "space-y-4", children: [
718
719
  /* @__PURE__ */ e.jsx("h3", { className: "text-lg font-semibold text-text-primary border-b border-border-subtle pb-2", children: "Semantic Colors (Theme-aware)" }),
719
- /* @__PURE__ */ e.jsx("div", { className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-4", children: a.map((t) => /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center space-y-2 p-3 rounded-lg border border-border-subtle bg-surface hover:bg-surface-variant transition-colors", children: [
720
+ /* @__PURE__ */ e.jsx("div", { className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-4", children: t.map((a) => /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center space-y-2 p-3 rounded-lg border border-border-subtle bg-surface hover:bg-surface-variant transition-colors", children: [
720
721
  /* @__PURE__ */ e.jsx(
721
722
  "div",
722
723
  {
723
- className: `w-16 h-16 rounded-lg border border-border shadow-sm ${we(t.cssVar)}`
724
+ className: `w-16 h-16 rounded-lg border border-border shadow-sm ${Ne(a.cssVar)}`
724
725
  }
725
726
  ),
726
727
  /* @__PURE__ */ e.jsxs("div", { className: "text-center", children: [
727
- /* @__PURE__ */ e.jsx("div", { className: "text-sm font-medium text-text-primary", children: t.name }),
728
- /* @__PURE__ */ e.jsx("div", { className: "text-xs text-text-muted font-mono", children: t.cssVar })
728
+ /* @__PURE__ */ e.jsx("div", { className: "text-sm font-medium text-text-primary", children: a.name }),
729
+ /* @__PURE__ */ e.jsx("div", { className: "text-xs text-text-muted font-mono", children: a.cssVar })
729
730
  ] })
730
- ] }, t.name)) })
731
+ ] }, a.name)) })
731
732
  ] }),
732
733
  /* @__PURE__ */ e.jsx("div", { className: "text-center pt-8 border-t border-border-subtle", children: /* @__PURE__ */ e.jsx("p", { className: "text-text-muted text-sm", children: "Toggle between light and dark themes to see how semantic colors adapt" }) })
733
734
  ] });
734
- }, Ne = Te(void 0), He = ({
735
+ }, Ce = Ee(void 0), We = ({
735
736
  children: r,
736
737
  defaultTheme: s = "system",
737
- storageKey: a = "acemyjob-ui-theme"
738
+ storageKey: t = "acemyjob-ui-theme"
738
739
  }) => {
739
- const [t, l] = V(s), [n, c] = V("light"), [o, u] = V(!1);
740
- U(() => {
741
- const m = localStorage.getItem(a);
740
+ const [a, l] = V(s), [n, c] = V("light"), [o, u] = V(!1);
741
+ I(() => {
742
+ const m = localStorage.getItem(t);
742
743
  m && l(m), u(!0);
743
- }, [a]), U(() => {
744
+ }, [t]), I(() => {
744
745
  if (!o) return;
745
746
  const m = window.document.documentElement, h = () => {
746
747
  let x;
747
- t === "system" ? x = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : x = t, c(x), m.classList.remove("light", "dark"), m.classList.add(x);
748
+ a === "system" ? x = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : x = a, c(x), m.classList.remove("light", "dark"), m.classList.add(x);
748
749
  };
749
- if (h(), t === "system") {
750
- const x = window.matchMedia("(prefers-color-scheme: dark)"), g = () => h();
751
- return x.addEventListener("change", g), () => x.removeEventListener("change", g);
750
+ if (h(), a === "system") {
751
+ const x = window.matchMedia("(prefers-color-scheme: dark)"), f = () => h();
752
+ return x.addEventListener("change", f), () => x.removeEventListener("change", f);
752
753
  }
753
- }, [t, o]);
754
+ }, [a, o]);
754
755
  const d = {
755
- theme: t,
756
+ theme: a,
756
757
  setTheme: (m) => {
757
- localStorage.setItem(a, m), l(m);
758
+ localStorage.setItem(t, m), l(m);
758
759
  },
759
760
  resolvedTheme: n
760
761
  };
761
- return /* @__PURE__ */ e.jsx(Ne.Provider, { value: d, children: r });
762
- }, We = () => {
763
- const r = Ee(Ne);
762
+ return /* @__PURE__ */ e.jsx(Ce.Provider, { value: d, children: r });
763
+ }, Ze = () => {
764
+ const r = Re(Ce);
764
765
  if (r === void 0)
765
766
  throw new Error("useTheme must be used within a ThemeProvider");
766
767
  return r;
767
768
  }, qe = () => {
768
- const { theme: r, setTheme: s } = We(), [a, t] = V(!1);
769
- if (U(() => {
770
- t(!0);
771
- }, []), !a)
769
+ const { theme: r, setTheme: s } = Ze(), [t, a] = V(!1);
770
+ if (I(() => {
771
+ a(!0);
772
+ }, []), !t)
772
773
  return /* @__PURE__ */ e.jsxs(
773
774
  "button",
774
775
  {
@@ -815,13 +816,13 @@ const we = (r) => r.replace("--color-", "bg-"), Ue = ({ name: r, cssVar: s, valu
815
816
  );
816
817
  }, Ge = () => /* @__PURE__ */ e.jsxs("div", { className: "relative", children: [
817
818
  /* @__PURE__ */ e.jsx("div", { className: "fixed top-4 right-4 z-10", children: /* @__PURE__ */ e.jsx(qe, {}) }),
818
- /* @__PURE__ */ e.jsx(Ye, {})
819
- ] }), _r = () => /* @__PURE__ */ e.jsx(He, { defaultTheme: "system", storageKey: "acemyjob-demo-theme", children: /* @__PURE__ */ e.jsx(Ge, {}) });
820
- function Dr({
819
+ /* @__PURE__ */ e.jsx(He, {})
820
+ ] }), Fr = () => /* @__PURE__ */ e.jsx(We, { defaultTheme: "system", storageKey: "acemyjob-demo-theme", children: /* @__PURE__ */ e.jsx(Ge, {}) });
821
+ function Ur({
821
822
  label: r,
822
823
  children: s,
823
- helperText: a,
824
- errorText: t,
824
+ helperText: t,
825
+ errorText: a,
825
826
  required: l = !1,
826
827
  className: n = ""
827
828
  }) {
@@ -831,48 +832,48 @@ function Dr({
831
832
  l && /* @__PURE__ */ e.jsx("span", { className: "text-error-500 ml-1", children: "*" })
832
833
  ] }),
833
834
  s,
834
- t && /* @__PURE__ */ e.jsx("p", { className: "text-xs text-error-600", children: t }),
835
- a && !t && /* @__PURE__ */ e.jsx("p", { className: "text-xs text-text-muted", children: a })
835
+ a && /* @__PURE__ */ e.jsx("p", { className: "text-xs text-error-600", children: a }),
836
+ t && !a && /* @__PURE__ */ e.jsx("p", { className: "text-xs text-text-muted", children: t })
836
837
  ] });
837
838
  }
838
- const Ze = I.forwardRef(
839
+ const Je = P.forwardRef(
839
840
  ({
840
841
  className: r = "",
841
842
  leftIcon: s,
842
- rightIcon: a,
843
- error: t = !1,
843
+ rightIcon: t,
844
+ error: a = !1,
844
845
  fullWidth: l = !0,
845
846
  disabled: n,
846
847
  ...c
847
848
  }, o) => {
848
- const u = "px-3 py-2 border rounded-lg transition-colors text-sm", d = t ? "border-error-300 focus:ring-2 focus:ring-error-500 focus:border-transparent" : "border-border focus:ring-2 focus:ring-reseda-green-500 focus:border-transparent", m = n ? "bg-surface-variant text-text-muted cursor-not-allowed" : "bg-surface text-text-primary", h = l ? "w-full" : "", x = s || a ? "relative flex items-center" : "", g = `${u} ${d} ${m} ${h} ${s ? "pl-10" : ""} ${a ? "pr-10" : ""} ${r}`;
849
+ const u = "px-3 py-2 border rounded-lg transition-colors text-sm", d = a ? "border-error-300 focus:ring-2 focus:ring-error-500 focus:border-transparent" : "border-border focus:ring-2 focus:ring-reseda-green-500 focus:border-transparent", m = n ? "bg-surface-variant text-text-muted cursor-not-allowed" : "bg-surface text-text-primary", h = l ? "w-full" : "", x = s || t ? "relative flex items-center" : "", f = `${u} ${d} ${m} ${h} ${s ? "pl-10" : ""} ${t ? "pr-10" : ""} ${r}`;
849
850
  return /* @__PURE__ */ e.jsxs("div", { className: x, children: [
850
851
  s && /* @__PURE__ */ e.jsx("div", { className: "absolute left-3 flex items-center pointer-events-none text-text-muted", children: s }),
851
852
  /* @__PURE__ */ e.jsx(
852
853
  "input",
853
854
  {
854
855
  ref: o,
855
- className: g,
856
+ className: f,
856
857
  disabled: n,
857
858
  ...c
858
859
  }
859
860
  ),
860
- a && /* @__PURE__ */ e.jsx("div", { className: "absolute right-3 flex items-center pointer-events-none text-text-muted", children: a })
861
+ t && /* @__PURE__ */ e.jsx("div", { className: "absolute right-3 flex items-center pointer-events-none text-text-muted", children: t })
861
862
  ] });
862
863
  }
863
864
  );
864
- Ze.displayName = "Input";
865
- const Je = I.forwardRef(
865
+ Je.displayName = "Input";
866
+ const Xe = P.forwardRef(
866
867
  ({
867
868
  options: r,
868
869
  placeholder: s,
869
- className: a = "",
870
- error: t = !1,
870
+ className: t = "",
871
+ error: a = !1,
871
872
  fullWidth: l = !0,
872
873
  disabled: n,
873
874
  ...c
874
875
  }, o) => {
875
- const x = `px-3 py-2 border rounded-lg transition-colors text-sm appearance-none ${t ? "border-error-300 focus:ring-2 focus:ring-error-500 focus:border-transparent" : "border-border focus:ring-2 focus:ring-reseda-green-500 focus:border-transparent"} ${n ? "bg-surface-variant text-text-muted cursor-not-allowed" : "bg-surface text-text-primary"} ${l ? "w-full" : ""} pr-10 ${a}`;
876
+ const x = `px-3 py-2 border rounded-lg transition-colors text-sm appearance-none ${a ? "border-error-300 focus:ring-2 focus:ring-error-500 focus:border-transparent" : "border-border focus:ring-2 focus:ring-reseda-green-500 focus:border-transparent"} ${n ? "bg-surface-variant text-text-muted cursor-not-allowed" : "bg-surface text-text-primary"} ${l ? "w-full" : ""} pr-10 ${t}`;
876
877
  return /* @__PURE__ */ e.jsxs("div", { className: "relative flex items-center", children: [
877
878
  /* @__PURE__ */ e.jsxs(
878
879
  "select",
@@ -883,29 +884,29 @@ const Je = I.forwardRef(
883
884
  ...c,
884
885
  children: [
885
886
  s && /* @__PURE__ */ e.jsx("option", { value: "", disabled: !0, children: s }),
886
- r.map((g) => /* @__PURE__ */ e.jsx("option", { value: g.value, children: g.label }, g.value))
887
+ r.map((f) => /* @__PURE__ */ e.jsx("option", { value: f.value, children: f.label }, f.value))
887
888
  ]
888
889
  }
889
890
  ),
890
- /* @__PURE__ */ e.jsx(ae, { className: "absolute right-3 w-4 h-4 text-text-muted pointer-events-none" })
891
+ /* @__PURE__ */ e.jsx(te, { className: "absolute right-3 w-4 h-4 text-text-muted pointer-events-none" })
891
892
  ] });
892
893
  }
893
894
  );
894
- Je.displayName = "Select";
895
- function Xe({
895
+ Xe.displayName = "Select";
896
+ function Ke({
896
897
  title: r,
897
898
  titleId: s,
898
- ...a
899
- }, t) {
899
+ ...t
900
+ }, a) {
900
901
  return /* @__PURE__ */ j.createElement("svg", Object.assign({
901
902
  xmlns: "http://www.w3.org/2000/svg",
902
903
  viewBox: "0 0 20 20",
903
904
  fill: "currentColor",
904
905
  "aria-hidden": "true",
905
906
  "data-slot": "icon",
906
- ref: t,
907
+ ref: a,
907
908
  "aria-labelledby": s
908
- }, a), r ? /* @__PURE__ */ j.createElement("title", {
909
+ }, t), r ? /* @__PURE__ */ j.createElement("title", {
909
910
  id: s
910
911
  }, r) : null, /* @__PURE__ */ j.createElement("path", {
911
912
  fillRule: "evenodd",
@@ -913,21 +914,21 @@ function Xe({
913
914
  clipRule: "evenodd"
914
915
  }));
915
916
  }
916
- const xe = /* @__PURE__ */ j.forwardRef(Xe);
917
- function Ke({
917
+ const xe = /* @__PURE__ */ j.forwardRef(Ke);
918
+ function Qe({
918
919
  title: r,
919
920
  titleId: s,
920
- ...a
921
- }, t) {
921
+ ...t
922
+ }, a) {
922
923
  return /* @__PURE__ */ j.createElement("svg", Object.assign({
923
924
  xmlns: "http://www.w3.org/2000/svg",
924
925
  viewBox: "0 0 20 20",
925
926
  fill: "currentColor",
926
927
  "aria-hidden": "true",
927
928
  "data-slot": "icon",
928
- ref: t,
929
+ ref: a,
929
930
  "aria-labelledby": s
930
- }, a), r ? /* @__PURE__ */ j.createElement("title", {
931
+ }, t), r ? /* @__PURE__ */ j.createElement("title", {
931
932
  id: s
932
933
  }, r) : null, /* @__PURE__ */ j.createElement("path", {
933
934
  fillRule: "evenodd",
@@ -935,32 +936,32 @@ function Ke({
935
936
  clipRule: "evenodd"
936
937
  }));
937
938
  }
938
- const he = /* @__PURE__ */ j.forwardRef(Ke);
939
- function Qe({
939
+ const he = /* @__PURE__ */ j.forwardRef(Qe);
940
+ function er({
940
941
  title: r,
941
942
  titleId: s,
942
- ...a
943
- }, t) {
943
+ ...t
944
+ }, a) {
944
945
  return /* @__PURE__ */ j.createElement("svg", Object.assign({
945
946
  xmlns: "http://www.w3.org/2000/svg",
946
947
  viewBox: "0 0 20 20",
947
948
  fill: "currentColor",
948
949
  "aria-hidden": "true",
949
950
  "data-slot": "icon",
950
- ref: t,
951
+ ref: a,
951
952
  "aria-labelledby": s
952
- }, a), r ? /* @__PURE__ */ j.createElement("title", {
953
+ }, t), r ? /* @__PURE__ */ j.createElement("title", {
953
954
  id: s
954
955
  }, r) : null, /* @__PURE__ */ j.createElement("path", {
955
956
  d: "M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z"
956
957
  }));
957
958
  }
958
- const se = /* @__PURE__ */ j.forwardRef(Qe);
959
- function er({
959
+ const se = /* @__PURE__ */ j.forwardRef(er);
960
+ function rr({
960
961
  children: r,
961
962
  variant: s = "default",
962
- size: a = "md",
963
- removable: t = !1,
963
+ size: t = "md",
964
+ removable: a = !1,
964
965
  onRemove: l,
965
966
  className: n = "",
966
967
  style: c,
@@ -980,11 +981,11 @@ function er({
980
981
  return /* @__PURE__ */ e.jsxs(
981
982
  "span",
982
983
  {
983
- className: `inline-flex items-center gap-1 rounded-full ${m} ${d[a]} ${n}`,
984
+ className: `inline-flex items-center gap-1 rounded-full ${m} ${d[t]} ${n}`,
984
985
  style: c,
985
986
  children: [
986
987
  r,
987
- t && l && /* @__PURE__ */ e.jsx(
988
+ a && l && /* @__PURE__ */ e.jsx(
988
989
  "button",
989
990
  {
990
991
  onClick: l,
@@ -997,12 +998,12 @@ function er({
997
998
  }
998
999
  );
999
1000
  }
1000
- const rr = I.forwardRef(
1001
+ const sr = P.forwardRef(
1001
1002
  ({
1002
1003
  tags: r,
1003
1004
  onTagsChange: s,
1004
- onAddTag: a,
1005
- onRemoveTag: t,
1005
+ onAddTag: t,
1006
+ onRemoveTag: a,
1006
1007
  placeholder: l = "Add a tag and press Enter",
1007
1008
  error: n = !1,
1008
1009
  fullWidth: c = !0,
@@ -1012,27 +1013,27 @@ const rr = I.forwardRef(
1012
1013
  className: m = "",
1013
1014
  ...h
1014
1015
  }, x) => {
1015
- const [g, v] = V(""), C = (b) => {
1016
- b.key === "Enter" && g.trim() ? (b.preventDefault(), T(g.trim())) : b.key === "Backspace" && !g && r.length > 0 && E(r[r.length - 1]);
1017
- }, T = (b) => {
1018
- if (o && r.length >= o || u && r.includes(b))
1016
+ const [f, b] = V(""), C = (v) => {
1017
+ v.key === "Enter" && f.trim() ? (v.preventDefault(), T(f.trim())) : v.key === "Backspace" && !f && r.length > 0 && E(r[r.length - 1]);
1018
+ }, T = (v) => {
1019
+ if (o && r.length >= o || u && r.includes(v))
1019
1020
  return;
1020
- const w = [...r, b];
1021
- s(w), a?.(b), v("");
1022
- }, E = (b) => {
1023
- const w = r.filter((S) => S !== b);
1024
- s(w), t?.(b);
1021
+ const w = [...r, v];
1022
+ s(w), t?.(v), b("");
1023
+ }, E = (v) => {
1024
+ const w = r.filter((S) => S !== v);
1025
+ s(w), a?.(v);
1025
1026
  }, p = `w-full px-3 py-2 border rounded-lg transition-colors text-sm ${n ? "border-error-300 focus:ring-2 focus:ring-error-500 focus:border-transparent" : "border-border focus:ring-2 focus:ring-reseda-green-500 focus:border-transparent"} ${d ? "bg-surface-variant text-text-muted cursor-not-allowed" : "bg-surface text-text-primary"} ${c ? "w-full" : ""} ${m}`;
1026
1027
  return /* @__PURE__ */ e.jsxs("div", { className: "space-y-2", children: [
1027
- /* @__PURE__ */ e.jsx("div", { className: "flex flex-wrap gap-2 mb-2", children: r.map((b) => /* @__PURE__ */ e.jsx(
1028
- er,
1028
+ /* @__PURE__ */ e.jsx("div", { className: "flex flex-wrap gap-2 mb-2", children: r.map((v) => /* @__PURE__ */ e.jsx(
1029
+ rr,
1029
1030
  {
1030
1031
  removable: !0,
1031
- onRemove: () => E(b),
1032
+ onRemove: () => E(v),
1032
1033
  variant: "default",
1033
- children: b
1034
+ children: v
1034
1035
  },
1035
- b
1036
+ v
1036
1037
  )) }),
1037
1038
  /* @__PURE__ */ e.jsx(
1038
1039
  "input",
@@ -1041,8 +1042,8 @@ const rr = I.forwardRef(
1041
1042
  type: "text",
1042
1043
  className: p,
1043
1044
  placeholder: l,
1044
- value: g,
1045
- onChange: (b) => v(b.target.value),
1045
+ value: f,
1046
+ onChange: (v) => b(v.target.value),
1046
1047
  onKeyDown: C,
1047
1048
  disabled: d || (o ? r.length >= o : !1),
1048
1049
  ...h
@@ -1056,7 +1057,7 @@ const rr = I.forwardRef(
1056
1057
  ] });
1057
1058
  }
1058
1059
  );
1059
- rr.displayName = "TagInput";
1060
+ sr.displayName = "TagInput";
1060
1061
  const fe = {
1061
1062
  variant: {
1062
1063
  default: "bg-reseda-green-500 text-white hover:bg-reseda-green-600 focus-visible:ring-reseda-green-500",
@@ -1075,12 +1076,12 @@ const fe = {
1075
1076
  xl: "h-12 rounded-md px-10 text-base",
1076
1077
  icon: "h-10 w-10"
1077
1078
  }
1078
- }, sr = "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", ar = (...r) => r.filter(Boolean).join(" "), _ = I.forwardRef(
1079
+ }, tr = "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", ar = (...r) => r.filter(Boolean).join(" "), D = P.forwardRef(
1079
1080
  ({
1080
1081
  className: r,
1081
1082
  variant: s = "default",
1082
- size: a = "default",
1083
- fullWidth: t = !1,
1083
+ size: t = "default",
1084
+ fullWidth: a = !1,
1084
1085
  loading: l = !1,
1085
1086
  leftIcon: n,
1086
1087
  rightIcon: c,
@@ -1089,10 +1090,10 @@ const fe = {
1089
1090
  ...d
1090
1091
  }, m) => {
1091
1092
  const h = u || l, x = ar(
1092
- sr,
1093
+ tr,
1093
1094
  fe.variant[s],
1094
- fe.size[a],
1095
- t ? "w-full" : "",
1095
+ fe.size[t],
1096
+ a ? "w-full" : "",
1096
1097
  r
1097
1098
  );
1098
1099
  return /* @__PURE__ */ e.jsxs(
@@ -1141,7 +1142,7 @@ const fe = {
1141
1142
  );
1142
1143
  }
1143
1144
  );
1144
- _.displayName = "Button";
1145
+ D.displayName = "Button";
1145
1146
  const ge = {
1146
1147
  provider: {
1147
1148
  linkedin: "bg-[#0077B5] hover:bg-[#005885] text-white focus-visible:ring-[#0077B5]"
@@ -1151,53 +1152,53 @@ const ge = {
1151
1152
  right: "flex-row-reverse",
1152
1153
  only: "justify-center"
1153
1154
  }
1154
- }, tr = (...r) => r.filter(Boolean).join(" "), nr = I.forwardRef(
1155
+ }, nr = (...r) => r.filter(Boolean).join(" "), lr = P.forwardRef(
1155
1156
  ({
1156
1157
  className: r,
1157
1158
  provider: s,
1158
- iconPosition: a = "left",
1159
- icon: t,
1159
+ iconPosition: t = "left",
1160
+ icon: a,
1160
1161
  showText: l = !0,
1161
1162
  children: n,
1162
1163
  size: c = "default",
1163
1164
  fullWidth: o = !0,
1164
1165
  ...u
1165
1166
  }, d) => {
1166
- const h = t || {
1167
+ const h = a || {
1167
1168
  linkedin: /* @__PURE__ */ e.jsx("svg", { className: "w-5 h-5", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ e.jsx("path", { d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" }) })
1168
- }[s], g = n || (l ? {
1169
+ }[s], f = n || (l ? {
1169
1170
  linkedin: "Continue with LinkedIn"
1170
- }[s] : ""), v = tr(
1171
+ }[s] : ""), b = nr(
1171
1172
  "relative overflow-hidden transition-all duration-200",
1172
1173
  ge.provider[s],
1173
- ge.iconPosition[a],
1174
+ ge.iconPosition[t],
1174
1175
  r
1175
1176
  );
1176
1177
  return /* @__PURE__ */ e.jsxs(
1177
- _,
1178
+ D,
1178
1179
  {
1179
1180
  ref: d,
1180
1181
  variant: "none",
1181
- className: v,
1182
+ className: b,
1182
1183
  size: c,
1183
1184
  fullWidth: o,
1184
- leftIcon: a === "left" ? h : void 0,
1185
- rightIcon: a === "right" ? h : void 0,
1185
+ leftIcon: t === "left" ? h : void 0,
1186
+ rightIcon: t === "right" ? h : void 0,
1186
1187
  ...u,
1187
1188
  children: [
1188
- a === "only" && h,
1189
- a !== "only" && g
1189
+ t === "only" && h,
1190
+ t !== "only" && f
1190
1191
  ]
1191
1192
  }
1192
1193
  );
1193
1194
  }
1194
1195
  );
1195
- nr.displayName = "SocialButton";
1196
- function G({
1196
+ lr.displayName = "SocialButton";
1197
+ function q({
1197
1198
  variant: r,
1198
1199
  title: s,
1199
- message: a,
1200
- icon: t,
1200
+ message: t,
1201
+ icon: a,
1201
1202
  onClose: l,
1202
1203
  className: n = ""
1203
1204
  }) {
@@ -1224,7 +1225,7 @@ function G({
1224
1225
  bg: "bg-info-50",
1225
1226
  border: "border-info-200",
1226
1227
  text: "text-info-700",
1227
- icon: /* @__PURE__ */ e.jsx(be, { className: "h-5 w-5" })
1228
+ icon: /* @__PURE__ */ e.jsx(ve, { className: "h-5 w-5" })
1228
1229
  }
1229
1230
  }[r];
1230
1231
  return /* @__PURE__ */ e.jsx(
@@ -1233,10 +1234,10 @@ function G({
1233
1234
  className: `${o.bg} border ${o.border} rounded-md p-3 ${n}`,
1234
1235
  role: "alert",
1235
1236
  children: /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-3", children: [
1236
- /* @__PURE__ */ e.jsx("div", { className: `flex-shrink-0 ${o.text}`, children: t || o.icon }),
1237
+ /* @__PURE__ */ e.jsx("div", { className: `flex-shrink-0 ${o.text}`, children: a || o.icon }),
1237
1238
  /* @__PURE__ */ e.jsxs("div", { className: "flex-1", children: [
1238
1239
  s && /* @__PURE__ */ e.jsx("p", { className: `text-sm font-medium ${o.text}`, children: s }),
1239
- /* @__PURE__ */ e.jsx("p", { className: `text-sm ${o.text}`, children: a })
1240
+ /* @__PURE__ */ e.jsx("p", { className: `text-sm ${o.text}`, children: t })
1240
1241
  ] }),
1241
1242
  l && /* @__PURE__ */ e.jsx(
1242
1243
  "button",
@@ -1251,11 +1252,11 @@ function G({
1251
1252
  }
1252
1253
  );
1253
1254
  }
1254
- function Or({
1255
+ function Yr({
1255
1256
  onFileChange: r,
1256
1257
  onAnalyze: s,
1257
- uploadedFile: a,
1258
- fileError: t,
1258
+ uploadedFile: t,
1259
+ fileError: a,
1259
1260
  onCancelUpload: l,
1260
1261
  isAnalyzing: n = !1,
1261
1262
  analyzeError: c,
@@ -1265,22 +1266,22 @@ function Or({
1265
1266
  description: m = "PDF, DOCX up to 5MB",
1266
1267
  analyzeButtonLabel: h = "Analyze",
1267
1268
  disabled: x = !1,
1268
- showAnalyzeButton: g = !0
1269
+ showAnalyzeButton: f = !0
1269
1270
  }) {
1270
- const v = Z(null), [C, T] = V(!1);
1271
- U(() => {
1272
- !a && v.current && (v.current.value = "");
1273
- }, [a]);
1271
+ const b = G(null), [C, T] = V(!1);
1272
+ I(() => {
1273
+ !t && b.current && (b.current.value = "");
1274
+ }, [t]);
1274
1275
  const E = (N) => {
1275
1276
  N.preventDefault(), N.stopPropagation(), N.type === "dragenter" || N.type === "dragover" ? T(!0) : N.type === "dragleave" && T(!1);
1276
1277
  }, A = (N) => {
1277
1278
  if (N.preventDefault(), N.stopPropagation(), T(!1), N.dataTransfer.files && N.dataTransfer.files[0]) {
1278
- const D = {
1279
+ const _ = {
1279
1280
  target: {
1280
1281
  files: N.dataTransfer.files
1281
1282
  }
1282
1283
  };
1283
- r(D);
1284
+ r(_);
1284
1285
  }
1285
1286
  };
1286
1287
  return /* @__PURE__ */ e.jsxs("div", { className: "mt-6 pt-6 border-t border-border", children: [
@@ -1289,7 +1290,7 @@ function Or({
1289
1290
  /* @__PURE__ */ e.jsx(
1290
1291
  "input",
1291
1292
  {
1292
- ref: v,
1293
+ ref: b,
1293
1294
  type: "file",
1294
1295
  accept: u,
1295
1296
  onChange: r,
@@ -1306,7 +1307,7 @@ function Or({
1306
1307
  onDragOver: E,
1307
1308
  onDrop: A,
1308
1309
  className: `border-2 border-dashed rounded-lg p-6 text-center transition cursor-pointer ${C ? "border-reseda-green-700 bg-reseda-green-50" : "border-border hover:border-reseda-green-700"} ${x ? "opacity-50 cursor-not-allowed" : ""}`,
1309
- children: a && !t ? /* @__PURE__ */ e.jsxs("div", { children: [
1310
+ children: t && !a ? /* @__PURE__ */ e.jsxs("div", { children: [
1310
1311
  /* @__PURE__ */ e.jsx(
1311
1312
  "svg",
1312
1313
  {
@@ -1323,14 +1324,14 @@ function Or({
1323
1324
  )
1324
1325
  }
1325
1326
  ),
1326
- /* @__PURE__ */ e.jsx("div", { className: "mt-3", children: /* @__PURE__ */ e.jsx(G, { variant: "success", message: "File uploaded successfully" }) }),
1327
- /* @__PURE__ */ e.jsx("p", { className: "text-sm text-text-secondary mt-2 break-words", children: a.name }),
1327
+ /* @__PURE__ */ e.jsx("div", { className: "mt-3", children: /* @__PURE__ */ e.jsx(q, { variant: "success", message: "File uploaded successfully" }) }),
1328
+ /* @__PURE__ */ e.jsx("p", { className: "text-sm text-text-secondary mt-2 break-words", children: t.name }),
1328
1329
  /* @__PURE__ */ e.jsxs("p", { className: "text-xs text-text-muted mt-1", children: [
1329
- (a.size / (1024 * 1024)).toFixed(2),
1330
+ (t.size / (1024 * 1024)).toFixed(2),
1330
1331
  "MB"
1331
1332
  ] }),
1332
1333
  /* @__PURE__ */ e.jsx(
1333
- _,
1334
+ D,
1334
1335
  {
1335
1336
  variant: "link",
1336
1337
  type: "button",
@@ -1370,15 +1371,15 @@ function Or({
1370
1371
  }
1371
1372
  )
1372
1373
  ] }),
1373
- t && /* @__PURE__ */ e.jsx("div", { className: "mt-3", children: /* @__PURE__ */ e.jsx(G, { variant: "error", message: t }) }),
1374
- c && /* @__PURE__ */ e.jsx("div", { className: "mt-3", children: /* @__PURE__ */ e.jsx(G, { variant: "error", message: c }) }),
1375
- o && /* @__PURE__ */ e.jsx("div", { className: "mt-3", children: /* @__PURE__ */ e.jsx(G, { variant: "success", message: o }) }),
1376
- g && /* @__PURE__ */ e.jsx(
1377
- _,
1374
+ a && /* @__PURE__ */ e.jsx("div", { className: "mt-3", children: /* @__PURE__ */ e.jsx(q, { variant: "error", message: a }) }),
1375
+ c && /* @__PURE__ */ e.jsx("div", { className: "mt-3", children: /* @__PURE__ */ e.jsx(q, { variant: "error", message: c }) }),
1376
+ o && /* @__PURE__ */ e.jsx("div", { className: "mt-3", children: /* @__PURE__ */ e.jsx(q, { variant: "success", message: o }) }),
1377
+ f && /* @__PURE__ */ e.jsx(
1378
+ D,
1378
1379
  {
1379
1380
  variant: "default",
1380
1381
  onClick: s,
1381
- disabled: !a || n || x,
1382
+ disabled: !t || n || x,
1382
1383
  loading: n,
1383
1384
  fullWidth: !0,
1384
1385
  className: "mt-3",
@@ -1387,12 +1388,12 @@ function Or({
1387
1388
  )
1388
1389
  ] });
1389
1390
  }
1390
- const lr = I.forwardRef(
1391
+ const or = P.forwardRef(
1391
1392
  ({
1392
1393
  className: r = "",
1393
1394
  error: s = !1,
1394
- fullWidth: a = !0,
1395
- autoResize: t = !1,
1395
+ fullWidth: t = !0,
1396
+ autoResize: a = !1,
1396
1397
  maxLength: l,
1397
1398
  showCharCount: n = !1,
1398
1399
  disabled: c,
@@ -1400,8 +1401,8 @@ const lr = I.forwardRef(
1400
1401
  onChange: u,
1401
1402
  ...d
1402
1403
  }, m) => {
1403
- const C = `px-3 py-2 border rounded-lg transition-colors text-sm font-normal resize-none ${s ? "border-error-300 focus:ring-2 focus:ring-error-500 focus:border-transparent" : "border-border focus:ring-2 focus:ring-reseda-green-500 focus:border-transparent"} ${c ? "bg-surface-variant text-text-muted cursor-not-allowed" : "bg-surface text-text-primary"} ${a ? "w-full" : ""} ${r}`, T = (A) => {
1404
- t && (A.target.style.height = "auto", A.target.style.height = `${A.target.scrollHeight}px`), u?.(A);
1404
+ const C = `px-3 py-2 border rounded-lg transition-colors text-sm font-normal resize-none ${s ? "border-error-300 focus:ring-2 focus:ring-error-500 focus:border-transparent" : "border-border focus:ring-2 focus:ring-reseda-green-500 focus:border-transparent"} ${c ? "bg-surface-variant text-text-muted cursor-not-allowed" : "bg-surface text-text-primary"} ${t ? "w-full" : ""} ${r}`, T = (A) => {
1405
+ a && (A.target.style.height = "auto", A.target.style.height = `${A.target.scrollHeight}px`), u?.(A);
1405
1406
  }, E = typeof o == "string" ? o.length : 0;
1406
1407
  return /* @__PURE__ */ e.jsxs("div", { className: "space-y-1", children: [
1407
1408
  /* @__PURE__ */ e.jsx(
@@ -1424,30 +1425,30 @@ const lr = I.forwardRef(
1424
1425
  ] });
1425
1426
  }
1426
1427
  );
1427
- lr.displayName = "Textarea";
1428
- function Ir({
1428
+ or.displayName = "Textarea";
1429
+ function Hr({
1429
1430
  options: r,
1430
1431
  selectedValues: s,
1431
- onSelectionChange: a,
1432
- layout: t = "vertical",
1432
+ onSelectionChange: t,
1433
+ layout: a = "vertical",
1433
1434
  columns: l = 2,
1434
1435
  disabled: n = !1,
1435
1436
  error: c = !1
1436
1437
  }) {
1437
1438
  const o = (h) => {
1438
- const x = s.includes(h) ? s.filter((g) => g !== h) : [...s, h];
1439
- a(x);
1439
+ const x = s.includes(h) ? s.filter((f) => f !== h) : [...s, h];
1440
+ t(x);
1440
1441
  }, u = {
1441
1442
  vertical: "space-y-3",
1442
1443
  horizontal: "flex flex-wrap gap-3",
1443
1444
  grid: `grid grid-cols-${l} gap-3`
1444
- }, d = t === "grid" ? "grid gap-3" : u[t], m = t === "grid" ? `md:grid-cols-${l}` : "";
1445
+ }, d = a === "grid" ? "grid gap-3" : u[a], m = a === "grid" ? `md:grid-cols-${l}` : "";
1445
1446
  return /* @__PURE__ */ e.jsx("div", { className: `${d} ${m}`, children: r.map((h) => {
1446
- const x = s.includes(h.value), v = x ? "border-reseda-green-500 bg-reseda-green-50 ring-2 ring-reseda-green-200" : `border-${c ? "border-error-300" : "border-border"} hover:border-border-subtle hover:bg-surface-variant`;
1447
+ const x = s.includes(h.value), b = x ? "border-reseda-green-500 bg-reseda-green-50 ring-2 ring-reseda-green-200" : `border-${c ? "border-error-300" : "border-border"} hover:border-border-subtle hover:bg-surface-variant`;
1447
1448
  return /* @__PURE__ */ e.jsxs(
1448
1449
  "label",
1449
1450
  {
1450
- className: `relative flex items-start p-3 border rounded-lg cursor-pointer transition-all ${v} ${n ? "opacity-50 cursor-not-allowed" : ""}`,
1451
+ className: `relative flex items-start p-3 border rounded-lg cursor-pointer transition-all ${b} ${n ? "opacity-50 cursor-not-allowed" : ""}`,
1451
1452
  children: [
1452
1453
  /* @__PURE__ */ e.jsx(
1453
1454
  "input",
@@ -1471,27 +1472,27 @@ function Ir({
1471
1472
  );
1472
1473
  }) });
1473
1474
  }
1474
- function Pr({
1475
+ function Wr({
1475
1476
  options: r,
1476
1477
  selectedValue: s,
1477
- onSelectionChange: a,
1478
- layout: t = "vertical",
1478
+ onSelectionChange: t,
1479
+ layout: a = "vertical",
1479
1480
  columns: l = 2,
1480
1481
  disabled: n = !1,
1481
1482
  error: c = !1,
1482
1483
  name: o = "radio-group"
1483
1484
  }) {
1484
- const d = t === "grid" ? `grid gap-3 md:grid-cols-${l}` : {
1485
+ const d = a === "grid" ? `grid gap-3 md:grid-cols-${l}` : {
1485
1486
  vertical: "space-y-3",
1486
1487
  horizontal: "flex flex-wrap gap-3",
1487
1488
  grid: "grid gap-3"
1488
- }[t];
1489
+ }[a];
1489
1490
  return /* @__PURE__ */ e.jsx("div", { className: d, children: r.map((m) => {
1490
- const h = s === m.value, g = h ? "border-reseda-green-500 bg-reseda-green-50 ring-2 ring-reseda-green-200" : `border-${c ? "border-error-300" : "border-border"} hover:border-border-subtle hover:bg-surface-variant`;
1491
+ const h = s === m.value, f = h ? "border-reseda-green-500 bg-reseda-green-50 ring-2 ring-reseda-green-200" : `border-${c ? "border-error-300" : "border-border"} hover:border-border-subtle hover:bg-surface-variant`;
1491
1492
  return /* @__PURE__ */ e.jsxs(
1492
1493
  "label",
1493
1494
  {
1494
- className: `relative flex items-start p-3 border rounded-lg cursor-pointer transition-all ${g} ${n ? "opacity-50 cursor-not-allowed" : ""}`,
1495
+ className: `relative flex items-start p-3 border rounded-lg cursor-pointer transition-all ${f} ${n ? "opacity-50 cursor-not-allowed" : ""}`,
1495
1496
  children: [
1496
1497
  /* @__PURE__ */ e.jsx(
1497
1498
  "input",
@@ -1500,7 +1501,7 @@ function Pr({
1500
1501
  name: o,
1501
1502
  value: m.value,
1502
1503
  checked: h,
1503
- onChange: () => a(m.value),
1504
+ onChange: () => t(m.value),
1504
1505
  disabled: n,
1505
1506
  className: "sr-only"
1506
1507
  }
@@ -1517,8 +1518,8 @@ function Pr({
1517
1518
  );
1518
1519
  }) });
1519
1520
  }
1520
- function zr({ stats: r, columns: s = 4, className: a = "" }) {
1521
- const t = {
1521
+ function Zr({ stats: r, columns: s = 4, className: t = "" }) {
1522
+ const a = {
1522
1523
  2: "grid-cols-2",
1523
1524
  3: "grid-cols-3",
1524
1525
  4: "grid-cols-4"
@@ -1528,7 +1529,7 @@ function zr({ stats: r, columns: s = 4, className: a = "" }) {
1528
1529
  warning: { bg: "bg-peach-yellow-50", text: "text-warning-600", value: "text-warning-900" },
1529
1530
  "earth-yellow": { bg: "bg-sunglow-50", text: "text-earth-yellow-700", value: "text-earth-yellow-100" }
1530
1531
  };
1531
- return /* @__PURE__ */ e.jsx("div", { className: `grid ${t} gap-4 mb-6 bg-surface p-6 rounded-lg ${a}`, children: r.map((n, c) => {
1532
+ return /* @__PURE__ */ e.jsx("div", { className: `grid ${a} gap-4 mb-6 bg-surface p-6 rounded-lg ${t}`, children: r.map((n, c) => {
1532
1533
  const o = l[n.color || "moss-green"];
1533
1534
  return /* @__PURE__ */ e.jsxs("div", { className: `${o.bg} rounded-lg p-4`, children: [
1534
1535
  n.icon && /* @__PURE__ */ e.jsx("div", { className: "mb-2", children: n.icon }),
@@ -1537,16 +1538,16 @@ function zr({ stats: r, columns: s = 4, className: a = "" }) {
1537
1538
  ] }, c);
1538
1539
  }) });
1539
1540
  }
1540
- function Lr({
1541
+ function qr({
1541
1542
  items: r,
1542
1543
  allowMultiple: s = !1,
1543
- defaultOpenId: a,
1544
- onOpenChange: t,
1544
+ defaultOpenId: t,
1545
+ onOpenChange: a,
1545
1546
  className: l = ""
1546
1547
  }) {
1547
- const [n, c] = V(() => a ? Array.isArray(a) ? a : [a] : []), o = (u) => {
1548
+ const [n, c] = V(() => t ? Array.isArray(t) ? t : [t] : []), o = (u) => {
1548
1549
  let d;
1549
- s ? d = n.includes(u) ? n.filter((m) => m !== u) : [...n, u] : d = n.includes(u) ? [] : [u], c(d), t?.(d);
1550
+ s ? d = n.includes(u) ? n.filter((m) => m !== u) : [...n, u] : d = n.includes(u) ? [] : [u], c(d), a?.(d);
1550
1551
  };
1551
1552
  return /* @__PURE__ */ e.jsx("div", { className: `space-y-2 ${l}`, children: r.map((u) => {
1552
1553
  const d = n.includes(u.id);
@@ -1566,7 +1567,7 @@ function Lr({
1566
1567
  /* @__PURE__ */ e.jsx("h3", { className: "font-medium text-text-primary", children: u.title })
1567
1568
  ] }),
1568
1569
  /* @__PURE__ */ e.jsx(
1569
- ae,
1570
+ te,
1570
1571
  {
1571
1572
  className: `w-5 h-5 text-text-secondary transition-transform flex-shrink-0 ${d ? "rotate-180" : ""}`
1572
1573
  }
@@ -1581,11 +1582,11 @@ function Lr({
1581
1582
  );
1582
1583
  }) });
1583
1584
  }
1584
- function Fr({
1585
+ function Gr({
1585
1586
  icon: r,
1586
1587
  title: s,
1587
- subtitle: a,
1588
- metadata: t,
1588
+ subtitle: t,
1589
+ metadata: a,
1589
1590
  isSelected: l = !1,
1590
1591
  isActive: n = !1,
1591
1592
  variant: c = "default",
@@ -1593,9 +1594,9 @@ function Fr({
1593
1594
  onClick: u,
1594
1595
  className: d = ""
1595
1596
  }) {
1596
- const m = (v) => {
1597
- const C = v.target;
1598
- C.tagName === "BUTTON" || C.closest("button") || u?.(v);
1597
+ const m = (b) => {
1598
+ const C = b.target;
1599
+ C.tagName === "BUTTON" || C.closest("button") || u?.(b);
1599
1600
  }, x = (() => {
1600
1601
  if (n)
1601
1602
  switch (c) {
@@ -1609,33 +1610,33 @@ function Fr({
1609
1610
  return "border-2 border-reseda-green-700 bg-success-50";
1610
1611
  }
1611
1612
  return "border border-border hover:border-border-subtle hover:bg-surface-variant";
1612
- })(), g = l ? "ring-2 ring-reseda-green-700" : "";
1613
+ })(), f = l ? "ring-2 ring-reseda-green-700" : "";
1613
1614
  return /* @__PURE__ */ e.jsx(
1614
1615
  "div",
1615
1616
  {
1616
1617
  onClick: m,
1617
- className: `rounded-lg p-4 cursor-pointer transition ${x} ${g} ${d}`,
1618
+ className: `rounded-lg p-4 cursor-pointer transition ${x} ${f} ${d}`,
1618
1619
  children: /* @__PURE__ */ e.jsxs("div", { className: "flex items-start justify-between", children: [
1619
1620
  /* @__PURE__ */ e.jsxs("div", { className: "flex-1 flex items-start gap-3", children: [
1620
1621
  r && /* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: r }),
1621
1622
  /* @__PURE__ */ e.jsxs("div", { className: "flex-1 min-w-0", children: [
1622
1623
  /* @__PURE__ */ e.jsx("h3", { className: "font-medium text-text-primary", children: s }),
1623
- a && /* @__PURE__ */ e.jsx("p", { className: "text-sm text-text-secondary mt-1", children: a }),
1624
- t && /* @__PURE__ */ e.jsx("div", { className: "mt-2", children: t })
1624
+ t && /* @__PURE__ */ e.jsx("p", { className: "text-sm text-text-secondary mt-1", children: t }),
1625
+ a && /* @__PURE__ */ e.jsx("div", { className: "mt-2", children: a })
1625
1626
  ] })
1626
1627
  ] }),
1627
- /* @__PURE__ */ e.jsx("div", { className: "ml-2 flex items-center gap-1 shrink-0", children: o.map((v, C) => /* @__PURE__ */ e.jsx(
1628
- _,
1628
+ /* @__PURE__ */ e.jsx("div", { className: "ml-2 flex items-center gap-1 shrink-0", children: o.map((b, C) => /* @__PURE__ */ e.jsx(
1629
+ D,
1629
1630
  {
1630
- variant: v.variant || "ghost",
1631
- size: v.size || "sm",
1632
- onClick: v.onClick,
1633
- disabled: v.disabled,
1634
- loading: v.loading,
1635
- title: v.label,
1636
- className: v.className,
1637
- leftIcon: v.icon && v.size !== "icon" ? v.icon : void 0,
1638
- children: v.size === "icon" ? v.icon : v.label
1631
+ variant: b.variant || "ghost",
1632
+ size: b.size || "sm",
1633
+ onClick: b.onClick,
1634
+ disabled: b.disabled,
1635
+ loading: b.loading,
1636
+ title: b.label,
1637
+ className: b.className,
1638
+ leftIcon: b.icon && b.size !== "icon" ? b.icon : void 0,
1639
+ children: b.size === "icon" ? b.icon : b.label
1639
1640
  },
1640
1641
  C
1641
1642
  )) })
@@ -1643,38 +1644,132 @@ function Fr({
1643
1644
  }
1644
1645
  );
1645
1646
  }
1646
- function Ur({
1647
+ function Jr({
1647
1648
  children: r,
1648
1649
  variant: s = "default",
1649
- isActive: a = !1,
1650
- onClick: t,
1650
+ isActive: t = !1,
1651
+ onClick: a,
1651
1652
  className: l = ""
1652
1653
  }) {
1653
1654
  const n = "rounded-lg transition-all", c = {
1654
1655
  default: "border border-border p-4",
1655
1656
  surface: "bg-surface-variant p-4",
1656
1657
  elevated: "bg-surface shadow-md p-6",
1657
- interactive: `border-2 p-4 cursor-pointer ${a ? "border-success-500 bg-success-50" : "border-border bg-surface hover:border-border-subtle"}`
1658
+ interactive: `border-2 p-4 cursor-pointer ${t ? "border-success-500 bg-success-50" : "border-border bg-surface hover:border-border-subtle"}`
1658
1659
  };
1659
1660
  return /* @__PURE__ */ e.jsx(
1660
1661
  "div",
1661
1662
  {
1662
1663
  className: `${n} ${c[s]} ${l}`,
1663
- onClick: t,
1664
- role: t ? "button" : void 0,
1665
- tabIndex: t ? 0 : void 0,
1666
- onKeyDown: t ? (o) => {
1667
- (o.key === "Enter" || o.key === " ") && t();
1664
+ onClick: a,
1665
+ role: a ? "button" : void 0,
1666
+ tabIndex: a ? 0 : void 0,
1667
+ onKeyDown: a ? (o) => {
1668
+ (o.key === "Enter" || o.key === " ") && a();
1668
1669
  } : void 0,
1669
1670
  children: r
1670
1671
  }
1671
1672
  );
1672
1673
  }
1673
- function Yr({
1674
+ const cr = {
1675
+ right: {
1676
+ sm: "w-full sm:w-[360px]",
1677
+ md: "w-full sm:w-[480px]",
1678
+ lg: "w-full sm:w-[640px]",
1679
+ full: "w-full"
1680
+ },
1681
+ left: {
1682
+ sm: "w-full sm:w-[360px]",
1683
+ md: "w-full sm:w-[480px]",
1684
+ lg: "w-full sm:w-[640px]",
1685
+ full: "w-full"
1686
+ },
1687
+ bottom: {
1688
+ sm: "h-[30vh]",
1689
+ md: "h-[50vh]",
1690
+ lg: "h-[70vh]",
1691
+ full: "h-full"
1692
+ }
1693
+ }, ir = {
1694
+ right: "top-0 right-0 h-full",
1695
+ left: "top-0 left-0 h-full",
1696
+ bottom: "left-0 right-0 bottom-0 w-full"
1697
+ };
1698
+ function Xr({
1699
+ open: r,
1700
+ onClose: s,
1701
+ title: t,
1702
+ children: a,
1703
+ footer: l,
1704
+ placement: n = "right",
1705
+ size: c = "md",
1706
+ closeOnOverlayClick: o = !0,
1707
+ closeOnEsc: u = !0,
1708
+ showCloseButton: d = !0,
1709
+ className: m = ""
1710
+ }) {
1711
+ if (I(() => {
1712
+ if (!r || typeof document > "u")
1713
+ return;
1714
+ const x = document.body.style.overflow;
1715
+ return document.body.style.overflow = "hidden", () => {
1716
+ document.body.style.overflow = x;
1717
+ };
1718
+ }, [r]), I(() => {
1719
+ if (!r || !u || typeof window > "u")
1720
+ return;
1721
+ const x = (f) => {
1722
+ f.key === "Escape" && s();
1723
+ };
1724
+ return window.addEventListener("keydown", x), () => {
1725
+ window.removeEventListener("keydown", x);
1726
+ };
1727
+ }, [r, u, s]), !r || typeof document > "u")
1728
+ return null;
1729
+ const h = [
1730
+ "fixed z-[60] bg-surface border-border shadow-xl flex flex-col",
1731
+ ir[n],
1732
+ cr[n][c],
1733
+ n === "bottom" ? "rounded-t-xl border-t" : n === "left" ? "border-r" : "border-l",
1734
+ m
1735
+ ].filter(Boolean).join(" ");
1736
+ return Se(
1737
+ /* @__PURE__ */ e.jsxs("div", { className: "fixed inset-0 z-50", children: [
1738
+ /* @__PURE__ */ e.jsx(
1739
+ "button",
1740
+ {
1741
+ type: "button",
1742
+ "aria-label": "Close drawer overlay",
1743
+ className: "absolute inset-0 bg-black/40",
1744
+ onClick: o ? s : void 0
1745
+ }
1746
+ ),
1747
+ /* @__PURE__ */ e.jsxs("section", { role: "dialog", "aria-modal": "true", className: h, children: [
1748
+ /* @__PURE__ */ e.jsxs("header", { className: "flex items-center justify-between border-b border-border px-4 py-3", children: [
1749
+ /* @__PURE__ */ e.jsx("div", { className: "text-sm font-semibold text-text-primary", children: t }),
1750
+ d ? /* @__PURE__ */ e.jsx(
1751
+ "button",
1752
+ {
1753
+ type: "button",
1754
+ onClick: s,
1755
+ className: "rounded-md p-1 text-text-secondary hover:bg-surface-variant hover:text-text-primary",
1756
+ "aria-label": "Close drawer",
1757
+ children: /* @__PURE__ */ e.jsx(we, { className: "h-5 w-5" })
1758
+ }
1759
+ ) : null
1760
+ ] }),
1761
+ /* @__PURE__ */ e.jsx("div", { className: "flex-1 overflow-auto px-4 py-3 text-text-primary", children: a }),
1762
+ l ? /* @__PURE__ */ e.jsx("footer", { className: "border-t border-border px-4 py-3", children: l }) : null
1763
+ ] })
1764
+ ] }),
1765
+ document.body
1766
+ );
1767
+ }
1768
+ function Kr({
1674
1769
  title: r,
1675
1770
  children: s,
1676
- subtitle: a,
1677
- spacing: t = "normal",
1771
+ subtitle: t,
1772
+ spacing: a = "normal",
1678
1773
  className: l = ""
1679
1774
  }) {
1680
1775
  const n = {
@@ -1682,61 +1777,61 @@ function Yr({
1682
1777
  normal: "space-y-6",
1683
1778
  spacious: "space-y-8"
1684
1779
  };
1685
- return /* @__PURE__ */ e.jsxs("div", { className: `${n[t]} ${l}`, children: [
1780
+ return /* @__PURE__ */ e.jsxs("div", { className: `${n[a]} ${l}`, children: [
1686
1781
  /* @__PURE__ */ e.jsxs("div", { children: [
1687
1782
  /* @__PURE__ */ e.jsx("h3", { className: "text-lg font-semibold text-text-primary", children: r }),
1688
- a && /* @__PURE__ */ e.jsx("p", { className: "text-sm text-text-secondary mt-1", children: a })
1783
+ t && /* @__PURE__ */ e.jsx("p", { className: "text-sm text-text-secondary mt-1", children: t })
1689
1784
  ] }),
1690
1785
  s
1691
1786
  ] });
1692
1787
  }
1693
- function Hr({
1788
+ function Qr({
1694
1789
  title: r,
1695
1790
  subtitle: s,
1696
- metadata: a,
1697
- sections: t,
1791
+ metadata: t,
1792
+ sections: a,
1698
1793
  className: l = ""
1699
1794
  }) {
1700
1795
  return /* @__PURE__ */ e.jsxs("div", { className: `space-y-6 ${l}`, children: [
1701
1796
  /* @__PURE__ */ e.jsxs("div", { children: [
1702
1797
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-start justify-between mb-1", children: [
1703
1798
  /* @__PURE__ */ e.jsx("h2", { className: "text-xl font-semibold text-text-primary", children: r }),
1704
- a && /* @__PURE__ */ e.jsx("div", { className: "text-sm text-text-secondary", children: a })
1799
+ t && /* @__PURE__ */ e.jsx("div", { className: "text-sm text-text-secondary", children: t })
1705
1800
  ] }),
1706
1801
  s && /* @__PURE__ */ e.jsx("p", { className: "text-sm text-text-secondary", children: s })
1707
1802
  ] }),
1708
- t.map((n, c) => /* @__PURE__ */ e.jsxs("div", { children: [
1803
+ a.map((n, c) => /* @__PURE__ */ e.jsxs("div", { children: [
1709
1804
  /* @__PURE__ */ e.jsx("h3", { className: "text-lg font-semibold text-text-primary mb-3", children: n.heading }),
1710
1805
  n.content
1711
1806
  ] }, c))
1712
1807
  ] });
1713
1808
  }
1714
- function Wr({
1809
+ function es({
1715
1810
  title: r,
1716
1811
  description: s,
1717
- centered: a = !1,
1718
- titleSize: t = "md"
1812
+ centered: t = !1,
1813
+ titleSize: a = "md"
1719
1814
  }) {
1720
1815
  const l = {
1721
1816
  sm: "text-2xl",
1722
1817
  md: "text-3xl",
1723
1818
  lg: "text-4xl"
1724
- }, n = a ? "text-center" : "", c = a ? "max-w-2xl mx-auto" : "";
1819
+ }, n = t ? "text-center" : "", c = t ? "max-w-2xl mx-auto" : "";
1725
1820
  return /* @__PURE__ */ e.jsxs("div", { className: `mb-8 ${n}`, children: [
1726
- /* @__PURE__ */ e.jsx("h1", { className: `${l[t]} font-bold text-text-primary`, children: r }),
1821
+ /* @__PURE__ */ e.jsx("h1", { className: `${l[a]} font-bold text-text-primary`, children: r }),
1727
1822
  /* @__PURE__ */ e.jsx("p", { className: `mt-2 text-text-secondary ${c}`, children: s })
1728
1823
  ] });
1729
1824
  }
1730
- function qr({
1825
+ function rs({
1731
1826
  icon: r,
1732
1827
  title: s,
1733
- description: a,
1734
- isSelected: t = !1,
1828
+ description: t,
1829
+ isSelected: a = !1,
1735
1830
  onClick: l,
1736
1831
  disabled: n = !1,
1737
1832
  className: c = ""
1738
1833
  }) {
1739
- const o = "p-4 border rounded-lg transition-all text-center cursor-pointer", u = t ? "border-reseda-green-500 bg-reseda-green-50 ring-2 ring-reseda-green-200" : "border-border hover:border-border-subtle hover:bg-surface-variant", d = n ? "opacity-50 cursor-not-allowed" : "";
1834
+ const o = "p-4 border rounded-lg transition-all text-center cursor-pointer", u = a ? "border-reseda-green-500 bg-reseda-green-50 ring-2 ring-reseda-green-200" : "border-border hover:border-border-subtle hover:bg-surface-variant", d = n ? "opacity-50 cursor-not-allowed" : "";
1740
1835
  return /* @__PURE__ */ e.jsxs(
1741
1836
  "div",
1742
1837
  {
@@ -1750,18 +1845,18 @@ function qr({
1750
1845
  children: [
1751
1846
  r && /* @__PURE__ */ e.jsx("div", { className: "mb-3 flex justify-center", children: /* @__PURE__ */ e.jsx("div", { className: "text-text-secondary", children: r }) }),
1752
1847
  /* @__PURE__ */ e.jsx("h3", { className: "font-medium text-text-primary mb-1", children: s }),
1753
- a && /* @__PURE__ */ e.jsx("p", { className: "text-xs text-text-secondary", children: a }),
1754
- t && /* @__PURE__ */ e.jsx("div", { className: "mt-3 flex justify-center", children: /* @__PURE__ */ e.jsx("div", { className: "text-reseda-green-500", children: /* @__PURE__ */ e.jsx("svg", { className: "w-5 h-5", fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ e.jsx("path", { fillRule: "evenodd", d: "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z", clipRule: "evenodd" }) }) }) })
1848
+ t && /* @__PURE__ */ e.jsx("p", { className: "text-xs text-text-secondary", children: t }),
1849
+ a && /* @__PURE__ */ e.jsx("div", { className: "mt-3 flex justify-center", children: /* @__PURE__ */ e.jsx("div", { className: "text-reseda-green-500", children: /* @__PURE__ */ e.jsx("svg", { className: "w-5 h-5", fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ e.jsx("path", { fillRule: "evenodd", d: "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z", clipRule: "evenodd" }) }) }) })
1755
1850
  ]
1756
1851
  }
1757
1852
  );
1758
1853
  }
1759
- const or = I.forwardRef(
1854
+ const dr = P.forwardRef(
1760
1855
  ({
1761
1856
  value: r,
1762
1857
  onChange: s,
1763
- min: a = 0,
1764
- max: t = 100,
1858
+ min: t = 0,
1859
+ max: a = 100,
1765
1860
  step: l = 1,
1766
1861
  showValue: n = !0,
1767
1862
  showLabels: c = !1,
@@ -1771,9 +1866,9 @@ const or = I.forwardRef(
1771
1866
  fullWidth: m = !0,
1772
1867
  disabled: h,
1773
1868
  className: x = "",
1774
- ...g
1775
- }, v) => {
1776
- const N = `w-full h-2 rounded-lg appearance-none cursor-pointer ${d ? "bg-error-200 accent-error-500" : "bg-border accent-reseda-green-500"} ${h ? "opacity-50 cursor-not-allowed" : ""} ${m ? "w-full" : ""} ${x}`, D = (r - a) / (t - a) * 100;
1869
+ ...f
1870
+ }, b) => {
1871
+ const N = `w-full h-2 rounded-lg appearance-none cursor-pointer ${d ? "bg-error-200 accent-error-500" : "bg-border accent-reseda-green-500"} ${h ? "opacity-50 cursor-not-allowed" : ""} ${m ? "w-full" : ""} ${x}`, _ = (r - t) / (a - t) * 100;
1777
1872
  return /* @__PURE__ */ e.jsxs("div", { className: "space-y-2", children: [
1778
1873
  c && (o || u) && /* @__PURE__ */ e.jsxs("div", { className: "flex justify-between text-xs text-text-muted", children: [
1779
1874
  o && /* @__PURE__ */ e.jsx("span", { children: o }),
@@ -1783,16 +1878,16 @@ const or = I.forwardRef(
1783
1878
  /* @__PURE__ */ e.jsx(
1784
1879
  "input",
1785
1880
  {
1786
- ref: v,
1881
+ ref: b,
1787
1882
  type: "range",
1788
- min: a,
1789
- max: t,
1883
+ min: t,
1884
+ max: a,
1790
1885
  step: l,
1791
1886
  value: r,
1792
- onChange: (z) => s(Number(z.target.value)),
1887
+ onChange: (L) => s(Number(L.target.value)),
1793
1888
  disabled: h,
1794
1889
  className: N,
1795
- ...g
1890
+ ...f
1796
1891
  }
1797
1892
  ),
1798
1893
  n && /* @__PURE__ */ e.jsx("span", { className: "text-sm font-medium text-text-primary min-w-[3rem] text-right", children: r })
@@ -1801,26 +1896,170 @@ const or = I.forwardRef(
1801
1896
  "div",
1802
1897
  {
1803
1898
  className: "h-full bg-reseda-green-500 transition-all",
1804
- style: { width: `${D}%` }
1899
+ style: { width: `${_}%` }
1805
1900
  }
1806
1901
  ) })
1807
1902
  ] });
1808
1903
  }
1809
1904
  );
1810
- or.displayName = "Slider";
1811
- function cr({
1905
+ dr.displayName = "Slider";
1906
+ function ur({
1907
+ title: r,
1908
+ titleId: s,
1909
+ ...t
1910
+ }, a) {
1911
+ return /* @__PURE__ */ j.createElement("svg", Object.assign({
1912
+ xmlns: "http://www.w3.org/2000/svg",
1913
+ viewBox: "0 0 24 24",
1914
+ fill: "currentColor",
1915
+ "aria-hidden": "true",
1916
+ "data-slot": "icon",
1917
+ ref: a,
1918
+ "aria-labelledby": s
1919
+ }, t), r ? /* @__PURE__ */ j.createElement("title", {
1920
+ id: s
1921
+ }, r) : null, /* @__PURE__ */ j.createElement("path", {
1922
+ fillRule: "evenodd",
1923
+ d: "M7.5 5.25a3 3 0 0 1 3-3h3a3 3 0 0 1 3 3v.205c.933.085 1.857.197 2.774.334 1.454.218 2.476 1.483 2.476 2.917v3.033c0 1.211-.734 2.352-1.936 2.752A24.726 24.726 0 0 1 12 15.75c-2.73 0-5.357-.442-7.814-1.259-1.202-.4-1.936-1.541-1.936-2.752V8.706c0-1.434 1.022-2.7 2.476-2.917A48.814 48.814 0 0 1 7.5 5.455V5.25Zm7.5 0v.09a49.488 49.488 0 0 0-6 0v-.09a1.5 1.5 0 0 1 1.5-1.5h3a1.5 1.5 0 0 1 1.5 1.5Zm-3 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",
1924
+ clipRule: "evenodd"
1925
+ }), /* @__PURE__ */ j.createElement("path", {
1926
+ d: "M3 18.4v-2.796a4.3 4.3 0 0 0 .713.31A26.226 26.226 0 0 0 12 17.25c2.892 0 5.68-.468 8.287-1.335.252-.084.49-.189.713-.311V18.4c0 1.452-1.047 2.728-2.523 2.923-2.12.282-4.282.427-6.477.427a49.19 49.19 0 0 1-6.477-.427C4.047 21.128 3 19.852 3 18.4Z"
1927
+ }));
1928
+ }
1929
+ const mr = /* @__PURE__ */ j.forwardRef(ur);
1930
+ function xr({
1931
+ title: r,
1932
+ titleId: s,
1933
+ ...t
1934
+ }, a) {
1935
+ return /* @__PURE__ */ j.createElement("svg", Object.assign({
1936
+ xmlns: "http://www.w3.org/2000/svg",
1937
+ viewBox: "0 0 24 24",
1938
+ fill: "currentColor",
1939
+ "aria-hidden": "true",
1940
+ "data-slot": "icon",
1941
+ ref: a,
1942
+ "aria-labelledby": s
1943
+ }, t), r ? /* @__PURE__ */ j.createElement("title", {
1944
+ id: s
1945
+ }, r) : null, /* @__PURE__ */ j.createElement("path", {
1946
+ fillRule: "evenodd",
1947
+ d: "M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm13.36-1.814a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z",
1948
+ clipRule: "evenodd"
1949
+ }));
1950
+ }
1951
+ const hr = /* @__PURE__ */ j.forwardRef(xr);
1952
+ function fr({
1953
+ title: r,
1954
+ titleId: s,
1955
+ ...t
1956
+ }, a) {
1957
+ return /* @__PURE__ */ j.createElement("svg", Object.assign({
1958
+ xmlns: "http://www.w3.org/2000/svg",
1959
+ viewBox: "0 0 24 24",
1960
+ fill: "currentColor",
1961
+ "aria-hidden": "true",
1962
+ "data-slot": "icon",
1963
+ ref: a,
1964
+ "aria-labelledby": s
1965
+ }, t), r ? /* @__PURE__ */ j.createElement("title", {
1966
+ id: s
1967
+ }, r) : null, /* @__PURE__ */ j.createElement("path", {
1968
+ d: "M5.625 1.5c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0 0 16.5 9h-1.875a1.875 1.875 0 0 1-1.875-1.875V5.25A3.75 3.75 0 0 0 9 1.5H5.625Z"
1969
+ }), /* @__PURE__ */ j.createElement("path", {
1970
+ d: "M12.971 1.816A5.23 5.23 0 0 1 14.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 0 1 3.434 1.279 9.768 9.768 0 0 0-6.963-6.963Z"
1971
+ }));
1972
+ }
1973
+ const gr = /* @__PURE__ */ j.forwardRef(fr);
1974
+ function br({
1975
+ title: r,
1976
+ titleId: s,
1977
+ ...t
1978
+ }, a) {
1979
+ return /* @__PURE__ */ j.createElement("svg", Object.assign({
1980
+ xmlns: "http://www.w3.org/2000/svg",
1981
+ viewBox: "0 0 24 24",
1982
+ fill: "currentColor",
1983
+ "aria-hidden": "true",
1984
+ "data-slot": "icon",
1985
+ ref: a,
1986
+ "aria-labelledby": s
1987
+ }, t), r ? /* @__PURE__ */ j.createElement("title", {
1988
+ id: s
1989
+ }, r) : null, /* @__PURE__ */ j.createElement("path", {
1990
+ d: "M3.478 2.404a.75.75 0 0 0-.926.941l2.432 7.905H13.5a.75.75 0 0 1 0 1.5H4.984l-2.432 7.905a.75.75 0 0 0 .926.94 60.519 60.519 0 0 0 18.445-8.986.75.75 0 0 0 0-1.218A60.517 60.517 0 0 0 3.478 2.404Z"
1991
+ }));
1992
+ }
1993
+ const vr = /* @__PURE__ */ j.forwardRef(br), pr = {
1994
+ neutral: {
1995
+ selectedContainer: "border-gray-300 bg-gray-50",
1996
+ selectedIndicator: "text-gray-500",
1997
+ inputAccent: "accent-gray-600"
1998
+ },
1999
+ purple: {
2000
+ selectedContainer: "border-purple-300 bg-purple-50",
2001
+ selectedIndicator: "text-purple-600",
2002
+ inputAccent: "accent-purple-600"
2003
+ },
2004
+ blue: {
2005
+ selectedContainer: "border-blue-300 bg-blue-50",
2006
+ selectedIndicator: "text-blue-600",
2007
+ inputAccent: "accent-blue-600"
2008
+ }
2009
+ };
2010
+ function ss({
2011
+ id: r,
2012
+ name: s,
2013
+ checked: t,
2014
+ onChange: a,
2015
+ primaryText: l,
2016
+ secondaryText: n,
2017
+ tertiaryText: c,
2018
+ tone: o = "neutral",
2019
+ showCheckedIndicator: u = !1,
2020
+ disabled: d = !1,
2021
+ className: m = ""
2022
+ }) {
2023
+ const h = pr[o], x = t ? h.selectedContainer : "border-gray-200", f = d ? "cursor-not-allowed opacity-60" : "cursor-pointer hover:bg-gray-50";
2024
+ return /* @__PURE__ */ e.jsxs(
2025
+ "label",
2026
+ {
2027
+ className: `flex items-start gap-2 rounded-md border p-2 transition ${x} ${f} ${m}`,
2028
+ children: [
2029
+ /* @__PURE__ */ e.jsx(
2030
+ "input",
2031
+ {
2032
+ type: "radio",
2033
+ name: s,
2034
+ className: `mt-0.5 ${h.inputAccent}`,
2035
+ checked: t,
2036
+ disabled: d,
2037
+ onChange: () => a(r)
2038
+ }
2039
+ ),
2040
+ /* @__PURE__ */ e.jsxs("span", { className: "min-w-0 flex-1", children: [
2041
+ /* @__PURE__ */ e.jsx("span", { className: "block text-sm text-gray-800 break-words", children: l }),
2042
+ n ? /* @__PURE__ */ e.jsx("span", { className: "block text-xs text-gray-500", children: n }) : null,
2043
+ c ? /* @__PURE__ */ e.jsx("span", { className: "block text-xs text-gray-400", children: c }) : null
2044
+ ] }),
2045
+ u && t ? /* @__PURE__ */ e.jsx(hr, { className: `h-4 w-4 mt-0.5 shrink-0 ${h.selectedIndicator}` }) : null
2046
+ ]
2047
+ }
2048
+ );
2049
+ }
2050
+ function jr({
1812
2051
  id: r,
1813
2052
  index: s,
1814
- previewText: a,
1815
- defaultExpanded: t = !1,
2053
+ previewText: t,
2054
+ defaultExpanded: a = !1,
1816
2055
  children: l,
1817
2056
  tooltipContent: n,
1818
2057
  onRemove: c,
1819
2058
  className: o = ""
1820
2059
  }) {
1821
- const [u, d] = V(t), { attributes: m, listeners: h, setNodeRef: x, transform: g, transition: v, isDragging: C } = Se({ id: r }), T = {
1822
- transform: Be.Transform.toString(g),
1823
- transition: v,
2060
+ const [u, d] = V(a), { attributes: m, listeners: h, setNodeRef: x, transform: f, transition: b, isDragging: C } = Be({ id: r }), T = {
2061
+ transform: Me.Transform.toString(f),
2062
+ transition: b,
1824
2063
  opacity: C ? 0.5 : 1
1825
2064
  };
1826
2065
  return /* @__PURE__ */ e.jsx(
@@ -1856,7 +2095,7 @@ function cr({
1856
2095
  }
1857
2096
  ),
1858
2097
  /* @__PURE__ */ e.jsx(
1859
- _,
2098
+ D,
1860
2099
  {
1861
2100
  type: "button",
1862
2101
  variant: "ghost",
@@ -1868,7 +2107,7 @@ function cr({
1868
2107
  }
1869
2108
  ),
1870
2109
  /* @__PURE__ */ e.jsx(
1871
- _,
2110
+ D,
1872
2111
  {
1873
2112
  type: "button",
1874
2113
  variant: "ghost",
@@ -1902,11 +2141,11 @@ function cr({
1902
2141
  {
1903
2142
  className: "flex-1 text-sm text-text-secondary truncate cursor-pointer select-none",
1904
2143
  onClick: () => d(!0),
1905
- children: a
2144
+ children: t
1906
2145
  }
1907
2146
  ),
1908
2147
  /* @__PURE__ */ e.jsx(
1909
- _,
2148
+ D,
1910
2149
  {
1911
2150
  type: "button",
1912
2151
  variant: "ghost",
@@ -1918,7 +2157,7 @@ function cr({
1918
2157
  }
1919
2158
  ),
1920
2159
  /* @__PURE__ */ e.jsx(
1921
- _,
2160
+ D,
1922
2161
  {
1923
2162
  type: "button",
1924
2163
  variant: "ghost",
@@ -1936,8 +2175,8 @@ function cr({
1936
2175
  }
1937
2176
  );
1938
2177
  }
1939
- cr.displayName = "SortableItem";
1940
- const ir = {
2178
+ jr.displayName = "SortableItem";
2179
+ const yr = {
1941
2180
  bg: "bg-indigo-600",
1942
2181
  activeBg: "bg-indigo-700",
1943
2182
  text: "text-indigo-200",
@@ -1948,15 +2187,15 @@ const ir = {
1948
2187
  function R(...r) {
1949
2188
  return r.filter(Boolean).join(" ");
1950
2189
  }
1951
- function ve({ item: r, colorScheme: s }) {
1952
- const [a, t] = V(r.current || r.children?.some((n) => n.current)), l = r.children && r.children.length > 0;
2190
+ function be({ item: r, colorScheme: s }) {
2191
+ const [t, a] = V(r.current || r.children?.some((n) => n.current)), l = r.children && r.children.length > 0;
1953
2192
  return /* @__PURE__ */ e.jsxs("li", { children: [
1954
2193
  /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsxs(
1955
2194
  "a",
1956
2195
  {
1957
2196
  href: l ? void 0 : r.href,
1958
2197
  onClick: (n) => {
1959
- l && (n.preventDefault(), t(!a));
2198
+ l && (n.preventDefault(), a(!t));
1960
2199
  },
1961
2200
  className: R(
1962
2201
  r.current ? `${s.activeBg} ${s.activeText}` : `${s.text} ${s.hoverBg} ${s.hoverText}`,
@@ -1978,11 +2217,11 @@ function ve({ item: r, colorScheme: s }) {
1978
2217
  r.name
1979
2218
  ] }),
1980
2219
  l && /* @__PURE__ */ e.jsx(
1981
- ae,
2220
+ te,
1982
2221
  {
1983
2222
  className: R(
1984
2223
  "size-5 shrink-0 transition-transform",
1985
- a ? "rotate-180" : "",
2224
+ t ? "rotate-180" : "",
1986
2225
  r.current ? s.activeText : s.text
1987
2226
  )
1988
2227
  }
@@ -1990,7 +2229,7 @@ function ve({ item: r, colorScheme: s }) {
1990
2229
  ]
1991
2230
  }
1992
2231
  ) }),
1993
- l && a && /* @__PURE__ */ e.jsx("ul", { className: "mt-1 ml-9 space-y-1", children: r.children.map((n) => /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsxs(
2232
+ l && t && /* @__PURE__ */ e.jsx("ul", { className: "mt-1 ml-9 space-y-1", children: r.children.map((n) => /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsxs(
1994
2233
  "a",
1995
2234
  {
1996
2235
  href: n.href,
@@ -2015,10 +2254,10 @@ function ve({ item: r, colorScheme: s }) {
2015
2254
  ) }, n.name)) })
2016
2255
  ] });
2017
2256
  }
2018
- function Gr({ company: r, profile: s, navigation: a, colorScheme: t = ir }) {
2257
+ function ts({ company: r, profile: s, navigation: t, colorScheme: a = yr }) {
2019
2258
  const [l, n] = V(!1);
2020
2259
  return /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { children: [
2021
- /* @__PURE__ */ e.jsxs(Me, { open: l, onClose: n, className: "relative z-50 lg:hidden", children: [
2260
+ /* @__PURE__ */ e.jsxs(De, { open: l, onClose: n, className: "relative z-50 lg:hidden", children: [
2022
2261
  /* @__PURE__ */ e.jsx(
2023
2262
  _e,
2024
2263
  {
@@ -2027,16 +2266,16 @@ function Gr({ company: r, profile: s, navigation: a, colorScheme: t = ir }) {
2027
2266
  }
2028
2267
  ),
2029
2268
  /* @__PURE__ */ e.jsx("div", { className: "fixed inset-0 flex", children: /* @__PURE__ */ e.jsxs(
2030
- De,
2269
+ Oe,
2031
2270
  {
2032
2271
  transition: !0,
2033
2272
  className: "relative mr-16 flex w-full max-w-xs flex-1 transform transition duration-300 ease-in-out data-closed:-translate-x-full",
2034
2273
  children: [
2035
- /* @__PURE__ */ e.jsx(Oe, { children: /* @__PURE__ */ e.jsx("div", { className: "absolute top-0 left-full flex w-16 justify-center pt-5 duration-300 ease-in-out data-closed:opacity-0", children: /* @__PURE__ */ e.jsxs("button", { type: "button", onClick: () => n(!1), className: "-m-2.5 p-2.5", children: [
2274
+ /* @__PURE__ */ e.jsx(Ie, { children: /* @__PURE__ */ e.jsx("div", { className: "absolute top-0 left-full flex w-16 justify-center pt-5 duration-300 ease-in-out data-closed:opacity-0", children: /* @__PURE__ */ e.jsxs("button", { type: "button", onClick: () => n(!1), className: "-m-2.5 p-2.5", children: [
2036
2275
  /* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Close sidebar" }),
2037
- /* @__PURE__ */ e.jsx(Re, { "aria-hidden": "true", className: "size-6 text-white" })
2276
+ /* @__PURE__ */ e.jsx(we, { "aria-hidden": "true", className: "size-6 text-white" })
2038
2277
  ] }) }) }),
2039
- /* @__PURE__ */ e.jsxs("div", { className: R("flex grow flex-col gap-y-5 overflow-y-auto px-6 pb-2", t.bg), children: [
2278
+ /* @__PURE__ */ e.jsxs("div", { className: R("flex grow flex-col gap-y-5 overflow-y-auto px-6 pb-2", a.bg), children: [
2040
2279
  /* @__PURE__ */ e.jsx("div", { className: "flex h-16 shrink-0 items-center", children: /* @__PURE__ */ e.jsx(
2041
2280
  "img",
2042
2281
  {
@@ -2045,13 +2284,13 @@ function Gr({ company: r, profile: s, navigation: a, colorScheme: t = ir }) {
2045
2284
  className: "h-8 w-auto"
2046
2285
  }
2047
2286
  ) }),
2048
- /* @__PURE__ */ e.jsx("nav", { className: "flex flex-1 flex-col", children: /* @__PURE__ */ e.jsx("ul", { role: "list", className: "flex flex-1 flex-col gap-y-7", children: /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx("ul", { role: "list", className: "-mx-2 space-y-1", children: a.map((c) => /* @__PURE__ */ e.jsx(ve, { item: c, colorScheme: t }, c.name)) }) }) }) })
2287
+ /* @__PURE__ */ e.jsx("nav", { className: "flex flex-1 flex-col", children: /* @__PURE__ */ e.jsx("ul", { role: "list", className: "flex flex-1 flex-col gap-y-7", children: /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx("ul", { role: "list", className: "-mx-2 space-y-1", children: t.map((c) => /* @__PURE__ */ e.jsx(be, { item: c, colorScheme: a }, c.name)) }) }) }) })
2049
2288
  ] })
2050
2289
  ]
2051
2290
  }
2052
2291
  ) })
2053
2292
  ] }),
2054
- /* @__PURE__ */ e.jsx("div", { className: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-72 lg:flex-col", children: /* @__PURE__ */ e.jsxs("div", { className: R("flex grow flex-col gap-y-5 overflow-y-auto px-6", t.bg), children: [
2293
+ /* @__PURE__ */ e.jsx("div", { className: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-72 lg:flex-col", children: /* @__PURE__ */ e.jsxs("div", { className: R("flex grow flex-col gap-y-5 overflow-y-auto px-6", a.bg), children: [
2055
2294
  /* @__PURE__ */ e.jsx("div", { className: "flex h-16 shrink-0 items-center", children: /* @__PURE__ */ e.jsx(
2056
2295
  "img",
2057
2296
  {
@@ -2061,15 +2300,15 @@ function Gr({ company: r, profile: s, navigation: a, colorScheme: t = ir }) {
2061
2300
  }
2062
2301
  ) }),
2063
2302
  /* @__PURE__ */ e.jsx("nav", { className: "flex flex-1 flex-col", children: /* @__PURE__ */ e.jsxs("ul", { role: "list", className: "flex flex-1 flex-col gap-y-7", children: [
2064
- /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx("ul", { role: "list", className: "-mx-2 space-y-1", children: a.map((c) => /* @__PURE__ */ e.jsx(ve, { item: c, colorScheme: t }, c.name)) }) }),
2303
+ /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx("ul", { role: "list", className: "-mx-2 space-y-1", children: t.map((c) => /* @__PURE__ */ e.jsx(be, { item: c, colorScheme: a }, c.name)) }) }),
2065
2304
  /* @__PURE__ */ e.jsx("li", { className: "-mx-6 mt-auto", children: /* @__PURE__ */ e.jsxs(
2066
2305
  "a",
2067
2306
  {
2068
2307
  href: "#",
2069
2308
  className: R(
2070
2309
  "flex items-center gap-x-4 px-6 py-3 text-sm/6 font-semibold",
2071
- t.activeText,
2072
- t.hoverBg
2310
+ a.activeText,
2311
+ a.hoverBg
2073
2312
  ),
2074
2313
  children: [
2075
2314
  /* @__PURE__ */ e.jsx(
@@ -2077,7 +2316,7 @@ function Gr({ company: r, profile: s, navigation: a, colorScheme: t = ir }) {
2077
2316
  {
2078
2317
  alt: s.name,
2079
2318
  src: s.image,
2080
- className: R("size-8 rounded-full", t.activeBg)
2319
+ className: R("size-8 rounded-full", a.activeBg)
2081
2320
  }
2082
2321
  ),
2083
2322
  /* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Your profile" }),
@@ -2087,12 +2326,12 @@ function Gr({ company: r, profile: s, navigation: a, colorScheme: t = ir }) {
2087
2326
  ) })
2088
2327
  ] }) })
2089
2328
  ] }) }),
2090
- /* @__PURE__ */ e.jsxs("div", { className: R("sticky top-0 z-40 flex items-center gap-x-6 px-4 py-4 shadow-xs sm:px-6 lg:hidden", t.bg), children: [
2091
- /* @__PURE__ */ e.jsxs("button", { type: "button", onClick: () => n(!0), className: R("-m-2.5 p-2.5 lg:hidden", t.text), children: [
2329
+ /* @__PURE__ */ e.jsxs("div", { className: R("sticky top-0 z-40 flex items-center gap-x-6 px-4 py-4 shadow-xs sm:px-6 lg:hidden", a.bg), children: [
2330
+ /* @__PURE__ */ e.jsxs("button", { type: "button", onClick: () => n(!0), className: R("-m-2.5 p-2.5 lg:hidden", a.text), children: [
2092
2331
  /* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Open sidebar" }),
2093
2332
  /* @__PURE__ */ e.jsx(Ae, { "aria-hidden": "true", className: "size-6" })
2094
2333
  ] }),
2095
- /* @__PURE__ */ e.jsx("div", { className: R("flex-1 text-sm/6 font-semibold", t.activeText), children: "Dashboard" }),
2334
+ /* @__PURE__ */ e.jsx("div", { className: R("flex-1 text-sm/6 font-semibold", a.activeText), children: "Dashboard" }),
2096
2335
  /* @__PURE__ */ e.jsxs("a", { href: "#", children: [
2097
2336
  /* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Your profile" }),
2098
2337
  /* @__PURE__ */ e.jsx(
@@ -2100,14 +2339,14 @@ function Gr({ company: r, profile: s, navigation: a, colorScheme: t = ir }) {
2100
2339
  {
2101
2340
  alt: s.name,
2102
2341
  src: s.image,
2103
- className: R("size-8 rounded-full", t.activeBg)
2342
+ className: R("size-8 rounded-full", a.activeBg)
2104
2343
  }
2105
2344
  )
2106
2345
  ] })
2107
2346
  ] })
2108
2347
  ] }) });
2109
2348
  }
2110
- const dr = {
2349
+ const wr = {
2111
2350
  activeBg: "bg-reseda-green-700",
2112
2351
  activeText: "text-white",
2113
2352
  completedBg: "bg-success-500",
@@ -2118,57 +2357,57 @@ const dr = {
2118
2357
  labelInactiveText: "text-text-muted",
2119
2358
  connectorBg: "bg-border"
2120
2359
  };
2121
- function Zr({ currentStep: r, steps: s, colorConfig: a }) {
2122
- const t = a || dr;
2360
+ function as({ currentStep: r, steps: s, colorConfig: t }) {
2361
+ const a = t || wr;
2123
2362
  return /* @__PURE__ */ e.jsx("nav", { className: "mb-10", children: /* @__PURE__ */ e.jsx("ol", { className: "flex items-center w-full", children: s.map((l, n) => /* @__PURE__ */ e.jsxs("li", { className: `flex items-center ${n < s.length - 1 ? "flex-1" : ""}`, children: [
2124
2363
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-center", children: [
2125
2364
  /* @__PURE__ */ e.jsx(
2126
2365
  "span",
2127
2366
  {
2128
- className: `flex items-center justify-center w-9 h-9 rounded-full text-sm font-semibold shrink-0 ${r === l.number ? `${t.activeBg} ${t.activeText}` : r > l.number ? `${t.completedBg} ${t.completedText}` : `border-2 ${t.incompleteBorder} ${t.incompleteText}`}`,
2367
+ className: `flex items-center justify-center w-9 h-9 rounded-full text-sm font-semibold shrink-0 ${r === l.number ? `${a.activeBg} ${a.activeText}` : r > l.number ? `${a.completedBg} ${a.completedText}` : `border-2 ${a.incompleteBorder} ${a.incompleteText}`}`,
2129
2368
  children: l.number
2130
2369
  }
2131
2370
  ),
2132
2371
  /* @__PURE__ */ e.jsx(
2133
2372
  "span",
2134
2373
  {
2135
- className: `ml-3 text-sm font-medium whitespace-nowrap ${r >= l.number ? t.labelActiveText : t.labelInactiveText}`,
2374
+ className: `ml-3 text-sm font-medium whitespace-nowrap ${r >= l.number ? a.labelActiveText : a.labelInactiveText}`,
2136
2375
  children: l.label
2137
2376
  }
2138
2377
  )
2139
2378
  ] }),
2140
- n < s.length - 1 && /* @__PURE__ */ e.jsx("div", { className: `flex-1 h-0.5 mx-4 ${t.connectorBg}` })
2379
+ n < s.length - 1 && /* @__PURE__ */ e.jsx("div", { className: `flex-1 h-0.5 mx-4 ${a.connectorBg}` })
2141
2380
  ] }, l.number)) }) });
2142
2381
  }
2143
- const ur = {
2382
+ const Nr = {
2144
2383
  activeText: "text-reseda-green-700",
2145
2384
  activeBorder: "border-reseda-green-700",
2146
2385
  inactiveText: "text-text-secondary",
2147
2386
  inactiveHoverText: "hover:text-text-primary",
2148
2387
  disabledText: "text-text-disabled"
2149
2388
  };
2150
- function Jr({ tabs: r, activeTab: s, disabled: a = !1, onChange: t, colorConfig: l }) {
2151
- const n = l || ur;
2389
+ function ns({ tabs: r, activeTab: s, disabled: t = !1, onChange: a, colorConfig: l }) {
2390
+ const n = l || Nr;
2152
2391
  return /* @__PURE__ */ e.jsx("div", { className: "flex border-b border-border mb-6", children: r.map((c) => {
2153
2392
  const o = s === c.id;
2154
2393
  return /* @__PURE__ */ e.jsx(
2155
- _,
2394
+ D,
2156
2395
  {
2157
2396
  variant: "ghost",
2158
- onClick: () => !a && t(c.id),
2159
- disabled: a && !o,
2160
- className: `px-4 py-2.5 text-sm font-medium whitespace-nowrap transition-colors border-b-2 -mb-px ${o ? `${n.activeBorder} ${n.activeText}` : a ? `border-transparent ${n.disabledText} cursor-not-allowed` : `border-transparent ${n.inactiveText} ${n.inactiveHoverText}`}`,
2397
+ onClick: () => !t && a(c.id),
2398
+ disabled: t && !o,
2399
+ className: `px-4 py-2.5 text-sm font-medium whitespace-nowrap transition-colors border-b-2 -mb-px ${o ? `${n.activeBorder} ${n.activeText}` : t ? `border-transparent ${n.disabledText} cursor-not-allowed` : `border-transparent ${n.inactiveText} ${n.inactiveHoverText}`}`,
2161
2400
  children: c.label
2162
2401
  },
2163
2402
  c.id
2164
2403
  );
2165
2404
  }) });
2166
2405
  }
2167
- function Xr({
2406
+ function ls({
2168
2407
  status: r,
2169
2408
  title: s,
2170
- message: a,
2171
- action: t,
2409
+ message: t,
2410
+ action: a,
2172
2411
  progress: l,
2173
2412
  className: n = ""
2174
2413
  }) {
@@ -2195,7 +2434,7 @@ function Xr({
2195
2434
  bg: "bg-info-50",
2196
2435
  border: "border-info-200",
2197
2436
  text: "text-info-700",
2198
- icon: /* @__PURE__ */ e.jsx(be, { className: "h-5 w-5" })
2437
+ icon: /* @__PURE__ */ e.jsx(ve, { className: "h-5 w-5" })
2199
2438
  },
2200
2439
  loading: {
2201
2440
  bg: "bg-blue-50",
@@ -2211,7 +2450,7 @@ function Xr({
2211
2450
  ] }) : /* @__PURE__ */ e.jsx("div", { className: `flex-shrink-0 ${o.text}`, children: o.icon }),
2212
2451
  /* @__PURE__ */ e.jsxs("div", { className: "flex-1", children: [
2213
2452
  /* @__PURE__ */ e.jsx("p", { className: `text-sm font-medium ${o.text}`, children: s }),
2214
- a && /* @__PURE__ */ e.jsx("p", { className: `text-xs ${o.text} mt-1`, children: a }),
2453
+ t && /* @__PURE__ */ e.jsx("p", { className: `text-xs ${o.text} mt-1`, children: t }),
2215
2454
  l !== void 0 && /* @__PURE__ */ e.jsx("div", { className: "mt-2 w-full bg-gray-200 rounded-full h-2", children: /* @__PURE__ */ e.jsx(
2216
2455
  "div",
2217
2456
  {
@@ -2220,24 +2459,24 @@ function Xr({
2220
2459
  }
2221
2460
  ) })
2222
2461
  ] }),
2223
- t && /* @__PURE__ */ e.jsx(
2462
+ a && /* @__PURE__ */ e.jsx(
2224
2463
  "button",
2225
2464
  {
2226
- onClick: t.onClick,
2465
+ onClick: a.onClick,
2227
2466
  className: `text-sm font-medium ${o.text} hover:opacity-70 flex-shrink-0`,
2228
- children: t.label
2467
+ children: a.label
2229
2468
  }
2230
2469
  )
2231
2470
  ] }) });
2232
2471
  }
2233
- const Ce = ({
2472
+ const ke = ({
2234
2473
  role: r,
2235
2474
  content: s,
2236
- timestamp: a,
2237
- className: t = ""
2475
+ timestamp: t,
2476
+ className: a = ""
2238
2477
  }) => {
2239
2478
  const l = r === "user";
2240
- return /* @__PURE__ */ e.jsxs("div", { className: `flex gap-3 ${l ? "justify-end" : "justify-start"} ${t}`, children: [
2479
+ return /* @__PURE__ */ e.jsxs("div", { className: `flex gap-3 ${l ? "justify-end" : "justify-start"} ${a}`, children: [
2241
2480
  !l && /* @__PURE__ */ e.jsx("div", { className: "flex-shrink-0", children: /* @__PURE__ */ e.jsx("div", { className: "w-8 h-8 rounded-full bg-green-700 flex items-center justify-center text-white text-sm font-semibold", children: "AI" }) }),
2242
2481
  /* @__PURE__ */ e.jsxs("div", { className: `flex-1 ${l ? "max-w-md" : ""}`, children: [
2243
2482
  /* @__PURE__ */ e.jsx(
@@ -2247,93 +2486,28 @@ const Ce = ({
2247
2486
  children: /* @__PURE__ */ e.jsx("p", { className: "text-sm whitespace-pre-wrap", children: s })
2248
2487
  }
2249
2488
  ),
2250
- a && /* @__PURE__ */ e.jsx("p", { className: `text-xs text-gray-400 mt-1 ${l ? "text-right" : ""}`, children: a.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" }) })
2489
+ t && /* @__PURE__ */ e.jsx("p", { className: `text-xs text-gray-400 mt-1 ${l ? "text-right" : ""}`, children: t.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" }) })
2251
2490
  ] }),
2252
2491
  l && /* @__PURE__ */ e.jsx("div", { className: "flex-shrink-0", children: /* @__PURE__ */ e.jsx("div", { className: "w-8 h-8 rounded-full bg-gray-300 flex items-center justify-center text-gray-600 text-sm font-semibold", children: "U" }) })
2253
2492
  ] });
2254
2493
  };
2255
- Ce.displayName = "ChatMessage";
2256
- function mr({
2257
- title: r,
2258
- titleId: s,
2259
- ...a
2260
- }, t) {
2261
- return /* @__PURE__ */ j.createElement("svg", Object.assign({
2262
- xmlns: "http://www.w3.org/2000/svg",
2263
- viewBox: "0 0 24 24",
2264
- fill: "currentColor",
2265
- "aria-hidden": "true",
2266
- "data-slot": "icon",
2267
- ref: t,
2268
- "aria-labelledby": s
2269
- }, a), r ? /* @__PURE__ */ j.createElement("title", {
2270
- id: s
2271
- }, r) : null, /* @__PURE__ */ j.createElement("path", {
2272
- fillRule: "evenodd",
2273
- d: "M7.5 5.25a3 3 0 0 1 3-3h3a3 3 0 0 1 3 3v.205c.933.085 1.857.197 2.774.334 1.454.218 2.476 1.483 2.476 2.917v3.033c0 1.211-.734 2.352-1.936 2.752A24.726 24.726 0 0 1 12 15.75c-2.73 0-5.357-.442-7.814-1.259-1.202-.4-1.936-1.541-1.936-2.752V8.706c0-1.434 1.022-2.7 2.476-2.917A48.814 48.814 0 0 1 7.5 5.455V5.25Zm7.5 0v.09a49.488 49.488 0 0 0-6 0v-.09a1.5 1.5 0 0 1 1.5-1.5h3a1.5 1.5 0 0 1 1.5 1.5Zm-3 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",
2274
- clipRule: "evenodd"
2275
- }), /* @__PURE__ */ j.createElement("path", {
2276
- d: "M3 18.4v-2.796a4.3 4.3 0 0 0 .713.31A26.226 26.226 0 0 0 12 17.25c2.892 0 5.68-.468 8.287-1.335.252-.084.49-.189.713-.311V18.4c0 1.452-1.047 2.728-2.523 2.923-2.12.282-4.282.427-6.477.427a49.19 49.19 0 0 1-6.477-.427C4.047 21.128 3 19.852 3 18.4Z"
2277
- }));
2278
- }
2279
- const xr = /* @__PURE__ */ j.forwardRef(mr);
2280
- function hr({
2281
- title: r,
2282
- titleId: s,
2283
- ...a
2284
- }, t) {
2285
- return /* @__PURE__ */ j.createElement("svg", Object.assign({
2286
- xmlns: "http://www.w3.org/2000/svg",
2287
- viewBox: "0 0 24 24",
2288
- fill: "currentColor",
2289
- "aria-hidden": "true",
2290
- "data-slot": "icon",
2291
- ref: t,
2292
- "aria-labelledby": s
2293
- }, a), r ? /* @__PURE__ */ j.createElement("title", {
2294
- id: s
2295
- }, r) : null, /* @__PURE__ */ j.createElement("path", {
2296
- d: "M5.625 1.5c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0 0 16.5 9h-1.875a1.875 1.875 0 0 1-1.875-1.875V5.25A3.75 3.75 0 0 0 9 1.5H5.625Z"
2297
- }), /* @__PURE__ */ j.createElement("path", {
2298
- d: "M12.971 1.816A5.23 5.23 0 0 1 14.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 0 1 3.434 1.279 9.768 9.768 0 0 0-6.963-6.963Z"
2299
- }));
2300
- }
2301
- const fr = /* @__PURE__ */ j.forwardRef(hr);
2302
- function gr({
2303
- title: r,
2304
- titleId: s,
2305
- ...a
2306
- }, t) {
2307
- return /* @__PURE__ */ j.createElement("svg", Object.assign({
2308
- xmlns: "http://www.w3.org/2000/svg",
2309
- viewBox: "0 0 24 24",
2310
- fill: "currentColor",
2311
- "aria-hidden": "true",
2312
- "data-slot": "icon",
2313
- ref: t,
2314
- "aria-labelledby": s
2315
- }, a), r ? /* @__PURE__ */ j.createElement("title", {
2316
- id: s
2317
- }, r) : null, /* @__PURE__ */ j.createElement("path", {
2318
- d: "M3.478 2.404a.75.75 0 0 0-.926.941l2.432 7.905H13.5a.75.75 0 0 1 0 1.5H4.984l-2.432 7.905a.75.75 0 0 0 .926.94 60.519 60.519 0 0 0 18.445-8.986.75.75 0 0 0 0-1.218A60.517 60.517 0 0 0 3.478 2.404Z"
2319
- }));
2320
- }
2321
- const vr = /* @__PURE__ */ j.forwardRef(gr), br = ({
2494
+ ke.displayName = "ChatMessage";
2495
+ const Cr = ({
2322
2496
  onSend: r,
2323
2497
  disabled: s = !1,
2324
- placeholder: a = "Ask a question about your resume or the job...",
2325
- maxLength: t = 2e3,
2498
+ placeholder: t = "Ask a question about your resume or the job...",
2499
+ maxLength: a = 2e3,
2326
2500
  className: l = ""
2327
2501
  }) => {
2328
- const [n, c] = V(""), o = Z(null);
2329
- U(() => {
2502
+ const [n, c] = V(""), o = G(null);
2503
+ I(() => {
2330
2504
  o.current && (o.current.style.height = "auto", o.current.style.height = `${o.current.scrollHeight}px`);
2331
2505
  }, [n]);
2332
2506
  const u = () => {
2333
2507
  n.trim() && !s && (r(n.trim()), c(""));
2334
2508
  }, d = (x) => {
2335
2509
  x.key === "Enter" && !x.shiftKey ? (x.preventDefault(), u()) : x.key === "Escape" && c("");
2336
- }, m = n.length > t, h = n.length > t * 0.9;
2510
+ }, m = n.length > a, h = n.length > a * 0.9;
2337
2511
  return /* @__PURE__ */ e.jsxs("div", { className: `border-t border-gray-200 bg-white p-4 ${l}`, children: [
2338
2512
  /* @__PURE__ */ e.jsxs("div", { className: "flex gap-2", children: [
2339
2513
  /* @__PURE__ */ e.jsx(
@@ -2343,7 +2517,7 @@ const vr = /* @__PURE__ */ j.forwardRef(gr), br = ({
2343
2517
  value: n,
2344
2518
  onChange: (x) => c(x.target.value),
2345
2519
  onKeyDown: d,
2346
- placeholder: a,
2520
+ placeholder: t,
2347
2521
  disabled: s,
2348
2522
  rows: 1,
2349
2523
  className: "flex-1 resize-none border border-gray-300 rounded-lg p-3 text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent disabled:opacity-50 disabled:cursor-not-allowed",
@@ -2367,17 +2541,17 @@ const vr = /* @__PURE__ */ j.forwardRef(gr), br = ({
2367
2541
  h && /* @__PURE__ */ e.jsxs("p", { className: `text-xs ${m ? "text-red-500" : "text-gray-500"}`, children: [
2368
2542
  n.length,
2369
2543
  "/",
2370
- t
2544
+ a
2371
2545
  ] })
2372
2546
  ] })
2373
2547
  ] });
2374
2548
  };
2375
- br.displayName = "ChatInput";
2376
- const ke = ({
2549
+ Cr.displayName = "ChatInput";
2550
+ const $e = ({
2377
2551
  message: r = "Thinking...",
2378
2552
  variant: s = "dots",
2379
- className: a = ""
2380
- }) => /* @__PURE__ */ e.jsxs("div", { className: `flex gap-3 ${a}`, children: [
2553
+ className: t = ""
2554
+ }) => /* @__PURE__ */ e.jsxs("div", { className: `flex gap-3 ${t}`, children: [
2381
2555
  /* @__PURE__ */ e.jsx("div", { className: "flex-shrink-0", children: /* @__PURE__ */ e.jsx("div", { className: "w-8 h-8 rounded-full bg-green-700 flex items-center justify-center text-white text-sm font-semibold", children: "AI" }) }),
2382
2556
  /* @__PURE__ */ e.jsx("div", { className: "flex-1", children: /* @__PURE__ */ e.jsxs("div", { className: "bg-gray-100 rounded-lg rounded-bl-none p-3 inline-flex items-center gap-2", children: [
2383
2557
  s === "dots" ? /* @__PURE__ */ e.jsxs("div", { className: "flex gap-1", children: [
@@ -2400,18 +2574,18 @@ const ke = ({
2400
2574
  /* @__PURE__ */ e.jsx("span", { className: "text-sm text-gray-600", children: r })
2401
2575
  ] }) })
2402
2576
  ] });
2403
- ke.displayName = "LoadingIndicator";
2404
- const pr = ({
2577
+ $e.displayName = "LoadingIndicator";
2578
+ const kr = ({
2405
2579
  messages: r,
2406
2580
  isLoading: s = !1,
2407
- loadingMessage: a = "Thinking...",
2408
- error: t = null,
2581
+ loadingMessage: t = "Thinking...",
2582
+ error: a = null,
2409
2583
  onRetry: l,
2410
2584
  className: n = "",
2411
2585
  emptyStateMessage: c = "Start a conversation"
2412
2586
  }) => {
2413
- const o = Z(null), u = Z(null);
2414
- return U(() => {
2587
+ const o = G(null), u = G(null);
2588
+ return I(() => {
2415
2589
  o.current?.scrollIntoView({ behavior: "smooth" });
2416
2590
  }, [r, s]), /* @__PURE__ */ e.jsxs(
2417
2591
  "div",
@@ -2425,7 +2599,7 @@ const pr = ({
2425
2599
  /* @__PURE__ */ e.jsx("p", { className: "text-gray-400 text-sm mt-2", children: "Ask me anything about your resume or the job requirements!" })
2426
2600
  ] }),
2427
2601
  r.map((d, m) => /* @__PURE__ */ e.jsx(
2428
- Ce,
2602
+ ke,
2429
2603
  {
2430
2604
  role: d.role,
2431
2605
  content: d.content,
@@ -2434,16 +2608,16 @@ const pr = ({
2434
2608
  m
2435
2609
  )),
2436
2610
  s && /* @__PURE__ */ e.jsx(
2437
- ke,
2611
+ $e,
2438
2612
  {
2439
- message: a,
2613
+ message: t,
2440
2614
  variant: "dots"
2441
2615
  }
2442
2616
  ),
2443
- t && /* @__PURE__ */ e.jsxs("div", { className: "flex gap-3", children: [
2617
+ a && /* @__PURE__ */ e.jsxs("div", { className: "flex gap-3", children: [
2444
2618
  /* @__PURE__ */ e.jsx("div", { className: "flex-shrink-0", children: /* @__PURE__ */ e.jsx("div", { className: "w-8 h-8 rounded-full bg-red-100 flex items-center justify-center", children: /* @__PURE__ */ e.jsx("span", { className: "text-red-600 text-sm font-semibold", children: "!" }) }) }),
2445
2619
  /* @__PURE__ */ e.jsx("div", { className: "flex-1", children: /* @__PURE__ */ e.jsxs("div", { className: "bg-red-50 border border-red-200 rounded-lg p-3", children: [
2446
- /* @__PURE__ */ e.jsx("p", { className: "text-sm text-red-800", children: t }),
2620
+ /* @__PURE__ */ e.jsx("p", { className: "text-sm text-red-800", children: a }),
2447
2621
  l && /* @__PURE__ */ e.jsx(
2448
2622
  "button",
2449
2623
  {
@@ -2459,19 +2633,19 @@ const pr = ({
2459
2633
  }
2460
2634
  );
2461
2635
  };
2462
- pr.displayName = "ChatContainer";
2463
- const jr = ({
2636
+ kr.displayName = "ChatContainer";
2637
+ const $r = ({
2464
2638
  resumeName: r,
2465
2639
  jobTitle: s,
2466
- companyName: a,
2467
- matchScore: t,
2640
+ companyName: t,
2641
+ matchScore: a,
2468
2642
  onChangeResume: l,
2469
2643
  onChangeJob: n,
2470
2644
  className: c = ""
2471
2645
  }) => /* @__PURE__ */ e.jsx("div", { className: `border-b border-gray-200 bg-gray-50 p-4 ${c}`, children: /* @__PURE__ */ e.jsxs("div", { className: "space-y-3", children: [
2472
2646
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-center justify-between gap-4", children: [
2473
2647
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 flex-1 min-w-0", children: [
2474
- /* @__PURE__ */ e.jsx(fr, { className: "w-5 h-5 text-gray-600 flex-shrink-0" }),
2648
+ /* @__PURE__ */ e.jsx(gr, { className: "w-5 h-5 text-gray-600 flex-shrink-0" }),
2475
2649
  /* @__PURE__ */ e.jsxs("div", { className: "min-w-0", children: [
2476
2650
  /* @__PURE__ */ e.jsx("p", { className: "text-xs text-gray-500 font-medium", children: "Resume" }),
2477
2651
  /* @__PURE__ */ e.jsx("p", { className: "text-sm font-medium text-gray-900 truncate", children: r })
@@ -2489,12 +2663,12 @@ const jr = ({
2489
2663
  ] }),
2490
2664
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-center justify-between gap-4", children: [
2491
2665
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 flex-1 min-w-0", children: [
2492
- /* @__PURE__ */ e.jsx(xr, { className: "w-5 h-5 text-gray-600 flex-shrink-0" }),
2666
+ /* @__PURE__ */ e.jsx(mr, { className: "w-5 h-5 text-gray-600 flex-shrink-0" }),
2493
2667
  /* @__PURE__ */ e.jsxs("div", { className: "min-w-0", children: [
2494
2668
  /* @__PURE__ */ e.jsx("p", { className: "text-xs text-gray-500 font-medium", children: "Job" }),
2495
2669
  /* @__PURE__ */ e.jsxs("div", { className: "truncate", children: [
2496
2670
  /* @__PURE__ */ e.jsx("p", { className: "text-sm font-medium text-gray-900 truncate", children: s }),
2497
- a && /* @__PURE__ */ e.jsx("p", { className: "text-xs text-gray-500 truncate", children: a })
2671
+ t && /* @__PURE__ */ e.jsx("p", { className: "text-xs text-gray-500 truncate", children: t })
2498
2672
  ] })
2499
2673
  ] })
2500
2674
  ] }),
@@ -2508,24 +2682,24 @@ const jr = ({
2508
2682
  }
2509
2683
  )
2510
2684
  ] }),
2511
- t !== void 0 && /* @__PURE__ */ e.jsxs("div", { className: "pt-2 border-t border-gray-200", children: [
2685
+ a !== void 0 && /* @__PURE__ */ e.jsxs("div", { className: "pt-2 border-t border-gray-200", children: [
2512
2686
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-center justify-between mb-2", children: [
2513
2687
  /* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium text-gray-700", children: "Match Score" }),
2514
2688
  /* @__PURE__ */ e.jsxs("p", { className: "text-sm font-semibold text-gray-900", children: [
2515
- t,
2689
+ a,
2516
2690
  "%"
2517
2691
  ] })
2518
2692
  ] }),
2519
2693
  /* @__PURE__ */ e.jsx("div", { className: "w-full bg-gray-200 rounded-full h-2 overflow-hidden", children: /* @__PURE__ */ e.jsx(
2520
2694
  "div",
2521
2695
  {
2522
- className: `h-full rounded-full transition-all duration-500 ${t >= 90 ? "bg-green-500" : t >= 75 ? "bg-blue-500" : t >= 60 ? "bg-yellow-500" : "bg-red-500"}`,
2523
- style: { width: `${t}%` }
2696
+ className: `h-full rounded-full transition-all duration-500 ${a >= 90 ? "bg-green-500" : a >= 75 ? "bg-blue-500" : a >= 60 ? "bg-yellow-500" : "bg-red-500"}`,
2697
+ style: { width: `${a}%` }
2524
2698
  }
2525
2699
  ) })
2526
2700
  ] })
2527
2701
  ] }) });
2528
- jr.displayName = "AnalysisSummaryBar";
2702
+ $r.displayName = "AnalysisSummaryBar";
2529
2703
  const re = {
2530
2704
  semantic: {
2531
2705
  none: "bg-error-50 border-error-200 text-error-700",
@@ -2542,7 +2716,7 @@ const re = {
2542
2716
  partial: "bg-surface border-warning-300 text-warning-700",
2543
2717
  full: "bg-surface border-success-300 text-success-700"
2544
2718
  }
2545
- }, yr = {
2719
+ }, Vr = {
2546
2720
  semantic: {
2547
2721
  required: "bg-error-600 text-white",
2548
2722
  preferred: "bg-reseda-green-600 text-white",
@@ -2558,12 +2732,12 @@ const re = {
2558
2732
  preferred: "bg-reseda-green-700 text-reseda-green-100",
2559
2733
  "nice-to-have": "bg-khaki-700 text-khaki-100"
2560
2734
  }
2561
- }, wr = ({
2735
+ }, Tr = ({
2562
2736
  skills: r,
2563
2737
  className: s = "",
2564
- colorPreset: a = "semantic"
2738
+ colorPreset: t = "semantic"
2565
2739
  }) => {
2566
- const t = (o) => !o.matched || o.match_level === "none" ? "✗" : o.match_level === "partial" ? "~" : "✓", l = (o) => !o.matched || o.match_level === "none" ? re[a].none : o.match_level === "partial" ? re[a].partial : re[a].full, n = (o) => yr[a][o], c = (o, u) => !u || u.length === 0 ? null : /* @__PURE__ */ e.jsxs("div", { className: "mb-4", children: [
2740
+ const a = (o) => !o.matched || o.match_level === "none" ? "✗" : o.match_level === "partial" ? "~" : "✓", l = (o) => !o.matched || o.match_level === "none" ? re[t].none : o.match_level === "partial" ? re[t].partial : re[t].full, n = (o) => Vr[t][o], c = (o, u) => !u || u.length === 0 ? null : /* @__PURE__ */ e.jsxs("div", { className: "mb-4", children: [
2567
2741
  /* @__PURE__ */ e.jsxs("p", { className: "text-xs font-semibold text-text-secondary mb-2", children: [
2568
2742
  o,
2569
2743
  ":"
@@ -2576,7 +2750,7 @@ const re = {
2576
2750
  )}`,
2577
2751
  children: [
2578
2752
  /* @__PURE__ */ e.jsxs("span", { className: "text-sm font-medium", children: [
2579
- t(d),
2753
+ a(d),
2580
2754
  " ",
2581
2755
  d.name
2582
2756
  ] }),
@@ -2599,12 +2773,12 @@ const re = {
2599
2773
  c("Soft Skills", r.soft || [])
2600
2774
  ] });
2601
2775
  };
2602
- wr.displayName = "SkillTags";
2603
- const Nr = ({
2776
+ Tr.displayName = "SkillTags";
2777
+ const Er = ({
2604
2778
  score: r,
2605
2779
  showLabel: s = !0,
2606
- size: a = "md",
2607
- className: t = ""
2780
+ size: t = "md",
2781
+ className: a = ""
2608
2782
  }) => {
2609
2783
  const l = Math.min(Math.max(r, 0), 100), n = (d) => d >= 90 ? "bg-green-500" : d >= 75 ? "bg-blue-500" : d >= 60 ? "bg-yellow-500" : "bg-red-500", c = (d) => d >= 90 ? "Excellent match!" : d >= 75 ? "Good match" : d >= 60 ? "Fair match" : "Poor match", o = {
2610
2784
  sm: "h-2",
@@ -2615,33 +2789,33 @@ const Nr = ({
2615
2789
  md: "text-sm",
2616
2790
  lg: "text-base"
2617
2791
  };
2618
- return /* @__PURE__ */ e.jsxs("div", { className: t, children: [
2792
+ return /* @__PURE__ */ e.jsxs("div", { className: a, children: [
2619
2793
  s && /* @__PURE__ */ e.jsxs("div", { className: "flex justify-between items-center mb-2", children: [
2620
- /* @__PURE__ */ e.jsx("p", { className: `font-medium text-gray-700 ${u[a]}`, children: "Match Score" }),
2621
- /* @__PURE__ */ e.jsxs("p", { className: `font-semibold ${u[a]} ${n(l).replace("bg-", "text-")}`, children: [
2794
+ /* @__PURE__ */ e.jsx("p", { className: `font-medium text-gray-700 ${u[t]}`, children: "Match Score" }),
2795
+ /* @__PURE__ */ e.jsxs("p", { className: `font-semibold ${u[t]} ${n(l).replace("bg-", "text-")}`, children: [
2622
2796
  l,
2623
2797
  "%"
2624
2798
  ] })
2625
2799
  ] }),
2626
- /* @__PURE__ */ e.jsx("div", { className: `w-full bg-gray-200 rounded-full overflow-hidden ${o[a]}`, children: /* @__PURE__ */ e.jsx(
2800
+ /* @__PURE__ */ e.jsx("div", { className: `w-full bg-gray-200 rounded-full overflow-hidden ${o[t]}`, children: /* @__PURE__ */ e.jsx(
2627
2801
  "div",
2628
2802
  {
2629
- className: `${n(l)} ${o[a]} rounded-full transition-all duration-500 ease-out`,
2803
+ className: `${n(l)} ${o[t]} rounded-full transition-all duration-500 ease-out`,
2630
2804
  style: { width: `${l}%` }
2631
2805
  }
2632
2806
  ) }),
2633
- s && /* @__PURE__ */ e.jsx("p", { className: `text-gray-600 mt-1 ${u[a]}`, children: c(l) })
2807
+ s && /* @__PURE__ */ e.jsx("p", { className: `text-gray-600 mt-1 ${u[t]}`, children: c(l) })
2634
2808
  ] });
2635
2809
  };
2636
- Nr.displayName = "MatchScoreBar";
2637
- const Cr = ({
2810
+ Er.displayName = "MatchScoreBar";
2811
+ const Rr = ({
2638
2812
  responsibilities: r,
2639
2813
  className: s = ""
2640
2814
  }) => {
2641
- const a = r.reduce(
2815
+ const t = r.reduce(
2642
2816
  (l, n) => (l[n.category] || (l[n.category] = []), l[n.category].push(n), l),
2643
2817
  {}
2644
- ), t = (l) => {
2818
+ ), a = (l) => {
2645
2819
  switch (l) {
2646
2820
  case "high":
2647
2821
  return "bg-red-100 text-red-800";
@@ -2651,7 +2825,7 @@ const Cr = ({
2651
2825
  return "bg-gray-100 text-gray-800";
2652
2826
  }
2653
2827
  };
2654
- return /* @__PURE__ */ e.jsx("div", { className: s, children: Object.entries(a).map(([l, n]) => /* @__PURE__ */ e.jsxs("div", { className: "mb-4", children: [
2828
+ return /* @__PURE__ */ e.jsx("div", { className: s, children: Object.entries(t).map(([l, n]) => /* @__PURE__ */ e.jsxs("div", { className: "mb-4", children: [
2655
2829
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 mb-2", children: [
2656
2830
  /* @__PURE__ */ e.jsx("h3", { className: "text-sm font-semibold text-gray-900", children: l }),
2657
2831
  n.some((c) => c.importance === "high") && /* @__PURE__ */ e.jsx("span", { className: "inline-block w-2 h-2 bg-red-600 rounded-full" }),
@@ -2664,7 +2838,7 @@ const Cr = ({
2664
2838
  c.importance !== "low" && /* @__PURE__ */ e.jsx(
2665
2839
  "span",
2666
2840
  {
2667
- className: `inline-block text-xs px-2 py-0.5 rounded mt-1 ${t(
2841
+ className: `inline-block text-xs px-2 py-0.5 rounded mt-1 ${a(
2668
2842
  c.importance
2669
2843
  )}`,
2670
2844
  children: c.importance === "high" ? "High Priority" : "Medium Priority"
@@ -2674,53 +2848,55 @@ const Cr = ({
2674
2848
  ] }, o)) })
2675
2849
  ] }, l)) });
2676
2850
  };
2677
- Cr.displayName = "ResponsibilitiesList";
2851
+ Rr.displayName = "ResponsibilitiesList";
2678
2852
  export {
2679
- Lr as Accordion,
2680
- Fr as ActionCard,
2681
- G as Alert,
2682
- jr as AnalysisSummaryBar,
2683
- er as Badge,
2684
- _ as Button,
2685
- Ur as Card,
2686
- pr as ChatContainer,
2687
- br as ChatInput,
2688
- Ce as ChatMessage,
2689
- Ir as CheckboxGroup,
2690
- Ye as ColorPalette,
2691
- _r as Demo,
2692
- Hr as DetailPanel,
2693
- Or as FileUpload,
2694
- Dr as FormField,
2695
- Ze as Input,
2696
- ke as LoadingIndicator,
2697
- Nr as MatchScoreBar,
2698
- qr as OptionCard,
2699
- Wr as PageHeader,
2700
- Pr as RadioGroup,
2701
- Cr as ResponsibilitiesList,
2702
- Yr as Section,
2703
- Je as Select,
2704
- Gr as Sidebar,
2705
- wr as SkillTags,
2706
- or as Slider,
2707
- nr as SocialButton,
2708
- cr as SortableItem,
2709
- zr as StatsGrid,
2710
- Xr as StatusBanner,
2711
- Zr as Stepper,
2712
- Jr as TabBar,
2713
- rr as TagInput,
2714
- lr as Textarea,
2715
- He as ThemeProvider,
2853
+ qr as Accordion,
2854
+ Gr as ActionCard,
2855
+ q as Alert,
2856
+ $r as AnalysisSummaryBar,
2857
+ rr as Badge,
2858
+ D as Button,
2859
+ Jr as Card,
2860
+ kr as ChatContainer,
2861
+ Cr as ChatInput,
2862
+ ke as ChatMessage,
2863
+ Hr as CheckboxGroup,
2864
+ He as ColorPalette,
2865
+ Fr as Demo,
2866
+ Qr as DetailPanel,
2867
+ Xr as Drawer,
2868
+ Yr as FileUpload,
2869
+ Ur as FormField,
2870
+ Je as Input,
2871
+ $e as LoadingIndicator,
2872
+ Er as MatchScoreBar,
2873
+ rs as OptionCard,
2874
+ es as PageHeader,
2875
+ Wr as RadioGroup,
2876
+ Rr as ResponsibilitiesList,
2877
+ Kr as Section,
2878
+ Xe as Select,
2879
+ ss as SelectableRadioOption,
2880
+ ts as Sidebar,
2881
+ Tr as SkillTags,
2882
+ dr as Slider,
2883
+ lr as SocialButton,
2884
+ jr as SortableItem,
2885
+ Zr as StatsGrid,
2886
+ ls as StatusBanner,
2887
+ as as Stepper,
2888
+ ns as TabBar,
2889
+ sr as TagInput,
2890
+ or as Textarea,
2891
+ We as ThemeProvider,
2716
2892
  qe as ThemeToggle,
2717
- Br as clearAllErrors,
2718
- Sr as clearFieldError,
2719
- Ar as getFirstError,
2720
- Pe as hasErrors,
2721
- Mr as useForm,
2722
- We as useTheme,
2723
- Ie as validateField,
2893
+ zr as clearAllErrors,
2894
+ Pr as clearFieldError,
2895
+ Ir as getFirstError,
2896
+ ze as hasErrors,
2897
+ Lr as useForm,
2898
+ Ze as useTheme,
2899
+ Pe as validateField,
2724
2900
  ee as validateForm,
2725
- Rr as validators
2901
+ Or as validators
2726
2902
  };