@burdenoff/microfe-kadaikodi 2026.626.2 → 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 (96) hide show
  1. package/dist/kadaikodi/hooks/useKadaikodiApi.js +260 -105
  2. package/dist/kadaikodi/hooks/useKadaikodiApi.js.map +1 -1
  3. package/dist/kadaikodi/pages/HomePage.js +4 -4
  4. package/dist/kadaikodi/pages/HomePage.js.map +1 -1
  5. package/dist/kadaikodi/pages/admin/AdminAnalyticsPage.js +341 -461
  6. package/dist/kadaikodi/pages/admin/AdminAnalyticsPage.js.map +1 -1
  7. package/dist/kadaikodi/pages/admin/AdminDashboard.js +115 -399
  8. package/dist/kadaikodi/pages/admin/AdminDashboard.js.map +1 -1
  9. package/dist/kadaikodi/pages/admin/AdminFinancialPage.js +140 -283
  10. package/dist/kadaikodi/pages/admin/AdminFinancialPage.js.map +1 -1
  11. package/dist/kadaikodi/pages/admin/AdminOrdersPage.js +282 -453
  12. package/dist/kadaikodi/pages/admin/AdminOrdersPage.js.map +1 -1
  13. package/dist/kadaikodi/pages/admin/AdminProfilePage.js +115 -242
  14. package/dist/kadaikodi/pages/admin/AdminProfilePage.js.map +1 -1
  15. package/dist/kadaikodi/pages/admin/AdminSettingsPage.js +2 -2
  16. package/dist/kadaikodi/pages/admin/AdminSettingsPage.js.map +1 -1
  17. package/dist/kadaikodi/pages/admin/CartManagementPage.js +279 -333
  18. package/dist/kadaikodi/pages/admin/CartManagementPage.js.map +1 -1
  19. package/dist/kadaikodi/pages/admin/UserManagementPage.js +299 -372
  20. package/dist/kadaikodi/pages/admin/UserManagementPage.js.map +1 -1
  21. package/dist/kadaikodi/pages/cart-owner/AnalyticsDashboard.js +503 -627
  22. package/dist/kadaikodi/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  23. package/dist/kadaikodi/pages/cart-owner/BusinessSettingsPage.js +339 -282
  24. package/dist/kadaikodi/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  25. package/dist/kadaikodi/pages/cart-owner/CartOwnerDashboard.js +329 -432
  26. package/dist/kadaikodi/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  27. package/dist/kadaikodi/pages/cart-owner/CartOwnerProfilePage.js +374 -384
  28. package/dist/kadaikodi/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  29. package/dist/kadaikodi/pages/cart-owner/CartServiceConfigPage.js +249 -208
  30. package/dist/kadaikodi/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  31. package/dist/kadaikodi/pages/cart-owner/InventoryManagementPage.js +276 -279
  32. package/dist/kadaikodi/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  33. package/dist/kadaikodi/pages/cart-owner/OrderManagementPage.js +229 -447
  34. package/dist/kadaikodi/pages/cart-owner/OrderManagementPage.js.map +1 -1
  35. package/dist/kadaikodi/pages/cart-owner/StaffManagementPage.js +171 -627
  36. package/dist/kadaikodi/pages/cart-owner/StaffManagementPage.js.map +1 -1
  37. package/dist/kadaikodi/pages/common/HelpSupportPage.js +331 -415
  38. package/dist/kadaikodi/pages/common/HelpSupportPage.js.map +1 -1
  39. package/dist/kadaikodi/pages/common/NotificationCenterPage.js +18 -670
  40. package/dist/kadaikodi/pages/common/NotificationCenterPage.js.map +1 -1
  41. package/dist/kadaikodi/pages/common/SettingsPage.js +34 -46
  42. package/dist/kadaikodi/pages/common/SettingsPage.js.map +1 -1
  43. package/dist/kadaikodi/pages/customer/BookingDetailsPage.js +193 -447
  44. package/dist/kadaikodi/pages/customer/BookingDetailsPage.js.map +1 -1
  45. package/dist/kadaikodi/pages/customer/CartDetailPage.js +6 -6
  46. package/dist/kadaikodi/pages/customer/CartDetailPage.js.map +1 -1
  47. package/dist/kadaikodi/pages/customer/CartDiscoveryPage.js +2 -2
  48. package/dist/kadaikodi/pages/customer/CartDiscoveryPage.js.map +1 -1
  49. package/dist/kadaikodi/pages/customer/CheckoutPage.js +4 -2
  50. package/dist/kadaikodi/pages/customer/CheckoutPage.js.map +1 -1
  51. package/dist/kadaikodi/pages/customer/CustomerDashboard.js +191 -369
  52. package/dist/kadaikodi/pages/customer/CustomerDashboard.js.map +1 -1
  53. package/dist/kadaikodi/pages/customer/CustomerProfilePage.js +233 -389
  54. package/dist/kadaikodi/pages/customer/CustomerProfilePage.js.map +1 -1
  55. package/dist/kadaikodi/pages/customer/DirectServiceBookingPage.js +255 -215
  56. package/dist/kadaikodi/pages/customer/DirectServiceBookingPage.js.map +1 -1
  57. package/dist/kadaikodi/pages/customer/FavoritesPage.js +141 -178
  58. package/dist/kadaikodi/pages/customer/FavoritesPage.js.map +1 -1
  59. package/dist/kadaikodi/pages/customer/OrderHistoryPage.js.map +1 -1
  60. package/dist/kadaikodi/pages/customer/OrderTrackingPage.js +155 -161
  61. package/dist/kadaikodi/pages/customer/OrderTrackingPage.js.map +1 -1
  62. package/dist/kadaikodi/pages/customer/PaymentMethodsPage.js +76 -118
  63. package/dist/kadaikodi/pages/customer/PaymentMethodsPage.js.map +1 -1
  64. package/dist/kadaikodi/pages/customer/ReviewsPage.js +14 -140
  65. package/dist/kadaikodi/pages/customer/ReviewsPage.js.map +1 -1
  66. package/dist/kadaikodi/pages/customer/SavedAddressesPage.js +135 -213
  67. package/dist/kadaikodi/pages/customer/SavedAddressesPage.js.map +1 -1
  68. package/dist/kadaikodi/pages/investor/InvestmentDetailsPage.js +272 -774
  69. package/dist/kadaikodi/pages/investor/InvestmentDetailsPage.js.map +1 -1
  70. package/dist/kadaikodi/pages/investor/InvestmentOpportunitiesPage.js +258 -523
  71. package/dist/kadaikodi/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  72. package/dist/kadaikodi/pages/investor/InvestorAnalyticsPage.js +112 -600
  73. package/dist/kadaikodi/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  74. package/dist/kadaikodi/pages/investor/InvestorDashboard.js +128 -295
  75. package/dist/kadaikodi/pages/investor/InvestorDashboard.js.map +1 -1
  76. package/dist/kadaikodi/pages/investor/InvestorInvestmentsPage.js +205 -291
  77. package/dist/kadaikodi/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  78. package/dist/kadaikodi/pages/investor/InvestorPortfolioPage.js +159 -500
  79. package/dist/kadaikodi/pages/investor/InvestorPortfolioPage.js.map +1 -1
  80. package/dist/kadaikodi/pages/investor/InvestorProfilePage.js +426 -514
  81. package/dist/kadaikodi/pages/investor/InvestorProfilePage.js.map +1 -1
  82. package/dist/kadaikodi/pages/worker/TaskDetailsPage.js +231 -225
  83. package/dist/kadaikodi/pages/worker/TaskDetailsPage.js.map +1 -1
  84. package/dist/kadaikodi/pages/worker/WorkerDashboard.js +197 -301
  85. package/dist/kadaikodi/pages/worker/WorkerDashboard.js.map +1 -1
  86. package/dist/kadaikodi/pages/worker/WorkerOrdersPage.js +247 -399
  87. package/dist/kadaikodi/pages/worker/WorkerOrdersPage.js.map +1 -1
  88. package/dist/kadaikodi/pages/worker/WorkerProfilePage.js +294 -327
  89. package/dist/kadaikodi/pages/worker/WorkerProfilePage.js.map +1 -1
  90. package/dist/kadaikodi/pages/worker/WorkerSchedulePage.js +179 -397
  91. package/dist/kadaikodi/pages/worker/WorkerSchedulePage.js.map +1 -1
  92. package/package.json +1 -1
  93. package/dist/kadaikodi/mocks/data.js +0 -1517
  94. package/dist/kadaikodi/mocks/data.js.map +0 -1
  95. package/dist/kadaikodi/mocks/users.js +0 -34
  96. package/dist/kadaikodi/mocks/users.js.map +0 -1
@@ -1,14 +1,13 @@
1
- import { useKadaikodi as e } from "../../context/KadaikodiContext.js";
2
- import { cn as t } from "../../utils/cn.js";
3
- import { PageLayout as n } from "../../components/PageLayout.js";
4
- import { EmptyState as r } from "../../components/EmptyState.js";
5
- import { formatDate as i } from "../../utils/formatters.js";
6
- import { useMemo as a, useState as o } from "react";
7
- import { AlertCircle as s, AlertTriangle as c, BookOpen as ee, CheckCircle2 as l, ChevronDown as te, ChevronUp as ne, Circle as u, CircleDot as d, Clock as f, CreditCard as p, ExternalLink as re, FileText as ie, HelpCircle as ae, Info as oe, Lightbulb as se, Mail as m, MessageCircle as h, MessageSquare as g, Phone as _, PhoneCall as v, Search as ce, Send as le, Shield as y, ShoppingBag as b, Tag as x, ThumbsUp as S, Ticket as C, TrendingUp as w, Truck as T, User as E, Wrench as D, X as O, XCircle as k } from "lucide-react";
8
- import { Fragment as A, jsx as j, jsxs as M } from "react/jsx-runtime";
9
- import { EmphasisPanel as ue, PagePurpose as de } from "@burdenoff/fe-libs/ui";
1
+ import { cn as e } from "../../utils/cn.js";
2
+ import { PageLayout as t } from "../../components/PageLayout.js";
3
+ import { EmptyState as n } from "../../components/EmptyState.js";
4
+ import { formatDate as r } from "../../utils/formatters.js";
5
+ import { useMemo as i, useState as a } from "react";
6
+ import { AlertCircle as ee, AlertTriangle as o, BookOpen as s, CheckCircle2 as c, ChevronDown as l, ChevronUp as u, Circle as d, CircleDot as f, Clock as p, CreditCard as m, ExternalLink as te, FileText as ne, HelpCircle as re, Info as ie, Lightbulb as ae, Mail as h, MessageCircle as g, MessageSquare as _, Phone as v, PhoneCall as y, Search as oe, Send as b, Shield as x, ShoppingBag as S, Tag as se, ThumbsUp as C, Ticket as w, TrendingUp as T, Truck as E, User as D, Wrench as O, X as k, XCircle as A } from "lucide-react";
7
+ import { Fragment as j, jsx as M, jsxs as N } from "react/jsx-runtime";
8
+ import { EmphasisPanel as ce, PagePurpose as le } from "@burdenoff/fe-libs/ui";
10
9
  //#region src/kadaikodi/pages/common/HelpSupportPage.tsx
