(window.webpackJsonp = window.webpackJsonp || []).push([[2], Array(1427).concat([function(e, t, n) {
"use strict";
n.r(t);
var s = n(2003)
, i = n(1448);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(2002);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "5e746fd0", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2070)
, i = n(1528);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1778);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "c31836e4", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2073)
, i = n(1540);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1785);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "5704d76a", null);
t.default = o.exports
}
, , function(e, t, n) {
"use strict";
n(12),
n(14),
n(10),
n(2),
n(18),
n(6),
n(22);
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(40),
n(36),
n(67);
var i = s(n(15))
, a = s(n(25))
, r = s(n(16))
, o = s(n(59))
, u = s(n(60))
, c = s(n(84))
, l = s(n(21))
, d = s(n(704))
, f = s(n(500))
, p = n(127)
, h = n(228)
, v = s(n(1523))
, m = n(711);
function g(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var s = Object.getOwnPropertySymbols(e);
t && (s = s.filter((function(t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable
}
))),
n.push.apply(n, s)
}
return n
}
function b(e) {
for (var t = 1; t < arguments.length; t++) {
var n = null != arguments[t] ? arguments[t] : {};
t % 2 ? g(Object(n), !0).forEach((function(t) {
(0,
a.default)(e, t, n[t])
}
)) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g(Object(n)).forEach((function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
}
))
}
return e
}
var y = new l.default
, x = new c.default
, _ = function() {
function e() {
if ((0,
o.default)(this, e),
x())
return x();
x(this),
this.submitting = !1
}
var t, n, s, c, l, g;
return (0,
u.default)(e, [{
key: "acceptCheck",
value: (g = (0,
r.default)(i.default.mark((function e() {
var t, n, s, a, o, u, c, l, f, h, v, g, x, _ = arguments;
return i.default.wrap((function(e) {
for (; ; )
switch (e.prev = e.next) {
case 0:
if (t = _.length > 0 && void 0 !== _[0] ? _[0] : {},
n = _.length > 1 && void 0 !== _[1] ? _[1] : {},
a = (s = t || {}).mid,
o = s.type,
u = s.securityId,
c = s.from,
!this.submitting) {
e.next = 5;
break
}
return e.abrupt("return");
case 5:
return e.next = 7,
(0,
p.testAccept)({
mid: a,
type: o,
securityId: u
});
case 7:
if (l = e.sent,
f = l.code,
h = l.zpData,
v = void 0 === h ? {} : h,
g = l.message,
this.submitting = !1,
0 === f) {
e.next = 16;
break
}
return y.$toast(g, "error"),
e.abrupt("return");
case 16:
if (1 !== v.status || !v.secureExchange) {
e.next = 19;
break
}
return d.default.openOverseasIPTips({
content: v.secureExchange,
onConfirm: function() {
var e = (0,
r.default)(i.default.mark((function e() {
var s;
return i.default.wrap((function(e) {
for (; ; )
switch (e.prev = e.next) {
case 0:
if (s = {},
4 != o) {
e.next = 5;
break
}
return e.next = 4,
(0,
m.checkResume)(b({}, t), b(b(b({}, n), v), {}, {
from: c
}));
case 4:
s = e.sent;
case 5:
n.onConfirm && n.onConfirm(b(b({}, v), {}, {
resumeInfo: s
}));
case 6:
case "end":
return e.stop()
}
}
), e)
}
)));
return function() {
return e.apply(this, arguments)
}
}(),
onClose: function() {
n.onCancel && n.onCancel()
}
}),
e.abrupt("return");
case 19:
if (x = {},
4 != o) {
e.next = 24;
break
}
return e.next = 23,
(0,
m.checkResume)(b({}, t), b(b(b({}, n), v), {}, {
from: c
}));
case 23:
x = e.sent;
case 24:
n.onConfirm && n.onConfirm(b(b({}, v), {}, {
resumeInfo: x
}));
case 25:
case "end":
return e.stop()
}
}
), e, this)
}
))),
function() {
return g.apply(this, arguments)
}
)
}, {
key: "accept",
value: (l = (0,
r.default)(i.default.mark((function e() {
var t, n, s, a, r, o, u, c, l, f, h, v, m, g, b, x, _ = arguments;
return i.default.wrap((function(e) {
for (; ; )
switch (e.prev = e.next) {
case 0:
if (t = _.length > 0 && void 0 !== _[0] ? _[0] : {},
s = (n = t || {}).securityId,
a = n.resumeId,
r = n.type,
o = n.mid,
u = n.scene,
!this.submitting) {
e.next = 4;
break
}
return e.abrupt("return");
case 4:
return c = {},
l = {
securityId: s,
type: {
contact: 1,
weixin: 2,
resume: 4
}[r],
mid: o,
scene: u
},
"resume" == r && (l.encryptResumeId = a),
e.next = 10,
(0,
p.acceptExchange)(l);
case 10:
if (f = e.sent,
h = f.code,
v = f.zpData,
m = void 0 === v ? {} : v,
g = f.message,
this.submitting = !1,
0 == h) {
e.next = 19;
break
}
return y.$toast(g, "error"),
e.abrupt("return");
case 19:
if (b = m.status,
x = m.alert,
2 != b) {
e.next = 23;
break
}
return y.$eventBus.$emit("showWx", {
status: 3,
params: t
}),
e.abrupt("return");
case 23:
if (3 != b) {
e.next = 26;
break
}
return d.default.openUploadResumeTip(),
e.abrupt("return");
case 26:
if (1 != b || !x) {
e.next = 29;
break
}
return this.alert(x, "resume" == r ? 3 : 0),
e.abrupt("return");
case 29:
return c = m,
e.abrupt("return", c);
case 31:
case "end":
return e.stop()
}
}
), e, this)
}
))),
function() {
return l.apply(this, arguments)
}
)
}, {
key: "acceptOthers",
value: (c = (0,
r.default)(i.default.mark((function e() {
var t, n, s, a, r, o, u, c, l, f, h, v, m, g = arguments;
return i.default.wrap((function(e) {
for (; ; )
switch (e.prev = e.next) {
case 0:
if (t = g.length > 0 && void 0 !== g[0] ? g[0] : {},
s = (n = t || {}).securityId,
a = n.mid,
r = n.type,
o = {
note: p.acceptInterestSmsNotify,
geekboom: p.acceptItemContact,
interest: p.acceptBombInterest,
geekboomGetWeixin: p.acceptItemWeiXinRequest
},
u = o[r],
!this.submitting) {
e.next = 6;
break
}
return e.abrupt("return");
case 6:
if (!o[r]) {
e.next = 36;
break
}
return c = {
securityId: s,
mid: a
},
e.next = 10,
u(c);
case 10:
if (l = e.sent,
f = l.code,
h = l.message,
v = l.rescode,
m = l.resmsg,
this.submitting = !1,
25 != f) {
e.next = 19;
break
}
return y.$eventBus.$emit("showWx", {
status: 3,
params: t
}),
e.abrupt("return");
case 19:
if (0 === f) {
e.next = 22;
break
}
return y.$toast(h, "error"),
e.abrupt("return");
case 22:
if (2 != v) {
e.next = 25;
break
}
return y.$eventBus.$emit("showWx", {
status: 3,
params: t
}),
e.abrupt("return");
case 25:
if (3 != v) {
e.next = 28;
break
}
return d.default.openUploadResumeTip(),
e.abrupt("return");
case 28:
if (0 != v) {
e.next = 31;
break
}
return y.$toast(m, "error"),
e.abrupt("return");
case 31:
if (5 != v) {
e.next = 35;
break
}
try {
y.sendAction({
action: "system-safely-resume-attachment"
})
} catch (e) {}
return iGeekRoot.bossDialog({
title: "简历问题提示",
content: "检查到你的简历可能包含敏感信息或不相关文字,暂时无法发送。请修改后重新上传,审核通过即可发送。",
type: "warning",
width: 460,
confirmButtonText: "重新上传",
cancelButtonText: "知道了",
onConfirm: function(e) {
try {
y.sendAction({
action: "system-safely-resume-attachmentclick"
})
} catch (e) {}
window.location.href = "/web/geek/resume",
this.hide()
}
}),
e.abrupt("return");
case 35:
return e.abrupt("return", {
rescode: v
});
case 36:
case "end":
return e.stop()
}
}
), e, this)
}
))),
function() {
return c.apply(this, arguments)
}
)
}, {
key: "requestCheck",
value: (s = (0,
r.default)(i.default.mark((function e() {
var t, n, s, a, r, o, u, c, l, d, f, v, g, x, _, w, C = arguments;
return i.default.wrap((function(e) {
for (; ; )
switch (e.prev = e.next) {
case 0:
return t = C.length > 0 && void 0 !== C[0] ? C[0] : {},
n = C.length > 1 && void 0 !== C[1] ? C[1] : {},
s = t.securityId,
a = t.type,
r = t.friendSource,
e.next = 5,
(0,
p.exchangeTest)(t);
case 5:
if (o = e.sent,
u = o.zpData,
c = o.message,
l = o.code,
f = (d = u || {}).alertType,
v = d.alert,
g = d.status,
0 === l) {
e.next = 13;
break
}
return y.$toast(c, "error"),
e.abrupt("return");
case 13:
if (x = b(b({}, u), n),
1 != g || !v) {
e.next = 17;
break
}
return this.alert(v),
e.abrupt("return");
case 17:
if (8 !== f) {
e.next = 19;
break
}
return e.abrupt("return", x);
case 19:
if (2 === f ? (_ = v,
x = Object.assign(x, {
hunterShowAgreement: !0,
url: decodeURIComponent(_.highlightOptions[0].subUrl),
content: (0,
h.formateDialogHightMsg)(b(b({}, _.highlightOptions[0]), {}, {
content: _.content
}))
})) : 3 === f && (x.content = v.content),
w = {},
3 !== a) {
e.next = 25;
break
}
return e.next = 24,
(0,
m.checkResume)({
securityId: s,
friendSource: r
}, b(b({}, x), {}, {
from: "chat-input"
}));
case 24:
w = e.sent;
case 25:
return e.abrupt("return", b(b({}, x), {}, {
resumeInfo: w
}));
case 26:
case "end":
return e.stop()
}
}
), e, this)
}
))),
function() {
return s.apply(this, arguments)
}
)
}, {
key: "request",
value: (n = (0,
r.default)(i.default.mark((function e() {
var t, n, s, a, r, o, u, c, l, f, h, v, m, g, b, x = arguments;
return i.default.wrap((function(e) {
for (; ; )
switch (e.prev = e.next) {
case 0:
if (t = x.length > 0 && void 0 !== x[0] ? x[0] : {},
s = (n = t || {}).resumeId,
a = n.securityId,
r = n.type,
o = n.mid,
u = void 0 === o ? "" : o,
!this.requestLoading) {
e.next = 4;
break
}
return e.abrupt("return");
case 4:
return this.requestLoading = !0,
e.next = 7,
(0,
p.requestExchange)({
securityId: a,
type: r,
encryptResumeId: s,
mid: u
});
case 7:
if (c = e.sent,
l = c.code,
f = c.message,
h = c.zpData,
v = void 0 === h ? {} : h,
this.requestLoading = !1,
0 === l) {
e.next = 16;
break
}
return y.$toast(f, "error"),
e.abrupt("return");
case 16:
if (g = (m = v || {}).status,
b = m.alert,
1 != g || !b) {
e.next = 20;
break
}
return this.alert(b, r),
e.abrupt("return");
case 20:
if (3 != g) {
e.next = 23;
break
}
return d.default.openUploadResumeTip(),
e.abrupt("return");
case 23:
if (2 != g) {
e.next = 26;
break
}
return y.$eventBus.$emit("showWx", {
status: 3,
params: t
}),
e.abrupt("return");
case 26:
return e.abrupt("return", v);
case 27:
case "end":
return e.stop()
}
}
), e, this)
}
))),
function() {
return n.apply(this, arguments)
}
)
}, {
key: "reject",
value: (t = (0,
r.default)(i.default.mark((function e() {
var t, n, s, a, r, o, u, c, l, d, f, h, v, m, g, b = arguments;
return i.default.wrap((function(e) {
for (; ; )
switch (e.prev = e.next) {
case 0:
if (t = b.length > 0 && void 0 !== b[0] ? b[0] : {},
s = (n = t || {}).securityId,
a = n.type,
r = n.mid,
o = n.resumeId,
!this.submitting) {
e.next = 4;
break
}
return e.abrupt("return");
case 4:
return u = null,
c = {
securityId: s,
mid: r
},
["geekboomGetWeixin", "interest", "note", "geekboom"].includes(a) ? (l = {
note: p.rejectInterestSmsNotify,
geekboom: p.rejectItemContact,
interest: p.rejectBombInterest,
geekboomGetWeixin: p.rejectItemWeiXinRequest
},
u = l[a]) : (d = {
contact: 1,
weixin: 2,
resume: 4
},
c.type = d[a],
o && (c.encryptResumeId = o),
u = p.rejectExchange),
e.next = 10,
u(c);
case 10:
if (f = e.sent,
h = f.zpData,
v = void 0 === h ? {} : h,
m = f.code,
g = f.message,
this.submitting = !1,
0 === m) {
e.next = 19;
break
}
return y.$toast(g, "error"),
e.abrupt("return");
case 19:
return e.abrupt("return", v);
case 20:
case "end":
return e.stop()
}
}
), e, this)
}
))),
function() {
return t.apply(this, arguments)
}
)
}, {
key: "alert",
value: function(e, t) {
var n = e.buttons;
if (n && n.length) {
var s = n[n.length - 1]
, i = {
title: e.title || "",
content: e.content,
wrapClass: "jboss-ui-alert",
cancelButtonText: n.length > 1 && e.buttons[0].label,
confirmButtonText: s.label,
width: 460,
onConfirm: function(e) {
if (3 === t) {
try {
y.sendAction({
action: "system-safely-resume-attachmentclick"
})
} catch (e) {}
window.location.href = "/web/geek/resume"
}
this.hide()
}
};
if (3 === t) {
i.type = "warning";
try {
y.sendAction({
action: "system-safely-resume-attachment"
})
} catch (e) {}
}
iGeekRoot.bossDialog(i)
}
}
}, {
key: "updateExchangeInfo",
value: function(e, t) {
var n = t.type
, s = t.value;
1 === n && this.updatePhone(e, s),
2 === n && this.updateWeChat(e, s),
3 === n && this.updateResume(e, s)
}
}, {
key: "updatePhone",
value: function(e, t) {
this.updateContactStore(e, "requestPhone", t)
}
}, {
key: "updateWeChat",
value: function(e, t) {
this.updateContactStore(e, "requestWeiXin", t)
}
}, {
key: "updateResume",
value: function(e, t) {
this.updateContactStore(e, "requestResume", t)
}
}, {
key: "checkStatus",
value: function(e, t) {
var n = v.default.setting("chatExchangeStatus") || {};
n[t] && (new Date).getTime() - n[t] >= 864e5 && (delete n[t],
v.default.setting("chatExchangeStatus", n),
this.updateContactStore(e, t, 0))
}
}, {
key: "updateContactStore",
value: function(e, t, n) {
if (f.default.updateConversation(e, (0,
a.default)({}, t, n)),
n) {
var s = v.default.setting("chatExchangeStatus") || {};
s[t] = (new Date).getTime(),
v.default.setting("chatExchangeStatus", s)
}
}
}]),
e
}();
t.default = new _
}
, , , , , function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(12),
n(19),
n(50);
var s = n(47)
, i = n(228)
, a = {}
, r = new s.BehaviorSubject(a)
, o = function(e, t) {
t ? a[e] = t : a[e] && delete a[e],
r.next(a);
try {
sessionStorage.setItem("boss-chat-draft-".concat(_PAGE.uid), JSON.stringify(a))
} catch (e) {}
}
, u = function(e) {
return a[e]
};
t.default = {
draft$: r,
init: function() {
a = JSON.parse(sessionStorage.getItem("boss-chat-draft-".concat(_PAGE.uid)) || "{}"),
r.next(a)
},
setDraft: o,
getDraft: u,
updateDraft: function(e) {
var t, n = document.querySelector(".chat-input");
if (e && n) {
var s = "";
if (null === (t = n.getElementsByClassName("quote-content")) || void 0 === t ? void 0 : t[0]) {
var a, r = n.cloneNode(!0), c = null === (a = r.getElementsByClassName("quote-content")) || void 0 === a ? void 0 : a[0];
c.parentNode.removeChild(c),
s = (0,
i.convertToMessage)(r.innerHTML).replace(//g, ">").replace(/\u200B/g, "")
} else
s = (0,
i.convertToMessage)(n.innerHTML).replace(//g, ">");
s !== u(e) && o(e, s)
}
},
removeDraft: function(e) {
o(e)
}
}
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(59))
, a = s(n(60))
, r = n(47)
, o = s(n(84))
, u = n(96)
, c = n(392)
, l = new o.default
, d = function() {
function e() {
if ((0,
i.default)(this, e),
l())
return l();
l(this),
this.qrCodeUrl = "",
this.timer = null,
this.filterInfo = {
title: "消息过滤设置",
subTitle: "提升简历曝光?升级VIP尊享简历刷新pro等x大特权",
entrance: 1
},
this.subject = {
guide$: new r.BehaviorSubject(!1),
open$: new r.BehaviorSubject(!1),
qrCode$: new r.BehaviorSubject(this.qrCodeUrl),
filterEntry$: new r.BehaviorSubject(!1),
filterInfo$: new r.BehaviorSubject(this.filterInfo)
},
this.switch()
}
return (0,
a.default)(e, [{
key: "switch",
value: function() {
var e = this;
(0,
u.wechatGuide)().then((function(t) {
var n = !1;
0 == t.code && 1 == t.zpData.needGuide && (n = !0),
e.subject.guide$.next(n)
}
)),
(0,
u.wechatSetting)().then((function(t) {
var n = !1;
0 == t.code && 1 == t.zpData.wxNotifyStatus && (n = !0),
e.updateOpen(n)
}
)),
(0,
c.msgFilter)().then((function(t) {
0 == t.code && (e.subject.filterInfo$.next(t.zpData),
e.updateFilterEntry(t.zpData.entrance))
}
))
}
}, {
key: "getQrcode",
value: function() {
var e = this;
(0,
u.wechatGetQrcode)().then((function(t) {
if (0 == t.code) {
var n = t.zpData
, s = n.wxNotifyStatus
, i = n.qrcode
, a = 1 == s;
e.updateOpen(a);
var r = "/wflow/zpweixin/qrcode/getqrcode?w=180&h=180&content=".concat(i);
e.updateQrcode(r),
a && e.stopScan()
}
}
))
}
}, {
key: "scan",
value: function() {
var e = this;
this.getQrcode(),
this.timer && this.stopScan(),
this.timer = setInterval((function() {
e.getQrcode()
}
), 3e3)
}
}, {
key: "stopScan",
value: function() {
clearInterval(this.timer),
this.timer = null
}
}, {
key: "updateFilterEntry",
value: function(e) {
this.subject.filterEntry$.next(!!e)
}
}, {
key: "closeFilter",
value: function() {
this.subject.filterEntry$.next(!1),
(0,
c.closeMsgFilterEntry)()
}
}, {
key: "updateOpen",
value: function(e) {
this.subject.open$.next(e)
}
}, {
key: "updateQrcode",
value: function(e) {
this.qrCodeUrl != e && (this.qrCodeUrl = e,
this.subject.qrCode$.next(e))
}
}]),
e
}();
t.default = new d
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2068)
, i = n(1465);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, , , , , , , , , , function(e, t, n) {
"use strict";
n.r(t);
var s = n(1449)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
n(12),
n(14),
n(10),
n(2),
n(18),
n(6),
n(22);
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(15))
, a = s(n(16))
, r = s(n(25))
, o = s(n(1724))
, u = s(n(1764))
, c = s(n(1995))
, l = n(2001)
, d = s(n(714))
, f = s(n(226))
, p = s(n(705))
, h = s(n(506))
, v = s(n(709))
, m = s(n(154))
, g = s(n(229));
function b(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var s = Object.getOwnPropertySymbols(e);
t && (s = s.filter((function(t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable
}
))),
n.push.apply(n, s)
}
return n
}
function y(e) {
for (var t = 1; t < arguments.length; t++) {
var n = null != arguments[t] ? arguments[t] : {};
t % 2 ? b(Object(n), !0).forEach((function(t) {
(0,
r.default)(e, t, n[t])
}
)) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : b(Object(n)).forEach((function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
}
))
}
return e
}
t.default = {
name: "Chat",
components: {
BossList: o.default,
ChatOther: c.default,
ChatConversation: u.default
},
props: ["headerRander"],
watch: {
headerRander: {
handler: function(e) {
if (e) {
var t = $("#header .user-nav a[ka=header-message]");
t.length && t.parent().addClass("cur")
}
},
immediate: !0
},
$route: {
handler: function(e) {
var t = y(y({}, e.params), e.query).gid;
t && d.default.openGroupChat(t)
},
immediate: !0
}
},
mounted: function() {
this.homepageInit(),
window.__conversion = function(e) {
try {
_T.sendEvent(e)
} catch (e) {}
}
,
p.default.updateSticker(),
window.addEventListener("message", this.postMessageHandler, !1),
this.count$ > 0 && this.isChatNumShow("show")
},
computed: {
selectedFriend: function() {
return this.selectedFriend$ || {}
}
},
methods: {
homepageInit: function() {
var e = this;
return (0,
a.default)(i.default.mark((function t() {
var n, s, a;
return i.default.wrap((function(t) {
for (; ; )
switch (t.prev = t.next) {
case 0:
return t.next = 2,
(0,
l._newHomepageInit)({
version: 2
});
case 2:
n = t.sent,
s = n.code,
a = n.zpData,
0 === s && 0 !== (null == a ? void 0 : a.step) && e.jumpToGuide();
case 6:
case "end":
return t.stop()
}
}
), t)
}
)))()
},
jumpToGuide: function() {
this.$toast({
type: "error",
content: "资料不完善,即将跳转资料完善页面"
});
var e = setTimeout((function() {
window.location.href = "/web/geek/guide",
clearTimeout(e)
}
), 1e3)
},
postMessageHandler: function(e) {
var t, n, s = e.data;
"mall" == s.type && ("closeH5Iframe" == s.operation && (null === (t = iGeekRoot) || void 0 === t || t.frameSlider("", "remove")));
"closeWebView" === s.type && (null === (n = iGeekRoot) || void 0 === n || n.frameSlider("", "remove"))
},
isChatNumShow: function(e) {
var t = document.querySelector("#header .user-nav .nav-chat-num");
t && (t.style.display = "show" === e ? "inline-block" : "none")
}
},
beforeDestroy: function() {
try {
var e = $("#header .user-nav a[ka=header-message]");
e.length && e.parent().removeClass("cur")
} catch (e) {}
window.removeEventListener("message", this.postMessageHandler, !1),
h.default.clear(),
v.default.clear(),
g.default.getUnreadSwitch() || this.isChatNumShow("hide")
},
subscriptions: function() {
return {
selectedFriend$: f.default.subject.selectedFriend$,
count$: m.default.subject.count$
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1451)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(12),
n(36);
var i = s(n(229))
, a = s(n(226))
, r = s(n(1436))
, o = s(n(1725))
, u = s(n(1757))
, c = s(n(1761));
t.default = {
name: "boss-list",
components: {
NormalList: o.default,
DrawerList: u.default,
GroupList: c.default
},
data: function() {
return {
currentId: "",
listener: null
}
},
computed: {
communicating: function() {
return this.selectedFriend$ || {}
}
},
mounted: function() {
var e = this;
this.listener = a.default.subject.selectedFriend$.subscribe((function(t) {
(null == t ? void 0 : t.friendId) > 0 && (null == t || !t.isFiltered) ? e.changeListType() : (null != t && t.groupId || null != t && t.gid) && (e.currentId = 17 === t.source ? -2 : 0,
e.changeListType("GroupList"))
}
)),
iGeekRoot.broadcastChannel.addMessageListener(this.handleBroadcastBossDelete)
},
methods: {
handleBroadcastBossDelete: function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
, t = e.type
, n = e.content
, s = JSON.parse(n)
, a = s.uniqueId;
if ("boss-delete" === t && (i.default.deleteFriend({
uniqueId: a
}),
r.default.removeDraft(a)),
"send-read-chat" === t) {
var o = {
uniqueId: a,
unreadCount: 0,
unreadMidArr: []
};
i.default.updateListInfo(o)
}
},
handleChangeType: function(e) {
i.default.changeListType(e),
i.default.updateSelectedFriend()
},
changeListType: function(e) {
i.default.changeListType(e)
},
handleClick: function(e) {
if ([0, -2].includes(e.friendId))
return i.default.closeChat(),
this.changeListType("GroupList"),
void (this.currentId = e.friendId);
if (-1 === e.friendId)
return i.default.getFriendsByLabel({
labelId: -1
}),
void this.handleChangeType("DrawerList");
try {
iGeekRoot.sendAction({
action: "geek_checked",
params: {
bossid: e.friendId
}
})
} catch (e) {}
0 != e.unreadCount && (e.unreadCount = 0),
i.default.updateSelectedFriend(e),
__conversion("chatview_" + e.friendId),
this.$eventBus.$emit("hideGuideAppDownLoad", e)
}
},
beforeDestroy: function() {
this.listener && this.listener.unsubscribe(),
iGeekRoot.broadcastChannel.removeMessageListener(this.handleBroadcastBossDelete)
},
subscriptions: function() {
return {
selectedFriend$: a.default.subject.selectedFriend$,
listType$: a.default.subject.listType$
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1453)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
n(14),
n(10),
n(18),
n(22);
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(17),
n(76),
n(2),
n(6),
n(12);
var i = s(n(25))
, a = n(391)
, r = s(n(500))
, o = s(n(229))
, u = s(n(154))
, c = s(n(226))
, l = s(n(1437))
, d = s(n(704))
, f = s(n(1726))
, p = s(n(1694))
, h = s(n(1731))
, v = s(n(1458))
, m = s(n(1745))
, g = s(n(1746))
, b = s(n(1748))
, y = s(n(1698))
, x = s(n(1754))
, _ = s(n(502));
function w(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var s = Object.getOwnPropertySymbols(e);
t && (s = s.filter((function(t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable
}
))),
n.push.apply(n, s)
}
return n
}
function C(e) {
for (var t = 1; t < arguments.length; t++) {
var n = null != arguments[t] ? arguments[t] : {};
t % 2 ? w(Object(n), !0).forEach((function(t) {
(0,
i.default)(e, t, n[t])
}
)) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w(Object(n)).forEach((function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
}
))
}
return e
}
t.default = {
name: "boss-list",
components: {
Spinner: h.default,
BusinessFilter: f.default,
BossItem: v.default,
WXGuide: m.default,
BossLabelNew: g.default,
BossSearch: b.default,
SkeletonLoading: y.default,
VirtualList: p.default,
NoDataNew: x.default
},
data: function() {
return {
itemComponent: v.default,
showFilter: !1,
listeners: {},
keeps: Math.max(2 * (window.innerHeight / 78 >> 0), 40)
}
},
computed: C(C({}, (0,
a.mapState)(["abData"])), {}, {
fullList: function() {
return this.topList.concat(this.list) || []
},
topList: function() {
return this.topList$ || []
},
list: function() {
return this.list$ || []
},
itemProps: function() {
return {
selected: this.selectedFriend$.uniqueId
}
},
bottomText: function() {
return this.hasMore$ ? "滚动加载更多" : "没有更多了"
},
isLoading: function() {
return e.isArray(this.loading$)
},
communicating: function() {
return this.selectedFriend$ || {}
}
}),
mounted: function() {
var t = this;
this.updateShowFilter = e.once(this.updateShowFilter),
this.listeners.firstLoadingEnd = c.default.subject.firstLoadingEnd$.subscribe((function(e) {
void 0 !== e && t.listenerRouterChange()
}
)),
this.listeners.openChat = c.default.subject.openChat$.subscribe((function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
e.uniqueId && t.scrollToUser(e)
}
)),
this.listeners.count = u.default.subject.count$.subscribe((function(e) {
e >= 0 && t.updateShowFilter(e)
}
))
},
methods: {
checkOverFlow: function() {
var e = this.$refs.vsl;
return e && e.getScrollSize() > e.getClientSize()
},
loadMore: function() {
2 !== this.loading$ && o.default.loadNextPage()
},
handleOpenChat: function(e) {
o.default.openChat(e)
},
listenerRouterChange: function() {
var e = this
, t = this.$route
, n = t.query
, s = void 0 === n ? {} : n
, i = t.path
, a = s.id
, u = s.encrptId
, c = s.source
, l = s.jobId
, f = s.securityId
, p = s.lid;
if (u && (a = parseInt(u, 16)),
a) {
var h = c || 0;
o.default.openChat({
encryptBossId: a,
friendSource: h
}).then((function(t) {
var n;
if (t && t.uniqueId && l) {
var s = t.encryptJobId
, a = t.friendId;
l && s !== l && d.default.openChangeJobTip({
securityId: f,
lid: p,
jobId: l,
bossId: a
}).then((function() {
r.default.getBossInfo(t)
}
));
try {
iGeekRoot.sendAction({
action: "geek_query_getUnknownUser",
params: {
bossid: a
}
})
} catch (e) {}
}
var o = 0 === (null === (n = e.abData) || void 0 === n || null === (n = n.exp_autogen_subject_12590_number_1) || void 0 === n ? void 0 : n.result) ? "".concat(i, "?key=BZLOLD") : i;
history.replaceState("", "", o)
}
))
} else
this.conversation$.uid && this.scrollToUser(this.conversation$)
},
scrollToUser: function(e) {
var t = this
, n = this.$refs.vsl;
if (n)
if (e.isTop)
this.$nextTick((function() {
var s = t.topList$.findIndex((function(t) {
return t.uniqueId === e.uniqueId
}
));
n.$el.scrollTop = 78 * s
}
));
else {
var s = this.list$.findIndex((function(t) {
return t.uniqueId === e.uniqueId
}
));
s > -1 && n.scrollToIndex(s)
}
},
handleClickItem: function(e) {
this.$emit("on-click", e)
},
updateShowFilter: function(e) {
e > 0 ? this.showFilter = !1 : (this.showFilter = !0,
this.filterEntry$ && this.sendAction({
action: "biz-item-geekvip-ChatCardExposure"
}))
}
},
beforeDestroy: function() {
var e = this;
Object.keys(this.listeners).forEach((function(t) {
e.listeners[t].unsubscribe()
}
))
},
subscriptions: function() {
return {
filterEntry$: l.default.subject.filterEntry$,
topList$: c.default.subject.topList$,
list$: c.default.subject.list$,
loading$: c.default.subject.loading$,
hasMore$: c.default.subject.hasMore$,
selectedFriend$: c.default.subject.selectedFriend$,
curLabel$: u.default.subject.curLabel$,
count$: u.default.subject.count$,
groupList$: _.default.subject.projectList$,
conversation$: r.default.conversation$
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1455)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(500))
, a = s(n(1437));
t.default = {
name: "business-filter",
props: {
showFilter: Boolean
},
methods: {
handleOpenVip: function() {
i.default.getVipStatus({
source: 43,
from: 43
})
},
handleCloseFilter: function() {
a.default.closeFilter()
}
},
subscriptions: function() {
return {
filterEntry$: a.default.subject.filterEntry$,
filterInfo$: a.default.subject.filterInfo$
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1457)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
t.default = {
name: "v-spinner",
data: function() {
return {}
},
props: ["content"]
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2017)
, i = n(1459);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1744);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "0726c9a8", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1460)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(1733))
, a = s(n(1734))
, r = s(n(1737))
, o = s(n(1738))
, u = s(n(154));
t.default = {
name: "boss-item",
components: {
NameContent: i.default,
LastMsg: a.default,
TimeLabel: r.default,
BossAvatar: o.default
},
props: {
source: {
type: Object,
default: function() {}
},
selected: {
type: String,
default: ""
}
},
computed: {
boss: function() {
return this.source || {}
},
currentLabel: function() {
return u.default.getCurrentLabel()
}
},
methods: {
handleOpenChat: function(e) {
this.$parent.$parent.virtual ? this.$parent.$parent.$emit("on-click", e) : this.$emit("on-click", e)
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1462)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(37),
n(26),
n(19),
n(50);
t.default = {
name: "name-content",
props: {
boss: Object
},
computed: {
filterReason: function() {
var t = {}
, n = this.boss.filterReasonList;
return e.isArray(n) && n.length && (t.filterStr = n.join("、"),
t.filterLabel = n.map((function(e) {
return e.replace(/不符$/, "")
}
)).join("/") + "不符"),
t
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1464)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
n(12),
n(14),
n(10),
n(2),
n(18),
n(6),
n(22);
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(15));
n(33),
n(17);
var a = s(n(16))
, r = s(n(25))
, o = n(391)
, u = s(n(500))
, c = s(n(1436))
, l = n(116)
, d = n(75)
, f = s(n(229))
, p = s(n(226))
, h = s(n(502))
, v = s(n(710))
, m = s(n(1438));
function g(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var s = Object.getOwnPropertySymbols(e);
t && (s = s.filter((function(t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable
}
))),
n.push.apply(n, s)
}
return n
}
function b(e) {
for (var t = 1; t < arguments.length; t++) {
var n = null != arguments[t] ? arguments[t] : {};
t % 2 ? g(Object(n), !0).forEach((function(t) {
(0,
r.default)(e, t, n[t])
}
)) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g(Object(n)).forEach((function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
}
))
}
return e
}
var y = {
1: "status-delivery",
2: "status-read",
3: "",
4: "status-error"
}
, x = {
5: {
type: "red-boss",
text: "[面试取消]"
},
63: {
type: "red-boss",
text: "[面试超时]"
}
}
, _ = {
7: {
type: "green-boss",
text: "[校招提醒]"
}
};
t.default = {
name: "last-msg-content",
props: {
boss: Object,
currBossId: String
},
components: {
MessageStatus: m.default
},
data: function() {
return {
showDraft: !1,
timerOpen: null,
timerClose: null,
operationActive: !1,
hoverUniqueId: "",
interviewType: 0,
listener: null
}
},
watch: {
currBossId: function(e) {
var t = (this.boss || {}).uniqueId;
this.showDraft = e && this.draft$[t] && t !== e
}
},
computed: b(b({}, (0,
o.mapState)(["abData"])), {}, {
showOperation: function() {
return this.operationActive && this.hoverUniqueId == this.boss.uniqueId
},
isShowLastMsgTip: function() {
var e = this.boss.tipType;
return _[e] || this.interviewType
},
lastMsgTip: function() {
var e = this.boss;
return e.tipType ? _[e.tipType] || "" : x[this.interviewType] || ""
},
lastText: function() {
var e = this.boss
, t = e.groupId
, n = e.name
, s = e.lastIsSelf
, i = e.lastText
, a = i;
return t && !s && n && (a = "".concat(n, ":").concat(i || "暂无更新消息")),
a
}
}),
mounted: function() {
var t = this;
this.initShowDraft(),
this.setTop = e.debounce(this.setTop, 200),
this.listener = p.default.subject.listOtherInfo$.subscribe((function(e) {
e[t.boss.uniqueId] && (t.interviewType = e[t.boss.uniqueId].interviewType)
}
))
},
methods: {
getStatusClass: function(e) {
return !e.lastMsgStatus && e.lastMsgClientId ? "status-loading" : y[e.lastMsgStatus]
},
initShowDraft: function() {
var e = (this.boss || {}).uniqueId;
this.showDraft = this.draft$[e] && e !== this.currBossId || !1
},
deleteGroup: function(e) {
h.default.deleteGroup(e)
},
deleteBoss: function(e) {
if (e.securityId)
e.groupId ? this.deleteGroup(e) : v.default.openChatDeleteDialog({
securityId: e.securityId,
uniqueId: e.uniqueId
}, (function() {
f.default.deleteFriend({
uniqueId: e.uniqueId
}),
c.default.removeDraft(e.uniqueId)
}
));
else {
this.$toast({
type: "error",
content: "数据异常"
});
var t = {
geekId: _PAGE.uid,
name: e.name,
uid: e.friendId
};
this.sendTracking("BOSS_INFO_ERR_" + JSON.stringify(t))
}
},
handleMouseenter: function(e) {
var t = this;
this.boss && (this.timerOpen && clearTimeout(this.timerOpen),
this.timerOpen = setTimeout((function() {
t.$nextTick((function() {
var n = (0,
d.getElementRect)(e.target)
, s = n.left
, i = n.top
, a = e.pageX - e.clientX
, r = e.pageY - e.clientY;
t.$commonTooltip.open("ChatUserOperation", {
currentBoss: t.boss,
top: i + r,
left: s + a,
setHoverActive: t.setHoverActive,
deleteBoss: t.deleteBoss,
setTop: t.setTop,
setCancelNotInterested: t.setCancelNotInterested
})
}
))
}
), 10))
},
handleMouseleave: function() {
var e = this;
this.timerClose && clearTimeout(this.timerClose),
this.timerClose = setTimeout((function() {
e.showOperation || e.$commonTooltip.hide()
}
), 10)
},
setHoverActive: function(e, t) {
this.operationActive = e,
this.hoverUniqueId = t || ""
},
setTop: function(e, t) {
var n = this
, s = e || {}
, i = s.uniqueId
, a = s.friendId
, r = s.friendSource;
s.groupId ? this.setGroupTop(e, t) : f.default.updateTop(a, r, t, (function() {
u.default.updateConversation(i, {
isTop: t
}),
n.conversion("chatview_top_" + a),
n.$toast("操作成功", "success")
}
))
},
setGroupTop: function(e, t) {
h.default.setTop(e, t)
},
setCancelNotInterested: function(e) {
var t = this;
return (0,
a.default)(i.default.mark((function n() {
var s, a, r, o, u;
return i.default.wrap((function(n) {
for (; ; )
switch (n.prev = n.next) {
case 0:
return s = e.securityId,
a = e.uniqueId,
r = {
securityId: s,
markType: 1
},
n.next = 4,
(0,
l.updateNotInterested)(r);
case 4:
if (o = n.sent,
u = o.message,
0 === o.code) {
n.next = 10;
break
}
return t.$toast(u, "error"),
n.abrupt("return");
case 10:
f.default.updateNotInterested(a, "cancel"),
t.$toast("操作成功", "success");
case 12:
case "end":
return n.stop()
}
}
), n)
}
)))()
}
},
beforeDestroy: function() {
this.listener && this.listener.unsubscribe()
},
subscriptions: function() {
return {
draft$: c.default.draft$
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1466)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
n(12),
n(14),
n(10),
n(2),
n(18),
n(6),
n(22);
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(25));
n(46),
n(36),
n(67),
n(511);
var a = n(391)
, r = s(n(500));
function o(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var s = Object.getOwnPropertySymbols(e);
t && (s = s.filter((function(t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable
}
))),
n.push.apply(n, s)
}
return n
}
function u(e) {
for (var t = 1; t < arguments.length; t++) {
var n = null != arguments[t] ? arguments[t] : {};
t % 2 ? o(Object(n), !0).forEach((function(t) {
(0,
i.default)(e, t, n[t])
}
)) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : o(Object(n)).forEach((function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
}
))
}
return e
}
var c = {
LOADING: 0,
DELIVERED: 1,
READ: 2,
UNKNOWN: 3,
ERROR: 4
}
, l = {
MESSAGE: "message",
FRIEND_LIST: "friend-list"
}
, d = "已读"
, f = "送达";
t.default = {
name: "MessageStatus",
props: {
status: {
type: Number,
default: c.LOADING,
validator: function(e) {
return Object.values(c).includes(e)
}
},
mid: {
type: [String, Number]
},
position: {
type: String,
default: l.MESSAGE,
validator: function(e) {
return Object.values(l).includes(e)
}
}
},
data: function() {
return {
messageStatus: (0,
i.default)((0,
i.default)((0,
i.default)((0,
i.default)((0,
i.default)({}, c.LOADING, "status-loading"), c.DELIVERED, "status-delivery"), c.READ, "status-read"), c.UNKNOWN, ""), c.ERROR, "status-error")
}
},
computed: u(u({}, (0,
a.mapState)(["privilege"])), {}, {
msgStatusConfigs: function() {
var e;
return (null === (e = this.privilege) || void 0 === e ? void 0 : e.msgStatusConfigs) || {}
},
statusClass: function() {
return this.messageStatus[this.status] || ""
},
isList: function() {
return this.position === l.FRIEND_LIST
},
statusText: function() {
var e;
if (this.status === c.LOADING || this.status === c.ERROR)
return {
text: "",
color: "",
show: !0
};
var t = this.msgStatusConfigs
, n = t.received
, s = t.read
, a = (0,
i.default)((0,
i.default)({}, c.DELIVERED, {
config: n,
defaultText: f
}), c.READ, {
config: s,
defaultText: d
})[this.status];
if (!a)
return {
text: "",
color: "",
show: !1
};
var r = a.config
, o = a.defaultText
, u = (null == r ? void 0 : r.text) || o;
return {
text: this.isList ? "[".concat(u, "]") : u,
color: ((null == r || null === (e = r.color) || void 0 === e ? void 0 : e.split("_")) || [])[1] || "",
show: this.shouldShowStatus(r)
}
}
}),
methods: {
shouldShowStatus: function(e) {
var t;
return !e || (null === (t = (0,
i.default)((0,
i.default)({}, l.MESSAGE, 1 !== e.chatDetailDisplay), l.FRIEND_LIST, 1 !== e.chatListDisplay)[this.position]) || void 0 === t || t)
},
handleResend: function() {
this.position === l.MESSAGE && this.status === c.ERROR && this.mid && r.default.reSendMessage(this.mid)
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1468)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var s = n(228);
t.default = {
name: "last-msg-content",
props: {
boss: Object
},
filters: {
formatTime: function(e) {
var t = e.updateTime || e.lastTS;
return t ? (0,
s.getLastTime)(parseInt(t, 10)) : ""
}
},
computed: {
groupTitle: function() {
return this.boss.type > 0 && {
0: "BOSS直聘产品经理",
2: "「有了」社区官方",
4: "直播招聘官方运营",
6: "直猎邦官方运营"
}[this.boss.internal] || ""
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1470)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(1696));
t.default = {
name: "boss-avatar",
components: {
Avatar: i.default
},
props: {
boss: Object
},
computed: {
groupFigure: function() {
var e = this.boss.friendId;
return -2 === e ? "任务" : 0 === e ? "群组" : ""
}
},
methods: {
handleError: function() {
var e = this.boss
, t = e.friendId
, n = e.avatar;
iGeekRoot.sendAction({
action: "boss_list_avatar_load_error",
params: {
friendId: t,
avatar: n,
uid: _PAGE.uid
}
})
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1472)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(46);
var i = s(n(1739));
t.default = {
props: {
src: {
type: String,
default: ""
},
alt: {
type: String,
default: ""
},
className: {
type: String,
default: ""
},
size: {
typpe: Number,
default: 46
},
format: {
type: String,
default: ""
}
},
components: {
ImageCompressor: i.default
},
data: function() {
return {
loadSuccess: !0
}
},
created: function() {},
mounted: function() {},
methods: {
handleError: function() {
this.loadSuccess = !1,
this.$emit("load-error")
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1474)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: !0
}),
exports.default = void 0,
__webpack_require__(17),
__webpack_require__(19),
__webpack_require__(77),
__webpack_require__(50),
__webpack_require__(46),
__webpack_require__(36),
__webpack_require__(2),
__webpack_require__(67);
var cdnFormats = [".JPEG.webp", ".jpeg.webp", ".JPG.webp", ".jpg.webp", ".PNG.webp", ".png.webp", ".gif.webp", ".GIF.webp"]
, domainSupport = ["img.bosszhipin.com", "static.zhipin.com"]
, imageProcessor = function imageProcessor(url) {
var oss = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "image/format,jpg";
if (!url)
return "";
var arg = "x-oss-process"
, pattern = "".concat(arg, "=([^&]*)")
, replaceText = "".concat(arg, "=").concat(oss);
if (url.match(pattern)) {
var retuenUrl = url
, temp = "/(&".concat(arg, "=)([^&]*)/gi");
eval(temp).test(retuenUrl) && (retuenUrl = retuenUrl.replace(eval(temp), "&".concat(replaceText)));
var temps = "/([?])(".concat(arg, "=)([^&]*)/gi");
return eval(temps).test(retuenUrl) && (retuenUrl = retuenUrl.replace(eval(temps), "?".concat(replaceText))),
retuenUrl
}
return url.indexOf("?") > 0 ? "".concat(url, "&").concat(replaceText) : "".concat(url, "?").concat(replaceText)
}
, _default = exports.default = {
props: {
src: {
type: String,
required: !0,
default: ""
},
alt: {
type: String,
default: ""
},
width: {
type: [String, Number],
default: ""
},
height: {
type: [String, Number],
default: ""
},
shape: {
validator: function(e) {
return ["circle", "square"].includes(e)
},
default: "circle"
},
format: {
type: String,
default: "image/format,jpg"
},
openOSS: {
type: Boolean,
default: !1
}
},
computed: {
classes: function() {
return ["image-".concat(this.shape)]
},
url: function() {
var e = this.src;
if (!e)
return "";
if (cdnFormats.some((function(t) {
return e.includes(t)
}
)))
return e;
if (domainSupport.some((function(t) {
return e.includes(t)
}
)) && (this.openOSS || this.format)) {
var t, n, s = this.format;
if (this.isWebPSupported)
null !== (n = this.format) && void 0 !== n && n.includes("format,jpg") && (s = s.replace("format,jpg", "format,webp"));
else
null !== (t = this.format) && void 0 !== t && t.includes("format,webp") && (s = s.replace("format,webp", "format,jpg"));
return imageProcessor(e, s)
}
return this.src
}
},
data: function() {
var e;
return {
isWebPSupported: null === (e = iGeekRoot) || void 0 === e ? void 0 : e.webpSupported
}
},
created: function() {},
mounted: function() {},
methods: {
handleLoad: function() {
this.$emit("load")
},
handleError: function() {
this.$emit("error")
}
}
}
}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1480)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(229))
, a = s(n(1437));
t.default = {
name: "wx-guide",
props: {
current: {
type: String,
default: ""
}
},
mounted: function() {},
methods: {
checkedOther: function() {
a.default.scan(),
this.sendAction({
action: "action-tools-wechat-click"
}),
i.default.updateSelectedFriend({
showType: "wx"
})
}
},
subscriptions: function() {
return {
guide$: a.default.subject.guide$,
open$: a.default.subject.open$
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1482)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(48),
n(36),
n(33);
var i = s(n(154));
t.default = {
name: "boss-list-label",
data: function() {
return {
keyword: ""
}
},
computed: {
labelList: function() {
return i.default.getLabelList()
},
showLabelList: function() {
return this.labelList.slice(0, 4)
},
hideLabelList: function() {
return this.labelList.slice(4)
},
unreadCount: function() {
return -1 == this.count$ ? 0 : this.count$ > 99 ? "99+" : this.count$
},
showMoreKeyword: function() {
return [3, 4, 5].includes(this.curLabel$.labelId)
}
},
mounted: function() {
this.handleChangeLabel = e.debounce(this.handleChangeLabel, 200)
},
methods: {
handleChangeLabel: function(e) {
this.keyword = "",
i.default.changeLabel(e)
},
handleChangeMoreLabel: function(e) {
var t = e.name;
this.keyword = t,
this.$refs.moreLabel && this.$refs.moreLabel.hideMenu(),
i.default.changeLabel(e)
}
},
subscriptions: function() {
return {
curLabel$: i.default.subject.curLabel$,
uncountTab$: i.default.subject.uncountTab$,
count$: i.default.subject.count$
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1485)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(15))
, a = s(n(16))
, r = s(n(229))
, o = s(n(226))
, u = n(75)
, c = s(n(140))
, l = n(141);
t.default = {
name: "boss-search",
data: function() {
return {
searchList: [],
showClose: !1,
content: "",
loading: !1,
timer: null,
hasLightKeyword: u.hasLightKeyword,
firstLoadingEnd: !1
}
},
mounted: function() {
var t = this;
this.getFriendList = e.debounce(this.getFriendList, 200),
o.default.subject.firstLoadingEnd$.subscribe((function(e) {
void 0 !== e && (t.firstLoadingEnd = !0)
}
))
},
watch: {
content: function(e) {
e ? (this.loading = !0,
this.getFriendList(e)) : (this.loading = !1,
this.searchList = [])
}
},
methods: {
handleFocus: function() {
this.sendAction({
action: "PC-message-search-click",
p: c.default.localFriends.length
})
},
handleClickSearch: function() {
var e;
null === (e = this.$refs.searchInput) || void 0 === e || e.focus()
},
getFriendList: function(e) {
var t = this;
return (0,
a.default)(i.default.mark((function n() {
return i.default.wrap((function(n) {
for (; ; )
switch (n.prev = n.next) {
case 0:
return n.next = 2,
r.default.findFriendListByNameOrBranchName(e);
case 2:
t.searchList = n.sent,
t.sendAction({
action: "pc-message-search-results-show",
p: e,
p2: t.searchList.length
}),
t.loading = !1;
case 5:
case "end":
return n.stop()
}
}
), n)
}
)))()
},
getContent: function(e) {
return (0,
u.lightKeywordWithPinyin)(this.content, e)
},
handleInput: function() {
this.showClose = this.content && this.content.length
},
handleClose: function() {
this.$emit("on-close")
},
handleBlur: function() {
var e = this;
this.timer && clearTimeout(this.timer),
this.timer = setTimeout((function() {
e.handleClear()
}
), 200)
},
openGeek: function(e) {
this.$emit("on-open-geek", e);
var t = (0,
l.__friendMatch)(this.content, e);
this.sendAction({
action: "pc-message-search-click-detail",
p: this.content,
p2: t ? {
name: 1,
brandName: 2,
jobName: 5,
positionName: 6,
title: 3,
jobTypeDesc: 7,
jobCity: 8
}[t] : "",
p3: e.uid,
p4: e.friendSource
})
},
handleClear: function() {
this.showClose = !1,
this.content = "",
this.searchList = [],
this.handleClose()
}
},
beforeDestroy: function() {
this.timer && clearTimeout(this.timer)
},
subscriptions: function() {
return {
topList$: o.default.subject.topList$,
list$: o.default.subject.list$
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1488)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(1750))
, a = s(n(1699));
t.default = {
name: "loading-skeleton",
components: {
Skeleton: i.default,
SkeletonItem: a.default
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1490)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(46);
var i = s(n(1699));
t.default = {
name: "Skeleton",
props: {
animated: {
type: Boolean,
default: !1
},
count: {
type: Number,
default: 1
},
rows: {
type: Number,
default: 4
},
loading: {
type: Boolean,
default: !0
},
throttle: {
type: Number,
default: 0
}
},
components: {
SkeletonItem: i.default
},
watch: {
loading: {
handler: function(e) {
var t = this;
this.throttle <= 0 ? this.uiLoading = e : e ? (clearTimeout(this.timeoutHandle),
this.timeoutHandle = setTimeout((function() {
t.uiLoading = t.loading
}
), this.throttle)) : this.uiLoading = e
},
immediate: !0
}
},
data: function() {
return {
uiLoading: this.throttle <= 0 && this.loading
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1492)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
t.default = {
name: "SkeletonItem",
props: {
variant: {
type: String,
default: "text"
}
},
components: {}
}
}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1497)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
t.default = {
name: "no-data",
components: {}
}
}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1501)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(76),
n(2),
n(6),
n(12);
var i = s(n(226))
, a = s(n(1458))
, r = s(n(1694))
, o = s(n(715))
, u = s(n(1698))
, c = s(n(1758));
t.default = {
name: "drawer-list",
components: {
BossItem: a.default,
VirtualList: r.default,
SkeletonLoading: u.default,
NoData: c.default
},
props: {
listType: String
},
computed: {
filteredList: function() {
return this.filterList$ || []
},
itemProps: function() {
return {
selected: this.selectedFriend$.uniqueId
}
},
bottomText: function() {
return this.hasMore$ ? "滚动加载更多" : "没有更多了"
}
},
data: function() {
return {
itemComponent: a.default,
listeners: {},
keeps: Math.max(2 * (window.innerHeight / 78 >> 0), 40)
}
},
mounted: function() {
var e = this;
this.listeners.openChat = i.default.subject.openChat$.subscribe((function() {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
t.uniqueId && e.scrollToUser(t)
}
))
},
methods: {
handleClickOthers: function() {
this.$emit("on-change-type", "")
},
handleClickItem: function(e) {
this.$emit("on-click", e)
},
loadMore: function() {
2 !== this.filterLoading$ && o.default.loadNextPage()
},
scrollToUser: function(e) {
var t = this.$refs.vsl;
if (t) {
var n = this.filterList$.findIndex((function(t) {
return t.uniqueId === e.uniqueId
}
));
n > -1 && t.scrollToIndex(n)
}
},
onScroll: function() {
var e, t = document.querySelector(".popover-wrap.position-right");
t && (null == t || null === (e = t.parentNode) || void 0 === e || e.removeChild(t))
}
},
beforeDestroy: function() {
var e = this;
Object.keys(this.listeners).forEach((function(t) {
e.listeners[t].unsubscribe()
}
))
},
subscriptions: function() {
return {
filterLoading$: i.default.subject.filterLoading$,
filterHasMore$: i.default.subject.filterHasMore$,
filterList$: i.default.subject.filterList$,
selectedFriend$: i.default.subject.selectedFriend$
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1503)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
t.default = {
name: "no-data",
components: {}
}
}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1507)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(46);
var i = s(n(502))
, a = s(n(1458))
, r = s(n(226));
t.default = {
name: "group-list",
components: {
BossItem: a.default
},
props: {
listType: String,
currentId: {
type: [Number, String],
default: ""
}
},
computed: {
groupList: function() {
var e = this.currentId
, t = this.groupList$
, n = this.projectGroupList$;
return 0 === e ? t : -2 === e ? n : void 0
}
},
mounted: function() {},
methods: {
handleClickOthers: function() {
this.$emit("on-change-type", "")
},
handleClickItem: function(e) {
this.$emit("on-click", e)
}
},
beforeDestroy: function() {},
subscriptions: function() {
return {
groupList$: i.default.subject.list$,
projectGroupList$: i.default.subject.projectList$,
selectedFriend$: r.default.subject.selectedFriend$
}
}
}
}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1511)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(1765))
, a = s(n(1775))
, r = s(n(1942))
, o = s(n(1959))
, u = s(n(1992))
, c = s(n(226))
, l = s(n(1436));
t.default = {
name: "conversation-box",
components: {
MessageList: a.default,
TipBar: r.default,
Toolbar: o.default,
NoData: u.default,
TopInfo: i.default
},
computed: {},
mounted: function() {
l.default.init()
},
subscriptions: function() {
return {
selectedFriend$: c.default.subject.selectedFriend$
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1513)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(1766))
, a = s(n(1771))
, r = s(n(500));
t.default = {
name: "ConversationTopInfo",
components: {
UserInfo: i.default,
PositionInfo: a.default
},
subscriptions: function() {
return {
conversation$: r.default.conversation$
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1515)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
n(12),
n(14),
n(10),
n(2),
n(18),
n(6),
n(22);
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(15))
, a = s(n(25))
, r = s(n(16))
, o = n(504)
, u = s(n(229))
, c = s(n(704))
, l = s(n(500))
, d = s(n(226))
, f = s(n(1436))
, p = s(n(710))
, h = n(75)
, v = n(186)
, m = n(116);
function g(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var s = Object.getOwnPropertySymbols(e);
t && (s = s.filter((function(t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable
}
))),
n.push.apply(n, s)
}
return n
}
function b(e) {
for (var t = 1; t < arguments.length; t++) {
var n = null != arguments[t] ? arguments[t] : {};
t % 2 ? g(Object(n), !0).forEach((function(t) {
(0,
a.default)(e, t, n[t])
}
)) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g(Object(n)).forEach((function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
}
))
}
return e
}
t.default = {
name: "ConversationUserInfo",
computed: {
isNotVirtual: function() {
return this.conversation$.mobile && 0 !== this.conversation$.mobile.indexOf("#")
},
showTitleSeparator: function() {
return this.conversation$.title && 0 === this.conversation$.proxyJob && "" !== this.conversation$.companyName
},
groupTitle: function() {
return this.conversation$.type > 0 && {
0: "BOSS直聘产品经理",
2: "「有了」社区官方",
4: "直播招聘官方运营",
6: "直猎邦官方运营"
}[this.conversation$.internal] || ""
},
phoneWithRegionCode: function() {
var e = this.conversation$
, t = e.mobile
, n = e.regionCode;
return (n && "+86" !== n ? n : "") + t
},
note: function() {
return this.conversation$.note || ""
},
formateNote: function() {
return (0,
h.truncateText)(this.note, 120)
}
},
mounted: function() {
this.onSetTop = e.debounce(this.onSetTop, 200),
d.default.subject.selectedFriend$.subscribe((function(e) {
var t = e.encryptBossId
, n = e.encryptJobId;
e.securityId;
window._reportData = {
reportedId: t,
targetId: n
}
}
)),
this.handleRemoveBlackList = e.debounce(this.handleRemoveBlackList, 500, !0),
this.handleSetTop = e.debounce(this.handleSetTop, 500, !0),
this.handleCancelNotInterested = e.debounce(this.handleCancelNotInterested, 500, !0),
this.handleNotInterested = e.debounce(this.handleNotInterested, 500, !0)
},
methods: {
handleReport: function() {
var e = this.conversation$
, t = e.securityId
, n = e.encryptBossId
, s = e.encryptJobId
, i = e.jobId
, a = e.uniqueId;
l.default.handleReport({
reportedId: n,
targetId: s,
securityId: t,
jobId: i,
source: 212,
uniqueId: a
}),
this.handleHideMenu()
},
handleSetTop: function() {
var e = this
, t = this.conversation$
, n = t.friendId
, s = t.friendSource
, i = t.isTop
, a = t.uniqueId
, r = 1 == i ? 0 : 1;
u.default.updateTop(n, s, 1 == i ? 0 : 1, (function() {
l.default.updateConversation(a, {
isTop: r
}),
e.conversion("chatview_top_" + n),
e.$toast("操作成功", "success")
}
)),
this.handleHideMenu()
},
handleHideMenu: function() {
this.$refs.moreAction && this.$refs.moreAction.hideMenu()
},
handleAddRemark: function() {
var e = this.conversation$
, t = e.encryptBossId
, n = e.friendId
, s = e.securityId
, i = e.note
, a = e.uniqueId
, r = {
from: "geek",
encryptFriendId: t,
friendId: n,
securityId: s,
note: i
}
, o = {
success: function(e) {
l.default.updateConversation(a, {
note: e
}),
u.default.updateListInfo({
uniqueId: a,
note: e
})
}
};
c.default.openAddRemark(r, o),
this.handleHideMenu()
},
handleInterviewDetail: function(e) {
var t = this.conversation$
, n = t.uid
, s = t.encryptBossId
, i = t.friendSource
, a = t.jobId
, r = t.friendId
, o = {
encryptBossId: s,
friendSource: i,
uid: n,
jobId: a,
securityId: t.securityId
};
c.default.openInterviewDetail(o),
this.conversion(e + r),
this.handleHideMenu()
},
handleDelete: function() {
var e = this
, t = this.conversation$
, n = t.securityId
, s = t.uniqueId;
p.default.openChatDeleteDialog({
securityId: n,
uniqueId: s
}, (function() {
e.removeFromList(s)
}
)),
this.handleHideMenu()
},
handleNotInterested: function() {
var e = this;
return (0,
r.default)(i.default.mark((function t() {
var n, s, a, u, c, d, f, p;
return i.default.wrap((function(t) {
for (; ; )
switch (t.prev = t.next) {
case 0:
return n = e.conversation$,
s = n.securityId,
a = n.uniqueId,
u = {
securityId: s,
source: 2
},
t.next = 4,
(0,
v.getJobRejectReason)(u);
case 4:
if (c = t.sent,
d = c.zpData,
f = void 0 === d ? {} : d,
p = c.message,
0 === c.code) {
t.next = 12;
break
}
return e.$toast(p, "error"),
t.abrupt("return");
case 12:
(0,
o.NegativeFeedback)({
reasonList: f.reasons || [],
onSave: function() {
var e = (0,
r.default)(i.default.mark((function e(t) {
return i.default.wrap((function(e) {
for (; ; )
switch (e.prev = e.next) {
case 0:
l.default.setNoFit(b(b({}, t), {}, {
securityId: s,
uniqueId: a
}));
case 1:
case "end":
return e.stop()
}
}
), e)
}
)));
return function(t) {
return e.apply(this, arguments)
}
}()
}),
e.handleHideMenu();
case 14:
case "end":
return t.stop()
}
}
), t)
}
)))()
},
handleCancelNotInterested: function() {
var e = this;
return (0,
r.default)(i.default.mark((function t() {
var n, s, a, r, o, c, l;
return i.default.wrap((function(t) {
for (; ; )
switch (t.prev = t.next) {
case 0:
return n = e.conversation$,
s = n.securityId,
a = n.uniqueId,
r = {
securityId: s,
markType: 1
},
t.next = 4,
(0,
m.updateNotInterested)(r);
case 4:
if (o = t.sent,
c = o.zpData,
void 0 === c ? {} : c,
l = o.message,
0 === o.code) {
t.next = 12;
break
}
return e.$toast(l, "error"),
t.abrupt("return");
case 12:
e.$toast("操作成功", "success"),
u.default.updateNotInterested(a, "cancel");
case 14:
case "end":
return t.stop()
}
}
), t)
}
)))()
},
handleAddBlackList: function() {
var e = this
, t = this.conversation$
, n = t.securityId
, s = t.uniqueId;
c.default.openPushBlackListDialog({
securityId: n,
onSuccess: function() {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
t.needRemoveFriend && e.removeFromList(s),
l.default.updateConversation(s, {
isBlacked: !0
}),
u.default.updateListInfo({
uniqueId: s,
isBlacked: !0
}),
e.$toast("操作成功", "success")
}
}),
this.handleHideMenu()
},
handleRemoveBlackList: function() {
var e = this;
return (0,
r.default)(i.default.mark((function t() {
var n, s, a, r, o, c;
return i.default.wrap((function(t) {
for (; ; )
switch (t.prev = t.next) {
case 0:
return e.handleHideMenu(),
n = e.conversation$,
s = n.uniqueId,
a = n.securityId,
t.next = 4,
(0,
m.removeUserBlack)({
securityId: a
});
case 4:
if (r = t.sent,
o = r.code,
c = r.message,
0 === o) {
t.next = 10;
break
}
return e.$toast(c, "error"),
t.abrupt("return");
case 10:
e.$toast("操作成功", "success"),
l.default.updateConversation(s, {
isBlacked: !1
}),
u.default.updateListInfo({
uniqueId: s,
isBlacked: !1
});
case 13:
case "end":
return t.stop()
}
}
), t)
}
)))()
},
removeFromList: function(e) {
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 1;
u.default.deleteFriend({
uniqueId: e
}, t),
f.default.removeDraft(e)
}
},
subscriptions: function() {
return {
conversation$: l.default.conversation$,
selectedFriend$: d.default.subject.selectedFriend$
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1518)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(704))
, a = s(n(500));
t.default = {
name: "ConversationPositionInfo",
data: function() {
return {}
},
methods: {
handleDzDetail: function() {
i.default.openDzNotice()
},
handleBossPosition: function() {
var e = this.conversation$
, t = e.friendSource
, n = e.encryptJobId
, s = e.securityId;
1 == t ? this.$toast({
type: "info",
content: "请前往app端查看该职位信息"
}) : iGeekRoot.open("/job_detail/" + n + ".html?securityId=" + s)
}
},
subscriptions: function() {
return {
conversation$: a.default.conversation$
}
}
}
}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1522)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
n(20),
n(34),
n(117),
n(28),
n(18);
var s = n(1)
, i = n(29);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var a = s(n(15));
n(2),
n(30),
n(26),
n(36),
n(17),
n(10);
var r = s(n(16))
, o = n(96)
, u = n(127)
, c = s(n(1523))
, l = s(n(500))
, d = s(n(1776))
, f = s(n(501))
, p = s(n(226))
, h = s(n(1718))
, v = n(719)
, m = s(n(1437))
, g = s(n(506))
, b = s(n(709))
, y = n(75)
, x = s(n(713));
function _(e) {
if ("function" != typeof WeakMap)
return null;
var t = new WeakMap
, n = new WeakMap;
return (_ = function(e) {
return e ? n : t
}
)(e)
}
function w(e, t) {
if (!t && e && e.__esModule)
return e;
if (null === e || "object" != i(e) && "function" != typeof e)
return {
default: e
};
var n = _(t);
if (n && n.has(e))
return n.get(e);
var s = {
__proto__: null
}
, a = Object.defineProperty && Object.getOwnPropertyDescriptor;
for (var r in e)
if ("default" !== r && {}.hasOwnProperty.call(e, r)) {
var o = a ? Object.getOwnPropertyDescriptor(e, r) : null;
o && (o.get || o.set) ? Object.defineProperty(s, r, o) : s[r] = e[r]
}
return s.default = e,
n && n.set(e, s),
s
}
t.default = {
name: "message-list",
components: {
MessageComponent: d.default,
ContextMenu: h.default
},
directives: {
clickoutside: f.default
},
data: function() {
return {
pos: {},
menuData: [],
contextMenuMsg: {},
history: !1,
boss: {},
msgMinId: 0,
page: 1,
pageSize: 20,
showMenu: !1,
loading: !1,
source: null,
lastContentHeight: 0,
isToTop: !1,
listenter: null,
propConfig: {
action: "vip",
encryptPriceId: "",
productType: 1,
source: 0,
successText: {
btnText: "立即查看"
}
}
}
},
computed: {},
provide: function() {
var e = this;
return {
getBoss: function() {
return e.conversation$
}
}
},
mounted: function() {
var t = this;
window.addEventListener("message", this.postMessageHandler, !1),
this.listenter = p.default.subject.selectedFriend$.subscribe((function(e) {
t.cancelQuest(),
t.lastContentHeight = 0,
g.default.clear(),
b.default.clear();
var n = e.friendId
, s = e.gid;
(n || s) && (t.boss = e,
t.msgMinId = 0,
t.page = 1,
t.history = !1,
t.isToTop = !1,
t.getHistoryMessage())
}
)),
this.handleMessageScroll = e.debounce(this.handleMessageScroll, 100)
},
methods: {
postMessageHandler: function(e) {
var t = this;
return (0,
r.default)(a.default.mark((function s() {
var i, r, o, u, c, l, d, f;
return a.default.wrap((function(s) {
for (; ; )
switch (s.prev = s.next) {
case 0:
if ("mall" != (i = e.data).type) {
s.next = 27;
break
}
if ("buyVip" != i.operation && "prolongVip" != i.operation) {
s.next = 15;
break
}
return null === (r = iGeekRoot) || void 0 === r || r.frameSlider("", "remove"),
t.propConfig.encryptPriceId = i.encryptPriceId || t.vipInfo$.encryptPriceId,
s.next = 7,
Promise.resolve().then((function() {
return w(n(504))
}
));
case 7:
return o = s.sent,
u = o.openVipPaymentDialog,
Promise.resolve().then((function() {
return w(n(1939))
}
)),
Promise.resolve().then((function() {
return w(n(1721))
}
)),
s.next = 13,
u({
data: t.propConfig,
buySuccess: function() {
t.handleBuyVipSuccess()
}
});
case 13:
s.next = 27;
break;
case 15:
if ("product" != i.operation) {
s.next = 26;
break
}
return null === (c = iGeekRoot) || void 0 === c || c.frameSlider("", "remove"),
s.next = 19,
Promise.resolve().then((function() {
return w(n(504))
}
));
case 19:
l = s.sent,
d = l.openPropsPaymentDialog,
Promise.resolve().then((function() {
return w(n(1940))
}
)),
Promise.resolve().then((function() {
return w(n(1721))
}
)),
d({
data: {
encryptItemId: i.encryptPriceId
}
}, {
buySuccess: function() {}
}),
s.next = 27;
break;
case 26:
"closeH5Iframe" == i.operation && (null === (f = iGeekRoot) || void 0 === f || f.frameSlider("", "remove"));
case 27:
case "end":
return s.stop()
}
}
), s)
}
)))()
},
handleBuyVipSuccess: function() {
m.default.closeFilter()
},
getHistoryMessage: function(e) {
var t = this;
return (0,
r.default)(a.default.mark((function n() {
var s, i, r, u, c, d, f, p, h, v, m, g, b, y, x, _, w;
return a.default.wrap((function(n) {
for (; ; )
switch (n.prev = n.next) {
case 0:
if (!t.loading) {
n.next = 2;
break
}
return n.abrupt("return");
case 2:
if (t.loading = !0,
s = {},
i = t.boss,
r = i.encryptBossId,
u = i.gid,
c = i.friendSource,
d = i.securityId,
!i.groupId) {
n.next = 13;
break
}
return f = {
gid: u,
maxMsgId: t.msgMinId,
count: t.pageSize,
page: t.page
},
n.next = 9,
(0,
o.getGroupHistoryMsg)(f, t);
case 9:
p = n.sent,
s = p.zpData || {},
n.next = 18;
break;
case 13:
return h = {
bossId: r,
groupId: u,
maxMsgId: t.msgMinId,
c: t.pageSize,
page: t.page,
src: c,
securityId: d,
gid: u
},
n.next = 16,
(0,
o.getHistoryMsg)(h, t);
case 16:
v = n.sent,
s = v.zpData || {};
case 18:
if (t.loading = !1,
g = (m = s).messages,
b = void 0 === g ? [] : g,
y = m.hasMore,
x = m.minMsgId,
_ = void 0 === x ? 0 : x,
!(b.length <= 0)) {
n.next = 22;
break
}
return n.abrupt("return");
case 22:
w = b.map((function(e) {
return e.mid
}
)),
t.msgMinId = _ || Math.min.apply(null, w),
t.history = y || b.length >= 19,
t.isToTop = !t.history,
l.default.updateMsgList(b, t.page),
t.checkScroll(e);
case 28:
case "end":
return n.stop()
}
}
), n)
}
)))()
},
checkScroll: function(t) {
var n = this;
this.$nextTick((function() {
var s = e.get(n.$refs.scrollContent, "clientHeight");
!n.history || n.isHaveScroll() && n.lastContentHeight !== s || (n.history = !1,
n.page += 1,
n.getHistoryMessage(t)),
l.default.scrollTo(t, n.lastContentHeight),
n.lastContentHeight = s
}
))
},
isHaveScroll: function() {
return e.get(this.$refs.scrollContainer, "clientHeight", 0) < e.get(this.$refs.scrollContent, "clientHeight", 0)
},
handleMessageScroll: function() {
this.$refs.scrollContainer && this.$refs.scrollContainer.scrollTop <= 40 && this.history && (this.page += 1,
this.getHistoryMessage("top"))
},
cancelQuest: function() {
"function" == typeof this.source && (this.source("终止请求"),
this.loading = !1)
},
showContextmenu: function(e) {
var t = this
, n = e.e
, s = e.msg
, i = [{
id: 5,
show: "text" === s.messageType,
icon: "iboss-fuzhi",
label: "复制",
action: function(e) {
t.handleCopy(e)
}
}];
if (s.isSelf) {
if (!s.status || !(["image", "text", "sound", "sticker", "comDesc"].includes(s.messageType) || "dialog" === s.messageType && 17 === s.dialog.type))
return;
var a = Date.now() - s.time < 12e4
, r = a ? 90 : 180;
this.setPos(n, r),
i = i.concat([{
id: 10,
show: 1 !== this.conversation$.friendSource,
icon: "iboss-chexiao",
disabled: !a,
label: a ? "撤回" : "撤回(已超过两分钟)",
action: function(e) {
t.revocate(e)
}
}, {
id: 40,
show: "sound" === s.messageType && b.default.isSupported(),
svgIcon: "transform-text",
disabled: !1,
label: "转文字",
action: function() {
t.transformText(s)
}
}])
} else {
if (!["text", "sound"].includes(s.messageType))
return;
this.setPos(n, -10),
"sound" === s.messageType && i.push({
id: 40,
show: "sound" === s.messageType && b.default.isSupported(),
svgIcon: "transform-text",
disabled: !1,
label: "转文字",
action: function() {
t.transformText(s)
}
})
}
this.menuData = i.filter((function(e) {
return e.show
}
)),
this.menuData.length > 0 && (this.contextMenuMsg = s,
this.showMenu = !0)
},
setPos: function(t, n) {
var s = e.get(document, ["documentElement", "scrollLeft"], 0)
, i = t.pageX - n;
i = s > 0 && i >= s ? i - s : i,
this.pos = {
top: t.pageY,
left: i
}
},
transformText: function(e) {
this.showMenu = !1,
b.default.start(e, 2)
},
revocate: function() {
var e = this;
this.showMenu = !1;
var t = function() {
e.$toast({
type: "loading",
content: "正在撤回"
}),
(0,
u.revokeMsg)({
messageId: e.contextMenuMsg.mid
}).then((function(t) {
0 == t.code ? e.$toast.hide() : e.$toast({
type: "error",
content: t.message
})
}
))
};
if (!c.default.setting("revocation"))
return iGeekRoot.bossDialog({
title: "您可撤回两分钟之内发送的消息",
content: '
(老版本不支持撤回功能)
',
useHTMLString: !0,
wrapClass: "dialog-default",
onConfirm: function() {
t(),
c.default.setting("revocation", 1)
}
});
t()
},
handleCopy: function() {
var e = this.contextMenuMsg.text;
(0,
y.copyTextValue)(e),
this.showMenu = !1
}
},
beforeDestroy: function() {
this.listenter && this.listenter.unsubscribe(),
window.removeEventListener("message", this.postMessageHandler, !1),
g.default.clear(),
b.default.clear()
},
subscriptions: function() {
return {
nlp$: x.default.nlp$,
list$: l.default.list$,
conversation$: l.default.conversation$,
selectedFriend$: p.default.subject.selectedFriend$,
vipInfo$: v.vip.vipInfo$
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(12);
var s, i = (s = function(e, t) {
return void 0 === t || localStorage.setItem(e, t),
localStorage.getItem(e)
}
,
{
setting: function(e, t) {
var n = s("__Local__Setting") ? JSON.parse(s("__Local__Setting")) : {};
return void 0 === t ? n[e] : (n[e] = t,
s("__Local__Setting", JSON.stringify(n)),
n)
}
});
t.default = i
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1525)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(36);
var i = s(n(1777))
, a = s(n(1790))
, r = s(n(1793))
, o = s(n(1794))
, u = s(n(1797))
, c = s(n(1800))
, l = s(n(1895))
, d = s(n(1903))
, f = s(n(1905))
, p = s(n(1913))
, h = s(n(1915))
, v = s(n(1933))
, m = s(n(1934))
, g = s(n(1935))
, b = n(408);
t.default = {
name: "chat-message",
props: {
message: {
type: Object,
default: function() {}
}
},
data: function() {
return {}
},
components: {
MessageInterview: d.default,
MessageText: i.default,
MessageImage: a.default,
MessageSticker: r.default,
MessageJobDesc: o.default,
MessageResume: u.default,
MessageHyperlink: l.default,
MessageArticle: f.default,
MessageComDesc: c.default,
ListCard: p.default,
MessageDialog: h.default,
MessageAction: v.default,
MessageVideo: m.default,
MessageSound: g.default
},
computed: {
hasResumeAttachment: function() {
return !!(this.resumeInfo.resumeList || []).length
},
complete: function() {
return this.resumeInfo.complete || !1
},
isDesign: function() {
return this.resumeInfo.isDesign || !1
}
},
mounted: function() {
setTimeout((function() {
if (window._T) {
var e = window.screen.width
, t = window.screen.height
, n = window.innerWidth
, s = window.innerHeight;
try {
_T.sendTracking("screen_geek_" + e + "_" + t + "_avail_" + n + "_" + s)
} catch (e) {}
}
}
), 500),
document.body.ondrop = function(e) {
e.preventDefault(),
e.stopPropagation()
}
},
methods: {
getItemNode: function(e) {
var t = e;
if (t && t.classList.contains("text"))
return t;
for (; t && t.parentNode && !t.classList.contains("text"); )
t = t.parentNode;
return t
},
showContextmenu: function(e) {
if (e.preventDefault(),
3 !== this.message.status) {
if (!this.message.isSelf) {
if ([2, 5, 6].includes(this.message.type))
return;
if (!["sound", "text"].includes(this.message.messageType))
return;
if ("sound" !== this.message.messageType)
return
}
var t = this.getItemNode(e.target);
t && t !== document && this.$emit("on-contextmenu", {
e: e,
msg: this.message
})
}
},
getClass: function(e) {
return "text" === e.messageType && 3 === e.templateId || 3 === e.status || "hyperLink" === e.messageType || "action" === e.messageType ? "item-system" : e.isSelf ? "item-myself" : "item-friend"
},
isShowMessage: function(e) {
if (!(0,
b.isInterviewBlueMessage)(e))
return e.text || "image" == e.type
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1527)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(76);
var i = s(n(1438))
, a = n(228)
, r = s(n(705))
, o = s(n(226))
, u = n(75)
, c = s(n(1428))
, l = s(n(1700))
, d = s(n(1784))
, f = s(n(1787))
, p = s(n(1789));
t.default = {
name: "MessageText",
components: {
MessageStatus: i.default,
MessageOpener: l.default,
MessageAvatar: c.default,
ConcatInfo: d.default,
IconText: f.default,
TextLink: p.default
},
props: {
message: {
type: Object,
default: function() {}
}
},
inject: ["getBoss"],
data: function() {
return {
isShowOfferDetail: !1,
offerId: "",
jobId: ""
}
},
computed: {
bossInfo: function() {
return this.getBoss()
},
extend: function() {
return this.message.extend || {}
},
isSystemText: function() {
var e = this.message || {}
, t = e.templateId
, n = e.status;
return 3 === t || 3 == n
},
emojiGifIndex: function() {
var e = this;
return r.default.emojiFace.findIndex((function(t) {
return t && "[".concat(t, "]") === e.message.text
}
))
},
text: function() {
if (-1 !== this.emojiGifIndex)
return r.default.getGif(this.emojiGifIndex);
var e = this.linkReg$;
return (0,
a.messageConverToHtml)(this.message.text, e)
}
},
methods: {
handleLink: function(e) {
var t = e.target;
if ((0,
u.hasClass)(t, "web-url")) {
var n = t.dataset.url;
iGeekRoot.open(n)
}
},
resetMessageText: function(e) {
return 5 === e.templateId
}
},
subscriptions: function() {
return {
linkReg$: o.default.subject.linkReg$
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1529)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(1696))
, a = s(n(500));
t.default = {
name: "message-avatar",
components: {
Avatar: i.default
},
props: {
avatar: {
type: String,
default: ""
},
message: {
type: Object,
default: function() {}
}
},
data: function() {
return {
methodCalled: !1
}
},
methods: {
handleError: function() {
if (!this.methodCalled) {
var e = (this.conversation$ || {}).friendId;
iGeekRoot.sendAction({
action: "message_list_avatar_load_error",
params: {
friendId: e,
avatar: this.avatar,
uid: _PAGE.uid
}
}),
this.methodCalled = !0
}
}
},
subscriptions: function() {
return {
conversation$: a.default.conversation$
}
}
}
}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1532)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = n(75)
, a = s(n(1779))
, r = s(n(1780));
t.default = {
name: "editor-opener",
components: {
EditorQuote: r.default
},
props: {
title: {
type: String,
default: ""
},
text: {
type: String,
default: ""
},
extend: {
type: Object,
default: function() {}
},
message: {
type: Object,
default: function() {}
}
},
computed: {
buttons: function() {
var e;
return (null === (e = this.message.dialog) || void 0 === e ? void 0 : e.buttons) || []
},
attrs: function() {
var e;
return {
"data-url": null === (e = this.buttons[0]) || void 0 === e ? void 0 : e.url,
"data-mid": this.message.mid
}
},
operated: function() {
var e;
return null === (e = this.message) || void 0 === e || null === (e = e.dialog) || void 0 === e ? void 0 : e.operated
}
},
data: function() {
return {
icon: a.default
}
},
methods: {
addDomToEditor: function() {
var e, t = null === (e = this.$refs["opener-question"]) || void 0 === e || null === (e = e.$el) || void 0 === e ? void 0 : e.innerHTML;
if (t) {
var n = document.getElementById("chat-input");
n && (n.focus(),
n.innerHTML = "",
this.pasteHtmlAtCaret(t),
(0,
i.setCursorEnd)(n))
}
},
pasteHtmlAtCaret: function(e) {
var t, n;
if (window.getSelection) {
if ((t = window.getSelection()).getRangeAt && t.rangeCount) {
(n = t.getRangeAt(0)).deleteContents();
var s = document.createElement("div");
s.innerHTML = e;
for (var i, a, r = document.createDocumentFragment(); i = s.firstChild; )
a = r.appendChild(i);
n.insertNode(r),
a && ((n = n.cloneRange()).setStartAfter(a),
n.collapse(!0),
t.removeAllRanges(),
t.addRange(n))
}
} else
document.selection && "Control" != document.selection.type && document.selection.createRange().pasteHTML(e)
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1534)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
t.default = {
name: "quote-text",
props: {
icon: String,
text: String,
attrs: Object
}
}
}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1539)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(36),
n(67),
n(395);
var i = s(n(1429))
, a = n(75);
t.default = {
name: "message-concat-info",
props: {
message: {
type: Object,
default: {}
}
},
inject: ["getBoss"],
components: {
MessageCard: i.default
},
data: function() {
return {
showRiskText: !0
}
},
computed: {
bossInfo: function() {
return this.getBoss()
},
extend: function() {
return this.message.extend || {}
},
textStart: function() {
return this.message.text.split(":")[0]
},
textEndFromMessage: function() {
return this.message.text.split(":")[1]
},
textEnd: function() {
var e = this.extend.regionCode
, t = void 0 === e ? "" : e
, n = this.bossInfo.riskBossFreeze
, s = (t = t && "+86" !== t ? "".concat(t, "(境外) ") : "") + this.textEndFromMessage;
return n && this.showRiskText ? (0,
a.maskText)(s) : s
},
getContactInfo: function() {
var e = this.bossInfo.riskBossFreeze;
return this.message.text.includes("手机号") ? {
text: e && this.showRiskText ? "已知晓风险,我要查看" : "复制手机号",
type: "phone"
} : this.message.text.includes("微信号") ? {
text: e && this.showRiskText ? "已知晓风险,我要查看" : "复制微信号",
type: "wechat"
} : {
text: "复制",
type: "phone"
}
},
buttons: function() {
return [{
text: this.getContactInfo.text,
onClick: this.copyText
}]
}
},
methods: {
copyText: function() {
var e = this
, t = this.message
, n = t.text
, s = t.extend
, i = this.bossInfo
, a = i.uid;
i.riskBossFreeze && this.showRiskText ? this.showRiskText = !1 : (this.$nextTick((function() {
var t, n, i = e.$refs.contact;
(window.getSelection().selectAllChildren(i),
document.execCommand("Copy"),
s && s.copyAlertTitle) ? e.$dialog({
title: s.copyAlertTitle,
content: s.copyAlertText,
userHtmlString: !0,
preventLayer: !1,
lock: !0,
confirmText: !1,
cancelText: !1,
width: 460
}) : (e.$toast({
content: "已复制",
type: "success"
}),
null === (t = (n = window.getSelection()).removeAllRanges) || void 0 === t || t.call(n))
}
)),
n.indexOf("手机") > -1 ? this.sendAction({
action: "action-accept-mobile-click",
p2: a,
p3: this.textEnd.startsWith("+") ? 0 : 1
}) : n.indexOf("微信") > -1 && this.sendAction({
action: "action-chat-copy-weixin",
p: a
}))
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1541)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(46);
var s = {
0: "",
1: "boss-green",
2: "green",
3: "blue",
4: "orange"
};
t.default = {
name: "message-card",
props: {
icon: {
type: String,
default: ""
},
title: {
type: String,
default: ""
},
subTitle: {
type: String,
default: ""
},
buttons: {
type: Array,
default: function() {
return []
}
},
theme: {
type: Number,
default: 0
}
},
computed: {
themeClass: function() {
return s[this.theme]
}
},
data: function() {
return {}
},
methods: {}
}
}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1545)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(76);
var i = s(n(705))
, a = n(228);
t.default = {
name: "icon-text",
props: ["message"],
data: function() {
return {}
},
computed: {
emojiGifIndex: function() {
var e = this;
return i.default.emojiFace.findIndex((function(t) {
return t && "[".concat(t, "]") === e.message.text
}
))
},
text: function() {
return -1 !== this.emojiGifIndex ? i.default.getGif(this.emojiGifIndex) : (0,
a.messageConverToHtml)(this.message.text)
}
},
methods: {},
created: function() {}
}
}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1548)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
t.default = {
name: "message-link",
props: {
message: {
type: Object,
default: {}
}
},
data: function() {
return {
iconDefault: "https://z.zhipin.com/web/wxapp/resource/zhipin/icon/icon_default1.png"
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1550)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
n(12),
n(14),
n(10),
n(18),
n(6),
n(22);
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(15))
, a = s(n(25))
, r = s(n(16));
n(2),
n(30);
var o = s(n(1438))
, u = s(n(718))
, c = n(96)
, l = s(n(704))
, d = s(n(1428));
function f(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var s = Object.getOwnPropertySymbols(e);
t && (s = s.filter((function(t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable
}
))),
n.push.apply(n, s)
}
return n
}
function p(e) {
for (var t = 1; t < arguments.length; t++) {
var n = null != arguments[t] ? arguments[t] : {};
t % 2 ? f(Object(n), !0).forEach((function(t) {
(0,
a.default)(e, t, n[t])
}
)) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f(Object(n)).forEach((function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
}
))
}
return e
}
t.default = {
name: "MessageImage",
components: {
MessageStatus: o.default,
MessageAvatar: d.default
},
props: {
message: {
type: Object,
default: function() {}
}
},
data: function() {
var e, t;
return {
loadError: !(null !== (e = this.message.image) && void 0 !== e && null !== (e = e.originImage) && void 0 !== e && e.url),
reloading: !1,
showReload: null === (t = this.message.image) || void 0 === t || null === (t = t.originImage) || void 0 === t ? void 0 : t.url,
imageKey: 0
}
},
computed: {
imageStyle: function() {
var e = {
wrap: {},
image: {}
}
, t = this.message.image.originImage
, n = t.height
, s = t.width
, i = n / s;
return 1 === i && (e.image = {
width: "200px",
height: "200px"
}),
i > 1 && (e.wrap.height = "300px",
e.wrap.width = i > 1 && i <= 3 ? 300 / t.height * t.width + "px" : "110px",
e.image.width = "100%"),
i < 1 && (e.wrap.width = "300px",
e.wrap.height = i > .3 ? 300 / s * n + "px" : "100px",
e.image.height = "100%"),
e
}
},
methods: {
view: function(e) {
this.loadError || this.reloading || l.default.openImageViewer({
urlList: [{
id: 0,
url: e.originImage.url
}]
})
},
handleImgError: function() {
this.preCheck(this.message.image.originImage)
},
handleImgSuccess: function() {
this.reloading = !1,
this.loadError = !1
},
preCheck: function(e) {
var t = this;
return new Promise((function(n, s) {
var a = new XMLHttpRequest;
a.open("GET", null == e ? void 0 : e.url, !0),
a.onload = (0,
r.default)(i.default.mark((function s() {
var r, o, l;
return i.default.wrap((function(s) {
for (; ; )
switch (s.prev = s.next) {
case 0:
if (403 !== a.status) {
s.next = 9;
break
}
return s.next = 3,
(0,
c.getImgAuthUrl)({
url: encodeURIComponent(null == e ? void 0 : e.url)
});
case 3:
r = s.sent,
null != (o = r.zpData) && o.url && (e.url = null == o ? void 0 : o.url,
(l = t.message.image).originImage.url = null == o ? void 0 : o.url,
u.default.modify(p(p({}, t.message), {}, {
image: l
}))),
n(null == o ? void 0 : o.url),
s.next = 10;
break;
case 9:
404 === a.status ? (n(),
t.showReload = !1,
t.loadError = !0) : (n(),
t.loadError = !0,
t.reloading = !1);
case 10:
case "end":
return s.stop()
}
}
), s)
}
))),
a.onerror = function() {
n(),
t.loadError = !0,
t.reloading = !1
}
,
a.send()
}
))
},
reloadImage: function() {
this.reloading = !0,
this.imageKey++
}
}
}
}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1553)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(68),
n(2);
var i = s(n(1438))
, a = s(n(705))
, r = n(127)
, o = s(n(1428));
t.default = {
name: "MessageSticker",
components: {
MessageStatus: i.default,
MessageAvatar: o.default
},
props: {
message: {
type: Object,
default: function() {}
}
},
data: function() {
return {
isAdding: !1
}
},
computed: {
storedEmotions: function() {
return this.emotionList$.find((function(e) {
return 0 == e.packId
}
)).items || []
},
sticker: function() {
return this.message.sticker || {}
},
showCollect: function() {
var e = this;
return 0 === this.sticker.packId && !this.storedEmotions.find((function(t) {
return t.itemId === e.sticker.sid
}
))
}
},
methods: {
addEmotion: function() {
var e = this;
if (!this.isAdding && this.sticker) {
this.isAdding = !0;
var t = this.sticker
, n = t.sid
, s = t.encSid
, i = {
msgId: this.message.mid
};
s ? i.encSid = s : i.itemId = n,
(0,
r._collectSticker)(i).then((function(t) {
0 == t.code ? (e.$toast("添加成功", "success"),
a.default.updateSticker()) : e.$toast(t.message, "error"),
e.isAdding = !1
}
))
}
}
},
subscriptions: function() {
return {
emotionList$: a.default.emotionList$
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1555)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(12),
n(48),
n(37),
n(26);
var i = n(75)
, a = s(n(1428))
, r = s(n(707));
t.default = {
name: "JobDesc",
props: {
message: {
type: Object,
default: function() {
return {}
}
}
},
components: {
MessageAvatar: a.default
},
data: function() {
return {
tags: [],
showMore: !1
}
},
computed: {
jobDesc: function() {
return this.message.jobDesc
},
jobIcon: function() {
var e = this.jobDesc.extend || "{}";
return JSON.parse(e).iconUrl || ""
}
},
watch: {
message: {
handler: function(t) {
var n = this;
t && this.$nextTick((function() {
var s = e.get(t, ["jobDesc", "labels"], [])
, i = n.getMaxShow(s, "jobdesc-".concat(t.mid));
i < s.length - 1 ? (n.tags = s.slice(0, i + 1),
n.showMore = !0) : (n.showMore = !1,
n.tags = s)
}
))
},
immediate: !0
}
},
mounted: function() {},
methods: {
handleClickCard: function() {
if (3 === this.message.templateId) {
var e = this.jobDesc.url;
if (!e)
return;
var t = (0,
i.getQueryStringArgs)(e);
if (!t.url)
return;
var n = (0,
i.getQueryStringArgs)(t.url);
r.default.hezuo.projectDialog.employersServeDialog({
params: n
})
}
},
getMaxShow: function(t, n) {
var s = document.createElement("div");
s.className = "jobdesc-label job-conversation-labels ".concat(n),
s.innerHTML = t.map((function(e) {
return "".concat(e, "")
}
)).join(""),
document.body.appendChild(s);
var i = t.length
, a = document.body.querySelector(".".concat(n));
return e.each(a.childNodes, (function(e, t) {
e.offsetLeft + e.offsetWidth + 2 <= 290 && (i = t)
}
)),
a.parentNode.removeChild(a),
i
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1559)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
n(12),
n(14),
n(10),
n(2),
n(18),
n(6),
n(22);
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(25))
, a = s(n(155));
n(48),
n(37),
n(26);
var r = n(75)
, o = s(n(707))
, u = s(n(502));
function c(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var s = Object.getOwnPropertySymbols(e);
t && (s = s.filter((function(t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable
}
))),
n.push.apply(n, s)
}
return n
}
function l(e) {
for (var t = 1; t < arguments.length; t++) {
var n = null != arguments[t] ? arguments[t] : {};
t % 2 ? c(Object(n), !0).forEach((function(t) {
(0,
i.default)(e, t, n[t])
}
)) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c(Object(n)).forEach((function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
}
))
}
return e
}
t.default = {
name: "Resume",
props: {
message: {
type: Object,
default: function() {
return {}
}
}
},
data: function() {
return {
employer: 0,
tags: [],
showMore: !1
}
},
computed: {
resume: function() {
return this.message.resume
}
},
watch: {
message: {
handler: function(t) {
var n = this;
t && this.$nextTick((function() {
var s = e.get(t, ["resume", "labels"], [])
, i = n.getMaxShow(s, "resume-".concat(t.mid));
i < s.length - 1 ? (n.tags = s.slice(0, i + 1),
n.showMore = !0) : (n.showMore = !1,
n.tags = s)
}
))
},
immediate: !0
}
},
mounted: function() {
var e = u.default.getCard()
, t = (0,
a.default)(e, 2)[1];
this.employer = (null == t ? void 0 : t.employer) || 0
},
methods: {
handleClickCard: function() {
var e, t, n = this.resume.content3;
if (n) {
var s = (0,
r.getQueryStringArgs)(n);
if (s.url) {
var i = (0,
r.getQueryStringArgs)(s.url)
, a = i.encryptTaskId
, u = i.encryptExampleId
, c = i.encryptCompanyId;
i.source;
switch (this.message.templateId) {
case 4:
1 === this.employer && o.default.hezuo.router.push({
name: "employer-detail",
query: {
encryptTaskId: a
}
}),
2 === this.employer && o.default.hezuo.router.push({
name: "provider-detail",
query: {
encryptTaskId: a,
source: 2
}
});
break;
case 8:
null === o.default || void 0 === o.default || null === (e = o.default.hezuo) || void 0 === e || null === (e = e.projectDialog) || void 0 === e || null === (t = e.showExampleDetail) || void 0 === t || t.call(e, {
params: l({
encryptExampleId: u,
encryptCompanyId: c,
noOperate: 1 !== this.employer
}, 1 === this.employer && {
source: 4
})
})
}
}
}
},
getMaxShow: function(t, n) {
var s = document.createElement("div");
s.className = "resume-hidden-label resume-conversation-labels ".concat(n),
s.innerHTML = t.map((function(e) {
return "".concat(e, "")
}
)).join(""),
document.body.appendChild(s);
var i = t.length
, a = document.body.querySelector(".".concat(n));
return e.each(a.childNodes, (function(e, t) {
e.offsetLeft + e.offsetWidth + 2 <= 290 && (i = t)
}
)),
a.parentNode.removeChild(a),
i
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1563)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(37),
n(10),
n(2),
n(48),
n(26);
var i = s(n(1428))
, a = s(n(1801))
, r = n(227)
, o = s(n(510));
t.default = {
name: "ComDesc",
components: {
EllipsisMul: a.default,
MessageAvatar: i.default
},
props: {
message: {
type: Object,
default: function() {
return {}
}
}
},
inject: ["getBoss"],
data: function() {
return {
tags: [],
showMore: !1
}
},
computed: {
comDesc: function() {
return this.message.comDesc
},
comSimple: function() {
var e = this.comDesc;
return [e.stage, e.scale, e.industry].filter((function(e) {
return e
}
)).join("·")
},
bossInfo: function() {
return this.getBoss()
}
},
watch: {
message: {
handler: function(e) {
var t = this;
e && this.$nextTick((function() {
var n, s = (null == e || null === (n = e.comDesc) || void 0 === n ? void 0 : n.welfareLabels) || [], i = t.getMaxShow(s, "comDesc-".concat(e.mid));
i < s.length - 1 ? (t.tags = s.slice(0, i + 1),
t.showMore = !0) : (t.showMore = !1,
t.tags = s)
}
))
},
immediate: !0
}
},
mounted: function() {},
methods: {
handleCoverLoaded: function(e) {
var t = e.target || {}
, n = t.width
, s = t.height
, i = n / s;
i > 300 / 110 && s > 110 && (e.target.height = 110),
i < 300 / 110 && n > 300 && (e.target.width = 300)
},
handleClickCard: function() {
var e = this.comDesc.url;
if (e) {
var t = (0,
r.getQueryParams)(e);
switch (t.type) {
case "openCompanyHomepage":
if (t.encryptBrandId) {
var n = this.bossInfo
, s = n.encryptBossId
, i = n.encryptJobId;
this.sendAction({
action: "chat-brandcard-pcck",
p: s,
p2: i,
p4: t.encryptBrandId
}),
o.default.open("/gongsi/".concat(t.encryptBrandId, ".html"))
}
}
}
},
getMaxShow: function(e, t) {
var n = document.createElement("div");
n.className = "message-comdesc-label message-company-labels ".concat(t),
n.innerHTML = e.map((function(e) {
return "".concat(e, "")
}
)).join(""),
document.body.appendChild(n);
for (var s = e.length, i = document.body.querySelector(".".concat(t)), a = 0; a < i.childNodes.length; a += 1) {
var r = i.childNodes[a];
r.offsetLeft + r.offsetWidth + 2 <= 260 && (s = a)
}
return i.parentNode.removeChild(i),
s
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1565)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(46);
var s = n(1802);
t.default = {
props: {
line: {
type: Number,
default: 2
},
lineHeight: {
type: Number,
default: 18
}
},
computed: {
maxHeight: function() {
return this.line * this.lineHeight
}
},
data: function() {
return {
isOpen: !1,
isShowTool: !1,
toolText: ""
}
},
directives: {
tooltip: s.VTooltip
},
mounted: function() {
var t = this.$refs.contentWrap;
if (t.getBoundingClientRect().height > this.maxHeight) {
var n = this.$refs.textEle
, s = n.innerText;
this.toolText = s,
this.isShowTool = !0;
for (var i = 0; i < s.length; i++)
if (n.innerText = s.substr(0, i) + "...",
t.getBoundingClientRect().height > this.maxHeight) {
n.innerText = s.substr(0, i - 1) + "...";
break
}
}
this.isShow = e.debounce(this.isShow, 100, !0),
this.isHide = e.debounce(this.isHide, 100, !0)
},
methods: {
isShow: function() {
this.isOpen = !0
},
isHide: function() {
this.isOpen = !1
}
}
}
}
).call(this, n(49))
}
, , , , , , , , function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1577)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(15))
, a = s(n(16));
n(12),
n(17),
n(36),
n(67);
var r = s(n(1429))
, o = s(n(500))
, u = s(n(1896))
, c = s(n(1901))
, l = n(227)
, d = n(127)
, f = n(96)
, p = n(396)
, h = s(n(704))
, v = n(403);
t.default = {
name: "message-hyperlink",
components: {
MessageCard: r.default,
HyperlinkResume: u.default,
HyperlinkSafe: c.default
},
data: function() {
return {}
},
props: {
message: {
type: Object,
default: function() {
return {}
}
}
},
inject: ["getBoss"],
computed: {
bossInfo: function() {
return this.getBoss()
},
hyperLink: function() {
return this.message.hyperLink
},
extraJson: function() {
return this.hyperLink.extraJson || {}
},
urlParams: function() {
return this.hyperLink.url ? (0,
l.getQueryParams)(this.hyperLink.url) : {}
}
},
mounted: function() {
this.handleOpen = e.debounce(this.handleOpen, 500, !0)
},
methods: {
getStartText: function() {
return this.hyperLink.text.substr(0, this.extraJson.highlightStart) || ""
},
getHighlightText: function() {
return this.hyperLink.text.substr(this.extraJson.highlightStart, this.extraJson.highlightLength) || ""
},
getEndText: function() {
var e = (this.extraJson || {}).highlightEnd;
return this.hyperLink.text.substr(e, -1)
},
handleOpen: function() {
var e, t = this;
if (this.hyperLink.url) {
var n = this.bossInfo
, s = n.friendSource
, i = n.uniqueId
, a = this.urlParams;
if (a.ba) {
var r = JSON.parse(decodeURIComponent(a.ba));
this.sendAction(r)
}
if ("resume" != a.pcHyperLinkResumeType)
if ("prop" != a.pcHyperLinkResumeType)
if (1 !== this.extraJson.atsMessage)
switch (a.type) {
case "userInfo":
window.location.href = "/web/geek/resume";
break;
case "chatHelperExplainPopover":
(0,
p.openChatHelperTip)({
securityId: a.securityId,
mid: a.lastAiMsgId
});
break;
case "liveRecruitRoom":
var u = (a || {}).liveRecordId
, c = location.host.includes("pre-www.zhipin.com")
, l = ["127.0.0.1:8099", "boss-m-qa.weizhipin.com"].includes(location.host)
, m = "".concat(l ? "https://v-qa.weizhipin.com" : c ? "https://v-pre.zhipin.com" : "https://v.zhipin.com", "/detail/").concat(u);
iGeekRoot.open(m, "_blank");
break;
case "webview":
var g = decodeURIComponent(a.url);
null === (e = iGeekRoot) || void 0 === e || e.frameSlider({
url: g
});
break;
case "fastContactAccept":
this.authContact(a.friendId);
break;
case "geekApplyInterview":
h.default.openApplyInterview({
friendId: a.friendId,
friendSource: s
});
break;
case "closeSecondGreeting":
(0,
f.checkSecondGreet)({
securityId: a.securityId
}).then((function(e) {
0 == e.code ? (0,
d.closeSecondGreet)({
securityId: a.securityId
}).then((function(e) {
0 == e.code ? t.$toast({
content: "已为您关闭职位介绍",
type: "success"
}) : t.$toast({
content: e.message,
type: "error"
})
}
)) : t.$toast({
content: e.message,
type: "error"
})
}
));
break;
case "guanJiaContinueService":
(0,
d.continueService)({
securityId: a.securityId
}).then((function(e) {
0 !== e.code && t.$toast(e.message, "error")
}
));
break;
case "openReportAlert":
var b = a.reportedId
, y = a.targetId
, x = a.securityId
, _ = a.jobId;
o.default.handleReport({
source: 8,
securityId: x,
reportedId: b,
targetId: y,
uniqueId: i,
jobId: _
});
break;
default:
this.$toast("请前往App操作", "warning")
}
else
iGeekRoot.open("".concat(v.ATS_URL).concat(this.urlParams.extraInfo));
else
window.location.href = "/web/geek/props";
else
window.location.href = "/web/geek/resume"
}
},
authContact: function(e) {
var t = this;
return (0,
a.default)(i.default.mark((function n() {
var s;
return i.default.wrap((function(n) {
for (; ; )
switch (n.prev = n.next) {
case 0:
return n.prev = 0,
n.next = 3,
(0,
d._authContact)({
friendId: e
});
case 3:
0 === (s = n.sent).code ? t.$toast({
content: "已将您的联系方式告知boss",
type: "success"
}) : t.$toast({
content: s.message || "操作失败,请重试!",
type: "warning"
}),
n.next = 10;
break;
case 7:
n.prev = 7,
n.t0 = n.catch(0),
t.$toast({
content: "操作失败,请重试!",
type: "error"
});
case 10:
case "end":
return n.stop()
}
}
), n, null, [[0, 7]])
}
)))()
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1579)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(12);
var i = s(n(1429))
, a = s(n(1718))
, r = n(396)
, o = n(227)
, u = n(127);
t.default = {
name: "hyperlink-resume",
components: {
MessageCard: i.default,
ContextMenu: a.default
},
data: function() {
return {
pos: {},
showMenu: !1,
menuData: []
}
},
props: {
message: {
type: Object,
default: function() {
return {}
}
}
},
inject: ["getBoss"],
computed: {
bossInfo: function() {
return this.getBoss()
},
hyperLink: function() {
return this.message.hyperLink
},
extraJson: function() {
return this.hyperLink.extraJson || {}
},
buttons: function() {
return [{
disabled: !1,
onClick: this.handleOperate,
text: this.extraJson.mailTip || "点击预览附件简历"
}]
},
exposure: function() {
var e = this.bossInfo.securityId
, t = this.message
, n = t.bizType
, s = t.bizId
, i = t.mid;
return {
action: "c-chat-card-show",
p: n,
p2: s,
p3: t.fromId,
p4: "",
p5: "",
p6: i,
p7: "",
secid: e
}
}
},
mounted: function() {
var e, t = this;
null === (e = document.querySelector(".chat-message")) || void 0 === e || e.addEventListener("scroll", (function() {
t.showMenu = !1
}
))
},
methods: {
showContextmenu: function(e) {
var t = this;
if (e.preventDefault(),
e.stopPropagation(),
this.extraJson.resumeRevocable) {
this.pos = {
top: e.pageY - 10,
left: e.pageX - 10
},
this.menuData = [{
id: 1,
show: !0,
icon: "iboss-chexiao",
disabled: !1,
label: "撤回",
action: function(e) {
t.revocate(e)
}
}];
var n = this.bossInfo
, s = n.encryptJobId
, i = n.bossId;
this.sendAction({
action: "resume-send-request-recall-show",
p: i,
p2: s
}),
this.showMenu = !0
}
},
revocate: function() {
var e = this;
this.showMenu = !1;
var t = this.bossInfo
, n = t.encryptJobId
, s = t.bossId;
(0,
r.openRevokeResumeDialog)({
annexType: this.extraJson.annexType || 0,
encryptJobId: n,
bossId: s
}, (function() {
(0,
u.revokeMsg)({
messageId: e.message.mid
}).then((function(t) {
if (0 != t.code)
return e.$toast({
type: "error",
content: t.message
})
}
))
}
)),
this.sendAction({
action: "resume-send-request-recall-click",
p: s,
p2: n
})
},
handleOperate: function() {
var e = this.hyperLink.url
, t = (0,
o.getQueryParams)(e) || {}
, n = t.ba
, s = t.encryptResumeId
, i = t.url
, a = t.type
, u = t.annexType
, c = decodeURIComponent(i);
"webview" === a && (s = (0,
o.getQueryParams)(c).encryptResumeId);
try {
n && this.sendAction(JSON.parse(decodeURIComponent(n))),
this.sendAction({
action: "c-chat-card-click",
p: this.message.bizType,
p2: this.message.bizId,
p3: this.bossInfo.uid,
p4: this.extraJson.mailTip || "点击预览附件简历",
p5: this.message.mid
})
} catch (e) {}
var l = (0,
o.getQueryParams)(c).encryptParam;
(0,
r.attachmentResumePreview)({
previewType: "openFile" === a ? 1 : 0,
resumeId: s,
downloadUrl: "openFile" === a ? c : "",
annexType: u,
encryptParam: l
})
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1581)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(1897))
, a = s(n(1899));
t.default = {
name: "context-menu",
directives: {
transferDom: i.default,
clickoutside: a.default
},
props: {
pos: {
type: Object,
default: function() {
return {}
}
},
data: {
type: Array,
default: []
},
visable: {
type: Boolean,
default: !1
},
message: {
type: Object,
default: function() {
return {}
}
}
},
data: function() {
return {}
},
methods: {
handleHide: function() {
this.$emit("on-hide")
}
}
}
}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1584)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(12);
var i = n(227)
, a = s(n(500));
t.default = {
name: "hyperlink-safe",
props: {
message: {
type: Object,
default: {}
}
},
inject: ["getBoss"],
data: function() {
return {}
},
computed: {
bossInfo: function() {
return this.getBoss()
},
hyperLink: function() {
return this.message.hyperLink || {}
},
urlParams: function() {
return this.hyperLink.url ? (0,
i.getQueryParams)(this.hyperLink.url) : {}
},
extraJson: function() {
return this.hyperLink.extraJson || {}
}
},
methods: {
formateHyperLinkMsg: function() {
var e = this.hyperLink.text
, t = this.extraJson
, n = t.highlightStart
, s = t.highlightLength
, i = t.highlightEnd;
return e.substr(0, n) + '' + e.substr(n, s) + "" + e.substr(i, -1)
},
handleOpenHyperLinkType: function(e) {
if (this.urlParams.type)
if ("A" === e.target.tagName) {
var t = this.bossInfo.uniqueId
, n = this.urlParams
, s = n.reportedId
, i = n.targetId
, r = n.securityId
, o = n.jobId
, u = n.ba;
if (u) {
var c = JSON.parse(decodeURIComponent(u));
this.sendAction(c)
}
if ("openReportAlert" === this.urlParams.type)
return void a.default.handleReport({
source: 8,
securityId: r,
reportedId: s,
targetId: i,
uniqueId: t,
jobId: o
});
this.extraJson.highlightLength > 0 && this.showDialog(this.urlParams.url)
} else
this.showDialog(this.urlParams.url)
},
showDialog: function(e) {
var t;
e && (null === (t = iGeekRoot) || void 0 === t || null === (t = t.ChatDialog) || void 0 === t || t.openH5Dialog({
url: decodeURIComponent(e)
}))
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1586)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(12);
var i = s(n(1429))
, a = s(n(704))
, r = s(n(1428))
, o = n(227);
t.default = {
name: "message-interview",
props: {
message: {
type: Object,
default: {}
}
},
components: {
MessageCard: i.default,
MessageAvatar: r.default
},
inject: ["getBoss"],
data: function() {
return {
loadSuccess: !0
}
},
computed: {
interview: function() {
return this.message.interview || {}
},
interviewExtend: function() {
return this.interview.extend ? JSON.parse(this.interview.extend) : {}
},
cardButtons: function() {
return [{
text: "立即查看",
onClick: this.interDetail
}]
},
bossInfo: function() {
return this.getBoss()
}
},
methods: {
interDetail: function() {
if ("interviewdetail" === (0,
o.getQueryParams)(this.interview.url).type) {
var e = this.bossInfo
, t = e.uid
, n = e.encryptBossId
, s = e.friendSource
, i = e.jobId
, r = e.securityId;
a.default.openInterviewDetail({
encryptBossId: n,
friendSource: s,
uid: t,
jobId: i,
securityId: r
}),
this.conversion("chatview_message_interview_" + t)
}
},
handleError: function() {
this.loadSuccess = !1
},
showOfferDetail: function() {
var e = (0,
o.getQueryParams)(this.interview.url);
if (e.ba)
try {
this.sendAction({
action: decodeURIComponent(e.ba)
})
} catch (e) {}
if ("interviewGetResult" !== e.type) {
var t = decodeURIComponent(e.url);
if (t) {
var n = (0,
o.getQueryParams)(decodeURIComponent(t))
, s = n.offerId
, i = n.securityJobId;
a.default.openOfferDetail({
offerId: s,
securityId: this.bossInfo.securityId
});
try {
_T.sendEvent("geek_offer_click", i)
} catch (e) {}
}
} else
a.default.openInterviewResult({
encryptInterviewId: e.encryptInterviewId,
bossId: this.bossInfo.uid
})
}
}
}
}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1589)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(15))
, a = s(n(16));
n(36),
n(12);
var r = s(n(708))
, o = s(n(501))
, u = n(227)
, c = s(n(500))
, l = s(n(1429))
, d = s(n(1906))
, f = s(n(1909))
, p = n(75)
, h = n(712)
, v = n(392)
, m = s(n(1428));
t.default = {
name: "message-article",
props: {
message: {
type: Object,
default: {}
}
},
directives: {
clickoutside: o.default
},
components: {
MessageCard: l.default,
ArticlesBoth: d.default,
ArticlesCenter: f.default,
MessageAvatar: m.default
},
inject: ["getBoss"],
computed: {
article: function() {
return this.message.articles[0]
},
articlesBoth: function() {
var e = this.article.templateId;
return [201, 202].includes(e)
},
articlesCenter: function() {
var e = this.article.templateId;
return [4, 5, 8, 9, 12].includes(e) || 15 === this.message.bodyType && 201 === e
},
cardButtons: function() {
var e = this.article.bottomText;
return e ? [{
text: e,
onClick: this.handleClick
}] : []
},
isAts: function() {
return 4 === this.message.type && 16 === this.message.bodyType && [201].includes(this.article.templateId)
},
bossInfo: function() {
return this.getBoss()
}
},
data: function() {
return {
show: !1,
url: "",
itemId: "",
analyzerTips: "",
levelType: 1
}
},
methods: {
handleClick: function() {
var e = this;
return (0,
a.default)(i.default.mark((function t() {
var n, s, a, r, o, l, d, f, h, m, g, b, y, x, _, w, C, k;
return i.default.wrap((function(t) {
for (; ; )
switch (t.prev = t.next) {
case 0:
if (e.article.url) {
t.next = 2;
break
}
return t.abrupt("return");
case 2:
s = (0,
u.getQueryParams)(e.article.url);
try {
s.ba && (a = JSON.parse(decodeURIComponent(s.ba)),
e.sendAction(a)),
e.sendAction({
action: "c-chat-card-click",
p: e.message.bizType,
p2: e.message.bizId,
p3: e.bossInfo.uid,
p4: e.article.bottomText,
p5: e.message.mid
})
} catch (e) {}
if (r = e.bossInfo,
o = r.encryptJobId,
l = r.uid,
!(e.article.url.indexOf("/html/props/transit") > -1)) {
t.next = 26;
break
}
return e.sendAction({
action: "action-addfriend-safenotice-click",
p: o
}),
t.next = 9,
(0,
v.checkAnalyzer)({
encryptJobId: o
});
case 9:
if (d = t.sent,
f = d.zpData,
1 == (h = void 0 === f ? {} : f).status && h.jumpUrl && (e.show = !0,
e.url = h.jumpUrl),
0 !== h.status) {
t.next = 24;
break
}
if (m = h.levelType,
g = h.firstUse,
b = h.itemLeftCount,
y = h.userItemId,
x = h.leftHighLight,
_ = void 0 === x ? {} : x,
e.left = b,
e.itemId = y,
e.levelType = m,
1 !== m) {
t.next = 23;
break
}
if (1 === g && (e.analyzerTips = null == _ ? void 0 : _.content),
!(e.left > 0 && 0 === g)) {
t.next = 23;
break
}
return e.consume(),
t.abrupt("return");
case 23:
e.left > 0 ? e.show = !0 : null === (w = iGeekRoot) || void 0 === w || w.frameSlider({
url: h.h5BuyJumpUrl
});
case 24:
return e.sendEvent("show_personal_competitive_chat"),
t.abrupt("return");
case 26:
t.t0 = s.type,
t.next = "editDesignWorks" === t.t0 ? 29 : "userInfo" === t.t0 ? 33 : "updateWorkDate" === t.t0 ? 35 : "editresume" === t.t0 ? 39 : "openattachmentresume" === t.t0 ? 41 : "webview" === t.t0 ? 43 : "onlineRemind" === t.t0 ? 55 : 57;
break;
case 29:
"/web/geek/resume?scrollToBottom=1",
window.location.href = "/web/geek/resume?scrollToBottom=1";
try {
e.sendAction({
action: "pic-chat-click",
p: l,
p2: o,
p3: s.itemType
})
} catch (e) {}
return t.abrupt("break", 58);
case 33:
return window.location.href = "/web/geek/resume?ka=chat_message_jump",
t.abrupt("break", 58);
case 35:
return C = "/web/geek/resume",
2 == s.entrance && (C += "?editItem=history"),
window.location.href = C,
t.abrupt("break", 58);
case 39:
return window.location.href = "/web/geek/resume?editItem=work-display-designWorks",
t.abrupt("break", 58);
case 41:
return window.location.href = "/web/geek/resume",
t.abrupt("break", 58);
case 43:
if (!((k = decodeURIComponent(s.url)).indexOf("/edu-certification/cert-list") > -1)) {
t.next = 47;
break
}
return iGeekRoot.bossDialog({
immediate: !0,
wrapClass: "dialog-default",
type: "warning",
title: "温馨提醒",
content: "请前往BOSS直聘APP端进行学历认证",
confirmButtonText: "我知道了",
showCancelButton: !1
}),
t.abrupt("return");
case 47:
if (!(k.indexOf("resume-detail/resume-grade-latest") > -1 || k.indexOf("resume/diagnosis/home") > -1)) {
t.next = 50;
break
}
return window.location.href = "/web/geek/resume?source=diagnose",
t.abrupt("return");
case 50:
if (!e.isAts) {
t.next = 53;
break
}
return (0,
p.openNewPage)(k),
t.abrupt("return");
case 53:
return null === (n = iGeekRoot) || void 0 === n || n.frameSlider({
url: k
}),
t.abrupt("break", 58);
case 55:
return 2 == e.features$.onlineRemind ? c.default.sendOnlinePublish({
source: 12,
from: 29
}) : e.$toast("该权益暂不可使用"),
t.abrupt("break", 58);
case 57:
return t.abrupt("break", 58);
case 58:
case "end":
return t.stop()
}
}
), t)
}
)))()
},
hide: function() {
this.show = !1
},
handleCheck: function() {
var e;
null === (e = iGeekRoot) || void 0 === e || e.frameSlider({
url: this.url
}),
this.hide()
},
consume: function() {
var e = this
, t = {
encryptJobId: this.bossInfo.encryptJobId,
encryptUserItemId: this.itemId,
source: "chat_use"
};
(0,
h.consumeAnalyzer)(t).then((function(t) {
0 === t.code ? e.show = !1 : e.$toast({
content: t.message,
type: "error"
})
}
))
}
},
subscriptions: function() {
return {
features$: r.default.val$
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1591)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(36);
var i = s(n(1429))
, a = s(n(704))
, r = n(227)
, o = n(181);
t.default = {
name: "articles-both",
props: {
message: {
type: Object,
default: function() {
return []
}
},
buttons: {
type: Array,
default: function() {
return []
}
},
article: {
type: Object,
default: function() {}
}
},
components: {
MessageCard: i.default
},
inject: ["getBoss"],
computed: {
isVideoResume: function() {
return 3 === this.message.type && 16 === this.message.bodyType && [201, 202].includes(this.article.templateId)
},
bossInfo: function() {
return this.getBoss()
},
exposure: function() {
var e = this.bossInfo.securityId
, t = this.message
, n = t.bizType
, s = t.bizId
, i = t.mid;
return {
action: "c-chat-card-show",
p: n,
p2: s,
p3: t.fromId,
p4: "",
p5: "",
p6: i,
p7: "",
secid: e
}
}
},
methods: {
handlePlay: function() {
var e = this;
if (this.article.url) {
var t = this.bossInfo
, n = t.uid
, s = t.jobId
, i = (0,
r.getQueryParams)(this.article.url);
201 == this.article.templateId ? (0,
o._getVideoResume)({
playParam: i.playParam,
messageId: this.message.mid,
from: 3
}).then((function(t) {
if (0 == t.code) {
var i = t.zpData.videoPlayUrl;
a.default.openPlayVideo({
url: i
}),
e.sendAction({
action: "lifecycle-resume-send-bossdetail",
p: n,
p5: s
})
} else
e.$toast({
content: t.message,
type: "error"
});
try {
var r = {
action: "lifecycle-resume-video-bossdetail",
p: n,
p2: 3,
p3: 0 == t.code ? 1 : 0
};
r.p3 || (r.p4 = {
200045: 2,
200046: 1,
200047: 3
}[t.code]),
e.sendAction(r)
} catch (e) {}
}
)) : 202 == this.article.templateId && (0,
o.getVideoGreet)({
encryptId: i.encryptId,
messageId: this.message.mid,
securityId: i.securityId
}).then((function(t) {
if (0 == t.code) {
var s = t.zpData.videoUrl;
a.default.openPlayVideo({
url: s
}),
e.sendAction({
action: "lifecycle-resume-videohi-detail",
p: n
})
} else
e.$toast({
content: t.message,
type: "error"
})
}
))
}
}
}
}
}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1594)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(12),
n(14),
n(73);
var i = n(75)
, a = n(227)
, r = s(n(1429))
, o = s(n(716))
, u = s(n(1910));
t.default = {
name: "article-center",
props: {
message: {
type: Object,
default: {}
},
buttons: {
type: Array,
default: function() {
return []
}
},
article: {
type: Object,
default: function() {
return {}
}
}
},
components: {
MessageCard: r.default
},
inject: ["getBoss"],
data: function() {
return {
h5Dialog: null
}
},
computed: {
bossInfo: function() {
return this.getBoss()
},
title: function() {
var e, t = this.article;
return null !== (e = t.dimParts) && void 0 !== e && e.length ? (0,
i.toBlurStr)({
str: t.title,
blurList: t.dimParts
}) : t.title
},
picUrl: function() {
switch ((0,
a.getQueryParams)(this.article.url).type) {
case "geekApplyInterview":
return o.default;
case "userInfo":
return u.default
}
return this.article.picUrl || ""
},
subTitle: function() {
var e, t = this.article;
return null !== (e = t.highlightParts) && void 0 !== e && e.length ? (0,
i.toBlurStr)({
str: t.subTitle,
blurList: t.highlightParts
}) : t.subTitle
},
extend: function() {
var e = this.article.extend;
if (!e)
return {};
try {
return JSON.parse(e) || {}
} catch (t) {
return e || {}
}
},
description: function() {
var e, t = this.article;
return null !== (e = this.extend.descriptionHighParts) && void 0 !== e && e.length ? (0,
i.toBlurStr)({
str: t.description,
blurList: this.extend.descriptionHighParts
}) : t.description
},
exposure: function() {
var e = this.bossInfo.securityId
, t = this.message
, n = t.bizType
, s = t.bizId
, i = t.mid;
return {
action: "c-chat-card-show",
p: n,
p2: s,
p3: t.fromId,
p4: "",
p5: "",
p6: i,
p7: "",
secid: e
}
}
},
mounted: function() {
window.addEventListener("message", this.postMessageHandler, !1),
12 == this.article.templateId && ("查看求职防骗指南" == this.article.bottomText && this.sendEvent("show_msg_antiguide"),
"点击了解兼职防骗知识" == this.article.bottomText && this.sendEvent("show_msg_partjob"))
},
methods: {
handleClick: function() {
var e, t = (0,
a.getQueryParams)(this.article.url), n = "";
n = 12 == this.article.templateId ? decodeURIComponent(t.url) : t.url,
this.h5Dialog = null === (e = iGeekRoot) || void 0 === e || null === (e = e.ChatDialog) || void 0 === e ? void 0 : e.openH5Dialog({
url: n
}),
"查看求职防骗指南" == this.article.bottomText && this.sendEvent("show_frame_antiguide"),
"点击了解兼职防骗知识" == this.article.bottomText && this.sendEvent("show_frame_partjob");
try {
var s = JSON.parse(decodeURIComponent(t.ba));
this.sendAction(s);
var i = decodeURIComponent(t.url)
, r = (0,
a.getQueryParams)(i);
this.sendAction({
action: "action-detail-job-report",
p: this.bossInfo.encryptJobId,
p2: 2,
p3: r ? 1 : 0
})
} catch (e) {}
},
postMessageHandler: function(e) {
var t, n;
"iframeClose" == e.data.type && (null === (t = this.h5Dialog) || void 0 === t || null === (n = t.close) || void 0 === n || n.call(t))
}
},
beforeDestroy: function() {
window.removeEventListener("message", this.postMessageHandler, !1)
}
}
}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1598)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(19),
n(50);
var i = s(n(1428))
, a = s(n(500));
t.default = {
name: "MessageListCard",
props: {
message: {
type: Object,
default: function() {}
}
},
components: {
MessageAvatar: i.default
},
data: function() {
return {}
},
inject: ["getBoss"],
computed: {
listCard: function() {
return this.message.listCard || {}
},
bossInfo: function() {
return this.getBoss()
}
},
methods: {
handleSend: function(e) {
a.default.sendMessage(e.replace(/</gi, "<").replace(/>/gi, ">"));
var t = this.bossInfo
, n = t.encryptJobId
, s = t.uid;
this.sendAction({
action: "biz-block-vip-ChatHelperCardClick",
p: n,
p2: s,
p3: e
})
}
}
}
}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1601)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(15))
, a = s(n(16));
n(36);
var r = s(n(1429))
, o = s(n(1428))
, u = s(n(1916))
, c = s(n(1929));
t.default = {
name: "message-dialog",
props: {
message: {
type: Object,
default: {}
}
},
components: {
MessageCard: r.default,
MessageAvatar: o.default,
DialogBoth: u.default,
DialogCenter: c.default
},
inject: ["getBoss"],
computed: {
bossInfo: function() {
return this.getBoss()
},
dialog: function() {
return this.message.dialog || {}
},
dialogBoth: function() {
var e = this.dialog.type;
return [0, 1, 2, 8, 11, 12, 14, 17, 22, 33, 44].includes(e)
},
dialogCenter: function() {
var e = this.dialog.type;
return [26, 27, 32, 34, 35, 36, 40, 47].includes(e)
}
},
data: function() {
return {}
},
methods: {
handleClick: function() {
return (0,
a.default)(i.default.mark((function e() {
return i.default.wrap((function(e) {
for (; ; )
switch (e.prev = e.next) {
case 0:
case "end":
return e.stop()
}
}
), e)
}
)))()
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1603)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
n(14),
n(10),
n(18),
n(22);
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(15))
, a = s(n(16))
, r = s(n(25));
n(12),
n(48),
n(2),
n(6),
n(40),
n(36),
n(76);
var o = s(n(1429))
, u = s(n(500))
, c = s(n(704))
, l = n(227)
, d = s(n(1917))
, f = s(n(1924))
, p = s(n(1700))
, h = s(n(706))
, v = n(228)
, m = n(75)
, g = s(n(1431))
, b = n(116);
function y(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var s = Object.getOwnPropertySymbols(e);
t && (s = s.filter((function(t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable
}
))),
n.push.apply(n, s)
}
return n
}
function x(e) {
for (var t = 1; t < arguments.length; t++) {
var n = null != arguments[t] ? arguments[t] : {};
t % 2 ? y(Object(n), !0).forEach((function(t) {
(0,
r.default)(e, t, n[t])
}
)) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y(Object(n)).forEach((function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
}
))
}
return e
}
t.default = {
name: "dialog-both",
props: {
message: {
type: Object,
default: function() {
return {
article: []
}
}
},
dialog: {
type: Object,
default: function() {
return {}
}
}
},
components: {
MessageCard: o.default,
DialogPosition: d.default,
DialogAutoResponder: f.default,
MessageOpener: p.default,
UploadResume: h.default
},
inject: ["getBoss"],
computed: {
bossInfo: function() {
return this.getBoss()
},
extend: function() {
return JSON.parse(this.dialog.extend || "{}")
},
buttons: function() {
return this.dialog.buttons.slice().reverse()
},
cardButtons: function() {
var e = this
, t = this.buttons
, n = this.dialog
, s = n.operated
, i = n.clickMore;
return t.forEach((function(t) {
t.disabled = s && !i,
t.onClick = e.handleOperate
}
)),
t
},
hunterShowAgreementContent: function() {
var e = null
, t = this.extend
, n = t.hunterShowAgreement
, s = t.contentHighlight;
if (n) {
var i = decodeURIComponent(s.subUrl);
e = {
hunterShowAgreement: !0,
content: (0,
v.formateDialogHightMsg)(x(x({}, s), {}, {
content: this.dialog.content
})),
url: i
}
}
return e
},
content: function() {
var e = null;
if (this.extend && this.dialog.content) {
var t = this.extend.highlightContent;
if (t) {
var n = "";
try {
n = JSON.parse(t)
} catch (e) {
n = t
}
e = (0,
m.toHighlight)({
str: this.dialog.content,
highlightList: n
})
}
}
return e
},
hasResumeAttachment: function() {
return !!(this.resumeInfo.resumeList || []).length
},
complete: function() {
return this.resumeInfo.complete || !1
},
isDesign: function() {
return this.resumeInfo.isDesign || !1
},
exposure: function() {
var e = this.bossInfo.securityId
, t = this.message
, n = t.bizType
, s = t.bizId
, i = t.mid;
return {
action: "c-chat-card-show",
p: n,
p2: s,
p3: t.fromId,
p4: "",
p5: "",
p6: i,
p7: "",
secid: e
}
}
},
data: function() {
return {
types: {
0: "contact",
1: "weixin",
2: "resume",
8: "interest",
11: "contact",
12: "note",
14: "geekboom",
33: "interviewBatch"
},
themeMap: {
0: "",
1: "boss-green",
2: "green",
3: "blue",
4: "orange"
},
geekboomMap: {
phone: n(1926),
wechat: n(1927),
resume: n(1720),
"editor-resume": n(1720)
},
showUpload: !1,
resumeInfo: {},
extendBtn: []
}
},
mounted: function() {
this.getExtendBtn(),
this.handleOperate = e.debounce(this.handleOperate, 500, !0)
},
methods: {
getExtendBtn: function() {
var e = []
, t = this.extend
, n = t.extendLeftButton
, s = t.extendRightButton;
if (t.extendBtn) {
var i = {
1: {
className: "phone",
btnText: "电话号码",
requestType: "contact",
url: "bosszp://bosszhipin.app/openwith?aid=94"
},
2: {
className: "wechat",
btnText: "微信号码",
requestType: "weixin",
url: "bosszp://bosszhipin.app/openwith?aid=126"
},
3: {
className: "editor-resume",
btnText: "附件简历",
requestType: "resume",
url: "bosszp://bosszhipin.app/openwith?aid=38"
}
};
n && e.push(Object.assign(n, i[n.type])),
s && e.push(Object.assign(s, i[s.type]))
}
this.extendBtn = e
},
handleOpenHight: function(e) {
e.target && "A" === e.target.nodeName && iGeekRoot.frameSlider({
url: this.hunterShowAgreementContent.url
})
},
handleShowInterview: function() {
var e = this.bossInfo
, t = e.uid
, n = e.encryptBossId
, s = e.friendSource
, i = e.jobId
, a = e.securityId
, r = {
encryptInterviewIntentionId: this.getInterviewId(),
encryptBossId: n,
friendSource: s,
uid: t,
jobId: i,
securityId: a
};
c.default.openInterviewDetail(r),
this.conversion("ka" + t)
},
getInterviewId: function() {
var e = this.dialog.buttons[0];
return (0,
l.getQueryParams)(e.url).encryptInterviewIntentionId
},
isGeekBoomGetWeixin: function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
if (e.url) {
var t = (0,
l.getQueryParams)(e.url);
return "126" != t.aid && "127" != t.aid || e.requestType ? void 0 : "geekboomGetWeixin"
}
},
handleOperate: function(e) {
var t = (0,
l.getQueryParams)(e.url);
try {
if (t.ba) {
var n = JSON.parse(decodeURIComponent(t.ba));
this.sendAction(n)
}
this.sendAction({
action: "c-chat-card-click",
p: this.message.bizType,
p2: this.message.bizId,
p3: this.bossInfo.uid,
p4: e.btnText,
p5: this.message.mid
})
} catch (e) {}
if (33 !== this.dialog.type) {
["28", "33", "38", "59", "82", "94", "126"].includes(t.aid) && this.handleAccept(e),
["29", "34", "39", "60", "83", "95", "127"].includes(t.aid) && this.handleReject(e)
} else
this.handleDialogInterview(t)
},
handleDialogInterview: function(e) {
var t = this;
this.submitting = !0,
(0,
b.dialogInterview)(e).then((function(e) {
t.submitting = !1,
0 !== e.code && t.$toast(e.message, "error")
}
))
},
handleAccept: function(e) {
var t = this;
return (0,
a.default)(i.default.mark((function n() {
var s, a, r, o, u, c, l, d, f, p;
return i.default.wrap((function(n) {
for (; ; )
switch (n.prev = n.next) {
case 0:
if (s = t.bossInfo,
a = s.securityId,
r = s.friendSource,
o = t.message,
u = o.mid,
c = o.dialog,
l = {
securityId: a,
mid: u
},
d = {
contact: 1,
weixin: 2,
resume: 4,
geekboom: 1,
geekboomGetWeixin: 2
},
f = e.requestType || t.isGeekBoomGetWeixin(e) || t.types[c.type],
p = d[f],
l.type = f,
!p) {
n.next = 11;
break
}
return n.next = 10,
g.default.acceptCheck({
mid: u,
type: p,
securityId: a,
from: 2 === c.type && 0 === t.extendBtn.length ? "chat-im-resume" : "",
friendSource: r
}, x(x({}, t.hunterShowAgreementContent || {}), {}, {
onConfirm: function(n) {
t.acceptCheckOnConfirm(p, e, n, l)
}
}));
case 10:
return n.abrupt("return");
case 11:
t.acceptFunc(l, e);
case 12:
case "end":
return n.stop()
}
}
), n)
}
)))()
},
acceptCheckOnConfirm: function(e, t, n, s) {
if (n) {
if (4 == e) {
var i = n.resumeInfo;
if (!i)
return;
if (!i.resumeId)
return this.resumeInfo = i.resume || {},
void this.handleToUpload();
s.resumeId = i.resumeId
}
this.acceptFunc(s, t)
}
},
acceptFunc: function() {
var e = this
, t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
, n = arguments.length > 1 ? arguments[1] : void 0
, s = ["contact", "weixin", "resume"];
t.type && s.includes(t.type) ? g.default.accept(t).then((function(s) {
if (s && 0 === s.status)
if (null != n && n.requestType) {
var i = e.extendBtn.findIndex((function(e) {
return e.requestType === n.requestType
}
));
e.extendBtn[i].clicked = !0
} else
u.default.setDialogOperated({
mid: t.mid
})
}
)) : g.default.acceptOthers(t).then((function(t) {
t && u.default.setDialogOperated({
mid: e.message.mid
})
}
))
},
handleReject: function(e) {
var t = this.bossInfo.securityId
, n = this.message
, s = n.mid
, i = n.dialog
, a = e.requestType || this.isGeekBoomGetWeixin(e) || this.types[i.type];
if (a) {
var r = {
securityId: t,
type: a,
mid: s
};
g.default.reject(r).then((function(e) {
e && u.default.setDialogOperated({
mid: r.mid
})
}
))
}
},
handleCloseUpload: function() {
this.showUpload = !1
},
handleToUpload: function() {
this.showUpload = !0
},
uploadClickCallBack: function() {
var e = this
, t = this.bossInfo.securityId
, n = this.message
, s = n.mid
, i = n.dialog
, a = {
securityId: t,
mid: s
};
c.default.openSendOnlineResume({
callback: function(t) {
var n = t.resumeId;
n && (a.resumeId = n,
a.type = e.types[i.type],
e.acceptFunc(a))
}
})
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1605)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
n(14),
n(10),
n(18),
n(6),
n(22),
n(20),
n(34),
n(117),
n(28);
var s = n(1)
, i = n(29);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var a = s(n(15))
, r = s(n(185));
n(12),
n(48),
n(2),
n(38),
n(30),
n(26);
var o = s(n(16))
, u = s(n(25))
, c = n(227)
, l = n(127)
, d = n(391)
, f = n(504)
, p = ["actionName", "actionType", "code", "message"];
function h(e) {
if ("function" != typeof WeakMap)
return null;
var t = new WeakMap
, n = new WeakMap;
return (h = function(e) {
return e ? n : t
}
)(e)
}
function v(e, t) {
if (!t && e && e.__esModule)
return e;
if (null === e || "object" != i(e) && "function" != typeof e)
return {
default: e
};
var n = h(t);
if (n && n.has(e))
return n.get(e);
var s = {
__proto__: null
}
, a = Object.defineProperty && Object.getOwnPropertyDescriptor;
for (var r in e)
if ("default" !== r && {}.hasOwnProperty.call(e, r)) {
var o = a ? Object.getOwnPropertyDescriptor(e, r) : null;
o && (o.get || o.set) ? Object.defineProperty(s, r, o) : s[r] = e[r]
}
return s.default = e,
n && n.set(e, s),
s
}
function m(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var s = Object.getOwnPropertySymbols(e);
t && (s = s.filter((function(t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable
}
))),
n.push.apply(n, s)
}
return n
}
function g(e) {
for (var t = 1; t < arguments.length; t++) {
var n = null != arguments[t] ? arguments[t] : {};
t % 2 ? m(Object(n), !0).forEach((function(t) {
(0,
u.default)(e, t, n[t])
}
)) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m(Object(n)).forEach((function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
}
))
}
return e
}
t.default = {
name: "dialog-position",
props: {
message: {
type: Object,
default: {}
}
},
inject: ["getBoss"],
computed: g(g({}, (0,
d.mapGetters)(["isLogin", "userId"])), {}, {
dialog: function() {
return this.message.dialog || {}
},
text: function() {
return JSON.parse(this.dialog.text || "{}")
},
bossInfo: function() {
return this.getBoss()
}
}),
methods: {
handleDialogBtnClick: function(e) {
var t = (0,
c.getQueryParams)(e)
, n = this.message.mid;
switch (t.type) {
case "sendaction":
document.querySelector(".chat-input");
var s = this.dialog.extend;
s = s ? JSON.parse(s || "{}") : {},
"112" == t.aid ? ((0,
l._acceptSendJobLocation)({
toUserId: t.uid,
messageId: n
}),
s.verbalInterview ? "我已收到面试地点" : "工作地点我可以接受。",
this.sendAction({
action: "chat-location-agree",
p: t.uid,
p2: t.jobId || this.bossInfo.jobId,
p3: s.verbalInterview ? 2 : 1
})) : "113" == t.aid && ((0,
l._rejectSendJobLocation)({
toUserId: t.uid,
messageId: n
}),
s.verbalInterview ? "不好意思,暂时不考虑去面试" : "不好意思,贵司办公地址有点远,暂时不在我考虑范围之内。",
this.sendAction({
action: "chat-location-refuse",
p: t.uid,
p2: t.jobId || this.bossInfo.jobId,
p3: s.verbalInterview ? 2 : 1
})),
this.message.dialog.operated = !0
}
},
focusContenteditableElement: function(e) {
var t = window.getSelection()
, n = document.createRange()
, s = e.childNodes.length;
n.setStart(e, s),
n.setEnd(e, s),
n.collapse(!1),
t.removeAllRanges(),
t.addRange(n),
e.focus()
},
handleShowMap: function() {
var e = this;
return (0,
o.default)(a.default.mark((function t() {
var s, i, o, u, c, l, d;
return a.default.wrap((function(t) {
for (; ; )
switch (t.prev = t.next) {
case 0:
if (s = e.text,
e.sendEvent("location-card-click", e.bossInfo.uid, e.bossInfo.encryptJobId),
t.prev = 2,
e.userId) {
t.next = 6;
break
}
return window.ShowLoginDialog.showBossLogin({
params: {}
}),
t.abrupt("return");
case 6:
t.next = 10;
break;
case 8:
t.prev = 8,
t.t0 = t.catch(2);
case 10:
return i = "map-container-" + Math.random().toString(36).slice(-8),
o = [s.longitude, s.latitude],
t.next = 14,
Promise.resolve().then((function() {
return v(n(1919))
}
));
case 14:
if (u = t.sent,
c = u.createMap,
l = {
env: "prod",
trackEvent: function() {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
, n = t.actionName
, s = t.actionType
, i = t.code
, a = t.message
, o = (0,
r.default)(t, p);
e.$magpieLog({
actionName: n,
actionType: s,
json: JSON.stringify({
code: i,
message: a,
data: o
})
})
}
},
t.t1 = !e.map,
!t.t1) {
t.next = 22;
break
}
return t.next = 21,
c("zhipin-web-4b", l);
case 21:
e.map = t.sent;
case 22:
d = {
lba: o,
containerId: i,
width: 600,
height: 500
},
null === f.openBossMapLocationDialog || void 0 === f.openBossMapLocationDialog || (0,
f.openBossMapLocationDialog)(g(g({}, d), {}, {
title: s.locationDesc,
onOpen: function() {
e.$nextTick((function() {
e.initMap(s, d)
}
))
},
onClose: function() {}
}));
case 24:
case "end":
return t.stop()
}
}
), t, null, [[2, 8]])
}
)))()
},
initMap: function() {
var e = arguments
, t = this;
return (0,
o.default)(a.default.mark((function n() {
var s, i, r, o, u;
return a.default.wrap((function(n) {
for (; ; )
switch (n.prev = n.next) {
case 0:
if (s = e.length > 0 && void 0 !== e[0] ? e[0] : {},
i = e.length > 1 && void 0 !== e[1] ? e[1] : {},
r = e.length > 2 && void 0 !== e[2] ? e[2] : 2,
i && i.containerId) {
n.next = 5;
break
}
return n.abrupt("return");
case 5:
if (o = i.containerId,
u = i.lba,
document.getElementById(o)) {
n.next = 9;
break
}
return r > 0 && setTimeout((function() {
return t.initMap(s, i, r - 1)
}
), 500),
n.abrupt("return");
case 9:
return n.next = 11,
t.map.initMap(i.containerId, {
center: u,
zoom: 16,
originMapName: "gaode"
});
case 11:
t.map.addMarker(u, {
originMapName: "gaode"
}),
t.map.addInfoWindow(u, {
content: s.locationDesc || "",
originMapName: "gaode",
offset: [0, -35]
}),
t.map.addControl(["Scale", {
name: "ToolBar",
position: "RB"
}]);
case 14:
case "end":
return n.stop()
}
}
), n)
}
)))()
}
}
}
}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1608)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var s = n(508);
t.default = {
name: "dialog-auto-responder",
props: {
message: {
type: Object,
default: {}
}
},
inject: ["getBoss"],
computed: {
selectedIndex: function() {
return this.message.dialog.selectedIndex
},
operated: function() {
return this.message.dialog.operated
},
bossInfo: function() {
return this.getBoss()
}
},
mounted: function() {
this.sendAction({
action: "action-chat-jobqa-autoreply",
p: this.bossInfo.uid
}),
this.message.dialog.selectedIndex || this.$set(this.message.dialog, "selectedIndex", 0),
this.toggleLike = e.debounce(this.toggleLike, 500, !0)
},
methods: {
toggleLike: function(e, t) {
var n = this;
if (!this.message.dialog.operated) {
var i = {
bossId: this.bossInfo.encryptBossId,
mid: this.message.mid,
btnIndex: t + 1,
source: this.bossInfo.friendSource
};
(0,
s.reportDialogAction)(i).then((function(e) {
1 === e.rescode && (n.message.dialog.selectedIndex = t + 1)
}
))
}
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1612)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
n(14),
n(10),
n(18),
n(22);
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(15))
, a = s(n(16))
, r = s(n(25));
n(12),
n(2),
n(6),
n(36),
n(67),
n(17);
var o = s(n(708))
, u = s(n(500))
, c = n(227)
, l = s(n(1429))
, d = s(n(1930))
, f = n(127)
, p = n(96)
, h = n(512)
, v = n(392)
, m = n(712)
, g = n(508)
, b = n(116)
, y = s(n(1431))
, x = s(n(704))
, _ = s(n(717))
, w = n(405);
function C(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var s = Object.getOwnPropertySymbols(e);
t && (s = s.filter((function(t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable
}
))),
n.push.apply(n, s)
}
return n
}
function k(e) {
for (var t = 1; t < arguments.length; t++) {
var n = null != arguments[t] ? arguments[t] : {};
t % 2 ? C(Object(n), !0).forEach((function(t) {
(0,
r.default)(e, t, n[t])
}
)) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C(Object(n)).forEach((function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
}
))
}
return e
}
t.default = {
name: "dialog-center",
props: {
message: {
type: Object,
default: {}
},
dialog: {
type: Object,
default: function() {}
}
},
components: {
MessageCard: l.default,
QuickResume: d.default
},
inject: ["getBoss"],
data: function() {
return {
h5Dialog: null
}
},
computed: {
bossInfo: function() {
return this.getBoss()
},
extend: function() {
return JSON.parse(this.dialog.extend || "{}")
},
buttons: function() {
if (47 === this.dialogType) {
var e = this.extend;
if (e.extendBtn) {
var t = e.extendRightButton;
t && (this.dialog.buttons[1] = k(k({}, t), {}, {
disabled: t.clicked
}))
}
}
return this.dialog.buttons || []
},
cardButtons: function() {
var e = this
, t = this.buttons
, n = this.dialog
, s = n.operated
, i = n.clickMore;
return t.forEach((function(t) {
t.disabled = s && !i,
t.onClick = e.handleClick
}
)),
t
},
dialogType: function() {
return this.dialog.type
},
exposure: function() {
var e = this.bossInfo.securityId
, t = this.message
, n = t.bizType
, s = t.bizId
, i = t.mid;
return {
action: "c-chat-card-show",
p: n,
p2: s,
p3: t.fromId,
p4: "",
p5: "",
p6: i,
p7: "",
secid: e
}
}
},
mounted: function() {
this.handleClick = e.debounce(this.handleClick, 500, !0)
},
methods: {
handleClick: function(e, t) {
var n = this;
return (0,
a.default)(i.default.mark((function s() {
var a, r, o, l, d, y, C, k, I, O, j, S, T, $, P, M, E, D, L, B, A, R, N, z, q, H, F, U, G, W, J, V, Q, K;
return i.default.wrap((function(s) {
for (; ; )
switch (s.prev = s.next) {
case 0:
if (a = e.url) {
s.next = 3;
break
}
return s.abrupt("return");
case 3:
r = (0,
c.getQueryParams)(a);
try {
r.ba && (o = JSON.parse(decodeURIComponent(r.ba)),
n.sendAction(o)),
n.sendAction({
action: "c-chat-card-click",
p: n.message.bizType,
p2: n.message.bizId,
p3: n.bossInfo.uid,
p4: e.text,
p5: n.message.mid
})
} catch (e) {}
l = n.message.mid,
d = n.bossInfo,
y = d.friendSource,
C = d.encryptBossId,
k = d.uid,
I = d.jobId,
O = d.securityId,
s.t0 = r.type,
s.next = "openQuickTopPhone" === s.t0 ? 10 : "exchangePhoneByQuickTop" === s.t0 ? 12 : "contactAssistCall" === s.t0 ? 14 : "wechatAssistExchange" === s.t0 ? 17 : "addUserReject" === s.t0 ? 31 : "telecall" === s.t0 ? 34 : "acceptPreAuthExchange" === s.t0 ? 36 : "rejectAuthExchange" === s.t0 ? 39 : "geekApplyInterview" === s.t0 ? 42 : "enterInterviewRoom" === s.t0 ? 44 : "interviewdetail" === s.t0 || "geekDirectCall" === s.t0 ? 46 : "reassuranceFeedback" === s.t0 ? 48 : "onlineRemind" === s.t0 ? 50 : "openattachmentresume" === s.t0 ? 52 : "webview" === s.t0 ? 56 : "geekScoreShare" === s.t0 ? 82 : "getGeekVideoJobVirtualPhone" === s.t0 ? 84 : "editPostExp" === s.t0 ? 86 : "addExpect" === s.t0 ? 89 : "newTab" === s.t0 ? 91 : "addSpecifyExpect" === s.t0 ? 93 : 96;
break;
case 10:
return n.$toast("请在APP内进行该操作", "warning"),
s.abrupt("break", 97);
case 12:
return (0,
m.quickExchangePhone)({
securityId: r.securityId,
source: r.source
}).then((function(e) {
0 !== e.code && n.$toast(e.message, "error")
}
)),
s.abrupt("break", 97);
case 14:
return (0,
f.assistantExchange)({
mid: l,
contactAssistant: 1,
friendSource: y,
friendIdStr: C
}).then((function(e) {
if (0 != e.code)
return n.$toast(e.message, "error");
47 !== n.dialogType ? n.message.dialog.operated = !0 : n.message.dialog.buttons[1].clicked = !0
}
)),
n.sendAction({
action: "biz-block-click-phoneassistant",
p: k,
p2: I
}),
s.abrupt("break", 97);
case 17:
return j = {
securityId: r.securityId || O,
msgId: l
},
s.next = 20,
(0,
f.wechatAssistantTest)(j);
case 20:
if (S = s.sent,
T = S.zpData,
$ = S.code,
P = S.message,
0 === $) {
s.next = 26;
break
}
return s.abrupt("return", n.$toast(P, "error"));
case 26:
if (1 !== T.status || !T.secureExchange) {
s.next = 29;
break
}
return null === (M = iGeekRoot.ChatDialog) || void 0 === M || M.openOverseasIPTips({
content: T.secureExchange,
onConfirm: function() {
n.handleWechatAssistantExchange(j)
}
}),
s.abrupt("return");
case 29:
return n.handleWechatAssistantExchange(j),
s.abrupt("break", 97);
case 31:
return E = r.reasonType,
(0,
b._setNoFit)({
securityId: O,
pageType: 9,
markReason: E,
markReasonText: e.text,
msgId: l,
buttonIndex: t + 1
}).then((function(e) {
if (0 != e.code)
return n.$toast(e.message, "error");
n.message.dialog.operated = !0
}
)),
s.abrupt("break", 97);
case 34:
return n.$toast("请手机打开BOSS直聘APP拨打", "warning"),
s.abrupt("break", 97);
case 36:
return D = {
securityId: O,
authType: r.authType,
mid: l
},
(0,
f.exchangeAuthTest)(D).then((function(e) {
var t = e.code
, s = e.zpData
, i = e.message;
if (0 !== t)
return n.$toast(i, "error");
1 === s.status && s.secureExchange ? x.default.openOverseasIPTips({
content: s.secureExchange,
onConfirm: function() {
n.handleExchangeAuth(D)
}
}) : n.handleExchangeAuth(D)
}
)),
s.abrupt("break", 97);
case 39:
return n.submitting = !0,
(0,
f.rejectAuthExchange)({
mid: l,
securityId: O,
index: r.index
}).then((function(e) {
n.submitting = !1,
0 == e.code ? n.message.dialog.operated = !0 : n.$toast(e.message, "error")
}
)),
s.abrupt("break", 97);
case 42:
return x.default.openApplyInterview({
friendId: r.friendId,
friendSource: y
}),
s.abrupt("break", 97);
case 44:
return (0,
h.getSdkInfo)({
videoRoomId: r.videoRoomId
}).then((function(e) {
if (0 == e.code) {
var t = "";
t = window.location.href.includes("127.0.0.1") || window.location.href.includes("boss-m-qa.weizhipin.com") ? "https://meet-qa.weizhipin.com" : V.href.includes("pre-www.zhipin.com") ? "https://meet-pre.zhipin.com" : V.href.includes("www.zhipin.com") ? "https://meet.zhipin.com" : "https://meet-qa.weizhipin.com",
t = "".concat(t, "?vrd=").concat(r.videoRoomId),
iGeekRoot.open(t)
} else
n.$toast(e.message, "error")
}
)),
s.abrupt("break", 97);
case 46:
return n.$toast("请前往App查看", "warning"),
s.abrupt("break", 97);
case 48:
return n.$toast("打开APP,对此海雀智选职位和经纪人进行评价", "warning"),
s.abrupt("break", 97);
case 50:
return 2 == n.features$.onlineRemind ? u.default.sendOnlinePublish({
source: 12,
from: 29
}) : n.$toast("该权益暂不可使用"),
s.abrupt("break", 97);
case 52:
return L = w.envConfig.cvHost,
B = "https://".concat(L, "/my-resumes"),
iGeekRoot.open(B),
s.abrupt("break", 97);
case 56:
if (s.prev = 56,
!r.pcurl) {
s.next = 61;
break
}
return A = decodeURIComponent(r.pcurl),
iGeekRoot.open(A),
s.abrupt("return");
case 61:
if (!r.url) {
s.next = 76;
break
}
if (R = decodeURIComponent(r.url),
N = (0,
c.getQueryParams)(R),
"newTab" !== r.openType) {
s.next = 67;
break
}
return iGeekRoot.open(r.url),
s.abrupt("return");
case 67:
if ("1" !== N.processType) {
s.next = 69;
break
}
return s.abrupt("return", n.$toast("请在APP端完成授权和资料填写", "warning"));
case 69:
if (!(r.url.indexOf("talent-test") > -1)) {
s.next = 73;
break
}
return z = N.securityId,
q = N.encryptJobId,
z && (0,
v.getEvaluationStatus)({
securityId: z
}).then((function(e) {
if (0 == e.code) {
var t = e.zpData
, s = t.status
, i = t.pcAnswerUrl;
1 !== s && 3 !== s || iGeekRoot.open(i),
2 === s && n.$toast({
content: "已超过最晚提交时间,本次测评失效",
type: "error",
duration: 2e3
}),
n.sendAction({
action: "assessment-geek-invitation-click",
p: k,
p2: q,
p4: s
})
} else
n.$toast({
content: e.message,
type: "error"
})
}
)),
s.abrupt("return");
case 73:
if (!R.includes("html/credit/boss")) {
s.next = 76;
break
}
return n.$toast({
content: "PC端暂不支持,请在App内点击查看",
type: "error"
}),
s.abrupt("return");
case 76:
iGeekRoot.frameSlider({
url: decodeURIComponent(r.url)
}),
s.next = 81;
break;
case 79:
s.prev = 79,
s.t1 = s.catch(56);
case 81:
return s.abrupt("break", 97);
case 82:
return (0,
g.shareScore)({
securityId: r.securityId,
sync: 1
}).then((function(e) {
0 == e.code ? (n.message.dialog.operated = !0,
u.default.sendMessage({
extend: JSON.stringify({
msg_id: n.message.mid
})
}, "action")) : n.$toast(e.message, "error")
}
)),
s.abrupt("break", 97);
case 84:
return (0,
p.getGeekVirtualPhone)({
securityId: r.securityId,
msgId: l,
videoId: r.videoId
}).then((function(e) {
if (0 === e.code) {
var t = e.zpData
, s = t.virtualPhone
, i = void 0 === s ? "" : s
, a = t.userPhone
, r = void 0 === a ? "" : a;
x.default.openDialPhone({
virtualPhone: i,
userPhone: r
})
} else
n.$toast(e.message, "error")
}
)),
s.abrupt("break", 97);
case 86:
return H = r.position,
F = r.positionName,
window.location.href = "/web/geek/resume?editItem=postExp&position=".concat(H, "&positionName=").concat(F, "&msgId=").concat(l),
s.abrupt("break", 97);
case 89:
return r.expectInfo && (U = decodeURIComponent(r.expectInfo),
(0,
g.addExpect)({
expectInfo: U,
msgId: l
}).then((function(e) {
0 === e.code ? n.message.dialog.operated = !0 : n.$toast({
content: e.message,
type: "error",
duration: 4e3
})
}
))),
s.abrupt("break", 97);
case 91:
return iGeekRoot.open(r.url),
s.abrupt("break", 97);
case 93:
return G = r.expectId,
W = r.positionTypeTab,
J = r.multiInfos,
V = r.location,
Q = r.locationName,
K = r.markType,
(0,
g.addSpecifExpect)({
expectId: G,
positionTypeTab: W,
multiInfos: J,
location: V,
locationName: Q
}).then((function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
if (0 === e.code) {
var t = e.zpData || {}
, s = t.expectList
, i = {
partTimeList: s,
saveParams: {
markType: K,
msgId: n.message.mid
}
};
_.default.set("resume-purpose-data", i),
window.location.href = "/web/geek/resume?editItem=purpose&sessionStorageKey=resume-purpose-data"
} else
n.$toast(e.message, "error")
}
)),
s.abrupt("break", 97);
case 96:
return s.abrupt("break", 97);
case 97:
case "end":
return s.stop()
}
}
), s, null, [[56, 79]])
}
)))()
},
handleExchangeAuth: function(e) {
var t = this;
(0,
f.exchangeAuth)(e).then((function(e) {
0 == e.code ? t.message.dialog.operated = !0 : t.$toast(e.message, "error")
}
))
},
handleWechatAssistantExchange: function(e) {
var t = this;
return (0,
a.default)(i.default.mark((function n() {
var s, a, r, o, u, c, l, d;
return i.default.wrap((function(n) {
for (; ; )
switch (n.prev = n.next) {
case 0:
return n.next = 2,
(0,
f.wechatAssistantExchange)(e);
case 2:
if (s = n.sent,
a = s.zpData,
r = void 0 === a ? {} : a,
o = s.code,
u = s.message,
l = (c = r || {}).status,
d = c.alert,
0 === o) {
n.next = 11;
break
}
return t.$toast(u, "error"),
n.abrupt("return");
case 11:
if (1 != l || !d) {
n.next = 14;
break
}
return y.default.alert(d),
n.abrupt("return");
case 14:
if (2 !== l) {
n.next = 17;
break
}
return t.$eventBus.$emit("showWx", {
status: l,
from: "WechatAssistantExchange"
}),
n.abrupt("return");
case 17:
t.message.dialog.operated = !0;
case 18:
case "end":
return n.stop()
}
}
), n)
}
)))()
}
},
subscriptions: function() {
return {
features$: o.default.val$
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1614)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
n(12),
n(14),
n(10),
n(2),
n(18),
n(6),
n(22);
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(15))
, a = s(n(25))
, r = s(n(16))
, o = s(n(500))
, u = n(711)
, c = s(n(706))
, l = s(n(704))
, d = s(n(1431));
function f(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var s = Object.getOwnPropertySymbols(e);
t && (s = s.filter((function(t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable
}
))),
n.push.apply(n, s)
}
return n
}
t.default = {
name: "message-quick-resume",
props: {
message: {
type: Object,
default: {}
},
dialog: {
type: Object,
default: function() {}
}
},
inject: ["getBoss"],
components: {
UploadResume: c.default
},
computed: {
bossInfo: function() {
return this.getBoss()
},
title: function() {
var e;
return (null === (e = this.dialog) || void 0 === e ? void 0 : e.title) || ""
},
buttons: function() {
var e;
return (null === (e = this.dialog) || void 0 === e ? void 0 : e.buttons) || []
},
hasResumeAttachment: function() {
return !!(this.resumeInfo.resumeList || []).length
},
complete: function() {
return this.resumeInfo.complete || !1
},
isDesign: function() {
return this.resumeInfo.isDesign || !1
}
},
data: function() {
return {
showUpload: !1,
resumeInfo: {}
}
},
mounted: function() {
this.handleSendQuickResume = e.debounce(this.handleSendQuickResume, 500, !0)
},
methods: {
handleSendQuickResume: function() {
var e = this;
return (0,
r.default)(i.default.mark((function t() {
var n, s, a, r, o, c, l;
return i.default.wrap((function(t) {
for (; ; )
switch (t.prev = t.next) {
case 0:
return n = e.bossInfo,
s = n.securityId,
a = n.friendSource,
r = {
securityId: s,
friendSource: a
},
t.next = 4,
(0,
u.checkResume)(r);
case 4:
if (o = t.sent,
c = e.message.mid,
o) {
t.next = 8;
break
}
return t.abrupt("return");
case 8:
if (o.resumeId) {
t.next = 12;
break
}
return e.resumeInfo = o.resume || {},
e.handleToUpload(),
t.abrupt("return");
case 12:
l = {
securityId: s,
resumeId: o.resumeId,
mid: c
},
e.handleExchange(l);
case 14:
case "end":
return t.stop()
}
}
), t)
}
)))()
},
handleCloseUpload: function() {
this.showUpload = !1
},
handleToUpload: function() {
this.showUpload = !0
},
uploadClickCallBack: function() {
var e = this
, t = {
securityId: this.bossInfo.securityId,
mid: this.message.mid
};
l.default.openSendOnlineResume({
callback: function(n) {
var s = n.resumeId;
s && (t.resumeId = s,
e.handleExchange(t))
}
})
},
handleExchange: function(e) {
var t = function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = null != arguments[t] ? arguments[t] : {};
t % 2 ? f(Object(n), !0).forEach((function(t) {
(0,
a.default)(e, t, n[t])
}
)) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f(Object(n)).forEach((function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
}
))
}
return e
}({
type: "resume"
}, e)
, n = this.message.mid;
d.default.accept(t).then((function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
0 === e.status && o.default.setDialogOperated({
mid: n
})
}
))
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1618)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(12),
n(19),
n(50),
n(17);
var s = n(228)
, i = n(75);
t.default = {
name: "MessageSystem",
props: {
message: {
type: Object,
default: function() {}
}
},
computed: {
aid: function() {
var e;
return (null === (e = this.message) || void 0 === e || null === (e = e.action) || void 0 === e ? void 0 : e.aid) || ""
},
extend: function() {
var e;
return JSON.parse((null === (e = this.message) || void 0 === e || null === (e = e.action) || void 0 === e ? void 0 : e.extend) || "{}")
},
showReedit: function() {
var e = this.message
, t = e.newSubmit
, n = e.isSelf
, s = e.extend;
return t && n && s && "text" == s.messageType
}
},
methods: {
handleEdit: function() {
var e = this.message.extend || {}
, t = e.text;
if ("text" === e.messageType) {
var n = t ? t.replace(/\n/g, "
").replace(/\\n/g, "
").replace(/·/g, "·") : ""
, a = (0,
s.textCodeToImg)(n)
, r = document.getElementById("chat-input");
r && (r.focus(),
(0,
i.isIE)() && (0,
i.setCursorEnd)(r),
document.execCommand("insertHTML", !1, a))
}
},
formateHighLightMsg: function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
, t = e.text
, n = e.highlightStart
, s = e.highlightLength;
return "\n ".concat(t.substr(0, n), '\n \n ').concat(t.substr(n, s), "\n ").concat(t.substr(n + s), "\n ")
},
handleClickHighLight: function(e) {
var t, n = e.target;
if ((0,
i.hasClass)(n, "target-dom")) {
var s = (this.extend.replace || {}).protocol
, a = (0,
i.getQueryStringArgs)(s);
switch (a.type) {
case "webview":
var r = decodeURIComponent(a.url);
null === (t = iGeekRoot) || void 0 === t || t.frameSlider({
url: r
})
}
try {
if (a.ba) {
var o = JSON.parse(decodeURIComponent(a.ba));
this.sendAction(o)
}
} catch (e) {}
}
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1620)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(1428));
t.default = {
name: "video-message",
components: {
MessageAvatar: i.default
},
props: {
message: {
type: Object,
default: function() {
return {}
}
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1622)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
n(14),
n(10),
n(18),
n(6),
n(22);
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(12),
n(68),
n(2);
var i = s(n(25))
, a = s(n(500))
, r = n(391)
, o = s(n(1428))
, u = s(n(1438))
, c = s(n(506))
, l = s(n(709))
, d = n(127);
function f(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var s = Object.getOwnPropertySymbols(e);
t && (s = s.filter((function(t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable
}
))),
n.push.apply(n, s)
}
return n
}
function p(e) {
for (var t = 1; t < arguments.length; t++) {
var n = null != arguments[t] ? arguments[t] : {};
t % 2 ? f(Object(n), !0).forEach((function(t) {
(0,
i.default)(e, t, n[t])
}
)) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f(Object(n)).forEach((function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
}
))
}
return e
}
t.default = {
name: "sound-message",
components: {
MessageAvatar: o.default,
MessageStatus: u.default
},
props: {
message: {
type: Object,
default: function() {
return {}
}
}
},
data: function() {
return {
maxVoiceWidth: 160,
maxVoiceSec: 60,
voiceWidth: 40,
playAudioTimer: null,
loading: !1,
error: !1
}
},
computed: p(p({}, (0,
r.mapState)(["privilege"])), {}, {
extend: function() {
var e = this.sound;
return JSON.parse(e.extend || "{}")
},
sound: function() {
return this.message.sound
},
cacheMessage: function() {
var e = this;
return this.cacheMessageList$.find((function(t) {
return t.mid === e.message.mid
}
)) || {}
},
isSupported: function() {
return c.default.isSupported()
},
showRedBubble: function() {
return l.default.isShowRedBubble(this.message.time, this.extend)
}
}),
methods: {
getWidth: function(e) {
return e.duration * (this.maxVoiceWidth / this.maxVoiceSec) + this.voiceWidth + "px"
},
handleVoicePlay: function() {
c.default.play(this.message);
var e = this.extend.playStatus;
if (!this.message.isSelf && !e) {
var t = {
messageId: this.message.mid,
play: 1
};
(0,
d.updateSoundMsg)(t),
!e && a.default.modifyMsg({
mid: this.message.mid,
sound: p(p({}, this.sound), {}, {
extend: JSON.stringify(p(p({}, this.extend), {}, {
playStatus: 1
}))
})
})
}
this.sendAction({
action: "geek-connect-voice-playback-click",
p: this.showRedBubble ? 1 : 2,
p2: this.message.mid,
p3: this.message.fromId
})
}
},
subscriptions: function() {
return {
cacheMessageList$: l.default.cacheMessageList$
}
}
}
}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1626)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(1943))
, a = s(n(1945))
, r = s(n(1949))
, o = s(n(1951))
, u = s(n(1956));
t.default = {
name: "message-tip-bar",
components: {
HunterBar: i.default,
SafeBar: a.default,
BlueMessage: r.default,
PopoverBar: o.default,
IqNlp: u.default
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1628)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = n(96)
, a = s(n(500));
t.default = {
name: "MessageHunterBar",
data: function() {
return {}
},
mounted: function() {
this.handleHunter = e.debounce(this.handleHunter, 500, !0)
},
methods: {
handleHunter: function(e) {
var t = this;
(0,
i.hunterGeekCallReply)({
securityId: this.hunterTip$.securityId,
option: e
}).then((function(e) {
if (0 === e.code) {
var n = e.zpData.msg;
t.$toast(n, "success")
} else
t.$toast(e.message, "error");
a.default.modifyMsg({
mid: t.hunterTip$.mid,
status: 2
}),
a.default.closeHunterTip()
}
))
}
},
subscriptions: function() {
return {
hunterTip$: a.default.subject.hunterTip$
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1631)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(10),
n(2),
n(76),
n(12);
var i = s(n(500));
t.default = {
name: "MessageFreezeBar",
computed: {
tipList: function() {
return this.bossSafe$.filter((function(e) {
return e.isShow
}
))
},
safeInfo: function() {
return this.tipList.length <= 0 ? null : this.findAndHandle({
safeType: -1
}, "system-message-safety-YellowStripFreeze", 2) || this.findAndHandle({
safeType: 0
}, "system-message-safety-YellowStripFreeze", 1) || this.findAndHandle({
type: "warning-tips",
safeType: 1
})
}
},
methods: {
handleCloseTip: function(e) {
e.isShow = !1,
i.default.updateBossSafeInfo(e)
},
findAndHandle: function(e, t, n) {
var s = this.tipList.findIndex((function(t) {
return Object.keys(e).every((function(n) {
return t[n] === e[n]
}
))
}
));
if (s > -1)
return t && this.sendAction({
action: t,
p: n
}),
this.tipList[s]
}
},
subscriptions: function() {
return {
bossSafe$: i.default.subject.bossSafe$
}
}
}
}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1634)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(15))
, a = s(n(16));
n(12),
n(36),
n(68),
n(2);
var r = n(227)
, o = s(n(704))
, u = s(n(1431))
, c = s(n(706))
, l = s(n(500))
, d = s(n(503))
, f = n(116);
t.default = {
name: "blue-message",
components: {
UploadResume: c.default
},
data: function() {
return {
resume: {
isShowResumePop: !1,
uploadStatus: 0,
fileName: "",
fileUrl: "",
isLoading: !1,
reLoadResume: !1,
msg: ""
},
showUpload: !1,
resumeInfo: {}
}
},
computed: {
message: function() {
var e = {};
return this.blueMessage$.length && (e = this.blueMessage$[this.blueMessage$.length - 1] || {}),
e
},
hasResumeAttachment: function() {
return !!(this.resumeInfo.resumeList || []).length
},
complete: function() {
return this.resumeInfo.complete || !1
},
isDesign: function() {
return this.resumeInfo.isDesign || !1
}
},
mounted: function() {
this.handleReject = e.debounce(this.handleReject, 500, !0),
this.handleAccept = e.debounce(this.handleAccept, 500, !0)
},
methods: {
getInterviewText: function(e) {
return "action" == e.messageType ? JSON.parse(e.action.extend || "{}").title : ""
},
handleOpenInterviewDetail: function() {
var e = this.conversation$
, t = e.uid
, n = {
encryptBossId: e.encryptBossId,
friendSource: e.friendSource,
uid: t,
jobId: e.jobId,
securityId: e.securityId
};
o.default.openInterviewDetail(n),
this.conversion("interview_detail_" + t)
},
handleReject: function() {
var e = this.conversation$
, t = e.securityId
, n = e.uid
, s = this.message
, i = s.dialog
, a = s.mid;
if ("interview" === s.messageType)
return this.handleDialogInterview("reject");
var r = this.isGeekBoomWx(1)
, o = {
0: "contact",
1: "weixin",
2: "resume",
8: "interest",
11: "contact",
12: "note",
14: "geekboom"
}[i.type] || r;
if (o) {
var c = {
securityId: t,
type: o,
mid: a
};
if (u.default.reject(c).then((function(e) {
e && l.default.setDialogOperated({
mid: c.mid
})
}
)),
this.conversion("send_" + o.type + "_refuse_" + n),
[1, 2, 11].includes(i.type)) {
this.sendAction({
action: "chat-guidebar-click",
p: n,
p2: 3,
p3: {
1: 2,
2: 1,
11: 3
}[i.type]
})
}
}
},
handleAccept: function() {
var e = this;
return (0,
a.default)(i.default.mark((function t() {
var n, s, a, o, c, l, d, f, p, h, v, m, g, b, y, x, _;
return i.default.wrap((function(t) {
for (; ; )
switch (t.prev = t.next) {
case 0:
if (s = e.conversation$ || {},
a = s.securityId,
o = s.friendSource,
c = s.uid,
l = e.message,
d = l.dialog,
f = l.mid,
"interview" !== l.messageType) {
t.next = 4;
break
}
return t.abrupt("return", e.handleDialogInterview("accept"));
case 4:
if (p = (null == d || null === (n = d.buttons) || void 0 === n || null === (n = n[0]) || void 0 === n ? void 0 : n.url) || "",
h = (0,
r.getQueryParams)(p),
"reassuranceFeedback" !== h.type) {
t.next = 9;
break
}
return e.$toast("打开APP,对此海雀智选职位和经纪人进行评价", "warning"),
t.abrupt("return");
case 9:
if (v = {
securityId: a,
mid: f
},
m = e.isGeekBoomWx(0),
g = {
contact: 1,
weixin: 2,
resume: 4,
geekboom: 1,
geekboomGetWeixin: 2
},
b = {
0: "contact",
1: "weixin",
2: "resume",
8: "interest",
11: "contact",
12: "note",
14: "geekboom"
}[d.type] || m,
y = g[b],
v.type = b,
[1, 2, 11].includes(d.type) && (x = {
1: 2,
2: 1,
11: 3
},
e.sendAction({
action: "chat-guidebar-click",
p: c,
p2: 2,
p3: x[d.type]
})),
!y) {
t.next = 22;
break
}
return _ = JSON.parse(d.extend || "{}"),
t.next = 21,
u.default.acceptCheck({
mid: f,
type: y,
friendSource: o,
securityId: a,
from: 2 !== d.type || _.extendBtn ? "" : "chat-im-resume"
}, {
onConfirm: function(t) {
e.acceptCheckOnConfirm(y, t, v)
}
});
case 21:
return t.abrupt("return");
case 22:
e.exchangeAccept(v);
case 23:
case "end":
return t.stop()
}
}
), t)
}
)))()
},
acceptCheckOnConfirm: function(e, t, n) {
if (t) {
if (4 == e) {
var s = t.resumeInfo;
if (!s)
return;
if (!s.resumeId)
return this.resumeInfo = s.resume || {},
void this.handleToUpload();
n.resumeId = s.resumeId
}
this.exchangeAccept(n)
}
},
exchangeAccept: function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
, t = ["contact", "weixin", "resume"];
e.type && t.includes(e.type) ? u.default.accept(e).then((function() {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
0 === t.status && l.default.setDialogOperated({
mid: e.mid
})
}
)) : this.exchangeOthersAccept(e)
},
exchangeOthersAccept: function() {
var e = this
, t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
u.default.acceptOthers(t).then((function(t) {
t && l.default.setDialogOperated({
mid: e.message.mid
})
}
)),
this.conversion("send_" + t.type + "_agree_" + this.conversation$.uid)
},
handleDialogInterview: function(e) {
var t = this
, n = this.message.dialog.buttons
, s = {};
s = "accept" == e ? n.find((function(e) {
return "同意" == e.text
}
)) : n.find((function(e) {
return "拒绝" == e.text
}
));
var i = (0,
r.getQueryParams)(s.url)
, a = {
operateStatus: i.operateStatus,
encryptInterviewIntentionId: i.encryptInterviewIntentionId
};
(0,
f.dialogInterview)(a).then((function(e) {
0 !== e.code && t.$toast(e.message, "error")
}
))
},
isGeekBoomWx: function(e) {
var t = this.message.dialog
, n = "";
if (1 === t.type && t.buttons.length > 0) {
var s = t.buttons[e].url
, i = (0,
r.getQueryParams)(s);
"127" !== i.aid && "126" !== i.aid || (n = "geekboomGetWeixin")
}
return n
},
handleCloseUpload: function() {
this.showUpload = !1
},
handleToUpload: function() {
this.showUpload = !0
},
uploadClickCallBack: function() {
var e = this
, t = {
securityId: (this.conversation$ || {}).securityId,
mid: this.message.mid,
type: "resume"
};
o.default.openSendOnlineResume({
callback: function(n) {
var s = n.resumeId;
s && (t.resumeId = s,
u.default.accept(t).then((function() {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
0 === t.status && l.default.setDialogOperated({
mid: e.message.mid
})
}
)))
}
})
}
},
subscriptions: function() {
return {
conversation$: l.default.conversation$,
blueMessage$: d.default.list$
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1637)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(15))
, a = s(n(16))
, r = s(n(704))
, o = n(1952)
, u = s(n(500))
, c = n(1953)
, l = n(1954);
t.default = {
name: "popover-bar",
data: function() {
return {}
},
computed: {
topPopover: function() {
var e = {};
return this.popover$.length && (e = this.popover$[this.popover$.length - 1] || {}),
e
}
},
mounted: function() {
this.handleOpenHunterCallDialog = e.debounce(this.handleOpenHunterCallDialog, 500),
this.handleOpenAtsPage = e.debounce(this.handleOpenAtsPage, 500)
},
methods: {
closeChatHunterTip: function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
, t = e.type
, n = this.conversation$.securityId;
(0,
c.closeChatHunterTip)({
securityId: n
}),
u.default.removePopoverByType(t)
},
handleOpenInterviewDetail: function(e) {
var t = this.conversation$
, n = t.uid
, s = {
encryptBossId: t.encryptBossId,
friendSource: t.friendSource,
uid: n,
jobId: t.jobId,
securityId: t.securityId
};
r.default.openInterviewDetail(s),
this.conversion(e + n)
},
handleOpenAtsPage: function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
, t = e.buttonLink
, n = void 0 === t ? {} : t
, s = e.source;
n && (0,
o.OpenUrlWithWildLink)(n),
this.sendAction({
action: "ats-chat-fillresume-click",
p: this.conversation$.jobId,
p2: 3,
p3: s
})
},
handleOpenHunterCallDialog: function() {
var e = this;
return (0,
a.default)(i.default.mark((function t() {
var n, s, a, o, u, c, d;
return i.default.wrap((function(t) {
for (; ; )
switch (t.prev = t.next) {
case 0:
return n = e.conversation$,
s = n.securityId,
a = n.uid,
e.sendAction({
action: "biz-item-AccurateSearch-GeekCallBackClick",
p: a
}),
t.next = 4,
(0,
l.getHunterPhone)({
securityId: s
});
case 4:
if (o = t.sent,
u = o.code,
c = o.zpData,
d = o.message,
0 === u) {
t.next = 11;
break
}
return e.$toast(d, "error"),
t.abrupt("return");
case 11:
r.default.openHunterPhoneDialog({
phone: c.phone
});
case 12:
case "end":
return t.stop()
}
}
), t)
}
)))()
}
},
subscriptions: function() {
return {
popover$: u.default.subject.popover$,
conversation$: u.default.conversation$
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1640)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
n(12),
n(14),
n(18),
n(6),
n(22);
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(15))
, a = s(n(25))
, r = s(n(16));
n(10),
n(2),
n(76),
n(26);
var o = s(n(713))
, u = s(n(1431))
, c = s(n(500));
function l(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var s = Object.getOwnPropertySymbols(e);
t && (s = s.filter((function(t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable
}
))),
n.push.apply(n, s)
}
return n
}
function d(e) {
for (var t = 1; t < arguments.length; t++) {
var n = null != arguments[t] ? arguments[t] : {};
t % 2 ? l(Object(n), !0).forEach((function(t) {
(0,
a.default)(e, t, n[t])
}
)) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l(Object(n)).forEach((function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
}
))
}
return e
}
t.default = {
name: "iq-nlp",
data: function() {
return {
nlpList: [],
listener: null
}
},
components: {},
computed: {},
mounted: function() {
var t = this;
this.handleClose = e.debounce(this.handleClose, 1e3, !0),
this.handleSendIq = e.debounce(this.handleSendIq, 1e3, !0),
this.listener = o.default.nlp$.subscribe((function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : []
, n = e.filter((function(e) {
return -1 === t.nlpList.findIndex((function(t) {
return e.type === t.type
}
))
}
));
t.nlpList = e,
n.map((function(e) {
if (e.mid) {
var n = t.conversation$
, s = n.friendId
, i = n.jobId
, a = n.bossId
, r = e.type
, o = e.sceneType
, u = e.text
, c = (e.value,
{
action: "nlp-remind-active-show",
bg: 1,
uid: a,
p: s,
p2: u,
p3: r,
p4: o,
p5: i
});
6 === r && t.sendAction(c)
}
}
))
}
))
},
methods: {
getClickBa: function(e, t) {
var n = t || this.conversation$
, s = n.friendId
, i = n.jobId
, a = n.bossId
, r = e.type
, o = e.sceneType;
return {
action: "chat-nlp-remind-click",
bg: 1,
uid: a,
p: s,
p2: e.text,
p3: r,
p4: o,
p5: i
}
},
handleClose: function(e) {
var t = e.type
, n = e.extend
, s = e.sceneType;
c.default.sendIq({
iqType: "delete",
type: t,
resident: null == n ? void 0 : n.resident
});
var i = this.conversation$
, a = i.friendId
, r = i.jobId;
return {
action: "chat-nlp-remind-close",
bg: 1,
uid: i.bossId,
p: a,
p3: t,
p4: s,
p5: r
}
},
sendIq: function(e, t) {
c.default.sendIq({
iqType: e,
type: t.type
}),
o.default.remove()
},
handleSendIq: function(e) {
var t = this;
return (0,
r.default)(i.default.mark((function n() {
var s, a, r, o, c, l, f;
return i.default.wrap((function(n) {
for (; ; )
switch (n.prev = n.next) {
case 0:
if (s = d({}, t.conversation$),
t.sendAction(t.getClickBa(e, s)),
a = s.friendSource,
r = s.securityId,
o = s.uniqueId,
6 !== e.type) {
n.next = 8;
break
}
return n.next = 6,
u.default.requestCheck({
securityId: r,
type: 3,
friendSource: a
}, {
onCancel: function() {}
});
case 6:
(c = n.sent) && (f = c.resumeId || (null == c || null === (l = c.resumeInfo) || void 0 === l ? void 0 : l.resumeId)) && u.default.request({
securityId: r,
resumeId: f,
type: 3
}).then((function(n) {
n && (t.handleClickNlp(e, s),
u.default.updateExchangeInfo(o, {
type: 3,
value: 1
}))
}
));
case 8:
case "end":
return n.stop()
}
}
), n)
}
)))()
},
handleClickNlp: function(e) {
this.sendIq("accept", e)
}
},
beforeDestroy: function() {
this.listener && this.listener.unsubscribe()
},
subscriptions: function() {
return {
nlp$: o.default.nlp$,
conversation$: c.default.conversation$
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1644)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(1960))
, a = s(n(1963))
, r = s(n(500))
, o = s(n(1969))
, u = s(n(226))
, c = s(n(1970))
, l = s(n(1973))
, d = s(n(1975))
, f = s(n(1978))
, p = s(n(1979))
, h = s(n(1983))
, v = s(n(1990));
t.default = {
name: "ConversationToolbar",
components: {
RecommendPosition: i.default,
WukongChatBar: a.default,
Editor: o.default,
EmotionBtn: c.default,
ResumeBtn: l.default,
PhraseBtn: d.default,
RemindBtn: f.default,
ImageBtn: p.default,
ContactBtn: h.default,
WeChatBtn: v.default
},
subscriptions: function() {
return {
conversation$: r.default.conversation$,
selectedFriend$: u.default.subject.selectedFriend$
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1646)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = n(1961)
, a = s(n(181));
t.default = {
data: function() {
return {
list: [],
activeIndex: 0,
recommendShow: !1
}
},
methods: {
withXOssProcess: i.withXOssProcess,
getList: function(e) {
var t = this;
(0,
a.default)({
jobId: e.encryptJobId,
bossId: e.encryptBossId,
recNums: 5
}).then((function(e) {
0 == e.code && (t.list = e.zpData.similarJobs || [])
}
))
},
start: function(e) {
var t = this;
this.stop(),
this.getList(e),
this.timeout = setTimeout((function() {
t.list.length && (t.activeIndex = 0,
t.recommendShow = !0,
t.autoSwitch())
}
), 1e4)
},
autoSwitch: function() {
var e = this
, t = 0;
this.interval = setInterval((function() {
++t % (5 + 7 * e.activeIndex) == 0 ? e.recommendShow = !1 : t % 7 == 0 && (e.recommendShow = !0,
e.activeIndex > e.list.length - 1 - 1 ? (e.activeIndex = 0,
t = 0) : e.activeIndex++)
}
), 1e3)
},
stop: function() {
this.recommendShow = !1,
this.timeout && clearTimeout(this.timeout),
this.interval && clearInterval(this.interval)
}
},
mounted: function() {
this.$eventBus.$off("chatUserChange")
},
destroyed: function() {
this.stop()
}
}
}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1649)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(155))
, a = s(n(500))
, r = s(n(502))
, o = s(n(1964))
, u = s(n(1966));
t.default = {
components: {
EmployerBar: o.default,
ProviderBar: u.default
},
data: function() {
return {
employer: 0
}
},
mounted: function() {
var e = r.default.getCard() || []
, t = (0,
i.default)(e, 2)[1];
this.employer = (null == t ? void 0 : t.employer) || 0
},
subscriptions: function() {
return {
conversation$: a.default.conversation$
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1651)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(2),
n(6);
var i = s(n(15))
, a = s(n(155))
, r = s(n(16))
, o = s(n(500))
, u = n(1722)
, c = n(1723)
, l = s(n(707));
t.default = {
data: function() {
return {
taskList: [],
showTip: !1
}
},
methods: {
getGroupList: function() {
var e = this;
return (0,
r.default)(i.default.mark((function t() {
var n, s, a, r;
return i.default.wrap((function(t) {
for (; ; )
switch (t.prev = t.next) {
case 0:
return e.showTip = !0,
e.taskList = [],
n = e.conversation$.encryptGid,
t.next = 5,
(0,
u._getChatGroupTask)({
encryptGroupId: n
});
case 5:
if (s = t.sent,
a = s.code,
r = s.zpData,
0 === a) {
t.next = 10;
break
}
return t.abrupt("return");
case 10:
if (0 !== r.taskList.length) {
t.next = 14;
break
}
return e.$toast("暂无可选任务", "warning"),
e.showTip = !1,
t.abrupt("return");
case 14:
e.taskList = r.taskList;
case 15:
case "end":
return t.stop()
}
}
), t)
}
)))()
},
sendTaskCard: function(e) {
var t = this;
return (0,
r.default)(i.default.mark((function n() {
var s, a;
return i.default.wrap((function(n) {
for (; ; )
switch (n.prev = n.next) {
case 0:
return s = e.encryptTaskId,
a = t.conversation$.encryptGid,
n.next = 4,
(0,
c._sendTaskCard)({
encryptGroupId: a,
encryptTaskId: s
});
case 4:
t.showTip = !1;
case 5:
case "end":
return n.stop()
}
}
), n)
}
)))()
},
jumpToTaskPublish: function() {
var e = this;
return (0,
r.default)(i.default.mark((function t() {
var n, s, r, o, c, d, f, p, h, v, m, g;
return i.default.wrap((function(t) {
for (; ; )
switch (t.prev = t.next) {
case 0:
return n = e.conversation$.encryptGid,
t.next = 3,
(0,
u._getTaskPublishUrl)({
encryptGroupId: n
});
case 3:
if (s = t.sent,
r = s.code,
o = s.zpData,
c = o.taskPublishUrl,
0 === r && c) {
t.next = 9;
break
}
return t.abrupt("return");
case 9:
d = c.split("?"),
f = (0,
a.default)(d, 2),
p = f[1],
h = p.split("&"),
v = {},
h.forEach((function(e) {
var t = e.split("&")
, n = (0,
a.default)(t, 2)
, s = n[0]
, i = n[1];
v[s] = i
}
)),
m = v.encryptCompanyId,
g = v.encryptTargetBossId,
l.default.hezuo.router.push({
name: "release-task",
query: {
source: 7,
encryptTargetBossId: g,
encryptCompanyId: m,
encryptGroupId: n
}
});
case 15:
case "end":
return t.stop()
}
}
), t)
}
)))()
}
},
subscriptions: function() {
return {
conversation$: o.default.conversation$
}
}
}
}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1654)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(15))
, a = s(n(16))
, r = s(n(500))
, o = n(1722)
, u = n(1723);
t.default = {
data: function() {
return {
exampleList: [],
showTip: !1
}
},
methods: {
getExampleList: function() {
var e = this;
return (0,
a.default)(i.default.mark((function t() {
var n, s, a, r;
return i.default.wrap((function(t) {
for (; ; )
switch (t.prev = t.next) {
case 0:
return n = e.conversation$.encryptGid,
e.showTip = !0,
e.exampleList = [],
t.next = 5,
(0,
o._getChatGroupExample)({
encryptGroupId: n
});
case 5:
if (s = t.sent,
a = s.code,
r = s.zpData,
0 === a) {
t.next = 10;
break
}
return t.abrupt("return");
case 10:
if (0 !== r.exampleList.length) {
t.next = 14;
break
}
return e.$toast("暂无可选任务", "warning"),
e.showTip = !1,
t.abrupt("return");
case 14:
e.exampleList = r.exampleList;
case 15:
case "end":
return t.stop()
}
}
), t)
}
)))()
},
sendExampleListCard: function(e) {
var t = this;
return (0,
a.default)(i.default.mark((function n() {
var s, a;
return i.default.wrap((function(n) {
for (; ; )
switch (n.prev = n.next) {
case 0:
return s = e.encryptExampleId,
a = t.conversation$.encryptGid,
n.next = 4,
(0,
u._sendExampleCard)({
encryptGroupId: a,
encryptExampleId: s
});
case 4:
t.showTip = !1;
case 5:
case "end":
return n.stop()
}
}
), n)
}
)))()
}
},
subscriptions: function() {
return {
conversation$: r.default.conversation$
}
}
}
}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1658)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(36),
n(19),
n(50),
n(63),
n(37);
var i = s(n(501))
, a = s(n(1436))
, r = n(228)
, o = n(75)
, u = s(n(500))
, c = n(127);
t.default = {
name: "editor",
data: function() {
return {
enableSubmit: !1,
cursorPosition: null,
showEditor: !0
}
},
directives: {
clickoutside: i.default
},
props: {
uniqueId: {
type: String,
default: ""
}
},
watch: {
uniqueId: {
handler: function(e, t) {
var n = this;
e && (this.showEditor = !1,
this.cursorPosition = null,
this.enableSubmit = !1,
this.$nextTick((function() {
n.showEditor = !0
}
)))
},
immediate: !0
},
showEditor: {
handler: function(e, t) {
var n = this;
e && this.$nextTick((function() {
var e = document.getElementById("chat-input");
n.observer = new MutationObserver(n.callback),
e && n.observer.observe(e, {
childList: !0,
subtree: !0,
characterData: !0
}),
n.setDraft(n.uniqueId)
}
))
},
immediate: !0
}
},
mounted: function() {
var t = document.getElementById("chat-input");
this.observer = new MutationObserver(this.callback),
t && this.observer.observe(t, {
childList: !0,
subtree: !0
}),
this.handleKeyup = e.debounce(this.handleKeyup, 100, !0)
},
methods: {
handleKeyup: function(e) {
["ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown"].includes(e.key) && this.updateCursorPosition()
},
updateCursorPosition: function() {
this.cursorPosition = (0,
o.getCursorPosition)()
},
callback: function() {
var e = this;
this.$nextTick((function() {
var t = e.$refs.editbox
, n = t.lastChild
, s = t.innerHTML
, i = t.innerText
, a = e.getInputText()
, r = a.quote
, u = a.text;
r || 1 === i.length && n && "BR" === n.nodeName && t.lastChild.remove();
var c = r ? 301 : 1e3
, l = 0 === s.length || 0 === u.length;
if (e.enableSubmit = !l && u.length < c,
l || e.enableSubmit || e.$toast({
type: "error",
content: "您输入的内容过长,请删减后再发送"
}),
l)
return e.cursorPosition = null,
void (0,
o.setCursorEnd)(t);
e.updateCursorPosition()
}
))
},
handlePaste: function(e) {
var t, n = "";
if (n = window.clipboardData && clipboardData.setData ? window.clipboardData.getData("text") : (e.originalEvent || e).clipboardData.getData("text/plain"),
document.body.createTextRange) {
if (document.selection)
t = document.selection.createRange();
else if (window.getSelection) {
var s = window.getSelection().getRangeAt(0)
, i = document.createElement("span");
i.innerHTML = "FEFF;",
s.deleteContents(),
s.insertNode(i),
(t = document.body.createTextRange()).moveToElementText(i),
i.parentNode.contains(i) && i.parentNode.removeChild(i)
}
t.text = n,
t.collapse(!1),
t.select()
} else
document.execCommand("insertText", !1, n);
e.preventDefault()
},
handleDelete: function() {
var e = this.getInputText()
, t = e.quote
, n = e.text;
t && !n && t.parentNode.removeChild(t)
},
handleKeydown: function(e) {
13 === e.which && (e.ctrlKey || e.shiftKey ? e.ctrlKey && !/Apple/.test(navigator.vendor) && document.execCommand("insertText", !1, "\n") : (this.conversationLoading$ || this.sendText(),
e.preventDefault()))
},
getInputText: function() {
var e, t = this.$refs.editbox, n = null === (e = t.getElementsByClassName("quote-content")) || void 0 === e ? void 0 : e[0], s = "";
if (n) {
var i, a = t.cloneNode(!0), o = null === (i = a.getElementsByClassName("quote-content")) || void 0 === i ? void 0 : i[0];
o.parentNode.removeChild(o),
s = a.innerHTML
} else
s = t.innerHTML;
return s = ("" + (0,
r.convertToMessage)(s)).trim().replace(/</gi, "<").replace(/>/gi, ">"),
n && (s = s.replace("", "")),
{
quote: n,
text: s
}
},
handleClick: function(e) {
if (e.target) {
if ((0,
o.hasClass)(e.target, "iboss-close")) {
var t = e.target.parentNode;
t.parentNode.removeChild(t)
}
this.updateCursorPosition()
}
},
handleSubmit: function(e) {
this.sendText();
try {
Security.join("message", e)
} catch (e) {}
},
sendText: function() {
var e = this
, t = this.getInputText()
, n = t.quote
, s = t.text;
if (!this.enableSubmit)
return !1;
if (!(s.length < 1)) {
var i = this.conversation$
, r = i.securityId
, l = i.uniqueId
, d = i.uid;
if (n) {
var f = n.dataset
, p = f.url
, h = f.mid
, v = (0,
o.getQueryStringArgs)(p)
, m = {
source: "1",
questionId: v.questionId,
randomQuestion: v.randomQuestion,
securityId: r,
msgId: h,
channel: v.channel,
answer: s
};
if ((0,
o.getLength)(m.answer) > 300)
return void this.$toast("回答问题最多不能超过300字", "error");
(0,
c.sendGreetingQuestionAnswer)(m).then((function(t) {
0 !== t.code && e.$toast(t.message, "error")
}
))
} else
u.default.sendMessage(s);
this.$refs.editbox.innerHTML = "",
a.default.removeDraft(l),
__conversion("chatview_send_chat_" + d)
}
},
setDraft: function(e) {
var t = this;
try {
var n = a.default.getDraft(e);
this.$nextTick((function() {
var e = t.$refs.editbox;
e && (e.innerHTML = (0,
r.textCodeToImg)(n) || "",
(0,
o.setCursorEnd)(e))
}
))
} catch (e) {
console.log(e)
}
},
handleBlur: function(e) {
e.preventDefault(),
a.default.updateDraft(this.uniqueId)
},
handleFocus: function() {
(0,
o.restoreCursorPosition)(this.cursorPosition)
},
beforeDestroy: function() {
this.observer && this.observer.disconnect()
}
},
subscriptions: function() {
return {
conversation$: u.default.conversation$,
conversationLoading$: u.default.conversationLoading$
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1660)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(501))
, a = s(n(1971))
, r = s(n(500));
t.default = {
name: "emotion-btn",
components: {
Emotion: a.default
},
data: function() {
return {
show: !1
}
},
directives: {
clickoutside: i.default
},
methods: {
toggleEmotion: function() {
this.show = !this.show,
__conversion("chatview_emoji_" + this.conversation$.uid)
},
hide: function(e) {
this.show = !1,
e && r.default.sendMessage(e, "sticker")
}
},
subscriptions: function() {
return {
conversation$: r.default.conversation$
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1662)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(10),
n(2),
n(68),
n(6),
n(51),
n(48),
n(33),
n(19),
n(50);
var i = s(n(705))
, a = s(n(1523))
, r = n(75);
t.default = {
name: "v-emotion",
data: function() {
return {
currentEmotionList: [],
emojiFace: i.default.emojiFace,
packId: -1
}
},
props: {
conversation: {
type: Object,
default: ""
}
},
computed: {},
created: function() {
this.recentFaceList = this.getRecentFace()
},
methods: {
isShow: function(e) {
return this.emotionList$.filter((function(t) {
return t.packId === e.packId
}
)).length || -1 === e.packId
},
switchEmotionTab: function(t) {
this.packId = t.packId,
this.currentEmotionList = [],
-1 === t.packId ? this.getRecentFace() : this.currentEmotionList = e.find(this.emotionList$, (function(e) {
return e.packId === t.packId
}
)).items || []
},
setRecentFace: function(e) {
window.localStorage && a.default.setting(_PAGE.uid + "emotionsGeek", e),
this.recentFaceList = e
},
getRecentFace: function() {
return a.default.setting(_PAGE.uid + "emotionsGeek") || []
},
chooseEmotion: function(e) {
var t, n, s, a;
if ("BUTTON" === e.target.nodeName) {
t = e.target,
n = t.getAttribute("class").split("emoj-")[1],
s = document.querySelector(".chat-input"),
a = i.default.getImgUrl(n),
s.focus();
var o = t.getAttribute("data-key");
(0,
r.isIE)() && (0,
r.setCursorEnd)(s),
this.inserCurosrHtml(a, o);
var u = this.recentFaceList;
u.forEach((function(e, t) {
n == e.num && u.splice(t, 1)
}
)),
u.unshift({
key: o,
num: n
}),
u = u.slice(0, 11),
this.setRecentFace(u),
this.$emit("choose")
}
},
chooseAnimojiEmotion: function(e) {
var t = {
packId: e.packId,
sid: e.itemId,
encSid: e.encSid,
name: 0 === e.packId ? "动画表情" : e.name,
image: {
originImage: {
height: e.origHeight,
width: e.origWidth,
url: e.origUrl
}
}
}
, n = this.conversation
, s = n.securityId
, i = n.name
, a = n.friendId
, r = n.uniqueId
, o = n.bossId;
n.uid || iGeekRoot.sendAction({
action: "send_sticker_error_uid",
params: {
sticker: t,
communicating: {
securityId: s,
name: i,
friendId: a,
uniqueId: r,
bossId: o
}
}
}),
this.$emit("choose", t),
e.packId || iGeekRoot.sendAction({
action: "send_sticker_error",
params: {
sticker: t,
item: e
}
})
},
inserCurosrHtml: function(e, t) {
var n = document.querySelector(".chat-input");
if ("getSelection"in window) {
var s = window.getSelection();
if (s && 1 === s.rangeCount) {
n.focus();
var i = s.getRangeAt(0)
, a = new Image;
a.src = e,
a.setAttribute("data-key", t),
a.draggable = !1,
a.className = "emoj-insert",
a.setAttribute("title", t.replace("[", "").replace("]", "")),
i.deleteContents(),
i.insertNode(a),
i.collapse(!1),
s.removeAllRanges(),
s.addRange(i)
}
} else if ("selection"in document) {
n.focus(),
document.selection.createRange().pasteHTML('
'),
n.focus()
}
}
},
subscriptions: function() {
return {
emotionTab$: i.default.emotionTab$,
emotionList$: i.default.emotionList$
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1665)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
n(12),
n(14),
n(18),
n(6),
n(22);
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(15));
n(10),
n(2);
var a = s(n(16))
, r = s(n(25))
, o = n(391)
, u = s(n(500))
, c = s(n(503))
, l = s(n(1431))
, d = n(75)
, f = n(227)
, p = s(n(501))
, h = s(n(507))
, v = s(n(706));
function m(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var s = Object.getOwnPropertySymbols(e);
t && (s = s.filter((function(t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable
}
))),
n.push.apply(n, s)
}
return n
}
function g(e) {
for (var t = 1; t < arguments.length; t++) {
var n = null != arguments[t] ? arguments[t] : {};
t % 2 ? m(Object(n), !0).forEach((function(t) {
(0,
r.default)(e, t, n[t])
}
)) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m(Object(n)).forEach((function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
}
))
}
return e
}
t.default = {
name: "resumeBtn",
components: {
HighlightText: h.default,
UploadResume: v.default
},
data: function() {
return {
info: {},
resumeId: "",
show: !1,
type: 3,
showUpload: !1,
resumeInfo: {}
}
},
directives: {
clickoutside: p.default
},
computed: g(g({}, (0,
o.mapState)(["abData"])), {}, {
secureExchange: function() {
return this.info.secureExchange || {}
},
exchangeResumeTip: function() {
var e = this.conversation$
, t = e.bothTalked
, n = e.requestResume
, s = e.exchangeOptGray;
return t || s ? n && !this.isExchangeResumeBlueMsg ? "正在请求中,等待对方回复" : "" : "求简历:双方回复后可用"
},
isExchangeResumeBlueMsg: function() {
var e, t = null;
if (1 !== (null === (e = this.abData) || void 0 === e || null === (e = e.exp_autogen_subject_12885_number_1) || void 0 === e ? void 0 : e.result))
return t;
var n = this.blueMessageList$.filter((function(e) {
return "dialog" === e.messageType && 2 === e.dialog.type
}
));
return n.length && (t = n[n.length - 1]),
t
},
hasResumeAttachment: function() {
return !!(this.resumeInfo.resumeList || []).length
},
complete: function() {
return this.resumeInfo.complete || !1
},
isDesign: function() {
return this.resumeInfo.isDesign || !1
}
}),
mounted: function() {
this.handleConfirm = e.debounce(this.handleConfirm, 500, !0),
this.handleSendResume = e.debounce(this.handleSendResume, 500, !0)
},
methods: {
checkStatus: function(e) {
var t = this.conversation$.uniqueId;
l.default.checkStatus(t, e)
},
handleOpenHight: function(e) {
e.target && "A" === e.target.nodeName && iGeekRoot.frameSlider({
url: this.info.url
})
},
handleConfirm: function() {
var e = this
, t = this.conversation$ || {}
, n = t.uid
, s = t.securityId
, i = t.uniqueId
, a = this.info
, r = a.alertType
, o = a.clickUrl;
if (8 === r && o) {
var u = (0,
f.getQueryParams)(o) || {}
, c = u.type
, p = u.url;
"webview" === c && p && ((0,
d.openNewPage)(decodeURIComponent(p)),
this.handleHideTip())
} else
l.default.request({
securityId: s,
resumeId: this.resumeId,
type: this.type
}).then((function(t) {
e.handleHideTip(),
e.conversion("chatview_resume_" + n),
t && l.default.updateExchangeInfo(i, {
type: e.type,
value: 1
})
}
))
},
routeTo: function() {
this.conversion("chatview_send_resume_upload"),
"undefined" != typeof $ && $(".nav-up-file a").click()
},
handleHideTip: function() {
this.show = !1
},
handleSendResume: function() {
var e = this;
return (0,
a.default)(i.default.mark((function t() {
var n, s, a, r, o, c, d, f, p, h, v, m;
return i.default.wrap((function(t) {
for (; ; )
switch (t.prev = t.next) {
case 0:
if (s = e.conversation$,
a = s.bothTalked,
r = s.uid,
o = s.jobId,
c = s.securityId,
d = s.requestResume,
f = s.friendSource,
p = s.exchangeOptGray,
(a || p) && (!d || e.isExchangeResumeBlueMsg)) {
t.next = 3;
break
}
return t.abrupt("return", !1);
case 3:
if (e.sendAction({
action: "chat-resume-send-click",
p: r,
p5: o
}),
!e.isExchangeResumeBlueMsg) {
t.next = 7;
break
}
return e.handleAcceptWithCheck(e.isExchangeResumeBlueMsg, {
friendSource: f,
securityId: c,
scene: 2
}),
t.abrupt("return");
case 7:
if (1 !== (null === (n = e.abData) || void 0 === n || null === (n = n.exp_autogen_subject_12818_number_1) || void 0 === n ? void 0 : n.result) || 0 !== f) {
t.next = 12;
break
}
if (!(h = u.default.getLatestExchange(e.type))) {
t.next = 12;
break
}
return e.handleAcceptWithCheck(h, {
friendSource: f,
securityId: c
}),
t.abrupt("return");
case 12:
return t.next = 14,
l.default.requestCheck({
securityId: c,
type: 3,
friendSource: f
});
case 14:
if (!(v = t.sent)) {
t.next = 23;
break
}
if (!(null != (m = (v || {}).resumeInfo) && m.showDialog || 8 === v.alertType)) {
t.next = 22;
break
}
return e.show = !0,
e.resumeId = (null == m ? void 0 : m.resumeId) || "",
e.info = v || {},
t.abrupt("return");
case 22:
null != m && m.resumeId && (e.resumeId = null == m ? void 0 : m.resumeId,
e.handleConfirm());
case 23:
case "end":
return t.stop()
}
}
), t)
}
)))()
},
handleAcceptWithCheck: function(e, t) {
var n = this;
return (0,
a.default)(i.default.mark((function s() {
var a, r, o, u;
return i.default.wrap((function(s) {
for (; ; )
switch (s.prev = s.next) {
case 0:
return a = t.securityId,
r = t.friendSource,
o = t.scene,
u = e.mid,
s.next = 4,
l.default.acceptCheck({
mid: u,
type: 4,
securityId: a,
from: "chat-im-resume",
friendSource: r
}, {
onConfirm: function(e) {
n.handleAccept({
mid: u,
securityId: a,
scene: o
}, e)
}
});
case 4:
case "end":
return s.stop()
}
}
), s)
}
)))()
},
handleAccept: function(e, t) {
var n = e.mid
, s = e.securityId
, i = e.scene;
if (t) {
var a = t.resumeInfo;
if (!a)
return;
if (!a.resumeId)
return this.resumeInfo = a.resume || {},
void this.handleToUpload();
var r = {
mid: n,
type: "resume",
securityId: s,
resumeId: a.resumeId,
scene: i
};
l.default.accept(r).then((function(e) {
e && 0 === e.status && u.default.setDialogOperated({
mid: r.mid
})
}
))
}
},
handleCloseUpload: function() {
this.showUpload = !1
},
handleToUpload: function() {
this.showUpload = !0
},
uploadClickCallBack: function() {
var e, t = this, n = {
securityId: (this.conversation$ || {}).securityId,
mid: u.default.getLatestExchange(this.type).mid,
type: "resume"
};
null === (e = iGeekRoot.ChatDialog) || void 0 === e || e.openSendOnlineResume({
callback: function(e) {
var s = e.resumeId;
s && (n.resumeId = s,
l.default.accept(n).then((function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
0 === e.status && u.default.setDialogOperated({
mid: t.mid
})
}
)))
}
})
}
},
subscriptions: function() {
return {
conversation$: u.default.conversation$,
blueMessageList$: c.default.list$
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1668)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(37),
n(33);
var i = s(n(500))
, a = s(n(501))
, r = n(1976)
, o = n(96);
t.default = {
name: "PhraseBtn",
directives: {
clickoutside: a.default
},
data: function() {
return {
greetings: ["我可以把我的简历发给您看看吗?", "我可以去贵公司面试吗?", "对不起,我觉得该职位不适合我,祝您早日找到满意的工作人选"],
show: !1
}
},
methods: {
togglePhrase: function(e, t) {
this.shown(),
this.sendAction({
action: "quick-reply-click"
});
try {
r.Security.join(e, t)
} catch (t) {}
},
greeting: function(e) {
var t = this.conversation$
, n = t.securityId
, s = t.name
, a = t.friendId
, r = t.uniqueId
, o = t.bossId;
t.uid || iGeekRoot.sendAction({
action: "send_greeting_error_uid",
params: {
greeting: e,
communicating: {
securityId: n,
name: s,
friendId: a,
uniqueId: r,
bossId: o
}
}
}),
i.default.sendMessage(e),
this.sendAction({
action: "quick-reply-client",
p: e,
p2: 1,
p3: a
}),
this.hide(),
this.conversion("chatview_dict_" + this.conversation$.uid)
},
shown: function() {
var e = this;
this.show = !this.show,
this.show && (0,
o.getReplyWordList)().then((function(t) {
e.greetings = t.zpData
}
))
},
hide: function() {
this.show = !1
},
handleSet: function() {
var e = this.conversation$.friendId;
this.sendAction({
action: "quick-reply-page-action",
p: e || "",
p2: 5
}),
iGeekRoot.open("/web/geek/notify-set?ka=notify-set")
}
},
subscriptions: function() {
return {
conversation$: i.default.conversation$
}
}
}
}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1671)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(500))
, a = s(n(501))
, r = s(n(708));
t.default = {
name: "RemindBtn",
directives: {
clickoutside: a.default
},
data: function() {
return {}
},
methods: {
handleOnline: function() {
2 == this.features$.onlineRemind ? i.default.sendOnlinePublish({
source: 13,
from: 30
}) : i.default.sendOnlinePublish({
source: 13,
from: 13
})
}
},
subscriptions: function() {
return {
features$: r.default.val$
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1673)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(20),
n(2),
n(30),
n(34),
n(28);
var i = n(1980)
, a = s(n(500));
t.default = {
name: "ImageBtn",
data: function() {
return {}
},
methods: {
handleSendImage: function(e) {
var t, n = this, s = e.target.files;
if (s && s.length > 0 && (t = s[0]),
t) {
var a = this.conversation$
, r = a.groupId
, o = a.gid
, u = a.bossSource
, c = {
source: r || u ? "chat" : "chat_file",
file: t,
gid: o,
securityId: a.securityId
};
(0,
i.md5Upload)(c, (function(e) {
n.sendImageMsg(e)
}
)),
this.clearInput()
}
},
sendImageMsg: function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
, t = e.url
, n = e.tinyUrl
, s = this.loadImage(t)
, i = this.loadImage(n);
Promise.all([s, i]).then((function(e) {
var t = {
originImage: {
width: e[0].width,
height: e[0].height,
url: e[0].src
},
tinyImage: {
width: e[1].width,
height: e[1].height,
url: e[1].src
}
};
a.default.sendMessage(t, "image", {
bgSource: 6
})
}
)).catch((function(e) {}
))
},
loadImage: function(e) {
return new Promise((function(t, n) {
var s = new Image;
s.onload = function() {
t(s)
}
,
s.onerror = function() {
n(new Error("加载失败".concat(e)))
}
,
s.src = e
}
))
},
clearInput: function() {
try {
var e = this.$refs.file;
e && (e.value = "")
} catch (e) {}
}
},
subscriptions: function() {
return {
conversation$: a.default.conversation$
}
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1675)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
n(12),
n(14),
n(18),
n(6),
n(22);
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(15));
n(10),
n(2);
var a = s(n(16))
, r = s(n(25))
, o = n(391)
, u = s(n(500))
, c = s(n(503))
, l = s(n(1984))
, d = s(n(1986))
, f = s(n(1431));
function p(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var s = Object.getOwnPropertySymbols(e);
t && (s = s.filter((function(t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable
}
))),
n.push.apply(n, s)
}
return n
}
function h(e) {
for (var t = 1; t < arguments.length; t++) {
var n = null != arguments[t] ? arguments[t] : {};
t % 2 ? p(Object(n), !0).forEach((function(t) {
(0,
r.default)(e, t, n[t])
}
)) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p(Object(n)).forEach((function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
}
))
}
return e
}
t.default = {
name: "ContactBtn",
components: {
Contact: l.default,
VirtualContact: d.default
},
data: function() {
return {
type: 1,
virtualInfo: {}
}
},
computed: h(h({}, (0,
o.mapState)(["abData"])), {}, {
exchangePhoneTip: function() {
var e = this.conversation$
, t = e.bothTalked
, n = e.requestPhone
, s = e.conclude
, i = e.exchangeOptGray;
return t || 1 == s || i ? n && !this.isExchangePhoneBlueMsg ? "正在请求中,等待对方回复" : "" : "交换手机:双方回复后可用"
},
isExchangePhoneBlueMsg: function() {
var e, t = null;
if (1 !== (null === (e = this.abData) || void 0 === e || null === (e = e.exp_autogen_subject_12885_number_1) || void 0 === e ? void 0 : e.result))
return t;
var n = this.blueMessageList$.filter((function(e) {
return "dialog" === e.messageType && 11 === e.dialog.type
}
));
return n.length && (t = n[n.length - 1]),
t
}
}),
mounted: function() {
this.toggleAssist = e.debounce(this.toggleAssist, 500, !0)
},
methods: {
checkStatus: function(e) {
var t = this.conversation$.uniqueId;
f.default.checkStatus(t, e)
},
toggleAssist: function() {
var e = this
, t = this.conversation$
, n = t.bothTalked
, s = t.conclude
, i = (t.uid,
t.jobId,
t.securityId)
, a = t.requestPhone
, r = t.friendSource
, o = t.exchangeOptGray;
!(n || s || o) || a && !this.isExchangePhoneBlueMsg || (this.isExchangePhoneBlueMsg ? this.handleAcceptCheck(this.isExchangePhoneBlueMsg, {
securityId: i
}) : f.default.requestCheck({
securityId: i,
type: this.type,
friendSource: r
}).then((function(t) {
if (t) {
var n = t || {}
, s = n.status
, i = n.alert
, a = n.alertType
, r = n.secureExchange;
1 == s && i && 1 == a ? (e.virtualInfo = i,
e.$refs.virtualContact.shown()) : e.$refs.contact.shown({
status: s,
secureExchange: r
})
}
}
)))
},
handleAcceptCheck: function(e, t) {
var n = this;
return (0,
a.default)(i.default.mark((function s() {
var a, r;
return i.default.wrap((function(s) {
for (; ; )
switch (s.prev = s.next) {
case 0:
return a = t.securityId,
r = e.mid,
s.next = 4,
f.default.acceptCheck({
mid: r,
type: 1,
securityId: a
}, {
onConfirm: function(e) {
e && n.$refs.contact.shown({
status: 0
})
}
});
case 4:
case "end":
return s.stop()
}
}
), s)
}
)))()
}
},
subscriptions: function() {
return {
conversation$: u.default.conversation$,
blueMessageList$: c.default.list$
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1677)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
n(12),
n(14),
n(10),
n(2),
n(18),
n(6),
n(22);
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(36);
var i = s(n(25))
, a = n(391)
, r = s(n(500))
, o = s(n(1431))
, u = s(n(501))
, c = s(n(507));
function l(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var s = Object.getOwnPropertySymbols(e);
t && (s = s.filter((function(t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable
}
))),
n.push.apply(n, s)
}
return n
}
t.default = {
name: "ContactPhone",
components: {
HighlightText: c.default
},
props: {
isExchangePhoneBlueMsg: Object
},
directives: {
clickoutside: u.default
},
data: function() {
return {
show: !1,
secureExchange: null,
status: 0,
type: 1
}
},
computed: function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = null != arguments[t] ? arguments[t] : {};
t % 2 ? l(Object(n), !0).forEach((function(t) {
(0,
i.default)(e, t, n[t])
}
)) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l(Object(n)).forEach((function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
}
))
}
return e
}({}, (0,
a.mapState)(["abData"])),
methods: {
confirm: function() {
var e, t = this, n = this.conversation$, s = n.uid, i = n.securityId, a = n.uniqueId, u = n.friendSource;
if (this.isExchangePhoneBlueMsg) {
var c = {
mid: this.isExchangePhoneBlueMsg.mid,
type: "contact",
securityId: i,
scene: 2
};
return this.exchangeAccept(c),
void this.hide()
}
if (1 === (null === (e = this.abData) || void 0 === e || null === (e = e.exp_autogen_subject_12818_number_1) || void 0 === e ? void 0 : e.result) && 0 === u) {
var l = r.default.getLatestExchange(this.type);
if (l) {
var d = {
mid: l.mid,
type: "contact",
securityId: i
};
return this.exchangeAccept(d),
void this.hide()
}
}
o.default.request({
securityId: i,
type: this.type
}).then((function(e) {
e && 0 == e.status && o.default.updateExchangeInfo(a, {
type: t.type,
value: 1
}),
t.hide()
}
)),
this.conversion("chatview_mobile_" + s)
},
hide: function() {
this.show = !1
},
shown: function(e) {
this.show = !this.show,
this.status = e.status,
this.secureExchange = e.secureExchange
},
exchangeAccept: function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
, t = ["contact", "weixin", "resume"];
e.type && t.includes(e.type) && o.default.accept(e).then((function() {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
0 === t.status && e.mid && r.default.setDialogOperated({
mid: e.mid
})
}
))
}
},
beforeDestroy: function() {
this.secureExchange = {},
this.status = 0
},
subscriptions: function() {
return {
conversation$: r.default.conversation$
}
}
}
}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1680)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(500))
, a = s(n(501))
, r = n(127)
, o = s(n(1431));
t.default = {
name: "virtual-contact",
props: {
info: {
type: Object,
default: function() {}
}
},
directives: {
clickoutside: a.default
},
watch: {
show: function(e) {
e && (this.disabled = !this.info.isCanClose,
this.isVirtualPhone = !!this.info.defaultOpen,
this.disabled && (this.isVirtualPhone = !0))
}
},
data: function() {
return {
disabled: !1,
isVirtualPhone: !1,
show: !1
}
},
mounted: function() {
this.confirm = e.debounce(this.confirm, 500, !0)
},
methods: {
confirm: function() {
var e = this
, t = this.conversation$;
this.sendAction({
action: "action-chat-virtualphone-open",
p2: this.isVirtualPhone ? 1 : 0,
secid: t.securityId
}),
(0,
r.requestExchange)({
securityId: t.securityId,
type: 1,
isVirtualPhone: this.isVirtualPhone ? 1 : 0
}).then((function(n) {
e.cancel(),
0 == n.code ? o.default.updateExchangeInfo(t.uniqueId, {
type: 1,
value: 1
}) : e.$toast(n.message, "error")
}
)),
this.conversion("chatview_mobile_" + t.uid)
},
cancel: function() {
this.show = !1
},
shown: function() {
this.show = !this.show
}
},
subscriptions: function() {
return {
conversation$: i.default.conversation$
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1684)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
(function(e) {
n(12),
n(14),
n(18),
n(6),
n(22);
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(15));
n(10),
n(2),
n(19),
n(36);
var a = s(n(16))
, r = s(n(25))
, o = n(391)
, u = s(n(500))
, c = s(n(503))
, l = s(n(1431))
, d = n(406)
, f = s(n(501))
, p = s(n(507))
, h = n(96);
function v(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var s = Object.getOwnPropertySymbols(e);
t && (s = s.filter((function(t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable
}
))),
n.push.apply(n, s)
}
return n
}
function m(e) {
for (var t = 1; t < arguments.length; t++) {
var n = null != arguments[t] ? arguments[t] : {};
t % 2 ? v(Object(n), !0).forEach((function(t) {
(0,
r.default)(e, t, n[t])
}
)) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v(Object(n)).forEach((function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
}
))
}
return e
}
t.default = {
name: "WeChatBtn",
directives: {
clickoutside: f.default
},
components: {
HighlightText: p.default
},
data: function() {
return {
type: 2,
show: !1,
status: 1,
account: "",
message: {},
secureExchange: null,
params: {},
from: ""
}
},
computed: m(m({}, (0,
o.mapState)(["abData"])), {}, {
exchangeWeChatTip: function() {
var e = this.conversation$
, t = e.bothTalked
, n = e.requestWeiXin
, s = e.exchangeOptGray;
return t || s ? n && !this.isExchangeWxBlueMsg ? "正在请求中,等待对方回复" : "" : "交换微信:双方回复后可用"
},
isExchangeWxBlueMsg: function() {
var e, t = null;
if (1 !== (null === (e = this.abData) || void 0 === e || null === (e = e.exp_autogen_subject_12885_number_1) || void 0 === e ? void 0 : e.result))
return t;
var n = this.blueMessageList$.filter((function(e) {
return "dialog" === e.messageType && 1 === e.dialog.type
}
));
return n.length && (t = n[n.length - 1]),
t
}
}),
mounted: function() {
var t = this;
this.$eventBus.$off("showWx").$on("showWx", (function(e) {
t.shown({
status: e.status,
params: e.params,
secureExchange: e.secureExchange
})
}
)),
this.toggleAssist = e.debounce(this.toggleAssist, 500, !0),
this.confirm = e.debounce(this.confirm, 500, !0)
},
methods: {
checkStatus: function(e) {
var t = this.conversation$.uniqueId;
l.default.checkStatus(t, e)
},
toggleAssist: function() {
var e = this
, t = this.conversation$
, n = t.bothTalked
, s = t.securityId
, i = t.requestWeiXin
, a = t.friendSource
, r = t.exchangeOptGray;
!n && !r || i && !this.isExchangeWxBlueMsg || (this.isExchangeWxBlueMsg ? this.handleAcceptCheck(this.isExchangeWxBlueMsg, {
securityId: s
}) : l.default.requestCheck({
securityId: s,
type: this.type,
friendSource: a
}).then((function(t) {
if (t) {
var n = t || {}
, s = n.status
, i = n.secureExchange;
e.shown({
status: s,
secureExchange: i
})
}
}
)))
},
confirm: function() {
var e, t = this, n = this.conversation$, s = n.uid, i = n.securityId, a = n.uniqueId, r = n.friendSource;
if (this.isExchangeWxBlueMsg) {
var o = {
mid: this.isExchangeWxBlueMsg.mid,
type: "weixin",
securityId: i,
scene: 2
};
return this.exchangeAccept(o),
void this.cancel()
}
if (1 === (null === (e = this.abData) || void 0 === e || null === (e = e.exp_autogen_subject_12818_number_1) || void 0 === e ? void 0 : e.result) && 0 === r) {
var c = u.default.getLatestExchange(this.type);
if (c) {
var d = {
mid: c.mid,
type: "weixin",
securityId: i
};
return this.exchangeAccept(d),
void this.cancel()
}
}
l.default.request({
securityId: i,
type: this.type
}).then((function(e) {
e && 0 == e.status && (t.cancel(),
t.status = e.status,
l.default.updateExchangeInfo(a, {
type: t.type,
value: 1
}))
}
)),
this.conversion("chatview_weixin_" + s)
},
checkIsWeChat: function(e) {
return !!e && /(^[a-zA-Z_-][a-zA-Z\d_-]{5,19})$|(^[123456789]\d{5,11})$/.test(e)
},
update: function() {
var e = this;
this.checkIsWeChat(this.account) ? (0,
d._checkWechat)({
weixin: this.account,
source: 0
}).then((function(t) {
0 == t.code ? (0,
h.updateWechat)({
weixin: e.account
}).then((function(t) {
if (0 !== t.code)
return e.$toast(t.message, "error");
if ("WechatAssistantExchange" !== e.from) {
if (3 == e.status) {
var n = e.params;
n.securityId && n.type && e.exchangeAccept(n)
} else
e.confirm();
e.cancel(),
e.conversion("send_weixin_add")
} else
e.cancel()
}
)) : e.$toast({
type: "error",
content: t.message
})
}
)) : this.$toast({
type: "error",
content: "微信号格式不符,请重新输入"
})
},
exchangeAccept: function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
, t = ["contact", "weixin", "resume"];
e.type && t.includes(e.type) ? l.default.accept(e).then((function() {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
0 === t.status && e.mid && u.default.setDialogOperated({
mid: e.mid
})
}
)) : this.exchangeOthersAccept(e)
},
exchangeOthersAccept: function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
l.default.acceptOthers(e).then((function(t) {
t && e.mid && u.default.setDialogOperated({
mid: e.mid
})
}
))
},
cancel: function() {
this.show = !1,
this.status = 1
},
shown: function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
e && (this.status = e.status,
this.secureExchange = e.secureExchange,
this.params = e.params || {},
this.from = e.from),
this.show = !0
},
handleAcceptCheck: function(e, t) {
var n = this;
return (0,
a.default)(i.default.mark((function s() {
var a, r;
return i.default.wrap((function(s) {
for (; ; )
switch (s.prev = s.next) {
case 0:
return a = t.securityId,
r = e.mid,
s.next = 4,
l.default.acceptCheck({
mid: r,
type: 2,
securityId: a
}, {
onConfirm: function(e) {
e && (n.show = !0)
}
});
case 4:
case "end":
return s.stop()
}
}
), s)
}
)))()
}
},
beforeDestroy: function() {
this.$eventBus.$off("showWx"),
this.status = 1
},
subscriptions: function() {
return {
conversation$: u.default.conversation$,
blueMessageList$: c.default.list$
}
}
}
}
).call(this, n(49))
}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1687)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(226))
, a = s(n(154));
t.default = {
name: "conversation-welcome",
data: function() {
return {
listeners: null,
loadingEnd: !1,
list: []
}
},
computed: {
currentLabel: function() {
return a.default.getCurrentLabel()
},
isFriendListNull: function() {
return 1 !== this.loading$ && 0 === this.list.length
}
},
mounted: function() {
var e = this;
this.listeners = i.default.subject.firstLoadingEnd$.subscribe((function(t) {
void 0 !== t && (e.list = t || [])
}
))
},
methods: {},
beforeDestroy: function() {
this.listener && this.listener.unsubscribe()
},
subscriptions: function() {
return {
loading$: i.default.subject.loading$
}
}
}
}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(1691)
, i = n.n(s);
for (var a in s)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return s[e]
}
))
}(a);
t.default = i.a
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(1437));
t.default = {
name: "chat-other",
props: {
visable: {
type: Boolean,
default: !1
}
},
beforeDestroy: function() {
i.default.stopScan()
},
subscriptions: function() {
return {
open$: i.default.subject.open$,
qrCode$: i.default.subject.qrCode$
}
}
}
}
, function(e, t, n) {}
, function(e, t, n) {}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(26),
n(17),
n(40);
var i = s(n(21))
, a = s(n(1729))
, r = n(1730)
, o = n(1695)
, u = "item_resize"
, c = "slot_resize"
, l = "thead"
, d = "tfoot"
, f = i.default.component("virtual-list", {
props: o.VirtualProps,
data: function() {
return {
range: null
}
},
watch: {
"dataSources.length": function() {
this.virtual.updateParam("uniqueIds", this.getUniqueIdFromDataSources()),
this.virtual.handleDataSourcesChange()
},
keeps: function(e) {
this.virtual.updateParam("keeps", e),
this.virtual.handleSlotSizeChange()
},
start: function(e) {
this.scrollToIndex(e)
},
offset: function(e) {
this.scrollToOffset(e)
}
},
created: function() {
this.isHorizontal = "horizontal" === this.direction,
this.directionKey = this.isHorizontal ? "scrollLeft" : "scrollTop",
this.installVirtual(),
this.$on(u, this.onItemResized),
(this.$slots.header || this.$slots.footer) && this.$on(c, this.onSlotResized)
},
activated: function() {
this.scrollToOffset(this.virtual.offset),
this.pageMode && document.addEventListener("scroll", this.onScroll, {
passive: !1
})
},
deactivated: function() {
this.pageMode && document.removeEventListener("scroll", this.onScroll)
},
mounted: function() {
this.start ? this.scrollToIndex(this.start) : this.offset && this.scrollToOffset(this.offset),
this.pageMode && (this.updatePageModeFront(),
document.addEventListener("scroll", this.onScroll, {
passive: !1
}))
},
beforeDestroy: function() {
this.virtual.destroy(),
this.pageMode && document.removeEventListener("scroll", this.onScroll)
},
methods: {
getSize: function(e) {
return this.virtual.sizes.get(e)
},
getSizes: function() {
return this.virtual.sizes.size
},
getOffset: function() {
if (this.pageMode)
return document.documentElement[this.directionKey] || document.body[this.directionKey];
var e = this.$refs.root;
return e ? Math.ceil(e[this.directionKey]) : 0
},
getClientSize: function() {
var e = this.isHorizontal ? "clientWidth" : "clientHeight";
if (this.pageMode)
return document.documentElement[e] || document.body[e];
var t = this.$refs.root;
return t ? Math.ceil(t[e]) : 0
},
getScrollSize: function() {
var e = this.isHorizontal ? "scrollWidth" : "scrollHeight";
if (this.pageMode)
return document.documentElement[e] || document.body[e];
var t = this.$refs.root;
return t ? Math.ceil(t[e]) : 0
},
scrollToOffset: function(e) {
if (this.pageMode)
document.body[this.directionKey] = e,
document.documentElement[this.directionKey] = e;
else {
var t = this.$refs.root;
t && (t[this.directionKey] = e)
}
},
scrollToIndex: function(e) {
if (e >= this.dataSources.length - 1)
this.scrollToBottom();
else {
var t = this.virtual.getOffset(e);
this.scrollToOffset(t)
}
},
scrollToBottom: function() {
var e = this
, t = this.$refs.shepherd;
if (t) {
var n = t[this.isHorizontal ? "offsetLeft" : "offsetTop"];
this.scrollToOffset(n),
setTimeout((function() {
e.getOffset() + e.getClientSize() < e.getScrollSize() && e.scrollToBottom()
}
), 3)
}
},
updatePageModeFront: function() {
var e = this.$refs.root;
if (e) {
var t = e.getBoundingClientRect()
, n = e.ownerDocument.defaultView
, s = this.isHorizontal ? t.left + n.pageXOffset : t.top + n.pageYOffset;
this.virtual.updateParam("slotHeaderSize", s)
}
},
reset: function() {
this.virtual.destroy(),
this.scrollToOffset(0),
this.installVirtual()
},
installVirtual: function() {
this.virtual = new a.default({
slotHeaderSize: 0,
slotFooterSize: 0,
keeps: this.keeps,
estimateSize: this.estimateSize,
buffer: Math.round(this.keeps / 3),
uniqueIds: this.getUniqueIdFromDataSources()
},this.onRangeChanged),
this.range = this.virtual.getRange()
},
getUniqueIdFromDataSources: function() {
var e = this.dataKey;
return this.dataSources.map((function(t) {
return "function" == typeof e ? e(t) : t[e]
}
))
},
onItemResized: function(e, t) {
this.virtual.saveSize(e, t),
this.$emit("resized", e, t)
},
onSlotResized: function(e, t, n) {
e === l ? this.virtual.updateParam("slotHeaderSize", t) : e === d && this.virtual.updateParam("slotFooterSize", t),
n && this.virtual.handleSlotSizeChange()
},
onRangeChanged: function(e) {
this.range = e
},
onScroll: function(e) {
var t = this.getOffset()
, n = this.getClientSize()
, s = this.getScrollSize();
t < 0 || t + n > s + 1 || !s || (this.virtual.handleScroll(t),
this.emitEvent(t, n, s, e))
},
emitEvent: function(e, t, n, s) {
this.$emit("scroll", s, this.virtual.getRange()),
this.virtual.isFront() && this.dataSources.length && e - this.topThreshold <= 0 ? this.$emit("totop") : this.virtual.isBehind() && e + t + this.bottomThreshold >= n && this.$emit("tobottom")
},
getRenderSlots: function(e) {
for (var t = [], n = this.range, s = n.start, i = n.end, a = this.dataSources, o = this.dataKey, c = this.itemClass, l = this.itemTag, d = this.itemStyle, f = this.isHorizontal, p = this.extraProps, h = this.dataComponent, v = this.itemScopedSlots, m = this.$scopedSlots && this.$scopedSlots.item, g = s; g <= i; g++) {
var b = a[g];
if (b) {
var y = "function" == typeof o ? o(b) : b[o];
"string" == typeof y || "number" == typeof y ? t.push(e(r.Item, {
props: {
index: g,
tag: l,
event: u,
horizontal: f,
uniqueKey: y,
source: b,
extraProps: p,
component: h,
slotComponent: m,
scopedSlots: v
},
style: d,
class: "".concat(c).concat(this.itemClassAdd ? " " + this.itemClassAdd(g) : "")
})) : console.warn("Cannot get the data-key '".concat(o, "' from data-sources."))
} else
console.warn("Cannot get the index '".concat(g, "' from data-sources."))
}
return t
}
},
render: function(e) {
var t = this.$slots
, n = t.header
, s = t.footer
, i = this.range
, a = i.padFront
, o = i.padBehind
, u = this.isHorizontal
, f = this.pageMode
, p = this.rootTag
, h = this.wrapTag
, v = this.wrapClass
, m = this.wrapStyle
, g = this.headerTag
, b = this.headerClass
, y = this.headerStyle
, x = this.footerTag
, _ = this.footerClass
, w = this.footerStyle
, C = {
padding: u ? "0px ".concat(o, "px 0px ").concat(a, "px") : "".concat(a, "px 0px ").concat(o, "px")
}
, k = m ? Object.assign({}, m, C) : C;
return e(p, {
ref: "root",
on: {
"&scroll": !f && this.onScroll
}
}, [n ? e(r.Slot, {
class: b,
style: y,
props: {
tag: g,
event: c,
uniqueKey: l
}
}, n) : null, e(h, {
class: v,
attrs: {
role: "group"
},
style: k
}, this.getRenderSlots(e)), s ? e(r.Slot, {
class: _,
style: w,
props: {
tag: x,
event: c,
uniqueKey: d
}
}, s) : null, e("div", {
ref: "shepherd",
style: {
width: u ? "0px" : "100%",
height: u ? "100%" : "0px"
}
})])
}
});
t.default = f
}
, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.VirtualProps = t.SlotProps = t.ItemProps = void 0,
n(46);
t.VirtualProps = {
dataKey: {
type: [String, Function],
required: !0
},
dataSources: {
type: Array,
required: !0
},
dataComponent: {
type: [Object, Function],
required: !0
},
keeps: {
type: Number,
default: 30
},
extraProps: {
type: Object
},
estimateSize: {
type: Number,
default: 50
},
direction: {
type: String,
default: "vertical"
},
start: {
type: Number,
default: 0
},
offset: {
type: Number,
default: 0
},
topThreshold: {
type: Number,
default: 0
},
bottomThreshold: {
type: Number,
default: 0
},
pageMode: {
type: Boolean,
default: !1
},
rootTag: {
type: String,
default: "div"
},
wrapTag: {
type: String,
default: "div"
},
wrapClass: {
type: String,
default: ""
},
wrapStyle: {
type: Object
},
itemTag: {
type: String,
default: "div"
},
itemClass: {
type: String,
default: ""
},
itemClassAdd: {
type: Function
},
itemStyle: {
type: Object
},
headerTag: {
type: String,
default: "div"
},
headerClass: {
type: String,
default: ""
},
headerStyle: {
type: Object
},
footerTag: {
type: String,
default: "div"
},
footerClass: {
type: String,
default: ""
},
footerStyle: {
type: Object
},
itemScopedSlots: {
type: Object
}
},
t.ItemProps = {
index: {
type: Number
},
event: {
type: String
},
tag: {
type: String
},
horizontal: {
type: Boolean
},
source: {
type: Object
},
component: {
type: [Object, Function]
},
slotComponent: {
type: Function
},
uniqueKey: {
type: [String, Number]
},
extraProps: {
type: Object
},
scopedSlots: {
type: Object
}
},
t.SlotProps = {
event: {
type: String
},
uniqueKey: {
type: String
},
tag: {
type: String
},
horizontal: {
type: Boolean
}
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2069)
, i = n(1471);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1742);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "351a13af", null);
t.default = o.exports
}
, function(e, t, n) {
e.exports = n.p + "static/images/public-logo.e651b92a.png"
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2021)
, i = n(1487);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1753);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "1d05e04c", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2048)
, i = n(1491);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1751);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "2ccd7d52", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2071)
, i = n(1531);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1782),
n(1783);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "738afe51", null);
t.default = o.exports
}
, , , , , , , , , , , , , , , , , , function(e, t, n) {
"use strict";
n.r(t);
var s = n(2027)
, i = n(1580);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1900);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "1e7cfd2f", null);
t.default = o.exports
}
, , function(e, t, n) {
e.exports = n.p + "static/images/geekboom-resume.9860c21b.png"
}
, , function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}),
t._getTaskPublishUrl = t._getChatGroupTask = t._getChatGroupExample = void 0;
var s = n(53);
t._getChatGroupTask = function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
return (0,
s.get)("/wapi/zpwukong/web/employer/task/getChatGroupTask", e)
}
,
t._getTaskPublishUrl = function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
return (0,
s.get)("/wapi/zpwukong/web/employer/task/getTaskPublishUrl", e)
}
,
t._getChatGroupExample = function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
return (0,
s.get)("/wapi/zpwukong/web/supplier/getChatGroupExample", e)
}
}
, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}),
t._sendTaskCard = t._sendExampleCard = t.FORM_POST_HEADER = void 0;
var s = n(53)
, i = t.FORM_POST_HEADER = {
headers: {
"Content-Type": "application/x-www-form-urlencoded"
}
};
t._sendTaskCard = function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
return (0,
s.post)("/wapi/zpwukong/web/employer/task/sendTaskCard", (0,
s.paramsQuery)(e), i)
}
,
t._sendExampleCard = function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
return (0,
s.post)("/wapi/zpwukong/web/supplier/sendExampleCard", (0,
s.paramsQuery)(e), i)
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2004)
, i = n(1450);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1763);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "89f8f1fe", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2007)
, i = n(1452);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1756);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "35229736", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2015)
, i = n(1454);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
e.exports = n.p + "static/images/filter-close.b6a0f4a2.png"
}
, function(e, t, n) {
e.exports = n.p + "static/images/filter-close-hover.770d2421.png"
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(20),
n(138),
n(2),
n(34),
n(28),
n(6),
n(36),
n(67);
var i = s(n(132))
, a = s(n(59))
, r = s(n(60))
, o = "FRONT"
, u = "BEHIND"
, c = "INIT"
, l = "FIXED"
, d = "DYNAMIC";
t.default = function() {
function e(t, n) {
(0,
a.default)(this, e),
this.init(t, n)
}
return (0,
r.default)(e, [{
key: "init",
value: function(e, t) {
this.param = e,
this.callUpdate = t,
this.sizes = new Map,
this.firstRangeTotalSize = 0,
this.firstRangeAverageSize = 0,
this.lastCalcIndex = 0,
this.fixedSizeValue = 0,
this.calcType = c,
this.offset = 0,
this.direction = "",
this.range = Object.create(null),
e && this.checkRange(0, e.keeps - 1)
}
}, {
key: "destroy",
value: function() {
this.init(null, null)
}
}, {
key: "getRange",
value: function() {
var e = Object.create(null);
return e.start = this.range.start,
e.end = this.range.end,
e.padFront = this.range.padFront,
e.padBehind = this.range.padBehind,
e
}
}, {
key: "isBehind",
value: function() {
return this.direction === u
}
}, {
key: "isFront",
value: function() {
return this.direction === o
}
}, {
key: "getOffset",
value: function(e) {
return (e < 1 ? 0 : this.getIndexOffset(e)) + this.param.slotHeaderSize
}
}, {
key: "updateParam",
value: function(e, t) {
var n = this;
this.param && e in this.param && ("uniqueIds" === e && this.sizes.forEach((function(e, s) {
t.includes(s) || n.sizes.delete(s)
}
)),
this.param[e] = t)
}
}, {
key: "saveSize",
value: function(e, t) {
this.sizes.set(e, t),
this.calcType === c ? (this.fixedSizeValue = t,
this.calcType = l) : this.calcType === l && this.fixedSizeValue !== t && (this.calcType = d,
delete this.fixedSizeValue),
this.calcType !== l && void 0 !== this.firstRangeTotalSize && (this.sizes.size < Math.min(this.param.keeps, this.param.uniqueIds.length) ? (this.firstRangeTotalSize = (0,
i.default)(this.sizes.values()).reduce((function(e, t) {
return e + t
}
), 0),
this.firstRangeAverageSize = Math.round(this.firstRangeTotalSize / this.sizes.size)) : delete this.firstRangeTotalSize)
}
}, {
key: "handleDataSourcesChange",
value: function() {
var e = this.range.start;
this.isFront() ? e -= 0 : this.isBehind() && (e += 0),
e = Math.max(e, 0),
this.updateRange(this.range.start, this.getEndByStart(e))
}
}, {
key: "handleSlotSizeChange",
value: function() {
this.handleDataSourcesChange()
}
}, {
key: "handleScroll",
value: function(e) {
this.direction = e < this.offset ? o : u,
this.offset = e,
this.param && (this.direction === o ? this.handleFront() : this.direction === u && this.handleBehind())
}
}, {
key: "handleFront",
value: function() {
var e = this.getScrollOvers();
if (!(e > this.range.start)) {
var t = Math.max(e - this.param.buffer, 0);
this.checkRange(t, this.getEndByStart(t))
}
}
}, {
key: "handleBehind",
value: function() {
var e = this.getScrollOvers();
e < this.range.start + this.param.buffer || this.checkRange(e, this.getEndByStart(e))
}
}, {
key: "getScrollOvers",
value: function() {
var e = this.offset - this.param.slotHeaderSize;
if (e <= 0)
return 0;
if (this.isFixedType())
return Math.floor(e / this.fixedSizeValue);
for (var t = 0, n = 0, s = 0, i = this.param.uniqueIds.length; t <= i; ) {
if (n = t + Math.floor((i - t) / 2),
(s = this.getIndexOffset(n)) === e)
return n;
s < e ? t = n + 1 : s > e && (i = n - 1)
}
return t > 0 ? --t : 0
}
}, {
key: "getIndexOffset",
value: function(e) {
if (!e)
return 0;
for (var t = 0, n = 0, s = 0; s < e; s++)
t += "number" == typeof (n = this.sizes.get(this.param.uniqueIds[s])) ? n : this.getEstimateSize();
return this.lastCalcIndex = Math.max(this.lastCalcIndex, e - 1),
this.lastCalcIndex = Math.min(this.lastCalcIndex, this.getLastIndex()),
t
}
}, {
key: "isFixedType",
value: function() {
return this.calcType === l
}
}, {
key: "getLastIndex",
value: function() {
return this.param.uniqueIds.length - 1
}
}, {
key: "checkRange",
value: function(e, t) {
var n = this.param.keeps;
this.param.uniqueIds.length <= n ? (e = 0,
t = this.getLastIndex()) : t - e < n - 1 && (e = t - n + 1),
this.range.start !== e && this.updateRange(e, t)
}
}, {
key: "updateRange",
value: function(e, t) {
this.range.start = e,
this.range.end = t,
this.range.padFront = this.getPadFront(),
this.range.padBehind = this.getPadBehind(),
this.callUpdate(this.getRange())
}
}, {
key: "getEndByStart",
value: function(e) {
var t = e + this.param.keeps - 1;
return Math.min(t, this.getLastIndex())
}
}, {
key: "getPadFront",
value: function() {
return this.isFixedType() ? this.fixedSizeValue * this.range.start : this.getIndexOffset(this.range.start)
}
}, {
key: "getPadBehind",
value: function() {
var e = this.range.end
, t = this.getLastIndex();
return this.isFixedType() ? (t - e) * this.fixedSizeValue : this.lastCalcIndex === t ? this.getIndexOffset(t) - this.getIndexOffset(e) : (t - e) * this.getEstimateSize()
}
}, {
key: "getEstimateSize",
value: function() {
return this.isFixedType() ? this.fixedSizeValue : this.firstRangeAverageSize || this.param.estimateSize
}
}]),
e
}()
}
, function(e, t, n) {
"use strict";
n(12),
n(14),
n(10),
n(2),
n(18),
n(6),
n(22);
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.Slot = t.Item = void 0;
var i = s(n(25))
, a = s(n(21))
, r = n(1695);
function o(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var s = Object.getOwnPropertySymbols(e);
t && (s = s.filter((function(t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable
}
))),
n.push.apply(n, s)
}
return n
}
function u(e) {
for (var t = 1; t < arguments.length; t++) {
var n = null != arguments[t] ? arguments[t] : {};
t % 2 ? o(Object(n), !0).forEach((function(t) {
(0,
i.default)(e, t, n[t])
}
)) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : o(Object(n)).forEach((function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
}
))
}
return e
}
var c = {
created: function() {
this.shapeKey = this.horizontal ? "offsetWidth" : "offsetHeight"
},
mounted: function() {
var e = this;
"undefined" != typeof ResizeObserver && (this.resizeObserver = new ResizeObserver((function() {
window.requestAnimationFrame((function() {
e.dispatchSizeChange()
}
))
}
)),
this.resizeObserver.observe(this.$el))
},
updated: function() {
this.dispatchSizeChange()
},
beforeDestroy: function() {
this.resizeObserver && (this.resizeObserver.disconnect(),
this.resizeObserver = null)
},
methods: {
getCurrentSize: function() {
return this.$el ? this.$el[this.shapeKey] : 0
},
dispatchSizeChange: function() {
this.$parent.$emit(this.event, this.uniqueKey, this.getCurrentSize(), this.hasInitial)
}
}
};
t.Item = a.default.component("VirtualListItem", {
mixins: [c],
props: r.ItemProps,
render: function(e) {
var t = this.tag
, n = this.component
, s = this.extraProps
, i = void 0 === s ? {} : s
, a = this.index
, r = this.source
, o = this.scopedSlots
, c = void 0 === o ? {} : o
, l = this.uniqueKey
, d = this.slotComponent
, f = u(u({}, i), {}, {
source: r,
index: a
});
return e(t, {
key: l,
attrs: {
role: "listitem"
}
}, [d ? e("div", d({
item: r,
index: a,
scope: f
})) : e(n, {
props: f,
scopedSlots: c
})])
}
}),
t.Slot = a.default.component("VirtualListSlot", {
mixins: [c],
props: r.SlotProps,
render: function(e) {
var t = this.tag
, n = this.uniqueKey;
return e(t, {
key: n,
attrs: {
role: n
}
}, this.$slots.default)
}
})
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2016)
, i = n(1456);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
e.exports = n.p + "static/images/list-remove.f8dce1cb.png"
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2043)
, i = n(1461);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2044)
, i = n(1463);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
e.exports = n.p + "static/images/icon-operater.e346c736.png"
}
, function(e, t, n) {
e.exports = n.p + "static/images/icon-operater-hover.5d060093.png"
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2045)
, i = n(1467);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2046)
, i = n(1469);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1743);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "169097fc", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0;
var i = s(n(1740));
t.default = i.default
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2087)
, i = n(1473);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1741);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "298b8c96", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1475);
n.n(s).a
}
, function(e, t, n) {
"use strict";
var s = n(1476);
n.n(s).a
}
, function(e, t, n) {
"use strict";
var s = n(1477);
n.n(s).a
}
, function(e, t, n) {
"use strict";
var s = n(1478);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2018)
, i = n(1479);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2019)
, i = n(1481);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1747);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "684dd7e1", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1483);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2020)
, i = n(1484);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1749);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "5263d46c", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1486);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2047)
, i = n(1489);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1752);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1493);
n.n(s).a
}
, function(e, t, n) {
"use strict";
var s = n(1494);
n.n(s).a
}
, function(e, t, n) {
"use strict";
var s = n(1495);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2022)
, i = n(1496);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1755);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "61a97576", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1498);
n.n(s).a
}
, function(e, t, n) {
"use strict";
var s = n(1499);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2008)
, i = n(1500);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1760);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "a546767a", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2023)
, i = n(1502);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1759);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "40f42fb4", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1504);
n.n(s).a
}
, function(e, t, n) {
"use strict";
var s = n(1505);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2009)
, i = n(1506);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1762);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "1758de21", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1508);
n.n(s).a
}
, function(e, t, n) {
"use strict";
var s = n(1509);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2005)
, i = n(1510);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1994);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "29cd61d6", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2010)
, i = n(1512);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1774);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "3ef7662f", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2024)
, i = n(1514);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1770);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "24cbd280", null);
t.default = o.exports
}
, function(e, t, n) {
e.exports = n.p + "static/images/conversation-top-phone.fbd8fbab.png"
}
, function(e, t, n) {
e.exports = n.p + "static/images/conversation-top-interview.5b752370.png"
}
, function(e, t, n) {
e.exports = n.p + "static/images/conversation-top-more.01352f18.png"
}
, function(e, t, n) {
"use strict";
var s = n(1516);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2025)
, i = n(1517);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1773);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "d2e04850", null);
t.default = o.exports
}
, function(e, t, n) {
e.exports = n.p + "static/images/icon-notice.b182b659.png"
}
, function(e, t, n) {
"use strict";
var s = n(1519);
n.n(s).a
}
, function(e, t, n) {
"use strict";
var s = n(1520);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2011)
, i = n(1521);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1941);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "9ced8fda", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2026)
, i = n(1524);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2049)
, i = n(1526);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1530);
n.n(s).a
}
, function(e, t, n) {
e.exports = n.p + "static/images/chat-opener-question.c729272a.png"
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2083)
, i = n(1533);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1781);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "2deebad1", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1535);
n.n(s).a
}
, function(e, t, n) {
"use strict";
var s = n(1536);
n.n(s).a
}
, function(e, t, n) {
"use strict";
var s = n(1537);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2072)
, i = n(1538);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1786);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "da26dede", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1542);
n.n(s).a
}
, function(e, t, n) {
"use strict";
var s = n(1543);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2074)
, i = n(1544);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1788);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1546);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2075)
, i = n(1547);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2050)
, i = n(1549);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1792);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "014e9f96", null);
t.default = o.exports
}
, function(e, t, n) {
e.exports = n.p + "static/images/icon-image-load-error.12fd0866.png"
}
, function(e, t, n) {
"use strict";
var s = n(1551);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2051)
, i = n(1552);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2052)
, i = n(1554);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1795),
n(1796);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "2dd28fd3", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1556);
n.n(s).a
}
, function(e, t, n) {
"use strict";
var s = n(1557);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2053)
, i = n(1558);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1798),
n(1799);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "957f2f60", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1560);
n.n(s).a
}
, function(e, t, n) {
"use strict";
var s = n(1561);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2054)
, i = n(1562);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1893),
n(1894);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "60cb944c", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2076)
, i = n(1564);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1892);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "28444d2a", null);
t.default = o.exports
}
, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , function(e, t, n) {
"use strict";
var s = n(1573);
n.n(s).a
}
, function(e, t, n) {
"use strict";
var s = n(1574);
n.n(s).a
}
, function(e, t, n) {
"use strict";
var s = n(1575);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2055)
, i = n(1576);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2077)
, i = n(1578);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(12),
n(19),
n(50);
var s = n(1898);
function i(e) {
return void 0 === e || "string" == typeof e && 0 === e.indexOf("?") ? document.body : ("string" == typeof e && e.indexOf("?") > 0 && (e = e.split("?")[0]),
"body" === e || !0 === e ? document.body : e instanceof window.Node ? e : document.querySelector(e))
}
var a = {
inserted: function(e, t, n) {
var s = t.value;
if (e.dataset && "true" !== e.dataset.transfer)
return !1;
e.className = e.className ? e.className + " v-transfer-dom" : "v-transfer-dom";
var a = e.parentNode
, r = document.createComment("")
, o = !1;
!1 !== s && (a && a.replaceChild(r, e),
i(s).appendChild(e),
o = !0),
e.__transferDomData || (e.__transferDomData = {
parentNode: a,
home: r,
target: i(s),
hasMovedOut: o
})
},
componentUpdated: function(e, t) {
var n = t.value;
if (e.dataset && "true" !== e.dataset.transfer)
return !1;
if (function(e) {
if (!e)
return !1;
if ("string" == typeof e && e.indexOf("?") > 0)
try {
return JSON.parse(e.split("?")[1]).autoUpdate || !1
} catch (e) {
return !1
}
return !1
}(n)) {
var a = e.__transferDomData
, r = a.parentNode
, o = a.home
, u = a.hasMovedOut;
!u && n ? (r && r.replaceChild(o, e),
i(n).appendChild(e),
e.__transferDomData = s({}, e.__transferDomData, {
hasMovedOut: !0,
target: i(n)
})) : u && !1 === n ? (r && r.replaceChild(e, o),
e.__transferDomData = s({}, e.__transferDomData, {
hasMovedOut: !1,
target: i(n)
})) : n && i(n).appendChild(e)
}
},
unbind: function(e, t) {
e.className = e.className.replace("v-transfer-dom", ""),
e.__transferDomData && !0 === e.__transferDomData.hasMovedOut && e.__transferDomData.parentNode && e.__transferDomData.parentNode.appendChild(e),
e.__transferDomData = null
}
};
t.default = a
}
, , function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.default = void 0,
n(2),
n(51);
s(n(21));
var i, a = [], r = "@@clickoutsideContext", o = 0;
function u(e, t, n) {
return function() {
var s = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
, i = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
!(n && n.context && s.target && i.target) || e.contains(s.target) || e.contains(i.target) || e === s.target || n.context.popperElm && (n.context.popperElm.contains(s.target) || n.context.popperElm.contains(i.target)) || (t.expression && e[r].methodName && n.context[e[r].methodName] ? n.context[e[r].methodName]() : e[r].bindingFn && e[r].bindingFn())
}
}
"undefined" != typeof document && document.addEventListener("click", (function(e) {
return i = e
}
)),
"undefined" != typeof document && document.addEventListener("click", (function(e) {
a.forEach((function(t) {
return t[r].documentHandler(e, i)
}
))
}
));
t.default = {
bind: function(e, t, n) {
a.push(e);
var s = o++;
e[r] = {
id: s,
documentHandler: u(e, t, n),
methodName: t.expression,
bindingFn: t.value
}
},
update: function(e, t, n) {
e[r].documentHandler = u(e, t, n),
e[r].methodName = t.expression,
e[r].bindingFn = t.value
},
unbind: function(e) {
for (var t = a.length, n = 0; n < t; n++)
if (a[n][r].id === e[r].id) {
a.splice(n, 1);
break
}
delete e[r]
}
}
}
, function(e, t, n) {
"use strict";
var s = n(1582);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2078)
, i = n(1583);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
e.exports = n.p + "static/images/icon-item-safe.bf4bb9e5.png"
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2056)
, i = n(1585);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1904);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "180e27fc", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1587);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2057)
, i = n(1588);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2079)
, i = n(1590);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1908);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "34f9effa", null);
t.default = o.exports
}
, function(e, t, n) {
e.exports = n.p + "static/images/icon-video-resume.bf81924c.png"
}
, function(e, t, n) {
"use strict";
var s = n(1592);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2080)
, i = n(1593);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1911),
n(1912);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "75186e06", null);
t.default = o.exports
}
, function(e, t, n) {
e.exports = n.p + "static/images/icon-resume.ae60a671.png"
}
, function(e, t, n) {
"use strict";
var s = n(1595);
n.n(s).a
}
, function(e, t, n) {
"use strict";
var s = n(1596);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2058)
, i = n(1597);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1914);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "1cddedd8", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1599);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2059)
, i = n(1600);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2081)
, i = n(1602);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1928);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "4dcf093a", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2084)
, i = n(1604);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1923);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "4f93f560", null);
t.default = o.exports
}
, function(e, t, n) {
e.exports = n.p + "static/images/icon-position.cea6041d.png"
}
, , , , , function(e, t, n) {
"use strict";
var s = n(1606);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2085)
, i = n(1607);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1925);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "692d0ffc", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1609);
n.n(s).a
}
, function(e, t, n) {
e.exports = n.p + "static/images/geekboom-phone.5be51baf.png"
}
, function(e, t, n) {
e.exports = n.p + "static/images/geekboom-wechat.c8974e70.png"
}
, function(e, t, n) {
"use strict";
var s = n(1610);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2082)
, i = n(1611);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1931),
n(1932);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "bc7bf840", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2086)
, i = n(1613);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1615);
n.n(s).a
}
, function(e, t, n) {
"use strict";
var s = n(1616);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2060)
, i = n(1617);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2061)
, i = n(1619);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2062)
, i = n(1621);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1938);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "4038bdeb", null);
t.default = o.exports
}
, function(e, t, n) {
e.exports = n.p + "static/images/voice-loading-1.712c2f47.png"
}
, function(e, t, n) {
e.exports = n.p + "static/images/voice-loading-2.a1fe1bc7.png"
}
, function(e, t, n) {
"use strict";
var s = n(1623);
n.n(s).a
}
, , , function(e, t, n) {
"use strict";
var s = n(1624);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2012)
, i = n(1625);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1958);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "6e1b7499", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2028)
, i = n(1627);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1944);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "2b79e746", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1629);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2029)
, i = n(1630);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1948);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "2c9cd01a", null);
t.default = o.exports
}
, function(e, t, n) {
e.exports = n.p + "static/images/icon-freeze-tip.13b1cda0.png"
}
, function(e, t, n) {
e.exports = n.p + "static/images/icon-freeze-close.6111952f.png"
}
, function(e, t, n) {
"use strict";
var s = n(1632);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2030)
, i = n(1633);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1950);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "b1525db8", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1635);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2031)
, i = n(1636);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1955);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "17e613ad", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.OpenUrlWithWildLink = void 0,
n(17);
var s = n(96);
t.OpenUrlWithWildLink = function(e) {
var t = function() {
var t, n, s = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 2;
if (2 === s)
return null === (n = iGeekRoot) || void 0 === n ? void 0 : n.open(e);
null === (t = iGeekRoot) || void 0 === t || t.open("/web/common/wild-link.html?type=".concat(s, "&url=").concat(e))
};
(0,
s.webUrlRedirect)(e).then((function(e) {
if (0 === e.code) {
var n = e.zpData.type;
t(n)
} else
t()
}
))
}
}
, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.closeChatHunterTip = t.FORM_POST_HEADER = void 0;
var s = n(53)
, i = t.FORM_POST_HEADER = {
headers: {
"Content-Type": "application/x-www-form-urlencoded"
}
};
t.closeChatHunterTip = function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
return (0,
s.post)("/wapi/hunter/h5/call/search/hunter/geek/closeChatTip", (0,
s.paramsQuery)(e), i)
}
}
, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.getHunterPhone = void 0;
var s = n(53);
t.getHunterPhone = function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
return (0,
s.get)("/wapi/hunter/h5/call/search/hunter/geek/getHunterPhone", e)
}
}
, function(e, t, n) {
"use strict";
var s = n(1638);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2032)
, i = n(1639);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1957);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "2761654d", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1641);
n.n(s).a
}
, function(e, t, n) {
"use strict";
var s = n(1642);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2013)
, i = n(1643);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2033)
, i = n(1645);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1962);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.withXOssProcess = void 0,
n(36),
n(67),
n(19),
n(50);
var s = function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "";
return (e || "").includes("x-oss-process")
};
t.withXOssProcess = function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : ""
, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "";
if (s(e))
return e;
var n = e.includes("?") ? "&" : "?";
return e + n + (t = (t || "").replace(/^[\?|&]/, ""))
}
}
, function(e, t, n) {
"use strict";
var s = n(1647);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2034)
, i = n(1648);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1968);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "12fd2a78", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2063)
, i = n(1650);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1965);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "55a96f61", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1652);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2064)
, i = n(1653);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1967);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "13b7d199", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1655);
n.n(s).a
}
, function(e, t, n) {
"use strict";
var s = n(1656);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2035)
, i = n(1657);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2036)
, i = n(1659);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2065)
, i = n(1661);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1972);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "61df1d14", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1663);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2037)
, i = n(1664);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1974);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "3a822c4d", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1666);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2038)
, i = n(1667);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1977);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "f115c50c", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.Security = void 0,
n(17),
n(37),
n(19),
n(77),
n(10),
n(2),
n(12);
t.Security = function() {
window;
var e = navigator.userAgent;
var t = {};
t.restArguments = function(e, t) {
return t = null == t ? e.length - 1 : +t,
function() {
for (var n = Math.max(arguments.length - t, 0), s = Array(n), i = 0; i < n; i++)
s[i] = arguments[i + t];
switch (t) {
case 0:
return e.call(this, s);
case 1:
return e.call(this, arguments[0], s);
case 2:
return e.call(this, arguments[0], arguments[1], s)
}
var a = Array(t + 1);
for (i = 0; i < t; i++)
a[i] = arguments[i];
return a[t] = s,
e.apply(this, a)
}
}
,
t.delay = t.restArguments((function(e, t, n) {
return setTimeout((function() {
return e.apply(null, n)
}
), t)
}
)),
t.now = Date.now || function() {
return (new Date).getTime()
}
,
t.throttle = function(e, n, s) {
var i, a, r, o, u = 0;
s || (s = {});
var c = function() {
u = !1 === s.leading ? 0 : t.now(),
i = null,
o = e.apply(a, r),
i || (a = r = null)
}
, l = function() {
var l = t.now();
u || !1 !== s.leading || (u = l);
var d = n - (l - u);
return a = this,
r = arguments,
d <= 0 || d > n ? (i && (clearTimeout(i),
i = null),
u = l,
o = e.apply(a, r),
i || (a = r = null)) : i || !1 === s.trailing || (i = setTimeout(c, d)),
o
};
return l.cancel = function() {
clearTimeout(i),
u = 0,
i = a = r = null
}
,
l
}
,
t.debounce = function(e, n, s) {
var i, a, r = function(t, n) {
i = null,
n && (a = e.apply(t, n))
}, o = t.restArguments((function(o) {
if (i && clearTimeout(i),
s) {
var u = !i;
i = setTimeout(r, n),
u && (a = e.apply(this, o))
} else
i = t.delay(r, n, this, o);
return a
}
));
return o.cancel = function() {
clearTimeout(i),
i = null
}
,
o
}
,
t.paramsQuery = function(e) {
var t, n, s, i = [];
for (t in e)
if ((n = e[t])instanceof Array)
for (s = n.length; s--; )
i.push("".concat(t, "[]=").concat(encodeURIComponent(n[s])));
else
i.push("".concat(t, "=").concat(encodeURIComponent(void 0 === n ? "" : n)));
return i.join("&")
}
,
t.post = function(e, n) {
return function(e, t) {
var n = (t = t || {}).data || ""
, s = t.username || ""
, i = t.password || ""
, a = t.async || !0
, r = (t.method || "GET").toUpperCase()
, o = t.contentType || "application/x-www-form-urlencoded"
, u = function() {
if (window.ActiveXObject)
try {
return new ActiveXObject("Msxml2.XMLHTTP")
} catch (e) {
try {
return new ActiveXObject("Microsoft.XMLHTTP")
} catch (e) {}
}
if (window.XMLHttpRequest)
return new XMLHttpRequest
}();
try {
u.withCredentials = !0
} catch (e) {}
try {
"GET" == r && n && (e += (e.indexOf("?") >= 0 ? "&" : "?") + n,
n = null),
s ? u.open(r, e, a, s, i) : u.open(r, e, a),
"POST" == r && u.setRequestHeader("Content-type", o),
u.onreadystatechange = function() {
4 == u.readyState && 200 == u.status && t.success && t.success(__parse(u.responseText))
}
,
u.send(n)
} catch (e) {}
return u
}(e, {
method: "POST",
data: t.paramsQuery(n)
})
}
,
t.send = function(e) {
try {
var n = {
identity: 1,
items: e,
clientInfo: {
model: "",
version: "",
os: "",
channel: "",
ssid: "",
bssid: "",
imei: "",
longitude: "",
dzt: "",
latitude: "",
network: ""
}
};
t.post("/wapi/zpApm/actionLog/fe/ie/common.json", {
content: JSON.stringify(n)
})
} catch (e) {}
}
,
t.getBrowser = function(e) {
var t = e ? "".concat(e).toLowerCase() : navigator.userAgent.toLowerCase()
, n = function(e) {
for (var t = [/(zpdesktop)\/v?([\w\.]+)/i, /(opera\smini)\/([\w\.-]+)/i, /(opera\s[mobiletab]+).+version\/([\w\.-]+)/i, /(opera).+version\/([\w\.]+)/i, /(opera)[\/\s]+([\w\.]+)/i, /\s(opr)\/([\w\.]+)/i, /(?:ms|\()(ie)\s([\w\.]+)/i, /(trident).+rv[:\s]([\w\.]+).+like\sgecko/i, /(edge)\/((\d+)?[\w\.]+)/i, /\swv\).+(chrome)\/([\w\.]+)/i, /(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i, /(qqbrowser)[\/\s]?([\w\.]+)/i, /(uc\s?browser)[\/\s]?([\w\.]+)/i, /fxios\/([\w\.-]+)/i, /version\/([\w\.]+).+?mobile\/\w+\s(safari)/i, /version\/([\w\.]+).+?(mobile\s?safari|safari)/i, /webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i, /ucweb.+(ucbrowser)[\/\s]?([\w\.]+)/i, /(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix)\/([\w\.-]+)/i], n = 0; n < t.length; n++)
if (e.match(t[n]))
return e.match(t[n])
}(t);
return n ? {
name: n[1],
version: parseInt(n[2], 10),
ua: t,
full: n[2]
} : {
name: "unknown",
version: "unknown",
ua: t,
full: "unknown"
}
}
;
var n = new function() {
var e = []
, n = t.debounce((function() {
e.length && (t.send(e),
e = [])
}
), 2e3);
this.send = function(t) {
t.p9 = navigator.userAgent,
t.action = "device-action-report",
t.p = '{"appKey": "MeT5lsyaHisySUCH","time":'.concat((new Date).getTime(), "}"),
e.push(t),
n()
}
}
;
var s, i, a, r = function() {
for (var e = [], t = ["webdriver", "__driver_evaluate", "__webdriver_evaluate", "__selenium_evaluate", "__fxdriver_evaluate", "__driver_unwrapped", "__webdriver_unwrapped", "__selenium_unwrapped", "__fxdriver_unwrapped", "_Selenium_IDE_Recorder", "_selenium", "calledSelenium", "_WEBDRIVER_ELEM_CACHE", "ChromeDriverw", "driver-evaluate", "webdriver-evaluate", "selenium-evaluate", "webdriverCommand", "webdriver-evaluate-response", "__webdriverFunc", "__webdriver_script_fn", "__$webdriverAsyncExecutor", "__lastWatirAlert", "__lastWatirConfirm", "__lastWatirPrompt", "$chrome_asyncScriptInfo", "$cdc_asdjflasutopfhvcZLmcfl_"], n = 0; n < t.length; n++) {
var s = t[n];
navigator[s] && e.push(s)
}
return e
};
!function() {
function t(e) {
return e.id ? "#".concat(e.id) : e.className ? ".".concat((e.className + "").split(" ").join(" .")) : e.tagName ? e.tagName : ""
}
document.addEventListener("click", (function(s) {
var i = s.target || s.srcElement;
if (i) {
var a = function(e) {
for (var n = [], s = e; s.parentNode; )
n.push(t(s)),
s = s.parentNode;
return n.reverse().join(">")
}(i)
, r = function(e) {
try {
for (var t = 61001, n = e; n.parentNode; )
n && n.getAttribute && n.getAttribute("d-c") && (t = n.getAttribute("d-c")),
n = n.parentNode;
return t
} catch (e) {
return 61001
}
}(i);
if ("html" !== i.tagName.toLocaleLowerCase()) {
var o = function(t) {
n.send({
p2: t,
p3: window.location.href,
p4: a,
p5: [s.pageX, s.pageY, s.layerX, s.layerY],
p8: document.referrer,
p9: e
})
};
if (!1 === s.isTrusted)
o(r);
else if (s.pageX < 0 || s.pageY < 0) {
o(r + 1e3)
}
}
}
}
), !0)
}(),
s = r().length > 0,
i = 16047,
a = r().join("|"),
s && n.send({
p2: i,
p3: a || "",
p9: e
})
}()
}
, function(e, t, n) {
"use strict";
var s = n(1669);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2039)
, i = n(1670);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2040)
, i = n(1672);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, null, null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1);
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.md5Upload = void 0;
var i = s(n(15))
, a = s(n(16));
n(33),
n(394),
n(156),
n(2),
n(20),
n(157),
n(158),
n(159),
n(160),
n(161),
n(162),
n(163),
n(164),
n(165),
n(166),
n(167),
n(168),
n(169),
n(170),
n(171),
n(172),
n(173),
n(174),
n(175),
n(176),
n(177),
n(178),
n(179),
n(180),
n(30),
n(48);
var r = s(n(1981))
, o = n(1982)
, u = function() {
var e = (0,
a.default)(i.default.mark((function e(t) {
return i.default.wrap((function(e) {
for (; ; )
switch (e.prev = e.next) {
case 0:
return e.abrupt("return", new Promise((function(e) {
for (var n = new r.default.ArrayBuffer, s = new FileReader, i = t.size, a = [t.slice(0, 5242880)], o = 5242880; o < i; ) {
if (o + 5242880 >= i)
a.push(t.slice(o, o + 5242880));
else {
var u = o + 2621440
, c = o + 5242880;
a.push(t.slice(o, o + 2)),
a.push(t.slice(u, u + 2)),
a.push(t.slice(c - 2, c))
}
o += 5242880
}
s.readAsArrayBuffer(new Blob(a)),
s.onload = function(t) {
n.append(t.target.result),
e(n.end())
}
}
)));
case 1:
case "end":
return e.stop()
}
}
), e)
}
)));
return function(t) {
return e.apply(this, arguments)
}
}()
, c = function() {
var e = (0,
a.default)(i.default.mark((function e(t, n) {
var s, a, r, c, l, d, f, p, h, v, m, g;
return i.default.wrap((function(e) {
for (; ; )
switch (e.prev = e.next) {
case 0:
return a = t.gid,
r = void 0 === a ? "" : a,
c = t.securityId,
l = void 0 === c ? "" : c,
d = t.source,
f = void 0 === d ? "chat" : d,
p = t.file,
e.next = 3,
u(p);
case 3:
return h = e.sent,
v = {
fileMd5: h,
fileSize: p.size,
source: f
},
r ? v.gid = r : v.securityId = l,
e.next = 8,
(0,
o.quicklyUpload)(v);
case 8:
null != (m = e.sent) && null !== (s = m.zpData) && void 0 !== s && s.url ? n && n(m.zpData) : (g = new FormData,
r ? g.append("gid", r) : l && g.append("securityId", l),
g.append("source", v.source),
g.append("file", p),
(0,
o.uploadImage)(g).then((function(e) {
0 === e.code && n(e.zpData)
}
)));
case 10:
case "end":
return e.stop()
}
}
), e)
}
)));
return function(t, n) {
return e.apply(this, arguments)
}
}();
t.md5Upload = function(e, t) {
!function(e, t, n) {
if (e.size < Math.pow(1024, 2))
return t(e);
var s = e.name
, i = new FileReader;
i.readAsDataURL(e),
i.onload = function(i) {
var a = i.target.result
, r = new Image;
r.src = a,
r.onload = function(n) {
var i = r.width
, a = r.height
, o = document.createElement("canvas")
, u = o.getContext("2d")
, c = document.createAttribute("width");
c.nodeValue = i;
var l = document.createAttribute("height");
l.nodeValue = a,
o.setAttributeNode(c),
o.setAttributeNode(l),
u.fillStyle = "#fff",
u.fillRect(0, 0, i, a),
u.drawImage(r, 0, 0, i, a);
for (var d = o.toDataURL("image/jpeg", .8), f = window.atob(d.split(",")[1]), p = new ArrayBuffer(f.length), h = new Uint8Array(p), v = 0; v < f.length; v++)
h[v] = f.charCodeAt(v);
(e = new Blob([p],{
type: "image/jpeg"
})).name = s,
t(e)
}
,
r.onerror = function(e) {
"function" == typeof n && n(e)
}
}
,
i.onerror = function(e) {
"function" == typeof n && n(e)
}
}(e.file, (function(n) {
e.file = n,
c(e, t)
}
))
}
}
, , function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}),
t.uploadImage = t.quicklyUpload = t.FORM_POST_HEADER = void 0;
var s = n(53)
, i = t.FORM_POST_HEADER = {
headers: {
"Content-Type": "application/x-www-form-urlencoded"
}
};
t.uploadImage = function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
return (0,
s.post)("/wapi/zpupload/image/uploadSingle", e, {
headers: {
"Content-Type": "multipart/form-data"
}
})
}
,
t.quicklyUpload = function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
return (0,
s.post)("/wapi/zpupload/quicklyUpload", (0,
s.paramsQuery)(e), i)
}
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2041)
, i = n(1674);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1989);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "123bbfc5", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2066)
, i = n(1676);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1985);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "2ddb7d5c", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1678);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2067)
, i = n(1679);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1988);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "1fc0d4b7", null);
t.default = o.exports
}
, function(e, t, n) {
e.exports = n.p + "static/images/icon-virtual-phone.a1c7900b.jpg"
}
, function(e, t, n) {
"use strict";
var s = n(1681);
n.n(s).a
}
, function(e, t, n) {
"use strict";
var s = n(1682);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2042)
, i = n(1683);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1991);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "a9a7bd02", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1685);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2014)
, i = n(1686);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(1993);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "23ba8dcb", null);
t.default = o.exports
}
, function(e, t, n) {
"use strict";
var s = n(1688);
n.n(s).a
}
, function(e, t, n) {
"use strict";
var s = n(1689);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.r(t);
var s = n(2006)
, i = n(1690);
for (var a in i)
["default"].indexOf(a) < 0 && function(e) {
n.d(t, e, (function() {
return i[e]
}
))
}(a);
n(2e3);
var r = n(5)
, o = Object(r.a)(i.default, s.a, s.b, !1, null, "cf8a9928", null);
t.default = o.exports
}
, function(e, t, n) {
e.exports = n.p + "static/images/public-success.0a9a48fd.png"
}
, function(e, t, n) {
e.exports = n.p + "static/images/public-interview.535503ad.png"
}
, function(e, t, n) {
e.exports = n.p + "static/images/public-chat.5c7661de.png"
}
, function(e, t, n) {
e.exports = n.p + "static/images/public-resume.1d28c55c.png"
}
, function(e, t, n) {
"use strict";
var s = n(1692);
n.n(s).a
}
, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
}),
t._newHomepageInit = t._homepageInit = t._getZpToken = t._changeToBossStatus = void 0;
var s = n(53);
t._homepageInit = (0,
s.createGet)("/wapi/zpgeek/resume/guide/complete.json"),
t._newHomepageInit = (0,
s.createGet)("/wapi/zpgeek/resume/complete/step.json"),
t._changeToBossStatus = (0,
s.createFormPost)("/wapi/zpuser/identity/switch"),
t._getZpToken = (0,
s.createGet)("/wapi/zppassport/get/zpToken")
}
, function(e, t, n) {
"use strict";
var s = n(1693);
n.n(s).a
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this.$createElement
, t = this._self._c || e;
return t("div", {
staticClass: "main-wrap"
}, [t("div", {
staticClass: "inner",
attrs: {
id: "main"
}
}, [t("div", {
attrs: {
id: "container"
}
}, [t("div", {
staticClass: "chat-container page-container"
}, [t("div", {
staticClass: "chat-wrap"
}, [t("BossList"), t("ChatConversation"), "wx" === this.selectedFriend.showType ? t("ChatOther") : this._e()], 1)])])]), t("div", {
staticClass: "right-bottom-fixed"
}, [t("div", {
staticClass: "side-bar"
}, [t("ui-tooltip", {
attrs: {
placement: "top-left",
trigger: "hover"
}
}, [t("div", {
staticClass: "side-bar-item",
attrs: {
slot: "reference"
},
slot: "reference"
}, [t("i", {
staticClass: "iboss-dianhuaicon"
})]), t("div", {
staticClass: "guide-download-app",
attrs: {
slot: "content"
},
slot: "content"
}, [t("span", {
staticClass: "text"
}, [this._v("下载App"), t("br"), this._v("与BOSS随时沟通")]), t("div", {
staticClass: "app-icon-v62"
})])])], 1)])])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this.$createElement
, t = this._self._c || e;
return t("div", {
staticClass: "list-warp v2"
}, [t("NormalList", {
on: {
"on-click": this.handleClick
}
}), t("transition", {
attrs: {
name: "drawer"
}
}, [t(this.listType$, {
tag: "component",
attrs: {
currentId: this.currentId
},
on: {
"on-change-type": this.handleChangeType,
"on-click": this.handleClick
}
})], 1)], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this.$createElement
, t = this._self._c || e;
return t("div", {
staticClass: "chat-conversation"
}, [this.selectedFriend$.uniqueId ? [t("TopInfo"), t("div", {
staticClass: "message-content"
}, [t("MessageList", {
ref: "message-list"
}), t("TipBar")], 1), t("div", {
staticClass: "message-controls"
}, [t("Toolbar", {
attrs: {
boss: this.selectedFriend$
}
})], 1)] : t("NoData")], 2)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, s = e._self._c || t;
return s("div", {
staticClass: "chat-record chat-other"
}, [s("div", {
staticClass: "chat-other-container"
}, [s("div", {
staticClass: "container-qrcode"
}, [e.open$ ? s("p", {
staticClass: "title"
}, [e._v("微信通知已开启")]) : s("p", {
staticClass: "title"
}, [e._v("扫码开启通知")]), s("p", {
staticClass: "qrcode-tip"
}, [e._v("使用微信扫码,关注服务号,即可开启通知")]), e.open$ ? s("img", {
staticClass: "notice-success",
attrs: {
src: n(1996),
alt: ""
}
}) : s("div", {
staticClass: "qrcode-box"
}, [e.qrCode$ ? s("img", {
staticClass: "notice-qrcode",
attrs: {
src: e.qrCode$,
alt: ""
}
}) : e._e(), s("img", {
staticClass: "notice-qrcode-logo",
attrs: {
src: n(1697),
draggable: "false"
}
})])]), s("div", {
staticClass: "container-footer"
}, [s("p", {
staticClass: "footer-title"
}, [e._v("以下通知,将可以在微信上实时接收"), e.open$ ? s("span", [e._v(",可在APP的消息设置中,修改提醒方式")]) : e._e()]), e._m(0)])])])
}
, i = [function() {
var e = this.$createElement
, t = this._self._c || e;
return t("ul", [t("li", [t("img", {
attrs: {
src: n(1997),
alt: ""
}
}), t("p", [this._v("收到的面试邀请")])]), t("li", [t("img", {
attrs: {
src: n(1998),
alt: ""
}
}), t("p", [this._v("沟通中的回复消息")])]), t("li", [t("img", {
attrs: {
src: n(1999),
alt: ""
}
}), t("p", [this._v("简历交换的请求")])])])
}
]
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "chat-user v2"
}, [n("BossSearch", {
on: {
"on-open-geek": e.handleOpenChat
}
}), n("BossLabelNew"), n("div", {
staticClass: "chat-content"
}, [n("div", {
staticClass: "user-list"
}, [e.fullList.length > 0 && 1 !== e.loading$ ? n("VirtualList", {
ref: "vsl",
staticClass: "user-list-content",
attrs: {
"data-key": "uniqueId",
"bottom-threshold": 5,
"data-sources": e.list,
keeps: e.keeps,
"extra-props": e.itemProps,
pageMode: !1,
"data-component": e.itemComponent,
"estimate-size": 78,
headerTag: "ul",
wrapTag: "ul",
itemTag: "li"
},
on: {
tobottom: e.loadMore,
"on-click": e.handleClickItem
}
}, [n("template", {
slot: "header"
}, [0 === e.curLabel$.labelId ? [n("BusinessFilter", {
attrs: {
showFilter: e.showFilter
}
}), n("WXGuide", {
attrs: {
current: e.communicating.showType
}
})] : e._e(), e._l(e.topList, (function(t) {
return n("li", {
key: t.uniqueId
}, [n("BossItem", {
attrs: {
source: t,
selected: e.communicating.uniqueId
},
on: {
"on-click": e.handleClickItem
}
})], 1)
}
))], 2), n("div", {
staticClass: "boss-list-footer",
attrs: {
slot: "footer"
},
slot: "footer"
}, [2 === e.loading$ && e.hasMore$ ? n("div", {
staticClass: "spinner"
}) : n("div", {
staticClass: "finished"
}, [e._v(e._s(e.bottomText))])])], 2) : 1 === e.loading$ || e.isLoading ? n("SkeletonLoading") : [n("NoDataNew")]], 2)])], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "boss-list-drawer"
}, [n("div", {
staticClass: "back-btn",
on: {
click: e.handleClickOthers
}
}, [e._m(0)]), n("div", {
staticClass: "user-list"
}, [e.filteredList.length > 0 && 1 !== e.filterLoading$ ? n("VirtualList", {
ref: "vsl",
staticClass: "user-list-content",
attrs: {
"data-key": "uniqueId",
"bottom-threshold": 5,
"data-sources": e.filteredList,
keeps: e.keeps,
"extra-props": e.itemProps,
pageMode: !1,
"data-component": e.itemComponent,
"estimate-size": 78,
headerTag: "ul",
wrapTag: "ul",
itemTag: "li"
},
on: {
scroll: e.onScroll,
tobottom: e.loadMore,
"on-click": e.handleClickItem
}
}, [n("div", {
staticClass: "boss-list-footer",
attrs: {
slot: "footer"
},
slot: "footer"
}, [2 === e.filterLoading$ && e.filterHasMore$ ? n("div", {
staticClass: "spinner"
}) : n("div", {
staticClass: "finished"
}, [e._v(e._s(e.bottomText))])])]) : n("NoData")], 1)])
}
, i = [function() {
var e = this.$createElement
, t = this._self._c || e;
return t("span", [t("i", {
staticClass: "icon-back"
}), this._v("返回")])
}
]
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "boss-list-drawer"
}, [n("div", {
staticClass: "back-btn",
on: {
click: e.handleClickOthers
}
}, [e._m(0)]), n("div", {
staticClass: "user-list"
}, [n("ul", {
staticClass: "user-list-content"
}, e._l(e.groupList, (function(t) {
return n("li", {
key: t.uniqueId
}, [n("BossItem", {
attrs: {
source: t,
selected: e.selectedFriend$.uniqueId
},
on: {
"on-click": e.handleClickItem
}
})], 1)
}
)), 0)])])
}
, i = [function() {
var e = this.$createElement
, t = this._self._c || e;
return t("span", [t("i", {
staticClass: "icon-back"
}), this._v("返回")])
}
]
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this.$createElement
, t = this._self._c || e;
return t("div", {
staticClass: "top-info-content"
}, [t("UserInfo"), 17 !== this.conversation$.source ? t("PositionInfo") : this._e()], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "chat-record"
}, [n("div", {
directives: [{
name: "show",
rawName: "v-show",
value: e.loading,
expression: "loading"
}],
staticClass: "pre-loading"
}, [e._m(0)]), n("div", {
ref: "scrollContainer",
staticClass: "chat-message",
on: {
scroll: e.handleMessageScroll
}
}, [n("ul", {
ref: "scrollContent",
staticClass: "im-list"
}, e._l(e.list$, (function(t, s) {
return n("MessageComponent", {
key: t.mid || t.time + s,
attrs: {
message: t
},
on: {
"on-contextmenu": e.showContextmenu
}
})
}
)), 1), n("ContextMenu", {
attrs: {
pos: e.pos,
data: e.menuData,
visable: e.showMenu,
message: e.contextMenuMsg,
conversation: e.conversation$
},
on: {
"on-hide": function(t) {
e.showMenu = !1
}
}
})], 1)])
}
, i = [function() {
var e = this.$createElement
, t = this._self._c || e;
return t("span", {
staticClass: "loading-more"
}, [t("i"), t("i"), t("i")])
}
]
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this.$createElement
, t = this._self._c || e;
return t("div", {
staticClass: "message-tip-bar"
}, [t("HunterBar"), t("SafeBar"), t("BlueMessage"), t("PopoverBar"), t("IqNlp")], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this.$createElement
, t = this._self._c || e;
return t("div", {
staticClass: "chat-im chat-editor"
}, [t("div", {
staticClass: "chat-controls",
on: {
dragstart: function(e) {
e.preventDefault()
}
}
}, [t("EmotionBtn"), this.conversation$.groupId ? this._e() : [t("PhraseBtn"), t("RemindBtn")], t("ImageBtn"), this.conversation$.groupId ? this._e() : [t("i", {
staticClass: "vline"
}), t("ResumeBtn"), t("ContactBtn"), t("WeChatBtn")], t("WukongChatBar")], 2), t("Editor", {
attrs: {
"unique-id": this.selectedFriend$.uniqueId
}
}), t("RecommendPosition")], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this.$createElement
, t = this._self._c || e;
return t("div", {
staticClass: "chat-no-data"
}, [t("div", {
staticClass: "content"
}, [t("div", {
staticClass: "empty-icon"
}), t("div", {
staticClass: "no-data-text"
}, [this._v(this._s(this.isFriendListNull ? "当前暂无消息" : "与您进行过沟通的 Boss 都会在左侧列表中显示"))]), this.isFriendListNull ? t("div", {
staticClass: "footer"
}, [t("a", {
staticClass: "btn-v2 btn-sure-v2",
attrs: {
href: "/web/geek/job-recommend"
}
}, [this._v("查看职位")]), t("a", {
staticClass: "btn-v2 btn-outline-v2",
attrs: {
href: "/web/geek/resume"
}
}, [this._v("更新简历")])]) : this._e()])])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, s = e._self._c || t;
return e.showFilter && e.filterEntry$ ? s("div", {
directives: [{
name: "exposure",
rawName: "v-exposure",
value: {
action: "biz-item-exposure-SaleEntrance",
p: "100",
p2: "geek-vip-43"
},
expression: "{\n action: 'biz-item-exposure-SaleEntrance',\n p: '100',\n p2: 'geek-vip-43',\n }"
}],
staticClass: "filter-box",
on: {
click: e.handleOpenVip
}
}, [s("div", {
staticClass: "filter-title"
}, [e._v(e._s(e.filterInfo$.title))]), s("div", {
staticClass: "filter-subtitle"
}, [e._v(" " + e._s(e.filterInfo$.subTitle)), s("span", {
staticClass: "iboss-left"
})]), s("div", {
staticClass: "filter-close",
on: {
click: function(t) {
return t.stopPropagation(),
e.handleCloseFilter(t)
}
}
}, [s("img", {
attrs: {
src: n(1727),
alt: ""
}
}), s("img", {
staticClass: "hover",
attrs: {
src: n(1728),
alt: ""
}
})])]) : e._e()
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this.$createElement
, t = this._self._c || e;
return t("div", {
staticClass: "data-tips"
}, [t("div", {
staticClass: "page-loading"
}, [t("div", {
staticClass: "spinner"
}, [t("span", {
staticClass: "loader-round"
}), t("p", [this._v(this._s(this.content))])])])])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "friend-content-warp"
}, [5 === e.boss.relationType && 5 !== e.currentLabel.labelId ? n("div", [e._m(0)]) : e._e(), n("div", {
key: e.boss.uniqueId,
class: ["friend-content", {
selected: e.boss.uniqueId == e.selected,
drawer: [0, -2].includes(e.boss.friendId),
"friend-top": 1 == e.boss.isTop
}],
attrs: {
"d-c": "62001"
},
on: {
click: function(t) {
return e.handleOpenChat(e.boss)
}
}
}, [n("BossAvatar", {
attrs: {
boss: e.boss
}
}), n("div", {
staticClass: "text"
}, [n("TimeLabel", {
attrs: {
boss: e.boss
}
}), n("NameContent", {
attrs: {
boss: e.boss
}
}), n("LastMsg", {
attrs: {
boss: e.boss,
currBossId: e.selected
}
})], 1)], 1)])
}
, i = [function() {
var e = this.$createElement
, t = this._self._c || e;
return t("p", {
staticClass: "delete-warp"
}, [t("img", {
attrs: {
src: n(1732),
alt: ""
}
}), this._v(" 不感兴趣")])
}
]
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return e.guide$ ? n("li", {
staticClass: "topwx",
class: "wx" === e.current ? "selected" : "",
on: {
click: e.checkedOther
}
}, [e._m(0), n("div", {
staticClass: "text"
}, [e._m(1), n("span", {
directives: [{
name: "show",
rawName: "v-show",
value: !e.open$,
expression: "!open$"
}],
staticClass: "notice-badge"
}, [e._v("1")])])]) : e._e()
}
, i = [function() {
var e = this.$createElement
, t = this._self._c || e;
return t("div", {
staticClass: "figure"
}, [t("img", {
attrs: {
src: n(1697),
draggable: "false"
}
})])
}
, function() {
var e = this.$createElement
, t = this._self._c || e;
return t("div", {
staticClass: "title"
}, [t("span", {
staticClass: "name-box"
}, [this._v("开启微信通知")]), t("p", {
staticClass: "gray"
}, [this._v("在微信上接收重要消息提醒")])])
}
]
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "label-list"
}, [n("ul", [e._l(e.showLabelList, (function(t) {
return n("li", {
key: t.labelId,
class: {
selected: e.curLabel$.labelId === t.labelId
},
on: {
click: function(n) {
return e.handleChangeLabel(t)
}
}
}, [n("span", {
staticClass: "label-name"
}, [e._v(e._s(t.name)), -2 === t.labelId && e.unreadCount ? n("i", [e._v("(" + e._s(e.unreadCount) + ")")]) : e._e()]), e.uncountTab$[t.labelId] || -2 === t.labelId && e.unreadCount ? n("i", {
staticClass: "badge"
}) : e._e()])
}
)), n("li", {
class: {
selected: e.showMoreKeyword
}
}, [n("ui-dropmenu", {
ref: "moreLabel",
staticClass: "ui-dropmenu-v1",
attrs: {
showDropArrow: !1
}
}, [n("span", {
staticClass: "label-name more"
}, [e._v(e._s(e.showMoreKeyword ? e.curLabel$.name : "更多"))]), n("div", {
attrs: {
slot: "options"
},
slot: "options"
}, [n("ul", {
staticClass: "more-label"
}, e._l(e.hideLabelList, (function(t) {
return n("li", {
key: t.labelId,
class: {
selected: e.curLabel$.labelId === t.labelId
},
on: {
click: function(n) {
return e.handleChangeMoreLabel(t)
}
}
}, [n("span", [e._v(e._s(t.name))]), e.uncountTab$[t.labelId] ? n("i", {
staticClass: "badge"
}) : e._e()])
}
)), 0)])])], 1)], 2)])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "boss-search-top"
}, [n("div", {
class: ["boss-search-container", {
disabled: !e.firstLoadingEnd
}]
}, [e.showClose ? n("span", {
staticClass: "close",
on: {
click: e.handleClear
}
}, [n("i", {
staticClass: "iboss-guanbi"
})]) : n("div", {
staticClass: "icon-search",
on: {
click: e.handleClickSearch
}
}, [n("i", {
staticClass: "iboss-sousuoicon"
})]), n("input", {
directives: [{
name: "model",
rawName: "v-model.trim",
value: e.content,
expression: "content",
modifiers: {
trim: !0
}
}],
ref: "searchInput",
staticClass: "boss-search-input",
attrs: {
type: "text",
placeholder: "搜索30天内的联系人"
},
domProps: {
value: e.content
},
on: {
input: [function(t) {
t.target.composing || (e.content = t.target.value.trim())
}
, e.handleInput],
blur: [e.handleBlur, function(t) {
return e.$forceUpdate()
}
],
focus: e.handleFocus
}
})]), e.showClose ? n("div", {
staticClass: "boss-search-result"
}, [e.searchList.length ? n("ul", {
staticClass: "search-ul"
}, e._l(e.searchList, (function(t, s) {
return n("li", {
key: s,
staticClass: "search-list",
on: {
click: function(n) {
return n.stopPropagation(),
e.openGeek(t)
}
}
}, [n("div", {
staticClass: "figure"
}, [n("img", {
attrs: {
src: t.avatar,
alt: ""
}
})]), n("div", {
staticClass: "text"
}, [n("div", {
staticClass: "first-line"
}, [n("span", {
staticClass: "boss-name",
domProps: {
innerHTML: e._s(e.getContent(t.name))
}
}), n("p", {
staticClass: "gray"
}, [n("span", {
staticClass: "company-name",
domProps: {
innerHTML: e._s(e.getContent(t.brandName))
}
}), t.title && "" != t.brandName ? n("i", {
staticClass: "vline"
}) : e._e(), n("span", {
domProps: {
innerHTML: e._s(e.getContent(t.title))
}
})])]), n("div", {
staticClass: "sec-line"
}, [t.jobName && e.hasLightKeyword(e.content, t.jobName).length ? [e._v(" 岗位名称: "), n("span", {
staticClass: "job-city",
domProps: {
innerHTML: e._s(e.getContent(t.jobName))
}
})] : t.positionName && e.hasLightKeyword(e.content, t.positionName).length ? [e._v(" 岗位名称: "), n("span", {
staticClass: "job-city",
domProps: {
innerHTML: e._s(e.getContent(t.positionName))
}
})] : t.jobTypeDesc && e.hasLightKeyword(e.content, t.jobTypeDesc).length ? [e._v(" 类型: "), n("span", {
staticClass: "job-city",
domProps: {
innerHTML: e._s(e.getContent(t.jobTypeDesc))
}
})] : t.jobCity && e.hasLightKeyword(e.content, t.jobCity).length ? [e._v(" 工作地点: "), n("span", {
staticClass: "job-city",
domProps: {
innerHTML: e._s(e.getContent(t.jobCity))
}
})] : [e._v(" 职位: "), n("span", {
staticClass: "job-city"
}, [e._v(e._s(t.jobName))])]], 2)])])
}
)), 0) : n("div", {
staticClass: "no-search-data"
}, [e._v(" " + e._s(e.loading ? "正在加载中..." : "没有相关联系人") + " ")])]) : e._e()])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this.$createElement
, t = this._self._c || e;
return t("skeleton", {
attrs: {
animated: "",
count: 5
}
}, [t("template", {
slot: "template"
}, [t("div", {
staticClass: "item"
}, [t("skeleton-item", {
staticClass: "logo",
attrs: {
variant: "circle--lg"
}
}), t("div", {
staticStyle: {
flex: "1"
}
}, [t("div", {
staticClass: "top-content"
}, [t("skeleton-item", {
staticStyle: {
width: "30%"
},
attrs: {
variant: "text"
}
}), t("skeleton-item", {
staticStyle: {
width: "20%"
},
attrs: {
variant: "h5"
}
})], 1), t("skeleton-item", {
staticStyle: {
width: "60%"
},
attrs: {
variant: "h5"
}
})], 1)], 1)])], 2)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this.$createElement;
this._self._c;
return this._m(0)
}
, i = [function() {
var e = this.$createElement
, t = this._self._c || e;
return t("div", {
staticClass: "no-data"
}, [t("p", {
staticClass: "no-setting-text"
}, [this._v("30天内暂无联系人")])])
}
]
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this.$createElement;
this._self._c;
return this._m(0)
}
, i = [function() {
var e = this.$createElement
, t = this._self._c || e;
return t("div", {
staticClass: "no-data"
}, [t("div", {
staticClass: "empty-icon"
}), t("p", {
staticClass: "no-setting-text"
}, [this._v("暂无30天内联系人")])])
}
]
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, s = e._self._c || t;
return s("div", {
staticClass: "user-info-wrap"
}, [s("div", {
staticClass: "user-info"
}, [e.conversation$.name ? s("div", {
staticClass: "base-info"
}, [s("div", {
staticClass: "name-content"
}, [s("span", {
staticClass: "name-text"
}, [e._v(e._s(e.conversation$.name))]), e.conversation$.isBlacked ? s("i", {
staticClass: "tag"
}, [e._v("已拉黑")]) : e._e()]), 0 != e.conversation$.proxyJob || e.conversation$.groupId ? e._e() : s("span", [e._v(e._s(e.conversation$.companyName))]), e.groupTitle ? s("span", [e._v(e._s(e.groupTitle))]) : e._e(), e.showTitleSeparator ? s("i", {
staticClass: "vline"
}) : e._e(), e.conversation$.title ? s("span", {
staticClass: "base-title"
}, [e._v(e._s(e.conversation$.title))]) : e._e(), e.conversation$.online ? s("img", {
staticClass: "chat-online-stats",
attrs: {
src: "https://img.bosszhipin.com/static/file/2022/fdszc4v9eo1672210548439.png",
alt: "",
width: "53",
height: "20"
}
}) : e._e()]) : e._e(), s("div", {
staticClass: "right-content"
}, [1 == e.conversation$.mobileVisible && e.isNotVirtual ? s("ui-tooltip", {
attrs: {
wrapClass: "phone-tooltip",
placement: "bottom",
trigger: "click",
content: e.phoneWithRegionCode
}
}, [s("div", {
staticClass: "top-operation-item",
attrs: {
slot: "reference"
},
slot: "reference"
}, [s("img", {
staticClass: "phone",
attrs: {
src: n(1767),
alt: ""
}
}), e._v(" 电话 ")])]) : e._e(), e.conversation$.hasInterview ? s("div", {
staticClass: "top-operation-item action-interview",
on: {
click: function(t) {
return e.handleInterviewDetail("chatview_check_interview_")
}
}
}, [s("img", {
attrs: {
src: n(1768),
alt: ""
}
}), e._v(" 面试安排 ")]) : e._e(), e.conversation$.encryptBossId && 17 !== e.conversation$.source ? s("ui-dropmenu", {
ref: "moreAction",
staticClass: "ui-dropmenu-v1",
attrs: {
showDropArrow: !1,
showLabelArrow: !1
}
}, [s("div", {
staticClass: "top-operation-item"
}, [s("img", {
attrs: {
src: n(1769),
alt: ""
}
}), e._v("更多")]), s("div", {
attrs: {
slot: "options"
},
slot: "options"
}, [s("ul", {
staticClass: "more-setting"
}, [s("li", {
on: {
click: e.handleSetTop
}
}, [s("svg-icon", {
staticClass: "boss-svg",
attrs: {
svgClass: "boss-svg",
iconName: "icon-set-top",
width: "18",
height: "18"
}
}), s("span", [e._v(e._s(1 == e.conversation$.isTop ? "取消置顶" : "置顶"))])], 1), s("li", {
on: {
click: e.handleAddRemark
}
}, [s("svg-icon", {
staticClass: "boss-svg",
attrs: {
svgClass: "boss-svg",
iconName: "icon-remark",
width: "18",
height: "18"
}
}), s("span", [e._v("备注")])], 1), 5 === e.conversation$.relationType ? s("li", {
on: {
click: e.handleCancelNotInterested
}
}, [s("svg-icon", {
staticClass: "boss-svg",
attrs: {
svgClass: "boss-svg",
iconName: "icon-not-interested",
width: "18",
height: "18"
}
}), s("span", [e._v("取消不感兴趣")])], 1) : s("li", {
on: {
click: e.handleNotInterested
}
}, [s("svg-icon", {
staticClass: "boss-svg",
attrs: {
svgClass: "boss-svg",
iconName: "icon-not-interested",
width: "18",
height: "18"
}
}), s("span", [e._v("不感兴趣")])], 1), e.conversation$.isBlacked ? s("li", {
on: {
click: e.handleRemoveBlackList
}
}, [s("svg-icon", {
staticClass: "boss-svg",
attrs: {
svgClass: "boss-svg",
iconName: "icon-black-list",
width: "18",
height: "18"
}
}), s("span", [e._v("取消黑名单")])], 1) : s("li", {
on: {
click: e.handleAddBlackList
}
}, [s("svg-icon", {
staticClass: "boss-svg",
attrs: {
svgClass: "boss-svg",
iconName: "icon-black-list",
width: "18",
height: "18"
}
}), s("span", [e._v("黑名单")])], 1), s("li", {
on: {
click: e.handleDelete
}
}, [s("svg-icon", {
staticClass: "boss-svg",
attrs: {
svgClass: "boss-svg",
iconName: "icon-list-delete",
width: "18",
height: "18"
}
}), s("span", [e._v("删除")])], 1), s("li", {
on: {
click: e.handleReport
}
}, [s("svg-icon", {
staticClass: "boss-svg",
attrs: {
svgClass: "boss-svg",
iconName: "icon-report",
width: "18",
height: "18"
}
}), s("span", [e._v("举报")])], 1)])])]) : e._e()], 1)]), e.note ? s("div", {
staticClass: "remark-content"
}, [s("span", [e._v("备注:")]), s("ui-tooltip", {
staticClass: "chat-remark-tooltip",
attrs: {
placement: "bottom",
trigger: "hover",
theme: "dark",
content: e.formateNote
}
}, [s("span", {
staticClass: "remark",
attrs: {
slot: "reference"
},
slot: "reference"
}, [e._v(e._s(e.note))])]), s("ui-tooltip", {
staticClass: "edit-btn chat-remark-tooltip",
attrs: {
placement: "bottom",
trigger: "hover",
theme: "dark",
content: "编辑"
}
}, [s("span", {
attrs: {
slot: "reference"
},
on: {
click: e.handleAddRemark
},
slot: "reference"
}, [s("svg-icon", {
staticClass: "boss-svg",
attrs: {
svgClass: "boss-svg",
iconName: "icon-remark",
width: "14",
height: "14"
}
})], 1)])], 1) : e._e()])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, s = e._self._c || t;
return s("div", {
staticClass: "chat-position-content"
}, [e.conversation$.encryptBossId && !e.conversation$.groupId ? s("div", {
staticClass: "position-main"
}, [s("div", {
staticClass: "position-content",
attrs: {
ka: "geek_chat_job_detail"
}
}, [s("div", {
staticClass: "left-content",
on: {
click: e.handleBossPosition
}
}, [s("span", {
staticClass: "position-name"
}, [e._v(e._s(e.conversation$.jobName))]), e.conversation$.jobName ? s("span", {
staticClass: "salary"
}, [e._v(e._s(e.conversation$.lowSalary > 0 ? e.conversation$.salaryDesc : "面议"))]) : e._e(), s("span", {
staticClass: "city"
}, [e._v(e._s(e.conversation$.locationName))])]), s("div", {
staticClass: "right-content"
}, [1 == e.conversation$.friendSource ? s("span", {
on: {
click: e.handleDzDetail
}
}, [e._v("职位来源说明")]) : e._e(), s("span", {
on: {
click: e.handleBossPosition
}
}, [e._v("查看职位 "), s("i", {
staticClass: "iboss-left"
})])])])]) : e._e(), e.conversation$.type > 0 ? s("div", {
staticClass: "inner-notice"
}, [s("img", {
staticClass: "icon-bell",
attrs: {
src: n(1772),
alt: ""
}
}), e._v(" " + e._s(e.conversation$.notice) + " ")]) : e._e()])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return e.isShowMessage(e.message) ? n("li", {
class: ["message-item", e.getClass(e.message)],
attrs: {
"data-mid": e.message.mid
},
on: {
contextmenu: e.showContextmenu
}
}, [e.message.showTime ? n("div", {
staticClass: "item-time"
}, [n("span", {
staticClass: "time"
}, [e._v(e._s(e.message.formateTime))])]) : e._e(), "text" == e.message.messageType || 3 === e.message.status ? n("MessageText", {
attrs: {
message: e.message
}
}) : "interview" === e.message.messageType ? n("MessageInterview", {
attrs: {
message: e.message
}
}) : "hyperLink" == e.message.messageType ? n("MessageHyperlink", {
attrs: {
message: e.message
}
}) : "articles" == e.message.messageType ? n("MessageArticle", {
attrs: {
message: e.message
}
}) : "dialog" == e.message.messageType ? n("MessageDialog", {
attrs: {
message: e.message
}
}) : "sound" === e.message.messageType ? n("MessageSound", {
attrs: {
message: e.message
}
}) : "video" == e.message.messageType ? n("MessageVideo", {
attrs: {
message: e.message
}
}) : "action" == e.message.messageType ? n("MessageAction", {
attrs: {
message: e.message
}
}) : "listCard" == e.message.messageType ? n("ListCard", {
attrs: {
message: e.message
}
}) : "image" == e.message.messageType ? n("MessageImage", {
attrs: {
message: e.message
}
}) : "sticker" == e.message.messageType ? n("MessageSticker", {
attrs: {
message: e.message
}
}) : "jobDesc" == e.message.messageType ? n("MessageJobDesc", {
attrs: {
message: e.message
}
}) : "resume" == e.message.messageType ? n("MessageResume", {
attrs: {
message: e.message
}
}) : "comDesc" == e.message.messageType ? n("MessageComDesc", {
attrs: {
message: e.message
}
}) : e._e(), "text" == e.message.messageType && !e.message.isSelf && e.message.extend && e.message.extend.aiChatMsgMark ? n("div", {
staticClass: "chat-helper"
}, [e._v(e._s(e.message.extend.aiChatMsgMark))]) : e._e()], 1) : e._e()
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
directives: [{
name: "transfer-dom",
rawName: "v-transfer-dom"
}],
staticClass: "context-menu",
style: {
left: e.pos.left + "px",
top: e.pos.top + "px"
},
attrs: {
"data-transfer": !0
}
}, [e.visable ? n("div", {
directives: [{
name: "clickoutside",
rawName: "v-clickoutside",
value: e.handleHide,
expression: "handleHide"
}],
staticClass: "right-click-panel"
}, e._l(e.data, (function(t) {
return n("span", {
key: t.id,
class: ["panel-list", t.disabled ? "disabled" : ""],
on: {
click: function(e) {
return t.action(t)
}
}
}, [t.icon ? n("i", {
class: t.icon
}) : t.svgIcon ? n("svg-icon", {
staticClass: "boss-svg",
attrs: {
iconName: t.svgIcon,
width: "16",
height: "16"
}
}) : e._e(), e._v(" " + e._s(t.label) + " ")], 1)
}
)), 0) : e._e()])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return e.hunterTip$.title ? n("div", {
staticClass: "popover-hunter"
}, [n("img", {
attrs: {
src: e.hunterTip$.icon,
alt: ""
}
}), n("span", {
staticClass: "hunter-title"
}, [e._v(e._s(e.hunterTip$.title))]), n("div", {
staticClass: "operate"
}, [e.hunterTip$.refuseButtonText ? n("span", {
staticClass: "operate-cancel",
on: {
click: function(t) {
return e.handleHunter(2)
}
}
}, [e._v(e._s(e.hunterTip$.refuseButtonText))]) : e._e(), e.hunterTip$.confirmButtonText ? n("span", {
staticClass: "operate-confirm",
on: {
click: function(t) {
return e.handleHunter(1)
}
}
}, [e._v(e._s(e.hunterTip$.confirmButtonText))]) : e._e()])]) : e._e()
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, s = e._self._c || t;
return e.safeInfo && e.safeInfo.text ? s("div", {
staticClass: "popover-freeze"
}, [s("div", [s("img", {
staticClass: "tip",
attrs: {
src: n(1946),
alt: ""
}
}), s("span", {
staticClass: "freeze-title"
}, [e._v(e._s(e.safeInfo.text))])]), 0 == e.safeInfo.safeType ? s("img", {
staticClass: "close",
attrs: {
src: n(1947),
alt: ""
},
on: {
click: function(t) {
return e.handleCloseTip(e.safeInfo)
}
}
}) : e._e()]) : e._e()
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return e.blueMessage$.length ? n("div", {
staticClass: "respond-popover"
}, ["action" == e.message.messageType ? [n("div", {
staticClass: "op"
}, [n("span", {
staticClass: "btn btn-details btn-agree action-interview",
on: {
click: function(t) {
return e.handleOpenInterviewDetail(e.message.action)
}
}
}, [e._v("查看详情")])]), n("div", {
staticClass: "text"
}, [e._v(e._s(e.getInterviewText(e.message)))])] : [n("div", {
staticClass: "op"
}, [e.message.dialog && e.message.dialog.buttons && e.message.dialog.buttons.length ? [e.message.dialog.buttons.length > 1 ? n("span", {
staticClass: "btn btn-refuse",
on: {
click: function(t) {
return t.stopPropagation(),
e.handleReject(e.message)
}
}
}, [e._v(e._s(e.message.dialog.buttons[1].text))]) : e._e(), n("span", {
staticClass: "btn btn-agree",
on: {
click: function(t) {
return t.stopPropagation(),
e.handleAccept(e.message)
}
}
}, [e._v(e._s(e.message.dialog.buttons[0].text))])] : e._e()], 2), n("div", {
staticClass: "text"
}, [e._v(e._s(e.message.text))])], n("upload-resume", {
attrs: {
visable: e.showUpload,
isDesign: e.isDesign,
complete: e.complete,
hasResume: e.hasResumeAttachment,
chatClickCallBack: e.uploadClickCallBack
},
on: {
"on-close": e.handleCloseUpload
}
})], 2) : e._e()
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return e.popover$.length ? n("div", {
class: ["respond-popover", {
hunter: "hunterCall" == e.topPopover.type
}]
}, ["ats" == e.topPopover.type ? n("div", {
staticClass: "op"
}, [n("span", {
staticClass: "btn btn-details btn-agree action-interview",
on: {
click: function(t) {
return e.handleOpenAtsPage(e.topPopover)
}
}
}, [e._v(e._s(e.topPopover.buttonText))])]) : "hunterCall" == e.topPopover.type ? n("div", {
staticClass: "op"
}, [e.topPopover.buttonText ? n("span", {
staticClass: "btn btn-hunter",
on: {
click: function(t) {
return e.handleOpenHunterCallDialog(e.topPopover)
}
}
}, [e._v(e._s(e.topPopover.buttonText))]) : e._e(), n("span", {
staticClass: "close",
on: {
click: function(t) {
return e.closeChatHunterTip(e.topPopover)
}
}
}, [n("i", {
staticClass: "iboss-close"
})])]) : e._e(), n("div", {
staticClass: "text"
}, [e._v(e._s(e.topPopover.text))])]) : e._e()
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "nlp-sug-container"
}, e._l(e.nlp$, (function(t, s) {
return n("div", {
key: s,
staticClass: "content"
}, [6 === t.type ? n("span", {
staticClass: "nlp-exchange",
on: {
click: function(n) {
return e.handleSendIq(t)
}
}
}, [n("i", {
staticClass: "close"
}, [n("i", {
staticClass: "iboss-close-hollow"
}), n("i", {
staticClass: "iboss-close-solid",
on: {
click: function(n) {
return n.stopPropagation(),
e.handleClose(t)
}
}
})]), e._v(e._s(t.text) + " ")]) : e._e()])
}
)), 0)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
directives: [{
name: "show",
rawName: "v-show",
value: e.recommendShow && e.list.length,
expression: "recommendShow && list.length"
}],
staticClass: "chat-recommend-position"
}, [n("ul", {
staticClass: "position-list"
}, e._l(e.list, (function(t, s) {
return n("li", {
directives: [{
name: "show",
rawName: "v-show",
value: s == e.activeIndex,
expression: "n == activeIndex"
}],
key: s,
staticClass: "list-item"
}, [n("a", {
attrs: {
href: "/job_detail/" + t.encryptJobId + ".html",
ka: "chat_pop_job_" + t.encryptJobId,
target: "_blank"
}
}, [n("img", {
staticClass: "item-logo",
attrs: {
src: e.withXOssProcess(t.brandLogo, "?x-oss-process=image/resize,w_100,limit_0"),
alt: ""
}
}), n("div", {
staticClass: "item-main"
}, [n("div", {
staticClass: "item-name"
}, [e._v(e._s(t.jobName))]), n("div", {
staticClass: "item-desc"
}, [n("span", {
staticClass: "item-gray"
}, [e._v(e._s(t.brandName))]), n("span", {
staticClass: "item-red"
}, [e._v(e._s(t.salaryDesc))])])])])])
}
)), 0), n("i", {
staticClass: "btn-close ui-icon-close",
attrs: {
ka: "chat_pop_close"
},
on: {
click: e.stop
}
})])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this.$createElement
, t = this._self._c || e;
return 17 === this.conversation$.source ? t("div", {
staticClass: "wukong-chat-bar-wrap"
}, [1 === this.employer ? t("EmployerBar") : this._e(), 2 === this.employer ? t("ProviderBar") : this._e()], 1) : this._e()
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return e.showEditor ? n("div", [n("div", {
ref: "editbox",
staticClass: "chat-input",
attrs: {
contenteditable: "true",
id: "chat-input"
},
on: {
keyup: [e.handleKeyup, function(t) {
return !t.type.indexOf("key") && e._k(t.keyCode, "delete", [8, 46], t.key, ["Backspace", "Delete", "Del"]) ? null : e.handleDelete(t)
}
],
keydown: e.handleKeydown,
paste: e.handlePaste,
click: e.handleClick,
blur: e.handleBlur,
focus: e.handleFocus
}
}), n("div", {
staticClass: "chat-op"
}, [n("span", {
staticClass: "tip"
}, [e._v("按Enter键发送,按Ctrl+Enter键换行")]), n("button", {
class: ["btn-v2 btn-sure-v2 btn-send", {
disabled: !e.enableSubmit
}],
attrs: {
type: "send",
"d-c": "62013"
},
on: {
click: e.handleSubmit
}
}, [e._v(" 发送 ")])])]) : e._e()
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this.$createElement
, t = this._self._c || e;
return t("div", {
directives: [{
name: "clickoutside",
rawName: "v-clickoutside",
value: this.hide,
expression: "hide"
}],
staticClass: "toolbar-btn-content"
}, [t("div", {
staticClass: "icon btn-emotion tooltip tooltip-top",
attrs: {
"aria-label": "表情",
"d-c": "62005"
},
on: {
click: this.toggleEmotion
}
}), this.show ? t("Emotion", {
ref: "emotion",
class: [{
"chat-dz-emotion": 1 == this.conversation$.friendSource
}],
attrs: {
conversation: this.conversation$
},
on: {
choose: this.hide
}
}) : this._e()], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
directives: [{
name: "clickoutside",
rawName: "v-clickoutside",
value: e.handleHideTip,
expression: "handleHideTip"
}],
staticClass: "toolbar-btn-content"
}, [n("div", {
staticClass: "toolbar-btn tooltip tooltip-top",
class: [{
unable: !e.conversation$.bothTalked && !e.conversation$.exchangeOptGray || e.conversation$.requestResume && !e.isExchangeResumeBlueMsg
}],
attrs: {
"aria-label": e.exchangeResumeTip,
"d-c": "62009"
},
on: {
click: e.handleSendResume,
mouseenter: function(t) {
return e.checkStatus("requestResume")
}
}
}, [e.isExchangeResumeBlueMsg ? [n("svg-icon", {
staticClass: "boss-svg",
attrs: {
"icon-name": "icon-wait",
width: "16",
height: "16"
}
}), e._v(" 待发送简历 ")] : [e._v(" 发简历 ")]], 2), e.show ? n("div", {
class: ["panel-resume sentence-popover", {
"exchange-resume": e.isExchangeResumeBlueMsg
}]
}, [e.isExchangeResumeBlueMsg ? n("p", {
staticClass: "title"
}, [e._v("确定发送附件简历吗?")]) : [n("p", {
staticClass: "title"
}, [e._v(e._s(e.secureExchange.title || "确定向 Boss 发送简历吗?"))]), e.info.hunterShowAgreement ? n("div", {
staticClass: "highlight-tip pl30"
}, [n("p", {
staticClass: "highlight",
domProps: {
innerHTML: e._s(e.info.content)
},
on: {
click: e.handleOpenHight
}
})]) : e._e(), n("div", {
staticClass: "content"
}, [e.secureExchange.text ? n("HighlightText", {
staticClass: "tips",
attrs: {
content: e.secureExchange
}
}) : n("p", [e._v("Boss确认后,该附件简历将直接发送至对方邮箱")]), 3 === e.info.alertType ? n("p", {
staticClass: "resume-secret"
}, [e._v(e._s(e.info.content))]) : e._e()], 1)], n("div", {
staticClass: "btns"
}, [n("span", {
staticClass: "btn-v2 btn-outline-v2",
on: {
click: e.handleHideTip
}
}, [e._v("取消")]), n("span", {
staticClass: "btn-v2 btn-sure-v2",
on: {
click: e.handleConfirm
}
}, [e._v("确定")])])], 2) : e._e(), n("upload-resume", {
attrs: {
visable: e.showUpload,
isDesign: e.isDesign,
complete: e.complete,
hasResume: e.hasResumeAttachment,
chatClickCallBack: e.uploadClickCallBack
},
on: {
"on-close": e.handleCloseUpload
}
})], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
directives: [{
name: "clickoutside",
rawName: "v-clickoutside",
value: e.hide,
expression: "hide"
}],
staticClass: "toolbar-btn-content"
}, [n("div", {
staticClass: "icon btn-dict tooltip tooltip-top",
attrs: {
"aria-label": "常用语",
"d-c": "62003"
},
on: {
click: function(t) {
return e.togglePhrase("dict", t)
}
}
}), e.show ? n("div", {
staticClass: "sentence-panel"
}, [n("div", {
staticClass: "header"
}, [n("h3", {
staticClass: "title"
}, [e._v("常用语")]), n("span", {
staticClass: "set-btn",
on: {
click: e.handleSet
}
}, [e._v("设置")])]), e.greetings.length ? n("ul", e._l(e.greetings, (function(t) {
return n("li", {
key: t,
on: {
click: function(n) {
return e.greeting(t)
}
}
}, [e._v(e._s(t))])
}
)), 0) : n("div", {
staticClass: "no-data"
}, [e._v("暂无数据")])]) : e._e()])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return e.features$.onlineRemind ? n("div", {
staticClass: "toolbar-btn-content"
}, [n("div", {
staticClass: "icon btn-online tooltip tooltip-top",
attrs: {
"aria-label": 2 == e.features$.onlineRemind ? "优先提醒" : "上线提醒"
},
on: {
click: function(t) {
return e.handleOnline("online")
}
}
})]) : e._e()
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this.$createElement
, t = this._self._c || e;
return t("div", {
staticClass: "toolbar-btn-content"
}, [t("div", {
staticClass: "toolbar-btn-content icon btn-sendimg tooltip tooltip-top",
attrs: {
"aria-label": "发送图片"
}
}, [t("input", {
ref: "file",
attrs: {
type: "file",
accept: "image/gif,image/jpeg,image/jpg,image/png"
},
on: {
change: this.handleSendImage
}
})])])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "toolbar-btn-content btn-contact toolbar-btn tooltip tooltip-top",
class: [{
unable: !e.conversation$.bothTalked && 1 != e.conversation$.conclude && !e.conversation$.exchangeOptGray || e.conversation$.requestPhone && !e.isExchangePhoneBlueMsg
}],
attrs: {
"aria-label": e.exchangePhoneTip,
"d-c": "62007"
},
on: {
click: function(t) {
return t.target !== t.currentTarget ? null : e.toggleAssist()
},
mouseenter: function(t) {
return e.checkStatus("requestPhone")
}
}
}, [e.isExchangePhoneBlueMsg ? [n("svg-icon", {
staticClass: "boss-svg",
attrs: {
"icon-name": "icon-wait",
width: "16",
height: "16"
}
}), e._v(" 待交换电话 ")] : [e._v(" 换电话 ")], n("Contact", {
ref: "contact",
attrs: {
isExchangePhoneBlueMsg: e.isExchangePhoneBlueMsg
}
}), n("VirtualContact", {
ref: "virtualContact",
attrs: {
info: e.virtualInfo
}
})], 2)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
directives: [{
name: "clickoutside",
rawName: "v-clickoutside",
value: e.cancel,
expression: "cancel"
}],
staticClass: "toolbar-btn-content"
}, [n("div", {
staticClass: "btn-weixin toolbar-btn tooltip tooltip-top",
class: [{
unable: !e.conversation$.bothTalked && !e.conversation$.exchangeOptGray || e.conversation$.requestWeiXin && !e.isExchangeWxBlueMsg
}],
attrs: {
"aria-label": e.exchangeWeChatTip,
"d-c": "62011"
},
on: {
mouseenter: function(t) {
return e.checkStatus("requestWeiXin")
},
click: function(t) {
return t.target !== t.currentTarget ? null : e.toggleAssist()
}
}
}, [e.isExchangeWxBlueMsg ? [n("svg-icon", {
staticClass: "boss-svg",
attrs: {
"icon-name": "icon-wait",
width: "16",
height: "16"
}
}), e._v(" 待交换微信 ")] : [e._v(" 换微信 ")]], 2), e.show ? n("div", {
staticClass: "sentence-popover panel-wechat",
class: {
"respond-chat": 2 == e.status || 3 == e.status
}
}, [2 == e.status || 3 == e.status ? n("div", [n("p", {
staticClass: "title"
}, [e._v("输入交换微信号")]), n("input", {
directives: [{
name: "model",
rawName: "v-model",
value: e.account,
expression: "account"
}],
staticClass: "input",
attrs: {
type: "text",
placeholder: "请输入你的微信号"
},
domProps: {
value: e.account
},
on: {
input: function(t) {
t.target.composing || (e.account = t.target.value)
}
}
}), n("div", {
staticClass: "tip-text"
}, [e._v("微信号填写要求:可使用6-20位大小写字母、数字、下划线和减号,不支持输入中文")]), n("div", {
staticClass: "btns"
}, [n("span", {
staticClass: "btn-v2 btn-outline-v2",
on: {
click: e.cancel
}
}, [e._v("取消")]), n("span", {
staticClass: "btn-v2 btn-sure-v2",
on: {
click: e.update
}
}, [e._v("确定")])])]) : n("div", [e.isExchangeWxBlueMsg ? n("p", {
staticClass: "title"
}, [e._v("确认与对方交换微信吗?")]) : e.secureExchange ? n("div", {
staticClass: "secure-exchange"
}, [n("div", {
staticClass: "title"
}, [e._v(e._s(e.secureExchange.title))]), n("HighlightText", {
staticClass: "tips",
attrs: {
content: e.secureExchange
}
})], 1) : n("p", {
staticClass: "title"
}, [e._v("确认与对方交换微信吗?")]), n("div", {
staticClass: "btns"
}, [n("span", {
staticClass: "btn-v2 btn-outline-v2",
on: {
click: e.cancel
}
}, [e._v("取消")]), n("span", {
staticClass: "btn-v2 btn-sure-v2",
on: {
click: e.confirm
}
}, [e._v("确定")])])])]) : e._e()])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "title-box"
}, [n("span", {
staticClass: "name-box"
}, [n("span", {
staticClass: "name-text"
}, [e._v(e._s(e.boss.name))]), n("span", [e._v(e._s(e.boss.brandName))]), e.boss.title && "" != e.boss.brandName ? [n("i", {
staticClass: "vline"
}), e.boss.title && "" != e.boss.brandName ? n("span", [e._v(e._s(e.boss.title))]) : e._e()] : e._e()], 2), e.boss.filterReasonList ? n("ui-tooltip", {
staticClass: "label",
attrs: {
placement: "right",
appendToBody: "true",
wrapClass: "filter-reason-tooltip",
trigger: "hover"
}
}, [n("span", {
staticClass: "filtered-label",
attrs: {
slot: "reference"
},
slot: "reference"
}, [e._v(e._s(e.filterReason.filterLabel))]), n("span", {
staticClass: "filtered-content",
attrs: {
slot: "content"
},
slot: "content"
}, [e._v(" 该Boss的不符项还有: "), n("br"), e._v(" " + e._s(e.filterReason.filterStr) + " ")])]) : e._e()], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, s = e._self._c || t;
return s("div", {
staticClass: "gray last-msg"
}, [e.showDraft ? [s("span", {
staticClass: "draft"
}, [e._v("[草稿]")]), s("span", {
staticClass: "last-msg-text"
}, [e._v(e._s(e.draft$[e.boss.uniqueId]))])] : [e.boss.goldGeekStatus ? s("span", {
staticClass: "gold-boss"
}, [e._v("[金牛服务]")]) : e._e(), e.isShowLastMsgTip ? s("span", {
class: e.lastMsgTip.type
}, [e._v(e._s(e.lastMsgTip.text))]) : e.boss.lastIsSelf && e.boss.lastText && e.getStatusClass(e.boss) ? s("MessageStatus", {
attrs: {
status: e.boss.lastMsgStatus,
position: "friend-list"
}
}) : e._e(), e.boss.lastText ? s("span", {
staticClass: "last-msg-text",
domProps: {
innerHTML: e._s(e.lastText)
}
}) : s("span", {
staticClass: "last-msg-text"
}, [e._v("您正在与Boss" + e._s(e.boss.name) + "沟通")])], e.boss.friendId > 0 ? s("div", {
class: {
"user-operation": !0,
"hover-active": e.showOperation
},
on: {
mouseenter: e.handleMouseenter,
mouseleave: e.handleMouseleave
}
}, [s("img", {
staticClass: "icon-operate list-operate",
attrs: {
src: n(1735),
draggable: "false"
}
}), s("img", {
staticClass: "icon-operate list-operate-hover",
attrs: {
src: n(1736),
draggable: "false"
}
})]) : e._e()], 2)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", [n("span", {
staticClass: "time"
}, [e._v(e._s(e._f("formatTime")(e.boss)))]), e.groupTitle ? n("span", {
staticClass: "icon-group-inner"
}, [e._v(e._s(e.groupTitle))]) : e._e(), e.boss.sourceTitle ? n("span", {
staticClass: "prop-label"
}, [e._v(" " + e._s(e.boss.sourceTitle) + " "), "荐" === e.boss.sourceTitle ? n("p", {
staticClass: "source-tip"
}, [e._v(" 系统为您推荐该消息,如果您想关闭该推荐服务请联系客服 ")]) : e._e()]) : e._e()])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "figure"
}, [e.boss.unreadCount > 0 ? [0 === e.boss.uid || e.boss.groupId ? n("span", {
staticClass: "dot"
}) : n("span", {
staticClass: "notice-badge"
}, [e._v(e._s(e.boss.unreadCount > 999 ? 999 : e.boss.unreadCount))])] : e._e(), [0, -2].includes(e.boss.friendId) ? n("p", {
staticClass: "group-figure",
domProps: {
innerHTML: e._s(e.groupFigure)
}
}) : n("Avatar", {
attrs: {
src: e.boss.avatar,
format: "image/resize,l_900,h_600/format,webp"
},
on: {
"load-error": e.handleError
}
})], 2)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", [e.uiLoading ? [n("div", e._b({
class: ["skeleton", e.animated ? "is-animated" : ""]
}, "div", e.$attrs, !1), [e._l(e.count, (function(t) {
return [e.loading ? e._t("template", e._l(e.rows, (function(s) {
return n("skeleton-item", {
key: t + "-" + s,
class: {
"skeleton-paragraph": 1 !== s,
"is-first": 1 === s,
"is-last": s === e.rows && e.rows > 1
},
attrs: {
variant: "p"
}
})
}
))) : e._e()]
}
))], 2)] : [e._t("default", null, null, e.$attrs)]], 2)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this.$createElement;
return (this._self._c || e)("div", {
class: ["skeleton-item", "skeleton-" + this.variant]
})
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "message-content"
}, [e.isSystemText ? e._e() : n("MessageAvatar", {
attrs: {
avatar: e.message.fromAvatar || e.bossInfo.avatar,
message: e.message
}
}), n("div", {
staticClass: "text",
class: [{
"item-image": -1 !== e.emojiGifIndex || e.resetMessageText(e.message)
}],
on: {
click: e.handleLink
}
}, [!e.isSystemText && e.message.isSelf ? n("MessageStatus", {
attrs: {
mid: e.message.mid,
status: e.message.status,
position: "message"
}
}) : e._e(), e.extend.question && 1 == e.extend.greetingQuestionAnswer ? n("MessageOpener", {
attrs: {
message: e.message,
title: e.extend.question,
text: e.text
}
}) : 5 === e.message.templateId ? n("ConcatInfo", {
attrs: {
message: e.message
}
}) : 12 === e.message.templateId ? [n("span", {
domProps: {
innerHTML: e._s(e.text)
}
}), n("div", {
staticClass: "card-box"
}, [n("p", {
staticClass: "card-top"
}, [e._v("BOSS预留回答")])])] : 13 === e.message.templateId ? n("IconText", {
attrs: {
message: e.message
}
}) : n("p", [n("span", {
domProps: {
innerHTML: e._s(e.text)
}
})])], 2)], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, s = e._self._c || t;
return s("div", {
staticClass: "message-content"
}, [s("MessageAvatar", {
attrs: {
avatar: e.message.fromAvatar,
message: e.message
}
}), s("div", {
staticClass: "item-image text"
}, [e.message.isSelf ? s("MessageStatus", {
attrs: {
mid: e.message.mid,
status: e.message.status,
position: "message"
}
}) : e._e(), s("div", {
staticClass: "message-image-content",
style: Object.assign({}, e.imageStyle.wrap),
on: {
click: function(t) {
return e.view(e.message.image)
}
}
}, [s("img", {
key: e.imageKey,
staticClass: "message-image",
style: Object.assign({}, e.imageStyle.image),
attrs: {
draggable: "false",
src: e.message.image.originImage.url
},
on: {
load: e.handleImgSuccess,
error: e.handleImgError
}
}), e.loadError ? s("div", {
staticClass: "image-load-error"
}, [s("img", {
attrs: {
src: n(1791),
alt: ""
}
}), s("div", {
staticClass: "content-text"
}, [s("span", {
staticClass: "error-text"
}, [e._v("图片加载失败")]), e.showReload ? s("span", {
class: ["reload", {
loading: e.reloading
}],
on: {
click: e.reloadImage
}
}, [s("svg-icon", {
staticClass: "boss-svg",
attrs: {
"icon-name": "reload-image",
width: "12",
height: "12"
}
})], 1) : e._e()])]) : e._e()])], 1)], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "message-content"
}, [n("MessageAvatar", {
attrs: {
avatar: e.message.fromAvatar,
message: e.message
}
}), n("div", {
staticClass: "text item-image"
}, [e.message.isSelf ? n("MessageStatus", {
attrs: {
mid: e.message.mid,
status: e.message.status,
position: "message"
}
}) : e._e(), n("img", {
staticClass: "message-emoji",
attrs: {
draggable: "false",
src: e.sticker.image.originImage.url
}
}), e.showCollect ? n("span", {
staticClass: "btn-store",
on: {
click: e.addEmotion
}
}, [e._v("添加表情")]) : e._e()], 1)], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "message-content"
}, [n("MessageAvatar", {
attrs: {
avatar: e.message.fromAvatar,
message: e.message
}
}), n("div", {
staticClass: "text item-jobdesc"
}, [3 === e.message.templateId ? n("div", {
staticClass: "job-desc",
on: {
click: e.handleClickCard
}
}, [e.jobDesc.title ? n("div", {
staticClass: "job-top"
}, [e.jobIcon ? n("div", {
staticClass: "job-icon"
}, [n("img", {
attrs: {
src: e.jobIcon,
alt: ""
}
})]) : e._e(), n("div", {
staticClass: "job-box"
}, [n("div", {
staticClass: "job-title"
}, [e._v(e._s(e.jobDesc.title))]), e.jobDesc.bossTitle ? n("div", {
staticClass: "job-subtitle"
}, [e._v(e._s(e.jobDesc.bossTitle))]) : e._e()])]) : e._e(), e.tags ? n("div", {
staticClass: "job-conversation-labels"
}, [e._l(e.tags, (function(t, s) {
return n("span", {
key: s
}, [e._v(" " + e._s(t))])
}
)), e.showMore ? n("em", [e._v("...")]) : e._e()], 2) : e._e(), e.jobDesc.content ? n("div", {
staticClass: "job-dec"
}, [e._v(e._s(e.jobDesc.content))]) : e._e()]) : e._e()])], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "message-content"
}, [n("div", {
staticClass: "item-resume"
}, [1 === e.message.templateId ? n("div", {
staticClass: "item-system"
}, [n("div", {
staticClass: "text"
}, [e._v(e._s(e.message.text))])]) : e._e(), [4, 8].includes(e.message.templateId) ? n("div", {
staticClass: "group-resume",
on: {
click: e.handleClickCard
}
}, [e.resume.position ? n("div", {
staticClass: "resume-top"
}, [n("span", {
staticClass: "resume-title"
}, [e._v(e._s(e.resume.position))]), e.resume.salary ? n("span", {
staticClass: "resume-salary"
}, [e._v(e._s(e.resume.salary))]) : e._e()]) : e._e(), e.tags ? n("div", {
staticClass: "resume-conversation-labels"
}, [e._l(e.tags, (function(t, s) {
return n("span", {
key: s
}, [e._v(" " + e._s(t))])
}
)), e.showMore ? n("em", [e._v("...")]) : e._e()], 2) : e._e(), e.resume.content2 || e.resume.bottomText ? n("div", {
staticClass: "resume-dec"
}, [e.resume.content2 ? n("span", {
staticClass: "resume-pay"
}, [e._v(e._s(e.resume.content2))]) : e._e(), n("span", [e._v(e._s(e.resume.bottomText))])]) : e._e()]) : e._e()])])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "message-content"
}, [n("MessageAvatar", {
attrs: {
avatar: e.message.fromAvatar,
message: e.message
}
}), n("div", {
staticClass: "company-desc",
on: {
click: e.handleClickCard
}
}, [e.comDesc.picUrl ? n("div", {
staticClass: "company-icon"
}, [n("img", {
attrs: {
src: e.comDesc.picUrl,
alt: "",
width: "300"
},
on: {
load: e.handleCoverLoaded
}
})]) : e._e(), n("div", {
staticClass: "company-main"
}, [n("div", {
staticClass: "company-name"
}, [e._v(e._s(e.comDesc.name))]), n("div", {
staticClass: "company-simple",
domProps: {
innerHTML: e._s(e.comSimple)
}
}), e.tags ? n("div", {
staticClass: "message-company-labels"
}, [e._l(e.tags, (function(t, s) {
return n("span", {
key: s
}, [e._v(" " + e._s(t))])
}
)), e.showMore ? n("em", [e._v("...")]) : e._e()], 2) : e._e(), e.comDesc.introduce ? n("div", {
staticClass: "company-introduce"
}, [n("EllipsisMul", {
attrs: {
line: 4,
"line-height": 20
}
}, [n("p", {
domProps: {
innerHTML: e._s(e.comDesc.introduce)
}
})])], 1) : e._e()])])], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "message-content"
}, [1 === e.hyperLink.hyperLinkType ? n("HyperlinkResume", {
attrs: {
message: e.message
}
}) : 8 === e.hyperLink.hyperLinkType ? n("HyperlinkSafe", {
attrs: {
message: e.message
}
}) : n("div", {
staticClass: "hyper-link text"
}, [e.extraJson.highlightLength > 0 ? [e._v(" " + e._s(e.getStartText())), e.getHighlightText() ? n("a", {
staticClass: "target-dom",
attrs: {
href: "javascript:;"
},
on: {
click: e.handleOpen
}
}, [e._v(e._s(e.getHighlightText()))]) : e._e(), e._v(e._s(e.getEndText()) + " ")] : n("span", {
domProps: {
innerHTML: e._s(e.hyperLink.text)
}
})], 2)], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "message-content"
}, [n("MessageAvatar", {
attrs: {
avatar: e.message.fromAvatar,
message: e.message
}
}), n("div", [1 === e.interview.condition ? n("MessageCard", {
attrs: {
title: e.message.text,
buttons: e.cardButtons,
theme: e.message.theme
},
scopedSlots: e._u([{
key: "icon",
fn: function() {
return [e.loadSuccess ? n("img", {
staticClass: "dialog-icon",
attrs: {
src: e.interviewExtend.picUrl,
alt: ""
},
on: {
error: e.handleError
}
}) : n("i", {
staticClass: "dialog-icon"
})]
},
proxy: !0
}], null, !1, 4240481347)
}) : n("div", {
staticClass: "text"
}, [5 == e.interview.condition ? n("i", {
staticClass: "icon-interview-reject"
}) : e._e(), 10 === e.interview.condition ? n("i", {
staticClass: "icon-offer-send"
}) : e._e(), n("span", {
domProps: {
innerHTML: e._s(e.message.text)
}
}), [9, 10].includes(e.interview.condition) ? n("span", {
staticClass: "to-offer-detail",
on: {
click: e.showOfferDetail
}
}, [e._v("点击查看")]) : e._e(), 3 == e.interview.condition ? n("i", {
staticClass: "icon-interview-accept"
}) : e._e(), 4 == e.interview.condition ? n("i", {
staticClass: "icon-interview-reject"
}) : e._e()])], 1)], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "message-content"
}, [e.articlesBoth ? n("MessageAvatar", {
attrs: {
avatar: e.message.fromAvatar,
message: e.message
}
}) : e._e(), e.articlesCenter ? n("ArticlesCenter", {
attrs: {
message: e.message,
article: e.article,
buttons: e.cardButtons
}
}) : e.articlesBoth ? n("ArticlesBoth", {
attrs: {
message: e.message,
article: e.article,
buttons: e.cardButtons
}
}) : n("div", {
staticClass: "item-system"
}, [n("div", {
staticClass: "text"
}, [e._v(e._s(e.message.text))])]), e.show ? n("div", {
directives: [{
name: "clickoutside",
rawName: "v-clickoutside",
value: e.hide,
expression: "hide"
}],
staticClass: "tooltip-analyzer tooltip-v2"
}, [e.url ? n("p", {
staticClass: "analyzer-text title"
}, [e._v("查看个人竞争力分析?")]) : n("p", {
staticClass: "analyzer-text title"
}, [e._v("确定对该职位使用竞争力分析器?")]), e.analyzerTips ? n("p", {
staticClass: "sub-title"
}, [e._v(e._s(e.analyzerTips))]) : e._e(), n("div", {
staticClass: "analyzer-btns btns"
}, [n("button", {
staticClass: "btn-v2 btn-outline-v2",
attrs: {
href: "javascript:;"
},
on: {
click: function(t) {
e.show = !1
}
}
}, [e._v("我再想想")]), e.url ? e._e() : n("button", {
staticClass: "btn-v2 btn-sure-v2",
attrs: {
ka: "check_personal_competitive_chat",
href: "javascript:;"
},
on: {
click: e.consume
}
}, [e._v(" 使用" + e._s(0 === e.levelType ? "1/" + e.left : ""))]), e.url ? n("button", {
staticClass: "btn-v2 btn-sure-v2",
attrs: {
ka: "check_personal_competitive_chat",
target: "_blank"
},
on: {
click: e.handleCheck
}
}, [e._v("立即查看")]) : e._e()])]) : e._e()], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "message-content"
}, [n("MessageAvatar", {
attrs: {
avatar: e.message.fromAvatar,
message: e.message
}
}), n("div", {
staticClass: "text "
}, [n("div", {
staticClass: "list-card"
}, [n("p", {
staticClass: "card-title"
}, [e._v(e._s(e.listCard.title))]), n("ul", e._l(e.listCard.items, (function(t, s) {
return n("li", {
key: s,
on: {
click: function(n) {
return e.handleSend(t.title)
}
}
}, [e._v(" " + e._s(t.title) + " ")])
}
)), 0)])])], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "message-content"
}, [e.dialogBoth ? n("MessageAvatar", {
attrs: {
avatar: e.message.fromAvatar,
message: e.message
}
}) : e._e(), e.dialogCenter ? n("DialogCenter", {
attrs: {
message: e.message,
dialog: e.dialog
}
}) : e.dialogBoth ? n("DialogBoth", {
attrs: {
message: e.message,
dialog: e.dialog
}
}) : n("div", {
staticClass: "item-system"
}, [n("div", {
staticClass: "text"
}, [e._v(e._s(e.message.text))])])], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "text"
}, [[27, 32].includes(e.aid) && e.extend.replace ? n("span", {
staticClass: "hyper-link",
domProps: {
innerHTML: e._s(e.formateHighLightMsg(e.extend.replace))
},
on: {
click: function(t) {
return t.stopPropagation(),
e.handleClickHighLight(t)
}
}
}) : n("span", {
staticClass: "hyper-link",
domProps: {
innerHTML: e._s(e.message.text)
}
}), 75 === e.aid && e.showReedit ? n("a", {
staticClass: "message-edit",
attrs: {
href: "javascript:;"
},
on: {
click: function(t) {
return t.stopPropagation(),
e.handleEdit(t)
}
}
}, [e._v("重新编辑")]) : e._e()])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this.$createElement
, t = this._self._c || e;
return t("div", {
staticClass: "message-content"
}, [t("MessageAvatar", {
attrs: {
avatar: this.message.fromAvatar,
message: this.message
}
}), t("div", {
staticClass: "text"
}, [this._v(" " + this._s(this.message.video.videoText) + " ")])], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, s = e._self._c || t;
return s("div", {
staticClass: "message-content"
}, [s("MessageAvatar", {
attrs: {
avatar: e.message.fromAvatar,
message: e.message
}
}), s("div", {
staticClass: "text voice-content"
}, [e.message.isSelf ? s("MessageStatus", {
attrs: {
mid: e.message.mid,
status: e.message.status,
position: "message"
}
}) : e._e(), 1 === e.message.type && e.isSupported ? [s("div", {
staticClass: "voice",
style: {
minWidth: e.getWidth(e.message.sound)
},
on: {
click: e.handleVoicePlay
}
}, [e.message.isSelf ? s("span", [e._v(e._s(e.message.sound.duration) + '"')]) : e._e(), s("span", {
staticClass: "icon-voice",
attrs: {
id: "sound-" + e.message.mid
}
}), e.message.isSelf ? e._e() : s("span", [e._v(e._s(e.message.sound.duration) + '"')])]), "loading" === e.cacheMessage.status ? s("div", {
staticClass: "voice-text loading"
}, [e.message.isSelf ? s("img", {
staticClass: "loading-icon",
attrs: {
src: n(1936),
alt: ""
}
}) : s("img", {
staticClass: "loading-icon",
attrs: {
src: n(1937),
alt: ""
}
})]) : "error" === e.cacheMessage.status ? s("span", {
staticClass: "voice-text error"
}, [s("i", {
staticClass: "iboss-shiyi"
}), e._v("语音转换失败 ")]) : e.cacheMessage.text ? s("div", {
staticClass: "voice-text content"
}, [e._v(" " + e._s(e.cacheMessage.text) + " ")]) : e._e(), !e.message.isSelf && e.showRedBubble ? s("i", {
staticClass: "red-bubble"
}) : e._e()] : [e._v(" " + e._s(e.message.text) + " ")]], 2)], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "wukong-employer-bar-wrap"
}, [n("span", {
staticClass: "wukong-chat-btn mr10",
on: {
click: e.jumpToTaskPublish
}
}, [e._v("向TA发布任务")]), n("ui-tooltip", {
attrs: {
placement: "top",
trigger: "click",
theme: "white",
"wrap-class": "wukong-tooltip"
}
}, [n("div", {
staticClass: "wukong-chat-btn",
attrs: {
slot: "reference"
},
on: {
click: e.getGroupList
},
slot: "reference"
}, [e._v("选择咨询的任务")]), e.showTip ? n("div", {
staticClass: "wukong-task-list-wrap",
attrs: {
slot: "content"
},
slot: "content"
}, [e.taskList.length ? [n("div", {
staticClass: "title"
}, [e._v("请选择要咨询的任务")]), n("div", {
staticClass: "task-list"
}, e._l(e.taskList, (function(t) {
return n("div", {
staticClass: "task-item"
}, [e._v(" " + e._s(t.taskName) + " "), n("div", {
staticClass: "publish-task-btn",
on: {
click: function(n) {
return e.sendTaskCard(t)
}
}
}, [e._v("发送")])])
}
)), 0)] : e._e()], 2) : e._e()])], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "wukong-provider-bar-wrap"
}, [n("ui-tooltip", {
attrs: {
placement: "top",
trigger: "click",
theme: "white"
}
}, [n("div", {
staticClass: "wukong-chat-btn",
attrs: {
slot: "reference"
},
on: {
click: e.getExampleList
},
slot: "reference"
}, [e._v("快捷发送案例")]), e.showTip ? n("div", {
staticClass: "wukong-example-list-wrap",
attrs: {
slot: "content"
},
slot: "content"
}, [e.exampleList.length ? [n("div", {
staticClass: "title"
}, [e._v("请选择要发送的案例")]), n("div", {
staticClass: "example-list"
}, e._l(e.exampleList, (function(t) {
return n("div", {
staticClass: "example-item"
}, [e._v(" " + e._s(t.exampleName) + " "), n("div", {
staticClass: "publish-example-btn",
on: {
click: function(n) {
return e.sendExampleListCard(t)
}
}
}, [e._v("发送")])])
}
)), 0)] : e._e()], 2) : e._e()])], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "emotion"
}, [n("div", {
staticClass: "emotion-box"
}, [-1 == e.packId ? n("div", {
staticClass: "animoji-box loaded emoji-box"
}, [e.recentFaceList.length ? n("div", {
staticClass: "emoji-top"
}, [n("p", {
staticClass: "emoji-title"
}, [e._v("最近使用")]), n("ul", {
staticClass: "emoji-recent"
}, e._l(e.recentFaceList, (function(t, s) {
return t ? n("li", {
key: s
}, [n("button", {
class: ["emoj", "emoj-" + t.num],
attrs: {
title: t.key,
"data-key": t.key
},
on: {
click: e.chooseEmotion
}
})]) : e._e()
}
)), 0), n("p", {
staticClass: "emoji-title"
}, [e._v("全部表情")])]) : e._e(), n("ul", {
staticClass: "emotion-emoji loaded"
}, e._l(e.emojiFace, (function(t, s) {
return t ? n("li", {
key: s
}, [n("button", {
class: ["emoj", "emoj-" + (s + 1)],
attrs: {
title: t,
"data-key": t
},
on: {
click: e.chooseEmotion
}
})]) : e._e()
}
)), 0)]) : n("ul", {
staticClass: "loaded"
}, e._l(e.currentEmotionList, (function(t, s) {
return n("li", {
key: s,
staticClass: "animoji-item",
on: {
click: function(n) {
return e.chooseAnimojiEmotion(t)
}
}
}, [n("button", {
staticClass: "animoji"
}, [n("img", {
attrs: {
src: t.tinyUrl,
alt: "",
title: e.packId > 0 ? t.name : ""
}
})])])
}
)), 0)]), n("div", {
staticClass: "emotion-tab"
}, e._l(e.emotionTab$, (function(t) {
return n("div", {
key: t.packId,
class: ["emotion-sort", {
selected: e.packId == t.packId
}, {
"emition-default": t.default
}],
on: {
click: function(n) {
return e.switchEmotionTab(t)
}
}
}, [n("button", {
directives: [{
name: "show",
rawName: "v-show",
value: e.isShow(t),
expression: "isShow(item)"
}],
staticClass: "tab-item",
style: {
backgroundImage: "url(" + t.tinyUrl + ")"
}
})])
}
)), 0)])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
directives: [{
name: "show",
rawName: "v-show",
value: e.show,
expression: "show"
}, {
name: "clickoutside",
rawName: "v-clickoutside",
value: e.hide,
expression: "hide"
}],
staticClass: "sentence-popover panel-contact"
}, [e.isExchangePhoneBlueMsg ? n("p", {
staticClass: "title"
}, [e._v("确认与对方交换电话吗?")]) : [e.secureExchange ? n("div", {
staticClass: "secure-exchange"
}, [n("div", {
staticClass: "title"
}, [e._v(e._s(e.secureExchange.title))]), n("HighlightText", {
staticClass: "tips",
attrs: {
content: e.secureExchange
}
})], 1) : n("p", {
staticClass: "title"
}, [e._v("确认与对方交换电话吗?")])], n("div", {
staticClass: "btns"
}, [n("span", {
staticClass: "btn-v2 btn-outline-v2",
on: {
click: e.hide
}
}, [e._v("取消")]), n("span", {
staticClass: "btn-v2 btn-sure-v2",
on: {
click: e.confirm
}
}, [e._v("确定")])])], 2)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, s = e._self._c || t;
return s("div", {
directives: [{
name: "show",
rawName: "v-show",
value: e.show,
expression: "show"
}, {
name: "clickoutside",
rawName: "v-clickoutside",
value: e.cancel,
expression: "cancel"
}],
staticClass: "sentence-popover panel-contact dialog-virtual-container"
}, [s("div", {
staticClass: "virtual-title"
}, [e._v(e._s(e.info.title))]), s("div", {
staticClass: "virtual-container"
}, [s("div", {
staticClass: "virtual-switch"
}, [s("img", {
attrs: {
src: n(1987),
alt: ""
}
}), s("span", [e._v("对此人使用号码隐私保护")]), s("div", {
staticClass: "flex-right"
}, [s("ui-tooltip", {
attrs: {
placement: "top",
trigger: "hover",
theme: "dark",
content: "该Boss可能有一定安全风险,已为你自动打开隐私保护"
}
}, [s("div", {
attrs: {
slot: "reference"
},
slot: "reference"
}, [e.disabled ? s("ui-checkbox", {
attrs: {
disabled: e.disabled
},
model: {
value: e.isVirtualPhone,
callback: function(t) {
e.isVirtualPhone = t
},
expression: "isVirtualPhone"
}
}) : e._e()], 1)]), e.disabled ? e._e() : s("ui-checkbox", {
model: {
value: e.isVirtualPhone,
callback: function(t) {
e.isVirtualPhone = t
},
expression: "isVirtualPhone"
}
})], 1)]), s("div", {
staticClass: "virtual-content"
}, [e._v(" " + e._s(e.isVirtualPhone ? e.info.switchContent : e.info.content) + " ")])]), s("div", {
staticClass: "virtual-footer"
}, [s("span", {
staticClass: "virtual-cancel",
on: {
click: e.cancel
}
}, [e._v("取消")]), s("span", {
staticClass: "virtual-confirm",
on: {
click: e.confirm
}
}, [e._v("确定")])])])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return e.statusText.show ? n("i", {
class: ["message-status", e.statusClass],
style: {
color: e.statusText.color
},
on: {
click: e.handleResend
}
}, [e._v(" " + e._s(e.statusText.text) + " ")]) : e._e()
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this.$createElement
, t = this._self._c || e;
return this.loadSuccess ? t("ImageCompressor", {
attrs: {
src: this.src,
alt: this.alt,
format: this.format,
openOSS: !0
},
on: {
error: this.handleError
}
}) : t("div", {
staticClass: "default-avatar-main-ui",
style: {
width: this.size + "px",
height: this.size + "px"
}
})
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this.$createElement
, t = this._self._c || e;
return this.message.isSelf ? this._e() : t("div", {
staticClass: "figure"
}, [t("Avatar", {
attrs: {
size: 36,
src: this.avatar,
format: "image/resize,l_900,h_600/format,webp"
},
on: {
"load-error": this.handleError
}
})], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "chat-opener-box"
}, [n("h3", {
staticClass: "title"
}, [n("img", {
staticClass: "icon",
attrs: {
src: e.icon,
alt: ""
}
}), n("span", {
staticClass: "title-text",
domProps: {
innerHTML: e._s(e.title)
}
})]), n("p", {
domProps: {
innerHTML: e._s(e.text)
}
}), e._l(e.buttons, (function(t, s) {
return n("div", {
key: s,
class: ["button", {
disabled: e.operated
}],
on: {
click: e.addDomToEditor
}
}, [e._v(e._s(t.text))])
}
)), n("editor-quote", {
directives: [{
name: "show",
rawName: "v-show",
value: !1,
expression: "false"
}],
ref: "opener-question",
attrs: {
attrs: e.attrs,
text: e.title,
icon: e.icon
}
})], 2)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "contact-info-container"
}, [n("span", {
ref: "contact",
staticClass: "number"
}, [e._v(e._s(e.extend.regionCode) + " " + e._s(e.textEndFromMessage))]), n("MessageCard", {
attrs: {
title: e.textStart + "
" + e.textEnd,
buttons: e.buttons,
theme: e.message.theme
},
scopedSlots: e._u([{
key: "icon",
fn: function() {
return [n("span", {
class: ["concat-icon", e.getContactInfo.type]
})]
},
proxy: !0
}])
})], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
class: ["message-card-wrap", e.themeClass]
}, [n("div", {
staticClass: "message-card-top-wrap"
}, [e._t("icon", [e.icon ? n("div", {
staticClass: "message-card-top-icon-content"
}, [n("img", {
staticClass: "message-card-top-icon",
attrs: {
src: e.icon,
alt: ""
}
})]) : e._e()]), n("div", {
staticClass: "message-card-top-content"
}, [e._t("title", [e.title ? n("h3", {
class: ["message-card-top-title", {
"message-card-top-text": !e.subTitle
}],
domProps: {
innerHTML: e._s(e.title)
}
}) : e._e()]), e.subTitle ? n("p", {
staticClass: "message-card-top-sub-title",
domProps: {
innerHTML: e._s(e.subTitle)
}
}) : e._e(), e._t("content")], 2)], 2), e._t("extend"), e.buttons.length > 0 ? n("div", {
staticClass: "message-card-buttons"
}, e._l(e.buttons, (function(t, s) {
return n("span", e._b({
key: s,
class: ["card-btn", {
disabled: t.disabled,
"one-btn": 1 === e.buttons.length
}],
on: {
click: function(e) {
e.stopPropagation(),
t.onClick && t.onClick(t, s)
}
}
}, "span", t.attrs, !1), [e._v(e._s(t.text))])
}
)), 0) : e._e(), e._t("bottom-extend")], 2)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this.$createElement
, t = this._self._c || e;
return t("p", [t("span", {
class: ["icon-text", 1 === this.message.extend.iconLoc ? "icon-text-left" : "icon-text-right"]
}, [1 === this.message.extend.iconType ? t("i", {
staticClass: "iboss-shenqing"
}) : 2 === this.message.extend.iconType ? t("i", {
staticClass: "iboss-jieshouicon"
}) : 3 === this.message.extend.iconType ? t("i", {
staticClass: "iboss-jujueicon"
}) : this._e()]), t("span", {
domProps: {
innerHTML: this._s(this.text)
}
})])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", [e.message.extend.url ? n("a", {
staticClass: "message-card-hyperlink web-url",
attrs: {
href: "javascript:;",
"data-url": e.message.extend.url
}
}, [n("p", [e._v(e._s(e.message.extend.url))]), n("div", {
staticClass: "web-content"
}, [n("img", {
attrs: {
src: e.message.extend.icon || e.iconDefault,
alt: ""
}
}), n("span", [e._v(e._s(e.message.extend.title))])]), n("div", {
staticClass: "web-title"
}, [e._v(" " + e._s(e.message.extend.desc || "未识别到网址标题") + " ")])]) : n("span", {
staticClass: "link",
domProps: {
innerHTML: e._s(e.message.text)
}
})])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "ellipsis-wrap",
on: {
mouseenter: e.isShow,
mouseleave: e.isHide
}
}, [n("div", {
ref: "contentWrap",
staticClass: "content-wrap"
}, [n("div", {
ref: "textEle",
staticClass: "content"
}, [e._t("default")], 2), e._t("tag")], 2), n("div", {
directives: [{
name: "show",
rawName: "v-show",
value: e.isOpen && e.isShowTool && e.toolText,
expression: "isOpen && isShowTool && toolText"
}],
staticClass: "tooltip-v2"
}, [e._v(" " + e._s(e.toolText) + " ")])])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", [n("MessageCard", {
directives: [{
name: "exposure",
rawName: "v-exposure",
value: e.exposure,
expression: "exposure"
}],
attrs: {
icon: "https://img.bosszhipin.com/static/file/2023/sutjt40zcw1687268041703.png",
buttons: e.buttons,
theme: e.message.theme,
title: e._f("xssText")(e.hyperLink.text)
},
nativeOn: {
contextmenu: function(t) {
return e.showContextmenu(t)
}
}
}), n("context-menu", {
attrs: {
pos: e.pos,
data: e.menuData,
visable: e.showMenu
},
on: {
"on-hide": function(t) {
e.showMenu = !1
}
}
})], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this.$createElement
, t = this._self._c || e;
return t("div", {
staticClass: "item-safe"
}, [t("div", {
staticClass: "hyperlink-title"
}, [t("img", {
attrs: {
src: n(1902),
alt: ""
}
}), t("span"), t("span", [this._v(this._s(this.extraJson.title || "温馨提示"))])]), t("div", {
staticClass: "hyperlink-content",
domProps: {
innerHTML: this._s(this.formateHyperLinkMsg())
},
on: {
click: this.handleOpenHyperLinkType
}
})])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", [e.isVideoResume ? n("div", {
staticClass: "media-resume",
on: {
click: e.handlePlay
}
}, [n("img", {
staticClass: "main-img",
attrs: {
alt: "",
src: e.article.picUrl
}
}), e._m(0), n("div", {
staticClass: "btn-media-resume"
}, [e._v(e._s(e.article.bottomText))])]) : n("MessageCard", {
directives: [{
name: "exposure",
rawName: "v-exposure",
value: e.exposure,
expression: "exposure"
}],
attrs: {
icon: e.article.picUrl,
title: e.article.title,
subTitle: e.article.subTitle,
buttons: e.buttons,
theme: e.message.theme
}
})], 1)
}
, i = [function() {
var e = this.$createElement
, t = this._self._c || e;
return t("div", {
staticClass: "content"
}, [t("img", {
staticClass: "btn-play",
attrs: {
src: n(1907),
alt: ""
}
}), t("p", {
staticClass: "video-tip"
}, [this._v("注意调整音量")])])
}
]
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "articles-center"
}, [4 === e.article.templateId ? n("div", {
staticClass: "prop-text"
}, [e._v(" " + e._s(e.article.title) + "," + e._s(e.article.subTitle)), n("br"), n("a", {
attrs: {
href: "javascript:;"
},
on: {
click: e.handleClick
}
}, [e._v(" " + e._s(e.article.bottomText) + " ")])]) : 8 === e.article.templateId ? n("div", {
staticClass: "hello-question"
}, [n("p", {
staticClass: "gray"
}, [e._v("回答Boss的问题")]), e._v(" " + e._s(e.article.subTitle) + " ")]) : 12 === e.article.templateId ? n("div", {
staticClass: "job-guide"
}, [n("img", {
attrs: {
src: e.article.picUrl,
alt: ""
},
on: {
click: e.handleClick
}
})]) : n("MessageCard", {
directives: [{
name: "exposure",
rawName: "v-exposure",
value: e.exposure,
expression: "exposure"
}],
attrs: {
icon: e.picUrl,
title: e.title,
subTitle: e.subTitle,
buttons: e.buttons,
theme: e.message.theme || 1
},
scopedSlots: e._u([e.article.description ? {
key: "content",
fn: function() {
return [n("p", {
staticClass: "description"
}, [n("span", {
staticClass: "highlight",
domProps: {
innerHTML: e._s(e.description)
}
}), e.extend.avatarList ? n("span", {
staticClass: "extend-content"
}, e._l(e.extend.avatarList, (function(e, t) {
return n("img", {
key: t,
attrs: {
src: e,
alt: ""
}
})
}
)), 0) : e._e()])]
},
proxy: !0
} : null], null, !0)
})], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", [17 === e.dialog.type ? n("DialogPosition", {
directives: [{
name: "exposure",
rawName: "v-exposure",
value: e.exposure,
expression: "exposure"
}],
attrs: {
message: e.message
}
}) : 22 === e.dialog.type ? n("DialogAutoResponder", {
attrs: {
message: e.message
}
}) : 44 == e.dialog.type ? n("MessageOpener", {
staticClass: "message-opener",
attrs: {
message: e.message,
title: e.message.dialog.title,
text: e.message.dialog.text
}
}) : n("MessageCard", {
directives: [{
name: "exposure",
rawName: "v-exposure",
value: e.exposure,
expression: "exposure"
}],
staticClass: "message-dialog-both",
attrs: {
icon: e.dialog.url,
title: e.dialog.text,
buttons: e.cardButtons,
theme: e.message.theme
},
scopedSlots: e._u([e.extendBtn.length > 0 || 33 !== e.dialog.type ? {
key: "icon",
fn: function() {
return [n("span", {
class: ["dialog-icon", e.types[e.dialog.type]]
})]
},
proxy: !0
} : null, {
key: "content",
fn: function() {
return [e.content ? n("p", {
staticClass: "gray message-content"
}, [n("span", {
staticClass: "highlight",
domProps: {
innerHTML: e._s(e.content)
}
}), e.extend.avatarUrls ? n("span", {
staticClass: "extend-content"
}, e._l(e.extend.avatarUrls, (function(e, t) {
return n("img", {
key: t,
attrs: {
src: e,
alt: ""
}
})
}
)), 0) : e._e()]) : e.extend.messageContent ? n("p", {
staticClass: "gray message-subtitle",
on: {
click: e.handleShowInterview
}
}, [e._v(e._s(e.extend.messageContent))]) : e.hunterShowAgreementContent ? n("p", {
staticClass: "gray message-subtitle highlight",
domProps: {
innerHTML: e._s(e.hunterShowAgreementContent.content)
},
on: {
click: e.handleOpenHight
}
}) : e.dialog.title ? n("div", {
staticClass: "message-multi"
}, [n("p", {
staticClass: "gray"
}, [e._v(e._s(e.dialog.title))])]) : e._e()]
},
proxy: !0
}, e.extendBtn.length > 0 ? {
key: "bottom-extend",
fn: function() {
return [n("div", {
staticClass: "geekboom-footer-content"
}, [n("p", [e._v("或者发送")]), n("div", {
staticClass: "geekboom-footer"
}, e._l(e.extendBtn, (function(t, s) {
return n("a", {
key: s,
staticClass: "link-agree",
class: [{
disabled: t.clicked
}],
attrs: {
href: "javascript:;"
},
on: {
click: function(n) {
return n.stopPropagation(),
e.handleOperate(t, s)
}
}
}, [n("img", {
attrs: {
src: e.geekboomMap[t.className],
alt: ""
}
}), n("span", [e._v(e._s(t.btnText))])])
}
)), 0)])]
},
proxy: !0
} : null], null, !0)
}), n("upload-resume", {
attrs: {
visable: e.showUpload,
isDesign: e.isDesign,
complete: e.complete,
hasResume: e.hasResumeAttachment,
chatClickCallBack: e.uploadClickCallBack
},
on: {
"on-close": e.handleCloseUpload
}
})], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "dialog-center"
}, [34 == e.dialogType ? n("QuickResume", {
attrs: {
message: e.message,
dialog: e.dialog
}
}) : n("MessageCard", {
directives: [{
name: "exposure",
rawName: "v-exposure",
value: e.exposure,
expression: "exposure"
}],
class: {
"custom-buttons": 47 === e.dialogType
},
attrs: {
icon: e.dialog.url,
title: e.dialog.title,
subTitle: e.dialog.text,
buttons: e.cardButtons,
theme: 36 === e.dialogType ? 3 : e.message.theme
},
scopedSlots: e._u([e.dialog.url ? null : {
key: "icon",
fn: function() {
return [36 !== e.dialogType ? n("i", {
staticClass: "dialog-icon",
class: e.message.type
}) : e._e()]
},
proxy: !0
}, e.dialog.content ? {
key: "content",
fn: function() {
return [n("p", {
staticClass: "gray message-content"
}, [n("span", {
staticClass: "highlight",
domProps: {
innerHTML: e._s(e.dialog.content)
}
}), e.extend.avatarUrls ? n("span", {
staticClass: "extend-content"
}, e._l(e.extend.avatarUrls, (function(e, t) {
return n("img", {
key: t,
attrs: {
src: e,
alt: ""
}
})
}
)), 0) : e._e()])]
},
proxy: !0
} : null], null, !0)
})], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", [n("div", e._b({
staticClass: "quote-content",
attrs: {
contenteditable: "false"
}
}, "div", e.attrs, !1), [n("i", {
staticClass: "iboss-close"
}), n("span", {
staticClass: "line"
}), n("h3", {
staticClass: "title"
}, [e.icon ? n("img", {
staticClass: "icon",
attrs: {
src: e.icon,
alt: ""
}
}) : e._e(), n("span", {
staticClass: "title-text"
}, [e._v(e._s(e.text))])])]), e._v(" ")])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, s = e._self._c || t;
return s("div", {
staticClass: "item-dialog"
}, [s("div", {
staticClass: "msg-dialog-position"
}, [e.dialog.title ? s("div", {
staticClass: "msg-dialog-title"
}, [e._v(" " + e._s(e.dialog.title) + " ")]) : e._e(), s("div", {
staticClass: "msg-dialog-img",
style: {
backgroundImage: "url(" + e.dialog.backgroundUrl + ")"
},
attrs: {
draggable: "false"
},
on: {
click: e.handleShowMap
}
}), s("div", {
staticClass: "msg-dialog-info"
}, [e.text.locationDesc ? s("div", {
staticClass: "msg-dialog-desc tooltip tooltip-top",
attrs: {
"aria-label": e.text.locationDesc
}
}, [s("div", {
staticClass: "msg-dialog-innertext"
}, [s("img", {
attrs: {
src: n(1918),
alt: ""
}
}), e._v(" " + e._s(e.text.locationDesc) + " ")])]) : e._e()]), e.dialog.buttons ? s("div", {
staticClass: "msg-dialog-footer-v2"
}, e._l(e.dialog.buttons, (function(t, n) {
return s("span", {
key: n,
class: ["btn-v2", {
disabled: e.dialog.operated,
"btn-outline-v2": 0 === n,
"btn-light-v2": 1 === n
}],
attrs: {
draggable: "false"
},
on: {
click: function(n) {
return e.handleDialogBtnClick(t.url)
}
}
}, [e._v(e._s(t.text))])
}
)), 0) : e._e()])])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "auto-responder message-text"
}, [n("div", {
staticClass: "text"
}, [e._v(" " + e._s(e.message.text)), n("span", {
staticClass: "gray"
}, [e._v("[智能回复]")]), n("p", {
staticClass: "message-dialog-operate",
class: e.selectedIndex ? "disabled" : ""
}, e._l(e.message.dialog.buttons, (function(t, s) {
return n("span", {
key: s,
on: {
click: function(n) {
return e.toggleLike(t, s)
}
}
}, [!e.selectedIndex || e.selectedIndex && e.selectedIndex === s + 1 ? n("span", {
class: "message-dialog-btn reply-select-" + e.selectedIndex
}, [2 === t.templateId ? n("i", {
class: "icon-unlike " + (1 === e.selectedIndex ? "icon-unlike-active" : "")
}) : e._e(), 3 === t.templateId ? n("i", {
class: {
"icon-like": !0,
"icon-like-active": 2 == e.selectedIndex
}
}) : e._e(), e._v(e._s(t.text) + " ")]) : e._e()])
}
)), 0)])])
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this
, t = e.$createElement
, n = e._self._c || t;
return n("div", {
staticClass: "text"
}, [e._v(" " + e._s(e.title)), n("a", {
attrs: {
href: "javascript:;"
},
on: {
click: function(t) {
return e.handleSendQuickResume(e.message)
}
}
}, [e._v(e._s(e.buttons && e.buttons.length ? e.buttons[0].text : ""))]), n("upload-resume", {
attrs: {
visable: e.showUpload,
isDesign: e.isDesign,
complete: e.complete,
hasResume: e.hasResumeAttachment,
chatClickCallBack: e.uploadClickCallBack
},
on: {
"on-close": e.handleCloseUpload
}
})], 1)
}
, i = []
}
, function(e, t, n) {
"use strict";
n.d(t, "a", (function() {
return s
}
)),
n.d(t, "b", (function() {
return i
}
));
var s = function() {
var e = this.$createElement;
return (this._self._c || e)("img", {
class: this.classes,
attrs: {
src: this.url,
alt: this.alt
},
on: {
load: this.handleLoad,
error: this.handleError
}
})
}
, i = []
}
])]);