@hiver/connector-agent 4.13.1 → 4.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/connector-cards.d.ts.map +1 -1
- package/app/index.d.ts.map +1 -1
- package/index.es.js +238 -232
- package/index.umd.js +8 -8
- package/package.json +1 -1
package/index.es.js
CHANGED
|
@@ -64,14 +64,14 @@ function ig() {
|
|
|
64
64
|
var g = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
65
65
|
function x(L) {
|
|
66
66
|
{
|
|
67
|
-
for (var U = arguments.length, te = new Array(U > 1 ? U - 1 : 0),
|
|
68
|
-
te[
|
|
67
|
+
for (var U = arguments.length, te = new Array(U > 1 ? U - 1 : 0), ue = 1; ue < U; ue++)
|
|
68
|
+
te[ue - 1] = arguments[ue];
|
|
69
69
|
v("error", L, te);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
function v(L, U, te) {
|
|
73
73
|
{
|
|
74
|
-
var
|
|
74
|
+
var ue = g.ReactDebugCurrentFrame, Oe = ue.getStackAddendum();
|
|
75
75
|
Oe !== "" && (U += "%s", te = te.concat([Oe]));
|
|
76
76
|
var De = te.map(function(Se) {
|
|
77
77
|
return String(Se);
|
|
@@ -89,9 +89,9 @@ function ig() {
|
|
|
89
89
|
L.$$typeof === S || L.getModuleId !== void 0));
|
|
90
90
|
}
|
|
91
91
|
function F(L, U, te) {
|
|
92
|
-
var
|
|
93
|
-
if (
|
|
94
|
-
return
|
|
92
|
+
var ue = L.displayName;
|
|
93
|
+
if (ue)
|
|
94
|
+
return ue;
|
|
95
95
|
var Oe = U.displayName || U.name || "";
|
|
96
96
|
return Oe !== "" ? te + "(" + Oe + ")" : te;
|
|
97
97
|
}
|
|
@@ -130,8 +130,8 @@ function ig() {
|
|
|
130
130
|
case c:
|
|
131
131
|
return F(L, L.render, "ForwardRef");
|
|
132
132
|
case h:
|
|
133
|
-
var
|
|
134
|
-
return
|
|
133
|
+
var ue = L.displayName || null;
|
|
134
|
+
return ue !== null ? ue : P(L.type) || "Memo";
|
|
135
135
|
case b: {
|
|
136
136
|
var Oe = L, De = Oe._payload, Se = Oe._init;
|
|
137
137
|
try {
|
|
@@ -212,8 +212,8 @@ function ig() {
|
|
|
212
212
|
try {
|
|
213
213
|
throw Error();
|
|
214
214
|
} catch (Oe) {
|
|
215
|
-
var
|
|
216
|
-
ae =
|
|
215
|
+
var ue = Oe.stack.trim().match(/\n( *(at )?)/);
|
|
216
|
+
ae = ue && ue[1] || "";
|
|
217
217
|
}
|
|
218
218
|
return `
|
|
219
219
|
` + ae + L;
|
|
@@ -232,7 +232,7 @@ function ig() {
|
|
|
232
232
|
if (te !== void 0)
|
|
233
233
|
return te;
|
|
234
234
|
}
|
|
235
|
-
var
|
|
235
|
+
var ue;
|
|
236
236
|
j = !0;
|
|
237
237
|
var Oe = Error.prepareStackTrace;
|
|
238
238
|
Error.prepareStackTrace = void 0;
|
|
@@ -251,14 +251,14 @@ function ig() {
|
|
|
251
251
|
try {
|
|
252
252
|
Reflect.construct(Se, []);
|
|
253
253
|
} catch (we) {
|
|
254
|
-
|
|
254
|
+
ue = we;
|
|
255
255
|
}
|
|
256
256
|
Reflect.construct(L, [], Se);
|
|
257
257
|
} else {
|
|
258
258
|
try {
|
|
259
259
|
Se.call();
|
|
260
260
|
} catch (we) {
|
|
261
|
-
|
|
261
|
+
ue = we;
|
|
262
262
|
}
|
|
263
263
|
L.call(Se.prototype);
|
|
264
264
|
}
|
|
@@ -266,14 +266,14 @@ function ig() {
|
|
|
266
266
|
try {
|
|
267
267
|
throw Error();
|
|
268
268
|
} catch (we) {
|
|
269
|
-
|
|
269
|
+
ue = we;
|
|
270
270
|
}
|
|
271
271
|
L();
|
|
272
272
|
}
|
|
273
273
|
} catch (we) {
|
|
274
|
-
if (we &&
|
|
274
|
+
if (we && ue && typeof we.stack == "string") {
|
|
275
275
|
for (var Le = we.stack.split(`
|
|
276
|
-
`), yt =
|
|
276
|
+
`), yt = ue.stack.split(`
|
|
277
277
|
`), tt = Le.length - 1, nt = yt.length - 1; tt >= 1 && nt >= 0 && Le[tt] !== yt[nt]; )
|
|
278
278
|
nt--;
|
|
279
279
|
for (; tt >= 1 && nt >= 0; tt--, nt--)
|
|
@@ -292,8 +292,8 @@ function ig() {
|
|
|
292
292
|
} finally {
|
|
293
293
|
j = !1, ee.current = De, X(), Error.prepareStackTrace = Oe;
|
|
294
294
|
}
|
|
295
|
-
var Nn = L ? L.displayName || L.name : "",
|
|
296
|
-
return typeof L == "function" && ce.set(L,
|
|
295
|
+
var Nn = L ? L.displayName || L.name : "", le = Nn ? fe(Nn) : "";
|
|
296
|
+
return typeof L == "function" && ce.set(L, le), le;
|
|
297
297
|
}
|
|
298
298
|
function Me(L, U, te) {
|
|
299
299
|
return $(L, !1);
|
|
@@ -322,7 +322,7 @@ function ig() {
|
|
|
322
322
|
case h:
|
|
323
323
|
return et(L.type, U, te);
|
|
324
324
|
case b: {
|
|
325
|
-
var
|
|
325
|
+
var ue = L, Oe = ue._payload, De = ue._init;
|
|
326
326
|
try {
|
|
327
327
|
return et(De(Oe), U, te);
|
|
328
328
|
} catch {
|
|
@@ -339,7 +339,7 @@ function ig() {
|
|
|
339
339
|
} else
|
|
340
340
|
ut.setExtraStackFrame(null);
|
|
341
341
|
}
|
|
342
|
-
function at(L, U, te,
|
|
342
|
+
function at(L, U, te, ue, Oe) {
|
|
343
343
|
{
|
|
344
344
|
var De = Function.call.bind(tn);
|
|
345
345
|
for (var Se in L)
|
|
@@ -347,14 +347,14 @@ function ig() {
|
|
|
347
347
|
var Le = void 0;
|
|
348
348
|
try {
|
|
349
349
|
if (typeof L[Se] != "function") {
|
|
350
|
-
var yt = Error((
|
|
350
|
+
var yt = Error((ue || "React class") + ": " + te + " type `" + Se + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof L[Se] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
351
351
|
throw yt.name = "Invariant Violation", yt;
|
|
352
352
|
}
|
|
353
|
-
Le = L[Se](U, Se,
|
|
353
|
+
Le = L[Se](U, Se, ue, te, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
354
354
|
} catch (tt) {
|
|
355
355
|
Le = tt;
|
|
356
356
|
}
|
|
357
|
-
Le && !(Le instanceof Error) && (xt(Oe), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",
|
|
357
|
+
Le && !(Le instanceof Error) && (xt(Oe), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ue || "React class", te, Se, typeof Le), xt(null)), Le instanceof Error && !(Le.message in yn) && (yn[Le.message] = !0, xt(Oe), x("Failed %s type: %s", te, Le.message), xt(null));
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
360
|
}
|
|
@@ -433,7 +433,7 @@ function ig() {
|
|
|
433
433
|
});
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
|
-
var qt = function(L, U, te,
|
|
436
|
+
var qt = function(L, U, te, ue, Oe, De, Se) {
|
|
437
437
|
var Le = {
|
|
438
438
|
// This tag allows us to uniquely identify this as a React Element
|
|
439
439
|
$$typeof: t,
|
|
@@ -454,7 +454,7 @@ function ig() {
|
|
|
454
454
|
configurable: !1,
|
|
455
455
|
enumerable: !1,
|
|
456
456
|
writable: !1,
|
|
457
|
-
value:
|
|
457
|
+
value: ue
|
|
458
458
|
}), Object.defineProperty(Le, "_source", {
|
|
459
459
|
configurable: !1,
|
|
460
460
|
enumerable: !1,
|
|
@@ -462,7 +462,7 @@ function ig() {
|
|
|
462
462
|
value: Oe
|
|
463
463
|
}), Object.freeze && (Object.freeze(Le.props), Object.freeze(Le)), Le;
|
|
464
464
|
};
|
|
465
|
-
function oo(L, U, te,
|
|
465
|
+
function oo(L, U, te, ue, Oe) {
|
|
466
466
|
{
|
|
467
467
|
var De, Se = {}, Le = null, yt = null;
|
|
468
468
|
te !== void 0 && (Yn(te), Le = "" + te), Jt(U) && (Yn(U.key), Le = "" + U.key), Zo(U) && (yt = U.ref, Jn(U, Oe));
|
|
@@ -477,7 +477,7 @@ function ig() {
|
|
|
477
477
|
var nt = typeof L == "function" ? L.displayName || L.name || "Unknown" : L;
|
|
478
478
|
Le && kn(Se, nt), yt && ro(Se, nt);
|
|
479
479
|
}
|
|
480
|
-
return qt(L, Le, yt, Oe,
|
|
480
|
+
return qt(L, Le, yt, Oe, ue, _t.current, Se);
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
483
|
var qn = g.ReactCurrentOwner, Kn = g.ReactDebugCurrentFrame;
|
|
@@ -530,8 +530,8 @@ Check the top-level render call using <` + te + ">.");
|
|
|
530
530
|
if (wr[te])
|
|
531
531
|
return;
|
|
532
532
|
wr[te] = !0;
|
|
533
|
-
var
|
|
534
|
-
L && L._owner && L._owner !== qn.current && (
|
|
533
|
+
var ue = "";
|
|
534
|
+
L && L._owner && L._owner !== qn.current && (ue = " It was passed a child from " + P(L._owner.type) + "."), nn(L), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', te, ue), nn(null);
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
537
|
function _r(L, U) {
|
|
@@ -540,8 +540,8 @@ Check the top-level render call using <` + te + ">.");
|
|
|
540
540
|
return;
|
|
541
541
|
if (Xt(L))
|
|
542
542
|
for (var te = 0; te < L.length; te++) {
|
|
543
|
-
var
|
|
544
|
-
Er(
|
|
543
|
+
var ue = L[te];
|
|
544
|
+
Er(ue) && Ir(ue, U);
|
|
545
545
|
}
|
|
546
546
|
else if (Er(L))
|
|
547
547
|
L._store && (L._store.validated = !0);
|
|
@@ -568,8 +568,8 @@ Check the top-level render call using <` + te + ">.");
|
|
|
568
568
|
else
|
|
569
569
|
return;
|
|
570
570
|
if (te) {
|
|
571
|
-
var
|
|
572
|
-
at(te, L.props, "prop",
|
|
571
|
+
var ue = P(U);
|
|
572
|
+
at(te, L.props, "prop", ue, L);
|
|
573
573
|
} else if (U.PropTypes !== void 0 && !Qn) {
|
|
574
574
|
Qn = !0;
|
|
575
575
|
var Oe = P(U);
|
|
@@ -581,9 +581,9 @@ Check the top-level render call using <` + te + ">.");
|
|
|
581
581
|
function xe(L) {
|
|
582
582
|
{
|
|
583
583
|
for (var U = Object.keys(L.props), te = 0; te < U.length; te++) {
|
|
584
|
-
var
|
|
585
|
-
if (
|
|
586
|
-
nn(L), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
584
|
+
var ue = U[te];
|
|
585
|
+
if (ue !== "children" && ue !== "key") {
|
|
586
|
+
nn(L), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", ue), nn(null);
|
|
587
587
|
break;
|
|
588
588
|
}
|
|
589
589
|
}
|
|
@@ -591,7 +591,7 @@ Check the top-level render call using <` + te + ">.");
|
|
|
591
591
|
}
|
|
592
592
|
}
|
|
593
593
|
var Ee = {};
|
|
594
|
-
function ct(L, U, te,
|
|
594
|
+
function ct(L, U, te, ue, Oe, De) {
|
|
595
595
|
{
|
|
596
596
|
var Se = k(L);
|
|
597
597
|
if (!Se) {
|
|
@@ -608,7 +608,7 @@ Check the top-level render call using <` + te + ">.");
|
|
|
608
608
|
if (Se) {
|
|
609
609
|
var At = U.children;
|
|
610
610
|
if (At !== void 0)
|
|
611
|
-
if (
|
|
611
|
+
if (ue)
|
|
612
612
|
if (Xt(At)) {
|
|
613
613
|
for (var Nn = 0; Nn < At.length; Nn++)
|
|
614
614
|
_r(At[Nn], L);
|
|
@@ -619,17 +619,17 @@ Check the top-level render call using <` + te + ">.");
|
|
|
619
619
|
_r(At, L);
|
|
620
620
|
}
|
|
621
621
|
if (tn.call(U, "key")) {
|
|
622
|
-
var
|
|
622
|
+
var le = P(L), we = Object.keys(U).filter(function(Mi) {
|
|
623
623
|
return Mi !== "key";
|
|
624
624
|
}), ht = we.length > 0 ? "{key: someKey, " + we.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
625
|
-
if (!Ee[
|
|
625
|
+
if (!Ee[le + ht]) {
|
|
626
626
|
var on = we.length > 0 ? "{" + we.join(": ..., ") + ": ...}" : "{}";
|
|
627
627
|
x(`A props object containing a "key" prop is being spread into JSX:
|
|
628
628
|
let props = %s;
|
|
629
629
|
<%s {...props} />
|
|
630
630
|
React keys must be passed directly to JSX without using spread:
|
|
631
631
|
let props = %s;
|
|
632
|
-
<%s key={someKey} {...props} />`, ht,
|
|
632
|
+
<%s key={someKey} {...props} />`, ht, le, on, le), Ee[le + ht] = !0;
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
635
|
return L === r ? xe(nt) : Ar(nt), nt;
|
|
@@ -6733,7 +6733,7 @@ const an = {
|
|
|
6733
6733
|
isHiverApiDomain: !0
|
|
6734
6734
|
},
|
|
6735
6735
|
withCredentials: !0
|
|
6736
|
-
}), k4 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 17, height: 17, viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("g", { clipPath: "url(#clip0_1180_840)" }, /* @__PURE__ */ A.createElement("path", { d: "M5.16667 10.12H9.83333V11.4533H5.16667V10.12ZM5.16667 7.45329H11.8333V8.78662H5.16667V7.45329ZM5.16667 4.78662H11.8333V6.11995H5.16667V4.78662ZM13.1667 2.11995H10.38C10.1 1.34662 9.36667 0.786621 8.5 0.786621C7.63333 0.786621 6.9 1.34662 6.62 2.11995H3.83333C3.74 2.11995 3.65333 2.12662 3.56667 2.14662C3.30667 2.19995 3.07333 2.33329 2.89333 2.51329C2.77333 2.63329 2.67333 2.77995 2.60667 2.93995C2.54 3.09329 2.5 3.26662 2.5 3.45329V12.7866C2.5 12.9666 2.54 13.1466 2.60667 13.3066C2.67333 13.4666 2.77333 13.6066 2.89333 13.7333C3.07333 13.9133 3.30667 14.0466 3.56667 14.1C3.65333 14.1133 3.74 14.12 3.83333 14.12H13.1667C13.9 14.12 14.5 13.52 14.5 12.7866V3.45329C14.5 2.71995 13.9 2.11995 13.1667 2.11995ZM8.5 1.95329C8.77333 1.95329 9 2.17995 9 2.45329C9 2.72662 8.77333 2.95329 8.5 2.95329C8.22667 2.95329 8 2.72662 8 2.45329C8 2.17995 8.22667 1.95329 8.5 1.95329ZM13.1667 12.7866H3.83333V3.45329H13.1667V12.7866Z", fill: "#343C45" })), /* @__PURE__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("clipPath", { id: "clip0_1180_840" }, /* @__PURE__ */ A.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(0.5 0.120117)" })))), N4 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 24, height: 22, viewBox: "0 0 24 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("rect", { x: 3.63636, y: 2.27393, width: 15.2727, height: 17.2308, rx: 2.90909, fill: "#F6C035" }), /* @__PURE__ */ A.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M22.4621 12.0506C22.1745 11.7669 21.7845 11.6074 21.3779 11.6074C20.9712 11.6074 20.5812 11.7669 20.2937 12.0506L19.9323 12.4079L22.4626 14.9057L22.8235 14.549C22.9659 14.4084 23.0789 14.2415 23.156 14.0578C23.2331 13.8741 23.2727 13.6773 23.2727 13.4784C23.2727 13.2796 23.2331 13.0827 23.156 12.8991C23.0789 12.7154 22.9659 12.5485 22.8235 12.4079L22.4621 12.0506ZM21.7393 15.6192L19.209 13.1214L14.5624 17.7088C14.4607 17.8092 14.3897 17.9358 14.3574 18.0742L13.8314 20.3222C13.8118 20.4056 13.814 20.4927 13.8379 20.575C13.8618 20.6574 13.9065 20.7324 13.9679 20.793C14.0293 20.8535 14.1052 20.8977 14.1887 20.9213C14.2721 20.9448 14.3603 20.9471 14.4448 20.9277L16.7226 20.409C16.8626 20.377 16.9906 20.3069 17.0922 20.2066L21.7393 15.6192Z", fill: "#FFE298" }), /* @__PURE__ */ A.createElement("rect", { x: 6.54546, y: 6.58154, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ A.createElement("rect", { x: 6.54546, y: 10.1714, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ A.createElement("rect", { x: 6.54546, y: 13.7612, width: 6.54545, height: 1.4359, rx: 0.717949, fill: "#FFDC83" })), P4 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("g", { clipPath: "url(#clip0_825_73646)" }, /* @__PURE__ */ A.createElement("path", { d: "M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z", fill: "#6F7C90" })), /* @__PURE__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("clipPath", { id: "clip0_825_73646" }, /* @__PURE__ */ A.createElement("rect", { width: 24, height: 24, fill: "white" })))), j4 = "Rate your experience with Hiver Apps", M4 = "Share feedback on Apps", B4 = "Got any feedback?", mf = "https://txeep2wshyx.typeform.com/to/RuOwF9SG", V4 = "https://txeep2wshyx.typeform.com/to/Tfa8IrCd", G4 = "https://cdn.hiverhq.com/chat-support/hiver-chat.html", H4 = "enable_connectors_clicked", W4 = "learn_more_clicked", Z4 = "connector_card_expand_clicked", U4 = "connector_card_collapsed_clicked", z4 = "connector_card_refresh_clicked", $4 = "connector_cards_loaded", X4 = "connector_whats_new_card_viewed", Y4 = "connector_whats_new_explore_now_clicked", J4 = "connector_whats_new_learn_more_clicked", q4 = "connector_whats_new_dismissed", K4 = "connector_create_new_object_clicked", Q4 = "connector_link_new_object_clicked",
|
|
6736
|
+
}), k4 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 17, height: 17, viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("g", { clipPath: "url(#clip0_1180_840)" }, /* @__PURE__ */ A.createElement("path", { d: "M5.16667 10.12H9.83333V11.4533H5.16667V10.12ZM5.16667 7.45329H11.8333V8.78662H5.16667V7.45329ZM5.16667 4.78662H11.8333V6.11995H5.16667V4.78662ZM13.1667 2.11995H10.38C10.1 1.34662 9.36667 0.786621 8.5 0.786621C7.63333 0.786621 6.9 1.34662 6.62 2.11995H3.83333C3.74 2.11995 3.65333 2.12662 3.56667 2.14662C3.30667 2.19995 3.07333 2.33329 2.89333 2.51329C2.77333 2.63329 2.67333 2.77995 2.60667 2.93995C2.54 3.09329 2.5 3.26662 2.5 3.45329V12.7866C2.5 12.9666 2.54 13.1466 2.60667 13.3066C2.67333 13.4666 2.77333 13.6066 2.89333 13.7333C3.07333 13.9133 3.30667 14.0466 3.56667 14.1C3.65333 14.1133 3.74 14.12 3.83333 14.12H13.1667C13.9 14.12 14.5 13.52 14.5 12.7866V3.45329C14.5 2.71995 13.9 2.11995 13.1667 2.11995ZM8.5 1.95329C8.77333 1.95329 9 2.17995 9 2.45329C9 2.72662 8.77333 2.95329 8.5 2.95329C8.22667 2.95329 8 2.72662 8 2.45329C8 2.17995 8.22667 1.95329 8.5 1.95329ZM13.1667 12.7866H3.83333V3.45329H13.1667V12.7866Z", fill: "#343C45" })), /* @__PURE__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("clipPath", { id: "clip0_1180_840" }, /* @__PURE__ */ A.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(0.5 0.120117)" })))), N4 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 24, height: 22, viewBox: "0 0 24 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("rect", { x: 3.63636, y: 2.27393, width: 15.2727, height: 17.2308, rx: 2.90909, fill: "#F6C035" }), /* @__PURE__ */ A.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M22.4621 12.0506C22.1745 11.7669 21.7845 11.6074 21.3779 11.6074C20.9712 11.6074 20.5812 11.7669 20.2937 12.0506L19.9323 12.4079L22.4626 14.9057L22.8235 14.549C22.9659 14.4084 23.0789 14.2415 23.156 14.0578C23.2331 13.8741 23.2727 13.6773 23.2727 13.4784C23.2727 13.2796 23.2331 13.0827 23.156 12.8991C23.0789 12.7154 22.9659 12.5485 22.8235 12.4079L22.4621 12.0506ZM21.7393 15.6192L19.209 13.1214L14.5624 17.7088C14.4607 17.8092 14.3897 17.9358 14.3574 18.0742L13.8314 20.3222C13.8118 20.4056 13.814 20.4927 13.8379 20.575C13.8618 20.6574 13.9065 20.7324 13.9679 20.793C14.0293 20.8535 14.1052 20.8977 14.1887 20.9213C14.2721 20.9448 14.3603 20.9471 14.4448 20.9277L16.7226 20.409C16.8626 20.377 16.9906 20.3069 17.0922 20.2066L21.7393 15.6192Z", fill: "#FFE298" }), /* @__PURE__ */ A.createElement("rect", { x: 6.54546, y: 6.58154, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ A.createElement("rect", { x: 6.54546, y: 10.1714, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ A.createElement("rect", { x: 6.54546, y: 13.7612, width: 6.54545, height: 1.4359, rx: 0.717949, fill: "#FFDC83" })), P4 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("g", { clipPath: "url(#clip0_825_73646)" }, /* @__PURE__ */ A.createElement("path", { d: "M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z", fill: "#6F7C90" })), /* @__PURE__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("clipPath", { id: "clip0_825_73646" }, /* @__PURE__ */ A.createElement("rect", { width: 24, height: 24, fill: "white" })))), j4 = "Rate your experience with Hiver Apps", M4 = "Share feedback on Apps", B4 = "Got any feedback?", mf = "https://txeep2wshyx.typeform.com/to/RuOwF9SG", V4 = "https://txeep2wshyx.typeform.com/to/Tfa8IrCd", G4 = "https://cdn.hiverhq.com/chat-support/hiver-chat.html", H4 = "enable_connectors_clicked", W4 = "learn_more_clicked", Z4 = "connector_card_expand_clicked", U4 = "connector_card_collapsed_clicked", z4 = "connector_card_refresh_clicked", $4 = "connector_cards_loaded", X4 = "connector_whats_new_card_viewed", Y4 = "connector_whats_new_explore_now_clicked", J4 = "connector_whats_new_learn_more_clicked", q4 = "connector_whats_new_dismissed", K4 = "connector_create_new_object_clicked", Q4 = "connector_link_new_object_clicked", e5 = "connector_new_object_created_by_form", t5 = "connector_new_object_linked_by_form", n5 = "connector_object_unlinked_by_form", r5 = "connector_link_preview_clicked", o5 = "connector_create_panel_cancel_clicked", ed = "connector_create_panel_back_clicked", i5 = "card_loaded_on_click", s5 = "card_loaded", a5 = "schedule_call_clicked", c5 = "schedule_call_cross_clicked", bf = "CONNECTOR_EDIT_CLICKED", l5 = "CONNECTOR_EDIT_REQUEST_SEND", u5 = "CONNECTOR_EDIT_CANCELLED", td = "CONNECTOR_EDIT_BACK_CLICKED", d5 = "CONNECTOR_EDIT_SUCCESS", f5 = "connector_video_clicked", p5 = "connector_card_error", Hc = "got_any_feedback_clicked", h5 = "connector_deeplink_clicked", g5 = "search_bar_tapped", m5 = "search_suggestions_selected", b5 = "search_initiated", x5 = "no_results_found", v5 = "search_results_found", y5 = "search_result_selected", C5 = "search_result_linked", E5 = "feedback_closed_clicked", w5 = "help_btn_clicked", I5 = "connector_chat_support_clicked", _5 = "add_custom_field_clicked", A5 = "add_custom_field_success", T5 = "update_custom_field_success", nd = "clicked_on_lookup_config", S5 = "clicked_on_lookup_field", L5 = "saved_lookup_config", O5 = "settings_defaults_modal_opened", R5 = "defaults_configuration_saved", F5 = {
|
|
6737
6737
|
userEmail: "",
|
|
6738
6738
|
email: "",
|
|
6739
6739
|
baseUrls: {},
|
|
@@ -6747,18 +6747,18 @@ const an = {
|
|
|
6747
6747
|
connectorFunctions: { redirectToAdmin: () => {
|
|
6748
6748
|
} },
|
|
6749
6749
|
stackingContext: {}
|
|
6750
|
-
}, Ke = xl(
|
|
6750
|
+
}, Ke = xl(F5), ss = "hiver_connectors", Wc = {
|
|
6751
6751
|
NOT_FOUND: 404
|
|
6752
|
-
},
|
|
6752
|
+
}, D5 = "ftr-connector-blue-dot", xf = "ftr-connectors-write-flow", k5 = "ftr-connectors-enhancements", N5 = "ftr-connector-schedule-call-agent", P5 = "ftr-connectors-edit", j5 = "enableAllConnectorFtr", M5 = "ftr-cards-open-state", B5 = "ftr-connectors-global-search", V5 = "ftr-connectors-smart-suggestions", G5 = "ftr-connectors-email-selection", H5 = "ftr-connector-agent-feedback", ia = "ftr-connector-unified-view", W5 = "ftr-connectors-expanded-form", rd = "ftr-apps-lookup-revamp", Z5 = "ftr-ci-configurable-fields", od = "Please refresh and try again", U5 = "No data available", as = "-", vf = "Refresh", yf = "Minimize", Gl = "Expand", Cf = "Connectors", Hl = "Apps", z5 = "Collapse", $5 = "Close", Ef = "Link", X5 = "Create", Y5 = "Update", wf = "Unlink", If = "Edit", Wl = "Cancel", Zl = "Create new object", _f = "Link existing object", J5 = "Are you sure you want to unlink this object?", q5 = "The object will be removed from this conversation for all users. However the object will still be available on {{connectorName}} if you'd like to link it back in the future.", K5 = "Edit card", Q5 = "bullet_list", eb = "Expanded", tb = "Collapsed", Af = "Something is wrong with the {{connector_name}} Connector setup. Please check our help guide <>here<>.", Tf = "UNKNOWN_ERROR", nb = "https://help.hiverhq.com/custom-connectors/common-connector-errors", id = {
|
|
6753
6753
|
MAIN_BUTTON: "main_button",
|
|
6754
6754
|
ICON: "create_icon"
|
|
6755
|
-
},
|
|
6755
|
+
}, rb = " Add custom field", Ul = (e) => {
|
|
6756
6756
|
let t = localStorage.getItem(ss);
|
|
6757
6757
|
return t = t ? JSON.parse(t) : !1, t == null ? void 0 : t[e];
|
|
6758
|
-
},
|
|
6758
|
+
}, ob = (e) => !!Ul(e), Sf = () => {
|
|
6759
6759
|
const { userId: e = "" } = pn() || {};
|
|
6760
6760
|
return String(e);
|
|
6761
|
-
},
|
|
6761
|
+
}, ib = (e, t = Sf()) => {
|
|
6762
6762
|
const n = Ul(e);
|
|
6763
6763
|
return ((n == null ? void 0 : n.isExtensionNew) ?? []).includes(t);
|
|
6764
6764
|
}, Da = (e, t = !1, n = !1) => {
|
|
@@ -6784,10 +6784,10 @@ const an = {
|
|
|
6784
6784
|
localStorage.setItem(ss, JSON.stringify(a));
|
|
6785
6785
|
return;
|
|
6786
6786
|
}
|
|
6787
|
-
}, mt = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[
|
|
6787
|
+
}, mt = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[j5]) === !0 : (e == null ? void 0 : e[t]) === !0, bt = (e, t) => e.replace(/:(\w+)/g, (n, r) => String(t[r]) || ""), sd = (e, t, n, r = !1) => {
|
|
6788
6788
|
var i;
|
|
6789
6789
|
const o = {};
|
|
6790
|
-
return o.card_title = t, o.card_state = n ?
|
|
6790
|
+
return o.card_title = t, o.card_state = n ? eb : tb, r && e ? (o.data_state = e == null ? void 0 : e.status, o.connector_names = (i = e == null ? void 0 : e.data) == null ? void 0 : i.connectorNames) : e && (o.data_state = (e == null ? void 0 : e.status) || "unknown_error"), o;
|
|
6791
6791
|
}, Lf = (e) => {
|
|
6792
6792
|
switch (e.cardType) {
|
|
6793
6793
|
case "flat":
|
|
@@ -6804,7 +6804,7 @@ const an = {
|
|
|
6804
6804
|
break;
|
|
6805
6805
|
}
|
|
6806
6806
|
return e;
|
|
6807
|
-
},
|
|
6807
|
+
}, sb = (e) => {
|
|
6808
6808
|
if (!e || Object.keys(e).length === 0) return [];
|
|
6809
6809
|
const t = /* @__PURE__ */ new Set();
|
|
6810
6810
|
return Object.values(e).forEach((n) => {
|
|
@@ -6825,7 +6825,7 @@ const an = {
|
|
|
6825
6825
|
function ad(e, t) {
|
|
6826
6826
|
return e.length > t ? e.substring(0, t) + "..." : e;
|
|
6827
6827
|
}
|
|
6828
|
-
const
|
|
6828
|
+
const ab = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21, viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("g", { clipPath: "url(#clip0_1187_180)" }, /* @__PURE__ */ A.createElement("path", { d: "M18.3333 7.81995L12.3417 7.30329L10 1.78662L7.65833 7.31162L1.66666 7.81995L6.21666 11.7616L4.85 17.62L10 14.5116L15.15 17.62L13.7917 11.7616L18.3333 7.81995ZM10 12.9533L6.86666 14.845L7.7 11.2783L4.93333 8.87829L8.58333 8.56162L10 5.20329L11.425 8.56995L15.075 8.88662L12.3083 11.2866L13.1417 14.8533L10 12.9533Z", fill: "#4D596C" })), /* @__PURE__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("clipPath", { id: "clip0_1187_180" }, /* @__PURE__ */ A.createElement("rect", { width: 20, height: 20, fill: "white", transform: "translate(0 0.120117)" })))), cb = (e) => /* @__PURE__ */ A.createElement("svg", { width: 21, height: 20, viewBox: "0 0 21 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("g", { clipPath: "url(#clip0_847_49587)" }, /* @__PURE__ */ A.createElement("path", { d: "M10.6668 14.392L15.8168 17.5003L14.4502 11.642L19.0002 7.70033L13.0085 7.19199L10.6668 1.66699L8.32516 7.19199L2.3335 7.70033L6.8835 11.642L5.51683 17.5003L10.6668 14.392Z", fill: "#FFE250" })), /* @__PURE__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("clipPath", { id: "clip0_847_49587" }, /* @__PURE__ */ A.createElement("rect", { width: 20, height: 20, fill: "white", transform: "translate(0.666992)" })))), lb = yl`
|
|
6829
6829
|
from {
|
|
6830
6830
|
transform: translateY(-100%);
|
|
6831
6831
|
opacity: 0;
|
|
@@ -6842,7 +6842,7 @@ const a5 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
6842
6842
|
height: 48px;
|
|
6843
6843
|
padding-top: 20px;
|
|
6844
6844
|
}
|
|
6845
|
-
`,
|
|
6845
|
+
`, ub = yl`
|
|
6846
6846
|
from {
|
|
6847
6847
|
transform: translateY(0);
|
|
6848
6848
|
opacity: 1;
|
|
@@ -6855,7 +6855,7 @@ const a5 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
6855
6855
|
display: none;
|
|
6856
6856
|
pointer-events: none;
|
|
6857
6857
|
}
|
|
6858
|
-
`,
|
|
6858
|
+
`, db = T(N)`
|
|
6859
6859
|
width: 100%;
|
|
6860
6860
|
overflow: hidden;
|
|
6861
6861
|
flex-direction: row;
|
|
@@ -6886,9 +6886,9 @@ const a5 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
6886
6886
|
pointer-events: auto;
|
|
6887
6887
|
height: 48px;
|
|
6888
6888
|
padding-top: 20px;
|
|
6889
|
-
animation: ${
|
|
6889
|
+
animation: ${lb} 0.4s ease-in forwards;
|
|
6890
6890
|
}
|
|
6891
|
-
`,
|
|
6891
|
+
`, fb = T(N)`
|
|
6892
6892
|
padding: 12px;
|
|
6893
6893
|
margin-top: 20px;
|
|
6894
6894
|
width: 100%;
|
|
@@ -6905,18 +6905,18 @@ const a5 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
6905
6905
|
opacity: 0;
|
|
6906
6906
|
display: none;
|
|
6907
6907
|
pointer-events: none;
|
|
6908
|
-
animation: ${
|
|
6908
|
+
animation: ${ub} 0.4s ease-in forwards;
|
|
6909
6909
|
}
|
|
6910
|
-
`,
|
|
6910
|
+
`, pb = T(it)`
|
|
6911
6911
|
position: absolute;
|
|
6912
6912
|
right: -8px;
|
|
6913
6913
|
top: -5px;
|
|
6914
|
-
`,
|
|
6914
|
+
`, hb = T(N)`
|
|
6915
6915
|
margin-top: 8px;
|
|
6916
6916
|
flex-direction: row;
|
|
6917
6917
|
flex-wrap: wrap;
|
|
6918
6918
|
gap: 12px;
|
|
6919
|
-
`,
|
|
6919
|
+
`, gb = T(N)`
|
|
6920
6920
|
width: 20px;
|
|
6921
6921
|
height: 20px;
|
|
6922
6922
|
cursor: pointer;
|
|
@@ -6940,9 +6940,9 @@ const a5 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
6940
6940
|
&:hover svg {
|
|
6941
6941
|
transform: scale(1.1);
|
|
6942
6942
|
}
|
|
6943
|
-
`,
|
|
6943
|
+
`, mb = T(K)`
|
|
6944
6944
|
letter-spacing: 0.042px;
|
|
6945
|
-
`,
|
|
6945
|
+
`, bb = ({ rating: e, setRating: t, count: n = 5 }) => {
|
|
6946
6946
|
const [r, o] = B(e), i = r ?? e, s = (u) => {
|
|
6947
6947
|
t(u);
|
|
6948
6948
|
}, a = (u) => {
|
|
@@ -6950,16 +6950,16 @@ const a5 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
6950
6950
|
}, c = () => {
|
|
6951
6951
|
o(0);
|
|
6952
6952
|
};
|
|
6953
|
-
return /* @__PURE__ */ l.jsx(
|
|
6953
|
+
return /* @__PURE__ */ l.jsx(hb, { onMouseLeave: c, children: Array.from({ length: n }, (u, d) => {
|
|
6954
6954
|
const h = d < i;
|
|
6955
6955
|
return /* @__PURE__ */ l.jsx(
|
|
6956
|
-
|
|
6956
|
+
gb,
|
|
6957
6957
|
{
|
|
6958
6958
|
onClick: () => s(d + 1),
|
|
6959
6959
|
onMouseEnter: () => a(d + 1),
|
|
6960
6960
|
children: /* @__PURE__ */ l.jsxs("div", { children: [
|
|
6961
6961
|
/* @__PURE__ */ l.jsx(
|
|
6962
|
-
|
|
6962
|
+
cb,
|
|
6963
6963
|
{
|
|
6964
6964
|
width: "20px",
|
|
6965
6965
|
height: "20px",
|
|
@@ -6970,7 +6970,7 @@ const a5 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
6970
6970
|
}
|
|
6971
6971
|
),
|
|
6972
6972
|
/* @__PURE__ */ l.jsx(
|
|
6973
|
-
|
|
6973
|
+
ab,
|
|
6974
6974
|
{
|
|
6975
6975
|
width: "20px",
|
|
6976
6976
|
height: "20px",
|
|
@@ -6985,7 +6985,7 @@ const a5 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
6985
6985
|
d
|
|
6986
6986
|
);
|
|
6987
6987
|
}) });
|
|
6988
|
-
},
|
|
6988
|
+
}, xb = ({ connectors: e, expanded: t = !1 }) => {
|
|
6989
6989
|
const { currentSmIds: n, sendTrackingEvent: r, userEmail: o } = Fe(Ke), { userGroupId: i, userId: s } = pn() || {}, a = Zc({
|
|
6990
6990
|
url: mf,
|
|
6991
6991
|
params: {
|
|
@@ -7025,7 +7025,7 @@ const a5 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
7025
7025
|
});
|
|
7026
7026
|
y(x), window.open(v, "_blank"), u(!1), ns(s);
|
|
7027
7027
|
}, f = () => {
|
|
7028
|
-
r(
|
|
7028
|
+
r(E5, {
|
|
7029
7029
|
sm_ids: n,
|
|
7030
7030
|
ug_id: i,
|
|
7031
7031
|
connector_names: e,
|
|
@@ -7036,7 +7036,7 @@ const a5 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
7036
7036
|
};
|
|
7037
7037
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
7038
7038
|
/* @__PURE__ */ l.jsxs(
|
|
7039
|
-
|
|
7039
|
+
fb,
|
|
7040
7040
|
{
|
|
7041
7041
|
className: d || !c ? "slide-down-out" : "",
|
|
7042
7042
|
onAnimationEnd: g,
|
|
@@ -7044,20 +7044,20 @@ const a5 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
7044
7044
|
/* @__PURE__ */ l.jsxs(N, { width: "100%", direction: "row", gap: "8px", children: [
|
|
7045
7045
|
/* @__PURE__ */ l.jsx(N4, {}),
|
|
7046
7046
|
/* @__PURE__ */ l.jsxs(Q, { width: "175px", children: [
|
|
7047
|
-
/* @__PURE__ */ l.jsx(
|
|
7048
|
-
/* @__PURE__ */ l.jsx(
|
|
7047
|
+
/* @__PURE__ */ l.jsx(mb, { variant: "h3", children: j4 }),
|
|
7048
|
+
/* @__PURE__ */ l.jsx(bb, { rating: b, setRating: p })
|
|
7049
7049
|
] })
|
|
7050
7050
|
] }),
|
|
7051
|
-
/* @__PURE__ */ l.jsx(Q, { position: "relative", children: /* @__PURE__ */ l.jsx(Ce, { title: "Close", children: /* @__PURE__ */ l.jsx(
|
|
7051
|
+
/* @__PURE__ */ l.jsx(Q, { position: "relative", children: /* @__PURE__ */ l.jsx(Ce, { title: "Close", children: /* @__PURE__ */ l.jsx(pb, { onClick: f, children: /* @__PURE__ */ l.jsx(P4, { width: "16px", height: "16px" }) }) }) })
|
|
7052
7052
|
]
|
|
7053
7053
|
}
|
|
7054
7054
|
),
|
|
7055
|
-
/* @__PURE__ */ l.jsx(
|
|
7055
|
+
/* @__PURE__ */ l.jsx(db, { className: d || !c ? "fade-in" : "", children: /* @__PURE__ */ l.jsxs(Re, { size: "small", variant: "outlined", color: "tertiary", onClick: m, children: [
|
|
7056
7056
|
/* @__PURE__ */ l.jsx(k4, {}),
|
|
7057
7057
|
M4
|
|
7058
7058
|
] }) })
|
|
7059
7059
|
] });
|
|
7060
|
-
},
|
|
7060
|
+
}, vb = "Need setup help?", yb = "Expert setup assistance available! Book a 15 min call with our integration specialist.", Cb = "Schedule call", Eb = "https://calendar.app.google/V2cJcwKMV4ax9rpk9", cd = "agent_panel", ka = "hiver_schedule_call_close_button_click", wb = T(N)`
|
|
7061
7061
|
padding: 12px;
|
|
7062
7062
|
width: 250px;
|
|
7063
7063
|
min-height: 151px;
|
|
@@ -7065,11 +7065,11 @@ const a5 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
7065
7065
|
margin-bottom: 5px;
|
|
7066
7066
|
background-color: ${V.palette.gray.white};
|
|
7067
7067
|
box-shadow: 0px 0px 8px 0px #0000001a;
|
|
7068
|
-
`,
|
|
7068
|
+
`, Ib = T(N)`
|
|
7069
7069
|
width: 100%;
|
|
7070
7070
|
gap: 4px;
|
|
7071
7071
|
justify-content: space-between;
|
|
7072
|
-
`,
|
|
7072
|
+
`, _b = T(Re)`
|
|
7073
7073
|
width: 127px;
|
|
7074
7074
|
height: 28px;
|
|
7075
7075
|
gap: 8px;
|
|
@@ -7083,45 +7083,45 @@ const a5 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
7083
7083
|
box-shadow: none;
|
|
7084
7084
|
background-color: #e3dfff;
|
|
7085
7085
|
}
|
|
7086
|
-
`,
|
|
7086
|
+
`, Ab = T(Qe.Close)`
|
|
7087
7087
|
height: 20px;
|
|
7088
7088
|
width: 20px;
|
|
7089
7089
|
cursor: pointer;
|
|
7090
|
-
`,
|
|
7090
|
+
`, Tb = T(Qe.CalendarTodayOutlinedIcon)`
|
|
7091
7091
|
height: 16px;
|
|
7092
7092
|
width: 16px;
|
|
7093
|
-
`,
|
|
7093
|
+
`, Sb = T(K)`
|
|
7094
7094
|
color: ${V.palette.gray.black};
|
|
7095
|
-
`,
|
|
7095
|
+
`, Lb = T(K)`
|
|
7096
7096
|
color: ${V.palette.gray.gray2};
|
|
7097
|
-
`,
|
|
7098
|
-
const { availableFeatures: e, sendTrackingEvent: t, isAdmin: n } = Fe(Ke), [r, o] = B(() => !(localStorage.getItem(ka) === "true") && mt(e,
|
|
7097
|
+
`, Ob = () => {
|
|
7098
|
+
const { availableFeatures: e, sendTrackingEvent: t, isAdmin: n } = Fe(Ke), [r, o] = B(() => !(localStorage.getItem(ka) === "true") && mt(e, N5));
|
|
7099
7099
|
se(() => {
|
|
7100
7100
|
localStorage.getItem(ka) === "true" && o(!1);
|
|
7101
7101
|
}, []);
|
|
7102
7102
|
const i = () => {
|
|
7103
|
-
localStorage.setItem(ka, "true"), o(!1), t(
|
|
7103
|
+
localStorage.setItem(ka, "true"), o(!1), t(c5, {
|
|
7104
7104
|
source: cd
|
|
7105
7105
|
});
|
|
7106
7106
|
}, s = () => {
|
|
7107
|
-
window.open(
|
|
7107
|
+
window.open(Eb, "_blank"), t(a5, {
|
|
7108
7108
|
source: cd
|
|
7109
7109
|
});
|
|
7110
7110
|
};
|
|
7111
|
-
return !r || !n ? null : /* @__PURE__ */ l.jsxs(
|
|
7112
|
-
/* @__PURE__ */ l.jsxs(
|
|
7111
|
+
return !r || !n ? null : /* @__PURE__ */ l.jsxs(wb, { justifyContent: "space-between", alignItems: "baseline", gap: "16px", children: [
|
|
7112
|
+
/* @__PURE__ */ l.jsxs(Ib, { gap: "4px", children: [
|
|
7113
7113
|
/* @__PURE__ */ l.jsxs(N, { direction: "row", justifyContent: "space-between", children: [
|
|
7114
|
-
/* @__PURE__ */ l.jsx(
|
|
7115
|
-
/* @__PURE__ */ l.jsx(N, { onClick: i, position: "absolute", top: "4px", right: "4px", children: /* @__PURE__ */ l.jsx(Ce, { title: "Close", placement: "bottom", children: /* @__PURE__ */ l.jsx(it, { children: /* @__PURE__ */ l.jsx(
|
|
7114
|
+
/* @__PURE__ */ l.jsx(Sb, { variant: "body1_medium", children: vb }),
|
|
7115
|
+
/* @__PURE__ */ l.jsx(N, { onClick: i, position: "absolute", top: "4px", right: "4px", children: /* @__PURE__ */ l.jsx(Ce, { title: "Close", placement: "bottom", children: /* @__PURE__ */ l.jsx(it, { children: /* @__PURE__ */ l.jsx(Ab, {}) }) }) })
|
|
7116
7116
|
] }),
|
|
7117
|
-
/* @__PURE__ */ l.jsx(
|
|
7117
|
+
/* @__PURE__ */ l.jsx(Lb, { variant: "body2", children: yb })
|
|
7118
7118
|
] }),
|
|
7119
|
-
/* @__PURE__ */ l.jsx(N, { onClick: s, direction: "row", alignItems: "center", children: /* @__PURE__ */ l.jsxs(
|
|
7120
|
-
/* @__PURE__ */ l.jsx(
|
|
7121
|
-
|
|
7119
|
+
/* @__PURE__ */ l.jsx(N, { onClick: s, direction: "row", alignItems: "center", children: /* @__PURE__ */ l.jsxs(_b, { variant: "outlined", size: "small", children: [
|
|
7120
|
+
/* @__PURE__ */ l.jsx(Tb, {}),
|
|
7121
|
+
Cb
|
|
7122
7122
|
] }) })
|
|
7123
7123
|
] });
|
|
7124
|
-
}, R5 = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%200%2020%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_4649_80352'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='20'%20height='21'%3e%3crect%20y='0.320312'%20width='20'%20height='20'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4649_80352)'%3e%3cpath%20d='M9.16797%2014.4873H10.8346V11.154H14.168V9.4873H10.8346V6.15397H9.16797V9.4873H5.83464V11.154H9.16797V14.4873ZM10.0013%2018.654C8.84852%2018.654%207.76519%2018.4352%206.7513%2017.9977C5.73741%2017.5602%204.85547%2016.9665%204.10547%2016.2165C3.35547%2015.4665%202.76172%2014.5845%202.32422%2013.5706C1.88672%2012.5567%201.66797%2011.4734%201.66797%2010.3206C1.66797%209.16786%201.88672%208.08453%202.32422%207.07064C2.76172%206.05675%203.35547%205.1748%204.10547%204.4248C4.85547%203.6748%205.73741%203.08105%206.7513%202.64355C7.76519%202.20605%208.84852%201.9873%2010.0013%201.9873C11.1541%201.9873%2012.2374%202.20605%2013.2513%202.64355C14.2652%203.08105%2015.1471%203.6748%2015.8971%204.4248C16.6471%205.1748%2017.2409%206.05675%2017.6784%207.07064C18.1159%208.08453%2018.3346%209.16786%2018.3346%2010.3206C18.3346%2011.4734%2018.1159%2012.5567%2017.6784%2013.5706C17.2409%2014.5845%2016.6471%2015.4665%2015.8971%2016.2165C15.1471%2016.9665%2014.2652%2017.5602%2013.2513%2017.9977C12.2374%2018.4352%2011.1541%2018.654%2010.0013%2018.654ZM10.0013%2016.9873C11.8624%2016.9873%2013.4388%2016.3415%2014.7305%2015.0498C16.0221%2013.7581%2016.668%2012.1817%2016.668%2010.3206C16.668%208.45953%2016.0221%206.88314%2014.7305%205.59147C13.4388%204.2998%2011.8624%203.65397%2010.0013%203.65397C8.14019%203.65397%206.5638%204.2998%205.27214%205.59147C3.98047%206.88314%203.33464%208.45953%203.33464%2010.3206C3.33464%2012.1817%203.98047%2013.7581%205.27214%2015.0498C6.5638%2016.3415%208.14019%2016.9873%2010.0013%2016.9873Z'%20fill='%234D596C'/%3e%3c/g%3e%3c/svg%3e", Of = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("path", { d: "M15.505 1.84634C15.1241 1.46545 14.6074 1.25146 14.0688 1.25146C13.5301 1.25146 13.0134 1.46545 12.6325 1.84634L10.6244 3.85447C10.6108 3.3249 10.391 2.82156 10.0116 2.45179C9.63228 2.08203 9.12349 1.87508 8.59375 1.87509H3.90625C3.36753 1.87509 2.85087 2.0891 2.46994 2.47003C2.08901 2.85097 1.875 3.36762 1.875 3.90634V16.0938C1.875 16.6326 2.08901 17.1492 2.46994 17.5302C2.85087 17.9111 3.36753 18.1251 3.90625 18.1251H16.0938C16.6325 18.1251 17.1491 17.9111 17.5301 17.5302C17.911 17.1492 18.125 16.6326 18.125 16.0938V11.4063C18.125 10.8775 17.9189 10.3696 17.5503 9.99039C17.1817 9.6112 16.6798 9.39069 16.1512 9.37572L18.1569 7.37072C18.5378 6.98979 18.7518 6.47316 18.7518 5.93447C18.7518 5.39578 18.5378 4.87915 18.1569 4.49822L15.505 1.84634ZM11.985 9.37509H10.625V8.01509L11.985 9.37509ZM13.5162 2.73009C13.5888 2.65753 13.6749 2.59996 13.7697 2.56069C13.8645 2.52141 13.9661 2.5012 14.0688 2.5012C14.1714 2.5012 14.273 2.52141 14.3678 2.56069C14.4626 2.59996 14.5487 2.65753 14.6212 2.73009L17.2725 5.38197C17.3451 5.45452 17.4026 5.54065 17.4419 5.63545C17.4812 5.73025 17.5014 5.83186 17.5014 5.93447C17.5014 6.03708 17.4812 6.13869 17.4419 6.23349C17.4026 6.32829 17.3451 6.41442 17.2725 6.48697L14.6212 9.13822C14.5487 9.21079 14.4626 9.26835 14.3678 9.30763C14.273 9.3469 14.1714 9.36711 14.0688 9.36711C13.9661 9.36711 13.8645 9.3469 13.7697 9.30763C13.6749 9.26835 13.5888 9.21079 13.5162 9.13822L10.8644 6.48697C10.7918 6.41442 10.7342 6.32829 10.695 6.23349C10.6557 6.13869 10.6355 6.03708 10.6355 5.93447C10.6355 5.83186 10.6557 5.73025 10.695 5.63545C10.7342 5.54065 10.7918 5.45452 10.8644 5.38197L13.5162 2.73009ZM9.375 3.90634V9.37509H3.125V3.90634C3.125 3.47509 3.475 3.12509 3.90625 3.12509H8.59375C9.025 3.12509 9.375 3.47509 9.375 3.90634ZM3.125 16.0938V10.6251H9.375V16.8751H3.90625C3.475 16.8751 3.125 16.5251 3.125 16.0938ZM10.625 10.6251H16.0938C16.525 10.6251 16.875 10.9751 16.875 11.4063V16.0938C16.875 16.5251 16.525 16.8751 16.0938 16.8751H10.625V10.6251Z", fill: "#3E4C5A" }), /* @__PURE__ */ A.createElement("rect", { x: 10.877, y: 5.90918, width: 4.54545, height: 4.54545, rx: 1, transform: "rotate(-45 10.877 5.90918)", fill: "#FFE250" }), /* @__PURE__ */ A.createElement("path", { d: "M3.77344 12.2727C3.77344 11.7204 4.22115 11.2727 4.77344 11.2727H7.77344C8.32572 11.2727 8.77344 11.7204 8.77344 12.2727V15.2727C8.77344 15.825 8.32572 16.2727 7.77344 16.2727H4.77344C4.22115 16.2727 3.77344 15.825 3.77344 15.2727L3.77344 12.2727Z", fill: "#FFE250" })), F5 = "data:image/svg+xml,%3csvg%20width='21'%20height='21'%20viewBox='0%200%2021%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1012_80924)'%3e%3cpath%20d='M9.66663%2015.1202H11.3333V13.4535H9.66663V15.1202ZM10.5%201.78687C5.89996%201.78687%202.16663%205.5202%202.16663%2010.1202C2.16663%2014.7202%205.89996%2018.4535%2010.5%2018.4535C15.1%2018.4535%2018.8333%2014.7202%2018.8333%2010.1202C18.8333%205.5202%2015.1%201.78687%2010.5%201.78687ZM10.5%2016.7869C6.82496%2016.7869%203.83329%2013.7952%203.83329%2010.1202C3.83329%206.4452%206.82496%203.45353%2010.5%203.45353C14.175%203.45353%2017.1666%206.4452%2017.1666%2010.1202C17.1666%2013.7952%2014.175%2016.7869%2010.5%2016.7869ZM10.5%205.1202C8.65829%205.1202%207.16663%206.61187%207.16663%208.45353H8.83329C8.83329%207.53687%209.58329%206.78687%2010.5%206.78687C11.4166%206.78687%2012.1666%207.53687%2012.1666%208.45353C12.1666%2010.1202%209.66663%209.91187%209.66663%2012.6202H11.3333C11.3333%2010.7452%2013.8333%2010.5369%2013.8333%208.45353C13.8333%206.61187%2012.3416%205.1202%2010.5%205.1202Z'%20fill='%234D596C'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1012_80924'%3e%3crect%20width='20'%20height='20'%20fill='white'%20transform='translate(0.5%200.120117)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", D5 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("g", { clipPath: "url(#clip0_1329_1727)" }, /* @__PURE__ */ A.createElement("path", { d: "M15 1.5H3C2.175 1.5 1.5 2.175 1.5 3V16.5L4.5 13.5H15C15.825 13.5 16.5 12.825 16.5 12V3C16.5 2.175 15.825 1.5 15 1.5ZM15 12H4.5L3 13.5V3H15V12ZM5.25 6.75H6.75V8.25H5.25V6.75ZM8.25 6.75H9.75V8.25H8.25V6.75ZM11.25 6.75H12.75V8.25H11.25V6.75Z", fill: "#6F7C90" })), /* @__PURE__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("clipPath", { id: "clip0_1329_1727" }, /* @__PURE__ */ A.createElement("rect", { width: 18, height: 18, fill: "white" })))), k5 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("g", { clipPath: "url(#clip0_1329_1720)" }, /* @__PURE__ */ A.createElement("path", { d: "M16.5 6.93L11.1075 6.465L9 1.5L6.8925 6.4725L1.5 6.93L5.595 10.4775L4.365 15.75L9 12.9525L13.635 15.75L12.4125 10.4775L16.5 6.93ZM9 11.55L6.18 13.2525L6.93 10.0425L4.44 7.8825L7.725 7.5975L9 4.575L10.2825 7.605L13.5675 7.89L11.0775 10.05L11.8275 13.26L9 11.55Z", fill: "#6F7C90" })), /* @__PURE__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("clipPath", { id: "clip0_1329_1720" }, /* @__PURE__ */ A.createElement("rect", { width: 18, height: 18, fill: "white" })))), N5 = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%200%2020%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.3462%208.73757C14.0406%208.43198%2013.5451%208.43198%2013.2395%208.73757C12.9339%209.04316%2012.9339%209.53863%2013.2395%209.84422L14.3462%208.73757ZM15.2392%2010.7372L15.7925%2010.1839L15.2392%2010.7372ZM16.2377%2013.1478L15.4552%2013.1478L16.2377%2013.1478ZM15.2392%2015.5584L14.6859%2015.0051L15.2392%2015.5584ZM10.418%2015.5584L9.86469%2016.1118L10.418%2015.5584ZM9.52499%2013.5588C9.2194%2013.2532%208.72393%2013.2532%208.41834%2013.5588C8.11275%2013.8643%208.11275%2014.3598%208.41834%2014.6654L9.52499%2013.5588ZM5.52477%2011.7731C5.83036%2012.0787%206.32583%2012.0787%206.63142%2011.7731C6.93701%2011.4675%206.93701%2010.972%206.63142%2010.6665L5.52477%2011.7731ZM9.45292%204.95224L10.0062%204.39892L9.45292%204.95224ZM10.346%206.95192C10.6515%207.25752%2011.147%207.25752%2011.4526%206.95192C11.7582%206.64633%2011.7582%206.15087%2011.4526%205.84527L10.346%206.95192ZM13.2395%209.84422L14.6859%2011.2906L15.7925%2010.1839L14.3462%208.73757L13.2395%209.84422ZM14.6859%2011.2906C15.1785%2011.7832%2015.4552%2012.4512%2015.4552%2013.1478L17.0202%2013.1478C17.0202%2012.0362%2016.5786%2010.97%2015.7925%2010.1839L14.6859%2011.2906ZM15.4552%2013.1478C15.4552%2013.8445%2015.1785%2014.5125%2014.6859%2015.0051L15.7925%2016.1118C16.5786%2015.3257%2017.0202%2014.2595%2017.0202%2013.1478L15.4552%2013.1478ZM14.6859%2015.0051C13.6601%2016.0308%2011.9971%2016.0308%2010.9713%2015.0051L9.86469%2016.1118C11.5016%2017.7487%2014.1556%2017.7487%2015.7925%2016.1118L14.6859%2015.0051ZM10.9713%2015.0051L9.52499%2013.5588L8.41834%2014.6654L9.86469%2016.1118L10.9713%2015.0051ZM6.63142%2010.6665L5.18507%209.2201L4.07842%2010.3268L5.52477%2011.7731L6.63142%2010.6665ZM5.18507%209.2201C4.69249%208.72752%204.41576%208.05944%204.41576%207.36283H2.85072C2.85072%208.47452%203.29234%209.54067%204.07842%2010.3268L5.18507%209.2201ZM4.41576%207.36283C4.41576%206.66622%204.69249%205.99815%205.18507%205.50557L4.07842%204.39892C3.29234%205.185%202.85072%206.25115%202.85072%207.36283H4.41576ZM5.18507%205.50557C6.21081%204.47983%207.87386%204.47983%208.8996%205.50557L10.0062%204.39892C8.36932%202.76199%205.71534%202.76199%204.07842%204.39892L5.18507%205.50557ZM8.8996%205.50557L10.346%206.95192L11.4526%205.84527L10.0062%204.39892L8.8996%205.50557Z'%20fill='%234D596C'/%3e%3crect%20x='6.36328'%20y='7.91895'%20width='1.66667'%20height='8.33333'%20rx='0.833333'%20transform='rotate(-45%206.36328%207.91895)'%20fill='%234D596C'/%3e%3c/svg%3e", Rf = () => {
|
|
7124
|
+
}, Rb = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%200%2020%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_4649_80352'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='20'%20height='21'%3e%3crect%20y='0.320312'%20width='20'%20height='20'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4649_80352)'%3e%3cpath%20d='M9.16797%2014.4873H10.8346V11.154H14.168V9.4873H10.8346V6.15397H9.16797V9.4873H5.83464V11.154H9.16797V14.4873ZM10.0013%2018.654C8.84852%2018.654%207.76519%2018.4352%206.7513%2017.9977C5.73741%2017.5602%204.85547%2016.9665%204.10547%2016.2165C3.35547%2015.4665%202.76172%2014.5845%202.32422%2013.5706C1.88672%2012.5567%201.66797%2011.4734%201.66797%2010.3206C1.66797%209.16786%201.88672%208.08453%202.32422%207.07064C2.76172%206.05675%203.35547%205.1748%204.10547%204.4248C4.85547%203.6748%205.73741%203.08105%206.7513%202.64355C7.76519%202.20605%208.84852%201.9873%2010.0013%201.9873C11.1541%201.9873%2012.2374%202.20605%2013.2513%202.64355C14.2652%203.08105%2015.1471%203.6748%2015.8971%204.4248C16.6471%205.1748%2017.2409%206.05675%2017.6784%207.07064C18.1159%208.08453%2018.3346%209.16786%2018.3346%2010.3206C18.3346%2011.4734%2018.1159%2012.5567%2017.6784%2013.5706C17.2409%2014.5845%2016.6471%2015.4665%2015.8971%2016.2165C15.1471%2016.9665%2014.2652%2017.5602%2013.2513%2017.9977C12.2374%2018.4352%2011.1541%2018.654%2010.0013%2018.654ZM10.0013%2016.9873C11.8624%2016.9873%2013.4388%2016.3415%2014.7305%2015.0498C16.0221%2013.7581%2016.668%2012.1817%2016.668%2010.3206C16.668%208.45953%2016.0221%206.88314%2014.7305%205.59147C13.4388%204.2998%2011.8624%203.65397%2010.0013%203.65397C8.14019%203.65397%206.5638%204.2998%205.27214%205.59147C3.98047%206.88314%203.33464%208.45953%203.33464%2010.3206C3.33464%2012.1817%203.98047%2013.7581%205.27214%2015.0498C6.5638%2016.3415%208.14019%2016.9873%2010.0013%2016.9873Z'%20fill='%234D596C'/%3e%3c/g%3e%3c/svg%3e", Of = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("path", { d: "M15.505 1.84634C15.1241 1.46545 14.6074 1.25146 14.0688 1.25146C13.5301 1.25146 13.0134 1.46545 12.6325 1.84634L10.6244 3.85447C10.6108 3.3249 10.391 2.82156 10.0116 2.45179C9.63228 2.08203 9.12349 1.87508 8.59375 1.87509H3.90625C3.36753 1.87509 2.85087 2.0891 2.46994 2.47003C2.08901 2.85097 1.875 3.36762 1.875 3.90634V16.0938C1.875 16.6326 2.08901 17.1492 2.46994 17.5302C2.85087 17.9111 3.36753 18.1251 3.90625 18.1251H16.0938C16.6325 18.1251 17.1491 17.9111 17.5301 17.5302C17.911 17.1492 18.125 16.6326 18.125 16.0938V11.4063C18.125 10.8775 17.9189 10.3696 17.5503 9.99039C17.1817 9.6112 16.6798 9.39069 16.1512 9.37572L18.1569 7.37072C18.5378 6.98979 18.7518 6.47316 18.7518 5.93447C18.7518 5.39578 18.5378 4.87915 18.1569 4.49822L15.505 1.84634ZM11.985 9.37509H10.625V8.01509L11.985 9.37509ZM13.5162 2.73009C13.5888 2.65753 13.6749 2.59996 13.7697 2.56069C13.8645 2.52141 13.9661 2.5012 14.0688 2.5012C14.1714 2.5012 14.273 2.52141 14.3678 2.56069C14.4626 2.59996 14.5487 2.65753 14.6212 2.73009L17.2725 5.38197C17.3451 5.45452 17.4026 5.54065 17.4419 5.63545C17.4812 5.73025 17.5014 5.83186 17.5014 5.93447C17.5014 6.03708 17.4812 6.13869 17.4419 6.23349C17.4026 6.32829 17.3451 6.41442 17.2725 6.48697L14.6212 9.13822C14.5487 9.21079 14.4626 9.26835 14.3678 9.30763C14.273 9.3469 14.1714 9.36711 14.0688 9.36711C13.9661 9.36711 13.8645 9.3469 13.7697 9.30763C13.6749 9.26835 13.5888 9.21079 13.5162 9.13822L10.8644 6.48697C10.7918 6.41442 10.7342 6.32829 10.695 6.23349C10.6557 6.13869 10.6355 6.03708 10.6355 5.93447C10.6355 5.83186 10.6557 5.73025 10.695 5.63545C10.7342 5.54065 10.7918 5.45452 10.8644 5.38197L13.5162 2.73009ZM9.375 3.90634V9.37509H3.125V3.90634C3.125 3.47509 3.475 3.12509 3.90625 3.12509H8.59375C9.025 3.12509 9.375 3.47509 9.375 3.90634ZM3.125 16.0938V10.6251H9.375V16.8751H3.90625C3.475 16.8751 3.125 16.5251 3.125 16.0938ZM10.625 10.6251H16.0938C16.525 10.6251 16.875 10.9751 16.875 11.4063V16.0938C16.875 16.5251 16.525 16.8751 16.0938 16.8751H10.625V10.6251Z", fill: "#3E4C5A" }), /* @__PURE__ */ A.createElement("rect", { x: 10.877, y: 5.90918, width: 4.54545, height: 4.54545, rx: 1, transform: "rotate(-45 10.877 5.90918)", fill: "#FFE250" }), /* @__PURE__ */ A.createElement("path", { d: "M3.77344 12.2727C3.77344 11.7204 4.22115 11.2727 4.77344 11.2727H7.77344C8.32572 11.2727 8.77344 11.7204 8.77344 12.2727V15.2727C8.77344 15.825 8.32572 16.2727 7.77344 16.2727H4.77344C4.22115 16.2727 3.77344 15.825 3.77344 15.2727L3.77344 12.2727Z", fill: "#FFE250" })), Fb = "data:image/svg+xml,%3csvg%20width='21'%20height='21'%20viewBox='0%200%2021%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1012_80924)'%3e%3cpath%20d='M9.66663%2015.1202H11.3333V13.4535H9.66663V15.1202ZM10.5%201.78687C5.89996%201.78687%202.16663%205.5202%202.16663%2010.1202C2.16663%2014.7202%205.89996%2018.4535%2010.5%2018.4535C15.1%2018.4535%2018.8333%2014.7202%2018.8333%2010.1202C18.8333%205.5202%2015.1%201.78687%2010.5%201.78687ZM10.5%2016.7869C6.82496%2016.7869%203.83329%2013.7952%203.83329%2010.1202C3.83329%206.4452%206.82496%203.45353%2010.5%203.45353C14.175%203.45353%2017.1666%206.4452%2017.1666%2010.1202C17.1666%2013.7952%2014.175%2016.7869%2010.5%2016.7869ZM10.5%205.1202C8.65829%205.1202%207.16663%206.61187%207.16663%208.45353H8.83329C8.83329%207.53687%209.58329%206.78687%2010.5%206.78687C11.4166%206.78687%2012.1666%207.53687%2012.1666%208.45353C12.1666%2010.1202%209.66663%209.91187%209.66663%2012.6202H11.3333C11.3333%2010.7452%2013.8333%2010.5369%2013.8333%208.45353C13.8333%206.61187%2012.3416%205.1202%2010.5%205.1202Z'%20fill='%234D596C'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1012_80924'%3e%3crect%20width='20'%20height='20'%20fill='white'%20transform='translate(0.5%200.120117)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Db = (e) => /* @__PURE__ */ A.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("g", { clipPath: "url(#clip0_1329_1727)" }, /* @__PURE__ */ A.createElement("path", { d: "M15 1.5H3C2.175 1.5 1.5 2.175 1.5 3V16.5L4.5 13.5H15C15.825 13.5 16.5 12.825 16.5 12V3C16.5 2.175 15.825 1.5 15 1.5ZM15 12H4.5L3 13.5V3H15V12ZM5.25 6.75H6.75V8.25H5.25V6.75ZM8.25 6.75H9.75V8.25H8.25V6.75ZM11.25 6.75H12.75V8.25H11.25V6.75Z", fill: "#6F7C90" })), /* @__PURE__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("clipPath", { id: "clip0_1329_1727" }, /* @__PURE__ */ A.createElement("rect", { width: 18, height: 18, fill: "white" })))), kb = (e) => /* @__PURE__ */ A.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ A.createElement("g", { clipPath: "url(#clip0_1329_1720)" }, /* @__PURE__ */ A.createElement("path", { d: "M16.5 6.93L11.1075 6.465L9 1.5L6.8925 6.4725L1.5 6.93L5.595 10.4775L4.365 15.75L9 12.9525L13.635 15.75L12.4125 10.4775L16.5 6.93ZM9 11.55L6.18 13.2525L6.93 10.0425L4.44 7.8825L7.725 7.5975L9 4.575L10.2825 7.605L13.5675 7.89L11.0775 10.05L11.8275 13.26L9 11.55Z", fill: "#6F7C90" })), /* @__PURE__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("clipPath", { id: "clip0_1329_1720" }, /* @__PURE__ */ A.createElement("rect", { width: 18, height: 18, fill: "white" })))), Nb = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%200%2020%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.3462%208.73757C14.0406%208.43198%2013.5451%208.43198%2013.2395%208.73757C12.9339%209.04316%2012.9339%209.53863%2013.2395%209.84422L14.3462%208.73757ZM15.2392%2010.7372L15.7925%2010.1839L15.2392%2010.7372ZM16.2377%2013.1478L15.4552%2013.1478L16.2377%2013.1478ZM15.2392%2015.5584L14.6859%2015.0051L15.2392%2015.5584ZM10.418%2015.5584L9.86469%2016.1118L10.418%2015.5584ZM9.52499%2013.5588C9.2194%2013.2532%208.72393%2013.2532%208.41834%2013.5588C8.11275%2013.8643%208.11275%2014.3598%208.41834%2014.6654L9.52499%2013.5588ZM5.52477%2011.7731C5.83036%2012.0787%206.32583%2012.0787%206.63142%2011.7731C6.93701%2011.4675%206.93701%2010.972%206.63142%2010.6665L5.52477%2011.7731ZM9.45292%204.95224L10.0062%204.39892L9.45292%204.95224ZM10.346%206.95192C10.6515%207.25752%2011.147%207.25752%2011.4526%206.95192C11.7582%206.64633%2011.7582%206.15087%2011.4526%205.84527L10.346%206.95192ZM13.2395%209.84422L14.6859%2011.2906L15.7925%2010.1839L14.3462%208.73757L13.2395%209.84422ZM14.6859%2011.2906C15.1785%2011.7832%2015.4552%2012.4512%2015.4552%2013.1478L17.0202%2013.1478C17.0202%2012.0362%2016.5786%2010.97%2015.7925%2010.1839L14.6859%2011.2906ZM15.4552%2013.1478C15.4552%2013.8445%2015.1785%2014.5125%2014.6859%2015.0051L15.7925%2016.1118C16.5786%2015.3257%2017.0202%2014.2595%2017.0202%2013.1478L15.4552%2013.1478ZM14.6859%2015.0051C13.6601%2016.0308%2011.9971%2016.0308%2010.9713%2015.0051L9.86469%2016.1118C11.5016%2017.7487%2014.1556%2017.7487%2015.7925%2016.1118L14.6859%2015.0051ZM10.9713%2015.0051L9.52499%2013.5588L8.41834%2014.6654L9.86469%2016.1118L10.9713%2015.0051ZM6.63142%2010.6665L5.18507%209.2201L4.07842%2010.3268L5.52477%2011.7731L6.63142%2010.6665ZM5.18507%209.2201C4.69249%208.72752%204.41576%208.05944%204.41576%207.36283H2.85072C2.85072%208.47452%203.29234%209.54067%204.07842%2010.3268L5.18507%209.2201ZM4.41576%207.36283C4.41576%206.66622%204.69249%205.99815%205.18507%205.50557L4.07842%204.39892C3.29234%205.185%202.85072%206.25115%202.85072%207.36283H4.41576ZM5.18507%205.50557C6.21081%204.47983%207.87386%204.47983%208.8996%205.50557L10.0062%204.39892C8.36932%202.76199%205.71534%202.76199%204.07842%204.39892L5.18507%205.50557ZM8.8996%205.50557L10.346%206.95192L11.4526%205.84527L10.0062%204.39892L8.8996%205.50557Z'%20fill='%234D596C'/%3e%3crect%20x='6.36328'%20y='7.91895'%20width='1.66667'%20height='8.33333'%20rx='0.833333'%20transform='rotate(-45%206.36328%207.91895)'%20fill='%234D596C'/%3e%3c/svg%3e", Rf = () => {
|
|
7125
7125
|
const { connectorId: e, store: t } = Fe(Ke), [n, r] = B(!e), [o, i] = B("");
|
|
7126
7126
|
return se(() => {
|
|
7127
7127
|
if (t && e) {
|
|
@@ -7132,10 +7132,10 @@ const a5 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
7132
7132
|
} else
|
|
7133
7133
|
r(!0);
|
|
7134
7134
|
}, [t, e]), { connectorId: e, connectorName: o, isReady: n };
|
|
7135
|
-
},
|
|
7135
|
+
}, Pb = ({ options: e, anchor: t, open: n, onClose: r }) => /* @__PURE__ */ l.jsx(H2, { id: "help-dropdown", open: n, onClose: r, anchorEl: t, children: e.map((o) => /* @__PURE__ */ l.jsxs(lo, { onClick: o.onClick, children: [
|
|
7136
7136
|
/* @__PURE__ */ l.jsx(W2, { children: o.icon }),
|
|
7137
7137
|
o.label
|
|
7138
|
-
] }, o.id)) }), Ff = "connector-header-stuck",
|
|
7138
|
+
] }, o.id)) }), Ff = "connector-header-stuck", jb = T(N)`
|
|
7139
7139
|
position: sticky;
|
|
7140
7140
|
top: 0;
|
|
7141
7141
|
box-sizing: content-box !important;
|
|
@@ -7152,7 +7152,7 @@ const a5 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
7152
7152
|
&.${Ff} {
|
|
7153
7153
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
7154
7154
|
}
|
|
7155
|
-
`,
|
|
7155
|
+
`, Mb = T(N)`
|
|
7156
7156
|
width: 0;
|
|
7157
7157
|
height: 0;
|
|
7158
7158
|
`, Na = {
|
|
@@ -7179,7 +7179,7 @@ const a5 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
7179
7179
|
}
|
|
7180
7180
|
display: flex;
|
|
7181
7181
|
flex-direction: column;
|
|
7182
|
-
`,
|
|
7182
|
+
`, Bb = T(Q)`
|
|
7183
7183
|
flex-grow: 1;
|
|
7184
7184
|
overflow-y: auto;
|
|
7185
7185
|
overflow-x: hidden;
|
|
@@ -7190,12 +7190,12 @@ T(Q)`
|
|
|
7190
7190
|
width: inherit;
|
|
7191
7191
|
height: inherit;
|
|
7192
7192
|
`;
|
|
7193
|
-
const
|
|
7193
|
+
const Vb = T(Q)`
|
|
7194
7194
|
margin-top: 12px;
|
|
7195
7195
|
border: 1px solid ${V.palette.gray.gray5};
|
|
7196
7196
|
border-radius: 8px;
|
|
7197
7197
|
width: 100%;
|
|
7198
|
-
`,
|
|
7198
|
+
`, Gb = T(N)`
|
|
7199
7199
|
align-items: center;
|
|
7200
7200
|
padding: 11px;
|
|
7201
7201
|
width: 100%;
|
|
@@ -7210,7 +7210,7 @@ const V5 = T(Q)`
|
|
|
7210
7210
|
`, Nf = T(N)`
|
|
7211
7211
|
flex-direction: row;
|
|
7212
7212
|
align-items: stretch;
|
|
7213
|
-
`,
|
|
7213
|
+
`, Hb = T(N)`
|
|
7214
7214
|
flex-direction: row;
|
|
7215
7215
|
flex-grow: 1;
|
|
7216
7216
|
align-items: center;
|
|
@@ -7221,14 +7221,14 @@ const V5 = T(Q)`
|
|
|
7221
7221
|
height: 16px;
|
|
7222
7222
|
flex-shrink: 0;
|
|
7223
7223
|
}
|
|
7224
|
-
`,
|
|
7224
|
+
`, Wb = T(K)`
|
|
7225
7225
|
max-width: 150px;
|
|
7226
7226
|
min-width: 0;
|
|
7227
7227
|
letter-spacing: 0.5px;
|
|
7228
7228
|
text-overflow: ellipsis;
|
|
7229
7229
|
white-space: nowrap;
|
|
7230
7230
|
overflow: hidden;
|
|
7231
|
-
`,
|
|
7231
|
+
`, Zb = T(Q)`
|
|
7232
7232
|
box-sizing: border-box;
|
|
7233
7233
|
overflow-y: hidden;
|
|
7234
7234
|
height: ${(e) => e.height ? `${e.height}px` : "0px"};
|
|
@@ -7237,20 +7237,20 @@ const V5 = T(Q)`
|
|
|
7237
7237
|
&.slideUp {
|
|
7238
7238
|
height: 0;
|
|
7239
7239
|
}
|
|
7240
|
-
`,
|
|
7240
|
+
`, Ub = T(K)`
|
|
7241
7241
|
text-transform: uppercase;
|
|
7242
7242
|
color: ${V.palette.gray.gray3};
|
|
7243
7243
|
`, Pf = T(K)`
|
|
7244
7244
|
color: ${V.palette.gray.gray4};
|
|
7245
7245
|
overflow: hidden;
|
|
7246
7246
|
word-break: break-word;
|
|
7247
|
-
`,
|
|
7247
|
+
`, zb = T(Fi)`
|
|
7248
7248
|
color: ${V.palette.blue.primary};
|
|
7249
7249
|
display: inline;
|
|
7250
7250
|
whitespace: nowrap;
|
|
7251
7251
|
cursor: pointer;
|
|
7252
7252
|
text-decoration: none;
|
|
7253
|
-
`, $
|
|
7253
|
+
`, $b = T(K)`
|
|
7254
7254
|
&.ellipsisClass {
|
|
7255
7255
|
text-overflow: ellipsis;
|
|
7256
7256
|
white-space: nowrap;
|
|
@@ -7264,7 +7264,7 @@ const V5 = T(Q)`
|
|
|
7264
7264
|
text-overflow: ellipsis;
|
|
7265
7265
|
-webkit-line-clamp: 3;
|
|
7266
7266
|
cursor: pointer;
|
|
7267
|
-
`,
|
|
7267
|
+
`, Xb = T(K)`
|
|
7268
7268
|
display: -webkit-box;
|
|
7269
7269
|
-webkit-box-orient: vertical;
|
|
7270
7270
|
overflow: hidden;
|
|
@@ -7339,7 +7339,7 @@ const V5 = T(Q)`
|
|
|
7339
7339
|
transform: rotate(360deg);
|
|
7340
7340
|
}
|
|
7341
7341
|
}
|
|
7342
|
-
`,
|
|
7342
|
+
`, Yb = T(N)`
|
|
7343
7343
|
flex-direction: row;
|
|
7344
7344
|
position: relative;
|
|
7345
7345
|
align-items: center;
|
|
@@ -7353,10 +7353,10 @@ const V5 = T(Q)`
|
|
|
7353
7353
|
opacity: ${(e) => e.isHovered ? 1 : 0};
|
|
7354
7354
|
transition: opacity ${(e) => e.isHovered ? "0.5s" : "0.1s"} ease-in;
|
|
7355
7355
|
}
|
|
7356
|
-
`,
|
|
7356
|
+
`, Jb = T(U2)`
|
|
7357
7357
|
background-color: ${V.palette.gray.white};
|
|
7358
7358
|
border-bottom: 1px solid ${V.palette.gray.gray5};
|
|
7359
|
-
`,
|
|
7359
|
+
`, qb = T(zs)`
|
|
7360
7360
|
height: 12px;
|
|
7361
7361
|
padding: 12px 16px;
|
|
7362
7362
|
border-top: 1px solid ${V.palette.gray.gray5};
|
|
@@ -7369,7 +7369,7 @@ const V5 = T(Q)`
|
|
|
7369
7369
|
&:nth-last-child(2) {
|
|
7370
7370
|
border-radius: 0px 5px 0px 0px;
|
|
7371
7371
|
}
|
|
7372
|
-
`,
|
|
7372
|
+
`, Kb = T(c1)`
|
|
7373
7373
|
.row-edit {
|
|
7374
7374
|
visibility: hidden;
|
|
7375
7375
|
}
|
|
@@ -7386,7 +7386,7 @@ const V5 = T(Q)`
|
|
|
7386
7386
|
border-radius: 0px 0px 5px 0px;
|
|
7387
7387
|
}
|
|
7388
7388
|
}
|
|
7389
|
-
`,
|
|
7389
|
+
`, Qb = T(zs)`
|
|
7390
7390
|
height: 32px;
|
|
7391
7391
|
padding: 8px 16px;
|
|
7392
7392
|
border-right: 1px solid ${V.palette.gray.gray5};
|
|
@@ -7506,7 +7506,7 @@ const V5 = T(Q)`
|
|
|
7506
7506
|
{
|
|
7507
7507
|
id: "rate-experience",
|
|
7508
7508
|
label: "Rate your experience",
|
|
7509
|
-
icon: /* @__PURE__ */ l.jsx(
|
|
7509
|
+
icon: /* @__PURE__ */ l.jsx(kb, {}),
|
|
7510
7510
|
onClick: () => {
|
|
7511
7511
|
d(null);
|
|
7512
7512
|
const S = Zc({
|
|
@@ -7531,9 +7531,9 @@ const V5 = T(Q)`
|
|
|
7531
7531
|
{
|
|
7532
7532
|
id: "instant-chat",
|
|
7533
7533
|
label: "Instant chat with support",
|
|
7534
|
-
icon: /* @__PURE__ */ l.jsx(
|
|
7534
|
+
icon: /* @__PURE__ */ l.jsx(Db, {}),
|
|
7535
7535
|
onClick: () => {
|
|
7536
|
-
d(null), window.open(G4, "_blank"), f(
|
|
7536
|
+
d(null), window.open(G4, "_blank"), f(I5, {
|
|
7537
7537
|
sm_ids: g,
|
|
7538
7538
|
ug_id: v,
|
|
7539
7539
|
connector_names: e,
|
|
@@ -7558,16 +7558,16 @@ const V5 = T(Q)`
|
|
|
7558
7558
|
);
|
|
7559
7559
|
F.observe(S), c.current = F;
|
|
7560
7560
|
}, []), I = (S) => {
|
|
7561
|
-
f(
|
|
7561
|
+
f(w5, {
|
|
7562
7562
|
sm_ids: g,
|
|
7563
7563
|
ug_id: v,
|
|
7564
7564
|
connector_names: e
|
|
7565
7565
|
}), d(S.currentTarget);
|
|
7566
7566
|
};
|
|
7567
7567
|
return m ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
7568
|
-
/* @__PURE__ */ l.jsx(
|
|
7568
|
+
/* @__PURE__ */ l.jsx(Mb, { ref: _ }),
|
|
7569
7569
|
/* @__PURE__ */ l.jsx(
|
|
7570
|
-
|
|
7570
|
+
Pb,
|
|
7571
7571
|
{
|
|
7572
7572
|
options: w,
|
|
7573
7573
|
anchor: u,
|
|
@@ -7575,16 +7575,16 @@ const V5 = T(Q)`
|
|
|
7575
7575
|
onClose: () => d(null)
|
|
7576
7576
|
}
|
|
7577
7577
|
),
|
|
7578
|
-
/* @__PURE__ */ l.jsxs(
|
|
7578
|
+
/* @__PURE__ */ l.jsxs(jb, { ref: a, children: [
|
|
7579
7579
|
b && y ? /* @__PURE__ */ l.jsx(N, { direction: "row", alignItems: "center", gap: "8px", minHeight: "36px", children: /* @__PURE__ */ l.jsx(Ls, { variant: "body_sm_medium", children: b }) }) : /* @__PURE__ */ l.jsxs(N, { direction: "row", alignItems: "center", gap: "8px", children: [
|
|
7580
7580
|
C ? /* @__PURE__ */ l.jsx(Of, { width: "20px", height: "20px" }) : /* @__PURE__ */ l.jsx(Df, {}),
|
|
7581
7581
|
/* @__PURE__ */ l.jsx(Ls, { variant: "body_sm_medium", children: C ? Hl : Cf })
|
|
7582
7582
|
] }),
|
|
7583
7583
|
/* @__PURE__ */ l.jsxs(N, { direction: "row", children: [
|
|
7584
|
-
/* @__PURE__ */ l.jsx(Ce, { title: B4, placement: "bottom", children: /* @__PURE__ */ l.jsx(it, { onClick: I, id: "help-button", sx: Na, children: /* @__PURE__ */ l.jsx("img", { src:
|
|
7584
|
+
/* @__PURE__ */ l.jsx(Ce, { title: B4, placement: "bottom", children: /* @__PURE__ */ l.jsx(it, { onClick: I, id: "help-button", sx: Na, children: /* @__PURE__ */ l.jsx("img", { src: Fb, alt: "Help", height: "20px" }) }) }),
|
|
7585
7585
|
t && (o != null && o.length) ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
7586
|
-
r ? /* @__PURE__ */ l.jsx(Ce, { title: _f, placement: "bottom", children: /* @__PURE__ */ l.jsx(it, { onClick: s, sx: Na, children: /* @__PURE__ */ l.jsx("img", { src:
|
|
7587
|
-
n ? /* @__PURE__ */ l.jsx(Ce, { title: Zl, placement: "bottom", children: /* @__PURE__ */ l.jsx(it, { onClick: i, sx: Na, children: /* @__PURE__ */ l.jsx("img", { src:
|
|
7586
|
+
r ? /* @__PURE__ */ l.jsx(Ce, { title: _f, placement: "bottom", children: /* @__PURE__ */ l.jsx(it, { onClick: s, sx: Na, children: /* @__PURE__ */ l.jsx("img", { src: Nb, alt: "Link Task", height: "20px" }) }) }) : null,
|
|
7587
|
+
n ? /* @__PURE__ */ l.jsx(Ce, { title: Zl, placement: "bottom", children: /* @__PURE__ */ l.jsx(it, { onClick: i, sx: Na, children: /* @__PURE__ */ l.jsx("img", { src: Rb, alt: "Add", height: "20px" }) }) }) : null
|
|
7588
7588
|
] }) : null
|
|
7589
7589
|
] })
|
|
7590
7590
|
] })
|
|
@@ -18592,7 +18592,7 @@ Do you want to continue?`, Uw = "Select an object to create", zw = "Select an ob
|
|
|
18592
18592
|
};
|
|
18593
18593
|
}
|
|
18594
18594
|
}), x;
|
|
18595
|
-
}), [e, y]), p = (g, x) => /* @__PURE__ */ l.jsx(
|
|
18595
|
+
}), [e, y]), p = (g, x) => /* @__PURE__ */ l.jsx(Qb, { align: "left", children: g.deepLink ? /* @__PURE__ */ l.jsx(Fi, { target: "_blank", underline: "none", href: g.deepLink, children: g.label }) : /* @__PURE__ */ l.jsx(K, { variant: "body2", color: "gray.black", children: g.label }) }, `${x}_${g.label}`), f = (g) => {
|
|
18596
18596
|
!g || !n || (r(!1), i(bf, {
|
|
18597
18597
|
card_title: n.title,
|
|
18598
18598
|
connector_name: n.connectorName,
|
|
@@ -18603,11 +18603,11 @@ Do you want to continue?`, Uw = "Select an object to create", zw = "Select an ob
|
|
|
18603
18603
|
return /* @__PURE__ */ l.jsxs(N, { maxHeight: "340px", maxWidth: "700px", padding: "32px 0px 32px 32px", overflow: "auto", children: [
|
|
18604
18604
|
/* @__PURE__ */ l.jsx(K, { variant: "h2", color: "gray.black", marginBottom: "16px", children: t }),
|
|
18605
18605
|
/* @__PURE__ */ l.jsx(K2, { ref: u, children: /* @__PURE__ */ l.jsxs(Q2, { stickyHeader: !0, children: [
|
|
18606
|
-
/* @__PURE__ */ l.jsx(
|
|
18607
|
-
y.map((g) => /* @__PURE__ */ l.jsx(
|
|
18606
|
+
/* @__PURE__ */ l.jsx(Jb, { children: /* @__PURE__ */ l.jsxs(c1, { children: [
|
|
18607
|
+
y.map((g) => /* @__PURE__ */ l.jsx(qb, { sx: { whiteSpace: "nowrap" }, children: /* @__PURE__ */ l.jsx(K, { variant: "overline", color: "gray.gray3", children: g }) }, g)),
|
|
18608
18608
|
/* @__PURE__ */ l.jsx(t9, {})
|
|
18609
18609
|
] }) }),
|
|
18610
|
-
/* @__PURE__ */ l.jsx(eg, { children: m.map((g, x) => /* @__PURE__ */ l.jsxs(
|
|
18610
|
+
/* @__PURE__ */ l.jsx(eg, { children: m.map((g, x) => /* @__PURE__ */ l.jsxs(Kb, { children: [
|
|
18611
18611
|
Object.values(g.cells).map((v, E) => p(v, E)),
|
|
18612
18612
|
/* @__PURE__ */ l.jsx(e9, { children: !b && g.externalResourceId && /* @__PURE__ */ l.jsx(Ce, { title: If, placement: "bottom", children: /* @__PURE__ */ l.jsx(it, { className: "row-edit", onClick: () => f(g.externalResourceId), children: /* @__PURE__ */ l.jsx("img", { src: nI }) }) }) })
|
|
18613
18613
|
] }, `id_${x}`)) })
|
|
@@ -18682,7 +18682,7 @@ const y0 = (e) => {
|
|
|
18682
18682
|
return c ? Af.replace(/{{connector_name}}/g, (u == null ? void 0 : u[0]) || "") : od;
|
|
18683
18683
|
}, [n, c, u, y]), R = Ae(() => {
|
|
18684
18684
|
const Y = n || fI(I, u), { error_code: ne, error_message: oe } = v0(Y);
|
|
18685
|
-
C == null || C(
|
|
18685
|
+
C == null || C(p5, {
|
|
18686
18686
|
sm_ids: v,
|
|
18687
18687
|
frontend_req_params: {
|
|
18688
18688
|
email: x,
|
|
@@ -18718,9 +18718,9 @@ const y0 = (e) => {
|
|
|
18718
18718
|
let G = P ? as : t;
|
|
18719
18719
|
s === "date" && G && !P && (G = new Date(parseInt(G)).toLocaleDateString(navigator.language));
|
|
18720
18720
|
const W = !!n || c, J = () => {
|
|
18721
|
-
a ? w == null || w.redirectToAdmin() : window.open(
|
|
18721
|
+
a ? w == null || w.redirectToAdmin() : window.open(nb, "_blank");
|
|
18722
18722
|
}, z = () => {
|
|
18723
|
-
C == null || C(
|
|
18723
|
+
C == null || C(h5, {
|
|
18724
18724
|
sm_ids: v,
|
|
18725
18725
|
card_title: d,
|
|
18726
18726
|
field_name: m
|
|
@@ -18728,7 +18728,7 @@ const y0 = (e) => {
|
|
|
18728
18728
|
}, Z = (Y) => {
|
|
18729
18729
|
const ne = /<>(.*?)<>/g, oe = Y.split(ne);
|
|
18730
18730
|
return /* @__PURE__ */ l.jsx(ke.Fragment, { children: oe.map(
|
|
18731
|
-
(H, q) => q % 2 === 1 ? /* @__PURE__ */ l.jsx(
|
|
18731
|
+
(H, q) => q % 2 === 1 ? /* @__PURE__ */ l.jsx(zb, { variant: "body2", onClick: J, children: H }, q) : H
|
|
18732
18732
|
) });
|
|
18733
18733
|
};
|
|
18734
18734
|
return i ? /* @__PURE__ */ l.jsx(pr, { variant: "rounded", width: "100%", height: 16, animation: "wave", margin: "4px 0 0 0" }) : W ? /* @__PURE__ */ l.jsxs(Nf, { gap: "7px", children: [
|
|
@@ -18745,7 +18745,7 @@ const y0 = (e) => {
|
|
|
18745
18745
|
onClick: z,
|
|
18746
18746
|
children: G || as
|
|
18747
18747
|
}
|
|
18748
|
-
) : /* @__PURE__ */ l.jsx(
|
|
18748
|
+
) : /* @__PURE__ */ l.jsx(Xb, { ref: f, variant: "caption_regular", children: G || as }) });
|
|
18749
18749
|
}, zh = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_825_73646)'%3e%3cpath%20d='M19%206.41L17.59%205L12%2010.59L6.41%205L5%206.41L10.59%2012L5%2017.59L6.41%2019L12%2013.41L17.59%2019L19%2017.59L13.41%2012L19%206.41Z'%20fill='%236F7C90'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_825_73646'%3e%3crect%20width='24'%20height='24'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", eo = ({
|
|
18750
18750
|
shown: e,
|
|
18751
18751
|
setShown: t,
|
|
@@ -18802,7 +18802,7 @@ const y0 = (e) => {
|
|
|
18802
18802
|
setShowModal: I
|
|
18803
18803
|
}
|
|
18804
18804
|
) }),
|
|
18805
|
-
/* @__PURE__ */ l.jsx(
|
|
18805
|
+
/* @__PURE__ */ l.jsx(Zb, { className: i ? "" : "slideUp", height: W, children: /* @__PURE__ */ l.jsx(N, { ref: G, gap: 1, margin: "12px", children: u && !(R != null && R.length) ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
18806
18806
|
/* @__PURE__ */ l.jsx(pr, { variant: "rounded", width: "100%", height: 20, animation: "wave" }),
|
|
18807
18807
|
/* @__PURE__ */ l.jsx(pr, { variant: "rounded", width: "100%", height: 20, animation: "wave" })
|
|
18808
18808
|
] }) : /* @__PURE__ */ l.jsx(l.Fragment, { children: Y ? /* @__PURE__ */ l.jsx(Q, { margin: "8px 0", children: /* @__PURE__ */ l.jsx(
|
|
@@ -18822,7 +18822,7 @@ const y0 = (e) => {
|
|
|
18822
18822
|
) }) : R != null && R.length ? R == null ? void 0 : R.map((X) => {
|
|
18823
18823
|
const { value: ee, label: ae, deepLink: fe, type: j } = X, ce = "errorMessage" in X ? X.errorMessage : null, Te = "statusCode" in X ? X.statusCode : null;
|
|
18824
18824
|
return /* @__PURE__ */ l.jsxs("div", { children: [
|
|
18825
|
-
/* @__PURE__ */ l.jsx(
|
|
18825
|
+
/* @__PURE__ */ l.jsx(Ub, { variant: "overline_medium", children: ae }),
|
|
18826
18826
|
/* @__PURE__ */ l.jsx(
|
|
18827
18827
|
y0,
|
|
18828
18828
|
{
|
|
@@ -18839,7 +18839,7 @@ const y0 = (e) => {
|
|
|
18839
18839
|
}
|
|
18840
18840
|
)
|
|
18841
18841
|
] }, ae);
|
|
18842
|
-
}) : /* @__PURE__ */ l.jsx(Q, { margin: "8px 0", children: /* @__PURE__ */ l.jsx(Pf, { variant: "body_sm_regular", children:
|
|
18842
|
+
}) : /* @__PURE__ */ l.jsx(Q, { margin: "8px 0", children: /* @__PURE__ */ l.jsx(Pf, { variant: "body_sm_regular", children: U5 }) }) }) }) }),
|
|
18843
18843
|
!y && ne && /* @__PURE__ */ l.jsx(r9, { variant: "body_xs_medium", onClick: oe, children: C ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
18844
18844
|
g ? M9 : hd,
|
|
18845
18845
|
/* @__PURE__ */ l.jsx(n9, { src: j9, transformAngle: z })
|
|
@@ -18968,7 +18968,7 @@ const y0 = (e) => {
|
|
|
18968
18968
|
), yI = Yh.reducer, C0 = Yh.actions, Jh = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.76618%202.23341C8.79952%201.26675%207.47285%200.666748%205.99952%200.666748C3.05285%200.666748%200.672852%203.05341%200.672852%206.00008C0.672852%208.94675%203.05285%2011.3334%205.99952%2011.3334C8.48619%2011.3334%2010.5595%209.63341%2011.1529%207.33341H9.76618C9.21952%208.88675%207.73952%2010.0001%205.99952%2010.0001C3.79285%2010.0001%201.99952%208.20675%201.99952%206.00008C1.99952%203.79341%203.79285%202.00008%205.99952%202.00008C7.10618%202.00008%208.09285%202.46008%208.81285%203.18675L6.66618%205.33341H11.3329V0.666748L9.76618%202.23341Z'%20fill='%236C7B94'/%3e%3c/svg%3e", CI = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.4587%206.7528C11.2244%206.51848%2010.8445%206.51848%2010.6102%206.7528C10.3759%206.98711%2010.3759%207.36701%2010.6102%207.60132L11.4587%206.7528ZM12.1916%208.33414L12.6158%207.90988L12.1916%208.33414ZM8.33462%2012.1911L8.75888%2011.7668L8.33462%2012.1911ZM7.6018%2010.6097C7.36748%2010.3754%206.98758%2010.3754%206.75327%2010.6097C6.51895%2010.8441%206.51895%2011.224%206.75327%2011.4583L7.6018%2010.6097ZM4.43911%209.14411C4.67343%209.37842%205.05333%209.37842%205.28764%209.14411C5.52196%208.9098%205.52196%208.5299%205.28764%208.29558L4.43911%209.14411ZM3.70629%207.56276L4.13056%207.1385L3.70629%207.56276ZM7.56324%203.70582L7.9875%203.28155L7.56324%203.70582ZM8.29606%205.28716C8.53037%205.52148%208.91027%205.52148%209.14459%205.28716C9.3789%205.05285%209.3789%204.67295%209.14459%204.43864L8.29606%205.28716ZM10.6102%207.60132L11.7673%208.75841L12.6158%207.90988L11.4587%206.7528L10.6102%207.60132ZM11.7673%208.75841C12.1662%209.15735%2012.3904%209.69843%2012.3904%2010.2626L13.5904%2010.2626C13.5904%209.38017%2013.2398%208.53387%2012.6158%207.90988L11.7673%208.75841ZM12.3904%2010.2626C12.3904%2010.8268%2012.1662%2011.3679%2011.7673%2011.7668L12.6158%2012.6154C13.2398%2011.9914%2013.5904%2011.1451%2013.5904%2010.2626L12.3904%2010.2626ZM11.7673%2011.7668C10.9365%2012.5976%209.58963%2012.5976%208.75888%2011.7668L7.91035%2012.6154C9.20973%2013.9147%2011.3164%2013.9147%2012.6158%2012.6154L11.7673%2011.7668ZM8.75888%2011.7668L7.6018%2010.6097L6.75327%2011.4583L7.91035%2012.6154L8.75888%2011.7668ZM5.28764%208.29558L4.13056%207.1385L3.28203%207.98703L4.43911%209.14411L5.28764%208.29558ZM4.13056%207.1385C3.73162%206.73956%203.50749%206.19848%203.50749%205.63429L2.30749%205.63429C2.30749%206.51674%202.65804%207.36304%203.28203%207.98703L4.13056%207.1385ZM3.50749%205.63429C3.50749%205.0701%203.73162%204.52902%204.13056%204.13008L3.28203%203.28155C2.65804%203.90554%202.30749%204.75184%202.30749%205.63429L3.50749%205.63429ZM4.13056%204.13008C4.96131%203.29933%206.30822%203.29933%207.13897%204.13008L7.9875%203.28155C6.68812%201.98217%204.58141%201.98217%203.28203%203.28155L4.13056%204.13008ZM7.13897%204.13008L8.29606%205.28716L9.14459%204.43864L7.9875%203.28155L7.13897%204.13008Z'%20fill='%236C7B94'/%3e%3crect%20x='5.08887'%20y='6.0791'%20width='1.33333'%20height='6.66667'%20rx='0.666667'%20transform='rotate(-45%205.08887%206.0791)'%20fill='%236C7B94'/%3e%3cpath%20d='M5.59961%2014.3998V12.7998'%20stroke='%236C7B94'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.7998%205.59961H14.3998'%20stroke='%236C7B94'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M2.40039%2011.2002H4.00039'%20stroke='%236C7B94'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.2002%202.40039V4.00039'%20stroke='%236C7B94'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", EI = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_5908_39767)'%3e%3cpath%20d='M9.37333%206.01333L9.98667%206.62667L3.94667%2012.6667H3.33333V12.0533L9.37333%206.01333ZM11.7733%202C11.6067%202%2011.4333%202.06667%2011.3067%202.19333L10.0867%203.41333L12.5867%205.91333L13.8067%204.69333C14.0667%204.43333%2014.0667%204.01333%2013.8067%203.75333L12.2467%202.19333C12.1133%202.06%2011.9467%202%2011.7733%202ZM9.37333%204.12667L2%2011.5V14H4.5L11.8733%206.62667L9.37333%204.12667Z'%20fill='%236C7B94'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_5908_39767'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", qh = (e) => e.write.createObjectList, wI = (e) => e.write.createObjectConnectorNamesList, Kh = (e) => e.write.linkObjectList, II = (e) => e.write.editObjectList, _I = (e) => e.write.objectDict, AI = (e) => e.write.formFields, TI = (e) => e.write.linkCardApiStatus, SI = (e) => e.write.unlinkCardApiStatus, LI = (e) => e.write.dependentFieldsMap, OI = (e) => e.write.createFormApiStatus, RI = (e) => e.write.updateFormApiStatus, FI = (e) => e.write.currentResourceDetails, DI = (e) => e.write.currentResourceDetailsApiStatus, Qh = (e) => e.write.currentCardInEdit, e2 = (e) => e.write.hasUnsavedChanges, kI = (e) => typeof e == "string" ? /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})$/.test(e) : typeof e == "object" && "_isValid" in e, E0 = (e) => Object.keys(e).sort((n, r) => r.localeCompare(n)).reduce((n, r) => {
|
|
18969
18969
|
var o;
|
|
18970
18970
|
return (typeof e[r] == "string" || typeof e[r] == "object" && e[r] !== null) && kI(e[r]) ? n[r] = (o = /* @__PURE__ */ new Date(`${e[r]}`)) == null ? void 0 : o.toString() : n[r] = e[r], n;
|
|
18971
|
-
}, {}), w0 = (e, t) => JSON.stringify(E0(e)) === JSON.stringify(E0(t)), NI = (e) =>
|
|
18971
|
+
}, {}), w0 = (e, t) => JSON.stringify(E0(e)) === JSON.stringify(E0(t)), NI = (e) => q5.replace("{{connectorName}}", e), PI = ({
|
|
18972
18972
|
showUnlinkModal: e,
|
|
18973
18973
|
setShowUnlinkModal: t,
|
|
18974
18974
|
cardId: n,
|
|
@@ -18979,7 +18979,7 @@ const y0 = (e) => {
|
|
|
18979
18979
|
}) => {
|
|
18980
18980
|
const a = bn(), { sendTrackingEvent: c } = Fe(Ke), d = je(SI) === ie.LOADING, h = () => {
|
|
18981
18981
|
i && o && a(bs({ id: n, conversationId: i, externalResourceId: o })).unwrap().then(() => {
|
|
18982
|
-
c(
|
|
18982
|
+
c(n5, {
|
|
18983
18983
|
connector_name: s,
|
|
18984
18984
|
conversation_id: i
|
|
18985
18985
|
}), t(!1), r(), Be({
|
|
@@ -18994,7 +18994,7 @@ const y0 = (e) => {
|
|
|
18994
18994
|
});
|
|
18995
18995
|
};
|
|
18996
18996
|
return /* @__PURE__ */ l.jsx(eo, { shown: e, setShown: t, showCloseButton: !0, children: /* @__PURE__ */ l.jsxs(N, { width: "400px", padding: "20px", gap: "8px", children: [
|
|
18997
|
-
/* @__PURE__ */ l.jsx(K, { variant: "h2", children:
|
|
18997
|
+
/* @__PURE__ */ l.jsx(K, { variant: "h2", children: J5 }),
|
|
18998
18998
|
/* @__PURE__ */ l.jsx(K, { variant: "body2", children: NI(s) }),
|
|
18999
18999
|
/* @__PURE__ */ l.jsxs(N, { direction: "row", gap: "8px", marginTop: "20px", justifyContent: "flex-end", children: [
|
|
19000
19000
|
/* @__PURE__ */ l.jsx(Re, { variant: "text", onClick: () => t(!1), children: Wl }),
|
|
@@ -19006,7 +19006,7 @@ const y0 = (e) => {
|
|
|
19006
19006
|
if (r.length === 0)
|
|
19007
19007
|
return null;
|
|
19008
19008
|
const o = r[r.length - 1], i = r.slice(0, -1), s = t ? (i.length + 1) * 32 : 32;
|
|
19009
|
-
return /* @__PURE__ */ l.jsxs(
|
|
19009
|
+
return /* @__PURE__ */ l.jsxs(Yb, { width: s, isHovered: t, children: [
|
|
19010
19010
|
/* @__PURE__ */ l.jsx("div", { className: "hidden-actions", children: i.map(({ id: a, disabled: c, label: u, iconSrc: d, action: h }) => /* @__PURE__ */ l.jsx(Ce, { title: u, placement: "bottom", children: /* @__PURE__ */ l.jsx(Do, { onClick: h, disabled: c, children: /* @__PURE__ */ l.jsx("img", { src: d }) }) }, a)) }),
|
|
19011
19011
|
o && /* @__PURE__ */ l.jsx(Ce, { title: o.label, placement: "bottom", children: /* @__PURE__ */ l.jsx(Do, { onClick: o.action, disabled: o.disabled, children: /* @__PURE__ */ l.jsx("img", { src: o.iconSrc }) }) }, o.id)
|
|
19012
19012
|
] });
|
|
@@ -19023,7 +19023,7 @@ const y0 = (e) => {
|
|
|
19023
19023
|
_ && (k = `${k}_${_}`);
|
|
19024
19024
|
const { data: F, cardType: R, cardErrorMessage: P, connectorNames: G } = (n == null ? void 0 : n[k]) ?? {}, W = (G == null ? void 0 : G[0]) || "", J = (o == null ? void 0 : o[k]) === ie.LOADING, z = (o == null ? void 0 : o[k]) === ie.FAILED, Z = !!(mt(c, xf) && _), Y = ge(() => {
|
|
19025
19025
|
var j, ce;
|
|
19026
|
-
if (P || z || !(mt(c,
|
|
19026
|
+
if (P || z || !(mt(c, P5) && I.some((Te) => Te.type === "edit")))
|
|
19027
19027
|
return !1;
|
|
19028
19028
|
switch (R) {
|
|
19029
19029
|
case "flat":
|
|
@@ -19035,7 +19035,7 @@ const y0 = (e) => {
|
|
|
19035
19035
|
}
|
|
19036
19036
|
}, [F, R, c, I, t, P, z]), ne = Ae(
|
|
19037
19037
|
(j = !1) => {
|
|
19038
|
-
const ce = j ?
|
|
19038
|
+
const ce = j ? s5 : i5;
|
|
19039
19039
|
r && C && d && a(fi({ id: C, email: r, conversationId: d, externalResourceId: _ })).unwrap().then((Te) => {
|
|
19040
19040
|
const $ = {
|
|
19041
19041
|
...sd(Te, w, j, !0),
|
|
@@ -19114,12 +19114,12 @@ const y0 = (e) => {
|
|
|
19114
19114
|
action: (j) => D(j)
|
|
19115
19115
|
}
|
|
19116
19116
|
];
|
|
19117
|
-
return /* @__PURE__ */ l.jsxs(
|
|
19118
|
-
/* @__PURE__ */ l.jsxs(
|
|
19119
|
-
/* @__PURE__ */ l.jsxs(
|
|
19117
|
+
return /* @__PURE__ */ l.jsxs(Vb, { "data-testid": `test_${C}`, onMouseEnter: ee, onMouseLeave: ae, children: [
|
|
19118
|
+
/* @__PURE__ */ l.jsxs(Gb, { className: y ? "hiver-card-expanded" : "", onClick: (j) => H(j, k), children: [
|
|
19119
|
+
/* @__PURE__ */ l.jsxs(Hb, { children: [
|
|
19120
19120
|
S && /* @__PURE__ */ l.jsx("img", { src: S, alt: w }),
|
|
19121
19121
|
/* @__PURE__ */ l.jsx(Ce, { title: p ? w : "", placement: "bottom", children: /* @__PURE__ */ l.jsx(
|
|
19122
|
-
|
|
19122
|
+
Wb,
|
|
19123
19123
|
{
|
|
19124
19124
|
variant: "body_sm_regular",
|
|
19125
19125
|
onMouseOver: (j) => q(j),
|
|
@@ -19164,7 +19164,7 @@ const y0 = (e) => {
|
|
|
19164
19164
|
specificConnectorApiStatus: r,
|
|
19165
19165
|
onCardUnlinking: o
|
|
19166
19166
|
}) => {
|
|
19167
|
-
const { availableFeatures: i } = Fe(Ke), a = mt(i,
|
|
19167
|
+
const { availableFeatures: i } = Fe(Ke), a = mt(i, M5) ? BI : 1;
|
|
19168
19168
|
return /* @__PURE__ */ l.jsx(Q, { flexGrow: 1, children: e.map((c, u) => {
|
|
19169
19169
|
const { id: d, externalResourceId: h } = c;
|
|
19170
19170
|
let b = d;
|
|
@@ -19246,12 +19246,12 @@ const GI = "Bring your favourite tools into Hiver", HI = "Plugin image", WI = "I
|
|
|
19246
19246
|
`, c_ = T(K)`
|
|
19247
19247
|
color: ${V.palette.gray.gray3};
|
|
19248
19248
|
`, l_ = "https://cdn.hiverhq.com/connectors-module/assets/PlugIn.svg", u_ = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_HIVER_CDN_URL: "https://cdn.hiverhq.com/", VITE_MY_ENV_VAR: "myVariable From Agent" }, { VITE_HIVER_CDN_URL: d_ } = u_, _0 = ({ isAdmin: e = !0, hideHeading: t = !1 }) => {
|
|
19249
|
-
const { sendTrackingEvent: n, availableFeatures: r, connectorFunctions: o, connectorId: i } = Fe(Ke), s = mt(r,
|
|
19249
|
+
const { sendTrackingEvent: n, availableFeatures: r, connectorFunctions: o, connectorId: i } = Fe(Ke), s = mt(r, k5), a = mt(r, ia), c = (b) => {
|
|
19250
19250
|
b.stopPropagation(), n(H4), i ? o == null || o.redirectToAdmin(i, { isEdit: !0, tabIndex: 2 }) : o == null || o.redirectToAdmin();
|
|
19251
19251
|
}, u = (b) => {
|
|
19252
19252
|
b.stopPropagation(), n(W4), window.open(XI, "_blank");
|
|
19253
19253
|
}, d = () => {
|
|
19254
|
-
n(
|
|
19254
|
+
n(f5, {
|
|
19255
19255
|
source: "main_tab"
|
|
19256
19256
|
});
|
|
19257
19257
|
}, h = a ? KI : qI;
|
|
@@ -19313,8 +19313,8 @@ const GI = "Bring your favourite tools into Hiver", HI = "Plugin image", WI = "I
|
|
|
19313
19313
|
] })
|
|
19314
19314
|
] }) : null;
|
|
19315
19315
|
}, p_ = () => {
|
|
19316
|
-
const { metaData: e, sendTrackingEvent: t, isAdmin: n, connectorFunctions: r } = Fe(Ke), [o, i] = B(!1), s = be(null), [a, c] = B(0), { templateUpdates: u } = e || {}, { sections: d = [], actionButtons: h = [], title: b } = u || {}, { version: y = "" } = u || {}, m =
|
|
19317
|
-
() =>
|
|
19316
|
+
const { metaData: e, sendTrackingEvent: t, isAdmin: n, connectorFunctions: r } = Fe(Ke), [o, i] = B(!1), s = be(null), [a, c] = B(0), { templateUpdates: u } = e || {}, { sections: d = [], actionButtons: h = [], title: b } = u || {}, { version: y = "" } = u || {}, m = ib(y), p = ge(
|
|
19317
|
+
() => ob(y),
|
|
19318
19318
|
[y]
|
|
19319
19319
|
), f = ge(() => (h == null ? void 0 : h.filter(({ isAdminPanelLink: E }) => !(!n && E))) ?? [], [h, n]);
|
|
19320
19320
|
if (se(() => {
|
|
@@ -19342,16 +19342,16 @@ const GI = "Bring your favourite tools into Hiver", HI = "Plugin image", WI = "I
|
|
|
19342
19342
|
/* @__PURE__ */ l.jsxs(s9, { children: [
|
|
19343
19343
|
/* @__PURE__ */ l.jsx(o9, { variant: "h3", children: b }),
|
|
19344
19344
|
/* @__PURE__ */ l.jsxs(Q, { children: [
|
|
19345
|
-
o ? /* @__PURE__ */ l.jsx(Ce, { title: $
|
|
19346
|
-
/* @__PURE__ */ l.jsx(Ce, { title: o ?
|
|
19345
|
+
o ? /* @__PURE__ */ l.jsx(Ce, { title: $5, placement: "bottom", children: /* @__PURE__ */ l.jsx(it, { onClick: v, children: /* @__PURE__ */ l.jsx(Qe.Close, { sx: { height: "16px", width: "16px", opacity: "0.8" } }) }) }) : null,
|
|
19346
|
+
/* @__PURE__ */ l.jsx(Ce, { title: o ? z5 : Gl, placement: "bottom", children: /* @__PURE__ */ l.jsx(Do, { onClick: g, children: /* @__PURE__ */ l.jsx(zl, { className: o ? "" : "hiver-up" }) }) })
|
|
19347
19347
|
] })
|
|
19348
19348
|
] }),
|
|
19349
19349
|
/* @__PURE__ */ l.jsx(a9, { className: o ? "slideDown" : "slideUp", ref: s, height: a, children: /* @__PURE__ */ l.jsxs(c9, { children: [
|
|
19350
19350
|
d.map(({ title: E, items: C, type: w }) => /* @__PURE__ */ l.jsxs(p9, { children: [
|
|
19351
19351
|
/* @__PURE__ */ l.jsx(K, { variant: "body2_medium", children: E }),
|
|
19352
19352
|
C.map((_) => {
|
|
19353
|
-
const I = w ===
|
|
19354
|
-
$
|
|
19353
|
+
const I = w === Q5, { deeplink: S, textHtml: k, imageUrl: F } = _, R = () => /* @__PURE__ */ l.jsx(
|
|
19354
|
+
$b,
|
|
19355
19355
|
{
|
|
19356
19356
|
className: I ? "" : "ellipsisClass",
|
|
19357
19357
|
component: "div",
|
|
@@ -20170,7 +20170,7 @@ const H_ = T(N)`
|
|
|
20170
20170
|
variables: F
|
|
20171
20171
|
} = Fe(Ke), [R, P] = s2(), G = je(Qh), W = je(t ? II : qh), J = je(AI), z = je(_I), Z = je(LI), Y = je(OI), ne = je(RI), oe = je(FI), H = je(DI), q = je(e2), D = z == null ? void 0 : z[(h == null ? void 0 : h.value) ?? ""];
|
|
20172
20172
|
u == null || u(D);
|
|
20173
|
-
const X = mt(v,
|
|
20173
|
+
const X = mt(v, Z5), ee = (D == null ? void 0 : D.hasCustomFields) ?? !1, { customFieldsArgsPresent: ae, customFieldsArgs: fe } = ge(() => {
|
|
20174
20174
|
if (!ee) return { customFieldsArgsPresent: !1, customFieldsArgs: {} };
|
|
20175
20175
|
const xe = Object.values((D == null ? void 0 : D.customFieldsArgs) ?? {}).every(
|
|
20176
20176
|
(vt) => !!R.values[vt]
|
|
@@ -20279,7 +20279,7 @@ const H_ = T(N)`
|
|
|
20279
20279
|
}, nn = () => {
|
|
20280
20280
|
if (!Xn() && Jt && (z != null && z[Jt]) && x && Jn) {
|
|
20281
20281
|
const { connectorName: xe, title: Ee } = G;
|
|
20282
|
-
E(
|
|
20282
|
+
E(l5, {
|
|
20283
20283
|
connector_name: xe,
|
|
20284
20284
|
card_title: Ee,
|
|
20285
20285
|
sm_ids: C,
|
|
@@ -20303,21 +20303,21 @@ const H_ = T(N)`
|
|
|
20303
20303
|
})
|
|
20304
20304
|
).unwrap().then(() => {
|
|
20305
20305
|
var Oe;
|
|
20306
|
-
E(
|
|
20306
|
+
E(d5, {
|
|
20307
20307
|
connector_name: xe,
|
|
20308
20308
|
card_title: Ee,
|
|
20309
20309
|
sm_ids: C,
|
|
20310
20310
|
ug_id: Dn
|
|
20311
20311
|
});
|
|
20312
|
-
const U = ((Oe = Me[0].formFields) == null ? void 0 : Oe.filter((De) => De.isFieldCustom)) ?? [], te = U.length > 0,
|
|
20313
|
-
E(
|
|
20312
|
+
const U = ((Oe = Me[0].formFields) == null ? void 0 : Oe.filter((De) => De.isFieldCustom)) ?? [], te = U.length > 0, ue = U.some((De) => R.values[De.name]);
|
|
20313
|
+
E(T5, {
|
|
20314
20314
|
sm_ids: C,
|
|
20315
20315
|
ug_id: d,
|
|
20316
20316
|
connector_name: D == null ? void 0 : D.connectorName,
|
|
20317
20317
|
form_object: D == null ? void 0 : D.name,
|
|
20318
20318
|
object_type: h == null ? void 0 : h.label,
|
|
20319
20319
|
has_custom_fields: te,
|
|
20320
|
-
custom_fields_used:
|
|
20320
|
+
custom_fields_used: ue
|
|
20321
20321
|
});
|
|
20322
20322
|
}).finally(() => {
|
|
20323
20323
|
qt(bo(null));
|
|
@@ -20341,13 +20341,13 @@ const H_ = T(N)`
|
|
|
20341
20341
|
})
|
|
20342
20342
|
).unwrap().then(() => {
|
|
20343
20343
|
var te;
|
|
20344
|
-
E(
|
|
20344
|
+
E(e5, {
|
|
20345
20345
|
object_type: h
|
|
20346
20346
|
});
|
|
20347
|
-
const Vt = ((te = Me[0].formFields) == null ? void 0 : te.filter((
|
|
20348
|
-
if (R.values[
|
|
20349
|
-
}).map(([
|
|
20350
|
-
E(
|
|
20347
|
+
const Vt = ((te = Me[0].formFields) == null ? void 0 : te.filter((ue) => ue.isFieldCustom)) ?? [], rn = Vt.length > 0, Ot = Vt.some((ue) => R.values[ue.name]), U = Object.entries(_t ?? {}).filter(([ue, Oe]) => {
|
|
20348
|
+
if (R.values[ue] === Oe) return !0;
|
|
20349
|
+
}).map(([ue]) => ue);
|
|
20350
|
+
E(A5, {
|
|
20351
20351
|
sm_ids: C,
|
|
20352
20352
|
ug_id: d,
|
|
20353
20353
|
connector_name: D == null ? void 0 : D.connectorName,
|
|
@@ -20370,7 +20370,7 @@ const H_ = T(N)`
|
|
|
20370
20370
|
action: oo
|
|
20371
20371
|
}
|
|
20372
20372
|
], io = () => {
|
|
20373
|
-
w(D == null ? void 0 : D.connectorId, { isEdit: !0, tabIndex: 2, editCard: (D == null ? void 0 : D.cardId) ?? "" }), E(
|
|
20373
|
+
w(D == null ? void 0 : D.connectorId, { isEdit: !0, tabIndex: 2, editCard: (D == null ? void 0 : D.cardId) ?? "" }), E(_5, {
|
|
20374
20374
|
sm_ids: C,
|
|
20375
20375
|
ug_id: d,
|
|
20376
20376
|
connector_name: D == null ? void 0 : D.connectorName,
|
|
@@ -20379,7 +20379,7 @@ const H_ = T(N)`
|
|
|
20379
20379
|
}, Uo = ({ data: xe }) => {
|
|
20380
20380
|
Cr.current = !0, a == null || a(!1);
|
|
20381
20381
|
const { fields_configured_count: Ee, has_system_variable: ct } = qx(xe);
|
|
20382
|
-
E(
|
|
20382
|
+
E(R5, {
|
|
20383
20383
|
app_name: D == null ? void 0 : D.connectorName,
|
|
20384
20384
|
object_type: D == null ? void 0 : D.name,
|
|
20385
20385
|
fields_configured_count: Ee,
|
|
@@ -20467,7 +20467,7 @@ const H_ = T(N)`
|
|
|
20467
20467
|
} : null
|
|
20468
20468
|
}
|
|
20469
20469
|
),
|
|
20470
|
-
wr ? /* @__PURE__ */ l.jsx(N, { marginTop: "28px", width: "100%", justifyContent: "center", children: /* @__PURE__ */ l.jsx(Re, { variant: "text", startIcon: /* @__PURE__ */ l.jsx(Y_, {}), onClick: io, size: "small", children:
|
|
20470
|
+
wr ? /* @__PURE__ */ l.jsx(N, { marginTop: "28px", width: "100%", justifyContent: "center", children: /* @__PURE__ */ l.jsx(Re, { variant: "text", startIcon: /* @__PURE__ */ l.jsx(Y_, {}), onClick: io, size: "small", children: rb }) }) : null
|
|
20471
20471
|
] }),
|
|
20472
20472
|
zo ? /* @__PURE__ */ l.jsxs(z_, { children: [
|
|
20473
20473
|
/* @__PURE__ */ l.jsx(K, { variant: "body2", color: V.palette.gray.gray1, children: Kw }),
|
|
@@ -20481,7 +20481,7 @@ const H_ = T(N)`
|
|
|
20481
20481
|
onClick: t ? nn : Qn,
|
|
20482
20482
|
size: "small",
|
|
20483
20483
|
...$ ? { style: { order: 2 } } : null,
|
|
20484
|
-
children: t ?
|
|
20484
|
+
children: t ? Y5 : X5
|
|
20485
20485
|
}
|
|
20486
20486
|
),
|
|
20487
20487
|
/* @__PURE__ */ l.jsx(v2, { variant: "outlined", color: "tertiary", size: "small", onClick: o, disabled: kn, children: Wl })
|
|
@@ -20583,12 +20583,12 @@ const Y_ = T(g2)`
|
|
|
20583
20583
|
const x = {
|
|
20584
20584
|
externalResourceId: h
|
|
20585
20585
|
}, v = o === ie.LOADING, E = i === ie.LOADING, C = () => {
|
|
20586
|
-
!a && u && "value" in u && (f(
|
|
20586
|
+
!a && u && "value" in u && (f(r5, { object_type: u.label }), n(mo({ id: String(u == null ? void 0 : u.value), args: x })).unwrap().catch((R) => {
|
|
20587
20587
|
(R == null ? void 0 : R.status) === 400 ? Be({ message: m0, type: lt }) : Be({ message: kw, type: lt });
|
|
20588
20588
|
})), c((R) => !R);
|
|
20589
20589
|
}, w = () => {
|
|
20590
20590
|
u && "value" in u && p && n(xs({ id: String(u.value), externalResourceId: h, conversationId: p, email: g })).unwrap().then(() => {
|
|
20591
|
-
f(
|
|
20591
|
+
f(t5, {
|
|
20592
20592
|
object_type: u.label,
|
|
20593
20593
|
input_type: h
|
|
20594
20594
|
}), Be({ message: Pw, type: hn }), e(!1), t();
|
|
@@ -20762,7 +20762,7 @@ const Y_ = T(g2)`
|
|
|
20762
20762
|
onSelect: r
|
|
20763
20763
|
}) => {
|
|
20764
20764
|
const o = bn(), { sendTrackingEvent: i, currentSmIds: s } = Fe(Ke), { label: a, description: c, avatarUrl: u, connectorName: d } = e, h = () => {
|
|
20765
|
-
i(
|
|
20765
|
+
i(m5, {
|
|
20766
20766
|
suggestion_type: t,
|
|
20767
20767
|
search_keyword: a,
|
|
20768
20768
|
sm_ids: s,
|
|
@@ -20828,7 +20828,7 @@ const Y_ = T(g2)`
|
|
|
20828
20828
|
o(f), f || (i(""), s());
|
|
20829
20829
|
}, p = () => {
|
|
20830
20830
|
const f = [...new Set(e.map((g) => g.connectorName))];
|
|
20831
|
-
d(
|
|
20831
|
+
d(g5, {
|
|
20832
20832
|
connector_names: f,
|
|
20833
20833
|
sm_ids: h
|
|
20834
20834
|
});
|
|
@@ -21049,7 +21049,7 @@ const Y_ = T(g2)`
|
|
|
21049
21049
|
fetchSearchResults: r,
|
|
21050
21050
|
onReset: o
|
|
21051
21051
|
}) => {
|
|
21052
|
-
const [i, s] = B(""), { conversationId: a, email: c, availableFeatures: u } = Fe(Ke), d = je(rA), h = je(y2), b = mt(u,
|
|
21052
|
+
const [i, s] = B(""), { conversationId: a, email: c, availableFeatures: u } = Fe(Ke), d = je(rA), h = je(y2), b = mt(u, V5), { sortedObjectList: y, updatePriority: m } = wA({ objectList: d }), { data: p } = NA({
|
|
21053
21053
|
enabled: b && !!a,
|
|
21054
21054
|
conversationId: String(a),
|
|
21055
21055
|
senderEmail: c
|
|
@@ -21133,7 +21133,7 @@ const Y_ = T(g2)`
|
|
|
21133
21133
|
s(mo({ id: t, args: { externalResourceId: e } }));
|
|
21134
21134
|
}, [e, t, s]);
|
|
21135
21135
|
const g = () => {
|
|
21136
|
-
u(
|
|
21136
|
+
u(C5, {
|
|
21137
21137
|
search_keyword: n,
|
|
21138
21138
|
search_result_label: r,
|
|
21139
21139
|
sm_ids: c,
|
|
@@ -21190,7 +21190,7 @@ const Y_ = T(g2)`
|
|
|
21190
21190
|
searchObject: t.objectName,
|
|
21191
21191
|
connectorName: t.connectorName
|
|
21192
21192
|
}), d = (y, m) => {
|
|
21193
|
-
i(
|
|
21193
|
+
i(y5, {
|
|
21194
21194
|
search_keyword: t.label,
|
|
21195
21195
|
search_result_label: m,
|
|
21196
21196
|
sm_ids: s,
|
|
@@ -21326,7 +21326,7 @@ const ml = /* @__PURE__ */ new Set(), $A = (e, t) => {
|
|
|
21326
21326
|
var a;
|
|
21327
21327
|
const i = ((a = (t.presets ?? []).find((c) => c.hiverParam === n)) == null ? void 0 : a.objectParamLabel) ?? "", s = Ae(
|
|
21328
21328
|
(c) => {
|
|
21329
|
-
o(
|
|
21329
|
+
o(S5, {
|
|
21330
21330
|
hiver_param: c.target.value,
|
|
21331
21331
|
connector_name: t.connectorName,
|
|
21332
21332
|
page: "agent_connector_panel"
|
|
@@ -21396,7 +21396,7 @@ const ml = /* @__PURE__ */ new Set(), $A = (e, t) => {
|
|
|
21396
21396
|
connectors: f.connectors.map(
|
|
21397
21397
|
(g) => p[g.connectorId] !== void 0 ? { ...g, hiverParam: p[g.connectorId] } : g
|
|
21398
21398
|
)
|
|
21399
|
-
}), i(
|
|
21399
|
+
}), i(L5, {
|
|
21400
21400
|
page: "agent_connector_panel"
|
|
21401
21401
|
}), Be({ message: "Identity mapping saved successfully", type: "success" }), o == null || o(), n();
|
|
21402
21402
|
},
|
|
@@ -21451,35 +21451,35 @@ const ml = /* @__PURE__ */ new Set(), $A = (e, t) => {
|
|
|
21451
21451
|
}, [n, e]);
|
|
21452
21452
|
}, uT = ({ isAdmin: e = !1 }) => {
|
|
21453
21453
|
var At, Nn;
|
|
21454
|
-
const { email: t, currentSmIds: n, sendTrackingEvent: r, availableFeatures: o, conversationId: i, connectorId: s } = Fe(Ke), a = bn(), { userGroupId: c, userId: u } = pn() || {}, d = be(!1), h = be(null), b = be(null), y = be(null), [m, p] = B({}), [f, g] = B(!1), [x, v] = B(!1), [E, C] = B(!1), [w, _] = B(!1), [I, S] = B(), [k, F] = B(!1), [R, P] = B(null), [G, W] = B(), [J, z] = B(null), [Z, Y] = B(!1), [ne, oe] = B(!1), [H, q] = B(!1), [D, X] = B(!1), [ee, ae] = B(void 0), fe = be(), j = je(oI), ce = je(iI), Te = je(aI), $ = je(cI), Me = je(uI), Je = je(sI), et = je(qh), tn = je(wI), yn = je(Kh), ut = je(Qh), xt = je(e2), at = je(T_), yr = mt(o,
|
|
21454
|
+
const { email: t, currentSmIds: n, sendTrackingEvent: r, availableFeatures: o, conversationId: i, connectorId: s } = Fe(Ke), a = bn(), { userGroupId: c, userId: u } = pn() || {}, d = be(!1), h = be(null), b = be(null), y = be(null), [m, p] = B({}), [f, g] = B(!1), [x, v] = B(!1), [E, C] = B(!1), [w, _] = B(!1), [I, S] = B(), [k, F] = B(!1), [R, P] = B(null), [G, W] = B(), [J, z] = B(null), [Z, Y] = B(!1), [ne, oe] = B(!1), [H, q] = B(!1), [D, X] = B(!1), [ee, ae] = B(void 0), fe = be(), j = je(oI), ce = je(iI), Te = je(aI), $ = je(cI), Me = je(uI), Je = je(sI), et = je(qh), tn = je(wI), yn = je(Kh), ut = je(Qh), xt = je(e2), at = je(T_), yr = mt(o, D5), Xt = mt(o, xf), zn = mt(o, B5), $n = mt(o, G5), Xn = mt(o, H5), Yn = mt(o, W5), _t = (At = pn()) == null ? void 0 : At.tenantPlatform, Fn = mt(
|
|
21455
21455
|
o,
|
|
21456
21456
|
_t === "HIVERWEB" ? `hot-${rd}` : rd
|
|
21457
21457
|
), { data: Cr } = fn({
|
|
21458
21458
|
queryKey: ["connectors", "enabledAuthenticated"],
|
|
21459
21459
|
queryFn: () => xp(),
|
|
21460
21460
|
enabled: Fn && e
|
|
21461
|
-
}), Dn = ge(() => (Cr ?? []).map((
|
|
21461
|
+
}), Dn = ge(() => (Cr ?? []).map((le) => le.id), [Cr]), { data: Yt, isSuccess: Zo } = fn({
|
|
21462
21462
|
queryKey: ["lookup", "bulk", Dn.join(",")],
|
|
21463
21463
|
queryFn: () => tT(Dn),
|
|
21464
21464
|
enabled: Dn.length > 0 && Fn && e,
|
|
21465
21465
|
refetchOnMount: !1
|
|
21466
|
-
}), Jt = Zo && ((Yt == null ? void 0 : Yt.connectors) ?? []).some((
|
|
21466
|
+
}), Jt = Zo && ((Yt == null ? void 0 : Yt.connectors) ?? []).some((le) => {
|
|
21467
21467
|
var we;
|
|
21468
|
-
return (((we =
|
|
21468
|
+
return (((we = le.presets) == null ? void 0 : we.length) ?? 0) > 1;
|
|
21469
21469
|
});
|
|
21470
21470
|
lT({
|
|
21471
21471
|
conversationId: i,
|
|
21472
21472
|
openCreateForm: () => C(!0),
|
|
21473
21473
|
enabled: ce
|
|
21474
21474
|
});
|
|
21475
|
-
const Jn = ge(() => !j || !j.length ? null : hI(j, Te, $), [j, Te, $]), kn =
|
|
21475
|
+
const Jn = ge(() => !j || !j.length ? null : hI(j, Te, $), [j, Te, $]), kn = sb(Te), { data: ro, isLoading: qt } = w2({
|
|
21476
21476
|
senderEmail: t,
|
|
21477
21477
|
conversationId: String(i),
|
|
21478
21478
|
enabled: $n && !!t
|
|
21479
|
-
}), { emailHeaders: oo, selectedEmail: qn } = ro ?? {}, { scrollOnceAfterLoad: Kn, resetScrollState: nn } = qA(b), Qn = Je !== ie.LOADING && (!$ || !Object.values($).some((
|
|
21479
|
+
}), { emailHeaders: oo, selectedEmail: qn } = ro ?? {}, { scrollOnceAfterLoad: Kn, resetScrollState: nn } = qA(b), Qn = Je !== ie.LOADING && (!$ || !Object.values($).some((le) => le === ie.LOADING)) && j && j.length > 0;
|
|
21480
21480
|
to(() => {
|
|
21481
|
-
var
|
|
21482
|
-
Z && !f && ne && ((
|
|
21481
|
+
var le;
|
|
21482
|
+
Z && !f && ne && ((le = y == null ? void 0 : y.current) != null && le.scrollHeight) && Kn(!!Qn, "smooth");
|
|
21483
21483
|
}, [
|
|
21484
21484
|
Z,
|
|
21485
21485
|
f,
|
|
@@ -21489,22 +21489,22 @@ const ml = /* @__PURE__ */ new Set(), $A = (e, t) => {
|
|
|
21489
21489
|
(Nn = y == null ? void 0 : y.current) == null ? void 0 : Nn.scrollHeight,
|
|
21490
21490
|
u
|
|
21491
21491
|
]);
|
|
21492
|
-
const Er = (
|
|
21493
|
-
r(
|
|
21494
|
-
search_keyword:
|
|
21492
|
+
const Er = (le, we) => {
|
|
21493
|
+
r(b5, {
|
|
21494
|
+
search_keyword: le,
|
|
21495
21495
|
sm_ids: n,
|
|
21496
21496
|
connector_name: we,
|
|
21497
21497
|
suggestion_type: at
|
|
21498
21498
|
});
|
|
21499
|
-
}, io = (
|
|
21500
|
-
!Array.isArray(we) || !we.length ? r(
|
|
21501
|
-
search_keyword:
|
|
21499
|
+
}, io = (le, we, ht) => {
|
|
21500
|
+
!Array.isArray(we) || !we.length ? r(x5, {
|
|
21501
|
+
search_keyword: le,
|
|
21502
21502
|
sm_ids: n,
|
|
21503
21503
|
connector_name: ht,
|
|
21504
21504
|
suggestion_type: at
|
|
21505
|
-
}) : we.length && r(
|
|
21505
|
+
}) : we.length && r(v5, {
|
|
21506
21506
|
num_of_results: we.length,
|
|
21507
|
-
search_keyword:
|
|
21507
|
+
search_keyword: le,
|
|
21508
21508
|
sm_ids: n,
|
|
21509
21509
|
connector_name: ht,
|
|
21510
21510
|
suggestion_type: at
|
|
@@ -21519,16 +21519,16 @@ const ml = /* @__PURE__ */ new Set(), $A = (e, t) => {
|
|
|
21519
21519
|
wr(), P(null);
|
|
21520
21520
|
}, [wr, P]), xe = no(), Ee = Ae(() => {
|
|
21521
21521
|
if (t && n.length && i) {
|
|
21522
|
-
const
|
|
21523
|
-
return () =>
|
|
21522
|
+
const le = a(ys({ inboxIds: n, conversationId: i, connectorId: s }));
|
|
21523
|
+
return () => le.abort();
|
|
21524
21524
|
}
|
|
21525
21525
|
}, [a, t, n, i, s]), ct = Ae(() => {
|
|
21526
21526
|
xe.invalidateQueries({ queryKey: ["lookup", "bulk"] }), Ee();
|
|
21527
21527
|
}, [xe, Ee]), vt = Ae(
|
|
21528
|
-
(
|
|
21529
|
-
|
|
21528
|
+
(le, we) => {
|
|
21529
|
+
le && i && we && a(
|
|
21530
21530
|
vs({
|
|
21531
|
-
id:
|
|
21531
|
+
id: le,
|
|
21532
21532
|
channelType: "email",
|
|
21533
21533
|
conversationId: i,
|
|
21534
21534
|
externalResourceId: we,
|
|
@@ -21551,19 +21551,22 @@ const ml = /* @__PURE__ */ new Set(), $A = (e, t) => {
|
|
|
21551
21551
|
}, [G, i]), se(() => {
|
|
21552
21552
|
ne && u && sm(u);
|
|
21553
21553
|
}, [ne, u]), se(() => {
|
|
21554
|
-
var
|
|
21554
|
+
var le;
|
|
21555
21555
|
if (ut) {
|
|
21556
21556
|
v(!0);
|
|
21557
|
-
const { externalResourceId: we } = ut, ht = (
|
|
21557
|
+
const { externalResourceId: we } = ut, ht = (le = ut.forms.find((on) => on.type === "edit")) == null ? void 0 : le.id;
|
|
21558
21558
|
vt(ht, we);
|
|
21559
21559
|
} else
|
|
21560
21560
|
v(!1), a(Qw());
|
|
21561
|
-
}, [ut, vt, a]), se(() =>
|
|
21562
|
-
|
|
21563
|
-
|
|
21564
|
-
|
|
21561
|
+
}, [ut, vt, a]), se(() => {
|
|
21562
|
+
const le = Ee();
|
|
21563
|
+
return nn(), () => {
|
|
21564
|
+
le == null || le(), a(C0.clearConnectorList());
|
|
21565
|
+
};
|
|
21566
|
+
}, [a, Ee, nn]), se(() => {
|
|
21567
|
+
var le;
|
|
21565
21568
|
if (Me && j && j.length && Jn && !d.current) {
|
|
21566
|
-
const { cards_per_app: we, total_empty_cards: ht, total_cards_with_errors: on } = Jn, Mi = s ? (
|
|
21569
|
+
const { cards_per_app: we, total_empty_cards: ht, total_cards_with_errors: on } = Jn, Mi = s ? (le = we[0]) == null ? void 0 : le.app_name : null;
|
|
21567
21570
|
r($4, {
|
|
21568
21571
|
numOfCards: j.length,
|
|
21569
21572
|
total_cards_loaded: j.length,
|
|
@@ -21579,7 +21582,7 @@ const ml = /* @__PURE__ */ new Set(), $A = (e, t) => {
|
|
|
21579
21582
|
};
|
|
21580
21583
|
}, [Me, j, Jn, r, n, s]), se(() => {
|
|
21581
21584
|
if (i && n && n.length) {
|
|
21582
|
-
const
|
|
21585
|
+
const le = a(
|
|
21583
21586
|
hs({
|
|
21584
21587
|
inboxIds: n,
|
|
21585
21588
|
conversationId: i,
|
|
@@ -21588,49 +21591,49 @@ const ml = /* @__PURE__ */ new Set(), $A = (e, t) => {
|
|
|
21588
21591
|
connectorId: s
|
|
21589
21592
|
})
|
|
21590
21593
|
);
|
|
21591
|
-
return () =>
|
|
21594
|
+
return () => le.abort();
|
|
21592
21595
|
}
|
|
21593
21596
|
}, [a, n, i, Yn, s]), se(() => {
|
|
21594
|
-
const
|
|
21597
|
+
const le = (we) => {
|
|
21595
21598
|
var on;
|
|
21596
21599
|
if (!(we instanceof CustomEvent))
|
|
21597
21600
|
return;
|
|
21598
21601
|
const ht = (on = we.detail) == null ? void 0 : on.connectorKey;
|
|
21599
21602
|
p({ connectorKey: ht });
|
|
21600
21603
|
};
|
|
21601
|
-
return window.addEventListener(O0.OPEN_FORM_VIEW,
|
|
21602
|
-
window.removeEventListener(O0.OPEN_FORM_VIEW,
|
|
21604
|
+
return window.addEventListener(O0.OPEN_FORM_VIEW, le), () => {
|
|
21605
|
+
window.removeEventListener(O0.OPEN_FORM_VIEW, le);
|
|
21603
21606
|
};
|
|
21604
21607
|
}, []), se(() => {
|
|
21605
21608
|
if (!(et != null && et.length) || !m.connectorKey)
|
|
21606
21609
|
return;
|
|
21607
|
-
const
|
|
21610
|
+
const le = m.connectorKey;
|
|
21608
21611
|
p({});
|
|
21609
21612
|
const we = et.find(
|
|
21610
21613
|
(ht) => {
|
|
21611
21614
|
var on;
|
|
21612
|
-
return ((on = ht.connectorKey) == null ? void 0 : on.toLowerCase()) === (
|
|
21615
|
+
return ((on = ht.connectorKey) == null ? void 0 : on.toLowerCase()) === (le == null ? void 0 : le.toLowerCase());
|
|
21613
21616
|
}
|
|
21614
21617
|
);
|
|
21615
21618
|
we && (z(we), C(!0));
|
|
21616
21619
|
}, [et, m]), !t.length || Je === ie.LOADING)
|
|
21617
21620
|
return /* @__PURE__ */ l.jsx(f_, {});
|
|
21618
|
-
const Vt = (
|
|
21621
|
+
const Vt = (le) => {
|
|
21619
21622
|
r(K4, {
|
|
21620
21623
|
connector_name: tn,
|
|
21621
|
-
source:
|
|
21624
|
+
source: le,
|
|
21622
21625
|
sm_ids: n
|
|
21623
21626
|
});
|
|
21624
|
-
}, rn = (
|
|
21625
|
-
C(!0), Vt(
|
|
21627
|
+
}, rn = (le) => {
|
|
21628
|
+
C(!0), Vt(le);
|
|
21626
21629
|
}, Ot = () => {
|
|
21627
21630
|
_(!0), L(ed), U(td), r(Q4);
|
|
21628
|
-
}, L = (
|
|
21629
|
-
r(
|
|
21630
|
-
}, U = (
|
|
21631
|
+
}, L = (le) => {
|
|
21632
|
+
r(le, I), xt ? F(!0) : (C(!1), z(null));
|
|
21633
|
+
}, U = (le) => {
|
|
21631
21634
|
if (ut) {
|
|
21632
21635
|
const { connectorName: we, title: ht } = ut;
|
|
21633
|
-
r(
|
|
21636
|
+
r(le, {
|
|
21634
21637
|
connector_name: we,
|
|
21635
21638
|
card_title: ht,
|
|
21636
21639
|
sm_ids: n,
|
|
@@ -21640,7 +21643,7 @@ const ml = /* @__PURE__ */ new Set(), $A = (e, t) => {
|
|
|
21640
21643
|
xt ? F(!0) : a(bo(null));
|
|
21641
21644
|
}, te = () => {
|
|
21642
21645
|
C(!1), a(bo(null)), S(void 0), F(!1);
|
|
21643
|
-
},
|
|
21646
|
+
}, ue = () => {
|
|
21644
21647
|
Ee(), C(!1), v(!1), a(C0.clearConnectorList());
|
|
21645
21648
|
}, Oe = [
|
|
21646
21649
|
{
|
|
@@ -21663,10 +21666,10 @@ const ml = /* @__PURE__ */ new Set(), $A = (e, t) => {
|
|
|
21663
21666
|
}
|
|
21664
21667
|
) : /* @__PURE__ */ l.jsx(_0, { isAdmin: e, hideHeading: !0 }), tt = () => {
|
|
21665
21668
|
q(!0);
|
|
21666
|
-
const
|
|
21667
|
-
r(
|
|
21668
|
-
}, nt = (
|
|
21669
|
-
fe.current =
|
|
21669
|
+
const le = fe.current, we = le == null ? void 0 : le.connectorName, ht = le == null ? void 0 : le.name;
|
|
21670
|
+
r(O5, { entry_point: "agent", app_name: we, object_type: ht });
|
|
21671
|
+
}, nt = (le) => {
|
|
21672
|
+
fe.current = le;
|
|
21670
21673
|
};
|
|
21671
21674
|
return /* @__PURE__ */ l.jsxs(
|
|
21672
21675
|
kf,
|
|
@@ -21686,7 +21689,7 @@ const ml = /* @__PURE__ */ new Set(), $A = (e, t) => {
|
|
|
21686
21689
|
buttons: Oe
|
|
21687
21690
|
}
|
|
21688
21691
|
),
|
|
21689
|
-
/* @__PURE__ */ l.jsx(
|
|
21692
|
+
/* @__PURE__ */ l.jsx(Bb, { onWheel: () => g(!0), ref: y, children: ce ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
21690
21693
|
/* @__PURE__ */ l.jsx(
|
|
21691
21694
|
b9,
|
|
21692
21695
|
{
|
|
@@ -21738,8 +21741,8 @@ const ml = /* @__PURE__ */ new Set(), $A = (e, t) => {
|
|
|
21738
21741
|
children: /* @__PURE__ */ l.jsx(
|
|
21739
21742
|
L0,
|
|
21740
21743
|
{
|
|
21741
|
-
onClose: () => L(
|
|
21742
|
-
onCreateSuccess:
|
|
21744
|
+
onClose: () => L(o5),
|
|
21745
|
+
onCreateSuccess: ue,
|
|
21743
21746
|
metaData: I,
|
|
21744
21747
|
setMetaData: S,
|
|
21745
21748
|
defaultOption: J,
|
|
@@ -21756,14 +21759,14 @@ const ml = /* @__PURE__ */ new Set(), $A = (e, t) => {
|
|
|
21756
21759
|
tc,
|
|
21757
21760
|
{
|
|
21758
21761
|
onClose: () => U(td),
|
|
21759
|
-
title:
|
|
21762
|
+
title: K5,
|
|
21760
21763
|
backButtonTooltip: "Back",
|
|
21761
21764
|
children: /* @__PURE__ */ l.jsx(
|
|
21762
21765
|
L0,
|
|
21763
21766
|
{
|
|
21764
21767
|
isEdit: !0,
|
|
21765
|
-
onClose: () => U(
|
|
21766
|
-
onCreateSuccess:
|
|
21768
|
+
onClose: () => U(u5),
|
|
21769
|
+
onCreateSuccess: ue,
|
|
21767
21770
|
metaData: I,
|
|
21768
21771
|
setMetaData: S,
|
|
21769
21772
|
connectors: kn
|
|
@@ -21837,14 +21840,14 @@ const ml = /* @__PURE__ */ new Set(), $A = (e, t) => {
|
|
|
21837
21840
|
onCardUnlinking: Ee
|
|
21838
21841
|
}
|
|
21839
21842
|
),
|
|
21840
|
-
/* @__PURE__ */ l.jsx("div", { ref: b, children: Xn ? /* @__PURE__ */ l.jsx(
|
|
21843
|
+
/* @__PURE__ */ l.jsx("div", { ref: b, children: Xn ? /* @__PURE__ */ l.jsx(xb, { connectors: kn, expanded: Z }) : null })
|
|
21841
21844
|
] }, "cards-list"),
|
|
21842
21845
|
/* @__PURE__ */ l.jsx(Mn, { condition: !(j != null && j.length) && Xt, children: yt() }, "create-banner")
|
|
21843
21846
|
] })
|
|
21844
21847
|
] }, "cards")
|
|
21845
21848
|
] })
|
|
21846
21849
|
] }) : /* @__PURE__ */ l.jsx(_0, { isAdmin: e }) }),
|
|
21847
|
-
!ce && /* @__PURE__ */ l.jsx(
|
|
21850
|
+
!ce && /* @__PURE__ */ l.jsx(Ob, {}),
|
|
21848
21851
|
Fn && /* @__PURE__ */ l.jsx(
|
|
21849
21852
|
cT,
|
|
21850
21853
|
{
|
|
@@ -21966,7 +21969,10 @@ const ml = /* @__PURE__ */ new Set(), $A = (e, t) => {
|
|
|
21966
21969
|
actionQueue: a,
|
|
21967
21970
|
store: c
|
|
21968
21971
|
}) => {
|
|
21969
|
-
const [u, d] = B(
|
|
21972
|
+
const [u, d] = B(() => {
|
|
21973
|
+
if (c)
|
|
21974
|
+
return c.getData("connectorId");
|
|
21975
|
+
});
|
|
21970
21976
|
return se(() => {
|
|
21971
21977
|
if (!c) return;
|
|
21972
21978
|
const h = c.subscribe((b) => {
|