@burdenoff/microfe-kadaikodi 2026.704.1 → 2026.704.2

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 (76) hide show
  1. package/dist/kadaikodi/hooks/useKadaikodiApi.js +77 -26
  2. package/dist/kadaikodi/hooks/useKadaikodiApi.js.map +1 -1
  3. package/dist/kadaikodi/pages/admin/AdminAnalyticsPage.js +341 -461
  4. package/dist/kadaikodi/pages/admin/AdminAnalyticsPage.js.map +1 -1
  5. package/dist/kadaikodi/pages/admin/AdminDashboard.js +115 -399
  6. package/dist/kadaikodi/pages/admin/AdminDashboard.js.map +1 -1
  7. package/dist/kadaikodi/pages/admin/AdminFinancialPage.js +140 -283
  8. package/dist/kadaikodi/pages/admin/AdminFinancialPage.js.map +1 -1
  9. package/dist/kadaikodi/pages/admin/AdminOrdersPage.js +282 -453
  10. package/dist/kadaikodi/pages/admin/AdminOrdersPage.js.map +1 -1
  11. package/dist/kadaikodi/pages/admin/AdminProfilePage.js +115 -242
  12. package/dist/kadaikodi/pages/admin/AdminProfilePage.js.map +1 -1
  13. package/dist/kadaikodi/pages/admin/AdminSettingsPage.js +2 -2
  14. package/dist/kadaikodi/pages/admin/AdminSettingsPage.js.map +1 -1
  15. package/dist/kadaikodi/pages/admin/CartManagementPage.js.map +1 -1
  16. package/dist/kadaikodi/pages/admin/UserManagementPage.js.map +1 -1
  17. package/dist/kadaikodi/pages/cart-owner/AnalyticsDashboard.js +503 -627
  18. package/dist/kadaikodi/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  19. package/dist/kadaikodi/pages/cart-owner/BusinessSettingsPage.js +339 -282
  20. package/dist/kadaikodi/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  21. package/dist/kadaikodi/pages/cart-owner/CartOwnerDashboard.js +323 -422
  22. package/dist/kadaikodi/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  23. package/dist/kadaikodi/pages/cart-owner/CartOwnerProfilePage.js +374 -383
  24. package/dist/kadaikodi/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  25. package/dist/kadaikodi/pages/cart-owner/CartServiceConfigPage.js +249 -208
  26. package/dist/kadaikodi/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  27. package/dist/kadaikodi/pages/cart-owner/InventoryManagementPage.js +1 -1
  28. package/dist/kadaikodi/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  29. package/dist/kadaikodi/pages/cart-owner/OrderManagementPage.js +1 -1
  30. package/dist/kadaikodi/pages/cart-owner/OrderManagementPage.js.map +1 -1
  31. package/dist/kadaikodi/pages/cart-owner/StaffManagementPage.js +171 -627
  32. package/dist/kadaikodi/pages/cart-owner/StaffManagementPage.js.map +1 -1
  33. package/dist/kadaikodi/pages/common/HelpSupportPage.js +331 -415
  34. package/dist/kadaikodi/pages/common/HelpSupportPage.js.map +1 -1
  35. package/dist/kadaikodi/pages/common/NotificationCenterPage.js +18 -670
  36. package/dist/kadaikodi/pages/common/NotificationCenterPage.js.map +1 -1
  37. package/dist/kadaikodi/pages/common/SettingsPage.js.map +1 -1
  38. package/dist/kadaikodi/pages/customer/CheckoutPage.js +4 -2
  39. package/dist/kadaikodi/pages/customer/CheckoutPage.js.map +1 -1
  40. package/dist/kadaikodi/pages/customer/CustomerDashboard.js +191 -369
  41. package/dist/kadaikodi/pages/customer/CustomerDashboard.js.map +1 -1
  42. package/dist/kadaikodi/pages/customer/CustomerProfilePage.js +233 -389
  43. package/dist/kadaikodi/pages/customer/CustomerProfilePage.js.map +1 -1
  44. package/dist/kadaikodi/pages/customer/DirectServiceBookingPage.js.map +1 -1
  45. package/dist/kadaikodi/pages/customer/OrderHistoryPage.js.map +1 -1
  46. package/dist/kadaikodi/pages/customer/OrderTrackingPage.js.map +1 -1
  47. package/dist/kadaikodi/pages/customer/PaymentMethodsPage.js +76 -118
  48. package/dist/kadaikodi/pages/customer/PaymentMethodsPage.js.map +1 -1
  49. package/dist/kadaikodi/pages/customer/ReviewsPage.js.map +1 -1
  50. package/dist/kadaikodi/pages/customer/SavedAddressesPage.js +135 -213
  51. package/dist/kadaikodi/pages/customer/SavedAddressesPage.js.map +1 -1
  52. package/dist/kadaikodi/pages/investor/InvestmentDetailsPage.js +272 -774
  53. package/dist/kadaikodi/pages/investor/InvestmentDetailsPage.js.map +1 -1
  54. package/dist/kadaikodi/pages/investor/InvestmentOpportunitiesPage.js +232 -343
  55. package/dist/kadaikodi/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  56. package/dist/kadaikodi/pages/investor/InvestorAnalyticsPage.js +112 -600
  57. package/dist/kadaikodi/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  58. package/dist/kadaikodi/pages/investor/InvestorDashboard.js +127 -294
  59. package/dist/kadaikodi/pages/investor/InvestorDashboard.js.map +1 -1
  60. package/dist/kadaikodi/pages/investor/InvestorInvestmentsPage.js +204 -290
  61. package/dist/kadaikodi/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  62. package/dist/kadaikodi/pages/investor/InvestorPortfolioPage.js +159 -500
  63. package/dist/kadaikodi/pages/investor/InvestorPortfolioPage.js.map +1 -1
  64. package/dist/kadaikodi/pages/investor/InvestorProfilePage.js +399 -487
  65. package/dist/kadaikodi/pages/investor/InvestorProfilePage.js.map +1 -1
  66. package/dist/kadaikodi/pages/worker/TaskDetailsPage.js +13 -13
  67. package/dist/kadaikodi/pages/worker/TaskDetailsPage.js.map +1 -1
  68. package/dist/kadaikodi/pages/worker/WorkerDashboard.js +192 -296
  69. package/dist/kadaikodi/pages/worker/WorkerDashboard.js.map +1 -1
  70. package/dist/kadaikodi/pages/worker/WorkerOrdersPage.js +245 -397
  71. package/dist/kadaikodi/pages/worker/WorkerOrdersPage.js.map +1 -1
  72. package/dist/kadaikodi/pages/worker/WorkerProfilePage.js +85 -117
  73. package/dist/kadaikodi/pages/worker/WorkerProfilePage.js.map +1 -1
  74. package/dist/kadaikodi/pages/worker/WorkerSchedulePage.js +177 -395
  75. package/dist/kadaikodi/pages/worker/WorkerSchedulePage.js.map +1 -1
  76. package/package.json +1 -1
@@ -1,43 +1,44 @@
1
1
  import { useKadaikodi as e } from "../../context/KadaikodiContext.js";
2
2
  import { cn as t } from "../../utils/cn.js";
3
3
  import { PageLayout as n } from "../../components/PageLayout.js";
4
- import { useState as r } from "react";
5
- import { AlertCircle as i, BadgeCheck as a, Bell as o, Building2 as s, Camera as c, CheckCircle2 as l, Clock as u, CreditCard as d, Edit2 as f, Key as p, Lock as m, Save as h, Shield as g, Star as _, User as v } from "lucide-react";
6
- import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
7
- import { EmphasisPanel as S, PagePurpose as C } from "@burdenoff/fe-libs/ui";
4
+ import { useOrders as r, useProviders as i } from "../../hooks/useKadaikodiApi.js";
5
+ import { useEffect as a, useMemo as o, useState as s } from "react";
6
+ import { AlertCircle as c, BadgeCheck as l, Bell as u, Building2 as d, Camera as f, CheckCircle2 as p, Clock as m, CreditCard as h, Edit2 as g, Key as _, Lock as v, Save as y, Shield as b, Star as x, User as S } from "lucide-react";
7
+ import { Fragment as C, jsx as w, jsxs as T } from "react/jsx-runtime";
8
+ import { EmphasisPanel as E, PagePurpose as D } from "@burdenoff/fe-libs/ui";
8
9
  //#region src/kadaikodi/pages/cart-owner/CartOwnerProfilePage.tsx
