@burdenoff/microfe-technospam 2026.709.1 → 2026.709.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 (85) hide show
  1. package/dist/dev/main.d.ts +2 -0
  2. package/dist/dev/main.d.ts.map +1 -0
  3. package/dist/generated/global-operations.d.ts +2 -0
  4. package/dist/generated/global-operations.d.ts.map +1 -0
  5. package/dist/generated/global-types.d.ts +18199 -0
  6. package/dist/generated/global-types.d.ts.map +1 -0
  7. package/dist/generated/wspace-operations.d.ts +267 -0
  8. package/dist/generated/wspace-operations.d.ts.map +1 -0
  9. package/dist/generated/wspace-types.d.ts +43083 -0
  10. package/dist/generated/wspace-types.d.ts.map +1 -0
  11. package/dist/index.d.ts +2 -0
  12. package/dist/index.d.ts.map +1 -0
  13. package/dist/technospam/TechnoSpamRoot.d.ts +5 -0
  14. package/dist/technospam/TechnoSpamRoot.d.ts.map +1 -0
  15. package/dist/technospam/TechnoSpamRoutes.d.ts +2 -0
  16. package/dist/technospam/TechnoSpamRoutes.d.ts.map +1 -0
  17. package/dist/technospam/api/technospamApi.d.ts +402 -0
  18. package/dist/technospam/api/technospamApi.d.ts.map +1 -0
  19. package/dist/technospam/components/LoadMore.d.ts +11 -0
  20. package/dist/technospam/components/LoadMore.d.ts.map +1 -0
  21. package/dist/technospam/components/MediaCover.d.ts +20 -0
  22. package/dist/technospam/components/MediaCover.d.ts.map +1 -0
  23. package/dist/technospam/components/PageLayout.d.ts +20 -0
  24. package/dist/technospam/components/PageLayout.d.ts.map +1 -0
  25. package/dist/technospam/components/StatCard.d.ts +20 -0
  26. package/dist/technospam/components/StatCard.d.ts.map +1 -0
  27. package/dist/technospam/components/StateViews.d.ts +30 -0
  28. package/dist/technospam/components/StateViews.d.ts.map +1 -0
  29. package/dist/technospam/components/StatusBadge.d.ts +5 -0
  30. package/dist/technospam/components/StatusBadge.d.ts.map +1 -0
  31. package/dist/technospam/components/index.d.ts +7 -0
  32. package/dist/technospam/components/index.d.ts.map +1 -0
  33. package/dist/technospam/hooks/useTechnoSpamAnalytics.d.ts +20 -0
  34. package/dist/technospam/hooks/useTechnoSpamAnalytics.d.ts.map +1 -0
  35. package/dist/technospam/index.d.ts +6 -0
  36. package/dist/technospam/index.d.ts.map +1 -0
  37. package/dist/technospam/lib/toast.d.ts +18 -0
  38. package/dist/technospam/lib/toast.d.ts.map +1 -0
  39. package/dist/technospam/pages/AdminAdminDashboardPagePage.d.ts +2 -0
  40. package/dist/technospam/pages/AdminAdminDashboardPagePage.d.ts.map +1 -0
  41. package/dist/technospam/pages/AnalyticsAnalyticsPagePage.d.ts +2 -0
  42. package/dist/technospam/pages/AnalyticsAnalyticsPagePage.d.ts.map +1 -0
  43. package/dist/technospam/pages/ApplicationsProblemDetailsPagePage.d.ts +2 -0
  44. package/dist/technospam/pages/ApplicationsProblemDetailsPagePage.d.ts.map +1 -0
  45. package/dist/technospam/pages/ApplicationsProblemsPagePage.d.ts +2 -0
  46. package/dist/technospam/pages/ApplicationsProblemsPagePage.d.ts.map +1 -0
  47. package/dist/technospam/pages/CoursesCourseDetailsPagePage.d.ts +2 -0
  48. package/dist/technospam/pages/CoursesCourseDetailsPagePage.d.ts.map +1 -0
  49. package/dist/technospam/pages/CoursesCoursesPagePage.d.ts +2 -0
  50. package/dist/technospam/pages/CoursesCoursesPagePage.d.ts.map +1 -0
  51. package/dist/technospam/pages/CoursesMyLearningPagePage.d.ts +2 -0
  52. package/dist/technospam/pages/CoursesMyLearningPagePage.d.ts.map +1 -0
  53. package/dist/technospam/pages/DashboardDashboardPagePage.d.ts +2 -0
  54. package/dist/technospam/pages/DashboardDashboardPagePage.d.ts.map +1 -0
  55. package/dist/technospam/pages/HackathonsHackathonDetailsPagePage.d.ts +2 -0
  56. package/dist/technospam/pages/HackathonsHackathonDetailsPagePage.d.ts.map +1 -0
  57. package/dist/technospam/pages/HackathonsHackathonsPagePage.d.ts +2 -0
  58. package/dist/technospam/pages/HackathonsHackathonsPagePage.d.ts.map +1 -0
  59. package/dist/technospam/pages/MentorshipMentorProfilePagePage.d.ts +2 -0
  60. package/dist/technospam/pages/MentorshipMentorProfilePagePage.d.ts.map +1 -0
  61. package/dist/technospam/pages/MentorshipMentorsPagePage.d.ts +2 -0
  62. package/dist/technospam/pages/MentorshipMentorsPagePage.d.ts.map +1 -0
  63. package/dist/technospam/pages/MentorshipSessionsPagePage.d.ts +2 -0
  64. package/dist/technospam/pages/MentorshipSessionsPagePage.d.ts.map +1 -0
  65. package/dist/technospam/providers/TechnoSpamProvider.d.ts +13 -0
  66. package/dist/technospam/providers/TechnoSpamProvider.d.ts.map +1 -0
  67. package/dist/technospam/services/assistantApi.d.ts +76 -0
  68. package/dist/technospam/services/assistantApi.d.ts.map +1 -0
  69. package/dist/technospam/services/createSandboxAssistantTransport.d.ts +40 -0
  70. package/dist/technospam/services/createSandboxAssistantTransport.d.ts.map +1 -0
  71. package/dist/technospam/types/assistant.d.ts +15 -0
  72. package/dist/technospam/types/assistant.d.ts.map +1 -0
  73. package/dist/technospam/types/index.d.ts +51 -0
  74. package/dist/technospam/types/index.d.ts.map +1 -0
  75. package/dist/technospam/utils/cn.d.ts +4 -0
  76. package/dist/technospam/utils/cn.d.ts.map +1 -0
  77. package/dist/technospam/utils/format.d.ts +9 -0
  78. package/dist/technospam/utils/format.d.ts.map +1 -0
  79. package/dist/technospam/utils/i18n.d.ts +6 -0
  80. package/dist/technospam/utils/i18n.d.ts.map +1 -0
  81. package/dist/technospam/utils/navigation.d.ts +2 -0
  82. package/dist/technospam/utils/navigation.d.ts.map +1 -0
  83. package/dist/technospam/utils/pageContext.d.ts +28 -0
  84. package/dist/technospam/utils/pageContext.d.ts.map +1 -0
  85. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ export * from './technospam';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { TechnoSpamRootProps } from './types';
