@burdenoff/microfe-subscriberbot 2026.624.1 → 2026.626.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/dist/subscriberbot/components/EmptyState.js +17 -10
  2. package/dist/subscriberbot/components/EmptyState.js.map +1 -1
  3. package/dist/subscriberbot/components/InvestmentCard.js +23 -22
  4. package/dist/subscriberbot/components/InvestmentCard.js.map +1 -1
  5. package/dist/subscriberbot/components/MetricsCard.js +15 -12
  6. package/dist/subscriberbot/components/MetricsCard.js.map +1 -1
  7. package/dist/subscriberbot/components/PageLayout.js +27 -15
  8. package/dist/subscriberbot/components/PageLayout.js.map +1 -1
  9. package/dist/subscriberbot/components/RatingDisplay.js +3 -3
  10. package/dist/subscriberbot/components/RatingDisplay.js.map +1 -1
  11. package/dist/subscriberbot/components/StatusBadge.js +25 -13
  12. package/dist/subscriberbot/components/StatusBadge.js.map +1 -1
  13. package/dist/subscriberbot/context/SubscriberBotContext.js.map +1 -1
  14. package/dist/subscriberbot/pages/HomePage.js +72 -63
  15. package/dist/subscriberbot/pages/HomePage.js.map +1 -1
  16. package/dist/subscriberbot/pages/admin/AdminAnalyticsPage.js +106 -100
  17. package/dist/subscriberbot/pages/admin/AdminAnalyticsPage.js.map +1 -1
  18. package/dist/subscriberbot/pages/admin/AdminDashboard.js +125 -85
  19. package/dist/subscriberbot/pages/admin/AdminDashboard.js.map +1 -1
  20. package/dist/subscriberbot/pages/admin/AdminFinancialPage.js +51 -45
  21. package/dist/subscriberbot/pages/admin/AdminFinancialPage.js.map +1 -1
  22. package/dist/subscriberbot/pages/admin/AdminOrdersPage.js +246 -241
  23. package/dist/subscriberbot/pages/admin/AdminOrdersPage.js.map +1 -1
  24. package/dist/subscriberbot/pages/admin/AdminProfilePage.js +131 -129
  25. package/dist/subscriberbot/pages/admin/AdminProfilePage.js.map +1 -1
  26. package/dist/subscriberbot/pages/admin/AdminSettingsPage.js +247 -242
  27. package/dist/subscriberbot/pages/admin/AdminSettingsPage.js.map +1 -1
  28. package/dist/subscriberbot/pages/admin/CartManagementPage.js +307 -302
  29. package/dist/subscriberbot/pages/admin/CartManagementPage.js.map +1 -1
  30. package/dist/subscriberbot/pages/admin/UserManagementPage.js +308 -303
  31. package/dist/subscriberbot/pages/admin/UserManagementPage.js.map +1 -1
  32. package/dist/subscriberbot/pages/cart-owner/AnalyticsDashboard.js +89 -84
  33. package/dist/subscriberbot/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  34. package/dist/subscriberbot/pages/cart-owner/BusinessSettingsPage.js +269 -264
  35. package/dist/subscriberbot/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  36. package/dist/subscriberbot/pages/cart-owner/CartOwnerDashboard.js +269 -227
  37. package/dist/subscriberbot/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  38. package/dist/subscriberbot/pages/cart-owner/CartOwnerProfilePage.js +191 -186
  39. package/dist/subscriberbot/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  40. package/dist/subscriberbot/pages/cart-owner/CartServiceConfigPage.js +168 -166
  41. package/dist/subscriberbot/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  42. package/dist/subscriberbot/pages/cart-owner/InventoryManagementPage.js +344 -347
  43. package/dist/subscriberbot/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  44. package/dist/subscriberbot/pages/cart-owner/OrderManagementPage.js +270 -272
  45. package/dist/subscriberbot/pages/cart-owner/OrderManagementPage.js.map +1 -1
  46. package/dist/subscriberbot/pages/cart-owner/StaffManagementPage.js +294 -289
  47. package/dist/subscriberbot/pages/cart-owner/StaffManagementPage.js.map +1 -1
  48. package/dist/subscriberbot/pages/common/HelpSupportPage.js +156 -158
  49. package/dist/subscriberbot/pages/common/HelpSupportPage.js.map +1 -1
  50. package/dist/subscriberbot/pages/common/NotificationCenterPage.js +94 -87
  51. package/dist/subscriberbot/pages/common/NotificationCenterPage.js.map +1 -1
  52. package/dist/subscriberbot/pages/common/SettingsPage.js +749 -740
  53. package/dist/subscriberbot/pages/common/SettingsPage.js.map +1 -1
  54. package/dist/subscriberbot/pages/customer/BookingDetailsPage.js +357 -324
  55. package/dist/subscriberbot/pages/customer/BookingDetailsPage.js.map +1 -1
  56. package/dist/subscriberbot/pages/customer/CartDetailPage.js +281 -247
  57. package/dist/subscriberbot/pages/customer/CartDetailPage.js.map +1 -1
  58. package/dist/subscriberbot/pages/customer/CartDiscoveryPage.js +106 -98
  59. package/dist/subscriberbot/pages/customer/CartDiscoveryPage.js.map +1 -1
  60. package/dist/subscriberbot/pages/customer/CheckoutPage.js +235 -238
  61. package/dist/subscriberbot/pages/customer/CheckoutPage.js.map +1 -1
  62. package/dist/subscriberbot/pages/customer/CustomerDashboard.js +426 -390
  63. package/dist/subscriberbot/pages/customer/CustomerDashboard.js.map +1 -1
  64. package/dist/subscriberbot/pages/customer/CustomerProfilePage.js +488 -479
  65. package/dist/subscriberbot/pages/customer/CustomerProfilePage.js.map +1 -1
  66. package/dist/subscriberbot/pages/customer/DirectServiceBookingPage.js +522 -512
  67. package/dist/subscriberbot/pages/customer/DirectServiceBookingPage.js.map +1 -1
  68. package/dist/subscriberbot/pages/customer/FavoritesPage.js +73 -66
  69. package/dist/subscriberbot/pages/customer/FavoritesPage.js.map +1 -1
  70. package/dist/subscriberbot/pages/customer/OrderHistoryPage.js +75 -67
  71. package/dist/subscriberbot/pages/customer/OrderHistoryPage.js.map +1 -1
  72. package/dist/subscriberbot/pages/customer/OrderTrackingPage.js +82 -76
  73. package/dist/subscriberbot/pages/customer/OrderTrackingPage.js.map +1 -1
  74. package/dist/subscriberbot/pages/customer/PaymentMethodsPage.js +100 -93
  75. package/dist/subscriberbot/pages/customer/PaymentMethodsPage.js.map +1 -1
  76. package/dist/subscriberbot/pages/customer/ReviewsPage.js +97 -90
  77. package/dist/subscriberbot/pages/customer/ReviewsPage.js.map +1 -1
  78. package/dist/subscriberbot/pages/customer/SavedAddressesPage.js +86 -79
  79. package/dist/subscriberbot/pages/customer/SavedAddressesPage.js.map +1 -1
  80. package/dist/subscriberbot/pages/investor/InvestmentDetailsPage.js +330 -293
  81. package/dist/subscriberbot/pages/investor/InvestmentDetailsPage.js.map +1 -1
  82. package/dist/subscriberbot/pages/investor/InvestmentOpportunitiesPage.js +269 -261
  83. package/dist/subscriberbot/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  84. package/dist/subscriberbot/pages/investor/InvestorAnalyticsPage.js +97 -91
  85. package/dist/subscriberbot/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  86. package/dist/subscriberbot/pages/investor/InvestorDashboard.js +354 -322
  87. package/dist/subscriberbot/pages/investor/InvestorDashboard.js.map +1 -1
  88. package/dist/subscriberbot/pages/investor/InvestorInvestmentsPage.js +118 -111
  89. package/dist/subscriberbot/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  90. package/dist/subscriberbot/pages/investor/InvestorPortfolioPage.js +75 -69
  91. package/dist/subscriberbot/pages/investor/InvestorPortfolioPage.js.map +1 -1
  92. package/dist/subscriberbot/pages/investor/InvestorProfilePage.js +435 -430
  93. package/dist/subscriberbot/pages/investor/InvestorProfilePage.js.map +1 -1
  94. package/dist/subscriberbot/pages/worker/TaskDetailsPage.js +328 -289
  95. package/dist/subscriberbot/pages/worker/TaskDetailsPage.js.map +1 -1
  96. package/dist/subscriberbot/pages/worker/WorkerDashboard.js +135 -103
  97. package/dist/subscriberbot/pages/worker/WorkerDashboard.js.map +1 -1
  98. package/dist/subscriberbot/pages/worker/WorkerOrdersPage.js +120 -114
  99. package/dist/subscriberbot/pages/worker/WorkerOrdersPage.js.map +1 -1
  100. package/dist/subscriberbot/pages/worker/WorkerProfilePage.js +125 -120
  101. package/dist/subscriberbot/pages/worker/WorkerProfilePage.js.map +1 -1
  102. package/dist/subscriberbot/pages/worker/WorkerSchedulePage.js +354 -344
  103. package/dist/subscriberbot/pages/worker/WorkerSchedulePage.js.map +1 -1
  104. package/package.json +3 -3
