@burdenoff/microfe-technospam 2026.1102.2 → 2026.1102.3

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 (53) hide show
  1. package/dist/technospam/TechnoSpamRoot.d.ts.map +1 -1
  2. package/dist/technospam/TechnoSpamRoot.js +187 -178
  3. package/dist/technospam/TechnoSpamRoot.js.map +1 -1
  4. package/dist/technospam/api/technospamApi.js +141 -141
  5. package/dist/technospam/api/technospamApi.js.map +1 -1
  6. package/dist/technospam/components/MediaCover.js +2 -2
  7. package/dist/technospam/components/MediaCover.js.map +1 -1
  8. package/dist/technospam/components/MobileSectionTabs.d.ts +9 -0
  9. package/dist/technospam/components/MobileSectionTabs.d.ts.map +1 -0
  10. package/dist/technospam/components/MobileSectionTabs.js +43 -0
  11. package/dist/technospam/components/MobileSectionTabs.js.map +1 -0
  12. package/dist/technospam/components/PageLayout.d.ts +7 -1
  13. package/dist/technospam/components/PageLayout.d.ts.map +1 -1
  14. package/dist/technospam/components/PageLayout.js +40 -28
  15. package/dist/technospam/components/PageLayout.js.map +1 -1
  16. package/dist/technospam/components/lesson/SaveCourseOffline.js +6 -6
  17. package/dist/technospam/hooks/usePhoneLayout.d.ts +18 -0
  18. package/dist/technospam/hooks/usePhoneLayout.d.ts.map +1 -0
  19. package/dist/technospam/hooks/usePhoneLayout.js +14 -0
  20. package/dist/technospam/hooks/usePhoneLayout.js.map +1 -0
  21. package/dist/technospam/pages/AdminAdminDashboardPagePage.js +1 -1
  22. package/dist/technospam/pages/AdminAdminDashboardPagePage.js.map +1 -1
  23. package/dist/technospam/pages/ApplicationsProblemsPagePage.d.ts.map +1 -1
  24. package/dist/technospam/pages/ApplicationsProblemsPagePage.js +89 -87
  25. package/dist/technospam/pages/ApplicationsProblemsPagePage.js.map +1 -1
  26. package/dist/technospam/pages/CoursesCourseDetailsPagePage.js +3 -3
  27. package/dist/technospam/pages/CoursesCourseDetailsPagePage.js.map +1 -1
  28. package/dist/technospam/pages/CoursesCoursesPagePage.d.ts.map +1 -1
  29. package/dist/technospam/pages/CoursesCoursesPagePage.js +117 -81
  30. package/dist/technospam/pages/CoursesCoursesPagePage.js.map +1 -1
  31. package/dist/technospam/pages/CoursesMyLearningPagePage.js +1 -1
  32. package/dist/technospam/pages/CoursesMyLearningPagePage.js.map +1 -1
  33. package/dist/technospam/pages/DashboardDashboardPagePage.d.ts.map +1 -1
  34. package/dist/technospam/pages/DashboardDashboardPagePage.js +21 -17
  35. package/dist/technospam/pages/DashboardDashboardPagePage.js.map +1 -1
  36. package/dist/technospam/pages/HackathonsHackathonDetailsPagePage.js +3 -3
  37. package/dist/technospam/pages/HackathonsHackathonDetailsPagePage.js.map +1 -1
  38. package/dist/technospam/pages/MentorshipMentorProfilePagePage.js +4 -4
  39. package/dist/technospam/pages/MentorshipMentorProfilePagePage.js.map +1 -1
  40. package/dist/technospam/pages/MentorshipMentorsPagePage.d.ts.map +1 -1
  41. package/dist/technospam/pages/MentorshipMentorsPagePage.js +6 -4
  42. package/dist/technospam/pages/MentorshipMentorsPagePage.js.map +1 -1
  43. package/dist/technospam/pages/MentorshipSessionsPagePage.js +1 -1
  44. package/dist/technospam/pages/MentorshipSessionsPagePage.js.map +1 -1
  45. package/dist/technospam/types/index.d.ts +7 -0
  46. package/dist/technospam/types/index.d.ts.map +1 -1
  47. package/dist/technospam/utils/mobileTabs.d.ts +45 -0
  48. package/dist/technospam/utils/mobileTabs.d.ts.map +1 -0
  49. package/dist/technospam/utils/mobileTabs.js +70 -0
  50. package/dist/technospam/utils/mobileTabs.js.map +1 -0
  51. package/dist/test/matchMedia.d.ts +6 -0
  52. package/dist/test/matchMedia.d.ts.map +1 -0
  53. package/package.json +3 -3
@@ -2,8 +2,8 @@ import { notify as e } from "../lib/toast.js";
2
2
  import { userMessageFromError as t } from "../lib/errorMessage.js";
3
3
  import { forTechnospamCourse as n, mapRows as r, toTecCertificate as i, toTecEnrollment as a } from "./canonicalLearning.js";
4
4
  import { useEffect as o, useMemo as s, useState as c } from "react";
5
- import { CombinedGraphQLErrors as l, gql as u } from "@apollo/client";
6
- import { useApolloClient as ee, useLazyQuery as te, useMutation as d, useQuery as f } from "@apollo/client/react";
5
+ import { useApolloClient as l, useLazyQuery as ee, useMutation as u, useQuery as d } from "@apollo/client/react";
6
+ import { CombinedGraphQLErrors as te, gql as f } from "@apollo/client";
7
7
  //#region src/technospam/api/technospamApi.ts
