@genpact/genome.mfe.mgtwin-app 1.0.4 → 1.0.5-beta.2
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-d9a65a50.mjs → HomeView-5c942d93.mjs} +110 -110
- package/dist/{PromptTesting-79555d37.mjs → PromptTesting-9969e2c3.mjs} +2 -2
- package/dist/{UnderMaintenance-8e9000de.mjs → UnderMaintenance-12ea180c.mjs} +1 -1
- package/dist/{api-0eae9f7a.mjs → api-f5d04c14.mjs} +1 -1
- package/dist/{main-3407bdf7.mjs → main-0e29d9dd.mjs} +6 -6
- package/dist/mgtwin.es.min.js +1 -1
- package/dist/mgtwin.umd.min.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as v, c as b, a as i, d as ne, u as le, b as
|
|
2
|
-
import { _ as co, a as et, b as Z, A as uo, r as po, p as tt, g as Pt } from "./api-
|
|
1
|
+
import { o as v, c as b, a as i, d as ne, u as le, b as w, e as pe, t as z, f as M, g as E, F as oe, r as fe, n as me, h as k, i as xe, w as be, j as Ce, k as kt, l as ue, v as Be, m as ie, p as Bt, q as We, T as Ct, s as Ze, x as Wt, y as Jt, z as _t, A as St, B as Ae, C as yt, D as $t, E as It, G as eo, H as to, I as $e, J as oo, K as ro, L as no, M as ao, N as so, O as io, P as lo } from "./main-0e29d9dd.mjs";
|
|
2
|
+
import { _ as co, a as et, b as Z, A as uo, r as po, p as tt, g as Pt } from "./api-f5d04c14.mjs";
|
|
3
3
|
import { _ as ot } from "./_plugin-vue_export-helper-dad06003.mjs";
|
|
4
4
|
function fo(t, e) {
|
|
5
5
|
return v(), b("svg", {
|
|
@@ -91,10 +91,10 @@ function zt(t, e) {
|
|
|
91
91
|
})
|
|
92
92
|
]);
|
|
93
93
|
}
|
|
94
|
-
const yo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justify-start pt-4 gap-2 overflow-y-auto" }, go = { class: "space-y-2 text-sm" },
|
|
94
|
+
const yo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justify-start pt-4 gap-2 overflow-y-auto" }, go = { class: "space-y-2 text-sm" }, wo = { class: "flex gap-2 text-white" }, xo = { key: 0 }, Ao = { class: "flex items-center gap-2 py-1" }, Eo = { key: 0 }, Ro = { class: "tooltip" }, Yo = { class: "tooltiptext" }, Go = { key: 0 }, ko = ["href"], Co = {
|
|
95
95
|
key: 1,
|
|
96
96
|
class: "my-3"
|
|
97
|
-
}, So = /* @__PURE__ */ i("label", null, "Master Guru(s): ", -1), Io = ["href"], Po = { key: 0 }, zo = { class: "md:hidden flex justify-end cursor-pointer" }, Mo = { class: "space-y-2 text-sm text-gray-800" }, Oo = { class: "flex items-center gap-2 text-gray-300" }, Lo = /* @__PURE__ */ i("h4", { class: "font-bold" }, "Most Popular Questions", -1), Ho = { class: "tooltip" }, jo = /* @__PURE__ */ i("span", { class: "tooltiptext" }, "Access previously answered questions by experts", -1), Do = { class: "
|
|
97
|
+
}, So = /* @__PURE__ */ i("label", null, "Master Guru(s): ", -1), Io = ["href"], Po = { key: 0 }, zo = { class: "md:hidden flex justify-end cursor-pointer" }, Mo = { class: "space-y-2 text-sm text-gray-800" }, Oo = { class: "flex items-center gap-2 text-gray-300" }, Lo = /* @__PURE__ */ i("h4", { class: "font-bold" }, "Most Popular Questions", -1), Ho = { class: "tooltip" }, jo = /* @__PURE__ */ i("span", { class: "tooltiptext" }, "Access previously answered questions by experts", -1), Do = { class: "h-[15rem] overflow-auto space-y-2" }, No = ["onClick"], To = { class: "md:truncate tooltip" }, Fo = { class: "tooltiptext" }, Vo = {
|
|
98
98
|
key: 0,
|
|
99
99
|
class: "bg-gray-200 rounded-md p-2"
|
|
100
100
|
}, qo = { class: "space-y-2 text-sm text-gray-800" }, Zo = { class: "flex items-center gap-2 text-gray-300 mt-4" }, Ko = /* @__PURE__ */ i("h4", { class: "font-bold" }, "Your Recent Questions", -1), Qo = { class: "tooltip" }, Xo = /* @__PURE__ */ i("span", { class: "tooltiptext" }, "View your last 3 questions for this skill", -1), Uo = ["onClick"], Bo = { class: "md:truncate tooltip" }, Wo = { class: "tooltiptext" }, Jo = {
|
|
@@ -116,42 +116,42 @@ const yo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
|
|
|
116
116
|
};
|
|
117
117
|
return (a, l) => (v(), b("div", yo, [
|
|
118
118
|
i("div", go, [
|
|
119
|
-
i("div",
|
|
120
|
-
|
|
119
|
+
i("div", wo, [
|
|
120
|
+
w(o).skill_id ? (v(), b("div", xo, [
|
|
121
121
|
i("div", Ao, [
|
|
122
|
-
|
|
122
|
+
w(o).skill_id ? (v(), b("div", Eo, [
|
|
123
123
|
i("h4", null, [
|
|
124
124
|
pe(" Skill: "),
|
|
125
|
-
i("b", null, z(
|
|
125
|
+
i("b", null, z(w(o).skillName), 1)
|
|
126
126
|
])
|
|
127
127
|
])) : M("", !0),
|
|
128
128
|
i("div", Ro, [
|
|
129
|
-
i("span", Yo, z(
|
|
130
|
-
E(
|
|
129
|
+
i("span", Yo, z(w(o).skillDefinition), 1),
|
|
130
|
+
E(w(He), { class: "w-5 h-5 fill-current" })
|
|
131
131
|
])
|
|
132
132
|
]),
|
|
133
|
-
|
|
133
|
+
w(o).skill_id && w(o).skillVideoLink ? (v(), b("div", Go, [
|
|
134
134
|
i("a", {
|
|
135
|
-
href:
|
|
135
|
+
href: w(o).skillVideoLink,
|
|
136
136
|
target: "_blank",
|
|
137
137
|
class: "underline text-sm"
|
|
138
|
-
}, "Watch " + z(
|
|
138
|
+
}, "Watch " + z(w(o).skillName) + " introduction video", 9, ko)
|
|
139
139
|
])) : M("", !0),
|
|
140
|
-
|
|
140
|
+
w(o).skill_id ? (v(), b("div", Co, [
|
|
141
141
|
So,
|
|
142
|
-
(v(!0), b(oe, null, fe(
|
|
142
|
+
(v(!0), b(oe, null, fe(w(o).guruName.split(","), (s, c) => (v(), b("span", { key: c }, [
|
|
143
143
|
i("a", {
|
|
144
144
|
href: r(c) || "",
|
|
145
145
|
target: "_blank"
|
|
146
146
|
}, z(s.trim()), 9, Io),
|
|
147
|
-
c <
|
|
147
|
+
c < w(o).guruName.split(",").length - 1 ? (v(), b("span", Po, ", ")) : M("", !0)
|
|
148
148
|
]))), 128))
|
|
149
149
|
])) : M("", !0)
|
|
150
150
|
])) : M("", !0)
|
|
151
151
|
])
|
|
152
152
|
]),
|
|
153
153
|
i("div", zo, [
|
|
154
|
-
E(
|
|
154
|
+
E(w(zt), {
|
|
155
155
|
onClick: l[0] || (l[0] = (s) => a.$emit("closeDrawer")),
|
|
156
156
|
class: "w-6 h-6 fill-white"
|
|
157
157
|
})
|
|
@@ -161,11 +161,11 @@ const yo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
|
|
|
161
161
|
Lo,
|
|
162
162
|
i("div", Ho, [
|
|
163
163
|
jo,
|
|
164
|
-
E(
|
|
164
|
+
E(w(He), { class: "w-5 h-5 fill-current" })
|
|
165
165
|
])
|
|
166
166
|
]),
|
|
167
167
|
i("div", Do, [
|
|
168
|
-
(v(!0), b(oe, null, fe(
|
|
168
|
+
(v(!0), b(oe, null, fe(w(o).frequentlyAskedQuestions, (s, c) => (v(), b("div", {
|
|
169
169
|
onClick: (f) => n(s, "faq"),
|
|
170
170
|
key: c,
|
|
171
171
|
class: me([s.isShown ? "cursor-not-allowed bg-gray-400" : "cursor-pointer", "bg-gray-200 rounded-md p-2"])
|
|
@@ -175,7 +175,7 @@ const yo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
|
|
|
175
175
|
pe(" " + z(s.question), 1)
|
|
176
176
|
])
|
|
177
177
|
], 10, No))), 128)),
|
|
178
|
-
|
|
178
|
+
w(o).frequentlyAskedQuestions.length ? M("", !0) : (v(), b("div", Vo, " No Guru Questions available "))
|
|
179
179
|
])
|
|
180
180
|
]),
|
|
181
181
|
i("div", qo, [
|
|
@@ -183,10 +183,10 @@ const yo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
|
|
|
183
183
|
Ko,
|
|
184
184
|
i("div", Qo, [
|
|
185
185
|
Xo,
|
|
186
|
-
E(
|
|
186
|
+
E(w(He), { class: "w-5 h-5 fill-current" })
|
|
187
187
|
])
|
|
188
188
|
]),
|
|
189
|
-
(v(!0), b(oe, null, fe(
|
|
189
|
+
(v(!0), b(oe, null, fe(w(o).recentQuestions, (s, c) => (v(), b("div", {
|
|
190
190
|
onClick: (f) => n(s, "recent"),
|
|
191
191
|
key: c,
|
|
192
192
|
class: me([s.isShown ? "cursor-not-allowed bg-gray-400" : "cursor-pointer", "bg-gray-200 rounded-md p-2"])
|
|
@@ -196,7 +196,7 @@ const yo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
|
|
|
196
196
|
pe(" " + z(s.question), 1)
|
|
197
197
|
])
|
|
198
198
|
], 10, Uo))), 128)),
|
|
199
|
-
|
|
199
|
+
w(o).recentQuestions.length ? M("", !0) : (v(), b("div", Jo, " No Recent Questions "))
|
|
200
200
|
])
|
|
201
201
|
]));
|
|
202
202
|
}
|
|
@@ -269,7 +269,7 @@ const yo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
|
|
|
269
269
|
onClick: o,
|
|
270
270
|
class: "md:hidden block bg-genpact-light-blue p-2 hover:bg-genpact-light-blue/80 cursor-pointer"
|
|
271
271
|
}, [
|
|
272
|
-
E(
|
|
272
|
+
E(w(fo), { class: "w-5 h-5 fill-gray-300" })
|
|
273
273
|
]),
|
|
274
274
|
i("div", ar, [
|
|
275
275
|
E(Ot)
|
|
@@ -355,10 +355,10 @@ const mr = async () => await Z({
|
|
|
355
355
|
}), gr = {
|
|
356
356
|
key: 0,
|
|
357
357
|
class: "flex justify-center gap-2 pb-1"
|
|
358
|
-
},
|
|
358
|
+
}, wr = /* @__PURE__ */ ne({
|
|
359
359
|
__name: "ChatActionButtons",
|
|
360
360
|
setup(t) {
|
|
361
|
-
const e = le(), o =
|
|
361
|
+
const e = le(), o = xe(), r = k([]), n = k([]), a = k([]), l = k("");
|
|
362
362
|
be(e, (m) => {
|
|
363
363
|
m.skillName && (a.value = [], r.value.map((d) => {
|
|
364
364
|
d[0] === e.skillName && (a.value = d, console.log(d), console.log(gt[Qe[d.slice(1, 3).join(",")]]), l.value = gt[Qe[d.slice(1, 3).join(",")]]);
|
|
@@ -409,7 +409,7 @@ const mr = async () => await Z({
|
|
|
409
409
|
f(), c();
|
|
410
410
|
});
|
|
411
411
|
const u = () => window.open("https://genome.genpact.com/my-profile", "_blank");
|
|
412
|
-
return (m, d) =>
|
|
412
|
+
return (m, d) => w(e).skill_id ? (v(), b("div", gr, [
|
|
413
413
|
a.value.length ? (v(), b("div", {
|
|
414
414
|
key: 0,
|
|
415
415
|
onClick: d[0] || (d[0] = (p) => s()),
|
|
@@ -420,16 +420,16 @@ const mr = async () => await Z({
|
|
|
420
420
|
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"
|
|
421
421
|
}, " Add to Myplan ")),
|
|
422
422
|
i("div", {
|
|
423
|
-
onClick: d[2] || (d[2] = (p) =>
|
|
423
|
+
onClick: d[2] || (d[2] = (p) => w(e).clearSkillSelection()),
|
|
424
424
|
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"
|
|
425
425
|
}, " Change Skill "),
|
|
426
426
|
i("div", {
|
|
427
|
-
onClick: d[3] || (d[3] = (p) =>
|
|
427
|
+
onClick: d[3] || (d[3] = (p) => w(e).clearConversationHistory()),
|
|
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
429
|
}, " Clear Chat ")
|
|
430
430
|
])) : M("", !0);
|
|
431
431
|
}
|
|
432
|
-
}),
|
|
432
|
+
}), xr = { class: "absolute bottom-0 w-full z-3 mt-4" }, Ar = { class: "md:px-8 px-3 py-2" }, Er = { class: "border border-gray-200" }, Rr = { class: "relative w-full z-1" }, Yr = {
|
|
433
433
|
key: 1,
|
|
434
434
|
class: "absolute top-3 right-4"
|
|
435
435
|
}, Gr = /* @__PURE__ */ i("img", {
|
|
@@ -443,7 +443,7 @@ const mr = async () => await Z({
|
|
|
443
443
|
], -1), Ir = /* @__PURE__ */ ne({
|
|
444
444
|
__name: "NewQuestion",
|
|
445
445
|
setup(t) {
|
|
446
|
-
const e = kt(), o =
|
|
446
|
+
const e = kt(), o = xe(), r = le(), n = k(""), a = k(!1), l = k(!1), s = k(Ke), c = (m) => {
|
|
447
447
|
const d = m.length;
|
|
448
448
|
s.value = Ke - d, l.value = d >= Ke;
|
|
449
449
|
}, f = async () => {
|
|
@@ -484,9 +484,9 @@ const mr = async () => await Z({
|
|
|
484
484
|
}, u = async (m) => {
|
|
485
485
|
m.which === 13 && (m.preventDefault(), a.value || await f());
|
|
486
486
|
};
|
|
487
|
-
return (m, d) => (v(), b("div",
|
|
487
|
+
return (m, d) => (v(), b("div", xr, [
|
|
488
488
|
i("div", Ar, [
|
|
489
|
-
E(
|
|
489
|
+
E(wr),
|
|
490
490
|
i("div", Er, [
|
|
491
491
|
i("div", Rr, [
|
|
492
492
|
ue(i("textarea", {
|
|
@@ -502,17 +502,17 @@ const mr = async () => await Z({
|
|
|
502
502
|
a.value ? (v(), b("div", Yr, kr)) : (v(), b("button", {
|
|
503
503
|
key: 0,
|
|
504
504
|
onClick: f,
|
|
505
|
-
class: me(["absolute top-4 right-4",
|
|
505
|
+
class: me(["absolute top-4 right-4", w(r).skill_id ? "cursor-pointer" : "cursor-not-allowed fill-gray-400"])
|
|
506
506
|
}, [
|
|
507
|
-
E(
|
|
507
|
+
E(w(po), { class: "w-8 h-8 fill-inherit" })
|
|
508
508
|
], 2))
|
|
509
509
|
])
|
|
510
510
|
]),
|
|
511
511
|
i("div", Cr, [
|
|
512
|
-
i("div", null, z(
|
|
512
|
+
i("div", null, z(w(r).questionsLeft) + " Questions Remaining", 1),
|
|
513
513
|
i("button", {
|
|
514
514
|
class: "underline text-blue-500",
|
|
515
|
-
onClick: d[3] || (d[3] = (p) =>
|
|
515
|
+
onClick: d[3] || (d[3] = (p) => w(e).open(!0))
|
|
516
516
|
}, " Important Instructions ")
|
|
517
517
|
]),
|
|
518
518
|
Sr
|
|
@@ -551,7 +551,7 @@ const Pr = { key: 0 }, zr = {
|
|
|
551
551
|
}, ["stop"]))
|
|
552
552
|
}, [
|
|
553
553
|
t.crossVisible ? (v(), b("div", zr, [
|
|
554
|
-
E(
|
|
554
|
+
E(w(zt), {
|
|
555
555
|
onClick: o[0] || (o[0] = (r) => e.$emit("Cancel")),
|
|
556
556
|
class: "w-6 h-6 fill-gray-800"
|
|
557
557
|
})
|
|
@@ -589,7 +589,7 @@ const Pr = { key: 0 }, zr = {
|
|
|
589
589
|
}
|
|
590
590
|
},
|
|
591
591
|
setup(t) {
|
|
592
|
-
const e = t, o = k(!1), r = k(!1), n = k(!1), a =
|
|
592
|
+
const e = t, o = k(!1), r = k(!1), n = k(!1), a = xe(), l = k(""), s = k([]), c = async (m) => {
|
|
593
593
|
var d, p;
|
|
594
594
|
m === "P" ? u() : f();
|
|
595
595
|
try {
|
|
@@ -614,11 +614,11 @@ const Pr = { key: 0 }, zr = {
|
|
|
614
614
|
};
|
|
615
615
|
return (m, d) => (v(), b(oe, null, [
|
|
616
616
|
n.value ? (v(), b("div", Lr)) : (v(), b("div", Hr, [
|
|
617
|
-
E(
|
|
617
|
+
E(w(mo), {
|
|
618
618
|
onClick: d[0] || (d[0] = (p) => c("P")),
|
|
619
619
|
class: "w-6 h-6 fill-gray-500 hover:fill-gray-800 cursor-pointer"
|
|
620
620
|
}),
|
|
621
|
-
E(
|
|
621
|
+
E(w(vo), {
|
|
622
622
|
onClick: d[1] || (d[1] = (p) => c("N")),
|
|
623
623
|
class: "w-6 h-6 fill-gray-500 hover:fill-gray-800 cursor-pointer"
|
|
624
624
|
})
|
|
@@ -751,7 +751,7 @@ const Pr = { key: 0 }, zr = {
|
|
|
751
751
|
}
|
|
752
752
|
},
|
|
753
753
|
setup(t) {
|
|
754
|
-
const e = t, o = k([]), r = k(!1), n =
|
|
754
|
+
const e = t, o = k([]), r = k(!1), n = xe(), a = le();
|
|
755
755
|
console.log("this is issue", o.value.length);
|
|
756
756
|
const l = async () => {
|
|
757
757
|
var s, c, f;
|
|
@@ -787,7 +787,7 @@ const Pr = { key: 0 }, zr = {
|
|
|
787
787
|
key: f.id,
|
|
788
788
|
class: "bg-blue-100 text-genpact-blue-box rounded-xl px-2 py-1 cursor-pointer flex gap-2 items-center"
|
|
789
789
|
}, [
|
|
790
|
-
E(
|
|
790
|
+
E(w(bo), { class: "w-4 h-4 fil-current" }),
|
|
791
791
|
i("div", null, z(f.Content_Title), 1)
|
|
792
792
|
], 8, rn))), 128))
|
|
793
793
|
])
|
|
@@ -805,7 +805,7 @@ const sn = /* @__PURE__ */ ot(an, [["__scopeId", "data-v-cef8a384"]]), ln = { cl
|
|
|
805
805
|
const e = le();
|
|
806
806
|
return (o, r) => (v(), b("div", ln, [
|
|
807
807
|
i("div", cn, [
|
|
808
|
-
i("div", dn, " Hello " + z(
|
|
808
|
+
i("div", dn, " Hello " + z(w(e).learnerName || "Learner") + "! 👋 ", 1),
|
|
809
809
|
un
|
|
810
810
|
])
|
|
811
811
|
]));
|
|
@@ -857,13 +857,13 @@ function bn(t, e, o) {
|
|
|
857
857
|
t.addEventListener(e, o);
|
|
858
858
|
}), $e(() => {
|
|
859
859
|
var r;
|
|
860
|
-
(r =
|
|
860
|
+
(r = w(t)) === null || r === void 0 || r.removeEventListener(e, o);
|
|
861
861
|
});
|
|
862
862
|
}
|
|
863
863
|
function yn(t, e) {
|
|
864
864
|
const o = "pointerdown";
|
|
865
865
|
return typeof window > "u" || !window ? void 0 : bn(window, o, (n) => {
|
|
866
|
-
const a =
|
|
866
|
+
const a = w(t);
|
|
867
867
|
a && (a === n.target || n.composedPath().includes(a) || e(n));
|
|
868
868
|
});
|
|
869
869
|
}
|
|
@@ -928,14 +928,14 @@ function Ht(t) {
|
|
|
928
928
|
var e = X(t).ShadowRoot;
|
|
929
929
|
return t instanceof e || t instanceof ShadowRoot;
|
|
930
930
|
}
|
|
931
|
-
function
|
|
931
|
+
function wn(t) {
|
|
932
932
|
return {
|
|
933
933
|
scrollLeft: t.scrollLeft,
|
|
934
934
|
scrollTop: t.scrollTop
|
|
935
935
|
};
|
|
936
936
|
}
|
|
937
|
-
function
|
|
938
|
-
return t === X(t) || !F(t) ? rt(t) :
|
|
937
|
+
function xn(t) {
|
|
938
|
+
return t === X(t) || !F(t) ? rt(t) : wn(t);
|
|
939
939
|
}
|
|
940
940
|
function W(t) {
|
|
941
941
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
@@ -972,7 +972,7 @@ function En(t, e, o) {
|
|
|
972
972
|
y: 0
|
|
973
973
|
};
|
|
974
974
|
return (r || !r && !o) && ((W(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
975
|
-
at(n)) && (l =
|
|
975
|
+
at(n)) && (l = xn(e)), F(e) ? (s = ye(e), s.x += e.clientLeft, s.y += e.clientTop) : n && (s.x = nt(n))), {
|
|
976
976
|
x: a.left + l.scrollLeft - s.x,
|
|
977
977
|
y: a.top + l.scrollTop - s.y,
|
|
978
978
|
width: a.width,
|
|
@@ -1015,7 +1015,7 @@ function Re(t, e) {
|
|
|
1015
1015
|
function Rn(t) {
|
|
1016
1016
|
return ["table", "td", "th"].indexOf(W(t)) >= 0;
|
|
1017
1017
|
}
|
|
1018
|
-
function
|
|
1018
|
+
function wt(t) {
|
|
1019
1019
|
return !F(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
1020
1020
|
re(t).position === "fixed" ? null : t.offsetParent;
|
|
1021
1021
|
}
|
|
@@ -1035,11 +1035,11 @@ function Yn(t) {
|
|
|
1035
1035
|
return null;
|
|
1036
1036
|
}
|
|
1037
1037
|
function Se(t) {
|
|
1038
|
-
for (var e = X(t), o =
|
|
1039
|
-
o =
|
|
1038
|
+
for (var e = X(t), o = wt(t); o && Rn(o) && re(o).position === "static"; )
|
|
1039
|
+
o = wt(o);
|
|
1040
1040
|
return o && (W(o) === "html" || W(o) === "body" && re(o).position === "static") ? e : o || Yn(t) || e;
|
|
1041
1041
|
}
|
|
1042
|
-
var V = "top", K = "bottom", Q = "right", q = "left", it = "auto", Ie = [V, K, Q, q], ge = "start", Ge = "end", Gn = "clippingParents", Dt = "viewport", Ee = "popper", kn = "reference",
|
|
1042
|
+
var V = "top", K = "bottom", Q = "right", q = "left", it = "auto", Ie = [V, K, Q, q], ge = "start", Ge = "end", Gn = "clippingParents", Dt = "viewport", Ee = "popper", kn = "reference", xt = /* @__PURE__ */ Ie.reduce(function(t, e) {
|
|
1043
1043
|
return t.concat([e + "-" + ge, e + "-" + Ge]);
|
|
1044
1044
|
}, []), Nt = /* @__PURE__ */ [].concat(Ie, [it]).reduce(function(t, e) {
|
|
1045
1045
|
return t.concat([e, e + "-" + ge, e + "-" + Ge]);
|
|
@@ -1157,14 +1157,14 @@ function Qn(t, e, o) {
|
|
|
1157
1157
|
}, At(t, a));
|
|
1158
1158
|
return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
|
|
1159
1159
|
}
|
|
1160
|
-
function
|
|
1160
|
+
function we(t) {
|
|
1161
1161
|
return t.split("-")[1];
|
|
1162
1162
|
}
|
|
1163
1163
|
function lt(t) {
|
|
1164
1164
|
return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
|
|
1165
1165
|
}
|
|
1166
1166
|
function Ft(t) {
|
|
1167
|
-
var e = t.reference, o = t.element, r = t.placement, n = r ? B(r) : null, a = r ?
|
|
1167
|
+
var e = t.reference, o = t.element, r = t.placement, n = r ? B(r) : null, a = r ? we(r) : null, l = e.x + e.width / 2 - o.width / 2, s = e.y + e.height / 2 - o.height / 2, c;
|
|
1168
1168
|
switch (n) {
|
|
1169
1169
|
case V:
|
|
1170
1170
|
c = {
|
|
@@ -1228,12 +1228,12 @@ function Zt(t, e) {
|
|
|
1228
1228
|
}
|
|
1229
1229
|
function ct(t, e) {
|
|
1230
1230
|
e === void 0 && (e = {});
|
|
1231
|
-
var o = e, r = o.placement, n = r === void 0 ? t.placement : r, a = o.boundary, l = a === void 0 ? Gn : a, s = o.rootBoundary, c = s === void 0 ? Dt : s, f = o.elementContext, u = f === void 0 ? Ee : f, m = o.altBoundary, d = m === void 0 ? !1 : m, p = o.padding, g = p === void 0 ? 0 : p, h = qt(typeof g != "number" ? g : Zt(g, Ie)), y = u === Ee ? kn : Ee, R = t.rects.popper, Y = t.elements[d ? y : u], A = Qn(Ye(Y) ? Y : Y.contextElement || ce(t.elements.popper), l, c),
|
|
1232
|
-
reference:
|
|
1231
|
+
var o = e, r = o.placement, n = r === void 0 ? t.placement : r, a = o.boundary, l = a === void 0 ? Gn : a, s = o.rootBoundary, c = s === void 0 ? Dt : s, f = o.elementContext, u = f === void 0 ? Ee : f, m = o.altBoundary, d = m === void 0 ? !1 : m, p = o.padding, g = p === void 0 ? 0 : p, h = qt(typeof g != "number" ? g : Zt(g, Ie)), y = u === Ee ? kn : Ee, R = t.rects.popper, Y = t.elements[d ? y : u], A = Qn(Ye(Y) ? Y : Y.contextElement || ce(t.elements.popper), l, c), x = ye(t.elements.reference), S = Ft({
|
|
1232
|
+
reference: x,
|
|
1233
1233
|
element: R,
|
|
1234
1234
|
strategy: "absolute",
|
|
1235
1235
|
placement: n
|
|
1236
|
-
}), G = _e(Object.assign({}, R, S)), C = u === Ee ? G :
|
|
1236
|
+
}), G = _e(Object.assign({}, R, S)), C = u === Ee ? G : x, P = {
|
|
1237
1237
|
top: A.top - C.top + h.top,
|
|
1238
1238
|
bottom: C.bottom - A.bottom + h.bottom,
|
|
1239
1239
|
left: A.left - C.left + h.left,
|
|
@@ -1285,8 +1285,8 @@ function Xn(t) {
|
|
|
1285
1285
|
popper: Re(c)
|
|
1286
1286
|
};
|
|
1287
1287
|
var A = Nn(Fn([].concat(r, u.options.modifiers)));
|
|
1288
|
-
return u.orderedModifiers = A.filter(function(
|
|
1289
|
-
return
|
|
1288
|
+
return u.orderedModifiers = A.filter(function(x) {
|
|
1289
|
+
return x.enabled;
|
|
1290
1290
|
}), g(), p.update();
|
|
1291
1291
|
},
|
|
1292
1292
|
// Sync update – it will always be executed, even if not necessary. This
|
|
@@ -1304,12 +1304,12 @@ function Xn(t) {
|
|
|
1304
1304
|
}, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(D) {
|
|
1305
1305
|
return u.modifiersData[D.name] = Object.assign({}, D.data);
|
|
1306
1306
|
});
|
|
1307
|
-
for (var
|
|
1307
|
+
for (var x = 0; x < u.orderedModifiers.length; x++) {
|
|
1308
1308
|
if (u.reset === !0) {
|
|
1309
|
-
u.reset = !1,
|
|
1309
|
+
u.reset = !1, x = -1;
|
|
1310
1310
|
continue;
|
|
1311
1311
|
}
|
|
1312
|
-
var S = u.orderedModifiers[
|
|
1312
|
+
var S = u.orderedModifiers[x], G = S.fn, C = S.options, P = C === void 0 ? {} : C, I = S.name;
|
|
1313
1313
|
typeof G == "function" && (u = G({
|
|
1314
1314
|
state: u,
|
|
1315
1315
|
options: P,
|
|
@@ -1338,9 +1338,9 @@ function Xn(t) {
|
|
|
1338
1338
|
});
|
|
1339
1339
|
function g() {
|
|
1340
1340
|
u.orderedModifiers.forEach(function(y) {
|
|
1341
|
-
var R = y.name, Y = y.options, A = Y === void 0 ? {} : Y,
|
|
1342
|
-
if (typeof
|
|
1343
|
-
var S =
|
|
1341
|
+
var R = y.name, Y = y.options, A = Y === void 0 ? {} : Y, x = y.effect;
|
|
1342
|
+
if (typeof x == "function") {
|
|
1343
|
+
var S = x({
|
|
1344
1344
|
state: u,
|
|
1345
1345
|
name: R,
|
|
1346
1346
|
instance: p,
|
|
@@ -1410,7 +1410,7 @@ function $n(t) {
|
|
|
1410
1410
|
};
|
|
1411
1411
|
}
|
|
1412
1412
|
function Yt(t) {
|
|
1413
|
-
var e, o = t.popper, r = t.popperRect, n = t.placement, a = t.variation, l = t.offsets, s = t.position, c = t.gpuAcceleration, f = t.adaptive, u = t.roundOffsets, m = u === !0 ? $n(l) : typeof u == "function" ? u(l) : l, d = m.x, p = d === void 0 ? 0 : d, g = m.y, h = g === void 0 ? 0 : g, y = l.hasOwnProperty("x"), R = l.hasOwnProperty("y"), Y = q, A = V,
|
|
1413
|
+
var e, o = t.popper, r = t.popperRect, n = t.placement, a = t.variation, l = t.offsets, s = t.position, c = t.gpuAcceleration, f = t.adaptive, u = t.roundOffsets, m = u === !0 ? $n(l) : typeof u == "function" ? u(l) : l, d = m.x, p = d === void 0 ? 0 : d, g = m.y, h = g === void 0 ? 0 : g, y = l.hasOwnProperty("x"), R = l.hasOwnProperty("y"), Y = q, A = V, x = window;
|
|
1414
1414
|
if (f) {
|
|
1415
1415
|
var S = Se(o), G = "clientHeight", C = "clientWidth";
|
|
1416
1416
|
S === X(o) && (S = ce(o), re(S).position !== "static" && s === "absolute" && (G = "scrollHeight", C = "scrollWidth")), S = S, (n === V || (n === q || n === Q) && a === Ge) && (A = K, h -= S[G] - r.height, h *= c ? 1 : -1), (n === q || (n === V || n === K) && a === Ge) && (Y = Q, p -= S[C] - r.width, p *= c ? 1 : -1);
|
|
@@ -1420,14 +1420,14 @@ function Yt(t) {
|
|
|
1420
1420
|
}, f && _n);
|
|
1421
1421
|
if (c) {
|
|
1422
1422
|
var I;
|
|
1423
|
-
return Object.assign({}, P, (I = {}, I[A] = R ? "0" : "", I[Y] = y ? "0" : "", I.transform = (
|
|
1423
|
+
return Object.assign({}, P, (I = {}, I[A] = R ? "0" : "", I[Y] = y ? "0" : "", I.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + p + "px, " + h + "px)" : "translate3d(" + p + "px, " + h + "px, 0)", I));
|
|
1424
1424
|
}
|
|
1425
1425
|
return Object.assign({}, P, (e = {}, e[A] = R ? h + "px" : "", e[Y] = y ? p + "px" : "", e.transform = "", e));
|
|
1426
1426
|
}
|
|
1427
1427
|
function ea(t) {
|
|
1428
1428
|
var e = t.state, o = t.options, r = o.gpuAcceleration, n = r === void 0 ? !0 : r, a = o.adaptive, l = a === void 0 ? !0 : a, s = o.roundOffsets, c = s === void 0 ? !0 : s, f = {
|
|
1429
1429
|
placement: B(e.placement),
|
|
1430
|
-
variation:
|
|
1430
|
+
variation: we(e.placement),
|
|
1431
1431
|
popper: e.elements.popper,
|
|
1432
1432
|
popperRect: e.rects.popper,
|
|
1433
1433
|
gpuAcceleration: n
|
|
@@ -1509,7 +1509,7 @@ function la(t) {
|
|
|
1509
1509
|
rootBoundary: f,
|
|
1510
1510
|
padding: m,
|
|
1511
1511
|
altBoundary: u
|
|
1512
|
-
}), R = B(e.placement), Y =
|
|
1512
|
+
}), R = B(e.placement), Y = we(e.placement), A = !Y, x = lt(R), S = ia(x), G = e.modifiersData.popperOffsets, C = e.rects.reference, P = e.rects.popper, I = typeof h == "function" ? h(Object.assign({}, e.rects, {
|
|
1513
1513
|
placement: e.placement
|
|
1514
1514
|
})) : h, D = {
|
|
1515
1515
|
x: 0,
|
|
@@ -1517,16 +1517,16 @@ function la(t) {
|
|
|
1517
1517
|
};
|
|
1518
1518
|
if (G) {
|
|
1519
1519
|
if (a || s) {
|
|
1520
|
-
var N =
|
|
1520
|
+
var N = x === "y" ? V : q, J = x === "y" ? K : Q, O = x === "y" ? "height" : "width", _ = G[x], $ = G[x] + y[N], T = G[x] - y[J], ee = p ? -P[O] / 2 : 0, H = Y === ge ? C[O] : P[O], j = Y === ge ? -P[O] : -C[O], L = e.elements.arrow, te = p && L ? st(L) : {
|
|
1521
1521
|
width: 0,
|
|
1522
1522
|
height: 0
|
|
1523
|
-
}, he = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Vt(), Pe = he[N], de = he[J], U = je(0, C[O], te[O]), ze = A ? C[O] / 2 - ee - U - Pe - I : H - U - Pe - I, Ve = A ? -C[O] / 2 + ee + U + de + I : j + U + de + I, ve = e.elements.arrow && Se(e.elements.arrow), qe = ve ?
|
|
1523
|
+
}, he = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Vt(), Pe = he[N], de = he[J], U = je(0, C[O], te[O]), ze = A ? C[O] / 2 - ee - U - Pe - I : H - U - Pe - I, Ve = A ? -C[O] / 2 + ee + U + de + I : j + U + de + I, ve = e.elements.arrow && Se(e.elements.arrow), qe = ve ? x === "y" ? ve.clientTop || 0 : ve.clientLeft || 0 : 0, ut = e.modifiersData.offset ? e.modifiersData.offset[e.placement][x] : 0, pt = G[x] + ze - ut - qe, ft = G[x] + Ve - ut;
|
|
1524
1524
|
if (a) {
|
|
1525
1525
|
var ht = je(p ? ke($, pt) : $, _, p ? se(T, ft) : T);
|
|
1526
|
-
G[
|
|
1526
|
+
G[x] = ht, D[x] = ht - _;
|
|
1527
1527
|
}
|
|
1528
1528
|
if (s) {
|
|
1529
|
-
var Xt =
|
|
1529
|
+
var Xt = x === "x" ? V : q, Ut = x === "x" ? K : Q, Me = G[S], vt = Me + y[Xt], mt = Me - y[Ut], bt = je(p ? ke(vt, pt) : vt, Me, p ? se(mt, ft) : mt);
|
|
1530
1530
|
G[S] = bt, D[S] = bt - Me;
|
|
1531
1531
|
}
|
|
1532
1532
|
}
|
|
@@ -1561,8 +1561,8 @@ function Gt(t) {
|
|
|
1561
1561
|
}
|
|
1562
1562
|
function pa(t, e) {
|
|
1563
1563
|
e === void 0 && (e = {});
|
|
1564
|
-
var o = e, r = o.placement, n = o.boundary, a = o.rootBoundary, l = o.padding, s = o.flipVariations, c = o.allowedAutoPlacements, f = c === void 0 ? Nt : c, u =
|
|
1565
|
-
return
|
|
1564
|
+
var o = e, r = o.placement, n = o.boundary, a = o.rootBoundary, l = o.padding, s = o.flipVariations, c = o.allowedAutoPlacements, f = c === void 0 ? Nt : c, u = we(r), m = u ? s ? xt : xt.filter(function(g) {
|
|
1565
|
+
return we(g) === u;
|
|
1566
1566
|
}) : Ie, d = m.filter(function(g) {
|
|
1567
1567
|
return f.indexOf(g) >= 0;
|
|
1568
1568
|
});
|
|
@@ -1588,7 +1588,7 @@ function fa(t) {
|
|
|
1588
1588
|
function ha(t) {
|
|
1589
1589
|
var e = t.state, o = t.options, r = t.name;
|
|
1590
1590
|
if (!e.modifiersData[r]._skip) {
|
|
1591
|
-
for (var n = o.mainAxis, a = n === void 0 ? !0 : n, l = o.altAxis, s = l === void 0 ? !0 : l, c = o.fallbackPlacements, f = o.padding, u = o.boundary, m = o.rootBoundary, d = o.altBoundary, p = o.flipVariations, g = p === void 0 ? !0 : p, h = o.allowedAutoPlacements, y = e.options.placement, R = B(y), Y = R === y, A = c || (Y || !g ? [De(y)] : fa(y)),
|
|
1591
|
+
for (var n = o.mainAxis, a = n === void 0 ? !0 : n, l = o.altAxis, s = l === void 0 ? !0 : l, c = o.fallbackPlacements, f = o.padding, u = o.boundary, m = o.rootBoundary, d = o.altBoundary, p = o.flipVariations, g = p === void 0 ? !0 : p, h = o.allowedAutoPlacements, y = e.options.placement, R = B(y), Y = R === y, A = c || (Y || !g ? [De(y)] : fa(y)), x = [y].concat(A).reduce(function(de, U) {
|
|
1592
1592
|
return de.concat(B(U) === it ? pa(e, {
|
|
1593
1593
|
placement: U,
|
|
1594
1594
|
boundary: u,
|
|
@@ -1597,8 +1597,8 @@ function ha(t) {
|
|
|
1597
1597
|
flipVariations: g,
|
|
1598
1598
|
allowedAutoPlacements: h
|
|
1599
1599
|
}) : U);
|
|
1600
|
-
}, []), S = e.rects.reference, G = e.rects.popper, C = /* @__PURE__ */ new Map(), P = !0, I =
|
|
1601
|
-
var N =
|
|
1600
|
+
}, []), S = e.rects.reference, G = e.rects.popper, C = /* @__PURE__ */ new Map(), P = !0, I = x[0], D = 0; D < x.length; D++) {
|
|
1601
|
+
var N = x[D], J = B(N), O = we(N) === ge, _ = [V, K].indexOf(J) >= 0, $ = _ ? "width" : "height", T = ct(e, {
|
|
1602
1602
|
placement: N,
|
|
1603
1603
|
boundary: u,
|
|
1604
1604
|
rootBoundary: m,
|
|
@@ -1617,7 +1617,7 @@ function ha(t) {
|
|
|
1617
1617
|
}
|
|
1618
1618
|
if (P)
|
|
1619
1619
|
for (var L = g ? 3 : 1, te = function(U) {
|
|
1620
|
-
var ze =
|
|
1620
|
+
var ze = x.find(function(Ve) {
|
|
1621
1621
|
var ve = C.get(Ve);
|
|
1622
1622
|
if (ve)
|
|
1623
1623
|
return ve.slice(0, U).every(function(qe) {
|
|
@@ -1673,14 +1673,14 @@ var ya = {
|
|
|
1673
1673
|
placement: o.placement
|
|
1674
1674
|
})) : e, qt(typeof e != "number" ? e : Zt(e, Ie));
|
|
1675
1675
|
};
|
|
1676
|
-
function
|
|
1676
|
+
function wa(t) {
|
|
1677
1677
|
var e, o = t.state, r = t.name, n = t.options, a = o.elements.arrow, l = o.modifiersData.popperOffsets, s = B(o.placement), c = lt(s), f = [q, Q].indexOf(s) >= 0, u = f ? "height" : "width";
|
|
1678
1678
|
if (!(!a || !l)) {
|
|
1679
|
-
var m = ga(n.padding, o), d = st(a), p = c === "y" ? V : q, g = c === "y" ? K : Q, h = o.rects.reference[u] + o.rects.reference[c] - l[c] - o.rects.popper[u], y = l[c] - o.rects.reference[c], R = Se(a), Y = R ? c === "y" ? R.clientHeight || 0 : R.clientWidth || 0 : 0, A = h / 2 - y / 2,
|
|
1679
|
+
var m = ga(n.padding, o), d = st(a), p = c === "y" ? V : q, g = c === "y" ? K : Q, h = o.rects.reference[u] + o.rects.reference[c] - l[c] - o.rects.popper[u], y = l[c] - o.rects.reference[c], R = Se(a), Y = R ? c === "y" ? R.clientHeight || 0 : R.clientWidth || 0 : 0, A = h / 2 - y / 2, x = m[p], S = Y - d[u] - m[g], G = Y / 2 - d[u] / 2 + A, C = je(x, G, S), P = c;
|
|
1680
1680
|
o.modifiersData[r] = (e = {}, e[P] = C, e.centerOffset = C - G, e);
|
|
1681
1681
|
}
|
|
1682
1682
|
}
|
|
1683
|
-
function
|
|
1683
|
+
function xa(t) {
|
|
1684
1684
|
var e = t.state, o = t.options, r = o.element, n = r === void 0 ? "[data-popper-arrow]" : r;
|
|
1685
1685
|
n != null && (typeof n == "string" && (n = e.elements.popper.querySelector(n), !n) || Tt(e.elements.popper, n) && (e.elements.arrow = n));
|
|
1686
1686
|
}
|
|
@@ -1688,8 +1688,8 @@ var Aa = {
|
|
|
1688
1688
|
name: "arrow",
|
|
1689
1689
|
enabled: !0,
|
|
1690
1690
|
phase: "main",
|
|
1691
|
-
fn:
|
|
1692
|
-
effect:
|
|
1691
|
+
fn: wa,
|
|
1692
|
+
effect: xa,
|
|
1693
1693
|
requires: ["popperOffsets"],
|
|
1694
1694
|
requiresIfExists: ["preventOverflow"]
|
|
1695
1695
|
};
|
|
@@ -1969,7 +1969,7 @@ var Qt = {
|
|
|
1969
1969
|
placement: Y,
|
|
1970
1970
|
show: A
|
|
1971
1971
|
} = St(o), {
|
|
1972
|
-
isOpen:
|
|
1972
|
+
isOpen: x,
|
|
1973
1973
|
open: S,
|
|
1974
1974
|
close: G
|
|
1975
1975
|
} = Ea({
|
|
@@ -1983,16 +1983,16 @@ var Qt = {
|
|
|
1983
1983
|
triggerNode: l
|
|
1984
1984
|
}), {
|
|
1985
1985
|
hasContent: C
|
|
1986
|
-
} = gn(r, a, u), P = Ae(() => A.value !== null), I = Ae(() => d.value || !C.value), D = Ae(() =>
|
|
1986
|
+
} = gn(r, a, u), P = Ae(() => A.value !== null), I = Ae(() => d.value || !C.value), D = Ae(() => x.value && !I.value), N = Ae(() => !m.value && !P.value), J = Ae(() => p.value ? `border: ${h.value}px solid transparent; margin: -${h.value}px;` : null), O = Xe.debounce(S, R.value), _ = Xe.debounce(G, f.value), $ = async () => {
|
|
1987
1987
|
I.value || P.value || (_.clear(), O());
|
|
1988
1988
|
}, T = async () => {
|
|
1989
1989
|
P.value || (O.clear(), _());
|
|
1990
1990
|
}, ee = () => {
|
|
1991
|
-
|
|
1991
|
+
x.value ? T() : $();
|
|
1992
1992
|
};
|
|
1993
1993
|
return be([C, d], ([H, j]) => {
|
|
1994
|
-
|
|
1995
|
-
}), be(
|
|
1994
|
+
x.value && (!H || j) && G();
|
|
1995
|
+
}), be(x, (H) => {
|
|
1996
1996
|
H ? s.value = !0 : Xe.debounce(() => {
|
|
1997
1997
|
s.value = !1;
|
|
1998
1998
|
}, 200);
|
|
@@ -2002,7 +2002,7 @@ var Qt = {
|
|
|
2002
2002
|
N.value && yn(n, T);
|
|
2003
2003
|
}), (H, j) => (v(), b("div", {
|
|
2004
2004
|
class: "inline-block",
|
|
2005
|
-
style: to(
|
|
2005
|
+
style: to(w(J)),
|
|
2006
2006
|
onMouseleave: j[2] || (j[2] = (L) => t.hover && T()),
|
|
2007
2007
|
ref: (L, te) => {
|
|
2008
2008
|
te.popperContainerNode = L, n.value = L;
|
|
@@ -2019,17 +2019,17 @@ var Qt = {
|
|
|
2019
2019
|
name: "fade"
|
|
2020
2020
|
}, {
|
|
2021
2021
|
default: ie(() => [ue(i("div", {
|
|
2022
|
-
onClick: j[1] || (j[1] = (L) => !
|
|
2022
|
+
onClick: j[1] || (j[1] = (L) => !w(p) && T()),
|
|
2023
2023
|
class: "popper",
|
|
2024
2024
|
ref: (L, te) => {
|
|
2025
2025
|
te.popperNode = L, a.value = L;
|
|
2026
2026
|
}
|
|
2027
2027
|
}, [We(H.$slots, "content", {
|
|
2028
|
-
close:
|
|
2028
|
+
close: w(G),
|
|
2029
2029
|
isOpen: s.value
|
|
2030
|
-
}, () => [pe(z(
|
|
2030
|
+
}, () => [pe(z(w(u)), 1)]), t.arrow ? (v(), It(ka, {
|
|
2031
2031
|
key: 0
|
|
2032
|
-
})) : M("", !0)], 512), [[eo,
|
|
2032
|
+
})) : M("", !0)], 512), [[eo, w(D)]])]),
|
|
2033
2033
|
_: 3
|
|
2034
2034
|
})], 36));
|
|
2035
2035
|
}
|
|
@@ -2088,7 +2088,7 @@ const Pa = {
|
|
|
2088
2088
|
], Da = /* @__PURE__ */ ne({
|
|
2089
2089
|
__name: "SkillOptions",
|
|
2090
2090
|
setup(t) {
|
|
2091
|
-
const e = le(), o =
|
|
2091
|
+
const e = le(), o = xe(), r = k(!0), n = k(!1), a = async (l) => {
|
|
2092
2092
|
var s, c;
|
|
2093
2093
|
try {
|
|
2094
2094
|
r.value = !1;
|
|
@@ -2105,18 +2105,18 @@ const Pa = {
|
|
|
2105
2105
|
}
|
|
2106
2106
|
};
|
|
2107
2107
|
return (l, s) => r.value ? (v(), b("div", Pa, [
|
|
2108
|
-
(v(!0), b(oe, null, fe(
|
|
2108
|
+
(v(!0), b(oe, null, fe(w(e).user_skills, (c) => (v(), b("div", {
|
|
2109
2109
|
class: "md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2",
|
|
2110
2110
|
onClick: (f) => a(c),
|
|
2111
2111
|
key: c.skill_id
|
|
2112
2112
|
}, z(c.skill_name), 9, za))), 128)),
|
|
2113
|
-
E(
|
|
2113
|
+
E(w(Ia), {
|
|
2114
2114
|
show: n.value,
|
|
2115
2115
|
placement: "top"
|
|
2116
2116
|
}, {
|
|
2117
2117
|
content: ie(() => [
|
|
2118
2118
|
i("div", Ma, [
|
|
2119
|
-
(v(!0), b(oe, null, fe(
|
|
2119
|
+
(v(!0), b(oe, null, fe(w(e).other_skills, (c) => (v(), b("div", {
|
|
2120
2120
|
onClick: (f) => a(c),
|
|
2121
2121
|
key: c.skill_id,
|
|
2122
2122
|
class: "cursor-pointer hover:text-genpact-blue-box hover:font-bold text-gray-700 block px-4 py-2 text-sm"
|
|
@@ -2131,7 +2131,7 @@ const Pa = {
|
|
|
2131
2131
|
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"
|
|
2132
2132
|
}, [
|
|
2133
2133
|
pe(" More Skills "),
|
|
2134
|
-
E(
|
|
2134
|
+
E(w(ho), { class: "w-3 h-3" })
|
|
2135
2135
|
], 32)
|
|
2136
2136
|
]),
|
|
2137
2137
|
_: 1
|
|
@@ -2150,7 +2150,7 @@ const Pa = {
|
|
|
2150
2150
|
class: "smooth-scroll overflow-auto md:p-8 p-3 pb-[80px]"
|
|
2151
2151
|
}, [
|
|
2152
2152
|
E(pn),
|
|
2153
|
-
(v(!0), b(oe, null, fe(
|
|
2153
|
+
(v(!0), b(oe, null, fe(w(e).conversations, (a, l) => (v(), b("div", { key: l }, [
|
|
2154
2154
|
a.question ? (v(), b("div", Na, [
|
|
2155
2155
|
E(mn, {
|
|
2156
2156
|
question: a.question,
|
|
@@ -2167,7 +2167,7 @@ const Pa = {
|
|
|
2167
2167
|
}, null, 8, ["question", "show-sources", "questionId", "answer", "show-feedback"])
|
|
2168
2168
|
])) : M("", !0)
|
|
2169
2169
|
]))), 128)),
|
|
2170
|
-
|
|
2170
|
+
w(e).skill_id ? M("", !0) : (v(), b("div", Fa, [
|
|
2171
2171
|
E(Da)
|
|
2172
2172
|
]))
|
|
2173
2173
|
], 512));
|
|
@@ -2195,7 +2195,7 @@ const ae = (t) => (io("data-v-5891e458"), t = t(), lo(), t), qa = { class: "max-
|
|
|
2195
2195
|
}, ss = { class: "z-20" }, is = { class: "flex h-full overflow-hidden items-stretch" }, ls = { class: "hidden md:block" }, cs = { class: "bg-gray-200 w-screen" }, ds = { class: "relative h-full w-full flex flex-col overflow-hidden items-stretch" }, us = /* @__PURE__ */ ae(() => /* @__PURE__ */ i("div", { class: "md:mt-[130px] mt-[120px]" }, null, -1)), ps = { class: "relative" }, fs = /* @__PURE__ */ ne({
|
|
2196
2196
|
__name: "HomeView",
|
|
2197
2197
|
setup(t) {
|
|
2198
|
-
const e = k(!0), o = k(!1), r = le(), n =
|
|
2198
|
+
const e = k(!0), o = k(!1), r = le(), n = xe(), a = kt(), l = k(!1), s = k(""), c = () => {
|
|
2199
2199
|
o.value = !1, a.close();
|
|
2200
2200
|
}, f = async () => {
|
|
2201
2201
|
var u, m, d, p, g;
|
|
@@ -2221,7 +2221,7 @@ const ae = (t) => (io("data-v-5891e458"), t = t(), lo(), t), qa = { class: "max-
|
|
|
2221
2221
|
E(Ne, { "is-visible": l.value }, {
|
|
2222
2222
|
default: ie(() => [
|
|
2223
2223
|
i("div", qa, [
|
|
2224
|
-
E(
|
|
2224
|
+
E(w(He), { class: "w-12 h-12 fill-genpact-blue-box" }),
|
|
2225
2225
|
E(Ot, { color: "blue" }),
|
|
2226
2226
|
i("h3", Za, z(s.value), 1)
|
|
2227
2227
|
])
|
|
@@ -2229,9 +2229,9 @@ const ae = (t) => (io("data-v-5891e458"), t = t(), lo(), t), qa = { class: "max-
|
|
|
2229
2229
|
_: 1
|
|
2230
2230
|
}, 8, ["is-visible"]),
|
|
2231
2231
|
E(Ne, {
|
|
2232
|
-
"is-visible":
|
|
2233
|
-
"cross-visible":
|
|
2234
|
-
onCancel: m[1] || (m[1] = (d) =>
|
|
2232
|
+
"is-visible": w(a).isOpen,
|
|
2233
|
+
"cross-visible": w(a).crossVisible,
|
|
2234
|
+
onCancel: m[1] || (m[1] = (d) => w(a).close())
|
|
2235
2235
|
}, {
|
|
2236
2236
|
default: ie(() => [
|
|
2237
2237
|
i("div", Ka, [
|
|
@@ -2241,13 +2241,13 @@ const ae = (t) => (io("data-v-5891e458"), t = t(), lo(), t), qa = { class: "max-
|
|
|
2241
2241
|
Ua,
|
|
2242
2242
|
Ba,
|
|
2243
2243
|
Wa,
|
|
2244
|
-
i("li", null, " You can ask a maximum of " + z(
|
|
2244
|
+
i("li", null, " You can ask a maximum of " + z(w(r).questionLimit) + " questions, with each question limited to 300 characters or less. ", 1),
|
|
2245
2245
|
Ja,
|
|
2246
2246
|
_a,
|
|
2247
2247
|
$a
|
|
2248
2248
|
])
|
|
2249
2249
|
]),
|
|
2250
|
-
|
|
2250
|
+
w(a).crossVisible ? M("", !0) : (v(), b("div", es, [
|
|
2251
2251
|
i("div", ts, [
|
|
2252
2252
|
i("input", {
|
|
2253
2253
|
type: "checkbox",
|