3
+
4
+ export declare const TechnoSpamRoot: FC<TechnoSpamRootProps>;
5
+ //# sourceMappingURL=TechnoSpamRoot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TechnoSpamRoot.d.ts","sourceRoot":"","sources":["../../src/technospam/TechnoSpamRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAwChC,OAAO,KAAK,EAAW,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAK5D,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAqelD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare function TechnoSpamRoutes(): import("react").JSX.Element;
2
+ //# sourceMappingURL=TechnoSpamRoutes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TechnoSpamRoutes.d.ts","sourceRoot":"","sources":["../../src/technospam/TechnoSpamRoutes.tsx"],"names":[],"mappings":"AAsFA,wBAAgB,gBAAgB,gCA0G/B"}
@@ -0,0 +1,402 @@
1
+ import { useMutation, useQuery } from '@apollo/client/react';
2
+
3
+ export type TecCourseLevel = 'BEGINNER' | 'INTERMEDIATE' | 'ADVANCED' | 'EXPERT';
4
+ export type TecCourseStatus = 'DRAFT' | 'PUBLISHED' | 'ARCHIVED';
5
+ export type TecLessonKind = 'VIDEO' | 'ARTICLE' | 'INTERACTIVE' | 'QUIZ' | 'PROJECT';
6
+ export type TecEnrollmentStatus = 'ENROLLED' | 'IN_PROGRESS' | 'COMPLETED' | 'DROPPED';
7
+ export type TecCertificateStatus = 'ISSUED' | 'REVOKED';
8
+ export type TecProblemDifficulty = 'EASY' | 'MEDIUM' | 'HARD';
9
+ export type TecProblemStatus = 'DRAFT' | 'PUBLISHED' | 'ARCHIVED';
10
+ export type TecSubmissionVerdict = 'PENDING' | 'ACCEPTED' | 'WRONG_ANSWER' | 'TIME_LIMIT_EXCEEDED' | 'RUNTIME_ERROR' | 'COMPILE_ERROR';
11
+ export type TecMentorStatus = 'PENDING' | 'ACTIVE' | 'PAUSED' | 'INACTIVE';
12
+ export type TecSessionStatus = 'REQUESTED' | 'CONFIRMED' | 'COMPLETED' | 'CANCELLED' | 'NO_SHOW';
13
+ export type TecHackathonStatus = 'DRAFT' | 'REGISTRATION_OPEN' | 'IN_PROGRESS' | 'JUDGING' | 'COMPLETED' | 'CANCELLED';
14
+ export type TecTeamSubmissionStatus = 'DRAFT' | 'SUBMITTED' | 'DISQUALIFIED' | 'WINNER';
15
+ export interface TecCourse {
16
+ id: string;
17
+ slug: string;
18
+ title: string;
19
+ summary?: string | null;
20
+ topic?: string | null;
21
+ level: TecCourseLevel;
22
+ status: TecCourseStatus;
23
+ tags: string[];
24
+ estimatedMinutes: number;
25
+ instructorId?: string | null;
26
+ publishedAt?: string | null;
27
+ createdAt: string;
28
+ updatedAt: string;
29
+ lessons?: TecLesson[];
30
+ enrollments?: TecEnrollment[];
31
+ }
32
+ export interface TecLesson {
33
+ id: string;
34
+ courseId: string;
35
+ title: string;
36
+ kind: TecLessonKind;
37
+ content?: string | null;
38
+ position: number;
39
+ estimatedMinutes: number;
40
+ isPreview: boolean;
41
+ createdAt: string;
42
+ updatedAt: string;
43
+ }
44
+ export interface TecEnrollment {
45
+ id: string;
46
+ courseId: string;
47
+ learnerId: string;
48
+ status: TecEnrollmentStatus;
49
+ progressPct: number;
50
+ lessonsCompleted: number;
51
+ startedAt: string;
52
+ lastActiveAt?: string | null;
53
+ completedAt?: string | null;
54
+ createdAt: string;
55
+ updatedAt: string;
56
+ course?: TecCourse | null;
57
+ }
58
+ export interface TecCertificate {
59
+ id: string;
60
+ courseId: string;
61
+ learnerId: string;
62
+ serial: string;
63
+ score: number;
64
+ status: TecCertificateStatus;
65
+ issuedAt: string;
66
+ revokedAt?: string | null;
67
+ revokeReason?: string | null;
68
+ createdAt: string;
69
+ course?: TecCourse | null;
70
+ }
71
+ export interface TecProblem {
72
+ id: string;
73
+ slug: string;
74
+ title: string;
75
+ statement?: string | null;
76
+ topic?: string | null;
77
+ difficulty: TecProblemDifficulty;
78
+ status: TecProblemStatus;
79
+ tags: string[];
80
+ languages: string[];
81
+ points: number;
82
+ starterCode?: string | null;
83
+ publishedAt?: string | null;
84
+ createdAt: string;
85
+ updatedAt: string;
86
+ submissions?: TecSubmission[];
87
+ }
88
+ export interface TecSubmission {
89
+ id: string;
90
+ problemId: string;
91
+ learnerId: string;
92
+ language: string;
93
+ code: string;
94
+ verdict: TecSubmissionVerdict;
95
+ runtimeMs: number;
96
+ pointsAwarded: number;
97
+ judgedAt?: string | null;
98
+ createdAt: string;
99
+ updatedAt: string;
100
+ problem?: TecProblem | null;
101
+ }
102
+ export interface TecMentor {
103
+ id: string;
104
+ userId: string;
105
+ headline: string;
106
+ bio?: string | null;
107
+ expertise: string[];
108
+ hourlyRate: number;
109
+ currency: string;
110
+ status: TecMentorStatus;
111
+ isAcceptingMentees: boolean;
112
+ ratingAvg: number;
113
+ sessionsCount: number;
114
+ createdAt: string;
115
+ updatedAt: string;
116
+ sessions?: TecMentorSession[];
117
+ }
118
+ export interface TecMentorSession {
119
+ id: string;
120
+ mentorId: string;
121
+ menteeId: string;
122
+ topic: string;
123
+ agenda?: string | null;
124
+ scheduledAt: string;
125
+ durationMinutes: number;
126
+ status: TecSessionStatus;
127
+ meetingUrl?: string | null;
128
+ rating?: number | null;
129
+ feedback?: string | null;
130
+ completedAt?: string | null;
131
+ cancelledAt?: string | null;
132
+ createdAt: string;
133
+ updatedAt: string;
134
+ mentor?: TecMentor | null;
135
+ }
136
+ export interface TecHackathon {
137
+ id: string;
138
+ slug: string;
139
+ title: string;
140
+ theme?: string | null;
141
+ description?: string | null;
142
+ status: TecHackathonStatus;
143
+ startAt: string;
144
+ endAt: string;
145
+ submissionDeadline?: string | null;
146
+ prizePool: number;
147
+ currency: string;
148
+ maxTeamSize: number;
149
+ tags: string[];
150
+ createdAt: string;
151
+ updatedAt: string;
152
+ teams?: TecHackathonTeam[];
153
+ }
154
+ export interface TecHackathonTeam {
155
+ id: string;
156
+ hackathonId: string;
157
+ name: string;
158
+ captainId: string;
159
+ memberIds: string[];
160
+ projectName?: string | null;
161
+ projectUrl?: string | null;
162
+ repoUrl?: string | null;
163
+ pitch?: string | null;
164
+ status: TecTeamSubmissionStatus;
165
+ score: number;
166
+ submittedAt?: string | null;
167
+ createdAt: string;
168
+ updatedAt: string;
169
+ hackathon?: TecHackathon | null;
170
+ }
171
+ export interface TecPageInfo {
172
+ cursor?: string | null;
173
+ hasMore: boolean;
174
+ }
175
+ export interface PaginationInput {
176
+ limit?: number;
177
+ cursor?: string | null;
178
+ }
179
+ /** Build a pagination arg that NEVER sends cursor:null (page-1 500 guard). */
180
+ export declare function pageArg(limit?: number, cursor?: string | null): {
181
+ limit: number;
182
+ cursor?: string;
183
+ };
184
+ type Conn<K extends string, T> = Record<K, {
185
+ items: T[];
186
+ pageInfo: TecPageInfo;
187
+ }>;
188
+ export declare const useCoursesQuery: (vars: {
189
+ level?: TecCourseLevel;
190
+ status?: TecCourseStatus;
191
+ pagination?: {
192
+ limit: number;
193
+ cursor?: string;
194
+ };
195
+ }) => useQuery.Result<Conn<"tecListCourses", TecCourse>, import('@apollo/client').OperationVariables, "empty" | "complete" | "streaming", import('@apollo/client').OperationVariables>;
196
+ export declare const useCourseQuery: (id: string) => useQuery.Result<{
197
+ tecCourse: TecCourse | null;
198
+ }, import('@apollo/client').OperationVariables, "empty" | "complete" | "streaming", import('@apollo/client').OperationVariables>;
199
+ export declare const useEnrollmentsQuery: (vars: {
200
+ learnerId?: string;
201
+ courseId?: string;
202
+ }) => useQuery.Result<Conn<"tecListEnrollments", TecEnrollment>, import('@apollo/client').OperationVariables, "empty" | "complete" | "streaming", import('@apollo/client').OperationVariables>;
203
+ export declare const useCertificatesQuery: (vars: {
204
+ learnerId?: string;
205
+ courseId?: string;
206
+ }) => useQuery.Result<{
207
+ tecListCertificates: TecCertificate[];
208
+ }, import('@apollo/client').OperationVariables, "empty" | "complete" | "streaming", import('@apollo/client').OperationVariables>;
209
+ export declare const useProblemsQuery: (vars: {
210
+ difficulty?: TecProblemDifficulty;
211
+ status?: TecProblemStatus;
212
+ topic?: string;
213
+ pagination?: {
214
+ limit: number;
215
+ cursor?: string;
216
+ };
217
+ }) => useQuery.Result<Conn<"tecListProblems", TecProblem>, import('@apollo/client').OperationVariables, "empty" | "complete" | "streaming", import('@apollo/client').OperationVariables>;
218
+ export declare const useProblemQuery: (id: string) => useQuery.Result<{
219
+ tecProblem: TecProblem | null;
220
+ }, import('@apollo/client').OperationVariables, "empty" | "complete" | "streaming", import('@apollo/client').OperationVariables>;
221
+ export declare const useSubmissionsQuery: (vars: {
222
+ learnerId?: string;
223
+ problemId?: string;
224
+ }) => useQuery.Result<Conn<"tecListSubmissions", TecSubmission>, import('@apollo/client').OperationVariables, "empty" | "complete" | "streaming", import('@apollo/client').OperationVariables>;
225
+ export declare const useMentorsQuery: (vars: {
226
+ status?: TecMentorStatus;
227
+ pagination?: {
228
+ limit: number;
229
+ cursor?: string;
230
+ };
231
+ }) => useQuery.Result<Conn<"tecListMentors", TecMentor>, import('@apollo/client').OperationVariables, "empty" | "complete" | "streaming", import('@apollo/client').OperationVariables>;
232
+ export declare const useMentorQuery: (id: string) => useQuery.Result<{
233
+ tecMentor: TecMentor | null;
234
+ }, import('@apollo/client').OperationVariables, "empty" | "complete" | "streaming", import('@apollo/client').OperationVariables>;
235
+ export declare const useSessionsQuery: (vars: {
236
+ mentorId?: string;
237
+ menteeId?: string;
238
+ status?: TecSessionStatus;
239
+ }) => useQuery.Result<{
240
+ tecListSessions: TecMentorSession[];
241
+ }, import('@apollo/client').OperationVariables, "empty" | "complete" | "streaming", import('@apollo/client').OperationVariables>;
242
+ export declare const useHackathonsQuery: (vars: {
243
+ status?: TecHackathonStatus;
244
+ pagination?: {
245
+ limit: number;
246
+ cursor?: string;
247
+ };
248
+ }) => useQuery.Result<Conn<"tecListHackathons", TecHackathon>, import('@apollo/client').OperationVariables, "empty" | "complete" | "streaming", import('@apollo/client').OperationVariables>;
249
+ export declare const useHackathonQuery: (id: string) => useQuery.Result<{
250
+ tecHackathon: TecHackathon | null;
251
+ }, import('@apollo/client').OperationVariables, "empty" | "complete" | "streaming", import('@apollo/client').OperationVariables>;
252
+ export declare const useTeamsQuery: (hackathonId: string) => useQuery.Result<{
253
+ tecListTeams: TecHackathonTeam[];
254
+ }, import('@apollo/client').OperationVariables, "empty" | "complete" | "streaming", import('@apollo/client').OperationVariables>;
255
+ export declare const useLessonsQuery: (courseId: string) => useQuery.Result<{
256
+ tecListLessons: TecLesson[];
257
+ }, import('@apollo/client').OperationVariables, "empty" | "complete" | "streaming", import('@apollo/client').OperationVariables>;
258
+ export declare const useEnroll: () => useMutation.ResultTuple<{
259
+ tecEnroll: TecEnrollment;
260
+ }, {
261
+ [x: string]: any;
262
+ }, import('@apollo/client').ApolloCache, undefined>;
263
+ export declare const useUpdateProgress: () => useMutation.ResultTuple<{
264
+ tecUpdateProgress: TecEnrollment;
265
+ }, {
266
+ [x: string]: any;
267
+ }, import('@apollo/client').ApolloCache, undefined>;
268
+ export declare const useSubmitSolution: () => useMutation.ResultTuple<{
269
+ tecSubmitSolution: TecSubmission;
270
+ }, {
271
+ [x: string]: any;
272
+ }, import('@apollo/client').ApolloCache, undefined>;
273
+ export declare const useBookSession: () => useMutation.ResultTuple<{
274
+ tecBookSession: TecMentorSession;
275
+ }, {
276
+ [x: string]: any;
277
+ }, import('@apollo/client').ApolloCache, undefined>;
278
+ export declare const useCancelSession: () => useMutation.ResultTuple<{
279
+ tecCancelSession: TecMentorSession;
280
+ }, {
281
+ [x: string]: any;
282
+ }, import('@apollo/client').ApolloCache, undefined>;
283
+ export declare const useBecomeMentor: () => useMutation.ResultTuple<{
284
+ tecBecomeMentor: TecMentor;
285
+ }, {
286
+ [x: string]: any;
287
+ }, import('@apollo/client').ApolloCache, undefined>;
288
+ export declare const useRegisterTeam: () => useMutation.ResultTuple<{
289
+ tecRegisterTeam: TecHackathonTeam;
290
+ }, {
291
+ [x: string]: any;
292
+ }, import('@apollo/client').ApolloCache, undefined>;
293
+ export declare const useSubmitProject: () => useMutation.ResultTuple<{
294
+ tecSubmitProject: TecHackathonTeam;
295
+ }, {
296
+ [x: string]: any;
297
+ }, import('@apollo/client').ApolloCache, undefined>;
298
+ export declare const useCreateCourse: () => useMutation.ResultTuple<{
299
+ tecCreateCourse: TecCourse;
300
+ }, {
301
+ [x: string]: any;
302
+ }, import('@apollo/client').ApolloCache, undefined>;
303
+ export declare const usePublishCourse: () => useMutation.ResultTuple<{
304
+ tecPublishCourse: TecCourse;
305
+ }, {
306
+ [x: string]: any;
307
+ }, import('@apollo/client').ApolloCache, undefined>;
308
+ export declare const useArchiveCourse: () => useMutation.ResultTuple<{
309
+ tecArchiveCourse: boolean;
310
+ }, {
311
+ [x: string]: any;
312
+ }, import('@apollo/client').ApolloCache, undefined>;
313
+ export declare const useCreateLesson: () => useMutation.ResultTuple<{
314
+ tecCreateLesson: TecLesson;
315
+ }, {
316
+ [x: string]: any;
317
+ }, import('@apollo/client').ApolloCache, undefined>;
318
+ export declare const useCreateProblem: () => useMutation.ResultTuple<{
319
+ tecCreateProblem: TecProblem;
320
+ }, {
321
+ [x: string]: any;
322
+ }, import('@apollo/client').ApolloCache, undefined>;
323
+ export declare const usePublishProblem: () => useMutation.ResultTuple<{
324
+ tecPublishProblem: TecProblem;
325
+ }, {
326
+ [x: string]: any;
327
+ }, import('@apollo/client').ApolloCache, undefined>;
328
+ export declare const useCreateHackathon: () => useMutation.ResultTuple<{
329
+ tecCreateHackathon: TecHackathon;
330
+ }, {
331
+ [x: string]: any;
332
+ }, import('@apollo/client').ApolloCache, undefined>;
333
+ export declare const useOpenRegistration: () => useMutation.ResultTuple<{
334
+ tecOpenRegistration: TecHackathon;
335
+ }, {
336
+ [x: string]: any;
337
+ }, import('@apollo/client').ApolloCache, undefined>;
338
+ export declare const useApproveMentor: () => useMutation.ResultTuple<{
339
+ tecApproveMentor: TecMentor;
340
+ }, {
341
+ [x: string]: any;
342
+ }, import('@apollo/client').ApolloCache, undefined>;
343
+ export declare const useScoreTeam: () => useMutation.ResultTuple<{
344
+ tecScoreTeam: TecHackathonTeam;
345
+ }, {
346
+ [x: string]: any;
347
+ }, import('@apollo/client').ApolloCache, undefined>;
348
+ export declare const useConfirmSession: () => useMutation.ResultTuple<{
349
+ tecConfirmSession: TecMentorSession;
350
+ }, {
351
+ [x: string]: any;
352
+ }, import('@apollo/client').ApolloCache, undefined>;
353
+ export declare const useCompleteSession: () => useMutation.ResultTuple<{
354
+ tecCompleteSession: TecMentorSession;
355
+ }, {
356
+ [x: string]: any;
357
+ }, import('@apollo/client').ApolloCache, undefined>;
358
+ export declare const useGradeSubmission: () => useMutation.ResultTuple<{
359
+ tecGradeSubmission: TecSubmission;
360
+ }, {
361
+ [x: string]: any;
362
+ }, import('@apollo/client').ApolloCache, undefined>;
363
+ export declare const useIssueCertificate: () => useMutation.ResultTuple<{
364
+ tecIssueCertificate: TecCertificate;
365
+ }, {
366
+ [x: string]: any;
367
+ }, import('@apollo/client').ApolloCache, undefined>;
368
+ export declare const useRevokeCertificate: () => useMutation.ResultTuple<{
369
+ tecRevokeCertificate: TecCertificate;
370
+ }, {
371
+ [x: string]: any;
372
+ }, import('@apollo/client').ApolloCache, undefined>;
373
+ export declare const useStartHackathon: () => useMutation.ResultTuple<{
374
+ tecStartHackathon: TecHackathon;
375
+ }, {
376
+ [x: string]: any;
377
+ }, import('@apollo/client').ApolloCache, undefined>;
378
+ export declare const useStartJudging: () => useMutation.ResultTuple<{
379
+ tecStartJudging: TecHackathon;
380
+ }, {
381
+ [x: string]: any;
382
+ }, import('@apollo/client').ApolloCache, undefined>;
383
+ export declare const useCompleteHackathon: () => useMutation.ResultTuple<{
384
+ tecCompleteHackathon: TecHackathon;
385
+ }, {
386
+ [x: string]: any;
387
+ }, import('@apollo/client').ApolloCache, undefined>;
388
+ export interface PageLimit {
389
+ limit: number;
390
+ more: () => void;
391
+ }
392
+ /**
393
+ * Simple, robust "load more". The backend paginates with `take = limit + 1`
394
+ * (offset is ignored; only `cursor` shifts the window), so a larger `limit`
395
+ * simply fetches more rows from the top and `pageInfo.hasMore` reports whether
396
+ * still more exist. Growing the limit avoids cursor-merge/fetchMore complexity
397
+ * and never sends `cursor: null` (the page-1 500 guard). Pass `limit` into the
398
+ * query's `pageArg` and render <LoadMore hasMore={...} onClick={more} />.
399
+ */
400
+ export declare function usePageLimit(step?: number, initial?: number): PageLimit;
401
+ export {};
402
+ //# sourceMappingURL=technospamApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"technospamApi.d.ts","sourceRoot":"","sources":["../../../src/technospam/api/technospamApi.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAM7D,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,cAAc,GAAG,UAAU,GAAG,QAAQ,CAAC;AACjF,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,WAAW,GAAG,UAAU,CAAC;AACjE,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,SAAS,GAAG,aAAa,GAAG,MAAM,GAAG,SAAS,CAAC;AACrF,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG,aAAa,GAAG,WAAW,GAAG,SAAS,CAAC;AACvF,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,SAAS,CAAC;AACxD,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;AAC9D,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,WAAW,GAAG,UAAU,CAAC;AAClE,MAAM,MAAM,oBAAoB,GAC5B,SAAS,GACT,UAAU,GACV,cAAc,GACd,qBAAqB,GACrB,eAAe,GACf,eAAe,CAAC;AACpB,MAAM,MAAM,eAAe,G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AAgB;sBACK,OAAO;;;mDAGrC,CAAC;AAEL,eAAO,MAAM,eAAe;qBACK,SAAS;;;mDAAgD,CAAC;AAE3F,eAAO,MAAM,gBAAgB;sBACK,UAAU;;;mDAGxC,CAAC;AAEL,eAAO,MAAM,iBAAiB;uBACK,UAAU;;;mDAGzC,CAAC;AAEL,eAAO,MAAM,kBAAkB;wBACK,YAAY;;;mDAG5C,CAAC;AAEL,eAAO,MAAM,mBAAmB;yBACK,YAAY;;;mDAG7C,CAAC;AAEL,eAAO,MAAM,gBAAgB;sBACK,SAAS;;;mDAGvC,CAAC;AAEL,eAAO,MAAM,YAAY;kBACK,gBAAgB;;;mDAA6C,CAAC;AAE5F,eAAO,MAAM,iBAAiB;uBACK,gBAAgB;;;mDAG/C,CAAC;AAEL,eAAO,MAAM,kBAAkB;wBACK,gBAAgB;;;mDAGhD,CAAC;AAEL,eAAO,MAAM,kBAAkB;wBACK,aAAa;;;mDAG7C,CAAC;AAEL,eAAO,MAAM,mBAAmB;yBACK,cAAc;;;mDAE/C,CAAC;AAEL,eAAO,MAAM,oBAAoB;0BACK,cAAc;;;mDAEhD,CAAC;AAEL,eAAO,MAAM,iBAAiB;uBACK,YAAY;;;mDAG3C,CAAC;AAEL,eAAO,MAAM,eAAe;qBACK,YAAY;;;mDAGzC,CAAC;AAEL,eAAO,MAAM,oBAAoB;0BACK,YAAY;;;mDAG9C,CAAC;AAIL,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,IAAI,CAAC;CAClB;AAED;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAAC,IAAI,SAAK,EAAE,OAAO,SAAK,GAAG,SAAS,CAG/D"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Cursor-based "load more" control. The backend list resolvers paginate by
3
+ * cursor (offset is ignored), so page 1 omits the cursor entirely and each
4
+ * subsequent fetch passes the previous page's `pageInfo.cursor`.
5
+ */
6
+ export declare function LoadMore({ hasMore, loading, onClick, }: {
7
+ hasMore: boolean;
8
+ loading?: boolean;
9
+ onClick: () => void;
10
+ }): import("react").JSX.Element | null;
11
+ //# sourceMappingURL=LoadMore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoadMore.d.ts","sourceRoot":"","sources":["../../../src/technospam/components/LoadMore.tsx"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,EACvB,OAAO,EACP,OAAO,EACP,OAAO,GACR,EAAE;IACD,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,sCASA"}
@@ -0,0 +1,20 @@
1
+ import { ReactNode } from 'react';
2
+ import { Trophy, LucideIcon } from 'lucide-react';
3
+
4
+ export declare function coverGradient(seed: string): string;
5
+ /** Pick a topic-appropriate icon from a free-text seed (topic/title/tags). */
6
+ export declare function topicIcon(seed: string, fallback?: LucideIcon): LucideIcon;
7
+ export { Trophy };
8
+ /**
9
+ * A vivid gradient cover band with a large faint topic-icon watermark and a
10
+ * bottom scrim for legible overlay content. Used by course / problem / hackathon
11
+ * cards and detail heroes so media reads as bold and modern (no flat panels).
12
+ */
13
+ export declare function MediaCover({ seed, icon, height, children, className, }: {
14
+ seed: string;
15
+ icon?: LucideIcon;
16
+ height?: string;
17
+ children?: ReactNode;
18
+ className?: string;
19
+ }): import("react").JSX.Element;
20
+ //# sourceMappingURL=MediaCover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MediaCover.d.ts","sourceRoot":"","sources":["../../../src/technospam/components/MediaCover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,EAUL,MAAM,EACN,KAAK,UAAU,EAChB,MAAM,cAAc,CAAC;AAoBtB,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAElD;AAaD,8EAA8E;AAC9E,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,GAAE,UAAkB,GAAG,UAAU,CAGhF;AAED,OAAO,EAAE,MAAM,EAAE,CAAC;AAElB;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,IAAI,EACJ,MAAe,EACf,QAAQ,EACR,SAAS,GACV,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,+BAsBA"}
@@ -0,0 +1,20 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ interface PageLayoutProps {
4
+ title: ReactNode;
5
+ description?: ReactNode;
6
+ actions?: ReactNode;
7
+ children: ReactNode;
8
+ backPath?: string;
9
+ /** Render the page header with the living-glass aurora backdrop (module hero). */
10
+ hero?: boolean;
11
+ }
12
+ /**
13
+ * Consistent page chrome for every TechnoSpam module page: a header band
14
+ * (optionally with the aurora hero backdrop), an optional back affordance, an
15
+ * actions slot, and a scrollable body. Mirrors the platform page pattern so
16
+ * TechnoSpam feels native to the shell.
17
+ */
18
+ export declare function PageLayout({ title, description, actions, children, backPath, hero, }: PageLayoutProps): import("react").JSX.Element;
19
+ export {};
20
+ //# sourceMappingURL=PageLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PageLayout.d.ts","sourceRoot":"","sources":["../../../src/technospam/components/PageLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,UAAU,eAAe;IACvB,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kFAAkF;IAClF,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,WAAW,EACX,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,IAAY,GACb,EAAE,eAAe,+BAmCjB"}
@@ -0,0 +1,20 @@
1
+ import { LucideIcon } from 'lucide-react';
2
+
3
+ /** Tinted icon-chip tones, all built from tokens that exist in the theme. */
4
+ export type StatTone = 'blue' | 'teal' | 'purple' | 'indigo' | 'green' | 'amber';
5
+ interface StatCardProps {
6
+ label: string;
7
+ value: string | number;
8
+ hint?: string;
9
+ icon?: LucideIcon;
10
+ tone?: StatTone;
11
+ className?: string;
12
+ }
13
+ /**
14
+ * Compact metric tile used across dashboards and module overviews. The icon sits
15
+ * in a softly-tinted, ringed chip so a row of tiles reads as a colourful,
16
+ * modern stat strip rather than a flat list.
17
+ */
18
+ export declare function StatCard({ label, value, hint, icon: Icon, tone, className, }: StatCardProps): import("react").JSX.Element;
19
+ export {};
20
+ //# sourceMappingURL=StatCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatCard.d.ts","sourceRoot":"","sources":["../../../src/technospam/components/StatCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI/C,6EAA6E;AAC7E,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAC;AAWjF,UAAU,aAAa;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,KAAK,EACL,IAAI,EACJ,IAAI,EAAE,IAAI,EACV,IAAa,EACb,SAAS,GACV,EAAE,aAAa,+BAyBf"}
@@ -0,0 +1,30 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ /**
4
+ * Self-contained empty state (does not depend on host-shell illustration assets).
5
+ * A soft glass medallion + lucide icon, a title, an optional description and action.
6
+ */
7
+ export declare function EmptyView({ title, description, action, icon, }: {
8
+ title: string;
9
+ description?: string;
10
+ action?: ReactNode;
11
+ icon?: ReactNode;
12
+ }): import("react").JSX.Element;
13
+ /** Consistent error state, surfaced from a GraphQL/network error. */
14
+ export declare function ErrorView({ title, error, }: {
15
+ title?: string;
16
+ error?: {
17
+ message?: string;
18
+ };
19
+ }): import("react").JSX.Element;
20
+ /** Skeleton grid for card lists. */
21
+ export declare function LoadingGrid({ count, height }: {
22
+ count?: number;
23
+ height?: string;
24
+ }): import("react").JSX.Element;
25
+ /** Skeleton rows for stacked lists. */
26
+ export declare function LoadingRows({ count, height }: {
27
+ count?: number;
28
+ height?: string;
29
+ }): import("react").JSX.Element;
30
+ //# sourceMappingURL=StateViews.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StateViews.d.ts","sourceRoot":"","sources":["../../../src/technospam/components/StateViews.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,WAAW,EACX,MAAM,EACN,IAAI,GACL,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB,+BAWA;AAED,qEAAqE;AACrE,wBAAgB,SAAS,CAAC,EACxB,KAAgC,EAChC,KAAK,GACN,EAAE;IACD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC9B,+BAYA;AAED,oCAAoC;AACpC,wBAAgB,WAAW,CAAC,EAAE,KAAS,EAAE,MAAe,EAAE,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,+BAQ9F;AAED,uCAAuC;AACvC,wBAAgB,WAAW,CAAC,EAAE,KAAS,EAAE,MAAe,EAAE,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,+BAQ9F"}
@@ -0,0 +1,5 @@
1
+ export declare function StatusBadge({ status, kind, }: {
2
+ status?: string | null;
3
+ kind?: 'status' | 'level';
4
+ }): import("react").JSX.Element | null;
5
+ //# sourceMappingURL=StatusBadge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusBadge.d.ts","sourceRoot":"","sources":["../../../src/technospam/components/StatusBadge.tsx"],"names":[],"mappings":"AA8DA,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,IAAe,GAChB,EAAE;IACD,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;CAC3B,sCAQA"}
@@ -0,0 +1,7 @@
1
+ export { PageLayout } from './PageLayout';
2
+ export { StatCard, type StatTone } from './StatCard';
3
+ export { MediaCover, coverGradient, topicIcon } from './MediaCover';
4
+ export { StatusBadge } from './StatusBadge';
5
+ export { LoadMore } from './LoadMore';
6
+ export { EmptyView, ErrorView, LoadingGrid, LoadingRows } from './StateViews';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/technospam/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * TechnoSpam product analytics helper.
3
+ *
4
+ * Emits events on the shared event bus. The shell's RybbitSink forwards
5
+ * allow-listed fact events to Rybbit Cloud; until TechnoSpam has a site ID,
6
+ * events still flow to the bus and to backend audit / telemetry sinks.
7
+ *
8
+ * Pattern: emit an intent event before a mutation, then a fact event when the
9
+ * server confirms the change.
10
+ */
11
+ export interface EntityEventPayload {
12
+ workspaceId?: string;
13
+ entityId?: string;
14
+ entityType?: string;
15
+ }
16
+ export type TechnoSpamEventName = 'technospam.course.viewed' | 'technospam.course.enroll_clicked' | 'technospam.course.enrolled' | 'technospam.course.progress_updated' | 'technospam.course.certificate_claimed' | 'technospam.problem.viewed' | 'technospam.problem.submit_clicked' | 'technospam.problem.submitted' | 'technospam.mentor.viewed' | 'technospam.mentor.book_clicked' | 'technospam.mentor.booked' | 'technospam.mentor.become_mentor_clicked' | 'technospam.mentor.became_mentor' | 'technospam.session.cancel_clicked' | 'technospam.session.cancelled' | 'technospam.session.complete_clicked' | 'technospam.session.completed' | 'technospam.hackathon.viewed' | 'technospam.hackathon.register_team_clicked' | 'technospam.hackathon.team_registered' | 'technospam.hackathon.submit_project_clicked' | 'technospam.hackathon.project_submitted' | 'technospam.search.performed';
17
+ export declare function useTechnoSpamAnalytics(): {
18
+ emit: (name: TechnoSpamEventName, payload?: EntityEventPayload & Record<string, unknown>) => void;
19
+ };
20
+ //# sourceMappingURL=useTechnoSpamAnalytics.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTechnoSpamAnalytics.d.ts","sourceRoot":"","sources":["../../../src/technospam/hooks/useTechnoSpamAnalytics.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAKH,MAAM,WAAW,kBAAkB;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,mBAAmB,GAC3B,0BAA0B,GAC1B,kCAAkC,GAClC,4BAA4B,GAC5B,oCAAoC,GACpC,uCAAuC,GACvC,2BAA2B,GAC3B,mCAAmC,GACnC,8BAA8B,GAC9B,0BAA0B,GAC1B,gCAAgC,GAChC,0BAA0B,GAC1B,yCAAyC,GACzC,iCAAiC,GACjC,mCAAmC,GACnC,8BAA8B,GAC9B,qCAAqC,GACrC,8BAA8B,GAC9B,6BAA6B,GAC7B,4CAA4C,GAC5C,sCAAsC,GACtC,6CAA6C,GAC7C,wCAAwC,GACxC,6BAA6B,CAAC;AAElC,wBAAgB,sBAAsB;iBAI3B,mBAAmB,YAAW,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;EAOpF"}
@@ -0,0 +1,6 @@
1
+ export { TechnoSpamRoot } from './TechnoSpamRoot';
2
+ export type { TechnoSpamRootProps, NavItem, FooterItem } from './types';
3
+ export { useTechnoSpam, useTechnoSpamNavigate } from './providers/TechnoSpamProvider';
4
+ export * from './services/createSandboxAssistantTransport';
5
+ export { useTechnoSpamAnalytics } from './hooks/useTechnoSpamAnalytics';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/technospam/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAOtF,cAAc,4CAA4C,CAAC;AAG3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC"}