@genpact/genome.mfe.mgtwin-app 1.1.436-alpha → 1.1.437-alpha

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 (25) hide show
  1. package/dist/{AMABot-4c39b3f4.mjs → AMABot-5122a8a4.mjs} +54 -54
  2. package/dist/{AssessmentSimulation-197ef143.mjs → AssessmentSimulation-3a3d6326.mjs} +6 -6
  3. package/dist/{EditSkillAdminData-812f108f.mjs → EditSkillAdminData-dd02feef.mjs} +2 -2
  4. package/dist/{EditSkillData-9882cc43.mjs → EditSkillData-df698a98.mjs} +2 -2
  5. package/dist/{HomeView-c91b4553.mjs → HomeView-c737fadc.mjs} +4 -4
  6. package/dist/{Loading-903af537.mjs → Loading-e86cad15.mjs} +1 -1
  7. package/dist/{PaperAirplaneIcon-2ca0ced1.mjs → PaperAirplaneIcon-e6c2fbdc.mjs} +1 -1
  8. package/dist/{PromptTesting-acbf4e58.mjs → PromptTesting-00ea95b1.mjs} +3 -3
  9. package/dist/{SkillAutomation-d68c4297.mjs → SkillAutomation-60b45b69.mjs} +3 -3
  10. package/dist/{SkillData-e1c7b723.mjs → SkillData-a2f18d52.mjs} +3 -3
  11. package/dist/{Testcase-5aa7586d.mjs → Testcase-f783f09f.mjs} +3 -3
  12. package/dist/{UnderMaintenance-045e713b.mjs → UnderMaintenance-c31d6924.mjs} +1 -1
  13. package/dist/{VoiceTestcase-944cf88e.mjs → VoiceTestcase-be081d3d.mjs} +3 -3
  14. package/dist/{XMarkIcon-063cfe6f.mjs → XMarkIcon-bca592a2.mjs} +1 -1
  15. package/dist/{api-9c4050a6.mjs → api-c67299fe.mjs} +1 -1
  16. package/dist/{index.es-f5312a1f.mjs → index.es-2157eb81.mjs} +6 -6
  17. package/dist/{main-744c5bec.mjs → main-5483437d.mjs} +946 -946
  18. package/dist/mgtwin.es.min.js +1 -1
  19. package/dist/mgtwin.umd.min.js +42 -42
  20. package/dist/native/aiguru-native.css +1 -1
  21. package/dist/native/aiguru-native.umd.min.js +2 -2
  22. package/dist/{simulationPopup.vue_vue_type_script_setup_true_lang-4b5c6741.mjs → simulationPopup.vue_vue_type_script_setup_true_lang-3f6e3d9c.mjs} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/{voiceServices-c10ce998.mjs → voiceServices-d58ee911.mjs} +2 -2
  25. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
- import { r as X, _ as Z, a as ee, b as te, d as se, c as oe, L as ne } from "./simulationPopup.vue_vue_type_script_setup_true_lang-4b5c6741.mjs";
1
+ import { r as X, _ as Z, a as ee, b as te, d as se, c as oe, L as ne } from "./simulationPopup.vue_vue_type_script_setup_true_lang-3f6e3d9c.mjs";
2
2
  import { _ as ae, Q as N } from "./constants-e0c83ac4.mjs";
3
- import { o as d, c as f, a as t, d as A, z as C, r as b, G as re, I as ie, b as _, B as M, p as L, g as E, t as I, h as v, s as j, T as U, u as B, H as T, C as le, F as ce, e as de, f as k, i as P, N as H, J as D, k as G, E as W, q as ue, w as pe, m as _e, P as me, n as he, R as K, x as O, U as fe, l as R } from "./main-744c5bec.mjs";
3
+ import { o as c, c as f, a as t, d as A, z as C, r as b, G as re, I as ie, b as _, B as M, p as L, g as E, t as I, h as v, s as j, T as U, u as B, H as T, C as le, F as de, e as ce, f as k, i as P, N as H, J as D, k as G, E as W, q as ue, w as pe, m as _e, P as me, n as he, R as K, x as O, U as fe, l as R } from "./main-5483437d.mjs";
4
4
  import { _ as $ } from "./_plugin-vue_export-helper-dad06003.mjs";
5
- import { u as Y, i as J } from "./api-9c4050a6.mjs";
5
+ import { u as Y, i as J } from "./api-c67299fe.mjs";
6
6
  import "./loadernew-ac153a51.mjs";
