@burdenoff/microfe-atheletebridge 2026.624.1 → 2026.625.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 (43) hide show
  1. package/dist/atheletebridge/components/EmptyState.js +18 -11
  2. package/dist/atheletebridge/components/EmptyState.js.map +1 -1
  3. package/dist/atheletebridge/components/InvestmentCard.js +7 -7
  4. package/dist/atheletebridge/components/InvestmentCard.js.map +1 -1
  5. package/dist/atheletebridge/components/MetricsCard.js +20 -14
  6. package/dist/atheletebridge/components/MetricsCard.js.map +1 -1
  7. package/dist/atheletebridge/components/PageLayout.js +30 -19
  8. package/dist/atheletebridge/components/PageLayout.js.map +1 -1
  9. package/dist/atheletebridge/pages/HomePage.js +218 -207
  10. package/dist/atheletebridge/pages/HomePage.js.map +1 -1
  11. package/dist/atheletebridge/pages/common/NotificationCenterPage.js +1 -0
  12. package/dist/atheletebridge/pages/common/NotificationCenterPage.js.map +1 -1
  13. package/dist/atheletebridge/pages/customer/BookingDetailsPage.js +1 -0
  14. package/dist/atheletebridge/pages/customer/BookingDetailsPage.js.map +1 -1
  15. package/dist/atheletebridge/pages/customer/CartDetailPage.js +1 -0
  16. package/dist/atheletebridge/pages/customer/CartDetailPage.js.map +1 -1
  17. package/dist/atheletebridge/pages/customer/CartDiscoveryPage.js +1 -0
  18. package/dist/atheletebridge/pages/customer/CartDiscoveryPage.js.map +1 -1
  19. package/dist/atheletebridge/pages/customer/DirectServiceBookingPage.js +1 -0
  20. package/dist/atheletebridge/pages/customer/DirectServiceBookingPage.js.map +1 -1
  21. package/dist/atheletebridge/pages/customer/FavoritesPage.js +1 -0
  22. package/dist/atheletebridge/pages/customer/FavoritesPage.js.map +1 -1
  23. package/dist/atheletebridge/pages/customer/OrderHistoryPage.js +1 -0
  24. package/dist/atheletebridge/pages/customer/OrderHistoryPage.js.map +1 -1
  25. package/dist/atheletebridge/pages/customer/OrderTrackingPage.js +1 -0
  26. package/dist/atheletebridge/pages/customer/OrderTrackingPage.js.map +1 -1
  27. package/dist/atheletebridge/pages/customer/PaymentMethodsPage.js +1 -0
  28. package/dist/atheletebridge/pages/customer/PaymentMethodsPage.js.map +1 -1
  29. package/dist/atheletebridge/pages/customer/ReviewsPage.js +1 -0
  30. package/dist/atheletebridge/pages/customer/ReviewsPage.js.map +1 -1
  31. package/dist/atheletebridge/pages/customer/SavedAddressesPage.js +1 -0
  32. package/dist/atheletebridge/pages/customer/SavedAddressesPage.js.map +1 -1
  33. package/dist/atheletebridge/pages/investor/InvestmentOpportunitiesPage.js +1 -0
  34. package/dist/atheletebridge/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  35. package/dist/atheletebridge/pages/investor/InvestorInvestmentsPage.js +1 -0
  36. package/dist/atheletebridge/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  37. package/dist/atheletebridge/pages/worker/TaskDetailsPage.js +1 -0
  38. package/dist/atheletebridge/pages/worker/TaskDetailsPage.js.map +1 -1
  39. package/dist/atheletebridge/pages/worker/WorkerOrdersPage.js +1 -0
  40. package/dist/atheletebridge/pages/worker/WorkerOrdersPage.js.map +1 -1
  41. package/dist/atheletebridge/pages/worker/WorkerSchedulePage.js +2 -0
  42. package/dist/atheletebridge/pages/worker/WorkerSchedulePage.js.map +1 -1
  43. package/package.json +3 -3
@@ -9,35 +9,36 @@ import { formatCurrency as s, formatDistance as c, formatRelativeTime as l } fro
9
9
  import { useCallback as u, useMemo as d, useState as f } from "react";
10
10
  import { useI18n as p } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
11
11
  import { Activity as m, AlertCircle as h, ArrowRight as g, BadgeCheck as _, BarChart3 as v, CheckCircle2 as y, ChefHat as b, ClipboardList as x, Clock as S, FileText as C, GraduationCap as w, HandCoins as T, Heart as E, Home as D, IndianRupee as O, LayoutDashboard as k, Loader2 as A, MapPin as j, Package as M, Scissors as N, Search as P, Settings as F, Shirt as I, ShoppingBag as L, ShoppingCart as R, Sparkles as z, Star as B, Store as V, TrendingUp as H, Truck as U, Users as W, Wallet as G, Wrench as K } from "lucide-react";
12
- import { jsx as q, jsxs as J } from "react/jsx-runtime";
12
+ import { Fragment as q, jsx as J, jsxs as Y } from "react/jsx-runtime";
13
+ import { EmphasisPanel as X, GradientText as Z, ShowMore as Q } from "@burdenoff/fe-libs/ui";
13
14
  //#region src/atheletebridge/pages/HomePage.tsx