8
8
  function p(e = 50, t) {
9
9
  return t ? {
@@ -11,7 +11,7 @@ function p(e = 50, t) {
11
11
  cursor: t
12
12
  } : { limit: e };
13
13
  }
14
- var m = u`
14
+ var m = f`
15
15
  fragment CourseFields on TecCourse {
16
16
  id
17
17
  slug
@@ -30,7 +30,7 @@ var m = u`
30
30
  createdAt
31
31
  updatedAt
32
32
  }
33
- `, h = u`
33
+ `, h = f`
34
34
  fragment LessonFields on TecLesson {
35
35
  id
36
36
  courseId
@@ -53,7 +53,7 @@ var m = u`
53
53
  createdAt
54
54
  updatedAt
55
55
  }
56
- `, g = u`
56
+ `, g = f`
57
57
  fragment EnrollmentFields on TecEnrollment {
58
58
  id
59
59
  courseId
@@ -67,7 +67,7 @@ var m = u`
67
67
  createdAt
68
68
  updatedAt
69
69
  }
70
- `, _ = u`
70
+ `, _ = f`
71
71
  fragment ProblemFields on TecProblem {
72
72
  id
73
73
  slug
@@ -89,7 +89,7 @@ var m = u`
89
89
  createdAt
90
90
  updatedAt
91
91
  }
92
- `, v = u`
92
+ `, v = f`
93
93
  fragment SubmissionFields on TecSubmission {
94
94
  id
95
95
  problemId
@@ -117,7 +117,7 @@ var m = u`
117
117
  createdAt
118
118
  updatedAt
119
119
  }
120
- `, ne = u`
120
+ `, ne = f`
121
121
  fragment ProblemTestCaseFields on TecProblemTestCase {
122
122
  id
123
123
  problemId
@@ -128,7 +128,7 @@ var m = u`
128
128
  input
129
129
  expectedOutput
130
130
  }
131
- `, y = u`
131
+ `, y = f`
132
132
  fragment MentorFields on TecMentor {
133
133
  id
134
134
  userId
@@ -145,7 +145,7 @@ var m = u`
145
145
  createdAt
146
146
  updatedAt
147
147
  }
148
- `, b = u`
148
+ `, b = f`
149
149
  fragment SessionFields on TecMentorSession {
150
150
  id
151
151
  mentorId
@@ -166,7 +166,7 @@ var m = u`
166
166
  createdAt
167
167
  updatedAt
168
168
  }
169
- `, x = u`
169
+ `, x = f`
170
170
  fragment HackathonFields on TecHackathon {
171
171
  id
172
172
  slug
@@ -184,7 +184,7 @@ var m = u`
184
184
  createdAt
185
185
  updatedAt
186
186
  }
187
- `, S = u`
187
+ `, S = f`
188
188
  fragment TeamFields on TecHackathonTeam {
189
189
  id
190
190
  hackathonId
@@ -201,7 +201,7 @@ var m = u`
201
201
  createdAt
202
202
  updatedAt
203
203
  }
204
- `, C = u`
204
+ `, C = f`
205
205
  fragment CertificateFields on TecCertificate {
206
206
  id
207
207
  courseId
@@ -214,7 +214,7 @@ var m = u`
214
214
  revokeReason
215
215
  createdAt
216
216
  }
217
- `, re = u`
217
+ `, re = f`
218
218
  ${m}
219
219
  query TecListCourses(
220
220
  $level: TecCourseLevel
@@ -231,7 +231,7 @@ var m = u`
231
231
  }
232
232
  }
233
233
  }
234
- `, ie = u`
234
+ `, ie = f`
235
235
  ${m}
236
236
  ${h}
237
237
  ${g}
@@ -246,7 +246,7 @@ var m = u`
246
246
  }
247
247
  }
248
248
  }
249
- `, ae = u`
249
+ `, ae = f`
250
250
  ${g}
251
251
  ${m}
252
252
  query TecListEnrollments(
@@ -275,7 +275,7 @@ var m = u`
275
275
  }
276
276
  }
277
277
  }
278
- `, oe = u`
278
+ `, oe = f`
279
279
  ${C}
280
280
  ${m}
281
281
  query TecListCertificates($learnerId: ID, $courseId: ID) {
@@ -286,7 +286,7 @@ var m = u`
286
286
  }
287
287
  }
288
288
  }
289
- `, se = u`
289
+ `, se = f`
290
290
  ${m}
291
291
  query BuiMyTechnospamEnrollments($courseId: ID, $pagination: PaginationInput) {
292
292
  buiMyEnrollments(source: TECHNOSPAM, courseId: $courseId, pagination: $pagination) {
@@ -317,7 +317,7 @@ var m = u`
317
317
  }
318
318
  }
319
319
  }
320
- `, ce = u`
320
+ `, ce = f`
321
321
  ${m}
322
322
  query BuiMyTechnospamCertificates($courseId: ID, $pagination: PaginationInput) {
323
323
  buiMyCertificates(source: TECHNOSPAM, courseId: $courseId, pagination: $pagination) {
@@ -346,7 +346,7 @@ var m = u`
346
346
  }
347
347
  }
348
348
  }
349
- `, le = u`
349
+ `, le = f`
350
350
  ${_}
351
351
  query TecListProblems(
352
352
  $difficulty: TecProblemDifficulty
@@ -375,7 +375,7 @@ var m = u`
375
375
  }
376
376
  }
377
377
  }
378
- `, ue = u`
378
+ `, ue = f`
379
379
  ${_}
380
380
  ${v}
381
381
  ${ne}
@@ -390,14 +390,14 @@ var m = u`
390
390
  }
391
391
  }
392
392
  }
393
- `, de = u`
393
+ `, de = f`
394
394
  ${v}
395
395
  mutation TecRegradeSubmission($id: ID!) {
396
396
  tecRegradeSubmission(id: $id) {
397
397
  ...SubmissionFields
398
398
  }
399
399
  }
400
- `, fe = u`
400
+ `, fe = f`
401
401
  ${v}
402
402
  ${_}
403
403
  query TecListSubmissions(
@@ -426,7 +426,7 @@ var m = u`
426
426
  }
