@genpact/genome.mfe.mgtwin-app 1.1.83 → 1.1.84

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.
@@ -1,47 +1,47 @@
1
- import { _ as U, a as V, L as B } from "./LoadingSimulation-76664f39.mjs";
2
- import { _ as H, Q as M, a as z } from "./Modal-2cffa816.mjs";
3
- import { d as y, r as d, H as R, o as c, c as u, a as s, u as k, y as L, t as S, G, p as N, g as E, C as Q, z as D, h as x, F as O, e as Z, f as I, b as v, k as F, w as K, m as W, L as Y, q as P, s as J, l as X } from "./main-edcc4839.mjs";
1
+ import { _ as U, a as V, L as H } from "./LoadingSimulation-dc1d5ce6.mjs";
2
+ import { _ as B, Q as M, a as z } from "./Modal-b557be7f.mjs";
3
+ import { d as y, r as u, H as R, o as c, c as d, a as t, u as k, y as L, t as S, G as D, p as N, g as E, C as Q, z as G, h as x, F as O, e as Z, f as I, b as v, k as F, w as K, m as W, L as Y, q as P, s as J, l as X } from "./main-9ac3b986.mjs";
4
4
  import { _ as $ } from "./_plugin-vue_export-helper-dad06003.mjs";
5
- import { p as ee, g as se } from "./api-80b5293d.mjs";
5
+ import { p as ee, g as te } from "./api-229c58d2.mjs";
6
6
  import "./loadernew-ac153a51.mjs";
