@burdenoff/microfe-healthybowl 2026.805.9 → 2026.809.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,16 +13,16 @@ import "../../components/index.js";
13
13
  import { useHealthyBowlData as ae } from "../../hooks/useHealthyBowlData.js";
14
14
  import { useEffect as oe, useRef as se, useState as u } from "react";
15
15
  import { useI18n as ce } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
16
- import { ArrowUpDown as le, Award as ue, ChevronDown as de, Clock as fe, Eye as pe, GitCompare as me, Globe as he, Heart as d, MapPin as ge, Pencil as _e, Plus as f, Star as p, Target as ve, Trash2 as ye, UserPlus as be, Users as xe, Zap as Se } from "lucide-react";
17
- import { Fragment as Ce, jsx as m, jsxs as h } from "react/jsx-runtime";
18
- import { Button as g, Select as _, SelectContent as v, SelectItem as y, SelectTrigger as b, SelectValue as x } from "@burdenoff/fe-libs/ui";
16
+ import { ArrowUpDown as le, Award as ue, ChevronDown as de, Clock as fe, Eye as pe, GitCompare as me, Globe as he, Heart as d, MapPin as ge, Pencil as _e, Plus as ve, Star as f, Target as ye, Trash2 as be, UserPlus as p, Users as xe, Zap as Se } from "lucide-react";
17
+ import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
18
+ import { Button as _, Select as v, SelectContent as y, SelectItem as b, SelectTrigger as x, SelectValue as S } from "@burdenoff/fe-libs/ui";
19
19
  //#region src/healthybowl/pages/network/MentorsPage.tsx
