@genpact/genome.mfe.mgtwin-app 1.1.6-alpha → 1.1.7-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{HomeView-dbd4be28.mjs → HomeView-3d50e463.mjs} +146 -143
- package/dist/{PromptTesting-60664bfa.mjs → PromptTesting-3f666a59.mjs} +2 -2
- package/dist/{UnderMaintenance-d37b6de0.mjs → UnderMaintenance-62859c20.mjs} +1 -1
- package/dist/{loadernew-e011072e.mjs → loadernew-70126a14.mjs} +1 -1
- package/dist/{main-4af3ccab.mjs → main-aeed593e.mjs} +1071 -1071
- package/dist/mgtwin.es.min.js +1 -1
- package/dist/mgtwin.umd.min.js +8 -8
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as v, c as h, a as i, d as te, u as le, b, e as _, t as P, f as
|
|
2
|
-
import { p as ge, _ as ho, a as Ze, r as Ao, g as
|
|
1
|
+
import { o as v, c as h, a as i, d as te, u as le, b, e as _, t as P, f as C, g as I, F as T, r as F, n as me, h as w, i as Z, A as to, j as Ie, w as be, k as Se, l as Pt, m as fe, v as et, p as Q, q as oo, s as tt, T as Lt, x as Be, y as ro, z as Mt, B as zt, C as no, D as so, E as Ht, G as ke, H as wt, I as ao, J as Ae, K as io, L as lo, M as nt, N as co, O as uo, P as po, Q as fo, R as vo } from "./main-aeed593e.mjs";
|
|
2
|
+
import { p as ge, _ as ho, a as Ze, r as Ao, g as Ot } from "./loadernew-70126a14.mjs";
|
|
3
3
|
import { _ as st } from "./_plugin-vue_export-helper-dad06003.mjs";
|
|
4
4
|
function mo(t, e) {
|
|
5
5
|
return v(), h("svg", {
|
|
@@ -63,7 +63,7 @@ function je(t, e) {
|
|
|
63
63
|
})
|
|
64
64
|
]);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function Dt(t, e) {
|
|
67
67
|
return v(), h("svg", {
|
|
68
68
|
xmlns: "http://www.w3.org/2000/svg",
|
|
69
69
|
viewBox: "0 0 24 24",
|
|
@@ -88,7 +88,7 @@ const xo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
|
|
|
88
88
|
}, Ko = { class: "space-y-2 text-sm text-gray-800" }, Xo = { class: "flex items-center gap-2 text-gray-300 mt-4" }, Uo = /* @__PURE__ */ i("h4", { class: "font-bold" }, "Your Recent Questions", -1), Bo = { class: "tooltip" }, Wo = /* @__PURE__ */ i("span", { class: "tooltiptext" }, "View your last 3 questions for this skill", -1), Jo = ["onClick"], _o = { class: "md:truncate tooltip" }, $o = { class: "tooltiptext" }, er = {
|
|
89
89
|
key: 0,
|
|
90
90
|
class: "bg-gray-200 rounded-md p-2"
|
|
91
|
-
},
|
|
91
|
+
}, Tt = /* @__PURE__ */ te({
|
|
92
92
|
__name: "SideNav",
|
|
93
93
|
emits: ["closeDrawer"],
|
|
94
94
|
setup(t, { emit: e }) {
|
|
@@ -121,7 +121,7 @@ const xo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
|
|
|
121
121
|
_(" Skill: "),
|
|
122
122
|
i("b", null, P(b(o).skillName), 1)
|
|
123
123
|
])
|
|
124
|
-
])) :
|
|
124
|
+
])) : C("", !0),
|
|
125
125
|
i("div", Ro, [
|
|
126
126
|
i("span", Yo, P(b(o).skillDefinition), 1),
|
|
127
127
|
I(b(je), { class: "w-5 h-5 fill-current" })
|
|
@@ -133,7 +133,7 @@ const xo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
|
|
|
133
133
|
target: "_blank",
|
|
134
134
|
class: "underline text-sm"
|
|
135
135
|
}, "Watch " + P(b(o).skillName) + " introduction video", 9, So)
|
|
136
|
-
])) :
|
|
136
|
+
])) : C("", !0),
|
|
137
137
|
b(o).skill_id ? (v(), h("div", Po, [
|
|
138
138
|
Lo,
|
|
139
139
|
(v(!0), h(T, null, F((a = b(o).guruName) == null ? void 0 : a.split(","), (c, A) => (v(), h("span", { key: A }, [
|
|
@@ -141,14 +141,14 @@ const xo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
|
|
|
141
141
|
href: r(A) || "",
|
|
142
142
|
target: "_blank"
|
|
143
143
|
}, P(c.trim()), 9, Mo),
|
|
144
|
-
A < b(o).guruName.split(",").length - 1 ? (v(), h("span", zo, ", ")) :
|
|
144
|
+
A < b(o).guruName.split(",").length - 1 ? (v(), h("span", zo, ", ")) : C("", !0)
|
|
145
145
|
]))), 128))
|
|
146
|
-
])) :
|
|
147
|
-
])) :
|
|
146
|
+
])) : C("", !0)
|
|
147
|
+
])) : C("", !0)
|
|
148
148
|
])
|
|
149
149
|
]),
|
|
150
150
|
i("div", Ho, [
|
|
151
|
-
I(b(
|
|
151
|
+
I(b(Dt), {
|
|
152
152
|
onClick: l[0] || (l[0] = (c) => s.$emit("closeDrawer")),
|
|
153
153
|
class: "w-6 h-6 fill-white"
|
|
154
154
|
})
|
|
@@ -172,7 +172,7 @@ const xo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
|
|
|
172
172
|
_(" " + P(c.question), 1)
|
|
173
173
|
])
|
|
174
174
|
], 10, Fo))), 128)),
|
|
175
|
-
b(o).frequentlyAskedQuestions.length ?
|
|
175
|
+
b(o).frequentlyAskedQuestions.length ? C("", !0) : (v(), h("div", Vo, " No Guru Questions available "))
|
|
176
176
|
])
|
|
177
177
|
]),
|
|
178
178
|
i("div", Ko, [
|
|
@@ -193,7 +193,7 @@ const xo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
|
|
|
193
193
|
_(" " + P(c.question), 1)
|
|
194
194
|
])
|
|
195
195
|
], 10, Jo))), 128)),
|
|
196
|
-
b(o).recentQuestions.length ?
|
|
196
|
+
b(o).recentQuestions.length ? C("", !0) : (v(), h("div", er, " No Recent Questions "))
|
|
197
197
|
])
|
|
198
198
|
]);
|
|
199
199
|
};
|
|
@@ -208,7 +208,7 @@ const xo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
|
|
|
208
208
|
class: "h-8",
|
|
209
209
|
src: or,
|
|
210
210
|
alt: "Logo"
|
|
211
|
-
},
|
|
211
|
+
}, Nt = {
|
|
212
212
|
__name: "Logo",
|
|
213
213
|
props: {
|
|
214
214
|
color: {
|
|
@@ -252,7 +252,7 @@ const xo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
|
|
|
252
252
|
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"])
|
|
253
253
|
}, [
|
|
254
254
|
i("div", sr, [
|
|
255
|
-
I(
|
|
255
|
+
I(Tt, { onCloseDrawer: r })
|
|
256
256
|
])
|
|
257
257
|
], 2),
|
|
258
258
|
i("section", {
|
|
@@ -270,7 +270,7 @@ const xo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
|
|
|
270
270
|
I(b(mo), { class: "w-5 h-5 fill-gray-300" })
|
|
271
271
|
]),
|
|
272
272
|
i("div", lr, [
|
|
273
|
-
I(
|
|
273
|
+
I(Nt)
|
|
274
274
|
])
|
|
275
275
|
]),
|
|
276
276
|
cr
|
|
@@ -297,17 +297,17 @@ const mr = /* @__PURE__ */ st(ur, [["render", Ar]]), Je = {
|
|
|
297
297
|
"3,1": "s",
|
|
298
298
|
"4,0": "s",
|
|
299
299
|
"4,1": "s"
|
|
300
|
-
},
|
|
300
|
+
}, It = {
|
|
301
301
|
i: "Continue your BITS wave",
|
|
302
302
|
t: "Go do Transform",
|
|
303
303
|
s: "Go do Solidify"
|
|
304
304
|
};
|
|
305
305
|
let Ve = `Bearer ${localStorage.getItem("accessToken")}`;
|
|
306
|
-
const
|
|
306
|
+
const jt = "prod";
|
|
307
307
|
to === "local" && (Ve = `Bearer ${{}.VITE_LOCAL_ACCESS_TOKEN}`);
|
|
308
308
|
const br = async () => await Z({
|
|
309
309
|
method: "get",
|
|
310
|
-
url: `https://api-router.genpact.com/${
|
|
310
|
+
url: `https://api-router.genpact.com/${jt}/api/genome/v1/employee/performance-report`,
|
|
311
311
|
headers: {
|
|
312
312
|
"x-oauth-config-provider": "cognito-aps1",
|
|
313
313
|
"x-sharepoint-list-name": "skills",
|
|
@@ -328,7 +328,7 @@ const br = async () => await Z({
|
|
|
328
328
|
`;
|
|
329
329
|
return await Z({
|
|
330
330
|
method: "post",
|
|
331
|
-
url: `https://api.genpact.com/${
|
|
331
|
+
url: `https://api.genpact.com/${jt}/genome/my-profile/graphql`,
|
|
332
332
|
headers: {
|
|
333
333
|
authorization: Ve
|
|
334
334
|
},
|
|
@@ -359,7 +359,7 @@ const br = async () => await Z({
|
|
|
359
359
|
const e = le(), o = Ie(), r = w([]), n = w([]), s = w([]), l = w("");
|
|
360
360
|
be(e, (m) => {
|
|
361
361
|
m.skillName && (s.value = [], r.value.map((d) => {
|
|
362
|
-
d[0] === e.skillName && (s.value = d, console.log(d), console.log(
|
|
362
|
+
d[0] === e.skillName && (s.value = d, console.log(d), console.log(It[Je[d.slice(1, 3).join(",")]]), l.value = It[Je[d.slice(1, 3).join(",")]]);
|
|
363
363
|
}));
|
|
364
364
|
});
|
|
365
365
|
const a = async () => {
|
|
@@ -389,11 +389,11 @@ const br = async () => await Z({
|
|
|
389
389
|
}, A = async () => {
|
|
390
390
|
var m, d, f, g;
|
|
391
391
|
try {
|
|
392
|
-
const p = await br(), y = ((m = p.data) == null ? void 0 : m.Professional_BITS) || "", E = ((d = p.data) == null ? void 0 : d.Digital_BITS) || "",
|
|
392
|
+
const p = await br(), y = ((m = p.data) == null ? void 0 : m.Professional_BITS) || "", E = ((d = p.data) == null ? void 0 : d.Digital_BITS) || "", R = ((f = p.data) == null ? void 0 : f.Industry_BITS) || "";
|
|
393
393
|
r.value.push(
|
|
394
394
|
...y.split("PROFSKILL|").map((k) => k.split("|")),
|
|
395
395
|
...E.split("DIGITAL|").map((k) => k.split("|")),
|
|
396
|
-
...
|
|
396
|
+
...R.split("INDUSTRY|").map((k) => k.split("|"))
|
|
397
397
|
);
|
|
398
398
|
} catch (p) {
|
|
399
399
|
if (console.error(p), Z.isAxiosError(p)) {
|
|
@@ -425,7 +425,7 @@ const br = async () => await Z({
|
|
|
425
425
|
onClick: d[3] || (d[3] = (f) => b(e).clearConversationHistory()),
|
|
426
426
|
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"
|
|
427
427
|
}, " Clear Chat ")
|
|
428
|
-
])) :
|
|
428
|
+
])) : C("", !0);
|
|
429
429
|
}
|
|
430
430
|
}), Ir = { class: "absolute bottom-0 w-full z-3 mt-4" }, kr = { class: "md:px-8 px-3 py-2" }, Er = { class: "border border-gray-200" }, Cr = { class: "relative w-full z-1" }, Rr = {
|
|
431
431
|
key: 1,
|
|
@@ -441,7 +441,7 @@ const br = async () => await Z({
|
|
|
441
441
|
], -1), Lr = /* @__PURE__ */ te({
|
|
442
442
|
__name: "NewQuestion",
|
|
443
443
|
setup(t) {
|
|
444
|
-
const e =
|
|
444
|
+
const e = Pt(), o = Ie(), r = le(), n = w(""), s = w(!1), l = w(!1), a = w(We), c = (m) => {
|
|
445
445
|
const d = m.length;
|
|
446
446
|
a.value = We - d, l.value = d >= We;
|
|
447
447
|
}, A = async () => {
|
|
@@ -537,7 +537,7 @@ const Hr = { key: 0 }, Or = {
|
|
|
537
537
|
},
|
|
538
538
|
setup(t) {
|
|
539
539
|
return (e, o) => t.isVisible ? (v(), h("main", Hr, [
|
|
540
|
-
I(
|
|
540
|
+
I(Lt, { name: "modal-fade" }, {
|
|
541
541
|
default: Q(() => [
|
|
542
542
|
i("div", {
|
|
543
543
|
class: "z-50 fixed flex inset-0 justify-center items-center h-screen overflow-auto w-full bg-gray-800/80",
|
|
@@ -549,11 +549,11 @@ const Hr = { key: 0 }, Or = {
|
|
|
549
549
|
}, ["stop"]))
|
|
550
550
|
}, [
|
|
551
551
|
t.crossVisible ? (v(), h("div", Or, [
|
|
552
|
-
I(b(
|
|
552
|
+
I(b(Dt), {
|
|
553
553
|
onClick: o[0] || (o[0] = (r) => e.$emit("Cancel")),
|
|
554
554
|
class: "w-6 h-6 fill-gray-800"
|
|
555
555
|
})
|
|
556
|
-
])) :
|
|
556
|
+
])) : C("", !0),
|
|
557
557
|
i("div", Dr, [
|
|
558
558
|
i("div", Tr, [
|
|
559
559
|
tt(e.$slots, "default")
|
|
@@ -564,7 +564,7 @@ const Hr = { key: 0 }, Or = {
|
|
|
564
564
|
]),
|
|
565
565
|
_: 3
|
|
566
566
|
})
|
|
567
|
-
])) :
|
|
567
|
+
])) : C("", !0);
|
|
568
568
|
}
|
|
569
569
|
}, Nr = { key: 0 }, jr = {
|
|
570
570
|
key: 1,
|
|
@@ -715,20 +715,23 @@ const Hr = { key: 0 }, Or = {
|
|
|
715
715
|
}, 8, ["is-visible"])
|
|
716
716
|
], 64));
|
|
717
717
|
}
|
|
718
|
-
}),
|
|
718
|
+
}), Qt = (t) => (Mt("data-v-c9915a62"), t = t(), zt(), t), en = { class: "flex justify-start items-end py-3" }, tn = { class: "line-break md:text-[15px] text-sm max-w-[80%] text-gray-800 bg-white rounded-md p-3" }, on = ["innerHTML"], rn = {
|
|
719
719
|
key: 0,
|
|
720
720
|
class: "flex justify-end my-2"
|
|
721
|
-
}, nn = { key: 1 }, sn =
|
|
721
|
+
}, nn = { key: 1 }, sn = {
|
|
722
722
|
key: 0,
|
|
723
|
+
class: "font-medium mt-5 mb-2"
|
|
724
|
+
}, an = {
|
|
725
|
+
key: 1,
|
|
723
726
|
class: "flex flex-wrap gap-2 items-center mt-5"
|
|
724
|
-
}, ln = ["href"], cn = /* @__PURE__ */
|
|
727
|
+
}, ln = ["href"], cn = /* @__PURE__ */ Qt(() => /* @__PURE__ */ i("img", {
|
|
725
728
|
src: Mr,
|
|
726
729
|
alt: "LinkedIn Icon",
|
|
727
730
|
class: "w-4 h-4 fil-current"
|
|
728
731
|
}, null, -1)), dn = { key: 2 }, un = {
|
|
729
732
|
key: 0,
|
|
730
733
|
class: "flex flex-wrap gap-2 items-center mt-5"
|
|
731
|
-
}, pn = ["href"], fn = /* @__PURE__ */
|
|
734
|
+
}, pn = ["href"], fn = /* @__PURE__ */ Qt(() => /* @__PURE__ */ i("img", {
|
|
732
735
|
src: zr,
|
|
733
736
|
alt: "LinkedIn Icon",
|
|
734
737
|
class: "w-4 h-4 fil-current"
|
|
@@ -804,9 +807,9 @@ const Hr = { key: 0 }, Or = {
|
|
|
804
807
|
}), (m, d) => (v(), h("div", en, [
|
|
805
808
|
i("div", tn, [
|
|
806
809
|
i("span", { innerHTML: t.answer }, null, 8, on),
|
|
807
|
-
t.showSources ? (v(), h("div", rn, P(t.showSources), 1)) :
|
|
810
|
+
t.showSources ? (v(), h("div", rn, P(t.showSources), 1)) : C("", !0),
|
|
808
811
|
t.showFeedback ? (v(), h("div", nn, [
|
|
809
|
-
sn,
|
|
812
|
+
n.value || l.value ? (v(), h("div", sn, "Recommended Learning:")) : C("", !0),
|
|
810
813
|
n.value ? (v(), h("div", an, [
|
|
811
814
|
(v(!0), h(T, null, F(o.value, (f) => (v(), h("a", {
|
|
812
815
|
href: f.card_deeplink_url,
|
|
@@ -817,8 +820,8 @@ const Hr = { key: 0 }, Or = {
|
|
|
817
820
|
cn,
|
|
818
821
|
i("div", null, P(f.Content_Title), 1)
|
|
819
822
|
], 8, ln))), 128))
|
|
820
|
-
])) :
|
|
821
|
-
])) :
|
|
823
|
+
])) : C("", !0)
|
|
824
|
+
])) : C("", !0),
|
|
822
825
|
t.showFeedback ? (v(), h("div", dn, [
|
|
823
826
|
l.value ? (v(), h("div", un, [
|
|
824
827
|
(v(!0), h(T, null, F(r.value, (f) => (v(), h("a", {
|
|
@@ -830,16 +833,16 @@ const Hr = { key: 0 }, Or = {
|
|
|
830
833
|
fn,
|
|
831
834
|
i("div", null, P(f.Content_Title), 1)
|
|
832
835
|
], 8, pn))), 128))
|
|
833
|
-
])) :
|
|
834
|
-
])) :
|
|
836
|
+
])) : C("", !0)
|
|
837
|
+
])) : C("", !0),
|
|
835
838
|
t.showFeedback ? (v(), h("div", vn, [
|
|
836
839
|
I($r, { "question-id": t.questionId }, null, 8, ["question-id"])
|
|
837
|
-
])) :
|
|
840
|
+
])) : C("", !0)
|
|
838
841
|
])
|
|
839
842
|
]));
|
|
840
843
|
}
|
|
841
844
|
});
|
|
842
|
-
const An = /* @__PURE__ */ st(hn, [["__scopeId", "data-v-
|
|
845
|
+
const An = /* @__PURE__ */ st(hn, [["__scopeId", "data-v-c9915a62"]]), mn = { class: "flex justify-start items-end" }, bn = { class: "max-w-[80%] space-y-2" }, gn = { class: "w-fit text-gray-800 md:text-xl text-lg font-bold bg-white rounded-md p-3" }, yn = /* @__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), xn = {
|
|
843
846
|
__name: "Greetings",
|
|
844
847
|
setup(t) {
|
|
845
848
|
const e = le();
|
|
@@ -947,7 +950,7 @@ function W(t) {
|
|
|
947
950
|
}
|
|
948
951
|
return t;
|
|
949
952
|
}
|
|
950
|
-
function
|
|
953
|
+
function it(t) {
|
|
951
954
|
var e = W(t), o = e.pageXOffset, r = e.pageYOffset;
|
|
952
955
|
return {
|
|
953
956
|
scrollLeft: o,
|
|
@@ -975,7 +978,7 @@ function Gn(t) {
|
|
|
975
978
|
};
|
|
976
979
|
}
|
|
977
980
|
function Sn(t) {
|
|
978
|
-
return t === W(t) || !V(t) ?
|
|
981
|
+
return t === W(t) || !V(t) ? it(t) : Gn(t);
|
|
979
982
|
}
|
|
980
983
|
function ee(t) {
|
|
981
984
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
@@ -986,13 +989,13 @@ function ue(t) {
|
|
|
986
989
|
t.document
|
|
987
990
|
)) || window.document).documentElement;
|
|
988
991
|
}
|
|
989
|
-
function
|
|
990
|
-
return ye(ue(t)).left +
|
|
992
|
+
function lt(t) {
|
|
993
|
+
return ye(ue(t)).left + it(t).scrollLeft;
|
|
991
994
|
}
|
|
992
995
|
function ie(t) {
|
|
993
996
|
return W(t).getComputedStyle(t);
|
|
994
997
|
}
|
|
995
|
-
function
|
|
998
|
+
function ct(t) {
|
|
996
999
|
var e = ie(t), o = e.overflow, r = e.overflowX, n = e.overflowY;
|
|
997
1000
|
return /auto|scroll|overlay|hidden/.test(o + n + r);
|
|
998
1001
|
}
|
|
@@ -1012,14 +1015,14 @@ function Ln(t, e, o) {
|
|
|
1012
1015
|
y: 0
|
|
1013
1016
|
};
|
|
1014
1017
|
return (r || !r && !o) && ((ee(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
1015
|
-
|
|
1018
|
+
ct(n)) && (l = Sn(e)), V(e) ? (a = ye(e), a.x += e.clientLeft, a.y += e.clientTop) : n && (a.x = lt(n))), {
|
|
1016
1019
|
x: s.left + l.scrollLeft - a.x,
|
|
1017
1020
|
y: s.top + l.scrollTop - a.y,
|
|
1018
1021
|
width: s.width,
|
|
1019
1022
|
height: s.height
|
|
1020
1023
|
};
|
|
1021
1024
|
}
|
|
1022
|
-
function
|
|
1025
|
+
function dt(t) {
|
|
1023
1026
|
var e = ye(t), o = t.offsetWidth, r = t.offsetHeight;
|
|
1024
1027
|
return Math.abs(e.width - o) <= 1 && (o = e.width), Math.abs(e.height - r) <= 1 && (r = e.height), {
|
|
1025
1028
|
x: t.offsetLeft,
|
|
@@ -1041,12 +1044,12 @@ function Ke(t) {
|
|
|
1041
1044
|
);
|
|
1042
1045
|
}
|
|
1043
1046
|
function qt(t) {
|
|
1044
|
-
return ["html", "body", "#document"].indexOf(ee(t)) >= 0 ? t.ownerDocument.body : V(t) &&
|
|
1047
|
+
return ["html", "body", "#document"].indexOf(ee(t)) >= 0 ? t.ownerDocument.body : V(t) && ct(t) ? t : qt(Ke(t));
|
|
1045
1048
|
}
|
|
1046
1049
|
function Ce(t, e) {
|
|
1047
1050
|
var o;
|
|
1048
1051
|
e === void 0 && (e = []);
|
|
1049
|
-
var r = qt(t), n = r === ((o = t.ownerDocument) == null ? void 0 : o.body), s = W(r), l = n ? [s].concat(s.visualViewport || [],
|
|
1052
|
+
var r = qt(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);
|
|
1050
1053
|
return n ? a : (
|
|
1051
1054
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
1052
1055
|
a.concat(Ce(Ke(l)))
|
|
@@ -1055,7 +1058,7 @@ function Ce(t, e) {
|
|
|
1055
1058
|
function Mn(t) {
|
|
1056
1059
|
return ["table", "td", "th"].indexOf(ee(t)) >= 0;
|
|
1057
1060
|
}
|
|
1058
|
-
function
|
|
1061
|
+
function kt(t) {
|
|
1059
1062
|
return !V(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
1060
1063
|
ie(t).position === "fixed" ? null : t.offsetParent;
|
|
1061
1064
|
}
|
|
@@ -1075,13 +1078,13 @@ function zn(t) {
|
|
|
1075
1078
|
return null;
|
|
1076
1079
|
}
|
|
1077
1080
|
function Pe(t) {
|
|
1078
|
-
for (var e = W(t), o =
|
|
1079
|
-
o =
|
|
1081
|
+
for (var e = W(t), o = kt(t); o && Mn(o) && ie(o).position === "static"; )
|
|
1082
|
+
o = kt(o);
|
|
1080
1083
|
return o && (ee(o) === "html" || ee(o) === "body" && ie(o).position === "static") ? e : o || zn(t) || e;
|
|
1081
1084
|
}
|
|
1082
|
-
var K = "top", U = "bottom", B = "right", X = "left",
|
|
1085
|
+
var K = "top", U = "bottom", B = "right", X = "left", ut = "auto", Le = [K, U, B, X], xe = "start", Ye = "end", Hn = "clippingParents", Zt = "viewport", Ee = "popper", On = "reference", Et = /* @__PURE__ */ Le.reduce(function(t, e) {
|
|
1083
1086
|
return t.concat([e + "-" + xe, e + "-" + Ye]);
|
|
1084
|
-
}, []), Vt = /* @__PURE__ */ [].concat(Le, [
|
|
1087
|
+
}, []), Vt = /* @__PURE__ */ [].concat(Le, [ut]).reduce(function(t, e) {
|
|
1085
1088
|
return t.concat([e, e + "-" + xe, e + "-" + Ye]);
|
|
1086
1089
|
}, []), Dn = "beforeRead", Tn = "read", Nn = "afterRead", jn = "beforeMain", Qn = "main", Fn = "afterMain", qn = "beforeWrite", Zn = "write", Vn = "afterWrite", Kn = [Dn, Tn, Nn, jn, Qn, Fn, qn, Zn, Vn];
|
|
1087
1090
|
function Xn(t) {
|
|
@@ -1141,13 +1144,13 @@ function Jn(t) {
|
|
|
1141
1144
|
return r && (n = r.width, s = r.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (l = r.offsetLeft, a = r.offsetTop)), {
|
|
1142
1145
|
width: n,
|
|
1143
1146
|
height: s,
|
|
1144
|
-
x: l +
|
|
1147
|
+
x: l + lt(t),
|
|
1145
1148
|
y: a
|
|
1146
1149
|
};
|
|
1147
1150
|
}
|
|
1148
1151
|
var de = Math.max, Ge = Math.min, De = Math.round;
|
|
1149
1152
|
function _n(t) {
|
|
1150
|
-
var e, o = ue(t), r =
|
|
1153
|
+
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), c = -r.scrollTop;
|
|
1151
1154
|
return ie(n || o).direction === "rtl" && (a += de(o.clientWidth, n ? n.clientWidth : 0) - s), {
|
|
1152
1155
|
width: s,
|
|
1153
1156
|
height: l,
|
|
@@ -1181,7 +1184,7 @@ function $n(t) {
|
|
|
1181
1184
|
var e = ye(t);
|
|
1182
1185
|
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;
|
|
1183
1186
|
}
|
|
1184
|
-
function
|
|
1187
|
+
function Ct(t, e) {
|
|
1185
1188
|
return e === Zt ? rt(Jn(t)) : V(e) ? $n(e) : rt(_n(ue(t)));
|
|
1186
1189
|
}
|
|
1187
1190
|
function es(t) {
|
|
@@ -1192,15 +1195,15 @@ function es(t) {
|
|
|
1192
1195
|
}
|
|
1193
1196
|
function ts(t, e, o) {
|
|
1194
1197
|
var r = e === "clippingParents" ? es(t) : [].concat(e), n = [].concat(r, [o]), s = n[0], l = n.reduce(function(a, c) {
|
|
1195
|
-
var A =
|
|
1198
|
+
var A = Ct(t, c);
|
|
1196
1199
|
return a.top = de(A.top, a.top), a.right = Ge(A.right, a.right), a.bottom = Ge(A.bottom, a.bottom), a.left = de(A.left, a.left), a;
|
|
1197
|
-
},
|
|
1200
|
+
}, Ct(t, s));
|
|
1198
1201
|
return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
|
|
1199
1202
|
}
|
|
1200
1203
|
function we(t) {
|
|
1201
1204
|
return t.split("-")[1];
|
|
1202
1205
|
}
|
|
1203
|
-
function
|
|
1206
|
+
function pt(t) {
|
|
1204
1207
|
return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
|
|
1205
1208
|
}
|
|
1206
1209
|
function Xt(t) {
|
|
@@ -1236,7 +1239,7 @@ function Xt(t) {
|
|
|
1236
1239
|
y: e.y
|
|
1237
1240
|
};
|
|
1238
1241
|
}
|
|
1239
|
-
var A = n ?
|
|
1242
|
+
var A = n ? pt(n) : null;
|
|
1240
1243
|
if (A != null) {
|
|
1241
1244
|
var u = A === "y" ? "height" : "width";
|
|
1242
1245
|
switch (s) {
|
|
@@ -1266,14 +1269,14 @@ function Wt(t, e) {
|
|
|
1266
1269
|
return o[r] = t, o;
|
|
1267
1270
|
}, {});
|
|
1268
1271
|
}
|
|
1269
|
-
function
|
|
1272
|
+
function ft(t, e) {
|
|
1270
1273
|
e === void 0 && (e = {});
|
|
1271
|
-
var o = e, r = o.placement, n = r === void 0 ? t.placement : r, s = o.boundary, l = s === void 0 ? Hn : s, a = o.rootBoundary, c = a === void 0 ? Zt : a, A = o.elementContext, u = A === void 0 ? Ee : A, m = o.altBoundary, d = m === void 0 ? !1 : m, f = o.padding, g = f === void 0 ? 0 : f, p = Bt(typeof g != "number" ? g : Wt(g, Le)), y = u === Ee ? On : Ee, E = t.rects.popper,
|
|
1274
|
+
var o = e, r = o.placement, n = r === void 0 ? t.placement : r, s = o.boundary, l = s === void 0 ? Hn : s, a = o.rootBoundary, c = a === void 0 ? Zt : a, A = o.elementContext, u = A === void 0 ? Ee : A, m = o.altBoundary, d = m === void 0 ? !1 : m, f = o.padding, g = f === void 0 ? 0 : f, p = Bt(typeof g != "number" ? g : Wt(g, Le)), y = u === Ee ? On : Ee, E = t.rects.popper, R = t.elements[d ? y : u], k = ts(Re(R) ? R : R.contextElement || ue(t.elements.popper), l, c), x = ye(t.elements.reference), S = Xt({
|
|
1272
1275
|
reference: x,
|
|
1273
1276
|
element: E,
|
|
1274
1277
|
strategy: "absolute",
|
|
1275
1278
|
placement: n
|
|
1276
|
-
}),
|
|
1279
|
+
}), Y = rt(Object.assign({}, E, S)), G = u === Ee ? Y : x, M = {
|
|
1277
1280
|
top: k.top - G.top + p.top,
|
|
1278
1281
|
bottom: G.bottom - k.bottom + p.bottom,
|
|
1279
1282
|
left: k.left - G.left + p.left,
|
|
@@ -1288,12 +1291,12 @@ function vt(t, e) {
|
|
|
1288
1291
|
}
|
|
1289
1292
|
return M;
|
|
1290
1293
|
}
|
|
1291
|
-
var
|
|
1294
|
+
var Rt = {
|
|
1292
1295
|
placement: "bottom",
|
|
1293
1296
|
modifiers: [],
|
|
1294
1297
|
strategy: "absolute"
|
|
1295
1298
|
};
|
|
1296
|
-
function
|
|
1299
|
+
function Yt() {
|
|
1297
1300
|
for (var t = arguments.length, e = new Array(t), o = 0; o < t; o++)
|
|
1298
1301
|
e[o] = arguments[o];
|
|
1299
1302
|
return !e.some(function(r) {
|
|
@@ -1302,13 +1305,13 @@ function Gt() {
|
|
|
1302
1305
|
}
|
|
1303
1306
|
function os(t) {
|
|
1304
1307
|
t === void 0 && (t = {});
|
|
1305
|
-
var e = t, o = e.defaultModifiers, r = o === void 0 ? [] : o, n = e.defaultOptions, s = n === void 0 ?
|
|
1308
|
+
var e = t, o = e.defaultModifiers, r = o === void 0 ? [] : o, n = e.defaultOptions, s = n === void 0 ? Rt : n;
|
|
1306
1309
|
return function(a, c, A) {
|
|
1307
1310
|
A === void 0 && (A = s);
|
|
1308
1311
|
var u = {
|
|
1309
1312
|
placement: "bottom",
|
|
1310
1313
|
orderedModifiers: [],
|
|
1311
|
-
options: Object.assign({},
|
|
1314
|
+
options: Object.assign({}, Rt, s),
|
|
1312
1315
|
modifiersData: {},
|
|
1313
1316
|
elements: {
|
|
1314
1317
|
reference: a,
|
|
@@ -1319,8 +1322,8 @@ function os(t) {
|
|
|
1319
1322
|
}, m = [], d = !1, f = {
|
|
1320
1323
|
state: u,
|
|
1321
1324
|
setOptions: function(E) {
|
|
1322
|
-
var
|
|
1323
|
-
p(), u.options = Object.assign({}, s, u.options,
|
|
1325
|
+
var R = typeof E == "function" ? E(u.options) : E;
|
|
1326
|
+
p(), u.options = Object.assign({}, s, u.options, R), u.scrollParents = {
|
|
1324
1327
|
reference: Re(a) ? Ce(a) : a.contextElement ? Ce(a.contextElement) : [],
|
|
1325
1328
|
popper: Ce(c)
|
|
1326
1329
|
};
|
|
@@ -1336,11 +1339,11 @@ function os(t) {
|
|
|
1336
1339
|
// prefer the async Popper#update method
|
|
1337
1340
|
forceUpdate: function() {
|
|
1338
1341
|
if (!d) {
|
|
1339
|
-
var E = u.elements,
|
|
1340
|
-
if (
|
|
1342
|
+
var E = u.elements, R = E.reference, k = E.popper;
|
|
1343
|
+
if (Yt(R, k)) {
|
|
1341
1344
|
u.rects = {
|
|
1342
|
-
reference: Ln(
|
|
1343
|
-
popper:
|
|
1345
|
+
reference: Ln(R, Pe(k), u.options.strategy === "fixed"),
|
|
1346
|
+
popper: dt(k)
|
|
1344
1347
|
}, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(N) {
|
|
1345
1348
|
return u.modifiersData[N.name] = Object.assign({}, N.data);
|
|
1346
1349
|
});
|
|
@@ -1349,8 +1352,8 @@ function os(t) {
|
|
|
1349
1352
|
u.reset = !1, x = -1;
|
|
1350
1353
|
continue;
|
|
1351
1354
|
}
|
|
1352
|
-
var S = u.orderedModifiers[x],
|
|
1353
|
-
typeof
|
|
1355
|
+
var S = u.orderedModifiers[x], Y = S.fn, G = S.options, M = G === void 0 ? {} : G, L = S.name;
|
|
1356
|
+
typeof Y == "function" && (u = Y({
|
|
1354
1357
|
state: u,
|
|
1355
1358
|
options: M,
|
|
1356
1359
|
name: L,
|
|
@@ -1371,23 +1374,23 @@ function os(t) {
|
|
|
1371
1374
|
p(), d = !0;
|
|
1372
1375
|
}
|
|
1373
1376
|
};
|
|
1374
|
-
if (!
|
|
1377
|
+
if (!Yt(a, c))
|
|
1375
1378
|
return f;
|
|
1376
1379
|
f.setOptions(A).then(function(y) {
|
|
1377
1380
|
!d && A.onFirstUpdate && A.onFirstUpdate(y);
|
|
1378
1381
|
});
|
|
1379
1382
|
function g() {
|
|
1380
1383
|
u.orderedModifiers.forEach(function(y) {
|
|
1381
|
-
var E = y.name,
|
|
1384
|
+
var E = y.name, R = y.options, k = R === void 0 ? {} : R, x = y.effect;
|
|
1382
1385
|
if (typeof x == "function") {
|
|
1383
1386
|
var S = x({
|
|
1384
1387
|
state: u,
|
|
1385
1388
|
name: E,
|
|
1386
1389
|
instance: f,
|
|
1387
1390
|
options: k
|
|
1388
|
-
}),
|
|
1391
|
+
}), Y = function() {
|
|
1389
1392
|
};
|
|
1390
|
-
m.push(S ||
|
|
1393
|
+
m.push(S || Y);
|
|
1391
1394
|
}
|
|
1392
1395
|
});
|
|
1393
1396
|
}
|
|
@@ -1449,20 +1452,20 @@ function ls(t) {
|
|
|
1449
1452
|
y: De(De(o * n) / n) || 0
|
|
1450
1453
|
};
|
|
1451
1454
|
}
|
|
1452
|
-
function
|
|
1453
|
-
var e, o = t.popper, r = t.popperRect, n = t.placement, s = t.variation, l = t.offsets, a = t.position, c = t.gpuAcceleration, A = t.adaptive, u = t.roundOffsets, m = u === !0 ? ls(l) : typeof u == "function" ? u(l) : l, d = m.x, f = d === void 0 ? 0 : d, g = m.y, p = g === void 0 ? 0 : g, y = l.hasOwnProperty("x"), E = l.hasOwnProperty("y"),
|
|
1455
|
+
function Gt(t) {
|
|
1456
|
+
var e, o = t.popper, r = t.popperRect, n = t.placement, s = t.variation, l = t.offsets, a = t.position, c = t.gpuAcceleration, A = t.adaptive, u = t.roundOffsets, m = u === !0 ? ls(l) : typeof u == "function" ? u(l) : l, d = m.x, f = d === void 0 ? 0 : d, g = m.y, p = g === void 0 ? 0 : g, y = l.hasOwnProperty("x"), E = l.hasOwnProperty("y"), R = X, k = K, x = window;
|
|
1454
1457
|
if (A) {
|
|
1455
|
-
var S = Pe(o),
|
|
1456
|
-
S === W(o) && (S = ue(o), ie(S).position !== "static" && a === "absolute" && (
|
|
1458
|
+
var S = Pe(o), Y = "clientHeight", G = "clientWidth";
|
|
1459
|
+
S === W(o) && (S = ue(o), ie(S).position !== "static" && a === "absolute" && (Y = "scrollHeight", G = "scrollWidth")), S = S, (n === K || (n === X || n === B) && s === Ye) && (k = U, p -= S[Y] - r.height, p *= c ? 1 : -1), (n === X || (n === K || n === U) && s === Ye) && (R = B, f -= S[G] - r.width, f *= c ? 1 : -1);
|
|
1457
1460
|
}
|
|
1458
1461
|
var M = Object.assign({
|
|
1459
1462
|
position: a
|
|
1460
1463
|
}, A && is);
|
|
1461
1464
|
if (c) {
|
|
1462
1465
|
var L;
|
|
1463
|
-
return Object.assign({}, M, (L = {}, L[k] = E ? "0" : "", L[
|
|
1466
|
+
return Object.assign({}, M, (L = {}, L[k] = E ? "0" : "", L[R] = y ? "0" : "", L.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + f + "px, " + p + "px)" : "translate3d(" + f + "px, " + p + "px, 0)", L));
|
|
1464
1467
|
}
|
|
1465
|
-
return Object.assign({}, M, (e = {}, e[k] = E ? p + "px" : "", e[
|
|
1468
|
+
return Object.assign({}, M, (e = {}, e[k] = E ? p + "px" : "", e[R] = y ? f + "px" : "", e.transform = "", e));
|
|
1466
1469
|
}
|
|
1467
1470
|
function cs(t) {
|
|
1468
1471
|
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, c = a === void 0 ? !0 : a, A = {
|
|
@@ -1472,12 +1475,12 @@ function cs(t) {
|
|
|
1472
1475
|
popperRect: e.rects.popper,
|
|
1473
1476
|
gpuAcceleration: n
|
|
1474
1477
|
};
|
|
1475
|
-
e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper,
|
|
1478
|
+
e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, Gt(Object.assign({}, A, {
|
|
1476
1479
|
offsets: e.modifiersData.popperOffsets,
|
|
1477
1480
|
position: e.options.strategy,
|
|
1478
1481
|
adaptive: l,
|
|
1479
1482
|
roundOffsets: c
|
|
1480
|
-
})))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow,
|
|
1483
|
+
})))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, Gt(Object.assign({}, A, {
|
|
1481
1484
|
offsets: e.modifiersData.arrow,
|
|
1482
1485
|
position: "absolute",
|
|
1483
1486
|
adaptive: !1,
|
|
@@ -1544,30 +1547,30 @@ function Qe(t, e, o) {
|
|
|
1544
1547
|
return de(t, Ge(e, o));
|
|
1545
1548
|
}
|
|
1546
1549
|
function ms(t) {
|
|
1547
|
-
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, c = o.boundary, A = o.rootBoundary, u = o.altBoundary, m = o.padding, d = o.tether, f = d === void 0 ? !0 : d, g = o.tetherOffset, p = g === void 0 ? 0 : g, y =
|
|
1550
|
+
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, c = o.boundary, A = o.rootBoundary, u = o.altBoundary, m = o.padding, d = o.tether, f = d === void 0 ? !0 : d, g = o.tetherOffset, p = g === void 0 ? 0 : g, y = ft(e, {
|
|
1548
1551
|
boundary: c,
|
|
1549
1552
|
rootBoundary: A,
|
|
1550
1553
|
padding: m,
|
|
1551
1554
|
altBoundary: u
|
|
1552
|
-
}), E = $(e.placement),
|
|
1555
|
+
}), E = $(e.placement), R = we(e.placement), k = !R, x = pt(E), S = As(x), Y = e.modifiersData.popperOffsets, G = e.rects.reference, M = e.rects.popper, L = typeof p == "function" ? p(Object.assign({}, e.rects, {
|
|
1553
1556
|
placement: e.placement
|
|
1554
1557
|
})) : p, N = {
|
|
1555
1558
|
x: 0,
|
|
1556
1559
|
y: 0
|
|
1557
1560
|
};
|
|
1558
|
-
if (
|
|
1561
|
+
if (Y) {
|
|
1559
1562
|
if (s || a) {
|
|
1560
|
-
var j = x === "y" ? K : X, oe = x === "y" ? U : B, z = x === "y" ? "height" : "width", re =
|
|
1563
|
+
var j = x === "y" ? K : X, oe = x === "y" ? U : B, z = x === "y" ? "height" : "width", re = Y[x], ne = Y[x] + y[j], q = Y[x] - y[oe], se = f ? -M[z] / 2 : 0, O = R === xe ? G[z] : M[z], D = R === xe ? -M[z] : -G[z], H = e.elements.arrow, ae = f && H ? dt(H) : {
|
|
1561
1564
|
width: 0,
|
|
1562
1565
|
height: 0
|
|
1563
|
-
}, ve = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Ut(), Me = ve[j], pe = ve[oe], J = Qe(0, G[z], ae[z]), ze = k ? G[z] / 2 - se - J - Me - L : O - J - Me - L, Xe = k ? -G[z] / 2 + se + J + pe + L : D + J + pe + L, he = e.elements.arrow && Pe(e.elements.arrow), Ue = he ? x === "y" ? he.clientTop || 0 : he.clientLeft || 0 : 0,
|
|
1566
|
+
}, ve = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Ut(), Me = ve[j], pe = ve[oe], J = Qe(0, G[z], ae[z]), ze = k ? G[z] / 2 - se - J - Me - L : O - J - Me - L, Xe = k ? -G[z] / 2 + se + J + pe + L : D + J + pe + L, he = e.elements.arrow && Pe(e.elements.arrow), Ue = he ? x === "y" ? he.clientTop || 0 : he.clientLeft || 0 : 0, ht = e.modifiersData.offset ? e.modifiersData.offset[e.placement][x] : 0, At = Y[x] + ze - ht - Ue, mt = Y[x] + Xe - ht;
|
|
1564
1567
|
if (s) {
|
|
1565
|
-
var
|
|
1566
|
-
|
|
1568
|
+
var bt = Qe(f ? Ge(ne, At) : ne, re, f ? de(q, mt) : q);
|
|
1569
|
+
Y[x] = bt, N[x] = bt - re;
|
|
1567
1570
|
}
|
|
1568
1571
|
if (a) {
|
|
1569
|
-
var $t = x === "x" ? K : X, eo = x === "x" ? U : B, He =
|
|
1570
|
-
|
|
1572
|
+
var $t = x === "x" ? K : X, eo = x === "x" ? U : B, He = Y[S], gt = He + y[$t], yt = He - y[eo], xt = Qe(f ? Ge(gt, At) : gt, He, f ? de(yt, mt) : yt);
|
|
1573
|
+
Y[S] = xt, N[S] = xt - He;
|
|
1571
1574
|
}
|
|
1572
1575
|
}
|
|
1573
1576
|
e.modifiersData[r] = N;
|
|
@@ -1594,21 +1597,21 @@ var ys = {
|
|
|
1594
1597
|
start: "end",
|
|
1595
1598
|
end: "start"
|
|
1596
1599
|
};
|
|
1597
|
-
function
|
|
1600
|
+
function St(t) {
|
|
1598
1601
|
return t.replace(/start|end/g, function(e) {
|
|
1599
1602
|
return ys[e];
|
|
1600
1603
|
});
|
|
1601
1604
|
}
|
|
1602
1605
|
function xs(t, e) {
|
|
1603
1606
|
e === void 0 && (e = {});
|
|
1604
|
-
var o = e, r = o.placement, n = o.boundary, s = o.rootBoundary, l = o.padding, a = o.flipVariations, c = o.allowedAutoPlacements, A = c === void 0 ? Vt : c, u = we(r), m = u ? a ?
|
|
1607
|
+
var o = e, r = o.placement, n = o.boundary, s = o.rootBoundary, l = o.padding, a = o.flipVariations, c = o.allowedAutoPlacements, A = c === void 0 ? Vt : c, u = we(r), m = u ? a ? Et : Et.filter(function(g) {
|
|
1605
1608
|
return we(g) === u;
|
|
1606
1609
|
}) : Le, d = m.filter(function(g) {
|
|
1607
1610
|
return A.indexOf(g) >= 0;
|
|
1608
1611
|
});
|
|
1609
1612
|
d.length === 0 && (d = m);
|
|
1610
1613
|
var f = d.reduce(function(g, p) {
|
|
1611
|
-
return g[p] =
|
|
1614
|
+
return g[p] = ft(t, {
|
|
1612
1615
|
placement: p,
|
|
1613
1616
|
boundary: n,
|
|
1614
1617
|
rootBoundary: s,
|
|
@@ -1620,16 +1623,16 @@ function xs(t, e) {
|
|
|
1620
1623
|
});
|
|
1621
1624
|
}
|
|
1622
1625
|
function ws(t) {
|
|
1623
|
-
if ($(t) ===
|
|
1626
|
+
if ($(t) === ut)
|
|
1624
1627
|
return [];
|
|
1625
1628
|
var e = Fe(t);
|
|
1626
|
-
return [
|
|
1629
|
+
return [St(t), e, St(e)];
|
|
1627
1630
|
}
|
|
1628
1631
|
function Is(t) {
|
|
1629
1632
|
var e = t.state, o = t.options, r = t.name;
|
|
1630
1633
|
if (!e.modifiersData[r]._skip) {
|
|
1631
|
-
for (var n = o.mainAxis, s = n === void 0 ? !0 : n, l = o.altAxis, a = l === void 0 ? !0 : l, c = o.fallbackPlacements, A = o.padding, u = o.boundary, m = o.rootBoundary, d = o.altBoundary, f = o.flipVariations, g = f === void 0 ? !0 : f, p = o.allowedAutoPlacements, y = e.options.placement, E = $(y),
|
|
1632
|
-
return pe.concat($(J) ===
|
|
1634
|
+
for (var n = o.mainAxis, s = n === void 0 ? !0 : n, l = o.altAxis, a = l === void 0 ? !0 : l, c = o.fallbackPlacements, A = o.padding, u = o.boundary, m = o.rootBoundary, d = o.altBoundary, f = o.flipVariations, g = f === void 0 ? !0 : f, p = o.allowedAutoPlacements, y = e.options.placement, E = $(y), R = E === y, k = c || (R || !g ? [Fe(y)] : ws(y)), x = [y].concat(k).reduce(function(pe, J) {
|
|
1635
|
+
return pe.concat($(J) === ut ? xs(e, {
|
|
1633
1636
|
placement: J,
|
|
1634
1637
|
boundary: u,
|
|
1635
1638
|
rootBoundary: m,
|
|
@@ -1637,15 +1640,15 @@ function Is(t) {
|
|
|
1637
1640
|
flipVariations: g,
|
|
1638
1641
|
allowedAutoPlacements: p
|
|
1639
1642
|
}) : J);
|
|
1640
|
-
}, []), S = e.rects.reference,
|
|
1641
|
-
var j = x[N], oe = $(j), z = we(j) === xe, re = [K, U].indexOf(oe) >= 0, ne = re ? "width" : "height", q =
|
|
1643
|
+
}, []), S = e.rects.reference, Y = e.rects.popper, G = /* @__PURE__ */ new Map(), M = !0, L = x[0], N = 0; N < x.length; N++) {
|
|
1644
|
+
var j = x[N], oe = $(j), z = we(j) === xe, re = [K, U].indexOf(oe) >= 0, ne = re ? "width" : "height", q = ft(e, {
|
|
1642
1645
|
placement: j,
|
|
1643
1646
|
boundary: u,
|
|
1644
1647
|
rootBoundary: m,
|
|
1645
1648
|
altBoundary: d,
|
|
1646
1649
|
padding: A
|
|
1647
1650
|
}), se = re ? z ? B : X : z ? U : K;
|
|
1648
|
-
S[ne] >
|
|
1651
|
+
S[ne] > Y[ne] && (se = Fe(se));
|
|
1649
1652
|
var O = Fe(se), D = [];
|
|
1650
1653
|
if (s && D.push(q[oe] <= 0), a && D.push(q[se] <= 0, q[O] <= 0), D.every(function(pe) {
|
|
1651
1654
|
return pe;
|
|
@@ -1714,10 +1717,10 @@ var Rs = {
|
|
|
1714
1717
|
})) : e, Bt(typeof e != "number" ? e : Wt(e, Le));
|
|
1715
1718
|
};
|
|
1716
1719
|
function Gs(t) {
|
|
1717
|
-
var e, o = t.state, r = t.name, n = t.options, s = o.elements.arrow, l = o.modifiersData.popperOffsets, a = $(o.placement), c =
|
|
1720
|
+
var e, o = t.state, r = t.name, n = t.options, s = o.elements.arrow, l = o.modifiersData.popperOffsets, a = $(o.placement), c = pt(a), A = [X, B].indexOf(a) >= 0, u = A ? "height" : "width";
|
|
1718
1721
|
if (!(!s || !l)) {
|
|
1719
|
-
var m = Ys(n.padding, o), d =
|
|
1720
|
-
o.modifiersData[r] = (e = {}, e[M] = G, e.centerOffset = G -
|
|
1722
|
+
var m = Ys(n.padding, o), d = dt(s), f = c === "y" ? K : X, g = c === "y" ? U : B, p = o.rects.reference[u] + o.rects.reference[c] - l[c] - o.rects.popper[u], y = l[c] - o.rects.reference[c], E = Pe(s), R = E ? c === "y" ? E.clientHeight || 0 : E.clientWidth || 0 : 0, k = p / 2 - y / 2, x = m[f], S = R - d[u] - m[g], Y = R / 2 - d[u] / 2 + k, G = Qe(x, Y, S), M = c;
|
|
1723
|
+
o.modifiersData[r] = (e = {}, e[M] = G, e.centerOffset = G - Y, e);
|
|
1721
1724
|
}
|
|
1722
1725
|
}
|
|
1723
1726
|
function Ss(t) {
|
|
@@ -1787,7 +1790,7 @@ function Ls({
|
|
|
1787
1790
|
var p;
|
|
1788
1791
|
(p = c.popperInstance) === null || p === void 0 || p.destroy();
|
|
1789
1792
|
}), {
|
|
1790
|
-
...
|
|
1793
|
+
...Ht(c),
|
|
1791
1794
|
open: f,
|
|
1792
1795
|
close: d
|
|
1793
1796
|
};
|
|
@@ -1865,10 +1868,10 @@ var Hs = `
|
|
|
1865
1868
|
}
|
|
1866
1869
|
`;
|
|
1867
1870
|
Jt(Hs);
|
|
1868
|
-
const
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
var Os =
|
|
1871
|
+
const vt = {};
|
|
1872
|
+
vt.render = zs;
|
|
1873
|
+
vt.__scopeId = "data-v-20b7fd4a";
|
|
1874
|
+
var Os = vt;
|
|
1872
1875
|
const Ds = ["onKeyup"];
|
|
1873
1876
|
var _t = {
|
|
1874
1877
|
props: {
|
|
@@ -2006,24 +2009,24 @@ var _t = {
|
|
|
2006
2009
|
offsetDistance: p,
|
|
2007
2010
|
offsetSkid: y,
|
|
2008
2011
|
openDelay: E,
|
|
2009
|
-
placement:
|
|
2012
|
+
placement: R,
|
|
2010
2013
|
show: k
|
|
2011
|
-
} =
|
|
2014
|
+
} = Ht(o), {
|
|
2012
2015
|
isOpen: x,
|
|
2013
2016
|
open: S,
|
|
2014
|
-
close:
|
|
2017
|
+
close: Y
|
|
2015
2018
|
} = Ls({
|
|
2016
2019
|
arrowPadding: c,
|
|
2017
2020
|
emit: e,
|
|
2018
2021
|
locked: g,
|
|
2019
2022
|
offsetDistance: p,
|
|
2020
2023
|
offsetSkid: y,
|
|
2021
|
-
placement:
|
|
2024
|
+
placement: R,
|
|
2022
2025
|
popperNode: s,
|
|
2023
2026
|
triggerNode: l
|
|
2024
2027
|
}), {
|
|
2025
2028
|
hasContent: G
|
|
2026
|
-
} = Yn(r, s, u), M = ke(() => k.value !== null), L = ke(() => d.value || !G.value), N = ke(() => x.value && !L.value), j = ke(() => !m.value && !M.value), oe = ke(() => f.value ? `border: ${p.value}px solid transparent; margin: -${p.value}px;` : null), z = _e.debounce(S, E.value), re = _e.debounce(
|
|
2029
|
+
} = Yn(r, s, u), M = ke(() => k.value !== null), L = ke(() => d.value || !G.value), N = ke(() => x.value && !L.value), j = ke(() => !m.value && !M.value), oe = ke(() => f.value ? `border: ${p.value}px solid transparent; margin: -${p.value}px;` : null), z = _e.debounce(S, E.value), re = _e.debounce(Y, A.value), ne = async () => {
|
|
2027
2030
|
L.value || M.value || (re.clear(), z());
|
|
2028
2031
|
}, q = async () => {
|
|
2029
2032
|
M.value || (z.clear(), re());
|
|
@@ -2031,14 +2034,14 @@ var _t = {
|
|
|
2031
2034
|
x.value ? q() : ne();
|
|
2032
2035
|
};
|
|
2033
2036
|
return be([G, d], ([O, D]) => {
|
|
2034
|
-
x.value && (!O || D) &&
|
|
2037
|
+
x.value && (!O || D) && Y();
|
|
2035
2038
|
}), be(x, (O) => {
|
|
2036
2039
|
O ? a.value = !0 : _e.debounce(() => {
|
|
2037
2040
|
a.value = !1;
|
|
2038
2041
|
}, 200);
|
|
2039
|
-
}),
|
|
2042
|
+
}), wt(() => {
|
|
2040
2043
|
M.value && (k.value ? z() : re());
|
|
2041
|
-
}),
|
|
2044
|
+
}), wt(() => {
|
|
2042
2045
|
j.value && Rn(n, q);
|
|
2043
2046
|
}), (O, D) => (v(), h("div", {
|
|
2044
2047
|
class: "inline-block",
|
|
@@ -2055,7 +2058,7 @@ var _t = {
|
|
|
2055
2058
|
onClick: se,
|
|
2056
2059
|
onFocus: ne,
|
|
2057
2060
|
onKeyup: ao(q, ["esc"])
|
|
2058
|
-
}, [tt(O.$slots, "default")], 40, Ds), I(
|
|
2061
|
+
}, [tt(O.$slots, "default")], 40, Ds), I(Lt, {
|
|
2059
2062
|
name: "fade"
|
|
2060
2063
|
}, {
|
|
2061
2064
|
default: Q(() => [fe(i("div", {
|
|
@@ -2065,11 +2068,11 @@ var _t = {
|
|
|
2065
2068
|
ae.popperNode = H, s.value = H;
|
|
2066
2069
|
}
|
|
2067
2070
|
}, [tt(O.$slots, "content", {
|
|
2068
|
-
close: b(
|
|
2071
|
+
close: b(Y),
|
|
2069
2072
|
isOpen: a.value
|
|
2070
2073
|
}, () => [_(P(b(u)), 1)]), t.arrow ? (v(), Ae(Os, {
|
|
2071
2074
|
key: 0
|
|
2072
|
-
})) :
|
|
2075
|
+
})) : C("", !0)], 512), [[io, b(N)]])]),
|
|
2073
2076
|
_: 3
|
|
2074
2077
|
})], 36));
|
|
2075
2078
|
}
|
|
@@ -2141,7 +2144,7 @@ const Ns = {
|
|
|
2141
2144
|
var u, m;
|
|
2142
2145
|
try {
|
|
2143
2146
|
r.value = !1;
|
|
2144
|
-
const d = await
|
|
2147
|
+
const d = await Ot(
|
|
2145
2148
|
`/initialDataV2?skill_id=${A.skill_id}&prof_id=${yo}&skill_master_id=${A.skill_master_id}`
|
|
2146
2149
|
);
|
|
2147
2150
|
e.selectSkill(d.data), e.addPostSkillSelectionMessage(), r.value = !0;
|
|
@@ -2187,7 +2190,7 @@ const Ns = {
|
|
|
2187
2190
|
], 32)
|
|
2188
2191
|
]),
|
|
2189
2192
|
_: 1
|
|
2190
|
-
}, 8, ["show"])) :
|
|
2193
|
+
}, 8, ["show"])) : C("", !0),
|
|
2191
2194
|
(d = b(e).service_line_skills) != null && d.length ? (v(), Ae(b(Ne), {
|
|
2192
2195
|
key: 1,
|
|
2193
2196
|
show: s.value,
|
|
@@ -2214,7 +2217,7 @@ const Ns = {
|
|
|
2214
2217
|
], 32)
|
|
2215
2218
|
]),
|
|
2216
2219
|
_: 1
|
|
2217
|
-
}, 8, ["show"])) :
|
|
2220
|
+
}, 8, ["show"])) : C("", !0),
|
|
2218
2221
|
(f = b(e).digital_skills) != null && f.length ? (v(), Ae(b(Ne), {
|
|
2219
2222
|
key: 2,
|
|
2220
2223
|
show: l.value,
|
|
@@ -2241,7 +2244,7 @@ const Ns = {
|
|
|
2241
2244
|
], 32)
|
|
2242
2245
|
]),
|
|
2243
2246
|
_: 1
|
|
2244
|
-
}, 8, ["show"])) :
|
|
2247
|
+
}, 8, ["show"])) : C("", !0),
|
|
2245
2248
|
(g = b(e).professional_skills) != null && g.length ? (v(), Ae(b(Ne), {
|
|
2246
2249
|
key: 3,
|
|
2247
2250
|
show: a.value,
|
|
@@ -2268,7 +2271,7 @@ const Ns = {
|
|
|
2268
2271
|
], 32)
|
|
2269
2272
|
]),
|
|
2270
2273
|
_: 1
|
|
2271
|
-
}, 8, ["show"])) :
|
|
2274
|
+
}, 8, ["show"])) : C("", !0)
|
|
2272
2275
|
])) : (v(), h("div", Bs, Js));
|
|
2273
2276
|
};
|
|
2274
2277
|
}
|
|
@@ -2304,14 +2307,14 @@ const Ns = {
|
|
|
2304
2307
|
key: 0,
|
|
2305
2308
|
class: "md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2",
|
|
2306
2309
|
onClick: l[0] || (l[0] = (a) => r.value = !r.value)
|
|
2307
|
-
}, " Others ")) :
|
|
2310
|
+
}, " Others ")) : C("", !0),
|
|
2308
2311
|
r.value ? (v(), h("div", ta, [
|
|
2309
2312
|
(v(!0), h(T, null, F(b(e).otherUseCases, (a) => (v(), h("div", {
|
|
2310
2313
|
class: "md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2",
|
|
2311
2314
|
onClick: (c) => n(a),
|
|
2312
2315
|
key: a.useCaseId
|
|
2313
2316
|
}, P(a.useCaseName), 9, oa))), 128))
|
|
2314
|
-
])) :
|
|
2317
|
+
])) : C("", !0)
|
|
2315
2318
|
])) : (v(), h("div", ra, sa));
|
|
2316
2319
|
}
|
|
2317
2320
|
}), ia = { key: 0 }, la = { key: 1 }, ca = { key: 0 }, da = { key: 1 }, ua = /* @__PURE__ */ te({
|
|
@@ -2334,7 +2337,7 @@ const Ns = {
|
|
|
2334
2337
|
question: a.question,
|
|
2335
2338
|
"show-feedback": a.showFeedback
|
|
2336
2339
|
}, null, 8, ["question", "show-feedback"])
|
|
2337
|
-
])) :
|
|
2340
|
+
])) : C("", !0),
|
|
2338
2341
|
a.answer ? (v(), h("div", la, [
|
|
2339
2342
|
I(An, {
|
|
2340
2343
|
question: a.question,
|
|
@@ -2343,18 +2346,18 @@ const Ns = {
|
|
|
2343
2346
|
answer: a.answer.replaceAll("<a", b(e)).replaceAll("<ul", b(o)),
|
|
2344
2347
|
"show-feedback": a.showFeedback
|
|
2345
2348
|
}, null, 8, ["question", "show-sources", "questionId", "answer", "show-feedback"])
|
|
2346
|
-
])) :
|
|
2349
|
+
])) : C("", !0)
|
|
2347
2350
|
]))), 128)),
|
|
2348
|
-
b(r).skill_id ?
|
|
2351
|
+
b(r).skill_id ? C("", !0) : (v(), h("div", ca, [
|
|
2349
2352
|
I(_s)
|
|
2350
2353
|
])),
|
|
2351
2354
|
b(r).showPostSkillUseCases ? (v(), h("div", da, [
|
|
2352
2355
|
I(aa)
|
|
2353
|
-
])) :
|
|
2356
|
+
])) : C("", !0)
|
|
2354
2357
|
], 512));
|
|
2355
2358
|
}
|
|
2356
2359
|
});
|
|
2357
|
-
const ce = (t) => (
|
|
2360
|
+
const ce = (t) => (Mt("data-v-ed61c2a4"), t = t(), zt(), t), pa = { class: "max-h-screen overflow-auto md:p-6 p-3 flex flex-col items-center justify-center gap-4" }, fa = { className: "text-lg font-medium my-6 text-center text-gray-500" }, va = { class: "max-h-screen overflow-hidden md:py-4 py-8" }, ha = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("h3", { className: "text-lg font-bold capitalize mb-4 text-left text-blue-700" }, " Important Instructions ", -1)), Aa = { className: "list-disc max-h-[40vh] overflow-auto space-y-3 pl-6 md:text-[16px] text-[12px]" }, ma = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("li", null, "Please limit your questions to topics directly related to the selected skill.", -1)), ba = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("li", null, " To maintain confidentiality, refrain from asking or sharing any confidential information such as client names, company financials, or Genpact proprietary information. ", -1)), ga = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("li", null, "Use clear and understandable language; avoid Genpact or industry jargon.", -1)), ya = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("li", null, " The AI-generated response will be limited to 1,000 characters to ensure concise and focused answers. ", -1)), xa = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("li", null, [
|
|
2358
2361
|
/* @__PURE__ */ _(" If you have any inquiries, we kindly encourage you to consult Genpact's "),
|
|
2359
2362
|
/* @__PURE__ */ i("a", {
|
|
2360
2363
|
class: "underline text-blue-500",
|
|
@@ -2376,7 +2379,7 @@ const ce = (t) => (zt("data-v-ed61c2a4"), t = t(), Ht(), t), pa = { class: "max-
|
|
|
2376
2379
|
}, Ga = { class: "z-20" }, Sa = { class: "flex h-full overflow-hidden items-stretch" }, Pa = { class: "hidden md:block" }, La = { class: "bg-gray-200 w-screen" }, Ma = { class: "relative h-full w-full flex flex-col overflow-hidden items-stretch" }, za = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("div", { class: "md:mt-[130px] mt-[120px]" }, null, -1)), Ha = { class: "relative" }, Oa = /* @__PURE__ */ te({
|
|
2377
2380
|
__name: "HomeView",
|
|
2378
2381
|
setup(t) {
|
|
2379
|
-
const e = w(!0), o = w(!1), r = le(), n = Ie(), s =
|
|
2382
|
+
const e = w(!0), o = w(!1), r = le(), n = Ie(), s = Pt(), l = w(!1), a = w(""), c = async () => {
|
|
2380
2383
|
const u = {
|
|
2381
2384
|
event_type: at.CONSENT
|
|
2382
2385
|
};
|
|
@@ -2385,7 +2388,7 @@ const ce = (t) => (zt("data-v-ed61c2a4"), t = t(), Ht(), t), pa = { class: "max-
|
|
|
2385
2388
|
var u, m, d, f, g;
|
|
2386
2389
|
try {
|
|
2387
2390
|
e.value = !1;
|
|
2388
|
-
const p = await
|
|
2391
|
+
const p = await Ot("/getLearnerData");
|
|
2389
2392
|
((u = p.data) == null ? void 0 : u.maintenance) && vo.replace({ path: "/under-maintenance" }), s.open(), r.initialize(p.data), e.value = !0;
|
|
2390
2393
|
} catch (p) {
|
|
2391
2394
|
if (console.error(p), e.value = !0, Z.isAxiosError(p)) {
|
|
@@ -2406,7 +2409,7 @@ const ce = (t) => (zt("data-v-ed61c2a4"), t = t(), Ht(), t), pa = { class: "max-
|
|
|
2406
2409
|
default: Q(() => [
|
|
2407
2410
|
i("div", pa, [
|
|
2408
2411
|
I(b(je), { class: "w-12 h-12 fill-genpact-blue-box" }),
|
|
2409
|
-
I(
|
|
2412
|
+
I(Nt, { color: "blue" }),
|
|
2410
2413
|
i("h3", fa, P(a.value), 1)
|
|
2411
2414
|
])
|
|
2412
2415
|
]),
|
|
@@ -2431,7 +2434,7 @@ const ce = (t) => (zt("data-v-ed61c2a4"), t = t(), Ht(), t), pa = { class: "max-
|
|
|
2431
2434
|
wa
|
|
2432
2435
|
])
|
|
2433
2436
|
]),
|
|
2434
|
-
b(s).crossVisible ?
|
|
2437
|
+
b(s).crossVisible ? C("", !0) : (v(), h("div", Ia, [
|
|
2435
2438
|
i("div", ka, [
|
|
2436
2439
|
i("input", {
|
|
2437
2440
|
type: "checkbox",
|
|
@@ -2459,7 +2462,7 @@ const ce = (t) => (zt("data-v-ed61c2a4"), t = t(), Ht(), t), pa = { class: "max-
|
|
|
2459
2462
|
]),
|
|
2460
2463
|
i("div", Sa, [
|
|
2461
2464
|
i("div", Pa, [
|
|
2462
|
-
I(
|
|
2465
|
+
I(Tt)
|
|
2463
2466
|
]),
|
|
2464
2467
|
i("div", La, [
|
|
2465
2468
|
i("div", Ma, [
|