@genpact/genome.mfe.mgtwin-app 1.1.334-alpha → 1.1.336-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-0bd56c86.mjs → AssessmentAMA-0692fa1a.mjs} +4 -4
  2. package/dist/{AssessmentSimulation-f1a2a2fd.mjs → AssessmentSimulation-a30d0b00.mjs} +485 -458
  3. package/dist/{EditSkillAdminData-8ec9d6d1.mjs → EditSkillAdminData-044567e4.mjs} +2 -2
  4. package/dist/{EditSkillData-9bae2ea2.mjs → EditSkillData-e70e5197.mjs} +2 -2
  5. package/dist/{HomeView-abe908c6.mjs → HomeView-53156458.mjs} +5 -5
  6. package/dist/{Loading-b6235612.mjs → Loading-68a5cf63.mjs} +1 -1
  7. package/dist/{LoadingSimulation-3bad9122.mjs → LoadingSimulation-c9bde016.mjs} +1 -1
  8. package/dist/{Modal-b1fa5450.mjs → Modal-b41fbd83.mjs} +1 -1
  9. package/dist/{PaperAirplaneIcon-3cf8bb48.mjs → PaperAirplaneIcon-9c41f6c3.mjs} +1 -1
  10. package/dist/{PromptTesting-5539725e.mjs → PromptTesting-317d3a4f.mjs} +3 -3
  11. package/dist/{SkillAutomation-e66cfd2d.mjs → SkillAutomation-207a2b56.mjs} +3 -3
  12. package/dist/{SkillData-d4bffa31.mjs → SkillData-7e41d4ba.mjs} +3 -3
  13. package/dist/{Testcase-fd73186c.mjs → Testcase-f95b79d7.mjs} +3 -3
  14. package/dist/{UnderMaintenance-62a65aa3.mjs → UnderMaintenance-81399bd4.mjs} +1 -1
  15. package/dist/{VoiceTestcase-34d267dd.mjs → VoiceTestcase-ab9c039b.mjs} +52 -52
  16. package/dist/{XMarkIcon-f626c953.mjs → XMarkIcon-0f8e2fe2.mjs} +1 -1
  17. package/dist/{api-344eaaaa.mjs → api-ee985d99.mjs} +1 -1
  18. package/dist/{main-09820a10.mjs → main-6023ab47.mjs} +1383 -1383
  19. package/dist/mgtwin.es.min.js +1 -1
  20. package/dist/mgtwin.umd.min.js +14 -14
  21. package/dist/style.css +1 -1
  22. package/dist/{voiceServices-e96f2c1c.mjs → voiceServices-d8d5e7e1.mjs} +114 -114
  23. package/package.json +1 -1
@@ -1,100 +1,103 @@
1
- import { _ as pt, a as lt, L as ft } from "./LoadingSimulation-3bad9122.mjs";
2
- import { _ as gt, a as rt, Q as O, M as at } from "./Modal-b1fa5450.mjs";
3
- import { d as M, r as u, H as X, o as l, c as r, a as e, u as B, y as pe, h as F, s as dt, t as H, b as i, f as z, i as T, I as le, F as fe, e as ge, w as ve, J as vt, p as Z, g as Y, G as re, C as de, z as bt, K as xt, k as ce, n as W, q as V, m as ct, L as ut, l as yt } from "./main-09820a10.mjs";
4
- import { _ as U } from "./_plugin-vue_export-helper-dad06003.mjs";
5
- import { p as K, g as me } from "./api-344eaaaa.mjs";
6
- import { i as D, s as wt, a as _t, b as ot, c as he, r as G, d as ie, e as At, p as nt, f as it } from "./voiceServices-e96f2c1c.mjs";
7
- import { r as kt } from "./XMarkIcon-f626c953.mjs";
1
+ import { _ as ht, a as dt, L as pt } from "./LoadingSimulation-c9bde016.mjs";
2
+ import { _ as ft, a as pe, Q as ie, M as nt } from "./Modal-b41fbd83.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 X, q as $, m as ct, A as xt, L as yt, l as wt } from "./main-6023ab47.mjs";
4
+ import { _ as W } from "./_plugin-vue_export-helper-dad06003.mjs";
5
+ import { p as J, g as me } from "./api-ee985d99.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-d8d5e7e1.mjs";
7
+ import { r as St } from "./XMarkIcon-0f8e2fe2.mjs";
8
8
  import "./loadernew-ac153a51.mjs";
9
9
  import "./_commonjsHelpers-92157f1b.mjs";