@@ -6,8 +6,9 @@ import { mockWorker as i } from "../../mocks/users.js";
6
6
  import { useState as a } from "react";
7
7
  import { Award as o, Bell as s, Briefcase as c, Camera as l, Clock as u, CreditCard as d, Loader2 as f, MapPin as p, Pencil as m, Save as h, Shield as g, User as _, X as v } from "lucide-react";
8
8
  import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
9
+ import { EmphasisPanel as S, PagePurpose as C } from "@burdenoff/fe-libs/ui";
9
10
  //#region src/subscriberbot/pages/worker/WorkerProfilePage.tsx
10
- var S = [
11
+ var w = [
11
12
  {
12
13
  id: "personal",
13
14
  label: "Personal Info",
@@ -38,8 +39,8 @@ var S = [
38
39
  label: "Notifications",
39
40
  icon: s
40
41
  }
41
- ], C = () => {
42
- let { navigateTo: s } = e(), [c, d] = a("personal"), [p, C] = a(!1), [w, T] = a(!1), [E, D] = a({
42
+ ], T = () => {
43
+ let { navigateTo: s } = e(), [c, d] = a("personal"), [p, T] = a(!1), [E, D] = a(!1), [O, k] = a({
43
44
  firstName: i.firstName || "Suresh",
44
45
  lastName: i.lastName || "Kumar",
45
46
  email: i.email || "suresh.worker@example.com",
@@ -66,7 +67,7 @@ var S = [
66
67
  ifscCode: "HDFC0001234",
67
68
  panNumber: "ABCDE****F",
68
69
  aadharNumber: "****5678"
69
- }), [O, k] = a([
70
+ }), [A, j] = a([
70
71
  {
71
72
  id: "orders",
72
73
  label: "New Order Assignments",
@@ -97,80 +98,84 @@ var S = [
97
98
  description: "Important updates from management",
98
99
  enabled: !0
99
100
  }
100
- ]), A = (e, t) => {
101
- D((n) => ({
101
+ ]), M = (e, t) => {
102
+ k((n) => ({
102
103
  ...n,
103
104
  [e]: t
104
105
  }));
105
- }, j = () => {
106
- T(!0), setTimeout(() => {
107
- T(!1), C(!1), alert("Profile updated successfully!");
106
+ }, N = () => {
107
+ D(!0), setTimeout(() => {
108
+ D(!1), T(!1), alert("Profile updated successfully!");
108
109
  }, 1e3);
109
- }, M = (e) => {
110
+ }, P = (e) => {
110
111
  let t = e.target.files?.[0];
111
112
  if (t) {
112
113
  let e = new FileReader();
113
114
  e.onloadend = () => {
114
- D((t) => ({
115
+ k((t) => ({
115
116
  ...t,
116
117
  profileImage: e.result
117
118
  }));
118
119
  }, e.readAsDataURL(t);
119
120
  }
120
- }, N = (e) => {
121
- p && k((t) => t.map((t) => t.id === e ? {
121
+ }, F = (e) => {
122
+ p && j((t) => t.map((t) => t.id === e ? {
122
123
  ...t,
123
124
  enabled: !t.enabled
124
125
  } : t));
125
126
  };
126
- return /* @__PURE__ */ b(n, {
127
+ return /* @__PURE__ */ x(n, {
127
128
  title: "My Profile",
128
129
  description: "Manage your profile information",
129
130
  actions: /* @__PURE__ */ b("div", {
130
131
  className: "flex items-center gap-2",
131
132
  children: p ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ x("button", {
132
133
  type: "button",
133
- onClick: () => C(!1),
134
+ onClick: () => T(!1),
134
135
  className: "inline-flex items-center gap-2 rounded-md bg-accent px-3 py-2 text-sm font-medium text-text-primary hover:bg-accent/80 transition-colors",
135
136
  children: [/* @__PURE__ */ b(v, { className: "h-4 w-4" }), "Cancel"]
136
137
  }), /* @__PURE__ */ b("button", {
137
138
  type: "button",
138
- onClick: j,
139
- disabled: w,
140
- className: "inline-flex items-center gap-2 rounded-md bg-blue-500/10 px-3 py-2 text-sm font-medium text-blue-600 dark:text-blue-400 hover:bg-blue-500/20 transition-colors disabled:opacity-50",
141
- children: w ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(f, { className: "h-4 w-4 animate-spin" }), "Saving..."] }) : /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(h, { className: "h-4 w-4" }), "Save Changes"] })
139
+ onClick: N,
140
+ disabled: E,
141
+ className: "inline-flex items-center gap-2 rounded-md bg-status-info-bg/10 px-3 py-2 text-sm font-medium text-status-info-text hover:bg-status-info-bg/20 transition-colors disabled:opacity-50",
142
+ children: E ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(f, { className: "h-4 w-4 animate-spin" }), "Saving..."] }) : /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(h, { className: "h-4 w-4" }), "Save Changes"] })
142
143
  })] }) : /* @__PURE__ */ x("button", {
143
144
  type: "button",
144
- onClick: () => C(!0),
145
+ onClick: () => T(!0),
145
146
  className: "inline-flex items-center gap-2 rounded-md bg-accent px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent/80 transition-colors",
146
147
  children: [/* @__PURE__ */ b(m, { className: "h-4 w-4" }), "Edit Profile"]
147
148
  })
148
149
  }),
149
- children: /* @__PURE__ */ x("div", {
150
+ children: [/* @__PURE__ */ b(C, {
151
+ icon: /* @__PURE__ */ b(_, { className: "h-4 w-4" }),
152
+ className: "mb-6",
153
+ children: "Your worker profile — personal details, designation and the info your cart owner relies on to assign you work. Keep your contact details, availability and skills up to date so you get matched to the right shifts and orders. A complete, accurate profile means fewer mix-ups and more earning opportunities."
154
+ }), /* @__PURE__ */ x("div", {
150
155
  className: "grid lg:grid-cols-4 gap-6 max-w-6xl",
151
156
  children: [/* @__PURE__ */ x("div", {
152
157
  className: "lg:col-span-1 space-y-4",
153
- children: [/* @__PURE__ */ x("div", {
154
- className: "rounded-lg border border-border-subtle bg-bg-surface p-5 shadow-sm text-center",
158
+ children: [/* @__PURE__ */ x(S, {
159
+ className: "p-5 text-center",
155
160
  children: [
156
161
  /* @__PURE__ */ x("div", {
157
162
  className: "relative inline-block",
158
163
  children: [/* @__PURE__ */ b("div", {
159
164
  className: "h-20 w-20 rounded-full bg-bg-sunken overflow-hidden mx-auto",
160
- children: E.profileImage ? /* @__PURE__ */ b("img", {
161
- src: E.profileImage,
162
- alt: `${E.firstName} ${E.lastName}`,
165
+ children: O.profileImage ? /* @__PURE__ */ b("img", {
166
+ src: O.profileImage,
167
+ alt: `${O.firstName} ${O.lastName}`,
163
168
  className: "h-full w-full object-cover"
164
169
  }) : /* @__PURE__ */ b("div", {
165
170
  className: "flex h-full w-full items-center justify-center text-text-secondary",
166
171
  children: /* @__PURE__ */ b(_, { className: "h-10 w-10" })
167
172
  })
168
173
  }), p && /* @__PURE__ */ x("label", {
169
- className: "absolute bottom-0 right-0 flex h-7 w-7 items-center justify-center rounded-full bg-blue-500/20 text-blue-600 dark:text-blue-400 cursor-pointer hover:bg-blue-500/30 transition-colors",
174
+ className: "absolute bottom-0 right-0 flex h-7 w-7 items-center justify-center rounded-full bg-status-info-bg/20 text-status-info-text cursor-pointer hover:bg-status-info-bg/30 transition-colors",
170
175
  children: [/* @__PURE__ */ b(l, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ b("input", {
171
176
  type: "file",
172
177
  accept: "image/*",
173
- onChange: M,
178
+ onChange: P,
174
179
  className: "hidden"
175
180
  })]
176
181
  })]
@@ -178,28 +183,28 @@ var S = [
178
183
  /* @__PURE__ */ x("h3", {
179
184
  className: "mt-3 text-sm font-semibold text-text-primary",
180
185
  children: [
181
- E.firstName,
186
+ O.firstName,
182
187
  " ",
183
- E.lastName
188
+ O.lastName
184
189
  ]
185
190
  }),
186
191
  /* @__PURE__ */ b("p", {
187
192
  className: "text-xs text-text-secondary",
188
- children: E.designation
193
+ children: O.designation
189
194
  }),
190
195
  /* @__PURE__ */ b("p", {
191
196
  className: "text-[10px] text-text-secondary mt-0.5",
192
- children: E.employeeId
197
+ children: O.employeeId
193
198
  })
194
199
  ]
195
200
  }), /* @__PURE__ */ b("div", {
196
201
  className: "space-y-1",
197
- children: S.map((e) => {
202
+ children: w.map((e) => {
198
203
  let n = e.icon;
199
204
  return /* @__PURE__ */ x("button", {
200
205
  type: "button",
201
206
  onClick: () => d(e.id),
202
- className: t("w-full flex items-center gap-3 rounded-lg px-3 py-2.5 text-sm font-medium transition-colors", c === e.id ? "bg-blue-500/10 text-blue-600 dark:text-blue-400" : "bg-bg-surface text-text-primary hover:bg-bg-sunken"),
207
+ className: t("w-full flex items-center gap-3 rounded-lg px-3 py-2.5 text-sm font-medium transition-colors", c === e.id ? "bg-status-info-bg/10 text-status-info-text" : "bg-bg-surface text-text-primary hover:bg-bg-sunken"),
203
208
  children: [/* @__PURE__ */ b(n, { className: "h-4 w-4" }), e.label]
204
209
  }, e.id);
205
210
  })
@@ -207,7 +212,7 @@ var S = [
207
212
  }), /* @__PURE__ */ b("div", {
208
213
  className: "lg:col-span-3",
209
214
  children: /* @__PURE__ */ x("div", {
210
- className: "rounded-lg border border-border-subtle bg-bg-surface p-6 shadow-sm",
215
+ className: "rounded-lg border border-border-seam bg-bg-surface p-6 shadow-sm",
211
216
  children: [
212
217
  c === "personal" && /* @__PURE__ */ x("div", { children: [
213
218
  /* @__PURE__ */ b("h2", {
@@ -222,50 +227,50 @@ var S = [
222
227
  children: "First Name"
223
228
  }), /* @__PURE__ */ b("input", {
224
229
  type: "text",
225
- value: E.firstName,
226
- onChange: (e) => A("firstName", e.target.value),
230
+ value: O.firstName,
231
+ onChange: (e) => M("firstName", e.target.value),
227
232
  disabled: !p,
228
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-blue-500/40"
233
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-status-info-border/40"
229
234
  })] }),
230
235
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
231
236
  className: "block text-xs font-medium text-text-secondary mb-1",
232
237
  children: "Last Name"
233
238
  }), /* @__PURE__ */ b("input", {
234
239
  type: "text",
235
- value: E.lastName,
236
- onChange: (e) => A("lastName", e.target.value),
240
+ value: O.lastName,
241
+ onChange: (e) => M("lastName", e.target.value),
237
242
  disabled: !p,
238
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-blue-500/40"
243
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-status-info-border/40"
239
244
  })] }),
240
245
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
241
246
  className: "block text-xs font-medium text-text-secondary mb-1",
242
247
  children: "Email Address"
243
248
  }), /* @__PURE__ */ b("input", {
244
249
  type: "email",
245
- value: E.email,
246
- onChange: (e) => A("email", e.target.value),
250
+ value: O.email,
251
+ onChange: (e) => M("email", e.target.value),
247
252
  disabled: !p,
248
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-blue-500/40"
253
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-status-info-border/40"
249
254
  })] }),
250
255
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
251
256
  className: "block text-xs font-medium text-text-secondary mb-1",
252
257
  children: "Phone Number"
253
258
  }), /* @__PURE__ */ b("input", {
254
259
  type: "text",
255
- value: E.phone,
256
- onChange: (e) => A("phone", e.target.value),
260
+ value: O.phone,
261
+ onChange: (e) => M("phone", e.target.value),
257
262
  disabled: !p,
258
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-blue-500/40"
263
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-status-info-border/40"
259
264
  })] }),
260
265
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
261
266
  className: "block text-xs font-medium text-text-secondary mb-1",
262
267
  children: "Date of Birth"
263
268
  }), /* @__PURE__ */ b("input", {
264
269
  type: "date",
265
- value: E.dateOfBirth,
266
- onChange: (e) => A("dateOfBirth", e.target.value),
270
+ value: O.dateOfBirth,
271
+ onChange: (e) => M("dateOfBirth", e.target.value),
267
272
  disabled: !p,
268
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-blue-500/40"
273
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-status-info-border/40"
269
274
  })] })
270
275
  ]
271
276
  }),
@@ -282,30 +287,30 @@ var S = [
282
287
  children: "Contact Name"
283
288
  }), /* @__PURE__ */ b("input", {
284
289
  type: "text",
285
- value: E.emergencyContactName,
286
- onChange: (e) => A("emergencyContactName", e.target.value),
290
+ value: O.emergencyContactName,
291
+ onChange: (e) => M("emergencyContactName", e.target.value),
287
292
  disabled: !p,
288
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-blue-500/40"
293
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-status-info-border/40"
289
294
  })] }),
290
295
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
291
296
  className: "block text-xs font-medium text-text-secondary mb-1",
292
297
  children: "Contact Phone"
293
298
  }), /* @__PURE__ */ b("input", {
294
299
  type: "text",
295
- value: E.emergencyContactPhone,
296
- onChange: (e) => A("emergencyContactPhone", e.target.value),
300
+ value: O.emergencyContactPhone,
301
+ onChange: (e) => M("emergencyContactPhone", e.target.value),
297
302
  disabled: !p,
298
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-blue-500/40"
303
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-status-info-border/40"
299
304
  })] }),
300
305
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
301
306
  className: "block text-xs font-medium text-text-secondary mb-1",
302
307
  children: "Relationship"
303
308
  }), /* @__PURE__ */ b("input", {
304
309
  type: "text",
305
- value: E.emergencyContactRelation,
306
- onChange: (e) => A("emergencyContactRelation", e.target.value),
310
+ value: O.emergencyContactRelation,
311
+ onChange: (e) => M("emergencyContactRelation", e.target.value),
307
312
  disabled: !p,
308
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-blue-500/40"
313
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-status-info-border/40"
309
314
  })] })