7
- const te = { class: "flex h-14 w-full flex-1 items-center justify-between bg-[#021c42] md:pr-6 lg:pr-6" }, ae = ["href"], oe = /* @__PURE__ */ s("img", {
7
+ const se = { class: "flex h-14 w-full flex-1 items-center justify-between bg-[#021c42] md:pr-6 lg:pr-6" }, ae = ["href"], oe = /* @__PURE__ */ t("img", {
8
8
  class: "h-11 w-auto cursor-pointer",
9
9
  src: U,
10
10
  alt: "Genome Logo"
11
11
  }, null, -1), ne = [
12
12
  oe
13
- ], re = ["href"], le = /* @__PURE__ */ s("img", {
13
+ ], re = ["href"], le = /* @__PURE__ */ t("img", {
14
14
  class: "h-9 w-28 cursor-pointer md:w-36",
15
- src: H,
15
+ src: B,
16
16
  alt: "Aiguru Logo"
17
17
  }, null, -1), ie = [
18
18
  le
19
19
  ], ce = /* @__PURE__ */ y({
20
20
  __name: "headerAMA",
21
21
  setup(n) {
22
- const e = d(""), o = d("");
23
- return R === "prod" ? e.value = "https://genome.genpact.com" : e.value = "https://genome-dev.genpact.com", R === "prod" ? o.value = "https://genome.genpact.com/#aiguru" : o.value = "https://genome-dev.genpact.com/#aiguru", (l, p) => (c(), u("nav", te, [
24
- s("a", {
22
+ const e = u(""), o = u("");
23
+ return R === "prod" ? e.value = "https://genome.genpact.com" : e.value = "https://genome-dev.genpact.com", R === "prod" ? o.value = "https://genome.genpact.com/#aiguru" : o.value = "https://genome-dev.genpact.com/#aiguru", (l, p) => (c(), d("nav", se, [
24
+ t("a", {
25
25
  class: "px-2 md:px-0 lg:px-0",
26
26
  href: e.value,
27
27
  target: "_blank"
28
28
  }, ne, 8, ae),
29
- s("a", {
29
+ t("a", {
30
30
  class: "px-2 md:px-0 lg:px-0",
31
31
  href: o.value,
32
32
  target: "_blank"
33
33
  }, ie, 8, re)
34
34
  ]));
35
35
  }
36
- }), de = { class: "flex items-end justify-start" }, ue = { class: "fontFormattingAMA w-full bg-gray-100 rounded-lg" }, _e = { class: "w-full rounded-md px-3 py-2 text-lg text-black md:text-xl" }, pe = ["innerHTML"], me = /* @__PURE__ */ s("br", null, null, -1), he = /* @__PURE__ */ y({
36
+ }), de = { class: "flex items-end justify-start" }, ue = { class: "fontFormattingAMA w-full bg-gray-100 rounded-lg" }, _e = { class: "w-full rounded-md px-3 py-2 text-lg text-black md:text-xl" }, pe = ["innerHTML"], me = /* @__PURE__ */ t("br", null, null, -1), he = /* @__PURE__ */ y({
37
37
  __name: "greetingsAMA",
38
38
  setup(n) {
39
39
  const e = k(), o = ` Hi ${e.learnerName || "Learner"}! 👋`, l = L(() => o);
40
- return L(() => `I'm here and ready to help! What would you like to know about <span class='font-[600]'>${e.amaSkillName || "Skill"}</span>? <br/> Ask me to explain concepts, provide examples, or clarify anything that seems confusing.`), (p, m) => (c(), u("section", null, [
41
- s("div", de, [
42
- s("div", ue, [
43
- s("div", _e, [
44
- s("div", { innerHTML: l.value }, null, 8, pe)
40
+ return L(() => `I'm here and ready to help! What would you like to know about <span class='font-[600]'>${e.amaSkillName || "Skill"}</span>? <br/> Ask me to explain concepts, provide examples, or clarify anything that seems confusing.`), (p, m) => (c(), d("section", null, [
41
+ t("div", de, [
42
+ t("div", ue, [
43
+ t("div", _e, [
44
+ t("div", { innerHTML: l.value }, null, 8, pe)
45
45
  ])
46
46
  ])
47
47
  ]),
@@ -62,11 +62,11 @@ const te = { class: "flex h-14 w-full flex-1 items-center justify-between bg-[#0
62
62
  /Assessment Rating & Feedback/g,
63
63
  '<div style="font-size: 26px; font-weight: bold; text-decoration: underline;">Rating & Feedback</div>'
64
64
  ), p = /\[([^\]]+)\]\((https?:\/\/[^\s]+)\)/g;
65
- return l.replace(p, (m, r, t) => `<a href="${t}" target="_blank" rel="noopener noreferrer" style="color: blue; text-decoration: underline;">${r}</a>`);
65
+ return l.replace(p, (m, r, s) => `<a href="${s}" target="_blank" rel="noopener noreferrer" style="color: blue; text-decoration: underline;">${r}</a>`);
66
66
  });
67
- return (l, p) => (c(), u("div", fe, [
68
- s("div", ge, [
69
- s("span", {
67
+ return (l, p) => (c(), d("div", fe, [
68
+ t("div", ge, [
69
+ t("span", {
70
70
  class: "fontFormattingAMA",
71
71
  innerHTML: o.value
72
72
  }, null, 8, ve)
@@ -83,20 +83,20 @@ const ye = /* @__PURE__ */ $(xe, [["__scopeId", "data-v-f88d6450"]]), we = { cla
83
83
  }
84
84
  },
85
85
  setup(n) {
86
- return (e, o) => (c(), u("div", we, [
87
- s("div", Ae, [
88
- s("div", be, S(n.question), 1)
86
+ return (e, o) => (c(), d("div", we, [
87
+ t("div", Ae, [
88
+ t("div", be, S(n.question), 1)
89
89
  ])
90
90
  ]));
91
91
  }
92
- }), ke = (n) => (N("data-v-12a02acf"), n = n(), E(), n), qe = { class: "flex w-full flex-col items-start justify-start bg-white" }, Me = { class: "bot-typing-animation gap-1" }, Ie = { class: "block w-full text-lg italic text-gray-800" }, Le = /* @__PURE__ */ ke(() => /* @__PURE__ */ s("span", { class: "dot-animation" }, [
93
- /* @__PURE__ */ s("span", null, "."),
94
- /* @__PURE__ */ s("span", null, "."),
95
- /* @__PURE__ */ s("span", null, ".")
96
- ], -1)), Se = /* @__PURE__ */ G('<div class="block w-full max-w-full items-stretch" data-v-12a02acf><div class="flex animate-pulse items-start justify-start space-x-4" data-v-12a02acf><div class="flex-1 space-y-6 py-1" data-v-12a02acf><div class="h-2 w-full rounded bg-gray-300" data-v-12a02acf></div><div class="space-y-3" data-v-12a02acf><div class="grid grid-cols-3 gap-4" data-v-12a02acf><div class="col-span-2 h-2 rounded bg-gray-300" data-v-12a02acf></div><div class="col-span-1 h-2 rounded bg-gray-300" data-v-12a02acf></div></div><div class="h-2 rounded bg-gray-300" data-v-12a02acf></div></div></div></div></div>', 1), Ne = /* @__PURE__ */ y({
92
+ }), ke = (n) => (N("data-v-12a02acf"), n = n(), E(), n), qe = { class: "flex w-full flex-col items-start justify-start bg-white" }, Me = { class: "bot-typing-animation gap-1" }, Ie = { class: "block w-full text-lg italic text-gray-800" }, Le = /* @__PURE__ */ ke(() => /* @__PURE__ */ t("span", { class: "dot-animation" }, [
93
+ /* @__PURE__ */ t("span", null, "."),
94
+ /* @__PURE__ */ t("span", null, "."),
95
+ /* @__PURE__ */ t("span", null, ".")
96
+ ], -1)), Se = /* @__PURE__ */ D('<div class="block w-full max-w-full items-stretch" data-v-12a02acf><div class="flex animate-pulse items-start justify-start space-x-4" data-v-12a02acf><div class="flex-1 space-y-6 py-1" data-v-12a02acf><div class="h-2 w-full rounded bg-gray-300" data-v-12a02acf></div><div class="space-y-3" data-v-12a02acf><div class="grid grid-cols-3 gap-4" data-v-12a02acf><div class="col-span-2 h-2 rounded bg-gray-300" data-v-12a02acf></div><div class="col-span-1 h-2 rounded bg-gray-300" data-v-12a02acf></div></div><div class="h-2 rounded bg-gray-300" data-v-12a02acf></div></div></div></div></div>', 1), Ne = /* @__PURE__ */ y({
97
97
  __name: "LoadingResponseAMA",
98
98
  setup(n) {
99
- const e = d("Generating response"), o = d([
99
+ const e = u("Generating response"), o = u([
100
100
  "This may take a few seconds",
101
101
  "Fetching the best response for you",
102
102
  "Thinking... give me a moment",
@@ -108,9 +108,9 @@ const ye = /* @__PURE__ */ $(xe, [["__scopeId", "data-v-f88d6450"]]), we = { cla
108
108
  return setTimeout(() => {
109
109
  const l = Math.floor(Math.random() * o.value.length);
110
110
  e.value = o.value[l];
111
- }, 15e3), (l, p) => (c(), u("div", qe, [
112
- s("div", Me, [
113
- s("div", Ie, S(e.value), 1),
111
+ }, 15e3), (l, p) => (c(), d("div", qe, [
112
+ t("div", Me, [
113
+ t("div", Ie, S(e.value), 1),
114
114
  Le
115
115
  ]),
116
116
  Se
@@ -123,78 +123,78 @@ const Ee = /* @__PURE__ */ $(Ne, [["__scopeId", "data-v-12a02acf"]]), Qe = { key
123
123
  }, Fe = /* @__PURE__ */ y({
124
124
  __name: "conversationAMA",
125
125
  setup(n) {
126
- let e = d(""), o = d("");
126
+ let e = u(""), o = u("");
127
127
  e.value = '<a style="color:#00AECF;"', o.value = '<ul style="list-style: disc !important; margin-left: 3.5rem !important; padding: 0;"';
128
- const l = k(), p = d();
128
+ const l = k(), p = u();
129
129
  return Q(() => {
130
- var t;
130
+ var s;
131
131
  const m = document.getElementsByName("askQuestion"), r = Array.from(m);
132
- m.length && ((t = r == null ? void 0 : r.pop()) == null || t.scrollIntoView({ behavior: "smooth", block: "center" }));
133
- }), D(() => {
134
- var t;
132
+ m.length && ((s = r == null ? void 0 : r.pop()) == null || s.scrollIntoView({ behavior: "smooth", block: "center" }));
133
+ }), G(() => {
134
+ var s;
135
135
  const m = document.getElementsByName("askQuestion"), r = Array.from(m);
136
- m.length && ((t = r == null ? void 0 : r.pop()) == null || t.scrollIntoView({ behavior: "smooth", block: "center" }));
137
- }), (m, r) => (c(), u("div", {
136
+ m.length && ((s = r == null ? void 0 : r.pop()) == null || s.scrollIntoView({ behavior: "smooth", block: "center" }));
137
+ }), (m, r) => (c(), d("div", {
138
138
  ref_key: "nestedElement",
139
139
  ref: p,
140
140
  class: "smooth-scroll overflow-auto md:px-6 px-2"
141
141
  }, [
142
142
  x(he),
143
- (c(!0), u(O, null, Z(v(l).conversations, (t, _) => (c(), u("div", { key: _ }, [
144
- t.question ? (c(), u("div", Qe, [
143
+ (c(!0), d(O, null, Z(v(l).conversations, (s, _) => (c(), d("div", { key: _ }, [
144
+ s.question ? (c(), d("div", Qe, [
145
145
  x($e, {
146
- question: t.question,
147
- c2question: t.c2question,
148
- "show-feedback": t.showFeedback,
146
+ question: s.question,
147
+ c2question: s.c2question,
148
+ "show-feedback": s.showFeedback,
149
149
  id: `qId${_}`,
150
150
  name: "askQuestion",
151
151
  "que-id": _
152
152
  }, null, 8, ["question", "c2question", "show-feedback", "id", "que-id"])
153
153
  ])) : I("", !0),
154
- t.answer ? (c(), u("div", Ce, [
154
+ s.answer ? (c(), d("div", Ce, [
155
155
  x(ye, {
156
- question: t == null ? void 0 : t.question,
157
- c2question: t == null ? void 0 : t.c2question,
158
- "show-sources": t == null ? void 0 : t.showSources,
159
- questionId: t.id,
160
- answer: t.answer.replaceAll("<a", v(e)).replaceAll("<ul", v(o)),
161
- "show-feedback": t.showFeedback,
162
- "related-ques": t.relatedQues,
163
- "options-array": t.optionsArray,
156
+ question: s == null ? void 0 : s.question,
157
+ c2question: s == null ? void 0 : s.c2question,
158
+ "show-sources": s == null ? void 0 : s.showSources,
159
+ questionId: s.id,
160
+ answer: s.answer.replaceAll("<a", v(e)).replaceAll("<ul", v(o)),
161
+ "show-feedback": s.showFeedback,
162
+ "related-ques": s.relatedQues,
163
+ "options-array": s.optionsArray,
164
164
  "ans-id": _
165
165
  }, null, 8, ["question", "c2question", "show-sources", "questionId", "answer", "show-feedback", "related-ques", "options-array", "ans-id"])
166
166
  ])) : I("", !0)
167
167
  ]))), 128)),
168
- v(l).dotLoader ? (c(), u("div", Re, [
168
+ v(l).dotLoader ? (c(), d("div", Re, [
169
169
  x(Ee)
170
170
  ])) : I("", !0)
171
171
  ], 512));
172
172
  }
173
173
  });
174
- const Pe = /* @__PURE__ */ $(Fe, [["__scopeId", "data-v-e6168dd4"]]), q = (n) => (N("data-v-4d4db1ef"), n = n(), E(), n), Te = { class: "z-3 absolute bottom-0 mt-4 w-full bg-white px-2 md:px-6" }, je = { class: "py-2" }, Ue = { class: "flex" }, Ve = { class: "z-1 relative w-full" }, Be = { class: "relative w-full" }, He = { class: "absolute inset-y-0 right-0 flex items-center md:pr-8 pr-3" }, ze = { key: 0 }, Ge = /* @__PURE__ */ q(() => /* @__PURE__ */ s("path", { d: "M15.854.146a.5.5 0 0 1 .11.54l-5.819 14.547a.75.75 0 0 1-1.329.124l-3.178-4.995L.643 7.184a.75.75 0 0 1 .124-1.33L15.314.037a.5.5 0 0 1 .54.11ZM6.636 10.07l2.761 4.338L14.13 2.576 6.636 10.07Zm6.787-8.201L1.591 6.602l4.339 2.76 7.494-7.493Z" }, null, -1)), De = [
175
- Ge
174
+ const Pe = /* @__PURE__ */ $(Fe, [["__scopeId", "data-v-e6168dd4"]]), q = (n) => (N("data-v-31fa8687"), n = n(), E(), n), Te = { class: "z-3 absolute bottom-0 mt-4 w-full bg-white px-2 md:px-6" }, je = { class: "py-2" }, Ue = { class: "flex" }, Ve = { class: "z-1 relative w-full" }, He = { class: "relative w-full" }, Be = { class: "absolute inset-y-0 right-0 flex items-center md:pr-8 pr-3" }, ze = { key: 0 }, De = /* @__PURE__ */ q(() => /* @__PURE__ */ t("path", { d: "M15.854.146a.5.5 0 0 1 .11.54l-5.819 14.547a.75.75 0 0 1-1.329.124l-3.178-4.995L.643 7.184a.75.75 0 0 1 .124-1.33L15.314.037a.5.5 0 0 1 .54.11ZM6.636 10.07l2.761 4.338L14.13 2.576 6.636 10.07Zm6.787-8.201L1.591 6.602l4.339 2.76 7.494-7.493Z" }, null, -1)), Ge = [
175
+ De
176
176
  ], Oe = {
177
177
  key: 1,
178
178
  class: "tooltip"
179
- }, Ze = /* @__PURE__ */ q(() => /* @__PURE__ */ s("span", { class: "tooltiptext" }, "Processing", -1)), Ke = /* @__PURE__ */ q(() => /* @__PURE__ */ s("img", {
179
+ }, Ze = /* @__PURE__ */ q(() => /* @__PURE__ */ t("span", { class: "tooltiptext" }, "Processing", -1)), Ke = /* @__PURE__ */ q(() => /* @__PURE__ */ t("img", {
180
180
  class: "w-7 h-7",
181
181
  src: V,
182
182
  alt: "watingIcon"
183
183
  }, null, -1)), We = [
184
184
  Ze,
185
185
  Ke
186
- ], Ye = { class: "flex justify-start" }, Je = ["placeholder"], Xe = { class: "flex justify-start items-start text-[#161916] px-1" }, es = /* @__PURE__ */ q(() => /* @__PURE__ */ s("div", { class: "pt-1 text-start font-sans" }, [
187
- /* @__PURE__ */ s("div", { class: "text-xs font-bold text-gray-500 md:text-sm px-1" }, " Note: AI-generated response may not be fully accurate; check with experts for critical information. ")
188
- ], -1)), ss = /* @__PURE__ */ y({
186
+ ], Ye = { class: "flex justify-start" }, Je = ["placeholder"], Xe = { class: "flex justify-start items-start text-[#161916] px-1" }, et = /* @__PURE__ */ q(() => /* @__PURE__ */ t("div", { class: "pt-1 text-start font-sans" }, [
187
+ /* @__PURE__ */ t("div", { class: "text-xs font-bold text-gray-500 md:text-sm px-1" }, " Note: AI-generated response may not be fully accurate; check with experts for critical information. ")
188
+ ], -1)), tt = /* @__PURE__ */ y({
189
189
  __name: "NewQuestionAMA",
190
190
  setup(n) {
191
191
  const e = k(), o = F();
192
192
  e.question = "";
193
- const l = d(null), p = d(!1), m = d(M), r = d(!1);
193
+ const l = u(null), p = u(!1), m = u(M), r = u(!1);
194
194
  Q(() => {
195
195
  l.value.focus();
196
196
  });
197
- const _ = d(((h) => new URLSearchParams(window.location.search).get(h) || "")("amaId"));
197
+ const _ = u(((h) => new URLSearchParams(window.location.search).get(h) || "")("amaId"));
198
198
  console.log("amaId", _.value);
199
199
  const w = (h) => {
200
200
  const i = h.length;
@@ -215,13 +215,13 @@ const Pe = /* @__PURE__ */ $(Fe, [["__scopeId", "data-v-e6168dd4"]]), q = (n) =>
215
215
  question: e == null ? void 0 : e.question
216
216
  };
217
217
  e.conversations.push(a);
218
- const g = d("");
218
+ const g = u("");
219
219
  g.value = e == null ? void 0 : e.question, e.question = "";
220
220
  const T = {
221
221
  skillId: _.value,
222
222
  question: g.value,
223
223
  past_messages: e.past_messages
224
- }, j = await ee("/amaBotResponse", T);
224
+ }, j = await ee("/fetchS3Data", T);
225
225
  e.addConversation((h = j.data) == null ? void 0 : h.body, "new"), r.value = !1, e.dotLoader = !1;
226
226
  } catch (a) {
227
227
  if (console.error(a), e.dotLoader = !1, r.value = !1, P.isAxiosError(a)) {
@@ -231,24 +231,24 @@ const Pe = /* @__PURE__ */ $(Fe, [["__scopeId", "data-v-e6168dd4"]]), q = (n) =>
231
231
  o.setError("There was an issue, please contact helpmate");
232
232
  }
233
233
  };
234
- return (h, i) => (c(), u("div", Te, [
235
- s("div", je, [
236
- s("div", Ue, [
237
- s("div", Ve, [
238
- s("div", Be, [
239
- s("div", He, [
240
- r.value ? (c(), u("div", Oe, We)) : (c(), u("div", ze, [
241
- (c(), u("svg", {
234
+ return (h, i) => (c(), d("div", Te, [
235
+ t("div", je, [
236
+ t("div", Ue, [
237
+ t("div", Ve, [
238
+ t("div", He, [
239
+ t("div", Be, [
240
+ r.value ? (c(), d("div", Oe, We)) : (c(), d("div", ze, [
241
+ (c(), d("svg", {
242
242
  onClick: i[0] || (i[0] = (f) => A()),
243
243
  xmlns: "http://www.w3.org/2000/svg",
244
244
  fill: "currentColor",
245
245
  class: "bi bi-send ml-2 h-7 w-7 rotate-45 rounded",
246
246
  viewBox: "0 0 16 16"
247
- }, De))
247
+ }, Ge))
248
248
  ]))
249
249
  ]),
250
- s("div", Ye, [
251
- K(s("input", {
250
+ t("div", Ye, [
251
+ K(t("input", {
252
252
  onKeyup: [
253
253
  i[1] || (i[1] = Y((f) => r.value ? "" : A(), ["enter"])),
254
254
  i[3] || (i[3] = (f) => w(v(e).question))
@@ -264,30 +264,28 @@ const Pe = /* @__PURE__ */ $(Fe, [["__scopeId", "data-v-e6168dd4"]]), q = (n) =>
264
264
  ])
265
265
  ])
266
266
  ]),
267
- s("div", Xe, S(v(e).amaQuestionsLeft) + " questions remaining for the day ", 1),
268
- es
267
+ t("div", Xe, S(v(e).amaQuestionsLeft) + " questions remaining for the day ", 1),
268
+ et
269
269
  ])
270
270
  ])
271
271
  ])
272
272
  ]));
273
273
  }
274
274
  });
275
- const ts = /* @__PURE__ */ $(ss, [["__scopeId", "data-v-4d4db1ef"]]), C = (n) => (N("data-v-944ca5e3"), n = n(), E(), n), as = /* @__PURE__ */ C(() => /* @__PURE__ */ s("div", { class: "max-h-screen overflow-auto md:p-6 p-3 flex flex-col items-center justify-center gap-4 text-[#161916]" }, [
276
- /* @__PURE__ */ s("div", { class: "text-2xl font-[700]" }, "Assessment Access Required"),
277
- /* @__PURE__ */ s("h3", { className: "text-lg font-medium my-6 text-center text-gray-500" }, " You don't have access to this assessment. Please contact to administrator ")
278
- ], -1)), os = {
275
+ const st = /* @__PURE__ */ $(tt, [["__scopeId", "data-v-31fa8687"]]), C = (n) => (N("data-v-4632b0a7"), n = n(), E(), n), at = /* @__PURE__ */ C(() => /* @__PURE__ */ t("div", { class: "max-h-screen overflow-auto md:p-6 p-3 flex flex-col items-center justify-center gap-4 text-[#161916]" }, [
276
+ /* @__PURE__ */ t("div", { class: "text-2xl font-[700]" }, "Assessment Access Required"),
277
+ /* @__PURE__ */ t("h3", { className: "text-lg font-medium my-6 text-center text-gray-500" }, " You don't have access to this assessment. Please contact to administrator ")
278
+ ], -1)), ot = {
279
279
  key: 1,
280
280
  className: "h-screen flex flex-col items-stretch"
281
- }, ns = { class: "z-20" }, rs = /* @__PURE__ */ C(() => /* @__PURE__ */ s("div", { class: "mt-6" }, null, -1)), ls = { class: "flex h-full items-stretch overflow-hidden" }, is = { class: "mx-auto w-11/12 bg-white" }, cs = { class: "relative flex h-full w-full flex-col items-stretch overflow-hidden" }, ds = /* @__PURE__ */ C(() => /* @__PURE__ */ s("div", { class: "mt-[160px]" }, null, -1)), us = { class: "relative" }, _s = /* @__PURE__ */ y({
281
+ }, nt = { class: "z-20" }, rt = /* @__PURE__ */ C(() => /* @__PURE__ */ t("div", { class: "mt-6" }, null, -1)), lt = { class: "flex h-full items-stretch overflow-hidden" }, it = { class: "mx-auto w-11/12 bg-white" }, ct = { class: "relative flex h-full w-full flex-col items-stretch overflow-hidden" }, dt = /* @__PURE__ */ C(() => /* @__PURE__ */ t("div", { class: "mt-[160px]" }, null, -1)), ut = { class: "relative" }, _t = /* @__PURE__ */ y({
282
282
  __name: "AssessmentAMA",
283
283
  setup(n) {
284
- const e = d(!0), o = d(!1), l = k(), p = F();
285
- d("");
286
- const r = d(((_) => new URLSearchParams(window.location.search).get(_) || "")("amaId"));
284
+ const e = u(!0), o = u(!1), l = k(), p = F(), r = u(((_) => new URLSearchParams(window.location.search).get(_) || "")("amaId"));
287
285
  l.amaSkillId = r.value ?? "", Q(async () => {
288
- e.value = !0, await t(), e.value = !1;
286
+ e.value = !0, await s(), e.value = !1;
289
287
  });
290
- const t = async () => {
288
+ const s = async () => {
291
289
  var _, w, A, h, i, f, b;
292
290
  try {
293
291
  if (r.value === null)
@@ -300,7 +298,7 @@ const ts = /* @__PURE__ */ $(ss, [["__scopeId", "data-v-4d4db1ef"]]), C = (n) =>
300
298
  }
301
299
  };
302
300
  console.log("before calling get learner");
303
- const a = await se(
301
+ const a = await te(
304
302
  `/getLearnerData?amaSkillId=${r.value}`
305
303
  );
306
304
  l.initialize(a.data), l.amaQuestionsLeft = (_ = a == null ? void 0 : a.data) == null ? void 0 : _.questionsLeftAIGC, l.amaSkillName = (w = a == null ? void 0 : a.data) == null ? void 0 : w.skillName, e.value = !1;
@@ -316,27 +314,27 @@ const ts = /* @__PURE__ */ $(ss, [["__scopeId", "data-v-4d4db1ef"]]), C = (n) =>
316
314
  p.setError("There was an issue, please contact helpmate");
317
315
  }
318
316
  };
319
- return (_, w) => (c(), u("section", null, [
317
+ return (_, w) => (c(), d("section", null, [
320
318
  x(z, { "is-visible": o.value }, {
321
319
  default: J(() => [
322
- as
320
+ at
323
321
  ]),
324
322
  _: 1
325
323
  }, 8, ["is-visible"]),
326
- s("div", null, [
327
- e.value ? (c(), X(B, { key: 0 })) : (c(), u("main", os, [
328
- s("div", ns, [
324
+ t("div", null, [
325
+ e.value ? (c(), X(H, { key: 0 })) : (c(), d("main", ot, [
326
+ t("div", nt, [
329
327
  x(ce)
330
328
  ]),
331
- rs,
332
- s("div", ls, [
333
- s("div", is, [
334
- s("div", cs, [
329
+ rt,
330
+ t("div", lt, [
331
+ t("div", it, [
332
+ t("div", ct, [
335
333
  x(Pe),
336
- ds
334
+ dt
337
335
  ]),
338
- s("div", us, [
339
- x(ts)
336
+ t("div", ut, [
337
+ x(st)
340
338
  ])
341
339
  ])
342
340
  ])
@@ -345,7 +343,7 @@ const ts = /* @__PURE__ */ $(ss, [["__scopeId", "data-v-4d4db1ef"]]), C = (n) =>
345
343
  ]));
346
344
  }
347
345
  });
348
- const xs = /* @__PURE__ */ $(_s, [["__scopeId", "data-v-944ca5e3"]]);
346
+ const xt = /* @__PURE__ */ $(_t, [["__scopeId", "data-v-4632b0a7"]]);
349
347
  export {
350
- xs as default
348
+ xt as default
351
349
  };
@@ -1,9 +1,9 @@
1
- import { _ as Sl, a as up, L as Cl } from "./LoadingSimulation-76664f39.mjs";
2
- import { _ as yl, a as pp, Q as jt, M as ba } from "./Modal-2cffa816.mjs";
3
- import { d as _e, r as _, H as Lt, o as D, c as k, a as P, u as Ne, k as wt, y as Uo, h as ye, s as dp, t as Xe, b as O, f as Pe, i as ge, I as Qi, F as Ho, e as Wo, w as Yo, J as Pl, p as Kn, g as Jn, G as es, C as Vt, z as Rl, K as El, q as Ie, n as xt, m as lp, L as hp, l as wl } from "./main-edcc4839.mjs";
1
+ import { _ as Sl, a as up, L as Cl } from "./LoadingSimulation-dc1d5ce6.mjs";
2
+ import { _ as yl, a as pp, Q as jt, M as ba } from "./Modal-b557be7f.mjs";
3
+ import { d as _e, r as _, H as Lt, o as D, c as k, a as P, u as Ne, k as wt, y as Uo, h as ye, s as dp, t as Xe, b as O, f as Pe, i as ge, I as Qi, F as Ho, e as Wo, w as Yo, J as Pl, p as Kn, g as Jn, G as es, C as Vt, z as Rl, K as El, q as Ie, n as xt, m as lp, L as hp, l as wl } from "./main-9ac3b986.mjs";
4
4
  import { _ as $t } from "./_plugin-vue_export-helper-dad06003.mjs";
5
- import { g as qn, p as Hn } from "./api-80b5293d.mjs";
6
- import { c as q, a as Al, r as Il } from "./_commonjsHelpers-b27c934e.mjs";
5
+ import { g as qn, p as Hn } from "./api-229c58d2.mjs";
6
+ import { c as q, a as Al, r as Il } from "./_commonjsHelpers-b85cce83.mjs";
7
7
  import "./loadernew-ac153a51.mjs";
8
8
  const _l = { class: "flex h-14 w-full flex-1 items-center justify-between bg-[#021c42] md:pr-6 lg:pr-6" }, Tl = ["href"], bl = /* @__PURE__ */ P("img", {
9
9
  class: "h-11 w-auto cursor-pointer",
@@ -18259,7 +18259,7 @@ const Sy = /* @__PURE__ */ $t(my, [["__scopeId", "data-v-dd2e329e"]]), go = (t)
18259
18259
  ]));
18260
18260
  }
18261
18261
  });
18262
- const Ly = /* @__PURE__ */ $t(jy, [["__scopeId", "data-v-6c0980b5"]]), ai = (t) => (Kn("data-v-450b2de7"), t = t(), Jn(), t), xy = { class: "max-h-screen overflow-auto md:p-6 p-3 text-[#161916]" }, By = {
18262
+ const Ly = /* @__PURE__ */ $t(jy, [["__scopeId", "data-v-6c0980b5"]]), ai = (t) => (Kn("data-v-e37be657"), t = t(), Jn(), t), xy = { class: "max-h-screen overflow-auto md:p-6 p-3 text-[#161916]" }, By = {
18263
18263
  key: 0,
18264
18264
  class: "flex flex-col items-center justify-center gap-4"
18265
18265
  }, qy = /* @__PURE__ */ ai(() => /* @__PURE__ */ P("div", { class: "text-2xl font-[700]" }, "Assessment Access Required", -1)), Fy = /* @__PURE__ */ ai(() => /* @__PURE__ */ P("h3", { className: "text-lg font-medium my-6 text-center text-gray-500" }, " You don't have access to this assessment. Please contact to administrator ", -1)), Uy = [
@@ -18430,7 +18430,7 @@ const Ly = /* @__PURE__ */ $t(jy, [["__scopeId", "data-v-6c0980b5"]]), ai = (t)
18430
18430
  ]));
18431
18431
  }
18432
18432
  });
18433
- const MR = /* @__PURE__ */ $t(tP, [["__scopeId", "data-v-450b2de7"]]);
18433
+ const MR = /* @__PURE__ */ $t(tP, [["__scopeId", "data-v-e37be657"]]);
18434
18434
  export {
18435
18435
  MR as default
18436
18436
  };
@@ -1,6 +1,6 @@
1
- import { d as U, u as z, k as O, r, o as n, c as d, a as e, w as b, m as k, b as i, n as S, v as L, F as V, e as P, t as f, q as D, D as T, p as $, g as H, i as F } from "./main-edcc4839.mjs";
1
+ import { d as U, u as z, k as O, r, o as n, c as d, a as e, w as b, m as k, b as i, n as S, v as L, F as V, e as P, t as f, q as D, D as T, p as $, g as H, i as F } from "./main-9ac3b986.mjs";
2
2
  import { _ as j } from "./loadernew-ac153a51.mjs";
3
- import { p as B, g as Y } from "./api-80b5293d.mjs";
3
+ import { p as B, g as Y } from "./api-229c58d2.mjs";
4
4
  import { _ as J } from "./_plugin-vue_export-helper-dad06003.mjs";
5
5
  const c = (_) => ($("data-v-3bb57317"), _ = _(), H(), _), Q = { class: "grid grid-cols-5 gap-8 p-10 items-stretch" }, X = /* @__PURE__ */ c(() => /* @__PURE__ */ e("div", { class: "col-span-1 text-right" }, [
6
6
  /* @__PURE__ */ e("label", {
@@ -1,6 +1,6 @@
1
- import { o as r, c, a as e, d as j, M as U, h as q, b as a, K as M, u as W, k as P, r as i, w as y, m as k, n as S, f as _, F as A, e as H, v as O, t as x, q as B, D as Y, p as J, g as Q, i as D } from "./main-edcc4839.mjs";
1
+ import { o as r, c, a as e, d as j, M as U, h as q, b as a, K as M, u as W, k as P, r as i, w as y, m as k, n as S, f as _, F as A, e as H, v as O, t as x, q as B, D as Y, p as J, g as Q, i as D } from "./main-9ac3b986.mjs";
2
2
  import { _ as z } from "./loadernew-ac153a51.mjs";
3
- import { p as $ } from "./api-80b5293d.mjs";
3
+ import { p as $ } from "./api-229c58d2.mjs";
4
4
  import { _ as X } from "./genome-Logo-white-ffcf2413.mjs";
5
5
  import { _ as Z } from "./_plugin-vue_export-helper-dad06003.mjs";
6
6
  function ee(d, t) {