9
- var w = [
10
+ var O = [
10
11
  {
11
12
  id: "personal",
12
13
  label: "Personal Info",
13
- icon: v
14
+ icon: S
14
15
  },
15
16
  {
16
17
  id: "business",
17
18
  label: "Business Details",
18
- icon: s
19
+ icon: d
19
20
  },
20
21
  {
21
22
  id: "operations",
22
23
  label: "Operations",
23
- icon: u
24
+ icon: m
24
25
  },
25
26
  {
26
27
  id: "banking",
27
28
  label: "Banking",
28
- icon: d
29
+ icon: h
29
30
  },
30
31
  {
31
32
  id: "security",
32
33
  label: "Security",
33
- icon: m
34
+ icon: v
34
35
  },
35
36
  {
36
37
  id: "notifications",
37
38
  label: "Notifications",
38
- icon: o
39
+ icon: u
39
40
  }
40
- ], T = [
41
+ ], k = [
41
42
  "Monday",
42
43
  "Tuesday",
43
44
  "Wednesday",
@@ -45,27 +46,43 @@ var w = [
45
46
  "Friday",
46
47
  "Saturday",
47
48
  "Sunday"
48
- ], E = () => {
49
- let { navigateTo: o, currentUser: s } = e(), [u, d] = r("personal"), [m, v] = r(!1), [E, D] = r(!1), [O, k] = r({
50
- firstName: s?.firstName ?? s?.name?.split(" ")[0] ?? "",
51
- lastName: s?.lastName ?? s?.name?.split(" ").slice(1).join(" ") ?? "",
52
- email: s?.email ?? "",
53
- phone: s?.phone ?? "",
54
- dateOfBirth: "1990-05-15",
55
- gender: "Male",
56
- address: "Koramangala 5th Block, Bangalore - 560034",
57
- bio: "Passionate about South Indian cuisine. Running Dosa Express since 2020."
58
- }), [A, j] = r({
59
- businessName: "Dosa Express",
49
+ ], A = [
50
+ "Food & Beverage",
51
+ "Personal Care & Beauty",
52
+ "Repair & Maintenance",
53
+ "Home Services",
54
+ "Retail & Merchandise"
55
+ ], j = {
56
+ FOOD_BEVERAGE: "Food & Beverage",
57
+ PERSONAL_CARE_BEAUTY: "Personal Care & Beauty",
58
+ CLOTHING_FASHION: "Clothing & Fashion",
59
+ REPAIR_MAINTENANCE: "Repair & Maintenance",
60
+ HOME_SERVICES: "Home Services",
61
+ HEALTH_WELLNESS: "Health & Wellness",
62
+ EDUCATION_SKILLS: "Education & Skills",
63
+ RETAIL_MERCHANDISE: "Retail & Merchandise",
64
+ GROCERY_ESSENTIALS: "Grocery & Essentials"
65
+ }, M = () => {
66
+ let { navigateTo: u, currentUser: d } = e(), [m, h] = s("personal"), [v, S] = s(!1), [M, N] = s(!1), { data: P = [] } = i(), F = o(() => P.find((e) => e.ownerId === d?.id) ?? P[0], [P, d?.id]), { data: I = [] } = r({ providerId: F?.id }), [L, R] = s({
67
+ firstName: d?.firstName ?? d?.name?.split(" ")[0] ?? "",
68
+ lastName: d?.lastName ?? d?.name?.split(" ").slice(1).join(" ") ?? "",
69
+ email: d?.email ?? "",
70
+ phone: d?.phone ?? "",
71
+ dateOfBirth: "",
72
+ gender: "",
73
+ address: "",
74
+ bio: ""
75
+ }), [z, B] = s({
76
+ businessName: "",
60
77
  category: "Food & Beverage",
61
- description: "Authentic South Indian street food with a modern twist.",
62
- gstNumber: "29ABCDE1234F1Z5",
63
- panNumber: "ABCDE1234F",
64
- fssaiLicense: "12345678",
65
- businessAddress: "Koramangala 5th Block, Bangalore - 560034",
66
- businessPhone: "+91-9876543210",
67
- businessEmail: "ravi@dosaexpress.in"
68
- }), [M, N] = r({
78
+ description: "",
79
+ gstNumber: "",
80
+ panNumber: "",
81
+ fssaiLicense: "",
82
+ businessAddress: "",
83
+ businessPhone: "",
84
+ businessEmail: ""
85
+ }), [V, H] = s({
69
86
  workingDays: [
70
87
  "Monday",
71
88
  "Tuesday",
@@ -79,652 +96,658 @@ var w = [
79
96
  preparationTime: 15,
80
97
  deliveryRadius: 5,
81
98
  maxOrdersPerDay: 100
82
- }), [P, F] = r({
83
- bankName: "State Bank of India",
84
- accountHolder: "Ravi Kumar",
85
- accountNumber: "1234567890123456",
86
- ifscCode: "SBIN0001234",
87
- upiId: "ravikumar@sbi",
99
+ }), [U, W] = s({
100
+ bankName: "",
101
+ accountHolder: "",
102
+ accountNumber: "",
103
+ ifscCode: "",
104
+ upiId: "",
88
105
  payoutSchedule: "weekly"
89
- }), [I, L] = r({
90
- twoFactorEnabled: !0,
91
- lastPasswordChange: "2024-01-01"
92
- }), [R, z] = r({
106
+ }), [G, K] = s({ twoFactorEnabled: !1 }), [q, J] = s({
93
107
  orderAlerts: !0,
94
108
  paymentAlerts: !0,
95
109
  reviewAlerts: !0,
96
110
  promotionalEmails: !1,
97
111
  smsAlerts: !0,
98
112
  weeklyReport: !0
99
- }), B = {
100
- rating: 4.5,
101
- totalOrders: 1247,
102
- memberSince: "2023-03-01",
103
- verificationPercentage: 86
104
- }, V = () => {
105
- D(!0), v(!1), setTimeout(() => D(!1), 3e3);
106
- }, H = (e) => {
107
- N((t) => ({
113
+ }), [Y, X] = s(!1);
114
+ a(() => {
115
+ if (!F || Y) return;
116
+ let e = j[F.category] ?? F.category;
117
+ B((t) => ({
118
+ ...t,
119
+ businessName: F.name,
120
+ category: A.includes(e) ? e : t.category,
121
+ businessAddress: F.location?.address ?? ""
122
+ })), X(!0);
123
+ }, [F, Y]);
124
+ let Z = {
125
+ rating: F?.rating ?? 0,
126
+ totalOrders: I.length,
127
+ reviews: F?.totalRatings ?? 0,
128
+ memberSince: F?.createdAt ?? null
129
+ }, Q = !!F?.isVerified, $ = () => {
130
+ N(!0), S(!1), setTimeout(() => N(!1), 3e3);
131
+ }, ee = (e) => {
132
+ H((t) => ({
108
133
  ...t,
109
134
  workingDays: t.workingDays.includes(e) ? t.workingDays.filter((t) => t !== e) : [...t.workingDays, e]
110
135
  }));
111
136
  };
112
- return /* @__PURE__ */ x(n, {
137
+ return /* @__PURE__ */ T(n, {
113
138
  title: "Profile",
114
139
  description: "Your business profile and settings",
115
- actions: /* @__PURE__ */ b("div", {
140
+ actions: /* @__PURE__ */ w("div", {
116
141
  className: "flex items-center gap-2",
117
- children: m ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("button", {
142
+ children: v ? /* @__PURE__ */ T(C, { children: [/* @__PURE__ */ w("button", {
118
143
  type: "button",
119
- onClick: () => v(!1),
144
+ onClick: () => S(!1),
120
145
  className: "rounded-md border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken transition-colors",
121
146
  children: "Cancel"
122
- }), /* @__PURE__ */ x("button", {
147
+ }), /* @__PURE__ */ T("button", {
123
148
  type: "button",
124
- onClick: V,
149
+ onClick: $,
125
150
  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",
126
- children: [/* @__PURE__ */ b(h, { className: "h-4 w-4" }), "Save"]
127
- })] }) : /* @__PURE__ */ x("button", {
151
+ children: [/* @__PURE__ */ w(y, { className: "h-4 w-4" }), "Save"]
152
+ })] }) : /* @__PURE__ */ T("button", {
128
153
  type: "button",
129
- onClick: () => v(!0),
154
+ onClick: () => S(!0),
130
155
  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",
131
- children: [/* @__PURE__ */ b(f, { className: "h-4 w-4" }), "Edit Profile"]
156
+ children: [/* @__PURE__ */ w(g, { className: "h-4 w-4" }), "Edit Profile"]
132
157
  })
133
158
  }),
134
- children: [/* @__PURE__ */ b(C, {
159
+ children: [/* @__PURE__ */ w(D, {
135
160
  className: "mb-6",
136
161
  children: "How you and your business show up on Kadaikodi. Use this page to keep your owner details, business identity and notification preferences current — and to see your reputation at a glance (rating, total orders, verification and how long you've been on the platform). A complete, verified profile builds customer trust. Use Edit Profile to update anything."
137
- }), /* @__PURE__ */ x("div", {
162
+ }), /* @__PURE__ */ T("div", {
138
163
  className: "space-y-4",
139
164
  children: [
140
- E && /* @__PURE__ */ x("div", {
165
+ M && /* @__PURE__ */ T("div", {
141
166
  className: "flex items-center gap-2 rounded-lg border border-status-success-text/30 bg-status-success-bg-subtle p-3",
142
- children: [/* @__PURE__ */ b(l, { className: "h-4 w-4 text-status-success-text" }), /* @__PURE__ */ b("span", {
167
+ children: [/* @__PURE__ */ w(p, { className: "h-4 w-4 text-status-success-text" }), /* @__PURE__ */ w("span", {
143
168
  className: "text-sm font-medium text-status-success-text",
144
169
  children: "Profile saved successfully!"
145
170
  })]
146
171
  }),
147
- /* @__PURE__ */ x(S, { children: [/* @__PURE__ */ b("h2", {
172
+ /* @__PURE__ */ T(E, { children: [/* @__PURE__ */ w("h2", {
148
173
  className: "mb-4 text-base font-semibold text-text-primary",
149
174
  children: "Your Reputation"
150
- }), /* @__PURE__ */ x("div", {
175
+ }), /* @__PURE__ */ T("div", {
151
176
  className: "grid grid-cols-2 sm:grid-cols-4 gap-3",
152
177
  children: [
153
- /* @__PURE__ */ x("div", {
178
+ /* @__PURE__ */ T("div", {
154
179
  className: "rounded-lg border border-border-subtle bg-bg-surface p-4 shadow-sm text-center",
155
- children: [/* @__PURE__ */ x("p", {
180
+ children: [/* @__PURE__ */ T("p", {
156
181
  className: "text-2xl font-bold text-text-primary flex items-center justify-center gap-1",
157
- children: [/* @__PURE__ */ b(_, { className: "h-5 w-5 fill-status-warning-text text-status-warning-text" }), B.rating]
158
- }), /* @__PURE__ */ b("p", {
182
+ children: [/* @__PURE__ */ w(x, { className: "h-5 w-5 fill-status-warning-text text-status-warning-text" }), Z.reviews > 0 ? Z.rating.toFixed(1) : "—"]
183
+ }), /* @__PURE__ */ w("p", {
159
184
  className: "text-xs text-text-secondary",
160
185
  children: "Rating"
161
186
  })]
162
187
  }),
163
- /* @__PURE__ */ x("div", {
188
+ /* @__PURE__ */ T("div", {
164
189
  className: "rounded-lg border border-border-subtle bg-bg-surface p-4 shadow-sm text-center",
165
- children: [/* @__PURE__ */ b("p", {
190
+ children: [/* @__PURE__ */ w("p", {
166
191
  className: "text-2xl font-bold text-text-primary",
167
- children: B.totalOrders.toLocaleString()
168
- }), /* @__PURE__ */ b("p", {
192
+ children: Z.totalOrders.toLocaleString()
193
+ }), /* @__PURE__ */ w("p", {
169
194
  className: "text-xs text-text-secondary",
170
195
  children: "Total Orders"
171
196
  })]
172
197
  }),
173
- /* @__PURE__ */ x("div", {
198
+ /* @__PURE__ */ T("div", {
174
199
  className: "rounded-lg border border-border-subtle bg-bg-surface p-4 shadow-sm text-center",
175
- children: [/* @__PURE__ */ x("p", {
200
+ children: [/* @__PURE__ */ w("p", {
176
201
  className: "text-2xl font-bold text-text-primary",
177
- children: [B.verificationPercentage, "%"]
178
- }), /* @__PURE__ */ b("p", {
202
+ children: Z.reviews
203
+ }), /* @__PURE__ */ w("p", {
179
204
  className: "text-xs text-text-secondary",
180
- children: "Verified"
205
+ children: "Reviews"
181
206
  })]
182
207
  }),
183
- /* @__PURE__ */ x("div", {
208
+ /* @__PURE__ */ T("div", {
184
209
  className: "rounded-lg border border-border-subtle bg-bg-surface p-4 shadow-sm text-center",
185
- children: [/* @__PURE__ */ b("p", {
210
+ children: [/* @__PURE__ */ w("p", {
186
211
  className: "text-sm font-bold text-text-primary",
187
- children: new Date(B.memberSince).toLocaleDateString("en-IN", {
212
+ children: Z.memberSince ? new Date(Z.memberSince).toLocaleDateString("en-IN", {
188
213
  month: "short",
189
214
  year: "numeric"
190
- })
191
- }), /* @__PURE__ */ b("p", {
215
+ }) : "—"
216
+ }), /* @__PURE__ */ w("p", {
192
217
  className: "text-xs text-text-secondary",
193
218
  children: "Member Since"
194
219
  })]
195
220
  })
196
221
  ]
197
222
  })] }),
198
- /* @__PURE__ */ x("div", {
223
+ /* @__PURE__ */ T("div", {
199
224
  className: "flex flex-col lg:flex-row gap-6",
200
- children: [/* @__PURE__ */ x("div", {
225
+ children: [/* @__PURE__ */ T("div", {
201
226
  className: "lg:w-56 shrink-0",
202
- children: [/* @__PURE__ */ b("div", {
227
+ children: [/* @__PURE__ */ w("div", {
203
228
  className: "lg:hidden rounded-lg border border-border-subtle bg-bg-surface p-3 shadow-sm",
204
- children: /* @__PURE__ */ b("div", {
229
+ children: /* @__PURE__ */ w("div", {
205
230
  className: "grid grid-cols-3 gap-2",
206
- children: w.map((e) => {
231
+ children: O.map((e) => {
207
232
  let n = e.icon;
208
- return /* @__PURE__ */ x("button", {
233
+ return /* @__PURE__ */ T("button", {
209
234
  type: "button",
210
- onClick: () => d(e.id),
211
- className: t("flex flex-col items-center gap-1 rounded-md px-2 py-2 text-xs font-medium transition-colors", u === e.id ? "bg-accent text-text-primary" : "text-text-secondary hover:bg-bg-sunken"),
212
- children: [/* @__PURE__ */ b(n, { className: "h-4 w-4" }), e.label.split(" ")[0]]
235
+ onClick: () => h(e.id),
236
+ className: t("flex flex-col items-center gap-1 rounded-md px-2 py-2 text-xs font-medium transition-colors", m === e.id ? "bg-accent text-text-primary" : "text-text-secondary hover:bg-bg-sunken"),
237
+ children: [/* @__PURE__ */ w(n, { className: "h-4 w-4" }), e.label.split(" ")[0]]
213
238
  }, e.id);
214
239
  })
215
240
  })
216
- }), /* @__PURE__ */ x("div", {
241
+ }), /* @__PURE__ */ T("div", {
217
242
  className: "hidden lg:block rounded-lg border border-border-subtle bg-bg-surface shadow-sm sticky top-24",
218
- children: [/* @__PURE__ */ b("div", {
243
+ children: [/* @__PURE__ */ w("div", {
219
244
  className: "p-4 border-b border-border-subtle",
220
- children: /* @__PURE__ */ b("h2", {
245
+ children: /* @__PURE__ */ w("h2", {
221
246
  className: "font-semibold text-text-primary text-sm",
222
247
  children: "Profile Settings"
223
248
  })
224
- }), /* @__PURE__ */ b("nav", {
249
+ }), /* @__PURE__ */ w("nav", {
225
250
  className: "p-2",
226
- children: w.map((e) => {
251
+ children: O.map((e) => {
227
252
  let n = e.icon;
228
- return /* @__PURE__ */ x("button", {
253
+ return /* @__PURE__ */ T("button", {
229
254
  type: "button",
230
- onClick: () => d(e.id),
231
- className: t("w-full text-left px-3 py-2 rounded-md mb-1 flex items-center gap-3 text-sm transition-colors", u === e.id ? "bg-accent text-text-primary font-medium" : "text-text-secondary hover:bg-bg-sunken hover:text-text-primary"),
232
- children: [/* @__PURE__ */ b(n, { className: "h-4 w-4" }), e.label]
255
+ onClick: () => h(e.id),
256
+ className: t("w-full text-left px-3 py-2 rounded-md mb-1 flex items-center gap-3 text-sm transition-colors", m === e.id ? "bg-accent text-text-primary font-medium" : "text-text-secondary hover:bg-bg-sunken hover:text-text-primary"),
257
+ children: [/* @__PURE__ */ w(n, { className: "h-4 w-4" }), e.label]
233
258
  }, e.id);
234
259
  })
235
260
  })]
236
261
  })]
237
- }), /* @__PURE__ */ b("div", {
262
+ }), /* @__PURE__ */ w("div", {
238
263
  className: "flex-1 min-w-0",
239
- children: /* @__PURE__ */ x("div", {
264
+ children: /* @__PURE__ */ T("div", {
240
265
  className: "rounded-lg border border-border-subtle bg-bg-surface p-5 sm:p-6 shadow-sm",
241
266
  children: [
242
- u === "personal" && /* @__PURE__ */ x("div", {
267
+ m === "personal" && /* @__PURE__ */ T("div", {
243
268
  className: "space-y-5",
244
269
  children: [
245
- /* @__PURE__ */ x("div", {
270
+ /* @__PURE__ */ T("div", {
246
271
  className: "flex items-center gap-5",
247
- children: [/* @__PURE__ */ x("div", {
272
+ children: [/* @__PURE__ */ T("div", {
248
273
  className: "relative",
249
- children: [/* @__PURE__ */ x("div", {
274
+ children: [/* @__PURE__ */ T("div", {
250
275
  className: "flex h-20 w-20 items-center justify-center rounded-full bg-bg-sunken text-2xl font-bold text-text-primary",
251
- children: [O.firstName[0], O.lastName[0]]
252
- }), m && /* @__PURE__ */ b("button", {
276
+ children: [L.firstName[0], L.lastName[0]]
277
+ }), v && /* @__PURE__ */ w("button", {
253
278
  type: "button",
254
279
  onClick: () => alert("Image upload coming soon!"),
255
280
  className: "absolute -bottom-1 -right-1 flex h-7 w-7 items-center justify-center rounded-full bg-accent text-text-primary border-2 border-card hover:bg-accent/80",
256
- children: /* @__PURE__ */ b(c, { className: "h-3.5 w-3.5" })
281
+ children: /* @__PURE__ */ w(f, { className: "h-3.5 w-3.5" })
257
282
  })]
258
- }), /* @__PURE__ */ x("div", { children: [
259
- /* @__PURE__ */ x("p", {
283
+ }), /* @__PURE__ */ T("div", { children: [
284
+ /* @__PURE__ */ T("p", {
260
285
  className: "text-lg font-semibold text-text-primary",
261
286
  children: [
262
- O.firstName,
287
+ L.firstName,
263
288
  " ",
264
- O.lastName
289
+ L.lastName
265
290
  ]
266
291
  }),
267
- /* @__PURE__ */ b("p", {
292
+ /* @__PURE__ */ w("p", {
268
293
  className: "text-sm text-text-secondary",
269
294
  children: "Cart Owner"
270
295
  }),
271
- /* @__PURE__ */ x("div", {
296
+ /* @__PURE__ */ T("div", {
272
297
  className: "flex items-center gap-2 mt-1",
273
- children: [/* @__PURE__ */ x("span", {
298
+ children: [Q && /* @__PURE__ */ T("span", {
274
299
  className: "inline-flex items-center gap-1 rounded-full bg-[var(--color-accent-soft)] px-2.5 py-0.5 text-xs font-medium text-text-primary",
275
- children: [/* @__PURE__ */ b(a, { className: "h-3 w-3" }), "Verified"]
276
- }), /* @__PURE__ */ x("span", {
300
+ children: [/* @__PURE__ */ w(l, { className: "h-3 w-3" }), "Verified"]
301
+ }), Z.reviews > 0 && /* @__PURE__ */ T("span", {
277
302
  className: "flex items-center gap-0.5 text-xs text-status-warning-text",
278
- children: [/* @__PURE__ */ b(_, { className: "h-3 w-3 fill-status-warning-text text-status-warning-text" }), B.rating]
303
+ children: [/* @__PURE__ */ w(x, { className: "h-3 w-3 fill-status-warning-text text-status-warning-text" }), Z.rating.toFixed(1)]
279
304
  })]
280
305
  })
281
306
  ] })]
282
307
  }),
283
- /* @__PURE__ */ x("div", {
308
+ /* @__PURE__ */ T("div", {
284
309
  className: "grid grid-cols-1 sm:grid-cols-2 gap-5",
285
- children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
310
+ children: [/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
286
311
  className: "block text-sm font-medium text-text-primary mb-1",
287
312
  children: "First Name"
288
- }), /* @__PURE__ */ b("input", {
313
+ }), /* @__PURE__ */ w("input", {
289
314
  type: "text",
290
- value: O.firstName,
291
- onChange: (e) => k((t) => ({
315
+ value: L.firstName,
316
+ onChange: (e) => R((t) => ({
292
317
  ...t,
293
318
  firstName: e.target.value
294
319
  })),
295
- disabled: !m,
296
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed")
297
- })] }), /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
320
+ disabled: !v,
321
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed")
322
+ })] }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
298
323
  className: "block text-sm font-medium text-text-primary mb-1",
299
324
  children: "Last Name"
300
- }), /* @__PURE__ */ b("input", {
325
+ }), /* @__PURE__ */ w("input", {
301
326
  type: "text",
302
- value: O.lastName,
303
- onChange: (e) => k((t) => ({
327
+ value: L.lastName,
328
+ onChange: (e) => R((t) => ({
304
329
  ...t,
305
330
  lastName: e.target.value
306
331
  })),
307
- disabled: !m,
308
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed")
332
+ disabled: !v,
333
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed")
309
334
  })] })]
310
335
  }),
311
- /* @__PURE__ */ x("div", {
336
+ /* @__PURE__ */ T("div", {
312
337
  className: "grid grid-cols-1 sm:grid-cols-2 gap-5",
313
- children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
338
+ children: [/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
314
339
  className: "block text-sm font-medium text-text-primary mb-1",
315
340
  children: "Email"
316
- }), /* @__PURE__ */ b("input", {
341
+ }), /* @__PURE__ */ w("input", {
317
342
  type: "email",
318
- value: O.email,
319
- onChange: (e) => k((t) => ({
343
+ value: L.email,
344
+ onChange: (e) => R((t) => ({
320
345
  ...t,
321
346
  email: e.target.value
322
347
  })),
323
- disabled: !m,
324
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed")
325
- })] }), /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
348
+ disabled: !v,
349
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed")
350
+ })] }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
326
351
  className: "block text-sm font-medium text-text-primary mb-1",
327
352
  children: "Phone"
328
- }), /* @__PURE__ */ b("input", {
353
+ }), /* @__PURE__ */ w("input", {
329
354
  type: "tel",
330
- value: O.phone,
331
- onChange: (e) => k((t) => ({
355
+ value: L.phone,
356
+ onChange: (e) => R((t) => ({
332
357
  ...t,
333
358
  phone: e.target.value
334
359
  })),
335
- disabled: !m,
336
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed")
360
+ disabled: !v,
361
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed")
337
362
  })] })]
338
363
  }),
339
- /* @__PURE__ */ x("div", {
364
+ /* @__PURE__ */ T("div", {
340
365
  className: "grid grid-cols-1 sm:grid-cols-2 gap-5",
341
- children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
366
+ children: [/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
342
367
  className: "block text-sm font-medium text-text-primary mb-1",
343
368
  children: "Date of Birth"
344
- }), /* @__PURE__ */ b("input", {
369
+ }), /* @__PURE__ */ w("input", {
345
370
  type: "date",
346
- value: O.dateOfBirth,
347
- onChange: (e) => k((t) => ({
371
+ value: L.dateOfBirth,
372
+ onChange: (e) => R((t) => ({
348
373
  ...t,
349
374
  dateOfBirth: e.target.value
350
375
  })),
351
- disabled: !m,
352
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed")
353
- })] }), /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
376
+ disabled: !v,
377
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed")
378
+ })] }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
354
379
  className: "block text-sm font-medium text-text-primary mb-1",
355
380
  children: "Gender"
356
- }), /* @__PURE__ */ x("select", {
357
- value: O.gender,
358
- onChange: (e) => k((t) => ({
381
+ }), /* @__PURE__ */ T("select", {
382
+ value: L.gender,
383
+ onChange: (e) => R((t) => ({
359
384
  ...t,
360
385
  gender: e.target.value
361
386
  })),
362
- disabled: !m,
363
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed"),
387
+ disabled: !v,
388
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed"),
364
389
  children: [
365
- /* @__PURE__ */ b("option", {
390
+ /* @__PURE__ */ w("option", {
391
+ value: "",
392
+ children: "Prefer not to say"
393
+ }),
394
+ /* @__PURE__ */ w("option", {
366
395
  value: "Male",
367
396
  children: "Male"
368
397
  }),
369
- /* @__PURE__ */ b("option", {
398
+ /* @__PURE__ */ w("option", {
370
399
  value: "Female",
371
400
  children: "Female"
372
401
  }),
373
- /* @__PURE__ */ b("option", {
402
+ /* @__PURE__ */ w("option", {
374
403
  value: "Other",
375
404
  children: "Other"
376
405
  })
377
406
  ]
378
407
  })] })]
379
408
  }),
380
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
409
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
381
410
  className: "block text-sm font-medium text-text-primary mb-1",
382
411
  children: "Address"
383
- }), /* @__PURE__ */ b("input", {
412
+ }), /* @__PURE__ */ w("input", {
384
413
  type: "text",
385
- value: O.address,
386
- onChange: (e) => k((t) => ({
414
+ value: L.address,
415
+ onChange: (e) => R((t) => ({
387
416
  ...t,
388
417
  address: e.target.value
389
418
  })),
390
- disabled: !m,
391
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed")
419
+ disabled: !v,
420
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed")
392
421
  })] }),
393
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
422
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
394
423
  className: "block text-sm font-medium text-text-primary mb-1",
395
424
  children: "Bio"
396
- }), /* @__PURE__ */ b("textarea", {
397
- value: O.bio,
398
- onChange: (e) => k((t) => ({
425
+ }), /* @__PURE__ */ w("textarea", {
426
+ value: L.bio,
427
+ onChange: (e) => R((t) => ({
399
428
  ...t,
400
429
  bio: e.target.value
401
430
  })),
402
- disabled: !m,
431
+ disabled: !v,
403
432
  rows: 3,
404
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary resize-none", !m && "bg-bg-sunken/50 cursor-not-allowed")
433
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary resize-none", !v && "bg-bg-sunken/50 cursor-not-allowed")
405
434
  })] })
406
435
  ]
407
436
  }),
408
- u === "business" && /* @__PURE__ */ x("div", {
437
+ m === "business" && /* @__PURE__ */ T("div", {
409
438
  className: "space-y-5",
410
439
  children: [
411
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
440
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
412
441
  className: "block text-sm font-medium text-text-primary mb-1",
413
442
  children: "Business Name"
414
- }), /* @__PURE__ */ b("input", {
443
+ }), /* @__PURE__ */ w("input", {
415
444
  type: "text",
416
- value: A.businessName,
417
- onChange: (e) => j((t) => ({
445
+ value: z.businessName,
446
+ onChange: (e) => B((t) => ({
418
447
  ...t,
419
448
  businessName: e.target.value
420
449
  })),
421
- disabled: !m,
422
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed")
450
+ disabled: !v,
451
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed")
423
452
  })] }),
424
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
453
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
425
454
  className: "block text-sm font-medium text-text-primary mb-1",
426
455
  children: "Category"
427
- }), /* @__PURE__ */ b("select", {
428
- value: A.category,
429
- onChange: (e) => j((t) => ({
456
+ }), /* @__PURE__ */ w("select", {
457
+ value: z.category,
458
+ onChange: (e) => B((t) => ({
430
459
  ...t,
431
460
  category: e.target.value
432
461
  })),
433
- disabled: !m,
434
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed"),
435
- children: [
436
- "Food & Beverage",
437
- "Personal Care & Beauty",
438
- "Repair & Maintenance",
439
- "Home Services",
440
- "Retail & Merchandise"
441
- ].map((e) => /* @__PURE__ */ b("option", {
462
+ disabled: !v,
463
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed"),
464
+ children: A.map((e) => /* @__PURE__ */ w("option", {
442
465
  value: e,
443
466
  children: e
444
467
  }, e))
445
468
  })] }),
446
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
469
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
447
470
  className: "block text-sm font-medium text-text-primary mb-1",
448
471
  children: "Description"
449
- }), /* @__PURE__ */ b("textarea", {
450
- value: A.description,
451
- onChange: (e) => j((t) => ({
472
+ }), /* @__PURE__ */ w("textarea", {
473
+ value: z.description,
474
+ onChange: (e) => B((t) => ({
452
475
  ...t,
453
476
  description: e.target.value
454
477
  })),
455
- disabled: !m,
478
+ disabled: !v,
456
479
  rows: 3,
457
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary resize-none", !m && "bg-bg-sunken/50 cursor-not-allowed")
480
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary resize-none", !v && "bg-bg-sunken/50 cursor-not-allowed")
458
481
  })] }),
459
- /* @__PURE__ */ x("div", {
482
+ /* @__PURE__ */ T("div", {
460
483
  className: "grid grid-cols-1 sm:grid-cols-3 gap-5",
461
484
  children: [
462
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
485
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
463
486
  className: "block text-sm font-medium text-text-primary mb-1",
464
487
  children: "GST Number"
465
- }), /* @__PURE__ */ b("input", {
488
+ }), /* @__PURE__ */ w("input", {
466
489
  type: "text",
467
- value: A.gstNumber,
468
- onChange: (e) => j((t) => ({
490
+ value: z.gstNumber,
491
+ onChange: (e) => B((t) => ({
469
492
  ...t,
470
493
  gstNumber: e.target.value
471
494
  })),
472
- disabled: !m,
473
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed")
495
+ disabled: !v,
496
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed")
474
497
  })] }),
475
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
498
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
476
499
  className: "block text-sm font-medium text-text-primary mb-1",
477
500
  children: "PAN Number"
478
- }), /* @__PURE__ */ b("input", {
501
+ }), /* @__PURE__ */ w("input", {
479
502
  type: "text",
480
- value: A.panNumber,
481
- onChange: (e) => j((t) => ({
503
+ value: z.panNumber,
504
+ onChange: (e) => B((t) => ({
482
505
  ...t,
483
506
  panNumber: e.target.value
484
507
  })),
485
- disabled: !m,
486
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed")
508
+ disabled: !v,
509
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed")
487
510
  })] }),
488
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
511
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
489
512
  className: "block text-sm font-medium text-text-primary mb-1",
490
513
  children: "FSSAI License"
491
- }), /* @__PURE__ */ b("input", {
514
+ }), /* @__PURE__ */ w("input", {
492
515
  type: "text",
493
- value: A.fssaiLicense,
494
- onChange: (e) => j((t) => ({
516
+ value: z.fssaiLicense,
517
+ onChange: (e) => B((t) => ({
495
518
  ...t,
496
519
  fssaiLicense: e.target.value
497
520
  })),
498
- disabled: !m,
499
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed")
521
+ disabled: !v,
522
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed")
500
523
  })] })
501
524
  ]
502
525
  }),
503
- /* @__PURE__ */ x("div", {
526
+ /* @__PURE__ */ T("div", {
504
527
  className: "grid grid-cols-1 sm:grid-cols-2 gap-5",
505
- children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
528
+ children: [/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
506
529
  className: "block text-sm font-medium text-text-primary mb-1",
507
530
  children: "Business Phone"
508
- }), /* @__PURE__ */ b("input", {
531
+ }), /* @__PURE__ */ w("input", {
509
532
  type: "tel",
510
- value: A.businessPhone,
511
- onChange: (e) => j((t) => ({
533
+ value: z.businessPhone,
534
+ onChange: (e) => B((t) => ({
512
535
  ...t,
513
536
  businessPhone: e.target.value
514
537
  })),
515
- disabled: !m,
516
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed")
517
- })] }), /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
538
+ disabled: !v,
539
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed")
540
+ })] }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
518
541
  className: "block text-sm font-medium text-text-primary mb-1",
519
542
  children: "Business Email"
520
- }), /* @__PURE__ */ b("input", {
543
+ }), /* @__PURE__ */ w("input", {
521
544
  type: "email",
522
- value: A.businessEmail,
523
- onChange: (e) => j((t) => ({
545
+ value: z.businessEmail,
546
+ onChange: (e) => B((t) => ({
524
547
  ...t,
525
548
  businessEmail: e.target.value
526
549
  })),
527
- disabled: !m,
528
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed")
550
+ disabled: !v,
551
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed")
529
552
  })] })]
530
553
  })
531
554
  ]
532
555
  }),
533
- u === "operations" && /* @__PURE__ */ x("div", {
556
+ m === "operations" && /* @__PURE__ */ T("div", {
534
557
  className: "space-y-5",
535
558
  children: [
536
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
559
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
537
560
  className: "block text-sm font-medium text-text-primary mb-2",
538
561
  children: "Working Days"
539
- }), /* @__PURE__ */ b("div", {
562
+ }), /* @__PURE__ */ w("div", {
540
563
  className: "flex flex-wrap gap-2",
541
- children: T.map((e) => /* @__PURE__ */ b("button", {
564
+ children: k.map((e) => /* @__PURE__ */ w("button", {
542
565
  type: "button",
543
- onClick: () => m && H(e),
544
- disabled: !m,
545
- className: t("px-3 py-1.5 rounded-full text-xs font-medium transition-colors", M.workingDays.includes(e) ? "bg-action-primary-bg text-white" : "bg-bg-sunken text-text-secondary", !m && "cursor-not-allowed opacity-70"),
566
+ onClick: () => v && ee(e),
567
+ disabled: !v,
568
+ className: t("px-3 py-1.5 rounded-full text-xs font-medium transition-colors", V.workingDays.includes(e) ? "bg-action-primary-bg text-white" : "bg-bg-sunken text-text-secondary", !v && "cursor-not-allowed opacity-70"),
546
569
  children: e.slice(0, 3)
547
570
  }, e))
548
571
  })] }),
549
- /* @__PURE__ */ x("div", {
572
+ /* @__PURE__ */ T("div", {
550
573
  className: "grid grid-cols-1 sm:grid-cols-2 gap-5",
551
- children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
574
+ children: [/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
552
575
  className: "block text-sm font-medium text-text-primary mb-1",
553
576
  children: "Opening Time"
554
- }), /* @__PURE__ */ b("input", {
577
+ }), /* @__PURE__ */ w("input", {
555
578
  type: "time",
556
- value: M.openTime,
557
- onChange: (e) => N((t) => ({
579
+ value: V.openTime,
580
+ onChange: (e) => H((t) => ({
558
581
  ...t,
559
582
  openTime: e.target.value
560
583
  })),
561
- disabled: !m,
562
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed")
563
- })] }), /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
584
+ disabled: !v,
585
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed")
586
+ })] }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
564
587
  className: "block text-sm font-medium text-text-primary mb-1",
565
588
  children: "Closing Time"
566
- }), /* @__PURE__ */ b("input", {
589
+ }), /* @__PURE__ */ w("input", {
567
590
  type: "time",
568
- value: M.closeTime,
569
- onChange: (e) => N((t) => ({
591
+ value: V.closeTime,
592
+ onChange: (e) => H((t) => ({
570
593
  ...t,
571
594
  closeTime: e.target.value
572
595
  })),
573
- disabled: !m,
574
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed")
596
+ disabled: !v,
597
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed")
575
598
  })] })]
576
599
  }),
577
- /* @__PURE__ */ x("div", {
600
+ /* @__PURE__ */ T("div", {
578
601
  className: "grid grid-cols-1 sm:grid-cols-3 gap-5",
579
602
  children: [
580
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
603
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
581
604
  className: "block text-sm font-medium text-text-primary mb-1",
582
605
  children: "Prep Time (min)"
583
- }), /* @__PURE__ */ b("input", {
606
+ }), /* @__PURE__ */ w("input", {
584
607
  type: "number",
585
- value: M.preparationTime,
586
- onChange: (e) => N((t) => ({
608
+ value: V.preparationTime,
609
+ onChange: (e) => H((t) => ({
587
610
  ...t,
588
611
  preparationTime: parseInt(e.target.value) || 0
589
612
  })),
590
- disabled: !m,
591
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed")
613
+ disabled: !v,
614
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed")
592
615
  })] }),
593
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
616
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
594
617
  className: "block text-sm font-medium text-text-primary mb-1",
595
618
  children: "Delivery Radius (km)"
596
- }), /* @__PURE__ */ b("input", {
619
+ }), /* @__PURE__ */ w("input", {
597
620
  type: "number",
598
- value: M.deliveryRadius,
599
- onChange: (e) => N((t) => ({
621
+ value: V.deliveryRadius,
622
+ onChange: (e) => H((t) => ({
600
623
  ...t,
601
624
  deliveryRadius: parseInt(e.target.value) || 0
602
625
  })),
603
- disabled: !m,
604
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed")
626
+ disabled: !v,
627
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed")
605
628
  })] }),
606
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
629
+ /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
607
630
  className: "block text-sm font-medium text-text-primary mb-1",
608
631
  children: "Max Orders/Day"
609
- }), /* @__PURE__ */ b("input", {
632
+ }), /* @__PURE__ */ w("input", {
610
633
  type: "number",
611
- value: M.maxOrdersPerDay,
612
- onChange: (e) => N((t) => ({
634
+ value: V.maxOrdersPerDay,
635
+ onChange: (e) => H((t) => ({
613
636
  ...t,
614
637
  maxOrdersPerDay: parseInt(e.target.value) || 0
615
638
  })),
616
- disabled: !m,
617
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed")
639
+ disabled: !v,
640
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed")
618
641
  })] })
619
642
  ]
620
643
  })
621
644
  ]
622
645
  }),
623
- u === "banking" && /* @__PURE__ */ x("div", {
646
+ m === "banking" && /* @__PURE__ */ T("div", {
624
647
  className: "space-y-5",
625
648
  children: [
626
- /* @__PURE__ */ x("div", {
649
+ /* @__PURE__ */ T("div", {
627
650
  className: "flex items-start gap-3 rounded-md bg-[var(--color-accent-soft)] border border-border-focus/20 p-3",
628
- children: [/* @__PURE__ */ b(i, { className: "h-4 w-4 text-text-primary shrink-0 mt-0.5" }), /* @__PURE__ */ b("p", {
651
+ children: [/* @__PURE__ */ w(c, { className: "h-4 w-4 text-text-primary shrink-0 mt-0.5" }), /* @__PURE__ */ w("p", {
629
652
  className: "text-xs text-text-primary",
630
653
  children: "Bank details are used for payouts. Changes require verification and may take 2-3 business days to process."
631
654
  })]
632
655
  }),
633
- /* @__PURE__ */ x("div", {
656
+ /* @__PURE__ */ T("div", {
634
657
  className: "grid grid-cols-1 sm:grid-cols-2 gap-5",
635
- children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
658
+ children: [/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
636
659
  className: "block text-sm font-medium text-text-primary mb-1",
637
660
  children: "Bank Name"
638
- }), /* @__PURE__ */ b("input", {
661
+ }), /* @__PURE__ */ w("input", {
639
662
  type: "text",
640
- value: P.bankName,
641
- onChange: (e) => F((t) => ({
663
+ value: U.bankName,
664
+ onChange: (e) => W((t) => ({
642
665
  ...t,
643
666
  bankName: e.target.value
644
667
  })),
645
- disabled: !m,
646
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed")
647
- })] }), /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
668
+ disabled: !v,
669
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed")
670
+ })] }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
648
671
  className: "block text-sm font-medium text-text-primary mb-1",
649
672
  children: "Account Holder"
650
- }), /* @__PURE__ */ b("input", {
673
+ }), /* @__PURE__ */ w("input", {
651
674
  type: "text",
652
- value: P.accountHolder,
653
- onChange: (e) => F((t) => ({
675
+ value: U.accountHolder,
676
+ onChange: (e) => W((t) => ({
654
677
  ...t,
655
678
  accountHolder: e.target.value
656
679
  })),
657
- disabled: !m,
658
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed")
680
+ disabled: !v,
681
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed")
659
682
  })] })]
660
683
  }),
661
- /* @__PURE__ */ x("div", {
684
+ /* @__PURE__ */ T("div", {
662
685
  className: "grid grid-cols-1 sm:grid-cols-2 gap-5",
663
- children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
686
+ children: [/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
664
687
  className: "block text-sm font-medium text-text-primary mb-1",
665
688
  children: "Account Number"
666
- }), /* @__PURE__ */ b("input", {
689
+ }), /* @__PURE__ */ w("input", {
667
690
  type: "text",
668
- value: m ? P.accountNumber : `****${P.accountNumber.slice(-4)}`,
669
- onChange: (e) => F((t) => ({
691
+ value: v ? U.accountNumber : `****${U.accountNumber.slice(-4)}`,
692
+ onChange: (e) => W((t) => ({
670
693
  ...t,
671
694
  accountNumber: e.target.value
672
695
  })),
673
- disabled: !m,
674
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed")
675
- })] }), /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
696
+ disabled: !v,
697
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed")
698
+ })] }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
676
699
  className: "block text-sm font-medium text-text-primary mb-1",
677
700
  children: "IFSC Code"
678
- }), /* @__PURE__ */ b("input", {
701
+ }), /* @__PURE__ */ w("input", {
679
702
  type: "text",
680
- value: P.ifscCode,
681
- onChange: (e) => F((t) => ({
703
+ value: U.ifscCode,
704
+ onChange: (e) => W((t) => ({
682
705
  ...t,
683
706
  ifscCode: e.target.value
684
707
  })),
685
- disabled: !m,
686
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed")
708
+ disabled: !v,
709
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed")
687
710
  })] })]
688
711
  }),
689
- /* @__PURE__ */ x("div", {
712
+ /* @__PURE__ */ T("div", {
690
713
  className: "grid grid-cols-1 sm:grid-cols-2 gap-5",
691
- children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
714
+ children: [/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
692
715
  className: "block text-sm font-medium text-text-primary mb-1",
693
716
  children: "UPI ID"
694
- }), /* @__PURE__ */ b("input", {
717
+ }), /* @__PURE__ */ w("input", {
695
718
  type: "text",
696
- value: P.upiId,
697
- onChange: (e) => F((t) => ({
719
+ value: U.upiId,
720
+ onChange: (e) => W((t) => ({
698
721
  ...t,
699
722
  upiId: e.target.value
700
723
  })),
701
- disabled: !m,
702
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed")
703
- })] }), /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
724
+ disabled: !v,
725
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed")
726
+ })] }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("label", {
704
727
  className: "block text-sm font-medium text-text-primary mb-1",
705
728
  children: "Payout Schedule"
706
- }), /* @__PURE__ */ x("select", {
707
- value: P.payoutSchedule,
708
- onChange: (e) => F((t) => ({
729
+ }), /* @__PURE__ */ T("select", {
730
+ value: U.payoutSchedule,
731
+ onChange: (e) => W((t) => ({
709
732
  ...t,
710
733
  payoutSchedule: e.target.value
711
734
  })),
712
- disabled: !m,
713
- className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !m && "bg-bg-sunken/50 cursor-not-allowed"),
735
+ disabled: !v,
736
+ className: t("w-full rounded-md border border-border-subtle px-3 py-2 text-sm text-text-primary", !v && "bg-bg-sunken/50 cursor-not-allowed"),
714
737
  children: [
715
- /* @__PURE__ */ b("option", {
738
+ /* @__PURE__ */ w("option", {
716
739
  value: "daily",
717
740
  children: "Daily"
718
741
  }),
719
- /* @__PURE__ */ b("option", {
742
+ /* @__PURE__ */ w("option", {
720
743
  value: "weekly",
721
744
  children: "Weekly"
722
745
  }),
723
- /* @__PURE__ */ b("option", {
746
+ /* @__PURE__ */ w("option", {
724
747
  value: "biweekly",
725
748
  children: "Bi-Weekly"
726
749
  }),
727
- /* @__PURE__ */ b("option", {
750
+ /* @__PURE__ */ w("option", {
728
751
  value: "monthly",
729
752
  children: "Monthly"
730
753
  })
@@ -733,29 +756,21 @@ var w = [
733
756
  })
734
757
  ]
735
758
  }),
736
- u === "security" && /* @__PURE__ */ x("div", {
759
+ m === "security" && /* @__PURE__ */ T("div", {
737
760
  className: "space-y-6",
738
761
  children: [
739
- /* @__PURE__ */ x("div", {
762
+ /* @__PURE__ */ T("div", {
740
763
  className: "rounded-lg border border-border-subtle p-5",
741
764
  children: [
742
- /* @__PURE__ */ x("h3", {
765
+ /* @__PURE__ */ T("h3", {
743
766
  className: "text-sm font-semibold text-text-primary flex items-center gap-2 mb-3",
744
- children: [/* @__PURE__ */ b(p, { className: "h-4 w-4 text-text-secondary" }), "Password"]
767
+ children: [/* @__PURE__ */ w(_, { className: "h-4 w-4 text-text-secondary" }), "Password"]
745
768
  }),
746
- /* @__PURE__ */ x("p", {
769
+ /* @__PURE__ */ w("p", {
747
770
  className: "text-xs text-text-secondary mb-3",
748
- children: [
749
- "Last changed:",
750
- " ",
751
- new Date(I.lastPasswordChange).toLocaleDateString("en-IN", {
752
- day: "numeric",
753
- month: "short",
754
- year: "numeric"
755
- })
756
- ]
771
+ children: "Keep your account secure by using a strong, unique password."
757
772
  }),
758
- /* @__PURE__ */ b("button", {
773
+ /* @__PURE__ */ w("button", {
759
774
  type: "button",
760
775
  onClick: () => alert("Password change coming soon!"),
761
776
  className: "rounded-md border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken transition-colors",
@@ -763,70 +778,46 @@ var w = [
763
778
  })
764
779
  ]
765
780
  }),
766
- /* @__PURE__ */ x("div", {
781
+ /* @__PURE__ */ T("div", {
767
782
  className: "rounded-lg border border-border-subtle p-5",
768
- children: [/* @__PURE__ */ x("div", {
783
+ children: [/* @__PURE__ */ T("div", {
769
784
  className: "flex items-center justify-between",
770
- children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ x("h3", {
785
+ children: [/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ T("h3", {
771
786
  className: "text-sm font-semibold text-text-primary flex items-center gap-2",
772
- children: [/* @__PURE__ */ b(g, { className: "h-4 w-4 text-text-secondary" }), "Two-Factor Authentication"]
773
- }), /* @__PURE__ */ b("p", {
787
+ children: [/* @__PURE__ */ w(b, { className: "h-4 w-4 text-text-secondary" }), "Two-Factor Authentication"]
788
+ }), /* @__PURE__ */ w("p", {
774
789
  className: "text-xs text-text-secondary mt-1",
775
790
  children: "Add an extra layer of security to your account"
776
- })] }), /* @__PURE__ */ b("button", {
791
+ })] }), /* @__PURE__ */ w("button", {
777
792
  type: "button",
778
- onClick: () => L((e) => ({
793
+ onClick: () => K((e) => ({
779
794
  ...e,
780
795
  twoFactorEnabled: !e.twoFactorEnabled
781
796
  })),
782
- className: t("h-6 w-11 rounded-full transition-colors relative", I.twoFactorEnabled ? "bg-status-success-text" : "bg-muted-foreground/30"),
783
- children: /* @__PURE__ */ b("div", { className: t("absolute top-0.5 h-5 w-5 rounded-full bg-white transition-transform", I.twoFactorEnabled ? "translate-x-5" : "translate-x-0.5") })
797
+ className: t("h-6 w-11 rounded-full transition-colors relative", G.twoFactorEnabled ? "bg-status-success-text" : "bg-muted-foreground/30"),
798
+ children: /* @__PURE__ */ w("div", { className: t("absolute top-0.5 h-5 w-5 rounded-full bg-white transition-transform", G.twoFactorEnabled ? "translate-x-5" : "translate-x-0.5") })
784
799
  })]
785
- }), I.twoFactorEnabled && /* @__PURE__ */ x("div", {
800
+ }), G.twoFactorEnabled && /* @__PURE__ */ T("div", {
786
801
  className: "mt-3 flex items-center gap-2",
787
- children: [/* @__PURE__ */ b(l, { className: "h-4 w-4 text-status-success-text" }), /* @__PURE__ */ b("span", {
802
+ children: [/* @__PURE__ */ w(p, { className: "h-4 w-4 text-status-success-text" }), /* @__PURE__ */ w("span", {
788
803
  className: "text-xs text-status-success-text font-medium",
789
804
  children: "2FA is enabled"
790
805
  })]
791
806
  })]
792
807
  }),
793
- /* @__PURE__ */ x("div", {
808
+ /* @__PURE__ */ T("div", {
794
809
  className: "rounded-lg border border-border-subtle p-5",
795
- children: [/* @__PURE__ */ b("h3", {
810
+ children: [/* @__PURE__ */ w("h3", {
796
811
  className: "text-sm font-semibold text-text-primary mb-3",
797
812
  children: "Active Sessions"
798
- }), /* @__PURE__ */ x("div", {
799
- className: "space-y-3",
800
- children: [/* @__PURE__ */ x("div", {
801
- className: "flex items-center justify-between text-sm",
802
- children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
803
- className: "font-medium text-text-primary",
804
- children: "Current Device"
805
- }), /* @__PURE__ */ b("p", {
806
- className: "text-xs text-text-secondary",
807
- children: "Chrome on Linux | Bangalore, IN"
808
- })] }), /* @__PURE__ */ b("span", {
809
- className: "text-xs text-status-success-text font-medium",
810
- children: "Active now"
811
- })]
812
- }), /* @__PURE__ */ x("div", {
813
- className: "flex items-center justify-between text-sm",
814
- children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
815
- className: "font-medium text-text-primary",
816
- children: "Mobile App"
817
- }), /* @__PURE__ */ b("p", {
818
- className: "text-xs text-text-secondary",
819
- children: "Android | Bangalore, IN"
820
- })] }), /* @__PURE__ */ b("span", {
821
- className: "text-xs text-text-secondary",
822
- children: "2 hours ago"
823
- })]
824
- })]
813
+ }), /* @__PURE__ */ w("p", {
814
+ className: "text-xs text-text-secondary",
815
+ children: "Session management is coming soon. You'll be able to review and sign out of devices connected to your account here."
825
816
  })]
826
817
  })
827
818
  ]
828
819
  }),
829
- u === "notifications" && /* @__PURE__ */ b("div", {
820
+ m === "notifications" && /* @__PURE__ */ w("div", {
830
821
  className: "space-y-1 divide-y divide-border",
831
822
  children: [
832
823
  {
@@ -859,22 +850,22 @@ var w = [
859
850
  label: "Promotional Emails",
860
851
  description: "Tips, news, and promotional content"
861
852
  }
862
- ].map((e) => /* @__PURE__ */ x("div", {
853
+ ].map((e) => /* @__PURE__ */ T("div", {
863
854
  className: "flex items-center justify-between py-3",
864
- children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
855
+ children: [/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
865
856
  className: "text-sm font-medium text-text-primary",
866
857
  children: e.label
867
- }), /* @__PURE__ */ b("p", {
858
+ }), /* @__PURE__ */ w("p", {
868
859
  className: "text-xs text-text-secondary mt-0.5",
869
860
  children: e.description
870
- })] }), /* @__PURE__ */ b("button", {
861
+ })] }), /* @__PURE__ */ w("button", {
871
862
  type: "button",
872
- onClick: () => z((t) => ({
863
+ onClick: () => J((t) => ({
873
864
  ...t,
874
865
  [e.key]: !t[e.key]
875
866
  })),
876
- className: t("h-6 w-11 rounded-full transition-colors relative", R[e.key] ? "bg-action-primary-bg" : "bg-muted-foreground/30"),
877
- children: /* @__PURE__ */ b("div", { className: t("absolute top-0.5 h-5 w-5 rounded-full bg-white transition-transform", R[e.key] ? "translate-x-5" : "translate-x-0.5") })
867
+ className: t("h-6 w-11 rounded-full transition-colors relative", q[e.key] ? "bg-action-primary-bg" : "bg-muted-foreground/30"),
868
+ children: /* @__PURE__ */ w("div", { className: t("absolute top-0.5 h-5 w-5 rounded-full bg-white transition-transform", q[e.key] ? "translate-x-5" : "translate-x-0.5") })
878
869
  })]
879
870
  }, e.key))
880
871
  })
@@ -887,6 +878,6 @@ var w = [
887
878
  });
888
879
  };
889
880
  //#endregion
890
- export { E as CartOwnerProfilePage };
881
+ export { M as CartOwnerProfilePage };
891
882
 
892
883
  //# sourceMappingURL=CartOwnerProfilePage.js.map