427
427
  }
428
428
  }
429
- `, w = u`
429
+ `, w = f`
430
430
  ${y}
431
431
  query TecListMentors($status: TecMentorStatus, $pagination: PaginationInput) {
432
432
  tecListMentors(status: $status, pagination: $pagination) {
@@ -439,7 +439,7 @@ var m = u`
439
439
  }
440
440
  }
441
441
  }
442
- `, T = u`
442
+ `, T = f`
443
443
  ${y}
444
444
  ${b}
445
445
  query TecMentor($id: ID!) {
@@ -450,7 +450,7 @@ var m = u`
450
450
  }
451
451
  }
452
452
  }
453
- `, E = u`
453
+ `, E = f`
454
454
  ${b}
455
455
  ${y}
456
456
  query TecListSessions(
@@ -477,7 +477,7 @@ var m = u`
477
477
  }
478
478
  }
479
479
  }
480
- `, D = u`
480
+ `, D = f`
481
481
  query TecCalculateSessionCost($mentorId: ID!, $durationMinutes: Int) {
482
482
  tecCalculateSessionCost(mentorId: $mentorId, durationMinutes: $durationMinutes) {
483
483
  mentorId
@@ -491,8 +491,8 @@ var m = u`
491
491
  }
492
492
  }
493
493
  `;
494
- u`
495
- ${u`
494
+ f`
495
+ ${f`
496
496
  fragment PayoutFields on TecMentorPayout {
497
497
  id
498
498
  mentorId
@@ -518,7 +518,7 @@ u`
518
518
  }
519
519
  }
520
520
  `;
521
- var O = u`
521
+ var O = f`
522
522
  ${x}
523
523
  query TecListHackathons($status: TecHackathonStatus, $pagination: PaginationInput) {
524
524
  tecListHackathons(status: $status, pagination: $pagination) {
@@ -531,7 +531,7 @@ var O = u`
531
531
  }
532
532
  }
533
533
  }
534
- `, k = u`
534
+ `, k = f`
535
535
  ${x}
536
536
  ${S}
537
537
  query TecHackathon($id: ID!) {
@@ -542,7 +542,7 @@ var O = u`
542
542
  }
543
543
  }
544
544
  }
545
- `, A = u`
545
+ `, A = f`
546
546
  ${S}
547
547
  query TecListTeams($hackathonId: ID!, $pagination: PaginationInput) {
548
548
  tecListTeams(hackathonId: $hackathonId, pagination: $pagination) {
@@ -555,7 +555,7 @@ var O = u`
555
555
  }
556
556
  }
557
557
  }
558
- `, j = u`
558
+ `, j = f`
559
559
  ${h}