310
315
  ]
311
316
  })]
@@ -324,54 +329,54 @@ var S = [
324
329
  children: "Employee ID"
325
330
  }), /* @__PURE__ */ b("input", {
326
331
  type: "text",
327
- value: E.employeeId,
332
+ value: O.employeeId,
328
333
  disabled: !0,
329
- className: "w-full rounded-md border border-border-subtle bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
334
+ className: "w-full rounded-md border border-border-seam bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
330
335
  })] }),
331
336
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
332
337
  className: "block text-xs font-medium text-text-secondary mb-1",
333
338
  children: "Designation"
334
339
  }), /* @__PURE__ */ b("input", {
335
340
  type: "text",
336
- value: E.designation,
341
+ value: O.designation,
337
342
  disabled: !0,
338
- className: "w-full rounded-md border border-border-subtle bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
343
+ className: "w-full rounded-md border border-border-seam bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
339
344
  })] }),
340
345
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
341
346
  className: "block text-xs font-medium text-text-secondary mb-1",
342
347
  children: "Department"
343
348
  }), /* @__PURE__ */ b("input", {
344
349
  type: "text",
345
- value: E.department,
350
+ value: O.department,
346
351
  disabled: !0,
347
- className: "w-full rounded-md border border-border-subtle bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
352
+ className: "w-full rounded-md border border-border-seam bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
348
353
  })] }),