10
- const St = { class: "flex h-14 w-full flex-1 items-center justify-between bg-[#021c42] md:pr-6 lg:pr-6" }, Ct = ["href"], Nt = /* @__PURE__ */ e("img", {
10
+ const Ct = { class: "flex h-14 w-full flex-1 items-center justify-between bg-[#021c42] md:pr-6 lg:pr-6" }, Nt = ["href"], Lt = /* @__PURE__ */ e("img", {
11
11
  class: "h-11 w-auto cursor-pointer",
12
- src: pt,
12
+ src: ht,
13
13
  alt: "Genome Logo"
14
- }, null, -1), Lt = [
15
- Nt
16
- ], Tt = ["href"], Pt = /* @__PURE__ */ e("img", {
14
+ }, null, -1), Pt = [
15
+ Lt
16
+ ], Tt = ["href"], Ft = /* @__PURE__ */ e("img", {
17
17
  class: "h-9 w-28 cursor-pointer md:w-36",
18
- src: gt,
18
+ src: ft,
19
19
  alt: "Aiguru Logo"
20
- }, null, -1), Ft = [
21
- Pt
22
- ], zt = /* @__PURE__ */ M({
20
+ }, null, -1), zt = [
21
+ Ft
22
+ ], Mt = /* @__PURE__ */ R({
23
23
  __name: "headerSimulation",
24
- setup(h) {
25
- const t = u(""), s = u("");
26
- return X === "prod" ? t.value = "https://genome.genpact.com" : t.value = "https://genome-dev.genpact.com", X === "prod" ? s.value = "https://genome.genpact.com/#aiguru" : s.value = "https://genome-dev.genpact.com/#aiguru", (g, a) => (l(), r("nav", St, [
24
+ setup(p) {
25
+ const t = m(""), s = m("");
26
+ return O === "prod" ? t.value = "https://genome.genpact.com" : t.value = "https://genome-dev.genpact.com", O === "prod" ? s.value = "https://genome.genpact.com/#aiguru" : s.value = "https://genome-dev.genpact.com/#aiguru", (b, a) => (i(), r("nav", Ct, [
27
27
  e("a", {
28
28
  class: "px-2 md:px-0 lg:px-0",
29
29
  href: t.value,
30
30
  target: "_blank"
31
- }, Lt, 8, Ct),
31
+ }, Pt, 8, Nt),
32
32
  e("a", {
33
33
  class: "px-2 md:px-0 lg:px-0",
34
34
  href: s.value,
35
35
  target: "_blank"
36
- }, Ft, 8, Tt)
36
+ }, zt, 8, Tt)
37
37
  ]));
38
38
  }
39
- }), Rt = { class: "max-h-screen overflow-auto md:p-6 p-3 flex flex-col items-center justify-center gap-4 text-[#161916] fontFormattingAMA" }, Mt = /* @__PURE__ */ e("div", { class: "text-lg md:text-xl font-[700]" }, "Please Note Before You Begin", -1), jt = /* @__PURE__ */ e("ul", { className: "list-disc max-h-[40vh] overflow-auto space-y-3 pl-6 text-[#102345] text-sm md:text-base" }, [
39
+ }), Rt = { class: "max-h-screen overflow-auto md:p-6 p-3 flex flex-col items-center justify-center gap-4 text-[#161916] fontFormattingAMA" }, Dt = /* @__PURE__ */ e("div", { class: "text-lg md:text-xl font-[700]" }, "Please Note Before You Begin", -1), jt = /* @__PURE__ */ e("ul", { className: "list-disc max-h-[40vh] overflow-auto space-y-3 pl-6 text-[#102345] text-sm md:text-base" }, [
40
40
  /* @__PURE__ */ e("li", null, [
41
- /* @__PURE__ */ T(" Choose a "),
41
+ /* @__PURE__ */ P(" Choose a "),
42
42
  /* @__PURE__ */ e("span", { class: "font-[600]" }, "quiet space"),
43
- /* @__PURE__ */ T(" and ensure your mic and internet connection are working properly. ")
43
+ /* @__PURE__ */ P(" and ensure your mic and internet connection are working properly. ")
44
44
  ]),
45
45
  /* @__PURE__ */ e("li", null, [
46
- /* @__PURE__ */ T(" The assessment will "),
46
+ /* @__PURE__ */ P(" The assessment will "),
47
47
  /* @__PURE__ */ e("span", { class: "font-[600]" }, "begin in text mode "),
48
- /* @__PURE__ */ T(", where the AI will ask you a few initial questions. ")
48
+ /* @__PURE__ */ P(", where the AI will ask you a few initial questions. ")
49
49
  ]),
50
50
  /* @__PURE__ */ e("li", null, [
51
- /* @__PURE__ */ T(" You'll need to type your responses, which will help the "),
51
+ /* @__PURE__ */ P(" You'll need to type your responses, which will help the "),
52
52
  /* @__PURE__ */ e("span", { class: "font-[600]" }, "AI generate tailored scenarios "),
53
- /* @__PURE__ */ T(" for the role-play exercise. ")
53
+ /* @__PURE__ */ P(" for the role-play exercise. ")
54
54
  ]),
55
55
  /* @__PURE__ */ e("li", null, [
56
56
  /* @__PURE__ */ e("span", { class: "font-[600]" }, "Voice mode "),
57
- /* @__PURE__ */ T(" will be activated, once you initiate the role-play. ")
57
+ /* @__PURE__ */ P(" will be activated, once you initiate the role-play. ")
58
58
  ]),
59
59
  /* @__PURE__ */ e("li", null, [
60
- /* @__PURE__ */ T(" Click "),
60
+ /* @__PURE__ */ P(" Click "),
61
61
  /* @__PURE__ */ e("span", { class: "font-[600]" }, "“Turn on Mic”"),
62
- /* @__PURE__ */ T(" to initiate the conversation with the voice bot. ")
62
+ /* @__PURE__ */ P(" to initiate the conversation with the voice bot. ")
63
63
  ]),
64
64
  /* @__PURE__ */ e("li", null, [
65
65
  /* @__PURE__ */ e("span", { class: "font-[600]" }, "Don’t mute "),
66
- /* @__PURE__ */ T(" until your response is fully processed to ensure smooth interaction. ")
66
+ /* @__PURE__ */ P(" until your response is fully processed to ensure smooth interaction. ")
67
67
  ]),
68
68
  /* @__PURE__ */ e("li", null, [
69
- /* @__PURE__ */ T(" Stay expressive — this is an interactive role-play, so your "),
69
+ /* @__PURE__ */ P(" Stay expressive — this is an interactive role-play, so your "),
70
70
  /* @__PURE__ */ e("span", { class: "font-[600]" }, "engagement matters"),
71
- /* @__PURE__ */ T(". ")
71
+ /* @__PURE__ */ P(". ")
72
72
  ]),
73
73
  /* @__PURE__ */ e("li", null, [
74
- /* @__PURE__ */ T(" The session may take up to "),
74
+ /* @__PURE__ */ P(" The session may take up to "),
75
75
  /* @__PURE__ */ e("span", { class: "font-[600]" }, "10 minutes "),
76
- /* @__PURE__ */ T(", so plan accordingly. ")
76
+ /* @__PURE__ */ P(", so plan accordingly. ")
77
77
  ])
78
- ], -1), Dt = { class: "flex items-end justify-start" }, qt = { class: "fontFormattingAMA w-full bg-gray-100 rounded-lg" }, Et = { class: "w-full rounded-md px-3 py-2 text-lg md:text-xl font-bold text-black" }, It = { class: "w-full px-3 py-2 text-sm text-black md:text-base font-[550]" }, Ht = {
78
+ ], -1), Et = { class: "max-h-screen overflow-auto md:p-6 p-3 flex flex-col items-center justify-center gap-4 text-[#161916] fontFormattingAMA" }, It = /* @__PURE__ */ e("div", { class: "text-lg md:text-xl font-[700]" }, "Please Note Before You Begin", -1), qt = /* @__PURE__ */ e("ul", { className: "list-disc max-h-[40vh] overflow-auto space-y-3 pl-6 text-[#102345] text-sm md:text-base" }, [
79
+ /* @__PURE__ */ e("li", null, "This simulation is expected to take approximately 15 minutes to complete."),
80
+ /* @__PURE__ */ e("li", null, " Please ensure it is concluded within 30 minutes, as sessions exceeding this duration will automatically restart from the beginning ")
81
+ ], -1), Ht = { class: "flex items-end justify-start" }, Bt = { class: "fontFormattingAMA w-full bg-gray-100 rounded-lg" }, $t = { class: "w-full rounded-md px-3 py-2 text-lg md:text-xl font-bold text-black" }, Vt = { class: "w-full px-3 py-2 text-sm text-black md:text-base font-[550]" }, Qt = {
79
82
  key: 0,
80
83
  class: "fontFormattingAMA"
81
- }, Bt = /* @__PURE__ */ e("br", null, null, -1), $t = ` You're about to step into a realistic, voice-based client conversation powered by AI.
82
- 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.`, Vt = /* @__PURE__ */ M({
84
+ }, Gt = /* @__PURE__ */ e("br", null, null, -1), Ot = ` You're about to step into a realistic, voice-based client conversation powered by AI.
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.`, Xt = /* @__PURE__ */ R({
83
86
  __name: "greetingsSimulation",
84
87
  emits: ["callQuestion"],
85
- setup(h, { emit: t }) {
86
- const s = B(), g = u(!1), a = () => {
87
- s.simulationSkill === "7bd03cb6-79ad-4e2a-8a8b-88dc16147369" ? (s.question = "Let's start", s.beginFlag = !1, g.value = !0) : (s.beginFlag = !1, s.question = "Let's start", t("callQuestion"));
88
- }, c = `Hi, get ready to test your ${s.skillNameForSimulation || "Unknown"} knowledge! Here’s what to expect:`, _ = ` Hi ${s.learnerName || "Expert"}, and welcome!`, x = ` Hi, ${s.learnerName || "Expert"}. Get ready to test your ${s.skillNameForSimulation || "Unknown"} knowledge! Here’s what to expect:`, o = pe(() => ["32b7d6d8-f7a8-40a0-ab84-8784f25897ef"].includes(s.simulationSkill) ? c : ["7bd03cb6-79ad-4e2a-8a8b-88dc16147369"].includes(s.simulationSkill) ? _ : x), v = `Hi, get ready to test your ${s.skillNameForSimulation || "Unknown"} knowledge! Here’s what to expect:`, A = ` AI Guru will ask you a few questions on '${s.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.`, p = pe(() => ["32b7d6d8-f7a8-40a0-ab84-8784f25897ef"].includes(s.simulationSkill) ? v : ["7bd03cb6-79ad-4e2a-8a8b-88dc16147369"].includes(s.simulationSkill) ? $t : A);
89
- return (d, f) => (l(), r("section", null, [
90
- F(rt, { "is-visible": g.value }, {
91
- default: dt(() => [
88
+ setup(p, { emit: t }) {
89
+ const s = H(), b = m(!1), a = m(!1), u = () => {
90
+ s.simulationSkill === "7bd03cb6-79ad-4e2a-8a8b-88dc16147369" ? (s.question = "Let's start", s.beginFlag = !1, b.value = !0) : s.simulationSkill === "25f8e44f-b83e-42d6-a168-b0e1fb83b26a" ? (s.question = "Let's start", s.beginFlag = !1, a.value = !0) : (s.beginFlag = !1, s.question = "Let's start", t("callQuestion"));
91
+ }, y = `Hi, get ready to test your ${s.skillNameForSimulation || "Unknown"} knowledge! Here’s what to expect:`, v = ` Hi ${s.learnerName || "Expert"}, and welcome!`, o = ` Hi, ${s.learnerName || "Expert"}. Get ready to test your ${s.skillNameForSimulation || "Unknown"} knowledge! Here’s what to expect:`, x = fe(() => ["32b7d6d8-f7a8-40a0-ab84-8784f25897ef"].includes(s.simulationSkill) ? y : ["7bd03cb6-79ad-4e2a-8a8b-88dc16147369"].includes(s.simulationSkill) ? v : o), _ = `Hi, get ready to test your ${s.skillNameForSimulation || "Unknown"} knowledge! Here’s what to expect:`, g = ` AI Guru will ask you a few questions on '${s.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.`, d = fe(() => ["32b7d6d8-f7a8-40a0-ab84-8784f25897ef"].includes(s.simulationSkill) ? _ : ["7bd03cb6-79ad-4e2a-8a8b-88dc16147369"].includes(s.simulationSkill) ? Ot : g);
92
+ return (h, c) => (i(), r("section", null, [
93
+ T(pe, { "is-visible": b.value }, {
94
+ default: ge(() => [
92
95
  e("div", Rt, [
93
- Mt,
96
+ Dt,
94
97
  jt,
95
98
  e("button", {
96
- onClick: f[0] || (f[0] = (b) => {
97
- g.value = !1, t("callQuestion");
99
+ onClick: c[0] || (c[0] = (f) => {
100
+ b.value = !1, t("callQuestion");
98
101
  }),
99
102
  type: "button",
100
103
  class: "bg-[#021c42] rounded-md px-4 py-1.5 text-center md:text-base text-sm text-white cursor-pointer italic hover:bg-blue-700"
@@ -103,51 +106,67 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
103
106
  ]),
104
107
  _: 1
105
108
  }, 8, ["is-visible"]),
106
- e("div", Dt, [
107
- e("div", qt, [
108
- e("div", Et, H(o.value), 1),
109
- e("div", It, H(p.value), 1)
109
+ T(pe, { "is-visible": a.value }, {
110
+ default: ge(() => [
111
+ e("div", Et, [
112
+ It,
113
+ qt,
114
+ e("button", {
115
+ onClick: c[1] || (c[1] = (f) => {
116
+ a.value = !1, t("callQuestion");
117
+ }),
118
+ type: "button",
119
+ class: "bg-[#021c42] rounded-md px-4 py-1.5 text-center md:text-base text-sm text-white cursor-pointer italic hover:bg-blue-700"
120
+ }, " Proceed ")
121
+ ])
122
+ ]),
123
+ _: 1
124
+ }, 8, ["is-visible"]),
125
+ e("div", Ht, [
126
+ e("div", Bt, [
127
+ e("div", $t, V(x.value), 1),
128
+ e("div", Vt, V(d.value), 1)
110
129
  ])
111
130
  ]),
112
- i(s).beginFlag ? (l(), r("span", Ht, [
131
+ l(s).beginFlag ? (i(), r("span", Qt, [
113
132
  e("button", {
114
133
  type: "button",
115
134
  id: "button",
116
- onClick: a,
135
+ onClick: u,
117
136
  class: "mt-4 bg-[#021c42] rounded-md px-4 py-1.5 text-center md:text-base text-sm text-white cursor-pointer italic hover:bg-blue-700 w-32"
118
137
  }, " Let's begin ")
119
138
  ])) : z("", !0),
120
- Bt
139
+ Gt
121
140
  ]));
122
141
  }
123
- }), Qt = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAB9AH0DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN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cVyOo+CbD4mT/b/AlsltawfJOJvky/WvSvih4Hk8Tvp9/bzQ/ZdMG+WInqo5x+VctYfFTQLu2bw74e006bc3n7pJVG0BvWgDjLz4T+L/AARZyeIkuLeNrMb90cgJFWjrHxJXwT/wlv8AbP8AoG/bt3fN+VaPi34feNdM8L3t1f8AiZ7q2jXLweZncK5x/H1o3wi/4REWU/2rfu8zHy9aANHRtEi02KPxv46j+26dfDChfmbcehIrqvjS1ldeBvDk1hHssZHXylxjCntWxba9o3h74M6Pca5YpfQEKohYZIPrivMPiPoWsW2jWWtzaiZNLu232lrniFTyBj2oA+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=", mt = (h) => (Z("data-v-cc5db4a2"), h = h(), Y(), h), Gt = { class: "fontFormattingAMA flex items-end justify-start py-2" }, Ot = { class: "line-break w-full bg-gray-100 p-3 text-sm text-black md:text-[15px] rounded-lg" }, Xt = ["innerHTML"], Wt = ["innerHTML"], Ut = {
142
+ }), Wt = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxw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ABpsnwG1iWNo5PFl06MOVZ2IP617tRQByHgPwSnhDwqdFuJVvEaRnbevBz7V0VtpGm2coltrC2hkAwGSIA1dooAgurS2vYvKureOaPOdsihhn8ac8I+ytBGBGpQqu0Y28VLRQB5/4T+H174ft9ahutYmvBqAYLvJOzOa8/H7Oc6zGVNeKNuyCq4Ir6AooA8f8PfBzUdK162vr3xFcXtvEcvBKxZX9iDXp/8AYOkZ/wCQXZ/9+V/wrRooA8X8T/BC61/WLm5TW3htJH3JbY+RPoOldD4r+GL+I/Cuj6Mt95f9nhQXI+/ivR6KAKGlaVa6VZQ29tbxRlI1RmRAu4gYyav0UUAf/9k=", ut = (p) => (K("data-v-cc5db4a2"), p = p(), Z(), p), Ut = { class: "fontFormattingAMA flex items-end justify-start py-2" }, Jt = { class: "line-break w-full bg-gray-100 p-3 text-sm text-black md:text-[15px] rounded-lg" }, Kt = ["innerHTML"], Zt = ["innerHTML"], Yt = {
124
143
  key: 0,
125
144
  class: "py-4"
126
- }, Jt = { class: "fontFormattingAMA px-2 py-1.5 md:px-6" }, Kt = ["value", "disabled", "name"], Zt = {
145
+ }, es = { class: "fontFormattingAMA px-2 py-1.5 md:px-6" }, ts = ["value", "disabled", "name"], ss = {
127
146
  for: "item",
128
147
  name: "options-Array",
129
148
  id: "index"
130
- }, Yt = {
149
+ }, as = {
131
150
  key: 1,
132
151
  class: "py-4"
133
- }, es = { class: "fontFormattingAMA px-2 py-1.5 md:px-6" }, ts = ["onClick", "disabled", "name"], ss = {
152
+ }, os = { class: "fontFormattingAMA px-2 py-1.5 md:px-6" }, ns = ["onClick", "disabled", "name"], is = {
134
153
  for: "item",
135
154
  name: "options-Array",
136
155
  id: "index"
137
- }, as = {
156
+ }, ls = {
138
157
  key: 2,
139
158
  class: "flex flex-col justify-start py-10"
140
- }, os = /* @__PURE__ */ mt(() => /* @__PURE__ */ e("div", { class: "mb-4" }, " Add Agentic AI to your Digital Skills on Genome.ai and start mastering AI today! ", -1)), ns = /* @__PURE__ */ mt(() => /* @__PURE__ */ e("img", {
159
+ }, rs = /* @__PURE__ */ ut(() => /* @__PURE__ */ e("div", { class: "mb-4" }, " Add Agentic AI to your Digital Skills on Genome.ai and start mastering AI today! ", -1)), ds = /* @__PURE__ */ ut(() => /* @__PURE__ */ e("img", {
141
160
  class: "h-20 w-20",
142
- src: Qt,
161
+ src: Wt,
143
162
  alt: "qr_code"
144
- }, null, -1)), is = [
145
- os,
146
- ns
147
- ], ls = {
163
+ }, null, -1)), cs = [
164
+ rs,
165
+ ds
166
+ ], us = {
148
167
  key: 3,
149
168
  class: "flex flex-col justify-start items-start bg-gray-100 rounded-lg"
150
- }, rs = { class: "flex justify-start items-center md:gap-[40px] gap-[30px]" }, ds = /* @__PURE__ */ M({
169
+ }, ms = { class: "flex justify-start items-center md:gap-[40px] gap-[30px]" }, hs = /* @__PURE__ */ R({
151
170
  __name: "responseSimulation",
152
171
  props: {
153
172
  question: {
@@ -177,16 +196,16 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
177
196
  }
178
197
  },
179
198
  emits: ["char-typed"],
180
- setup(h, { emit: t }) {
181
- const s = h, g = u([]), a = u(!1), c = B(), _ = u("");
182
- let x = [], o = "";
183
- const v = async () => {
184
- x = o.split(""), _.value = "";
185
- for (let d = 0; d < x.length; d++)
186
- _.value += x[d], s.answer.includes("Feedback and Assessment") ? (console.log("Feedback and Assessment found"), o.length - 5 > x.length && d % 30 && t("char-typed")) : d % 30 && t("char-typed"), await new Promise((f) => setTimeout(f, 60));
187
- }, A = () => {
188
- c.isRestart = !0, c.searchBoxdisable = !1, c.showVoiceComponent = !0, c.showSelectTypeConvesation = !1, c.showModelToggle = !0, c.isSpeechToggle = !1;
189
- }, p = pe(() => {
199
+ setup(p, { emit: t }) {
200
+ const s = p, b = m([]), a = m(!1), u = H(), y = m("");
201
+ let v = [], o = "";
202
+ const x = async () => {
203
+ v = o.split(""), y.value = "";
204
+ for (let d = 0; d < v.length; d++)
205
+ y.value += v[d], s.answer.includes("Feedback and Assessment") ? (console.log("Feedback and Assessment found"), o.length - 5 > v.length && d % 30 && t("char-typed")) : d % 30 && t("char-typed"), await new Promise((h) => setTimeout(h, 60));
206
+ }, _ = () => {
207
+ u.isRestart = !0, u.searchBoxdisable = !1, u.showVoiceComponent = !0, u.showSelectTypeConvesation = !1, u.showModelToggle = !0, u.isSpeechToggle = !1;
208
+ }, g = fe(() => {
190
209
  const d = s.answer.replace(/[*#]/g, "").replace(
191
210
  /Assessment Rating & Feedback/g,
192
211
  '<div style="font-size: 26px; font-weight: bold; text-decoration: underline;">Rating & Feedback</div>'
@@ -218,13 +237,13 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
218
237
  /Model Solution/g,
219
238
  '<div style="font-size: 16px; font-weight: bold;">Model Solution</div>'
220
239
  );
221
- (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);
222
- const f = /\[([^\]]+)\]\((https?:\/\/[^\s]+)\)/g;
240
+ (d.includes("Thank you for your participation!") || d.includes("Thank you for your participation")) && (u.searchBoxdisable = !1, a.value = !0), (d.includes("BEGIN ROLE PLAY") || d.includes("BEGIN ROLE PLAY.")) && (u.showSelectTypeConvesation = !0);
241
+ const h = /\[([^\]]+)\]\((https?:\/\/[^\s]+)\)/g;
223
242
  if (d.includes("AI Guru")) {
224
243
  if (d.includes("AI Guru"))
225
- return console.log("aig found"), d.replace(f, (b, m, y) => `<a href="https://genome.genpact.com/#aiguru" target="_blank" style="color: blue; text-decoration: underline; cursor:pointer;">${m}</a>`);
244
+ return console.log("aig found"), d.replace(h, (c, f, A) => `<a href="https://genome.genpact.com/#aiguru" target="_blank" style="color: blue; text-decoration: underline; cursor:pointer;">${f}</a>`);
226
245
  } else
227
- return d.replace(f, (b, m, y) => `<a href="${y}" target="_blank" rel="noopener noreferrer" style="color: blue; text-decoration: underline;">${m}</a>`);
246
+ return d.replace(h, (c, f, A) => `<a href="${A}" target="_blank" rel="noopener noreferrer" style="color: blue; text-decoration: underline;">${f}</a>`);
228
247
  });
229
248
  return le(
230
249
  () => s.answer,
@@ -257,68 +276,68 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
257
276
  /Model Solution/g,
258
277
  '<div style="font-size: 16px; font-weight: bold;">Model Solution</div>'
259
278
  );
260
- const f = /\[([^\]]+)\]\((https?:\/\/[^\s]+)\)/g;
261
- d.includes("AI Guru") ? d = d.replace(f, (b, m, y) => `<a href="https://genome.genpact.com/#aiguru" target="_blank" style="color: blue; text-decoration: underline; cursor:pointer;">${m}</a>`) : d = d.replace(f, (b, m, y) => `<a href="${y}" target="_blank" rel="noopener noreferrer" style="color: blue; text-decoration: underline;">${m}</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 && v();
279
+ const h = /\[([^\]]+)\]\((https?:\/\/[^\s]+)\)/g;
280
+ d.includes("AI Guru") ? d = d.replace(h, (c, f, A) => `<a href="https://genome.genpact.com/#aiguru" target="_blank" style="color: blue; text-decoration: underline; cursor:pointer;">${f}</a>`) : d = d.replace(h, (c, f, A) => `<a href="${A}" target="_blank" rel="noopener noreferrer" style="color: blue; text-decoration: underline;">${f}</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, u.showVoiceComponent && x();
262
281
  },
263
282
  { immediate: !0 }
264
- ), le(g, (d) => {
265
- c.question = (d ?? []).join(", ");
266
- }), (d, f) => (l(), r("div", Gt, [
267
- e("div", Ot, [
268
- i(c).simulationSkill === "7bd03cb6-79ad-4e2a-8a8b-88dc16147369" && i(c).showVoiceComponent === !0 && i(c).conversations.length - 1 === s.ansId && !s.answer.includes("BEGIN ROLE PLAY") ? (l(), r("span", {
283
+ ), le(b, (d) => {
284
+ u.question = (d ?? []).join(", ");
285
+ }), (d, h) => (i(), r("div", Ut, [
286
+ e("div", Jt, [
287
+ l(u).simulationSkill === "7bd03cb6-79ad-4e2a-8a8b-88dc16147369" && l(u).showVoiceComponent === !0 && l(u).conversations.length - 1 === s.ansId && !s.answer.includes("BEGIN ROLE PLAY") ? (i(), r("span", {
269
288
  key: 0,
270
289
  class: "fontFormattingAMA answer-link",
271
- innerHTML: _.value
272
- }, null, 8, Xt)) : (l(), r("span", {
290
+ innerHTML: y.value
291
+ }, null, 8, Kt)) : (i(), r("span", {
273
292
  key: 1,
274
293
  class: "fontFormattingAMA answer-link",
275
- innerHTML: p.value
276
- }, null, 8, Wt)),
294
+ innerHTML: g.value
295
+ }, null, 8, Zt)),
277
296
  e("div", null, [
278
- h.optionsArray.length && i(c).mcqType === "multi_choice" ? (l(), r("div", Ut, [
279
- (l(!0), r(fe, null, ge(h.optionsArray, (b, m) => (l(), r("div", {
280
- key: m,
297
+ p.optionsArray.length && l(u).mcqType === "multi_choice" ? (i(), r("div", Yt, [
298
+ (i(!0), r(ve, null, be(p.optionsArray, (c, f) => (i(), r("div", {
299
+ key: f,
281
300
  class: "italic"
282
301
  }, [
283
- e("div", Jt, [
284
- ve(e("input", {
302
+ e("div", es, [
303
+ xe(e("input", {
285
304
  class: "mr-4 cursor-pointer",
286
305
  type: "checkbox",
287
- value: b,
288
- "onUpdate:modelValue": f[0] || (f[0] = (y) => g.value = y),
289
- disabled: i(c).conversations.length - 1 !== s.ansId,
290
- name: p.value
291
- }, null, 8, Kt), [
292
- [vt, g.value]
306
+ value: c,
307
+ "onUpdate:modelValue": h[0] || (h[0] = (A) => b.value = A),
308
+ disabled: l(u).conversations.length - 1 !== s.ansId,
309
+ name: g.value
310
+ }, null, 8, ts), [
311
+ [gt, b.value]
293
312
  ]),
294
- e("label", Zt, H(b), 1)
313
+ e("label", ss, V(c), 1)
295
314
  ])
296
315
  ]))), 128))
297
- ])) : h.optionsArray.length ? (l(), r("div", Yt, [
298
- (l(!0), r(fe, null, ge(h.optionsArray, (b, m) => (l(), r("div", {
299
- key: m,
316
+ ])) : p.optionsArray.length ? (i(), r("div", as, [
317
+ (i(!0), r(ve, null, be(p.optionsArray, (c, f) => (i(), r("div", {
318
+ key: f,
300
319
  class: "italic"
301
320
  }, [
302
- e("div", es, [
321
+ e("div", os, [
303
322
  e("input", {
304
323
  class: "mr-4 cursor-pointer",
305
324
  type: "radio",
306
- onClick: (y) => i(c).question = String(h.optionsArray[m]),
307
- disabled: i(c).conversations.length - 1 !== s.ansId,
308
- name: p.value
309
- }, null, 8, ts),
310
- e("label", ss, H(b), 1)
325
+ onClick: (A) => l(u).question = String(p.optionsArray[f]),
326
+ disabled: l(u).conversations.length - 1 !== s.ansId,
327
+ name: g.value
328
+ }, null, 8, ns),
329
+ e("label", is, V(c), 1)
311
330
  ])
312
331
  ]))), 128))
313
332
  ])) : z("", !0)
314
333
  ]),
315
- a.value && i(c).simulationSkill === "32b7d6d8-f7a8-40a0-ab84-8784f25897ef" ? (l(), r("div", as, is)) : z("", !0),
316
- i(c).isSpeechToggle && i(c).showSelectTypeConvesation && i(c).simulationSkill === "7bd03cb6-79ad-4e2a-8a8b-88dc16147369" && i(c).conversations.length - 1 === s.ansId ? (l(), r("div", ls, [
317
- e("div", rs, [
334
+ a.value && l(u).simulationSkill === "32b7d6d8-f7a8-40a0-ab84-8784f25897ef" ? (i(), r("div", ls, cs)) : z("", !0),
335
+ l(u).isSpeechToggle && l(u).showSelectTypeConvesation && l(u).simulationSkill === "7bd03cb6-79ad-4e2a-8a8b-88dc16147369" && l(u).conversations.length - 1 === s.ansId ? (i(), r("div", us, [
336
+ e("div", ms, [
318
337
  e("button", {
319
338
  type: "button",
320
339
  id: "button",
321
- onClick: f[1] || (f[1] = (b) => A()),
340
+ onClick: h[1] || (h[1] = (c) => _()),
322
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]"
323
342
  }, " Start Conversation ")
324
343
  ])
@@ -327,7 +346,7 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
327
346
  ]));
328
347
  }
329
348
  });
330
- const cs = /* @__PURE__ */ U(ds, [["__scopeId", "data-v-cc5db4a2"]]), us = { class: "flex justify-end items-end py-3" }, ms = { class: "max-w-[80%]" }, hs = { class: "fontFormattingAMA w-fit text-[0.8125rem] md:text-[0.9375rem] text-white bg-genpact-blue-box leading-6 p-3 rounded-lg" }, ps = /* @__PURE__ */ M({
349
+ const ps = /* @__PURE__ */ W(hs, [["__scopeId", "data-v-cc5db4a2"]]), fs = { class: "flex justify-end items-end py-3" }, gs = { class: "max-w-[80%]" }, vs = ["innerHTML"], bs = /* @__PURE__ */ R({
331
350
  __name: "learnerSimulation",
332
351
  props: {
333
352
  question: {
@@ -339,21 +358,24 @@ const cs = /* @__PURE__ */ U(ds, [["__scopeId", "data-v-cc5db4a2"]]), us = { cla
339
358
  default: !0
340
359
  }
341
360
  },
342
- setup(h) {
343
- return (t, s) => (l(), r("div", us, [
344
- e("div", ms, [
345
- e("div", hs, H(h.question), 1)
361
+ setup(p) {
362
+ return (t, s) => (i(), r("div", fs, [
363
+ e("div", gs, [
364
+ e("div", {
365
+ class: "w-fit fontFormattingAMA text-[0.8125rem] md:text-[0.9375rem] text-white bg-genpact-blue-box leading-6 p-3",
366
+ innerHTML: p.question.replace(/\n/g, "<br>")
367
+ }, null, 8, vs)
346
368
  ])
347
369
  ]));
348
370
  }
349
- }), fs = (h) => (Z("data-v-347ad6de"), h = h(), Y(), h), gs = { class: "flex w-full flex-col items-start justify-start bg-white" }, vs = { class: "bot-typing-animation gap-1" }, bs = { class: "block w-full text-lg italic text-gray-800" }, xs = /* @__PURE__ */ fs(() => /* @__PURE__ */ e("span", { class: "dot-animation" }, [
371
+ }), xs = (p) => (K("data-v-347ad6de"), p = p(), Z(), p), ys = { class: "flex w-full flex-col items-start justify-start bg-white" }, ws = { class: "bot-typing-animation gap-1" }, _s = { class: "block w-full text-lg italic text-gray-800" }, As = /* @__PURE__ */ xs(() => /* @__PURE__ */ e("span", { class: "dot-animation" }, [
350
372
  /* @__PURE__ */ e("span", null, "."),
351
373
  /* @__PURE__ */ e("span", null, "."),
352
374
  /* @__PURE__ */ e("span", null, ".")
353
- ], -1)), ys = /* @__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), ws = /* @__PURE__ */ M({
375
+ ], -1)), ks = /* @__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), Ss = /* @__PURE__ */ R({
354
376
  __name: "LoadingResponse",
355
- setup(h) {
356
- const t = u("Generating response"), s = u([
377
+ setup(p) {
378
+ const t = m("Generating response"), s = m([
357
379
  "This may take a few seconds",
358
380
  "Fetching the best response for you",
359
381
  "Thinking... give me a moment",
@@ -363,134 +385,134 @@ const cs = /* @__PURE__ */ U(ds, [["__scopeId", "data-v-cc5db4a2"]]), us = { cla
363
385
  "Compiling a response for you"
364
386
  ]);
365
387
  return setTimeout(() => {
366
- const g = Math.floor(Math.random() * s.value.length);
367
- t.value = s.value[g];
368
- }, 15e3), (g, a) => (l(), r("div", gs, [
369
- e("div", vs, [
370
- e("div", bs, H(t.value), 1),
371
- xs
388
+ const b = Math.floor(Math.random() * s.value.length);
389
+ t.value = s.value[b];
390
+ }, 15e3), (b, a) => (i(), r("div", ys, [
391
+ e("div", ws, [
392
+ e("div", _s, V(t.value), 1),
393
+ As
372
394
  ]),
373
- ys
395
+ ks
374
396
  ]));
375
397
  }
376
398
  });
377
- const _s = /* @__PURE__ */ U(ws, [["__scopeId", "data-v-347ad6de"]]), As = { class: "flex mx-auto justify-end items-end py-3" }, ks = { class: "max-w-[80%]" }, Ss = {
399
+ const Cs = /* @__PURE__ */ W(Ss, [["__scopeId", "data-v-347ad6de"]]), Ns = { class: "flex mx-auto justify-end items-end py-3" }, Ls = { class: "max-w-[80%]" }, Ps = {
378
400
  key: 0,
379
401
  class: "fontFormattingAMA w-fit text-[0.8125rem] md:text-[0.9375rem] text-white bg-genpact-blue-box leading-6 p-3 rounded-lg"
380
- }, Cs = /* @__PURE__ */ M({
402
+ }, Ts = /* @__PURE__ */ R({
381
403
  __name: "QuestionStreaming",
382
- setup(h) {
383
- const t = B();
384
- return (s, g) => (l(), r("div", As, [
385
- e("div", ks, [
386
- i(t).userSpeechText.toLowerCase().includes("play") && i(t).userSpeechText.length < 10 ? z("", !0) : (l(), r("div", Ss, H(i(t).userSpeechText), 1))
404
+ setup(p) {
405
+ const t = H();
406
+ return (s, b) => (i(), r("div", Ns, [
407
+ e("div", Ls, [
408
+ l(t).userSpeechText.toLowerCase().includes("play") && l(t).userSpeechText.length < 10 ? z("", !0) : (i(), r("div", Ps, V(l(t).userSpeechText), 1))
387
409
  ])
388
410
  ]));
389
411
  }
390
- }), Ns = { key: 0 }, Ls = { key: 1 }, Ts = {
412
+ }), Fs = { key: 0 }, zs = { key: 1 }, Ms = {
391
413
  key: 0,
392
414
  class: "flex"
393
- }, Ps = {
415
+ }, Rs = {
394
416
  key: 1,
395
417
  name: "askQuestion"
396
- }, Fs = /* @__PURE__ */ M({
418
+ }, Ds = /* @__PURE__ */ R({
397
419
  __name: "conversationSimulation",
398
- setup(h) {
399
- let t = u(""), s = u("");
420
+ setup(p) {
421
+ let t = m(""), s = m("");
400
422
  t.value = '<a style="color:#00AECF;"', s.value = '<ul style="list-style: disc !important; margin-left: 3.5rem !important; padding: 0;"';
401
- const g = B(), a = u(), c = () => {
423
+ const b = H(), a = m(), u = () => {
402
424
  a.value.scrollTo(0, a.value.scrollHeight);
403
425
  };
404
426
  return de(() => {
405
427
  var o;
406
- const _ = document.getElementsByName("askQuestion"), x = Array.from(_);
407
- _.length && ((o = x == null ? void 0 : x.pop()) == null || o.scrollIntoView({ behavior: "smooth", block: "center" })), window.addEventListener("custom-event", c);
408
- }), bt(() => {
428
+ const y = document.getElementsByName("askQuestion"), v = Array.from(y);
429
+ y.length && ((o = v == null ? void 0 : v.pop()) == null || o.scrollIntoView({ behavior: "smooth", block: "center" })), window.addEventListener("custom-event", u);
430
+ }), vt(() => {
409
431
  var o;
410
- const _ = document.getElementsByName("askQuestion"), x = Array.from(_);
411
- _.length && ((o = x == null ? void 0 : x.pop()) == null || o.scrollIntoView({ behavior: "smooth", block: "center" }));
412
- }), xt(() => {
413
- window.removeEventListener("custom-event", c);
414
- }), (_, x) => (l(), r("div", {
432
+ const y = document.getElementsByName("askQuestion"), v = Array.from(y);
433
+ y.length && ((o = v == null ? void 0 : v.pop()) == null || o.scrollIntoView({ behavior: "smooth", block: "center" }));
434
+ }), bt(() => {
435
+ window.removeEventListener("custom-event", u);
436
+ }), (y, v) => (i(), r("div", {
415
437
  ref_key: "nestedElement",
416
438
  ref: a,
417
439
  class: "smooth-scroll overflow-auto md:px-6 px-2"
418
440
  }, [
419
- F(Vt, {
420
- onCallQuestion: x[0] || (x[0] = (o) => _.$emit("callQuestion"))
441
+ T(Xt, {
442
+ onCallQuestion: v[0] || (v[0] = (o) => y.$emit("callQuestion"))
421
443
  }),
422
- (l(!0), r(fe, null, ge(i(g).conversations, (o, v) => (l(), r("div", { key: v }, [
423
- o.question ? (l(), r("div", Ns, [
424
- F(ps, {
444
+ (i(!0), r(ve, null, be(l(b).conversations, (o, x) => (i(), r("div", { key: x }, [
445
+ o.question ? (i(), r("div", Fs, [
446
+ T(bs, {
425
447
  question: o == null ? void 0 : o.question,
426
448
  c2question: o == null ? void 0 : o.c2question,
427
449
  "show-feedback": o == null ? void 0 : o.showFeedback,
428
- id: `qId${v}`,
450
+ id: `qId${x}`,
429
451
  name: "askQuestion",
430
- "que-id": v
452
+ "que-id": x
431
453
  }, null, 8, ["question", "c2question", "show-feedback", "id", "que-id"])
432
454
  ])) : z("", !0),
433
- o.answer ? (l(), r("div", Ls, [
434
- F(cs, {
455
+ o.answer ? (i(), r("div", zs, [
456
+ T(ps, {
435
457
  question: o == null ? void 0 : o.question,
436
458
  c2question: o == null ? void 0 : o.c2question,
437
459
  "show-sources": o == null ? void 0 : o.showSources,
438
460
  questionId: o.id,
439
- answer: o.answer.replaceAll("<a", i(t)).replaceAll("<ul", i(s)),
461
+ answer: o.answer.replaceAll("<a", l(t)).replaceAll("<ul", l(s)),
440
462
  "show-feedback": o.showFeedback,
441
463
  "related-ques": o == null ? void 0 : o.relatedQues,
442
464
  "options-array": o == null ? void 0 : o.optionsArray,
443
- "ans-id": v,
444
- onCharTyped: c
465
+ "ans-id": x,
466
+ onCharTyped: u
445
467
  }, null, 8, ["question", "c2question", "show-sources", "questionId", "answer", "show-feedback", "related-ques", "options-array", "ans-id"])
446
468
  ])) : z("", !0)
447
469
  ]))), 128)),
448
- i(g).dotLoader ? (l(), r("div", Ts, [
449
- F(_s)
470
+ l(b).dotLoader ? (i(), r("div", Ms, [
471
+ T(Cs)
450
472
  ])) : z("", !0),
451
- i(g).userspeaking ? (l(), r("div", Ps, [
452
- F(Cs)
473
+ l(b).userspeaking ? (i(), r("div", Rs, [
474
+ T(Ts)
453
475
  ])) : z("", !0)
454
476
  ], 512));
455
477
  }
456
478
  });
457
- const zs = /* @__PURE__ */ U(Fs, [["__scopeId", "data-v-c14e6f9c"]]), Rs = { class: "flex items-center gap-4 py-2 rounded-full z-10" }, Ms = {
479
+ const js = /* @__PURE__ */ W(Ds, [["__scopeId", "data-v-c14e6f9c"]]), Es = { class: "flex items-center gap-4 py-2 rounded-full z-10" }, Is = {
458
480
  key: 0,
459
481
  class: "flex items-center"
460
- }, js = {
482
+ }, qs = {
461
483
  width: "30",
462
484
  height: "30",
463
485
  viewBox: "0 0 36 24",
464
486
  class: "fill-white",
465
487
  style: { transform: "scaleX(-1)" }
466
- }, Ds = /* @__PURE__ */ re('<rect x="0" y="11" width="2" height="2" rx="1"><animate attributeName="height" values="2;6;2" dur="1s" repeatCount="indefinite" begin="0s"></animate><animate attributeName="y" values="11;9;11" dur="1s" repeatCount="indefinite" begin="0s"></animate></rect><rect x="4" y="10" width="2" height="4" rx="1"><animate attributeName="height" values="4;8;4" dur="1s" repeatCount="indefinite" begin="0.1s"></animate><animate attributeName="y" values="10;8;10" dur="1s" repeatCount="indefinite" begin="0.1s"></animate></rect><rect x="8" y="8" width="2" height="8" rx="1"><animate attributeName="height" values="8;12;8" dur="1s" repeatCount="indefinite" begin="0.2s"></animate><animate attributeName="y" values="8;6;8" dur="1s" repeatCount="indefinite" begin="0.2s"></animate></rect><rect x="12" y="6" width="2" height="12" rx="1"><animate attributeName="height" values="12;16;12" dur="1s" repeatCount="indefinite" begin="0.3s"></animate><animate attributeName="y" values="6;4;6" dur="1s" repeatCount="indefinite" begin="0.3s"></animate></rect><rect x="16" y="4" width="2" height="16" rx="1"><animate attributeName="height" values="16;20;16" dur="1s" repeatCount="indefinite" begin="0.4s"></animate><animate attributeName="y" values="4;2;4" dur="1s" repeatCount="indefinite" begin="0.4s"></animate></rect><rect x="20" y="6" width="2" height="12" rx="1"><animate attributeName="height" values="12;16;12" dur="1s" repeatCount="indefinite" begin="0.5s"></animate><animate attributeName="y" values="6;4;6" dur="1s" repeatCount="indefinite" begin="0.5s"></animate></rect><rect x="24" y="8" width="2" height="8" rx="1"><animate attributeName="height" values="8;12;8" dur="1s" repeatCount="indefinite" begin="0.6s"></animate><animate attributeName="y" values="8;6;8" dur="1s" repeatCount="indefinite" begin="0.6s"></animate></rect><rect x="28" y="10" width="2" height="4" rx="1"><animate attributeName="height" values="4;8;4" dur="1s" repeatCount="indefinite" begin="0.7s"></animate><animate attributeName="y" values="10;8;10" dur="1s" repeatCount="indefinite" begin="0.7s"></animate></rect><rect x="32" y="11" width="2" height="2" rx="1"><animate attributeName="height" values="2;6;2" dur="1s" repeatCount="indefinite" begin="0.8s"></animate><animate attributeName="y" values="11;9;11" dur="1s" repeatCount="indefinite" begin="0.8s"></animate></rect>', 9), qs = [
467
- Ds
468
- ], Es = {
488
+ }, Hs = /* @__PURE__ */ re('<rect x="0" y="11" width="2" height="2" rx="1"><animate attributeName="height" values="2;6;2" dur="1s" repeatCount="indefinite" begin="0s"></animate><animate attributeName="y" values="11;9;11" dur="1s" repeatCount="indefinite" begin="0s"></animate></rect><rect x="4" y="10" width="2" height="4" rx="1"><animate attributeName="height" values="4;8;4" dur="1s" repeatCount="indefinite" begin="0.1s"></animate><animate attributeName="y" values="10;8;10" dur="1s" repeatCount="indefinite" begin="0.1s"></animate></rect><rect x="8" y="8" width="2" height="8" rx="1"><animate attributeName="height" values="8;12;8" dur="1s" repeatCount="indefinite" begin="0.2s"></animate><animate attributeName="y" values="8;6;8" dur="1s" repeatCount="indefinite" begin="0.2s"></animate></rect><rect x="12" y="6" width="2" height="12" rx="1"><animate attributeName="height" values="12;16;12" dur="1s" repeatCount="indefinite" begin="0.3s"></animate><animate attributeName="y" values="6;4;6" dur="1s" repeatCount="indefinite" begin="0.3s"></animate></rect><rect x="16" y="4" width="2" height="16" rx="1"><animate attributeName="height" values="16;20;16" dur="1s" repeatCount="indefinite" begin="0.4s"></animate><animate attributeName="y" values="4;2;4" dur="1s" repeatCount="indefinite" begin="0.4s"></animate></rect><rect x="20" y="6" width="2" height="12" rx="1"><animate attributeName="height" values="12;16;12" dur="1s" repeatCount="indefinite" begin="0.5s"></animate><animate attributeName="y" values="6;4;6" dur="1s" repeatCount="indefinite" begin="0.5s"></animate></rect><rect x="24" y="8" width="2" height="8" rx="1"><animate attributeName="height" values="8;12;8" dur="1s" repeatCount="indefinite" begin="0.6s"></animate><animate attributeName="y" values="8;6;8" dur="1s" repeatCount="indefinite" begin="0.6s"></animate></rect><rect x="28" y="10" width="2" height="4" rx="1"><animate attributeName="height" values="4;8;4" dur="1s" repeatCount="indefinite" begin="0.7s"></animate><animate attributeName="y" values="10;8;10" dur="1s" repeatCount="indefinite" begin="0.7s"></animate></rect><rect x="32" y="11" width="2" height="2" rx="1"><animate attributeName="height" values="2;6;2" dur="1s" repeatCount="indefinite" begin="0.8s"></animate><animate attributeName="y" values="11;9;11" dur="1s" repeatCount="indefinite" begin="0.8s"></animate></rect>', 9), Bs = [
489
+ Hs
490
+ ], $s = {
469
491
  key: 1,
470
492
  class: "flex items-center"
471
- }, Is = {
493
+ }, Vs = {
472
494
  width: "30",
473
495
  height: "30",
474
496
  viewBox: "0 0 36 24",
475
497
  class: "fill-white",
476
498
  style: { transform: "scaleX(-1)" }
477
- }, Hs = /* @__PURE__ */ re('<rect x="0" y="11" width="2" height="2" rx="1"><animate attributeName="height" values="2;6;2" dur="1s" repeatCount="indefinite" begin="0s"></animate><animate attributeName="y" values="11;9;11" dur="1s" repeatCount="indefinite" begin="0s"></animate></rect><rect x="4" y="10" width="2" height="4" rx="1"><animate attributeName="height" values="4;8;4" dur="1s" repeatCount="indefinite" begin="0.1s"></animate><animate attributeName="y" values="10;8;10" dur="1s" repeatCount="indefinite" begin="0.1s"></animate></rect><rect x="8" y="8" width="2" height="8" rx="1"><animate attributeName="height" values="8;12;8" dur="1s" repeatCount="indefinite" begin="0.2s"></animate><animate attributeName="y" values="8;6;8" dur="1s" repeatCount="indefinite" begin="0.2s"></animate></rect><rect x="12" y="6" width="2" height="12" rx="1"><animate attributeName="height" values="12;16;12" dur="1s" repeatCount="indefinite" begin="0.3s"></animate><animate attributeName="y" values="6;4;6" dur="1s" repeatCount="indefinite" begin="0.3s"></animate></rect><rect x="16" y="4" width="2" height="16" rx="1"><animate attributeName="height" values="16;20;16" dur="1s" repeatCount="indefinite" begin="0.4s"></animate><animate attributeName="y" values="4;2;4" dur="1s" repeatCount="indefinite" begin="0.4s"></animate></rect><rect x="20" y="6" width="2" height="12" rx="1"><animate attributeName="height" values="12;16;12" dur="1s" repeatCount="indefinite" begin="0.5s"></animate><animate attributeName="y" values="6;4;6" dur="1s" repeatCount="indefinite" begin="0.5s"></animate></rect><rect x="24" y="8" width="2" height="8" rx="1"><animate attributeName="height" values="8;12;8" dur="1s" repeatCount="indefinite" begin="0.6s"></animate><animate attributeName="y" values="8;6;8" dur="1s" repeatCount="indefinite" begin="0.6s"></animate></rect><rect x="28" y="10" width="2" height="4" rx="1"><animate attributeName="height" values="4;8;4" dur="1s" repeatCount="indefinite" begin="0.7s"></animate><animate attributeName="y" values="10;8;10" dur="1s" repeatCount="indefinite" begin="0.7s"></animate></rect><rect x="32" y="11" width="2" height="2" rx="1"><animate attributeName="height" values="2;6;2" dur="1s" repeatCount="indefinite" begin="0.8s"></animate><animate attributeName="y" values="11;9;11" dur="1s" repeatCount="indefinite" begin="0.8s"></animate></rect>', 9), Bs = [
478
- Hs
479
- ], $s = {
499
+ }, Qs = /* @__PURE__ */ re('<rect x="0" y="11" width="2" height="2" rx="1"><animate attributeName="height" values="2;6;2" dur="1s" repeatCount="indefinite" begin="0s"></animate><animate attributeName="y" values="11;9;11" dur="1s" repeatCount="indefinite" begin="0s"></animate></rect><rect x="4" y="10" width="2" height="4" rx="1"><animate attributeName="height" values="4;8;4" dur="1s" repeatCount="indefinite" begin="0.1s"></animate><animate attributeName="y" values="10;8;10" dur="1s" repeatCount="indefinite" begin="0.1s"></animate></rect><rect x="8" y="8" width="2" height="8" rx="1"><animate attributeName="height" values="8;12;8" dur="1s" repeatCount="indefinite" begin="0.2s"></animate><animate attributeName="y" values="8;6;8" dur="1s" repeatCount="indefinite" begin="0.2s"></animate></rect><rect x="12" y="6" width="2" height="12" rx="1"><animate attributeName="height" values="12;16;12" dur="1s" repeatCount="indefinite" begin="0.3s"></animate><animate attributeName="y" values="6;4;6" dur="1s" repeatCount="indefinite" begin="0.3s"></animate></rect><rect x="16" y="4" width="2" height="16" rx="1"><animate attributeName="height" values="16;20;16" dur="1s" repeatCount="indefinite" begin="0.4s"></animate><animate attributeName="y" values="4;2;4" dur="1s" repeatCount="indefinite" begin="0.4s"></animate></rect><rect x="20" y="6" width="2" height="12" rx="1"><animate attributeName="height" values="12;16;12" dur="1s" repeatCount="indefinite" begin="0.5s"></animate><animate attributeName="y" values="6;4;6" dur="1s" repeatCount="indefinite" begin="0.5s"></animate></rect><rect x="24" y="8" width="2" height="8" rx="1"><animate attributeName="height" values="8;12;8" dur="1s" repeatCount="indefinite" begin="0.6s"></animate><animate attributeName="y" values="8;6;8" dur="1s" repeatCount="indefinite" begin="0.6s"></animate></rect><rect x="28" y="10" width="2" height="4" rx="1"><animate attributeName="height" values="4;8;4" dur="1s" repeatCount="indefinite" begin="0.7s"></animate><animate attributeName="y" values="10;8;10" dur="1s" repeatCount="indefinite" begin="0.7s"></animate></rect><rect x="32" y="11" width="2" height="2" rx="1"><animate attributeName="height" values="2;6;2" dur="1s" repeatCount="indefinite" begin="0.8s"></animate><animate attributeName="y" values="11;9;11" dur="1s" repeatCount="indefinite" begin="0.8s"></animate></rect>', 9), Gs = [
500
+ Qs
501
+ ], Os = {
480
502
  key: 2,
481
503
  class: "flex items-center"
482
- }, Vs = /* @__PURE__ */ re('<svg width="30" height="30" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="12" y="16" width="40" height="32" rx="8" fill="white" stroke="#9CA3AF" stroke-width="2"></rect><circle cx="24" cy="32" r="4" fill="black"></circle><circle cx="40" cy="32" r="4" fill="black"></circle><line x1="32" y1="10" x2="32" y2="16" stroke="#9CA3AF" stroke-width="2"></line><circle cx="32" cy="8" r="2" fill="white"></circle><circle cx="52" cy="14" r="3" fill="white"><animate attributeName="opacity" values="0;1;0" dur="1.2s" begin="0s" repeatCount="indefinite"></animate></circle><circle cx="58" cy="10" r="2.5" fill="white"><animate attributeName="opacity" values="0;1;0" dur="1.2s" begin="0.2s" repeatCount="indefinite"></animate></circle><circle cx="63" cy="6" r="2" fill="white"><animate attributeName="opacity" values="0;1;0" dur="1.2s" begin="0.4s" repeatCount="indefinite"></animate></circle></svg>', 1), Qs = [
483
- Vs
484
- ], Gs = { class: "tooltiptext text-genpact-darkest-teal" }, Os = /* @__PURE__ */ e("svg", {
504
+ }, Xs = /* @__PURE__ */ re('<svg width="30" height="30" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="12" y="16" width="40" height="32" rx="8" fill="white" stroke="#9CA3AF" stroke-width="2"></rect><circle cx="24" cy="32" r="4" fill="black"></circle><circle cx="40" cy="32" r="4" fill="black"></circle><line x1="32" y1="10" x2="32" y2="16" stroke="#9CA3AF" stroke-width="2"></line><circle cx="32" cy="8" r="2" fill="white"></circle><circle cx="52" cy="14" r="3" fill="white"><animate attributeName="opacity" values="0;1;0" dur="1.2s" begin="0s" repeatCount="indefinite"></animate></circle><circle cx="58" cy="10" r="2.5" fill="white"><animate attributeName="opacity" values="0;1;0" dur="1.2s" begin="0.2s" repeatCount="indefinite"></animate></circle><circle cx="63" cy="6" r="2" fill="white"><animate attributeName="opacity" values="0;1;0" dur="1.2s" begin="0.4s" repeatCount="indefinite"></animate></circle></svg>', 1), Ws = [
505
+ Xs
506
+ ], Us = { class: "tooltiptext text-genpact-darkest-teal" }, Js = /* @__PURE__ */ e("svg", {
485
507
  xmlns: "http://www.w3.org/2000/svg",
486
508
  class: "h-[10px] w-[10px] text-gray-700",
487
509
  fill: "currentColor",
488
510
  viewBox: "0 0 24 24"
489
511
  }, [
490
512
  /* @__PURE__ */ e("path", { d: "M12 14a3 3 0 0 0 3-3V5a3 3 0 0 0-6 0v6a3 3 0 0 0 3 3zm5-3a5 5 0 0 1-10 0H5a7 7 0 0 0 14 0h-2zm-5 9a7 7 0 0 0 7-7h2a9 9 0 0 1-8 8.94V22h-2v-1.06A9 9 0 0 1 3 13h2a7 7 0 0 0 7 7z" })
491
- ], -1), Xs = [
492
- Os
493
- ], Ws = /* @__PURE__ */ e("svg", {
513
+ ], -1), Ks = [
514
+ Js
515
+ ], Zs = /* @__PURE__ */ e("svg", {
494
516
  xmlns: "http://www.w3.org/2000/svg",
495
517
  class: "h-[10px] w-[10px] text-gray-700",
496
518
  fill: "currentColor",
@@ -505,146 +527,145 @@ const zs = /* @__PURE__ */ U(Fs, [["__scopeId", "data-v-c14e6f9c"]]), Rs = { cla
505
527
  stroke: "currentColor",
506
528
  "stroke-width": "2"
507
529
  })
508
- ], -1), Us = [
509
- Ws
510
- ], Js = /* @__PURE__ */ M({
530
+ ], -1), Ys = [
531
+ Zs
532
+ ], ea = /* @__PURE__ */ R({
511
533
  __name: "NewVoiceConversation",
512
- setup(h) {
513
- const t = B(), s = ce(), g = u(""), a = u(!1), c = u("Turn on mic"), _ = () => {
514
- a.value === !1 ? t.elevenLabs ? (console.log("mic enabled true 11labs"), a.value = !0, wt(), D.value = "user", c.value = "Turn off mic") : (console.log("mic enabled true"), a.value = !0, it(), _t(), D.value = "user", c.value = "Turn off mic") : t.elevenLabs ? (console.log("mic enabled false"), ot(), a.value = !1, c.value = "Turn on mic") : (console.log("mic enabled false"), he(), a.value = !1, c.value = "Turn on mic");
515
- }, x = () => {
516
- t.elevenLabs ? (console.log("closeConversation 11 labs"), ot(), D.value = "none", a.value = !1) : (console.log("closeConversation"), he(), it(), D.value = "none", a.value = !1);
534
+ setup(p) {
535
+ const t = H(), s = ce(), b = m(""), a = m(!1), u = m("Turn on mic"), y = () => {
536
+ a.value === !1 ? t.elevenLabs ? (console.log("mic enabled true 11labs"), a.value = !0, _t(), j.value = "user", u.value = "Turn off mic") : (console.log("mic enabled true"), a.value = !0, rt(), At(), j.value = "user", u.value = "Turn off mic") : t.elevenLabs ? (console.log("mic enabled false"), it(), a.value = !1, u.value = "Turn on mic") : (console.log("mic enabled false"), he(), a.value = !1, u.value = "Turn on mic");
537
+ }, v = () => {
538
+ t.elevenLabs ? (console.log("closeConversation 11 labs"), it(), j.value = "none", a.value = !1) : (console.log("closeConversation"), he(), rt(), j.value = "none", a.value = !1);
517
539
  }, o = async () => {
518
- var v, A, p, d, f, b;
540
+ var x, _, g, d, h, c;
519
541
  try {
520
- const m = {
521
- question: G.value || ie.value
542
+ const f = {
543
+ question: G.value || ne.value
522
544
  };
523
- t.conversations.push(m), t.dotLoader = !0, t.question = "";
524
- const y = {
545
+ t.conversations.push(f), t.dotLoader = !0, t.question = "";
546
+ const A = {
525
547
  past_messages: t.past_messages,
526
- question: G.value || ie.value,
548
+ question: G.value || ne.value,
527
549
  bandCode: "4A",
528
550
  userGenomeFunction: "HR",
529
551
  userGenomeRole: "Consultant",
530
552
  skillId: "7bd03cb6-79ad-4e2a-8a8b-88dc16147369"
531
- }, P = await K("/sqlTest", y);
532
- if (D.value = "bot", g.value = (A = (v = P == null ? void 0 : P.data) == null ? void 0 : v.body) == null ? void 0 : A.answer, g.value === "") {
553
+ }, F = await J("/sqlTest", A);
554
+ if (j.value = "bot", b.value = (_ = (x = F == null ? void 0 : F.data) == null ? void 0 : x.body) == null ? void 0 : _.answer, b.value === "") {
533
555
  console.log("in the if case calling api again");
534
- const q = await K("/sqlTest", y);
535
- t.addConversation((p = q.data) == null ? void 0 : p.body, "new");
556
+ const E = await J("/sqlTest", A);
557
+ t.addConversation((g = E.data) == null ? void 0 : g.body, "new");
536
558
  } else
537
- console.log("in the else case"), t.addConversation((d = P.data) == null ? void 0 : d.body, "new");
559
+ console.log("in the else case"), t.addConversation((d = F.data) == null ? void 0 : d.body, "new");
538
560
  if (t.dotLoader = !1, t.elevenLabs)
539
- await At(g.value.replace(/[*#]/g, ""));
540
- else if (g.value.includes("Feedback and Assessment"))
541
- if (he(), a.value = !1, g.value.includes("END ROLE PLAY")) {
542
- const q = g.value.split("END ROLE PLAY")[0];
543
- if (q.length < 0) {
561
+ await kt(b.value.replace(/[*#]/g, ""));
562
+ else if (b.value.includes("Feedback and Assessment"))
563
+ if (he(), a.value = !1, b.value.includes("END ROLE PLAY")) {
564
+ const E = b.value.split("END ROLE PLAY")[0];
565
+ if (E.length < 0) {
544
566
  t.showVoiceComponent = !1;
545
567
  return;
546
568
  }
547
- await nt(q.replace(/[*#]/g, "")), t.showVoiceComponent = !1;
569
+ await lt(E.replace(/[*#]/g, "")), t.showVoiceComponent = !1;
548
570
  } else
549
571
  t.showVoiceComponent = !1;
550
572
  else
551
- await nt(g.value.replace(/[*#]/g, ""));
552
- } catch (m) {
553
- if (console.error(m), V.isAxiosError(m)) {
554
- const y = m;
555
- console.log("Error found!"), console.error((f = y.response) == null ? void 0 : f.data), s.setError(((b = y.response) == null ? void 0 : b.data).message);
573
+ await lt(b.value.replace(/[*#]/g, ""));
574
+ } catch (f) {
575
+ if (console.error(f), $.isAxiosError(f)) {
576
+ const A = f;
577
+ console.log("Error found!"), console.error((h = A.response) == null ? void 0 : h.data), s.setError(((c = A.response) == null ? void 0 : c.data).message);
556
578
  } else
557
579
  s.setError("There was an issue, please contact helpmate");
558
580
  }
559
581
  };
560
- return le(G, async (v) => {
561
- if (v) {
562
- if (console.log("Recognized text:", v), G.value.toLowerCase().includes("play") && G.value.length < 10) {
582
+ return le(G, async (x) => {
583
+ if (x) {
584
+ if (console.log("Recognized text:", x), G.value.toLowerCase().includes("play") && G.value.length < 10) {
563
585
  console.log("play command detected, ignoring input");
564
586
  return;
565
587
  }
566
- D.value = "listening", t.userspeaking = !1, await o(), G.value = "";
588
+ j.value = "listening", t.userspeaking = !1, await o(), G.value = "";
567
589
  }
568
- }), le(ie, async (v) => {
569
- v && (console.log("Recognized text:", v), D.value = "listening", await o(), ie.value = "");
570
- }), (v, A) => (l(), r("div", Rs, [
571
- i(D) === "bot" ? (l(), r("div", Ms, [
590
+ }), le(ne, async (x) => {
591
+ x && (console.log("Recognized text:", x), j.value = "listening", await o(), ne.value = "");
592
+ }), (x, _) => (i(), r("div", Es, [
593
+ l(j) === "bot" ? (i(), r("div", Is, [
572
594
  e("span", null, [
573
- (l(), r("svg", js, qs))
595
+ (i(), r("svg", qs, Bs))
574
596
  ])
575
- ])) : i(D) === "user" ? (l(), r("div", Es, [
597
+ ])) : l(j) === "user" ? (i(), r("div", $s, [
576
598
  e("span", null, [
577
- (l(), r("svg", Is, Bs))
599
+ (i(), r("svg", Vs, Gs))
578
600
  ])
579
- ])) : i(D) === "listening" ? (l(), r("div", $s, Qs)) : z("", !0),
601
+ ])) : l(j) === "listening" ? (i(), r("div", Os, Ws)) : z("", !0),
580
602
  e("div", {
581
- class: W([a.value ? "" : "animate-pulse", "tooltip"])
603
+ class: X([a.value ? "" : "animate-pulse", "tooltip"])
582
604
  }, [
583
- e("span", Gs, H(c.value), 1),
584
- a.value ? (l(), r("button", {
605
+ e("span", Us, V(u.value), 1),
606
+ a.value ? (i(), r("button", {
585
607
  key: 0,
586
608
  class: "rounded-full bg-white p-2 transition hover:bg-gray-300",
587
- onClick: A[0] || (A[0] = (p) => _())
588
- }, Xs)) : (l(), r("button", {
609
+ onClick: _[0] || (_[0] = (g) => y())
610
+ }, Ks)) : (i(), r("button", {
589
611
  key: 1,
590
612
  class: "rounded-full bg-white p-2 transition hover:bg-gray-300",
591
- onClick: A[1] || (A[1] = (p) => _())
592
- }, Us))
613
+ onClick: _[1] || (_[1] = (g) => y())
614
+ }, Ys))
593
615
  ], 2),
594
616
  e("button", {
595
617
  class: "rounded-full bg-white p-2 hover:bg-gray-300",
596
- onClick: A[2] || (A[2] = (p) => x())
618
+ onClick: _[2] || (_[2] = (g) => v())
597
619
  }, [
598
- F(i(kt), { class: "h-[10px] w-[10px] text-gray-700" })
620
+ T(l(St), { class: "h-[10px] w-[10px] text-gray-700" })
599
621
  ])
600
622
  ]));
601
623
  }
602
- }), $ = (h) => (Z("data-v-3e7d283f"), h = h(), Y(), h), Ks = { class: "z-3 absolute bottom-0 mt-4 w-full bg-white px-2 md:px-6" }, Zs = { class: "py-2" }, Ys = { class: "flex" }, ea = { class: "z-1 relative w-full" }, ta = { class: "flex justify-between my-2 w-full" }, sa = /* @__PURE__ */ $(() => /* @__PURE__ */ e("div", null, null, -1)), aa = {
624
+ }), B = (p) => (K("data-v-bc339815"), p = p(), Z(), p), ta = { class: "z-3 absolute bottom-0 mt-4 w-full bg-white px-2 md:px-6" }, sa = { class: "py-2" }, aa = { class: "flex" }, oa = { class: "z-1 relative w-full" }, na = { class: "flex justify-between my-2 w-full" }, ia = /* @__PURE__ */ B(() => /* @__PURE__ */ e("div", null, null, -1)), la = {
603
625
  key: 0,
604
626
  class: "flex justify-center bg-genpact-darkest-blue px-4 rounded-full"
605
- }, oa = { class: "relative w-full" }, na = { class: "absolute inset-y-0 left-0 flex items-center pl-3" }, ia = { class: "tooltip" }, la = /* @__PURE__ */ $(() => /* @__PURE__ */ e("span", { class: "tooltiptext text-genpact-darkest-teal" }, "Restart", -1)), ra = /* @__PURE__ */ $(() => /* @__PURE__ */ e("path", {
627
+ }, ra = { class: "relative w-full" }, da = { class: "absolute inset-y-0 left-0 flex items-center pl-3" }, ca = { class: "tooltip" }, ua = /* @__PURE__ */ B(() => /* @__PURE__ */ e("span", { class: "tooltiptext text-genpact-darkest-teal" }, "Restart", -1)), ma = /* @__PURE__ */ B(() => /* @__PURE__ */ e("path", {
606
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",
607
629
  stroke: "currentColor",
608
630
  "stroke-width": "2"
609
- }, null, -1)), da = /* @__PURE__ */ $(() => /* @__PURE__ */ e("path", {
631
+ }, null, -1)), ha = /* @__PURE__ */ B(() => /* @__PURE__ */ e("path", {
610
632
  d: "M9 10H15M9 14H12M19 8V2M16 5H22",
611
633
  stroke: "currentColor",
612
634
  "stroke-width": "2",
613
635
  "stroke-linecap": "round",
614
636
  "stroke-linejoin": "round"
615
- }, null, -1)), ca = [
616
- ra,
617
- da
618
- ], ua = { class: "absolute inset-y-0 right-0 flex items-center md:pr-8 pr-3" }, ma = { key: 0 }, ha = ["disabled"], pa = /* @__PURE__ */ $(() => /* @__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)), fa = [
619
- pa
620
- ], ga = {
637
+ }, null, -1)), pa = [
638
+ ma,
639
+ ha
640
+ ], fa = { class: "absolute inset-y-0 right-0 flex items-center md:pr-8 pr-3" }, ga = { key: 0 }, va = ["disabled"], ba = /* @__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)), xa = [
641
+ ba
642
+ ], ya = {
621
643
  key: 1,
622
644
  class: "tooltip"
623
- }, va = /* @__PURE__ */ $(() => /* @__PURE__ */ e("span", { class: "tooltiptext text-genpact-darkest-teal" }, "Processing", -1)), ba = /* @__PURE__ */ $(() => /* @__PURE__ */ e("img", {
645
+ }, wa = /* @__PURE__ */ B(() => /* @__PURE__ */ e("span", { class: "tooltiptext text-genpact-darkest-teal" }, "Processing", -1)), _a = /* @__PURE__ */ B(() => /* @__PURE__ */ e("img", {
624
646
  class: "w-7 h-7",
625
- src: lt,
647
+ src: dt,
626
648
  alt: "watingIcon"
627
- }, null, -1)), xa = [
628
- va,
629
- ba
630
- ], ya = { class: "flex justify-start gap-2 md:gap-1" }, wa = ["disabled"], _a = /* @__PURE__ */ $(() => /* @__PURE__ */ e("div", { class: "pt-1 text-start font-sans text-xs font-bold text-gray-500 md:text-sm" }, [
649
+ }, null, -1)), Aa = [
650
+ wa,
651
+ _a
652
+ ], ka = { class: "flex justify-start gap-2 md:gap-1" }, Sa = ["disabled"], Ca = /* @__PURE__ */ B(() => /* @__PURE__ */ e("div", { class: "pt-1 text-start font-sans text-xs font-bold text-gray-500 md:text-sm" }, [
631
653
  /* @__PURE__ */ e("div", null, " Note: AI-generated response may not be fully accurate; check with experts for critical information. ")
632
- ], -1)), Aa = /* @__PURE__ */ M({
654
+ ], -1)), Na = /* @__PURE__ */ R({
633
655
  __name: "NewQuestionSimulation",
634
- setup(h, { expose: t }) {
635
- const s = B(), g = ce(), a = u(""), c = u("");
656
+ setup(p, { expose: t }) {
657
+ const s = H(), b = ce(), a = m(""), u = m("");
636
658
  s.question = "";
637
- const _ = u(null), x = u(!1), o = u(O), v = u(!1), A = u(0);
638
- c.value = s.recognizedText, de(() => {
639
- _.value.focus();
659
+ const y = m(null);
660
+ m(!1), m(ie);
661
+ const v = m(!1), o = m(0);
662
+ u.value = s.recognizedText, de(() => {
663
+ y.value.focus();
640
664
  });
641
- const p = () => {
665
+ const x = () => {
642
666
  window.location.reload();
643
- }, d = (b) => {
644
- const m = b.length;
645
- o.value = O - m, x.value = m >= O;
646
- }, f = async () => {
647
- var b, m, y, P, q, te, se, ae, oe, ne;
667
+ }, _ = async () => {
668
+ var h, c, f, A, F, E, ee, te, se, ae, oe;
648
669
  try {
649
670
  if (s.question.trim().length < 1) {
650
671
  console.log("Please enter answer!");
@@ -655,9 +676,9 @@ const zs = /* @__PURE__ */ U(Fs, [["__scopeId", "data-v-c14e6f9c"]]), Rs = { cla
655
676
  question: s.question || s.recognizedText
656
677
  };
657
678
  s.conversations.push(C);
658
- const N = u("");
659
- N.value = s.question || s.recognizedText, s.question = "";
660
- const R = {
679
+ const N = m("");
680
+ N.value = s.question || s.recognizedText, s.question = "", y.value && (y.value.style.height = "auto");
681
+ const M = {
661
682
  ohr_id: a.value,
662
683
  past_messages: s.past_messages,
663
684
  question: N.value || s.recognizedText,
@@ -665,38 +686,43 @@ const zs = /* @__PURE__ */ U(Fs, [["__scopeId", "data-v-c14e6f9c"]]), Rs = { cla
665
686
  userGenomeFunction: s.genomeFunctionValue,
666
687
  userGenomeRole: s.genomeRoleValue,
667
688
  skillId: s.simulationSkill || "937e84ef-e95d-4327-9afe-e7be2bf420eb"
668
- }, L = await K("/sqlTest", R);
669
- if (A.value += (m = (b = L.data) == null ? void 0 : b.body) == null ? void 0 : m.totalTokenCount, console.log("Token Count:", A.value), a.value = (P = (y = L.data) == null ? void 0 : y.body) == null ? void 0 : P.ohr, ((te = (q = L == null ? void 0 : L.data) == null ? void 0 : q.body) == null ? void 0 : te.answer) === "") {
689
+ }, L = await J("/sqlTest", M);
690
+ if (o.value += (c = (h = L.data) == null ? void 0 : h.body) == null ? void 0 : c.totalTokenCount, console.log("Token Count:", o.value), a.value = (A = (f = L.data) == null ? void 0 : f.body) == null ? void 0 : A.ohr, ((E = (F = L == null ? void 0 : L.data) == null ? void 0 : F.body) == null ? void 0 : E.answer) === "") {
670
691
  console.log("in the if case calling api again");
671
- const j = await K("/sqlTest", R);
672
- s.addConversation((se = j.data) == null ? void 0 : se.body, "new");
692
+ const D = await J("/sqlTest", M);
693
+ s.addConversation((ee = D.data) == null ? void 0 : ee.body, "new");
673
694
  } else
674
- console.log("in the else case"), s.addConversation((ae = L.data) == null ? void 0 : ae.body, "new");
695
+ console.log("in the else case"), s.addConversation((te = L.data) == null ? void 0 : te.body, "new");
675
696
  v.value = !1, s.dotLoader = !1, s.recognizedText = "";
676
697
  } catch (C) {
677
- if (console.error(C), s.dotLoader = !1, V.isAxiosError(C)) {
698
+ if (console.error(C), s.dotLoader = !1, v.value = !0, $.isAxiosError(C)) {
678
699
  const N = C;
679
- console.log("Error found!"), console.error((oe = N.response) == null ? void 0 : oe.data), g.setError(((ne = N.response) == null ? void 0 : ne.data).message);
700
+ console.log("Error found!"), console.error((se = N.response) == null ? void 0 : se.data), b.setError((oe = (ae = N.response) == null ? void 0 : ae.data) == null ? void 0 : oe.message);
680
701
  } else
681
- g.setError("There was an issue, please contact helpmate");
702
+ b.setError("There was an issue, please contact helpmate");
682
703
  }
704
+ }, g = (h) => {
705
+ h.key === "Enter" && !h.shiftKey && (h.preventDefault(), _());
706
+ }, d = (h) => {
707
+ const c = h.target;
708
+ c.style.height = "auto", c.style.height = c.scrollHeight + "px";
683
709
  };
684
- return t({ sendQuestion: f }), (b, m) => (l(), r("div", Ks, [
685
- e("div", Zs, [
686
- e("div", Ys, [
687
- e("div", ea, [
688
- e("div", ta, [
689
- sa,
690
- i(s).showVoiceComponent ? (l(), r("div", aa, [
691
- F(Js)
710
+ return t({ sendQuestion: _ }), (h, c) => (i(), r("div", ta, [
711
+ e("div", sa, [
712
+ e("div", aa, [
713
+ e("div", oa, [
714
+ e("div", na, [
715
+ ia,
716
+ l(s).showVoiceComponent ? (i(), r("div", la, [
717
+ T(ea)
692
718
  ])) : z("", !0)
693
719
  ]),
694
- e("div", oa, [
695
- e("div", na, [
696
- e("div", ia, [
697
- la,
698
- (l(), r("svg", {
699
- onClick: p,
720
+ e("div", ra, [
721
+ e("div", da, [
722
+ e("div", ca, [
723
+ ua,
724
+ (i(), r("svg", {
725
+ onClick: x,
700
726
  class: "ml-2 h-7 w-7 rounded",
701
727
  id: "newTopicDisable",
702
728
  width: "7",
@@ -705,96 +731,97 @@ const zs = /* @__PURE__ */ U(Fs, [["__scopeId", "data-v-c14e6f9c"]]), Rs = { cla
705
731
  fill: "none",
706
732
  xmlns: "http://www.w3.org/2000/svg",
707
733
  title: "restart"
708
- }, ca))
734
+ }, pa))
709
735
  ])
710
736
  ]),
711
- e("div", ua, [
712
- v.value ? (l(), r("div", ga, xa)) : (l(), r("div", ma, [
713
- (l(), r("svg", {
714
- disabled: i(s).beginFlag === !0,
715
- class: W([
716
- i(s).beginFlag === !0 ? "cursor-not-allowed text-gray-600" : "cursor-pointer",
737
+ e("div", fa, [
738
+ v.value ? (i(), r("div", ya, Aa)) : (i(), r("div", ga, [
739
+ (i(), r("svg", {
740
+ disabled: l(s).beginFlag === !0,
741
+ class: X([
742
+ l(s).beginFlag === !0 ? "cursor-not-allowed text-gray-600" : "cursor-pointer",
717
743
  "bi bi-send ml-2 h-7 w-7 rotate-45 rounded"
718
744
  ]),
719
- onClick: m[0] || (m[0] = (y) => i(s).searchBoxdisable === !1 || i(s).beginFlag === !0 ? "" : f()),
745
+ onClick: c[0] || (c[0] = (f) => l(s).searchBoxdisable === !1 || l(s).beginFlag === !0 ? "" : _()),
720
746
  xmlns: "http://www.w3.org/2000/svg",
721
747
  fill: "currentColor",
722
748
  viewBox: "0 0 16 16"
723
- }, fa, 10, ha))
749
+ }, xa, 10, va))
724
750
  ]))
725
751
  ]),
726
- e("div", ya, [
727
- ve(e("input", {
728
- onKeyup: [
729
- m[1] || (m[1] = ut((y) => v.value ? "" : f(), ["enter"])),
730
- m[3] || (m[3] = (y) => d(i(s).question))
731
- ],
732
- disabled: i(s).beginFlag === !0 || i(s).searchBoxdisable === !1,
733
- class: W([
734
- i(s).beginFlag === !0 || i(s).searchBoxdisable === !1 ? "cursor-not-allowed bg-[#e5e7eb]" : "bg-white",
735
- "fontFormattingAMA rounded-lg flex w-full border border-genpact-darkest-teal py-[18px] px-[70px]"
752
+ e("div", ka, [
753
+ xe(e("textarea", {
754
+ onPaste: c[1] || (c[1] = xt(() => {
755
+ }, ["prevent"])),
756
+ onKeydown: c[2] || (c[2] = (f) => v.value ? "" : g(f)),
757
+ disabled: l(s).searchBoxdisable === !1 || l(s).beginFlag === !0,
758
+ "onUpdate:modelValue": c[3] || (c[3] = (f) => l(s).question = f),
759
+ class: X([
760
+ "fontFormattingAMA rounded-lg flex w-full border border-genpact-darkest-teal py-[18px] px-[70px]",
761
+ l(s).beginFlag === !0 || l(s).searchBoxdisable === !1 ? "cursor-not-allowed bg-[#e5e7eb]" : "bg-white"
736
762
  ]),
737
- "onUpdate:modelValue": m[2] || (m[2] = (y) => i(s).question = y),
738
763
  placeholder: "Write your answer here...",
739
- type: "text",
740
764
  ref_key: "AiSearch",
741
- ref: _
742
- }, null, 42, wa), [
743
- [ct, i(s).question]
765
+ ref: y,
766
+ rows: "1",
767
+ onInput: c[4] || (c[4] = (f) => d(f)),
768
+ style: { overflow: "hidden", transition: "height 0.2s" }
769
+ }, null, 42, Sa), [
770
+ [ct, l(s).question]
744
771
  ])
745
772
  ])
746
773
  ]),
747
- _a
774
+ Ca
748
775
  ])
749
776
  ])
750
777
  ])
751
778
  ]));
752
779
  }
753
780
  });
754
- const ka = /* @__PURE__ */ U(Aa, [["__scopeId", "data-v-3e7d283f"]]), ue = (h) => (Z("data-v-6c0980b5"), h = h(), Y(), h), Sa = { class: "z-3 absolute bottom-0 mt-4 w-full bg-white px-2 md:px-6" }, Ca = { class: "py-2" }, Na = { class: "flex" }, La = { class: "z-1 relative w-full" }, Ta = { class: "relative w-full" }, Pa = { class: "absolute inset-y-0 right-0 flex items-center md:pr-8 pr-3" }, Fa = { key: 0 }, za = ["disabled"], Ra = /* @__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)), Ma = [
755
- Ra
756
- ], ja = {
781
+ const La = /* @__PURE__ */ W(Na, [["__scopeId", "data-v-bc339815"]]), ue = (p) => (K("data-v-6c0980b5"), p = p(), Z(), p), Pa = { class: "z-3 absolute bottom-0 mt-4 w-full bg-white px-2 md:px-6" }, Ta = { class: "py-2" }, Fa = { class: "flex" }, za = { class: "z-1 relative w-full" }, Ma = { class: "relative w-full" }, Ra = { class: "absolute inset-y-0 right-0 flex items-center md:pr-8 pr-3" }, Da = { key: 0 }, ja = ["disabled"], Ea = /* @__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)), Ia = [
782
+ Ea
783
+ ], qa = {
757
784
  key: 1,
758
785
  class: "tooltip"
759
- }, Da = /* @__PURE__ */ ue(() => /* @__PURE__ */ e("span", { class: "tooltiptext fontFormattingAMA" }, "Waiting for response", -1)), qa = /* @__PURE__ */ ue(() => /* @__PURE__ */ e("img", {
786
+ }, Ha = /* @__PURE__ */ ue(() => /* @__PURE__ */ e("span", { class: "tooltiptext fontFormattingAMA" }, "Waiting for response", -1)), Ba = /* @__PURE__ */ ue(() => /* @__PURE__ */ e("img", {
760
787
  class: "w-7 h-7",
761
- src: lt,
788
+ src: dt,
762
789
  alt: "watingIcon"
763
- }, null, -1)), Ea = [
764
- Da,
765
- qa
766
- ], Ia = { class: "flex justify-start gap-2 md:gap-1" }, Ha = ["disabled"], Ba = /* @__PURE__ */ ue(() => /* @__PURE__ */ e("div", { class: "pt-1 text-start font-sans text-[0.8125rem] md:text-[0.9375rem] font-bold text-gray-500" }, [
790
+ }, null, -1)), $a = [
791
+ Ha,
792
+ Ba
793
+ ], Va = { class: "flex justify-start gap-2 md:gap-1" }, Qa = ["disabled"], Ga = /* @__PURE__ */ ue(() => /* @__PURE__ */ e("div", { class: "pt-1 text-start font-sans text-[0.8125rem] md:text-[0.9375rem] font-bold text-gray-500" }, [
767
794
  /* @__PURE__ */ e("div", null, " Note: AI-generated response may not be fully accurate; check with experts for critical information. ")
768
- ], -1)), $a = /* @__PURE__ */ M({
795
+ ], -1)), Oa = /* @__PURE__ */ R({
769
796
  __name: "NewMDMQuestionSimulation",
770
- setup(h) {
771
- const t = B(), s = ce(), g = u("");
797
+ setup(p) {
798
+ const t = H(), s = ce(), b = m("");
772
799
  t.question = "";
773
- const a = u(null), c = u(!1), _ = u(O), x = u(!1);
774
- g.value = t.recognizedText, de(() => {
800
+ const a = m(null), u = m(!1), y = m(ie), v = m(!1);
801
+ b.value = t.recognizedText, de(() => {
775
802
  a.value.focus();
776
803
  });
777
- const o = (A) => {
778
- const p = A.length;
779
- _.value = O - p, c.value = p >= O;
780
- }, v = async () => {
781
- var A, p, d;
804
+ const o = (_) => {
805
+ const g = _.length;
806
+ y.value = ie - g, u.value = g >= ie;
807
+ }, x = async () => {
808
+ var _, g, d;
782
809
  console.log("options fdsfdscdzxfsdv", t.recognizedText);
783
810
  try {
784
811
  if (console.log("options fdsfdscdzxfsdv", t.recognizedText), t.question.trim().length < 1) {
785
812
  console.log("Please enter answer!");
786
813
  return;
787
814
  }
788
- x.value = !0, t.dotLoader = !0;
789
- const f = {
815
+ v.value = !0, t.dotLoader = !0;
816
+ const h = {
790
817
  question: t.question || t.recognizedText
791
818
  };
792
- console.log("ques", f), t.conversations.push(f);
793
- const b = u("");
794
- b.value = t.question || t.recognizedText, t.question = "";
795
- const m = {
819
+ console.log("ques", h), t.conversations.push(h);
820
+ const c = m("");
821
+ c.value = t.question || t.recognizedText, t.question = "";
822
+ const f = {
796
823
  assessmentId: t.simulationSkill,
797
- question: b.value,
824
+ question: c.value,
798
825
  past_messages: t.past_messages,
799
826
  prompt: t.generatedPrompt,
800
827
  assessmentType: t.assessmentType,
@@ -805,143 +832,143 @@ const ka = /* @__PURE__ */ U(Aa, [["__scopeId", "data-v-3e7d283f"]]), ue = (h) =
805
832
  storeFinalFeedback: t.storeFinalFeedback,
806
833
  storeFinalScore: t.storeFinalScore
807
834
  };
808
- console.log("Payload for MDM1==> ", m);
809
- let y;
810
- X === "prod" ? y = "/ManualExportActivity" : y = "/fetchCompletionDemo";
811
- const P = await K(y, m);
812
- t.addConversation((A = P.data) == null ? void 0 : A.body, "new"), x.value = !1, t.dotLoader = !1, t.recognizedText = "";
813
- } catch (f) {
814
- if (console.error(f), V.isAxiosError(f)) {
815
- const b = f;
816
- console.log("Error found!"), console.error((p = b.response) == null ? void 0 : p.data), s.setError(((d = b.response) == null ? void 0 : d.data).message);
835
+ console.log("Payload for MDM1==> ", f);
836
+ let A;
837
+ O === "prod" ? A = "/ManualExportActivity" : A = "/fetchCompletionDemo";
838
+ const F = await J(A, f);
839
+ t.addConversation((_ = F.data) == null ? void 0 : _.body, "new"), v.value = !1, t.dotLoader = !1, t.recognizedText = "";
840
+ } catch (h) {
841
+ if (console.error(h), $.isAxiosError(h)) {
842
+ const c = h;
843
+ console.log("Error found!"), console.error((g = c.response) == null ? void 0 : g.data), s.setError(((d = c.response) == null ? void 0 : d.data).message);
817
844
  } else
818
845
  s.setError("There was an issue, please contact helpmate");
819
846
  }
820
847
  };
821
- return (A, p) => (l(), r("div", Sa, [
822
- e("div", Ca, [
823
- e("div", Na, [
824
- e("div", La, [
825
- e("div", Ta, [
826
- e("div", Pa, [
827
- x.value ? (l(), r("div", ja, Ea)) : (l(), r("div", Fa, [
828
- (l(), r("svg", {
829
- disabled: i(t).beginFlag === !0,
830
- class: W([
831
- i(t).beginFlag === !0 ? "cursor-not-allowed text-gray-600" : "cursor-pointer",
848
+ return (_, g) => (i(), r("div", Pa, [
849
+ e("div", Ta, [
850
+ e("div", Fa, [
851
+ e("div", za, [
852
+ e("div", Ma, [
853
+ e("div", Ra, [
854
+ v.value ? (i(), r("div", qa, $a)) : (i(), r("div", Da, [
855
+ (i(), r("svg", {
856
+ disabled: l(t).beginFlag === !0,
857
+ class: X([
858
+ l(t).beginFlag === !0 ? "cursor-not-allowed text-gray-600" : "cursor-pointer",
832
859
  "bi bi-send ml-2 h-7 w-7 rotate-45 rounded"
833
860
  ]),
834
- onClick: p[0] || (p[0] = (d) => i(t).searchBoxdisable === !1 || i(t).beginFlag === !0 ? "" : v()),
861
+ onClick: g[0] || (g[0] = (d) => l(t).searchBoxdisable === !1 || l(t).beginFlag === !0 ? "" : x()),
835
862
  xmlns: "http://www.w3.org/2000/svg",
836
863
  fill: "currentColor",
837
864
  viewBox: "0 0 16 16"
838
- }, Ma, 10, za))
865
+ }, Ia, 10, ja))
839
866
  ]))
840
867
  ]),
841
- e("div", Ia, [
842
- ve(e("input", {
868
+ e("div", Va, [
869
+ xe(e("input", {
843
870
  onKeyup: [
844
- p[1] || (p[1] = ut((d) => x.value ? "" : v(), ["enter"])),
845
- p[3] || (p[3] = (d) => o(i(t).question))
871
+ g[1] || (g[1] = yt((d) => v.value ? "" : x(), ["enter"])),
872
+ g[3] || (g[3] = (d) => o(l(t).question))
846
873
  ],
847
- disabled: i(t).beginFlag === !0 || i(t).searchBoxdisable === !1,
848
- class: W([
849
- i(t).beginFlag === !0 || i(t).searchBoxdisable === !1 ? "cursor-not-allowed bg-[#e5e7eb]" : "bg-white",
874
+ disabled: l(t).beginFlag === !0 || l(t).searchBoxdisable === !1,
875
+ class: X([
876
+ l(t).beginFlag === !0 || l(t).searchBoxdisable === !1 ? "cursor-not-allowed bg-[#e5e7eb]" : "bg-white",
850
877
  "fontFormattingAMA rounded-lg flex w-full border border-genpact-darkest-teal py-[18px] pl-[30px] pr-[70px]"
851
878
  ]),
852
- "onUpdate:modelValue": p[2] || (p[2] = (d) => i(t).question = d),
879
+ "onUpdate:modelValue": g[2] || (g[2] = (d) => l(t).question = d),
853
880
  placeholder: "Write your answer here...",
854
881
  type: "text",
855
882
  ref_key: "AiSearch",
856
883
  ref: a
857
- }, null, 42, Ha), [
858
- [ct, i(t).question]
884
+ }, null, 42, Qa), [
885
+ [ct, l(t).question]
859
886
  ])
860
887
  ])
861
888
  ]),
862
- Ba
889
+ Ga
863
890
  ])
864
891
  ])
865
892
  ])
866
893
  ]));
867
894
  }
868
895
  });
869
- const Va = /* @__PURE__ */ U($a, [["__scopeId", "data-v-6c0980b5"]]), ee = (h) => (Z("data-v-2f3d502d"), h = h(), Y(), h), Qa = { class: "max-h-screen overflow-auto md:p-6 p-3 text-[#161916]" }, Ga = {
896
+ const Xa = /* @__PURE__ */ W(Oa, [["__scopeId", "data-v-6c0980b5"]]), Y = (p) => (K("data-v-2f3d502d"), p = p(), Z(), p), Wa = { class: "max-h-screen overflow-auto md:p-6 p-3 text-[#161916]" }, Ua = {
870
897
  key: 0,
871
898
  class: "flex flex-col items-center justify-center gap-4"
872
- }, Oa = /* @__PURE__ */ ee(() => /* @__PURE__ */ e("div", { class: "text-2xl font-[700]" }, "Assessment Access Required", -1)), Xa = /* @__PURE__ */ ee(() => /* @__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)), Wa = [
873
- Oa,
874
- Xa
875
- ], Ua = {
876
- key: 1,
877
- class: "flex flex-col items-center justify-center gap-4"
878
- }, Ja = /* @__PURE__ */ ee(() => /* @__PURE__ */ e("div", { class: "text-2xl font-[700]" }, "Invalid URL", -1)), Ka = /* @__PURE__ */ ee(() => /* @__PURE__ */ e("h3", { className: "text-lg font-medium my-6 text-center text-gray-500" }, " Invalid URL or assessment not found. Please check the URL or contact support. ", -1)), Za = [
899
+ }, Ja = /* @__PURE__ */ Y(() => /* @__PURE__ */ e("div", { class: "text-2xl font-[700]" }, "Assessment Access Required", -1)), Ka = /* @__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)), Za = [
879
900
  Ja,
880
901
  Ka
881
902
  ], Ya = {
903
+ key: 1,
904
+ class: "flex flex-col items-center justify-center gap-4"
905
+ }, eo = /* @__PURE__ */ Y(() => /* @__PURE__ */ e("div", { class: "text-2xl font-[700]" }, "Invalid URL", -1)), to = /* @__PURE__ */ Y(() => /* @__PURE__ */ e("h3", { className: "text-lg font-medium my-6 text-center text-gray-500" }, " Invalid URL or assessment not found. Please check the URL or contact support. ", -1)), so = [
906
+ eo,
907
+ to
908
+ ], ao = {
882
909
  key: 1,
883
910
  className: "h-screen flex flex-col items-stretch"
884
- }, eo = { class: "z-20" }, to = /* @__PURE__ */ ee(() => /* @__PURE__ */ e("div", { class: "mt-6" }, null, -1)), so = { class: "flex h-full items-stretch overflow-hidden" }, ao = { class: "mx-auto w-11/12 bg-white" }, oo = { class: "relative flex h-full w-full flex-col items-stretch overflow-hidden" }, no = {
911
+ }, oo = { class: "z-20" }, no = /* @__PURE__ */ Y(() => /* @__PURE__ */ e("div", { class: "mt-6" }, null, -1)), io = { class: "flex h-full items-stretch overflow-hidden" }, lo = { class: "mx-auto w-11/12 bg-white" }, ro = { class: "relative flex h-full w-full flex-col items-stretch overflow-hidden" }, co = {
885
912
  key: 0,
886
913
  class: "relative"
887
- }, io = {
914
+ }, uo = {
888
915
  key: 1,
889
916
  class: "relative"
890
- }, lo = /* @__PURE__ */ M({
917
+ }, mo = /* @__PURE__ */ R({
891
918
  __name: "AssessmentSimulation",
892
- setup(h) {
893
- const t = u(!0), s = u(!1), g = u(!1);
894
- u(!1), u(!1);
895
- const a = B(), c = ce(), _ = u(""), x = u(""), o = u(""), v = u(""), A = localStorage.getItem("accessToken");
896
- let p = "";
897
- const d = u("");
898
- let f = "", b = "";
899
- const m = u(), y = u(!1), P = new URL(window.location.href), q = P.searchParams.get("skillId") || P.searchParams.get("assessmentId");
900
- x.value = P.searchParams.get("mode") ?? "", a.simulationSkill = q ?? "";
901
- const te = ["703331197", "703380812", "703331909", "703363051", "703319578"];
919
+ setup(p) {
920
+ const t = m(!0), s = m(!1), b = m(!1);
921
+ m(!1), m(!1);
922
+ const a = H(), u = ce(), y = m(""), v = m(""), o = m(""), x = m(""), _ = localStorage.getItem("accessToken");
923
+ let g = "";
924
+ const d = m("");
925
+ let h = "", c = "";
926
+ const f = m(), A = m(!1), F = new URL(window.location.href), E = F.searchParams.get("skillId") || F.searchParams.get("assessmentId");
927
+ v.value = F.searchParams.get("mode") ?? "", a.simulationSkill = E ?? "";
928
+ const ee = ["703331197", "703380812", "703331909", "703363051", "703319578"];
902
929
  de(async () => {
903
- t.value = !0, await se(), await oe();
930
+ t.value = !0, await te(), await ae();
904
931
  });
905
- const se = async () => {
906
- var C, N, R, L, E, j, I;
932
+ const te = async () => {
933
+ var C, N, M, L, I, D, q;
907
934
  try {
908
935
  const S = await me(
909
936
  `/getLearnerData?forSimulation=true&skillForSimulation=${a.simulationSkill}`
910
937
  );
911
- a.initialize(S.data), a.assessmentQuestion || (console.log("getAssessmentDetails========================>"), await ae()), t.value = !1, a.simulationSkill === "937e84ef-e95d-4327-9afe-e7be2bf420eb" ? a.skillNameForSimulation = "GenpactNext" : a.simulationSkill === "32b7d6d8-f7a8-40a0-ab84-8784f25897ea" || a.simulationSkill === "32b7d6d8-f7a8-40a0-ab84-8784f25897ef" ? a.skillNameForSimulation = "Agentic AI" : a.simulationSkill === "7bd03cb6-79ad-4e2a-8a8b-88dc16147369" ? a.skillNameForSimulation = "Data" : a.simulationSkill === "25f8e44f-b83e-42d6-a168-b0e1fb83b26a" && (a.skillNameForSimulation = "SLDP Simulation");
938
+ a.initialize(S.data), a.assessmentQuestion || (console.log("getAssessmentDetails========================>"), await se()), t.value = !1, a.simulationSkill === "937e84ef-e95d-4327-9afe-e7be2bf420eb" ? a.skillNameForSimulation = "GenpactNext" : a.simulationSkill === "32b7d6d8-f7a8-40a0-ab84-8784f25897ea" || a.simulationSkill === "32b7d6d8-f7a8-40a0-ab84-8784f25897ef" ? a.skillNameForSimulation = "Agentic AI" : a.simulationSkill === "7bd03cb6-79ad-4e2a-8a8b-88dc16147369" ? a.skillNameForSimulation = "Data" : a.simulationSkill === "25f8e44f-b83e-42d6-a168-b0e1fb83b26a" && (a.skillNameForSimulation = "SLDP Simulation");
912
939
  } catch (S) {
913
- if (console.error(S), t.value = !1, V.isAxiosError(S) && ((C = S.response) != null && C.status) || S && typeof S == "object" && "response" in S && S.response && typeof S.response == "object" && "status" in S.response && S.response.status) {
940
+ if (console.error(S), t.value = !1, $.isAxiosError(S) && ((C = S.response) != null && C.status) || S && typeof S == "object" && "response" in S && S.response && typeof S.response == "object" && "status" in S.response && S.response.status) {
914
941
  const k = S;
915
- if (console.log("Error found!"), console.error((N = k.response) == null ? void 0 : N.data), ((R = k.response) == null ? void 0 : R.status) === 424 || ((L = k.response) == null ? void 0 : L.status) === 425 || ((E = k.response) == null ? void 0 : E.status) === 400) {
916
- v.value = (j = k.response) == null ? void 0 : j.status, console.log("errorCode value", v.value), g.value = !0;
942
+ if (console.log("Error found!"), console.error((N = k.response) == null ? void 0 : N.data), ((M = k.response) == null ? void 0 : M.status) === 424 || ((L = k.response) == null ? void 0 : L.status) === 425 || ((I = k.response) == null ? void 0 : I.status) === 400) {
943
+ x.value = (D = k.response) == null ? void 0 : D.status, console.log("errorCode value", x.value), b.value = !0;
917
944
  return;
918
945
  }
919
- c.setError(((I = k.response) == null ? void 0 : I.data).message);
946
+ u.setError(((q = k.response) == null ? void 0 : q.data).message);
920
947
  } else
921
- c.setError("There was an issue, please contact helpmate");
948
+ u.setError("There was an issue, please contact helpmate");
922
949
  }
923
- }, ae = async () => {
924
- var C, N, R, L, E, j, I, S, k, J, be, xe, ye, we, _e, Ae, ke, Se, Ce, Ne, Le, Te, Pe, Fe, ze, Re, Me, je, De, qe, Ee, Ie, He, Be, $e, Ve, Qe, Ge, Oe, Xe, We, Ue, Je, Ke, Ze, Ye, et, tt;
950
+ }, se = async () => {
951
+ var C, N, M, L, I, D, q, S, k, U, ye, we, _e, Ae, ke, Se, Ce, Ne, Le, Pe, Te, Fe, ze, Me, Re, De, je, Ee, Ie, qe, He, Be, $e, Ve, Qe, Ge, Oe, Xe, We, Ue, Je, Ke, Ze, Ye, et, tt, st, at;
925
952
  console.log("Start getAssessmentDetails");
926
953
  try {
927
- X === "prod" ? p = `https://api-v2.genpact.com/api/my-profile/assessment-master/getAssessmentDetailsById?id=${a.simulationSkill}` : p = `https://api-v2-dev.genpact.com/api/my-profile/assessment-master/getAssessmentDetailsById?id=${a.simulationSkill}`;
928
- const n = await me(p);
929
- _.value = (N = (C = n == null ? void 0 : n.data) == null ? void 0 : C.data) == null ? void 0 : N.name, a.skillNameForSimulation = _.value, a.generatedPrompt = (L = (R = n == null ? void 0 : n.data) == null ? void 0 : R.data) == null ? void 0 : L.generatedPrompt, a.assessmentType = (j = (E = n == null ? void 0 : n.data) == null ? void 0 : E.data) == null ? void 0 : j.assessmentType, o.value = (S = (I = n == null ? void 0 : n.data) == null ? void 0 : I.data) == null ? void 0 : S.status, y.value = (J = (k = n == null ? void 0 : n.data) == null ? void 0 : k.data) == null ? void 0 : J.editMode, a.empSeniority = (xe = (be = n == null ? void 0 : n.data) == null ? void 0 : be.data) == null ? void 0 : xe.empSeniority, a.functionRole = (we = (ye = n == null ? void 0 : n.data) == null ? void 0 : ye.data) == null ? void 0 : we.functionRole, f = (Ae = (_e = n == null ? void 0 : n.data) == null ? void 0 : _e.data) == null ? void 0 : Ae.accessBand, b = (Se = (ke = n == null ? void 0 : n.data) == null ? void 0 : ke.data) == null ? void 0 : Se.accessOhrList;
930
- const Q = (Ne = (Ce = n == null ? void 0 : n.data) == null ? void 0 : Ce.data) == null ? void 0 : Ne.createdBy;
931
- if (a.mcqType = (Te = (Le = n == null ? void 0 : n.data) == null ? void 0 : Le.data) == null ? void 0 : Te.mcqTypes, a.storeFinalFeedback = (Fe = (Pe = n == null ? void 0 : n.data) == null ? void 0 : Pe.data) == null ? void 0 : Fe.storeFinalFeedback, a.storeFinalScore = (Re = (ze = n == null ? void 0 : n.data) == null ? void 0 : ze.data) == null ? void 0 : Re.storeFinalScore, o.value === "inactive")
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
+ const n = await me(g);
956
+ y.value = (N = (C = n == null ? void 0 : n.data) == null ? void 0 : C.data) == null ? void 0 : N.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, A.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, c = (Ne = (Ce = n == null ? void 0 : n.data) == null ? void 0 : Ce.data) == null ? void 0 : Ne.accessOhrList;
957
+ const Q = (Pe = (Le = n == null ? void 0 : n.data) == null ? void 0 : Le.data) == null ? void 0 : Pe.createdBy;
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")
932
959
  s.value = !0;
933
960
  else if (o.value === "draft")
934
- x.value !== at.DRAFT && (s.value = !0);
935
- else if (o.value === "active" && y.value && x.value === at.DRAFT) {
936
- X === "prod" ? p = `https://api-v2.genpact.com/api/my-profile/assessment-master/getDraftAssessmentDetailsById?assessmentId=${a.simulationSkill}` : p = `https://api-v2-dev.genpact.com/api/my-profile/assessment-master/getDraftAssessmentDetailsById?assessmentId=${a.simulationSkill}`;
937
- const w = await me(p);
938
- a.generatedPrompt = (je = (Me = w == null ? void 0 : w.data) == null ? void 0 : Me.data) == null ? void 0 : je.generatedPrompt, a.assessmentType = (qe = (De = w == null ? void 0 : w.data) == null ? void 0 : De.data) == null ? void 0 : qe.assessmentType, a.empSeniority = (Ie = (Ee = w == null ? void 0 : w.data) == null ? void 0 : Ee.data) == null ? void 0 : Ie.empSeniority, a.functionRole = (Be = (He = w == null ? void 0 : w.data) == null ? void 0 : He.data) == null ? void 0 : Be.functionRole, a.storeFinalFeedback = (Ve = ($e = w == null ? void 0 : w.data) == null ? void 0 : $e.data) == null ? void 0 : Ve.storeFinalFeedback, a.storeFinalScore = (Ge = (Qe = w == null ? void 0 : w.data) == null ? void 0 : Qe.data) == null ? void 0 : Ge.storeFinalScore, f = (Xe = (Oe = w == null ? void 0 : w.data) == null ? void 0 : Oe.data) == null ? void 0 : Xe.accessBand, b = (Ue = (We = w == null ? void 0 : w.data) == null ? void 0 : We.data) == null ? void 0 : Ue.accessOhrList;
961
+ v.value !== nt.DRAFT && (s.value = !0);
962
+ else if (o.value === "active" && A.value && v.value === nt.DRAFT) {
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
+ const w = await me(g);
965
+ a.generatedPrompt = (Ee = (je = w == null ? void 0 : w.data) == null ? void 0 : je.data) == null ? void 0 : Ee.generatedPrompt, a.assessmentType = (qe = (Ie = w == null ? void 0 : w.data) == null ? void 0 : Ie.data) == null ? void 0 : qe.assessmentType, a.empSeniority = (Be = (He = w == null ? void 0 : w.data) == null ? void 0 : He.data) == null ? void 0 : Be.empSeniority, a.functionRole = (Ve = ($e = w == null ? void 0 : w.data) == null ? void 0 : $e.data) == null ? void 0 : Ve.functionRole, a.storeFinalFeedback = (Ge = (Qe = w == null ? void 0 : w.data) == null ? void 0 : Qe.data) == null ? void 0 : Ge.storeFinalFeedback, a.storeFinalScore = (Xe = (Oe = w == null ? void 0 : w.data) == null ? void 0 : Oe.data) == null ? void 0 : Xe.storeFinalScore, h = (Ue = (We = w == null ? void 0 : w.data) == null ? void 0 : We.data) == null ? void 0 : Ue.accessBand, c = (Ke = (Je = w == null ? void 0 : w.data) == null ? void 0 : Je.data) == null ? void 0 : Ke.accessOhrList;
939
966
  }
940
- const ht = a == null ? void 0 : a.band_code, st = (Je = f == null ? void 0 : f.split(",")) == null ? void 0 : Je.map((w) => w.trim());
941
- if (Q === (a == null ? void 0 : a.ohr) || te.includes(a == null ? void 0 : a.ohr))
967
+ const mt = a == null ? void 0 : a.band_code, ot = (Ze = h == null ? void 0 : h.split(",")) == null ? void 0 : Ze.map((w) => w.trim());
968
+ if (Q === (a == null ? void 0 : a.ohr) || ee.includes(a == null ? void 0 : a.ohr))
942
969
  console.log("User has access to this assessment.");
943
970
  else {
944
- if (st.length === 0 && b.length === 0)
971
+ if (ot.length === 0 && c.length === 0)
945
972
  throw console.log("Both bands and exceptionOHR are empty. Access denied."), {
946
973
  response: {
947
974
  status: 424,
@@ -950,7 +977,7 @@ const Va = /* @__PURE__ */ U($a, [["__scopeId", "data-v-6c0980b5"]]), ee = (h) =
950
977
  }
951
978
  }
952
979
  };
953
- if (st.includes(ht) || b.includes(a == null ? void 0 : a.ohr))
980
+ if (ot.includes(mt) || c.includes(a == null ? void 0 : a.ohr))
954
981
  console.log("User has access to this assessment.");
955
982
  else
956
983
  throw console.log("User does not have access to this assessment."), {
@@ -964,71 +991,71 @@ const Va = /* @__PURE__ */ U($a, [["__scopeId", "data-v-6c0980b5"]]), ee = (h) =
964
991
  }
965
992
  console.log("end getAssessmentDetails");
966
993
  } catch (n) {
967
- if (console.error(n), t.value = !1, V.isAxiosError(n) && ((Ke = n.response) != null && Ke.status) || n && typeof n == "object" && "response" in n && n.response && typeof n.response == "object" && "status" in n.response && n.response.status) {
994
+ if (console.error(n), t.value = !1, $.isAxiosError(n) && ((Ye = n.response) != null && Ye.status) || n && typeof n == "object" && "response" in n && n.response && typeof n.response == "object" && "status" in n.response && n.response.status) {
968
995
  const Q = n;
969
- if (console.log("Error found!"), console.error((Ze = Q.response) == null ? void 0 : Ze.data), ((Ye = Q.response) == null ? void 0 : Ye.status) === 424 || ((et = Q.response) == null ? void 0 : et.status) === 425) {
970
- g.value = !0;
996
+ if (console.log("Error found!"), console.error((et = Q.response) == null ? void 0 : et.data), ((tt = Q.response) == null ? void 0 : tt.status) === 424 || ((st = Q.response) == null ? void 0 : st.status) === 425) {
997
+ b.value = !0;
971
998
  return;
972
999
  }
973
- c.setError(((tt = Q.response) == null ? void 0 : tt.data).message);
1000
+ u.setError(((at = Q.response) == null ? void 0 : at.data).message);
974
1001
  } else
975
- c.setError("There was an issue, please contact helpmate");
1002
+ u.setError("There was an issue, please contact helpmate");
976
1003
  }
977
- }, oe = async () => {
978
- var C, N, R, L, E, j, I, S;
1004
+ }, ae = async () => {
1005
+ var C, N, M, L, I, D, q, S;
979
1006
  try {
980
- X === "prod" ? d.value = "https://api-v2.genpact.com/api/delphi/v2/myprofile" : d.value = "https://api-v2-dev.genpact.com/api/delphi/v2/myprofile";
981
- const k = await V({
1007
+ O === "prod" ? d.value = "https://api-v2.genpact.com/api/delphi/v2/myprofile" : d.value = "https://api-v2-dev.genpact.com/api/delphi/v2/myprofile";
1008
+ const k = await $({
982
1009
  url: d.value,
983
1010
  headers: {
984
- authorization: `Bearer ${A}`,
1011
+ authorization: `Bearer ${_}`,
985
1012
  "content-type": "application/json"
986
1013
  },
987
1014
  method: "get"
988
1015
  });
989
- a.genomeFunctionValue = (R = (N = (C = k == null ? void 0 : k.data) == null ? void 0 : C.role_function) == null ? void 0 : N.function) == null ? void 0 : R.name, a.genomeRoleValue = (j = (E = (L = k == null ? void 0 : k.data) == null ? void 0 : L.role_function) == null ? void 0 : E.role) == null ? void 0 : j.name;
1016
+ a.genomeFunctionValue = (M = (N = (C = k == null ? void 0 : k.data) == null ? void 0 : C.role_function) == null ? void 0 : N.function) == null ? void 0 : M.name, a.genomeRoleValue = (D = (I = (L = k == null ? void 0 : k.data) == null ? void 0 : L.role_function) == null ? void 0 : I.role) == null ? void 0 : D.name;
990
1017
  } catch (k) {
991
- if (console.error(k), t.value = !1, V.isAxiosError(k)) {
992
- const J = k;
993
- console.log("Error found!"), console.error((I = J.response) == null ? void 0 : I.data), c.setError(((S = J.response) == null ? void 0 : S.data).message);
1018
+ if (console.error(k), t.value = !1, $.isAxiosError(k)) {
1019
+ const U = k;
1020
+ console.log("Error found!"), console.error((q = U.response) == null ? void 0 : q.data), u.setError(((S = U.response) == null ? void 0 : S.data).message);
994
1021
  } else
995
- c.setError("There was an issue, please contact helpmate");
1022
+ u.setError("There was an issue, please contact helpmate");
996
1023
  }
997
- }, ne = () => {
1024
+ }, oe = () => {
998
1025
  var C;
999
- (C = m.value) == null || C.sendQuestion();
1026
+ (C = f.value) == null || C.sendQuestion();
1000
1027
  };
1001
- return (C, N) => (l(), r("section", null, [
1002
- F(rt, { "is-visible": g.value }, {
1003
- default: dt(() => [
1004
- e("div", Qa, [
1005
- v.value === 424 || v.value === "425" ? (l(), r("div", Ga, Wa)) : z("", !0),
1006
- v.value === 400 ? (l(), r("div", Ua, Za)) : z("", !0)
1028
+ return (C, N) => (i(), r("section", null, [
1029
+ T(pe, { "is-visible": b.value }, {
1030
+ default: ge(() => [
1031
+ e("div", Wa, [
1032
+ x.value === 424 || x.value === "425" ? (i(), r("div", Ua, Za)) : z("", !0),
1033
+ x.value === 400 ? (i(), r("div", Ya, so)) : z("", !0)
1007
1034
  ])
1008
1035
  ]),
1009
1036
  _: 1
1010
1037
  }, 8, ["is-visible"]),
1011
1038
  e("div", null, [
1012
- t.value ? (l(), yt(ft, { key: 0 })) : (l(), r("main", Ya, [
1013
- e("div", eo, [
1014
- F(zt)
1039
+ t.value ? (i(), wt(pt, { key: 0 })) : (i(), r("main", ao, [
1040
+ e("div", oo, [
1041
+ T(Mt)
1015
1042
  ]),
1016
- to,
1017
- e("div", so, [
1018
- e("div", ao, [
1019
- e("div", oo, [
1020
- F(zs, { onCallQuestion: ne }),
1043
+ no,
1044
+ e("div", io, [
1045
+ e("div", lo, [
1046
+ e("div", ro, [
1047
+ T(js, { onCallQuestion: oe }),
1021
1048
  e("div", {
1022
- class: W(i(a).showVoiceComponent === !0 ? "mt-[160px]" : "mt-[120px]")
1049
+ class: X(l(a).showVoiceComponent === !0 ? "mt-[160px]" : "mt-[120px]")
1023
1050
  }, null, 2)
1024
1051
  ]),
1025
- i(a).assessmentQuestion ? (l(), r("div", no, [
1026
- F(ka, {
1052
+ l(a).assessmentQuestion ? (i(), r("div", co, [
1053
+ T(La, {
1027
1054
  ref_key: "newQuestionRef",
1028
- ref: m
1055
+ ref: f
1029
1056
  }, null, 512)
1030
- ])) : (l(), r("div", io, [
1031
- F(Va)
1057
+ ])) : (i(), r("div", uo, [
1058
+ T(Xa)
1032
1059
  ]))
1033
1060
  ])
1034
1061
  ])
@@ -1037,7 +1064,7 @@ const Va = /* @__PURE__ */ U($a, [["__scopeId", "data-v-6c0980b5"]]), ee = (h) =
1037
1064
  ]));
1038
1065
  }
1039
1066
  });
1040
- const bo = /* @__PURE__ */ U(lo, [["__scopeId", "data-v-2f3d502d"]]);
1067
+ const _o = /* @__PURE__ */ W(mo, [["__scopeId", "data-v-2f3d502d"]]);
1041
1068
  export {
1042
- bo as default
1069
+ _o as default
1043
1070
  };