@genpact/genome.mfe.mgtwin-app 1.1.337-alpha → 1.1.338-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 (23) hide show
  1. package/dist/{AssessmentAMA-0fdfb05b.mjs → AssessmentAMA-e7914052.mjs} +4 -4
  2. package/dist/{AssessmentSimulation-4e3f1909.mjs → AssessmentSimulation-b3827d6f.mjs} +101 -101
  3. package/dist/{EditSkillAdminData-6b64163b.mjs → EditSkillAdminData-f87338d1.mjs} +2 -2
  4. package/dist/{EditSkillData-012bf6a7.mjs → EditSkillData-1cbf2f6b.mjs} +2 -2
  5. package/dist/{HomeView-59916f42.mjs → HomeView-078f1500.mjs} +5 -5
  6. package/dist/{Loading-e83d85ae.mjs → Loading-508b05e2.mjs} +1 -1
  7. package/dist/{LoadingSimulation-ee05a63b.mjs → LoadingSimulation-bb2a93da.mjs} +1 -1
  8. package/dist/{Modal-f6946d41.mjs → Modal-b27c118f.mjs} +1 -1
  9. package/dist/{PaperAirplaneIcon-fe288191.mjs → PaperAirplaneIcon-7219b992.mjs} +1 -1
  10. package/dist/{PromptTesting-ff25796e.mjs → PromptTesting-4c2a6851.mjs} +3 -3
  11. package/dist/{SkillAutomation-dc5fbb94.mjs → SkillAutomation-95b19579.mjs} +3 -3
  12. package/dist/{SkillData-ba1ef675.mjs → SkillData-50447d12.mjs} +3 -3
  13. package/dist/{Testcase-099ced39.mjs → Testcase-61aa9f54.mjs} +3 -3
  14. package/dist/{UnderMaintenance-2dc61ef6.mjs → UnderMaintenance-e1b6bb4d.mjs} +1 -1
  15. package/dist/{VoiceTestcase-0c17fb30.mjs → VoiceTestcase-a1f296ee.mjs} +84 -59
  16. package/dist/{XMarkIcon-88288de8.mjs → XMarkIcon-3c1990a8.mjs} +1 -1
  17. package/dist/{api-c2724495.mjs → api-b900dd0b.mjs} +1 -1
  18. package/dist/{main-d87f80d2.mjs → main-f31ba65c.mjs} +1111 -1111
  19. package/dist/mgtwin.es.min.js +1 -1
  20. package/dist/mgtwin.umd.min.js +15 -15
  21. package/dist/style.css +1 -1
  22. package/dist/{voiceServices-da2e2440.mjs → voiceServices-ad6aa906.mjs} +2 -2
  23. package/package.json +1 -1
@@ -1,27 +1,27 @@
1
- import { _ as ht, a as dt, L as pt } from "./LoadingSimulation-ee05a63b.mjs";
2
- import { _ as ft, a as pe, Q as ie, M as nt } from "./Modal-f6946d41.mjs";
3
- import { d as R, r as m, H as O, o as i, c as r, a as e, u as H, y as fe, h as T, s as ge, t as V, b as l, f as z, i as P, I as le, F as ve, e as be, w as xe, J as gt, p as K, g as Z, G as re, C as de, z as vt, K as bt, k as ce, n as W, q as $, m as ct, A as xt, L as yt, l as wt } from "./main-d87f80d2.mjs";
1
+ import { _ as ft, a as dt, L as ht } from "./LoadingSimulation-bb2a93da.mjs";
2
+ import { _ as pt, a as he, Q as ie, M as nt } from "./Modal-b27c118f.mjs";
3
+ import { d as R, r as m, H as O, o as i, c as r, a as e, u as H, y as pe, h as T, s as ge, t as V, b as l, f as z, i as P, I as le, F as ve, e as be, w as xe, J as gt, p as K, g as Z, G as re, C as de, z as vt, K as bt, k as ce, n as W, q as $, m as ct, A as xt, L as yt, l as wt } from "./main-f31ba65c.mjs";
4
4
  import { _ as X } from "./_plugin-vue_export-helper-dad06003.mjs";
5
- import { p as J, g as me } from "./api-c2724495.mjs";
6
- import { i as j, s as _t, a as At, b as it, c as he, r as G, d as ne, e as kt, p as lt, f as rt } from "./voiceServices-da2e2440.mjs";
7
- import { r as St } from "./XMarkIcon-88288de8.mjs";
5
+ import { p as J, g as me } from "./api-b900dd0b.mjs";
6
+ import { i as j, s as _t, a as At, b as it, c as fe, r as G, d as ne, e as kt, p as lt, f as rt } from "./voiceServices-ad6aa906.mjs";
7
+ import { r as St } from "./XMarkIcon-3c1990a8.mjs";
8
8
  import "./loadernew-ac153a51.mjs";
9
9
  import "./_commonjsHelpers-92157f1b.mjs";