349
354
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
350
355
  className: "block text-xs font-medium text-text-secondary mb-1",
351
356
  children: "Work Location"
352
357
  }), /* @__PURE__ */ b("input", {
353
358
  type: "text",
354
- value: E.workLocation,
359
+ value: O.workLocation,
355
360
  disabled: !0,
356
- className: "w-full rounded-md border border-border-subtle bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
361
+ className: "w-full rounded-md border border-border-seam bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
357
362
  })] }),
358
363
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
359
364
  className: "block text-xs font-medium text-text-secondary mb-1",
360
365
  children: "Joining Date"
361
366
  }), /* @__PURE__ */ b("input", {
362
367
  type: "date",
363
- value: E.joiningDate,
368
+ value: O.joiningDate,
364
369
  disabled: !0,
365
- className: "w-full rounded-md border border-border-subtle bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
370
+ className: "w-full rounded-md border border-border-seam bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
366
371
  })] }),
367
372
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
368
373
  className: "block text-xs font-medium text-text-secondary mb-1",
369
374
  children: "Employment Type"
370
375
  }), /* @__PURE__ */ b("input", {
371
376
  type: "text",
372
- value: E.employmentType,
377
+ value: O.employmentType,
373
378
  disabled: !0,
374
- className: "w-full rounded-md border border-border-subtle bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
379
+ className: "w-full rounded-md border border-border-seam bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
375
380
  })] })