7
7
  function ge(o, e) {
8
- return d(), f("svg", {
8
+ return c(), f("svg", {
9
9
  xmlns: "http://www.w3.org/2000/svg",
10
10
  fill: "none",
11
11
  viewBox: "0 0 24 24",
@@ -21,7 +21,7 @@ function ge(o, e) {
21
21
  ]);
22
22
  }
23
23
  function xe(o, e) {
24
- return d(), f("svg", {
24
+ return c(), f("svg", {
25
25
  xmlns: "http://www.w3.org/2000/svg",
26
26
  fill: "none",
27
27
  viewBox: "0 0 24 24",
@@ -52,7 +52,7 @@ const ve = { class: "flex h-14 w-full flex-1 items-center justify-between bg-bla
52
52
  __name: "headerAMA",
53
53
  setup(o) {
54
54
  const e = C(), r = b(""), l = b(""), u = X(re(ie, void 0), window.location);
55
- return u === "prod" ? r.value = "https://genome.genpact.com" : r.value = "https://genome-dev.genpact.com", u === "prod" ? l.value = "https://genome.genpact.com/#aiguru" : l.value = "https://genome-dev.genpact.com/#aiguru", (c, a) => (d(), f("nav", ve, [
55
+ return u === "prod" ? r.value = "https://genome.genpact.com" : r.value = "https://genome-dev.genpact.com", u === "prod" ? l.value = "https://genome.genpact.com/#aiguru" : l.value = "https://genome-dev.genpact.com/#aiguru", (d, a) => (c(), f("nav", ve, [
56
56
  t("a", {
57
57
  class: "px-2 md:px-0 lg:px-0",
58
58
  href: _(e).url(r.value),
@@ -65,7 +65,7 @@ const ve = { class: "flex h-14 w-full flex-1 items-center justify-between bg-bla
65
65
  }, $e, 8, Ae)
66
66
  ]));
67
67
  }
68
- }), qe = (o) => (L("data-v-684baff4"), o = o(), E(), o), Me = { class: "fontFormattingAMA flex justify-start py-2" }, Ce = { class: "w-full max-w-[92%]" }, Ie = { class: "line-break rounded-2xl rounded-bl-sm border border-gray-200 bg-gray-50 px-4 py-4 text-sm leading-6 text-[#3f4451]" }, Se = ["innerHTML"], Le = /* @__PURE__ */ qe(() => /* @__PURE__ */ t("div", { class: "mt-1 text-xs text-gray-400" }, "AI Guru", -1)), Ee = /* @__PURE__ */ A({
68
+ }), qe = (o) => (L("data-v-c2a7fb37"), o = o(), E(), o), Me = { class: "fontFormattingAMA flex justify-start py-2" }, Ce = { class: "w-full max-w-[92%]" }, Ie = { class: "line-break rounded-2xl rounded-bl-sm border border-gray-200 bg-gray-50 px-5 py-4 text-sm leading-6 md:px-6 md:py-5 text-[#3f4451]" }, Se = ["innerHTML"], Le = /* @__PURE__ */ qe(() => /* @__PURE__ */ t("div", { class: "mt-1 text-xs text-gray-400" }, "AI Guru", -1)), Ee = /* @__PURE__ */ A({
69
69
  __name: "responseAMA",
70
70
  props: {
71
71
  answer: {
@@ -104,19 +104,19 @@ const ve = { class: "flex h-14 w-full flex-1 items-center justify-between bg-bla
104
104
  s.pop();
105
105
  return s.reduce((i, x, h) => h === 0 ? x.html : i + (x.block || s[h - 1].block ? "" : `
106
106
  `) + x.html, "");
107
- }, c = M(() => {
107
+ }, d = M(() => {
108
108
  const a = u(e.answer).replace(
109
109
  /Assessment Rating & Feedback/g,
110
110
  '<div style="font-size: 26px; font-weight: bold; text-decoration: underline;">Rating & Feedback</div>'
111
111
  ), s = /\[([^\]]+)\]\((https?:\/\/[^\s]+)\)/g, p = a.replace(s, (n, i, x) => `<a href="${r.url(x)}" target="_blank" rel="noopener noreferrer" style="color: #00AECF; text-decoration: underline;">${i}</a>`);
112
112
  return r.html(p);
113
113
  });
114
- return (a, s) => (d(), f("div", Me, [
114
+ return (a, s) => (c(), f("div", Me, [
115
115
  t("div", Ce, [
116
116
  t("div", Ie, [
117
117
  t("span", {
118
118
  class: "fontFormattingAMA answer-link",
119
- innerHTML: c.value
119
+ innerHTML: d.value
120
120
  }, null, 8, Se)
121
121
  ]),
122
122
  Le
@@ -124,7 +124,7 @@ const ve = { class: "flex h-14 w-full flex-1 items-center justify-between bg-bla
124
124
  ]));
125
125
  }
126
126
  });
127
- const Be = /* @__PURE__ */ $(Ee, [["__scopeId", "data-v-684baff4"]]), Ne = { class: "fontFormattingAMA flex justify-end py-2" }, Qe = { class: "max-w-[80%]" }, Re = { class: "rounded-2xl rounded-br-sm bg-[#FFAB28] px-4 py-3" }, je = { class: "fontFormattingAMA whitespace-pre-line break-words text-sm leading-5 text-[#181C23]" }, Te = /* @__PURE__ */ t("div", { class: "mt-1 text-right text-xs text-gray-400" }, "You", -1), He = /* @__PURE__ */ A({
127
+ const Be = /* @__PURE__ */ $(Ee, [["__scopeId", "data-v-c2a7fb37"]]), Ne = { class: "fontFormattingAMA flex justify-end py-2" }, Qe = { class: "max-w-[80%]" }, Re = { class: "rounded-2xl rounded-br-sm bg-[#FFAB28] px-4 py-3" }, je = { class: "fontFormattingAMA whitespace-pre-line break-words text-sm leading-5 text-[#181C23]" }, Te = /* @__PURE__ */ t("div", { class: "mt-1 text-right text-xs text-gray-400" }, "You", -1), He = /* @__PURE__ */ A({
128
128
  __name: "learnerAMA",
129
129
  props: {
130
130
  question: {
@@ -133,7 +133,7 @@ const Be = /* @__PURE__ */ $(Ee, [["__scopeId", "data-v-684baff4"]]), Ne = { cla
133
133
  }
134
134
  },
135
135
  setup(o) {
136
- return (e, r) => (d(), f("div", Ne, [
136
+ return (e, r) => (c(), f("div", Ne, [
137
137
  t("div", Qe, [
138
138
  t("div", Re, [
139
139
  t("div", je, I(o.question), 1)
@@ -142,7 +142,7 @@ const Be = /* @__PURE__ */ $(Ee, [["__scopeId", "data-v-684baff4"]]), Ne = { cla
142
142
  ])
143
143
  ]));
144
144
  }
145
- }), V = (o) => (L("data-v-9fdc3afc"), o = o(), E(), o), Ge = { class: "fontFormattingAMA flex w-full justify-start py-2" }, Ve = { class: "w-full max-w-[92%]" }, ze = { class: "rounded-2xl rounded-bl-sm border border-gray-200 bg-gray-50 px-4 py-4" }, Ue = {
145
+ }), V = (o) => (L("data-v-a8911c8a"), o = o(), E(), o), Ge = { class: "fontFormattingAMA flex w-full justify-start py-2" }, Ve = { class: "w-full max-w-[92%]" }, ze = { class: "rounded-2xl rounded-bl-sm border border-gray-200 bg-gray-50 px-5 py-4 md:px-6 md:py-5" }, Ue = {
146
146
  class: "flex items-center gap-2.5",
147
147
  role: "status",
148
148
  "aria-live": "polite"
@@ -169,10 +169,10 @@ const Be = /* @__PURE__ */ $(Ee, [["__scopeId", "data-v-684baff4"]]), Ne = { cla
169
169
  "Almost there... just a bit longer",
170
170
  "Compiling a response for you"
171
171
  ], l = b(0), u = setInterval(() => {
172
- var c, a;
173
- !((a = (c = e.scope) == null ? void 0 : c.isActive) != null && a.call(c)) && e.native || (l.value = (l.value + 1) % r.length);
172
+ var d, a;
173
+ !((a = (d = e.scope) == null ? void 0 : d.isActive) != null && a.call(d)) && e.native || (l.value = (l.value + 1) % r.length);
174
174
  }, 5e3);
175
- return e.own(() => clearInterval(u)), (c, a) => (d(), f("div", Ge, [
175
+ return e.own(() => clearInterval(u)), (d, a) => (c(), f("div", Ge, [
176
176
  t("div", Ve, [
177
177
  t("div", ze, [
178
178
  t("div", Ue, [
@@ -182,7 +182,7 @@ const Be = /* @__PURE__ */ $(Ee, [["__scopeId", "data-v-684baff4"]]), Ne = { cla
182
182
  mode: "out-in"
183
183
  }, {
184
184
  default: j(() => [
185
- (d(), f("span", {
185
+ (c(), f("span", {
186
186
  key: l.value,
187
187
  class: "text-xs italic leading-4 text-gray-500"
188
188
  }, I(r[l.value]), 1))
@@ -197,7 +197,7 @@ const Be = /* @__PURE__ */ $(Ee, [["__scopeId", "data-v-684baff4"]]), Ne = { cla
197
197
  ]));
198
198
  }
199
199
  });
200
- const Oe = /* @__PURE__ */ $(Ke, [["__scopeId", "data-v-9fdc3afc"]]), Ye = { key: 0 }, Je = { key: 1 }, Xe = {
200
+ const Oe = /* @__PURE__ */ $(Ke, [["__scopeId", "data-v-a8911c8a"]]), Ye = { key: 0 }, Je = { key: 1 }, Xe = {
201
201
  key: 0,
202
202
  class: "flex"
203
203
  }, Ze = /* @__PURE__ */ A({
@@ -205,18 +205,18 @@ const Oe = /* @__PURE__ */ $(Ke, [["__scopeId", "data-v-9fdc3afc"]]), Ye = { key
205
205
  setup(o) {
206
206
  let e = b(""), r = b("");
207
207
  e.value = '<a style="color:#00AECF;"', r.value = '<ul style="list-style: disc !important; margin-left: 3.5rem !important; padding: 0;"';
208
- const l = B(), u = C(), c = b(), a = () => {
208
+ const l = B(), u = C(), d = b(), a = () => {
209
209
  var n;
210
210
  const s = u.native && u.root && typeof u.root.querySelectorAll == "function" ? u.root.querySelectorAll('[name="askQuestion"]') : document.getElementsByName("askQuestion"), p = Array.from(s);
211
211
  p.length && ((n = p.pop()) == null || n.scrollIntoView({ behavior: "smooth", block: "center" }));
212
212
  };
213
- return T(a), le(a), (s, p) => (d(), f("div", {
213
+ return T(a), le(a), (s, p) => (c(), f("div", {
214
214
  ref_key: "nestedElement",
215
- ref: c,
216
- class: "smooth-scroll overflow-auto md:px-6 px-2"
215
+ ref: d,
216
+ class: "smooth-scroll overflow-auto px-4 md:px-10 lg:px-12"
217
217
  }, [
218
- (d(!0), f(ce, null, de(_(l).conversations, (n, i) => (d(), f("div", { key: i }, [
219
- n.question ? (d(), f("div", Ye, [
218
+ (c(!0), f(de, null, ce(_(l).conversations, (n, i) => (c(), f("div", { key: i }, [
219
+ n.question ? (c(), f("div", Ye, [
220
220
  v(He, {
221
221
  question: n.question,
222
222
  c2question: n.c2question,
@@ -226,7 +226,7 @@ const Oe = /* @__PURE__ */ $(Ke, [["__scopeId", "data-v-9fdc3afc"]]), Ye = { key
226
226
  "que-id": i
227
227
  }, null, 8, ["question", "c2question", "show-feedback", "id", "que-id"])
228
228
  ])) : k("", !0),
229
- n.answer ? (d(), f("div", Je, [
229
+ n.answer ? (c(), f("div", Je, [
230
230
  v(Be, {
231
231
  question: n == null ? void 0 : n.question,
232
232
  c2question: n == null ? void 0 : n.c2question,
@@ -240,28 +240,28 @@ const Oe = /* @__PURE__ */ $(Ke, [["__scopeId", "data-v-9fdc3afc"]]), Ye = { key
240
240
  }, null, 8, ["question", "c2question", "show-sources", "questionId", "answer", "show-feedback", "related-ques", "options-array", "ans-id"])
241
241
  ])) : k("", !0)
242
242
  ]))), 128)),
243
- _(l).dotLoader ? (d(), f("div", Xe, [
243
+ _(l).dotLoader ? (c(), f("div", Xe, [
244
244
  v(Oe)
245
245
  ])) : k("", !0)
246
246
  ], 512));
247
247
  }
248
248
  });
249
- const et = /* @__PURE__ */ $(Ze, [["__scopeId", "data-v-c35e174a"]]), tt = { class: "fontFormattingAMA flex items-center justify-between gap-3 border-b border-gray-100 px-2 pb-3 md:px-6" }, st = { class: "min-w-0 text-base font-semibold text-[#181C23] md:text-lg" }, ot = { key: 0 }, nt = ["innerHTML"], at = ["disabled"], rt = /* @__PURE__ */ A({
249
+ const et = /* @__PURE__ */ $(Ze, [["__scopeId", "data-v-3f433017"]]), tt = { class: "fontFormattingAMA flex items-center justify-between gap-3 border-b border-gray-100 px-4 pb-3 pt-1 md:px-10 md:pb-4 lg:px-12" }, st = { class: "min-w-0 text-base font-semibold text-[#181C23] md:text-lg" }, ot = { key: 0 }, nt = ["innerHTML"], at = ["disabled"], rt = /* @__PURE__ */ A({
250
250
  __name: "greetingsAMA",
251
251
  setup(o) {
252
- const e = B(), r = C(), l = ` Hi ${e.learnerName || "Learner"}! &#128075;`, u = M(() => l), c = M(() => r.text(l.replace("&#128075;", "👋")));
252
+ const e = B(), r = C(), l = ` Hi ${e.learnerName || "Learner"}! &#128075;`, u = M(() => l), d = M(() => r.text(l.replace("&#128075;", "👋")));
253
253
  M(() => `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.`);
254
254
  const a = () => {
255
255
  e.dotLoader || (e.conversations = [], e.past_messages = []);
256
256
  };
257
- return (s, p) => (d(), f("section", tt, [
257
+ return (s, p) => (c(), f("section", tt, [
258
258
  t("div", st, [
259
- _(r).native ? (d(), f("div", ot, I(c.value), 1)) : (d(), f("div", {
259
+ _(r).native ? (c(), f("div", ot, I(d.value), 1)) : (c(), f("div", {
260
260
  key: 1,
261
261
  innerHTML: u.value
262
262
  }, null, 8, nt))
263
263
  ]),
264
- _(e).conversations.length ? (d(), f("button", {
264
+ _(e).conversations.length ? (c(), f("button", {
265
265
  key: 0,
266
266
  type: "button",
267
267
  disabled: _(e).dotLoader,
@@ -277,7 +277,7 @@ const et = /* @__PURE__ */ $(Ze, [["__scopeId", "data-v-c35e174a"]]), tt = { cla
277
277
  ]));
278
278
  }
279
279
  }), Q = (o) => String(o.query.amaId ?? "");
280
- function it(o, e, r, l, u, c = (a) => !1) {
280
+ function it(o, e, r, l, u, d = (a) => !1) {
281
281
  const a = b(!1);
282
282
  let s = 0, p = !0;
283
283
  const n = () => {
@@ -312,13 +312,13 @@ function it(o, e, r, l, u, c = (a) => !1) {
312
312
  return;
313
313
  e.addConversation((F = y.data) == null ? void 0 : F.body, "new"), a.value = !1, e.dotLoader = !1;
314
314
  } catch (y) {
315
- if (c(y) || !i(h, m))
315
+ if (d(y) || !i(h, m))
316
316
  return;
317
317
  a.value = !1, e.dotLoader = !1, u(y) ? r.setError((g = (q = y.response) == null ? void 0 : q.data) == null ? void 0 : g.message) : r.setError("There was an issue, please contact helpmate");
318
318
  }
319
319
  } };
320
320
  }
321
- const z = (o) => (L("data-v-67ac6151"), o = o(), E(), o), lt = { class: "w-full px-2 pb-3 pt-3 md:px-6" }, ct = { class: "relative" }, dt = { class: "pointer-events-none absolute inset-y-0 left-3 flex items-center md:left-4" }, ut = {
321
+ const z = (o) => (L("data-v-81aaf2f7"), o = o(), E(), o), lt = { class: "w-full px-4 pb-4 pt-3 md:px-10 lg:px-12" }, dt = { class: "relative" }, ct = { class: "pointer-events-none absolute inset-y-0 left-3 flex items-center md:left-4" }, ut = {
322
322
  class: "flex h-8 w-8 items-center justify-center rounded-full bg-[#FFF4E0] text-[#E08A00] md:h-9 md:w-9",
323
323
  "aria-hidden": "true"
324
324
  }, pt = ["placeholder"], _t = { class: "absolute inset-y-0 right-2 flex items-center md:right-3" }, mt = {
@@ -337,7 +337,7 @@ const z = (o) => (L("data-v-67ac6151"), o = o(), E(), o), lt = { class: "w-full
337
337
  setup(o) {
338
338
  const e = B(), r = G();
339
339
  e.question = "";
340
- const l = b(null), u = b(!1), c = b(N), a = W(), s = Y(), { isWaitingResponse: p, sendQuestion: n } = it(
340
+ const l = b(null), u = b(!1), d = b(N), a = W(), s = Y(), { isWaitingResponse: p, sendQuestion: n } = it(
341
341
  a,
342
342
  e,
343
343
  r,
@@ -359,11 +359,11 @@ const z = (o) => (L("data-v-67ac6151"), o = o(), E(), o), lt = { class: "w-full
359
359
  );
360
360
  const x = (h) => {
361
361
  const m = h.length;
362
- c.value = N - m, u.value = m >= N;
362
+ d.value = N - m, u.value = m >= N;
363
363
  };
364
- return (h, m) => (d(), f("div", lt, [
365
- t("div", ct, [
366
- t("div", dt, [
364
+ return (h, m) => (c(), f("div", lt, [
365
+ t("div", dt, [
366
+ t("div", ct, [
367
367
  t("span", ut, [
368
368
  v(_(ge), { class: "h-4 w-4 md:h-5 md:w-5" })
369
369
  ])
@@ -381,7 +381,7 @@ const z = (o) => (L("data-v-67ac6151"), o = o(), E(), o), lt = { class: "w-full
381
381
  [_e, _(e).question]
382
382
  ]),
383
383
  t("div", _t, [
384
- _(p) ? (d(), f("span", mt, ft)) : (d(), f("button", {
384
+ _(p) ? (c(), f("span", mt, ft)) : (c(), f("button", {
385
385
  key: 0,
386
386
  type: "button",
387
387
  title: "Send",
@@ -408,7 +408,7 @@ const z = (o) => (L("data-v-67ac6151"), o = o(), E(), o), lt = { class: "w-full
408
408
  ]));
409
409
  }
410
410
  });
411
- const yt = /* @__PURE__ */ $(wt, [["__scopeId", "data-v-67ac6151"]]), At = (o) => (L("data-v-fb943644"), o = o(), E(), o), kt = {
411
+ const yt = /* @__PURE__ */ $(wt, [["__scopeId", "data-v-81aaf2f7"]]), At = (o) => (L("data-v-fb943644"), o = o(), E(), o), kt = {
412
412
  class: "inline-flex h-10 w-10 items-center justify-center rounded-full bg-[#FDF3E1] text-[#C68A16]",
413
413
  "aria-hidden": "true"
414
414
  }, $t = /* @__PURE__ */ At(() => /* @__PURE__ */ t("div", { class: "mt-3 text-xs font-bold uppercase tracking-[0.12em] text-[#C68A16]" }, "Heads up", -1)), Ft = {
@@ -429,12 +429,12 @@ const yt = /* @__PURE__ */ $(wt, [["__scopeId", "data-v-67ac6151"]]), At = (o) =
429
429
  },
430
430
  { flush: "sync" }
431
431
  );
432
- const c = (a) => {
432
+ const d = (a) => {
433
433
  r.value && a.key === "Escape" && u();
434
434
  };
435
- return T(() => window.addEventListener("keydown", c)), fe(() => window.removeEventListener("keydown", c)), (a, s) => (d(), R(U, { name: "ama-popup" }, {
435
+ return T(() => window.addEventListener("keydown", d)), fe(() => window.removeEventListener("keydown", d)), (a, s) => (c(), R(U, { name: "ama-popup" }, {
436
436
  default: j(() => [
437
- r.value ? (d(), f("div", {
437
+ r.value ? (c(), f("div", {
438
438
  key: 0,
439
439
  class: "fixed inset-0 z-[99999] flex items-center justify-center bg-[#181C23]/35 p-4 backdrop-blur-[2px]",
440
440
  onClick: u
@@ -467,15 +467,15 @@ const yt = /* @__PURE__ */ $(wt, [["__scopeId", "data-v-67ac6151"]]), At = (o) =
467
467
  }
468
468
  });
469
469
  const Mt = /* @__PURE__ */ $(qt, [["__scopeId", "data-v-fb943644"]]), Ct = (o) => String(o.query.amaId ?? "");
470
- function It(o, e, r, l, u = (c) => !1) {
471
- const c = b(!0), a = b(!1);
470
+ function It(o, e, r, l, u = (d) => !1) {
471
+ const d = b(!0), a = b(!1);
472
472
  let s = 0;
473
473
  const p = (i) => {
474
474
  e.amaSkillId = i, e.amaSkillName = "", e.amaQuestionsLeft = 0, e.question = "", e.conversations = [], e.past_messages = [];
475
475
  }, n = async (i) => {
476
476
  var m, w, S, F, q;
477
477
  const x = ++s;
478
- c.value = !0, a.value = !1, p(i);
478
+ d.value = !0, a.value = !1, p(i);
479
479
  let h = !1;
480
480
  try {
481
481
  const g = await l(i);
@@ -492,14 +492,14 @@ function It(o, e, r, l, u = (c) => !1) {
492
492
  const y = g && typeof g == "object" && ((S = g.response) == null ? void 0 : S.status);
493
493
  y === 424 || y === 425 ? a.value = !0 : y ? r.setError((q = (F = g.response) == null ? void 0 : F.data) == null ? void 0 : q.message) : r.setError("There was an issue, please contact helpmate");
494
494
  } finally {
495
- !h && x === s && (c.value = !1);
495
+ !h && x === s && (d.value = !1);
496
496
  }
497
497
  };
498
498
  return H(() => Ct(o), (i) => {
499
499
  n(i);
500
500
  }, { immediate: !0 }), D(() => {
501
501
  s += 1;
502
- }), { loaderValue: c, notAllowedModalVisible: a };
502
+ }), { loaderValue: d, notAllowedModalVisible: a };
503
503
  }
504
504
  const St = {
505
505
  key: 1,
@@ -507,15 +507,15 @@ const St = {
507
507
  }, Lt = { class: "z-20 shrink-0" }, Et = { class: "min-h-0 flex-1 overflow-hidden pb-1" }, Bt = { class: "flex h-full flex-col bg-gray-100 px-2 sm:px-6 md:px-10 lg:px-20" }, Nt = { class: "fontFormattingAMA flex min-h-0 flex-1 flex-col border-x border-b border-black bg-white pt-3 md:pt-4" }, Qt = { class: "shrink-0" }, Rt = /* @__PURE__ */ A({
508
508
  __name: "AMABot",
509
509
  setup(o) {
510
- const e = B(), r = G(), l = W(), u = Y(), { loaderValue: c, notAllowedModalVisible: a } = It(
510
+ const e = B(), r = G(), l = W(), u = Y(), { loaderValue: d, notAllowedModalVisible: a } = It(
511
511
  l,
512
512
  e,
513
513
  r,
514
514
  (s) => u.getApi(`/getLearnerData?amaSkillId=${s}`),
515
515
  J
516
516
  );
517
- return (s, p) => (d(), f("section", null, [
518
- _(a) ? (d(), R(oe, {
517
+ return (s, p) => (c(), f("section", null, [
518
+ _(a) ? (c(), R(oe, {
519
519
  key: 0,
520
520
  tone: "error",
521
521
  title: "Assessment Access Required"
@@ -527,10 +527,10 @@ const St = {
527
527
  })) : k("", !0),
528
528
  v(Mt),
529
529
  t("div", null, [
530
- _(c) ? (d(), R(ne, {
530
+ _(d) ? (c(), R(ne, {
531
531
  key: 0,
532
532
  message: "Loading AI Guru"
533
- })) : (d(), f("main", St, [
533
+ })) : (c(), f("main", St, [
534
534
  t("div", Lt, [
535
535
  v(Fe)
536
536
  ]),
@@ -1,13 +1,13 @@
1
1
  var Xh = Object.defineProperty;
2
2
  var Mh = (e, n, t) => n in e ? Xh(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
3
  var Ct = (e, n, t) => (Mh(e, typeof n != "symbol" ? n + "" : n, t), t);
4
- import { o as ke, c as Se, a as L, d as Fn, z as ro, r as _e, G as xa, I as Ka, b as Oe, p as Qi, g as Wi, h as bt, s as Tr, T as Fh, f as Xt, n as zn, x as Gs, y as Sd, u as Kr, B as tn, t as Yt, i as Be, F as jr, e as wa, M as Qn, J as _a, N as vi, l as pa, w as Us, O as Bd, P as il, H as Kc, C as Eh, k as ml, L as _c, q as Hd, E as $c, m as Td, Q as Zh, R as $f, S as Ih, v as Gh } from "./main-744c5bec.mjs";
5
- import { r as jd, _ as Rh, a as Cd, b as Xd, c as Md, L as Jh } from "./simulationPopup.vue_vue_type_script_setup_true_lang-4b5c6741.mjs";
4
+ import { o as ke, c as Se, a as L, d as Fn, z as ro, r as _e, G as xa, I as Ka, b as Oe, p as Qi, g as Wi, h as bt, s as Tr, T as Fh, f as Xt, n as zn, x as Gs, y as Sd, u as Kr, B as tn, t as Yt, i as Be, F as jr, e as wa, M as Qn, J as _a, N as vi, l as pa, w as Us, O as Bd, P as il, H as Kc, C as Eh, k as ml, L as _c, q as Hd, E as $c, m as Td, Q as Zh, R as $f, S as Ih, v as Gh } from "./main-5483437d.mjs";
5
+ import { r as jd, _ as Rh, a as Cd, b as Xd, c as Md, L as Jh } from "./simulationPopup.vue_vue_type_script_setup_true_lang-3f6e3d9c.mjs";
6
6
  import { _ as Qh, Q as ic, M as eu } from "./constants-e0c83ac4.mjs";
7
7
  import { _ as gi } from "./_plugin-vue_export-helper-dad06003.mjs";
8
- import { u as za, i as Mi, c as Es } from "./api-9c4050a6.mjs";
9
- import { u as Wh, a as Uh } from "./voiceServices-c10ce998.mjs";
10
- import { r as qh } from "./XMarkIcon-063cfe6f.mjs";
8
+ import { u as za, i as Mi, c as Es } from "./api-c67299fe.mjs";
9
+ import { u as Wh, a as Uh } from "./voiceServices-d58ee911.mjs";
10
+ import { r as qh } from "./XMarkIcon-bca592a2.mjs";
11
11
  function Yh(e, n) {
12
12
  return ke(), Se("svg", {
13
13
  xmlns: "http://www.w3.org/2000/svg",
@@ -12469,7 +12469,7 @@ function(e) {
12469
12469
  var d = u.getContext("2d");
12470
12470
  d.fillStyle = "#fff", d.fillRect(0, 0, u.width, u.height);
12471
12471
  var v = { ignoreMouse: !0, ignoreAnimation: !0, ignoreDimensions: !0 }, w = this;
12472
- return (at.canvg ? Promise.resolve(at.canvg) : import("./index.es-f5312a1f.mjs")).catch(function(A) {
12472
+ return (at.canvg ? Promise.resolve(at.canvg) : import("./index.es-2157eb81.mjs")).catch(function(A) {
12473
12473
  return Promise.reject(new Error("Could not load canvg: " + A));
12474
12474
  }).then(function(A) {
12475
12475
  return A.default ? A.default : A;
@@ -1,6 +1,6 @@
1
- import { d as O, D as P, u as $, k as H, r as c, o as i, c as d, a as e, w as b, m as T, b as n, n as F, v as B, F as G, e as Y, t as f, q as j, p as J, g as Q, i as E } from "./main-744c5bec.mjs";
1
+ import { d as O, D as P, u as $, k as H, r as c, o as i, c as d, a as e, w as b, m as T, b as n, n as F, v as B, F as G, e as Y, t as f, q as j, p as J, g as Q, i as E } from "./main-5483437d.mjs";
2
2
  import { _ as C } from "./loadernew-ac153a51.mjs";
3
- import { u as X, a as Z, i as A } from "./api-9c4050a6.mjs";
3
+ import { u as X, a as Z, i as A } from "./api-c67299fe.mjs";
4
4
  import { _ as ee } from "./_plugin-vue_export-helper-dad06003.mjs";
5
5
  const a = (_) => (J("data-v-53586205"), _ = _(), Q(), _), te = /* @__PURE__ */ a(() => /* @__PURE__ */ e("nav", { class: "bg-genpact-blue-box w-full px-5 mb-6" }, null, -1)), se = { class: "grid grid-cols-5 gap-8 p-10 items-stretch" }, oe = /* @__PURE__ */ a(() => /* @__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 z, D as G, h as L, b as a, U as H, u as Y, k as J, r as i, w, m as T, n as F, f as b, F as j, e as Q, v as X, t as m, q, p as Z, g as ee, i as I } from "./main-744c5bec.mjs";
1
+ import { o as r, c, a as e, d as z, D as G, h as L, b as a, U as H, u as Y, k as J, r as i, w, m as T, n as F, f as b, F as j, e as Q, v as X, t as m, q, p as Z, g as ee, i as I } from "./main-5483437d.mjs";
2
2
  import { _ as R } from "./loadernew-ac153a51.mjs";
3
- import { a as U, u as te, i as M } from "./api-9c4050a6.mjs";
3
+ import { a as U, u as te, i as M } from "./api-c67299fe.mjs";
4
4
  import { _ as se } from "./genome-Logo-white-ffcf2413.mjs";
5
5
  import { _ as oe } from "./_plugin-vue_export-helper-dad06003.mjs";
6
6
  function ae(u, h) {