560
560
  query TecListLessons($courseId: ID!, $pagination: PaginationInput) {
561
561
  tecListLessons(courseId: $courseId, pagination: $pagination) {
@@ -568,28 +568,28 @@ var O = u`
568
568
  }
569
569
  }
570
570
  }
571
- `, M = (e) => f(re, {
571
+ `, M = (e) => d(re, {
572
572
  variables: {
573
573
  pagination: p(50),
574
574
  ...e
575
575
  },
576
576
  fetchPolicy: "cache-and-network"
577
- }), N = (e) => f(ie, {
577
+ }), N = (e) => d(ie, {
578
578
  variables: { id: e },
579
579
  skip: !e,
580
580
  fetchPolicy: "cache-and-network"
581
- }), P = (e) => f(ae, {
581
+ }), P = (e) => d(ae, {
582
582
  variables: {
583
583
  pagination: p(50),
584
584
  ...e
585
585
  },
586
586
  fetchPolicy: "cache-and-network"
587
- }), F = (e) => f(oe, {
587
+ }), F = (e) => d(oe, {
588
588
  variables: e,
589
589
  fetchPolicy: "cache-and-network"
590
590
  });
591
591
  function I(e = {}) {
592
- let t = f(se, {
592
+ let t = d(se, {
593
593
  variables: {
594
594
  ...e.buiCourseId ? { courseId: e.buiCourseId } : {},
595
595
  pagination: p(e.limit ?? 100)
@@ -603,7 +603,7 @@ function I(e = {}) {
603
603
  };
604
604
  }
605
605
  function L(e = {}) {
606
- let t = f(ce, {
606
+ let t = d(ce, {
607
607
  variables: {
608
608
  ...e.buiCourseId ? { courseId: e.buiCourseId } : {},
609
609
  pagination: p(e.limit ?? 100)
@@ -616,23 +616,23 @@ function L(e = {}) {
616
616
  certificates: o
617
617
  };
618
618
  }
619
- var R = (e) => f(le, {
619
+ var R = (e) => d(le, {
620
620
  variables: {
621
621
  pagination: p(50),
622
622
  ...e
623
623
  },
624
624
  fetchPolicy: "cache-and-network"
625
- }), z = (e) => f(ue, {
625
+ }), z = (e) => d(ue, {
626
626
  variables: { id: e },
627
627
  skip: !e,
628
628
  fetchPolicy: "cache-and-network"
629
- }), B = (e) => f(fe, {
629
+ }), B = (e) => d(fe, {
630
630
  variables: {
631
631
  pagination: p(50),
632
632
  ...e
633
633
  },
634
634
  fetchPolicy: "cache-and-network"
635
- }), V = u`
635
+ }), V = f`
636
636
  query TecListSolvedSubmissions($learnerId: ID!, $pagination: PaginationInput) {
637
637
  tecListSubmissions(learnerId: $learnerId, pagination: $pagination) {
638
638
  items {
@@ -648,7 +648,7 @@ var R = (e) => f(le, {
648
648
  }
649
649
  `, pe = /* @__PURE__ */ new Set();
650
650
  function me(e) {
651
- let t = ee(), [n, r] = c(null);
651
+ let t = l(), [n, r] = c(null);
652
652
  return o(() => {
653
653
  if (!e) return;
654
654
  let n = !1, i = /* @__PURE__ */ new Set();
@@ -681,47 +681,47 @@ function me(e) {
681
681
  };
682
682
  }, [t, e]), e && n?.learnerId === e ? n.ids : pe;
683
683
  }
684
- var he = (e) => f(w, {
684
+ var he = (e) => d(w, {
685
685
  variables: {
686
686
  pagination: p(50),
687
687
  ...e
688
688
  },
689
689
  fetchPolicy: "cache-and-network"
690
- }), ge = (e) => f(T, {
690
+ }), ge = (e) => d(T, {
691
691
  variables: { id: e },
692
692
  skip: !e,
693
693
  fetchPolicy: "cache-and-network"
694
- }), _e = (e) => f(E, {
694
+ }), _e = (e) => d(E, {
695
695
  variables: {
696
696
  pagination: p(50),
697
697
  ...e
698
698
  },
699
699
  fetchPolicy: "cache-and-network"
700
- }), ve = (e, t) => f(D, {
700
+ }), ve = (e, t) => d(D, {
701
701
  variables: {
702
702
  mentorId: e,
703
703
  durationMinutes: t
704
704
  },
705
705
  skip: !e || !Number.isFinite(t) || t <= 0,
706
706
  fetchPolicy: "cache-and-network"
707
- }), ye = (e) => f(O, {
707
+ }), ye = (e) => d(O, {
708
708
  variables: {
709
709
  pagination: p(50),
710
710
  ...e
711
711
  },
712
712
  fetchPolicy: "cache-and-network"
713
- }), be = (e) => f(k, {
713
+ }), be = (e) => d(k, {
714
714
  variables: { id: e },
715
715
  skip: !e,
716
716
  fetchPolicy: "cache-and-network"
717
- }), xe = (e, t) => f(A, {
717
+ }), xe = (e, t) => d(A, {
718
718
  variables: {
719
719
  hackathonId: e,
720
720
  pagination: t ?? p(50)
721
721
  },
722
722
  skip: !e,
723
723
  fetchPolicy: "cache-and-network"
724
- }), Se = (e, t) => f(j, {
724
+ }), Se = (e, t) => d(j, {
725
725
  variables: {
726
726
  courseId: e,
727
727
  pagination: t ?? p(50)
@@ -740,21 +740,21 @@ var he = (e) => f(w, {
740
740
  mentors: "TecListMentors",
741
741
  sessions: "TecListSessions",
742
742
  hackathons: "TecListHackathons"
743
- }, Ce = u`
743
+ }, Ce = f`
744
744
  ${g}
745
745
  mutation TecEnroll($input: TecEnrollInput!) {
746
746
  tecEnroll(input: $input) {
747
747
  ...EnrollmentFields
748
748
  }
749
749
  }
750
- `, we = u`
750
+ `, we = f`
751
751
  ${v}
752
752
  mutation TecSubmitSolution($input: TecSubmitSolutionInput!) {
753
753
  tecSubmitSolution(input: $input) {
754
754
  ...SubmissionFields
755
755
  }
756
756
  }
757
- `, Te = u`
757
+ `, Te = f`
758
758
  mutation TecRunSolution($input: TecRunSolutionInput!) {
759
759
  tecRunSolution(input: $input) {
760
760
  problemId
@@ -788,137 +788,137 @@ var he = (e) => f(w, {
788
788
  }
789
789
  }
790
790
  }
791
- `, Ee = u`
791
+ `, Ee = f`
792
792
  ${b}
793
793
  mutation TecBookSession($input: TecBookSessionInput!) {
794
794
  tecBookSession(input: $input) {
795
795
  ...SessionFields
796
796
  }
797
797
  }
798
- `, De = u`
798
+ `, De = f`
799
799
  ${b}
800
800
  mutation TecCancelSession($id: ID!) {
801
801
  tecCancelSession(id: $id) {
802
802
  ...SessionFields
803
803
  }
804
804
  }
805
- `, Oe = u`
805
+ `, Oe = f`
806
806
  ${y}
807
807
  mutation TecBecomeMentor($input: TecCreateMentorInput!) {
808
808
  tecBecomeMentor(input: $input) {
809
809
  ...MentorFields
810
810
  }
811
811
  }
812
- `, ke = u`
812
+ `, ke = f`
813
813
  ${S}
814
814
  mutation TecRegisterTeam($input: TecRegisterTeamInput!) {
815
815
  tecRegisterTeam(input: $input) {
816
816
  ...TeamFields
817
817
  }
818
818
  }
819
- `, Ae = u`
819
+ `, Ae = f`
820
820
  ${S}
821
821
  mutation TecSubmitProject($input: TecSubmitProjectInput!) {
822
822
  tecSubmitProject(input: $input) {
823
823
  ...TeamFields
824
824
  }
825
825
  }
826
- `, je = u`
826
+ `, je = f`
827
827
  ${m}
828
828
  mutation TecCreateCourse($input: TecCreateCourseInput!) {
829
829
  tecCreateCourse(input: $input) {
830
830
  ...CourseFields
831
831
  }
832
832
  }
833
- `, Me = u`
833
+ `, Me = f`
834
834
  ${m}
835
835
  mutation TecPublishCourse($id: ID!) {
836
836
  tecPublishCourse(id: $id) {
837
837
  ...CourseFields
838
838
  }
839
839
  }
840
- `, Ne = u`
840
+ `, Ne = f`
841
841
  mutation TecArchiveCourse($id: ID!) {
842
842
  tecArchiveCourse(id: $id)
843
843
  }
844
- `, Pe = u`
844
+ `, Pe = f`
845
845
  ${h}
846
846
  mutation TecCreateLesson($input: TecCreateLessonInput!) {
847
847
  tecCreateLesson(input: $input) {
848
848
  ...LessonFields
849
849
  }
850
850
  }
851
- `, Fe = u`
851
+ `, Fe = f`
852
852
  ${h}
853
853
  mutation TecUpdateLesson($id: ID!, $input: TecUpdateLessonInput!) {
854
854
  tecUpdateLesson(id: $id, input: $input) {
855
855
  ...LessonFields
856
856
  }
857
857
  }
858
- `, Ie = u`
858
+ `, Ie = f`
859
859
  ${_}
860
860
  mutation TecCreateProblem($input: TecCreateProblemInput!) {
861
861
  tecCreateProblem(input: $input) {
862
862
  ...ProblemFields
863
863
  }
864
864
  }
865
- `, Le = u`
865
+ `, Le = f`
866
866
  ${_}
867
867
  mutation TecPublishProblem($id: ID!) {
868
868
  tecPublishProblem(id: $id) {
869
869
  ...ProblemFields
870
870
  }
871
871
  }
872
- `, Re = u`
872
+ `, Re = f`
873
873
  ${x}
874
874
  mutation TecCreateHackathon($input: TecCreateHackathonInput!) {
875
875
  tecCreateHackathon(input: $input) {
876
876
  ...HackathonFields
877
877
  }
878
878
  }
879
- `, ze = u`
879
+ `, ze = f`
880
880
  ${x}
881
881
  mutation TecOpenRegistration($id: ID!) {
882
882
  tecOpenRegistration(id: $id) {
883
883
  ...HackathonFields
884
884
  }
885
885
  }
886
- `, Be = u`
886
+ `, Be = f`
887
887
  ${y}
888
888
  mutation TecApproveMentor($id: ID!) {
889
889
  tecApproveMentor(id: $id) {
890
890
  ...MentorFields
891
891
  }
892
892
  }
893
- `, Ve = u`
893
+ `, Ve = f`
894
894
  ${S}
895
895
  mutation TecScoreTeam($id: ID!, $score: Int!, $winner: Boolean) {
896
896
  tecScoreTeam(id: $id, score: $score, winner: $winner) {
897
897
  ...TeamFields
898
898
  }
899
899
  }
900
- `, He = u`
900
+ `, He = f`
901
901
  ${b}
902
902
  mutation TecConfirmSession($id: ID!, $meetingUrl: String) {
903
903
  tecConfirmSession(id: $id, meetingUrl: $meetingUrl) {
904
904
  ...SessionFields
905
905
  }
906
906
  }
907
- `, Ue = u`
907
+ `, Ue = f`
908
908
  ${b}
909
909
  mutation TecCompleteSession($id: ID!, $rating: Int, $feedback: String) {
910
910
  tecCompleteSession(id: $id, rating: $rating, feedback: $feedback) {
911
911
  ...SessionFields
912
912
  }
913
913
  }
914
- `, We = u`
914
+ `, We = f`
915
915
  ${v}
916
916
  mutation TecGradeSubmission($id: ID!, $verdict: TecSubmissionVerdict!, $runtimeMs: Int) {
917
917
  tecGradeSubmission(id: $id, verdict: $verdict, runtimeMs: $runtimeMs) {
918
918
  ...SubmissionFields
919
919
  }
920
920
  }
921
- `, Ge = u`
921
+ `, Ge = f`
922
922
  ${C}
923
923
  mutation TecIssueCertificate($courseId: ID!, $learnerId: ID!, $score: Int!) {
924
924
  tecIssueCertificate(courseId: $courseId, learnerId: $learnerId, score: $score) {
@@ -926,7 +926,7 @@ var he = (e) => f(w, {
926
926
  }
927
927
  }
928
928
  `;
929
- u`
929
+ f`
930
930
  ${C}
931
931
  mutation TecRevokeCertificate($id: ID!, $reason: String) {
932
932
  tecRevokeCertificate(id: $id, reason: $reason) {
@@ -934,95 +934,95 @@ u`
934
934
  }
935
935
  }
936
936
  `;
937
- var Ke = u`
937
+ var Ke = f`
938
938
  ${x}
939
939
  mutation TecStartHackathon($id: ID!) {
940
940
  tecStartHackathon(id: $id) {
941
941
  ...HackathonFields
942
942
  }
943
943
  }
944
- `, qe = u`
944
+ `, qe = f`
945
945
  ${x}
946
946
  mutation TecStartJudging($id: ID!) {
947
947
  tecStartJudging(id: $id) {
948
948
  ...HackathonFields
949
949
  }
950
950
  }
951
- `, Je = u`
951
+ `, Je = f`
952
952
  ${x}
953
953
  mutation TecCompleteHackathon($id: ID!) {
954
954
  tecCompleteHackathon(id: $id) {
955
955
  ...HackathonFields
956
956
  }
957
957
  }
958
- `, Ye = () => d(Ce, {
958
+ `, Ye = () => u(Ce, {
959
959
  onError: H,
960
960
  refetchQueries: [
961
961
  U.enrollments,
962
962
  U.myEnrollments,
963
963
  U.courses
964
964
  ]
965
- }), Xe = () => d(we, {
965
+ }), Xe = () => u(we, {
966
966
  onError: H,
967
967
  refetchQueries: [U.submissions]
968
- }), Ze = () => d(Te, { onError: H }), Qe = () => d(de, {
968
+ }), Ze = () => u(Te, { onError: H }), Qe = () => u(de, {
969
969
  onError: H,
970
970
  refetchQueries: [U.submissions]
971
- }), $e = () => d(Ee, {
971
+ }), $e = () => u(Ee, {
972
972
  onError: H,
973
973
  refetchQueries: [U.sessions, U.mentors]
974
- }), et = () => d(De, {
974
+ }), et = () => u(De, {
975
975
  onError: H,
976
976
  refetchQueries: [U.sessions]
977
- }), tt = () => d(Oe, {
977
+ }), tt = () => u(Oe, {
978
978
  onError: H,
979
979
  refetchQueries: [U.mentors]
980
- }), nt = () => d(ke, {
980
+ }), nt = () => u(ke, {
981
981
  onError: H,
982
982
  refetchQueries: [U.hackathons]
983
- }), rt = () => d(Ae, { onError: H }), it = () => d(je, {
983
+ }), rt = () => u(Ae, { onError: H }), it = () => u(je, {
984
984
  onError: H,
985
985
  refetchQueries: [U.courses]
986
- }), at = () => d(Me, {
986
+ }), at = () => u(Me, {
987
987
  onError: H,
988
988
  refetchQueries: [U.courses]
989
- }), ot = () => d(Ne, {
989
+ }), ot = () => u(Ne, {
990
990
  onError: H,
991
991
  refetchQueries: [U.courses]
992
- }), st = () => d(Pe, { onError: H }), ct = () => d(Fe, { onError: H }), lt = () => d(Ie, {
992
+ }), st = () => u(Pe, { onError: H }), ct = () => u(Fe, { onError: H }), lt = () => u(Ie, {
993
993
  onError: H,
994
994
  refetchQueries: [U.problems]
995
- }), ut = () => d(Le, {
995
+ }), ut = () => u(Le, {
996
996
  onError: H,
997
997
  refetchQueries: [U.problems]
998
- }), dt = () => d(Re, {
998
+ }), dt = () => u(Re, {
999
999
  onError: H,
1000
1000
  refetchQueries: [U.hackathons]
1001
- }), ft = () => d(ze, {
1001
+ }), ft = () => u(ze, {
1002
1002
  onError: H,
1003
1003
  refetchQueries: [U.hackathons]
1004
- }), pt = () => d(Be, {
1004
+ }), pt = () => u(Be, {
1005
1005
  onError: H,
1006
1006
  refetchQueries: [U.mentors]
1007
- }), mt = () => d(Ve, { onError: H }), ht = () => d(He, {
1007
+ }), mt = () => u(Ve, { onError: H }), ht = () => u(He, {
1008
1008
  onError: H,
1009
1009
  refetchQueries: [U.sessions]
1010
- }), gt = () => d(Ue, {
1010
+ }), gt = () => u(Ue, {
1011
1011
  onError: H,
1012
1012
  refetchQueries: [U.sessions]
1013
- }), _t = () => d(We, {
1013
+ }), _t = () => u(We, {
1014
1014
  onError: H,
1015
1015
  refetchQueries: [U.submissions]
1016
- }), vt = () => d(Ge, { onError: H }), yt = () => d(Ke, {
1016
+ }), vt = () => u(Ge, { onError: H }), yt = () => u(Ke, {
1017
1017
  onError: H,
1018
1018
  refetchQueries: [U.hackathons]
1019
- }), bt = () => d(qe, {
1019
+ }), bt = () => u(qe, {
1020
1020
  onError: H,
1021
1021
  refetchQueries: [U.hackathons]
1022
- }), xt = () => d(Je, {
1022
+ }), xt = () => u(Je, {
1023
1023
  onError: H,
1024
1024
  refetchQueries: [U.hackathons]
1025
- }), W = u`
1025
+ }), W = f`
1026
1026
  fragment StudyPlanStepFields on TecStudyPlanStep {
1027
1027
  id
1028
1028
  order
@@ -1035,7 +1035,7 @@ var Ke = u`
1035
1035
  estimatedMinutes
1036
1036
  completedAt
1037
1037
  }
1038
- `, G = u`
1038
+ `, G = f`
1039
1039
  ${W}
1040
1040
  fragment StudyPlanFields on TecStudyPlan {
1041
1041
  id
@@ -1052,7 +1052,7 @@ var Ke = u`
1052
1052
  ...StudyPlanStepFields
1053
1053
  }
1054
1054
  }
1055
- `, St = u`
1055
+ `, St = f`
1056
1056
  ${G}
1057
1057
  query TecMyStudyPlans {
1058
1058
  tecMyStudyPlans {
@@ -1065,34 +1065,34 @@ var Ke = u`
1065
1065
  }
1066
1066
  }
1067
1067
  }
1068
- `, Ct = u`
1068
+ `, Ct = f`
1069
1069
  ${G}
1070
1070
  mutation TecGenerateStudyPlan($input: TecGenerateStudyPlanInput!) {
1071
1071
  tecGenerateStudyPlan(input: $input) {
1072
1072
  ...StudyPlanFields
1073
1073
  }
1074
1074
  }
1075
- `, wt = u`
1075
+ `, wt = f`
1076
1076
  ${W}
1077
1077
  mutation TecUpdateStudyPlanStepStatus($input: TecUpdateStudyPlanStepStatusInput!) {
1078
1078
  tecUpdateStudyPlanStepStatus(input: $input) {
1079
1079
  ...StudyPlanStepFields
1080
1080
  }
1081
1081
  }
1082
- `, Tt = u`
1082
+ `, Tt = f`
1083
1083
  mutation TecArchiveStudyPlan($id: ID!) {
1084
1084
  tecArchiveStudyPlan(id: $id)
1085
1085
  }
1086
- `, Et = () => f(St, { fetchPolicy: "cache-and-network" }), Dt = () => d(Ct, {
1086
+ `, Et = () => d(St, { fetchPolicy: "cache-and-network" }), Dt = () => u(Ct, {
1087
1087
  onError: H,
1088
1088
  refetchQueries: ["TecMyStudyPlans"]
1089
- }), Ot = () => d(wt, {
1089
+ }), Ot = () => u(wt, {
1090
1090
  onError: H,
1091
1091
  refetchQueries: ["TecMyStudyPlans"]
1092
- }), kt = () => d(Tt, {
1092
+ }), kt = () => u(Tt, {
1093
1093
  onError: H,
1094
1094
  refetchQueries: ["TecMyStudyPlans"]
1095
- }), K = u`
1095
+ }), K = f`
1096
1096
  fragment PortfolioItemFields on TecPortfolioItem {
1097
1097
  id
1098
1098
  kind
@@ -1103,7 +1103,7 @@ var Ke = u`
1103
1103
  completionDate
1104
1104
  order
1105
1105
  }
1106
- `, q = u`
1106
+ `, q = f`
1107
1107
  ${K}
1108
1108
  fragment PortfolioFields on TecPortfolio {
1109
1109
  id
@@ -1114,14 +1114,14 @@ var Ke = u`
1114
1114
  ...PortfolioItemFields
1115
1115
  }
1116
1116
  }
1117
- `, At = u`
1117
+ `, At = f`
1118
1118
  ${q}
1119
1119
  query TecMyPortfolio {
1120
1120
  tecMyPortfolio {
1121
1121
  ...PortfolioFields
1122
1122
  }
1123
1123
  }
1124
- `, jt = u`
1124
+ `, jt = f`
1125
1125
  ${K}
1126
1126
  mutation TecAddPortfolioItem($input: TecAddPortfolioItemInput!) {
1127
1127
  tecAddPortfolioItem(input: $input) {
@@ -1129,7 +1129,7 @@ var Ke = u`
1129
1129
  }
1130
1130
  }
1131
1131
  `;
1132
- u`
1132
+ f`
1133
1133
  ${q}
1134
1134
  mutation TecReorderPortfolioItems($input: TecReorderPortfolioItemsInput!) {
1135
1135
  tecReorderPortfolioItems(input: $input) {
@@ -1137,37 +1137,37 @@ u`
1137
1137
  }
1138
1138
  }
1139
1139
  `;
1140
- var Mt = u`
1140
+ var Mt = f`
1141
1141
  mutation TecRemovePortfolioItem($id: ID!) {
1142
1142
  tecRemovePortfolioItem(id: $id)
1143
1143
  }
1144
- `, Nt = u`
1144
+ `, Nt = f`
1145
1145
  ${q}
1146
1146
  mutation TecPublishPortfolio {
1147
1147
  tecPublishPortfolio {
1148
1148
  ...PortfolioFields
1149
1149
  }
1150
1150
  }
1151
- `, Pt = u`
1151
+ `, Pt = f`
1152
1152
  ${q}
1153
1153
  mutation TecUnpublishPortfolio {
1154
1154
  tecUnpublishPortfolio {
1155
1155
  ...PortfolioFields
1156
1156
  }
1157
1157
  }
1158
- `, Ft = () => f(At, { fetchPolicy: "cache-and-network" }), J = ["TecMyPortfolio"], It = () => d(jt, {
1158
+ `, Ft = () => d(At, { fetchPolicy: "cache-and-network" }), J = ["TecMyPortfolio"], It = () => u(jt, {
1159
1159
  onError: H,
1160
1160
  refetchQueries: J
1161
- }), Lt = () => d(Mt, {
1161
+ }), Lt = () => u(Mt, {
1162
1162
  onError: H,
1163
1163
  refetchQueries: J
1164
- }), Rt = () => d(Nt, {
1164
+ }), Rt = () => u(Nt, {
1165
1165
  onError: H,
1166
1166
  refetchQueries: J
1167
- }), zt = () => d(Pt, {
1167
+ }), zt = () => u(Pt, {
1168
1168
  onError: H,
1169
1169
  refetchQueries: J
1170
- }), Y = u`
1170
+ }), Y = f`
1171
1171
  fragment SubmissionReviewFields on TecSubmissionReview {
1172
1172
  id
1173
1173
  submissionId
@@ -1186,25 +1186,25 @@ var Mt = u`
1186
1186
  model
1187
1187
  createdAt
1188
1188
  }
1189
- `, Bt = u`
1189
+ `, Bt = f`
1190
1190
  ${Y}
1191
1191
  query TecMySubmissionReview($submissionId: ID!) {
1192
1192
  tecMySubmissionReview(submissionId: $submissionId) {
1193
1193
  ...SubmissionReviewFields
1194
1194
  }
1195
1195
  }
1196
- `, Vt = u`
1196
+ `, Vt = f`
1197
1197
  ${Y}
1198
1198
  mutation TecReviewSubmission($submissionId: ID!) {
1199
1199
  tecReviewSubmission(submissionId: $submissionId) {
1200
1200
  ...SubmissionReviewFields
1201
1201
  }
1202
1202
  }
1203
- `, Ht = (e) => f(Bt, {
1203
+ `, Ht = (e) => d(Bt, {
1204
1204
  variables: { submissionId: e ?? "" },
1205
1205
  skip: !e,
1206
1206
  fetchPolicy: "cache-and-network"
1207
- }), Ut = () => d(Vt, {
1207
+ }), Ut = () => u(Vt, {
1208
1208
  onError: H,
1209
1209
  refetchQueries: ["TecMySubmissionReview"]
1210
1210
  });
@@ -1215,7 +1215,7 @@ function Wt(e = 24, t = 24) {
1215
1215
  more: () => r((t) => t + e)
1216
1216
  };
1217
1217
  }
1218
- var X = u`
1218
+ var X = f`
1219
1219
  ${h}
1220
1220
  ${m}
1221
1221
  query TecLessonPlayer($lessonId: ID!, $courseId: ID!) {
@@ -1243,7 +1243,7 @@ var X = u`
1243
1243
  }
1244
1244
  }
1245
1245
  }
1246
- `, Gt = u`
1246
+ `, Gt = f`
1247
1247
  query TecLessonQuizKey($lessonId: ID!) {
1248
1248
  tecLessonQuizKey(lessonId: $lessonId) {
1249
1249
  prompt
@@ -1252,7 +1252,7 @@ var X = u`
1252
1252
  explanation
1253
1253
  }
1254
1254
  }
1255
- `, Z = u`
1255
+ `, Z = f`
1256
1256
  ${g}
1257
1257
  mutation TecCompleteLesson($lessonId: ID!) {
1258
1258
  tecCompleteLesson(lessonId: $lessonId) {
@@ -1260,7 +1260,7 @@ var X = u`
1260
1260
  nextLessonId
1261
1261
  }
1262
1262
  }
1263
- `, Kt = u`
1263
+ `, Kt = f`
1264
1264
  ${g}
1265
1265
  mutation TecSubmitLessonQuiz($lessonId: ID!, $answers: [Int!]!) {
1266
1266
  tecSubmitLessonQuiz(lessonId: $lessonId, answers: $answers) {
@@ -1283,7 +1283,7 @@ var X = u`
1283
1283
  }
1284
1284
  }
1285
1285
  }
1286
- `, qt = u`
1286
+ `, qt = f`
1287
1287
  ${g}
1288
1288
  mutation TecRunLessonCode($input: TecRunLessonCodeInput!) {
1289
1289
  tecRunLessonCode(input: $input) {
@@ -1305,14 +1305,14 @@ var X = u`
1305
1305
  }
1306
1306
  }
1307
1307
  }
1308
- `, Jt = (e, t) => f(X, {
1308
+ `, Jt = (e, t) => d(X, {
1309
1309
  variables: {
1310
1310
  courseId: e,
1311
1311
  lessonId: t
1312
1312
  },
1313
1313
  skip: !e || !t,
1314
1314
  fetchPolicy: "cache-and-network"
1315
- }), Q = (e, t = !1) => f(Gt, {
1315
+ }), Q = (e, t = !1) => d(Gt, {
1316
1316
  variables: { lessonId: e },
1317
1317
  skip: t || !e,
1318
1318
  fetchPolicy: "network-only"
@@ -1321,13 +1321,13 @@ var X = u`
1321
1321
  "TecCourse",
1322
1322
  U.myEnrollments,
1323
1323
  U.enrollments
1324
- ], Yt = () => d(Z, {
1324
+ ], Yt = () => u(Z, {
1325
1325
  onError: H,
1326
1326
  refetchQueries: $
1327
- }), Xt = () => d(Kt, {
1327
+ }), Xt = () => u(Kt, {
1328
1328
  onError: H,
1329
1329
  refetchQueries: $
1330
- }), Zt = () => d(qt, { onError: H });
1330
+ }), Zt = () => u(qt, { onError: H });
1331
1331
  async function Qt(e, t, n) {
1332
1332
  try {
1333
1333
  return (await e.query({
@@ -1344,7 +1344,7 @@ async function Qt(e, t, n) {
1344
1344
  }
1345
1345
  var $t = new Set(["NOT_FOUND", "BAD_USER_INPUT"]);
1346
1346
  function en(e) {
1347
- return !l.is(e) || e.errors.length === 0 ? !1 : e.errors.every((e) => {
1347
+ return !te.is(e) || e.errors.length === 0 ? !1 : e.errors.every((e) => {
1348
1348
  let t = e.extensions?.code;
1349
1349
  return typeof t == "string" && $t.has(t);
1350
1350
  });
@@ -1360,7 +1360,7 @@ async function tn(e, t) {
1360
1360
  return en(e) ? "rejected" : "retry";
1361
1361
  }
1362
1362
  }
1363
- var nn = u`
1363
+ var nn = f`
1364
1364
  query TecVerifyCertificates($serials: [String!]!) {
1365
1365
  tecVerifyCertificates(serials: $serials) {
1366
1366
  serial
@@ -1375,7 +1375,7 @@ var nn = u`
1375
1375
  verifiedAt
1376
1376
  }
1377
1377
  }
1378
- `, rn = u`
1378
+ `, rn = f`
1379
1379
  query TecExportXapiStatements($courseId: ID, $since: DateTime, $until: DateTime, $limit: Int) {
1380
1380
  tecExportXapiStatements(courseId: $courseId, since: $since, until: $until, limit: $limit) {
1381
1381
  statements
@@ -1385,13 +1385,13 @@ var nn = u`
1385
1385
  version
1386
1386
  }
1387
1387
  }
1388
- `, an = (e) => f(nn, {
1388
+ `, an = (e) => d(nn, {
1389
1389
  variables: { serials: e },
1390
1390
  skip: e.length === 0,
1391
1391
  fetchPolicy: "network-only"
1392
1392
  });
1393
1393
  function on() {
1394
- let [n, r] = c(!1), [i, a] = c(null), [o] = te(rn, { fetchPolicy: "network-only" });
1394
+ let [n, r] = c(!1), [i, a] = c(null), [o] = ee(rn, { fetchPolicy: "network-only" });
1395
1395
  return {
1396
1396
  run: async (n, i = 5e3) => {
1397
1397
  r(!0), a(null);