376
381
  ]
377
382
  }),
@@ -381,7 +386,7 @@ var S = [
381
386
  /* @__PURE__ */ x("div", {
382
387
  className: "rounded-lg bg-bg-sunken/50 p-4 text-center",
383
388
  children: [/* @__PURE__ */ b("p", {
384
- className: "text-2xl font-bold text-blue-600 dark:text-blue-400",
389
+ className: "text-2xl font-bold text-status-info-text",
385
390
  children: r.totalDeliveries
386
391
  }), /* @__PURE__ */ b("p", {
387
392
  className: "text-xs text-text-secondary",
@@ -391,7 +396,7 @@ var S = [
391
396
  /* @__PURE__ */ x("div", {
392
397
  className: "rounded-lg bg-bg-sunken/50 p-4 text-center",
393
398
  children: [/* @__PURE__ */ b("p", {
394
- className: "text-2xl font-bold text-green-600 dark:text-green-400",
399
+ className: "text-2xl font-bold text-status-success-text",
395
400
  children: r.averageRating
396
401
  }), /* @__PURE__ */ b("p", {
397
402
  className: "text-xs text-text-secondary",
@@ -401,7 +406,7 @@ var S = [
401
406
  /* @__PURE__ */ x("div", {
402
407
  className: "rounded-lg bg-bg-sunken/50 p-4 text-center",
403
408
  children: [/* @__PURE__ */ x("p", {
404
- className: "text-2xl font-bold text-blue-600 dark:text-blue-400",
409
+ className: "text-2xl font-bold text-status-info-text",
405
410
  children: [r.completionRate, "%"]
406
411
  }), /* @__PURE__ */ b("p", {
407
412
  className: "text-xs text-text-secondary",
@@ -429,10 +434,10 @@ var S = [
429
434
  children: "Address Line"
430
435
  }), /* @__PURE__ */ b("textarea", {
431
436
  rows: 2,
432
- value: E.currentAddress,
433
- onChange: (e) => A("currentAddress", e.target.value),
437
+ value: O.currentAddress,
438
+ onChange: (e) => M("currentAddress", e.target.value),
434
439
  disabled: !p,
435
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-blue-500/40 resize-none"
440
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-status-info-border/40 resize-none"
436
441
  })]
437
442
  }),
438
443
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
@@ -440,30 +445,30 @@ var S = [
440
445
  children: "City"
441
446
  }), /* @__PURE__ */ b("input", {
442
447
  type: "text",
443
- value: E.city,
444
- onChange: (e) => A("city", e.target.value),
448
+ value: O.city,
449
+ onChange: (e) => M("city", e.target.value),
445
450
  disabled: !p,
446
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-blue-500/40"
451
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-status-info-border/40"
447
452
  })] }),
448
453
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
449
454
  className: "block text-xs font-medium text-text-secondary mb-1",
450
455
  children: "State"
451
456
  }), /* @__PURE__ */ b("input", {
452
457
  type: "text",
453
- value: E.state,
454
- onChange: (e) => A("state", e.target.value),
458
+ value: O.state,
459
+ onChange: (e) => M("state", e.target.value),
455
460
  disabled: !p,
456
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-blue-500/40"
461
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-status-info-border/40"
457
462
  })] }),
458
463
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
459
464
  className: "block text-xs font-medium text-text-secondary mb-1",
460
465
  children: "Pincode"
461
466
  }), /* @__PURE__ */ b("input", {
462
467
  type: "text",
463
- value: E.pincode,
464
- onChange: (e) => A("pincode", e.target.value),
468
+ value: O.pincode,
469
+ onChange: (e) => M("pincode", e.target.value),
465
470
  disabled: !p,
466
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-blue-500/40"
471
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-status-info-border/40"
467
472
  })] })