11
- var N = [
10
+ var P = [
12
11
  "Account & Profile",
13
12
  "Orders & Payments",
14
13
  "Cart Owners",
@@ -17,69 +16,69 @@ var N = [
17
16
  "Technical Issues",
18
17
  "Billing & Refunds",
19
18
  "Privacy & Security"
20
- ], fe = [
19
+ ], ue = [
21
20
  {
22
21
  label: "Getting Started",
23
- icon: ee,
22
+ icon: s,
24
23
  description: "New to Kadaikodi? Start here",
25
24
  color: "bg-[var(--color-accent-soft)] text-text-primary"
26
25
  },
27
26
  {
28
27
  label: "Orders & Delivery",
29
- icon: b,
28
+ icon: S,
30
29
  description: "Placing, tracking, and cancelling orders",
31
30
  color: "bg-status-success-bg-subtle text-status-success-text"
32
31
  },
33
32
  {
34
33
  label: "Payments & Billing",
35
- icon: p,
34
+ icon: m,
36
35
  description: "Payment methods, refunds, and invoices",
37
36
  color: "bg-accent-purple-subtle text-text-primary"
38
37
  },
39
38
  {
40
39
  label: "Account & Profile",
41
- icon: E,
40
+ icon: D,
42
41
  description: "Manage your account and settings",
43
42
  color: "bg-status-warning-bg-subtle text-status-warning-text"
44
43
  },
45
44
  {
46
45
  label: "Cart Owners",
47
- icon: D,
46
+ icon: O,
48
47
  description: "Running your cart business",
49
48
  color: "bg-status-success-bg-subtle text-status-success-text"
50
49
  },
51
50
  {
52
51
  label: "Workers & Delivery",
53
- icon: T,
52
+ icon: E,
54
53
  description: "Delivery partner information",
55
54
  color: "bg-[var(--color-accent-soft)] text-text-primary"
56
55
  },
57
56
  {
58
57
  label: "Investments",
59
- icon: w,
58
+ icon: T,
60
59
  description: "Investment opportunities and returns",
61
60
  color: "bg-status-success-bg-subtle text-status-success-text"
62
61
  },
63
62
  {
64
63
  label: "Security & Privacy",
65
- icon: y,
64
+ icon: x,
66
65
  description: "Data protection and safety",
67
66
  color: "bg-status-error-bg-subtle text-status-error-text"
68
67
  },
69
68
  {
70
69
  label: "Technical Issues",
71
- icon: c,
70
+ icon: o,
72
71
  description: "App issues and troubleshooting",
73
72
  color: "bg-status-warning-bg-subtle text-status-warning-text"
74
73
  }
75
- ], P = [
74
+ ], F = [
76
75
  {
77
76
  type: "email",
78
77
  label: "Email Support",
79
78
  value: "support@kadaikodi.com",
80
79
  available: !0,
81
80
  responseTime: "Within 24 hours",
82
- icon: m
81
+ icon: h
83
82
  },
84
83
  {
85
84
  type: "phone",
@@ -87,7 +86,7 @@ var N = [
87
86
  value: "+91 80-4012-3456",
88
87
  available: !0,
89
88
  responseTime: "9 AM - 9 PM IST",
90
- icon: v
89
+ icon: y
91
90
  },
92
91
  {
93
92
  type: "chat",
@@ -95,7 +94,7 @@ var N = [
95
94
  value: "Start a conversation",
96
95
  available: !0,
97
96
  responseTime: "Instant response",
98
- icon: h
97
+ icon: g
99
98
  },
100
99
  {
101
100
  type: "whatsapp",
@@ -103,15 +102,15 @@ var N = [
103
102
  value: "+91 98765-43210",
104
103
  available: !0,
105
104
  responseTime: "2-4 hours",
106
- icon: g
105
+ icon: _
107
106
  }
108
- ], F = [
107
+ ], I = [
109
108
  {
110
109
  id: "faq-001",
111
110
  category: "Account & Profile",
112
111
  question: "How do I create an account on Kadaikodi?",
113
112
  answer: "You can create an account by clicking the \"Sign Up\" button on the homepage. You'll need to provide your name, email address, phone number, and choose your role (Customer, Cart Owner, Worker, or Investor). After verification via OTP, your account will be activated immediately.",
114
- helpful: 142,
113
+ helpful: 0,
115
114
  tags: [
116
115
  "account",
117
116
  "signup",
@@ -123,7 +122,7 @@ var N = [
123
122
  category: "Account & Profile",
124
123
  question: "How can I change my password?",
125
124
  answer: "Go to Settings > Security > Change Password. You'll need to enter your current password and then your new password twice to confirm. Make sure your new password is at least 8 characters long and includes a mix of letters, numbers, and symbols for better security.",
126
- helpful: 89,
125
+ helpful: 0,
127
126
  tags: [
128
127
  "password",
129
128
  "security",
@@ -135,7 +134,7 @@ var N = [
135
134
  category: "Account & Profile",
136
135
  question: "Can I switch my account role?",
137
136
  answer: "Yes, you can request a role change from Settings > Profile > Account Role. Switching from Customer to Cart Owner or Worker requires additional verification. The process typically takes 2-3 business days. You can hold multiple roles simultaneously.",
138
- helpful: 56,
137
+ helpful: 0,
139
138
  tags: [
140
139
  "role",
141
140
  "account",
@@ -147,7 +146,7 @@ var N = [
147
146
  category: "Orders & Payments",
148
147
  question: "What payment methods are accepted?",
149
148
  answer: "We accept various payment methods including UPI (Google Pay, PhonePe, Paytm), credit/debit cards (Visa, Mastercard, RuPay), net banking from all major banks, and digital wallets. Some cart owners also accept cash on delivery for orders under a certain amount.",
150
- helpful: 203,
149
+ helpful: 0,
151
150
  tags: [
152
151
  "payment",
153
152
  "upi",
@@ -160,7 +159,7 @@ var N = [
160
159
  category: "Orders & Payments",
161
160
  question: "How can I track my order in real-time?",
162
161
  answer: "After placing an order, you'll receive a tracking link via SMS and email. You can also track your order in real-time through the app under \"My Orders\" section. The live map shows your delivery partner's location. You'll get push notifications at each stage: confirmed, preparing, picked up, and delivered.",
163
- helpful: 156,
162
+ helpful: 0,
164
163
  tags: [
165
164
  "tracking",
166
165
  "orders",
@@ -173,7 +172,7 @@ var N = [
173
172
  category: "Orders & Payments",
174
173
  question: "How do I cancel or modify an order?",
175
174
  answer: "You can cancel your order from the Order Details page if it hasn't been picked up yet. Go to My Orders > Select Order > Cancel Order. For modifications, contact the cart owner directly through the chat feature. Cancellation before preparation gets a full refund; after preparation, a partial refund may apply.",
176
- helpful: 178,
175
+ helpful: 0,
177
176
  tags: [
178
177
  "cancel",
179
178
  "modify",
@@ -186,7 +185,7 @@ var N = [
186
185
  category: "Cart Owners",
187
186
  question: "How do I register my cart on Kadaikodi?",
188
187
  answer: "To register your cart, sign up as a Cart Owner and complete the verification process. You'll need to provide business details, license documents (FSSAI for food carts, GST if applicable), photos of your cart, and your preferred operating location. Our team will review and approve your application within 2-3 business days.",
189
- helpful: 67,
188
+ helpful: 0,
190
189
  tags: [
191
190
  "cart",
192
191
  "registration",
@@ -199,7 +198,7 @@ var N = [
199
198
  category: "Cart Owners",
200
199
  question: "What commission does Kadaikodi charge?",
201
200
  answer: "Kadaikodi charges a commission of 15-20% on each order, depending on your cart category and monthly order volume. Higher volume cart owners get reduced rates. This includes payment processing, marketing support, customer acquisition, and platform maintenance. You can view the detailed commission structure in your dashboard under \"Finances\".",
202
- helpful: 94,
201
+ helpful: 0,
203
202
  tags: [
204
203
  "commission",
205
204
  "fees",
@@ -212,7 +211,7 @@ var N = [
212
211
  category: "Cart Owners",
213
212
  question: "How do I manage my menu and pricing?",
214
213
  answer: "Go to your Cart Dashboard > Menu Management to add, edit, or remove items. You can set prices, mark items as available/unavailable, add photos and descriptions, create categories, and set up combo offers. Changes are reflected instantly on the platform.",
215
- helpful: 72,
214
+ helpful: 0,
216
215
  tags: [
217
216
  "menu",
218
217
  "pricing",
@@ -225,7 +224,7 @@ var N = [
225
224
  category: "Delivery & Workers",
226
225
  question: "How do I become a delivery worker?",
227
226
  answer: "Apply through the \"Join as Worker\" section on the app. You'll need a valid driving license, vehicle registration (bike/scooter), Aadhaar card, PAN card, and a smartphone with GPS. After document verification and background check (3-5 days), you'll receive online training and can start accepting delivery requests.",
228
- helpful: 78,
227
+ helpful: 0,
229
228
  tags: [
230
229
  "worker",
231
230
  "delivery",
@@ -238,7 +237,7 @@ var N = [
238
237
  category: "Delivery & Workers",
239
238
  question: "How is delivery worker pay calculated?",
240
239
  answer: "Delivery pay includes a base fee per delivery (varies by distance), surge pricing during peak hours, and tips from customers. You also earn bonuses for completing a certain number of deliveries per day/week. Payments are settled daily to your registered bank account.",
241
- helpful: 115,
240
+ helpful: 0,
242
241
  tags: [
243
242
  "pay",
244
243
  "earnings",
@@ -251,7 +250,7 @@ var N = [
251
250
  category: "Investors",
252
251
  question: "What are the minimum investment requirements?",
253
252
  answer: "The minimum investment amount varies by cart and investment type, typically starting from ₹50,000. You can invest in individual carts or diversified portfolios. Expected annual returns range from 12-18%, depending on the cart's performance. All investments are subject to market risk.",
254
- helpful: 112,
253
+ helpful: 0,
255
254
  tags: [
256
255
  "investment",
257
256
  "minimum",
@@ -264,7 +263,7 @@ var N = [
264
263
  category: "Investors",
265
264
  question: "How are returns distributed?",
266
265
  answer: "Returns are distributed monthly based on the cart's revenue performance. You can view detailed performance reports, revenue breakdowns, and ROI analytics in your Investor Dashboard. Funds can be withdrawn to your bank account with a 3-day processing time.",
267
- helpful: 98,
266
+ helpful: 0,
268
267
  tags: [
269
268
  "returns",
270
269
  "distribution",
@@ -277,7 +276,7 @@ var N = [
277
276
  category: "Technical Issues",
278
277
  question: "The app is not working properly. What should I do?",
279
278
  answer: "Try these steps: 1) Close and restart the app, 2) Check your internet connection (try switching between WiFi and mobile data), 3) Update to the latest app version from the app store, 4) Clear app cache from your phone settings, 5) Restart your device. If the issue persists, create a support ticket with details about the problem, your device model, and app version.",
280
- helpful: 134,
279
+ helpful: 0,
281
280
  tags: [
282
281
  "technical",
283
282
  "app",
@@ -290,7 +289,7 @@ var N = [
290
289
  category: "Technical Issues",
291
290
  question: "Why am I not receiving notifications?",
292
291
  answer: "Ensure notifications are enabled in both your phone settings and the app settings. Go to Phone Settings > Apps > Kadaikodi > Notifications and enable all categories. Also check the app: Settings > Preferences > Notification Settings. If using battery optimization, add Kadaikodi to the exception list.",
293
- helpful: 87,
292
+ helpful: 0,
294
293
  tags: [
295
294
  "notifications",
296
295
  "technical",
@@ -302,7 +301,7 @@ var N = [
302
301
  category: "Billing & Refunds",
303
302
  question: "How do I request a refund?",
304
303
  answer: "Refunds can be requested within 24 hours of order placement if the order hasn't been prepared. Go to \"My Orders\" > Select the order > \"Request Refund\". You'll need to select a reason. Refunds for quality issues can be raised within 2 hours of delivery. Refunds are processed within 3-5 business days to your original payment method.",
305
- helpful: 167,
304
+ helpful: 0,
306
305
  tags: [
307
306
  "refund",
308
307
  "cancellation",
@@ -315,7 +314,7 @@ var N = [
315
314
  category: "Billing & Refunds",
316
315
  question: "Where can I find my payment receipts?",
317
316
  answer: "All payment receipts are available under My Orders > Select Order > View Receipt. You can also find consolidated billing statements under Settings > Billing > Invoice History. Receipts can be downloaded as PDF or emailed to your registered address.",
318
- helpful: 65,
317
+ helpful: 0,
319
318
  tags: [
320
319
  "receipt",
321
320
  "invoice",
@@ -328,7 +327,7 @@ var N = [
328
327
  category: "Privacy & Security",
329
328
  question: "How is my personal data protected?",
330
329
  answer: "We follow industry-standard encryption (AES-256) for all personal data at rest and TLS 1.3 for data in transit. We are compliant with India's DPDP Act. You can control your data sharing preferences in Settings > Privacy. We never sell your personal information to third parties.",
331
- helpful: 109,
330
+ helpful: 0,
332
331
  tags: [
333
332
  "privacy",
334
333
  "data",
@@ -341,7 +340,7 @@ var N = [
341
340
  category: "Privacy & Security",
342
341
  question: "How do I enable two-factor authentication?",
343
342
  answer: "Go to Settings > Security > Two-Factor Authentication and toggle it on. You can choose between SMS OTP or an authenticator app (Google Authenticator, Authy). We strongly recommend enabling 2FA for enhanced account security, especially for Cart Owners and Investors.",
344
- helpful: 76,
343
+ helpful: 0,
345
344
  tags: [
346
345
  "2fa",
347
346
  "authentication",
@@ -354,7 +353,7 @@ var N = [
354
353
  category: "Privacy & Security",
355
354
  question: "How can I delete my account?",
356
355
  answer: "You can request account deletion from Settings > Privacy > Delete Account. Please note: this action is irreversible. All your data, order history, and wallet balance will be permanently removed after a 30-day cooling period. Pending orders or investments must be settled before deletion.",
357
- helpful: 43,
356
+ helpful: 0,
358
357
  tags: [
359
358
  "delete",
360
359
  "account",
@@ -362,124 +361,44 @@ var N = [
362
361
  "data"
363
362
  ]
364
363
  }
365
- ], I = [
366
- {
367
- id: "ticket-001",
368
- subject: "Payment failed but amount deducted",
369
- category: "Billing & Refunds",
370
- priority: "high",
371
- status: "in-progress",
372
- description: "I placed an order for ₹285 but the payment failed. However, the amount was deducted from my SBI account. Transaction ID: TXN123456789.",
373
- createdAt: "2024-06-23T14:30:00Z",
374
- updatedAt: "2024-06-24T09:15:00Z",
375
- responses: [
376
- {
377
- id: "resp-001",
378
- message: "Thank you for contacting us. We're investigating the payment issue. Could you please confirm the exact amount and your account details?",
379
- sender: "support",
380
- timestamp: "2024-06-23T16:45:00Z"
381
- },
382
- {
383
- id: "resp-002",
384
- message: "Transaction ID: TXN123456789. Amount: ₹285. Deducted from my SBI savings account ending in 4521.",
385
- sender: "user",
386
- timestamp: "2024-06-23T17:20:00Z"
387
- },
388
- {
389
- id: "resp-003",
390
- message: "We've verified the transaction. The refund of ₹285 has been initiated and will reflect in your account within 3-5 business days. Reference: REF-2024-06-24-001.",
391
- sender: "support",
392
- timestamp: "2024-06-24T09:15:00Z"
393
- }
394
- ]
395
- },
396
- {
397
- id: "ticket-002",
398
- subject: "Unable to update cart location",
399
- category: "Technical Issues",
400
- priority: "medium",
401
- status: "resolved",
402
- description: "I'm unable to update my cart location in the app. The save button is not responding when I tap it. Tried clearing cache and reinstalling.",
403
- createdAt: "2024-06-22T11:20:00Z",
404
- updatedAt: "2024-06-22T18:30:00Z",
405
- responses: [{
406
- id: "resp-004",
407
- message: "This was a known bug affecting Cart Owners on Android devices. It has been fixed in the latest app update (v2.1.3). Please update your app from the Play Store and try again.",
408
- sender: "support",
409
- timestamp: "2024-06-22T18:30:00Z"
410
- }]
411
- },
412
- {
413
- id: "ticket-003",
414
- subject: "Wrong items delivered in order #ORD-4521",
415
- category: "Orders & Payments",
416
- priority: "high",
417
- status: "open",
418
- description: "Received completely different items from what I ordered. Order #ORD-4521 was for 2 Masala Dosas and 1 Filter Coffee, but received Idli and Sambar instead.",
419
- createdAt: "2024-06-25T08:45:00Z",
420
- updatedAt: "2024-06-25T08:45:00Z",
421
- responses: []
422
- },
423
- {
424
- id: "ticket-004",
425
- subject: "Investment returns not credited for May",
426
- category: "Investors",
427
- priority: "medium",
428
- status: "closed",
429
- description: "My investment returns for the month of May 2024 have not been credited to my wallet. Portfolio: Diversified South Indian Carts.",
430
- createdAt: "2024-06-10T09:00:00Z",
431
- updatedAt: "2024-06-12T14:20:00Z",
432
- responses: [{
433
- id: "resp-005",
434
- message: "We apologize for the delay. May returns have been processed and credited to your wallet. The delay was due to a system migration. You should see ₹4,250 credited.",
435
- sender: "support",
436
- timestamp: "2024-06-12T14:20:00Z"
437
- }]
438
- }
439
364
  ], L = [
440
365
  {
441
366
  id: "art-1",
442
367
  title: "Getting Started with Kadaikodi",
443
- category: "Getting Started",
444
- views: 12450
368
+ category: "Getting Started"
445
369
  },
446
370
  {
447
371
  id: "art-2",
448
372
  title: "How to Place Your First Order",
449
- category: "Orders",
450
- views: 9823
373
+ category: "Orders"
451
374
  },
452
375
  {
453
376
  id: "art-3",
454
377
  title: "Understanding Investment Returns",
455
- category: "Investors",
456
- views: 7654
378
+ category: "Investors"
457
379
  },
458
380
  {
459
381
  id: "art-4",
460
382
  title: "Setting Up Your Cart Business",
461
- category: "Cart Owners",
462
- views: 6543
383
+ category: "Cart Owners"
463
384
  },
464
385
  {
465
386
  id: "art-5",
466
387
  title: "Payment Troubleshooting Guide",
467
- category: "Payments",
468
- views: 5890
388
+ category: "Payments"
469
389
  },
470
390
  {
471
391
  id: "art-6",
472
392
  title: "Delivery Partner Onboarding Guide",
473
- category: "Workers",
474
- views: 4321
393
+ category: "Workers"
475
394
  }
476
395
  ];
477
396
  function R(e) {
478
397
  switch (e) {
479
- case "open": return u;
480
- case "in-progress": return d;
481
- case "resolved": return l;
482
- case "closed": return k;
398
+ case "open": return d;
399
+ case "in-progress": return f;
400
+ case "resolved": return c;
401
+ case "closed": return A;
483
402
  }
484
403
  }
485
404
  function z(e) {
@@ -498,31 +417,31 @@ function B(e) {
498
417
  case "low": return "bg-bg-sunken text-text-secondary";
499
418
  }
500
419
  }
501
- function pe(e) {
420
+ function V(e) {
502
421
  return e.replace("-", " ").replace(/\b\w/g, (e) => e.toUpperCase());
503
422
  }
504
- function V() {
505
- let { currentUser: ee } = e(), [u, d] = o("faq"), [p, h] = o(""), [v, y] = o(""), [b, w] = o(null), [T, E] = o(F), [D, k] = o(I), [V, H] = o(!1), [U, W] = o(!1), [G, K] = o(""), [q, J] = o(""), [Y, X] = o({
423
+ function H() {
424
+ let [s, d] = a("faq"), [f, m] = a(""), [g, y] = a(""), [x, S] = a(null), [T, E] = a(I), [D, O] = a([]), [A, H] = a(!1), [U, W] = a(!1), [G, K] = a(""), [q, J] = a(""), [Y, X] = a({
506
425
  subject: "",
507
426
  category: "",
508
427
  priority: "medium",
509
428
  description: ""
510
- }), Z = a(() => T.filter((e) => {
511
- let t = !p || e.question.toLowerCase().includes(p.toLowerCase()) || e.answer.toLowerCase().includes(p.toLowerCase()) || e.tags.some((e) => e.toLowerCase().includes(p.toLowerCase())), n = !v || e.category === v;
429
+ }), Z = i(() => T.filter((e) => {
430
+ let t = !f || e.question.toLowerCase().includes(f.toLowerCase()) || e.answer.toLowerCase().includes(f.toLowerCase()) || e.tags.some((e) => e.toLowerCase().includes(f.toLowerCase())), n = !g || e.category === g;
512
431
  return t && n;
513
432
  }), [
514
433
  T,
515
- p,
516
- v
517
- ]), Q = a(() => ({
434
+ f,
435
+ g
436
+ ]), Q = i(() => ({
518
437
  open: D.filter((e) => e.status === "open").length,
519
438
  inProgress: D.filter((e) => e.status === "in-progress").length,
520
439
  resolved: D.filter((e) => e.status === "resolved").length,
521
440
  closed: D.filter((e) => e.status === "closed").length,
522
441
  total: D.length
523
- }), [D]), me = (e) => {
524
- w((t) => t === e ? null : e);
525
- }, he = (e) => {
442
+ }), [D]), de = (e) => {
443
+ S((t) => t === e ? null : e);
444
+ }, fe = (e) => {
526
445
  E((t) => t.map((t) => t.id === e ? {
527
446
  ...t,
528
447
  helpful: t.helpful + 1
@@ -542,7 +461,7 @@ function V() {
542
461
  alert("Live chat will be available soon!");
543
462
  break;
544
463
  }
545
- }, ge = () => {
464
+ }, pe = () => {
546
465
  if (J(""), K(""), !Y.subject.trim()) {
547
466
  J("Please enter a subject for your ticket.");
548
467
  return;
@@ -567,146 +486,146 @@ function V() {
567
486
  updatedAt: (/* @__PURE__ */ new Date()).toISOString(),
568
487
  responses: []
569
488
  };
570
- k((t) => [e, ...t]), X({
489
+ O((t) => [e, ...t]), X({
571
490
  subject: "",
572
491
  category: "",
573
492
  priority: "medium",
574
493
  description: ""
575
494
  }), W(!1), H(!1), K("Support ticket created successfully! Our team will respond within 24 hours."), d("tickets"), setTimeout(() => K(""), 5e3);
576
495
  }, 1e3);
577
- }, _e = [
496
+ }, me = [
578
497
  {
579
498
  id: "faq",
580
499
  label: "FAQ",
581
- icon: ae
500
+ icon: re
582
501
  },
583
502
  {
584
503
  id: "contact",
585
504
  label: "Contact Us",
586
- icon: _
505
+ icon: v
587
506
  },
588
507
  {
589
508
  id: "tickets",
590
509
  label: "My Tickets",
591
- icon: C
510
+ icon: w
592
511
  }
593
512
  ];
594
- return /* @__PURE__ */ M(n, {
513
+ return /* @__PURE__ */ N(t, {
595
514
  title: "Help & Support",
596
515
  description: "Find answers, contact support, or track your requests",
597
516
  children: [
598
- G && /* @__PURE__ */ M("div", {
517
+ G && /* @__PURE__ */ N("div", {
599
518
  className: "mb-4 flex items-center gap-2 rounded-lg border border-status-success-text/30 bg-status-success-bg-subtle px-4 py-3 text-sm text-status-success-text",
600
519
  children: [
601
- /* @__PURE__ */ j(l, { className: "h-4 w-4 shrink-0" }),
520
+ /* @__PURE__ */ M(c, { className: "h-4 w-4 shrink-0" }),
602
521
  G,
603
- /* @__PURE__ */ j("button", {
522
+ /* @__PURE__ */ M("button", {
604
523
  type: "button",
605
524
  onClick: () => K(""),
606
525
  className: "ml-auto",
607
- children: /* @__PURE__ */ j(O, { className: "h-4 w-4" })
526
+ children: /* @__PURE__ */ M(k, { className: "h-4 w-4" })
608
527
  })
609
528
  ]
610
529
  }),
611
- /* @__PURE__ */ j(de, {
530
+ /* @__PURE__ */ M(le, {
612
531
  className: "mb-6",
613
532
  children: "Stuck or have a question? Start here. Use this page to search FAQs and help articles, browse topics by category, reach our support team, and track any requests you've raised — so you can get unblocked fast without leaving the app. Search first; if you still need a human, open a ticket and follow it under your requests."
614
533
  }),
615
- /* @__PURE__ */ M(ue, {
534
+ /* @__PURE__ */ N(ce, {
616
535
  className: "mb-6",
617
- children: [/* @__PURE__ */ j("h2", {
536
+ children: [/* @__PURE__ */ M("h2", {
618
537
  className: "mb-3 text-base font-semibold text-text-primary",
619
538
  children: "How can we help?"
620
- }), /* @__PURE__ */ M("div", {
539
+ }), /* @__PURE__ */ N("div", {
621
540
  className: "relative",
622
541
  children: [
623
- /* @__PURE__ */ j(ce, { className: "absolute left-3 top-1/2 h-5 w-5 -translate-y-1/2 text-text-secondary" }),
624
- /* @__PURE__ */ j("input", {
542
+ /* @__PURE__ */ M(oe, { className: "absolute left-3 top-1/2 h-5 w-5 -translate-y-1/2 text-text-secondary" }),
543
+ /* @__PURE__ */ M("input", {
625
544
  type: "text",
626
- value: p,
545
+ value: f,
627
546
  onChange: (e) => {
628
- h(e.target.value), u !== "faq" && d("faq");
547
+ m(e.target.value), s !== "faq" && d("faq");
629
548
  },
630
549
  placeholder: "Search help articles, FAQs, and more...",
631
550
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-3 pl-10 pr-10 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
632
551
  }),
633
- p && /* @__PURE__ */ j("button", {
552
+ f && /* @__PURE__ */ M("button", {
634
553
  type: "button",
635
- onClick: () => h(""),
554
+ onClick: () => m(""),
636
555
  className: "absolute right-3 top-1/2 -translate-y-1/2 text-text-secondary hover:text-text-primary",
637
- children: /* @__PURE__ */ j(O, { className: "h-4 w-4" })
556
+ children: /* @__PURE__ */ M(k, { className: "h-4 w-4" })
638
557
  })
639
558
  ]
640
559
  })]
641
560
  }),
642
- /* @__PURE__ */ M("section", {
561
+ /* @__PURE__ */ N("section", {
643
562
  className: "mb-6",
644
- children: [/* @__PURE__ */ j("h2", {
563
+ children: [/* @__PURE__ */ M("h2", {
645
564
  className: "text-lg font-semibold text-text-primary mb-3",
646
565
  children: "Browse Help Topics"
647
- }), /* @__PURE__ */ j("div", {
566
+ }), /* @__PURE__ */ M("div", {
648
567
  className: "grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",
649
- children: fe.map((e) => {
650
- let n = e.icon;
651
- return /* @__PURE__ */ M("button", {
568
+ children: ue.map((t) => {
569
+ let n = t.icon;
570
+ return /* @__PURE__ */ N("button", {
652
571
  type: "button",
653
572
  onClick: () => {
654
- y(e.label === v ? "" : e.label), d("faq");
573
+ y(t.label === g ? "" : t.label), d("faq");
655
574
  },
656
- className: t("flex items-start gap-3 rounded-lg border bg-bg-surface p-4 text-left transition-all hover:shadow-sm", v === e.label ? "border-primary ring-1 ring-primary" : "border-border-subtle"),
657
- children: [/* @__PURE__ */ j("div", {
658
- className: t("flex h-10 w-10 shrink-0 items-center justify-center rounded-lg", e.color),
659
- children: /* @__PURE__ */ j(n, { className: "h-5 w-5" })
660
- }), /* @__PURE__ */ M("div", { children: [/* @__PURE__ */ j("p", {
575
+ className: e("flex items-start gap-3 rounded-lg border bg-bg-surface p-4 text-left transition-all hover:shadow-sm", g === t.label ? "border-primary ring-1 ring-primary" : "border-border-subtle"),
576
+ children: [/* @__PURE__ */ M("div", {
577
+ className: e("flex h-10 w-10 shrink-0 items-center justify-center rounded-lg", t.color),
578
+ children: /* @__PURE__ */ M(n, { className: "h-5 w-5" })
579
+ }), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
661
580
  className: "text-sm font-semibold text-text-primary",
662
- children: e.label
663
- }), /* @__PURE__ */ j("p", {
581
+ children: t.label
582
+ }), /* @__PURE__ */ M("p", {
664
583
  className: "text-xs text-text-secondary",
665
- children: e.description
584
+ children: t.description
666
585
  })] })]
667
- }, e.label);
586
+ }, t.label);
668
587
  })
669
588
  })]
670
589
  }),
671
- /* @__PURE__ */ j("section", {
590
+ /* @__PURE__ */ M("section", {
672
591
  className: "mb-6",
673
- children: /* @__PURE__ */ j("div", {
592
+ children: /* @__PURE__ */ M("div", {
674
593
  className: "flex space-x-1 bg-bg-sunken p-1 rounded-lg w-full sm:w-fit",
675
- children: _e.map((e) => {
676
- let n = e.icon;
677
- return /* @__PURE__ */ M("button", {
594
+ children: me.map((t) => {
595
+ let n = t.icon;
596
+ return /* @__PURE__ */ N("button", {
678
597
  type: "button",
679
- onClick: () => d(e.id),
680
- className: t("flex flex-1 sm:flex-none items-center justify-center gap-2 rounded-md px-4 py-2 text-sm font-medium transition-colors", u === e.id ? "bg-bg-surface text-text-primary shadow-sm" : "text-text-secondary hover:text-text-primary"),
598
+ onClick: () => d(t.id),
599
+ className: e("flex flex-1 sm:flex-none items-center justify-center gap-2 rounded-md px-4 py-2 text-sm font-medium transition-colors", s === t.id ? "bg-bg-surface text-text-primary shadow-sm" : "text-text-secondary hover:text-text-primary"),
681
600
  children: [
682
- /* @__PURE__ */ j(n, { className: "h-4 w-4" }),
683
- /* @__PURE__ */ j("span", { children: e.label }),
684
- e.id === "tickets" && Q.open > 0 && /* @__PURE__ */ j("span", {
601
+ /* @__PURE__ */ M(n, { className: "h-4 w-4" }),
602
+ /* @__PURE__ */ M("span", { children: t.label }),
603
+ t.id === "tickets" && Q.open > 0 && /* @__PURE__ */ M("span", {
685
604
  className: "flex h-5 min-w-[20px] items-center justify-center rounded-full bg-action-primary-bg px-1.5 text-xs font-medium text-action-primary-text",
686
605
  children: Q.open
687
606
  })
688
607
  ]
689
- }, e.id);
608
+ }, t.id);
690
609
  })
691
610
  })
692
611
  }),
693
- u === "faq" && /* @__PURE__ */ M("div", { children: [/* @__PURE__ */ M("div", {
612
+ s === "faq" && /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ N("div", {
694
613
  className: "mb-4 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",
695
- children: [/* @__PURE__ */ M("p", {
614
+ children: [/* @__PURE__ */ N("p", {
696
615
  className: "text-sm text-text-secondary",
697
616
  children: [
698
617
  Z.length,
699
618
  " question",
700
619
  Z.length === 1 ? "" : "s",
701
620
  " found",
702
- v && /* @__PURE__ */ M("span", { children: [
621
+ g && /* @__PURE__ */ N("span", { children: [
703
622
  " ",
704
623
  "in ",
705
- /* @__PURE__ */ j("span", {
624
+ /* @__PURE__ */ M("span", {
706
625
  className: "font-medium text-text-primary",
707
- children: v
626
+ children: g
708
627
  }),
709
- /* @__PURE__ */ j("button", {
628
+ /* @__PURE__ */ M("button", {
710
629
  type: "button",
711
630
  onClick: () => y(""),
712
631
  className: "ml-1 text-primary hover:underline",
@@ -714,162 +633,162 @@ function V() {
714
633
  })
715
634
  ] })
716
635
  ]
717
- }), /* @__PURE__ */ M("select", {
718
- value: v,
636
+ }), /* @__PURE__ */ N("select", {
637
+ value: g,
719
638
  onChange: (e) => y(e.target.value),
720
639
  className: "rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
721
- children: [/* @__PURE__ */ j("option", {
640
+ children: [/* @__PURE__ */ M("option", {
722
641
  value: "",
723
642
  children: "All Categories"
724
- }), N.map((e) => /* @__PURE__ */ j("option", {
643
+ }), P.map((e) => /* @__PURE__ */ M("option", {
725
644
  value: e,
726
645
  children: e
727
646
  }, e))]
728
647
  })]
729
- }), Z.length > 0 ? /* @__PURE__ */ j("div", {
648
+ }), Z.length > 0 ? /* @__PURE__ */ M("div", {
730
649
  className: "space-y-3",
731
- children: Z.map((e) => {
732
- let n = b === e.id;
733
- return /* @__PURE__ */ M("div", {
650
+ children: Z.map((t) => {
651
+ let n = x === t.id;
652
+ return /* @__PURE__ */ N("div", {
734
653
  className: "rounded-lg border border-border-subtle bg-bg-surface overflow-hidden",
735
- children: [/* @__PURE__ */ M("button", {
654
+ children: [/* @__PURE__ */ N("button", {
736
655
  type: "button",
737
- onClick: () => me(e.id),
656
+ onClick: () => de(t.id),
738
657
  className: "flex w-full items-start justify-between gap-3 px-4 py-4 text-left hover:bg-accent/50 transition-colors",
739
- children: [/* @__PURE__ */ M("div", {
658
+ children: [/* @__PURE__ */ N("div", {
740
659
  className: "flex-1 min-w-0",
741
- children: [/* @__PURE__ */ M("div", {
660
+ children: [/* @__PURE__ */ N("div", {
742
661
  className: "flex flex-wrap items-center gap-2 mb-1",
743
- children: [/* @__PURE__ */ j("span", {
662
+ children: [/* @__PURE__ */ M("span", {
744
663
  className: "inline-flex items-center rounded-full bg-bg-sunken px-2 py-0.5 text-xs font-medium text-text-secondary",
745
- children: e.category
746
- }), /* @__PURE__ */ M("span", {
664
+ children: t.category
665
+ }), /* @__PURE__ */ N("span", {
747
666
  className: "inline-flex items-center gap-1 text-xs text-text-secondary",
748
- children: [/* @__PURE__ */ j(S, { className: "h-3 w-3" }), e.helpful]
667
+ children: [/* @__PURE__ */ M(C, { className: "h-3 w-3" }), t.helpful]
749
668
  })]
750
- }), /* @__PURE__ */ j("span", {
751
- className: t("text-sm", n ? "font-semibold text-text-primary" : "font-medium text-text-primary"),
752
- children: e.question
669
+ }), /* @__PURE__ */ M("span", {
670
+ className: e("text-sm", n ? "font-semibold text-text-primary" : "font-medium text-text-primary"),
671
+ children: t.question
753
672
  })]
754
- }), j(n ? ne : te, { className: "h-4 w-4 text-text-secondary shrink-0 mt-1" })]
755
- }), n && /* @__PURE__ */ M("div", {
673
+ }), M(n ? u : l, { className: "h-4 w-4 text-text-secondary shrink-0 mt-1" })]
674
+ }), n && /* @__PURE__ */ N("div", {
756
675
  className: "border-t border-border-subtle px-4 pb-4 pt-3",
757
- children: [/* @__PURE__ */ j("p", {
676
+ children: [/* @__PURE__ */ M("p", {
758
677
  className: "text-sm text-text-secondary leading-relaxed mb-3",
759
- children: e.answer
760
- }), /* @__PURE__ */ M("div", {
678
+ children: t.answer
679
+ }), /* @__PURE__ */ N("div", {
761
680
  className: "flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",
762
- children: [/* @__PURE__ */ j("div", {
681
+ children: [/* @__PURE__ */ M("div", {
763
682
  className: "flex flex-wrap gap-1.5",
764
- children: e.tags.map((e) => /* @__PURE__ */ M("span", {
683
+ children: t.tags.map((e) => /* @__PURE__ */ N("span", {
765
684
  className: "inline-flex items-center gap-1 rounded-full bg-bg-sunken px-2 py-0.5 text-xs text-text-secondary",
766
- children: [/* @__PURE__ */ j(x, { className: "h-2.5 w-2.5" }), e]
685
+ children: [/* @__PURE__ */ M(se, { className: "h-2.5 w-2.5" }), e]
767
686
  }, e))
768
- }), /* @__PURE__ */ M("button", {
687
+ }), /* @__PURE__ */ N("button", {
769
688
  type: "button",
770
- onClick: (t) => {
771
- t.stopPropagation(), he(e.id);
689
+ onClick: (e) => {
690
+ e.stopPropagation(), fe(t.id);
772
691
  },
773
692
  className: "flex items-center gap-1.5 rounded-lg border border-border-subtle px-3 py-1.5 text-xs font-medium text-text-secondary hover:bg-accent hover:text-text-primary transition-colors",
774
693
  children: [
775
- /* @__PURE__ */ j(S, { className: "h-3.5 w-3.5" }),
694
+ /* @__PURE__ */ M(C, { className: "h-3.5 w-3.5" }),
776
695
  "Helpful (",
777
- e.helpful,
696
+ t.helpful,
778
697
  ")"
779
698
  ]
780
699
  })]
781
700
  })]
782
701
  })]
783
- }, e.id);
702
+ }, t.id);
784
703
  })
785
- }) : /* @__PURE__ */ j(r, {
704
+ }) : /* @__PURE__ */ M(n, {
786
705
  illustration: "empty-search",
787
706
  title: "No FAQs found",
788
707
  description: "Try adjusting your search or browse different categories. If you still can't find an answer, contact support.",
789
- action: /* @__PURE__ */ j("button", {
708
+ action: /* @__PURE__ */ M("button", {
790
709
  type: "button",
791
710
  onClick: () => {
792
- h(""), y("");
711
+ m(""), y("");
793
712
  },
794
713
  className: "rounded-lg border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
795
714
  children: "Clear all filters"
796
715
  })
797
716
  })] }),
798
- u === "contact" && /* @__PURE__ */ M("div", {
717
+ s === "contact" && /* @__PURE__ */ N("div", {
799
718
  className: "space-y-6",
800
719
  children: [
801
- /* @__PURE__ */ M("div", { children: [/* @__PURE__ */ j("h2", {
720
+ /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("h2", {
802
721
  className: "text-base font-semibold text-text-primary mb-3",
803
722
  children: "Get in Touch"
804
- }), /* @__PURE__ */ j("div", {
723
+ }), /* @__PURE__ */ M("div", {
805
724
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
806
- children: P.map((e) => {
807
- let n = e.icon;
808
- return /* @__PURE__ */ j("div", {
725
+ children: F.map((t) => {
726
+ let n = t.icon;
727
+ return /* @__PURE__ */ M("div", {
809
728
  className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
810
- children: /* @__PURE__ */ M("div", {
729
+ children: /* @__PURE__ */ N("div", {
811
730
  className: "flex items-start gap-4",
812
- children: [/* @__PURE__ */ j("div", {
731
+ children: [/* @__PURE__ */ M("div", {
813
732
  className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-lg bg-bg-sunken",
814
- children: /* @__PURE__ */ j(n, { className: "h-6 w-6 text-text-secondary" })
815
- }), /* @__PURE__ */ M("div", {
733
+ children: /* @__PURE__ */ M(n, { className: "h-6 w-6 text-text-secondary" })
734
+ }), /* @__PURE__ */ N("div", {
816
735
  className: "flex-1 min-w-0",
817
736
  children: [
818
- /* @__PURE__ */ j("h3", {
737
+ /* @__PURE__ */ M("h3", {
819
738
  className: "text-sm font-semibold text-text-primary",
820
- children: e.label
739
+ children: t.label
821
740
  }),
822
- /* @__PURE__ */ j("p", {
741
+ /* @__PURE__ */ M("p", {
823
742
  className: "text-sm text-text-primary mt-0.5 break-words",
824
- children: e.value
743
+ children: t.value
825
744
  }),
826
- /* @__PURE__ */ M("div", {
745
+ /* @__PURE__ */ N("div", {
827
746
  className: "flex items-center gap-1 mt-1 text-xs text-text-secondary",
828
- children: [/* @__PURE__ */ j(f, { className: "h-3 w-3" }), e.responseTime]
747
+ children: [/* @__PURE__ */ M(p, { className: "h-3 w-3" }), t.responseTime]
829
748
  }),
830
- /* @__PURE__ */ M("button", {
749
+ /* @__PURE__ */ N("button", {
831
750
  type: "button",
832
- onClick: () => $(e),
833
- disabled: !e.available,
834
- className: t("mt-3 flex items-center gap-1.5 rounded-lg px-4 py-2 text-sm font-medium transition-colors", e.available ? "bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg/90" : "bg-bg-sunken text-text-secondary cursor-not-allowed"),
835
- children: [e.type === "chat" ? "Start Chat" : e.type === "email" ? "Send Email" : "Contact", /* @__PURE__ */ j(re, { className: "h-3.5 w-3.5" })]
751
+ onClick: () => $(t),
752
+ disabled: !t.available,
753
+ className: e("mt-3 flex items-center gap-1.5 rounded-lg px-4 py-2 text-sm font-medium transition-colors", t.available ? "bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg/90" : "bg-bg-sunken text-text-secondary cursor-not-allowed"),
754
+ children: [t.type === "chat" ? "Start Chat" : t.type === "email" ? "Send Email" : "Contact", /* @__PURE__ */ M(te, { className: "h-3.5 w-3.5" })]
836
755
  })
837
756
  ]
838
757
  })]
839
758
  })
840
- }, e.type);
759
+ }, t.type);
841
760
  })
842
761
  })] }),
843
- /* @__PURE__ */ M("div", {
762
+ /* @__PURE__ */ N("div", {
844
763
  className: "rounded-lg border border-border-subtle bg-bg-surface",
845
- children: [/* @__PURE__ */ M("div", {
764
+ children: [/* @__PURE__ */ N("div", {
846
765
  className: "flex items-center justify-between border-b border-border-subtle px-5 py-4",
847
- children: [/* @__PURE__ */ M("div", { children: [/* @__PURE__ */ j("h2", {
766
+ children: [/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("h2", {
848
767
  className: "text-base font-semibold text-text-primary",
849
768
  children: "Submit a Support Ticket"
850
- }), /* @__PURE__ */ j("p", {
769
+ }), /* @__PURE__ */ M("p", {
851
770
  className: "text-xs text-text-secondary mt-0.5",
852
771
  children: "Can't find your answer? Create a ticket and our team will help."
853
- })] }), /* @__PURE__ */ M("button", {
772
+ })] }), /* @__PURE__ */ N("button", {
854
773
  type: "button",
855
- onClick: () => H(!V),
774
+ onClick: () => H(!A),
856
775
  className: "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",
857
- children: [/* @__PURE__ */ j(C, { className: "h-4 w-4" }), V ? "Close" : "New Ticket"]
776
+ children: [/* @__PURE__ */ M(w, { className: "h-4 w-4" }), A ? "Close" : "New Ticket"]
858
777
  })]
859
- }), V && /* @__PURE__ */ M("div", {
778
+ }), A && /* @__PURE__ */ N("div", {
860
779
  className: "p-5 space-y-4",
861
780
  children: [
862
- q && /* @__PURE__ */ M("div", {
781
+ q && /* @__PURE__ */ N("div", {
863
782
  className: "flex items-center gap-2 rounded-lg border border-status-error-text/30 bg-status-error-bg-subtle px-3 py-2 text-sm text-status-error-text",
864
- children: [/* @__PURE__ */ j(s, { className: "h-4 w-4 shrink-0" }), q]
783
+ children: [/* @__PURE__ */ M(ee, { className: "h-4 w-4 shrink-0" }), q]
865
784
  }),
866
- /* @__PURE__ */ M("div", { children: [/* @__PURE__ */ M("label", {
785
+ /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ N("label", {
867
786
  className: "block text-sm font-medium text-text-primary mb-1.5",
868
- children: ["Subject ", /* @__PURE__ */ j("span", {
787
+ children: ["Subject ", /* @__PURE__ */ M("span", {
869
788
  className: "text-status-error-text",
870
789
  children: "*"
871
790
  })]
872
- }), /* @__PURE__ */ j("input", {
791
+ }), /* @__PURE__ */ M("input", {
873
792
  type: "text",
874
793
  value: Y.subject,
875
794
  onChange: (e) => X((t) => ({
@@ -879,32 +798,32 @@ function V() {
879
798
  placeholder: "Brief description of your issue",
880
799
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
881
800
  })] }),
882
- /* @__PURE__ */ M("div", {
801
+ /* @__PURE__ */ N("div", {
883
802
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
884
- children: [/* @__PURE__ */ M("div", { children: [/* @__PURE__ */ M("label", {
803
+ children: [/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ N("label", {
885
804
  className: "block text-sm font-medium text-text-primary mb-1.5",
886
- children: ["Category ", /* @__PURE__ */ j("span", {
805
+ children: ["Category ", /* @__PURE__ */ M("span", {
887
806
  className: "text-status-error-text",
888
807
  children: "*"
889
808
  })]
890
- }), /* @__PURE__ */ M("select", {
809
+ }), /* @__PURE__ */ N("select", {
891
810
  value: Y.category,
892
811
  onChange: (e) => X((t) => ({
893
812
  ...t,
894
813
  category: e.target.value
895
814
  })),
896
815
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
897
- children: [/* @__PURE__ */ j("option", {
816
+ children: [/* @__PURE__ */ M("option", {
898
817
  value: "",
899
818
  children: "Select category"
900
- }), N.map((e) => /* @__PURE__ */ j("option", {
819
+ }), P.map((e) => /* @__PURE__ */ M("option", {
901
820
  value: e,
902
821
  children: e
903
822
  }, e))]
904
- })] }), /* @__PURE__ */ M("div", { children: [/* @__PURE__ */ j("label", {
823
+ })] }), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("label", {
905
824
  className: "block text-sm font-medium text-text-primary mb-1.5",
906
825
  children: "Priority"
907
- }), /* @__PURE__ */ M("select", {
826
+ }), /* @__PURE__ */ N("select", {
908
827
  value: Y.priority,
909
828
  onChange: (e) => X((t) => ({
910
829
  ...t,
@@ -912,32 +831,32 @@ function V() {
912
831
  })),
913
832
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
914
833
  children: [
915
- /* @__PURE__ */ j("option", {
834
+ /* @__PURE__ */ M("option", {
916
835
  value: "low",
917
836
  children: "Low"
918
837
  }),
919
- /* @__PURE__ */ j("option", {
838
+ /* @__PURE__ */ M("option", {
920
839
  value: "medium",
921
840
  children: "Medium"
922
841
  }),
923
- /* @__PURE__ */ j("option", {
842
+ /* @__PURE__ */ M("option", {
924
843
  value: "high",
925
844
  children: "High"
926
845
  }),
927
- /* @__PURE__ */ j("option", {
846
+ /* @__PURE__ */ M("option", {
928
847
  value: "urgent",
929
848
  children: "Urgent"
930
849
  })
931
850
  ]
932
851
  })] })]
933
852
  }),
934
- /* @__PURE__ */ M("div", { children: [/* @__PURE__ */ M("label", {
853
+ /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ N("label", {
935
854
  className: "block text-sm font-medium text-text-primary mb-1.5",
936
- children: ["Description ", /* @__PURE__ */ j("span", {
855
+ children: ["Description ", /* @__PURE__ */ M("span", {
937
856
  className: "text-status-error-text",
938
857
  children: "*"
939
858
  })]
940
- }), /* @__PURE__ */ j("textarea", {
859
+ }), /* @__PURE__ */ M("textarea", {
941
860
  rows: 5,
942
861
  value: Y.description,
943
862
  onChange: (e) => X((t) => ({
@@ -947,33 +866,33 @@ function V() {
947
866
  placeholder: "Please describe your issue in detail...",
948
867
  className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] resize-none"
949
868
  })] }),
950
- /* @__PURE__ */ M("div", {
869
+ /* @__PURE__ */ N("div", {
951
870
  className: "rounded-lg bg-[var(--color-accent-soft)] border border-border-focus/20 p-4",
952
- children: [/* @__PURE__ */ M("div", {
871
+ children: [/* @__PURE__ */ N("div", {
953
872
  className: "flex items-center gap-2 mb-2",
954
- children: [/* @__PURE__ */ j(se, { className: "h-4 w-4 text-text-primary" }), /* @__PURE__ */ j("h4", {
873
+ children: [/* @__PURE__ */ M(ae, { className: "h-4 w-4 text-text-primary" }), /* @__PURE__ */ M("h4", {
955
874
  className: "text-sm font-medium text-text-primary",
956
875
  children: "Tips for faster resolution"
957
876
  })]
958
- }), /* @__PURE__ */ M("ul", {
877
+ }), /* @__PURE__ */ N("ul", {
959
878
  className: "text-xs text-text-primary space-y-1 ml-6 list-disc",
960
879
  children: [
961
- /* @__PURE__ */ j("li", { children: "Be specific about the issue and include steps to reproduce it" }),
962
- /* @__PURE__ */ j("li", { children: "Include relevant order IDs, transaction IDs, or error messages" }),
963
- /* @__PURE__ */ j("li", { children: "Mention your device type and app version for technical issues" }),
964
- /* @__PURE__ */ j("li", { children: "Attach screenshots if they help illustrate the problem" })
880
+ /* @__PURE__ */ M("li", { children: "Be specific about the issue and include steps to reproduce it" }),
881
+ /* @__PURE__ */ M("li", { children: "Include relevant order IDs, transaction IDs, or error messages" }),
882
+ /* @__PURE__ */ M("li", { children: "Mention your device type and app version for technical issues" }),
883
+ /* @__PURE__ */ M("li", { children: "Attach screenshots if they help illustrate the problem" })
965
884
  ]
966
885
  })]
967
886
  }),
968
- /* @__PURE__ */ M("div", {
887
+ /* @__PURE__ */ N("div", {
969
888
  className: "flex items-center gap-3 pt-1",
970
- children: [/* @__PURE__ */ j("button", {
889
+ children: [/* @__PURE__ */ M("button", {
971
890
  type: "button",
972
- onClick: ge,
891
+ onClick: pe,
973
892
  disabled: U,
974
- className: t("flex items-center gap-2 rounded-lg px-5 py-2.5 text-sm font-medium text-action-primary-text transition-colors", U ? "bg-action-primary-bg/70 cursor-not-allowed" : "bg-action-primary-bg hover:bg-action-primary-bg/90"),
975
- children: U ? /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j("span", { className: "h-4 w-4 animate-spin rounded-full border-2 border-primary-foreground/30 border-t-primary-foreground" }), "Submitting..."] }) : /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j(le, { className: "h-4 w-4" }), "Submit Ticket"] })
976
- }), /* @__PURE__ */ j("button", {
893
+ className: e("flex items-center gap-2 rounded-lg px-5 py-2.5 text-sm font-medium text-action-primary-text transition-colors", U ? "bg-action-primary-bg/70 cursor-not-allowed" : "bg-action-primary-bg hover:bg-action-primary-bg/90"),
894
+ children: U ? /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M("span", { className: "h-4 w-4 animate-spin rounded-full border-2 border-primary-foreground/30 border-t-primary-foreground" }), "Submitting..."] }) : /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M(b, { className: "h-4 w-4" }), "Submit Ticket"] })
895
+ }), /* @__PURE__ */ M("button", {
977
896
  type: "button",
978
897
  onClick: () => {
979
898
  H(!1), J("");
@@ -985,93 +904,93 @@ function V() {
985
904
  ]
986
905
  })]
987
906
  }),
988
- /* @__PURE__ */ M("div", {
907
+ /* @__PURE__ */ N("div", {
989
908
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
990
- children: [/* @__PURE__ */ M("div", {
909
+ children: [/* @__PURE__ */ N("div", {
991
910
  className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
992
- children: [/* @__PURE__ */ M("div", {
911
+ children: [/* @__PURE__ */ N("div", {
993
912
  className: "flex items-center gap-2 mb-3",
994
- children: [/* @__PURE__ */ j(f, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ j("h3", {
913
+ children: [/* @__PURE__ */ M(p, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ M("h3", {
995
914
  className: "text-sm font-semibold text-text-primary",
996
915
  children: "Support Hours"
997
916
  })]
998
- }), /* @__PURE__ */ M("div", {
917
+ }), /* @__PURE__ */ N("div", {
999
918
  className: "space-y-2 text-sm",
1000
919
  children: [
1001
- /* @__PURE__ */ M("div", {
920
+ /* @__PURE__ */ N("div", {
1002
921
  className: "flex justify-between",
1003
- children: [/* @__PURE__ */ j("span", {
922
+ children: [/* @__PURE__ */ M("span", {
1004
923
  className: "text-text-secondary",
1005
924
  children: "Monday - Friday"
1006
- }), /* @__PURE__ */ j("span", {
925
+ }), /* @__PURE__ */ M("span", {
1007
926
  className: "font-medium text-text-primary",
1008
927
  children: "9:00 AM - 9:00 PM IST"
1009
928
  })]
1010
929
  }),
1011
- /* @__PURE__ */ M("div", {
930
+ /* @__PURE__ */ N("div", {
1012
931
  className: "flex justify-between",
1013
- children: [/* @__PURE__ */ j("span", {
932
+ children: [/* @__PURE__ */ M("span", {
1014
933
  className: "text-text-secondary",
1015
934
  children: "Saturday"
1016
- }), /* @__PURE__ */ j("span", {
935
+ }), /* @__PURE__ */ M("span", {
1017
936
  className: "font-medium text-text-primary",
1018
937
  children: "10:00 AM - 6:00 PM IST"
1019
938
  })]
1020
939
  }),
1021
- /* @__PURE__ */ M("div", {
940
+ /* @__PURE__ */ N("div", {
1022
941
  className: "flex justify-between",
1023
- children: [/* @__PURE__ */ j("span", {
942
+ children: [/* @__PURE__ */ M("span", {
1024
943
  className: "text-text-secondary",
1025
944
  children: "Sunday"
1026
- }), /* @__PURE__ */ j("span", {
945
+ }), /* @__PURE__ */ M("span", {
1027
946
  className: "font-medium text-text-primary",
1028
947
  children: "Closed"
1029
948
  })]
1030
949
  }),
1031
- /* @__PURE__ */ M("div", {
950
+ /* @__PURE__ */ N("div", {
1032
951
  className: "flex justify-between pt-2 border-t border-border-subtle",
1033
- children: [/* @__PURE__ */ j("span", {
952
+ children: [/* @__PURE__ */ M("span", {
1034
953
  className: "text-text-secondary",
1035
954
  children: "Email Support"
1036
- }), /* @__PURE__ */ j("span", {
955
+ }), /* @__PURE__ */ M("span", {
1037
956
  className: "font-medium text-text-primary",
1038
957
  children: "24/7"
1039
958
  })]
1040
959
  })
1041
960
  ]
1042
961
  })]
1043
- }), /* @__PURE__ */ M("div", {
962
+ }), /* @__PURE__ */ N("div", {
1044
963
  className: "rounded-lg border border-status-error-text/20 bg-status-error-bg-subtle p-5",
1045
964
  children: [
1046
- /* @__PURE__ */ M("div", {
965
+ /* @__PURE__ */ N("div", {
1047
966
  className: "flex items-center gap-2 mb-3",
1048
- children: [/* @__PURE__ */ j(c, { className: "h-5 w-5 text-status-error-text" }), /* @__PURE__ */ j("h3", {
967
+ children: [/* @__PURE__ */ M(o, { className: "h-5 w-5 text-status-error-text" }), /* @__PURE__ */ M("h3", {
1049
968
  className: "text-sm font-semibold text-status-error-text",
1050
969
  children: "Emergency Contact"
1051
970
  })]
1052
971
  }),
1053
- /* @__PURE__ */ j("p", {
972
+ /* @__PURE__ */ M("p", {
1054
973
  className: "text-sm text-status-error-text mb-3",
1055
974
  children: "For urgent issues like safety concerns, fraud, or account compromise:"
1056
975
  }),
1057
- /* @__PURE__ */ M("div", {
976
+ /* @__PURE__ */ N("div", {
1058
977
  className: "space-y-2",
1059
- children: [/* @__PURE__ */ M("div", {
978
+ children: [/* @__PURE__ */ N("div", {
1060
979
  className: "flex items-center gap-2 text-sm",
1061
980
  children: [
1062
- /* @__PURE__ */ j(_, { className: "h-4 w-4 text-status-error-text" }),
1063
- /* @__PURE__ */ j("span", {
981
+ /* @__PURE__ */ M(v, { className: "h-4 w-4 text-status-error-text" }),
982
+ /* @__PURE__ */ M("span", {
1064
983
  className: "font-medium text-status-error-text",
1065
984
  children: "+91 80-4012-9999"
1066
985
  }),
1067
- /* @__PURE__ */ j("span", {
986
+ /* @__PURE__ */ M("span", {
1068
987
  className: "text-xs text-status-error-text",
1069
988
  children: "(24/7)"
1070
989
  })
1071
990
  ]
1072
- }), /* @__PURE__ */ M("div", {
991
+ }), /* @__PURE__ */ N("div", {
1073
992
  className: "flex items-center gap-2 text-sm",
1074
- children: [/* @__PURE__ */ j(m, { className: "h-4 w-4 text-status-error-text" }), /* @__PURE__ */ j("span", {
993
+ children: [/* @__PURE__ */ M(h, { className: "h-4 w-4 text-status-error-text" }), /* @__PURE__ */ M("span", {
1075
994
  className: "font-medium text-status-error-text",
1076
995
  children: "emergency@kadaikodi.com"
1077
996
  })]
@@ -1080,228 +999,225 @@ function V() {
1080
999
  ]
1081
1000
  })]
1082
1001
  }),
1083
- /* @__PURE__ */ M("div", { children: [/* @__PURE__ */ j("h2", {
1002
+ /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("h2", {
1084
1003
  className: "text-base font-semibold text-text-primary mb-3",
1085
1004
  children: "Popular Articles"
1086
- }), /* @__PURE__ */ j("div", {
1005
+ }), /* @__PURE__ */ M("div", {
1087
1006
  className: "grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",
1088
- children: L.map((e) => /* @__PURE__ */ M("button", {
1007
+ children: L.map((e) => /* @__PURE__ */ N("button", {
1089
1008
  type: "button",
1090
1009
  className: "flex items-start gap-3 rounded-lg border border-border-subtle bg-bg-surface p-4 text-left hover:bg-accent/50 transition-colors",
1091
- children: [/* @__PURE__ */ j(ie, { className: "h-5 w-5 text-text-secondary shrink-0 mt-0.5" }), /* @__PURE__ */ M("div", {
1010
+ children: [/* @__PURE__ */ M(ne, { className: "h-5 w-5 text-text-secondary shrink-0 mt-0.5" }), /* @__PURE__ */ N("div", {
1092
1011
  className: "min-w-0",
1093
- children: [/* @__PURE__ */ j("p", {
1012
+ children: [/* @__PURE__ */ M("p", {
1094
1013
  className: "text-sm font-medium text-text-primary truncate",
1095
1014
  children: e.title
1096
1015
  }), /* @__PURE__ */ M("div", {
1097
1016
  className: "flex items-center gap-2 mt-1",
1098
- children: [/* @__PURE__ */ j("span", {
1017
+ children: /* @__PURE__ */ M("span", {
1099
1018
  className: "text-xs text-text-secondary",
1100
1019
  children: e.category
1101
- }), /* @__PURE__ */ M("span", {
1102
- className: "text-xs text-text-secondary",
1103
- children: [e.views.toLocaleString("en-IN"), " views"]
1104
- })]
1020
+ })
1105
1021
  })]
1106
1022
  })]
1107
1023
  }, e.id))
1108
1024
  })] })
1109
1025
  ]
1110
1026
  }),
1111
- u === "tickets" && /* @__PURE__ */ M("div", {
1027
+ s === "tickets" && /* @__PURE__ */ N("div", {
1112
1028
  className: "space-y-4",
1113
1029
  children: [
1114
- /* @__PURE__ */ M("div", {
1030
+ /* @__PURE__ */ N("div", {
1115
1031
  className: "grid grid-cols-2 gap-3 sm:grid-cols-4",
1116
1032
  children: [
1117
- /* @__PURE__ */ M("div", {
1033
+ /* @__PURE__ */ N("div", {
1118
1034
  className: "rounded-lg border border-border-subtle bg-bg-surface p-3 text-center",
1119
- children: [/* @__PURE__ */ j("p", {
1035
+ children: [/* @__PURE__ */ M("p", {
1120
1036
  className: "text-2xl font-bold text-text-primary",
1121
1037
  children: Q.total
1122
- }), /* @__PURE__ */ j("p", {
1038
+ }), /* @__PURE__ */ M("p", {
1123
1039
  className: "text-xs text-text-secondary",
1124
1040
  children: "Total"
1125
1041
  })]
1126
1042
  }),
1127
- /* @__PURE__ */ M("div", {
1043
+ /* @__PURE__ */ N("div", {
1128
1044
  className: "rounded-lg border border-border-subtle bg-bg-surface p-3 text-center",
1129
- children: [/* @__PURE__ */ j("p", {
1045
+ children: [/* @__PURE__ */ M("p", {
1130
1046
  className: "text-2xl font-bold text-text-primary",
1131
1047
  children: Q.open
1132
- }), /* @__PURE__ */ j("p", {
1048
+ }), /* @__PURE__ */ M("p", {
1133
1049
  className: "text-xs text-text-secondary",
1134
1050
  children: "Open"
1135
1051
  })]
1136
1052
  }),
1137
- /* @__PURE__ */ M("div", {
1053
+ /* @__PURE__ */ N("div", {
1138
1054
  className: "rounded-lg border border-border-subtle bg-bg-surface p-3 text-center",
1139
- children: [/* @__PURE__ */ j("p", {
1055
+ children: [/* @__PURE__ */ M("p", {
1140
1056
  className: "text-2xl font-bold text-status-warning-text",
1141
1057
  children: Q.inProgress
1142
- }), /* @__PURE__ */ j("p", {
1058
+ }), /* @__PURE__ */ M("p", {
1143
1059
  className: "text-xs text-text-secondary",
1144
1060
  children: "In Progress"
1145
1061
  })]
1146
1062
  }),
1147
- /* @__PURE__ */ M("div", {
1063
+ /* @__PURE__ */ N("div", {
1148
1064
  className: "rounded-lg border border-border-subtle bg-bg-surface p-3 text-center",
1149
- children: [/* @__PURE__ */ j("p", {
1065
+ children: [/* @__PURE__ */ M("p", {
1150
1066
  className: "text-2xl font-bold text-status-success-text",
1151
1067
  children: Q.resolved
1152
- }), /* @__PURE__ */ j("p", {
1068
+ }), /* @__PURE__ */ M("p", {
1153
1069
  className: "text-xs text-text-secondary",
1154
1070
  children: "Resolved"
1155
1071
  })]
1156
1072
  })
1157
1073
  ]
1158
1074
  }),
1159
- /* @__PURE__ */ M("div", {
1075
+ /* @__PURE__ */ N("div", {
1160
1076
  className: "flex items-center justify-between",
1161
- children: [/* @__PURE__ */ M("p", {
1077
+ children: [/* @__PURE__ */ N("p", {
1162
1078
  className: "text-sm text-text-secondary",
1163
1079
  children: [
1164
1080
  D.length,
1165
1081
  " ticket",
1166
1082
  D.length === 1 ? "" : "s"
1167
1083
  ]
1168
- }), /* @__PURE__ */ M("button", {
1084
+ }), /* @__PURE__ */ N("button", {
1169
1085
  type: "button",
1170
1086
  onClick: () => {
1171
1087
  H(!0), d("contact");
1172
1088
  },
1173
1089
  className: "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",
1174
- children: [/* @__PURE__ */ j(C, { className: "h-4 w-4" }), "New Ticket"]
1090
+ children: [/* @__PURE__ */ M(w, { className: "h-4 w-4" }), "New Ticket"]
1175
1091
  })]
1176
1092
  }),
1177
- D.length === 0 ? /* @__PURE__ */ j(r, {
1093
+ D.length === 0 ? /* @__PURE__ */ M(n, {
1178
1094
  illustration: "empty-notifications",
1179
1095
  title: "No support tickets",
1180
1096
  description: "You haven't created any support tickets yet. If something needs a human, open one and we'll follow up here.",
1181
- action: /* @__PURE__ */ M("button", {
1097
+ action: /* @__PURE__ */ N("button", {
1182
1098
  type: "button",
1183
1099
  onClick: () => {
1184
1100
  H(!0), d("contact");
1185
1101
  },
1186
1102
  className: "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",
1187
- children: [/* @__PURE__ */ j(C, { className: "h-4 w-4" }), "Create Your First Ticket"]
1103
+ children: [/* @__PURE__ */ M(w, { className: "h-4 w-4" }), "Create Your First Ticket"]
1188
1104
  })
1189
- }) : /* @__PURE__ */ j("div", {
1105
+ }) : /* @__PURE__ */ M("div", {
1190
1106
  className: "space-y-4",
1191
- children: D.map((e) => {
1192
- let n = R(e.status), r = e.responses.length > 0 ? e.responses[e.responses.length - 1] : null;
1193
- return /* @__PURE__ */ M("div", {
1107
+ children: D.map((t) => {
1108
+ let n = R(t.status), i = t.responses.length > 0 ? t.responses[t.responses.length - 1] : null;
1109
+ return /* @__PURE__ */ N("div", {
1194
1110
  className: "rounded-lg border border-border-subtle bg-bg-surface overflow-hidden",
1195
- children: [/* @__PURE__ */ M("div", {
1111
+ children: [/* @__PURE__ */ N("div", {
1196
1112
  className: "p-4 sm:p-5",
1197
1113
  children: [
1198
- /* @__PURE__ */ M("div", {
1114
+ /* @__PURE__ */ N("div", {
1199
1115
  className: "flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",
1200
- children: [/* @__PURE__ */ M("div", {
1116
+ children: [/* @__PURE__ */ N("div", {
1201
1117
  className: "flex-1 min-w-0",
1202
- children: [/* @__PURE__ */ M("div", {
1118
+ children: [/* @__PURE__ */ N("div", {
1203
1119
  className: "flex items-center gap-2 mb-1",
1204
- children: [/* @__PURE__ */ j(n, { className: t("h-4 w-4", z(e.status).split(" ").slice(1).join(" ")) }), /* @__PURE__ */ j("h3", {
1120
+ children: [/* @__PURE__ */ M(n, { className: e("h-4 w-4", z(t.status).split(" ").slice(1).join(" ")) }), /* @__PURE__ */ M("h3", {
1205
1121
  className: "text-sm font-semibold text-text-primary truncate",
1206
- children: e.subject
1122
+ children: t.subject
1207
1123
  })]
1208
- }), /* @__PURE__ */ M("p", {
1124
+ }), /* @__PURE__ */ N("p", {
1209
1125
  className: "text-xs text-text-secondary",
1210
1126
  children: [
1211
- e.category,
1127
+ t.category,
1212
1128
  " · ",
1213
- e.id
1129
+ t.id
1214
1130
  ]
1215
1131
  })]
1216
- }), /* @__PURE__ */ M("div", {
1132
+ }), /* @__PURE__ */ N("div", {
1217
1133
  className: "flex flex-wrap gap-2",
1218
- children: [/* @__PURE__ */ j("span", {
1219
- className: t("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium", B(e.priority)),
1220
- children: e.priority.toUpperCase()
1221
- }), /* @__PURE__ */ j("span", {
1222
- className: t("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium", z(e.status)),
1223
- children: pe(e.status)
1134
+ children: [/* @__PURE__ */ M("span", {
1135
+ className: e("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium", B(t.priority)),
1136
+ children: t.priority.toUpperCase()
1137
+ }), /* @__PURE__ */ M("span", {
1138
+ className: e("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium", z(t.status)),
1139
+ children: V(t.status)
1224
1140
  })]
1225
1141
  })]
1226
1142
  }),
1227
- /* @__PURE__ */ j("p", {
1143
+ /* @__PURE__ */ M("p", {
1228
1144
  className: "text-sm text-text-secondary mt-2 leading-relaxed",
1229
- children: e.description
1145
+ children: t.description
1230
1146
  }),
1231
- r && /* @__PURE__ */ M("div", {
1147
+ i && /* @__PURE__ */ N("div", {
1232
1148
  className: "mt-3 rounded-lg bg-bg-sunken/50 border border-border-subtle p-3",
1233
- children: [/* @__PURE__ */ M("div", {
1149
+ children: [/* @__PURE__ */ N("div", {
1234
1150
  className: "flex items-center gap-1.5 mb-1",
1235
1151
  children: [
1236
- /* @__PURE__ */ j(g, { className: "h-3.5 w-3.5 text-text-secondary" }),
1237
- /* @__PURE__ */ j("span", {
1152
+ /* @__PURE__ */ M(_, { className: "h-3.5 w-3.5 text-text-secondary" }),
1153
+ /* @__PURE__ */ M("span", {
1238
1154
  className: "text-xs font-medium text-text-primary",
1239
- children: r.sender === "support" ? "Support Team" : "You"
1155
+ children: i.sender === "support" ? "Support Team" : "You"
1240
1156
  }),
1241
- /* @__PURE__ */ M("span", {
1157
+ /* @__PURE__ */ N("span", {
1242
1158
  className: "text-xs text-text-secondary",
1243
- children: ["· ", i(r.timestamp)]
1159
+ children: ["· ", r(i.timestamp)]
1244
1160
  })
1245
1161
  ]
1246
- }), /* @__PURE__ */ j("p", {
1162
+ }), /* @__PURE__ */ M("p", {
1247
1163
  className: "text-sm text-text-secondary",
1248
- children: r.message
1164
+ children: i.message
1249
1165
  })]
1250
1166
  }),
1251
- e.responses.length === 0 && e.status === "open" && /* @__PURE__ */ M("div", {
1167
+ t.responses.length === 0 && t.status === "open" && /* @__PURE__ */ N("div", {
1252
1168
  className: "mt-3 flex items-center gap-2 text-xs text-text-secondary",
1253
- children: [/* @__PURE__ */ j(oe, { className: "h-3.5 w-3.5" }), "Awaiting response from support team"]
1169
+ children: [/* @__PURE__ */ M(ie, { className: "h-3.5 w-3.5" }), "Awaiting response from support team"]
1254
1170
  })
1255
1171
  ]
1256
- }), /* @__PURE__ */ M("div", {
1172
+ }), /* @__PURE__ */ N("div", {
1257
1173
  className: "flex flex-col gap-1 border-t border-border-subtle bg-bg-sunken/30 px-4 py-2.5 sm:flex-row sm:items-center sm:justify-between text-xs text-text-secondary",
1258
1174
  children: [
1259
- /* @__PURE__ */ M("span", { children: ["Created: ", i(e.createdAt)] }),
1260
- /* @__PURE__ */ M("span", { children: ["Updated: ", i(e.updatedAt)] }),
1261
- /* @__PURE__ */ M("span", { children: [
1262
- e.responses.length,
1175
+ /* @__PURE__ */ N("span", { children: ["Created: ", r(t.createdAt)] }),
1176
+ /* @__PURE__ */ N("span", { children: ["Updated: ", r(t.updatedAt)] }),
1177
+ /* @__PURE__ */ N("span", { children: [
1178
+ t.responses.length,
1263
1179
  " response",
1264
- e.responses.length === 1 ? "" : "s"
1180
+ t.responses.length === 1 ? "" : "s"
1265
1181
  ] })
1266
1182
  ]
1267
1183
  })]
1268
- }, e.id);
1184
+ }, t.id);
1269
1185
  })
1270
1186
  })
1271
1187
  ]
1272
1188
  }),
1273
- /* @__PURE__ */ j("section", {
1189
+ /* @__PURE__ */ M("section", {
1274
1190
  className: "mt-8 rounded-lg border border-border-subtle bg-bg-sunken/30 p-5",
1275
- children: /* @__PURE__ */ M("div", {
1191
+ children: /* @__PURE__ */ N("div", {
1276
1192
  className: "flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",
1277
- children: [/* @__PURE__ */ M("div", { children: [/* @__PURE__ */ j("h3", {
1193
+ children: [/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("h3", {
1278
1194
  className: "text-sm font-semibold text-text-primary mb-1",
1279
1195
  children: "Still need help?"
1280
- }), /* @__PURE__ */ j("p", {
1196
+ }), /* @__PURE__ */ M("p", {
1281
1197
  className: "text-xs text-text-secondary",
1282
1198
  children: "Our support team is available Monday to Saturday. Average response time is under 4 hours."
1283
- })] }), /* @__PURE__ */ M("div", {
1199
+ })] }), /* @__PURE__ */ N("div", {
1284
1200
  className: "flex flex-wrap gap-2",
1285
1201
  children: [
1286
- /* @__PURE__ */ M("button", {
1202
+ /* @__PURE__ */ N("button", {
1287
1203
  type: "button",
1288
- onClick: () => $(P[0]),
1204
+ onClick: () => $(F[0]),
1289
1205
  className: "flex items-center gap-1.5 rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-xs font-medium text-text-primary hover:bg-accent transition-colors",
1290
- children: [/* @__PURE__ */ j(m, { className: "h-3.5 w-3.5" }), "Email Us"]
1206
+ children: [/* @__PURE__ */ M(h, { className: "h-3.5 w-3.5" }), "Email Us"]
1291
1207
  }),
1292
- /* @__PURE__ */ M("button", {
1208
+ /* @__PURE__ */ N("button", {
1293
1209
  type: "button",
1294
- onClick: () => $(P[1]),
1210
+ onClick: () => $(F[1]),
1295
1211
  className: "flex items-center gap-1.5 rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-xs font-medium text-text-primary hover:bg-accent transition-colors",
1296
- children: [/* @__PURE__ */ j(_, { className: "h-3.5 w-3.5" }), "Call Us"]
1212
+ children: [/* @__PURE__ */ M(v, { className: "h-3.5 w-3.5" }), "Call Us"]
1297
1213
  }),
1298
- /* @__PURE__ */ M("button", {
1214
+ /* @__PURE__ */ N("button", {
1299
1215
  type: "button",
1300
1216
  onClick: () => {
1301
1217
  H(!0), d("contact");
1302
1218
  },
1303
1219
  className: "flex items-center gap-1.5 rounded-lg bg-action-primary-bg px-3 py-2 text-xs font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
1304
- children: [/* @__PURE__ */ j(C, { className: "h-3.5 w-3.5" }), "Submit Ticket"]
1220
+ children: [/* @__PURE__ */ M(w, { className: "h-3.5 w-3.5" }), "Submit Ticket"]
1305
1221
  })
1306
1222
  ]
1307
1223
  })]
@@ -1311,6 +1227,6 @@ function V() {
1311
1227
  });
1312
1228
  }
1313
1229
  //#endregion
1314
- export { V as HelpSupportPage };
1230
+ export { H as HelpSupportPage };
1315
1231
 
1316
1232
  //# sourceMappingURL=HelpSupportPage.js.map