14
- var Y = {
15
+ var $ = {
15
16
  customer: [
16
17
  {
17
18
  label: "Discover Services",
18
19
  description: "Browse carts near you",
19
- icon: /* @__PURE__ */ q(P, { className: "h-5 w-5" }),
20
+ icon: /* @__PURE__ */ J(P, { className: "h-5 w-5" }),
20
21
  path: "/customer/carts",
21
22
  color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
22
23
  },
23
24
  {
24
25
  label: "My Orders",
25
26
  description: "Track your orders",
26
- icon: /* @__PURE__ */ q(L, { className: "h-5 w-5" }),
27
+ icon: /* @__PURE__ */ J(L, { className: "h-5 w-5" }),
27
28
  path: "/customer/orders",
28
29
  color: "bg-green-500/10 text-green-600 dark:text-green-400"
29
30
  },
30
31
  {
31
32
  label: "Favorites",
32
33
  description: "Your saved carts",
33
- icon: /* @__PURE__ */ q(E, { className: "h-5 w-5" }),
34
+ icon: /* @__PURE__ */ J(E, { className: "h-5 w-5" }),
34
35
  path: "/customer/favorites",
35
36
  color: "bg-pink-500/10 text-pink-600 dark:text-pink-400"
36
37
  },
37
38
  {
38
39
  label: "Settings",
39
40
  description: "Manage preferences",
40
- icon: /* @__PURE__ */ q(F, { className: "h-5 w-5" }),
41
+ icon: /* @__PURE__ */ J(F, { className: "h-5 w-5" }),
41
42
  path: "/settings",
42
43
  color: "bg-bg-sunken text-text-secondary"
43
44
  }
@@ -46,28 +47,28 @@ var Y = {
46
47
  {
47
48
  label: "My Cart",
48
49
  description: "Manage your cart",
49
- icon: /* @__PURE__ */ q(V, { className: "h-5 w-5" }),
50
+ icon: /* @__PURE__ */ J(V, { className: "h-5 w-5" }),
50
51
  path: "/owner/dashboard",
51
52
  color: "bg-purple-500/10 text-purple-600 dark:text-purple-400"
52
53
  },
53
54
  {
54
55
  label: "Orders",
55
56
  description: "Incoming orders",
56
- icon: /* @__PURE__ */ q(L, { className: "h-5 w-5" }),
57
+ icon: /* @__PURE__ */ J(L, { className: "h-5 w-5" }),
57
58
  path: "/owner/orders",
58
59
  color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
59
60
  },
60
61
  {
61
62
  label: "Analytics",
62
63
  description: "Revenue & insights",
63
- icon: /* @__PURE__ */ q(v, { className: "h-5 w-5" }),
64
+ icon: /* @__PURE__ */ J(v, { className: "h-5 w-5" }),
64
65
  path: "/owner/analytics",
65
66
  color: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
66
67
  },
67
68
  {
68
69
  label: "Staff",
69
70
  description: "Manage workers",
70
- icon: /* @__PURE__ */ q(W, { className: "h-5 w-5" }),
71
+ icon: /* @__PURE__ */ J(W, { className: "h-5 w-5" }),
71
72
  path: "/owner/staff",
72
73
  color: "bg-orange-500/10 text-orange-600 dark:text-orange-400"
73
74
  }
@@ -76,28 +77,28 @@ var Y = {
76
77
  {
77
78
  label: "My Tasks",
78
79
  description: "View assigned tasks",
79
- icon: /* @__PURE__ */ q(x, { className: "h-5 w-5" }),
80
+ icon: /* @__PURE__ */ J(x, { className: "h-5 w-5" }),
80
81
  path: "/worker/dashboard",
81
82
  color: "bg-orange-500/10 text-orange-600 dark:text-orange-400"
82
83
  },
83
84
  {
84
85
  label: "Schedule",
85
86
  description: "View shifts",
86
- icon: /* @__PURE__ */ q(S, { className: "h-5 w-5" }),
87
+ icon: /* @__PURE__ */ J(S, { className: "h-5 w-5" }),
87
88
  path: "/worker/schedule",
88
89
  color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
89
90
  },
90
91
  {
91
92
  label: "Earnings",
92
93
  description: "Track pay",
93
- icon: /* @__PURE__ */ q(G, { className: "h-5 w-5" }),
94
+ icon: /* @__PURE__ */ J(G, { className: "h-5 w-5" }),
94
95
  path: "/worker/earnings",
95
96
  color: "bg-green-500/10 text-green-600 dark:text-green-400"
96
97
  },
97
98
  {
98
99
  label: "Performance",
99
100
  description: "Ratings & stats",
100
- icon: /* @__PURE__ */ q(B, { className: "h-5 w-5" }),
101
+ icon: /* @__PURE__ */ J(B, { className: "h-5 w-5" }),
101
102
  path: "/worker/performance",
102
103
  color: "bg-yellow-500/10 text-yellow-600 dark:text-yellow-400"
103
104
  }
@@ -106,28 +107,28 @@ var Y = {
106
107
  {
107
108
  label: "Portfolio",
108
109
  description: "Your investments",
109
- icon: /* @__PURE__ */ q(H, { className: "h-5 w-5" }),
110
+ icon: /* @__PURE__ */ J(H, { className: "h-5 w-5" }),
110
111
  path: "/investor/dashboard",
111
112
  color: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
112
113
  },
113
114
  {
114
115
  label: "Opportunities",
115
116
  description: "New investments",
116
- icon: /* @__PURE__ */ q(T, { className: "h-5 w-5" }),
117
+ icon: /* @__PURE__ */ J(T, { className: "h-5 w-5" }),
117
118
  path: "/investor/opportunities",
118
119
  color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
119
120
  },
120
121
  {
121
122
  label: "Returns",
122
123
  description: "Earnings history",
123
- icon: /* @__PURE__ */ q(O, { className: "h-5 w-5" }),
124
+ icon: /* @__PURE__ */ J(O, { className: "h-5 w-5" }),
124
125
  path: "/investor/returns",
125
126
  color: "bg-green-500/10 text-green-600 dark:text-green-400"
126
127
  },
127
128
  {
128
129
  label: "Reports",
129
130
  description: "Performance reports",
130
- icon: /* @__PURE__ */ q(C, { className: "h-5 w-5" }),
131
+ icon: /* @__PURE__ */ J(C, { className: "h-5 w-5" }),
131
132
  path: "/investor/reports",
132
133
  color: "bg-purple-500/10 text-purple-600 dark:text-purple-400"
133
134
  }
@@ -136,59 +137,59 @@ var Y = {
136
137
  {
137
138
  label: "Dashboard",
138
139
  description: "Platform overview",
139
- icon: /* @__PURE__ */ q(k, { className: "h-5 w-5" }),
140
+ icon: /* @__PURE__ */ J(k, { className: "h-5 w-5" }),
140
141
  path: "/admin/dashboard",
141
142
  color: "bg-red-500/10 text-red-600 dark:text-red-400"
142
143
  },
143
144
  {
144
145
  label: "Users",
145
146
  description: "Manage accounts",
146
- icon: /* @__PURE__ */ q(W, { className: "h-5 w-5" }),
147
+ icon: /* @__PURE__ */ J(W, { className: "h-5 w-5" }),
147
148
  path: "/admin/users",
148
149
  color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
149
150
  },
150
151
  {
151
152
  label: "Carts",
152
153
  description: "Approve & manage",
153
- icon: /* @__PURE__ */ q(V, { className: "h-5 w-5" }),
154
+ icon: /* @__PURE__ */ J(V, { className: "h-5 w-5" }),
154
155
  path: "/admin/carts",
155
156
  color: "bg-purple-500/10 text-purple-600 dark:text-purple-400"
156
157
  },
157
158
  {
158
159
  label: "Analytics",
159
160
  description: "Revenue reports",
160
- icon: /* @__PURE__ */ q(v, { className: "h-5 w-5" }),
161
+ icon: /* @__PURE__ */ J(v, { className: "h-5 w-5" }),
161
162
  path: "/admin/analytics",
162
163
  color: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
163
164
  }
164
165
  ]
165
166
  };
166
- function X(e, t, n) {
167
+ function ee(e, t, n) {
167
168
  switch (e) {
168
169
  case "customer": return [
169
170
  {
170
- icon: /* @__PURE__ */ q(L, { className: "h-5 w-5" }),
171
+ icon: /* @__PURE__ */ J(L, { className: "h-5 w-5" }),
171
172
  value: t.length.toString(),
172
173
  label: "Total Orders",
173
174
  trend: "up",
174
175
  trendValue: "+2 this week"
175
176
  },
176
177
  {
177
- icon: /* @__PURE__ */ q(V, { className: "h-5 w-5" }),
178
+ icon: /* @__PURE__ */ J(V, { className: "h-5 w-5" }),
178
179
  value: (n?.activeProviders ?? 0).toString(),
179
180
  label: "Nearby Providers",
180
181
  trend: "up",
181
182
  trendValue: "+3"
182
183
  },
183
184
  {
184
- icon: /* @__PURE__ */ q(B, { className: "h-5 w-5" }),
185
+ icon: /* @__PURE__ */ J(B, { className: "h-5 w-5" }),
185
186
  value: (n?.avgRating ?? 0).toFixed(1),
186
187
  label: "Avg. Rating",
187
188
  trend: "up",
188
189
  trendValue: "+0.1"
189
190
  },
190
191
  {
191
- icon: /* @__PURE__ */ q(O, { className: "h-5 w-5" }),
192
+ icon: /* @__PURE__ */ J(O, { className: "h-5 w-5" }),
192
193
  value: s(t.reduce((e, t) => e + t.total, 0), { minimumFractionDigits: 0 }),
193
194
  label: "Total Spent",
194
195
  trend: "neutral",
@@ -197,28 +198,28 @@ function X(e, t, n) {
197
198
  ];
198
199
  case "cart_owner": return [
199
200
  {
200
- icon: /* @__PURE__ */ q(L, { className: "h-5 w-5" }),
201
+ icon: /* @__PURE__ */ J(L, { className: "h-5 w-5" }),
201
202
  value: "48",
202
203
  label: "Orders Today",
203
204
  trend: "up",
204
205
  trendValue: "+12%"
205
206
  },
206
207
  {
207
- icon: /* @__PURE__ */ q(O, { className: "h-5 w-5" }),
208
+ icon: /* @__PURE__ */ J(O, { className: "h-5 w-5" }),
208
209
  value: s(12850, { minimumFractionDigits: 0 }),
209
210
  label: "Today's Revenue",
210
211
  trend: "up",
211
212
  trendValue: "+8%"
212
213
  },
213
214
  {
214
- icon: /* @__PURE__ */ q(B, { className: "h-5 w-5" }),
215
+ icon: /* @__PURE__ */ J(B, { className: "h-5 w-5" }),
215
216
  value: "4.6",
216
217
  label: "Cart Rating",
217
218
  trend: "up",
218
219
  trendValue: "+0.2"
219
220
  },
220
221
  {
221
- icon: /* @__PURE__ */ q(W, { className: "h-5 w-5" }),
222
+ icon: /* @__PURE__ */ J(W, { className: "h-5 w-5" }),
222
223
  value: "5",
223
224
  label: "Active Staff",
224
225
  trend: "neutral",
@@ -227,28 +228,28 @@ function X(e, t, n) {
227
228
  ];
228
229
  case "worker": return [
229
230
  {
230
- icon: /* @__PURE__ */ q(x, { className: "h-5 w-5" }),
231
+ icon: /* @__PURE__ */ J(x, { className: "h-5 w-5" }),
231
232
  value: "5",
232
233
  label: "Tasks Today",
233
234
  trend: "up",
234
235
  trendValue: "+2"
235
236
  },
236
237
  {
237
- icon: /* @__PURE__ */ q(O, { className: "h-5 w-5" }),
238
+ icon: /* @__PURE__ */ J(O, { className: "h-5 w-5" }),
238
239
  value: s(425, { minimumFractionDigits: 0 }),
239
240
  label: "Today's Earnings",
240
241
  trend: "up",
241
242
  trendValue: "+15%"
242
243
  },
243
244
  {
244
- icon: /* @__PURE__ */ q(B, { className: "h-5 w-5" }),
245
+ icon: /* @__PURE__ */ J(B, { className: "h-5 w-5" }),
245
246
  value: "4.7",
246
247
  label: "Rating",
247
248
  trend: "up",
248
249
  trendValue: "+0.1"
249
250
  },
250
251
  {
251
- icon: /* @__PURE__ */ q(y, { className: "h-5 w-5" }),
252
+ icon: /* @__PURE__ */ J(y, { className: "h-5 w-5" }),
252
253
  value: "96.8%",
253
254
  label: "Completion Rate",
254
255
  trend: "up",
@@ -257,28 +258,28 @@ function X(e, t, n) {
257
258
  ];
258
259
  case "investor": return [
259
260
  {
260
- icon: /* @__PURE__ */ q(H, { className: "h-5 w-5" }),
261
+ icon: /* @__PURE__ */ J(H, { className: "h-5 w-5" }),
261
262
  value: "3",
262
263
  label: "Active Investments",
263
264
  trend: "up",
264
265
  trendValue: "+1"
265
266
  },
266
267
  {
267
- icon: /* @__PURE__ */ q(O, { className: "h-5 w-5" }),
268
+ icon: /* @__PURE__ */ J(O, { className: "h-5 w-5" }),
268
269
  value: s(45e4, { minimumFractionDigits: 0 }),
269
270
  label: "Total Invested",
270
271
  trend: "up",
271
272
  trendValue: ""
272
273
  },
273
274
  {
274
- icon: /* @__PURE__ */ q(T, { className: "h-5 w-5" }),
275
+ icon: /* @__PURE__ */ J(T, { className: "h-5 w-5" }),
275
276
  value: "16.5%",
276
277
  label: "Avg. Returns",
277
278
  trend: "up",
278
279
  trendValue: "+2.1%"
279
280
  },
280
281
  {
281
- icon: /* @__PURE__ */ q(v, { className: "h-5 w-5" }),
282
+ icon: /* @__PURE__ */ J(v, { className: "h-5 w-5" }),
282
283
  value: s(74250, { minimumFractionDigits: 0 }),
283
284
  label: "Total Returns",
284
285
  trend: "up",
@@ -287,28 +288,28 @@ function X(e, t, n) {
287
288
  ];
288
289
  default: return [
289
290
  {
290
- icon: /* @__PURE__ */ q(W, { className: "h-5 w-5" }),
291
+ icon: /* @__PURE__ */ J(W, { className: "h-5 w-5" }),
291
292
  value: (n?.activeCustomers ?? 0).toLocaleString("en-IN"),
292
293
  label: "Active Customers",
293
294
  trend: "up",
294
295
  trendValue: "+50"
295
296
  },
296
297
  {
297
- icon: /* @__PURE__ */ q(V, { className: "h-5 w-5" }),
298
+ icon: /* @__PURE__ */ J(V, { className: "h-5 w-5" }),
298
299
  value: (n?.activeProviders ?? 0).toString(),
299
300
  label: "Service Providers",
300
301
  trend: "up",
301
302
  trendValue: "+3"
302
303
  },
303
304
  {
304
- icon: /* @__PURE__ */ q(L, { className: "h-5 w-5" }),
305
+ icon: /* @__PURE__ */ J(L, { className: "h-5 w-5" }),
305
306
  value: (n?.totalOrders ?? 0).toLocaleString("en-IN"),
306
307
  label: "Total Orders",
307
308
  trend: "up",
308
309
  trendValue: "+12%"
309
310
  },
310
311
  {
311
- icon: /* @__PURE__ */ q(O, { className: "h-5 w-5" }),
312
+ icon: /* @__PURE__ */ J(O, { className: "h-5 w-5" }),
312
313
  value: s(n?.totalRevenue ?? 0, { minimumFractionDigits: 0 }),
313
314
  label: "Total Revenue",
314
315
  trend: "up",
@@ -317,78 +318,78 @@ function X(e, t, n) {
317
318
  ];
318
319
  }
319
320
  }
320
- var Z = [
321
+ var te = [
321
322
  {
322
323
  label: "Food & Beverage",
323
- icon: /* @__PURE__ */ q(b, { className: "h-6 w-6" }),
324
+ icon: /* @__PURE__ */ J(b, { className: "h-6 w-6" }),
324
325
  color: "bg-orange-500/10 text-orange-600 dark:text-orange-400"
325
326
  },
326
327
  {
327
328
  label: "Personal Care & Beauty",
328
- icon: /* @__PURE__ */ q(N, { className: "h-6 w-6" }),
329
+ icon: /* @__PURE__ */ J(N, { className: "h-6 w-6" }),
329
330
  color: "bg-pink-500/10 text-pink-600 dark:text-pink-400"
330
331
  },
331
332
  {
332
333
  label: "Repair & Maintenance",
333
- icon: /* @__PURE__ */ q(K, { className: "h-6 w-6" }),
334
+ icon: /* @__PURE__ */ J(K, { className: "h-6 w-6" }),
334
335
  color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
335
336
  },
336
337
  {
337
338
  label: "Home Services",
338
- icon: /* @__PURE__ */ q(D, { className: "h-6 w-6" }),
339
+ icon: /* @__PURE__ */ J(D, { className: "h-6 w-6" }),
339
340
  color: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
340
341
  },
341
342
  {
342
343
  label: "Clothing & Fashion",
343
- icon: /* @__PURE__ */ q(I, { className: "h-6 w-6" }),
344
+ icon: /* @__PURE__ */ J(I, { className: "h-6 w-6" }),
344
345
  color: "bg-purple-500/10 text-purple-600 dark:text-purple-400"
345
346
  },
346
347
  {
347
348
  label: "Health & Wellness",
348
- icon: /* @__PURE__ */ q(E, { className: "h-6 w-6" }),
349
+ icon: /* @__PURE__ */ J(E, { className: "h-6 w-6" }),
349
350
  color: "bg-red-500/10 text-red-600 dark:text-red-400"
350
351
  },
351
352
  {
352
353
  label: "Education & Skills",
353
- icon: /* @__PURE__ */ q(w, { className: "h-6 w-6" }),
354
+ icon: /* @__PURE__ */ J(w, { className: "h-6 w-6" }),
354
355
  color: "bg-yellow-500/10 text-yellow-600 dark:text-yellow-400"
355
356
  },
356
357
  {
357
358
  label: "Retail & Merchandise",
358
- icon: /* @__PURE__ */ q(M, { className: "h-6 w-6" }),
359
+ icon: /* @__PURE__ */ J(M, { className: "h-6 w-6" }),
359
360
  color: "bg-indigo-500/10 text-indigo-600 dark:text-indigo-400"
360
361
  },
361
362
  {
362
363
  label: "Grocery & Essentials",
363
- icon: /* @__PURE__ */ q(R, { className: "h-6 w-6" }),
364
+ icon: /* @__PURE__ */ J(R, { className: "h-6 w-6" }),
364
365
  color: "bg-green-500/10 text-green-600 dark:text-green-400"
365
366
  }
366
- ], Q = [
367
+ ], ne = [
367
368
  {
368
369
  step: 1,
369
370
  title: "Browse Services",
370
371
  description: "Discover local service providers and carts near you.",
371
- icon: /* @__PURE__ */ q(P, { className: "h-6 w-6" })
372
+ icon: /* @__PURE__ */ J(P, { className: "h-6 w-6" })
372
373
  },
373
374
  {
374
375
  step: 2,
375
376
  title: "Place an Order",
376
377
  description: "Select items or services and place your order seamlessly.",
377
- icon: /* @__PURE__ */ q(L, { className: "h-6 w-6" })
378
+ icon: /* @__PURE__ */ J(L, { className: "h-6 w-6" })
378
379
  },
379
380
  {
380
381
  step: 3,
381
382
  title: "Track in Real-time",
382
383
  description: "Get live updates on your order from confirmation to delivery.",
383
- icon: /* @__PURE__ */ q(U, { className: "h-6 w-6" })
384
+ icon: /* @__PURE__ */ J(U, { className: "h-6 w-6" })
384
385
  },
385
386
  {
386
387
  step: 4,
387
388
  title: "Rate & Review",
388
389
  description: "Share your experience and help others find great services.",
389
- icon: /* @__PURE__ */ q(B, { className: "h-6 w-6" })
390
+ icon: /* @__PURE__ */ J(B, { className: "h-6 w-6" })
390
391
  }
391
- ], $ = [
392
+ ], re = [
392
393
  {
393
394
  id: "ha-1",
394
395
  description: "New order placed at Dosa Express",
@@ -419,29 +420,29 @@ var Z = [
419
420
  time: "5 hours ago",
420
421
  type: "order"
421
422
  }
422
- ], ee = [
423
+ ], ie = [
423
424
  {
424
425
  label: "Service Providers",
425
426
  value: "21+",
426
- icon: /* @__PURE__ */ q(V, { className: "h-5 w-5" })
427
+ icon: /* @__PURE__ */ J(V, { className: "h-5 w-5" })
427
428
  },
428
429
  {
429
430
  label: "Categories",
430
431
  value: "9",
431
- icon: /* @__PURE__ */ q(M, { className: "h-5 w-5" })
432
+ icon: /* @__PURE__ */ J(M, { className: "h-5 w-5" })
432
433
  },
433
434
  {
434
435
  label: "Happy Customers",
435
436
  value: "534+",
436
- icon: /* @__PURE__ */ q(W, { className: "h-5 w-5" })
437
+ icon: /* @__PURE__ */ J(W, { className: "h-5 w-5" })
437
438
  },
438
439
  {
439
440
  label: "Orders Completed",
440
441
  value: "1,247+",
441
- icon: /* @__PURE__ */ q(y, { className: "h-5 w-5" })
442
+ icon: /* @__PURE__ */ J(y, { className: "h-5 w-5" })
442
443
  }
443
444
  ];
444
- function te() {
445
+ function ae() {
445
446
  let { navigateTo: v, currentUser: y } = e(), { t: b } = p(), [x, C] = f(""), { providers: w, orders: T, dashboardStats: E } = o(), D = u((e, t) => {
446
447
  let n = b(e);
447
448
  return n === e ? t : n;
@@ -457,7 +458,7 @@ function te() {
457
458
  worker: D("atheletebridge.home.greeting.worker", "Check your tasks and earnings"),
458
459
  investor: D("atheletebridge.home.greeting.investor", "Track your investments and returns"),
459
460
  admin: D("atheletebridge.home.greeting.admin", "Monitor and manage the platform")
460
- }, I = Y[M] ?? Y.customer, L = X(M, T.data ?? [], E.data), R = d(() => {
461
+ }, I = $[M] ?? $.customer, L = ee(M, T.data ?? [], E.data), R = d(() => {
461
462
  let e = (w.data ?? []).filter((e) => e.isOpen);
462
463
  if (x) {
463
464
  let t = x.toLowerCase();
@@ -470,73 +471,79 @@ function te() {
470
471
  investment: "text-green-600 dark:text-green-400",
471
472
  cart: "text-purple-600 dark:text-purple-400"
472
473
  }, U = (T.data ?? []).length === 0 && !T.isLoading, W = w.isLoading || T.isLoading || E.isLoading, G = w.isError || T.isError || E.isError;
473
- return W ? /* @__PURE__ */ q(n, {
474
+ return W ? /* @__PURE__ */ J(n, {
474
475
  title: D("atheletebridge.common.loading", "Loading..."),
475
- children: /* @__PURE__ */ q("div", {
476
+ children: /* @__PURE__ */ J("div", {
476
477
  className: "flex h-[60vh] items-center justify-center",
477
- children: /* @__PURE__ */ q(A, { className: "h-8 w-8 animate-spin text-primary" })
478
+ children: /* @__PURE__ */ J(A, { className: "h-8 w-8 animate-spin text-primary" })
478
479
  })
479
- }) : G ? /* @__PURE__ */ q(n, {
480
+ }) : G ? /* @__PURE__ */ J(n, {
480
481
  title: D("atheletebridge.common.error", "Error"),
481
- children: /* @__PURE__ */ J("div", {
482
+ children: /* @__PURE__ */ Y("div", {
482
483
  className: "flex h-[60vh] flex-col items-center justify-center gap-4",
483
484
  children: [
484
- /* @__PURE__ */ q(h, { className: "h-12 w-12 text-status-error-text" }),
485
- /* @__PURE__ */ q("h2", {
485
+ /* @__PURE__ */ J(h, { className: "h-12 w-12 text-status-error-text" }),
486
+ /* @__PURE__ */ J("h2", {
486
487
  className: "text-xl font-semibold",
487
488
  children: D("atheletebridge.common.errorLoading", "Error loading data")
488
489
  }),
489
- /* @__PURE__ */ q("p", {
490
+ /* @__PURE__ */ J("p", {
490
491
  className: "text-text-secondary",
491
492
  children: D("atheletebridge.common.tryAgain", "Please try again later.")
492
493
  })
493
494
  ]
494
495
  })
495
- }) : /* @__PURE__ */ J(n, {
496
- title: `${D("atheletebridge.home.hello", "Hello")}, ${k}!`,
496
+ }) : /* @__PURE__ */ Y(n, {
497
+ hero: !0,
498
+ title: /* @__PURE__ */ Y(q, { children: [
499
+ D("atheletebridge.home.hello", "Hello"),
500
+ ", ",
501
+ /* @__PURE__ */ J(Z, { children: k }),
502
+ "!"
503
+ ] }),
497
504
  description: F[M],
498
505
  children: [
499
- U && /* @__PURE__ */ q("section", {
506
+ U && /* @__PURE__ */ J("section", {
500
507
  className: "mb-6 rounded-xl border border-border-subtle bg-gradient-to-r from-primary/5 via-primary/10 to-primary/5 p-6",
501
- children: /* @__PURE__ */ J("div", {
508
+ children: /* @__PURE__ */ Y("div", {
502
509
  className: "flex items-start gap-4",
503
- children: [/* @__PURE__ */ q("div", {
510
+ children: [/* @__PURE__ */ J("div", {
504
511
  className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-action-primary-bg/10",
505
- children: /* @__PURE__ */ q(z, { className: "h-6 w-6 text-primary" })
506
- }), /* @__PURE__ */ J("div", {
512
+ children: /* @__PURE__ */ J(z, { className: "h-6 w-6 text-primary" })
513
+ }), /* @__PURE__ */ Y("div", {
507
514
  className: "flex-1",
508
515
  children: [
509
- /* @__PURE__ */ q("h2", {
516
+ /* @__PURE__ */ J("h2", {
510
517
  className: "text-lg font-semibold text-text-primary",
511
518
  children: D("atheletebridge.home.welcomeTitle", "Welcome to AthleteBridge!")
512
519
  }),
513
- /* @__PURE__ */ q("p", {
520
+ /* @__PURE__ */ J("p", {
514
521
  className: "mt-1 text-sm text-text-secondary",
515
522
  children: D("atheletebridge.home.welcomeDescription", "Your local services marketplace. Start by exploring service providers near you or browse categories to find what you need.")
516
523
  }),
517
- /* @__PURE__ */ J("button", {
524
+ /* @__PURE__ */ Y("button", {
518
525
  type: "button",
519
526
  onClick: () => v("/customer/carts"),
520
527
  className: "mt-3 inline-flex items-center gap-1.5 rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
521
- children: [/* @__PURE__ */ q(P, { className: "h-4 w-4" }), D("atheletebridge.home.exploreServices", "Explore Services")]
528
+ children: [/* @__PURE__ */ J(P, { className: "h-4 w-4" }), D("atheletebridge.home.exploreServices", "Explore Services")]
522
529
  })
523
530
  ]
524
531
  })]
525
532
  })
526
533
  }),
527
- /* @__PURE__ */ q("section", {
528
- className: "mb-6 rounded-xl border border-border-subtle bg-bg-surface p-6",
529
- children: /* @__PURE__ */ J("div", {
534
+ /* @__PURE__ */ J(X, {
535
+ className: "mb-6",
536
+ children: /* @__PURE__ */ Y("div", {
530
537
  className: "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",
531
- children: [/* @__PURE__ */ J("div", { children: [
532
- /* @__PURE__ */ q("div", {
538
+ children: [/* @__PURE__ */ Y("div", { children: [
539
+ /* @__PURE__ */ J("div", {
533
540
  className: "flex items-center gap-2 mb-1",
534
- children: /* @__PURE__ */ J("span", {
541
+ children: /* @__PURE__ */ Y("span", {
535
542
  className: "inline-flex items-center rounded-full bg-action-primary-bg/10 px-2.5 py-0.5 text-xs font-medium text-primary",
536
- children: [/* @__PURE__ */ q(_, { className: "mr-1 h-3 w-3" }), N[M]]
543
+ children: [/* @__PURE__ */ J(_, { className: "mr-1 h-3 w-3" }), N[M]]
537
544
  })
538
545
  }),
539
- /* @__PURE__ */ J("h2", {
546
+ /* @__PURE__ */ Y("h2", {
540
547
  className: "text-xl font-bold text-text-primary",
541
548
  children: [
542
549
  D("atheletebridge.home.good", "Good"),
@@ -546,13 +553,13 @@ function te() {
546
553
  k
547
554
  ]
548
555
  }),
549
- /* @__PURE__ */ q("p", {
556
+ /* @__PURE__ */ J("p", {
550
557
  className: "mt-1 text-sm text-text-secondary",
551
558
  children: F[M]
552
559
  })
553
- ] }), /* @__PURE__ */ J("div", {
560
+ ] }), /* @__PURE__ */ Y("div", {
554
561
  className: "relative w-full sm:w-72",
555
- children: [/* @__PURE__ */ q(P, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ q("input", {
562
+ children: [/* @__PURE__ */ J(P, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ J("input", {
556
563
  type: "text",
557
564
  placeholder: D("atheletebridge.home.searchPlaceholder", "Search services, carts..."),
558
565
  value: x,
@@ -562,83 +569,84 @@ function te() {
562
569
  })]
563
570
  })
564
571
  }),
565
- /* @__PURE__ */ J("section", {
572
+ /* @__PURE__ */ Y("section", {
566
573
  className: "mb-8",
567
- children: [/* @__PURE__ */ q("h2", {
574
+ children: [/* @__PURE__ */ J("h2", {
568
575
  className: "text-lg font-semibold text-text-primary mb-4",
569
576
  children: D("atheletebridge.home.quickStats", "Quick Stats")
570
- }), /* @__PURE__ */ q("div", {
577
+ }), /* @__PURE__ */ J("div", {
571
578
  className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
572
- children: L.map((e) => /* @__PURE__ */ q(r, {
579
+ children: L.map((e, t) => /* @__PURE__ */ J(r, {
573
580
  icon: e.icon,
574
581
  value: e.value,
575
582
  label: e.label,
576
583
  trend: e.trend,
577
- trendValue: e.trendValue
584
+ trendValue: e.trendValue,
585
+ featured: t === 0
578
586
  }, e.label))
579
587
  })]
580
588
  }),
581
- /* @__PURE__ */ J("section", {
589
+ /* @__PURE__ */ Y("section", {
582
590
  className: "mb-8",
583
- children: [/* @__PURE__ */ q("h2", {
591
+ children: [/* @__PURE__ */ J("h2", {
584
592
  className: "text-lg font-semibold text-text-primary mb-4",
585
593
  children: D("atheletebridge.home.quickActions", "Quick Actions")
586
- }), /* @__PURE__ */ q("div", {
594
+ }), /* @__PURE__ */ J("div", {
587
595
  className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
588
- children: I.map((e) => /* @__PURE__ */ J("button", {
596
+ children: I.map((e) => /* @__PURE__ */ Y("button", {
589
597
  type: "button",
590
598
  onClick: () => v(e.path),
591
599
  className: t("flex items-start gap-3 rounded-lg border border-border-subtle bg-bg-surface p-4 text-left shadow-sm transition-all", "hover:border-accent-foreground/20 hover:shadow-md"),
592
600
  children: [
593
- /* @__PURE__ */ q("div", {
601
+ /* @__PURE__ */ J("div", {
594
602
  className: t("flex h-10 w-10 shrink-0 items-center justify-center rounded-lg", e.color),
595
603
  children: e.icon
596
604
  }),
597
- /* @__PURE__ */ J("div", {
605
+ /* @__PURE__ */ Y("div", {
598
606
  className: "min-w-0 flex-1",
599
- children: [/* @__PURE__ */ q("p", {
607
+ children: [/* @__PURE__ */ J("p", {
600
608
  className: "text-sm font-semibold text-text-primary",
601
609
  children: e.label
602
- }), /* @__PURE__ */ q("p", {
610
+ }), /* @__PURE__ */ J("p", {
603
611
  className: "mt-0.5 text-xs text-text-secondary",
604
612
  children: e.description
605
613
  })]
606
614
  }),
607
- /* @__PURE__ */ q(g, { className: "h-4 w-4 text-text-secondary shrink-0 mt-1" })
615
+ /* @__PURE__ */ J(g, { className: "h-4 w-4 text-text-secondary shrink-0 mt-1" })
608
616
  ]
609
617
  }, e.label))
610
618
  })]
611
619
  }),
612
- /* @__PURE__ */ J("section", {
620
+ /* @__PURE__ */ Y("section", {
613
621
  className: "mb-8",
614
- children: [/* @__PURE__ */ J("div", {
622
+ children: [/* @__PURE__ */ Y("div", {
615
623
  className: "flex items-center justify-between mb-4",
616
- children: [/* @__PURE__ */ q("h2", {
624
+ children: [/* @__PURE__ */ J("h2", {
617
625
  className: "text-lg font-semibold text-text-primary",
618
626
  children: x ? D("atheletebridge.home.searchResults", "Search Results") : D("atheletebridge.home.featuredCarts", "Featured Carts")
619
- }), /* @__PURE__ */ J("button", {
627
+ }), /* @__PURE__ */ Y("button", {
620
628
  type: "button",
621
629
  onClick: () => v("/customer/carts"),
622
630
  className: "flex items-center gap-1 text-sm font-medium text-primary hover:underline",
623
631
  children: [
624
632
  D("atheletebridge.common.viewAll", "View All"),
625
633
  " ",
626
- /* @__PURE__ */ q(g, { className: "h-3.5 w-3.5" })
634
+ /* @__PURE__ */ J(g, { className: "h-3.5 w-3.5" })
627
635
  ]
628
636
  })]
629
- }), R.length === 0 ? /* @__PURE__ */ q(a, {
630
- icon: /* @__PURE__ */ q(P, { className: "h-10 w-10" }),
637
+ }), R.length === 0 ? /* @__PURE__ */ J(a, {
638
+ illustration: "empty-search",
631
639
  title: D("atheletebridge.home.noCartsFound", "No carts found"),
632
640
  description: D("atheletebridge.home.noCartsDescription", "Try adjusting your search or browse all categories"),
633
- action: /* @__PURE__ */ q("button", {
641
+ action: /* @__PURE__ */ J("button", {
634
642
  type: "button",
635
643
  onClick: () => C(""),
636
644
  className: "rounded-lg border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
637
645
  children: D("atheletebridge.home.clearSearch", "Clear Search")
638
646
  })
639
- }) : /* @__PURE__ */ q("div", {
647
+ }) : /* @__PURE__ */ J("div", {
640
648
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
641
- children: R.map((e) => /* @__PURE__ */ J("div", {
649
+ children: R.map((e) => /* @__PURE__ */ Y("div", {
642
650
  role: "button",
643
651
  tabIndex: 0,
644
652
  onClick: () => v(`/customer/cart/${e.id}`),
@@ -646,36 +654,36 @@ function te() {
646
654
  (t.key === "Enter" || t.key === " ") && (t.preventDefault(), v(`/customer/cart/${e.id}`));
647
655
  },
648
656
  className: "rounded-lg border border-border-subtle bg-bg-surface shadow-sm overflow-hidden transition-all hover:shadow-md hover:border-accent-foreground/20 cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]",
649
- children: [/* @__PURE__ */ J("div", {
657
+ children: [/* @__PURE__ */ Y("div", {
650
658
  className: "relative h-40 bg-bg-sunken",
651
659
  children: [
652
- /* @__PURE__ */ q("img", {
660
+ /* @__PURE__ */ J("img", {
653
661
  src: e.image,
654
662
  alt: e.name,
655
663
  className: "h-full w-full object-cover",
656
664
  loading: "lazy"
657
665
  }),
658
- /* @__PURE__ */ q("div", {
666
+ /* @__PURE__ */ J("div", {
659
667
  className: "absolute top-2 right-2",
660
- children: /* @__PURE__ */ q(i, { status: e.isOpen ? "open" : "closed" })
668
+ children: /* @__PURE__ */ J(i, { status: e.isOpen ? "open" : "closed" })
661
669
  }),
662
- e.isVerified && /* @__PURE__ */ q("div", {
670
+ e.isVerified && /* @__PURE__ */ J("div", {
663
671
  className: "absolute top-2 left-2",
664
- children: /* @__PURE__ */ J("span", {
672
+ children: /* @__PURE__ */ Y("span", {
665
673
  className: "inline-flex items-center gap-1 rounded-full bg-blue-500/90 px-2 py-0.5 text-xs font-medium text-white backdrop-blur-sm",
666
674
  children: [
667
- /* @__PURE__ */ q(_, { className: "h-3 w-3" }),
675
+ /* @__PURE__ */ J(_, { className: "h-3 w-3" }),
668
676
  " ",
669
677
  D("atheletebridge.home.verified", "Verified")
670
678
  ]
671
679
  })
672
680
  }),
673
- /* @__PURE__ */ q("div", {
681
+ /* @__PURE__ */ J("div", {
674
682
  className: "absolute bottom-2 right-2",
675
- children: /* @__PURE__ */ J("span", {
683
+ children: /* @__PURE__ */ Y("span", {
676
684
  className: "inline-flex items-center gap-1 rounded-full bg-black/60 px-2 py-0.5 text-xs text-white backdrop-blur-sm",
677
685
  children: [
678
- /* @__PURE__ */ q(S, { className: "h-3 w-3" }),
686
+ /* @__PURE__ */ J(S, { className: "h-3 w-3" }),
679
687
  " ",
680
688
  e.estimatedTime,
681
689
  " min"
@@ -683,53 +691,53 @@ function te() {
683
691
  })
684
692
  })
685
693
  ]
686
- }), /* @__PURE__ */ J("div", {
694
+ }), /* @__PURE__ */ Y("div", {
687
695
  className: "p-4",
688
696
  children: [
689
- /* @__PURE__ */ J("div", {
697
+ /* @__PURE__ */ Y("div", {
690
698
  className: "flex items-start justify-between",
691
- children: [/* @__PURE__ */ J("div", {
699
+ children: [/* @__PURE__ */ Y("div", {
692
700
  className: "min-w-0 flex-1",
693
- children: [/* @__PURE__ */ q("h3", {
701
+ children: [/* @__PURE__ */ J("h3", {
694
702
  className: "text-base font-semibold text-text-primary truncate",
695
703
  children: e.name
696
- }), /* @__PURE__ */ q("p", {
704
+ }), /* @__PURE__ */ J("p", {
697
705
  className: "mt-0.5 text-sm text-text-secondary",
698
706
  children: e.category
699
707
  })]
700
- }), /* @__PURE__ */ J("div", {
708
+ }), /* @__PURE__ */ Y("div", {
701
709
  className: "flex items-center gap-1 rounded bg-green-600 px-1.5 py-0.5 ml-2 shrink-0",
702
- children: [/* @__PURE__ */ q(B, { className: "h-3 w-3 fill-white text-white" }), /* @__PURE__ */ q("span", {
710
+ children: [/* @__PURE__ */ J(B, { className: "h-3 w-3 fill-white text-white" }), /* @__PURE__ */ J("span", {
703
711
  className: "text-xs font-bold text-white",
704
712
  children: e.rating
705
713
  })]
706
714
  })]
707
715
  }),
708
- /* @__PURE__ */ J("div", {
716
+ /* @__PURE__ */ Y("div", {
709
717
  className: "mt-3 flex items-center gap-4 text-xs text-text-secondary",
710
718
  children: [
711
- /* @__PURE__ */ J("span", {
719
+ /* @__PURE__ */ Y("span", {
712
720
  className: "flex items-center gap-1",
713
721
  children: [
714
- /* @__PURE__ */ q(j, { className: "h-3 w-3" }),
722
+ /* @__PURE__ */ J(j, { className: "h-3 w-3" }),
715
723
  " ",
716
724
  c(e.distance)
717
725
  ]
718
726
  }),
719
- /* @__PURE__ */ J("span", {
727
+ /* @__PURE__ */ Y("span", {
720
728
  className: "flex items-center gap-1",
721
729
  children: [
722
- /* @__PURE__ */ q(B, { className: "h-3 w-3" }),
730
+ /* @__PURE__ */ J(B, { className: "h-3 w-3" }),
723
731
  " ",
724
732
  e.totalRatings,
725
733
  " ",
726
734
  D("atheletebridge.home.reviews", "reviews")
727
735
  ]
728
736
  }),
729
- e.averageOrderValue && /* @__PURE__ */ J("span", {
737
+ e.averageOrderValue && /* @__PURE__ */ Y("span", {
730
738
  className: "flex items-center gap-1",
731
739
  children: [
732
- /* @__PURE__ */ q(O, { className: "h-3 w-3" }),
740
+ /* @__PURE__ */ J(O, { className: "h-3 w-3" }),
733
741
  " ",
734
742
  D("atheletebridge.home.average", "Avg."),
735
743
  " ",
@@ -738,9 +746,9 @@ function te() {
738
746
  })
739
747
  ]
740
748
  }),
741
- e.serviceTypes && e.serviceTypes.length > 0 && /* @__PURE__ */ q("div", {
749
+ e.serviceTypes && e.serviceTypes.length > 0 && /* @__PURE__ */ J("div", {
742
750
  className: "mt-3 flex flex-wrap gap-1.5",
743
- children: e.serviceTypes.slice(0, 3).map((e) => /* @__PURE__ */ q("span", {
751
+ children: e.serviceTypes.slice(0, 3).map((e) => /* @__PURE__ */ J("span", {
744
752
  className: "inline-flex items-center rounded-full bg-bg-sunken px-2 py-0.5 text-xs text-text-secondary",
745
753
  children: e.replace(/_/g, " ")
746
754
  }, e))
@@ -750,26 +758,26 @@ function te() {
750
758
  }, e.id))
751
759
  })]
752
760
  }),
753
- V.length > 0 && /* @__PURE__ */ J("section", {
761
+ V.length > 0 && /* @__PURE__ */ Y("section", {
754
762
  className: "mb-8",
755
- children: [/* @__PURE__ */ J("div", {
763
+ children: [/* @__PURE__ */ Y("div", {
756
764
  className: "flex items-center justify-between mb-4",
757
- children: [/* @__PURE__ */ q("h2", {
765
+ children: [/* @__PURE__ */ J("h2", {
758
766
  className: "text-lg font-semibold text-text-primary",
759
767
  children: D("atheletebridge.home.recentOrders", "Recent Orders")
760
- }), /* @__PURE__ */ J("button", {
768
+ }), /* @__PURE__ */ Y("button", {
761
769
  type: "button",
762
770
  onClick: () => v("/customer/orders"),
763
771
  className: "flex items-center gap-1 text-sm font-medium text-primary hover:underline",
764
772
  children: [
765
773
  D("atheletebridge.common.viewAll", "View All"),
766
774
  " ",
767
- /* @__PURE__ */ q(g, { className: "h-3.5 w-3.5" })
775
+ /* @__PURE__ */ J(g, { className: "h-3.5 w-3.5" })
768
776
  ]
769
777
  })]
770
- }), /* @__PURE__ */ q("div", {
778
+ }), /* @__PURE__ */ J("div", {
771
779
  className: "rounded-lg border border-border-subtle bg-bg-surface divide-y divide-border",
772
- children: V.map((e) => /* @__PURE__ */ J("div", {
780
+ children: V.map((e) => /* @__PURE__ */ Y("div", {
773
781
  role: "button",
774
782
  tabIndex: 0,
775
783
  onClick: () => v(`/customer/order/${e.id}`),
@@ -778,30 +786,30 @@ function te() {
778
786
  },
779
787
  className: "flex items-center gap-4 px-4 py-3 hover:bg-accent/50 transition-colors cursor-pointer",
780
788
  children: [
781
- /* @__PURE__ */ q("img", {
789
+ /* @__PURE__ */ J("img", {
782
790
  src: e.cartImage,
783
791
  alt: e.cartName,
784
792
  className: "h-12 w-12 rounded-lg object-cover shrink-0"
785
793
  }),
786
- /* @__PURE__ */ J("div", {
794
+ /* @__PURE__ */ Y("div", {
787
795
  className: "flex-1 min-w-0",
788
- children: [/* @__PURE__ */ J("div", {
796
+ children: [/* @__PURE__ */ Y("div", {
789
797
  className: "flex items-center gap-2",
790
- children: [/* @__PURE__ */ q("p", {
798
+ children: [/* @__PURE__ */ J("p", {
791
799
  className: "text-sm font-medium text-text-primary truncate",
792
800
  children: e.cartName
793
- }), /* @__PURE__ */ q(i, { status: e.status })]
794
- }), /* @__PURE__ */ q("p", {
801
+ }), /* @__PURE__ */ J(i, { status: e.status })]
802
+ }), /* @__PURE__ */ J("p", {
795
803
  className: "text-xs text-text-secondary mt-0.5",
796
804
  children: e.items.map((e) => e.name).join(", ")
797
805
  })]
798
806
  }),
799
- /* @__PURE__ */ J("div", {
807
+ /* @__PURE__ */ Y("div", {
800
808
  className: "text-right shrink-0",
801
- children: [/* @__PURE__ */ q("p", {
809
+ children: [/* @__PURE__ */ J("p", {
802
810
  className: "text-sm font-semibold text-text-primary",
803
811
  children: s(e.total, { minimumFractionDigits: 0 })
804
- }), /* @__PURE__ */ q("p", {
812
+ }), /* @__PURE__ */ J("p", {
805
813
  className: "text-xs text-text-secondary",
806
814
  children: l(e.orderDate)
807
815
  })]
@@ -810,32 +818,32 @@ function te() {
810
818
  }, e.id))
811
819
  })]
812
820
  }),
813
- /* @__PURE__ */ J("section", {
821
+ /* @__PURE__ */ Y("section", {
814
822
  className: "mb-8",
815
- children: [/* @__PURE__ */ q("h2", {
823
+ children: [/* @__PURE__ */ J("h2", {
816
824
  className: "text-lg font-semibold text-text-primary mb-4",
817
825
  children: D("atheletebridge.home.howItWorks", "How It Works")
818
- }), /* @__PURE__ */ q("div", {
826
+ }), /* @__PURE__ */ J("div", {
819
827
  className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
820
- children: Q.map((e) => /* @__PURE__ */ J("div", {
828
+ children: ne.map((e) => /* @__PURE__ */ Y("div", {
821
829
  className: "relative rounded-lg border border-border-subtle bg-bg-surface p-5 text-center",
822
830
  children: [
823
- /* @__PURE__ */ q("div", {
831
+ /* @__PURE__ */ J("div", {
824
832
  className: "absolute -top-3 left-1/2 -translate-x-1/2",
825
- children: /* @__PURE__ */ q("span", {
833
+ children: /* @__PURE__ */ J("span", {
826
834
  className: "inline-flex h-6 w-6 items-center justify-center rounded-full bg-action-primary-bg text-xs font-bold text-action-primary-text",
827
835
  children: e.step
828
836
  })
829
837
  }),
830
- /* @__PURE__ */ q("div", {
838
+ /* @__PURE__ */ J("div", {
831
839
  className: "mt-2 flex justify-center text-text-secondary mb-3",
832
840
  children: e.icon
833
841
  }),
834
- /* @__PURE__ */ q("h3", {
842
+ /* @__PURE__ */ J("h3", {
835
843
  className: "text-sm font-semibold text-text-primary",
836
844
  children: e.title
837
845
  }),
838
- /* @__PURE__ */ q("p", {
846
+ /* @__PURE__ */ J("p", {
839
847
  className: "mt-1 text-xs text-text-secondary",
840
848
  children: e.description
841
849
  })
@@ -843,79 +851,82 @@ function te() {
843
851
  }, e.step))
844
852
  })]
845
853
  }),
846
- /* @__PURE__ */ J("section", {
854
+ /* @__PURE__ */ Y("section", {
847
855
  className: "mb-8",
848
- children: [/* @__PURE__ */ q("h2", {
856
+ children: [/* @__PURE__ */ J("h2", {
849
857
  className: "text-lg font-semibold text-text-primary mb-4",
850
858
  children: D("atheletebridge.home.browseByCategory", "Browse by Category")
851
- }), /* @__PURE__ */ q("div", {
859
+ }), /* @__PURE__ */ J("div", {
852
860
  className: "grid grid-cols-3 gap-3 sm:grid-cols-4 lg:grid-cols-5",
853
- children: Z.map((e) => /* @__PURE__ */ J("button", {
861
+ children: te.map((e) => /* @__PURE__ */ Y("button", {
854
862
  type: "button",
855
863
  onClick: () => v(`/customer/carts?category=${encodeURIComponent(e.label)}`),
856
864
  className: "flex flex-col items-center gap-2 rounded-lg border border-border-subtle bg-bg-surface p-4 text-center hover:shadow-sm hover:border-accent-foreground/20 transition-all",
857
- children: [/* @__PURE__ */ q("div", {
865
+ children: [/* @__PURE__ */ J("div", {
858
866
  className: t("flex h-12 w-12 items-center justify-center rounded-full", e.color),
859
867
  children: e.icon
860
- }), /* @__PURE__ */ q("span", {
868
+ }), /* @__PURE__ */ J("span", {
861
869
  className: "text-xs font-medium text-text-primary leading-tight",
862
870
  children: e.label
863
871
  })]
864
872
  }, e.label))
865
873
  })]
866
874
  }),
867
- /* @__PURE__ */ J("section", {
875
+ /* @__PURE__ */ Y("section", {
868
876
  className: "mb-8",
869
- children: [/* @__PURE__ */ q("h2", {
877
+ children: [/* @__PURE__ */ J("h2", {
870
878
  className: "text-lg font-semibold text-text-primary mb-4",
871
879
  children: D("atheletebridge.home.platformStats", "Platform Stats")
872
- }), /* @__PURE__ */ q("div", {
880
+ }), /* @__PURE__ */ J("div", {
873
881
  className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
874
- children: ee.map((e) => /* @__PURE__ */ J("div", {
882
+ children: ie.map((e) => /* @__PURE__ */ Y("div", {
875
883
  className: "flex items-center gap-3 rounded-lg border border-border-subtle bg-bg-surface p-4",
876
- children: [/* @__PURE__ */ q("div", {
884
+ children: [/* @__PURE__ */ J("div", {
877
885
  className: "flex h-10 w-10 items-center justify-center rounded-full bg-action-primary-bg/10 text-primary shrink-0",
878
886
  children: e.icon
879
- }), /* @__PURE__ */ J("div", { children: [/* @__PURE__ */ q("p", {
887
+ }), /* @__PURE__ */ Y("div", { children: [/* @__PURE__ */ J("p", {
880
888
  className: "text-lg font-bold text-text-primary",
881
889
  children: e.value
882
- }), /* @__PURE__ */ q("p", {
890
+ }), /* @__PURE__ */ J("p", {
883
891
  className: "text-xs text-text-secondary",
884
892
  children: e.label
885
893
  })] })]
886
894
  }, e.label))
887
895
  })]
888
896
  }),
889
- /* @__PURE__ */ J("section", { children: [/* @__PURE__ */ q("h2", {
897
+ /* @__PURE__ */ Y("section", { children: [/* @__PURE__ */ J("h2", {
890
898
  className: "text-lg font-semibold text-text-primary mb-4",
891
899
  children: D("atheletebridge.home.recentActivity", "Recent Activity")
892
- }), /* @__PURE__ */ q("div", {
893
- className: "rounded-lg border border-border-subtle bg-bg-surface divide-y divide-border",
894
- children: $.map((e) => /* @__PURE__ */ J("div", {
895
- className: "flex items-center gap-3 px-4 py-3",
896
- children: [
897
- /* @__PURE__ */ q("div", {
898
- className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-bg-sunken",
899
- children: /* @__PURE__ */ q(m, { className: t("h-4 w-4", H[e.type] ?? "text-text-secondary") })
900
- }),
901
- /* @__PURE__ */ q("div", {
902
- className: "flex-1 min-w-0",
903
- children: /* @__PURE__ */ q("p", {
904
- className: "text-sm text-text-primary truncate",
905
- children: e.description
900
+ }), /* @__PURE__ */ J(Q, {
901
+ collapsedHeight: 180,
902
+ children: /* @__PURE__ */ J("div", {
903
+ className: "rounded-card border border-border-seam bg-bg-surface divide-y divide-border",
904
+ children: re.map((e) => /* @__PURE__ */ Y("div", {
905
+ className: "flex items-center gap-3 px-4 py-3",
906
+ children: [
907
+ /* @__PURE__ */ J("div", {
908
+ className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-bg-sunken",
909
+ children: /* @__PURE__ */ J(m, { className: t("h-4 w-4", H[e.type] ?? "text-text-secondary") })
910
+ }),
911
+ /* @__PURE__ */ J("div", {
912
+ className: "flex-1 min-w-0",
913
+ children: /* @__PURE__ */ J("p", {
914
+ className: "text-sm text-text-primary truncate",
915
+ children: e.description
916
+ })
917
+ }),
918
+ /* @__PURE__ */ J("span", {
919
+ className: "text-xs text-text-secondary whitespace-nowrap",
920
+ children: e.time
906
921
  })
907
- }),
908
- /* @__PURE__ */ q("span", {
909
- className: "text-xs text-text-secondary whitespace-nowrap",
910
- children: e.time
911
- })
912
- ]
913
- }, e.id))
922
+ ]
923
+ }, e.id))
924
+ })
914
925
  })] })
915
926
  ]
916
927
  });
917
928
  }
918
929
  //#endregion
919
- export { te as HomePage };
930
+ export { ae as HomePage };
920
931
 
921
932
  //# sourceMappingURL=HomePage.js.map