468
473
  ]
469
474
  })] }), /* @__PURE__ */ x("div", { children: [
@@ -475,24 +480,24 @@ var S = [
475
480
  className: "flex items-center gap-2 mb-3 cursor-pointer",
476
481
  children: [/* @__PURE__ */ b("input", {
477
482
  type: "checkbox",
478
- checked: E.sameAsCurrent,
479
- onChange: (e) => A("sameAsCurrent", e.target.checked),
483
+ checked: O.sameAsCurrent,
484
+ onChange: (e) => M("sameAsCurrent", e.target.checked),
480
485
  disabled: !p,
481
- className: "h-4 w-4 rounded border-border-subtle text-blue-600 focus:ring-blue-500/40"
486
+ className: "h-4 w-4 rounded border-border-seam text-status-info-text focus:ring-status-info-border/40"
482
487
  }), /* @__PURE__ */ b("span", {
483
488
  className: "text-xs text-text-primary",
484
489
  children: "Same as current address"
485
490
  })]
486
491
  }),
487
- !E.sameAsCurrent && /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
492
+ !O.sameAsCurrent && /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
488
493
  className: "block text-xs font-medium text-text-secondary mb-1",
489
494
  children: "Address Line"
490
495
  }), /* @__PURE__ */ b("textarea", {
491
496
  rows: 2,
492
- value: E.permanentAddress,
493
- onChange: (e) => A("permanentAddress", e.target.value),
497
+ value: O.permanentAddress,
498
+ onChange: (e) => M("permanentAddress", e.target.value),
494
499
  disabled: !p,
495
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-blue-500/40 resize-none"
500
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-status-info-border/40 resize-none"
496
501
  })] })
