@genpact/genome.mfe.mgtwin-app 1.0.8 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
- import { o as h, c as m, a as i, d as te, u as le, b as y, e as _, t as I, f as O, g as A, F, r as V, n as me, h as k, i as X, A as _t, j as we, w as be, k as Ce, l as It, m as fe, v as $e, p as T, q as $t, s as et, T as Pt, x as Ue, y as eo, z as to, B as oo, C as zt, D as Ae, E as wt, G as ro, H as Ot, I as no, J as so, K as rt, L as ao, M as io, N as lo, O as co, P as uo, Q as po, R as fo } from "./main-fb806f03.mjs";
2
- import { p as Se, _ as vo, a as Ve, r as ho, g as Lt } from "./loadernew-853b088f.mjs";
3
- import { _ as nt } from "./_plugin-vue_export-helper-dad06003.mjs";
1
+ import { o as v, c as m, a as i, d as te, u as le, b as y, e as _, t as P, f as S, g as A, F, r as V, n as be, h as k, i as X, A as _t, j as Ae, w as ye, k as Se, l as Pt, m as fe, v as et, p as T, q as $t, s as tt, T as zt, x as Be, y as eo, z as to, B as oo, C as Ot, D as ke, E as At, G as ro, H as me, I as no, J as so, K as nt, L as ao, M as io, N as lo, O as co, P as uo, Q as po, R as fo } from "./main-13a46785.mjs";
2
+ import { p as Ie, _ as vo, a as Ze, r as ho, g as Lt } from "./loadernew-360711ad.mjs";
3
+ import { _ as st } from "./_plugin-vue_export-helper-dad06003.mjs";
4
4
  function mo(t, e) {
5
- return h(), m("svg", {
5
+ return v(), m("svg", {
6
6
  xmlns: "http://www.w3.org/2000/svg",
7
7
  viewBox: "0 0 24 24",
8
8
  fill: "currentColor",
@@ -15,8 +15,8 @@ function mo(t, e) {
15
15
  })
16
16
  ]);
17
17
  }
18
- function Me(t, e) {
19
- return h(), m("svg", {
18
+ function He(t, e) {
19
+ return v(), m("svg", {
20
20
  xmlns: "http://www.w3.org/2000/svg",
21
21
  viewBox: "0 0 24 24",
22
22
  fill: "currentColor",
@@ -30,7 +30,7 @@ function Me(t, e) {
30
30
  ]);
31
31
  }
32
32
  function bo(t, e) {
33
- return h(), m("svg", {
33
+ return v(), m("svg", {
34
34
  xmlns: "http://www.w3.org/2000/svg",
35
35
  viewBox: "0 0 24 24",
36
36
  fill: "currentColor",
@@ -40,7 +40,7 @@ function bo(t, e) {
40
40
  ]);
41
41
  }
42
42
  function yo(t, e) {
43
- return h(), m("svg", {
43
+ return v(), m("svg", {
44
44
  xmlns: "http://www.w3.org/2000/svg",
45
45
  viewBox: "0 0 24 24",
46
46
  fill: "currentColor",
@@ -49,8 +49,8 @@ function yo(t, e) {
49
49
  i("path", { d: "M7.493 18.75c-.425 0-.82-.236-.975-.632A7.48 7.48 0 016 15.375c0-1.75.599-3.358 1.602-4.634.151-.192.373-.309.6-.397.473-.183.89-.514 1.212-.924a9.042 9.042 0 012.861-2.4c.723-.384 1.35-.956 1.653-1.715a4.498 4.498 0 00.322-1.672V3a.75.75 0 01.75-.75 2.25 2.25 0 012.25 2.25c0 1.152-.26 2.243-.723 3.218-.266.558.107 1.282.725 1.282h3.126c1.026 0 1.945.694 2.054 1.715.045.422.068.85.068 1.285a11.95 11.95 0 01-2.649 7.521c-.388.482-.987.729-1.605.729H14.23c-.483 0-.964-.078-1.423-.23l-3.114-1.04a4.501 4.501 0 00-1.423-.23h-.777zM2.331 10.977a11.969 11.969 0 00-.831 4.398 12 12 0 00.52 3.507c.26.85 1.084 1.368 1.973 1.368H4.9c.445 0 .72-.498.523-.898a8.963 8.963 0 01-.924-3.977c0-1.708.476-3.305 1.302-4.666.245-.403-.028-.959-.5-.959H4.25c-.832 0-1.612.453-1.918 1.227z" })
50
50
  ]);
51
51
  }
52
- function Ne(t, e) {
53
- return h(), m("svg", {
52
+ function Te(t, e) {
53
+ return v(), m("svg", {
54
54
  xmlns: "http://www.w3.org/2000/svg",
55
55
  viewBox: "0 0 24 24",
56
56
  fill: "currentColor",
@@ -64,7 +64,7 @@ function Ne(t, e) {
64
64
  ]);
65
65
  }
66
66
  function go(t, e) {
67
- return h(), m("svg", {
67
+ return v(), m("svg", {
68
68
  xmlns: "http://www.w3.org/2000/svg",
69
69
  viewBox: "0 0 24 24",
70
70
  fill: "currentColor",
@@ -78,7 +78,7 @@ function go(t, e) {
78
78
  ]);
79
79
  }
80
80
  function Mt(t, e) {
81
- return h(), m("svg", {
81
+ return v(), m("svg", {
82
82
  xmlns: "http://www.w3.org/2000/svg",
83
83
  viewBox: "0 0 24 24",
84
84
  fill: "currentColor",
@@ -91,8 +91,8 @@ function Mt(t, e) {
91
91
  })
92
92
  ]);
93
93
  }
94
- const Be = 300, xo = "97103561-8dc3-4fe7-ad0a-4f8dedac8f6b";
95
- var st = /* @__PURE__ */ ((t) => (t.CONSENT = "user_consent", t.FAQ = "most_popular_question", t))(st || {});
94
+ const We = 300, xo = "97103561-8dc3-4fe7-ad0a-4f8dedac8f6b";
95
+ var at = /* @__PURE__ */ ((t) => (t.CONSENT = "user_consent", t.FAQ = "most_popular_question", t))(at || {});
96
96
  const wo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justify-start pt-4 gap-2 overflow-y-auto" }, Ao = { class: "space-y-2 text-sm" }, ko = { class: "flex gap-2 text-white" }, Eo = { key: 0 }, Ro = { class: "flex items-center gap-2 py-1" }, Yo = { key: 0 }, Go = { class: "tooltip" }, Co = { class: "tooltiptext" }, So = { key: 0 }, Io = ["href"], Po = {
97
97
  key: 1,
98
98
  class: "my-3"
@@ -116,49 +116,49 @@ const wo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
116
116
  }, n = async (s, l) => {
117
117
  if (o.addConversation(s, l), l === "faq") {
118
118
  const a = {
119
- event_type: st.FAQ,
119
+ event_type: at.FAQ,
120
120
  question_id: s.id.toString()
121
121
  };
122
- await Se("/generateEvent", a);
122
+ await Ie("/generateEvent", a);
123
123
  }
124
124
  e("closeDrawer");
125
125
  };
126
126
  return (s, l) => {
127
127
  var a;
128
- return h(), m("div", wo, [
128
+ return v(), m("div", wo, [
129
129
  i("div", Ao, [
130
130
  i("div", ko, [
131
- y(o).skill_id ? (h(), m("div", Eo, [
131
+ y(o).skill_id ? (v(), m("div", Eo, [
132
132
  i("div", Ro, [
133
- y(o).skill_id ? (h(), m("div", Yo, [
133
+ y(o).skill_id ? (v(), m("div", Yo, [
134
134
  i("h4", null, [
135
135
  _(" Skill: "),
136
- i("b", null, I(y(o).skillName), 1)
136
+ i("b", null, P(y(o).skillName), 1)
137
137
  ])
138
- ])) : O("", !0),
138
+ ])) : S("", !0),
139
139
  i("div", Go, [
140
- i("span", Co, I(y(o).skillDefinition), 1),
141
- A(y(Ne), { class: "w-5 h-5 fill-current" })
140
+ i("span", Co, P(y(o).skillDefinition), 1),
141
+ A(y(Te), { class: "w-5 h-5 fill-current" })
142
142
  ])
143
143
  ]),
144
- y(o).skill_id && y(o).skillVideoLink ? (h(), m("div", So, [
144
+ y(o).skill_id && y(o).skillVideoLink ? (v(), m("div", So, [
145
145
  i("a", {
146
146
  href: y(o).skillVideoLink,
147
147
  target: "_blank",
148
148
  class: "underline text-sm"
149
- }, "Watch " + I(y(o).skillName) + " introduction video", 9, Io)
150
- ])) : O("", !0),
151
- y(o).skill_id ? (h(), m("div", Po, [
149
+ }, "Watch " + P(y(o).skillName) + " introduction video", 9, Io)
150
+ ])) : S("", !0),
151
+ y(o).skill_id ? (v(), m("div", Po, [
152
152
  zo,
153
- (h(!0), m(F, null, V((a = y(o).guruName) == null ? void 0 : a.split(","), (d, v) => (h(), m("span", { key: v }, [
153
+ (v(!0), m(F, null, V((a = y(o).guruName) == null ? void 0 : a.split(","), (d, h) => (v(), m("span", { key: h }, [
154
154
  i("a", {
155
- href: r(v) || "",
155
+ href: r(h) || "",
156
156
  target: "_blank"
157
- }, I(d.trim()), 9, Oo),
158
- v < y(o).guruName.split(",").length - 1 ? (h(), m("span", Lo, ", ")) : O("", !0)
157
+ }, P(d.trim()), 9, Oo),
158
+ h < y(o).guruName.split(",").length - 1 ? (v(), m("span", Lo, ", ")) : S("", !0)
159
159
  ]))), 128))
160
- ])) : O("", !0)
161
- ])) : O("", !0)
160
+ ])) : S("", !0)
161
+ ])) : S("", !0)
162
162
  ])
163
163
  ]),
164
164
  i("div", Mo, [
@@ -172,21 +172,21 @@ const wo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
172
172
  Do,
173
173
  i("div", No, [
174
174
  To,
175
- A(y(Ne), { class: "w-5 h-5 fill-current" })
175
+ A(y(Te), { class: "w-5 h-5 fill-current" })
176
176
  ])
177
177
  ]),
178
178
  i("div", Fo, [
179
- (h(!0), m(F, null, V(y(o).frequentlyAskedQuestions, (d, v) => (h(), m("div", {
179
+ (v(!0), m(F, null, V(y(o).frequentlyAskedQuestions, (d, h) => (v(), m("div", {
180
180
  onClick: (c) => n(d, "faq"),
181
- key: v,
182
- class: me([d.isShown ? "cursor-not-allowed bg-gray-400" : "cursor-pointer", "bg-gray-200 rounded-md p-2"])
181
+ key: h,
182
+ class: be([d.isShown ? "cursor-not-allowed bg-gray-400" : "cursor-pointer", "bg-gray-200 rounded-md p-2"])
183
183
  }, [
184
184
  i("div", Vo, [
185
- i("span", Zo, I(d.question), 1),
186
- _(" " + I(d.question), 1)
185
+ i("span", Zo, P(d.question), 1),
186
+ _(" " + P(d.question), 1)
187
187
  ])
188
188
  ], 10, qo))), 128)),
189
- y(o).frequentlyAskedQuestions.length ? O("", !0) : (h(), m("div", Ko, " No Guru Questions available "))
189
+ y(o).frequentlyAskedQuestions.length ? S("", !0) : (v(), m("div", Ko, " No Guru Questions available "))
190
190
  ])
191
191
  ]),
192
192
  i("div", Qo, [
@@ -194,20 +194,20 @@ const wo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
194
194
  Uo,
195
195
  i("div", Bo, [
196
196
  Wo,
197
- A(y(Ne), { class: "w-5 h-5 fill-current" })
197
+ A(y(Te), { class: "w-5 h-5 fill-current" })
198
198
  ])
199
199
  ]),
200
- (h(!0), m(F, null, V(y(o).recentQuestions, (d, v) => (h(), m("div", {
200
+ (v(!0), m(F, null, V(y(o).recentQuestions, (d, h) => (v(), m("div", {
201
201
  onClick: (c) => n(d, "recent"),
202
- key: v,
203
- class: me([d.isShown ? "cursor-not-allowed bg-gray-400" : "cursor-pointer", "bg-gray-200 rounded-md p-2"])
202
+ key: h,
203
+ class: be([d.isShown ? "cursor-not-allowed bg-gray-400" : "cursor-pointer", "bg-gray-200 rounded-md p-2"])
204
204
  }, [
205
205
  i("div", _o, [
206
- i("span", $o, I(d.question), 1),
207
- _(" " + I(d.question), 1)
206
+ i("span", $o, P(d.question), 1),
207
+ _(" " + P(d.question), 1)
208
208
  ])
209
209
  ], 10, Jo))), 128)),
210
- y(o).recentQuestions.length ? O("", !0) : (h(), m("div", er, " No Recent Questions "))
210
+ y(o).recentQuestions.length ? S("", !0) : (v(), m("div", er, " No Recent Questions "))
211
211
  ])
212
212
  ]);
213
213
  };
@@ -231,8 +231,8 @@ const wo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
231
231
  }
232
232
  },
233
233
  setup(t) {
234
- return (e, o) => (h(), m("div", null, [
235
- t.color === "white" ? (h(), m("img", rr)) : (h(), m("img", nr))
234
+ return (e, o) => (v(), m("div", null, [
235
+ t.color === "white" ? (v(), m("img", rr)) : (v(), m("img", nr))
236
236
  ]));
237
237
  }
238
238
  }, sr = { class: "bg-genpact-blue-box h-full" }, ar = { class: "bg-genpact-blue-box px-3 py-3 flex items-center justify-between gap-4" }, ir = { class: "flex items-center gap-2" }, lr = { class: "flex justify-center items-center font-bold text-white text-xl" }, cr = /* @__PURE__ */ i("div", { class: "flex flex-col items-center" }, [
@@ -254,23 +254,23 @@ const wo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
254
254
  }, r = () => {
255
255
  e.value = !1;
256
256
  };
257
- return (n, s) => (h(), m(F, null, [
257
+ return (n, s) => (v(), m(F, null, [
258
258
  i("div", null, [
259
259
  i("div", {
260
- class: me([
260
+ class: be([
261
261
  e.value ? "inset-0 z-[50] transition-opacity opacity-100 duration-300" : "w-0 h-0 transition-all delay-100 opacity-0 -z-10",
262
262
  "fixed overflow-hidden bg-gray-900 bg-opacity-40 ease-in-out"
263
263
  ])
264
264
  }, [
265
265
  i("div", {
266
- class: me([e.value ? "-translate-x-0" : "-translate-x-full", "md:w-60 w-3/4 inset-0 z-[48] delay-100 duration-300 ease-in-out transition-all fixed h-full bg-white"])
266
+ class: be([e.value ? "-translate-x-0" : "-translate-x-full", "md:w-60 w-3/4 inset-0 z-[48] delay-100 duration-300 ease-in-out transition-all fixed h-full bg-white"])
267
267
  }, [
268
268
  i("div", sr, [
269
269
  A(Ht, { onCloseDrawer: r })
270
270
  ])
271
271
  ], 2),
272
272
  i("section", {
273
- class: me(e.value ? "w-screen h-full cursor-pointer z-[30]" : "w-0 h-0"),
273
+ class: be(e.value ? "w-screen h-full cursor-pointer z-[30]" : "w-0 h-0"),
274
274
  onClick: r
275
275
  }, null, 2)
276
276
  ], 2)
@@ -293,16 +293,16 @@ const wo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
293
293
  }
294
294
  }, ur = {}, pr = { class: "flex flex-col h-min-screen justify-center text-center" }, fr = /* @__PURE__ */ i("img", {
295
295
  class: "mb-8 block mx-auto loadercss mt-3%",
296
- src: Ve,
296
+ src: Ze,
297
297
  alt: "Loader Gif"
298
298
  }, null, -1), vr = /* @__PURE__ */ i("p", { class: "mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue" }, " Loading... ", -1), hr = [
299
299
  fr,
300
300
  vr
301
301
  ];
302
302
  function mr(t, e) {
303
- return h(), m("div", pr, hr);
303
+ return v(), m("div", pr, hr);
304
304
  }
305
- const br = /* @__PURE__ */ nt(ur, [["render", mr]]), We = {
305
+ const br = /* @__PURE__ */ st(ur, [["render", mr]]), Je = {
306
306
  "1,1": "i",
307
307
  "2,-1": "i",
308
308
  "2,0": "i",
@@ -311,21 +311,21 @@ const br = /* @__PURE__ */ nt(ur, [["render", mr]]), We = {
311
311
  "3,1": "s",
312
312
  "4,0": "s",
313
313
  "4,1": "s"
314
- }, At = {
314
+ }, kt = {
315
315
  i: "Continue your BITS wave",
316
316
  t: "Go do Transform",
317
317
  s: "Go do Solidify"
318
318
  };
319
- let Ze = `Bearer ${localStorage.getItem("accessToken")}`;
319
+ let Ke = `Bearer ${localStorage.getItem("accessToken")}`;
320
320
  const Dt = "prod";
321
- _t === "local" && (Ze = `Bearer ${{}.VITE_LOCAL_ACCESS_TOKEN}`);
321
+ _t === "local" && (Ke = `Bearer ${{}.VITE_LOCAL_ACCESS_TOKEN}`);
322
322
  const yr = async () => await X({
323
323
  method: "get",
324
324
  url: `https://api-router.genpact.com/${Dt}/api/genome/v1/employee/performance-report`,
325
325
  headers: {
326
326
  "x-oauth-config-provider": "cognito-aps1",
327
327
  "x-sharepoint-list-name": "skills",
328
- authorization: Ze
328
+ authorization: Ke
329
329
  }
330
330
  }), gr = async (t) => {
331
331
  const e = `
@@ -344,7 +344,7 @@ const yr = async () => await X({
344
344
  method: "post",
345
345
  url: `https://api.genpact.com/${Dt}/genome/my-profile/graphql`,
346
346
  headers: {
347
- authorization: Ze
347
+ authorization: Ke
348
348
  },
349
349
  data: {
350
350
  query: e,
@@ -358,7 +358,7 @@ const yr = async () => await X({
358
358
  url: "https://rihejfb5x0.execute-api.ap-south-1.amazonaws.com/myplan/link",
359
359
  headers: {
360
360
  "x-oauth-config-provider": "cognito-aps1",
361
- authorization: Ze
361
+ authorization: Ke
362
362
  },
363
363
  data: {
364
364
  skill: t,
@@ -370,63 +370,63 @@ const yr = async () => await X({
370
370
  }, Ar = /* @__PURE__ */ te({
371
371
  __name: "ChatActionButtons",
372
372
  setup(t) {
373
- const e = le(), o = we(), r = k([]), n = k([]), s = k([]), l = k("");
374
- be(e, (p) => {
375
- p.skillName && (s.value = [], r.value.map((u) => {
376
- u[0] === e.skillName && (s.value = u, console.log(u), console.log(At[We[u.slice(1, 3).join(",")]]), l.value = At[We[u.slice(1, 3).join(",")]]);
373
+ const e = le(), o = Ae(), r = k([]), n = k([]), s = k([]), l = k("");
374
+ ye(e, (b) => {
375
+ b.skillName && (s.value = [], r.value.map((u) => {
376
+ u[0] === e.skillName && (s.value = u, console.log(u), console.log(kt[Je[u.slice(1, 3).join(",")]]), l.value = kt[Je[u.slice(1, 3).join(",")]]);
377
377
  }));
378
378
  });
379
379
  const a = async () => {
380
- var p;
380
+ var b;
381
381
  try {
382
382
  let u = "";
383
383
  n.value.map((g) => {
384
384
  g.skillname === e.skillName && (u = g.currentproficient);
385
385
  });
386
- const f = (await xr(e.skillName, u)).data, x = s.value.slice(1, 3).join(","), b = f[We[x]];
387
- window.open(b, "_blank");
386
+ const f = (await xr(e.skillName, u)).data, x = s.value.slice(1, 3).join(","), p = f[Je[x]];
387
+ window.open(p, "_blank");
388
388
  } catch (u) {
389
389
  if (console.error(u), X.isAxiosError(u)) {
390
390
  const f = u;
391
- o.setError(((p = f.response) == null ? void 0 : p.data).message);
391
+ o.setError(((b = f.response) == null ? void 0 : b.data).message);
392
392
  } else
393
393
  o.setError("There was an issue, please contact helpmate");
394
394
  }
395
395
  }, d = async () => {
396
- var p, u, f;
396
+ var b, u, f;
397
397
  try {
398
398
  const x = await gr(e.ohr);
399
- n.value = (f = (u = (p = x.data) == null ? void 0 : p.data) == null ? void 0 : u.MyPlan) == null ? void 0 : f.data;
399
+ n.value = (f = (u = (b = x.data) == null ? void 0 : b.data) == null ? void 0 : u.MyPlan) == null ? void 0 : f.data;
400
400
  } catch (x) {
401
401
  console.error(x), X.isAxiosError(x) ? o.setError("Error fetching current MyPlan proficiencies") : o.setError("There was an issue, please contact helpmate");
402
402
  }
403
- }, v = async () => {
404
- var p, u, f, x;
403
+ }, h = async () => {
404
+ var b, u, f, x;
405
405
  try {
406
- const b = await yr(), g = ((p = b.data) == null ? void 0 : p.Professional_BITS) || "", R = ((u = b.data) == null ? void 0 : u.Digital_BITS) || "", Y = ((f = b.data) == null ? void 0 : f.Industry_BITS) || "";
406
+ const p = await yr(), g = ((b = p.data) == null ? void 0 : b.Professional_BITS) || "", R = ((u = p.data) == null ? void 0 : u.Digital_BITS) || "", Y = ((f = p.data) == null ? void 0 : f.Industry_BITS) || "";
407
407
  r.value.push(
408
408
  ...g.split("PROFSKILL|").map((E) => E.split("|")),
409
409
  ...R.split("DIGITAL|").map((E) => E.split("|")),
410
410
  ...Y.split("INDUSTRY|").map((E) => E.split("|"))
411
411
  );
412
- } catch (b) {
413
- if (console.error(b), X.isAxiosError(b)) {
414
- const g = b;
412
+ } catch (p) {
413
+ if (console.error(p), X.isAxiosError(p)) {
414
+ const g = p;
415
415
  o.setError(((x = g.response) == null ? void 0 : x.data).message);
416
416
  } else
417
417
  o.setError("There was an issue, please contact helpmate");
418
418
  }
419
419
  };
420
- Ce(() => {
421
- v(), d();
420
+ Se(() => {
421
+ h(), d();
422
422
  });
423
423
  const c = () => window.open("https://genome.genpact.com/my-profile", "_blank");
424
- return (p, u) => y(e).skill_id ? (h(), m("div", wr, [
425
- s.value.length ? (h(), m("div", {
424
+ return (b, u) => y(e).skill_id ? (v(), m("div", wr, [
425
+ s.value.length ? (v(), m("div", {
426
426
  key: 0,
427
427
  onClick: u[0] || (u[0] = (f) => a()),
428
428
  class: "border-[1px] bg-gray-200 border-gray-500 text-gray-500 hover:bg-gray-500/80 hover:text-white cursor-pointer text-[12px] px-3 py-1 rounded-md"
429
- }, I(l.value), 1)) : (h(), m("div", {
429
+ }, P(l.value), 1)) : (v(), m("div", {
430
430
  key: 1,
431
431
  onClick: u[1] || (u[1] = (f) => c()),
432
432
  class: "border-[1px] bg-gray-200 border-gray-500 text-gray-500 hover:bg-gray-500/80 hover:text-white cursor-pointer text-[12px] px-3 py-1 rounded-md"
@@ -439,14 +439,14 @@ const yr = async () => await X({
439
439
  onClick: u[3] || (u[3] = (f) => y(e).clearConversationHistory()),
440
440
  class: "border-[1px] bg-gray-200 border-gray-500 text-gray-500 hover:bg-gray-500/80 hover:text-white cursor-pointer text-[12px] px-3 py-1 rounded-md"
441
441
  }, " Clear Chat ")
442
- ])) : O("", !0);
442
+ ])) : S("", !0);
443
443
  }
444
444
  }), kr = { class: "absolute bottom-0 w-full z-3 mt-4" }, Er = { class: "md:px-8 px-3 py-2" }, Rr = { class: "border border-gray-200" }, Yr = { class: "relative w-full z-1" }, Gr = {
445
445
  key: 1,
446
446
  class: "absolute top-3 right-4"
447
447
  }, Cr = /* @__PURE__ */ i("img", {
448
448
  class: "w-10 h-10 block mx-auto loadercss",
449
- src: Ve,
449
+ src: Ze,
450
450
  alt: "Loader Gif"
451
451
  }, null, -1), Sr = [
452
452
  Cr
@@ -455,11 +455,11 @@ const yr = async () => await X({
455
455
  ], -1), zr = /* @__PURE__ */ te({
456
456
  __name: "NewQuestion",
457
457
  setup(t) {
458
- const e = It(), o = we(), r = le(), n = k(""), s = k(!1), l = k(!1), a = k(Be), d = (p) => {
459
- const u = p.length;
460
- a.value = Be - u, l.value = u >= Be;
461
- }, v = async () => {
462
- var p, u, f, x;
458
+ const e = Pt(), o = Ae(), r = le(), n = k(""), s = k(!1), l = k(!1), a = k(We), d = (b) => {
459
+ const u = b.length;
460
+ a.value = We - u, l.value = u >= We;
461
+ }, h = async () => {
462
+ var b, u, f, x;
463
463
  try {
464
464
  if (!r.skill_id) {
465
465
  o.setError("Please select a skill");
@@ -478,25 +478,25 @@ const yr = async () => await X({
478
478
  return;
479
479
  }
480
480
  s.value = !0;
481
- const b = {
481
+ const p = {
482
482
  past_messages: r.past_messages,
483
483
  skill_id: r.skill_id,
484
484
  prof_id: r.prof_id,
485
485
  question: n.value,
486
486
  answer: ""
487
- }, g = await Se("/fetchCompletion?api_version=1.1", b);
488
- console.log((u = (p = g.data) == null ? void 0 : p.body) == null ? void 0 : u.answer), r.addConversation((f = g.data) == null ? void 0 : f.body, "new"), n.value = "", s.value = !1, console.log(r.past_messages);
489
- } catch (b) {
490
- if (console.error(b), s.value = !1, X.isAxiosError(b)) {
491
- const g = b;
487
+ }, g = await Ie("/fetchCompletion?api_version=1.1", p);
488
+ console.log((u = (b = g.data) == null ? void 0 : b.body) == null ? void 0 : u.answer), r.addConversation((f = g.data) == null ? void 0 : f.body, "new"), n.value = "", s.value = !1, console.log(r.past_messages);
489
+ } catch (p) {
490
+ if (console.error(p), s.value = !1, X.isAxiosError(p)) {
491
+ const g = p;
492
492
  o.setError(((x = g.response) == null ? void 0 : x.data).message);
493
493
  } else
494
494
  o.setError("There was an issue, please contact helpmate");
495
495
  }
496
- }, c = async (p) => {
497
- p.which === 13 && (p.preventDefault(), s.value || await v());
496
+ }, c = async (b) => {
497
+ b.which === 13 && (b.preventDefault(), s.value || await h());
498
498
  };
499
- return (p, u) => (h(), m("div", kr, [
499
+ return (b, u) => (v(), m("div", kr, [
500
500
  i("div", Er, [
501
501
  A(Ar),
502
502
  i("div", Rr, [
@@ -509,19 +509,19 @@ const yr = async () => await X({
509
509
  class: "block rounded-md p-2.5 pr-16 w-full text-sm bg-white border border-gray-300",
510
510
  placeholder: "Ask a question in less than 300 characters..."
511
511
  }, null, 544), [
512
- [$e, n.value]
512
+ [et, n.value]
513
513
  ]),
514
- s.value ? (h(), m("div", Gr, Sr)) : (h(), m("button", {
514
+ s.value ? (v(), m("div", Gr, Sr)) : (v(), m("button", {
515
515
  key: 0,
516
- onClick: v,
517
- class: me(["absolute top-4 right-4", y(r).skill_id ? "cursor-pointer" : "cursor-not-allowed fill-gray-400"])
516
+ onClick: h,
517
+ class: be(["absolute top-4 right-4", y(r).skill_id ? "cursor-pointer" : "cursor-not-allowed fill-gray-400"])
518
518
  }, [
519
519
  A(y(ho), { class: "w-8 h-8 fill-inherit" })
520
520
  ], 2))
521
521
  ])
522
522
  ]),
523
523
  i("div", Ir, [
524
- i("div", null, I(y(r).questionsLeft) + " Questions Remaining", 1),
524
+ i("div", null, P(y(r).questionsLeft) + " Questions Remaining", 1),
525
525
  i("button", {
526
526
  class: "underline text-blue-500",
527
527
  onClick: u[3] || (u[3] = (f) => y(e).open(!0))
@@ -535,7 +535,7 @@ const yr = async () => await X({
535
535
  const Or = { key: 0 }, Lr = {
536
536
  key: 0,
537
537
  class: "absolute right-0 pr-4 top-5 cursor-pointer"
538
- }, Mr = { class: "bg-white mt-6" }, Hr = { class: "text-gray-500 px-4 overflow-auto" }, qe = {
538
+ }, Mr = { class: "bg-white mt-6" }, Hr = { class: "text-gray-500 px-4 overflow-auto" }, Ve = {
539
539
  __name: "Modal",
540
540
  props: {
541
541
  isVisible: {
@@ -550,8 +550,8 @@ const Or = { key: 0 }, Lr = {
550
550
  }
551
551
  },
552
552
  setup(t) {
553
- return (e, o) => t.isVisible ? (h(), m("main", Or, [
554
- A(Pt, { name: "modal-fade" }, {
553
+ return (e, o) => t.isVisible ? (v(), m("main", Or, [
554
+ A(zt, { name: "modal-fade" }, {
555
555
  default: T(() => [
556
556
  i("div", {
557
557
  class: "z-50 fixed flex inset-0 justify-center items-center h-screen overflow-auto w-full bg-gray-800/80",
@@ -562,15 +562,15 @@ const Or = { key: 0 }, Lr = {
562
562
  onClick: o[1] || (o[1] = $t(() => {
563
563
  }, ["stop"]))
564
564
  }, [
565
- t.crossVisible ? (h(), m("div", Lr, [
565
+ t.crossVisible ? (v(), m("div", Lr, [
566
566
  A(y(Mt), {
567
567
  onClick: o[0] || (o[0] = (r) => e.$emit("Cancel")),
568
568
  class: "w-6 h-6 fill-gray-800"
569
569
  })
570
- ])) : O("", !0),
570
+ ])) : S("", !0),
571
571
  i("div", Mr, [
572
572
  i("div", Hr, [
573
- et(e.$slots, "default")
573
+ tt(e.$slots, "default")
574
574
  ])
575
575
  ])
576
576
  ])
@@ -578,7 +578,7 @@ const Or = { key: 0 }, Lr = {
578
578
  ]),
579
579
  _: 3
580
580
  })
581
- ])) : O("", !0);
581
+ ])) : S("", !0);
582
582
  }
583
583
  }, jr = { key: 0 }, Dr = {
584
584
  key: 1,
@@ -601,31 +601,31 @@ const Or = { key: 0 }, Lr = {
601
601
  }
602
602
  },
603
603
  setup(t) {
604
- const e = t, o = k(!1), r = k(!1), n = k(!1), s = we(), l = k(""), a = k([]), d = async (p) => {
604
+ const e = t, o = k(!1), r = k(!1), n = k(!1), s = Ae(), l = k(""), a = k([]), d = async (b) => {
605
605
  var u, f;
606
- p === "P" ? c() : v();
606
+ b === "P" ? c() : h();
607
607
  try {
608
608
  const x = {
609
609
  question_id: e.questionId,
610
- rating: p,
610
+ rating: b,
611
611
  tags: a.value,
612
612
  content: l.value
613
- }, b = await Se("/submitFeedback", x);
614
- console.log((u = b.data) == null ? void 0 : u.body), n.value = !0;
613
+ }, p = await Ie("/submitFeedback", x);
614
+ console.log((u = p.data) == null ? void 0 : u.body), n.value = !0;
615
615
  } catch (x) {
616
616
  if (console.error(x), X.isAxiosError(x)) {
617
- const b = x;
618
- s.setError(((f = b.response) == null ? void 0 : f.data).error);
617
+ const p = x;
618
+ s.setError(((f = p.response) == null ? void 0 : f.data).error);
619
619
  } else
620
620
  s.setError("There was an issue, please contact helpmate");
621
621
  }
622
- }, v = () => {
622
+ }, h = () => {
623
623
  o.value = !o.value;
624
624
  }, c = () => {
625
625
  r.value = !r.value;
626
626
  };
627
- return (p, u) => (h(), m(F, null, [
628
- n.value ? (h(), m("div", jr)) : (h(), m("div", Dr, [
627
+ return (b, u) => (v(), m(F, null, [
628
+ n.value ? (v(), m("div", jr)) : (v(), m("div", Dr, [
629
629
  A(y(yo), {
630
630
  onClick: u[0] || (u[0] = (f) => d("P")),
631
631
  class: "w-6 h-6 fill-gray-500 hover:fill-gray-800 cursor-pointer"
@@ -635,7 +635,7 @@ const Or = { key: 0 }, Lr = {
635
635
  class: "w-6 h-6 fill-gray-500 hover:fill-gray-800 cursor-pointer"
636
636
  })
637
637
  ])),
638
- A(qe, {
638
+ A(Ve, {
639
639
  "is-visible": r.value,
640
640
  "cross-visible": !0,
641
641
  onCancel: c
@@ -651,7 +651,7 @@ const Or = { key: 0 }, Lr = {
651
651
  "onUpdate:modelValue": u[2] || (u[2] = (f) => l.value = f),
652
652
  placeholder: "Please provide your feedback here"
653
653
  }, null, 512), [
654
- [$e, l.value]
654
+ [et, l.value]
655
655
  ]),
656
656
  i("div", Fr, [
657
657
  i("button", {
@@ -663,10 +663,10 @@ const Or = { key: 0 }, Lr = {
663
663
  ]),
664
664
  _: 1
665
665
  }, 8, ["is-visible"]),
666
- A(qe, {
666
+ A(Ve, {
667
667
  "is-visible": o.value,
668
668
  "cross-visible": !0,
669
- onCancel: v
669
+ onCancel: h
670
670
  }, {
671
671
  default: T(() => [
672
672
  i("div", qr, [
@@ -679,7 +679,7 @@ const Or = { key: 0 }, Lr = {
679
679
  "onUpdate:modelValue": u[4] || (u[4] = (f) => l.value = f),
680
680
  placeholder: "Please provide your feedback here"
681
681
  }, null, 512), [
682
- [$e, l.value]
682
+ [et, l.value]
683
683
  ]),
684
684
  fe(i("input", {
685
685
  "onUpdate:modelValue": u[5] || (u[5] = (f) => a.value = f),
@@ -689,7 +689,7 @@ const Or = { key: 0 }, Lr = {
689
689
  class: "mr-2 cursor-pointer",
690
690
  id: "harmful"
691
691
  }, null, 512), [
692
- [Ue, a.value]
692
+ [Be, a.value]
693
693
  ]),
694
694
  Zr,
695
695
  Kr,
@@ -701,7 +701,7 @@ const Or = { key: 0 }, Lr = {
701
701
  class: "mr-2 cursor-pointer",
702
702
  id: "incorrect"
703
703
  }, null, 512), [
704
- [Ue, a.value]
704
+ [Be, a.value]
705
705
  ]),
706
706
  Qr,
707
707
  Xr,
@@ -713,7 +713,7 @@ const Or = { key: 0 }, Lr = {
713
713
  class: "mr-2 cursor-pointer",
714
714
  id: "not-helpful"
715
715
  }, null, 512), [
716
- [Ue, a.value]
716
+ [Be, a.value]
717
717
  ]),
718
718
  Ur,
719
719
  Br,
@@ -763,10 +763,10 @@ const Or = { key: 0 }, Lr = {
763
763
  }
764
764
  },
765
765
  setup(t) {
766
- const e = t, o = k([]), r = k(!1), n = we(), s = le();
766
+ const e = t, o = k([]), r = k(!1), n = Ae(), s = le();
767
767
  console.log("this is issue", o.value.length);
768
768
  const l = async () => {
769
- var a, d, v;
769
+ var a, d, h;
770
770
  try {
771
771
  if (!e.showFeedback)
772
772
  return;
@@ -774,50 +774,50 @@ const Or = { key: 0 }, Lr = {
774
774
  question: e.question,
775
775
  skill_id: s.skill_id,
776
776
  past_messages: s.past_messages
777
- }, u = ((a = (await Se("/QuestionToRelevantLinks", c)).data) == null ? void 0 : a.body) || [];
777
+ }, u = ((a = (await Ie("/QuestionToRelevantLinks", c)).data) == null ? void 0 : a.body) || [];
778
778
  u.length && (r.value = !0, o.value = u);
779
779
  } catch (c) {
780
780
  if (console.error(c), X.isAxiosError(c)) {
781
- const p = c;
782
- console.error((d = p.response) == null ? void 0 : d.data), n.setError(((v = p.response) == null ? void 0 : v.data).message);
781
+ const b = c;
782
+ console.error((d = b.response) == null ? void 0 : d.data), n.setError(((h = b.response) == null ? void 0 : h.data).message);
783
783
  } else
784
784
  n.setError("There was an issue, please contact helpmate");
785
785
  }
786
786
  };
787
787
  return eo(() => {
788
788
  l();
789
- }), (a, d) => (h(), m("div", _r, [
789
+ }), (a, d) => (v(), m("div", _r, [
790
790
  i("div", $r, [
791
791
  i("span", { innerHTML: t.answer }, null, 8, en),
792
- t.showSources ? (h(), m("div", tn, I(t.showSources), 1)) : O("", !0),
793
- t.showFeedback ? (h(), m("div", on, [
794
- r.value ? (h(), m("div", rn, "Recommended Learning:")) : O("", !0),
792
+ t.showSources ? (v(), m("div", tn, P(t.showSources), 1)) : S("", !0),
793
+ t.showFeedback ? (v(), m("div", on, [
794
+ r.value ? (v(), m("div", rn, "Recommended Learning:")) : S("", !0),
795
795
  i("div", nn, [
796
- (h(!0), m(F, null, V(o.value, (v) => (h(), m("a", {
797
- href: v.card_deeplink_url,
796
+ (v(!0), m(F, null, V(o.value, (h) => (v(), m("a", {
797
+ href: h.card_deeplink_url,
798
798
  target: "_blank",
799
- key: v.id,
799
+ key: h.id,
800
800
  class: "bg-blue-100 text-genpact-blue-box rounded-xl px-2 py-1 cursor-pointer flex gap-2 items-center"
801
801
  }, [
802
802
  A(y(go), { class: "w-4 h-4 fil-current" }),
803
- i("div", null, I(v.Content_Title), 1)
803
+ i("div", null, P(h.Content_Title), 1)
804
804
  ], 8, sn))), 128))
805
805
  ])
806
- ])) : O("", !0),
807
- t.showFeedback ? (h(), m("div", an, [
806
+ ])) : S("", !0),
807
+ t.showFeedback ? (v(), m("div", an, [
808
808
  A(Jr, { "question-id": t.questionId }, null, 8, ["question-id"])
809
- ])) : O("", !0)
809
+ ])) : S("", !0)
810
810
  ])
811
811
  ]));
812
812
  }
813
813
  });
814
- const cn = /* @__PURE__ */ nt(ln, [["__scopeId", "data-v-cef8a384"]]), dn = { class: "flex justify-start items-end" }, un = { class: "max-w-[80%] space-y-2" }, pn = { class: "w-fit text-gray-800 md:text-xl text-lg font-bold bg-white rounded-md p-3" }, fn = /* @__PURE__ */ i("div", { class: "w-fit md:text-[15px] text-sm text-gray-700 bg-white rounded-md p-3" }, " I'm AI Guru, your learning companion. I can answer questions based on the knowledge curated by Genome Master Gurus, recommend content and direct you the next best action on your skill journey.​ I am still learning, and your feedback will help me improve. Choose a skill to get started.​ ", -1), vn = {
814
+ const cn = /* @__PURE__ */ st(ln, [["__scopeId", "data-v-cef8a384"]]), dn = { class: "flex justify-start items-end" }, un = { class: "max-w-[80%] space-y-2" }, pn = { class: "w-fit text-gray-800 md:text-xl text-lg font-bold bg-white rounded-md p-3" }, fn = /* @__PURE__ */ i("div", { class: "w-fit md:text-[15px] text-sm text-gray-700 bg-white rounded-md p-3" }, " I'm AI Guru, your learning companion. I can answer questions based on the knowledge curated by Genome Master Gurus, recommend content and direct you the next best action on your skill journey.​ I am still learning, and your feedback will help me improve. Choose a skill to get started.​ ", -1), vn = {
815
815
  __name: "Greetings",
816
816
  setup(t) {
817
817
  const e = le();
818
- return (o, r) => (h(), m("div", dn, [
818
+ return (o, r) => (v(), m("div", dn, [
819
819
  i("div", un, [
820
- i("div", pn, " Hello " + I(y(e).learnerName || "Learner") + "! 👋 ", 1),
820
+ i("div", pn, " Hello " + P(y(e).learnerName || "Learner") + "! 👋 ", 1),
821
821
  fn
822
822
  ])
823
823
  ]));
@@ -835,39 +835,39 @@ const cn = /* @__PURE__ */ nt(ln, [["__scopeId", "data-v-cef8a384"]]), dn = { cl
835
835
  }
836
836
  },
837
837
  setup(t) {
838
- return (e, o) => (h(), m("div", hn, [
838
+ return (e, o) => (v(), m("div", hn, [
839
839
  i("div", mn, [
840
- i("div", bn, I(t.question), 1)
840
+ i("div", bn, P(t.question), 1)
841
841
  ])
842
842
  ]));
843
843
  }
844
844
  });
845
- function tt(t, e, o) {
845
+ function ot(t, e, o) {
846
846
  var r, n, s, l, a;
847
847
  e == null && (e = 100);
848
848
  function d() {
849
849
  var c = Date.now() - l;
850
850
  c < e && c >= 0 ? r = setTimeout(d, e - c) : (r = null, o || (a = t.apply(s, n), s = n = null));
851
851
  }
852
- var v = function() {
852
+ var h = function() {
853
853
  s = this, n = arguments, l = Date.now();
854
854
  var c = o && !r;
855
855
  return r || (r = setTimeout(d, e)), c && (a = t.apply(s, n), s = n = null), a;
856
856
  };
857
- return v.clear = function() {
857
+ return h.clear = function() {
858
858
  r && (clearTimeout(r), r = null);
859
- }, v.flush = function() {
859
+ }, h.flush = function() {
860
860
  r && (a = t.apply(s, n), s = n = null, clearTimeout(r), r = null);
861
- }, v;
861
+ }, h;
862
862
  }
863
- tt.debounce = tt;
864
- var Je = tt;
863
+ ot.debounce = ot;
864
+ var _e = ot;
865
865
  function gn(t, e, o) {
866
- lo(t) ? be(t, (r, n) => {
866
+ lo(t) ? ye(t, (r, n) => {
867
867
  n == null || n.removeEventListener(e, o), r == null || r.addEventListener(e, o);
868
- }) : Ce(() => {
868
+ }) : Se(() => {
869
869
  t.addEventListener(e, o);
870
- }), rt(() => {
870
+ }), nt(() => {
871
871
  var r;
872
872
  (r = y(t)) === null || r === void 0 || r.removeEventListener(e, o);
873
873
  });
@@ -882,12 +882,12 @@ function xn(t, e) {
882
882
  function wn(t, e, o) {
883
883
  let r = null;
884
884
  const n = k(!1);
885
- Ce(() => {
885
+ Se(() => {
886
886
  (t.content !== void 0 || o.value) && (n.value = !0), r = new MutationObserver(s), r.observe(e.value, {
887
887
  childList: !0,
888
888
  subtree: !0
889
889
  });
890
- }), rt(() => r.disconnect()), be(o, (l) => {
890
+ }), nt(() => r.disconnect()), ye(o, (l) => {
891
891
  l ? n.value = !0 : n.value = !1;
892
892
  });
893
893
  const s = () => {
@@ -897,7 +897,7 @@ function wn(t, e, o) {
897
897
  hasContent: n
898
898
  };
899
899
  }
900
- function ye(t, e) {
900
+ function ge(t, e) {
901
901
  var o = t.getBoundingClientRect(), r = 1, n = 1;
902
902
  return {
903
903
  width: o.width / r,
@@ -919,14 +919,14 @@ function W(t) {
919
919
  }
920
920
  return t;
921
921
  }
922
- function at(t) {
922
+ function it(t) {
923
923
  var e = W(t), o = e.pageXOffset, r = e.pageYOffset;
924
924
  return {
925
925
  scrollLeft: o,
926
926
  scrollTop: r
927
927
  };
928
928
  }
929
- function Re(t) {
929
+ function Ye(t) {
930
930
  var e = W(t).Element;
931
931
  return t instanceof e || t instanceof Element;
932
932
  }
@@ -947,24 +947,24 @@ function An(t) {
947
947
  };
948
948
  }
949
949
  function kn(t) {
950
- return t === W(t) || !Z(t) ? at(t) : An(t);
950
+ return t === W(t) || !Z(t) ? it(t) : An(t);
951
951
  }
952
952
  function ee(t) {
953
953
  return t ? (t.nodeName || "").toLowerCase() : null;
954
954
  }
955
955
  function ue(t) {
956
- return ((Re(t) ? t.ownerDocument : (
956
+ return ((Ye(t) ? t.ownerDocument : (
957
957
  // $FlowFixMe[prop-missing]
958
958
  t.document
959
959
  )) || window.document).documentElement;
960
960
  }
961
- function it(t) {
962
- return ye(ue(t)).left + at(t).scrollLeft;
961
+ function lt(t) {
962
+ return ge(ue(t)).left + it(t).scrollLeft;
963
963
  }
964
964
  function ie(t) {
965
965
  return W(t).getComputedStyle(t);
966
966
  }
967
- function lt(t) {
967
+ function ct(t) {
968
968
  var e = ie(t), o = e.overflow, r = e.overflowX, n = e.overflowY;
969
969
  return /auto|scroll|overlay|hidden/.test(o + n + r);
970
970
  }
@@ -976,7 +976,7 @@ function Rn(t, e, o) {
976
976
  o === void 0 && (o = !1);
977
977
  var r = Z(e);
978
978
  Z(e) && En(e);
979
- var n = ue(e), s = ye(t), l = {
979
+ var n = ue(e), s = ge(t), l = {
980
980
  scrollLeft: 0,
981
981
  scrollTop: 0
982
982
  }, a = {
@@ -984,15 +984,15 @@ function Rn(t, e, o) {
984
984
  y: 0
985
985
  };
986
986
  return (r || !r && !o) && ((ee(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
987
- lt(n)) && (l = kn(e)), Z(e) ? (a = ye(e), a.x += e.clientLeft, a.y += e.clientTop) : n && (a.x = it(n))), {
987
+ ct(n)) && (l = kn(e)), Z(e) ? (a = ge(e), a.x += e.clientLeft, a.y += e.clientTop) : n && (a.x = lt(n))), {
988
988
  x: s.left + l.scrollLeft - a.x,
989
989
  y: s.top + l.scrollTop - a.y,
990
990
  width: s.width,
991
991
  height: s.height
992
992
  };
993
993
  }
994
- function ct(t) {
995
- var e = ye(t), o = t.offsetWidth, r = t.offsetHeight;
994
+ function dt(t) {
995
+ var e = ge(t), o = t.offsetWidth, r = t.offsetHeight;
996
996
  return Math.abs(e.width - o) <= 1 && (o = e.width), Math.abs(e.height - r) <= 1 && (r = e.height), {
997
997
  x: t.offsetLeft,
998
998
  y: t.offsetTop,
@@ -1000,7 +1000,7 @@ function ct(t) {
1000
1000
  height: r
1001
1001
  };
1002
1002
  }
1003
- function Ke(t) {
1003
+ function Qe(t) {
1004
1004
  return ee(t) === "html" ? t : (
1005
1005
  // this is a quicker (but less type safe) way to save quite some bytes from the bundle
1006
1006
  // $FlowFixMe[incompatible-return]
@@ -1013,21 +1013,21 @@ function Ke(t) {
1013
1013
  );
1014
1014
  }
1015
1015
  function Tt(t) {
1016
- return ["html", "body", "#document"].indexOf(ee(t)) >= 0 ? t.ownerDocument.body : Z(t) && lt(t) ? t : Tt(Ke(t));
1016
+ return ["html", "body", "#document"].indexOf(ee(t)) >= 0 ? t.ownerDocument.body : Z(t) && ct(t) ? t : Tt(Qe(t));
1017
1017
  }
1018
- function Ee(t, e) {
1018
+ function Re(t, e) {
1019
1019
  var o;
1020
1020
  e === void 0 && (e = []);
1021
- var r = Tt(t), n = r === ((o = t.ownerDocument) == null ? void 0 : o.body), s = W(r), l = n ? [s].concat(s.visualViewport || [], lt(r) ? r : []) : r, a = e.concat(l);
1021
+ var r = Tt(t), n = r === ((o = t.ownerDocument) == null ? void 0 : o.body), s = W(r), l = n ? [s].concat(s.visualViewport || [], ct(r) ? r : []) : r, a = e.concat(l);
1022
1022
  return n ? a : (
1023
1023
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
1024
- a.concat(Ee(Ke(l)))
1024
+ a.concat(Re(Qe(l)))
1025
1025
  );
1026
1026
  }
1027
1027
  function Yn(t) {
1028
1028
  return ["table", "td", "th"].indexOf(ee(t)) >= 0;
1029
1029
  }
1030
- function kt(t) {
1030
+ function Et(t) {
1031
1031
  return !Z(t) || // https://github.com/popperjs/popper-core/issues/837
1032
1032
  ie(t).position === "fixed" ? null : t.offsetParent;
1033
1033
  }
@@ -1038,7 +1038,7 @@ function Gn(t) {
1038
1038
  if (r.position === "fixed")
1039
1039
  return null;
1040
1040
  }
1041
- for (var n = Ke(t); Z(n) && ["html", "body"].indexOf(ee(n)) < 0; ) {
1041
+ for (var n = Qe(t); Z(n) && ["html", "body"].indexOf(ee(n)) < 0; ) {
1042
1042
  var s = ie(n);
1043
1043
  if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || e && s.willChange === "filter" || e && s.filter && s.filter !== "none")
1044
1044
  return n;
@@ -1046,15 +1046,15 @@ function Gn(t) {
1046
1046
  }
1047
1047
  return null;
1048
1048
  }
1049
- function Ie(t) {
1050
- for (var e = W(t), o = kt(t); o && Yn(o) && ie(o).position === "static"; )
1051
- o = kt(o);
1049
+ function Pe(t) {
1050
+ for (var e = W(t), o = Et(t); o && Yn(o) && ie(o).position === "static"; )
1051
+ o = Et(o);
1052
1052
  return o && (ee(o) === "html" || ee(o) === "body" && ie(o).position === "static") ? e : o || Gn(t) || e;
1053
1053
  }
1054
- var K = "top", U = "bottom", B = "right", Q = "left", dt = "auto", Pe = [K, U, B, Q], ge = "start", Ye = "end", Cn = "clippingParents", Ft = "viewport", ke = "popper", Sn = "reference", Et = /* @__PURE__ */ Pe.reduce(function(t, e) {
1055
- return t.concat([e + "-" + ge, e + "-" + Ye]);
1056
- }, []), qt = /* @__PURE__ */ [].concat(Pe, [dt]).reduce(function(t, e) {
1057
- return t.concat([e, e + "-" + ge, e + "-" + Ye]);
1054
+ var K = "top", U = "bottom", B = "right", Q = "left", ut = "auto", ze = [K, U, B, Q], xe = "start", Ge = "end", Cn = "clippingParents", Ft = "viewport", Ee = "popper", Sn = "reference", Rt = /* @__PURE__ */ ze.reduce(function(t, e) {
1055
+ return t.concat([e + "-" + xe, e + "-" + Ge]);
1056
+ }, []), qt = /* @__PURE__ */ [].concat(ze, [ut]).reduce(function(t, e) {
1057
+ return t.concat([e, e + "-" + xe, e + "-" + Ge]);
1058
1058
  }, []), In = "beforeRead", Pn = "read", zn = "afterRead", On = "beforeMain", Ln = "main", Mn = "afterMain", Hn = "beforeWrite", jn = "write", Dn = "afterWrite", Nn = [In, Pn, zn, On, Ln, Mn, Hn, jn, Dn];
1059
1059
  function Tn(t) {
1060
1060
  var e = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Set(), r = [];
@@ -1113,13 +1113,13 @@ function Zn(t) {
1113
1113
  return r && (n = r.width, s = r.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (l = r.offsetLeft, a = r.offsetTop)), {
1114
1114
  width: n,
1115
1115
  height: s,
1116
- x: l + it(t),
1116
+ x: l + lt(t),
1117
1117
  y: a
1118
1118
  };
1119
1119
  }
1120
- var de = Math.max, Ge = Math.min, He = Math.round;
1120
+ var de = Math.max, Ce = Math.min, je = Math.round;
1121
1121
  function Kn(t) {
1122
- var e, o = ue(t), r = at(t), n = (e = t.ownerDocument) == null ? void 0 : e.body, s = de(o.scrollWidth, o.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), l = de(o.scrollHeight, o.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), a = -r.scrollLeft + it(t), d = -r.scrollTop;
1122
+ var e, o = ue(t), r = it(t), n = (e = t.ownerDocument) == null ? void 0 : e.body, s = de(o.scrollWidth, o.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), l = de(o.scrollHeight, o.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), a = -r.scrollLeft + lt(t), d = -r.scrollTop;
1123
1123
  return ie(n || o).direction === "rtl" && (a += de(o.clientWidth, n ? n.clientWidth : 0) - s), {
1124
1124
  width: s,
1125
1125
  height: l,
@@ -1141,7 +1141,7 @@ function Vt(t, e) {
1141
1141
  }
1142
1142
  return !1;
1143
1143
  }
1144
- function ot(t) {
1144
+ function rt(t) {
1145
1145
  return Object.assign({}, t, {
1146
1146
  left: t.x,
1147
1147
  top: t.y,
@@ -1150,33 +1150,33 @@ function ot(t) {
1150
1150
  });
1151
1151
  }
1152
1152
  function Qn(t) {
1153
- var e = ye(t);
1153
+ var e = ge(t);
1154
1154
  return e.top = e.top + t.clientTop, e.left = e.left + t.clientLeft, e.bottom = e.top + t.clientHeight, e.right = e.left + t.clientWidth, e.width = t.clientWidth, e.height = t.clientHeight, e.x = e.left, e.y = e.top, e;
1155
1155
  }
1156
- function Rt(t, e) {
1157
- return e === Ft ? ot(Zn(t)) : Z(e) ? Qn(e) : ot(Kn(ue(t)));
1156
+ function Yt(t, e) {
1157
+ return e === Ft ? rt(Zn(t)) : Z(e) ? Qn(e) : rt(Kn(ue(t)));
1158
1158
  }
1159
1159
  function Xn(t) {
1160
- var e = Ee(Ke(t)), o = ["absolute", "fixed"].indexOf(ie(t).position) >= 0, r = o && Z(t) ? Ie(t) : t;
1161
- return Re(r) ? e.filter(function(n) {
1162
- return Re(n) && Vt(n, r) && ee(n) !== "body";
1160
+ var e = Re(Qe(t)), o = ["absolute", "fixed"].indexOf(ie(t).position) >= 0, r = o && Z(t) ? Pe(t) : t;
1161
+ return Ye(r) ? e.filter(function(n) {
1162
+ return Ye(n) && Vt(n, r) && ee(n) !== "body";
1163
1163
  }) : [];
1164
1164
  }
1165
1165
  function Un(t, e, o) {
1166
1166
  var r = e === "clippingParents" ? Xn(t) : [].concat(e), n = [].concat(r, [o]), s = n[0], l = n.reduce(function(a, d) {
1167
- var v = Rt(t, d);
1168
- return a.top = de(v.top, a.top), a.right = Ge(v.right, a.right), a.bottom = Ge(v.bottom, a.bottom), a.left = de(v.left, a.left), a;
1169
- }, Rt(t, s));
1167
+ var h = Yt(t, d);
1168
+ return a.top = de(h.top, a.top), a.right = Ce(h.right, a.right), a.bottom = Ce(h.bottom, a.bottom), a.left = de(h.left, a.left), a;
1169
+ }, Yt(t, s));
1170
1170
  return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
1171
1171
  }
1172
- function xe(t) {
1172
+ function we(t) {
1173
1173
  return t.split("-")[1];
1174
1174
  }
1175
- function ut(t) {
1175
+ function pt(t) {
1176
1176
  return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
1177
1177
  }
1178
1178
  function Zt(t) {
1179
- var e = t.reference, o = t.element, r = t.placement, n = r ? $(r) : null, s = r ? xe(r) : null, l = e.x + e.width / 2 - o.width / 2, a = e.y + e.height / 2 - o.height / 2, d;
1179
+ var e = t.reference, o = t.element, r = t.placement, n = r ? $(r) : null, s = r ? we(r) : null, l = e.x + e.width / 2 - o.width / 2, a = e.y + e.height / 2 - o.height / 2, d;
1180
1180
  switch (n) {
1181
1181
  case K:
1182
1182
  d = {
@@ -1208,15 +1208,15 @@ function Zt(t) {
1208
1208
  y: e.y
1209
1209
  };
1210
1210
  }
1211
- var v = n ? ut(n) : null;
1212
- if (v != null) {
1213
- var c = v === "y" ? "height" : "width";
1211
+ var h = n ? pt(n) : null;
1212
+ if (h != null) {
1213
+ var c = h === "y" ? "height" : "width";
1214
1214
  switch (s) {
1215
- case ge:
1216
- d[v] = d[v] - (e[c] / 2 - o[c] / 2);
1215
+ case xe:
1216
+ d[h] = d[h] - (e[c] / 2 - o[c] / 2);
1217
1217
  break;
1218
- case Ye:
1219
- d[v] = d[v] + (e[c] / 2 - o[c] / 2);
1218
+ case Ge:
1219
+ d[h] = d[h] + (e[c] / 2 - o[c] / 2);
1220
1220
  break;
1221
1221
  }
1222
1222
  }
@@ -1238,34 +1238,34 @@ function Xt(t, e) {
1238
1238
  return o[r] = t, o;
1239
1239
  }, {});
1240
1240
  }
1241
- function pt(t, e) {
1241
+ function ft(t, e) {
1242
1242
  e === void 0 && (e = {});
1243
- var o = e, r = o.placement, n = r === void 0 ? t.placement : r, s = o.boundary, l = s === void 0 ? Cn : s, a = o.rootBoundary, d = a === void 0 ? Ft : a, v = o.elementContext, c = v === void 0 ? ke : v, p = o.altBoundary, u = p === void 0 ? !1 : p, f = o.padding, x = f === void 0 ? 0 : f, b = Qt(typeof x != "number" ? x : Xt(x, Pe)), g = c === ke ? Sn : ke, R = t.rects.popper, Y = t.elements[u ? g : c], E = Un(Re(Y) ? Y : Y.contextElement || ue(t.elements.popper), l, d), w = ye(t.elements.reference), S = Zt({
1243
+ var o = e, r = o.placement, n = r === void 0 ? t.placement : r, s = o.boundary, l = s === void 0 ? Cn : s, a = o.rootBoundary, d = a === void 0 ? Ft : a, h = o.elementContext, c = h === void 0 ? Ee : h, b = o.altBoundary, u = b === void 0 ? !1 : b, f = o.padding, x = f === void 0 ? 0 : f, p = Qt(typeof x != "number" ? x : Xt(x, ze)), g = c === Ee ? Sn : Ee, R = t.rects.popper, Y = t.elements[u ? g : c], E = Un(Ye(Y) ? Y : Y.contextElement || ue(t.elements.popper), l, d), w = ge(t.elements.reference), I = Zt({
1244
1244
  reference: w,
1245
1245
  element: R,
1246
1246
  strategy: "absolute",
1247
1247
  placement: n
1248
- }), G = ot(Object.assign({}, R, S)), C = c === ke ? G : w, z = {
1249
- top: E.top - C.top + b.top,
1250
- bottom: C.bottom - E.bottom + b.bottom,
1251
- left: E.left - C.left + b.left,
1252
- right: C.right - E.right + b.right
1253
- }, P = t.modifiersData.offset;
1254
- if (c === ke && P) {
1255
- var D = P[n];
1256
- Object.keys(z).forEach(function(N) {
1248
+ }), G = rt(Object.assign({}, R, I)), C = c === Ee ? G : w, O = {
1249
+ top: E.top - C.top + p.top,
1250
+ bottom: C.bottom - E.bottom + p.bottom,
1251
+ left: E.left - C.left + p.left,
1252
+ right: C.right - E.right + p.right
1253
+ }, z = t.modifiersData.offset;
1254
+ if (c === Ee && z) {
1255
+ var D = z[n];
1256
+ Object.keys(O).forEach(function(N) {
1257
1257
  var oe = [B, U].indexOf(N) >= 0 ? 1 : -1, L = [K, U].indexOf(N) >= 0 ? "y" : "x";
1258
- z[N] += D[L] * oe;
1258
+ O[N] += D[L] * oe;
1259
1259
  });
1260
1260
  }
1261
- return z;
1261
+ return O;
1262
1262
  }
1263
- var Yt = {
1263
+ var Gt = {
1264
1264
  placement: "bottom",
1265
1265
  modifiers: [],
1266
1266
  strategy: "absolute"
1267
1267
  };
1268
- function Gt() {
1268
+ function Ct() {
1269
1269
  for (var t = arguments.length, e = new Array(t), o = 0; o < t; o++)
1270
1270
  e[o] = arguments[o];
1271
1271
  return !e.some(function(r) {
@@ -1274,13 +1274,13 @@ function Gt() {
1274
1274
  }
1275
1275
  function Bn(t) {
1276
1276
  t === void 0 && (t = {});
1277
- var e = t, o = e.defaultModifiers, r = o === void 0 ? [] : o, n = e.defaultOptions, s = n === void 0 ? Yt : n;
1278
- return function(a, d, v) {
1279
- v === void 0 && (v = s);
1277
+ var e = t, o = e.defaultModifiers, r = o === void 0 ? [] : o, n = e.defaultOptions, s = n === void 0 ? Gt : n;
1278
+ return function(a, d, h) {
1279
+ h === void 0 && (h = s);
1280
1280
  var c = {
1281
1281
  placement: "bottom",
1282
1282
  orderedModifiers: [],
1283
- options: Object.assign({}, Yt, s),
1283
+ options: Object.assign({}, Gt, s),
1284
1284
  modifiersData: {},
1285
1285
  elements: {
1286
1286
  reference: a,
@@ -1288,13 +1288,13 @@ function Bn(t) {
1288
1288
  },
1289
1289
  attributes: {},
1290
1290
  styles: {}
1291
- }, p = [], u = !1, f = {
1291
+ }, b = [], u = !1, f = {
1292
1292
  state: c,
1293
1293
  setOptions: function(R) {
1294
1294
  var Y = typeof R == "function" ? R(c.options) : R;
1295
- b(), c.options = Object.assign({}, s, c.options, Y), c.scrollParents = {
1296
- reference: Re(a) ? Ee(a) : a.contextElement ? Ee(a.contextElement) : [],
1297
- popper: Ee(d)
1295
+ p(), c.options = Object.assign({}, s, c.options, Y), c.scrollParents = {
1296
+ reference: Ye(a) ? Re(a) : a.contextElement ? Re(a.contextElement) : [],
1297
+ popper: Re(d)
1298
1298
  };
1299
1299
  var E = Fn(Vn([].concat(r, c.options.modifiers)));
1300
1300
  return c.orderedModifiers = E.filter(function(w) {
@@ -1309,10 +1309,10 @@ function Bn(t) {
1309
1309
  forceUpdate: function() {
1310
1310
  if (!u) {
1311
1311
  var R = c.elements, Y = R.reference, E = R.popper;
1312
- if (Gt(Y, E)) {
1312
+ if (Ct(Y, E)) {
1313
1313
  c.rects = {
1314
- reference: Rn(Y, Ie(E), c.options.strategy === "fixed"),
1315
- popper: ct(E)
1314
+ reference: Rn(Y, Pe(E), c.options.strategy === "fixed"),
1315
+ popper: dt(E)
1316
1316
  }, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(D) {
1317
1317
  return c.modifiersData[D.name] = Object.assign({}, D.data);
1318
1318
  });
@@ -1321,11 +1321,11 @@ function Bn(t) {
1321
1321
  c.reset = !1, w = -1;
1322
1322
  continue;
1323
1323
  }
1324
- var S = c.orderedModifiers[w], G = S.fn, C = S.options, z = C === void 0 ? {} : C, P = S.name;
1324
+ var I = c.orderedModifiers[w], G = I.fn, C = I.options, O = C === void 0 ? {} : C, z = I.name;
1325
1325
  typeof G == "function" && (c = G({
1326
1326
  state: c,
1327
- options: z,
1328
- name: P,
1327
+ options: O,
1328
+ name: z,
1329
1329
  instance: f
1330
1330
  }) || c);
1331
1331
  }
@@ -1340,48 +1340,48 @@ function Bn(t) {
1340
1340
  });
1341
1341
  }),
1342
1342
  destroy: function() {
1343
- b(), u = !0;
1343
+ p(), u = !0;
1344
1344
  }
1345
1345
  };
1346
- if (!Gt(a, d))
1346
+ if (!Ct(a, d))
1347
1347
  return f;
1348
- f.setOptions(v).then(function(g) {
1349
- !u && v.onFirstUpdate && v.onFirstUpdate(g);
1348
+ f.setOptions(h).then(function(g) {
1349
+ !u && h.onFirstUpdate && h.onFirstUpdate(g);
1350
1350
  });
1351
1351
  function x() {
1352
1352
  c.orderedModifiers.forEach(function(g) {
1353
1353
  var R = g.name, Y = g.options, E = Y === void 0 ? {} : Y, w = g.effect;
1354
1354
  if (typeof w == "function") {
1355
- var S = w({
1355
+ var I = w({
1356
1356
  state: c,
1357
1357
  name: R,
1358
1358
  instance: f,
1359
1359
  options: E
1360
1360
  }), G = function() {
1361
1361
  };
1362
- p.push(S || G);
1362
+ b.push(I || G);
1363
1363
  }
1364
1364
  });
1365
1365
  }
1366
- function b() {
1367
- p.forEach(function(g) {
1366
+ function p() {
1367
+ b.forEach(function(g) {
1368
1368
  return g();
1369
- }), p = [];
1369
+ }), b = [];
1370
1370
  }
1371
1371
  return f;
1372
1372
  };
1373
1373
  }
1374
- var je = {
1374
+ var De = {
1375
1375
  passive: !0
1376
1376
  };
1377
1377
  function Wn(t) {
1378
- var e = t.state, o = t.instance, r = t.options, n = r.scroll, s = n === void 0 ? !0 : n, l = r.resize, a = l === void 0 ? !0 : l, d = W(e.elements.popper), v = [].concat(e.scrollParents.reference, e.scrollParents.popper);
1379
- return s && v.forEach(function(c) {
1380
- c.addEventListener("scroll", o.update, je);
1381
- }), a && d.addEventListener("resize", o.update, je), function() {
1382
- s && v.forEach(function(c) {
1383
- c.removeEventListener("scroll", o.update, je);
1384
- }), a && d.removeEventListener("resize", o.update, je);
1378
+ var e = t.state, o = t.instance, r = t.options, n = r.scroll, s = n === void 0 ? !0 : n, l = r.resize, a = l === void 0 ? !0 : l, d = W(e.elements.popper), h = [].concat(e.scrollParents.reference, e.scrollParents.popper);
1379
+ return s && h.forEach(function(c) {
1380
+ c.addEventListener("scroll", o.update, De);
1381
+ }), a && d.addEventListener("resize", o.update, De), function() {
1382
+ s && h.forEach(function(c) {
1383
+ c.removeEventListener("scroll", o.update, De);
1384
+ }), a && d.removeEventListener("resize", o.update, De);
1385
1385
  };
1386
1386
  }
1387
1387
  var Jn = {
@@ -1417,39 +1417,39 @@ var $n = {
1417
1417
  function ts(t) {
1418
1418
  var e = t.x, o = t.y, r = window, n = r.devicePixelRatio || 1;
1419
1419
  return {
1420
- x: He(He(e * n) / n) || 0,
1421
- y: He(He(o * n) / n) || 0
1420
+ x: je(je(e * n) / n) || 0,
1421
+ y: je(je(o * n) / n) || 0
1422
1422
  };
1423
1423
  }
1424
- function Ct(t) {
1425
- var e, o = t.popper, r = t.popperRect, n = t.placement, s = t.variation, l = t.offsets, a = t.position, d = t.gpuAcceleration, v = t.adaptive, c = t.roundOffsets, p = c === !0 ? ts(l) : typeof c == "function" ? c(l) : l, u = p.x, f = u === void 0 ? 0 : u, x = p.y, b = x === void 0 ? 0 : x, g = l.hasOwnProperty("x"), R = l.hasOwnProperty("y"), Y = Q, E = K, w = window;
1426
- if (v) {
1427
- var S = Ie(o), G = "clientHeight", C = "clientWidth";
1428
- S === W(o) && (S = ue(o), ie(S).position !== "static" && a === "absolute" && (G = "scrollHeight", C = "scrollWidth")), S = S, (n === K || (n === Q || n === B) && s === Ye) && (E = U, b -= S[G] - r.height, b *= d ? 1 : -1), (n === Q || (n === K || n === U) && s === Ye) && (Y = B, f -= S[C] - r.width, f *= d ? 1 : -1);
1424
+ function St(t) {
1425
+ var e, o = t.popper, r = t.popperRect, n = t.placement, s = t.variation, l = t.offsets, a = t.position, d = t.gpuAcceleration, h = t.adaptive, c = t.roundOffsets, b = c === !0 ? ts(l) : typeof c == "function" ? c(l) : l, u = b.x, f = u === void 0 ? 0 : u, x = b.y, p = x === void 0 ? 0 : x, g = l.hasOwnProperty("x"), R = l.hasOwnProperty("y"), Y = Q, E = K, w = window;
1426
+ if (h) {
1427
+ var I = Pe(o), G = "clientHeight", C = "clientWidth";
1428
+ I === W(o) && (I = ue(o), ie(I).position !== "static" && a === "absolute" && (G = "scrollHeight", C = "scrollWidth")), I = I, (n === K || (n === Q || n === B) && s === Ge) && (E = U, p -= I[G] - r.height, p *= d ? 1 : -1), (n === Q || (n === K || n === U) && s === Ge) && (Y = B, f -= I[C] - r.width, f *= d ? 1 : -1);
1429
1429
  }
1430
- var z = Object.assign({
1430
+ var O = Object.assign({
1431
1431
  position: a
1432
- }, v && es);
1432
+ }, h && es);
1433
1433
  if (d) {
1434
- var P;
1435
- return Object.assign({}, z, (P = {}, P[E] = R ? "0" : "", P[Y] = g ? "0" : "", P.transform = (w.devicePixelRatio || 1) <= 1 ? "translate(" + f + "px, " + b + "px)" : "translate3d(" + f + "px, " + b + "px, 0)", P));
1434
+ var z;
1435
+ return Object.assign({}, O, (z = {}, z[E] = R ? "0" : "", z[Y] = g ? "0" : "", z.transform = (w.devicePixelRatio || 1) <= 1 ? "translate(" + f + "px, " + p + "px)" : "translate3d(" + f + "px, " + p + "px, 0)", z));
1436
1436
  }
1437
- return Object.assign({}, z, (e = {}, e[E] = R ? b + "px" : "", e[Y] = g ? f + "px" : "", e.transform = "", e));
1437
+ return Object.assign({}, O, (e = {}, e[E] = R ? p + "px" : "", e[Y] = g ? f + "px" : "", e.transform = "", e));
1438
1438
  }
1439
1439
  function os(t) {
1440
- var e = t.state, o = t.options, r = o.gpuAcceleration, n = r === void 0 ? !0 : r, s = o.adaptive, l = s === void 0 ? !0 : s, a = o.roundOffsets, d = a === void 0 ? !0 : a, v = {
1440
+ var e = t.state, o = t.options, r = o.gpuAcceleration, n = r === void 0 ? !0 : r, s = o.adaptive, l = s === void 0 ? !0 : s, a = o.roundOffsets, d = a === void 0 ? !0 : a, h = {
1441
1441
  placement: $(e.placement),
1442
- variation: xe(e.placement),
1442
+ variation: we(e.placement),
1443
1443
  popper: e.elements.popper,
1444
1444
  popperRect: e.rects.popper,
1445
1445
  gpuAcceleration: n
1446
1446
  };
1447
- e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, Ct(Object.assign({}, v, {
1447
+ e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, St(Object.assign({}, h, {
1448
1448
  offsets: e.modifiersData.popperOffsets,
1449
1449
  position: e.options.strategy,
1450
1450
  adaptive: l,
1451
1451
  roundOffsets: d
1452
- })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, Ct(Object.assign({}, v, {
1452
+ })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, St(Object.assign({}, h, {
1453
1453
  offsets: e.modifiersData.arrow,
1454
1454
  position: "absolute",
1455
1455
  adaptive: !1,
@@ -1490,8 +1490,8 @@ function ss(t) {
1490
1490
  };
1491
1491
  return Object.assign(e.elements.popper.style, o.popper), e.styles = o, e.elements.arrow && Object.assign(e.elements.arrow.style, o.arrow), function() {
1492
1492
  Object.keys(e.elements).forEach(function(r) {
1493
- var n = e.elements[r], s = e.attributes[r] || {}, l = Object.keys(e.styles.hasOwnProperty(r) ? e.styles[r] : o[r]), a = l.reduce(function(d, v) {
1494
- return d[v] = "", d;
1493
+ var n = e.elements[r], s = e.attributes[r] || {}, l = Object.keys(e.styles.hasOwnProperty(r) ? e.styles[r] : o[r]), a = l.reduce(function(d, h) {
1494
+ return d[h] = "", d;
1495
1495
  }, {});
1496
1496
  !Z(n) || !ee(n) || (Object.assign(n.style, a), Object.keys(s).forEach(function(d) {
1497
1497
  n.removeAttribute(d);
@@ -1512,34 +1512,34 @@ var as = {
1512
1512
  function cs(t) {
1513
1513
  return t === "x" ? "y" : "x";
1514
1514
  }
1515
- function Te(t, e, o) {
1516
- return de(t, Ge(e, o));
1515
+ function Fe(t, e, o) {
1516
+ return de(t, Ce(e, o));
1517
1517
  }
1518
1518
  function ds(t) {
1519
- var e = t.state, o = t.options, r = t.name, n = o.mainAxis, s = n === void 0 ? !0 : n, l = o.altAxis, a = l === void 0 ? !1 : l, d = o.boundary, v = o.rootBoundary, c = o.altBoundary, p = o.padding, u = o.tether, f = u === void 0 ? !0 : u, x = o.tetherOffset, b = x === void 0 ? 0 : x, g = pt(e, {
1519
+ var e = t.state, o = t.options, r = t.name, n = o.mainAxis, s = n === void 0 ? !0 : n, l = o.altAxis, a = l === void 0 ? !1 : l, d = o.boundary, h = o.rootBoundary, c = o.altBoundary, b = o.padding, u = o.tether, f = u === void 0 ? !0 : u, x = o.tetherOffset, p = x === void 0 ? 0 : x, g = ft(e, {
1520
1520
  boundary: d,
1521
- rootBoundary: v,
1522
- padding: p,
1521
+ rootBoundary: h,
1522
+ padding: b,
1523
1523
  altBoundary: c
1524
- }), R = $(e.placement), Y = xe(e.placement), E = !Y, w = ut(R), S = cs(w), G = e.modifiersData.popperOffsets, C = e.rects.reference, z = e.rects.popper, P = typeof b == "function" ? b(Object.assign({}, e.rects, {
1524
+ }), R = $(e.placement), Y = we(e.placement), E = !Y, w = pt(R), I = cs(w), G = e.modifiersData.popperOffsets, C = e.rects.reference, O = e.rects.popper, z = typeof p == "function" ? p(Object.assign({}, e.rects, {
1525
1525
  placement: e.placement
1526
- })) : b, D = {
1526
+ })) : p, D = {
1527
1527
  x: 0,
1528
1528
  y: 0
1529
1529
  };
1530
1530
  if (G) {
1531
1531
  if (s || a) {
1532
- var N = w === "y" ? K : Q, oe = w === "y" ? U : B, L = w === "y" ? "height" : "width", re = G[w], ne = G[w] + g[N], q = G[w] - g[oe], se = f ? -z[L] / 2 : 0, H = Y === ge ? C[L] : z[L], j = Y === ge ? -z[L] : -C[L], M = e.elements.arrow, ae = f && M ? ct(M) : {
1532
+ var N = w === "y" ? K : Q, oe = w === "y" ? U : B, L = w === "y" ? "height" : "width", re = G[w], ne = G[w] + g[N], q = G[w] - g[oe], se = f ? -O[L] / 2 : 0, H = Y === xe ? C[L] : O[L], j = Y === xe ? -O[L] : -C[L], M = e.elements.arrow, ae = f && M ? dt(M) : {
1533
1533
  width: 0,
1534
1534
  height: 0
1535
- }, ve = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Kt(), ze = ve[N], pe = ve[oe], J = Te(0, C[L], ae[L]), Oe = E ? C[L] / 2 - se - J - ze - P : H - J - ze - P, Qe = E ? -C[L] / 2 + se + J + pe + P : j + J + pe + P, he = e.elements.arrow && Ie(e.elements.arrow), Xe = he ? w === "y" ? he.clientTop || 0 : he.clientLeft || 0 : 0, vt = e.modifiersData.offset ? e.modifiersData.offset[e.placement][w] : 0, ht = G[w] + Oe - vt - Xe, mt = G[w] + Qe - vt;
1535
+ }, ve = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Kt(), Oe = ve[N], pe = ve[oe], J = Fe(0, C[L], ae[L]), Le = E ? C[L] / 2 - se - J - Oe - z : H - J - Oe - z, Xe = E ? -C[L] / 2 + se + J + pe + z : j + J + pe + z, he = e.elements.arrow && Pe(e.elements.arrow), Ue = he ? w === "y" ? he.clientTop || 0 : he.clientLeft || 0 : 0, ht = e.modifiersData.offset ? e.modifiersData.offset[e.placement][w] : 0, mt = G[w] + Le - ht - Ue, bt = G[w] + Xe - ht;
1536
1536
  if (s) {
1537
- var bt = Te(f ? Ge(ne, ht) : ne, re, f ? de(q, mt) : q);
1538
- G[w] = bt, D[w] = bt - re;
1537
+ var yt = Fe(f ? Ce(ne, mt) : ne, re, f ? de(q, bt) : q);
1538
+ G[w] = yt, D[w] = yt - re;
1539
1539
  }
1540
1540
  if (a) {
1541
- var Wt = w === "x" ? K : Q, Jt = w === "x" ? U : B, Le = G[S], yt = Le + g[Wt], gt = Le - g[Jt], xt = Te(f ? Ge(yt, ht) : yt, Le, f ? de(gt, mt) : gt);
1542
- G[S] = xt, D[S] = xt - Le;
1541
+ var Wt = w === "x" ? K : Q, Jt = w === "x" ? U : B, Me = G[I], gt = Me + g[Wt], xt = Me - g[Jt], wt = Fe(f ? Ce(gt, mt) : gt, Me, f ? de(xt, bt) : xt);
1542
+ G[I] = wt, D[I] = wt - Me;
1543
1543
  }
1544
1544
  }
1545
1545
  e.modifiersData[r] = D;
@@ -1557,7 +1557,7 @@ var us = {
1557
1557
  bottom: "top",
1558
1558
  top: "bottom"
1559
1559
  };
1560
- function Fe(t) {
1560
+ function qe(t) {
1561
1561
  return t.replace(/left|right|bottom|top/g, function(e) {
1562
1562
  return ps[e];
1563
1563
  });
@@ -1566,84 +1566,84 @@ var fs = {
1566
1566
  start: "end",
1567
1567
  end: "start"
1568
1568
  };
1569
- function St(t) {
1569
+ function It(t) {
1570
1570
  return t.replace(/start|end/g, function(e) {
1571
1571
  return fs[e];
1572
1572
  });
1573
1573
  }
1574
1574
  function vs(t, e) {
1575
1575
  e === void 0 && (e = {});
1576
- var o = e, r = o.placement, n = o.boundary, s = o.rootBoundary, l = o.padding, a = o.flipVariations, d = o.allowedAutoPlacements, v = d === void 0 ? qt : d, c = xe(r), p = c ? a ? Et : Et.filter(function(x) {
1577
- return xe(x) === c;
1578
- }) : Pe, u = p.filter(function(x) {
1579
- return v.indexOf(x) >= 0;
1576
+ var o = e, r = o.placement, n = o.boundary, s = o.rootBoundary, l = o.padding, a = o.flipVariations, d = o.allowedAutoPlacements, h = d === void 0 ? qt : d, c = we(r), b = c ? a ? Rt : Rt.filter(function(x) {
1577
+ return we(x) === c;
1578
+ }) : ze, u = b.filter(function(x) {
1579
+ return h.indexOf(x) >= 0;
1580
1580
  });
1581
- u.length === 0 && (u = p);
1582
- var f = u.reduce(function(x, b) {
1583
- return x[b] = pt(t, {
1584
- placement: b,
1581
+ u.length === 0 && (u = b);
1582
+ var f = u.reduce(function(x, p) {
1583
+ return x[p] = ft(t, {
1584
+ placement: p,
1585
1585
  boundary: n,
1586
1586
  rootBoundary: s,
1587
1587
  padding: l
1588
- })[$(b)], x;
1588
+ })[$(p)], x;
1589
1589
  }, {});
1590
- return Object.keys(f).sort(function(x, b) {
1591
- return f[x] - f[b];
1590
+ return Object.keys(f).sort(function(x, p) {
1591
+ return f[x] - f[p];
1592
1592
  });
1593
1593
  }
1594
1594
  function hs(t) {
1595
- if ($(t) === dt)
1595
+ if ($(t) === ut)
1596
1596
  return [];
1597
- var e = Fe(t);
1598
- return [St(t), e, St(e)];
1597
+ var e = qe(t);
1598
+ return [It(t), e, It(e)];
1599
1599
  }
1600
1600
  function ms(t) {
1601
1601
  var e = t.state, o = t.options, r = t.name;
1602
1602
  if (!e.modifiersData[r]._skip) {
1603
- for (var n = o.mainAxis, s = n === void 0 ? !0 : n, l = o.altAxis, a = l === void 0 ? !0 : l, d = o.fallbackPlacements, v = o.padding, c = o.boundary, p = o.rootBoundary, u = o.altBoundary, f = o.flipVariations, x = f === void 0 ? !0 : f, b = o.allowedAutoPlacements, g = e.options.placement, R = $(g), Y = R === g, E = d || (Y || !x ? [Fe(g)] : hs(g)), w = [g].concat(E).reduce(function(pe, J) {
1604
- return pe.concat($(J) === dt ? vs(e, {
1603
+ for (var n = o.mainAxis, s = n === void 0 ? !0 : n, l = o.altAxis, a = l === void 0 ? !0 : l, d = o.fallbackPlacements, h = o.padding, c = o.boundary, b = o.rootBoundary, u = o.altBoundary, f = o.flipVariations, x = f === void 0 ? !0 : f, p = o.allowedAutoPlacements, g = e.options.placement, R = $(g), Y = R === g, E = d || (Y || !x ? [qe(g)] : hs(g)), w = [g].concat(E).reduce(function(pe, J) {
1604
+ return pe.concat($(J) === ut ? vs(e, {
1605
1605
  placement: J,
1606
1606
  boundary: c,
1607
- rootBoundary: p,
1608
- padding: v,
1607
+ rootBoundary: b,
1608
+ padding: h,
1609
1609
  flipVariations: x,
1610
- allowedAutoPlacements: b
1610
+ allowedAutoPlacements: p
1611
1611
  }) : J);
1612
- }, []), S = e.rects.reference, G = e.rects.popper, C = /* @__PURE__ */ new Map(), z = !0, P = w[0], D = 0; D < w.length; D++) {
1613
- var N = w[D], oe = $(N), L = xe(N) === ge, re = [K, U].indexOf(oe) >= 0, ne = re ? "width" : "height", q = pt(e, {
1612
+ }, []), I = e.rects.reference, G = e.rects.popper, C = /* @__PURE__ */ new Map(), O = !0, z = w[0], D = 0; D < w.length; D++) {
1613
+ var N = w[D], oe = $(N), L = we(N) === xe, re = [K, U].indexOf(oe) >= 0, ne = re ? "width" : "height", q = ft(e, {
1614
1614
  placement: N,
1615
1615
  boundary: c,
1616
- rootBoundary: p,
1616
+ rootBoundary: b,
1617
1617
  altBoundary: u,
1618
- padding: v
1618
+ padding: h
1619
1619
  }), se = re ? L ? B : Q : L ? U : K;
1620
- S[ne] > G[ne] && (se = Fe(se));
1621
- var H = Fe(se), j = [];
1620
+ I[ne] > G[ne] && (se = qe(se));
1621
+ var H = qe(se), j = [];
1622
1622
  if (s && j.push(q[oe] <= 0), a && j.push(q[se] <= 0, q[H] <= 0), j.every(function(pe) {
1623
1623
  return pe;
1624
1624
  })) {
1625
- P = N, z = !1;
1625
+ z = N, O = !1;
1626
1626
  break;
1627
1627
  }
1628
1628
  C.set(N, j);
1629
1629
  }
1630
- if (z)
1630
+ if (O)
1631
1631
  for (var M = x ? 3 : 1, ae = function(J) {
1632
- var Oe = w.find(function(Qe) {
1633
- var he = C.get(Qe);
1632
+ var Le = w.find(function(Xe) {
1633
+ var he = C.get(Xe);
1634
1634
  if (he)
1635
- return he.slice(0, J).every(function(Xe) {
1636
- return Xe;
1635
+ return he.slice(0, J).every(function(Ue) {
1636
+ return Ue;
1637
1637
  });
1638
1638
  });
1639
- if (Oe)
1640
- return P = Oe, "break";
1639
+ if (Le)
1640
+ return z = Le, "break";
1641
1641
  }, ve = M; ve > 0; ve--) {
1642
- var ze = ae(ve);
1643
- if (ze === "break")
1642
+ var Oe = ae(ve);
1643
+ if (Oe === "break")
1644
1644
  break;
1645
1645
  }
1646
- e.placement !== P && (e.modifiersData[r]._skip = !0, e.placement = P, e.reset = !0);
1646
+ e.placement !== z && (e.modifiersData[r]._skip = !0, e.placement = z, e.reset = !0);
1647
1647
  }
1648
1648
  }
1649
1649
  var bs = {
@@ -1669,10 +1669,10 @@ function ys(t, e, o) {
1669
1669
  };
1670
1670
  }
1671
1671
  function gs(t) {
1672
- var e = t.state, o = t.options, r = t.name, n = o.offset, s = n === void 0 ? [0, 0] : n, l = qt.reduce(function(c, p) {
1673
- return c[p] = ys(p, e.rects, s), c;
1674
- }, {}), a = l[e.placement], d = a.x, v = a.y;
1675
- e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += d, e.modifiersData.popperOffsets.y += v), e.modifiersData[r] = l;
1672
+ var e = t.state, o = t.options, r = t.name, n = o.offset, s = n === void 0 ? [0, 0] : n, l = qt.reduce(function(c, b) {
1673
+ return c[b] = ys(b, e.rects, s), c;
1674
+ }, {}), a = l[e.placement], d = a.x, h = a.y;
1675
+ e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += d, e.modifiersData.popperOffsets.y += h), e.modifiersData[r] = l;
1676
1676
  }
1677
1677
  var xs = {
1678
1678
  name: "offset",
@@ -1683,13 +1683,13 @@ var xs = {
1683
1683
  }, ws = function(e, o) {
1684
1684
  return e = typeof e == "function" ? e(Object.assign({}, o.rects, {
1685
1685
  placement: o.placement
1686
- })) : e, Qt(typeof e != "number" ? e : Xt(e, Pe));
1686
+ })) : e, Qt(typeof e != "number" ? e : Xt(e, ze));
1687
1687
  };
1688
1688
  function As(t) {
1689
- var e, o = t.state, r = t.name, n = t.options, s = o.elements.arrow, l = o.modifiersData.popperOffsets, a = $(o.placement), d = ut(a), v = [Q, B].indexOf(a) >= 0, c = v ? "height" : "width";
1689
+ var e, o = t.state, r = t.name, n = t.options, s = o.elements.arrow, l = o.modifiersData.popperOffsets, a = $(o.placement), d = pt(a), h = [Q, B].indexOf(a) >= 0, c = h ? "height" : "width";
1690
1690
  if (!(!s || !l)) {
1691
- var p = ws(n.padding, o), u = ct(s), f = d === "y" ? K : Q, x = d === "y" ? U : B, b = o.rects.reference[c] + o.rects.reference[d] - l[d] - o.rects.popper[c], g = l[d] - o.rects.reference[d], R = Ie(s), Y = R ? d === "y" ? R.clientHeight || 0 : R.clientWidth || 0 : 0, E = b / 2 - g / 2, w = p[f], S = Y - u[c] - p[x], G = Y / 2 - u[c] / 2 + E, C = Te(w, G, S), z = d;
1692
- o.modifiersData[r] = (e = {}, e[z] = C, e.centerOffset = C - G, e);
1691
+ var b = ws(n.padding, o), u = dt(s), f = d === "y" ? K : Q, x = d === "y" ? U : B, p = o.rects.reference[c] + o.rects.reference[d] - l[d] - o.rects.popper[c], g = l[d] - o.rects.reference[d], R = Pe(s), Y = R ? d === "y" ? R.clientHeight || 0 : R.clientWidth || 0 : 0, E = p / 2 - g / 2, w = b[f], I = Y - u[c] - b[x], G = Y / 2 - u[c] / 2 + E, C = Fe(w, G, I), O = d;
1692
+ o.modifiersData[r] = (e = {}, e[O] = C, e.centerOffset = C - G, e);
1693
1693
  }
1694
1694
  }
1695
1695
  function ks(t) {
@@ -1705,7 +1705,7 @@ var Es = {
1705
1705
  requires: ["popperOffsets"],
1706
1706
  requiresIfExists: ["preventOverflow"]
1707
1707
  };
1708
- const _e = (t) => parseInt(t, 10);
1708
+ const $e = (t) => parseInt(t, 10);
1709
1709
  function Rs({
1710
1710
  arrowPadding: t,
1711
1711
  emit: e,
@@ -1719,22 +1719,22 @@ function Rs({
1719
1719
  const d = ao({
1720
1720
  isOpen: !1,
1721
1721
  popperInstance: null
1722
- }), v = (b) => {
1722
+ }), h = (p) => {
1723
1723
  var g;
1724
1724
  (g = d.popperInstance) === null || g === void 0 || g.setOptions((R) => ({
1725
1725
  ...R,
1726
1726
  modifiers: [...R.modifiers, {
1727
1727
  name: "eventListeners",
1728
- enabled: b
1728
+ enabled: p
1729
1729
  }]
1730
1730
  }));
1731
- }, c = () => v(!0), p = () => v(!1), u = () => {
1731
+ }, c = () => h(!0), b = () => h(!1), u = () => {
1732
1732
  d.isOpen && (d.isOpen = !1, e("close:popper"));
1733
1733
  }, f = () => {
1734
1734
  d.isOpen || (d.isOpen = !0, e("open:popper"));
1735
1735
  };
1736
- be([() => d.isOpen, s], async ([b]) => {
1737
- b ? (await x(), c()) : p();
1736
+ ye([() => d.isOpen, s], async ([p]) => {
1737
+ p ? (await x(), c()) : b();
1738
1738
  });
1739
1739
  const x = async () => {
1740
1740
  await io(), d.popperInstance = ls(a.value, l.value, {
@@ -1745,21 +1745,21 @@ function Rs({
1745
1745
  }, Es, {
1746
1746
  name: "arrow",
1747
1747
  options: {
1748
- padding: _e(t.value)
1748
+ padding: $e(t.value)
1749
1749
  }
1750
1750
  }, xs, {
1751
1751
  name: "offset",
1752
1752
  options: {
1753
- offset: [_e(n.value), _e(r.value)]
1753
+ offset: [$e(n.value), $e(r.value)]
1754
1754
  }
1755
1755
  }]
1756
1756
  }), d.popperInstance.update();
1757
1757
  };
1758
- return rt(() => {
1759
- var b;
1760
- (b = d.popperInstance) === null || b === void 0 || b.destroy();
1758
+ return nt(() => {
1759
+ var p;
1760
+ (p = d.popperInstance) === null || p === void 0 || p.destroy();
1761
1761
  }), {
1762
- ...zt(d),
1762
+ ...Ot(d),
1763
1763
  open: f,
1764
1764
  close: u
1765
1765
  };
@@ -1769,7 +1769,7 @@ const Ys = {
1769
1769
  "data-popper-arrow": ""
1770
1770
  };
1771
1771
  function Gs(t, e) {
1772
- return h(), m("div", Ys);
1772
+ return v(), m("div", Ys);
1773
1773
  }
1774
1774
  function Ut(t, e) {
1775
1775
  e === void 0 && (e = {});
@@ -1837,10 +1837,10 @@ var Cs = `
1837
1837
  }
1838
1838
  `;
1839
1839
  Ut(Cs);
1840
- const ft = {};
1841
- ft.render = Gs;
1842
- ft.__scopeId = "data-v-20b7fd4a";
1843
- var Ss = ft;
1840
+ const vt = {};
1841
+ vt.render = Gs;
1842
+ vt.__scopeId = "data-v-20b7fd4a";
1843
+ var Ss = vt;
1844
1844
  const Is = ["onKeyup"];
1845
1845
  var Bt = {
1846
1846
  props: {
@@ -1962,57 +1962,57 @@ var Bt = {
1962
1962
  c81fc0a4: t.zIndex
1963
1963
  }));
1964
1964
  const r = oo(), n = k(null), s = k(null), l = k(null), a = k(!1);
1965
- Ce(() => {
1965
+ Se(() => {
1966
1966
  const H = r.default();
1967
1967
  if (H && H.length > 1)
1968
1968
  return console.error(`[Popper]: The <Popper> component expects only one child element at its root. You passed ${H.length} child nodes.`);
1969
1969
  });
1970
1970
  const {
1971
1971
  arrowPadding: d,
1972
- closeDelay: v,
1972
+ closeDelay: h,
1973
1973
  content: c,
1974
- disableClickAway: p,
1974
+ disableClickAway: b,
1975
1975
  disabled: u,
1976
1976
  interactive: f,
1977
1977
  locked: x,
1978
- offsetDistance: b,
1978
+ offsetDistance: p,
1979
1979
  offsetSkid: g,
1980
1980
  openDelay: R,
1981
1981
  placement: Y,
1982
1982
  show: E
1983
- } = zt(o), {
1983
+ } = Ot(o), {
1984
1984
  isOpen: w,
1985
- open: S,
1985
+ open: I,
1986
1986
  close: G
1987
1987
  } = Rs({
1988
1988
  arrowPadding: d,
1989
1989
  emit: e,
1990
1990
  locked: x,
1991
- offsetDistance: b,
1991
+ offsetDistance: p,
1992
1992
  offsetSkid: g,
1993
1993
  placement: Y,
1994
1994
  popperNode: s,
1995
1995
  triggerNode: l
1996
1996
  }), {
1997
1997
  hasContent: C
1998
- } = wn(r, s, c), z = Ae(() => E.value !== null), P = Ae(() => u.value || !C.value), D = Ae(() => w.value && !P.value), N = Ae(() => !p.value && !z.value), oe = Ae(() => f.value ? `border: ${b.value}px solid transparent; margin: -${b.value}px;` : null), L = Je.debounce(S, R.value), re = Je.debounce(G, v.value), ne = async () => {
1999
- P.value || z.value || (re.clear(), L());
1998
+ } = wn(r, s, c), O = ke(() => E.value !== null), z = ke(() => u.value || !C.value), D = ke(() => w.value && !z.value), N = ke(() => !b.value && !O.value), oe = ke(() => f.value ? `border: ${p.value}px solid transparent; margin: -${p.value}px;` : null), L = _e.debounce(I, R.value), re = _e.debounce(G, h.value), ne = async () => {
1999
+ z.value || O.value || (re.clear(), L());
2000
2000
  }, q = async () => {
2001
- z.value || (L.clear(), re());
2001
+ O.value || (L.clear(), re());
2002
2002
  }, se = () => {
2003
2003
  w.value ? q() : ne();
2004
2004
  };
2005
- return be([C, u], ([H, j]) => {
2005
+ return ye([C, u], ([H, j]) => {
2006
2006
  w.value && (!H || j) && G();
2007
- }), be(w, (H) => {
2008
- H ? a.value = !0 : Je.debounce(() => {
2007
+ }), ye(w, (H) => {
2008
+ H ? a.value = !0 : _e.debounce(() => {
2009
2009
  a.value = !1;
2010
2010
  }, 200);
2011
- }), wt(() => {
2012
- z.value && (E.value ? L() : re());
2013
- }), wt(() => {
2011
+ }), At(() => {
2012
+ O.value && (E.value ? L() : re());
2013
+ }), At(() => {
2014
2014
  N.value && xn(n, q);
2015
- }), (H, j) => (h(), m("div", {
2015
+ }), (H, j) => (v(), m("div", {
2016
2016
  class: "inline-block",
2017
2017
  style: so(y(oe)),
2018
2018
  onMouseleave: j[2] || (j[2] = (M) => t.hover && q()),
@@ -2027,7 +2027,7 @@ var Bt = {
2027
2027
  onClick: se,
2028
2028
  onFocus: ne,
2029
2029
  onKeyup: ro(q, ["esc"])
2030
- }, [et(H.$slots, "default")], 40, Is), A(Pt, {
2030
+ }, [tt(H.$slots, "default")], 40, Is), A(zt, {
2031
2031
  name: "fade"
2032
2032
  }, {
2033
2033
  default: T(() => [fe(i("div", {
@@ -2036,12 +2036,12 @@ var Bt = {
2036
2036
  ref: (M, ae) => {
2037
2037
  ae.popperNode = M, s.value = M;
2038
2038
  }
2039
- }, [et(H.$slots, "content", {
2039
+ }, [tt(H.$slots, "content", {
2040
2040
  close: y(G),
2041
2041
  isOpen: a.value
2042
- }, () => [_(I(y(c)), 1)]), t.arrow ? (h(), Ot(Ss, {
2042
+ }, () => [_(P(y(c)), 1)]), t.arrow ? (v(), me(Ss, {
2043
2043
  key: 0
2044
- })) : O("", !0)], 512), [[no, y(D)]])]),
2044
+ })) : S("", !0)], 512), [[no, y(D)]])]),
2045
2045
  _: 3
2046
2046
  })], 36));
2047
2047
  }
@@ -2079,7 +2079,7 @@ var Bt = {
2079
2079
  `;
2080
2080
  Ut(Ps);
2081
2081
  Bt.__scopeId = "data-v-5784ed69";
2082
- var De = /* @__PURE__ */ (() => {
2082
+ var Ne = /* @__PURE__ */ (() => {
2083
2083
  const t = Bt;
2084
2084
  return t.install = (e) => {
2085
2085
  e.component("Popper", t);
@@ -2102,140 +2102,147 @@ const zs = {
2102
2102
  role: "none"
2103
2103
  }, Fs = ["onClick"], qs = { key: 1 }, Vs = /* @__PURE__ */ i("img", {
2104
2104
  class: "w-12 h-12 block loadercss",
2105
- src: Ve,
2105
+ src: Ze,
2106
2106
  alt: "Loader Gif"
2107
2107
  }, null, -1), Zs = [
2108
2108
  Vs
2109
2109
  ], Ks = /* @__PURE__ */ te({
2110
2110
  __name: "SkillOptions",
2111
2111
  setup(t) {
2112
- const e = le(), o = we(), r = k(!0), n = k(!1), s = k(!1), l = k(!1), a = k(!1), d = async (v) => {
2113
- var c, p;
2112
+ const e = le(), o = Ae(), r = k(!0), n = k(!1), s = k(!1), l = k(!1), a = k(!1), d = async (h) => {
2113
+ var c, b;
2114
2114
  try {
2115
2115
  r.value = !1;
2116
2116
  const u = await Lt(
2117
- `/initialDataV2?skill_id=${v.skill_id}&prof_id=${xo}&skill_master_id=${v.skill_master_id}`
2117
+ `/initialDataV2?skill_id=${h.skill_id}&prof_id=${xo}&skill_master_id=${h.skill_master_id}`
2118
2118
  );
2119
2119
  e.selectSkill(u.data), e.addPostSkillSelectionMessage(), r.value = !0;
2120
2120
  } catch (u) {
2121
2121
  if (console.error(u), X.isAxiosError(u)) {
2122
2122
  const f = u;
2123
- console.error((c = f.response) == null ? void 0 : c.data), o.setError(((p = f.response) == null ? void 0 : p.data).message);
2123
+ console.error((c = f.response) == null ? void 0 : c.data), o.setError(((b = f.response) == null ? void 0 : b.data).message);
2124
2124
  } else
2125
2125
  o.setError("There was an issue, please contact helpmate");
2126
2126
  }
2127
2127
  };
2128
- return (v, c) => r.value ? (h(), m("div", zs, [
2129
- (h(!0), m(F, null, V(y(e).user_skills, (p) => (h(), m("div", {
2130
- class: "md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2",
2131
- onClick: (u) => d(p),
2132
- key: p.skill_id
2133
- }, I(p.skill_name), 9, Os))), 128)),
2134
- A(y(De), {
2135
- show: n.value,
2136
- placement: "bottom"
2137
- }, {
2138
- content: T(() => [
2139
- i("div", Ls, [
2140
- (h(!0), m(F, null, V(y(e).industry_skills, (p) => (h(), m("div", {
2141
- onClick: (u) => d(p),
2142
- key: p.skill_id,
2143
- class: "cursor-pointer hover:text-genpact-blue-box hover:font-bold text-gray-700 block px-4 py-2 text-sm"
2144
- }, I(p.skill_name), 9, Ms))), 128))
2145
- ])
2146
- ]),
2147
- default: T(() => [
2148
- i("button", {
2149
- onClick: c[0] || (c[0] = (p) => n.value = !n.value),
2150
- onFocusout: c[1] || (c[1] = (p) => n.value = !1),
2151
- type: "button",
2152
- class: "flex items-center gap-2 md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2"
2153
- }, [
2154
- _(" Industry "),
2155
- A(y(Me), { class: "w-3 h-3" })
2156
- ], 32)
2157
- ]),
2158
- _: 1
2159
- }, 8, ["show"]),
2160
- A(y(De), {
2161
- show: s.value,
2162
- placement: "bottom"
2163
- }, {
2164
- content: T(() => [
2165
- i("div", Hs, [
2166
- (h(!0), m(F, null, V(y(e).service_line_skills, (p) => (h(), m("div", {
2167
- onClick: (u) => d(p),
2168
- key: p.skill_id,
2169
- class: "cursor-pointer hover:text-genpact-blue-box hover:font-bold text-gray-700 block px-4 py-2 text-sm"
2170
- }, I(p.skill_name), 9, js))), 128))
2171
- ])
2172
- ]),
2173
- default: T(() => [
2174
- i("button", {
2175
- onClick: c[2] || (c[2] = (p) => s.value = !s.value),
2176
- onFocusout: c[3] || (c[3] = (p) => s.value = !1),
2177
- type: "button",
2178
- class: "flex items-center gap-2 md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2"
2179
- }, [
2180
- _(" Service Line "),
2181
- A(y(Me), { class: "w-3 h-3" })
2182
- ], 32)
2183
- ]),
2184
- _: 1
2185
- }, 8, ["show"]),
2186
- A(y(De), {
2187
- show: l.value,
2188
- placement: "bottom"
2189
- }, {
2190
- content: T(() => [
2191
- i("div", Ds, [
2192
- (h(!0), m(F, null, V(y(e).digital_skills, (p) => (h(), m("div", {
2193
- onClick: (u) => d(p),
2194
- key: p.skill_id,
2195
- class: "cursor-pointer hover:text-genpact-blue-box hover:font-bold text-gray-700 block px-4 py-2 text-sm"
2196
- }, I(p.skill_name), 9, Ns))), 128))
2197
- ])
2198
- ]),
2199
- default: T(() => [
2200
- i("button", {
2201
- onClick: c[4] || (c[4] = (p) => l.value = !l.value),
2202
- onFocusout: c[5] || (c[5] = (p) => l.value = !1),
2203
- type: "button",
2204
- class: "flex items-center gap-2 md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2"
2205
- }, [
2206
- _(" Digital "),
2207
- A(y(Me), { class: "w-3 h-3" })
2208
- ], 32)
2209
- ]),
2210
- _: 1
2211
- }, 8, ["show"]),
2212
- A(y(De), {
2213
- show: a.value,
2214
- placement: "bottom"
2215
- }, {
2216
- content: T(() => [
2217
- i("div", Ts, [
2218
- (h(!0), m(F, null, V(y(e).professional_skills, (p) => (h(), m("div", {
2219
- onClick: (u) => d(p),
2220
- key: p.skill_id,
2221
- class: "cursor-pointer hover:text-genpact-blue-box hover:font-bold text-gray-700 block px-4 py-2 text-sm"
2222
- }, I(p.skill_name), 9, Fs))), 128))
2223
- ])
2224
- ]),
2225
- default: T(() => [
2226
- i("button", {
2227
- onClick: c[6] || (c[6] = (p) => a.value = !a.value),
2228
- onFocusout: c[7] || (c[7] = (p) => a.value = !1),
2229
- type: "button",
2230
- class: "flex items-center gap-2 md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2"
2231
- }, [
2232
- _(" Professional "),
2233
- A(y(Me), { class: "w-3 h-3" })
2234
- ], 32)
2235
- ]),
2236
- _: 1
2237
- }, 8, ["show"])
2238
- ])) : (h(), m("div", qs, Zs));
2128
+ return (h, c) => {
2129
+ var b, u, f, x;
2130
+ return r.value ? (v(), m("div", zs, [
2131
+ (v(!0), m(F, null, V(y(e).user_skills, (p) => (v(), m("div", {
2132
+ class: "md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2",
2133
+ onClick: (g) => d(p),
2134
+ key: p.skill_id
2135
+ }, P(p.skill_name), 9, Os))), 128)),
2136
+ (b = y(e).industry_skills) != null && b.length ? (v(), me(y(Ne), {
2137
+ key: 0,
2138
+ show: n.value,
2139
+ placement: "bottom"
2140
+ }, {
2141
+ content: T(() => [
2142
+ i("div", Ls, [
2143
+ (v(!0), m(F, null, V(y(e).industry_skills, (p) => (v(), m("div", {
2144
+ onClick: (g) => d(p),
2145
+ key: p.skill_id,
2146
+ class: "cursor-pointer hover:text-genpact-blue-box hover:font-bold text-gray-700 block px-4 py-2 text-sm"
2147
+ }, P(p.skill_name), 9, Ms))), 128))
2148
+ ])
2149
+ ]),
2150
+ default: T(() => [
2151
+ i("button", {
2152
+ onClick: c[0] || (c[0] = (p) => n.value = !n.value),
2153
+ onFocusout: c[1] || (c[1] = (p) => n.value = !1),
2154
+ type: "button",
2155
+ class: "flex items-center gap-2 md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2"
2156
+ }, [
2157
+ _(" Industry "),
2158
+ A(y(He), { class: "w-3 h-3" })
2159
+ ], 32)
2160
+ ]),
2161
+ _: 1
2162
+ }, 8, ["show"])) : S("", !0),
2163
+ (u = y(e).service_line_skills) != null && u.length ? (v(), me(y(Ne), {
2164
+ key: 1,
2165
+ show: s.value,
2166
+ placement: "bottom"
2167
+ }, {
2168
+ content: T(() => [
2169
+ i("div", Hs, [
2170
+ (v(!0), m(F, null, V(y(e).service_line_skills, (p) => (v(), m("div", {
2171
+ onClick: (g) => d(p),
2172
+ key: p.skill_id,
2173
+ class: "cursor-pointer hover:text-genpact-blue-box hover:font-bold text-gray-700 block px-4 py-2 text-sm"
2174
+ }, P(p.skill_name), 9, js))), 128))
2175
+ ])
2176
+ ]),
2177
+ default: T(() => [
2178
+ i("button", {
2179
+ onClick: c[2] || (c[2] = (p) => s.value = !s.value),
2180
+ onFocusout: c[3] || (c[3] = (p) => s.value = !1),
2181
+ type: "button",
2182
+ class: "flex items-center gap-2 md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2"
2183
+ }, [
2184
+ _(" Service Line "),
2185
+ A(y(He), { class: "w-3 h-3" })
2186
+ ], 32)
2187
+ ]),
2188
+ _: 1
2189
+ }, 8, ["show"])) : S("", !0),
2190
+ (f = y(e).digital_skills) != null && f.length ? (v(), me(y(Ne), {
2191
+ key: 2,
2192
+ show: l.value,
2193
+ placement: "bottom"
2194
+ }, {
2195
+ content: T(() => [
2196
+ i("div", Ds, [
2197
+ (v(!0), m(F, null, V(y(e).digital_skills, (p) => (v(), m("div", {
2198
+ onClick: (g) => d(p),
2199
+ key: p.skill_id,
2200
+ class: "cursor-pointer hover:text-genpact-blue-box hover:font-bold text-gray-700 block px-4 py-2 text-sm"
2201
+ }, P(p.skill_name), 9, Ns))), 128))
2202
+ ])
2203
+ ]),
2204
+ default: T(() => [
2205
+ i("button", {
2206
+ onClick: c[4] || (c[4] = (p) => l.value = !l.value),
2207
+ onFocusout: c[5] || (c[5] = (p) => l.value = !1),
2208
+ type: "button",
2209
+ class: "flex items-center gap-2 md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2"
2210
+ }, [
2211
+ _(" Digital "),
2212
+ A(y(He), { class: "w-3 h-3" })
2213
+ ], 32)
2214
+ ]),
2215
+ _: 1
2216
+ }, 8, ["show"])) : S("", !0),
2217
+ (x = y(e).professional_skills) != null && x.length ? (v(), me(y(Ne), {
2218
+ key: 3,
2219
+ show: a.value,
2220
+ placement: "bottom"
2221
+ }, {
2222
+ content: T(() => [
2223
+ i("div", Ts, [
2224
+ (v(!0), m(F, null, V(y(e).professional_skills, (p) => (v(), m("div", {
2225
+ onClick: (g) => d(p),
2226
+ key: p.skill_id,
2227
+ class: "cursor-pointer hover:text-genpact-blue-box hover:font-bold text-gray-700 block px-4 py-2 text-sm"
2228
+ }, P(p.skill_name), 9, Fs))), 128))
2229
+ ])
2230
+ ]),
2231
+ default: T(() => [
2232
+ i("button", {
2233
+ onClick: c[6] || (c[6] = (p) => a.value = !a.value),
2234
+ onFocusout: c[7] || (c[7] = (p) => a.value = !1),
2235
+ type: "button",
2236
+ class: "flex items-center gap-2 md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2"
2237
+ }, [
2238
+ _(" Professional "),
2239
+ A(y(He), { class: "w-3 h-3" })
2240
+ ], 32)
2241
+ ]),
2242
+ _: 1
2243
+ }, 8, ["show"])) : S("", !0)
2244
+ ])) : (v(), m("div", qs, Zs));
2245
+ };
2239
2246
  }
2240
2247
  }), Qs = {
2241
2248
  key: 0,
@@ -2245,7 +2252,7 @@ const zs = {
2245
2252
  class: "flex gap-2 items-center flex-wrap"
2246
2253
  }, Bs = ["onClick"], Ws = { key: 1 }, Js = /* @__PURE__ */ i("img", {
2247
2254
  class: "w-12 h-12 block loadercss",
2248
- src: Ve,
2255
+ src: Ze,
2249
2256
  alt: "Loader Gif"
2250
2257
  }, null, -1), _s = [
2251
2258
  Js
@@ -2259,25 +2266,25 @@ const zs = {
2259
2266
  }
2260
2267
  await e.generateUseCases(s.useCaseId), e.addConversation({ question: s.useCaseName, answer: null }, "faq"), o.value = !0;
2261
2268
  };
2262
- return (s, l) => o.value ? (h(), m("div", Qs, [
2263
- (h(!0), m(F, null, V(y(e).postSkillUseCases, (a) => (h(), m("div", {
2269
+ return (s, l) => o.value ? (v(), m("div", Qs, [
2270
+ (v(!0), m(F, null, V(y(e).postSkillUseCases, (a) => (v(), m("div", {
2264
2271
  class: "md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2",
2265
2272
  onClick: (d) => n(a),
2266
2273
  key: a.useCaseId
2267
- }, I(a.useCaseName), 9, Xs))), 128)),
2268
- y(e).otherUseCases.length > 0 && !r.value ? (h(), m("button", {
2274
+ }, P(a.useCaseName), 9, Xs))), 128)),
2275
+ y(e).otherUseCases.length > 0 && !r.value ? (v(), m("button", {
2269
2276
  key: 0,
2270
2277
  class: "md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2",
2271
2278
  onClick: l[0] || (l[0] = (a) => r.value = !r.value)
2272
- }, " Others ")) : O("", !0),
2273
- r.value ? (h(), m("div", Us, [
2274
- (h(!0), m(F, null, V(y(e).otherUseCases, (a) => (h(), m("div", {
2279
+ }, " Others ")) : S("", !0),
2280
+ r.value ? (v(), m("div", Us, [
2281
+ (v(!0), m(F, null, V(y(e).otherUseCases, (a) => (v(), m("div", {
2275
2282
  class: "md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2",
2276
2283
  onClick: (d) => n(a),
2277
2284
  key: a.useCaseId
2278
- }, I(a.useCaseName), 9, Bs))), 128))
2279
- ])) : O("", !0)
2280
- ])) : (h(), m("div", Ws, _s));
2285
+ }, P(a.useCaseName), 9, Bs))), 128))
2286
+ ])) : S("", !0)
2287
+ ])) : (v(), m("div", Ws, _s));
2281
2288
  }
2282
2289
  }), ea = { key: 0 }, ta = { key: 1 }, oa = { key: 0 }, ra = { key: 1 }, na = /* @__PURE__ */ te({
2283
2290
  __name: "Conversation",
@@ -2287,20 +2294,20 @@ const zs = {
2287
2294
  const r = le(), n = k();
2288
2295
  return co(() => {
2289
2296
  n.value.scrollTo(0, n.value.scrollHeight);
2290
- }), (s, l) => (h(), m("div", {
2297
+ }), (s, l) => (v(), m("div", {
2291
2298
  ref_key: "nestedElement",
2292
2299
  ref: n,
2293
2300
  class: "smooth-scroll overflow-auto md:p-8 p-3 pb-[80px]"
2294
2301
  }, [
2295
2302
  A(vn),
2296
- (h(!0), m(F, null, V(y(r).conversations, (a, d) => (h(), m("div", { key: d }, [
2297
- a.question ? (h(), m("div", ea, [
2303
+ (v(!0), m(F, null, V(y(r).conversations, (a, d) => (v(), m("div", { key: d }, [
2304
+ a.question ? (v(), m("div", ea, [
2298
2305
  A(yn, {
2299
2306
  question: a.question,
2300
2307
  "show-feedback": a.showFeedback
2301
2308
  }, null, 8, ["question", "show-feedback"])
2302
- ])) : O("", !0),
2303
- a.answer ? (h(), m("div", ta, [
2309
+ ])) : S("", !0),
2310
+ a.answer ? (v(), m("div", ta, [
2304
2311
  A(cn, {
2305
2312
  question: a.question,
2306
2313
  "show-sources": a.showSources,
@@ -2308,14 +2315,14 @@ const zs = {
2308
2315
  answer: a.answer.replaceAll("<a", y(e)).replaceAll("<ul", y(o)),
2309
2316
  "show-feedback": a.showFeedback
2310
2317
  }, null, 8, ["question", "show-sources", "questionId", "answer", "show-feedback"])
2311
- ])) : O("", !0)
2318
+ ])) : S("", !0)
2312
2319
  ]))), 128)),
2313
- y(r).skill_id ? O("", !0) : (h(), m("div", oa, [
2320
+ y(r).skill_id ? S("", !0) : (v(), m("div", oa, [
2314
2321
  A(Ks)
2315
2322
  ])),
2316
- y(r).showPostSkillUseCases ? (h(), m("div", ra, [
2323
+ y(r).showPostSkillUseCases ? (v(), m("div", ra, [
2317
2324
  A($s)
2318
- ])) : O("", !0)
2325
+ ])) : S("", !0)
2319
2326
  ], 512));
2320
2327
  }
2321
2328
  });
@@ -2341,21 +2348,21 @@ const ce = (t) => (po("data-v-ed61c2a4"), t = t(), fo(), t), sa = { class: "max-
2341
2348
  }, Aa = { class: "z-20" }, ka = { class: "flex h-full overflow-hidden items-stretch" }, Ea = { class: "hidden md:block" }, Ra = { class: "bg-gray-200 w-screen" }, Ya = { class: "relative h-full w-full flex flex-col overflow-hidden items-stretch" }, Ga = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("div", { class: "md:mt-[130px] mt-[120px]" }, null, -1)), Ca = { class: "relative" }, Sa = /* @__PURE__ */ te({
2342
2349
  __name: "HomeView",
2343
2350
  setup(t) {
2344
- const e = k(!0), o = k(!1), r = le(), n = we(), s = It(), l = k(!1), a = k(""), d = async () => {
2351
+ const e = k(!0), o = k(!1), r = le(), n = Ae(), s = Pt(), l = k(!1), a = k(""), d = async () => {
2345
2352
  const c = {
2346
- event_type: st.CONSENT
2353
+ event_type: at.CONSENT
2347
2354
  };
2348
- o.value = !1, s.close(), await Se("/generateEvent", c);
2349
- }, v = async () => {
2350
- var c, p, u, f, x;
2355
+ o.value = !1, s.close(), await Ie("/generateEvent", c);
2356
+ }, h = async () => {
2357
+ var c, b, u, f, x;
2351
2358
  try {
2352
2359
  e.value = !1;
2353
- const b = await Lt("/getLearnerData");
2354
- ((c = b.data) == null ? void 0 : c.maintenance) && uo.replace({ path: "/under-maintenance" }), s.open(), r.initialize(b.data), e.value = !0;
2355
- } catch (b) {
2356
- if (console.error(b), e.value = !0, X.isAxiosError(b)) {
2357
- const g = b;
2358
- if (console.error((p = g.response) == null ? void 0 : p.data), ((u = g.response) == null ? void 0 : u.status) === 422) {
2360
+ const p = await Lt("/getLearnerData");
2361
+ ((c = p.data) == null ? void 0 : c.maintenance) && uo.replace({ path: "/under-maintenance" }), s.open(), r.initialize(p.data), e.value = !0;
2362
+ } catch (p) {
2363
+ if (console.error(p), e.value = !0, X.isAxiosError(p)) {
2364
+ const g = p;
2365
+ if (console.error((b = g.response) == null ? void 0 : b.data), ((u = g.response) == null ? void 0 : u.status) === 422) {
2359
2366
  l.value = !0, a.value = ((f = g.response) == null ? void 0 : f.data).message;
2360
2367
  return;
2361
2368
  }
@@ -2364,23 +2371,23 @@ const ce = (t) => (po("data-v-ed61c2a4"), t = t(), fo(), t), sa = { class: "max-
2364
2371
  n.setError("There was an issue, please contact helpmate");
2365
2372
  }
2366
2373
  };
2367
- return Ce(() => {
2368
- v();
2369
- }), (c, p) => (h(), m("div", null, [
2370
- A(qe, { "is-visible": l.value }, {
2374
+ return Se(() => {
2375
+ h();
2376
+ }), (c, b) => (v(), m("div", null, [
2377
+ A(Ve, { "is-visible": l.value }, {
2371
2378
  default: T(() => [
2372
2379
  i("div", sa, [
2373
- A(y(Ne), { class: "w-12 h-12 fill-genpact-blue-box" }),
2380
+ A(y(Te), { class: "w-12 h-12 fill-genpact-blue-box" }),
2374
2381
  A(jt, { color: "blue" }),
2375
- i("h3", aa, I(a.value), 1)
2382
+ i("h3", aa, P(a.value), 1)
2376
2383
  ])
2377
2384
  ]),
2378
2385
  _: 1
2379
2386
  }, 8, ["is-visible"]),
2380
- A(qe, {
2387
+ A(Ve, {
2381
2388
  "is-visible": y(s).isOpen,
2382
2389
  "cross-visible": y(s).crossVisible,
2383
- onCancel: p[1] || (p[1] = (u) => y(s).close())
2390
+ onCancel: b[1] || (b[1] = (u) => y(s).close())
2384
2391
  }, {
2385
2392
  default: T(() => [
2386
2393
  i("div", ia, [
@@ -2390,19 +2397,19 @@ const ce = (t) => (po("data-v-ed61c2a4"), t = t(), fo(), t), sa = { class: "max-
2390
2397
  da,
2391
2398
  ua,
2392
2399
  pa,
2393
- i("li", null, " You can ask a maximum of " + I(y(r).questionLimit) + " questions, with each question limited to 300 characters or less. ", 1),
2400
+ i("li", null, " You can ask a maximum of " + P(y(r).questionLimit) + " questions, with each question limited to 300 characters or less. ", 1),
2394
2401
  fa,
2395
2402
  va,
2396
2403
  ha
2397
2404
  ])
2398
2405
  ]),
2399
- y(s).crossVisible ? O("", !0) : (h(), m("div", ma, [
2406
+ y(s).crossVisible ? S("", !0) : (v(), m("div", ma, [
2400
2407
  i("div", ba, [
2401
2408
  i("input", {
2402
2409
  type: "checkbox",
2403
2410
  id: "check",
2404
2411
  className: "mr-3",
2405
- onClick: p[0] || (p[0] = (u) => o.value = !o.value)
2412
+ onClick: b[0] || (b[0] = (u) => o.value = !o.value)
2406
2413
  }),
2407
2414
  ya
2408
2415
  ]),
@@ -2418,7 +2425,7 @@ const ce = (t) => (po("data-v-ed61c2a4"), t = t(), fo(), t), sa = { class: "max-
2418
2425
  ]),
2419
2426
  _: 1
2420
2427
  }, 8, ["is-visible", "cross-visible"]),
2421
- e.value ? (h(), m("main", wa, [
2428
+ e.value ? (v(), m("main", wa, [
2422
2429
  i("div", Aa, [
2423
2430
  A(dr)
2424
2431
  ]),
@@ -2436,11 +2443,11 @@ const ce = (t) => (po("data-v-ed61c2a4"), t = t(), fo(), t), sa = { class: "max-
2436
2443
  ])
2437
2444
  ])
2438
2445
  ])
2439
- ])) : (h(), Ot(br, { key: 1 }))
2446
+ ])) : (v(), me(br, { key: 1 }))
2440
2447
  ]));
2441
2448
  }
2442
2449
  });
2443
- const Oa = /* @__PURE__ */ nt(Sa, [["__scopeId", "data-v-ed61c2a4"]]);
2450
+ const Oa = /* @__PURE__ */ st(Sa, [["__scopeId", "data-v-ed61c2a4"]]);
2444
2451
  export {
2445
2452
  Oa as default
2446
2453
  };