20
- var S = {
20
+ var C = {
21
21
  topic: "",
22
22
  requestedDate: "",
23
- mode: "video",
23
+ mode: "phone",
24
24
  notes: ""
25
- }, C = {
25
+ }, w = {
26
26
  name: "",
27
27
  specialization: "",
28
28
  experience: "",
@@ -34,14 +34,14 @@ var S = {
34
34
  mentoringSince: "",
35
35
  mentees: "",
36
36
  focusAreas: ""
37
- }, we = (e) => {
37
+ }, Ce = (e) => {
38
38
  switch (e) {
39
39
  case "CONFIRMED": return "success";
40
40
  case "COMPLETED": return "info";
41
41
  case "CANCELLED": return "muted";
42
42
  default: return "warning";
43
43
  }
44
- }, Te = [
44
+ }, we = [
45
45
  "All",
46
46
  "Cover Cropping",
47
47
  "No-Till Farming",
@@ -55,11 +55,11 @@ var S = {
55
55
  "Animal Welfare",
56
56
  "Drip Irrigation",
57
57
  "Water Conservation"
58
- ], Ee = [
58
+ ], Te = [
59
59
  "All",
60
60
  "Available",
61
61
  "Busy"
62
- ], De = (e) => {
62
+ ], T = (e) => {
63
63
  switch (e) {
64
64
  case "available": return "success";
65
65
  case "busy": return "warning";
@@ -67,73 +67,70 @@ var S = {
67
67
  default: return "default";
68
68
  }
69
69
  };
70
- function Oe(t) {
71
- return Array.from({ length: 5 }, (n, r) => /* @__PURE__ */ m(p, { className: e("h-3.5 w-3.5", r < Math.round(t) ? "fill-warning text-warning" : "text-muted") }, r));
70
+ function Ee(t) {
71
+ return Array.from({ length: 5 }, (n, r) => /* @__PURE__ */ h(f, { className: e("h-3.5 w-3.5", r < Math.round(t) ? "fill-warning text-warning" : "text-muted") }, r));
72
72
  }
73
- var w = () => {
74
- let { t: p } = ce(), { mentors: w, consultations: ke, createConsultation: Ae, createMentor: je, updateMentor: Me, deleteMentor: Ne, errors: Pe, loadings: Fe, refetch: Ie } = ae(), Le = [
75
- {
76
- value: "video",
77
- label: p("healthybowl.network.mentors.modes.video", "Video call")
78
- },
79
- {
80
- value: "phone",
81
- label: p("healthybowl.network.mentors.modes.phone", "Phone call")
82
- },
83
- {
84
- value: "in_person",
85
- label: p("healthybowl.network.mentors.modes.inPerson", "In person")
86
- }
87
- ], T = {
88
- rating: p("healthybowl.network.mentors.sort.rating", "Rating"),
89
- experience: p("healthybowl.network.mentors.sort.experience", "Experience"),
90
- mentees: p("healthybowl.network.mentors.sort.mentees", "Most Mentees"),
91
- "price-asc": p("healthybowl.network.mentors.sort.priceAsc", "Price: Low → High")
73
+ var E = () => {
74
+ let { t: f } = ce(), { mentors: E, consultations: De, createConsultation: Oe, createMentor: ke, updateMentor: Ae, deleteMentor: je, errors: Me, loadings: Ne, refetch: Pe } = ae(), Fe = [{
75
+ value: "phone",
76
+ label: f("healthybowl.network.mentors.modes.phone", "Phone call")
77
+ }, {
78
+ value: "in_person",
79
+ label: f("healthybowl.network.mentors.modes.inPerson", "In person")
80
+ }], Ie = {
81
+ video: f("healthybowl.network.mentors.modes.video", "Video call (coming soon)"),
82
+ phone: f("healthybowl.network.mentors.modes.phone", "Phone call"),
83
+ in_person: f("healthybowl.network.mentors.modes.inPerson", "In person")
84
+ }, D = {
85
+ rating: f("healthybowl.network.mentors.sort.rating", "Rating"),
86
+ experience: f("healthybowl.network.mentors.sort.experience", "Experience"),
87
+ mentees: f("healthybowl.network.mentors.sort.mentees", "Most Mentees"),
88
+ "price-asc": f("healthybowl.network.mentors.sort.priceAsc", "Price: Low → High")
89
+ }, Le = {
90
+ All: f("healthybowl.common.all", "All"),
91
+ "Cover Cropping": f("healthybowl.network.mentors.focusAreas.coverCropping", "Cover Cropping"),
92
+ "No-Till Farming": f("healthybowl.network.mentors.focusAreas.noTillFarming", "No-Till Farming"),
93
+ "Soil Regeneration": f("healthybowl.network.mentors.focusAreas.soilRegeneration", "Soil Regeneration"),
94
+ "Farm Business Plans": f("healthybowl.network.mentors.focusAreas.farmBusinessPlans", "Farm Business Plans"),
95
+ "Direct-to-Consumer Sales": f("healthybowl.network.mentors.focusAreas.directToConsumerSales", "Direct-to-Consumer Sales"),
96
+ "CSA Programs": f("healthybowl.network.mentors.focusAreas.csaPrograms", "CSA Programs"),
97
+ "Organic Certification": f("healthybowl.network.mentors.focusAreas.organicCertification", "Organic Certification"),
98
+ "Transition Planning": f("healthybowl.network.mentors.focusAreas.transitionPlanning", "Transition Planning"),
99
+ "Rotational Grazing": f("healthybowl.network.mentors.focusAreas.rotationalGrazing", "Rotational Grazing"),
100
+ "Animal Welfare": f("healthybowl.network.mentors.focusAreas.animalWelfare", "Animal Welfare"),
101
+ "Drip Irrigation": f("healthybowl.network.mentors.focusAreas.dripIrrigation", "Drip Irrigation"),
102
+ "Water Conservation": f("healthybowl.network.mentors.focusAreas.waterConservation", "Water Conservation")
92
103
  }, Re = {
93
- All: p("healthybowl.common.all", "All"),
94
- "Cover Cropping": p("healthybowl.network.mentors.focusAreas.coverCropping", "Cover Cropping"),
95
- "No-Till Farming": p("healthybowl.network.mentors.focusAreas.noTillFarming", "No-Till Farming"),
96
- "Soil Regeneration": p("healthybowl.network.mentors.focusAreas.soilRegeneration", "Soil Regeneration"),
97
- "Farm Business Plans": p("healthybowl.network.mentors.focusAreas.farmBusinessPlans", "Farm Business Plans"),
98
- "Direct-to-Consumer Sales": p("healthybowl.network.mentors.focusAreas.directToConsumerSales", "Direct-to-Consumer Sales"),
99
- "CSA Programs": p("healthybowl.network.mentors.focusAreas.csaPrograms", "CSA Programs"),
100
- "Organic Certification": p("healthybowl.network.mentors.focusAreas.organicCertification", "Organic Certification"),
101
- "Transition Planning": p("healthybowl.network.mentors.focusAreas.transitionPlanning", "Transition Planning"),
102
- "Rotational Grazing": p("healthybowl.network.mentors.focusAreas.rotationalGrazing", "Rotational Grazing"),
103
- "Animal Welfare": p("healthybowl.network.mentors.focusAreas.animalWelfare", "Animal Welfare"),
104
- "Drip Irrigation": p("healthybowl.network.mentors.focusAreas.dripIrrigation", "Drip Irrigation"),
105
- "Water Conservation": p("healthybowl.network.mentors.focusAreas.waterConservation", "Water Conservation")
106
- }, ze = {
107
- All: p("healthybowl.common.all", "All"),
108
- Available: p("healthybowl.network.mentors.availability.available", "Available"),
109
- Busy: p("healthybowl.network.mentors.availability.busy", "Busy")
110
- }, [E, Be] = u(""), [D, Ve] = u("All"), [O, k] = u("All"), [A, He] = u("rating"), [Ue, j] = u(!1), [We, Ge] = u(null), [M, Ke] = u(/* @__PURE__ */ new Set()), [qe, N] = u(!1), [P, F] = u(null), [I, L] = u(S), [R, Je] = u(!1), [Ye, z] = u(!1), [B, V] = u(null), [H, U] = u(C), [W, G] = u(!1), [Xe, K] = u(null), Ze = [
104
+ All: f("healthybowl.common.all", "All"),
105
+ Available: f("healthybowl.network.mentors.availability.available", "Available"),
106
+ Busy: f("healthybowl.network.mentors.availability.busy", "Busy")
107
+ }, [O, k] = u(""), [A, j] = u("All"), [M, N] = u("All"), [P, ze] = u("rating"), [Be, F] = u(!1), [Ve, He] = u(null), [I, Ue] = u(/* @__PURE__ */ new Set()), [We, L] = u(!1), [R, Ge] = u(null), [z, B] = u(C), [Ke, qe] = u(!1), [Je, V] = u(!1), [H, U] = u(null), [W, G] = u(w), [Ye, Xe] = u(!1), [Ze, Qe] = u(null), $e = [
111
108
  {
112
109
  value: "available",
113
- label: p("healthybowl.network.mentors.availability.available", "Available")
110
+ label: f("healthybowl.network.mentors.availability.available", "Available")
114
111
  },
115
112
  {
116
113
  value: "busy",
117
- label: p("healthybowl.network.mentors.availability.busy", "Busy")
114
+ label: f("healthybowl.network.mentors.availability.busy", "Busy")
118
115
  },
119
116
  {
120
117
  value: "offline",
121
- label: p("healthybowl.network.mentors.availability.offline", "Offline")
118
+ label: f("healthybowl.network.mentors.availability.offline", "Offline")
122
119
  }
123
- ], q = se(null), { toasts: Qe, toast: J, dismiss: $e } = ie(), et = ke.filter((e) => e.consultantType === "MENTOR"), Y = (e, t) => L((n) => ({
120
+ ], K = se(null), { toasts: et, toast: q, dismiss: tt } = ie(), nt = De.filter((e) => e.consultantType === "MENTOR"), J = (e, t) => B((n) => ({
124
121
  ...n,
125
122
  [e]: t
126
- })), tt = (e) => {
127
- L(S), F(e);
128
- }, X = () => {
129
- F(null), L(S);
130
- }, Z = (e, t) => U((n) => ({
123
+ })), rt = (e) => {
124
+ B(C), Ge(e);
125
+ }, Y = () => {
126
+ Ge(null), B(C);
127
+ }, X = (e, t) => G((n) => ({
131
128
  ...n,
132
129
  [e]: t
133
- })), nt = () => {
134
- V(null), U(C), z(!0);
135
- }, rt = (e) => {
136
- V(e), U({
130
+ })), it = () => {
131
+ U(null), G(w), V(!0);
132
+ }, at = (e) => {
133
+ U(e), G({
137
134
  name: e.name,
138
135
  specialization: e.specialization,
139
136
  experience: String(e.experience),
@@ -145,458 +142,458 @@ var w = () => {
145
142
  mentoringSince: (e.mentoringSince ?? "").slice(0, 10),
146
143
  mentees: String(e.mentees),
147
144
  focusAreas: (e.focusAreas ?? []).join(", ")
148
- }), z(!0);
149
- }, Q = () => {
150
- z(!1), V(null), U(C);
151
- }, it = async () => {
152
- if (!H.name.trim() || !H.specialization.trim() || !H.location.trim()) {
153
- J({
154
- title: p("healthybowl.network.mentors.form.toast.missingFields.title", "Missing required fields"),
155
- description: p("healthybowl.network.mentors.form.toast.missingFields.description", "Name, specialization, and location are required."),
145
+ }), V(!0);
146
+ }, Z = () => {
147
+ V(!1), U(null), G(w);
148
+ }, ot = async () => {
149
+ if (!W.name.trim() || !W.specialization.trim() || !W.location.trim()) {
150
+ q({
151
+ title: f("healthybowl.network.mentors.form.toast.missingFields.title", "Missing required fields"),
152
+ description: f("healthybowl.network.mentors.form.toast.missingFields.description", "Name, specialization, and location are required."),
156
153
  variant: "warning"
157
154
  });
158
155
  return;
159
156
  }
160
- let e = H.languages.split(",").map((e) => e.trim()).filter((e) => e.length > 0), t = H.focusAreas.split(",").map((e) => e.trim()).filter((e) => e.length > 0);
161
- G(!0);
157
+ let e = W.languages.split(",").map((e) => e.trim()).filter((e) => e.length > 0), t = W.focusAreas.split(",").map((e) => e.trim()).filter((e) => e.length > 0);
158
+ Xe(!0);
162
159
  try {
163
- B ? (await Me({
164
- id: B.id,
165
- name: H.name.trim(),
166
- specialization: H.specialization.trim(),
167
- experience: Number(H.experience) || 0,
168
- rating: Number(H.rating) || 0,
169
- location: H.location.trim(),
170
- availability: H.availability,
171
- hourlyRate: Number(H.hourlyRate) || 0,
160
+ H ? (await Ae({
161
+ id: H.id,
162
+ name: W.name.trim(),
163
+ specialization: W.specialization.trim(),
164
+ experience: Number(W.experience) || 0,
165
+ rating: Number(W.rating) || 0,
166
+ location: W.location.trim(),
167
+ availability: W.availability,
168
+ hourlyRate: Number(W.hourlyRate) || 0,
172
169
  languages: e,
173
- mentoringSince: H.mentoringSince || void 0,
174
- mentees: Number(H.mentees) || 0,
170
+ mentoringSince: W.mentoringSince || void 0,
171
+ mentees: Number(W.mentees) || 0,
175
172
  focusAreas: t
176
- }), J({
177
- title: p("healthybowl.network.mentors.form.toast.updated.title", "Mentor updated"),
178
- description: p("healthybowl.network.mentors.form.toast.updated.description", "{{name}} has been updated.", { name: H.name.trim() }),
173
+ }), q({
174
+ title: f("healthybowl.network.mentors.form.toast.updated.title", "Mentor updated"),
175
+ description: f("healthybowl.network.mentors.form.toast.updated.description", "{{name}} has been updated.", { name: W.name.trim() }),
179
176
  variant: "success"
180
- })) : (await je({
181
- name: H.name.trim(),
182
- specialization: H.specialization.trim(),
183
- experience: Number(H.experience) || 0,
184
- rating: Number(H.rating) || 0,
185
- location: H.location.trim(),
186
- availability: H.availability,
187
- hourlyRate: Number(H.hourlyRate) || 0,
177
+ })) : (await ke({
178
+ name: W.name.trim(),
179
+ specialization: W.specialization.trim(),
180
+ experience: Number(W.experience) || 0,
181
+ rating: Number(W.rating) || 0,
182
+ location: W.location.trim(),
183
+ availability: W.availability,
184
+ hourlyRate: Number(W.hourlyRate) || 0,
188
185
  languages: e,
189
- mentoringSince: H.mentoringSince || void 0,
190
- mentees: Number(H.mentees) || 0,
186
+ mentoringSince: W.mentoringSince || void 0,
187
+ mentees: Number(W.mentees) || 0,
191
188
  focusAreas: t
192
- }), J({
193
- title: p("healthybowl.network.mentors.form.toast.created.title", "Mentor added"),
194
- description: p("healthybowl.network.mentors.form.toast.created.description", "{{name}} has been added.", { name: H.name.trim() }),
189
+ }), q({
190
+ title: f("healthybowl.network.mentors.form.toast.created.title", "Mentor added"),
191
+ description: f("healthybowl.network.mentors.form.toast.created.description", "{{name}} has been added.", { name: W.name.trim() }),
195
192
  variant: "success"
196
- })), Q();
193
+ })), Z();
197
194
  } catch (e) {
198
- J({
199
- title: p("healthybowl.network.mentors.form.toast.saveError.title", "Could not save mentor"),
200
- description: e instanceof Error ? e.message : p("healthybowl.network.mentors.form.toast.saveError.description", "Failed to save mentor"),
195
+ q({
196
+ title: f("healthybowl.network.mentors.form.toast.saveError.title", "Could not save mentor"),
197
+ description: e instanceof Error ? e.message : f("healthybowl.network.mentors.form.toast.saveError.description", "Failed to save mentor"),
201
198
  variant: "error"
202
199
  });
203
200
  } finally {
204
- G(!1);
201
+ Xe(!1);
205
202
  }
206
- }, at = async (e) => {
207
- K(e.id);
203
+ }, st = async (e) => {
204
+ Qe(e.id);
208
205
  try {
209
- await Ne(e.id), J({
210
- title: p("healthybowl.network.mentors.form.toast.deleted.title", "Mentor removed"),
211
- description: p("healthybowl.network.mentors.form.toast.deleted.description", "{{name}} has been removed.", { name: e.name }),
206
+ await je(e.id), q({
207
+ title: f("healthybowl.network.mentors.form.toast.deleted.title", "Mentor removed"),
208
+ description: f("healthybowl.network.mentors.form.toast.deleted.description", "{{name}} has been removed.", { name: e.name }),
212
209
  variant: "success"
213
210
  });
214
211
  } catch (e) {
215
- J({
216
- title: p("healthybowl.network.mentors.form.toast.deleteError.title", "Could not remove mentor"),
217
- description: e instanceof Error ? e.message : p("healthybowl.network.mentors.form.toast.deleteError.description", "Failed to remove mentor"),
212
+ q({
213
+ title: f("healthybowl.network.mentors.form.toast.deleteError.title", "Could not remove mentor"),
214
+ description: e instanceof Error ? e.message : f("healthybowl.network.mentors.form.toast.deleteError.description", "Failed to remove mentor"),
218
215
  variant: "error"
219
216
  });
220
217
  } finally {
221
- K(null);
218
+ Qe(null);
222
219
  }
223
220
  };
224
221
  oe(() => {
225
222
  let e = (e) => {
226
- q.current && !q.current.contains(e.target) && j(!1);
223
+ K.current && !K.current.contains(e.target) && F(!1);
227
224
  };
228
225
  return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
229
226
  }, []);
230
- let ot = w.filter((e) => {
231
- let t = (e.name ?? "").toLowerCase().includes(E.toLowerCase()) || (e.specialization ?? "").toLowerCase().includes(E.toLowerCase()) || (e.focusAreas ?? []).some((e) => e.toLowerCase().includes(E.toLowerCase())), n = D === "All" || (e.focusAreas ?? []).some((e) => e === D), r = O === "All" || e.availability === O.toLowerCase();
227
+ let Q = E.filter((e) => {
228
+ let t = (e.name ?? "").toLowerCase().includes(O.toLowerCase()) || (e.specialization ?? "").toLowerCase().includes(O.toLowerCase()) || (e.focusAreas ?? []).some((e) => e.toLowerCase().includes(O.toLowerCase())), n = A === "All" || (e.focusAreas ?? []).some((e) => e === A), r = M === "All" || e.availability === M.toLowerCase();
232
229
  return t && n && r;
233
230
  }).sort((e, t) => {
234
- switch (A) {
231
+ switch (P) {
235
232
  case "rating": return t.rating - e.rating;
236
233
  case "experience": return t.experience - e.experience;
237
234
  case "mentees": return t.mentees - e.mentees;
238
235
  case "price-asc": return e.hourlyRate - t.hourlyRate;
239
236
  default: return 0;
240
237
  }
241
- }), st = w.filter((e) => e.availability === "available").length, ct = w.length > 0 ? Math.round(w.reduce((e, t) => e + t.experience, 0) / w.length) : 0, lt = async () => {
242
- if (P) {
243
- if (!I.topic.trim() || !I.requestedDate) {
244
- J({
245
- title: p("healthybowl.network.mentors.toast.missingFields.title", "Missing required fields"),
246
- description: p("healthybowl.network.mentors.toast.missingFields.description", "Topic and preferred date are required."),
238
+ }), ct = E.filter((e) => e.availability === "available").length, lt = E.length > 0 ? Math.round(E.reduce((e, t) => e + t.experience, 0) / E.length) : 0, ut = async () => {
239
+ if (R) {
240
+ if (!z.topic.trim() || !z.requestedDate) {
241
+ q({
242
+ title: f("healthybowl.network.mentors.toast.missingFields.title", "Missing required fields"),
243
+ description: f("healthybowl.network.mentors.toast.missingFields.description", "Topic and preferred date are required."),
247
244
  variant: "warning"
248
245
  });
249
246
  return;
250
247
  }
251
- Je(!0);
248
+ qe(!0);
252
249
  try {
253
- await Ae({
250
+ await Oe({
254
251
  consultantType: "MENTOR",
255
- consultantId: P.id,
256
- consultantName: P.name,
257
- topic: I.topic.trim(),
258
- requestedDate: I.requestedDate,
259
- mode: I.mode,
260
- notes: I.notes.trim() || void 0,
261
- fee: P.hourlyRate
262
- }), J({
263
- title: p("healthybowl.network.mentors.toast.requested.title", "Mentorship requested"),
264
- description: p("healthybowl.network.mentors.toast.requested.description", "Your request to {{name}} has been sent.", { name: P.name }),
252
+ consultantId: R.id,
253
+ consultantName: R.name,
254
+ topic: z.topic.trim(),
255
+ requestedDate: z.requestedDate,
256
+ mode: z.mode,
257
+ notes: z.notes.trim() || void 0,
258
+ fee: R.hourlyRate
259
+ }), q({
260
+ title: f("healthybowl.network.mentors.toast.requested.title", "Mentorship requested"),
261
+ description: f("healthybowl.network.mentors.toast.requested.description", "Your request to {{name}} has been sent.", { name: R.name }),
265
262
  variant: "success"
266
- }), X();
263
+ }), Y();
267
264
  } catch (e) {
268
- J({
269
- title: p("healthybowl.network.mentors.toast.requestError.title", "Could not request mentorship"),
270
- description: e instanceof Error ? e.message : p("healthybowl.network.mentors.toast.requestError.description", "Failed to request mentorship"),
265
+ q({
266
+ title: f("healthybowl.network.mentors.toast.requestError.title", "Could not request mentorship"),
267
+ description: e instanceof Error ? e.message : f("healthybowl.network.mentors.toast.requestError.description", "Failed to request mentorship"),
271
268
  variant: "error"
272
269
  });
273
270
  } finally {
274
- Je(!1);
271
+ qe(!1);
275
272
  }
276
273
  }
277
- }, ut = (e) => {
278
- Ke((t) => {
274
+ }, dt = (e) => {
275
+ Ue((t) => {
279
276
  let n = new Set(t);
280
277
  if (n.has(e)) n.delete(e);
281
278
  else {
282
- if (n.size >= 3) return J({
283
- title: p("healthybowl.network.mentors.toast.limitReached.title", "Limit Reached"),
284
- description: p("healthybowl.network.mentors.toast.limitReached.description", "You can compare up to 3 mentors at a time"),
279
+ if (n.size >= 3) return q({
280
+ title: f("healthybowl.network.mentors.toast.limitReached.title", "Limit Reached"),
281
+ description: f("healthybowl.network.mentors.toast.limitReached.description", "You can compare up to 3 mentors at a time"),
285
282
  variant: "warning"
286
283
  }), t;
287
284
  n.add(e);
288
285
  }
289
286
  return n;
290
287
  });
291
- }, dt = () => {
292
- if (M.size < 2) {
293
- J({
294
- title: p("healthybowl.network.mentors.toast.selectMentors.title", "Select Mentors"),
295
- description: p("healthybowl.network.mentors.toast.selectMentors.description", "Select at least 2 mentors to compare"),
288
+ }, ft = () => {
289
+ if (I.size < 2) {
290
+ q({
291
+ title: f("healthybowl.network.mentors.toast.selectMentors.title", "Select Mentors"),
292
+ description: f("healthybowl.network.mentors.toast.selectMentors.description", "Select at least 2 mentors to compare"),
296
293
  variant: "warning"
297
294
  });
298
295
  return;
299
296
  }
300
- N(!0);
301
- }, $ = w.filter((e) => M.has(e.id));
302
- return /* @__PURE__ */ h(a, {
303
- title: p("healthybowl.network.mentors.title", "Find a Mentor"),
304
- description: p("healthybowl.network.mentors.description", "Connect with experienced mentors for long-term guidance"),
297
+ L(!0);
298
+ }, $ = E.filter((e) => I.has(e.id));
299
+ return /* @__PURE__ */ g(a, {
300
+ title: f("healthybowl.network.mentors.title", "Find a Mentor"),
301
+ description: f("healthybowl.network.mentors.description", "Connect with experienced mentors for long-term guidance"),
305
302
  purpose: "Pair up with an experienced farmer for ongoing guidance, not just a one-off answer. A good mentor helps you avoid costly mistakes and grow your skills season after season — find and connect with one here.",
306
- actions: /* @__PURE__ */ h(g, {
307
- onClick: nt,
303
+ actions: /* @__PURE__ */ g(_, {
304
+ onClick: it,
308
305
  children: [
309
- /* @__PURE__ */ m(f, { className: "h-3.5 w-3.5" }),
306
+ /* @__PURE__ */ h(ve, { className: "h-3.5 w-3.5" }),
310
307
  " ",
311
- p("healthybowl.network.mentors.actions.addMentor", "Add Mentor")
308
+ f("healthybowl.network.mentors.actions.addMentor", "Add Mentor")
312
309
  ]
313
310
  }),
314
311
  children: [
315
- /* @__PURE__ */ h("div", {
312
+ /* @__PURE__ */ g("div", {
316
313
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",
317
314
  children: [
318
- /* @__PURE__ */ m(o, {
315
+ /* @__PURE__ */ h(o, {
319
316
  hero: !0,
320
- label: p("healthybowl.network.mentors.stats.total", "Total Mentors"),
321
- value: w.length,
322
- icon: /* @__PURE__ */ m(be, { className: "h-4 w-4" })
317
+ label: f("healthybowl.network.mentors.stats.total", "Total Mentors"),
318
+ value: E.length,
319
+ icon: /* @__PURE__ */ h(p, { className: "h-4 w-4" })
323
320
  }),
324
- /* @__PURE__ */ m(o, {
325
- label: p("healthybowl.network.mentors.stats.available", "Available"),
326
- value: st,
327
- icon: /* @__PURE__ */ m(Se, { className: "h-4 w-4" })
321
+ /* @__PURE__ */ h(o, {
322
+ label: f("healthybowl.network.mentors.stats.available", "Available"),
323
+ value: ct,
324
+ icon: /* @__PURE__ */ h(Se, { className: "h-4 w-4" })
328
325
  }),
329
- /* @__PURE__ */ m(o, {
330
- label: p("healthybowl.network.mentors.stats.yourMentor", "Your Mentor"),
331
- value: p("healthybowl.network.mentors.stats.none", "None"),
332
- icon: /* @__PURE__ */ m(d, { className: "h-4 w-4" })
326
+ /* @__PURE__ */ h(o, {
327
+ label: f("healthybowl.network.mentors.stats.yourMentor", "Your Mentor"),
328
+ value: f("healthybowl.network.mentors.stats.none", "None"),
329
+ icon: /* @__PURE__ */ h(d, { className: "h-4 w-4" })
333
330
  }),
334
- /* @__PURE__ */ m(o, {
335
- label: p("healthybowl.network.mentors.stats.avgExperience", "Avg Experience"),
336
- value: p("healthybowl.network.mentors.stats.years", "{{count}} yrs", { count: ct }),
337
- icon: /* @__PURE__ */ m(fe, { className: "h-4 w-4" })
331
+ /* @__PURE__ */ h(o, {
332
+ label: f("healthybowl.network.mentors.stats.avgExperience", "Avg Experience"),
333
+ value: f("healthybowl.network.mentors.stats.years", "{{count}} yrs", { count: lt }),
334
+ icon: /* @__PURE__ */ h(fe, { className: "h-4 w-4" })
338
335
  })
339
336
  ]
340
337
  }),
341
- /* @__PURE__ */ m(te, {
342
- searchValue: E,
343
- onSearchChange: Be,
344
- searchPlaceholder: p("healthybowl.network.mentors.searchPlaceholder", "Search mentors by name, specialty, or focus area..."),
345
- filters: /* @__PURE__ */ h("div", {
338
+ /* @__PURE__ */ h(te, {
339
+ searchValue: O,
340
+ onSearchChange: k,
341
+ searchPlaceholder: f("healthybowl.network.mentors.searchPlaceholder", "Search mentors by name, specialty, or focus area..."),
342
+ filters: /* @__PURE__ */ g("div", {
346
343
  className: "flex flex-wrap items-center gap-2",
347
344
  children: [
348
- /* @__PURE__ */ h(_, {
349
- value: D,
350
- onValueChange: Ve,
351
- children: [/* @__PURE__ */ m(b, {
345
+ /* @__PURE__ */ g(v, {
346
+ value: A,
347
+ onValueChange: j,
348
+ children: [/* @__PURE__ */ h(x, {
352
349
  className: "h-8 w-auto",
353
- children: /* @__PURE__ */ m(x, {})
354
- }), /* @__PURE__ */ m(v, { children: Te.map((e) => /* @__PURE__ */ m(y, {
350
+ children: /* @__PURE__ */ h(S, {})
351
+ }), /* @__PURE__ */ h(y, { children: we.map((e) => /* @__PURE__ */ h(b, {
355
352
  value: e,
356
- children: Re[e] ?? e
353
+ children: Le[e] ?? e
357
354
  }, e)) })]
358
355
  }),
359
- /* @__PURE__ */ h(_, {
360
- value: O,
361
- onValueChange: k,
362
- children: [/* @__PURE__ */ m(b, {
356
+ /* @__PURE__ */ g(v, {
357
+ value: M,
358
+ onValueChange: N,
359
+ children: [/* @__PURE__ */ h(x, {
363
360
  className: "h-8 w-auto",
364
- children: /* @__PURE__ */ m(x, {})
365
- }), /* @__PURE__ */ m(v, { children: Ee.map((e) => /* @__PURE__ */ m(y, {
361
+ children: /* @__PURE__ */ h(S, {})
362
+ }), /* @__PURE__ */ h(y, { children: Te.map((e) => /* @__PURE__ */ h(b, {
366
363
  value: e,
367
- children: ze[e] ?? e
364
+ children: Re[e] ?? e
368
365
  }, e)) })]
369
366
  }),
370
- /* @__PURE__ */ h("div", {
371
- ref: q,
367
+ /* @__PURE__ */ g("div", {
368
+ ref: K,
372
369
  className: "relative",
373
- children: [/* @__PURE__ */ h(g, {
370
+ children: [/* @__PURE__ */ g(_, {
374
371
  variant: "outline",
375
372
  size: "sm",
376
- onClick: () => j((e) => !e),
373
+ onClick: () => F((e) => !e),
377
374
  children: [
378
- /* @__PURE__ */ m(le, { className: "h-3.5 w-3.5" }),
379
- T[A],
380
- /* @__PURE__ */ m(de, { className: "h-3 w-3" })
375
+ /* @__PURE__ */ h(le, { className: "h-3.5 w-3.5" }),
376
+ D[P],
377
+ /* @__PURE__ */ h(de, { className: "h-3 w-3" })
381
378
  ]
382
- }), Ue && /* @__PURE__ */ m("div", {
379
+ }), Be && /* @__PURE__ */ h("div", {
383
380
  className: "absolute right-0 z-10 mt-1 w-44 rounded-md border border-border-subtle bg-bg-surface py-1 shadow-lg",
384
- children: Object.keys(T).map((t) => /* @__PURE__ */ m(g, {
381
+ children: Object.keys(D).map((t) => /* @__PURE__ */ h(_, {
385
382
  variant: "ghost",
386
383
  size: "sm",
387
384
  onClick: () => {
388
- He(t), j(!1);
385
+ ze(t), F(!1);
389
386
  },
390
- className: e("w-full justify-start rounded-none", A === t ? "font-semibold text-primary" : "text-text-primary"),
391
- children: T[t]
387
+ className: e("w-full justify-start rounded-none", P === t ? "font-semibold text-primary" : "text-text-primary"),
388
+ children: D[t]
392
389
  }, t))
393
390
  })]
394
391
  })
395
392
  ]
396
393
  }),
397
- actions: /* @__PURE__ */ h(g, {
394
+ actions: /* @__PURE__ */ g(_, {
398
395
  variant: "outline",
399
396
  size: "sm",
400
- onClick: dt,
397
+ onClick: ft,
401
398
  children: [
402
- /* @__PURE__ */ m(me, { className: "h-3.5 w-3.5" }),
399
+ /* @__PURE__ */ h(me, { className: "h-3.5 w-3.5" }),
403
400
  " ",
404
- p("healthybowl.network.mentors.actions.compare", "Compare Mentors")
401
+ f("healthybowl.network.mentors.actions.compare", "Compare Mentors")
405
402
  ]
406
403
  })
407
404
  }),
408
- ot.length > 0 ? /* @__PURE__ */ m("div", {
405
+ Q.length > 0 ? /* @__PURE__ */ h("div", {
409
406
  className: "grid gap-4 sm:grid-cols-2 lg:grid-cols-3",
410
- children: ot.map((r) => {
411
- let i = We === r.id, a = r.rating >= 4.8;
412
- return /* @__PURE__ */ h("div", {
407
+ children: Q.map((r) => {
408
+ let i = Ve === r.id, a = r.rating >= 4.8;
409
+ return /* @__PURE__ */ g("div", {
413
410
  className: e("rounded-lg border bg-bg-surface p-5 transition-colors hover:border-primary/20", a ? "border-warning" : "border-border-subtle"),
414
411
  children: [
415
- a && /* @__PURE__ */ h("div", {
412
+ a && /* @__PURE__ */ g("div", {
416
413
  className: "mb-2 flex items-center gap-1",
417
- children: [/* @__PURE__ */ m(ue, { className: "h-3.5 w-3.5 text-warning" }), /* @__PURE__ */ m("span", {
414
+ children: [/* @__PURE__ */ h(ue, { className: "h-3.5 w-3.5 text-warning" }), /* @__PURE__ */ h("span", {
418
415
  className: "text-xs font-semibold text-warning",
419
- children: p("healthybowl.network.mentors.card.topRated", "Top Rated")
416
+ children: f("healthybowl.network.mentors.card.topRated", "Top Rated")
420
417
  })]
421
418
  }),
422
- /* @__PURE__ */ h("div", {
419
+ /* @__PURE__ */ g("div", {
423
420
  className: "flex items-start gap-3",
424
- children: [/* @__PURE__ */ m("div", {
421
+ children: [/* @__PURE__ */ h("div", {
425
422
  className: "flex h-12 w-12 items-center justify-center rounded-full bg-action-primary-bg/10 text-sm font-bold text-primary",
426
423
  children: (r.name ?? "").split(" ").map((e) => e[0]).join("")
427
- }), /* @__PURE__ */ h("div", {
424
+ }), /* @__PURE__ */ g("div", {
428
425
  className: "flex-1 min-w-0",
429
426
  children: [
430
- /* @__PURE__ */ m("h3", {
427
+ /* @__PURE__ */ h("h3", {
431
428
  className: "text-sm font-semibold text-text-primary",
432
429
  children: r.name
433
430
  }),
434
- /* @__PURE__ */ m("p", {
431
+ /* @__PURE__ */ h("p", {
435
432
  className: "text-xs text-text-secondary",
436
433
  children: r.specialization
437
434
  }),
438
- /* @__PURE__ */ m(s, {
435
+ /* @__PURE__ */ h(s, {
439
436
  label: r.availability,
440
- variant: De(r.availability),
437
+ variant: T(r.availability),
441
438
  dot: !0,
442
439
  className: "mt-1"
443
440
  })
444
441
  ]
445
442
  })]
446
443
  }),
447
- /* @__PURE__ */ h("div", {
444
+ /* @__PURE__ */ g("div", {
448
445
  className: "mt-3 space-y-1.5 text-xs text-text-secondary",
449
446
  children: [
450
- /* @__PURE__ */ h("p", {
447
+ /* @__PURE__ */ g("p", {
451
448
  className: "flex items-center gap-1.5",
452
449
  children: [
453
- /* @__PURE__ */ m(fe, { className: "h-3 w-3" }),
450
+ /* @__PURE__ */ h(fe, { className: "h-3 w-3" }),
454
451
  " ",
455
- p("healthybowl.network.mentors.card.experience", "{{count}} years exp", { count: r.experience }),
452
+ f("healthybowl.network.mentors.card.experience", "{{count}} years exp", { count: r.experience }),
456
453
  " ",
457
454
  "·",
458
455
  " ",
459
- p("healthybowl.network.mentors.card.mentoringSince", "Mentoring since {{date}}", { date: n(r.mentoringSince) })
456
+ f("healthybowl.network.mentors.card.mentoringSince", "Mentoring since {{date}}", { date: n(r.mentoringSince) })
460
457
  ]
461
458
  }),
462
- /* @__PURE__ */ h("p", {
459
+ /* @__PURE__ */ g("p", {
463
460
  className: "flex items-center gap-1.5",
464
461
  children: [
465
- /* @__PURE__ */ m(xe, { className: "h-3 w-3" }),
462
+ /* @__PURE__ */ h(xe, { className: "h-3 w-3" }),
466
463
  " ",
467
- p("healthybowl.network.mentors.card.activeMentees", "{{count}} active mentees", { count: r.mentees })
464
+ f("healthybowl.network.mentors.card.activeMentees", "{{count}} active mentees", { count: r.mentees })
468
465
  ]
469
466
  }),
470
- /* @__PURE__ */ h("p", {
467
+ /* @__PURE__ */ g("p", {
471
468
  className: "flex items-center gap-1.5",
472
469
  children: [
473
- /* @__PURE__ */ m(ge, { className: "h-3 w-3" }),
470
+ /* @__PURE__ */ h(ge, { className: "h-3 w-3" }),
474
471
  " ",
475
472
  r.location
476
473
  ]
477
474
  }),
478
- /* @__PURE__ */ h("p", {
475
+ /* @__PURE__ */ g("p", {
479
476
  className: "flex items-center gap-1.5",
480
477
  children: [
481
- /* @__PURE__ */ m(he, { className: "h-3 w-3" }),
478
+ /* @__PURE__ */ h(he, { className: "h-3 w-3" }),
482
479
  " ",
483
480
  (r.languages ?? []).join(", ")
484
481
  ]
485
482
  })
486
483
  ]
487
484
  }),
488
- /* @__PURE__ */ h("div", {
485
+ /* @__PURE__ */ g("div", {
489
486
  className: "mt-3 flex items-center gap-1",
490
487
  children: [
491
- Oe(r.rating),
492
- /* @__PURE__ */ m("span", {
488
+ Ee(r.rating),
489
+ /* @__PURE__ */ h("span", {
493
490
  className: "ml-1 text-xs font-medium text-text-primary",
494
491
  children: r.rating
495
492
  }),
496
- /* @__PURE__ */ m("span", {
493
+ /* @__PURE__ */ h("span", {
497
494
  className: "text-xs text-text-secondary",
498
- children: p("healthybowl.network.mentors.card.reviews", "({{count}} reviews)", { count: r.reviews })
495
+ children: f("healthybowl.network.mentors.card.reviews", "({{count}} reviews)", { count: r.reviews })
499
496
  })
500
497
  ]
501
498
  }),
502
- /* @__PURE__ */ m("div", {
499
+ /* @__PURE__ */ h("div", {
503
500
  className: "mt-3 flex flex-wrap gap-1",
504
- children: (r.focusAreas ?? []).map((e) => /* @__PURE__ */ h("span", {
501
+ children: (r.focusAreas ?? []).map((e) => /* @__PURE__ */ g("span", {
505
502
  className: "flex items-center gap-1 rounded-full bg-bg-sunken px-2 py-0.5 text-xs text-text-secondary",
506
503
  children: [
507
- /* @__PURE__ */ m(ve, { className: "h-2.5 w-2.5" }),
504
+ /* @__PURE__ */ h(ye, { className: "h-2.5 w-2.5" }),
508
505
  " ",
509
506
  e
510
507
  ]
511
508
  }, e))
512
509
  }),
513
- i && /* @__PURE__ */ h("div", {
510
+ i && /* @__PURE__ */ g("div", {
514
511
  className: "mt-3 rounded-md border border-border-subtle bg-bg-sunken/50 p-3",
515
512
  children: [
516
- /* @__PURE__ */ m("h4", {
513
+ /* @__PURE__ */ h("h4", {
517
514
  className: "text-xs font-semibold text-text-primary",
518
- children: p("healthybowl.network.mentors.detail.philosophy.heading", "Mentoring Philosophy")
515
+ children: f("healthybowl.network.mentors.detail.philosophy.heading", "Mentoring Philosophy")
519
516
  }),
520
- /* @__PURE__ */ m("p", {
517
+ /* @__PURE__ */ h("p", {
521
518
  className: "mt-1 text-xs text-text-secondary",
522
- children: p("healthybowl.network.mentors.detail.philosophy.body", "{{name}} believes in hands-on, practical mentoring that empowers farmers to make confident decisions. With a focus on {{focusArea}}, {{firstName}} combines field experience with modern techniques to guide mentees toward sustainable success.", {
519
+ children: f("healthybowl.network.mentors.detail.philosophy.body", "{{name}} believes in hands-on, practical mentoring that empowers farmers to make confident decisions. With a focus on {{focusArea}}, {{firstName}} combines field experience with modern techniques to guide mentees toward sustainable success.", {
523
520
  name: r.name,
524
521
  focusArea: r.focusAreas[0]?.toLowerCase(),
525
522
  firstName: (r.name ?? "").split(" ")[0]
526
523
  })
527
524
  }),
528
- /* @__PURE__ */ h("div", {
525
+ /* @__PURE__ */ g("div", {
529
526
  className: "mt-2 grid grid-cols-2 gap-2 text-xs",
530
- children: [/* @__PURE__ */ h("div", {
527
+ children: [/* @__PURE__ */ g("div", {
531
528
  className: "rounded bg-bg-surface p-2",
532
- children: [/* @__PURE__ */ m("p", {
529
+ children: [/* @__PURE__ */ h("p", {
533
530
  className: "font-medium text-text-primary",
534
- children: p("healthybowl.network.mentors.detail.successStories", "Success Stories")
535
- }), /* @__PURE__ */ h("p", {
531
+ children: f("healthybowl.network.mentors.detail.successStories", "Success Stories")
532
+ }), /* @__PURE__ */ g("p", {
536
533
  className: "text-text-secondary",
537
534
  children: [Math.floor(r.mentees * 1.5), "+"]
538
535
  })]
539
- }), /* @__PURE__ */ h("div", {
536
+ }), /* @__PURE__ */ g("div", {
540
537
  className: "rounded bg-bg-surface p-2",
541
- children: [/* @__PURE__ */ m("p", {
538
+ children: [/* @__PURE__ */ h("p", {
542
539
  className: "font-medium text-text-primary",
543
- children: p("healthybowl.network.mentors.detail.allFocusAreas", "All Focus Areas")
544
- }), /* @__PURE__ */ m("p", {
540
+ children: f("healthybowl.network.mentors.detail.allFocusAreas", "All Focus Areas")
541
+ }), /* @__PURE__ */ h("p", {
545
542
  className: "text-text-secondary",
546
- children: p("healthybowl.network.mentors.detail.areasCount", "{{count}} areas", { count: (r.focusAreas ?? []).length })
543
+ children: f("healthybowl.network.mentors.detail.areasCount", "{{count}} areas", { count: (r.focusAreas ?? []).length })
547
544
  })]
548
545
  })]
549
546
  })
550
547
  ]
551
548
  }),
552
- /* @__PURE__ */ h("div", {
549
+ /* @__PURE__ */ g("div", {
553
550
  className: "mt-3 flex items-center justify-between border-t border-border-subtle pt-3",
554
- children: [/* @__PURE__ */ h("div", {
551
+ children: [/* @__PURE__ */ g("div", {
555
552
  className: "flex items-center gap-2",
556
- children: [/* @__PURE__ */ m("span", {
553
+ children: [/* @__PURE__ */ h("span", {
557
554
  className: "text-sm font-medium text-text-primary",
558
- children: p("healthybowl.network.mentors.card.perHour", "{{amount}}/hr", { amount: t(r.hourlyRate, "INR") })
559
- }), /* @__PURE__ */ h("label", {
555
+ children: f("healthybowl.network.mentors.card.perHour", "{{amount}}/hr", { amount: t(r.hourlyRate, "INR") })
556
+ }), /* @__PURE__ */ g("label", {
560
557
  className: "flex items-center gap-1 text-xs text-text-secondary cursor-pointer",
561
- children: [/* @__PURE__ */ m("input", {
558
+ children: [/* @__PURE__ */ h("input", {
562
559
  type: "checkbox",
563
- checked: M.has(r.id),
564
- onChange: () => ut(r.id),
560
+ checked: I.has(r.id),
561
+ onChange: () => dt(r.id),
565
562
  className: "h-3.5 w-3.5 rounded border-border-subtle"
566
- }), p("healthybowl.network.mentors.card.compareLabel", "Compare")]
563
+ }), f("healthybowl.network.mentors.card.compareLabel", "Compare")]
567
564
  })]
568
- }), /* @__PURE__ */ h("div", {
565
+ }), /* @__PURE__ */ g("div", {
569
566
  className: "flex items-center gap-2",
570
567
  children: [
571
- /* @__PURE__ */ m(g, {
568
+ /* @__PURE__ */ h(_, {
572
569
  variant: "outline",
573
570
  size: "icon-sm",
574
- onClick: () => Ge(i ? null : r.id),
575
- "aria-label": p("healthybowl.network.mentors.actions.viewProfile", "View profile"),
576
- children: /* @__PURE__ */ m(pe, { className: "h-3.5 w-3.5" })
571
+ onClick: () => He(i ? null : r.id),
572
+ "aria-label": f("healthybowl.network.mentors.actions.viewProfile", "View profile"),
573
+ children: /* @__PURE__ */ h(pe, { className: "h-3.5 w-3.5" })
577
574
  }),
578
- /* @__PURE__ */ m(g, {
575
+ /* @__PURE__ */ h(_, {
579
576
  variant: "outline",
580
577
  size: "icon-sm",
581
- onClick: () => rt(r),
582
- "aria-label": p("healthybowl.network.mentors.actions.editMentor", "Edit mentor"),
583
- children: /* @__PURE__ */ m(_e, { className: "h-3.5 w-3.5" })
578
+ onClick: () => at(r),
579
+ "aria-label": f("healthybowl.network.mentors.actions.editMentor", "Edit mentor"),
580
+ children: /* @__PURE__ */ h(_e, { className: "h-3.5 w-3.5" })
584
581
  }),
585
- /* @__PURE__ */ m(g, {
582
+ /* @__PURE__ */ h(_, {
586
583
  variant: "ghost",
587
584
  size: "icon-sm",
588
- onClick: () => at(r),
589
- disabled: Xe === r.id,
590
- "aria-label": p("healthybowl.network.mentors.actions.deleteMentor", "Delete mentor"),
585
+ onClick: () => st(r),
586
+ disabled: Ze === r.id,
587
+ "aria-label": f("healthybowl.network.mentors.actions.deleteMentor", "Delete mentor"),
591
588
  className: "text-status-error-text hover:bg-status-error-bg/10 hover:text-status-error-text",
592
- children: /* @__PURE__ */ m(ye, { className: "h-3.5 w-3.5" })
589
+ children: /* @__PURE__ */ h(be, { className: "h-3.5 w-3.5" })
593
590
  }),
594
- /* @__PURE__ */ h(g, {
595
- onClick: () => tt(r),
591
+ /* @__PURE__ */ g(_, {
592
+ onClick: () => rt(r),
596
593
  children: [
597
- /* @__PURE__ */ m(be, { className: "h-3.5 w-3.5" }),
594
+ /* @__PURE__ */ h(p, { className: "h-3.5 w-3.5" }),
598
595
  " ",
599
- p("healthybowl.network.mentors.card.request", "Request")
596
+ f("healthybowl.network.mentors.card.request", "Request")
600
597
  ]
601
598
  })
602
599
  ]
@@ -605,239 +602,240 @@ var w = () => {
605
602
  ]
606
603
  }, r.id);
607
604
  })
608
- }) : w.length === 0 ? Fe.network ? /* @__PURE__ */ m(re, {}) : Pe.network ? /* @__PURE__ */ m(ee, { onRetry: Ie }) : /* @__PURE__ */ m(c, {
605
+ }) : E.length === 0 ? Ne.network ? /* @__PURE__ */ h(re, {}) : Me.network ? /* @__PURE__ */ h(ee, { onRetry: Pe }) : /* @__PURE__ */ h(c, {
609
606
  illustration: "empty-people",
610
- title: p("healthybowl.network.mentors.emptyState.noMentors.title", "No mentors available yet"),
611
- description: p("healthybowl.network.mentors.emptyState.noMentors.description", "There are no mentors in your network yet. Add one to get started."),
612
- action: /* @__PURE__ */ h(g, {
613
- onClick: nt,
607
+ title: f("healthybowl.network.mentors.emptyState.noMentors.title", "No mentors available yet"),
608
+ description: f("healthybowl.network.mentors.emptyState.noMentors.description", "There are no mentors in your network yet. Add one to get started."),
609
+ action: /* @__PURE__ */ g(_, {
610
+ onClick: it,
614
611
  children: [
615
- /* @__PURE__ */ m(f, { className: "h-3.5 w-3.5" }),
612
+ /* @__PURE__ */ h(ve, { className: "h-3.5 w-3.5" }),
616
613
  " ",
617
- p("healthybowl.network.mentors.actions.addMentor", "Add Mentor")
614
+ f("healthybowl.network.mentors.actions.addMentor", "Add Mentor")
618
615
  ]
619
616
  })
620
- }) : /* @__PURE__ */ m(c, {
617
+ }) : /* @__PURE__ */ h(c, {
621
618
  illustration: "empty-search",
622
- title: p("healthybowl.network.mentors.emptyState.noResults.title", "No mentors found"),
623
- description: p("healthybowl.network.mentors.emptyState.noResults.description", "No mentors match your current filters. Try adjusting your search criteria."),
624
- action: /* @__PURE__ */ m(g, {
619
+ title: f("healthybowl.network.mentors.emptyState.noResults.title", "No mentors found"),
620
+ description: f("healthybowl.network.mentors.emptyState.noResults.description", "No mentors match your current filters. Try adjusting your search criteria."),
621
+ action: /* @__PURE__ */ h(_, {
625
622
  onClick: () => {
626
- Be(""), Ve("All"), k("All");
623
+ k(""), j("All"), N("All");
627
624
  },
628
- children: p("healthybowl.network.mentors.emptyState.noResults.clearFilters", "Clear Filters")
625
+ children: f("healthybowl.network.mentors.emptyState.noResults.clearFilters", "Clear Filters")
629
626
  })
630
627
  }),
631
- et.length > 0 && /* @__PURE__ */ h("div", {
628
+ nt.length > 0 && /* @__PURE__ */ g("div", {
632
629
  className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
633
- children: [/* @__PURE__ */ h("h3", {
630
+ children: [/* @__PURE__ */ g("h3", {
634
631
  className: "flex items-center gap-2 text-sm font-semibold text-text-primary",
635
632
  children: [
636
- /* @__PURE__ */ m(d, { className: "h-4 w-4" }),
633
+ /* @__PURE__ */ h(d, { className: "h-4 w-4" }),
637
634
  " ",
638
- p("healthybowl.network.mentors.requests.heading", "My Mentorship Requests")
635
+ f("healthybowl.network.mentors.requests.heading", "My Mentorship Requests")
639
636
  ]
640
- }), /* @__PURE__ */ m("ul", {
637
+ }), /* @__PURE__ */ h("ul", {
641
638
  className: "mt-3 divide-y divide-border",
642
- children: et.map((e) => /* @__PURE__ */ h("li", {
639
+ children: nt.map((e) => /* @__PURE__ */ g("li", {
643
640
  className: "flex items-center justify-between gap-3 py-2.5",
644
- children: [/* @__PURE__ */ h("div", {
641
+ children: [/* @__PURE__ */ g("div", {
645
642
  className: "min-w-0",
646
- children: [/* @__PURE__ */ m("p", {
643
+ children: [/* @__PURE__ */ h("p", {
647
644
  className: "truncate text-sm font-medium text-text-primary",
648
645
  children: e.topic
649
- }), /* @__PURE__ */ h("p", {
646
+ }), /* @__PURE__ */ g("p", {
650
647
  className: "text-xs text-text-secondary",
651
648
  children: [
652
649
  e.consultantName,
653
650
  " · ",
654
651
  r(e.requestedDate),
655
- " · ",
656
- e.mode
652
+ " ·",
653
+ " ",
654
+ Ie[e.mode] ?? e.mode
657
655
  ]
658
656
  })]
659
- }), /* @__PURE__ */ m(s, {
657
+ }), /* @__PURE__ */ h(s, {
660
658
  label: e.status,
661
- variant: we(e.status),
659
+ variant: Ce(e.status),
662
660
  dot: !0
663
661
  })]
664
662
  }, e.id))
665
663
  })]
666
664
  }),
667
- /* @__PURE__ */ m(l, {
668
- open: P !== null,
669
- onClose: X,
670
- title: p("healthybowl.network.mentors.booking.title", "Request Mentorship"),
671
- description: P ? p("healthybowl.network.mentors.booking.description", "Request guidance from {{name}}", { name: P.name }) : void 0,
672
- footer: /* @__PURE__ */ h(Ce, { children: [/* @__PURE__ */ m(g, {
665
+ /* @__PURE__ */ h(l, {
666
+ open: R !== null,
667
+ onClose: Y,
668
+ title: f("healthybowl.network.mentors.booking.title", "Request Mentorship"),
669
+ description: R ? f("healthybowl.network.mentors.booking.description", "Request guidance from {{name}}", { name: R.name }) : void 0,
670
+ footer: /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(_, {
673
671
  variant: "outline",
674
- onClick: X,
675
- children: p("healthybowl.common.cancel", "Cancel")
676
- }), /* @__PURE__ */ m(g, {
677
- onClick: lt,
678
- disabled: R,
679
- children: R ? p("healthybowl.network.mentors.booking.sending", "Sending…") : p("healthybowl.network.mentors.booking.send", "Send Request")
672
+ onClick: Y,
673
+ children: f("healthybowl.common.cancel", "Cancel")
674
+ }), /* @__PURE__ */ h(_, {
675
+ onClick: ut,
676
+ disabled: Ke,
677
+ children: Ke ? f("healthybowl.network.mentors.booking.sending", "Sending…") : f("healthybowl.network.mentors.booking.send", "Send Request")
680
678
  })] }),
681
- children: /* @__PURE__ */ h("div", {
679
+ children: /* @__PURE__ */ g("div", {
682
680
  className: "space-y-4",
683
681
  children: [
684
- /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
682
+ /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("label", {
685
683
  htmlFor: "mentor-booking-topic",
686
684
  className: "mb-1 block text-xs font-medium text-text-primary",
687
- children: p("healthybowl.network.mentors.booking.fields.topic.label", "Topic")
688
- }), /* @__PURE__ */ m("input", {
685
+ children: f("healthybowl.network.mentors.booking.fields.topic.label", "Topic")
686
+ }), /* @__PURE__ */ h("input", {
689
687
  id: "mentor-booking-topic",
690
688
  type: "text",
691
- value: I.topic,
692
- onChange: (e) => Y("topic", e.target.value),
689
+ value: z.topic,
690
+ onChange: (e) => J("topic", e.target.value),
693
691
  maxLength: 200,
694
- placeholder: p("healthybowl.network.mentors.booking.fields.topic.placeholder", "What would you like guidance on?"),
692
+ placeholder: f("healthybowl.network.mentors.booking.fields.topic.placeholder", "What would you like guidance on?"),
695
693
  className: "w-full rounded-md 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)]"
696
694
  })] }),
697
- /* @__PURE__ */ h("div", {
695
+ /* @__PURE__ */ g("div", {
698
696
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
699
- children: [/* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
697
+ children: [/* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("label", {
700
698
  htmlFor: "mentor-booking-date",
701
699
  className: "mb-1 block text-xs font-medium text-text-primary",
702
- children: p("healthybowl.network.mentors.booking.fields.date.label", "Preferred date")
703
- }), /* @__PURE__ */ m("input", {
700
+ children: f("healthybowl.network.mentors.booking.fields.date.label", "Preferred date")
701
+ }), /* @__PURE__ */ h("input", {
704
702
  id: "mentor-booking-date",
705
703
  type: "date",
706
- value: I.requestedDate,
707
- onChange: (e) => Y("requestedDate", e.target.value),
704
+ value: z.requestedDate,
705
+ onChange: (e) => J("requestedDate", e.target.value),
708
706
  min: i(),
709
707
  className: "w-full rounded-md 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)]"
710
- })] }), /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
708
+ })] }), /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("label", {
711
709
  htmlFor: "mentor-booking-mode",
712
710
  className: "mb-1 block text-xs font-medium text-text-primary",
713
- children: p("healthybowl.network.mentors.booking.fields.mode.label", "Mode")
714
- }), /* @__PURE__ */ h(_, {
715
- value: I.mode,
716
- onValueChange: (e) => Y("mode", e),
717
- children: [/* @__PURE__ */ m(b, {
711
+ children: f("healthybowl.network.mentors.booking.fields.mode.label", "Mode")
712
+ }), /* @__PURE__ */ g(v, {
713
+ value: z.mode,
714
+ onValueChange: (e) => J("mode", e),
715
+ children: [/* @__PURE__ */ h(x, {
718
716
  id: "mentor-booking-mode",
719
717
  className: "w-full",
720
- children: /* @__PURE__ */ m(x, {})
721
- }), /* @__PURE__ */ m(v, { children: Le.map((e) => /* @__PURE__ */ m(y, {
718
+ children: /* @__PURE__ */ h(S, {})
719
+ }), /* @__PURE__ */ h(y, { children: Fe.map((e) => /* @__PURE__ */ h(b, {
722
720
  value: e.value,
723
721
  children: e.label
724
722
  }, e.value)) })]
725
723
  })] })]
726
724
  }),
727
- /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
725
+ /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("label", {
728
726
  htmlFor: "mentor-booking-notes",
729
727
  className: "mb-1 block text-xs font-medium text-text-primary",
730
- children: p("healthybowl.network.mentors.booking.fields.notes.label", "Notes (optional)")
731
- }), /* @__PURE__ */ m("textarea", {
728
+ children: f("healthybowl.network.mentors.booking.fields.notes.label", "Notes (optional)")
729
+ }), /* @__PURE__ */ h("textarea", {
732
730
  id: "mentor-booking-notes",
733
- value: I.notes,
734
- onChange: (e) => Y("notes", e.target.value),
731
+ value: z.notes,
732
+ onChange: (e) => J("notes", e.target.value),
735
733
  rows: 3,
736
734
  maxLength: 1e3,
737
- placeholder: p("healthybowl.network.mentors.booking.fields.notes.placeholder", "Any additional context for the mentor"),
735
+ placeholder: f("healthybowl.network.mentors.booking.fields.notes.placeholder", "Any additional context for the mentor"),
738
736
  className: "w-full rounded-md 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)]"
739
737
  })] }),
740
- P && /* @__PURE__ */ h("p", {
738
+ R && /* @__PURE__ */ g("p", {
741
739
  className: "text-xs text-text-secondary",
742
740
  children: [
743
- p("healthybowl.network.mentors.booking.estimatedFee", "Estimated fee:"),
741
+ f("healthybowl.network.mentors.booking.estimatedFee", "Estimated fee:"),
744
742
  " ",
745
- /* @__PURE__ */ m("span", {
743
+ /* @__PURE__ */ h("span", {
746
744
  className: "font-medium text-text-primary",
747
- children: p("healthybowl.network.mentors.card.perHour", "{{amount}}/hr", { amount: t(P.hourlyRate, "INR") })
745
+ children: f("healthybowl.network.mentors.card.perHour", "{{amount}}/hr", { amount: t(R.hourlyRate, "INR") })
748
746
  })
749
747
  ]
750
748
  })
751
749
  ]
752
750
  })
753
751
  }),
754
- /* @__PURE__ */ m(l, {
755
- open: qe,
756
- onClose: () => N(!1),
757
- title: p("healthybowl.network.mentors.compare.title", "Compare Mentors"),
758
- description: p("healthybowl.network.mentors.compare.description", "Comparing {{count}} mentors", { count: $.length }),
752
+ /* @__PURE__ */ h(l, {
753
+ open: We,
754
+ onClose: () => L(!1),
755
+ title: f("healthybowl.network.mentors.compare.title", "Compare Mentors"),
756
+ description: f("healthybowl.network.mentors.compare.description", "Comparing {{count}} mentors", { count: $.length }),
759
757
  size: "lg",
760
- footer: /* @__PURE__ */ m(g, {
758
+ footer: /* @__PURE__ */ h(_, {
761
759
  variant: "outline",
762
- onClick: () => N(!1),
763
- children: p("healthybowl.common.close", "Close")
760
+ onClick: () => L(!1),
761
+ children: f("healthybowl.common.close", "Close")
764
762
  }),
765
- children: $.length > 0 && /* @__PURE__ */ m("div", {
763
+ children: $.length > 0 && /* @__PURE__ */ h("div", {
766
764
  className: "overflow-x-auto",
767
- children: /* @__PURE__ */ h("table", {
765
+ children: /* @__PURE__ */ g("table", {
768
766
  className: "w-full text-xs",
769
- children: [/* @__PURE__ */ m("thead", { children: /* @__PURE__ */ h("tr", {
767
+ children: [/* @__PURE__ */ h("thead", { children: /* @__PURE__ */ g("tr", {
770
768
  className: "border-b border-border-subtle",
771
- children: [/* @__PURE__ */ m("th", {
769
+ children: [/* @__PURE__ */ h("th", {
772
770
  className: "py-2 pr-3 text-left font-medium text-text-secondary",
773
- children: p("healthybowl.network.mentors.compare.table.attribute", "Attribute")
774
- }), $.map((e) => /* @__PURE__ */ m("th", {
771
+ children: f("healthybowl.network.mentors.compare.table.attribute", "Attribute")
772
+ }), $.map((e) => /* @__PURE__ */ h("th", {
775
773
  className: "py-2 px-3 text-left font-medium text-text-primary",
776
774
  children: e.name
777
775
  }, e.id))]
778
- }) }), /* @__PURE__ */ h("tbody", {
776
+ }) }), /* @__PURE__ */ g("tbody", {
779
777
  className: "divide-y divide-border",
780
778
  children: [
781
- /* @__PURE__ */ h("tr", { children: [/* @__PURE__ */ m("td", {
779
+ /* @__PURE__ */ g("tr", { children: [/* @__PURE__ */ h("td", {
782
780
  className: "py-2 pr-3 text-text-secondary",
783
- children: p("healthybowl.network.mentors.compare.rows.specialization", "Specialization")
784
- }), $.map((e) => /* @__PURE__ */ m("td", {
781
+ children: f("healthybowl.network.mentors.compare.rows.specialization", "Specialization")
782
+ }), $.map((e) => /* @__PURE__ */ h("td", {
785
783
  className: "py-2 px-3 text-text-primary",
786
784
  children: e.specialization
787
785
  }, e.id))] }),
788
- /* @__PURE__ */ h("tr", { children: [/* @__PURE__ */ m("td", {
786
+ /* @__PURE__ */ g("tr", { children: [/* @__PURE__ */ h("td", {
789
787
  className: "py-2 pr-3 text-text-secondary",
790
- children: p("healthybowl.network.mentors.compare.rows.experience", "Experience")
791
- }), $.map((e) => /* @__PURE__ */ m("td", {
788
+ children: f("healthybowl.network.mentors.compare.rows.experience", "Experience")
789
+ }), $.map((e) => /* @__PURE__ */ h("td", {
792
790
  className: "py-2 px-3 text-text-primary",
793
- children: p("healthybowl.network.mentors.compare.values.years", "{{count}} years", { count: e.experience })
791
+ children: f("healthybowl.network.mentors.compare.values.years", "{{count}} years", { count: e.experience })
794
792
  }, e.id))] }),
795
- /* @__PURE__ */ h("tr", { children: [/* @__PURE__ */ m("td", {
793
+ /* @__PURE__ */ g("tr", { children: [/* @__PURE__ */ h("td", {
796
794
  className: "py-2 pr-3 text-text-secondary",
797
- children: p("healthybowl.network.mentors.compare.rows.rating", "Rating")
798
- }), $.map((e) => /* @__PURE__ */ m("td", {
795
+ children: f("healthybowl.network.mentors.compare.rows.rating", "Rating")
796
+ }), $.map((e) => /* @__PURE__ */ h("td", {
799
797
  className: "py-2 px-3 text-text-primary",
800
- children: p("healthybowl.network.mentors.compare.values.rating", "{{rating}} ({{count}} reviews)", {
798
+ children: f("healthybowl.network.mentors.compare.values.rating", "{{rating}} ({{count}} reviews)", {
801
799
  rating: e.rating,
802
800
  count: e.reviews
803
801
  })
804
802
  }, e.id))] }),
805
- /* @__PURE__ */ h("tr", { children: [/* @__PURE__ */ m("td", {
803
+ /* @__PURE__ */ g("tr", { children: [/* @__PURE__ */ h("td", {
806
804
  className: "py-2 pr-3 text-text-secondary",
807
- children: p("healthybowl.network.mentors.compare.rows.hourlyRate", "Hourly Rate")
808
- }), $.map((e) => /* @__PURE__ */ m("td", {
805
+ children: f("healthybowl.network.mentors.compare.rows.hourlyRate", "Hourly Rate")
806
+ }), $.map((e) => /* @__PURE__ */ h("td", {
809
807
  className: "py-2 px-3 text-text-primary",
810
- children: p("healthybowl.network.mentors.card.perHour", "{{amount}}/hr", { amount: t(e.hourlyRate, "INR") })
808
+ children: f("healthybowl.network.mentors.card.perHour", "{{amount}}/hr", { amount: t(e.hourlyRate, "INR") })
811
809
  }, e.id))] }),
812
- /* @__PURE__ */ h("tr", { children: [/* @__PURE__ */ m("td", {
810
+ /* @__PURE__ */ g("tr", { children: [/* @__PURE__ */ h("td", {
813
811
  className: "py-2 pr-3 text-text-secondary",
814
- children: p("healthybowl.network.mentors.compare.rows.mentees", "Mentees")
815
- }), $.map((e) => /* @__PURE__ */ m("td", {
812
+ children: f("healthybowl.network.mentors.compare.rows.mentees", "Mentees")
813
+ }), $.map((e) => /* @__PURE__ */ h("td", {
816
814
  className: "py-2 px-3 text-text-primary",
817
- children: p("healthybowl.network.mentors.compare.values.active", "{{count}} active", { count: e.mentees })
815
+ children: f("healthybowl.network.mentors.compare.values.active", "{{count}} active", { count: e.mentees })
818
816
  }, e.id))] }),
819
- /* @__PURE__ */ h("tr", { children: [/* @__PURE__ */ m("td", {
817
+ /* @__PURE__ */ g("tr", { children: [/* @__PURE__ */ h("td", {
820
818
  className: "py-2 pr-3 text-text-secondary",
821
- children: p("healthybowl.network.mentors.compare.rows.availability", "Availability")
822
- }), $.map((e) => /* @__PURE__ */ m("td", {
819
+ children: f("healthybowl.network.mentors.compare.rows.availability", "Availability")
820
+ }), $.map((e) => /* @__PURE__ */ h("td", {
823
821
  className: "py-2 px-3",
824
- children: /* @__PURE__ */ m(s, {
822
+ children: /* @__PURE__ */ h(s, {
825
823
  label: e.availability,
826
- variant: De(e.availability),
824
+ variant: T(e.availability),
827
825
  dot: !0
828
826
  })
829
827
  }, e.id))] }),
830
- /* @__PURE__ */ h("tr", { children: [/* @__PURE__ */ m("td", {
828
+ /* @__PURE__ */ g("tr", { children: [/* @__PURE__ */ h("td", {
831
829
  className: "py-2 pr-3 text-text-secondary",
832
- children: p("healthybowl.network.mentors.compare.rows.focusAreas", "Focus Areas")
833
- }), $.map((e) => /* @__PURE__ */ m("td", {
830
+ children: f("healthybowl.network.mentors.compare.rows.focusAreas", "Focus Areas")
831
+ }), $.map((e) => /* @__PURE__ */ h("td", {
834
832
  className: "py-2 px-3 text-text-primary",
835
833
  children: (e.focusAreas ?? []).join(", ")
836
834
  }, e.id))] }),
837
- /* @__PURE__ */ h("tr", { children: [/* @__PURE__ */ m("td", {
835
+ /* @__PURE__ */ g("tr", { children: [/* @__PURE__ */ h("td", {
838
836
  className: "py-2 pr-3 text-text-secondary",
839
- children: p("healthybowl.network.mentors.compare.rows.location", "Location")
840
- }), $.map((e) => /* @__PURE__ */ m("td", {
837
+ children: f("healthybowl.network.mentors.compare.rows.location", "Location")
838
+ }), $.map((e) => /* @__PURE__ */ h("td", {
841
839
  className: "py-2 px-3 text-text-primary",
842
840
  children: e.location
843
841
  }, e.id))] })
@@ -846,205 +844,205 @@ var w = () => {
846
844
  })
847
845
  })
848
846
  }),
849
- /* @__PURE__ */ m(l, {
850
- open: Ye,
851
- onClose: Q,
852
- title: B ? p("healthybowl.network.mentors.form.editTitle", "Edit Mentor") : p("healthybowl.network.mentors.form.addTitle", "Add Mentor"),
853
- description: p("healthybowl.network.mentors.form.description", "Manage a mentor in your network directory"),
847
+ /* @__PURE__ */ h(l, {
848
+ open: Je,
849
+ onClose: Z,
850
+ title: H ? f("healthybowl.network.mentors.form.editTitle", "Edit Mentor") : f("healthybowl.network.mentors.form.addTitle", "Add Mentor"),
851
+ description: f("healthybowl.network.mentors.form.description", "Manage a mentor in your network directory"),
854
852
  size: "lg",
855
- footer: /* @__PURE__ */ h(Ce, { children: [/* @__PURE__ */ m(g, {
853
+ footer: /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(_, {
856
854
  variant: "outline",
857
- onClick: Q,
858
- children: p("healthybowl.common.cancel", "Cancel")
859
- }), /* @__PURE__ */ m(g, {
860
- onClick: it,
861
- disabled: W,
862
- children: W ? p("healthybowl.network.mentors.form.saving", "Saving…") : p("healthybowl.network.mentors.form.save", "Save Mentor")
855
+ onClick: Z,
856
+ children: f("healthybowl.common.cancel", "Cancel")
857
+ }), /* @__PURE__ */ h(_, {
858
+ onClick: ot,
859
+ disabled: Ye,
860
+ children: Ye ? f("healthybowl.network.mentors.form.saving", "Saving…") : f("healthybowl.network.mentors.form.save", "Save Mentor")
863
861
  })] }),
864
- children: /* @__PURE__ */ h("div", {
862
+ children: /* @__PURE__ */ g("div", {
865
863
  className: "space-y-4",
866
864
  children: [
867
- /* @__PURE__ */ h("div", {
865
+ /* @__PURE__ */ g("div", {
868
866
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
869
- children: [/* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
867
+ children: [/* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("label", {
870
868
  htmlFor: "mentor-form-name",
871
869
  className: "mb-1 block text-xs font-medium text-text-primary",
872
- children: p("healthybowl.network.mentors.form.fields.name.label", "Name")
873
- }), /* @__PURE__ */ m("input", {
870
+ children: f("healthybowl.network.mentors.form.fields.name.label", "Name")
871
+ }), /* @__PURE__ */ h("input", {
874
872
  id: "mentor-form-name",
875
873
  type: "text",
876
- value: H.name,
877
- onChange: (e) => Z("name", e.target.value),
874
+ value: W.name,
875
+ onChange: (e) => X("name", e.target.value),
878
876
  maxLength: 120,
879
- placeholder: p("healthybowl.network.mentors.form.fields.name.placeholder", "Full name"),
877
+ placeholder: f("healthybowl.network.mentors.form.fields.name.placeholder", "Full name"),
880
878
  className: "w-full rounded-md 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)]"
881
- })] }), /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
879
+ })] }), /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("label", {
882
880
  htmlFor: "mentor-form-specialization",
883
881
  className: "mb-1 block text-xs font-medium text-text-primary",
884
- children: p("healthybowl.network.mentors.form.fields.specialization.label", "Specialization")
885
- }), /* @__PURE__ */ m("input", {
882
+ children: f("healthybowl.network.mentors.form.fields.specialization.label", "Specialization")
883
+ }), /* @__PURE__ */ h("input", {
886
884
  id: "mentor-form-specialization",
887
885
  type: "text",
888
- value: H.specialization,
889
- onChange: (e) => Z("specialization", e.target.value),
886
+ value: W.specialization,
887
+ onChange: (e) => X("specialization", e.target.value),
890
888
  maxLength: 120,
891
- placeholder: p("healthybowl.network.mentors.form.fields.specialization.placeholder", "e.g. Regenerative Agriculture"),
889
+ placeholder: f("healthybowl.network.mentors.form.fields.specialization.placeholder", "e.g. Regenerative Agriculture"),
892
890
  className: "w-full rounded-md 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)]"
893
891
  })] })]
894
892
  }),
895
- /* @__PURE__ */ h("div", {
893
+ /* @__PURE__ */ g("div", {
896
894
  className: "grid grid-cols-1 gap-4 sm:grid-cols-3",
897
895
  children: [
898
- /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
896
+ /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("label", {
899
897
  htmlFor: "mentor-form-experience",
900
898
  className: "mb-1 block text-xs font-medium text-text-primary",
901
- children: p("healthybowl.network.mentors.form.fields.experience.label", "Experience (years)")
902
- }), /* @__PURE__ */ m("input", {
899
+ children: f("healthybowl.network.mentors.form.fields.experience.label", "Experience (years)")
900
+ }), /* @__PURE__ */ h("input", {
903
901
  id: "mentor-form-experience",
904
902
  type: "number",
905
903
  min: 0,
906
- value: H.experience,
907
- onChange: (e) => Z("experience", e.target.value),
904
+ value: W.experience,
905
+ onChange: (e) => X("experience", e.target.value),
908
906
  className: "w-full rounded-md 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)]"
909
907
  })] }),
910
- /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
908
+ /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("label", {
911
909
  htmlFor: "mentor-form-rating",
912
910
  className: "mb-1 block text-xs font-medium text-text-primary",
913
- children: p("healthybowl.network.mentors.form.fields.rating.label", "Rating")
914
- }), /* @__PURE__ */ m("input", {
911
+ children: f("healthybowl.network.mentors.form.fields.rating.label", "Rating")
912
+ }), /* @__PURE__ */ h("input", {
915
913
  id: "mentor-form-rating",
916
914
  type: "number",
917
915
  min: 0,
918
916
  max: 5,
919
917
  step: .1,
920
- value: H.rating,
921
- onChange: (e) => Z("rating", e.target.value),
918
+ value: W.rating,
919
+ onChange: (e) => X("rating", e.target.value),
922
920
  className: "w-full rounded-md 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)]"
923
921
  })] }),
924
- /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
922
+ /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("label", {
925
923
  htmlFor: "mentor-form-rate",
926
924
  className: "mb-1 block text-xs font-medium text-text-primary",
927
- children: p("healthybowl.network.mentors.form.fields.hourlyRate.label", "Hourly rate")
928
- }), /* @__PURE__ */ m("input", {
925
+ children: f("healthybowl.network.mentors.form.fields.hourlyRate.label", "Hourly rate")
926
+ }), /* @__PURE__ */ h("input", {
929
927
  id: "mentor-form-rate",
930
928
  type: "number",
931
929
  min: 0,
932
930
  step: .01,
933
- value: H.hourlyRate,
934
- onChange: (e) => Z("hourlyRate", e.target.value),
931
+ value: W.hourlyRate,
932
+ onChange: (e) => X("hourlyRate", e.target.value),
935
933
  className: "w-full rounded-md 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)]"
936
934
  })] })
937
935
  ]
938
936
  }),
939
- /* @__PURE__ */ h("div", {
937
+ /* @__PURE__ */ g("div", {
940
938
  className: "grid grid-cols-1 gap-4 sm:grid-cols-3",
941
939
  children: [
942
- /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
940
+ /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("label", {
943
941
  htmlFor: "mentor-form-location",
944
942
  className: "mb-1 block text-xs font-medium text-text-primary",
945
- children: p("healthybowl.network.mentors.form.fields.location.label", "Location")
946
- }), /* @__PURE__ */ m("input", {
943
+ children: f("healthybowl.network.mentors.form.fields.location.label", "Location")
944
+ }), /* @__PURE__ */ h("input", {
947
945
  id: "mentor-form-location",
948
946
  type: "text",
949
- value: H.location,
950
- onChange: (e) => Z("location", e.target.value),
947
+ value: W.location,
948
+ onChange: (e) => X("location", e.target.value),
951
949
  maxLength: 120,
952
- placeholder: p("healthybowl.network.mentors.form.fields.location.placeholder", "City, Region"),
950
+ placeholder: f("healthybowl.network.mentors.form.fields.location.placeholder", "City, Region"),
953
951
  className: "w-full rounded-md 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)]"
954
952
  })] }),
955
- /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
953
+ /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("label", {
956
954
  htmlFor: "mentor-form-availability",
957
955
  className: "mb-1 block text-xs font-medium text-text-primary",
958
- children: p("healthybowl.network.mentors.form.fields.availability.label", "Availability")
959
- }), /* @__PURE__ */ h(_, {
960
- value: H.availability,
961
- onValueChange: (e) => Z("availability", e),
962
- children: [/* @__PURE__ */ m(b, {
956
+ children: f("healthybowl.network.mentors.form.fields.availability.label", "Availability")
957
+ }), /* @__PURE__ */ g(v, {
958
+ value: W.availability,
959
+ onValueChange: (e) => X("availability", e),
960
+ children: [/* @__PURE__ */ h(x, {
963
961
  id: "mentor-form-availability",
964
962
  className: "w-full",
965
- children: /* @__PURE__ */ m(x, {})
966
- }), /* @__PURE__ */ m(v, { children: Ze.map((e) => /* @__PURE__ */ m(y, {
963
+ children: /* @__PURE__ */ h(S, {})
964
+ }), /* @__PURE__ */ h(y, { children: $e.map((e) => /* @__PURE__ */ h(b, {
967
965
  value: e.value,
968
966
  children: e.label
969
967
  }, e.value)) })]
970
968
  })] }),
971
- /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
969
+ /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("label", {
972
970
  htmlFor: "mentor-form-mentees",
973
971
  className: "mb-1 block text-xs font-medium text-text-primary",
974
- children: p("healthybowl.network.mentors.form.fields.mentees.label", "Active mentees")
975
- }), /* @__PURE__ */ m("input", {
972
+ children: f("healthybowl.network.mentors.form.fields.mentees.label", "Active mentees")
973
+ }), /* @__PURE__ */ h("input", {
976
974
  id: "mentor-form-mentees",
977
975
  type: "number",
978
976
  min: 0,
979
- value: H.mentees,
980
- onChange: (e) => Z("mentees", e.target.value),
977
+ value: W.mentees,
978
+ onChange: (e) => X("mentees", e.target.value),
981
979
  className: "w-full rounded-md 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)]"
982
980
  })] })
983
981
  ]
984
982
  }),
985
- /* @__PURE__ */ h("div", {
983
+ /* @__PURE__ */ g("div", {
986
984
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
987
- children: [/* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("label", {
985
+ children: [/* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("label", {
988
986
  htmlFor: "mentor-form-since",
989
987
  className: "mb-1 block text-xs font-medium text-text-primary",
990
- children: p("healthybowl.network.mentors.form.fields.mentoringSince.label", "Mentoring since")
991
- }), /* @__PURE__ */ m("input", {
988
+ children: f("healthybowl.network.mentors.form.fields.mentoringSince.label", "Mentoring since")
989
+ }), /* @__PURE__ */ h("input", {
992
990
  id: "mentor-form-since",
993
991
  type: "date",
994
- value: H.mentoringSince,
995
- onChange: (e) => Z("mentoringSince", e.target.value),
992
+ value: W.mentoringSince,
993
+ onChange: (e) => X("mentoringSince", e.target.value),
996
994
  max: i(),
997
995
  className: "w-full rounded-md 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)]"
998
- })] }), /* @__PURE__ */ h("div", { children: [
999
- /* @__PURE__ */ m("label", {
996
+ })] }), /* @__PURE__ */ g("div", { children: [
997
+ /* @__PURE__ */ h("label", {
1000
998
  htmlFor: "mentor-form-languages",
1001
999
  className: "mb-1 block text-xs font-medium text-text-primary",
1002
- children: p("healthybowl.network.mentors.form.fields.languages.label", "Languages")
1000
+ children: f("healthybowl.network.mentors.form.fields.languages.label", "Languages")
1003
1001
  }),
1004
- /* @__PURE__ */ m("input", {
1002
+ /* @__PURE__ */ h("input", {
1005
1003
  id: "mentor-form-languages",
1006
1004
  type: "text",
1007
- value: H.languages,
1008
- onChange: (e) => Z("languages", e.target.value),
1009
- placeholder: p("healthybowl.network.mentors.form.fields.languages.placeholder", "English, Hindi, Tamil"),
1005
+ value: W.languages,
1006
+ onChange: (e) => X("languages", e.target.value),
1007
+ placeholder: f("healthybowl.network.mentors.form.fields.languages.placeholder", "English, Hindi, Tamil"),
1010
1008
  className: "w-full rounded-md 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)]"
1011
1009
  }),
1012
- /* @__PURE__ */ m("p", {
1010
+ /* @__PURE__ */ h("p", {
1013
1011
  className: "mt-1 text-xs text-text-secondary",
1014
- children: p("healthybowl.network.mentors.form.fields.languages.hint", "Separate multiple languages with commas")
1012
+ children: f("healthybowl.network.mentors.form.fields.languages.hint", "Separate multiple languages with commas")
1015
1013
  })
1016
1014
  ] })]
1017
1015
  }),
1018
- /* @__PURE__ */ h("div", { children: [
1019
- /* @__PURE__ */ m("label", {
1016
+ /* @__PURE__ */ g("div", { children: [
1017
+ /* @__PURE__ */ h("label", {
1020
1018
  htmlFor: "mentor-form-focus",
1021
1019
  className: "mb-1 block text-xs font-medium text-text-primary",
1022
- children: p("healthybowl.network.mentors.form.fields.focusAreas.label", "Focus areas")
1020
+ children: f("healthybowl.network.mentors.form.fields.focusAreas.label", "Focus areas")
1023
1021
  }),
1024
- /* @__PURE__ */ m("input", {
1022
+ /* @__PURE__ */ h("input", {
1025
1023
  id: "mentor-form-focus",
1026
1024
  type: "text",
1027
- value: H.focusAreas,
1028
- onChange: (e) => Z("focusAreas", e.target.value),
1029
- placeholder: p("healthybowl.network.mentors.form.fields.focusAreas.placeholder", "Cover Cropping, No-Till Farming"),
1025
+ value: W.focusAreas,
1026
+ onChange: (e) => X("focusAreas", e.target.value),
1027
+ placeholder: f("healthybowl.network.mentors.form.fields.focusAreas.placeholder", "Cover Cropping, No-Till Farming"),
1030
1028
  className: "w-full rounded-md 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)]"
1031
1029
  }),
1032
- /* @__PURE__ */ m("p", {
1030
+ /* @__PURE__ */ h("p", {
1033
1031
  className: "mt-1 text-xs text-text-secondary",
1034
- children: p("healthybowl.network.mentors.form.fields.focusAreas.hint", "Separate multiple focus areas with commas")
1032
+ children: f("healthybowl.network.mentors.form.fields.focusAreas.hint", "Separate multiple focus areas with commas")
1035
1033
  })
1036
1034
  ] })
1037
1035
  ]
1038
1036
  })
1039
1037
  }),
1040
- /* @__PURE__ */ m(ne, {
1041
- toasts: Qe,
1042
- onDismiss: $e
1038
+ /* @__PURE__ */ h(ne, {
1039
+ toasts: et,
1040
+ onDismiss: tt
1043
1041
  })
1044
1042
  ]
1045
1043
  });
1046
1044
  };
1047
1045
  //#endregion
1048
- export { w as MentorsPage };
1046
+ export { E as MentorsPage };
1049
1047
 
1050
1048
  //# sourceMappingURL=MentorsPage.js.map