497
502
  ] })]
498
503
  })] }),
@@ -502,9 +507,9 @@ var S = [
502
507
  children: "Documents & Banking"
503
508
  }),
504
509
  /* @__PURE__ */ b("div", {
505
- className: "rounded-lg bg-yellow-500/10 border border-yellow-500/20 p-3 mb-5",
510
+ className: "rounded-lg bg-status-warning-bg/10 border border-status-warning-border/20 p-3 mb-5",
506
511
  children: /* @__PURE__ */ x("p", {
507
- className: "text-xs text-yellow-600 dark:text-yellow-400 flex items-center gap-2",
512
+ className: "text-xs text-status-warning-text flex items-center gap-2",
508
513
  children: [/* @__PURE__ */ b(g, { className: "h-4 w-4 shrink-0" }), "Your documents and banking information are encrypted and secure."]
509
514
  })
510
515
  }),
@@ -516,47 +521,47 @@ var S = [
516
521
  children: "PAN Number"
517
522
  }), /* @__PURE__ */ b("input", {
518
523
  type: "text",
519
- value: E.panNumber,
524
+ value: O.panNumber,
520
525
  disabled: !0,
521
- className: "w-full rounded-md border border-border-subtle bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
526
+ className: "w-full rounded-md border border-border-seam bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
522
527
  })] }),
523
528
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
524
529
  className: "block text-xs font-medium text-text-secondary mb-1",
525
530
  children: "Aadhar Number"
526
531
  }), /* @__PURE__ */ b("input", {
527
532
  type: "text",
528
- value: E.aadharNumber,
533
+ value: O.aadharNumber,
529
534
  disabled: !0,
530
- className: "w-full rounded-md border border-border-subtle bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
535
+ className: "w-full rounded-md border border-border-seam bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
531
536
  })] }),
532
537
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
533
538
  className: "block text-xs font-medium text-text-secondary mb-1",
534
539
  children: "Bank Name"
535
540
  }), /* @__PURE__ */ b("input", {
536
541
  type: "text",
537
- value: E.bankName,
538
- onChange: (e) => A("bankName", e.target.value),
542
+ value: O.bankName,
543
+ onChange: (e) => M("bankName", e.target.value),
539
544
  disabled: !p,
540
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-blue-500/40"
545
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-status-info-border/40"
541
546
  })] }),
542
547
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
543
548
  className: "block text-xs font-medium text-text-secondary mb-1",
544
549
  children: "Account Number"
545
550
  }), /* @__PURE__ */ b("input", {
546
551
  type: "text",
547
- value: E.accountNumber,
552
+ value: O.accountNumber,
548
553
  disabled: !0,
549
- className: "w-full rounded-md border border-border-subtle bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
554
+ className: "w-full rounded-md border border-border-seam bg-bg-sunken px-3 py-2 text-sm text-text-primary cursor-not-allowed"
550
555
  })] }),
551
556
  /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
552
557
  className: "block text-xs font-medium text-text-secondary mb-1",
553
558
  children: "IFSC Code"
554
559
  }), /* @__PURE__ */ b("input", {
555
560
  type: "text",
556
- value: E.ifscCode,
557
- onChange: (e) => A("ifscCode", e.target.value),
561
+ value: O.ifscCode,
562
+ onChange: (e) => M("ifscCode", e.target.value),
558
563
  disabled: !p,
559
- className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-blue-500/40"
564
+ className: "w-full rounded-md border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-status-info-border/40"
560
565
  })] })
561
566
  ]
562
567
  })