10
10
  const Nt = { class: "flex h-14 w-full flex-1 items-center justify-between bg-[#021c42] md:pr-6 lg:pr-6" }, Ct = ["href"], Lt = /* @__PURE__ */ e("img", {
11
11
  class: "h-11 w-auto cursor-pointer",
12
- src: ht,
12
+ src: ft,
13
13
  alt: "Genome Logo"
14
14
  }, null, -1), Pt = [
15
15
  Lt
16
16
  ], Tt = ["href"], Ft = /* @__PURE__ */ e("img", {
17
17
  class: "h-9 w-28 cursor-pointer md:w-36",
18
- src: ft,
18
+ src: pt,
19
19
  alt: "Aiguru Logo"
20
20
  }, null, -1), zt = [
21
21
  Ft
22
22
  ], Mt = /* @__PURE__ */ R({
23
23
  __name: "headerSimulation",
24
- setup(f) {
24
+ setup(p) {
25
25
  const s = m(""), t = m("");
26
26
  return O === "prod" ? s.value = "https://genome.genpact.com" : s.value = "https://genome-dev.genpact.com", O === "prod" ? t.value = "https://genome.genpact.com/#aiguru" : t.value = "https://genome-dev.genpact.com/#aiguru", (b, a) => (i(), r("nav", Nt, [
27
27
  e("a", {
@@ -85,18 +85,18 @@ const Nt = { class: "flex h-14 w-full flex-1 items-center justify-between bg-[#0
85
85
  This is a role-play simulation designed to mirror real-world scenarios. Just follow the prompts, speak naturally, and let the AI guide you. Based on your responses, you’ll receive personalized feedback to help sharpen your client engagement skills.`, Wt = "AI Guru will ask you a few questions regarding our strategy, some of our advanced technology solutions, and your comfort with it. At the end, you'll also receive a feedback on active listening, outlining your strengths and improvement areas.", Xt = /* @__PURE__ */ R({
86
86
  __name: "greetingsSimulation",
87
87
  emits: ["callQuestion"],
88
- setup(f, { emit: s }) {
88
+ setup(p, { emit: s }) {
89
89
  const t = H(), b = m(!1), a = m(!1), c = () => {
90
90
  t.simulationSkill === "7bd03cb6-79ad-4e2a-8a8b-88dc16147369" ? (t.question = "Let's start", t.beginFlag = !1, b.value = !0) : t.simulationSkill === "25f8e44f-b83e-42d6-a168-b0e1fb83b26a" ? (t.question = "Let's start", t.beginFlag = !1, a.value = !0) : (t.beginFlag = !1, t.question = "Let's start", s("callQuestion"));
91
- }, y = `Hi, get ready to test your ${t.skillNameForSimulation || "Unknown"} knowledge! Here’s what to expect:`, v = ` Hi ${t.learnerName || "Expert"}, and welcome!`, o = ` Hi ${t.learnerName || "Expert"}, We'd like to see how you're progressing in Genpact. Are you ready for a conversation?`, x = ` Hi, ${t.learnerName || "Expert"}. Get ready to test your ${t.skillNameForSimulation || "Unknown"} knowledge! Here’s what to expect:`, A = fe(() => ["32b7d6d8-f7a8-40a0-ab84-8784f25897ef"].includes(t.simulationSkill) ? y : ["7bd03cb6-79ad-4e2a-8a8b-88dc16147369"].includes(t.simulationSkill) ? v : ["25f8e44f-b83e-42d6-a168-b0e1fb83b26a"].includes(t.simulationSkill) ? o : x), g = `Hi, get ready to test your ${t.skillNameForSimulation || "Unknown"} knowledge! Here’s what to expect:`, d = ` AI Guru will ask you a few questions on '${t.skillNameForSimulation.trim() || "Unknown"} '. Please provide detailed and thoughtful answers to the best of your knowledge. At the end, you'll receive a feedback, outlining your strengths and improvement areas.`, h = fe(() => ["32b7d6d8-f7a8-40a0-ab84-8784f25897ef"].includes(t.simulationSkill) ? g : ["7bd03cb6-79ad-4e2a-8a8b-88dc16147369"].includes(t.simulationSkill) ? Ot : ["25f8e44f-b83e-42d6-a168-b0e1fb83b26a"].includes(t.simulationSkill) ? Wt : d);
92
- return (u, p) => (i(), r("section", null, [
93
- T(pe, { "is-visible": b.value }, {
91
+ }, y = `Hi, get ready to test your ${t.skillNameForSimulation || "Unknown"} knowledge! Here’s what to expect:`, v = ` Hi ${t.learnerName || "Expert"}, and welcome!`, o = ` Hi ${t.learnerName || "Expert"}, We'd like to see how you're progressing in Genpact. Are you ready for a conversation?`, x = ` Hi, ${t.learnerName || "Expert"}. Get ready to test your ${t.skillNameForSimulation || "Unknown"} knowledge! Here’s what to expect:`, A = pe(() => ["32b7d6d8-f7a8-40a0-ab84-8784f25897ef"].includes(t.simulationSkill) ? y : ["7bd03cb6-79ad-4e2a-8a8b-88dc16147369"].includes(t.simulationSkill) ? v : ["25f8e44f-b83e-42d6-a168-b0e1fb83b26a"].includes(t.simulationSkill) ? o : x), g = `Hi, get ready to test your ${t.skillNameForSimulation || "Unknown"} knowledge! Here’s what to expect:`, d = ` AI Guru will ask you a few questions on '${t.skillNameForSimulation.trim() || "Unknown"} '. Please provide detailed and thoughtful answers to the best of your knowledge. At the end, you'll receive a feedback, outlining your strengths and improvement areas.`, f = pe(() => ["32b7d6d8-f7a8-40a0-ab84-8784f25897ef"].includes(t.simulationSkill) ? g : ["7bd03cb6-79ad-4e2a-8a8b-88dc16147369"].includes(t.simulationSkill) ? Ot : ["25f8e44f-b83e-42d6-a168-b0e1fb83b26a"].includes(t.simulationSkill) ? Wt : d);
92
+ return (u, h) => (i(), r("section", null, [
93
+ T(he, { "is-visible": b.value }, {
94
94
  default: ge(() => [
95
95
  e("div", Rt, [
96
96
  Dt,
97
97
  jt,
98
98
  e("button", {
99
- onClick: p[0] || (p[0] = (w) => {
99
+ onClick: h[0] || (h[0] = (w) => {
100
100
  b.value = !1, s("callQuestion");
101
101
  }),
102
102
  type: "button",
@@ -106,13 +106,13 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
106
106
  ]),
107
107
  _: 1
108
108
  }, 8, ["is-visible"]),
109
- T(pe, { "is-visible": a.value }, {
109
+ T(he, { "is-visible": a.value }, {
110
110
  default: ge(() => [
111
111
  e("div", Et, [
112
112
  It,
113
113
  qt,
114
114
  e("button", {
115
- onClick: p[1] || (p[1] = (w) => {
115
+ onClick: h[1] || (h[1] = (w) => {
116
116
  a.value = !1, s("callQuestion");
117
117
  }),
118
118
  type: "button",
@@ -125,7 +125,7 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
125
125
  e("div", Ht, [
126
126
  e("div", Bt, [
127
127
  e("div", $t, V(A.value), 1),
128
- e("div", Vt, V(h.value), 1)
128
+ e("div", Vt, V(f.value), 1)
129
129
  ])
130
130
  ]),
131
131
  l(t).beginFlag ? (i(), r("span", Qt, [
@@ -139,7 +139,7 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
139
139
  Gt
140
140
  ]));
141
141
  }
142
- }), Ut = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAB9AH0DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD36medEDgypn/eFLL/AKl8f3TXzJofh/xD458Z6/a23iGWzSzkLEsxIwTjtQB9NefD/wA9U/76FHnw/wDPVP8AvoV4R/wqLX84/wCFgRZHX94f8ap6x8LfEul6FeapH41+0pbRlyqMecds0AfQysrjKsGHqDQzKo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Pca5YpfQEKohYZIPrivMPiPoWsW2jWWtzaiZNLu232lrniFTyBj2oA+i/CHhnSNA0m3k02zWB7iFGkI/iO0V0leH/ALP+sapqaalHf3U80cQURiQkhRjtXuFACOu+Nl9QRXiF78CL+bWby/tfEUtsbiQuRHlTg9uK9wooA8L/AOFE63/0N95/38b/ABpsnwG1iWNo5PFl06MOVZ2IP617tRQByHgPwSnhDwqdFuJVvEaRnbevBz7V0VtpGm2coltrC2hkAwGSIA1dooAgurS2vYvKureOaPOdsihhn8ac8I+ytBGBGpQqu0Y28VLRQB5/4T+H174ft9ahutYmvBqAYLvJOzOa8/H7Oc6zGVNeKNuyCq4Ir6AooA8f8PfBzUdK162vr3xFcXtvEcvBKxZX9iDXp/8AYOkZ/wCQXZ/9+V/wrRooA8X8T/BC61/WLm5TW3htJH3JbY+RPoOldD4r+GL+I/Cuj6Mt95f9nhQXI+/ivR6KAKGlaVa6VZQ29tbxRlI1RmRAu4gYyav0UUAf/9k=", ut = (f) => (K("data-v-cc5db4a2"), f = f(), Z(), f), Jt = { class: "fontFormattingAMA flex items-end justify-start py-2" }, Kt = { class: "line-break w-full bg-gray-100 p-3 text-sm text-black md:text-[15px] rounded-lg" }, Zt = ["innerHTML"], Yt = ["innerHTML"], es = {
142
+ }), Ut = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAB9AH0DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkK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4r+GL+I/Cuj6Mt95f9nhQXI+/ivR6KAKGlaVa6VZQ29tbxRlI1RmRAu4gYyav0UUAf/9k=", ut = (p) => (K("data-v-cc5db4a2"), p = p(), Z(), p), Jt = { class: "fontFormattingAMA flex items-end justify-start py-2" }, Kt = { class: "line-break w-full bg-gray-100 p-3 text-sm text-black md:text-[15px] rounded-lg" }, Zt = ["innerHTML"], Yt = ["innerHTML"], es = {
143
143
  key: 0,
144
144
  class: "py-4"
145
145
  }, ts = { class: "fontFormattingAMA px-2 py-1.5 md:px-6" }, ss = ["value", "disabled", "name"], as = {
@@ -166,7 +166,7 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
166
166
  ], ms = {
167
167
  key: 3,
168
168
  class: "flex flex-col justify-start items-start bg-gray-100 rounded-lg"
169
- }, hs = { class: "flex justify-start items-center md:gap-[40px] gap-[30px]" }, ps = /* @__PURE__ */ R({
169
+ }, fs = { class: "flex justify-start items-center md:gap-[40px] gap-[30px]" }, hs = /* @__PURE__ */ R({
170
170
  __name: "responseSimulation",
171
171
  props: {
172
172
  question: {
@@ -196,16 +196,16 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
196
196
  }
197
197
  },
198
198
  emits: ["char-typed"],
199
- setup(f, { emit: s }) {
200
- const t = f, b = m([]), a = m(!1), c = H(), y = m("");
199
+ setup(p, { emit: s }) {
200
+ const t = p, b = m([]), a = m(!1), c = H(), y = m("");
201
201
  let v = [], o = "";
202
202
  const x = async () => {
203
203
  v = o.split(""), y.value = "";
204
204
  for (let d = 0; d < v.length; d++)
205
- y.value += v[d], t.answer.includes("Feedback and Assessment") ? (console.log("Feedback and Assessment found"), o.length - 5 > v.length && d % 30 && s("char-typed")) : d % 30 && s("char-typed"), await new Promise((h) => setTimeout(h, 60));
205
+ y.value += v[d], t.answer.includes("Feedback and Assessment") ? (console.log("Feedback and Assessment found"), o.length - 5 > v.length && d % 30 && s("char-typed")) : d % 30 && s("char-typed"), await new Promise((f) => setTimeout(f, 60));
206
206
  }, A = () => {
207
207
  c.isRestart = !0, c.searchBoxdisable = !1, c.showVoiceComponent = !0, c.showSelectTypeConvesation = !1, c.showModelToggle = !0, c.isSpeechToggle = !1;
208
- }, g = fe(() => {
208
+ }, g = pe(() => {
209
209
  const d = t.answer.replace(/[*#]/g, "").replace(
210
210
  /Assessment Rating & Feedback/g,
211
211
  '<div style="font-size: 26px; font-weight: bold; text-decoration: underline;">Rating & Feedback</div>'
@@ -238,12 +238,12 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
238
238
  '<div style="font-size: 16px; font-weight: bold;">Model Solution</div>'
239
239
  );
240
240
  (d.includes("Thank you for your participation!") || d.includes("Thank you for your participation")) && (c.searchBoxdisable = !1, a.value = !0), (d.includes("BEGIN ROLE PLAY") || d.includes("BEGIN ROLE PLAY.")) && (c.showSelectTypeConvesation = !0);
241
- const h = /\[([^\]]+)\]\((https?:\/\/[^\s]+)\)/g;
241
+ const f = /\[([^\]]+)\]\((https?:\/\/[^\s]+)\)/g;
242
242
  if (d.includes("AI Guru")) {
243
243
  if (d.includes("AI Guru"))
244
- return console.log("aig found"), d.replace(h, (u, p, w) => `<a href="https://genome.genpact.com/#aiguru" target="_blank" style="color: blue; text-decoration: underline; cursor:pointer;">${p}</a>`);
244
+ return console.log("aig found"), d.replace(f, (u, h, w) => `<a href="https://genome.genpact.com/#aiguru" target="_blank" style="color: blue; text-decoration: underline; cursor:pointer;">${h}</a>`);
245
245
  } else
246
- return d.replace(h, (u, p, w) => `<a href="${w}" target="_blank" rel="noopener noreferrer" style="color: blue; text-decoration: underline;">${p}</a>`);
246
+ return d.replace(f, (u, h, w) => `<a href="${w}" target="_blank" rel="noopener noreferrer" style="color: blue; text-decoration: underline;">${h}</a>`);
247
247
  });
248
248
  return le(
249
249
  () => t.answer,
@@ -276,13 +276,13 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
276
276
  /Model Solution/g,
277
277
  '<div style="font-size: 16px; font-weight: bold;">Model Solution</div>'
278
278
  );
279
- const h = /\[([^\]]+)\]\((https?:\/\/[^\s]+)\)/g;
280
- d.includes("AI Guru") ? d = d.replace(h, (u, p, w) => `<a href="https://genome.genpact.com/#aiguru" target="_blank" style="color: blue; text-decoration: underline; cursor:pointer;">${p}</a>`) : d = d.replace(h, (u, p, w) => `<a href="${w}" target="_blank" rel="noopener noreferrer" style="color: blue; text-decoration: underline;">${p}</a>`), d.includes("Feedback and Assessment") && d.includes("END ROLE PLAY") ? (o = d.split("END ROLE PLAY")[0], console.log("END ROLE PLAY")) : o = d, c.showVoiceComponent && x();
279
+ const f = /\[([^\]]+)\]\((https?:\/\/[^\s]+)\)/g;
280
+ d.includes("AI Guru") ? d = d.replace(f, (u, h, w) => `<a href="https://genome.genpact.com/#aiguru" target="_blank" style="color: blue; text-decoration: underline; cursor:pointer;">${h}</a>`) : d = d.replace(f, (u, h, w) => `<a href="${w}" target="_blank" rel="noopener noreferrer" style="color: blue; text-decoration: underline;">${h}</a>`), d.includes("Feedback and Assessment") && d.includes("END ROLE PLAY") ? (o = d.split("END ROLE PLAY")[0], console.log("END ROLE PLAY")) : o = d, c.showVoiceComponent && x();
281
281
  },
282
282
  { immediate: !0 }
283
283
  ), le(b, (d) => {
284
284
  c.question = (d ?? []).join(", ");
285
- }), (d, h) => (i(), r("div", Jt, [
285
+ }), (d, f) => (i(), r("div", Jt, [
286
286
  e("div", Kt, [
287
287
  l(c).simulationSkill === "7bd03cb6-79ad-4e2a-8a8b-88dc16147369" && l(c).showVoiceComponent === !0 && l(c).conversations.length - 1 === t.ansId && !t.answer.includes("BEGIN ROLE PLAY") ? (i(), r("span", {
288
288
  key: 0,
@@ -294,9 +294,9 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
294
294
  innerHTML: g.value
295
295
  }, null, 8, Yt)),
296
296
  e("div", null, [
297
- f.optionsArray.length && l(c).mcqType === "multi_choice" ? (i(), r("div", es, [
298
- (i(!0), r(ve, null, be(f.optionsArray, (u, p) => (i(), r("div", {
299
- key: p,
297
+ p.optionsArray.length && l(c).mcqType === "multi_choice" ? (i(), r("div", es, [
298
+ (i(!0), r(ve, null, be(p.optionsArray, (u, h) => (i(), r("div", {
299
+ key: h,
300
300
  class: "italic"
301
301
  }, [
302
302
  e("div", ts, [
@@ -304,7 +304,7 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
304
304
  class: "mr-4 cursor-pointer",
305
305
  type: "checkbox",
306
306
  value: u,
307
- "onUpdate:modelValue": h[0] || (h[0] = (w) => b.value = w),
307
+ "onUpdate:modelValue": f[0] || (f[0] = (w) => b.value = w),
308
308
  disabled: l(c).conversations.length - 1 !== t.ansId,
309
309
  name: g.value
310
310
  }, null, 8, ss), [
@@ -313,16 +313,16 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
313
313
  e("label", as, V(u), 1)
314
314
  ])
315
315
  ]))), 128))
316
- ])) : f.optionsArray.length ? (i(), r("div", os, [
317
- (i(!0), r(ve, null, be(f.optionsArray, (u, p) => (i(), r("div", {
318
- key: p,
316
+ ])) : p.optionsArray.length ? (i(), r("div", os, [
317
+ (i(!0), r(ve, null, be(p.optionsArray, (u, h) => (i(), r("div", {
318
+ key: h,
319
319
  class: "italic"
320
320
  }, [
321
321
  e("div", ns, [
322
322
  e("input", {
323
323
  class: "mr-4 cursor-pointer",
324
324
  type: "radio",
325
- onClick: (w) => l(c).question = String(f.optionsArray[p]),
325
+ onClick: (w) => l(c).question = String(p.optionsArray[h]),
326
326
  disabled: l(c).conversations.length - 1 !== t.ansId,
327
327
  name: g.value
328
328
  }, null, 8, is),
@@ -333,11 +333,11 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
333
333
  ]),
334
334
  a.value && l(c).simulationSkill === "32b7d6d8-f7a8-40a0-ab84-8784f25897ef" ? (i(), r("div", rs, us)) : z("", !0),
335
335
  l(c).isSpeechToggle && l(c).showSelectTypeConvesation && l(c).simulationSkill === "7bd03cb6-79ad-4e2a-8a8b-88dc16147369" && l(c).conversations.length - 1 === t.ansId ? (i(), r("div", ms, [
336
- e("div", hs, [
336
+ e("div", fs, [
337
337
  e("button", {
338
338
  type: "button",
339
339
  id: "button",
340
- onClick: h[1] || (h[1] = (u) => A()),
340
+ onClick: f[1] || (f[1] = (u) => A()),
341
341
  class: "mt-4 cursor-pointer bg-[#021c42] hover:bg-blue-700 italic rounded-md px-4 py-2 text-center text-white text-[16px]"
342
342
  }, " Start Conversation ")
343
343
  ])
@@ -346,7 +346,7 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
346
346
  ]));
347
347
  }
348
348
  });
349
- const fs = /* @__PURE__ */ X(ps, [["__scopeId", "data-v-cc5db4a2"]]), gs = { class: "flex justify-end items-end py-3" }, vs = { class: "max-w-[80%]" }, bs = ["innerHTML"], xs = /* @__PURE__ */ R({
349
+ const ps = /* @__PURE__ */ X(hs, [["__scopeId", "data-v-cc5db4a2"]]), gs = { class: "flex justify-end items-end py-3" }, vs = { class: "max-w-[80%]" }, bs = ["innerHTML"], xs = /* @__PURE__ */ R({
350
350
  __name: "learnerSimulation",
351
351
  props: {
352
352
  question: {
@@ -358,23 +358,23 @@ const fs = /* @__PURE__ */ X(ps, [["__scopeId", "data-v-cc5db4a2"]]), gs = { cla
358
358
  default: !0
359
359
  }
360
360
  },
361
- setup(f) {
361
+ setup(p) {
362
362
  return (s, t) => (i(), r("div", gs, [
363
363
  e("div", vs, [
364
364
  e("div", {
365
365
  class: "w-fit fontFormattingAMA text-[0.8125rem] md:text-[0.9375rem] text-white bg-genpact-blue-box leading-6 p-3",
366
- innerHTML: f.question.replace(/\n/g, "<br>")
366
+ innerHTML: p.question.replace(/\n/g, "<br>")
367
367
  }, null, 8, bs)
368
368
  ])
369
369
  ]));
370
370
  }
371
- }), ys = (f) => (K("data-v-347ad6de"), f = f(), Z(), f), ws = { class: "flex w-full flex-col items-start justify-start bg-white" }, _s = { class: "bot-typing-animation gap-1" }, As = { class: "block w-full text-lg italic text-gray-800" }, ks = /* @__PURE__ */ ys(() => /* @__PURE__ */ e("span", { class: "dot-animation" }, [
371
+ }), ys = (p) => (K("data-v-347ad6de"), p = p(), Z(), p), ws = { class: "flex w-full flex-col items-start justify-start bg-white" }, _s = { class: "bot-typing-animation gap-1" }, As = { class: "block w-full text-lg italic text-gray-800" }, ks = /* @__PURE__ */ ys(() => /* @__PURE__ */ e("span", { class: "dot-animation" }, [
372
372
  /* @__PURE__ */ e("span", null, "."),
373
373
  /* @__PURE__ */ e("span", null, "."),
374
374
  /* @__PURE__ */ e("span", null, ".")
375
375
  ], -1)), Ss = /* @__PURE__ */ re('<div class="block w-full max-w-full items-stretch" data-v-347ad6de><div class="flex animate-pulse items-start justify-start space-x-4" data-v-347ad6de><div class="flex-1 space-y-6 py-1" data-v-347ad6de><div class="h-2 w-full rounded bg-gray-300" data-v-347ad6de></div><div class="space-y-3" data-v-347ad6de><div class="grid grid-cols-3 gap-4" data-v-347ad6de><div class="col-span-2 h-2 rounded bg-gray-300" data-v-347ad6de></div><div class="col-span-1 h-2 rounded bg-gray-300" data-v-347ad6de></div></div><div class="h-2 rounded bg-gray-300" data-v-347ad6de></div></div></div></div></div>', 1), Ns = /* @__PURE__ */ R({
376
376
  __name: "LoadingResponse",
377
- setup(f) {
377
+ setup(p) {
378
378
  const s = m("Generating response"), t = m([
379
379
  "This may take a few seconds",
380
380
  "Fetching the best response for you",
@@ -401,7 +401,7 @@ const Cs = /* @__PURE__ */ X(Ns, [["__scopeId", "data-v-347ad6de"]]), Ls = { cla
401
401
  class: "fontFormattingAMA w-fit text-[0.8125rem] md:text-[0.9375rem] text-white bg-genpact-blue-box leading-6 p-3 rounded-lg"
402
402
  }, Fs = /* @__PURE__ */ R({
403
403
  __name: "QuestionStreaming",
404
- setup(f) {
404
+ setup(p) {
405
405
  const s = H();
406
406
  return (t, b) => (i(), r("div", Ls, [
407
407
  e("div", Ps, [
@@ -417,7 +417,7 @@ const Cs = /* @__PURE__ */ X(Ns, [["__scopeId", "data-v-347ad6de"]]), Ls = { cla
417
417
  name: "askQuestion"
418
418
  }, js = /* @__PURE__ */ R({
419
419
  __name: "conversationSimulation",
420
- setup(f) {
420
+ setup(p) {
421
421
  let s = m(""), t = m("");
422
422
  s.value = '<a style="color:#00AECF;"', t.value = '<ul style="list-style: disc !important; margin-left: 3.5rem !important; padding: 0;"';
423
423
  const b = H(), a = m(), c = () => {
@@ -453,7 +453,7 @@ const Cs = /* @__PURE__ */ X(Ns, [["__scopeId", "data-v-347ad6de"]]), Ls = { cla
453
453
  }, null, 8, ["question", "c2question", "show-feedback", "id", "que-id"])
454
454
  ])) : z("", !0),
455
455
  o.answer ? (i(), r("div", Ms, [
456
- T(fs, {
456
+ T(ps, {
457
457
  question: o == null ? void 0 : o.question,
458
458
  c2question: o == null ? void 0 : o.c2question,
459
459
  "show-sources": o == null ? void 0 : o.showSources,
@@ -531,18 +531,18 @@ const Es = /* @__PURE__ */ X(js, [["__scopeId", "data-v-c14e6f9c"]]), Is = { cla
531
531
  Ys
532
532
  ], ta = /* @__PURE__ */ R({
533
533
  __name: "NewVoiceConversation",
534
- setup(f) {
534
+ setup(p) {
535
535
  const s = H(), t = ce(), b = m(""), a = m(!1), c = m("Turn on mic"), y = () => {
536
- a.value === !1 ? s.elevenLabs ? (console.log("mic enabled true 11labs"), a.value = !0, _t(), j.value = "user", c.value = "Turn off mic") : (console.log("mic enabled true"), a.value = !0, rt(), At(), j.value = "user", c.value = "Turn off mic") : s.elevenLabs ? (console.log("mic enabled false"), it(), a.value = !1, c.value = "Turn on mic") : (console.log("mic enabled false"), he(), a.value = !1, c.value = "Turn on mic");
536
+ a.value === !1 ? s.elevenLabs ? (console.log("mic enabled true 11labs"), a.value = !0, _t(), j.value = "user", c.value = "Turn off mic") : (console.log("mic enabled true"), a.value = !0, rt(), At(), j.value = "user", c.value = "Turn off mic") : s.elevenLabs ? (console.log("mic enabled false"), it(), a.value = !1, c.value = "Turn on mic") : (console.log("mic enabled false"), fe(), a.value = !1, c.value = "Turn on mic");
537
537
  }, v = () => {
538
- s.elevenLabs ? (console.log("closeConversation 11 labs"), it(), j.value = "none", a.value = !1) : (console.log("closeConversation"), he(), rt(), j.value = "none", a.value = !1);
538
+ s.elevenLabs ? (console.log("closeConversation 11 labs"), it(), j.value = "none", a.value = !1) : (console.log("closeConversation"), fe(), rt(), j.value = "none", a.value = !1);
539
539
  }, o = async () => {
540
- var x, A, g, d, h, u;
540
+ var x, A, g, d, f, u;
541
541
  try {
542
- const p = {
542
+ const h = {
543
543
  question: G.value || ne.value
544
544
  };
545
- s.conversations.push(p), s.dotLoader = !0, s.question = "";
545
+ s.conversations.push(h), s.dotLoader = !0, s.question = "";
546
546
  const w = {
547
547
  past_messages: s.past_messages,
548
548
  question: G.value || ne.value,
@@ -560,7 +560,7 @@ const Es = /* @__PURE__ */ X(js, [["__scopeId", "data-v-c14e6f9c"]]), Is = { cla
560
560
  if (s.dotLoader = !1, s.elevenLabs)
561
561
  await kt(b.value.replace(/[*#]/g, ""));
562
562
  else if (b.value.includes("Feedback and Assessment"))
563
- if (he(), a.value = !1, b.value.includes("END ROLE PLAY")) {
563
+ if (fe(), a.value = !1, b.value.includes("END ROLE PLAY")) {
564
564
  const E = b.value.split("END ROLE PLAY")[0];
565
565
  if (E.length < 0) {
566
566
  s.showVoiceComponent = !1;
@@ -571,10 +571,10 @@ const Es = /* @__PURE__ */ X(js, [["__scopeId", "data-v-c14e6f9c"]]), Is = { cla
571
571
  s.showVoiceComponent = !1;
572
572
  else
573
573
  await lt(b.value.replace(/[*#]/g, ""));
574
- } catch (p) {
575
- if (console.error(p), $.isAxiosError(p)) {
576
- const w = p;
577
- console.log("Error found!"), console.error((h = w.response) == null ? void 0 : h.data), t.setError(((u = w.response) == null ? void 0 : u.data).message);
574
+ } catch (h) {
575
+ if (console.error(h), $.isAxiosError(h)) {
576
+ const w = h;
577
+ console.log("Error found!"), console.error((f = w.response) == null ? void 0 : f.data), t.setError(((u = w.response) == null ? void 0 : u.data).message);
578
578
  } else
579
579
  t.setError("There was an issue, please contact helpmate");
580
580
  }
@@ -621,22 +621,22 @@ const Es = /* @__PURE__ */ X(js, [["__scopeId", "data-v-c14e6f9c"]]), Is = { cla
621
621
  ])
622
622
  ]));
623
623
  }
624
- }), B = (f) => (K("data-v-bc339815"), f = f(), Z(), f), sa = { class: "z-3 absolute bottom-0 mt-4 w-full bg-white px-2 md:px-6" }, aa = { class: "py-2" }, oa = { class: "flex" }, na = { class: "z-1 relative w-full" }, ia = { class: "flex justify-between my-2 w-full" }, la = /* @__PURE__ */ B(() => /* @__PURE__ */ e("div", null, null, -1)), ra = {
624
+ }), B = (p) => (K("data-v-f3203a7f"), p = p(), Z(), p), sa = { class: "z-3 absolute bottom-0 mt-4 w-full bg-white px-2 md:px-6" }, aa = { class: "py-2" }, oa = { class: "flex" }, na = { class: "z-1 relative w-full" }, ia = { class: "flex justify-between my-2 w-full" }, la = /* @__PURE__ */ B(() => /* @__PURE__ */ e("div", null, null, -1)), ra = {
625
625
  key: 0,
626
626
  class: "flex justify-center bg-genpact-darkest-blue px-4 rounded-full"
627
- }, da = { class: "relative w-full" }, ca = { class: "absolute inset-y-0 left-0 flex items-center pl-3" }, ua = { class: "tooltip" }, ma = /* @__PURE__ */ B(() => /* @__PURE__ */ e("span", { class: "tooltiptext text-genpact-darkest-teal" }, "Restart", -1)), ha = /* @__PURE__ */ B(() => /* @__PURE__ */ e("path", {
627
+ }, da = { class: "relative w-full" }, ca = { class: "absolute inset-y-0 left-0 flex items-center pl-3" }, ua = { class: "tooltip" }, ma = /* @__PURE__ */ B(() => /* @__PURE__ */ e("span", { class: "tooltiptext text-genpact-darkest-teal" }, "Restart", -1)), fa = /* @__PURE__ */ B(() => /* @__PURE__ */ e("path", {
628
628
  d: "M12 4C8.229 4 6.343 4 5.172 5.172C4.001 6.344 4 8.229 4 12V18C4 18.943 4 19.414 4.293 19.707C4.586 20 5.057 20 6 20H12C15.771 20 17.657 20 18.828 18.828C19.999 17.656 20 15.771 20 12",
629
629
  stroke: "currentColor",
630
630
  "stroke-width": "2"
631
- }, null, -1)), pa = /* @__PURE__ */ B(() => /* @__PURE__ */ e("path", {
631
+ }, null, -1)), ha = /* @__PURE__ */ B(() => /* @__PURE__ */ e("path", {
632
632
  d: "M9 10H15M9 14H12M19 8V2M16 5H22",
633
633
  stroke: "currentColor",
634
634
  "stroke-width": "2",
635
635
  "stroke-linecap": "round",
636
636
  "stroke-linejoin": "round"
637
- }, null, -1)), fa = [
638
- ha,
639
- pa
637
+ }, null, -1)), pa = [
638
+ fa,
639
+ ha
640
640
  ], ga = { class: "absolute inset-y-0 right-0 flex items-center md:pr-8 pr-3" }, va = { key: 0 }, ba = ["disabled"], xa = /* @__PURE__ */ B(() => /* @__PURE__ */ e("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)), ya = [
641
641
  xa
642
642
  ], wa = {
@@ -653,7 +653,7 @@ const Es = /* @__PURE__ */ X(js, [["__scopeId", "data-v-c14e6f9c"]]), Is = { cla
653
653
  /* @__PURE__ */ e("div", null, " Note: AI-generated response may not be fully accurate; check with experts for critical information. ")
654
654
  ], -1)), La = /* @__PURE__ */ R({
655
655
  __name: "NewQuestionSimulation",
656
- setup(f, { expose: s }) {
656
+ setup(p, { expose: s }) {
657
657
  const t = H(), b = ce(), a = m(""), c = m("");
658
658
  t.question = "";
659
659
  const y = m(null);
@@ -665,7 +665,7 @@ const Es = /* @__PURE__ */ X(js, [["__scopeId", "data-v-c14e6f9c"]]), Is = { cla
665
665
  const x = () => {
666
666
  window.location.reload();
667
667
  }, A = async () => {
668
- var h, u, p, w, F, E, ee, te, se, ae, oe;
668
+ var f, u, h, w, F, E, ee, te, se, ae, oe;
669
669
  try {
670
670
  if (t.question.trim().length < 1) {
671
671
  console.log("Please enter answer!");
@@ -687,7 +687,7 @@ const Es = /* @__PURE__ */ X(js, [["__scopeId", "data-v-c14e6f9c"]]), Is = { cla
687
687
  userGenomeRole: t.genomeRoleValue,
688
688
  skillId: t.simulationSkill || "937e84ef-e95d-4327-9afe-e7be2bf420eb"
689
689
  }, L = await J("/sqlTest", M);
690
- if (o.value += (u = (h = L.data) == null ? void 0 : h.body) == null ? void 0 : u.totalTokenCount, console.log("Token Count:", o.value), a.value = (w = (p = L.data) == null ? void 0 : p.body) == null ? void 0 : w.ohr, ((E = (F = L == null ? void 0 : L.data) == null ? void 0 : F.body) == null ? void 0 : E.answer) === "") {
690
+ if (o.value += (u = (f = L.data) == null ? void 0 : f.body) == null ? void 0 : u.totalTokenCount, console.log("Token Count:", o.value), a.value = (w = (h = L.data) == null ? void 0 : h.body) == null ? void 0 : w.ohr, ((E = (F = L == null ? void 0 : L.data) == null ? void 0 : F.body) == null ? void 0 : E.answer) === "") {
691
691
  console.log("in the if case calling api again");
692
692
  const D = await J("/sqlTest", M);
693
693
  t.addConversation((ee = D.data) == null ? void 0 : ee.body, "new");
@@ -695,19 +695,19 @@ const Es = /* @__PURE__ */ X(js, [["__scopeId", "data-v-c14e6f9c"]]), Is = { cla
695
695
  console.log("in the else case"), t.addConversation((te = L.data) == null ? void 0 : te.body, "new");
696
696
  v.value = !1, t.dotLoader = !1, t.recognizedText = "";
697
697
  } catch (N) {
698
- if (console.error(N), t.dotLoader = !1, v.value = !0, $.isAxiosError(N)) {
698
+ if (console.error(N), t.dotLoader = !1, v.value = !1, $.isAxiosError(N)) {
699
699
  const C = N;
700
700
  console.log("Error found!"), console.error((se = C.response) == null ? void 0 : se.data), b.setError((oe = (ae = C.response) == null ? void 0 : ae.data) == null ? void 0 : oe.message);
701
701
  } else
702
702
  b.setError("There was an issue, please contact helpmate");
703
703
  }
704
- }, g = (h) => {
705
- h.key === "Enter" && !h.shiftKey && (h.preventDefault(), A());
706
- }, d = (h) => {
707
- const u = h.target;
704
+ }, g = (f) => {
705
+ f.key === "Enter" && !f.shiftKey && (f.preventDefault(), A());
706
+ }, d = (f) => {
707
+ const u = f.target;
708
708
  u.style.height = "auto", u.style.height = u.scrollHeight + "px";
709
709
  };
710
- return s({ sendQuestion: A }), (h, u) => (i(), r("div", sa, [
710
+ return s({ sendQuestion: A }), (f, u) => (i(), r("div", sa, [
711
711
  e("div", aa, [
712
712
  e("div", oa, [
713
713
  e("div", na, [
@@ -731,7 +731,7 @@ const Es = /* @__PURE__ */ X(js, [["__scopeId", "data-v-c14e6f9c"]]), Is = { cla
731
731
  fill: "none",
732
732
  xmlns: "http://www.w3.org/2000/svg",
733
733
  title: "restart"
734
- }, fa))
734
+ }, pa))
735
735
  ])
736
736
  ]),
737
737
  e("div", ga, [
@@ -742,7 +742,7 @@ const Es = /* @__PURE__ */ X(js, [["__scopeId", "data-v-c14e6f9c"]]), Is = { cla
742
742
  l(t).beginFlag === !0 ? "cursor-not-allowed text-gray-600" : "cursor-pointer",
743
743
  "bi bi-send ml-2 h-7 w-7 rotate-45 rounded"
744
744
  ]),
745
- onClick: u[0] || (u[0] = (p) => l(t).searchBoxdisable === !1 || l(t).beginFlag === !0 ? "" : A()),
745
+ onClick: u[0] || (u[0] = (h) => l(t).searchBoxdisable === !1 || l(t).beginFlag === !0 ? "" : A()),
746
746
  xmlns: "http://www.w3.org/2000/svg",
747
747
  fill: "currentColor",
748
748
  viewBox: "0 0 16 16"
@@ -753,9 +753,9 @@ const Es = /* @__PURE__ */ X(js, [["__scopeId", "data-v-c14e6f9c"]]), Is = { cla
753
753
  xe(e("textarea", {
754
754
  onPaste: u[1] || (u[1] = xt(() => {
755
755
  }, ["prevent"])),
756
- onKeydown: u[2] || (u[2] = (p) => v.value ? "" : g(p)),
756
+ onKeydown: u[2] || (u[2] = (h) => v.value ? "" : g(h)),
757
757
  disabled: l(t).searchBoxdisable === !1 || l(t).beginFlag === !0,
758
- "onUpdate:modelValue": u[3] || (u[3] = (p) => l(t).question = p),
758
+ "onUpdate:modelValue": u[3] || (u[3] = (h) => l(t).question = h),
759
759
  class: W([
760
760
  "fontFormattingAMA rounded-lg flex w-full border border-genpact-darkest-teal py-[18px] px-[70px]",
761
761
  l(t).beginFlag === !0 || l(t).searchBoxdisable === !1 ? "cursor-not-allowed bg-[#e5e7eb]" : "bg-white"
@@ -764,7 +764,7 @@ const Es = /* @__PURE__ */ X(js, [["__scopeId", "data-v-c14e6f9c"]]), Is = { cla
764
764
  ref_key: "AiSearch",
765
765
  ref: y,
766
766
  rows: "1",
767
- onInput: u[4] || (u[4] = (p) => d(p)),
767
+ onInput: u[4] || (u[4] = (h) => d(h)),
768
768
  style: { overflow: "hidden", transition: "height 0.2s" }
769
769
  }, null, 42, Na), [
770
770
  [ct, l(t).question]
@@ -778,7 +778,7 @@ const Es = /* @__PURE__ */ X(js, [["__scopeId", "data-v-c14e6f9c"]]), Is = { cla
778
778
  ]));
779
779
  }
780
780
  });
781
- const Pa = /* @__PURE__ */ X(La, [["__scopeId", "data-v-bc339815"]]), ue = (f) => (K("data-v-6c0980b5"), f = f(), Z(), f), Ta = { class: "z-3 absolute bottom-0 mt-4 w-full bg-white px-2 md:px-6" }, Fa = { class: "py-2" }, za = { class: "flex" }, Ma = { class: "z-1 relative w-full" }, Ra = { class: "relative w-full" }, Da = { class: "absolute inset-y-0 right-0 flex items-center md:pr-8 pr-3" }, ja = { key: 0 }, Ea = ["disabled"], Ia = /* @__PURE__ */ ue(() => /* @__PURE__ */ e("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)), qa = [
781
+ const Pa = /* @__PURE__ */ X(La, [["__scopeId", "data-v-f3203a7f"]]), ue = (p) => (K("data-v-6c0980b5"), p = p(), Z(), p), Ta = { class: "z-3 absolute bottom-0 mt-4 w-full bg-white px-2 md:px-6" }, Fa = { class: "py-2" }, za = { class: "flex" }, Ma = { class: "z-1 relative w-full" }, Ra = { class: "relative w-full" }, Da = { class: "absolute inset-y-0 right-0 flex items-center md:pr-8 pr-3" }, ja = { key: 0 }, Ea = ["disabled"], Ia = /* @__PURE__ */ ue(() => /* @__PURE__ */ e("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)), qa = [
782
782
  Ia
783
783
  ], Ha = {
784
784
  key: 1,
@@ -794,7 +794,7 @@ const Pa = /* @__PURE__ */ X(La, [["__scopeId", "data-v-bc339815"]]), ue = (f) =
794
794
  /* @__PURE__ */ e("div", null, " Note: AI-generated response may not be fully accurate; check with experts for critical information. ")
795
795
  ], -1)), Wa = /* @__PURE__ */ R({
796
796
  __name: "NewMDMQuestionSimulation",
797
- setup(f) {
797
+ setup(p) {
798
798
  const s = H(), t = ce(), b = m("");
799
799
  s.question = "";
800
800
  const a = m(null), c = m(!1), y = m(ie), v = m(!1);
@@ -813,13 +813,13 @@ const Pa = /* @__PURE__ */ X(La, [["__scopeId", "data-v-bc339815"]]), ue = (f) =
813
813
  return;
814
814
  }
815
815
  v.value = !0, s.dotLoader = !0;
816
- const h = {
816
+ const f = {
817
817
  question: s.question || s.recognizedText
818
818
  };
819
- console.log("ques", h), s.conversations.push(h);
819
+ console.log("ques", f), s.conversations.push(f);
820
820
  const u = m("");
821
821
  u.value = s.question || s.recognizedText, s.question = "";
822
- const p = {
822
+ const h = {
823
823
  assessmentId: s.simulationSkill,
824
824
  question: u.value,
825
825
  past_messages: s.past_messages,
@@ -832,14 +832,14 @@ const Pa = /* @__PURE__ */ X(La, [["__scopeId", "data-v-bc339815"]]), ue = (f) =
832
832
  storeFinalFeedback: s.storeFinalFeedback,
833
833
  storeFinalScore: s.storeFinalScore
834
834
  };
835
- console.log("Payload for MDM1==> ", p);
835
+ console.log("Payload for MDM1==> ", h);
836
836
  let w;
837
837
  O === "prod" ? w = "/ManualExportActivity" : w = "/fetchCompletionDemo";
838
- const F = await J(w, p);
838
+ const F = await J(w, h);
839
839
  s.addConversation((A = F.data) == null ? void 0 : A.body, "new"), v.value = !1, s.dotLoader = !1, s.recognizedText = "";
840
- } catch (h) {
841
- if (console.error(h), $.isAxiosError(h)) {
842
- const u = h;
840
+ } catch (f) {
841
+ if (console.error(f), $.isAxiosError(f)) {
842
+ const u = f;
843
843
  console.log("Error found!"), console.error((g = u.response) == null ? void 0 : g.data), t.setError(((d = u.response) == null ? void 0 : d.data).message);
844
844
  } else
845
845
  t.setError("There was an issue, please contact helpmate");
@@ -893,7 +893,7 @@ const Pa = /* @__PURE__ */ X(La, [["__scopeId", "data-v-bc339815"]]), ue = (f) =
893
893
  ]));
894
894
  }
895
895
  });
896
- const Xa = /* @__PURE__ */ X(Wa, [["__scopeId", "data-v-6c0980b5"]]), Y = (f) => (K("data-v-2f3d502d"), f = f(), Z(), f), Ua = { class: "max-h-screen overflow-auto md:p-6 p-3 text-[#161916]" }, Ja = {
896
+ const Xa = /* @__PURE__ */ X(Wa, [["__scopeId", "data-v-6c0980b5"]]), Y = (p) => (K("data-v-2f3d502d"), p = p(), Z(), p), Ua = { class: "max-h-screen overflow-auto md:p-6 p-3 text-[#161916]" }, Ja = {
897
897
  key: 0,
898
898
  class: "flex flex-col items-center justify-center gap-4"
899
899
  }, Ka = /* @__PURE__ */ Y(() => /* @__PURE__ */ e("div", { class: "text-2xl font-[700]" }, "Assessment Access Required", -1)), Za = /* @__PURE__ */ Y(() => /* @__PURE__ */ e("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)), Ya = [
@@ -914,16 +914,16 @@ const Xa = /* @__PURE__ */ X(Wa, [["__scopeId", "data-v-6c0980b5"]]), Y = (f) =>
914
914
  }, mo = {
915
915
  key: 1,
916
916
  class: "relative"
917
- }, ho = /* @__PURE__ */ R({
917
+ }, fo = /* @__PURE__ */ R({
918
918
  __name: "AssessmentSimulation",
919
- setup(f) {
919
+ setup(p) {
920
920
  const s = m(!0), t = m(!1), b = m(!1);
921
921
  m(!1), m(!1);
922
922
  const a = H(), c = ce(), y = m(""), v = m(""), o = m(""), x = m(""), A = localStorage.getItem("accessToken");
923
923
  let g = "";
924
924
  const d = m("");
925
- let h = "", u = "";
926
- const p = m(), w = m(!1), F = new URL(window.location.href), E = F.searchParams.get("skillId") || F.searchParams.get("assessmentId");
925
+ let f = "", u = "";
926
+ const h = m(), w = m(!1), F = new URL(window.location.href), E = F.searchParams.get("skillId") || F.searchParams.get("assessmentId");
927
927
  v.value = F.searchParams.get("mode") ?? "", a.simulationSkill = E ?? "";
928
928
  const ee = ["703331197", "703380812", "703331909", "703363051", "703319578"];
929
929
  de(async () => {
@@ -953,7 +953,7 @@ const Xa = /* @__PURE__ */ X(Wa, [["__scopeId", "data-v-6c0980b5"]]), Y = (f) =>
953
953
  try {
954
954
  O === "prod" ? g = `https://api-v2.genpact.com/api/my-profile/assessment-master/getAssessmentDetailsById?id=${a.simulationSkill}` : g = `https://api-v2-dev.genpact.com/api/my-profile/assessment-master/getAssessmentDetailsById?id=${a.simulationSkill}`;
955
955
  const n = await me(g);
956
- y.value = (C = (N = n == null ? void 0 : n.data) == null ? void 0 : N.data) == null ? void 0 : C.name, a.skillNameForSimulation = y.value, a.generatedPrompt = (L = (M = n == null ? void 0 : n.data) == null ? void 0 : M.data) == null ? void 0 : L.generatedPrompt, a.assessmentType = (D = (I = n == null ? void 0 : n.data) == null ? void 0 : I.data) == null ? void 0 : D.assessmentType, o.value = (S = (q = n == null ? void 0 : n.data) == null ? void 0 : q.data) == null ? void 0 : S.status, w.value = (U = (k = n == null ? void 0 : n.data) == null ? void 0 : k.data) == null ? void 0 : U.editMode, a.empSeniority = (we = (ye = n == null ? void 0 : n.data) == null ? void 0 : ye.data) == null ? void 0 : we.empSeniority, a.functionRole = (Ae = (_e = n == null ? void 0 : n.data) == null ? void 0 : _e.data) == null ? void 0 : Ae.functionRole, h = (Se = (ke = n == null ? void 0 : n.data) == null ? void 0 : ke.data) == null ? void 0 : Se.accessBand, u = (Ce = (Ne = n == null ? void 0 : n.data) == null ? void 0 : Ne.data) == null ? void 0 : Ce.accessOhrList;
956
+ y.value = (C = (N = n == null ? void 0 : n.data) == null ? void 0 : N.data) == null ? void 0 : C.name, a.skillNameForSimulation = y.value, a.generatedPrompt = (L = (M = n == null ? void 0 : n.data) == null ? void 0 : M.data) == null ? void 0 : L.generatedPrompt, a.assessmentType = (D = (I = n == null ? void 0 : n.data) == null ? void 0 : I.data) == null ? void 0 : D.assessmentType, o.value = (S = (q = n == null ? void 0 : n.data) == null ? void 0 : q.data) == null ? void 0 : S.status, w.value = (U = (k = n == null ? void 0 : n.data) == null ? void 0 : k.data) == null ? void 0 : U.editMode, a.empSeniority = (we = (ye = n == null ? void 0 : n.data) == null ? void 0 : ye.data) == null ? void 0 : we.empSeniority, a.functionRole = (Ae = (_e = n == null ? void 0 : n.data) == null ? void 0 : _e.data) == null ? void 0 : Ae.functionRole, f = (Se = (ke = n == null ? void 0 : n.data) == null ? void 0 : ke.data) == null ? void 0 : Se.accessBand, u = (Ce = (Ne = n == null ? void 0 : n.data) == null ? void 0 : Ne.data) == null ? void 0 : Ce.accessOhrList;
957
957
  const Q = (Pe = (Le = n == null ? void 0 : n.data) == null ? void 0 : Le.data) == null ? void 0 : Pe.createdBy;
958
958
  if (a.mcqType = (Fe = (Te = n == null ? void 0 : n.data) == null ? void 0 : Te.data) == null ? void 0 : Fe.mcqTypes, a.storeFinalFeedback = (Me = (ze = n == null ? void 0 : n.data) == null ? void 0 : ze.data) == null ? void 0 : Me.storeFinalFeedback, a.storeFinalScore = (De = (Re = n == null ? void 0 : n.data) == null ? void 0 : Re.data) == null ? void 0 : De.storeFinalScore, o.value === "inactive")
959
959
  t.value = !0;
@@ -962,9 +962,9 @@ const Xa = /* @__PURE__ */ X(Wa, [["__scopeId", "data-v-6c0980b5"]]), Y = (f) =>
962
962
  else if (o.value === "active" && w.value && v.value === nt.DRAFT) {
963
963
  O === "prod" ? g = `https://api-v2.genpact.com/api/my-profile/assessment-master/getDraftAssessmentDetailsById?assessmentId=${a.simulationSkill}` : g = `https://api-v2-dev.genpact.com/api/my-profile/assessment-master/getDraftAssessmentDetailsById?assessmentId=${a.simulationSkill}`;
964
964
  const _ = await me(g);
965
- a.generatedPrompt = (Ee = (je = _ == null ? void 0 : _.data) == null ? void 0 : je.data) == null ? void 0 : Ee.generatedPrompt, a.assessmentType = (qe = (Ie = _ == null ? void 0 : _.data) == null ? void 0 : Ie.data) == null ? void 0 : qe.assessmentType, a.empSeniority = (Be = (He = _ == null ? void 0 : _.data) == null ? void 0 : He.data) == null ? void 0 : Be.empSeniority, a.functionRole = (Ve = ($e = _ == null ? void 0 : _.data) == null ? void 0 : $e.data) == null ? void 0 : Ve.functionRole, a.storeFinalFeedback = (Ge = (Qe = _ == null ? void 0 : _.data) == null ? void 0 : Qe.data) == null ? void 0 : Ge.storeFinalFeedback, a.storeFinalScore = (We = (Oe = _ == null ? void 0 : _.data) == null ? void 0 : Oe.data) == null ? void 0 : We.storeFinalScore, h = (Ue = (Xe = _ == null ? void 0 : _.data) == null ? void 0 : Xe.data) == null ? void 0 : Ue.accessBand, u = (Ke = (Je = _ == null ? void 0 : _.data) == null ? void 0 : Je.data) == null ? void 0 : Ke.accessOhrList;
965
+ a.generatedPrompt = (Ee = (je = _ == null ? void 0 : _.data) == null ? void 0 : je.data) == null ? void 0 : Ee.generatedPrompt, a.assessmentType = (qe = (Ie = _ == null ? void 0 : _.data) == null ? void 0 : Ie.data) == null ? void 0 : qe.assessmentType, a.empSeniority = (Be = (He = _ == null ? void 0 : _.data) == null ? void 0 : He.data) == null ? void 0 : Be.empSeniority, a.functionRole = (Ve = ($e = _ == null ? void 0 : _.data) == null ? void 0 : $e.data) == null ? void 0 : Ve.functionRole, a.storeFinalFeedback = (Ge = (Qe = _ == null ? void 0 : _.data) == null ? void 0 : Qe.data) == null ? void 0 : Ge.storeFinalFeedback, a.storeFinalScore = (We = (Oe = _ == null ? void 0 : _.data) == null ? void 0 : Oe.data) == null ? void 0 : We.storeFinalScore, f = (Ue = (Xe = _ == null ? void 0 : _.data) == null ? void 0 : Xe.data) == null ? void 0 : Ue.accessBand, u = (Ke = (Je = _ == null ? void 0 : _.data) == null ? void 0 : Je.data) == null ? void 0 : Ke.accessOhrList;
966
966
  }
967
- const mt = a == null ? void 0 : a.band_code, ot = (Ze = h == null ? void 0 : h.split(",")) == null ? void 0 : Ze.map((_) => _.trim());
967
+ const mt = a == null ? void 0 : a.band_code, ot = (Ze = f == null ? void 0 : f.split(",")) == null ? void 0 : Ze.map((_) => _.trim());
968
968
  if (Q === (a == null ? void 0 : a.ohr) || ee.includes(a == null ? void 0 : a.ohr))
969
969
  console.log("User has access to this assessment.");
970
970
  else {
@@ -1023,10 +1023,10 @@ const Xa = /* @__PURE__ */ X(Wa, [["__scopeId", "data-v-6c0980b5"]]), Y = (f) =>
1023
1023
  }
1024
1024
  }, oe = () => {
1025
1025
  var N;
1026
- (N = p.value) == null || N.sendQuestion();
1026
+ (N = h.value) == null || N.sendQuestion();
1027
1027
  };
1028
1028
  return (N, C) => (i(), r("section", null, [
1029
- T(pe, { "is-visible": b.value }, {
1029
+ T(he, { "is-visible": b.value }, {
1030
1030
  default: ge(() => [
1031
1031
  e("div", Ua, [
1032
1032
  x.value === 424 || x.value === "425" ? (i(), r("div", Ja, Ya)) : z("", !0),
@@ -1036,7 +1036,7 @@ const Xa = /* @__PURE__ */ X(Wa, [["__scopeId", "data-v-6c0980b5"]]), Y = (f) =>
1036
1036
  _: 1
1037
1037
  }, 8, ["is-visible"]),
1038
1038
  e("div", null, [
1039
- s.value ? (i(), wt(pt, { key: 0 })) : (i(), r("main", oo, [
1039
+ s.value ? (i(), wt(ht, { key: 0 })) : (i(), r("main", oo, [
1040
1040
  e("div", no, [
1041
1041
  T(Mt)
1042
1042
  ]),
@@ -1052,7 +1052,7 @@ const Xa = /* @__PURE__ */ X(Wa, [["__scopeId", "data-v-6c0980b5"]]), Y = (f) =>
1052
1052
  l(a).assessmentQuestion ? (i(), r("div", uo, [
1053
1053
  T(Pa, {
1054
1054
  ref_key: "newQuestionRef",
1055
- ref: p
1055
+ ref: h
1056
1056
  }, null, 512)
1057
1057
  ])) : (i(), r("div", mo, [
1058
1058
  T(Xa)
@@ -1064,7 +1064,7 @@ const Xa = /* @__PURE__ */ X(Wa, [["__scopeId", "data-v-6c0980b5"]]), Y = (f) =>
1064
1064
  ]));
1065
1065
  }
1066
1066
  });
1067
- const Ao = /* @__PURE__ */ X(ho, [["__scopeId", "data-v-2f3d502d"]]);
1067
+ const Ao = /* @__PURE__ */ X(fo, [["__scopeId", "data-v-2f3d502d"]]);
1068
1068
  export {
1069
1069
  Ao as default
1070
1070
  };