@@ -569,9 +574,9 @@ var S = [
569
574
  /* @__PURE__ */ x("div", {
570
575
  className: "grid sm:grid-cols-2 gap-4 mb-7",
571
576
  children: [/* @__PURE__ */ x("div", {
572
- className: "rounded-lg bg-yellow-500/5 border border-yellow-500/20 p-5 text-center",
577
+ className: "rounded-lg bg-status-warning-bg/5 border border-status-warning-border/20 p-5 text-center",
573
578
  children: [
574
- /* @__PURE__ */ b(o, { className: "h-10 w-10 text-yellow-600 dark:text-yellow-400 mx-auto mb-2" }),
579
+ /* @__PURE__ */ b(o, { className: "h-10 w-10 text-status-warning-text mx-auto mb-2" }),
575
580
  /* @__PURE__ */ b("h3", {
576
581
  className: "text-sm font-semibold text-text-primary",
577
582
  children: "Employee of the Month"
@@ -582,9 +587,9 @@ var S = [
582
587
  })
583
588
  ]
584
589
  }), /* @__PURE__ */ x("div", {
585
- className: "rounded-lg bg-blue-500/5 border border-blue-500/20 p-5 text-center",
590
+ className: "rounded-lg bg-status-info-bg/5 border border-status-info-border/20 p-5 text-center",
586
591
  children: [
587
- /* @__PURE__ */ b(u, { className: "h-10 w-10 text-blue-600 dark:text-blue-400 mx-auto mb-2" }),
592
+ /* @__PURE__ */ b(u, { className: "h-10 w-10 text-status-info-text mx-auto mb-2" }),
588
593
  /* @__PURE__ */ b("h3", {
589
594
  className: "text-sm font-semibold text-text-primary",
590
595
  children: "Perfect Attendance"
@@ -614,7 +619,7 @@ var S = [
614
619
  }), /* @__PURE__ */ b("div", {
615
620
  className: "w-full h-2 rounded-full bg-bg-sunken overflow-hidden",
616
621
  children: /* @__PURE__ */ b("div", {
617
- className: "h-full rounded-full bg-green-500 transition-all",
622
+ className: "h-full rounded-full bg-status-success-text transition-all",
618
623
  style: { width: "98%" }
619
624
  })
620
625
  })] }),
@@ -630,7 +635,7 @@ var S = [
630
635
  }), /* @__PURE__ */ b("div", {
631
636
  className: "w-full h-2 rounded-full bg-bg-sunken overflow-hidden",
632
637
  children: /* @__PURE__ */ b("div", {
633
- className: "h-full rounded-full bg-blue-500 transition-all",
638
+ className: "h-full rounded-full bg-status-info-text transition-all",
634
639
  style: { width: "95%" }
635
640
  })
636
641
  })] }),
@@ -646,7 +651,7 @@ var S = [
646
651
  }), /* @__PURE__ */ b("div", {
647
652
  className: "w-full h-2 rounded-full bg-bg-sunken overflow-hidden",
648
653
  children: /* @__PURE__ */ b("div", {
649
- className: "h-full rounded-full bg-purple-500 transition-all",
654
+ className: "h-full rounded-full bg-accent-purple transition-all",
650
655
  style: { width: "92%" }
651
656
  })
652
657
  })] })
@@ -658,7 +663,7 @@ var S = [
658
663
  children: "Notification Preferences"
659
664
  }), /* @__PURE__ */ b("div", {
660
665
  className: "space-y-4",
661
- children: O.map((e) => /* @__PURE__ */ x("div", {
666
+ children: A.map((e) => /* @__PURE__ */ x("div", {
662
667
  className: "flex items-center justify-between p-4 rounded-lg bg-bg-sunken/50",
663
668
  children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("h4", {
664
669
  className: "text-sm font-medium text-text-primary",
@@ -668,20 +673,20 @@ var S = [
668
673
  children: e.description
669
674
  })] }), /* @__PURE__ */ b("button", {
670
675
  type: "button",
671
- onClick: () => N(e.id),
676
+ onClick: () => F(e.id),
672
677
  disabled: !p,
673
- className: t("relative inline-flex h-6 w-11 items-center rounded-full transition-colors", e.enabled ? "bg-blue-500" : "bg-muted-foreground/30", !p && "opacity-60 cursor-not-allowed"),
674
- children: /* @__PURE__ */ b("span", { className: t("inline-block h-4 w-4 rounded-full bg-white transition-transform", e.enabled ? "translate-x-6" : "translate-x-1") })
678
+ className: t("relative inline-flex h-6 w-11 items-center rounded-full transition-colors", e.enabled ? "bg-status-info-text" : "bg-muted-foreground/30", !p && "opacity-60 cursor-not-allowed"),
679
+ children: /* @__PURE__ */ b("span", { className: t("inline-block h-4 w-4 rounded-full bg-bg-surface transition-transform", e.enabled ? "translate-x-6" : "translate-x-1") })
675
680
  })]
676
681
  }, e.id))
677
682
  })] })
678
683
  ]
679
684
  })
680
685
  })]
681
- })
686
+ })]
682
687
  });
683
688
  };
684
689
  //#endregion
685
- export { C as WorkerProfilePage };
690
+ export { T as WorkerProfilePage };
686
691
 
687
692
  //# sourceMappingURL=WorkerProfilePage.js.map