@hiver/connector-agent 4.3.2-analytics-beta.4 → 4.3.2-analytics-beta.6
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/components/ui/loader-button/index.d.ts +8 -0
- package/components/ui/loader-button/index.d.ts.map +1 -0
- package/features/connector-highlight/components/data-card/index.d.ts.map +1 -1
- package/features/connector-highlight/components/data-card/styles.d.ts +3 -0
- package/features/connector-highlight/components/data-card/styles.d.ts.map +1 -1
- package/features/connector-highlight/components/feedback-form/index.d.ts.map +1 -1
- package/features/connector-highlight/constant/index.d.ts +0 -2
- package/features/connector-highlight/constant/index.d.ts.map +1 -1
- package/index.es.js +640 -625
- package/index.umd.js +61 -56
- package/package.json +1 -1
package/index.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var Lh = Object.defineProperty;
|
|
2
|
-
var
|
|
2
|
+
var ll = (e) => {
|
|
3
3
|
throw TypeError(e);
|
|
4
4
|
};
|
|
5
5
|
var Oh = (e, t, n) => t in e ? Lh(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
6
|
-
var Ln = (e, t, n) => Oh(e, typeof t != "symbol" ? t + "" : t, n), Ws = (e, t, n) => t.has(e) ||
|
|
7
|
-
var S = (e, t, n) => (Ws(e, t, "read from private field"), n ? n.call(e) : t.get(e)), se = (e, t, n) => t.has(e) ?
|
|
6
|
+
var Ln = (e, t, n) => Oh(e, typeof t != "symbol" ? t + "" : t, n), Ws = (e, t, n) => t.has(e) || ll("Cannot " + n);
|
|
7
|
+
var S = (e, t, n) => (Ws(e, t, "read from private field"), n ? n.call(e) : t.get(e)), se = (e, t, n) => t.has(e) ? ll("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), q = (e, t, n, r) => (Ws(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), ve = (e, t, n) => (Ws(e, t, "access private method"), n);
|
|
8
8
|
var ui = (e, t, n, r) => ({
|
|
9
9
|
set _(o) {
|
|
10
10
|
q(e, t, o, n);
|
|
@@ -14,10 +14,10 @@ var ui = (e, t, n, r) => ({
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
import * as F from "react";
|
|
17
|
-
import ye, { useState as
|
|
17
|
+
import ye, { useState as Z, useRef as Ce, useSyncExternalStore as Rh, useLayoutEffect as to, useEffect as pe, isValidElement as Or, cloneElement as xa, createContext as _d, useContext as $e, useCallback as _e, forwardRef as ds, useMemo as Pe, Component as Fh, Fragment as Ea, useReducer as Dh, Suspense as Td } from "react";
|
|
18
18
|
import { createPortal as qo } from "react-dom";
|
|
19
|
-
import { keyframes as Sd, styled as D, Stack as $, theme as X, IconButton as dt, Typography as le, Box as de, Tooltip as Ve, Button as it, icons as Bt, Menu as Nh, MenuItem as kh, ListItemIcon as Mh, brandIcons as Ld, Grid as Ph, Link as Ko, Skeleton as
|
|
20
|
-
var me = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {},
|
|
19
|
+
import { keyframes as Sd, styled as D, Stack as $, theme as X, IconButton as dt, Typography as le, Box as de, Tooltip as Ve, Button as it, icons as Bt, Menu as Nh, MenuItem as kh, ListItemIcon as Mh, brandIcons as Ld, Grid as Ph, Link as Ko, Skeleton as Ic, TableHead as jh, TableCell as fs, TableRow as Od, palette as Bh, Icon as Rd, DatePicker as Vh, DateTextField as Gh, InputAdornment as Hh, Checkbox as Wh, TextField as Zh, TableContainer as Uh, Table as Xh, TableBody as zh, Dialog as $h, Paper as Yh, HiverProvider as Fd, CircularProgress as Jh, FormControl as Qh, RadioGroup as qh, FormControlLabel as Kh, Radio as ep, tooltipClasses as Dd } from "@hiver/hiver-ui-kit";
|
|
20
|
+
var me = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ia = { exports: {} }, bo = {};
|
|
21
21
|
/**
|
|
22
22
|
* @license React
|
|
23
23
|
* react-jsx-runtime.production.min.js
|
|
@@ -27,10 +27,10 @@ var me = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
27
27
|
* This source code is licensed under the MIT license found in the
|
|
28
28
|
* LICENSE file in the root directory of this source tree.
|
|
29
29
|
*/
|
|
30
|
-
var
|
|
30
|
+
var ul;
|
|
31
31
|
function tp() {
|
|
32
|
-
if (
|
|
33
|
-
|
|
32
|
+
if (ul) return bo;
|
|
33
|
+
ul = 1;
|
|
34
34
|
var e = ye, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
35
35
|
function s(c, l, a) {
|
|
36
36
|
var u, h = {}, m = null, C = null;
|
|
@@ -51,9 +51,9 @@ var vo = {};
|
|
|
51
51
|
* This source code is licensed under the MIT license found in the
|
|
52
52
|
* LICENSE file in the root directory of this source tree.
|
|
53
53
|
*/
|
|
54
|
-
var
|
|
54
|
+
var dl;
|
|
55
55
|
function np() {
|
|
56
|
-
return
|
|
56
|
+
return dl || (dl = 1, process.env.NODE_ENV !== "production" && function() {
|
|
57
57
|
var e = ye, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), c = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), v = Symbol.iterator, d = "@@iterator";
|
|
58
58
|
function f(T) {
|
|
59
59
|
if (T === null || typeof T != "object")
|
|
@@ -143,13 +143,13 @@ function np() {
|
|
|
143
143
|
}
|
|
144
144
|
return null;
|
|
145
145
|
}
|
|
146
|
-
var j = Object.assign,
|
|
146
|
+
var j = Object.assign, U = 0, Y, te, J, z, ue, he, P;
|
|
147
147
|
function G() {
|
|
148
148
|
}
|
|
149
149
|
G.__reactDisabledLog = !0;
|
|
150
150
|
function B() {
|
|
151
151
|
{
|
|
152
|
-
if (
|
|
152
|
+
if (U === 0) {
|
|
153
153
|
Y = console.log, te = console.info, J = console.warn, z = console.error, ue = console.group, he = console.groupCollapsed, P = console.groupEnd;
|
|
154
154
|
var T = {
|
|
155
155
|
configurable: !0,
|
|
@@ -167,12 +167,12 @@ function np() {
|
|
|
167
167
|
groupEnd: T
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
-
|
|
170
|
+
U++;
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
function W() {
|
|
174
174
|
{
|
|
175
|
-
if (
|
|
175
|
+
if (U--, U === 0) {
|
|
176
176
|
var T = {
|
|
177
177
|
configurable: !0,
|
|
178
178
|
enumerable: !0,
|
|
@@ -202,7 +202,7 @@ function np() {
|
|
|
202
202
|
})
|
|
203
203
|
});
|
|
204
204
|
}
|
|
205
|
-
|
|
205
|
+
U < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
var K = p.ReactCurrentDispatcher, ne;
|
|
@@ -591,7 +591,7 @@ Check the top-level render call using <` + Q + ">.");
|
|
|
591
591
|
}
|
|
592
592
|
}
|
|
593
593
|
var mo = {};
|
|
594
|
-
function
|
|
594
|
+
function cl(T, V, Q, ge, Fe, je) {
|
|
595
595
|
{
|
|
596
596
|
var we = R(T);
|
|
597
597
|
if (!we) {
|
|
@@ -636,17 +636,17 @@ React keys must be passed directly to JSX without using spread:
|
|
|
636
636
|
}
|
|
637
637
|
}
|
|
638
638
|
function Ih(T, V, Q) {
|
|
639
|
-
return
|
|
639
|
+
return cl(T, V, Q, !0);
|
|
640
640
|
}
|
|
641
641
|
function wh(T, V, Q) {
|
|
642
|
-
return
|
|
642
|
+
return cl(T, V, Q, !1);
|
|
643
643
|
}
|
|
644
644
|
var Ah = wh, _h = Ih;
|
|
645
645
|
vo.Fragment = r, vo.jsx = Ah, vo.jsxs = _h;
|
|
646
646
|
}()), vo;
|
|
647
647
|
}
|
|
648
|
-
process.env.NODE_ENV === "production" ?
|
|
649
|
-
var g =
|
|
648
|
+
process.env.NODE_ENV === "production" ? Ia.exports = tp() : Ia.exports = np();
|
|
649
|
+
var g = Ia.exports;
|
|
650
650
|
function Nd(e) {
|
|
651
651
|
var t, n, r = "";
|
|
652
652
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
@@ -660,7 +660,7 @@ function Hn() {
|
|
|
660
660
|
for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = Nd(e)) && (r && (r += " "), r += t);
|
|
661
661
|
return r;
|
|
662
662
|
}
|
|
663
|
-
const No = (e) => typeof e == "number" && !isNaN(e), hr = (e) => typeof e == "string", Nt = (e) => typeof e == "function", Ei = (e) => hr(e) || Nt(e) ? e : null,
|
|
663
|
+
const No = (e) => typeof e == "number" && !isNaN(e), hr = (e) => typeof e == "string", Nt = (e) => typeof e == "function", Ei = (e) => hr(e) || Nt(e) ? e : null, wa = (e) => Or(e) || hr(e) || Nt(e) || No(e);
|
|
664
664
|
function rp(e, t, n) {
|
|
665
665
|
n === void 0 && (n = 300);
|
|
666
666
|
const { scrollHeight: r, style: o } = e;
|
|
@@ -688,12 +688,12 @@ function hs(e) {
|
|
|
688
688
|
}, [m]), ye.createElement(ye.Fragment, null, c);
|
|
689
689
|
};
|
|
690
690
|
}
|
|
691
|
-
function
|
|
691
|
+
function fl(e, t) {
|
|
692
692
|
return e != null ? { content: e.content, containerId: e.props.containerId, id: e.props.toastId, theme: e.props.theme, type: e.props.type, data: e.props.data || {}, isLoading: e.props.isLoading, icon: e.props.icon, status: t } : {};
|
|
693
693
|
}
|
|
694
694
|
const Ct = /* @__PURE__ */ new Map();
|
|
695
695
|
let ko = [];
|
|
696
|
-
const
|
|
696
|
+
const Aa = /* @__PURE__ */ new Set(), op = (e) => Aa.forEach((t) => t(e)), kd = () => Ct.size > 0;
|
|
697
697
|
function Md(e, t) {
|
|
698
698
|
var n;
|
|
699
699
|
if (t) return !((n = Ct.get(t)) == null || !n.isToastActive(e));
|
|
@@ -703,11 +703,11 @@ function Md(e, t) {
|
|
|
703
703
|
}), r;
|
|
704
704
|
}
|
|
705
705
|
function Pd(e, t) {
|
|
706
|
-
|
|
706
|
+
wa(e) && (kd() || ko.push({ content: e, options: t }), Ct.forEach((n) => {
|
|
707
707
|
n.buildToast(e, t);
|
|
708
708
|
}));
|
|
709
709
|
}
|
|
710
|
-
function
|
|
710
|
+
function hl(e, t) {
|
|
711
711
|
Ct.forEach((n) => {
|
|
712
712
|
t != null && t != null && t.containerId ? (t == null ? void 0 : t.containerId) === n.id && n.toggle(e, t == null ? void 0 : t.id) : n.toggle(e, t == null ? void 0 : t.id);
|
|
713
713
|
});
|
|
@@ -724,7 +724,7 @@ function ip(e) {
|
|
|
724
724
|
f = w == null ? [] : f.filter((_) => _ !== w), x();
|
|
725
725
|
}, A = (w) => {
|
|
726
726
|
const { toastId: _, onOpen: R, updateId: L, children: O } = w.props, N = L == null;
|
|
727
|
-
w.staleId && b.delete(w.staleId), b.set(_, w), f = [...f, w.props.toastId].filter((j) => j !== w.staleId), x(), m(
|
|
727
|
+
w.staleId && b.delete(w.staleId), b.set(_, w), f = [...f, w.props.toastId].filter((j) => j !== w.staleId), x(), m(fl(w, N ? "added" : "updated")), N && Nt(R) && R(Or(O) && O.props);
|
|
728
728
|
};
|
|
729
729
|
return { id: u, props: y, observe: (w) => (E.add(w), () => E.delete(w)), toggle: (w, _) => {
|
|
730
730
|
b.forEach((R) => {
|
|
@@ -738,21 +738,21 @@ function ip(e) {
|
|
|
738
738
|
const K = G ? G !== u : u !== 1, ne = b.has(B) && W == null;
|
|
739
739
|
return K || ne;
|
|
740
740
|
})(_)) return;
|
|
741
|
-
const { toastId: R, updateId: L, data: O, staleId: N, delay: j } = _,
|
|
741
|
+
const { toastId: R, updateId: L, data: O, staleId: N, delay: j } = _, U = () => {
|
|
742
742
|
I(R);
|
|
743
743
|
}, Y = L == null;
|
|
744
744
|
Y && v++;
|
|
745
745
|
const te = { ...y, style: y.toastStyle, key: C++, ...Object.fromEntries(Object.entries(_).filter((P) => {
|
|
746
746
|
let [G, B] = P;
|
|
747
747
|
return B != null;
|
|
748
|
-
})), toastId: R, updateId: L, data: O, closeToast:
|
|
748
|
+
})), toastId: R, updateId: L, data: O, closeToast: U, isIn: !1, className: Ei(_.className || y.toastClassName), bodyClassName: Ei(_.bodyClassName || y.bodyClassName), progressClassName: Ei(_.progressClassName || y.progressClassName), autoClose: !_.isLoading && (J = _.autoClose, z = y.autoClose, J === !1 || No(J) && J > 0 ? J : z), deleteToast() {
|
|
749
749
|
const P = b.get(R), { onClose: G, children: B } = P.props;
|
|
750
|
-
Nt(G) && G(Or(B) && B.props), m(
|
|
750
|
+
Nt(G) && G(Or(B) && B.props), m(fl(P, "removed")), b.delete(R), v--, v < 0 && (v = 0), d.length > 0 ? A(d.shift()) : x();
|
|
751
751
|
} };
|
|
752
752
|
var J, z;
|
|
753
|
-
te.closeButton = y.closeButton, _.closeButton === !1 ||
|
|
753
|
+
te.closeButton = y.closeButton, _.closeButton === !1 || wa(_.closeButton) ? te.closeButton = _.closeButton : _.closeButton === !0 && (te.closeButton = !wa(y.closeButton) || y.closeButton);
|
|
754
754
|
let ue = w;
|
|
755
|
-
Or(w) && !hr(w.type) ? ue =
|
|
755
|
+
Or(w) && !hr(w.type) ? ue = xa(w, { closeToast: U, toastProps: te, data: O }) : Nt(w) && (ue = w({ closeToast: U, toastProps: te, data: O }));
|
|
756
756
|
const he = { content: ue, props: te, staleId: N };
|
|
757
757
|
y.limit && y.limit > 0 && v > y.limit && Y ? d.push(he) : No(j) ? setTimeout(() => {
|
|
758
758
|
A(he);
|
|
@@ -788,7 +788,7 @@ function ip(e) {
|
|
|
788
788
|
}, isToastActive: Md, count: o == null ? void 0 : o.length };
|
|
789
789
|
}
|
|
790
790
|
function sp(e) {
|
|
791
|
-
const [t, n] =
|
|
791
|
+
const [t, n] = Z(!1), [r, o] = Z(!1), i = Ce(null), s = Ce({ start: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, didMove: !1 }).current, { autoClose: c, pauseOnHover: l, closeToast: a, onClick: u, closeOnClick: h } = e;
|
|
792
792
|
var m, C;
|
|
793
793
|
function v() {
|
|
794
794
|
n(!0);
|
|
@@ -897,10 +897,10 @@ ke.loading = (e, t) => Oo(e, Wi("default", { isLoading: !0, autoClose: !1, close
|
|
|
897
897
|
}, ke.done = (e) => {
|
|
898
898
|
ke.update(e, { progress: 1 });
|
|
899
899
|
}, ke.onChange = function(e) {
|
|
900
|
-
return
|
|
901
|
-
|
|
900
|
+
return Aa.add(e), () => {
|
|
901
|
+
Aa.delete(e);
|
|
902
902
|
};
|
|
903
|
-
}, ke.play = (e) =>
|
|
903
|
+
}, ke.play = (e) => hl(!0, e), ke.pause = (e) => hl(!1, e);
|
|
904
904
|
const up = typeof window < "u" ? to : pe, fi = (e) => {
|
|
905
905
|
let { theme: t, type: n, isLoading: r, ...o } = e;
|
|
906
906
|
return ye.createElement("svg", { viewBox: "0 0 24 24", width: "100%", height: "100%", fill: t === "colored" ? "currentColor" : `var(--toastify-icon-color-${n})`, ...o });
|
|
@@ -915,13 +915,13 @@ const up = typeof window < "u" ? to : pe, fi = (e) => {
|
|
|
915
915
|
}, spinner: function() {
|
|
916
916
|
return ye.createElement("div", { className: "Toastify__spinner" });
|
|
917
917
|
} }, dp = (e) => {
|
|
918
|
-
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o, playToast: i } = sp(e), { closeButton: s, children: c, autoClose: l, onClick: a, type: u, hideProgressBar: h, closeToast: m, transition: C, position: v, className: d, style: f, bodyClassName: p, bodyStyle: y, progressClassName: b, progressStyle: E, updateId: x, role: I, progress: A, rtl: w, toastId: _, deleteToast: R, isIn: L, isLoading: O, closeOnClick: N, theme: j } = e,
|
|
918
|
+
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o, playToast: i } = sp(e), { closeButton: s, children: c, autoClose: l, onClick: a, type: u, hideProgressBar: h, closeToast: m, transition: C, position: v, className: d, style: f, bodyClassName: p, bodyStyle: y, progressClassName: b, progressStyle: E, updateId: x, role: I, progress: A, rtl: w, toastId: _, deleteToast: R, isIn: L, isLoading: O, closeOnClick: N, theme: j } = e, U = Hn("Toastify__toast", `Toastify__toast-theme--${j}`, `Toastify__toast--${u}`, { "Toastify__toast--rtl": w }, { "Toastify__toast--close-on-click": N }), Y = Nt(d) ? d({ rtl: w, position: v, type: u, defaultClassName: U }) : Hn(U, d), te = function(he) {
|
|
919
919
|
let { theme: P, type: G, isLoading: B, icon: W } = he, K = null;
|
|
920
920
|
const ne = { theme: P, type: G };
|
|
921
|
-
return W === !1 || (Nt(W) ? K = W({ ...ne, isLoading: B }) : Or(W) ? K =
|
|
921
|
+
return W === !1 || (Nt(W) ? K = W({ ...ne, isLoading: B }) : Or(W) ? K = xa(W, ne) : B ? K = Zs.spinner() : ((ie) => ie in Zs)(G) && (K = Zs[G](ne))), K;
|
|
922
922
|
}(e), J = !!A || !l, z = { closeToast: m, type: u, theme: j };
|
|
923
923
|
let ue = null;
|
|
924
|
-
return s === !1 || (ue = Nt(s) ? s(z) : Or(s) ?
|
|
924
|
+
return s === !1 || (ue = Nt(s) ? s(z) : Or(s) ? xa(s, z) : function(he) {
|
|
925
925
|
let { closeToast: P, theme: G, ariaLabel: B = "close" } = he;
|
|
926
926
|
return ye.createElement("button", { className: `Toastify__close-button Toastify__close-button--${G}`, type: "button", onClick: (W) => {
|
|
927
927
|
W.stopPropagation(), P(W);
|
|
@@ -936,7 +936,7 @@ hs(ps("flip"));
|
|
|
936
936
|
const hp = { position: "top-right", transition: fp, autoClose: 5e3, closeButton: !0, pauseOnHover: !0, pauseOnFocusLoss: !0, draggable: "touch", draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light" };
|
|
937
937
|
function Bd(e) {
|
|
938
938
|
let t = { ...hp, ...e };
|
|
939
|
-
const n = e.stacked, [r, o] =
|
|
939
|
+
const n = e.stacked, [r, o] = Z(!0), i = Ce(null), { getToastToRender: s, isToastActive: c, count: l } = ip(t), { className: a, style: u, rtl: h, containerId: m } = t;
|
|
940
940
|
function C(d) {
|
|
941
941
|
const f = Hn("Toastify__toast-container", `Toastify__toast-container--${d}`, { "Toastify__toast-container--rtl": h });
|
|
942
942
|
return Nt(a) ? a({ position: d, rtl: h, defaultClassName: f }) : Hn(f, Ei(a));
|
|
@@ -966,10 +966,10 @@ function Bd(e) {
|
|
|
966
966
|
}));
|
|
967
967
|
}));
|
|
968
968
|
}
|
|
969
|
-
const
|
|
970
|
-
let
|
|
969
|
+
const _a = (e, t) => t.some((n) => e instanceof n);
|
|
970
|
+
let pl, gl;
|
|
971
971
|
function pp() {
|
|
972
|
-
return
|
|
972
|
+
return pl || (pl = [
|
|
973
973
|
IDBDatabase,
|
|
974
974
|
IDBObjectStore,
|
|
975
975
|
IDBIndex,
|
|
@@ -978,13 +978,13 @@ function pp() {
|
|
|
978
978
|
]);
|
|
979
979
|
}
|
|
980
980
|
function gp() {
|
|
981
|
-
return
|
|
981
|
+
return gl || (gl = [
|
|
982
982
|
IDBCursor.prototype.advance,
|
|
983
983
|
IDBCursor.prototype.continue,
|
|
984
984
|
IDBCursor.prototype.continuePrimaryKey
|
|
985
985
|
]);
|
|
986
986
|
}
|
|
987
|
-
const
|
|
987
|
+
const Ta = /* @__PURE__ */ new WeakMap(), Us = /* @__PURE__ */ new WeakMap(), gs = /* @__PURE__ */ new WeakMap();
|
|
988
988
|
function mp(e) {
|
|
989
989
|
const t = new Promise((n, r) => {
|
|
990
990
|
const o = () => {
|
|
@@ -999,7 +999,7 @@ function mp(e) {
|
|
|
999
999
|
return gs.set(t, e), t;
|
|
1000
1000
|
}
|
|
1001
1001
|
function bp(e) {
|
|
1002
|
-
if (
|
|
1002
|
+
if (Ta.has(e))
|
|
1003
1003
|
return;
|
|
1004
1004
|
const t = new Promise((n, r) => {
|
|
1005
1005
|
const o = () => {
|
|
@@ -1011,13 +1011,13 @@ function bp(e) {
|
|
|
1011
1011
|
};
|
|
1012
1012
|
e.addEventListener("complete", i), e.addEventListener("error", s), e.addEventListener("abort", s);
|
|
1013
1013
|
});
|
|
1014
|
-
|
|
1014
|
+
Ta.set(e, t);
|
|
1015
1015
|
}
|
|
1016
|
-
let
|
|
1016
|
+
let Sa = {
|
|
1017
1017
|
get(e, t, n) {
|
|
1018
1018
|
if (e instanceof IDBTransaction) {
|
|
1019
1019
|
if (t === "done")
|
|
1020
|
-
return
|
|
1020
|
+
return Ta.get(e);
|
|
1021
1021
|
if (t === "store")
|
|
1022
1022
|
return n.objectStoreNames[1] ? void 0 : n.objectStore(n.objectStoreNames[0]);
|
|
1023
1023
|
}
|
|
@@ -1031,17 +1031,17 @@ let La = {
|
|
|
1031
1031
|
}
|
|
1032
1032
|
};
|
|
1033
1033
|
function Vd(e) {
|
|
1034
|
-
|
|
1034
|
+
Sa = e(Sa);
|
|
1035
1035
|
}
|
|
1036
1036
|
function vp(e) {
|
|
1037
1037
|
return gp().includes(e) ? function(...t) {
|
|
1038
|
-
return e.apply(
|
|
1038
|
+
return e.apply(La(this), t), pr(this.request);
|
|
1039
1039
|
} : function(...t) {
|
|
1040
|
-
return pr(e.apply(
|
|
1040
|
+
return pr(e.apply(La(this), t));
|
|
1041
1041
|
};
|
|
1042
1042
|
}
|
|
1043
1043
|
function yp(e) {
|
|
1044
|
-
return typeof e == "function" ? vp(e) : (e instanceof IDBTransaction && bp(e),
|
|
1044
|
+
return typeof e == "function" ? vp(e) : (e instanceof IDBTransaction && bp(e), _a(e, pp()) ? new Proxy(e, Sa) : e);
|
|
1045
1045
|
}
|
|
1046
1046
|
function pr(e) {
|
|
1047
1047
|
if (e instanceof IDBRequest)
|
|
@@ -1051,7 +1051,7 @@ function pr(e) {
|
|
|
1051
1051
|
const t = yp(e);
|
|
1052
1052
|
return t !== e && (Us.set(e, t), gs.set(t, e)), t;
|
|
1053
1053
|
}
|
|
1054
|
-
const
|
|
1054
|
+
const La = (e) => gs.get(e);
|
|
1055
1055
|
function Cp(e, t, { blocked: n, upgrade: r, blocking: o, terminated: i } = {}) {
|
|
1056
1056
|
const s = indexedDB.open(e, t), c = pr(s);
|
|
1057
1057
|
return r && s.addEventListener("upgradeneeded", (l) => {
|
|
@@ -1067,7 +1067,7 @@ function Cp(e, t, { blocked: n, upgrade: r, blocking: o, terminated: i } = {}) {
|
|
|
1067
1067
|
}), c;
|
|
1068
1068
|
}
|
|
1069
1069
|
const xp = ["get", "getKey", "getAll", "getAllKeys", "count"], Ep = ["put", "add", "delete", "clear"], Xs = /* @__PURE__ */ new Map();
|
|
1070
|
-
function
|
|
1070
|
+
function ml(e, t) {
|
|
1071
1071
|
if (!(e instanceof IDBDatabase && !(t in e) && typeof t == "string"))
|
|
1072
1072
|
return;
|
|
1073
1073
|
if (Xs.get(t))
|
|
@@ -1090,16 +1090,16 @@ function bl(e, t) {
|
|
|
1090
1090
|
}
|
|
1091
1091
|
Vd((e) => ({
|
|
1092
1092
|
...e,
|
|
1093
|
-
get: (t, n, r) =>
|
|
1094
|
-
has: (t, n) => !!
|
|
1093
|
+
get: (t, n, r) => ml(t, n) || e.get(t, n, r),
|
|
1094
|
+
has: (t, n) => !!ml(t, n) || e.has(t, n)
|
|
1095
1095
|
}));
|
|
1096
|
-
const Ip = ["continue", "continuePrimaryKey", "advance"],
|
|
1096
|
+
const Ip = ["continue", "continuePrimaryKey", "advance"], bl = {}, Oa = /* @__PURE__ */ new WeakMap(), Gd = /* @__PURE__ */ new WeakMap(), wp = {
|
|
1097
1097
|
get(e, t) {
|
|
1098
1098
|
if (!Ip.includes(t))
|
|
1099
1099
|
return e[t];
|
|
1100
|
-
let n =
|
|
1101
|
-
return n || (n =
|
|
1102
|
-
|
|
1100
|
+
let n = bl[t];
|
|
1101
|
+
return n || (n = bl[t] = function(...r) {
|
|
1102
|
+
Oa.set(this, Gd.get(this)[t](...r));
|
|
1103
1103
|
}), n;
|
|
1104
1104
|
}
|
|
1105
1105
|
};
|
|
@@ -1109,24 +1109,24 @@ async function* Ap(...e) {
|
|
|
1109
1109
|
return;
|
|
1110
1110
|
t = t;
|
|
1111
1111
|
const n = new Proxy(t, wp);
|
|
1112
|
-
for (Gd.set(n, t), gs.set(n,
|
|
1113
|
-
yield n, t = await (
|
|
1112
|
+
for (Gd.set(n, t), gs.set(n, La(t)); t; )
|
|
1113
|
+
yield n, t = await (Oa.get(n) || t.continue()), Oa.delete(n);
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1116
|
-
return t === Symbol.asyncIterator &&
|
|
1115
|
+
function vl(e, t) {
|
|
1116
|
+
return t === Symbol.asyncIterator && _a(e, [IDBIndex, IDBObjectStore, IDBCursor]) || t === "iterate" && _a(e, [IDBIndex, IDBObjectStore]);
|
|
1117
1117
|
}
|
|
1118
1118
|
Vd((e) => ({
|
|
1119
1119
|
...e,
|
|
1120
1120
|
get(t, n, r) {
|
|
1121
|
-
return
|
|
1121
|
+
return vl(t, n) ? Ap : e.get(t, n, r);
|
|
1122
1122
|
},
|
|
1123
1123
|
has(t, n) {
|
|
1124
|
-
return
|
|
1124
|
+
return vl(t, n) || e.has(t, n);
|
|
1125
1125
|
}
|
|
1126
1126
|
}));
|
|
1127
1127
|
const _p = "connector-db", Tp = 1, ms = {
|
|
1128
1128
|
FEEDBACK: "feedback"
|
|
1129
|
-
}, Mo = `${ms.FEEDBACK}:data`, Zi = `${ms.FEEDBACK}:last_submitted`, Po = `${ms.FEEDBACK}:capture_on_demand`, jo = `${ms.FEEDBACK}:show_notification`, Sp = 12 * 60 * 60 * 1e3,
|
|
1129
|
+
}, Mo = `${ms.FEEDBACK}:data`, Zi = `${ms.FEEDBACK}:last_submitted`, Po = `${ms.FEEDBACK}:capture_on_demand`, jo = `${ms.FEEDBACK}:show_notification`, Sp = 12 * 60 * 60 * 1e3, Ra = (e, t = /* @__PURE__ */ new Date()) => e ? Math.abs(t.getTime() - e.getTime()) >= Sp : !0, Hd = (e, t = !1) => e.captureFeedback && (Ra(e.firstViewed) && (!e.lastSubmittedFeedback || Ra(e.lastSubmittedFeedback)) || !!t);
|
|
1130
1130
|
let Kn = null;
|
|
1131
1131
|
const Un = async () => {
|
|
1132
1132
|
try {
|
|
@@ -1148,7 +1148,7 @@ const Un = async () => {
|
|
|
1148
1148
|
console.error("Error opening IndexedDB connection:", e);
|
|
1149
1149
|
}
|
|
1150
1150
|
return Kn;
|
|
1151
|
-
},
|
|
1151
|
+
}, wc = async (e) => {
|
|
1152
1152
|
if (!e) return [];
|
|
1153
1153
|
const t = await Un();
|
|
1154
1154
|
if (!t) return [];
|
|
@@ -1190,7 +1190,7 @@ const Un = async () => {
|
|
|
1190
1190
|
const n = await Un();
|
|
1191
1191
|
if (n)
|
|
1192
1192
|
try {
|
|
1193
|
-
const r = await
|
|
1193
|
+
const r = await wc(e), o = new Set(r.map((s) => s.connectorId)), i = t.filter((s) => !o.has(s.connector_id)).map((s) => ({
|
|
1194
1194
|
connectorId: s.connector_id,
|
|
1195
1195
|
captureFeedback: !0,
|
|
1196
1196
|
firstViewed: /* @__PURE__ */ new Date()
|
|
@@ -1207,7 +1207,7 @@ const Un = async () => {
|
|
|
1207
1207
|
const t = await Un();
|
|
1208
1208
|
if (t)
|
|
1209
1209
|
try {
|
|
1210
|
-
const n = await
|
|
1210
|
+
const n = await wc(e), r = await bs(e), o = /* @__PURE__ */ new Date(), i = n.map((s) => {
|
|
1211
1211
|
const c = Hd(s, r);
|
|
1212
1212
|
return {
|
|
1213
1213
|
...s,
|
|
@@ -1220,7 +1220,7 @@ const Un = async () => {
|
|
|
1220
1220
|
} catch (n) {
|
|
1221
1221
|
console.error("Error updating feedback submission date:", n);
|
|
1222
1222
|
}
|
|
1223
|
-
},
|
|
1223
|
+
}, yl = async (e, t) => {
|
|
1224
1224
|
if (!e) return;
|
|
1225
1225
|
const n = await Un();
|
|
1226
1226
|
if (n)
|
|
@@ -1239,30 +1239,30 @@ const Un = async () => {
|
|
|
1239
1239
|
console.error("Error resetting show notification status:", n);
|
|
1240
1240
|
}
|
|
1241
1241
|
}, Np = async (e) => {
|
|
1242
|
-
const t = await
|
|
1242
|
+
const t = await wc(e), n = await bs(e);
|
|
1243
1243
|
return t.filter(
|
|
1244
1244
|
(o) => Hd(o, n)
|
|
1245
1245
|
);
|
|
1246
1246
|
}, Wd = async (e) => {
|
|
1247
1247
|
const t = await Lp(e);
|
|
1248
|
-
return t && !
|
|
1248
|
+
return t && !Ra(t) ? !1 : await bs(e) && !t ? !0 : !!(await Np(e)).length;
|
|
1249
1249
|
}, jI = async (e, t) => {
|
|
1250
1250
|
await Rp(e, t);
|
|
1251
1251
|
}, Ii = async (e) => {
|
|
1252
1252
|
e && await Fp(e);
|
|
1253
1253
|
}, BI = async (e, t) => {
|
|
1254
1254
|
const n = await bs(e);
|
|
1255
|
-
t ? n !== !1 && await
|
|
1255
|
+
t ? n !== !1 && await yl(e, t) : await yl(e, void 0);
|
|
1256
1256
|
}, kp = async (e) => await Op(e) && await Wd(e), Mp = async (e) => {
|
|
1257
1257
|
await Dp(e);
|
|
1258
1258
|
};
|
|
1259
|
-
var
|
|
1259
|
+
var Fa = {}, er = {};
|
|
1260
1260
|
function Zd(e, t) {
|
|
1261
1261
|
return function() {
|
|
1262
1262
|
return e.apply(t, arguments);
|
|
1263
1263
|
};
|
|
1264
1264
|
}
|
|
1265
|
-
const { toString: Pp } = Object.prototype, { getPrototypeOf:
|
|
1265
|
+
const { toString: Pp } = Object.prototype, { getPrototypeOf: Ac } = Object, vs = /* @__PURE__ */ ((e) => (t) => {
|
|
1266
1266
|
const n = Pp.call(t);
|
|
1267
1267
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
1268
1268
|
})(/* @__PURE__ */ Object.create(null)), Kt = (e) => (e = e.toLowerCase(), (t) => vs(t) === e), ys = (e) => (t) => typeof t === e, { isArray: no } = Array, Bo = ys("undefined");
|
|
@@ -1277,7 +1277,7 @@ function Bp(e) {
|
|
|
1277
1277
|
const Vp = ys("string"), Pt = ys("function"), Xd = ys("number"), Cs = (e) => e !== null && typeof e == "object", Gp = (e) => e === !0 || e === !1, wi = (e) => {
|
|
1278
1278
|
if (vs(e) !== "object")
|
|
1279
1279
|
return !1;
|
|
1280
|
-
const t =
|
|
1280
|
+
const t = Ac(e);
|
|
1281
1281
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
1282
1282
|
}, Hp = Kt("Date"), Wp = Kt("File"), Zp = Kt("Blob"), Up = Kt("FileList"), Xp = (e) => Cs(e) && Pt(e.pipe), zp = (e) => {
|
|
1283
1283
|
let t;
|
|
@@ -1308,10 +1308,10 @@ function zd(e, t) {
|
|
|
1308
1308
|
return null;
|
|
1309
1309
|
}
|
|
1310
1310
|
const or = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : me, $d = (e) => !Bo(e) && e !== or;
|
|
1311
|
-
function
|
|
1311
|
+
function Da() {
|
|
1312
1312
|
const { caseless: e } = $d(this) && this || {}, t = {}, n = (r, o) => {
|
|
1313
1313
|
const i = e && zd(t, o) || o;
|
|
1314
|
-
wi(t[i]) && wi(r) ? t[i] =
|
|
1314
|
+
wi(t[i]) && wi(r) ? t[i] = Da(t[i], r) : wi(r) ? t[i] = Da({}, r) : no(r) ? t[i] = r.slice() : t[i] = r;
|
|
1315
1315
|
};
|
|
1316
1316
|
for (let r = 0, o = arguments.length; r < o; r++)
|
|
1317
1317
|
arguments[r] && ei(arguments[r], n);
|
|
@@ -1330,7 +1330,7 @@ const e2 = (e, t, n, { allOwnKeys: r } = {}) => (ei(t, (o, i) => {
|
|
|
1330
1330
|
do {
|
|
1331
1331
|
for (o = Object.getOwnPropertyNames(e), i = o.length; i-- > 0; )
|
|
1332
1332
|
s = o[i], (!r || r(s, e, t)) && !c[s] && (t[s] = e[s], c[s] = !0);
|
|
1333
|
-
e = n !== !1 &&
|
|
1333
|
+
e = n !== !1 && Ac(e);
|
|
1334
1334
|
} while (e && (!n || n(e, t)) && e !== Object.prototype);
|
|
1335
1335
|
return t;
|
|
1336
1336
|
}, o2 = (e, t, n) => {
|
|
@@ -1346,7 +1346,7 @@ const e2 = (e, t, n, { allOwnKeys: r } = {}) => (ei(t, (o, i) => {
|
|
|
1346
1346
|
for (; t-- > 0; )
|
|
1347
1347
|
n[t] = e[t];
|
|
1348
1348
|
return n;
|
|
1349
|
-
}, s2 = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" &&
|
|
1349
|
+
}, s2 = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Ac(Uint8Array)), a2 = (e, t) => {
|
|
1350
1350
|
const r = (e && e[Symbol.iterator]).call(e);
|
|
1351
1351
|
let o;
|
|
1352
1352
|
for (; (o = r.next()) && !o.done; ) {
|
|
@@ -1364,7 +1364,7 @@ const e2 = (e, t, n, { allOwnKeys: r } = {}) => (ei(t, (o, i) => {
|
|
|
1364
1364
|
function(n, r, o) {
|
|
1365
1365
|
return r.toUpperCase() + o;
|
|
1366
1366
|
}
|
|
1367
|
-
),
|
|
1367
|
+
), Cl = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), d2 = Kt("RegExp"), Yd = (e, t) => {
|
|
1368
1368
|
const n = Object.getOwnPropertyDescriptors(e), r = {};
|
|
1369
1369
|
ei(n, (o, i) => {
|
|
1370
1370
|
let s;
|
|
@@ -1393,10 +1393,10 @@ const e2 = (e, t, n, { allOwnKeys: r } = {}) => (ei(t, (o, i) => {
|
|
|
1393
1393
|
};
|
|
1394
1394
|
return no(e) ? r(e) : r(String(e).split(t)), n;
|
|
1395
1395
|
}, p2 = () => {
|
|
1396
|
-
}, g2 = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, zs = "abcdefghijklmnopqrstuvwxyz",
|
|
1397
|
-
DIGIT:
|
|
1396
|
+
}, g2 = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, zs = "abcdefghijklmnopqrstuvwxyz", xl = "0123456789", Jd = {
|
|
1397
|
+
DIGIT: xl,
|
|
1398
1398
|
ALPHA: zs,
|
|
1399
|
-
ALPHA_DIGIT: zs + zs.toUpperCase() +
|
|
1399
|
+
ALPHA_DIGIT: zs + zs.toUpperCase() + xl
|
|
1400
1400
|
}, m2 = (e = 16, t = Jd.ALPHA_DIGIT) => {
|
|
1401
1401
|
let n = "";
|
|
1402
1402
|
const { length: r } = t;
|
|
@@ -1458,7 +1458,7 @@ var k = {
|
|
|
1458
1458
|
isTypedArray: s2,
|
|
1459
1459
|
isFileList: Up,
|
|
1460
1460
|
forEach: ei,
|
|
1461
|
-
merge:
|
|
1461
|
+
merge: Da,
|
|
1462
1462
|
extend: e2,
|
|
1463
1463
|
trim: Kp,
|
|
1464
1464
|
stripBOM: t2,
|
|
@@ -1471,8 +1471,8 @@ var k = {
|
|
|
1471
1471
|
forEachEntry: a2,
|
|
1472
1472
|
matchAll: c2,
|
|
1473
1473
|
isHTMLForm: l2,
|
|
1474
|
-
hasOwnProperty:
|
|
1475
|
-
hasOwnProp:
|
|
1474
|
+
hasOwnProperty: Cl,
|
|
1475
|
+
hasOwnProp: Cl,
|
|
1476
1476
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
1477
1477
|
reduceDescriptors: Yd,
|
|
1478
1478
|
freezeMethods: f2,
|
|
@@ -1543,19 +1543,19 @@ be.from = (e, t, n, r, o, i) => {
|
|
|
1543
1543
|
}, (c) => c !== "isAxiosError"), be.call(s, e.message, t, n, r, o), s.cause = e, s.name = e.name, i && Object.assign(s, i), s;
|
|
1544
1544
|
};
|
|
1545
1545
|
var E2 = null;
|
|
1546
|
-
function
|
|
1546
|
+
function Na(e) {
|
|
1547
1547
|
return k.isPlainObject(e) || k.isArray(e);
|
|
1548
1548
|
}
|
|
1549
1549
|
function e0(e) {
|
|
1550
1550
|
return k.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
1551
1551
|
}
|
|
1552
|
-
function
|
|
1552
|
+
function El(e, t, n) {
|
|
1553
1553
|
return e ? e.concat(t).map(function(o, i) {
|
|
1554
1554
|
return o = e0(o), !n && i ? "[" + o + "]" : o;
|
|
1555
1555
|
}).join(n ? "." : "") : t;
|
|
1556
1556
|
}
|
|
1557
1557
|
function I2(e) {
|
|
1558
|
-
return k.isArray(e) && !e.some(
|
|
1558
|
+
return k.isArray(e) && !e.some(Na);
|
|
1559
1559
|
}
|
|
1560
1560
|
const w2 = k.toFlatObject(k, {}, null, function(t) {
|
|
1561
1561
|
return /^is[A-Z]/.test(t);
|
|
@@ -1590,17 +1590,17 @@ function xs(e, t, n) {
|
|
|
1590
1590
|
return d = e0(d), p.forEach(function(b, E) {
|
|
1591
1591
|
!(k.isUndefined(b) || b === null) && t.append(
|
|
1592
1592
|
// eslint-disable-next-line no-nested-ternary
|
|
1593
|
-
s === !0 ?
|
|
1593
|
+
s === !0 ? El([d], E, i) : s === null ? d : d + "[]",
|
|
1594
1594
|
a(b)
|
|
1595
1595
|
);
|
|
1596
1596
|
}), !1;
|
|
1597
1597
|
}
|
|
1598
|
-
return
|
|
1598
|
+
return Na(v) ? !0 : (t.append(El(f, d, i), a(v)), !1);
|
|
1599
1599
|
}
|
|
1600
1600
|
const h = [], m = Object.assign(w2, {
|
|
1601
1601
|
defaultVisitor: u,
|
|
1602
1602
|
convertValue: a,
|
|
1603
|
-
isVisitable:
|
|
1603
|
+
isVisitable: Na
|
|
1604
1604
|
});
|
|
1605
1605
|
function C(v, d) {
|
|
1606
1606
|
if (!k.isUndefined(v)) {
|
|
@@ -1621,7 +1621,7 @@ function xs(e, t, n) {
|
|
|
1621
1621
|
throw new TypeError("data must be an object");
|
|
1622
1622
|
return C(e), t;
|
|
1623
1623
|
}
|
|
1624
|
-
function
|
|
1624
|
+
function Il(e) {
|
|
1625
1625
|
const t = {
|
|
1626
1626
|
"!": "%21",
|
|
1627
1627
|
"'": "%27",
|
|
@@ -1635,17 +1635,17 @@ function wl(e) {
|
|
|
1635
1635
|
return t[r];
|
|
1636
1636
|
});
|
|
1637
1637
|
}
|
|
1638
|
-
function
|
|
1638
|
+
function _c(e, t) {
|
|
1639
1639
|
this._pairs = [], e && xs(e, this, t);
|
|
1640
1640
|
}
|
|
1641
|
-
const t0 =
|
|
1641
|
+
const t0 = _c.prototype;
|
|
1642
1642
|
t0.append = function(t, n) {
|
|
1643
1643
|
this._pairs.push([t, n]);
|
|
1644
1644
|
};
|
|
1645
1645
|
t0.toString = function(t) {
|
|
1646
1646
|
const n = t ? function(r) {
|
|
1647
|
-
return t.call(this, r,
|
|
1648
|
-
} :
|
|
1647
|
+
return t.call(this, r, Il);
|
|
1648
|
+
} : Il;
|
|
1649
1649
|
return this._pairs.map(function(o) {
|
|
1650
1650
|
return n(o[0]) + "=" + n(o[1]);
|
|
1651
1651
|
}, "").join("&");
|
|
@@ -1658,7 +1658,7 @@ function n0(e, t, n) {
|
|
|
1658
1658
|
return e;
|
|
1659
1659
|
const r = n && n.encode || A2, o = n && n.serialize;
|
|
1660
1660
|
let i;
|
|
1661
|
-
if (o ? i = o(t, n) : i = k.isURLSearchParams(t) ? t.toString() : new
|
|
1661
|
+
if (o ? i = o(t, n) : i = k.isURLSearchParams(t) ? t.toString() : new _c(t, n).toString(r), i) {
|
|
1662
1662
|
const s = e.indexOf("#");
|
|
1663
1663
|
s !== -1 && (e = e.slice(0, s)), e += (e.indexOf("?") === -1 ? "?" : "&") + i;
|
|
1664
1664
|
}
|
|
@@ -1718,11 +1718,11 @@ class _2 {
|
|
|
1718
1718
|
});
|
|
1719
1719
|
}
|
|
1720
1720
|
}
|
|
1721
|
-
var
|
|
1721
|
+
var wl = _2, r0 = {
|
|
1722
1722
|
silentJSONParsing: !0,
|
|
1723
1723
|
forcedJSONParsing: !0,
|
|
1724
1724
|
clarifyTimeoutError: !1
|
|
1725
|
-
}, T2 = typeof URLSearchParams < "u" ? URLSearchParams :
|
|
1725
|
+
}, T2 = typeof URLSearchParams < "u" ? URLSearchParams : _c, S2 = typeof FormData < "u" ? FormData : null, L2 = typeof Blob < "u" ? Blob : null, O2 = {
|
|
1726
1726
|
isBrowser: !0,
|
|
1727
1727
|
classes: {
|
|
1728
1728
|
URLSearchParams: T2,
|
|
@@ -1731,14 +1731,14 @@ var Al = _2, r0 = {
|
|
|
1731
1731
|
},
|
|
1732
1732
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
1733
1733
|
};
|
|
1734
|
-
const
|
|
1735
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", D2 =
|
|
1734
|
+
const Tc = typeof window < "u" && typeof document < "u", ka = typeof navigator == "object" && navigator || void 0, R2 = Tc && (!ka || ["ReactNative", "NativeScript", "NS"].indexOf(ka.product) < 0), F2 = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
1735
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", D2 = Tc && window.location.href || "http://localhost";
|
|
1736
1736
|
var N2 = /* @__PURE__ */ Object.freeze({
|
|
1737
1737
|
__proto__: null,
|
|
1738
|
-
hasBrowserEnv:
|
|
1738
|
+
hasBrowserEnv: Tc,
|
|
1739
1739
|
hasStandardBrowserWebWorkerEnv: F2,
|
|
1740
1740
|
hasStandardBrowserEnv: R2,
|
|
1741
|
-
navigator:
|
|
1741
|
+
navigator: ka,
|
|
1742
1742
|
origin: D2
|
|
1743
1743
|
}), Rt = {
|
|
1744
1744
|
...N2,
|
|
@@ -1788,7 +1788,7 @@ function j2(e, t, n) {
|
|
|
1788
1788
|
}
|
|
1789
1789
|
return (0, JSON.stringify)(e);
|
|
1790
1790
|
}
|
|
1791
|
-
const
|
|
1791
|
+
const Sc = {
|
|
1792
1792
|
transitional: r0,
|
|
1793
1793
|
adapter: ["xhr", "http", "fetch"],
|
|
1794
1794
|
transformRequest: [function(t, n) {
|
|
@@ -1817,7 +1817,7 @@ const Lc = {
|
|
|
1817
1817
|
return i || o ? (n.setContentType("application/json", !1), j2(t)) : t;
|
|
1818
1818
|
}],
|
|
1819
1819
|
transformResponse: [function(t) {
|
|
1820
|
-
const n = this.transitional ||
|
|
1820
|
+
const n = this.transitional || Sc.transitional, r = n && n.forcedJSONParsing, o = this.responseType === "json";
|
|
1821
1821
|
if (k.isResponse(t) || k.isReadableStream(t))
|
|
1822
1822
|
return t;
|
|
1823
1823
|
if (t && k.isString(t) && (r && !this.responseType || o)) {
|
|
@@ -1855,9 +1855,9 @@ const Lc = {
|
|
|
1855
1855
|
}
|
|
1856
1856
|
};
|
|
1857
1857
|
k.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
1858
|
-
|
|
1858
|
+
Sc.headers[e] = {};
|
|
1859
1859
|
});
|
|
1860
|
-
var
|
|
1860
|
+
var Lc = Sc;
|
|
1861
1861
|
const B2 = k.toObjectSet([
|
|
1862
1862
|
"age",
|
|
1863
1863
|
"authorization",
|
|
@@ -1885,7 +1885,7 @@ var V2 = (e) => {
|
|
|
1885
1885
|
o = s.indexOf(":"), n = s.substring(0, o).trim().toLowerCase(), r = s.substring(o + 1).trim(), !(!n || t[n] && B2[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
|
|
1886
1886
|
}), t;
|
|
1887
1887
|
};
|
|
1888
|
-
const
|
|
1888
|
+
const Al = Symbol("internals");
|
|
1889
1889
|
function yo(e) {
|
|
1890
1890
|
return e && String(e).trim().toLowerCase();
|
|
1891
1891
|
}
|
|
@@ -2032,7 +2032,7 @@ class Es {
|
|
|
2032
2032
|
return n.forEach((o) => r.set(o)), r;
|
|
2033
2033
|
}
|
|
2034
2034
|
static accessor(t) {
|
|
2035
|
-
const r = (this[
|
|
2035
|
+
const r = (this[Al] = this[Al] = {
|
|
2036
2036
|
accessors: {}
|
|
2037
2037
|
}).accessors, o = this.prototype;
|
|
2038
2038
|
function i(s) {
|
|
@@ -2055,7 +2055,7 @@ k.reduceDescriptors(Es.prototype, ({ value: e }, t) => {
|
|
|
2055
2055
|
k.freezeMethods(Es);
|
|
2056
2056
|
var qt = Es;
|
|
2057
2057
|
function Ys(e, t) {
|
|
2058
|
-
const n = this ||
|
|
2058
|
+
const n = this || Lc, r = t || n, o = qt.from(r.headers);
|
|
2059
2059
|
let i = r.data;
|
|
2060
2060
|
return k.forEach(e, function(c) {
|
|
2061
2061
|
i = c.call(n, i, o.normalize(), t ? t.status : void 0);
|
|
@@ -2131,14 +2131,14 @@ const Ui = (e, t, n = 3) => {
|
|
|
2131
2131
|
};
|
|
2132
2132
|
e(h);
|
|
2133
2133
|
}, n);
|
|
2134
|
-
},
|
|
2134
|
+
}, _l = (e, t) => {
|
|
2135
2135
|
const n = e != null;
|
|
2136
2136
|
return [(r) => t[0]({
|
|
2137
2137
|
lengthComputable: n,
|
|
2138
2138
|
total: e,
|
|
2139
2139
|
loaded: r
|
|
2140
2140
|
}), t[1]];
|
|
2141
|
-
},
|
|
2141
|
+
}, Tl = (e) => (...t) => k.asap(() => e(...t));
|
|
2142
2142
|
var $2 = Rt.hasStandardBrowserEnv ? (
|
|
2143
2143
|
// Standard browser envs have full support of the APIs needed to test
|
|
2144
2144
|
// whether the request URL is of the same origin as current location.
|
|
@@ -2206,7 +2206,7 @@ function Q2(e, t) {
|
|
|
2206
2206
|
function a0(e, t) {
|
|
2207
2207
|
return e && !J2(t) ? Q2(e, t) : t;
|
|
2208
2208
|
}
|
|
2209
|
-
const
|
|
2209
|
+
const Sl = (e) => e instanceof qt ? { ...e } : e;
|
|
2210
2210
|
function br(e, t) {
|
|
2211
2211
|
t = t || {};
|
|
2212
2212
|
const n = {};
|
|
@@ -2264,7 +2264,7 @@ function br(e, t) {
|
|
|
2264
2264
|
socketPath: s,
|
|
2265
2265
|
responseEncoding: s,
|
|
2266
2266
|
validateStatus: c,
|
|
2267
|
-
headers: (a, u) => o(
|
|
2267
|
+
headers: (a, u) => o(Sl(a), Sl(u), !0)
|
|
2268
2268
|
};
|
|
2269
2269
|
return k.forEach(Object.keys(Object.assign({}, e, t)), function(u) {
|
|
2270
2270
|
const h = l[u] || o, m = h(e[u], t[u], u);
|
|
@@ -2405,7 +2405,7 @@ const ng = function* (e, t) {
|
|
|
2405
2405
|
} finally {
|
|
2406
2406
|
await t.cancel();
|
|
2407
2407
|
}
|
|
2408
|
-
},
|
|
2408
|
+
}, Ll = (e, t, n, r) => {
|
|
2409
2409
|
const o = rg(e, t);
|
|
2410
2410
|
let i = 0, s, c = (l) => {
|
|
2411
2411
|
s || (s = !0, r && r(l));
|
|
@@ -2450,8 +2450,8 @@ const ng = function* (e, t) {
|
|
|
2450
2450
|
}
|
|
2451
2451
|
}).headers.has("Content-Type");
|
|
2452
2452
|
return e && !t;
|
|
2453
|
-
}),
|
|
2454
|
-
stream:
|
|
2453
|
+
}), Ol = 64 * 1024, Ma = l0 && u0(() => k.isReadableStream(new Response("").body)), Xi = {
|
|
2454
|
+
stream: Ma && ((e) => e.body)
|
|
2455
2455
|
};
|
|
2456
2456
|
Is && ((e) => {
|
|
2457
2457
|
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
|
|
@@ -2507,11 +2507,11 @@ var lg = Is && (async (e) => {
|
|
|
2507
2507
|
duplex: "half"
|
|
2508
2508
|
}), I;
|
|
2509
2509
|
if (k.isFormData(r) && (I = x.headers.get("content-type")) && u.setContentType(I), x.body) {
|
|
2510
|
-
const [A, w] =
|
|
2510
|
+
const [A, w] = _l(
|
|
2511
2511
|
f,
|
|
2512
|
-
Ui(
|
|
2512
|
+
Ui(Tl(l))
|
|
2513
2513
|
);
|
|
2514
|
-
r =
|
|
2514
|
+
r = Ll(x.body, Ol, A, w);
|
|
2515
2515
|
}
|
|
2516
2516
|
}
|
|
2517
2517
|
k.isString(h) || (h = h ? "include" : "omit");
|
|
@@ -2526,18 +2526,18 @@ var lg = Is && (async (e) => {
|
|
|
2526
2526
|
credentials: p ? h : void 0
|
|
2527
2527
|
});
|
|
2528
2528
|
let y = await fetch(v);
|
|
2529
|
-
const b =
|
|
2530
|
-
if (
|
|
2529
|
+
const b = Ma && (a === "stream" || a === "response");
|
|
2530
|
+
if (Ma && (c || b && d)) {
|
|
2531
2531
|
const x = {};
|
|
2532
2532
|
["status", "statusText", "headers"].forEach((_) => {
|
|
2533
2533
|
x[_] = y[_];
|
|
2534
2534
|
});
|
|
2535
|
-
const I = k.toFiniteNumber(y.headers.get("content-length")), [A, w] = c &&
|
|
2535
|
+
const I = k.toFiniteNumber(y.headers.get("content-length")), [A, w] = c && _l(
|
|
2536
2536
|
I,
|
|
2537
|
-
Ui(
|
|
2537
|
+
Ui(Tl(c), !0)
|
|
2538
2538
|
) || [];
|
|
2539
2539
|
y = new Response(
|
|
2540
|
-
|
|
2540
|
+
Ll(y.body, Ol, A, () => {
|
|
2541
2541
|
w && w(), d && d();
|
|
2542
2542
|
}),
|
|
2543
2543
|
x
|
|
@@ -2564,12 +2564,12 @@ var lg = Is && (async (e) => {
|
|
|
2564
2564
|
) : be.from(p, p && p.code, e, v);
|
|
2565
2565
|
}
|
|
2566
2566
|
});
|
|
2567
|
-
const
|
|
2567
|
+
const Pa = {
|
|
2568
2568
|
http: E2,
|
|
2569
2569
|
xhr: K2,
|
|
2570
2570
|
fetch: lg
|
|
2571
2571
|
};
|
|
2572
|
-
k.forEach(
|
|
2572
|
+
k.forEach(Pa, (e, t) => {
|
|
2573
2573
|
if (e) {
|
|
2574
2574
|
try {
|
|
2575
2575
|
Object.defineProperty(e, "name", { value: t });
|
|
@@ -2578,7 +2578,7 @@ k.forEach(ja, (e, t) => {
|
|
|
2578
2578
|
Object.defineProperty(e, "adapterName", { value: t });
|
|
2579
2579
|
}
|
|
2580
2580
|
});
|
|
2581
|
-
const
|
|
2581
|
+
const Rl = (e) => `- ${e}`, ug = (e) => k.isFunction(e) || e === null || e === !1;
|
|
2582
2582
|
var d0 = {
|
|
2583
2583
|
getAdapter: (e) => {
|
|
2584
2584
|
e = k.isArray(e) ? e : [e];
|
|
@@ -2588,7 +2588,7 @@ var d0 = {
|
|
|
2588
2588
|
for (let i = 0; i < t; i++) {
|
|
2589
2589
|
n = e[i];
|
|
2590
2590
|
let s;
|
|
2591
|
-
if (r = n, !ug(n) && (r =
|
|
2591
|
+
if (r = n, !ug(n) && (r = Pa[(s = String(n)).toLowerCase()], r === void 0))
|
|
2592
2592
|
throw new be(`Unknown adapter '${s}'`);
|
|
2593
2593
|
if (r)
|
|
2594
2594
|
break;
|
|
@@ -2599,8 +2599,8 @@ var d0 = {
|
|
|
2599
2599
|
([c, l]) => `adapter ${c} ` + (l === !1 ? "is not supported by the environment" : "is not available in the build")
|
|
2600
2600
|
);
|
|
2601
2601
|
let s = t ? i.length > 1 ? `since :
|
|
2602
|
-
` + i.map(
|
|
2603
|
-
`) : " " +
|
|
2602
|
+
` + i.map(Rl).join(`
|
|
2603
|
+
`) : " " + Rl(i[0]) : "as no adapter specified";
|
|
2604
2604
|
throw new be(
|
|
2605
2605
|
"There is no suitable adapter to dispatch the request " + s,
|
|
2606
2606
|
"ERR_NOT_SUPPORT"
|
|
@@ -2608,17 +2608,17 @@ var d0 = {
|
|
|
2608
2608
|
}
|
|
2609
2609
|
return r;
|
|
2610
2610
|
},
|
|
2611
|
-
adapters:
|
|
2611
|
+
adapters: Pa
|
|
2612
2612
|
};
|
|
2613
2613
|
function Js(e) {
|
|
2614
2614
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
2615
2615
|
throw new ro(null, e);
|
|
2616
2616
|
}
|
|
2617
|
-
function
|
|
2617
|
+
function Fl(e) {
|
|
2618
2618
|
return Js(e), e.headers = qt.from(e.headers), e.data = Ys.call(
|
|
2619
2619
|
e,
|
|
2620
2620
|
e.transformRequest
|
|
2621
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), d0.getAdapter(e.adapter ||
|
|
2621
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), d0.getAdapter(e.adapter || Lc.adapter)(e).then(function(r) {
|
|
2622
2622
|
return Js(e), r.data = Ys.call(
|
|
2623
2623
|
e,
|
|
2624
2624
|
e.transformResponse,
|
|
@@ -2632,14 +2632,14 @@ function Dl(e) {
|
|
|
2632
2632
|
), r.response.headers = qt.from(r.response.headers))), Promise.reject(r);
|
|
2633
2633
|
});
|
|
2634
2634
|
}
|
|
2635
|
-
const f0 = "1.7.7",
|
|
2635
|
+
const f0 = "1.7.7", Oc = {};
|
|
2636
2636
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
2637
|
-
|
|
2637
|
+
Oc[e] = function(r) {
|
|
2638
2638
|
return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
2639
2639
|
};
|
|
2640
2640
|
});
|
|
2641
|
-
const
|
|
2642
|
-
|
|
2641
|
+
const Dl = {};
|
|
2642
|
+
Oc.transitional = function(t, n, r) {
|
|
2643
2643
|
function o(i, s) {
|
|
2644
2644
|
return "[Axios v" + f0 + "] Transitional option '" + i + "'" + s + (r ? ". " + r : "");
|
|
2645
2645
|
}
|
|
@@ -2649,7 +2649,7 @@ Rc.transitional = function(t, n, r) {
|
|
|
2649
2649
|
o(s, " has been removed" + (n ? " in " + n : "")),
|
|
2650
2650
|
be.ERR_DEPRECATED
|
|
2651
2651
|
);
|
|
2652
|
-
return n && !
|
|
2652
|
+
return n && !Dl[s] && (Dl[s] = !0, console.warn(
|
|
2653
2653
|
o(
|
|
2654
2654
|
s,
|
|
2655
2655
|
" has been deprecated since v" + n + " and will be removed in the near future"
|
|
@@ -2674,16 +2674,16 @@ function dg(e, t, n) {
|
|
|
2674
2674
|
throw new be("Unknown option " + i, be.ERR_BAD_OPTION);
|
|
2675
2675
|
}
|
|
2676
2676
|
}
|
|
2677
|
-
var
|
|
2677
|
+
var ja = {
|
|
2678
2678
|
assertOptions: dg,
|
|
2679
|
-
validators:
|
|
2679
|
+
validators: Oc
|
|
2680
2680
|
};
|
|
2681
|
-
const On =
|
|
2681
|
+
const On = ja.validators;
|
|
2682
2682
|
let zi = class {
|
|
2683
2683
|
constructor(t) {
|
|
2684
2684
|
this.defaults = t, this.interceptors = {
|
|
2685
|
-
request: new
|
|
2686
|
-
response: new
|
|
2685
|
+
request: new wl(),
|
|
2686
|
+
response: new wl()
|
|
2687
2687
|
};
|
|
2688
2688
|
}
|
|
2689
2689
|
/**
|
|
@@ -2714,13 +2714,13 @@ let zi = class {
|
|
|
2714
2714
|
_request(t, n) {
|
|
2715
2715
|
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = br(this.defaults, n);
|
|
2716
2716
|
const { transitional: r, paramsSerializer: o, headers: i } = n;
|
|
2717
|
-
r !== void 0 &&
|
|
2717
|
+
r !== void 0 && ja.assertOptions(r, {
|
|
2718
2718
|
silentJSONParsing: On.transitional(On.boolean),
|
|
2719
2719
|
forcedJSONParsing: On.transitional(On.boolean),
|
|
2720
2720
|
clarifyTimeoutError: On.transitional(On.boolean)
|
|
2721
2721
|
}, !1), o != null && (k.isFunction(o) ? n.paramsSerializer = {
|
|
2722
2722
|
serialize: o
|
|
2723
|
-
} :
|
|
2723
|
+
} : ja.assertOptions(o, {
|
|
2724
2724
|
encode: On.function,
|
|
2725
2725
|
serialize: On.function
|
|
2726
2726
|
}, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase();
|
|
@@ -2745,7 +2745,7 @@ let zi = class {
|
|
|
2745
2745
|
});
|
|
2746
2746
|
let u, h = 0, m;
|
|
2747
2747
|
if (!l) {
|
|
2748
|
-
const v = [
|
|
2748
|
+
const v = [Fl.bind(this), void 0];
|
|
2749
2749
|
for (v.unshift.apply(v, c), v.push.apply(v, a), m = v.length, u = Promise.resolve(n); h < m; )
|
|
2750
2750
|
u = u.then(v[h++], v[h++]);
|
|
2751
2751
|
return u;
|
|
@@ -2762,7 +2762,7 @@ let zi = class {
|
|
|
2762
2762
|
}
|
|
2763
2763
|
}
|
|
2764
2764
|
try {
|
|
2765
|
-
u =
|
|
2765
|
+
u = Fl.call(this, C);
|
|
2766
2766
|
} catch (v) {
|
|
2767
2767
|
return Promise.reject(v);
|
|
2768
2768
|
}
|
|
@@ -2801,7 +2801,7 @@ k.forEach(["post", "put", "patch"], function(t) {
|
|
|
2801
2801
|
zi.prototype[t] = n(), zi.prototype[t + "Form"] = n(!0);
|
|
2802
2802
|
});
|
|
2803
2803
|
var _i = zi;
|
|
2804
|
-
class
|
|
2804
|
+
class Rc {
|
|
2805
2805
|
constructor(t) {
|
|
2806
2806
|
if (typeof t != "function")
|
|
2807
2807
|
throw new TypeError("executor must be a function.");
|
|
@@ -2867,14 +2867,14 @@ class Fc {
|
|
|
2867
2867
|
static source() {
|
|
2868
2868
|
let t;
|
|
2869
2869
|
return {
|
|
2870
|
-
token: new
|
|
2870
|
+
token: new Rc(function(o) {
|
|
2871
2871
|
t = o;
|
|
2872
2872
|
}),
|
|
2873
2873
|
cancel: t
|
|
2874
2874
|
};
|
|
2875
2875
|
}
|
|
2876
2876
|
}
|
|
2877
|
-
var fg =
|
|
2877
|
+
var fg = Rc;
|
|
2878
2878
|
function hg(e) {
|
|
2879
2879
|
return function(n) {
|
|
2880
2880
|
return e.apply(null, n);
|
|
@@ -2883,7 +2883,7 @@ function hg(e) {
|
|
|
2883
2883
|
function pg(e) {
|
|
2884
2884
|
return k.isObject(e) && e.isAxiosError === !0;
|
|
2885
2885
|
}
|
|
2886
|
-
const
|
|
2886
|
+
const Ba = {
|
|
2887
2887
|
Continue: 100,
|
|
2888
2888
|
SwitchingProtocols: 101,
|
|
2889
2889
|
Processing: 102,
|
|
@@ -2948,17 +2948,17 @@ const Va = {
|
|
|
2948
2948
|
NotExtended: 510,
|
|
2949
2949
|
NetworkAuthenticationRequired: 511
|
|
2950
2950
|
};
|
|
2951
|
-
Object.entries(
|
|
2952
|
-
|
|
2951
|
+
Object.entries(Ba).forEach(([e, t]) => {
|
|
2952
|
+
Ba[t] = e;
|
|
2953
2953
|
});
|
|
2954
|
-
var gg =
|
|
2954
|
+
var gg = Ba;
|
|
2955
2955
|
function h0(e) {
|
|
2956
2956
|
const t = new _i(e), n = Zd(_i.prototype.request, t);
|
|
2957
2957
|
return k.extend(n, _i.prototype, t, { allOwnKeys: !0 }), k.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
|
|
2958
2958
|
return h0(br(e, o));
|
|
2959
2959
|
}, n;
|
|
2960
2960
|
}
|
|
2961
|
-
const et = h0(
|
|
2961
|
+
const et = h0(Lc);
|
|
2962
2962
|
et.Axios = _i;
|
|
2963
2963
|
et.CanceledError = ro;
|
|
2964
2964
|
et.CancelToken = fg;
|
|
@@ -3076,17 +3076,17 @@ St.getProdHqConfig = xg;
|
|
|
3076
3076
|
var dn = {}, fn = {};
|
|
3077
3077
|
Object.defineProperty(fn, "__esModule", { value: !0 });
|
|
3078
3078
|
fn.removeValue = fn.getValue = fn.setValue = void 0;
|
|
3079
|
-
var
|
|
3079
|
+
var Fc = {};
|
|
3080
3080
|
function Eg(e, t) {
|
|
3081
|
-
|
|
3081
|
+
Fc[e] = t;
|
|
3082
3082
|
}
|
|
3083
3083
|
fn.setValue = Eg;
|
|
3084
3084
|
function Ig(e) {
|
|
3085
|
-
return
|
|
3085
|
+
return Fc[e];
|
|
3086
3086
|
}
|
|
3087
3087
|
fn.getValue = Ig;
|
|
3088
3088
|
function wg(e) {
|
|
3089
|
-
delete
|
|
3089
|
+
delete Fc[e];
|
|
3090
3090
|
}
|
|
3091
3091
|
fn.removeValue = wg;
|
|
3092
3092
|
Object.defineProperty(dn, "__esModule", { value: !0 });
|
|
@@ -3214,16 +3214,16 @@ var Sg = me && me.__awaiter || function(e, t, n, r) {
|
|
|
3214
3214
|
};
|
|
3215
3215
|
Object.defineProperty(Le, "__esModule", { value: !0 });
|
|
3216
3216
|
Le.expireToken = Le.invalidateToken = Le.validateToken = Le.validateAccount = Le.getConfig = Le.introduceDelay = Le.isTokenInExpiryWindow = Le.getStoredAuthData = Le.setUserDetails = Le.getRefreshInterval = Le.setTokenAndExpiry = Le.getRandomDelay = Le.hasValidToken = void 0;
|
|
3217
|
-
var Cn = Xn, Ar = St, kt = dn,
|
|
3217
|
+
var Cn = Xn, Ar = St, kt = dn, Dc = function() {
|
|
3218
3218
|
var e = /* @__PURE__ */ new Date(), t = new Date(e.getTime() + e.getTimezoneOffset() * 6e4);
|
|
3219
3219
|
return t;
|
|
3220
|
-
},
|
|
3220
|
+
}, Nc = function(e) {
|
|
3221
3221
|
var t = parseInt((0, kt.getItemFromStorage)("hiverAuthUserId") || "0"), n = parseInt((0, kt.getItemFromStorage)("hiverAuthUserGroupId") || "0"), r = e.userId, o = e.usergroupId;
|
|
3222
3222
|
return t === r && o === n;
|
|
3223
3223
|
};
|
|
3224
|
-
Le.validateAccount =
|
|
3224
|
+
Le.validateAccount = Nc;
|
|
3225
3225
|
var Og = function(e) {
|
|
3226
|
-
var t =
|
|
3226
|
+
var t = Nc(e);
|
|
3227
3227
|
return !g0() && t;
|
|
3228
3228
|
};
|
|
3229
3229
|
Le.validateToken = Og;
|
|
@@ -3240,7 +3240,7 @@ var Fg = function() {
|
|
|
3240
3240
|
};
|
|
3241
3241
|
Le.expireToken = Fg;
|
|
3242
3242
|
var Dg = function(e) {
|
|
3243
|
-
var t = (0, kt.getItemFromStorage)("hiverAuthTokenExpiry") || "", n = new Date(t), r =
|
|
3243
|
+
var t = (0, kt.getItemFromStorage)("hiverAuthTokenExpiry") || "", n = new Date(t), r = Dc(), o = Nc(e);
|
|
3244
3244
|
return console.log("Heimdall: checking if there is a valid token", r < n && o), r < n && o;
|
|
3245
3245
|
};
|
|
3246
3246
|
Le.hasValidToken = Dg;
|
|
@@ -3269,7 +3269,7 @@ var g0 = function() {
|
|
|
3269
3269
|
var e = (0, kt.getItemFromStorage)("hiverAuthTokenExpiry") || "";
|
|
3270
3270
|
if (!e)
|
|
3271
3271
|
return !0;
|
|
3272
|
-
var t =
|
|
3272
|
+
var t = Dc(), n = new Date(e), r = 4 * 60 * 1e3, o = n.getTime() - t.getTime() < r;
|
|
3273
3273
|
return console.log({ currentTime: t, expiry: n, isInExpiryWindow: o }), o;
|
|
3274
3274
|
};
|
|
3275
3275
|
Le.isTokenInExpiryWindow = g0;
|
|
@@ -3307,17 +3307,17 @@ var Vg = function() {
|
|
|
3307
3307
|
var e = (0, kt.getItemFromStorage)("hiverAuthTokenExpiry");
|
|
3308
3308
|
if (!e)
|
|
3309
3309
|
return Cn.RETRY_DELAY_IN_CASE_OF_CORRUPTED_EXPIRY;
|
|
3310
|
-
var t = new Date(e), n =
|
|
3310
|
+
var t = new Date(e), n = Dc();
|
|
3311
3311
|
return t.getTime() - n.getTime() > Cn.TWO_MINUTES_IN_MS ? t.getTime() - Cn.TWO_MINUTES_IN_MS : t.getTime() - n.getTime();
|
|
3312
3312
|
} catch (r) {
|
|
3313
3313
|
return console.error("Heimdall: Error in getRefreshInterval", r), Cn.REFETCH_CHECK_DELAY;
|
|
3314
3314
|
}
|
|
3315
3315
|
};
|
|
3316
3316
|
Le.getRefreshInterval = Vg;
|
|
3317
|
-
var Co = {}, zt = {},
|
|
3317
|
+
var Co = {}, zt = {}, Nl;
|
|
3318
3318
|
function m0() {
|
|
3319
|
-
if (
|
|
3320
|
-
|
|
3319
|
+
if (Nl) return zt;
|
|
3320
|
+
Nl = 1;
|
|
3321
3321
|
var e = me && me.__awaiter || function(v, d, f, p) {
|
|
3322
3322
|
function y(b) {
|
|
3323
3323
|
return b instanceof f ? b : new f(function(E) {
|
|
@@ -3639,9 +3639,9 @@ var ws = {}, Gg = me && me.__awaiter || function(e, t, n, r) {
|
|
|
3639
3639
|
};
|
|
3640
3640
|
Object.defineProperty(ws, "__esModule", { value: !0 });
|
|
3641
3641
|
ws.subscribeToOnlineEvent = void 0;
|
|
3642
|
-
var
|
|
3642
|
+
var kl = Xn, Wg = fn, Zg = function(e, t) {
|
|
3643
3643
|
switch (t === void 0 && (t = (0, Wg.getValue)("PLATFORM")), console.log("Online status detected. Fetching token..."), t) {
|
|
3644
|
-
case
|
|
3644
|
+
case kl.PLATFORM.WEB:
|
|
3645
3645
|
return window.addEventListener("online", function() {
|
|
3646
3646
|
return Gg(void 0, void 0, void 0, function() {
|
|
3647
3647
|
return Hg(this, function(n) {
|
|
@@ -3654,7 +3654,7 @@ var Ml = Xn, Wg = fn, Zg = function(e, t) {
|
|
|
3654
3654
|
});
|
|
3655
3655
|
});
|
|
3656
3656
|
});
|
|
3657
|
-
case
|
|
3657
|
+
case kl.PLATFORM.MOBILE:
|
|
3658
3658
|
e();
|
|
3659
3659
|
return;
|
|
3660
3660
|
default:
|
|
@@ -3662,10 +3662,10 @@ var Ml = Xn, Wg = fn, Zg = function(e, t) {
|
|
|
3662
3662
|
}
|
|
3663
3663
|
};
|
|
3664
3664
|
ws.subscribeToOnlineEvent = Zg;
|
|
3665
|
-
var
|
|
3665
|
+
var Ml;
|
|
3666
3666
|
function b0() {
|
|
3667
|
-
if (
|
|
3668
|
-
|
|
3667
|
+
if (Ml) return Co;
|
|
3668
|
+
Ml = 1;
|
|
3669
3669
|
var e = me && me.__awaiter || function(v, d, f, p) {
|
|
3670
3670
|
function y(b) {
|
|
3671
3671
|
return b instanceof f ? b : new f(function(E) {
|
|
@@ -3807,7 +3807,7 @@ function b0() {
|
|
|
3807
3807
|
});
|
|
3808
3808
|
}, h = function(v, d, f, p, y, b, E, x, I) {
|
|
3809
3809
|
return x === void 0 && (x = "default"), e(void 0, void 0, void 0, function() {
|
|
3810
|
-
var A, w, _, R, L, O, N, j,
|
|
3810
|
+
var A, w, _, R, L, O, N, j, U, Y, te, J, z, ue;
|
|
3811
3811
|
return t(this, function(he) {
|
|
3812
3812
|
switch (he.label) {
|
|
3813
3813
|
case 0:
|
|
@@ -3815,7 +3815,7 @@ function b0() {
|
|
|
3815
3815
|
case 1:
|
|
3816
3816
|
return A = he.sent(), w = A.atToken, _ = A.expiryTime, R = A.userId, L = A.userGroupId, w && _ && (0, o.setTokenAndExpiry)(w, _), R && L && (0, o.setUserDetails)(R, L), v = r.INITIAL_RETRY_DELAY, d = r.INITIAL_RETRY_DELAY, f = 0, [3, 12];
|
|
3817
3817
|
case 2:
|
|
3818
|
-
return O = he.sent(), console.log("ERROR: Heimdall fetch token", O), ((
|
|
3818
|
+
return O = he.sent(), console.log("ERROR: Heimdall fetch token", O), ((U = O.response) === null || U === void 0 ? void 0 : U.status) === 401 || ((Y = O.request) === null || Y === void 0 ? void 0 : Y.status) === 401 ? (N = 1, [4, a(p, y, N, b, E, I)]) : [3, 4];
|
|
3819
3819
|
case 3:
|
|
3820
3820
|
return he.sent(), [3, 11];
|
|
3821
3821
|
case 4:
|
|
@@ -3898,10 +3898,10 @@ function b0() {
|
|
|
3898
3898
|
};
|
|
3899
3899
|
return Co.fetchAccessToken = C, Co;
|
|
3900
3900
|
}
|
|
3901
|
-
var
|
|
3901
|
+
var Pl;
|
|
3902
3902
|
function v0() {
|
|
3903
|
-
if (
|
|
3904
|
-
|
|
3903
|
+
if (Pl) return er;
|
|
3904
|
+
Pl = 1;
|
|
3905
3905
|
var e = me && me.__assign || function() {
|
|
3906
3906
|
return e = Object.assign || function(d) {
|
|
3907
3907
|
for (var f, p = 1, y = arguments.length; p < y; p++) {
|
|
@@ -4253,13 +4253,13 @@ He.expireToken = He.validateToken = He.validateAccount = He.getConfig = He.intro
|
|
|
4253
4253
|
var Qs = Xe, tr = Lt, y0 = function() {
|
|
4254
4254
|
var e = /* @__PURE__ */ new Date(), t = new Date(e.getTime() + e.getTimezoneOffset() * 6e4);
|
|
4255
4255
|
return t;
|
|
4256
|
-
},
|
|
4256
|
+
}, kc = function(e) {
|
|
4257
4257
|
var t = parseInt(sessionStorage.getItem("hiverAuthUserId") || "0"), n = parseInt(sessionStorage.getItem("hiverAuthUserGroupId") || "0"), r = e.userId, o = e.usergroupId;
|
|
4258
4258
|
return t === r && o === n;
|
|
4259
4259
|
};
|
|
4260
|
-
He.validateAccount =
|
|
4260
|
+
He.validateAccount = kc;
|
|
4261
4261
|
var Kg = function(e) {
|
|
4262
|
-
var t =
|
|
4262
|
+
var t = kc(e);
|
|
4263
4263
|
return !C0() && t;
|
|
4264
4264
|
};
|
|
4265
4265
|
He.validateToken = Kg;
|
|
@@ -4273,7 +4273,7 @@ var em = function() {
|
|
|
4273
4273
|
He.expireToken = em;
|
|
4274
4274
|
var tm = function(e) {
|
|
4275
4275
|
console.log("Heimdall: checking if there is a valid token");
|
|
4276
|
-
var t = sessionStorage.getItem("hiverAuthTokenExpiry") || "", n = new Date(t), r = y0(), o =
|
|
4276
|
+
var t = sessionStorage.getItem("hiverAuthTokenExpiry") || "", n = new Date(t), r = y0(), o = kc(e);
|
|
4277
4277
|
return r < n && o;
|
|
4278
4278
|
};
|
|
4279
4279
|
He.hasValidToken = tm;
|
|
@@ -4333,10 +4333,10 @@ var am = function(e, t, n) {
|
|
|
4333
4333
|
}
|
|
4334
4334
|
};
|
|
4335
4335
|
He.getConfig = am;
|
|
4336
|
-
var Eo = {}, mn = {},
|
|
4336
|
+
var Eo = {}, mn = {}, jl;
|
|
4337
4337
|
function cm() {
|
|
4338
|
-
if (
|
|
4339
|
-
|
|
4338
|
+
if (jl) return mn;
|
|
4339
|
+
jl = 1;
|
|
4340
4340
|
var e = me && me.__awaiter || function(m, C, v, d) {
|
|
4341
4341
|
function f(p) {
|
|
4342
4342
|
return p instanceof v ? p : new v(function(y) {
|
|
@@ -4530,10 +4530,10 @@ function cm() {
|
|
|
4530
4530
|
};
|
|
4531
4531
|
return mn.getV2LoginCode = h, mn;
|
|
4532
4532
|
}
|
|
4533
|
-
var
|
|
4533
|
+
var Bl;
|
|
4534
4534
|
function x0() {
|
|
4535
|
-
if (
|
|
4536
|
-
|
|
4535
|
+
if (Bl) return Eo;
|
|
4536
|
+
Bl = 1;
|
|
4537
4537
|
var e = me && me.__awaiter || function(C, v, d, f) {
|
|
4538
4538
|
function p(y) {
|
|
4539
4539
|
return y instanceof d ? y : new d(function(b) {
|
|
@@ -4669,7 +4669,7 @@ function x0() {
|
|
|
4669
4669
|
});
|
|
4670
4670
|
}, u = function(C, v, d, f, p, y, b) {
|
|
4671
4671
|
return y === void 0 && (y = "default"), e(void 0, void 0, void 0, function() {
|
|
4672
|
-
var E, x, I, A, w, _, R, L, O, N, j,
|
|
4672
|
+
var E, x, I, A, w, _, R, L, O, N, j, U, Y, te;
|
|
4673
4673
|
return t(this, function(J) {
|
|
4674
4674
|
switch (J.label) {
|
|
4675
4675
|
case 0:
|
|
@@ -4681,7 +4681,7 @@ function x0() {
|
|
|
4681
4681
|
case 3:
|
|
4682
4682
|
return J.sent(), [3, 11];
|
|
4683
4683
|
case 4:
|
|
4684
|
-
return ((j = _.response) === null || j === void 0 ? void 0 : j.status) === 409 || ((
|
|
4684
|
+
return ((j = _.response) === null || j === void 0 ? void 0 : j.status) === 409 || ((U = _.request) === null || U === void 0 ? void 0 : U.status) === 409 ? (console.log("Heimdall: Fetching token post 409 in fetch And Save Token"), L = { retryDelay: C, configs: f, api_params: p, appUI: b }, [4, a(v, d, L)]) : [3, 6];
|
|
4685
4685
|
case 5:
|
|
4686
4686
|
if (J.sent(), d >= r.MAX_CONFLICT_RETRY_DELAY)
|
|
4687
4687
|
throw _;
|
|
@@ -4760,10 +4760,10 @@ function x0() {
|
|
|
4760
4760
|
};
|
|
4761
4761
|
return Eo.fetchToken = m, Eo;
|
|
4762
4762
|
}
|
|
4763
|
-
var
|
|
4763
|
+
var Vl;
|
|
4764
4764
|
function E0() {
|
|
4765
|
-
if (
|
|
4766
|
-
|
|
4765
|
+
if (Vl) return xo;
|
|
4766
|
+
Vl = 1;
|
|
4767
4767
|
var e = me && me.__assign || function() {
|
|
4768
4768
|
return e = Object.assign || function(m) {
|
|
4769
4769
|
for (var C, v = 1, d = arguments.length; v < d; v++) {
|
|
@@ -5093,7 +5093,7 @@ function E0() {
|
|
|
5093
5093
|
}, C;
|
|
5094
5094
|
}();
|
|
5095
5095
|
e.Bifrost = m;
|
|
5096
|
-
})(
|
|
5096
|
+
})(Fa);
|
|
5097
5097
|
const $t = {
|
|
5098
5098
|
userId: "",
|
|
5099
5099
|
userGroupId: "",
|
|
@@ -5114,11 +5114,11 @@ const $t = {
|
|
|
5114
5114
|
tier: n,
|
|
5115
5115
|
userId: r,
|
|
5116
5116
|
userGroupId: o,
|
|
5117
|
-
tenantPlatform: i =
|
|
5117
|
+
tenantPlatform: i = Fa.TENANT_PLATFORM.GMAIL,
|
|
5118
5118
|
withCredentials: s = !0,
|
|
5119
5119
|
getTokenForLogin: c
|
|
5120
5120
|
}) => {
|
|
5121
|
-
$t.baseUrl = e, $t.appEnv = t, $t.tier = n, $t.userGroupId = o, $t.userId = r, $t.tenantPlatform = i, $t.bifrost = new
|
|
5121
|
+
$t.baseUrl = e, $t.appEnv = t, $t.tier = n, $t.userGroupId = o, $t.userId = r, $t.tenantPlatform = i, $t.bifrost = new Fa.Bifrost(t, n, i, c, s), $t.isInitiated = !0;
|
|
5122
5122
|
}, lm = ({ configHiver: e }) => async (n) => {
|
|
5123
5123
|
const r = En();
|
|
5124
5124
|
if (!r)
|
|
@@ -5149,7 +5149,7 @@ const $t = {
|
|
|
5149
5149
|
isHiverApiDomain: !0
|
|
5150
5150
|
},
|
|
5151
5151
|
withCredentials: !0
|
|
5152
|
-
}), um = (e) => /* @__PURE__ */ F.createElement("svg", { width: 17, height: 17, viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ F.createElement("g", { clipPath: "url(#clip0_1180_840)" }, /* @__PURE__ */ F.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__ */ F.createElement("defs", null, /* @__PURE__ */ F.createElement("clipPath", { id: "clip0_1180_840" }, /* @__PURE__ */ F.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(0.5 0.120117)" })))), dm = (e) => /* @__PURE__ */ F.createElement("svg", { width: 24, height: 22, viewBox: "0 0 24 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ F.createElement("rect", { x: 3.63636, y: 2.27393, width: 15.2727, height: 17.2308, rx: 2.90909, fill: "#F6C035" }), /* @__PURE__ */ F.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__ */ F.createElement("rect", { x: 6.54546, y: 6.58154, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ F.createElement("rect", { x: 6.54546, y: 10.1714, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ F.createElement("rect", { x: 6.54546, y: 13.7612, width: 6.54545, height: 1.4359, rx: 0.717949, fill: "#FFDC83" })), fm = (e) => /* @__PURE__ */ F.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ F.createElement("g", { clipPath: "url(#clip0_825_73646)" }, /* @__PURE__ */ F.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__ */ F.createElement("defs", null, /* @__PURE__ */ F.createElement("clipPath", { id: "clip0_825_73646" }, /* @__PURE__ */ F.createElement("rect", { width: 24, height: 24, fill: "white" })))), hm = "Rate your experience with Hiver Apps", pm = "Share feedback on Apps", gm = "Got any feedback?", I0 = "https://txeep2wshyx.typeform.com/to/RuOwF9SG", mm = "https://txeep2wshyx.typeform.com/to/Tfa8IrCd", bm = "https://txeep2wshyx.typeform.com/to/bqhVSfDk", vm = "https://cdn.hiverhq.com/chat-support/hiver-chat.html", ym = "enable_connectors_clicked", Cm = "learn_more_clicked", xm = "connector_card_expand_clicked", Em = "connector_card_collapsed_clicked", Im = "connector_card_refresh_clicked", wm = "connector_cards_loaded", Am = "connector_whats_new_card_viewed", _m = "connector_whats_new_explore_now_clicked", Tm = "connector_whats_new_learn_more_clicked", Sm = "connector_whats_new_dismissed", Lm = "connector_create_new_object_clicked", Om = "connector_link_new_object_clicked", Rm = "connector_new_object_created_by_form", Fm = "connector_new_object_linked_by_form", Dm = "connector_object_unlinked_by_form", Nm = "connector_link_preview_clicked", km = "connector_create_panel_cancel_clicked", Mm = "connector_create_panel_back_clicked", Pm = "card_loaded_on_click", jm = "card_loaded", Bm = "schedule_call_clicked", Vm = "schedule_call_cross_clicked", w0 = "CONNECTOR_EDIT_CLICKED", Gm = "CONNECTOR_EDIT_REQUEST_SEND", Hm = "CONNECTOR_EDIT_CANCELLED", Wm = "CONNECTOR_EDIT_BACK_CLICKED", Zm = "CONNECTOR_EDIT_SUCCESS", Um = "connector_video_clicked", Xm = "connector_card_error",
|
|
5152
|
+
}), um = (e) => /* @__PURE__ */ F.createElement("svg", { width: 17, height: 17, viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ F.createElement("g", { clipPath: "url(#clip0_1180_840)" }, /* @__PURE__ */ F.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__ */ F.createElement("defs", null, /* @__PURE__ */ F.createElement("clipPath", { id: "clip0_1180_840" }, /* @__PURE__ */ F.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(0.5 0.120117)" })))), dm = (e) => /* @__PURE__ */ F.createElement("svg", { width: 24, height: 22, viewBox: "0 0 24 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ F.createElement("rect", { x: 3.63636, y: 2.27393, width: 15.2727, height: 17.2308, rx: 2.90909, fill: "#F6C035" }), /* @__PURE__ */ F.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__ */ F.createElement("rect", { x: 6.54546, y: 6.58154, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ F.createElement("rect", { x: 6.54546, y: 10.1714, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ F.createElement("rect", { x: 6.54546, y: 13.7612, width: 6.54545, height: 1.4359, rx: 0.717949, fill: "#FFDC83" })), fm = (e) => /* @__PURE__ */ F.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ F.createElement("g", { clipPath: "url(#clip0_825_73646)" }, /* @__PURE__ */ F.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__ */ F.createElement("defs", null, /* @__PURE__ */ F.createElement("clipPath", { id: "clip0_825_73646" }, /* @__PURE__ */ F.createElement("rect", { width: 24, height: 24, fill: "white" })))), hm = "Rate your experience with Hiver Apps", pm = "Share feedback on Apps", gm = "Got any feedback?", I0 = "https://txeep2wshyx.typeform.com/to/RuOwF9SG", mm = "https://txeep2wshyx.typeform.com/to/Tfa8IrCd", bm = "https://txeep2wshyx.typeform.com/to/bqhVSfDk", vm = "https://cdn.hiverhq.com/chat-support/hiver-chat.html", ym = "enable_connectors_clicked", Cm = "learn_more_clicked", xm = "connector_card_expand_clicked", Em = "connector_card_collapsed_clicked", Im = "connector_card_refresh_clicked", wm = "connector_cards_loaded", Am = "connector_whats_new_card_viewed", _m = "connector_whats_new_explore_now_clicked", Tm = "connector_whats_new_learn_more_clicked", Sm = "connector_whats_new_dismissed", Lm = "connector_create_new_object_clicked", Om = "connector_link_new_object_clicked", Rm = "connector_new_object_created_by_form", Fm = "connector_new_object_linked_by_form", Dm = "connector_object_unlinked_by_form", Nm = "connector_link_preview_clicked", km = "connector_create_panel_cancel_clicked", Mm = "connector_create_panel_back_clicked", Pm = "card_loaded_on_click", jm = "card_loaded", Bm = "schedule_call_clicked", Vm = "schedule_call_cross_clicked", w0 = "CONNECTOR_EDIT_CLICKED", Gm = "CONNECTOR_EDIT_REQUEST_SEND", Hm = "CONNECTOR_EDIT_CANCELLED", Wm = "CONNECTOR_EDIT_BACK_CLICKED", Zm = "CONNECTOR_EDIT_SUCCESS", Um = "connector_video_clicked", Xm = "connector_card_error", Va = "got_any_feedback_clicked", zm = "connector_deeplink_clicked", $m = "search_bar_tapped", Ym = "search_suggestions_selected", Jm = "search_initiated", Qm = "no_results_found", qm = "search_results_found", Km = "search_result_selected", e3 = "search_result_linked", t3 = "feedback_closed_clicked", n3 = "help_btn_clicked", r3 = "connector_chat_support_clicked", o3 = "missing_field_clicked", i3 = {
|
|
5153
5153
|
userEmail: "",
|
|
5154
5154
|
email: "",
|
|
5155
5155
|
baseUrls: {},
|
|
@@ -5163,22 +5163,22 @@ const $t = {
|
|
|
5163
5163
|
connectorFunctions: { redirectToAdmin: () => {
|
|
5164
5164
|
} },
|
|
5165
5165
|
stackingContext: {}
|
|
5166
|
-
}, Je = _d(i3), Ti = "hiver_connectors",
|
|
5166
|
+
}, Je = _d(i3), Ti = "hiver_connectors", Ga = {
|
|
5167
5167
|
NOT_FOUND: 404
|
|
5168
|
-
}, s3 = "ftr-connector-blue-dot", A0 = "ftr-connectors-write-flow", a3 = "ftr-connectors-enhancements", c3 = "ftr-connector-schedule-call-agent", l3 = "ftr-connectors-edit", u3 = "enableAllConnectorFtr", d3 = "ftr-cards-open-state", f3 = "ftr-connectors-global-search", h3 = "ftr-connectors-smart-suggestions", p3 = "ftr-connectors-email-selection", g3 = "ftr-connector-agent-feedback", As = "ftr-connector-unified-view", m3 = "ftr-connectors-expanded-form",
|
|
5168
|
+
}, s3 = "ftr-connector-blue-dot", A0 = "ftr-connectors-write-flow", a3 = "ftr-connectors-enhancements", c3 = "ftr-connector-schedule-call-agent", l3 = "ftr-connectors-edit", u3 = "enableAllConnectorFtr", d3 = "ftr-cards-open-state", f3 = "ftr-connectors-global-search", h3 = "ftr-connectors-smart-suggestions", p3 = "ftr-connectors-email-selection", g3 = "ftr-connector-agent-feedback", As = "ftr-connector-unified-view", m3 = "ftr-connectors-expanded-form", Gl = "Please refresh and try again", b3 = "No data available", Si = "-", _0 = "Refresh", T0 = "Minimize", Mc = "Expand", S0 = "Connectors", Pc = "Apps", v3 = "Collapse", y3 = "Close", L0 = "Link", C3 = "Create", x3 = "Update", O0 = "Unlink", R0 = "Edit", jc = "Cancel", F0 = "Create new object", D0 = "Link existing object", E3 = "Are you sure you want to unlink this object?", I3 = "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.", w3 = "Edit card", A3 = "bullet_list", _3 = "Expanded", T3 = "Collapsed", N0 = "Something is wrong with the {{connector_name}} Connector setup. Please check our help guide <>here<>.", k0 = "UNKNOWN_ERROR", S3 = "https://help.hiverhq.com/custom-connectors/common-connector-errors", Hl = {
|
|
5169
5169
|
MAIN_BUTTON: "main_button",
|
|
5170
5170
|
ICON: "create_icon"
|
|
5171
|
-
}, L3 = "Missing any fields? Inform us.",
|
|
5171
|
+
}, L3 = "Missing any fields? Inform us.", Bc = (e) => {
|
|
5172
5172
|
let t = localStorage.getItem(Ti);
|
|
5173
5173
|
return t = t ? JSON.parse(t) : !1, t == null ? void 0 : t[e];
|
|
5174
|
-
}, O3 = (e) => !!
|
|
5174
|
+
}, O3 = (e) => !!Bc(e), M0 = () => {
|
|
5175
5175
|
const { userId: e = "" } = En() || {};
|
|
5176
5176
|
return String(e);
|
|
5177
5177
|
}, R3 = (e, t = M0()) => {
|
|
5178
|
-
const n =
|
|
5178
|
+
const n = Bc(e);
|
|
5179
5179
|
return ((n == null ? void 0 : n.isExtensionNew) ?? []).includes(t);
|
|
5180
5180
|
}, qs = (e, t = !1, n = !1) => {
|
|
5181
|
-
const r = M0(), o =
|
|
5181
|
+
const r = M0(), o = Bc(e);
|
|
5182
5182
|
if (t || !o) {
|
|
5183
5183
|
localStorage.removeItem(Ti);
|
|
5184
5184
|
const i = {
|
|
@@ -5200,7 +5200,7 @@ const $t = {
|
|
|
5200
5200
|
localStorage.setItem(Ti, JSON.stringify(c));
|
|
5201
5201
|
return;
|
|
5202
5202
|
}
|
|
5203
|
-
}, gt = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[u3]) === !0 : (e == null ? void 0 : e[t]) === !0, so = (e, t) => e.replace(/:(\w+)/g, (n, r) => String(t[r]) || ""),
|
|
5203
|
+
}, gt = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[u3]) === !0 : (e == null ? void 0 : e[t]) === !0, so = (e, t) => e.replace(/:(\w+)/g, (n, r) => String(t[r]) || ""), Wl = (e, t, n, r = !1) => {
|
|
5204
5204
|
var i;
|
|
5205
5205
|
const o = {};
|
|
5206
5206
|
return o.card_title = t, o.card_state = n ? _3 : T3, 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;
|
|
@@ -5208,10 +5208,10 @@ const $t = {
|
|
|
5208
5208
|
switch (e.cardType) {
|
|
5209
5209
|
case "flat":
|
|
5210
5210
|
if (Array.isArray(e.data.flatDisplay)) {
|
|
5211
|
-
const t = e.data.flatDisplay.filter((n) => Number(n.statusCode) !==
|
|
5211
|
+
const t = e.data.flatDisplay.filter((n) => Number(n.statusCode) !== Ga.NOT_FOUND).sort((n, r) => n.priority - r.priority);
|
|
5212
5212
|
e.data.flatDisplay = { data: t };
|
|
5213
5213
|
} else {
|
|
5214
|
-
const t = e.data.flatDisplay.data.filter((n) => Number(n.statusCode) !==
|
|
5214
|
+
const t = e.data.flatDisplay.data.filter((n) => Number(n.statusCode) !== Ga.NOT_FOUND).sort((n, r) => n.priority - r.priority);
|
|
5215
5215
|
e.data.flatDisplay.data = t;
|
|
5216
5216
|
}
|
|
5217
5217
|
break;
|
|
@@ -5238,7 +5238,7 @@ const $t = {
|
|
|
5238
5238
|
r.searchParams.set(o, i);
|
|
5239
5239
|
}), r.toString();
|
|
5240
5240
|
};
|
|
5241
|
-
function
|
|
5241
|
+
function Zl(e, t) {
|
|
5242
5242
|
return e.length > t ? e.substring(0, t) + "..." : e;
|
|
5243
5243
|
}
|
|
5244
5244
|
const D3 = (e) => /* @__PURE__ */ F.createElement("svg", { width: 20, height: 21, viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ F.createElement("g", { clipPath: "url(#clip0_1187_180)" }, /* @__PURE__ */ F.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__ */ F.createElement("defs", null, /* @__PURE__ */ F.createElement("clipPath", { id: "clip0_1187_180" }, /* @__PURE__ */ F.createElement("rect", { width: 20, height: 20, fill: "white", transform: "translate(0 0.120117)" })))), N3 = (e) => /* @__PURE__ */ F.createElement("svg", { width: 21, height: 20, viewBox: "0 0 21 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ F.createElement("g", { clipPath: "url(#clip0_847_49587)" }, /* @__PURE__ */ F.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__ */ F.createElement("defs", null, /* @__PURE__ */ F.createElement("clipPath", { id: "clip0_847_49587" }, /* @__PURE__ */ F.createElement("rect", { width: 20, height: 20, fill: "white", transform: "translate(0.666992)" })))), k3 = Sd`
|
|
@@ -5359,7 +5359,7 @@ const D3 = (e) => /* @__PURE__ */ F.createElement("svg", { width: 20, height: 21
|
|
|
5359
5359
|
`, H3 = D(le)`
|
|
5360
5360
|
letter-spacing: 0.042px;
|
|
5361
5361
|
`, W3 = ({ rating: e, setRating: t, count: n = 5 }) => {
|
|
5362
|
-
const [r, o] =
|
|
5362
|
+
const [r, o] = Z(e), i = r ?? e, s = (a) => {
|
|
5363
5363
|
t(a);
|
|
5364
5364
|
}, c = (a) => {
|
|
5365
5365
|
o(a);
|
|
@@ -5412,8 +5412,8 @@ const D3 = (e) => /* @__PURE__ */ F.createElement("svg", { width: 20, height: 21
|
|
|
5412
5412
|
connector_names: e.join(","),
|
|
5413
5413
|
source: "collapsed_feedback_btn"
|
|
5414
5414
|
}
|
|
5415
|
-
}), [l, a] =
|
|
5416
|
-
r(
|
|
5415
|
+
}), [l, a] = Z(t), [u, h] = Z(!1), [m, C] = Z(0), v = () => {
|
|
5416
|
+
r(Va, {
|
|
5417
5417
|
sm_ids: n,
|
|
5418
5418
|
ug_id: i,
|
|
5419
5419
|
connector_names: e,
|
|
@@ -5421,7 +5421,7 @@ const D3 = (e) => /* @__PURE__ */ F.createElement("svg", { width: 20, height: 21
|
|
|
5421
5421
|
star_rating: 0
|
|
5422
5422
|
}), Ii(s);
|
|
5423
5423
|
}, d = (y) => {
|
|
5424
|
-
r(
|
|
5424
|
+
r(Va, {
|
|
5425
5425
|
sm_ids: n,
|
|
5426
5426
|
ug_id: i,
|
|
5427
5427
|
connector_names: e,
|
|
@@ -5484,7 +5484,7 @@ const D3 = (e) => /* @__PURE__ */ F.createElement("svg", { width: 20, height: 21
|
|
|
5484
5484
|
}
|
|
5485
5485
|
) })
|
|
5486
5486
|
] });
|
|
5487
|
-
}, U3 = "Need setup help?", X3 = "Expert setup assistance available! Book a 15 min call with our integration specialist.", z3 = "Schedule call", $3 = "https://calendly.com/aditya-s-grexit/15-min-connector-setup", Ul = "agent_panel",
|
|
5487
|
+
}, U3 = "Need setup help?", X3 = "Expert setup assistance available! Book a 15 min call with our integration specialist.", z3 = "Schedule call", $3 = "https://calendly.com/aditya-s-grexit/15-min-connector-setup", Ul = "agent_panel", Ks = "hiver_schedule_call_close_button_click", Y3 = D($)`
|
|
5488
5488
|
padding: 12px;
|
|
5489
5489
|
width: 250px;
|
|
5490
5490
|
min-height: 151px;
|
|
@@ -5522,12 +5522,12 @@ const D3 = (e) => /* @__PURE__ */ F.createElement("svg", { width: 20, height: 21
|
|
|
5522
5522
|
`, tb = D(le)`
|
|
5523
5523
|
color: ${X.palette.gray.gray2};
|
|
5524
5524
|
`, nb = () => {
|
|
5525
|
-
const { availableFeatures: e, sendTrackingEvent: t, isAdmin: n } = $e(Je), [r, o] =
|
|
5525
|
+
const { availableFeatures: e, sendTrackingEvent: t, isAdmin: n } = $e(Je), [r, o] = Z(() => !(localStorage.getItem(Ks) === "true") && gt(e, c3));
|
|
5526
5526
|
pe(() => {
|
|
5527
|
-
localStorage.getItem(
|
|
5527
|
+
localStorage.getItem(Ks) === "true" && o(!1);
|
|
5528
5528
|
}, []);
|
|
5529
5529
|
const i = () => {
|
|
5530
|
-
localStorage.setItem(
|
|
5530
|
+
localStorage.setItem(Ks, "true"), o(!1), t(Vm, {
|
|
5531
5531
|
source: Ul
|
|
5532
5532
|
});
|
|
5533
5533
|
}, s = () => {
|
|
@@ -5688,7 +5688,7 @@ const fb = D(de)`
|
|
|
5688
5688
|
text-overflow: ellipsis;
|
|
5689
5689
|
-webkit-line-clamp: 3;
|
|
5690
5690
|
color: ${X.palette.gray.gray1};
|
|
5691
|
-
`,
|
|
5691
|
+
`, Vc = D(de)`
|
|
5692
5692
|
position: relative;
|
|
5693
5693
|
top: 1px;
|
|
5694
5694
|
content: '';
|
|
@@ -5727,7 +5727,7 @@ const fb = D(de)`
|
|
|
5727
5727
|
transform: rotate(135deg);
|
|
5728
5728
|
}
|
|
5729
5729
|
}
|
|
5730
|
-
`, Wn = D(
|
|
5730
|
+
`, Wn = D(Ic)`
|
|
5731
5731
|
display: block;
|
|
5732
5732
|
margin: ${(e) => e.margin ? e.margin : 0};
|
|
5733
5733
|
`, Qr = D(dt)`
|
|
@@ -5919,7 +5919,7 @@ const fb = D(de)`
|
|
|
5919
5919
|
handleCreateNewObject: i,
|
|
5920
5920
|
handleLinkNewObject: s
|
|
5921
5921
|
}) => {
|
|
5922
|
-
const c = Ce(null), l = Ce(null), [a, u] =
|
|
5922
|
+
const c = Ce(null), l = Ce(null), [a, u] = Z(null), h = !!a, { availableFeatures: m, sendTrackingEvent: C, currentSmIds: v, userEmail: d } = $e(Je), { userGroupId: f, userId: p } = En() || {}, y = gt(m, As), b = [
|
|
5923
5923
|
{
|
|
5924
5924
|
id: "rate-experience",
|
|
5925
5925
|
label: "Rate your experience",
|
|
@@ -5937,7 +5937,7 @@ const fb = D(de)`
|
|
|
5937
5937
|
source: "help_drop_down"
|
|
5938
5938
|
}
|
|
5939
5939
|
});
|
|
5940
|
-
window.open(I, "_blank"), C(
|
|
5940
|
+
window.open(I, "_blank"), C(Va, {
|
|
5941
5941
|
sm_ids: v,
|
|
5942
5942
|
ug_id: f,
|
|
5943
5943
|
connector_names: e,
|
|
@@ -5995,7 +5995,7 @@ const fb = D(de)`
|
|
|
5995
5995
|
/* @__PURE__ */ g.jsxs(lb, { ref: c, children: [
|
|
5996
5996
|
/* @__PURE__ */ g.jsxs($, { direction: "row", alignItems: "center", gap: "8px", children: [
|
|
5997
5997
|
y ? /* @__PURE__ */ g.jsx(j0, { width: "20px", height: "20px" }) : /* @__PURE__ */ g.jsx(V0, {}),
|
|
5998
|
-
/* @__PURE__ */ g.jsx(G0, { variant: "h2", children: y ?
|
|
5998
|
+
/* @__PURE__ */ g.jsx(G0, { variant: "h2", children: y ? Pc : S0 })
|
|
5999
5999
|
] }),
|
|
6000
6000
|
/* @__PURE__ */ g.jsxs($, { direction: "row", children: [
|
|
6001
6001
|
/* @__PURE__ */ g.jsx(Ve, { title: gm, placement: "bottom", children: /* @__PURE__ */ g.jsx(dt, { onClick: x, id: "help-button", sx: { height: "36px", width: "36px" }, children: /* @__PURE__ */ g.jsx("img", { src: ob, alt: "Help", height: "20px" }) }) }),
|
|
@@ -6007,7 +6007,7 @@ const fb = D(de)`
|
|
|
6007
6007
|
] })
|
|
6008
6008
|
] });
|
|
6009
6009
|
};
|
|
6010
|
-
var
|
|
6010
|
+
var Ha = { exports: {} }, ea = {};
|
|
6011
6011
|
/**
|
|
6012
6012
|
* @license React
|
|
6013
6013
|
* use-sync-external-store-with-selector.production.min.js
|
|
@@ -6019,14 +6019,14 @@ var Wa = { exports: {} }, ta = {};
|
|
|
6019
6019
|
*/
|
|
6020
6020
|
var Xl;
|
|
6021
6021
|
function Zb() {
|
|
6022
|
-
if (Xl) return
|
|
6022
|
+
if (Xl) return ea;
|
|
6023
6023
|
Xl = 1;
|
|
6024
6024
|
var e = ye;
|
|
6025
6025
|
function t(l, a) {
|
|
6026
6026
|
return l === a && (l !== 0 || 1 / l === 1 / a) || l !== l && a !== a;
|
|
6027
6027
|
}
|
|
6028
6028
|
var n = typeof Object.is == "function" ? Object.is : t, r = e.useSyncExternalStore, o = e.useRef, i = e.useEffect, s = e.useMemo, c = e.useDebugValue;
|
|
6029
|
-
return
|
|
6029
|
+
return ea.useSyncExternalStoreWithSelector = function(l, a, u, h, m) {
|
|
6030
6030
|
var C = o(null);
|
|
6031
6031
|
if (C.current === null) {
|
|
6032
6032
|
var v = { hasValue: !1, value: null };
|
|
@@ -6056,9 +6056,9 @@ function Zb() {
|
|
|
6056
6056
|
return i(function() {
|
|
6057
6057
|
v.hasValue = !0, v.value = d;
|
|
6058
6058
|
}, [d]), c(d), d;
|
|
6059
|
-
},
|
|
6059
|
+
}, ea;
|
|
6060
6060
|
}
|
|
6061
|
-
var
|
|
6061
|
+
var ta = {};
|
|
6062
6062
|
/**
|
|
6063
6063
|
* @license React
|
|
6064
6064
|
* use-sync-external-store-with-selector.development.js
|
|
@@ -6095,11 +6095,11 @@ function Ub() {
|
|
|
6095
6095
|
}
|
|
6096
6096
|
return I = O, O;
|
|
6097
6097
|
}
|
|
6098
|
-
var j = x,
|
|
6098
|
+
var j = x, U = I;
|
|
6099
6099
|
if (n(j, L))
|
|
6100
|
-
return
|
|
6100
|
+
return U;
|
|
6101
6101
|
var Y = m(L);
|
|
6102
|
-
return C !== void 0 && C(
|
|
6102
|
+
return C !== void 0 && C(U, Y) ? U : (x = L, I = Y, Y);
|
|
6103
6103
|
}, w = h === void 0 ? null : h, _ = function() {
|
|
6104
6104
|
return A(u());
|
|
6105
6105
|
}, R = w === null ? void 0 : function() {
|
|
@@ -6111,11 +6111,11 @@ function Ub() {
|
|
|
6111
6111
|
d.hasValue = !0, d.value = b;
|
|
6112
6112
|
}, [b]), c(b), b;
|
|
6113
6113
|
}
|
|
6114
|
-
|
|
6115
|
-
}()),
|
|
6114
|
+
ta.useSyncExternalStoreWithSelector = l, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
6115
|
+
}()), ta;
|
|
6116
6116
|
}
|
|
6117
|
-
process.env.NODE_ENV === "production" ?
|
|
6118
|
-
var Xb =
|
|
6117
|
+
process.env.NODE_ENV === "production" ? Ha.exports = Zb() : Ha.exports = Ub();
|
|
6118
|
+
var Xb = Ha.exports, Mt = (
|
|
6119
6119
|
// prettier-ignore
|
|
6120
6120
|
// @ts-ignore
|
|
6121
6121
|
"default" in F ? F.default : F
|
|
@@ -6135,7 +6135,7 @@ function zb() {
|
|
|
6135
6135
|
var Zn = /* @__PURE__ */ zb(), $b = () => {
|
|
6136
6136
|
throw new Error("uSES not initialized!");
|
|
6137
6137
|
};
|
|
6138
|
-
function
|
|
6138
|
+
function Gc(e = Zn) {
|
|
6139
6139
|
return function() {
|
|
6140
6140
|
const n = Mt.useContext(e);
|
|
6141
6141
|
if (process.env.NODE_ENV !== "production" && !n)
|
|
@@ -6145,11 +6145,11 @@ function Hc(e = Zn) {
|
|
|
6145
6145
|
return n;
|
|
6146
6146
|
};
|
|
6147
6147
|
}
|
|
6148
|
-
var X0 = /* @__PURE__ */
|
|
6148
|
+
var X0 = /* @__PURE__ */ Gc(), z0 = $b, Yb = (e) => {
|
|
6149
6149
|
z0 = e;
|
|
6150
6150
|
}, Jb = (e, t) => e === t;
|
|
6151
6151
|
function Qb(e = Zn) {
|
|
6152
|
-
const t = e === Zn ? X0 :
|
|
6152
|
+
const t = e === Zn ? X0 : Gc(e), n = (r, o = {}) => {
|
|
6153
6153
|
const { equalityFn: i = Jb, devModeChecks: s = {} } = typeof o == "function" ? { equalityFn: o } : o;
|
|
6154
6154
|
if (process.env.NODE_ENV !== "production") {
|
|
6155
6155
|
if (!r)
|
|
@@ -6349,7 +6349,7 @@ var $0 = iv;
|
|
|
6349
6349
|
function Y0(e = Zn) {
|
|
6350
6350
|
const t = e === Zn ? X0 : (
|
|
6351
6351
|
// @ts-ignore
|
|
6352
|
-
|
|
6352
|
+
Gc(e)
|
|
6353
6353
|
), n = () => {
|
|
6354
6354
|
const { store: r } = t();
|
|
6355
6355
|
return r;
|
|
@@ -6381,10 +6381,10 @@ const en = cv.withTypes(), Ae = qb.withTypes(), mt = {
|
|
|
6381
6381
|
function lt(e) {
|
|
6382
6382
|
return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
|
|
6383
6383
|
}
|
|
6384
|
-
var pv = typeof Symbol == "function" && Symbol.observable || "@@observable", ql = pv,
|
|
6385
|
-
INIT: `@@redux/INIT${/* @__PURE__ */
|
|
6386
|
-
REPLACE: `@@redux/REPLACE${/* @__PURE__ */
|
|
6387
|
-
PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${
|
|
6384
|
+
var pv = typeof Symbol == "function" && Symbol.observable || "@@observable", ql = pv, na = () => Math.random().toString(36).substring(7).split("").join("."), gv = {
|
|
6385
|
+
INIT: `@@redux/INIT${/* @__PURE__ */ na()}`,
|
|
6386
|
+
REPLACE: `@@redux/REPLACE${/* @__PURE__ */ na()}`,
|
|
6387
|
+
PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${na()}`
|
|
6388
6388
|
}, gr = gv;
|
|
6389
6389
|
function ti(e) {
|
|
6390
6390
|
if (typeof e != "object" || e === null)
|
|
@@ -6694,7 +6694,7 @@ function _s(e) {
|
|
|
6694
6694
|
const t = e[Vt];
|
|
6695
6695
|
return t ? t.type_ : Array.isArray(e) ? 1 : Ts(e) ? 2 : Ss(e) ? 3 : 0;
|
|
6696
6696
|
}
|
|
6697
|
-
function
|
|
6697
|
+
function Wa(e, t) {
|
|
6698
6698
|
return _s(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
|
|
6699
6699
|
}
|
|
6700
6700
|
function tf(e, t, n) {
|
|
@@ -6713,7 +6713,7 @@ function Ss(e) {
|
|
|
6713
6713
|
function nr(e) {
|
|
6714
6714
|
return e.copy_ || e.base_;
|
|
6715
6715
|
}
|
|
6716
|
-
function
|
|
6716
|
+
function Za(e, t) {
|
|
6717
6717
|
if (Ts(e))
|
|
6718
6718
|
return new Map(e);
|
|
6719
6719
|
if (Ss(e))
|
|
@@ -6744,8 +6744,8 @@ function Ua(e, t) {
|
|
|
6744
6744
|
return Object.assign(o, e);
|
|
6745
6745
|
}
|
|
6746
6746
|
}
|
|
6747
|
-
function
|
|
6748
|
-
return Ls(e) || vr(e) || !In(e) || (_s(e) > 1 && (e.set = e.add = e.clear = e.delete = _v), Object.freeze(e), t && Object.entries(e).forEach(([n, r]) =>
|
|
6747
|
+
function Hc(e, t = !1) {
|
|
6748
|
+
return Ls(e) || vr(e) || !In(e) || (_s(e) > 1 && (e.set = e.add = e.clear = e.delete = _v), Object.freeze(e), t && Object.entries(e).forEach(([n, r]) => Hc(r, !0))), e;
|
|
6749
6749
|
}
|
|
6750
6750
|
function _v() {
|
|
6751
6751
|
Ot(2);
|
|
@@ -6776,10 +6776,10 @@ function Sv(e, t) {
|
|
|
6776
6776
|
function tu(e, t) {
|
|
6777
6777
|
t && (yr("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
|
|
6778
6778
|
}
|
|
6779
|
-
function
|
|
6780
|
-
|
|
6779
|
+
function Ua(e) {
|
|
6780
|
+
Xa(e), e.drafts_.forEach(Lv), e.drafts_ = null;
|
|
6781
6781
|
}
|
|
6782
|
-
function
|
|
6782
|
+
function Xa(e) {
|
|
6783
6783
|
e === Vo && (Vo = e.parent_);
|
|
6784
6784
|
}
|
|
6785
6785
|
function nu(e) {
|
|
@@ -6792,12 +6792,12 @@ function Lv(e) {
|
|
|
6792
6792
|
function ru(e, t) {
|
|
6793
6793
|
t.unfinalizedDrafts_ = t.drafts_.length;
|
|
6794
6794
|
const n = t.drafts_[0];
|
|
6795
|
-
return e !== void 0 && e !== n ? (n[Vt].modified_ && (
|
|
6795
|
+
return e !== void 0 && e !== n ? (n[Vt].modified_ && (Ua(t), Ot(4)), In(e) && (e = Qi(t, e), t.parent_ || qi(t, e)), t.patches_ && yr("Patches").generateReplacementPatches_(
|
|
6796
6796
|
n[Vt].base_,
|
|
6797
6797
|
e,
|
|
6798
6798
|
t.patches_,
|
|
6799
6799
|
t.inversePatches_
|
|
6800
|
-
)) : e = Qi(t, n, []),
|
|
6800
|
+
)) : e = Qi(t, n, []), Ua(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e !== K0 ? e : void 0;
|
|
6801
6801
|
}
|
|
6802
6802
|
function Qi(e, t, n) {
|
|
6803
6803
|
if (Ls(t))
|
|
@@ -6831,7 +6831,7 @@ function Qi(e, t, n) {
|
|
|
6831
6831
|
function ou(e, t, n, r, o, i, s) {
|
|
6832
6832
|
if (process.env.NODE_ENV !== "production" && o === n && Ot(5), vr(o)) {
|
|
6833
6833
|
const c = i && t && t.type_ !== 3 && // Set objects are atomic since they have no keys.
|
|
6834
|
-
!
|
|
6834
|
+
!Wa(t.assigned_, r) ? i.concat(r) : void 0, l = Qi(e, o, c);
|
|
6835
6835
|
if (tf(n, r, l), vr(l))
|
|
6836
6836
|
e.canAutoFreeze_ = !1;
|
|
6837
6837
|
else
|
|
@@ -6844,7 +6844,7 @@ function ou(e, t, n, r, o, i, s) {
|
|
|
6844
6844
|
}
|
|
6845
6845
|
}
|
|
6846
6846
|
function qi(e, t, n = !1) {
|
|
6847
|
-
!e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ &&
|
|
6847
|
+
!e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && Hc(t, n);
|
|
6848
6848
|
}
|
|
6849
6849
|
function Ov(e, t) {
|
|
6850
6850
|
const n = Array.isArray(e), r = {
|
|
@@ -6870,20 +6870,20 @@ function Ov(e, t) {
|
|
|
6870
6870
|
revoke_: null,
|
|
6871
6871
|
isManual_: !1
|
|
6872
6872
|
};
|
|
6873
|
-
let o = r, i =
|
|
6873
|
+
let o = r, i = Wc;
|
|
6874
6874
|
n && (o = [r], i = Go);
|
|
6875
6875
|
const { revoke: s, proxy: c } = Proxy.revocable(o, i);
|
|
6876
6876
|
return r.draft_ = c, r.revoke_ = s, c;
|
|
6877
6877
|
}
|
|
6878
|
-
var
|
|
6878
|
+
var Wc = {
|
|
6879
6879
|
get(e, t) {
|
|
6880
6880
|
if (t === Vt)
|
|
6881
6881
|
return e;
|
|
6882
6882
|
const n = nr(e);
|
|
6883
|
-
if (!
|
|
6883
|
+
if (!Wa(n, t))
|
|
6884
6884
|
return Rv(e, n, t);
|
|
6885
6885
|
const r = n[t];
|
|
6886
|
-
return e.finalized_ || !In(r) ? r : r ===
|
|
6886
|
+
return e.finalized_ || !In(r) ? r : r === ra(e.base_, t) ? (oa(e), e.copy_[t] = $a(r, e)) : r;
|
|
6887
6887
|
},
|
|
6888
6888
|
has(e, t) {
|
|
6889
6889
|
return t in nr(e);
|
|
@@ -6896,19 +6896,19 @@ var Zc = {
|
|
|
6896
6896
|
if (r != null && r.set)
|
|
6897
6897
|
return r.set.call(e.draft_, n), !0;
|
|
6898
6898
|
if (!e.modified_) {
|
|
6899
|
-
const o =
|
|
6899
|
+
const o = ra(nr(e), t), i = o == null ? void 0 : o[Vt];
|
|
6900
6900
|
if (i && i.base_ === n)
|
|
6901
6901
|
return e.copy_[t] = n, e.assigned_[t] = !1, !0;
|
|
6902
|
-
if (Av(n, o) && (n !== void 0 ||
|
|
6902
|
+
if (Av(n, o) && (n !== void 0 || Wa(e.base_, t)))
|
|
6903
6903
|
return !0;
|
|
6904
|
-
|
|
6904
|
+
oa(e), za(e);
|
|
6905
6905
|
}
|
|
6906
6906
|
return e.copy_[t] === n && // special case: handle new props with value 'undefined'
|
|
6907
6907
|
(n !== void 0 || t in e.copy_) || // special case: NaN
|
|
6908
6908
|
Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_[t] = !0), !0;
|
|
6909
6909
|
},
|
|
6910
6910
|
deleteProperty(e, t) {
|
|
6911
|
-
return
|
|
6911
|
+
return ra(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, oa(e), za(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
|
|
6912
6912
|
},
|
|
6913
6913
|
// Note: We never coerce `desc.value` into an Immer draft, because we can't make
|
|
6914
6914
|
// the same guarantee in ES5 mode.
|
|
@@ -6931,7 +6931,7 @@ var Zc = {
|
|
|
6931
6931
|
Ot(12);
|
|
6932
6932
|
}
|
|
6933
6933
|
}, Go = {};
|
|
6934
|
-
Ji(
|
|
6934
|
+
Ji(Wc, (e, t) => {
|
|
6935
6935
|
Go[e] = function() {
|
|
6936
6936
|
return arguments[0] = arguments[0][0], t.apply(this, arguments);
|
|
6937
6937
|
};
|
|
@@ -6940,9 +6940,9 @@ Go.deleteProperty = function(e, t) {
|
|
|
6940
6940
|
return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && Ot(13), Go.set.call(this, e, t, void 0);
|
|
6941
6941
|
};
|
|
6942
6942
|
Go.set = function(e, t, n) {
|
|
6943
|
-
return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && Ot(14),
|
|
6943
|
+
return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && Ot(14), Wc.set.call(this, e[0], t, n, e[0]);
|
|
6944
6944
|
};
|
|
6945
|
-
function
|
|
6945
|
+
function ra(e, t) {
|
|
6946
6946
|
const n = e[Vt];
|
|
6947
6947
|
return (n ? nr(n) : e)[t];
|
|
6948
6948
|
}
|
|
@@ -6966,11 +6966,11 @@ function rf(e, t) {
|
|
|
6966
6966
|
n = qr(n);
|
|
6967
6967
|
}
|
|
6968
6968
|
}
|
|
6969
|
-
function
|
|
6970
|
-
e.modified_ || (e.modified_ = !0, e.parent_ &&
|
|
6969
|
+
function za(e) {
|
|
6970
|
+
e.modified_ || (e.modified_ = !0, e.parent_ && za(e.parent_));
|
|
6971
6971
|
}
|
|
6972
|
-
function
|
|
6973
|
-
e.copy_ || (e.copy_ =
|
|
6972
|
+
function oa(e) {
|
|
6973
|
+
e.copy_ || (e.copy_ = Za(
|
|
6974
6974
|
e.base_,
|
|
6975
6975
|
e.scope_.immer_.useStrictShallowCopy_
|
|
6976
6976
|
));
|
|
@@ -6989,16 +6989,16 @@ var Fv = class {
|
|
|
6989
6989
|
typeof n != "function" && Ot(6), r !== void 0 && typeof r != "function" && Ot(7);
|
|
6990
6990
|
let o;
|
|
6991
6991
|
if (In(t)) {
|
|
6992
|
-
const i = nu(this), s =
|
|
6992
|
+
const i = nu(this), s = $a(t, void 0);
|
|
6993
6993
|
let c = !0;
|
|
6994
6994
|
try {
|
|
6995
6995
|
o = n(s), c = !1;
|
|
6996
6996
|
} finally {
|
|
6997
|
-
c ?
|
|
6997
|
+
c ? Ua(i) : Xa(i);
|
|
6998
6998
|
}
|
|
6999
6999
|
return tu(i, r), ru(o, i);
|
|
7000
7000
|
} else if (!t || typeof t != "object") {
|
|
7001
|
-
if (o = n(t), o === void 0 && (o = t), o === K0 && (o = void 0), this.autoFreeze_ &&
|
|
7001
|
+
if (o = n(t), o === void 0 && (o = t), o === K0 && (o = void 0), this.autoFreeze_ && Hc(o, !0), r) {
|
|
7002
7002
|
const i = [], s = [];
|
|
7003
7003
|
yr("Patches").generateReplacementPatches_(t, o, i, s), r(i, s);
|
|
7004
7004
|
}
|
|
@@ -7016,8 +7016,8 @@ var Fv = class {
|
|
|
7016
7016
|
}
|
|
7017
7017
|
createDraft(e) {
|
|
7018
7018
|
In(e) || Ot(8), vr(e) && (e = Dv(e));
|
|
7019
|
-
const t = nu(this), n =
|
|
7020
|
-
return n[Vt].isManual_ = !0,
|
|
7019
|
+
const t = nu(this), n = $a(e, void 0);
|
|
7020
|
+
return n[Vt].isManual_ = !0, Xa(t), n;
|
|
7021
7021
|
}
|
|
7022
7022
|
finishDraft(e, t) {
|
|
7023
7023
|
const n = e && e[Vt];
|
|
@@ -7058,7 +7058,7 @@ var Fv = class {
|
|
|
7058
7058
|
);
|
|
7059
7059
|
}
|
|
7060
7060
|
};
|
|
7061
|
-
function
|
|
7061
|
+
function $a(e, t) {
|
|
7062
7062
|
const n = Ts(e) ? yr("MapSet").proxyMap_(e, t) : Ss(e) ? yr("MapSet").proxySet_(e, t) : Ov(e, t);
|
|
7063
7063
|
return (t ? t.scope_ : nf()).drafts_.push(n), n;
|
|
7064
7064
|
}
|
|
@@ -7073,9 +7073,9 @@ function of(e) {
|
|
|
7073
7073
|
if (t) {
|
|
7074
7074
|
if (!t.modified_)
|
|
7075
7075
|
return t.base_;
|
|
7076
|
-
t.finalized_ = !0, n =
|
|
7076
|
+
t.finalized_ = !0, n = Za(e, t.scope_.immer_.useStrictShallowCopy_);
|
|
7077
7077
|
} else
|
|
7078
|
-
n =
|
|
7078
|
+
n = Za(e, !0);
|
|
7079
7079
|
return Ji(n, (r, o) => {
|
|
7080
7080
|
tf(n, r, of(o));
|
|
7081
7081
|
}), t && (t.finalized_ = !1), n;
|
|
@@ -7282,7 +7282,7 @@ function hf(e) {
|
|
|
7282
7282
|
const t = typeof e;
|
|
7283
7283
|
return e == null || t === "string" || t === "boolean" || t === "number" || Array.isArray(e) || ti(e);
|
|
7284
7284
|
}
|
|
7285
|
-
function
|
|
7285
|
+
function Ya(e, t = "", n = hf, r, o = [], i) {
|
|
7286
7286
|
let s;
|
|
7287
7287
|
if (!n(e))
|
|
7288
7288
|
return {
|
|
@@ -7299,7 +7299,7 @@ function Ja(e, t = "", n = hf, r, o = [], i) {
|
|
|
7299
7299
|
keyPath: h,
|
|
7300
7300
|
value: u
|
|
7301
7301
|
};
|
|
7302
|
-
if (typeof u == "object" && (s =
|
|
7302
|
+
if (typeof u == "object" && (s = Ya(u, h, n, r, o, i), s))
|
|
7303
7303
|
return s;
|
|
7304
7304
|
}
|
|
7305
7305
|
}
|
|
@@ -7332,7 +7332,7 @@ function Wv(e = {}) {
|
|
|
7332
7332
|
return m(C);
|
|
7333
7333
|
const v = m(C), d = lf(s, "SerializableStateInvariantMiddleware");
|
|
7334
7334
|
return !l && !(r.length && r.indexOf(C.type) !== -1) && d.measureTime(() => {
|
|
7335
|
-
const f =
|
|
7335
|
+
const f = Ya(C, "", t, n, o, u);
|
|
7336
7336
|
if (f) {
|
|
7337
7337
|
const {
|
|
7338
7338
|
keyPath: p,
|
|
@@ -7344,7 +7344,7 @@ Take a look at the logic that dispatched this action: `, C, `
|
|
|
7344
7344
|
(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`);
|
|
7345
7345
|
}
|
|
7346
7346
|
}), c || (d.measureTime(() => {
|
|
7347
|
-
const f = h.getState(), p =
|
|
7347
|
+
const f = h.getState(), p = Ya(f, "", t, n, i, u);
|
|
7348
7348
|
if (p) {
|
|
7349
7349
|
const {
|
|
7350
7350
|
keyPath: y,
|
|
@@ -7549,7 +7549,7 @@ var e5 = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", t5
|
|
|
7549
7549
|
for (; n--; )
|
|
7550
7550
|
t += e5[Math.random() * 64 | 0];
|
|
7551
7551
|
return t;
|
|
7552
|
-
}, n5 = ["name", "message", "stack", "code"],
|
|
7552
|
+
}, n5 = ["name", "message", "stack", "code"], ia = class {
|
|
7553
7553
|
constructor(e, t) {
|
|
7554
7554
|
/*
|
|
7555
7555
|
type-only property to distinguish between RejectWithValue and FulfillWithMeta
|
|
@@ -7649,15 +7649,15 @@ var e5 = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", t5
|
|
|
7649
7649
|
requestId: m,
|
|
7650
7650
|
signal: C.signal,
|
|
7651
7651
|
abort: f,
|
|
7652
|
-
rejectWithValue: (w, _) => new
|
|
7652
|
+
rejectWithValue: (w, _) => new ia(w, _),
|
|
7653
7653
|
fulfillWithValue: (w, _) => new au(w, _)
|
|
7654
7654
|
})).then((w) => {
|
|
7655
|
-
if (w instanceof
|
|
7655
|
+
if (w instanceof ia)
|
|
7656
7656
|
throw w;
|
|
7657
7657
|
return w instanceof au ? o(w.payload, m, l, w.meta) : o(w, m, l);
|
|
7658
7658
|
})]);
|
|
7659
7659
|
} catch (I) {
|
|
7660
|
-
y = I instanceof
|
|
7660
|
+
y = I instanceof ia ? s(null, m, l, I.payload, I.meta) : s(I, m, l);
|
|
7661
7661
|
} finally {
|
|
7662
7662
|
v && C.signal.removeEventListener("abort", v);
|
|
7663
7663
|
}
|
|
@@ -7840,7 +7840,7 @@ function l5(e, t, n, r) {
|
|
|
7840
7840
|
}
|
|
7841
7841
|
return o.unwrapped = e, o;
|
|
7842
7842
|
}
|
|
7843
|
-
var
|
|
7843
|
+
var Zc = /* @__PURE__ */ c5();
|
|
7844
7844
|
function u5() {
|
|
7845
7845
|
function e(t, n) {
|
|
7846
7846
|
return {
|
|
@@ -8075,10 +8075,10 @@ const L5 = {
|
|
|
8075
8075
|
}
|
|
8076
8076
|
};
|
|
8077
8077
|
};
|
|
8078
|
-
var
|
|
8078
|
+
var Ja = /* @__PURE__ */ ((e) => (e.ADD = "ADD", e.MULTIPLY = "MULTIPLY", e))(Ja || {});
|
|
8079
8079
|
const D5 = {
|
|
8080
|
-
[
|
|
8081
|
-
[
|
|
8080
|
+
[Ja.ADD]: (e, t) => e + t,
|
|
8081
|
+
[Ja.MULTIPLY]: (e, t) => e * t
|
|
8082
8082
|
}, N5 = (e) => e, lu = () => {
|
|
8083
8083
|
if ("crypto" in window && "randomUUID" in window.crypto)
|
|
8084
8084
|
return window.crypto.randomUUID();
|
|
@@ -8204,16 +8204,16 @@ function r4(e, t) {
|
|
|
8204
8204
|
return c;
|
|
8205
8205
|
}
|
|
8206
8206
|
}
|
|
8207
|
-
function
|
|
8207
|
+
function Qa(e, t) {
|
|
8208
8208
|
(t == null || t > e.length) && (t = e.length);
|
|
8209
8209
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
8210
8210
|
return r;
|
|
8211
8211
|
}
|
|
8212
8212
|
function wf(e, t) {
|
|
8213
8213
|
if (e) {
|
|
8214
|
-
if (typeof e == "string") return
|
|
8214
|
+
if (typeof e == "string") return Qa(e, t);
|
|
8215
8215
|
var n = {}.toString.call(e).slice(8, -1);
|
|
8216
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
8216
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Qa(e, t) : void 0;
|
|
8217
8217
|
}
|
|
8218
8218
|
}
|
|
8219
8219
|
function o4() {
|
|
@@ -8242,8 +8242,8 @@ function nn(e, t) {
|
|
|
8242
8242
|
return o;
|
|
8243
8243
|
}
|
|
8244
8244
|
var s4 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
8245
|
-
function
|
|
8246
|
-
var t = e.defaultInputValue, n = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, o = r === void 0 ? !1 : r, i = e.defaultValue, s = i === void 0 ? null : i, c = e.inputValue, l = e.menuIsOpen, a = e.onChange, u = e.onInputChange, h = e.onMenuClose, m = e.onMenuOpen, C = e.value, v = nn(e, s4), d =
|
|
8245
|
+
function Uc(e) {
|
|
8246
|
+
var t = e.defaultInputValue, n = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, o = r === void 0 ? !1 : r, i = e.defaultValue, s = i === void 0 ? null : i, c = e.inputValue, l = e.menuIsOpen, a = e.onChange, u = e.onInputChange, h = e.onMenuClose, m = e.onMenuOpen, C = e.value, v = nn(e, s4), d = Z(c !== void 0 ? c : n), f = st(d, 2), p = f[0], y = f[1], b = Z(l !== void 0 ? l : o), E = st(b, 2), x = E[0], I = E[1], A = Z(C !== void 0 ? C : s), w = st(A, 2), _ = w[0], R = w[1], L = _e(function(J, z) {
|
|
8247
8247
|
typeof a == "function" && a(J, z), R(J);
|
|
8248
8248
|
}, [a]), O = _e(function(J, z) {
|
|
8249
8249
|
var ue;
|
|
@@ -8252,9 +8252,9 @@ function Xc(e) {
|
|
|
8252
8252
|
typeof m == "function" && m(), I(!0);
|
|
8253
8253
|
}, [m]), j = _e(function() {
|
|
8254
8254
|
typeof h == "function" && h(), I(!1);
|
|
8255
|
-
}, [h]),
|
|
8255
|
+
}, [h]), U = c !== void 0 ? c : p, Y = l !== void 0 ? l : x, te = C !== void 0 ? C : _;
|
|
8256
8256
|
return oe(oe({}, v), {}, {
|
|
8257
|
-
inputValue:
|
|
8257
|
+
inputValue: U,
|
|
8258
8258
|
menuIsOpen: Y,
|
|
8259
8259
|
onChange: L,
|
|
8260
8260
|
onInputChange: O,
|
|
@@ -8286,10 +8286,10 @@ function c4(e, t, n) {
|
|
|
8286
8286
|
writable: !1
|
|
8287
8287
|
}), e;
|
|
8288
8288
|
}
|
|
8289
|
-
function
|
|
8290
|
-
return
|
|
8289
|
+
function qa(e, t) {
|
|
8290
|
+
return qa = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
|
|
8291
8291
|
return n.__proto__ = r, n;
|
|
8292
|
-
},
|
|
8292
|
+
}, qa(e, t);
|
|
8293
8293
|
}
|
|
8294
8294
|
function l4(e, t) {
|
|
8295
8295
|
if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function");
|
|
@@ -8301,7 +8301,7 @@ function l4(e, t) {
|
|
|
8301
8301
|
}
|
|
8302
8302
|
}), Object.defineProperty(e, "prototype", {
|
|
8303
8303
|
writable: !1
|
|
8304
|
-
}), t &&
|
|
8304
|
+
}), t && qa(e, t);
|
|
8305
8305
|
}
|
|
8306
8306
|
function Ki(e) {
|
|
8307
8307
|
return Ki = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
|
|
@@ -8339,7 +8339,7 @@ function f4(e) {
|
|
|
8339
8339
|
};
|
|
8340
8340
|
}
|
|
8341
8341
|
function h4(e) {
|
|
8342
|
-
if (Array.isArray(e)) return
|
|
8342
|
+
if (Array.isArray(e)) return Qa(e);
|
|
8343
8343
|
}
|
|
8344
8344
|
function p4(e) {
|
|
8345
8345
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
@@ -8392,7 +8392,7 @@ var y4 = /* @__PURE__ */ function() {
|
|
|
8392
8392
|
return (o = r.parentNode) == null ? void 0 : o.removeChild(r);
|
|
8393
8393
|
}), this.tags = [], this.ctr = 0;
|
|
8394
8394
|
}, e;
|
|
8395
|
-
}(), ht = "-ms-", es = "-moz-", Te = "-webkit-", _f = "comm",
|
|
8395
|
+
}(), ht = "-ms-", es = "-moz-", Te = "-webkit-", _f = "comm", Xc = "rule", zc = "decl", C4 = "@import", Tf = "@keyframes", x4 = "@layer", E4 = Math.abs, Rs = String.fromCharCode, I4 = Object.assign;
|
|
8396
8396
|
function w4(e, t) {
|
|
8397
8397
|
return ut(e, 0) ^ 45 ? (((t << 2 ^ ut(e, 0)) << 2 ^ ut(e, 1)) << 2 ^ ut(e, 2)) << 2 ^ ut(e, 3) : 0;
|
|
8398
8398
|
}
|
|
@@ -8405,7 +8405,7 @@ function A4(e, t) {
|
|
|
8405
8405
|
function Se(e, t, n) {
|
|
8406
8406
|
return e.replace(t, n);
|
|
8407
8407
|
}
|
|
8408
|
-
function
|
|
8408
|
+
function Ka(e, t) {
|
|
8409
8409
|
return e.indexOf(t);
|
|
8410
8410
|
}
|
|
8411
8411
|
function ut(e, t) {
|
|
@@ -8417,7 +8417,7 @@ function Ho(e, t, n) {
|
|
|
8417
8417
|
function cn(e) {
|
|
8418
8418
|
return e.length;
|
|
8419
8419
|
}
|
|
8420
|
-
function
|
|
8420
|
+
function $c(e) {
|
|
8421
8421
|
return e.length;
|
|
8422
8422
|
}
|
|
8423
8423
|
function mi(e, t) {
|
|
@@ -8490,7 +8490,7 @@ function Rf(e) {
|
|
|
8490
8490
|
return ao = "", e;
|
|
8491
8491
|
}
|
|
8492
8492
|
function Oi(e) {
|
|
8493
|
-
return Sf(ni(Ft - 1,
|
|
8493
|
+
return Sf(ni(Ft - 1, ec(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
8494
8494
|
}
|
|
8495
8495
|
function L4(e) {
|
|
8496
8496
|
for (; (Ke = hn()) && Ke < 33; )
|
|
@@ -8502,17 +8502,17 @@ function O4(e, t) {
|
|
|
8502
8502
|
;
|
|
8503
8503
|
return ni(e, Li() + (t < 6 && hn() == 32 && jt() == 32));
|
|
8504
8504
|
}
|
|
8505
|
-
function
|
|
8505
|
+
function ec(e) {
|
|
8506
8506
|
for (; jt(); )
|
|
8507
8507
|
switch (Ke) {
|
|
8508
8508
|
case e:
|
|
8509
8509
|
return Ft;
|
|
8510
8510
|
case 34:
|
|
8511
8511
|
case 39:
|
|
8512
|
-
e !== 34 && e !== 39 &&
|
|
8512
|
+
e !== 34 && e !== 39 && ec(Ke);
|
|
8513
8513
|
break;
|
|
8514
8514
|
case 40:
|
|
8515
|
-
e === 41 &&
|
|
8515
|
+
e === 41 && ec(e);
|
|
8516
8516
|
break;
|
|
8517
8517
|
case 92:
|
|
8518
8518
|
jt();
|
|
@@ -8539,7 +8539,7 @@ function Ri(e, t, n, r, o, i, s, c, l) {
|
|
|
8539
8539
|
switch (v = y, y = jt()) {
|
|
8540
8540
|
case 40:
|
|
8541
8541
|
if (v != 108 && ut(A, h - 1) == 58) {
|
|
8542
|
-
|
|
8542
|
+
Ka(A += Se(Oi(y), "&", "&\f"), "&\f") != -1 && (p = -1);
|
|
8543
8543
|
break;
|
|
8544
8544
|
}
|
|
8545
8545
|
case 34:
|
|
@@ -8624,19 +8624,19 @@ function Ri(e, t, n, r, o, i, s, c, l) {
|
|
|
8624
8624
|
return i;
|
|
8625
8625
|
}
|
|
8626
8626
|
function pu(e, t, n, r, o, i, s, c, l, a, u) {
|
|
8627
|
-
for (var h = o - 1, m = o === 0 ? i : [""], C =
|
|
8627
|
+
for (var h = o - 1, m = o === 0 ? i : [""], C = $c(m), v = 0, d = 0, f = 0; v < r; ++v)
|
|
8628
8628
|
for (var p = 0, y = Ho(e, h + 1, h = E4(d = s[v])), b = e; p < C; ++p)
|
|
8629
8629
|
(b = Sf(d > 0 ? m[p] + " " + y : Se(y, /&\f/g, m[p]))) && (l[f++] = b);
|
|
8630
|
-
return Ds(e, t, n, o === 0 ?
|
|
8630
|
+
return Ds(e, t, n, o === 0 ? Xc : c, l, a, u);
|
|
8631
8631
|
}
|
|
8632
8632
|
function N4(e, t, n) {
|
|
8633
8633
|
return Ds(e, t, n, _f, Rs(T4()), Ho(e, 2, -2), 0);
|
|
8634
8634
|
}
|
|
8635
8635
|
function gu(e, t, n, r) {
|
|
8636
|
-
return Ds(e, t, n,
|
|
8636
|
+
return Ds(e, t, n, zc, Ho(e, 0, r), Ho(e, r + 1, -1), r);
|
|
8637
8637
|
}
|
|
8638
8638
|
function Fr(e, t) {
|
|
8639
|
-
for (var n = "", r =
|
|
8639
|
+
for (var n = "", r = $c(e), o = 0; o < r; o++)
|
|
8640
8640
|
n += t(e[o], o, e, t) || "";
|
|
8641
8641
|
return n;
|
|
8642
8642
|
}
|
|
@@ -8645,19 +8645,19 @@ function k4(e, t, n, r) {
|
|
|
8645
8645
|
case x4:
|
|
8646
8646
|
if (e.children.length) break;
|
|
8647
8647
|
case C4:
|
|
8648
|
-
case
|
|
8648
|
+
case zc:
|
|
8649
8649
|
return e.return = e.return || e.value;
|
|
8650
8650
|
case _f:
|
|
8651
8651
|
return "";
|
|
8652
8652
|
case Tf:
|
|
8653
8653
|
return e.return = e.value + "{" + Fr(e.children, r) + "}";
|
|
8654
|
-
case
|
|
8654
|
+
case Xc:
|
|
8655
8655
|
e.value = e.props.join(",");
|
|
8656
8656
|
}
|
|
8657
8657
|
return cn(n = Fr(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
|
|
8658
8658
|
}
|
|
8659
8659
|
function M4(e) {
|
|
8660
|
-
var t =
|
|
8660
|
+
var t = $c(e);
|
|
8661
8661
|
return function(n, r, o, i) {
|
|
8662
8662
|
for (var s = "", c = 0; c < t; c++)
|
|
8663
8663
|
s += e[c](n, r, o, i) || "";
|
|
@@ -8807,13 +8807,13 @@ function Ff(e, t) {
|
|
|
8807
8807
|
case 102:
|
|
8808
8808
|
return Se(e, /(.+:)(.+)-([^]+)/, "$1" + Te + "$2-$3$1" + es + (ut(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
8809
8809
|
case 115:
|
|
8810
|
-
return ~
|
|
8810
|
+
return ~Ka(e, "stretch") ? Ff(Se(e, "stretch", "fill-available"), t) + e : e;
|
|
8811
8811
|
}
|
|
8812
8812
|
break;
|
|
8813
8813
|
case 4949:
|
|
8814
8814
|
if (ut(e, t + 1) !== 115) break;
|
|
8815
8815
|
case 6444:
|
|
8816
|
-
switch (ut(e, cn(e) - 3 - (~
|
|
8816
|
+
switch (ut(e, cn(e) - 3 - (~Ka(e, "!important") && 10))) {
|
|
8817
8817
|
case 107:
|
|
8818
8818
|
return Se(e, ":", ":" + Te) + e;
|
|
8819
8819
|
case 101:
|
|
@@ -8835,14 +8835,14 @@ function Ff(e, t) {
|
|
|
8835
8835
|
}
|
|
8836
8836
|
var Z4 = function(t, n, r, o) {
|
|
8837
8837
|
if (t.length > -1 && !t.return) switch (t.type) {
|
|
8838
|
-
case
|
|
8838
|
+
case zc:
|
|
8839
8839
|
t.return = Ff(t.value, t.length);
|
|
8840
8840
|
break;
|
|
8841
8841
|
case Tf:
|
|
8842
8842
|
return Fr([Io(t, {
|
|
8843
8843
|
value: Se(t.value, "@", "@" + Te)
|
|
8844
8844
|
})], o);
|
|
8845
|
-
case
|
|
8845
|
+
case Xc:
|
|
8846
8846
|
if (t.length) return _4(t.props, function(i) {
|
|
8847
8847
|
switch (A4(i, /(::plac\w+|:read-\w+)/)) {
|
|
8848
8848
|
case ":read-only":
|
|
@@ -8909,7 +8909,7 @@ var Z4 = function(t, n, r, o) {
|
|
|
8909
8909
|
insert: l
|
|
8910
8910
|
};
|
|
8911
8911
|
return v.sheet.hydrate(c), v;
|
|
8912
|
-
},
|
|
8912
|
+
}, tc = { exports: {} }, De = {};
|
|
8913
8913
|
/** @license React v16.13.1
|
|
8914
8914
|
* react-is.production.min.js
|
|
8915
8915
|
*
|
|
@@ -9033,7 +9033,7 @@ function $4() {
|
|
|
9033
9033
|
}
|
|
9034
9034
|
}
|
|
9035
9035
|
}
|
|
9036
|
-
var x = l, I = a, A = c, w = s, _ = t, R = u, L = r, O = v, N = C, j = n,
|
|
9036
|
+
var x = l, I = a, A = c, w = s, _ = t, R = u, L = r, O = v, N = C, j = n, U = i, Y = o, te = h, J = !1;
|
|
9037
9037
|
function z(H) {
|
|
9038
9038
|
return J || (J = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), ue(H) || E(H) === l;
|
|
9039
9039
|
}
|
|
@@ -9073,11 +9073,11 @@ function $4() {
|
|
|
9073
9073
|
function Ie(H) {
|
|
9074
9074
|
return E(H) === h;
|
|
9075
9075
|
}
|
|
9076
|
-
Ne.AsyncMode = x, Ne.ConcurrentMode = I, Ne.ContextConsumer = A, Ne.ContextProvider = w, Ne.Element = _, Ne.ForwardRef = R, Ne.Fragment = L, Ne.Lazy = O, Ne.Memo = N, Ne.Portal = j, Ne.Profiler =
|
|
9076
|
+
Ne.AsyncMode = x, Ne.ConcurrentMode = I, Ne.ContextConsumer = A, Ne.ContextProvider = w, Ne.Element = _, Ne.ForwardRef = R, Ne.Fragment = L, Ne.Lazy = O, Ne.Memo = N, Ne.Portal = j, Ne.Profiler = U, Ne.StrictMode = Y, Ne.Suspense = te, Ne.isAsyncMode = z, Ne.isConcurrentMode = ue, Ne.isContextConsumer = he, Ne.isContextProvider = P, Ne.isElement = G, Ne.isForwardRef = B, Ne.isFragment = W, Ne.isLazy = K, Ne.isMemo = ne, Ne.isPortal = ie, Ne.isProfiler = M, Ne.isStrictMode = re, Ne.isSuspense = Ie, Ne.isValidElementType = b, Ne.typeOf = E;
|
|
9077
9077
|
}()), Ne;
|
|
9078
9078
|
}
|
|
9079
|
-
process.env.NODE_ENV === "production" ?
|
|
9080
|
-
var Y4 =
|
|
9079
|
+
process.env.NODE_ENV === "production" ? tc.exports = z4() : tc.exports = $4();
|
|
9080
|
+
var Y4 = tc.exports, Df = Y4, J4 = {
|
|
9081
9081
|
$$typeof: !0,
|
|
9082
9082
|
render: !0,
|
|
9083
9083
|
defaultProps: !0,
|
|
@@ -9194,7 +9194,7 @@ var ny = {
|
|
|
9194
9194
|
return t.charCodeAt(1) === 45;
|
|
9195
9195
|
}, yu = function(t) {
|
|
9196
9196
|
return t != null && typeof t != "boolean";
|
|
9197
|
-
},
|
|
9197
|
+
}, sa = /* @__PURE__ */ j4(function(e) {
|
|
9198
9198
|
return Mf(e) ? e : e.replace(oy, "-$&").toLowerCase();
|
|
9199
9199
|
}), Cu = function(t, n) {
|
|
9200
9200
|
switch (t) {
|
|
@@ -9264,19 +9264,19 @@ function ay(e, t, n) {
|
|
|
9264
9264
|
var s = n[i];
|
|
9265
9265
|
if (typeof s != "object") {
|
|
9266
9266
|
var c = s;
|
|
9267
|
-
yu(c) && (r +=
|
|
9267
|
+
yu(c) && (r += sa(i) + ":" + Cu(i, c) + ";");
|
|
9268
9268
|
} else {
|
|
9269
9269
|
if (i === "NO_COMPONENT_SELECTOR" && ry)
|
|
9270
9270
|
throw new Error(sy);
|
|
9271
9271
|
if (Array.isArray(s) && typeof s[0] == "string" && t == null)
|
|
9272
9272
|
for (var l = 0; l < s.length; l++)
|
|
9273
|
-
yu(s[l]) && (r +=
|
|
9273
|
+
yu(s[l]) && (r += sa(i) + ":" + Cu(i, s[l]) + ";");
|
|
9274
9274
|
else {
|
|
9275
9275
|
var a = Zo(e, t, s);
|
|
9276
9276
|
switch (i) {
|
|
9277
9277
|
case "animation":
|
|
9278
9278
|
case "animationName": {
|
|
9279
|
-
r +=
|
|
9279
|
+
r += sa(i) + ":" + a + ";";
|
|
9280
9280
|
break;
|
|
9281
9281
|
}
|
|
9282
9282
|
default:
|
|
@@ -9334,11 +9334,11 @@ var fy = function(t) {
|
|
|
9334
9334
|
var o = $e(jf);
|
|
9335
9335
|
return t(n, o, r);
|
|
9336
9336
|
});
|
|
9337
|
-
}, hy = /* @__PURE__ */ F.createContext({}),
|
|
9337
|
+
}, hy = /* @__PURE__ */ F.createContext({}), Yc = {}.hasOwnProperty, nc = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", py = function(t, n) {
|
|
9338
9338
|
var r = {};
|
|
9339
9339
|
for (var o in n)
|
|
9340
|
-
|
|
9341
|
-
return r[
|
|
9340
|
+
Yc.call(n, o) && (r[o] = n[o]);
|
|
9341
|
+
return r[nc] = t, r;
|
|
9342
9342
|
}, gy = function(t) {
|
|
9343
9343
|
var n = t.cache, r = t.serialized, o = t.isStringTag;
|
|
9344
9344
|
return kf(n, r, o), uy(function() {
|
|
@@ -9349,13 +9349,13 @@ var fy = function(t) {
|
|
|
9349
9349
|
function(e, t, n) {
|
|
9350
9350
|
var r = e.css;
|
|
9351
9351
|
typeof r == "string" && t.registered[r] !== void 0 && (r = t.registered[r]);
|
|
9352
|
-
var o = e[
|
|
9352
|
+
var o = e[nc], i = [r], s = "";
|
|
9353
9353
|
typeof e.className == "string" ? s = K4(t.registered, i, e.className) : e.className != null && (s = e.className + " ");
|
|
9354
9354
|
var c = Pf(i, void 0, F.useContext(hy));
|
|
9355
9355
|
s += t.key + "-" + c.name;
|
|
9356
9356
|
var l = {};
|
|
9357
9357
|
for (var a in e)
|
|
9358
|
-
|
|
9358
|
+
Yc.call(e, a) && a !== "css" && a !== nc && !dy && (l[a] = e[a]);
|
|
9359
9359
|
return l.className = s, n && (l.ref = n), /* @__PURE__ */ F.createElement(F.Fragment, null, /* @__PURE__ */ F.createElement(gy, {
|
|
9360
9360
|
cache: t,
|
|
9361
9361
|
serialized: c,
|
|
@@ -9364,7 +9364,7 @@ var fy = function(t) {
|
|
|
9364
9364
|
}
|
|
9365
9365
|
), by = my, ae = function(t, n) {
|
|
9366
9366
|
var r = arguments;
|
|
9367
|
-
if (n == null || !
|
|
9367
|
+
if (n == null || !Yc.call(n, "css"))
|
|
9368
9368
|
return F.createElement.apply(void 0, r);
|
|
9369
9369
|
var o = r.length, i = new Array(o);
|
|
9370
9370
|
i[0] = by, i[1] = py(t, n);
|
|
@@ -9372,13 +9372,13 @@ var fy = function(t) {
|
|
|
9372
9372
|
i[s] = r[s];
|
|
9373
9373
|
return F.createElement.apply(null, i);
|
|
9374
9374
|
};
|
|
9375
|
-
function
|
|
9375
|
+
function Jc() {
|
|
9376
9376
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
9377
9377
|
t[n] = arguments[n];
|
|
9378
9378
|
return Pf(t);
|
|
9379
9379
|
}
|
|
9380
9380
|
var vy = function() {
|
|
9381
|
-
var t =
|
|
9381
|
+
var t = Jc.apply(void 0, arguments), n = "animation-" + t.name;
|
|
9382
9382
|
return {
|
|
9383
9383
|
name: n,
|
|
9384
9384
|
styles: "@keyframes " + n + "{" + t.styles + "}",
|
|
@@ -9437,7 +9437,7 @@ function Gf(e) {
|
|
|
9437
9437
|
function Iy(e) {
|
|
9438
9438
|
return Ns() ? e instanceof Element || e instanceof An(e).Element : !1;
|
|
9439
9439
|
}
|
|
9440
|
-
function
|
|
9440
|
+
function Qc(e) {
|
|
9441
9441
|
return Ns() ? e instanceof HTMLElement || e instanceof An(e).HTMLElement : !1;
|
|
9442
9442
|
}
|
|
9443
9443
|
function Eu(e) {
|
|
@@ -9449,7 +9449,7 @@ function Hf(e) {
|
|
|
9449
9449
|
overflowX: n,
|
|
9450
9450
|
overflowY: r,
|
|
9451
9451
|
display: o
|
|
9452
|
-
} =
|
|
9452
|
+
} = qc(e);
|
|
9453
9453
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && !["inline", "contents"].includes(o);
|
|
9454
9454
|
}
|
|
9455
9455
|
function wy() {
|
|
@@ -9458,7 +9458,7 @@ function wy() {
|
|
|
9458
9458
|
function Ay(e) {
|
|
9459
9459
|
return ["html", "body", "#document"].includes(Bf(e));
|
|
9460
9460
|
}
|
|
9461
|
-
function
|
|
9461
|
+
function qc(e) {
|
|
9462
9462
|
return An(e).getComputedStyle(e);
|
|
9463
9463
|
}
|
|
9464
9464
|
function _y(e) {
|
|
@@ -9475,37 +9475,37 @@ function _y(e) {
|
|
|
9475
9475
|
}
|
|
9476
9476
|
function Wf(e) {
|
|
9477
9477
|
const t = _y(e);
|
|
9478
|
-
return Ay(t) ? e.ownerDocument ? e.ownerDocument.body : e.body :
|
|
9478
|
+
return Ay(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Qc(t) && Hf(t) ? t : Wf(t);
|
|
9479
9479
|
}
|
|
9480
9480
|
function rs(e, t, n) {
|
|
9481
9481
|
var r;
|
|
9482
9482
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
9483
9483
|
const o = Wf(e), i = o === ((r = e.ownerDocument) == null ? void 0 : r.body), s = An(o);
|
|
9484
9484
|
if (i) {
|
|
9485
|
-
const c =
|
|
9485
|
+
const c = rc(s);
|
|
9486
9486
|
return t.concat(s, s.visualViewport || [], Hf(o) ? o : [], c && n ? rs(c) : []);
|
|
9487
9487
|
}
|
|
9488
9488
|
return t.concat(o, rs(o, [], n));
|
|
9489
9489
|
}
|
|
9490
|
-
function
|
|
9490
|
+
function rc(e) {
|
|
9491
9491
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
9492
9492
|
}
|
|
9493
9493
|
function Ty(e) {
|
|
9494
|
-
const t =
|
|
9494
|
+
const t = qc(e);
|
|
9495
9495
|
let n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0;
|
|
9496
|
-
const o =
|
|
9496
|
+
const o = Qc(e), i = o ? e.offsetWidth : n, s = o ? e.offsetHeight : r, c = ts(n) !== i || ts(r) !== s;
|
|
9497
9497
|
return c && (n = i, r = s), {
|
|
9498
9498
|
width: n,
|
|
9499
9499
|
height: r,
|
|
9500
9500
|
$: c
|
|
9501
9501
|
};
|
|
9502
9502
|
}
|
|
9503
|
-
function
|
|
9503
|
+
function Kc(e) {
|
|
9504
9504
|
return Iy(e) ? e : e.contextElement;
|
|
9505
9505
|
}
|
|
9506
9506
|
function Iu(e) {
|
|
9507
|
-
const t =
|
|
9508
|
-
if (!
|
|
9507
|
+
const t = Kc(e);
|
|
9508
|
+
if (!Qc(t))
|
|
9509
9509
|
return ns(1);
|
|
9510
9510
|
const n = t.getBoundingClientRect(), {
|
|
9511
9511
|
width: r,
|
|
@@ -9531,17 +9531,17 @@ function Oy(e, t, n) {
|
|
|
9531
9531
|
}
|
|
9532
9532
|
function wu(e, t, n, r) {
|
|
9533
9533
|
t === void 0 && (t = !1);
|
|
9534
|
-
const o = e.getBoundingClientRect(), i =
|
|
9534
|
+
const o = e.getBoundingClientRect(), i = Kc(e);
|
|
9535
9535
|
let s = ns(1);
|
|
9536
9536
|
t && (s = Iu(e));
|
|
9537
9537
|
const c = Oy() ? Ly(i) : ns(0);
|
|
9538
9538
|
let l = (o.left + c.x) / s.x, a = (o.top + c.y) / s.y, u = o.width / s.x, h = o.height / s.y;
|
|
9539
9539
|
if (i) {
|
|
9540
9540
|
const m = An(i), C = r;
|
|
9541
|
-
let v = m, d =
|
|
9541
|
+
let v = m, d = rc(v);
|
|
9542
9542
|
for (; d && r && C !== v; ) {
|
|
9543
|
-
const f = Iu(d), p = d.getBoundingClientRect(), y =
|
|
9544
|
-
l *= f.x, a *= f.y, u *= f.x, h *= f.y, l += b, a += E, v = An(d), d =
|
|
9543
|
+
const f = Iu(d), p = d.getBoundingClientRect(), y = qc(d), b = p.left + (d.clientLeft + parseFloat(y.paddingLeft)) * f.x, E = p.top + (d.clientTop + parseFloat(y.paddingTop)) * f.y;
|
|
9544
|
+
l *= f.x, a *= f.y, u *= f.x, h *= f.y, l += b, a += E, v = An(d), d = rc(v);
|
|
9545
9545
|
}
|
|
9546
9546
|
}
|
|
9547
9547
|
return Ey({
|
|
@@ -9605,7 +9605,7 @@ function Fy(e, t, n, r) {
|
|
|
9605
9605
|
elementResize: s = typeof ResizeObserver == "function",
|
|
9606
9606
|
layoutShift: c = typeof IntersectionObserver == "function",
|
|
9607
9607
|
animationFrame: l = !1
|
|
9608
|
-
} = r, a =
|
|
9608
|
+
} = r, a = Kc(e), u = o || i ? [...a ? rs(a) : [], ...rs(t)] : [];
|
|
9609
9609
|
u.forEach((p) => {
|
|
9610
9610
|
o && p.addEventListener("scroll", n, {
|
|
9611
9611
|
passive: !0
|
|
@@ -9633,7 +9633,7 @@ function Fy(e, t, n, r) {
|
|
|
9633
9633
|
}), h == null || h(), (p = C) == null || p.disconnect(), C = null, l && cancelAnimationFrame(v);
|
|
9634
9634
|
};
|
|
9635
9635
|
}
|
|
9636
|
-
var
|
|
9636
|
+
var oc = to, Dy = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], os = function() {
|
|
9637
9637
|
};
|
|
9638
9638
|
function Ny(e, t) {
|
|
9639
9639
|
return t ? t[0] === "-" ? e + t : e + "__" + t : e;
|
|
@@ -9793,8 +9793,8 @@ function Yy(e) {
|
|
|
9793
9793
|
};
|
|
9794
9794
|
}
|
|
9795
9795
|
if (o === "auto" || s) {
|
|
9796
|
-
var j = t,
|
|
9797
|
-
return
|
|
9796
|
+
var j = t, U = s ? I : w;
|
|
9797
|
+
return U >= r && (j = Math.min(U - E - c, t)), {
|
|
9798
9798
|
placement: "top",
|
|
9799
9799
|
maxHeight: j
|
|
9800
9800
|
};
|
|
@@ -9853,8 +9853,8 @@ var zf = function(t) {
|
|
|
9853
9853
|
marginTop: c.menuGutter
|
|
9854
9854
|
});
|
|
9855
9855
|
}, $f = /* @__PURE__ */ _d(null), qy = function(t) {
|
|
9856
|
-
var n = t.children, r = t.minMenuHeight, o = t.maxMenuHeight, i = t.menuPlacement, s = t.menuPosition, c = t.menuShouldScrollIntoView, l = t.theme, a = $e($f) || {}, u = a.setPortalPlacement, h = Ce(null), m =
|
|
9857
|
-
return
|
|
9856
|
+
var n = t.children, r = t.minMenuHeight, o = t.maxMenuHeight, i = t.menuPlacement, s = t.menuPosition, c = t.menuShouldScrollIntoView, l = t.theme, a = $e($f) || {}, u = a.setPortalPlacement, h = Ce(null), m = Z(o), C = st(m, 2), v = C[0], d = C[1], f = Z(null), p = st(f, 2), y = p[0], b = p[1], E = l.spacing.controlHeight;
|
|
9857
|
+
return oc(function() {
|
|
9858
9858
|
var x = h.current;
|
|
9859
9859
|
if (x) {
|
|
9860
9860
|
var I = s === "fixed", A = c && !I, w = Yy({
|
|
@@ -9938,11 +9938,11 @@ var zf = function(t) {
|
|
|
9938
9938
|
zIndex: 1
|
|
9939
9939
|
};
|
|
9940
9940
|
}, c9 = function(t) {
|
|
9941
|
-
var n = t.appendTo, r = t.children, o = t.controlElement, i = t.innerProps, s = t.menuPlacement, c = t.menuPosition, l = Ce(null), a = Ce(null), u =
|
|
9941
|
+
var n = t.appendTo, r = t.children, o = t.controlElement, i = t.innerProps, s = t.menuPlacement, c = t.menuPosition, l = Ce(null), a = Ce(null), u = Z(zf(s)), h = st(u, 2), m = h[0], C = h[1], v = Pe(function() {
|
|
9942
9942
|
return {
|
|
9943
9943
|
setPortalPlacement: C
|
|
9944
9944
|
};
|
|
9945
|
-
}, []), d =
|
|
9945
|
+
}, []), d = Z(null), f = st(d, 2), p = f[0], y = f[1], b = _e(function() {
|
|
9946
9946
|
if (o) {
|
|
9947
9947
|
var A = Vy(o), w = c === "fixed" ? 0 : window.pageYOffset, _ = A[m] + w;
|
|
9948
9948
|
(_ !== (p == null ? void 0 : p.offset) || A.left !== (p == null ? void 0 : p.rect.left) || A.width !== (p == null ? void 0 : p.rect.width)) && y({
|
|
@@ -9951,7 +9951,7 @@ var zf = function(t) {
|
|
|
9951
9951
|
});
|
|
9952
9952
|
}
|
|
9953
9953
|
}, [o, c, m, p == null ? void 0 : p.offset, p == null ? void 0 : p.rect.left, p == null ? void 0 : p.rect.width]);
|
|
9954
|
-
|
|
9954
|
+
oc(function() {
|
|
9955
9955
|
b();
|
|
9956
9956
|
}, [b]);
|
|
9957
9957
|
var E = _e(function() {
|
|
@@ -9959,7 +9959,7 @@ var zf = function(t) {
|
|
|
9959
9959
|
elementResize: "ResizeObserver" in window
|
|
9960
9960
|
}));
|
|
9961
9961
|
}, [o, b]);
|
|
9962
|
-
|
|
9962
|
+
oc(function() {
|
|
9963
9963
|
E();
|
|
9964
9964
|
}, [E]);
|
|
9965
9965
|
var x = _e(function(A) {
|
|
@@ -10047,7 +10047,7 @@ var v9 = process.env.NODE_ENV === "production" ? {
|
|
|
10047
10047
|
focusable: "false",
|
|
10048
10048
|
css: v9
|
|
10049
10049
|
}, r));
|
|
10050
|
-
},
|
|
10050
|
+
}, el = function(t) {
|
|
10051
10051
|
return ae(Jf, ce({
|
|
10052
10052
|
size: 20
|
|
10053
10053
|
}, t), ae("path", {
|
|
@@ -10083,7 +10083,7 @@ var v9 = process.env.NODE_ENV === "production" ? {
|
|
|
10083
10083
|
return ae("div", ce({}, ze(t, "clearIndicator", {
|
|
10084
10084
|
indicator: !0,
|
|
10085
10085
|
"clear-indicator": !0
|
|
10086
|
-
}), r), n || ae(
|
|
10086
|
+
}), r), n || ae(el, null));
|
|
10087
10087
|
}, I9 = function(t, n) {
|
|
10088
10088
|
var r = t.isDisabled, o = t.theme, i = o.spacing.baseUnit, s = o.colors;
|
|
10089
10089
|
return oe({
|
|
@@ -10119,10 +10119,10 @@ var v9 = process.env.NODE_ENV === "production" ? {
|
|
|
10119
10119
|
color: r ? s.neutral60 : s.neutral20,
|
|
10120
10120
|
padding: c * 2
|
|
10121
10121
|
});
|
|
10122
|
-
},
|
|
10122
|
+
}, aa = function(t) {
|
|
10123
10123
|
var n = t.delay, r = t.offset;
|
|
10124
10124
|
return ae("span", {
|
|
10125
|
-
css: /* @__PURE__ */
|
|
10125
|
+
css: /* @__PURE__ */ Jc({
|
|
10126
10126
|
animation: "".concat(A9, " 1s ease-in-out ").concat(n, "ms infinite;"),
|
|
10127
10127
|
backgroundColor: "currentColor",
|
|
10128
10128
|
borderRadius: "1em",
|
|
@@ -10142,13 +10142,13 @@ var v9 = process.env.NODE_ENV === "production" ? {
|
|
|
10142
10142
|
}), "loadingIndicator", {
|
|
10143
10143
|
indicator: !0,
|
|
10144
10144
|
"loading-indicator": !0
|
|
10145
|
-
}), n), ae(
|
|
10145
|
+
}), n), ae(aa, {
|
|
10146
10146
|
delay: 0,
|
|
10147
10147
|
offset: r
|
|
10148
|
-
}), ae(
|
|
10148
|
+
}), ae(aa, {
|
|
10149
10149
|
delay: 160,
|
|
10150
10150
|
offset: !0
|
|
10151
|
-
}), ae(
|
|
10151
|
+
}), ae(aa, {
|
|
10152
10152
|
delay: 320,
|
|
10153
10153
|
offset: !r
|
|
10154
10154
|
}));
|
|
@@ -10327,7 +10327,7 @@ function $9(e) {
|
|
|
10327
10327
|
var t = e.children, n = e.innerProps;
|
|
10328
10328
|
return ae("div", ce({
|
|
10329
10329
|
role: "button"
|
|
10330
|
-
}, n), t || ae(
|
|
10330
|
+
}, n), t || ae(el, {
|
|
10331
10331
|
size: 14
|
|
10332
10332
|
}));
|
|
10333
10333
|
}
|
|
@@ -10425,7 +10425,7 @@ var Y9 = function(t) {
|
|
|
10425
10425
|
Control: O9,
|
|
10426
10426
|
DropdownIndicator: C9,
|
|
10427
10427
|
DownChevron: Qf,
|
|
10428
|
-
CrossIcon:
|
|
10428
|
+
CrossIcon: el,
|
|
10429
10429
|
Group: M9,
|
|
10430
10430
|
GroupHeading: k9,
|
|
10431
10431
|
IndicatorsContainer: p9,
|
|
@@ -10547,7 +10547,7 @@ var dC = process.env.NODE_ENV === "production" ? {
|
|
|
10547
10547
|
var n = t.ariaSelection, r = t.focusedOption, o = t.focusedValue, i = t.focusableOptions, s = t.isFocused, c = t.selectValue, l = t.selectProps, a = t.id, u = t.isAppleDevice, h = l.ariaLiveMessages, m = l.getOptionLabel, C = l.inputValue, v = l.isMulti, d = l.isOptionDisabled, f = l.isSearchable, p = l.menuIsOpen, y = l.options, b = l.screenReaderStatus, E = l.tabSelectsValue, x = l.isLoading, I = l["aria-label"], A = l["aria-live"], w = Pe(function() {
|
|
10548
10548
|
return oe(oe({}, hC), h || {});
|
|
10549
10549
|
}, [h]), _ = Pe(function() {
|
|
10550
|
-
var
|
|
10550
|
+
var U = "";
|
|
10551
10551
|
if (n && w.onChange) {
|
|
10552
10552
|
var Y = n.option, te = n.options, J = n.removedValue, z = n.removedValues, ue = n.value, he = function(ie) {
|
|
10553
10553
|
return Array.isArray(ie) ? null : ie;
|
|
@@ -10558,11 +10558,11 @@ var dC = process.env.NODE_ENV === "production" ? {
|
|
|
10558
10558
|
label: G,
|
|
10559
10559
|
labels: W
|
|
10560
10560
|
}, n);
|
|
10561
|
-
|
|
10561
|
+
U = w.onChange(K);
|
|
10562
10562
|
}
|
|
10563
|
-
return
|
|
10563
|
+
return U;
|
|
10564
10564
|
}, [n, w, d, c, m]), R = Pe(function() {
|
|
10565
|
-
var
|
|
10565
|
+
var U = "", Y = r || o, te = !!(r && c && c.includes(r));
|
|
10566
10566
|
if (Y && w.onFocus) {
|
|
10567
10567
|
var J = {
|
|
10568
10568
|
focused: Y,
|
|
@@ -10574,26 +10574,26 @@ var dC = process.env.NODE_ENV === "production" ? {
|
|
|
10574
10574
|
selectValue: c,
|
|
10575
10575
|
isAppleDevice: u
|
|
10576
10576
|
};
|
|
10577
|
-
|
|
10577
|
+
U = w.onFocus(J);
|
|
10578
10578
|
}
|
|
10579
|
-
return
|
|
10579
|
+
return U;
|
|
10580
10580
|
}, [r, o, m, d, w, i, c, u]), L = Pe(function() {
|
|
10581
|
-
var
|
|
10581
|
+
var U = "";
|
|
10582
10582
|
if (p && y.length && !x && w.onFilter) {
|
|
10583
10583
|
var Y = b({
|
|
10584
10584
|
count: i.length
|
|
10585
10585
|
});
|
|
10586
|
-
|
|
10586
|
+
U = w.onFilter({
|
|
10587
10587
|
inputValue: C,
|
|
10588
10588
|
resultsMessage: Y
|
|
10589
10589
|
});
|
|
10590
10590
|
}
|
|
10591
|
-
return
|
|
10591
|
+
return U;
|
|
10592
10592
|
}, [i, C, p, w, y, b, x]), O = (n == null ? void 0 : n.action) === "initial-input-focus", N = Pe(function() {
|
|
10593
|
-
var
|
|
10593
|
+
var U = "";
|
|
10594
10594
|
if (w.guidance) {
|
|
10595
10595
|
var Y = o ? "value" : p ? "menu" : "input";
|
|
10596
|
-
|
|
10596
|
+
U = w.guidance({
|
|
10597
10597
|
"aria-label": I,
|
|
10598
10598
|
context: Y,
|
|
10599
10599
|
isDisabled: r && d(r, c),
|
|
@@ -10603,8 +10603,8 @@ var dC = process.env.NODE_ENV === "production" ? {
|
|
|
10603
10603
|
isInitialFocus: O
|
|
10604
10604
|
});
|
|
10605
10605
|
}
|
|
10606
|
-
return
|
|
10607
|
-
}, [I, r, o, v, d, f, p, w, c, E, O]), j = ae(
|
|
10606
|
+
return U;
|
|
10607
|
+
}, [I, r, o, v, d, f, p, w, c, E, O]), j = ae(Ea, null, ae("span", {
|
|
10608
10608
|
id: "aria-selection"
|
|
10609
10609
|
}, _), ae("span", {
|
|
10610
10610
|
id: "aria-focused"
|
|
@@ -10613,7 +10613,7 @@ var dC = process.env.NODE_ENV === "production" ? {
|
|
|
10613
10613
|
}, L), ae("span", {
|
|
10614
10614
|
id: "aria-guidance"
|
|
10615
10615
|
}, N));
|
|
10616
|
-
return ae(
|
|
10616
|
+
return ae(Ea, null, ae(Lu, {
|
|
10617
10617
|
id: a
|
|
10618
10618
|
}, O && j), ae(Lu, {
|
|
10619
10619
|
"aria-live": A,
|
|
@@ -10621,7 +10621,7 @@ var dC = process.env.NODE_ENV === "production" ? {
|
|
|
10621
10621
|
"aria-relevant": "additions text",
|
|
10622
10622
|
role: "log"
|
|
10623
10623
|
}, s && !O && j));
|
|
10624
|
-
}, gC = pC,
|
|
10624
|
+
}, gC = pC, ic = [{
|
|
10625
10625
|
base: "A",
|
|
10626
10626
|
letters: "AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"
|
|
10627
10627
|
}, {
|
|
@@ -10873,12 +10873,12 @@ var dC = process.env.NODE_ENV === "production" ? {
|
|
|
10873
10873
|
}, {
|
|
10874
10874
|
base: "z",
|
|
10875
10875
|
letters: "zⓩzźẑżžẓẕƶȥɀⱬꝣ"
|
|
10876
|
-
}], mC = new RegExp("[" +
|
|
10876
|
+
}], mC = new RegExp("[" + ic.map(function(e) {
|
|
10877
10877
|
return e.letters;
|
|
10878
10878
|
}).join("") + "]", "g"), t1 = {};
|
|
10879
|
-
for (var
|
|
10880
|
-
for (var
|
|
10881
|
-
t1[
|
|
10879
|
+
for (var ca = 0; ca < ic.length; ca++)
|
|
10880
|
+
for (var la = ic[ca], ua = 0; ua < la.letters.length; ua++)
|
|
10881
|
+
t1[la.letters[ua]] = la.base;
|
|
10882
10882
|
var n1 = function(t) {
|
|
10883
10883
|
return t.replace(mC, function(n) {
|
|
10884
10884
|
return t1[n];
|
|
@@ -10905,7 +10905,7 @@ function xC(e) {
|
|
|
10905
10905
|
return ae("input", ce({
|
|
10906
10906
|
ref: t
|
|
10907
10907
|
}, r, {
|
|
10908
|
-
css: /* @__PURE__ */
|
|
10908
|
+
css: /* @__PURE__ */ Jc({
|
|
10909
10909
|
label: "dummyInput",
|
|
10910
10910
|
// get rid of any default styles
|
|
10911
10911
|
background: 0,
|
|
@@ -11052,7 +11052,7 @@ function SC(e) {
|
|
|
11052
11052
|
}), h = function(C) {
|
|
11053
11053
|
a(C), u(C);
|
|
11054
11054
|
};
|
|
11055
|
-
return ae(
|
|
11055
|
+
return ae(Ea, null, n && ae("div", {
|
|
11056
11056
|
onClick: _C,
|
|
11057
11057
|
css: TC
|
|
11058
11058
|
}), t(h));
|
|
@@ -11082,18 +11082,18 @@ var OC = process.env.NODE_ENV === "production" ? {
|
|
|
11082
11082
|
}
|
|
11083
11083
|
});
|
|
11084
11084
|
}, FC = RC;
|
|
11085
|
-
function
|
|
11085
|
+
function tl(e) {
|
|
11086
11086
|
var t;
|
|
11087
11087
|
return typeof window < "u" && window.navigator != null ? e.test(((t = window.navigator.userAgentData) === null || t === void 0 ? void 0 : t.platform) || window.navigator.platform) : !1;
|
|
11088
11088
|
}
|
|
11089
11089
|
function DC() {
|
|
11090
|
-
return
|
|
11090
|
+
return tl(/^iPhone/i);
|
|
11091
11091
|
}
|
|
11092
11092
|
function r1() {
|
|
11093
|
-
return
|
|
11093
|
+
return tl(/^Mac/i);
|
|
11094
11094
|
}
|
|
11095
11095
|
function NC() {
|
|
11096
|
-
return
|
|
11096
|
+
return tl(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
|
|
11097
11097
|
r1() && navigator.maxTouchPoints > 1;
|
|
11098
11098
|
}
|
|
11099
11099
|
function kC() {
|
|
@@ -11155,7 +11155,7 @@ var PC = function(t) {
|
|
|
11155
11155
|
baseUnit: s1,
|
|
11156
11156
|
controlHeight: HC,
|
|
11157
11157
|
menuGutter: WC
|
|
11158
|
-
},
|
|
11158
|
+
}, da = {
|
|
11159
11159
|
borderRadius: GC,
|
|
11160
11160
|
colors: VC,
|
|
11161
11161
|
spacing: ZC
|
|
@@ -11284,7 +11284,7 @@ function $C(e, t) {
|
|
|
11284
11284
|
var n = e.focusedOption;
|
|
11285
11285
|
return n && t.indexOf(n) > -1 ? n : t[0];
|
|
11286
11286
|
}
|
|
11287
|
-
var
|
|
11287
|
+
var fa = function(t, n) {
|
|
11288
11288
|
var r, o = (r = t.find(function(i) {
|
|
11289
11289
|
return i.data === n;
|
|
11290
11290
|
})) === null || r === void 0 ? void 0 : r.id;
|
|
@@ -11394,7 +11394,7 @@ var f1 = function(t) {
|
|
|
11394
11394
|
removedValue: u
|
|
11395
11395
|
});
|
|
11396
11396
|
}, o.getFocusedOptionId = function(l) {
|
|
11397
|
-
return
|
|
11397
|
+
return fa(o.state.focusableOptionsWithIds, l);
|
|
11398
11398
|
}, o.getFocusableOptionsWithIds = function() {
|
|
11399
11399
|
return Bu(Fi(o.props, o.state.selectValue), o.getElementId("option"));
|
|
11400
11400
|
}, o.getValue = function() {
|
|
@@ -11599,7 +11599,7 @@ var f1 = function(t) {
|
|
|
11599
11599
|
}
|
|
11600
11600
|
}, o.state.instancePrefix = "react-select-" + (o.props.instanceId || ++YC), o.state.selectValue = is(r.value), r.menuIsOpen && o.state.selectValue.length) {
|
|
11601
11601
|
var i = o.getFocusableOptionsWithIds(), s = o.buildFocusableOptions(), c = s.indexOf(o.state.selectValue[0]);
|
|
11602
|
-
o.state.focusableOptionsWithIds = i, o.state.focusedOption = s[c], o.state.focusedOptionId =
|
|
11602
|
+
o.state.focusableOptionsWithIds = i, o.state.focusedOption = s[c], o.state.focusedOptionId = fa(i, s[c]);
|
|
11603
11603
|
}
|
|
11604
11604
|
return o;
|
|
11605
11605
|
}
|
|
@@ -11724,7 +11724,7 @@ var f1 = function(t) {
|
|
|
11724
11724
|
// Getters
|
|
11725
11725
|
// ==============================
|
|
11726
11726
|
function() {
|
|
11727
|
-
return this.props.theme ? typeof this.props.theme == "function" ? this.props.theme(
|
|
11727
|
+
return this.props.theme ? typeof this.props.theme == "function" ? this.props.theme(da) : oe(oe({}, da), this.props.theme) : da;
|
|
11728
11728
|
}
|
|
11729
11729
|
)
|
|
11730
11730
|
}, {
|
|
@@ -11995,7 +11995,7 @@ var f1 = function(t) {
|
|
|
11995
11995
|
}, {
|
|
11996
11996
|
key: "renderMenu",
|
|
11997
11997
|
value: function() {
|
|
11998
|
-
var o = this, i = this.getComponents(), s = i.Group, c = i.GroupHeading, l = i.Menu, a = i.MenuList, u = i.MenuPortal, h = i.LoadingMessage, m = i.NoOptionsMessage, C = i.Option, v = this.commonProps, d = this.state.focusedOption, f = this.props, p = f.captureMenuScroll, y = f.inputValue, b = f.isLoading, E = f.loadingMessage, x = f.minMenuHeight, I = f.maxMenuHeight, A = f.menuIsOpen, w = f.menuPlacement, _ = f.menuPosition, R = f.menuPortalTarget, L = f.menuShouldBlockScroll, O = f.menuShouldScrollIntoView, N = f.noOptionsMessage, j = f.onMenuScrollToTop,
|
|
11998
|
+
var o = this, i = this.getComponents(), s = i.Group, c = i.GroupHeading, l = i.Menu, a = i.MenuList, u = i.MenuPortal, h = i.LoadingMessage, m = i.NoOptionsMessage, C = i.Option, v = this.commonProps, d = this.state.focusedOption, f = this.props, p = f.captureMenuScroll, y = f.inputValue, b = f.isLoading, E = f.loadingMessage, x = f.minMenuHeight, I = f.maxMenuHeight, A = f.menuIsOpen, w = f.menuPlacement, _ = f.menuPosition, R = f.menuPortalTarget, L = f.menuShouldBlockScroll, O = f.menuShouldScrollIntoView, N = f.noOptionsMessage, j = f.onMenuScrollToTop, U = f.onMenuScrollToBottom;
|
|
11999
11999
|
if (!A) return null;
|
|
12000
12000
|
var Y = function(G, B) {
|
|
12001
12001
|
var W = G.type, K = G.data, ne = G.isDisabled, ie = G.isSelected, M = G.label, re = G.value, Ie = d === K, H = ne ? void 0 : function() {
|
|
@@ -12077,7 +12077,7 @@ var f1 = function(t) {
|
|
|
12077
12077
|
}), /* @__PURE__ */ F.createElement(SC, {
|
|
12078
12078
|
captureEnabled: p,
|
|
12079
12079
|
onTopArrive: j,
|
|
12080
|
-
onBottomArrive:
|
|
12080
|
+
onBottomArrive: U,
|
|
12081
12081
|
lockEnabled: L
|
|
12082
12082
|
}, function(ne) {
|
|
12083
12083
|
return /* @__PURE__ */ F.createElement(a, ce({}, v, {
|
|
@@ -12193,7 +12193,7 @@ var f1 = function(t) {
|
|
|
12193
12193
|
value: function(o, i) {
|
|
12194
12194
|
var s = i.prevProps, c = i.clearFocusValueOnUpdate, l = i.inputIsHiddenAfterUpdate, a = i.ariaSelection, u = i.isFocused, h = i.prevWasFocused, m = i.instancePrefix, C = o.options, v = o.value, d = o.menuIsOpen, f = o.inputValue, p = o.isMulti, y = is(v), b = {};
|
|
12195
12195
|
if (s && (v !== s.value || C !== s.options || d !== s.menuIsOpen || f !== s.inputValue)) {
|
|
12196
|
-
var E = d ? XC(o, y) : [], x = d ? Bu(Fi(o, y), "".concat(m, "-option")) : [], I = c ? zC(i, y) : null, A = $C(i, E), w =
|
|
12196
|
+
var E = d ? XC(o, y) : [], x = d ? Bu(Fi(o, y), "".concat(m, "-option")) : [], I = c ? zC(i, y) : null, A = $C(i, E), w = fa(x, A);
|
|
12197
12197
|
b = {
|
|
12198
12198
|
selectValue: y,
|
|
12199
12199
|
focusedOption: A,
|
|
@@ -12221,7 +12221,7 @@ var f1 = function(t) {
|
|
|
12221
12221
|
}(Fh);
|
|
12222
12222
|
Ms.defaultProps = UC;
|
|
12223
12223
|
var JC = /* @__PURE__ */ ds(function(e, t) {
|
|
12224
|
-
var n =
|
|
12224
|
+
var n = Uc(e);
|
|
12225
12225
|
return /* @__PURE__ */ F.createElement(Ms, ce({
|
|
12226
12226
|
ref: t
|
|
12227
12227
|
}, n));
|
|
@@ -12361,7 +12361,7 @@ const e6 = D(de)`
|
|
|
12361
12361
|
isScrollTarget: t,
|
|
12362
12362
|
...n
|
|
12363
12363
|
}) => {
|
|
12364
|
-
const { value: r, options: o, isMulti: i } = n, [s, c] =
|
|
12364
|
+
const { value: r, options: o, isMulti: i } = n, [s, c] = Z(!1), l = _e((h) => {
|
|
12365
12365
|
c(!h.isIntersecting);
|
|
12366
12366
|
}, []), { getValue: a, closeMenuOnScroll: u } = m1({ options: o, isMulti: i, isScrollTarget: t });
|
|
12367
12367
|
return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
@@ -12386,7 +12386,7 @@ var v1 = /* @__PURE__ */ ((e) => (e.DATE = "DD/MM/YYYY", e))(v1 || {}), i6 = ["d
|
|
|
12386
12386
|
function y1(e) {
|
|
12387
12387
|
var t = e.defaultOptions, n = t === void 0 ? !1 : t, r = e.cacheOptions, o = r === void 0 ? !1 : r, i = e.loadOptions;
|
|
12388
12388
|
e.options;
|
|
12389
|
-
var s = e.isLoading, c = s === void 0 ? !1 : s, l = e.onInputChange, a = e.filterOption, u = a === void 0 ? null : a, h = nn(e, i6), m = h.inputValue, C = Ce(void 0), v = Ce(!1), d =
|
|
12389
|
+
var s = e.isLoading, c = s === void 0 ? !1 : s, l = e.onInputChange, a = e.filterOption, u = a === void 0 ? null : a, h = nn(e, i6), m = h.inputValue, C = Ce(void 0), v = Ce(!1), d = Z(Array.isArray(n) ? n : void 0), f = st(d, 2), p = f[0], y = f[1], b = Z(typeof m < "u" ? m : ""), E = st(b, 2), x = E[0], I = E[1], A = Z(n === !0), w = st(A, 2), _ = w[0], R = w[1], L = Z(void 0), O = st(L, 2), N = O[0], j = O[1], U = Z([]), Y = st(U, 2), te = Y[0], J = Y[1], z = Z(!1), ue = st(z, 2), he = ue[0], P = ue[1], G = Z({}), B = st(G, 2), W = B[0], K = B[1], ne = Z(void 0), ie = st(ne, 2), M = ie[0], re = ie[1], Ie = Z(void 0), H = st(Ie, 2), Ze = H[0], Ge = H[1];
|
|
12390
12390
|
o !== Ze && (K({}), Ge(o)), n !== M && (y(Array.isArray(n) ? n : void 0), re(n)), pe(function() {
|
|
12391
12391
|
return v.current = !0, function() {
|
|
12392
12392
|
v.current = !1;
|
|
@@ -12427,14 +12427,14 @@ function y1(e) {
|
|
|
12427
12427
|
});
|
|
12428
12428
|
}
|
|
12429
12429
|
var s6 = /* @__PURE__ */ ds(function(e, t) {
|
|
12430
|
-
var n = y1(e), r =
|
|
12430
|
+
var n = y1(e), r = Uc(n);
|
|
12431
12431
|
return /* @__PURE__ */ F.createElement(Ms, ce({
|
|
12432
12432
|
ref: t
|
|
12433
12433
|
}, r));
|
|
12434
12434
|
}), a6 = s6, c6 = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel", "isValidNewOption", "getNewOptionData", "onCreateOption", "options", "onChange"], Hu = function() {
|
|
12435
12435
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", n = arguments.length > 1 ? arguments[1] : void 0, r = arguments.length > 2 ? arguments[2] : void 0, o = String(t).toLowerCase(), i = String(r.getOptionValue(n)).toLowerCase(), s = String(r.getOptionLabel(n)).toLowerCase();
|
|
12436
12436
|
return i === o || s === o;
|
|
12437
|
-
},
|
|
12437
|
+
}, ha = {
|
|
12438
12438
|
formatCreateLabel: function(t) {
|
|
12439
12439
|
return 'Create "'.concat(t, '"');
|
|
12440
12440
|
},
|
|
@@ -12454,7 +12454,7 @@ var s6 = /* @__PURE__ */ ds(function(e, t) {
|
|
|
12454
12454
|
}
|
|
12455
12455
|
};
|
|
12456
12456
|
function l6(e) {
|
|
12457
|
-
var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, r = e.createOptionPosition, o = r === void 0 ? "last" : r, i = e.formatCreateLabel, s = i === void 0 ?
|
|
12457
|
+
var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, r = e.createOptionPosition, o = r === void 0 ? "last" : r, i = e.formatCreateLabel, s = i === void 0 ? ha.formatCreateLabel : i, c = e.isValidNewOption, l = c === void 0 ? ha.isValidNewOption : c, a = e.getNewOptionData, u = a === void 0 ? ha.getNewOptionData : a, h = e.onCreateOption, m = e.options, C = m === void 0 ? [] : m, v = e.onChange, d = nn(e, c6), f = d.getOptionValue, p = f === void 0 ? i1 : f, y = d.getOptionLabel, b = y === void 0 ? o1 : y, E = d.inputValue, x = d.isLoading, I = d.isMulti, A = d.value, w = d.name, _ = Pe(function() {
|
|
12458
12458
|
return l(E, is(A), C, {
|
|
12459
12459
|
getOptionValue: p,
|
|
12460
12460
|
getOptionLabel: b
|
|
@@ -12468,12 +12468,12 @@ function l6(e) {
|
|
|
12468
12468
|
if (j[j.length - 1] === _) {
|
|
12469
12469
|
if (h) h(E);
|
|
12470
12470
|
else {
|
|
12471
|
-
var
|
|
12471
|
+
var U = u(E, E), Y = {
|
|
12472
12472
|
action: "create-option",
|
|
12473
12473
|
name: w,
|
|
12474
|
-
option:
|
|
12474
|
+
option: U
|
|
12475
12475
|
};
|
|
12476
|
-
v(So(I, [].concat(Rr(is(A)), [
|
|
12476
|
+
v(So(I, [].concat(Rr(is(A)), [U]), U), Y);
|
|
12477
12477
|
}
|
|
12478
12478
|
return;
|
|
12479
12479
|
}
|
|
@@ -12485,7 +12485,7 @@ function l6(e) {
|
|
|
12485
12485
|
});
|
|
12486
12486
|
}
|
|
12487
12487
|
var u6 = /* @__PURE__ */ ds(function(e, t) {
|
|
12488
|
-
var n = y1(e), r =
|
|
12488
|
+
var n = y1(e), r = Uc(n), o = l6(r);
|
|
12489
12489
|
return /* @__PURE__ */ F.createElement(Ms, ce({
|
|
12490
12490
|
ref: t
|
|
12491
12491
|
}, o));
|
|
@@ -12514,7 +12514,7 @@ const g6 = (e) => /* @__PURE__ */ g.jsxs($, { direction: "row", flexWrap: "nowra
|
|
|
12514
12514
|
] })
|
|
12515
12515
|
] });
|
|
12516
12516
|
function m6({ stackIndex: e, isScrollTarget: t, ...n }) {
|
|
12517
|
-
const [r, o] =
|
|
12517
|
+
const [r, o] = Z([]), [i, s] = Z(""), [c, l] = Z(!1), a = Ce(), {
|
|
12518
12518
|
isMulti: u,
|
|
12519
12519
|
createOption: h,
|
|
12520
12520
|
loadOptions: m,
|
|
@@ -12524,12 +12524,12 @@ function m6({ stackIndex: e, isScrollTarget: t, ...n }) {
|
|
|
12524
12524
|
} = n, { getValue: f, closeMenuOnScroll: p } = m1({ options: r, isMulti: u, isScrollTarget: t }), y = (O, N, j) => (a.current && a.current.abort("stale data"), a.current = new AbortController(), m == null ? void 0 : m(O, N, j, a.current)), b = h6(
|
|
12525
12525
|
(O, N) => {
|
|
12526
12526
|
if (s(O), r.length > 0 && !C) {
|
|
12527
|
-
const
|
|
12528
|
-
N(
|
|
12527
|
+
const U = r.filter((Y) => Y && typeof Y == "object" && "label" in Y && typeof Y.label == "string" ? Y.label.toLowerCase().includes(O.toLowerCase()) : !1);
|
|
12528
|
+
N(U);
|
|
12529
12529
|
return;
|
|
12530
12530
|
}
|
|
12531
|
-
const j = (
|
|
12532
|
-
N(
|
|
12531
|
+
const j = (U) => {
|
|
12532
|
+
N(U), o(U);
|
|
12533
12533
|
};
|
|
12534
12534
|
y == null || y(O, j, !1);
|
|
12535
12535
|
},
|
|
@@ -12549,9 +12549,9 @@ function m6({ stackIndex: e, isScrollTarget: t, ...n }) {
|
|
|
12549
12549
|
var N;
|
|
12550
12550
|
(N = n.onFocus) == null || N.call(n, O), !c && d && (o([]), l(!0), y == null || y(i, E, !1));
|
|
12551
12551
|
}, _ = (O) => (N) => {
|
|
12552
|
-
var
|
|
12552
|
+
var U;
|
|
12553
12553
|
const j = N.find((Y) => Y.label === O);
|
|
12554
|
-
!n.isMulti && j && ((
|
|
12554
|
+
!n.isMulti && j && ((U = n.onChange) == null || U.call(n, j, {
|
|
12555
12555
|
action: "select-option",
|
|
12556
12556
|
name: n.name,
|
|
12557
12557
|
option: j
|
|
@@ -12621,7 +12621,7 @@ const co = "table-cell-form-field", Ps = "60px", js = "24px", b6 = D(de)`
|
|
|
12621
12621
|
`, x6 = D(x1)`
|
|
12622
12622
|
--cell-padding: 10px ${js};
|
|
12623
12623
|
border-bottom: 1px solid var(--border-color);
|
|
12624
|
-
`,
|
|
12624
|
+
`, pa = D(de)`
|
|
12625
12625
|
border: var(--border-size) solid transparent;
|
|
12626
12626
|
border-right: var(--border-size) solid var(--border-color);
|
|
12627
12627
|
padding: var(--cell-padding, 0);
|
|
@@ -12690,7 +12690,7 @@ const co = "table-cell-form-field", Ps = "60px", js = "24px", b6 = D(de)`
|
|
|
12690
12690
|
}
|
|
12691
12691
|
`;
|
|
12692
12692
|
function _6(e) {
|
|
12693
|
-
const [t, n] =
|
|
12693
|
+
const [t, n] = Z(!1), r = Ce(null);
|
|
12694
12694
|
pe(() => {
|
|
12695
12695
|
t && r.current && r.current.focus();
|
|
12696
12696
|
}, [t]);
|
|
@@ -12795,7 +12795,7 @@ const T6 = D(Wh)`
|
|
|
12795
12795
|
onFocus: C,
|
|
12796
12796
|
onValidationError: v
|
|
12797
12797
|
}) => {
|
|
12798
|
-
const d = t ?? [], f = (o == null ? void 0 : o.validations) ?? {}, p = Ce(), y = Ce({}), [b, E] =
|
|
12798
|
+
const d = t ?? [], f = (o == null ? void 0 : o.validations) ?? {}, p = Ce(), y = Ce({}), [b, E] = Z({}), { colsLength: x, colsTemplate: I, colWidth: A } = Pe(() => {
|
|
12799
12799
|
let P = 0, G = "";
|
|
12800
12800
|
for (const B of r) {
|
|
12801
12801
|
let W = B.cols ? Number(B.cols) : 1;
|
|
@@ -12857,7 +12857,7 @@ const T6 = D(Wh)`
|
|
|
12857
12857
|
...G
|
|
12858
12858
|
});
|
|
12859
12859
|
m(B);
|
|
12860
|
-
},
|
|
12860
|
+
}, U = (P, G) => {
|
|
12861
12861
|
const B = d.map((W) => {
|
|
12862
12862
|
if (P !== W[rr])
|
|
12863
12863
|
return W;
|
|
@@ -12896,7 +12896,7 @@ const T6 = D(Wh)`
|
|
|
12896
12896
|
}
|
|
12897
12897
|
j(P, ne);
|
|
12898
12898
|
}
|
|
12899
|
-
(W == null ? void 0 : W.action) === "clear" && W.name &&
|
|
12899
|
+
(W == null ? void 0 : W.action) === "clear" && W.name && U(P, [W.name]);
|
|
12900
12900
|
}, z = (P, G, B) => {
|
|
12901
12901
|
j(P, { [G]: (B == null ? void 0 : B.toISOString()) ?? "" });
|
|
12902
12902
|
}, ue = (P, G, B, W) => {
|
|
@@ -12910,11 +12910,11 @@ const T6 = D(Wh)`
|
|
|
12910
12910
|
}, he = (P) => p.current === P;
|
|
12911
12911
|
return /* @__PURE__ */ g.jsxs(b6, { children: [
|
|
12912
12912
|
/* @__PURE__ */ g.jsx(v6, { ref: p, children: /* @__PURE__ */ g.jsxs(y6, { gridColumns: I, minWidth: `calc( ${x} * ${A} )`, children: [
|
|
12913
|
-
/* @__PURE__ */ g.jsx(x6, { children: r.map(({ name: P, label: G, isRequired: B }) => /* @__PURE__ */ g.jsx(
|
|
12913
|
+
/* @__PURE__ */ g.jsx(x6, { children: r.map(({ name: P, label: G, isRequired: B }) => /* @__PURE__ */ g.jsx(pa, { children: /* @__PURE__ */ g.jsx(I1, { label: G, isRequired: B }) }, P)) }),
|
|
12914
12914
|
d.map(({ [rr]: P, ...G }) => /* @__PURE__ */ g.jsxs(x1, { children: [
|
|
12915
12915
|
r.map(({ name: B, key: W, ...K }) => {
|
|
12916
12916
|
var ne;
|
|
12917
|
-
return /* @__PURE__ */ g.jsx(
|
|
12917
|
+
return /* @__PURE__ */ g.jsx(pa, { hasError: !!((ne = b == null ? void 0 : b[P]) != null && ne[B]), children: /* @__PURE__ */ g.jsx(
|
|
12918
12918
|
eo,
|
|
12919
12919
|
{
|
|
12920
12920
|
name: B,
|
|
@@ -12940,7 +12940,7 @@ const T6 = D(Wh)`
|
|
|
12940
12940
|
}
|
|
12941
12941
|
) }, B ?? W);
|
|
12942
12942
|
}),
|
|
12943
|
-
s ? null : /* @__PURE__ */ g.jsx(
|
|
12943
|
+
s ? null : /* @__PURE__ */ g.jsx(pa, { children: /* @__PURE__ */ g.jsx($, { width: "100%", height: "100%", alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ g.jsx(E1, { onClick: () => O(P), children: /* @__PURE__ */ g.jsx(L6, {}) }) }) })
|
|
12944
12944
|
] }, P))
|
|
12945
12945
|
] }) }),
|
|
12946
12946
|
/* @__PURE__ */ g.jsxs(C6, { children: [
|
|
@@ -13231,7 +13231,7 @@ const O6 = D(de)`
|
|
|
13231
13231
|
showGlobalLoader: A = !1,
|
|
13232
13232
|
hideHelperText: w = !1,
|
|
13233
13233
|
meta: { isExpandable: _ = y === "table", isExpanded: R = !0 } = {}
|
|
13234
|
-
} = m, [L, O] =
|
|
13234
|
+
} = m, [L, O] = Z(!1), [N, j] = Z(""), [U, Y] = Z(R);
|
|
13235
13235
|
pe(() => {
|
|
13236
13236
|
L || J(m.value, !1);
|
|
13237
13237
|
}, [L, m.value]);
|
|
@@ -13271,7 +13271,7 @@ const O6 = D(de)`
|
|
|
13271
13271
|
Y((re) => !re);
|
|
13272
13272
|
}, ie = (M) => {
|
|
13273
13273
|
if (A)
|
|
13274
|
-
return /* @__PURE__ */ g.jsx(
|
|
13274
|
+
return /* @__PURE__ */ g.jsx(Ic, { variant: "rounded", height: 29.69, animation: "wave" });
|
|
13275
13275
|
switch (M.type) {
|
|
13276
13276
|
case "select":
|
|
13277
13277
|
return /* @__PURE__ */ g.jsx(Wu, { children: /* @__PURE__ */ g.jsx(
|
|
@@ -13363,7 +13363,7 @@ const O6 = D(de)`
|
|
|
13363
13363
|
spacing: I,
|
|
13364
13364
|
useFlexGap: !0,
|
|
13365
13365
|
..._ && {
|
|
13366
|
-
className: `expandable ${
|
|
13366
|
+
className: `expandable ${U ? "open" : "close"}`
|
|
13367
13367
|
},
|
|
13368
13368
|
children: [
|
|
13369
13369
|
/* @__PURE__ */ g.jsx(
|
|
@@ -13481,12 +13481,12 @@ const O6 = D(de)`
|
|
|
13481
13481
|
height: 40px;
|
|
13482
13482
|
}
|
|
13483
13483
|
`, W6 = (e) => /* @__PURE__ */ F.createElement("svg", { width: 35, height: 35, viewBox: "0 0 35 35", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ F.createElement("rect", { x: 9, y: 9, width: 15, height: 17, fill: "white" }), /* @__PURE__ */ F.createElement("g", { clipPath: "url(#clip0_7787_114457)" }, /* @__PURE__ */ F.createElement("path", { d: "M17.1981 2.86633C9.28704 2.86633 2.86646 9.28691 2.86646 17.198C2.86646 25.1091 9.28704 31.5296 17.1981 31.5296C25.1092 31.5296 31.5298 25.1091 31.5298 17.198C31.5298 9.28691 25.1092 2.86633 17.1981 2.86633ZM14.3318 23.6472V10.7487L22.9308 17.198L14.3318 23.6472Z", fill: "#4D596C" })), /* @__PURE__ */ F.createElement("defs", null, /* @__PURE__ */ F.createElement("clipPath", { id: "clip0_7787_114457" }, /* @__PURE__ */ F.createElement("rect", { width: 34.396, height: 34.396, fill: "white" })))), Z6 = ({ aspectRatio: e = "auto", ...t }) => {
|
|
13484
|
-
const [n, r] =
|
|
13484
|
+
const [n, r] = Z(!1);
|
|
13485
13485
|
return n ? null : /* @__PURE__ */ g.jsxs(H6, { aspectRatio: e, children: [
|
|
13486
13486
|
/* @__PURE__ */ g.jsx("img", { className: "preview-img", onError: () => r(!0), ...t }),
|
|
13487
13487
|
/* @__PURE__ */ g.jsx(W6, { className: "play-icon" })
|
|
13488
13488
|
] });
|
|
13489
|
-
},
|
|
13489
|
+
}, sc = (e, t, n) => {
|
|
13490
13490
|
let r = `${t}_${n}`;
|
|
13491
13491
|
return Object.keys(e).forEach((o) => {
|
|
13492
13492
|
r = `${r}_${o}:${e[o]}`;
|
|
@@ -13501,7 +13501,7 @@ const O6 = D(de)`
|
|
|
13501
13501
|
};
|
|
13502
13502
|
},
|
|
13503
13503
|
{}
|
|
13504
|
-
) : {},
|
|
13504
|
+
) : {}, nl = ({ formFields: e }) => {
|
|
13505
13505
|
const t = {};
|
|
13506
13506
|
return e.forEach((n) => {
|
|
13507
13507
|
var r, o, i, s, c, l;
|
|
@@ -13519,7 +13519,7 @@ const O6 = D(de)`
|
|
|
13519
13519
|
return;
|
|
13520
13520
|
}
|
|
13521
13521
|
if (n.type === "table") {
|
|
13522
|
-
const a =
|
|
13522
|
+
const a = nl({ formFields: n.columns ?? [] });
|
|
13523
13523
|
t[n.name].validations = a;
|
|
13524
13524
|
}
|
|
13525
13525
|
if ((c = n.validations) != null && c.isUrl) {
|
|
@@ -13599,7 +13599,7 @@ const O6 = D(de)`
|
|
|
13599
13599
|
previewCardData: null,
|
|
13600
13600
|
previewCardApiStatus: ee.IDLE,
|
|
13601
13601
|
selectedSuggestionType: "basic"
|
|
13602
|
-
}, T1 =
|
|
13602
|
+
}, T1 = Zc({
|
|
13603
13603
|
name: "commonSlice",
|
|
13604
13604
|
initialState: Uu,
|
|
13605
13605
|
reducers: {
|
|
@@ -13662,7 +13662,7 @@ const O6 = D(de)`
|
|
|
13662
13662
|
args: l = {},
|
|
13663
13663
|
createArgs: a = {},
|
|
13664
13664
|
callback: u
|
|
13665
|
-
} = e, h =
|
|
13665
|
+
} = e, h = sc(l || {}, i, r), { common: m } = t(), { options: C = [], ...v } = ((d = m.optionsMap) == null ? void 0 : d[h]) || {};
|
|
13666
13666
|
try {
|
|
13667
13667
|
const y = await e7(
|
|
13668
13668
|
{ fieldName: r, formId: s },
|
|
@@ -13696,7 +13696,7 @@ const O6 = D(de)`
|
|
|
13696
13696
|
interfaceId: a = "",
|
|
13697
13697
|
pagination: u = { enabled: !1 },
|
|
13698
13698
|
controller: h
|
|
13699
|
-
} = e, m =
|
|
13699
|
+
} = e, m = sc(l || {}, o, r), { common: C } = t();
|
|
13700
13700
|
let v = !1;
|
|
13701
13701
|
s.meta && "showAvatar" in s.meta && typeof s.meta.showAvatar == "boolean" && (v = s.meta.showAvatar);
|
|
13702
13702
|
const d = ((A = C.optionsMap) == null ? void 0 : A[m]) || {}, f = i === d.searchTerm ? d : {}, { options: p = [], hasMore: y = !0, currentPage: b = 0 } = f, { enabled: E, limit: x } = u, I = x || 10;
|
|
@@ -13717,7 +13717,7 @@ const O6 = D(de)`
|
|
|
13717
13717
|
const j = R.data.data.map((J) => v ? {
|
|
13718
13718
|
...J,
|
|
13719
13719
|
avatarUrl: J.avatarUrl || j5
|
|
13720
|
-
} : (delete J.avatarUrl, J)),
|
|
13720
|
+
} : (delete J.avatarUrl, J)), U = [...p, ...j], Y = E ? j.length >= I : !1, te = yf(U, (J) => J.value);
|
|
13721
13721
|
return c == null || c(te), {
|
|
13722
13722
|
optionsList: te,
|
|
13723
13723
|
fieldName: r,
|
|
@@ -13737,7 +13737,7 @@ const O6 = D(de)`
|
|
|
13737
13737
|
var h;
|
|
13738
13738
|
if (e.isScrollToBottomEvent)
|
|
13739
13739
|
return !0;
|
|
13740
|
-
const { fieldName: n, formId: r, searchTerm: o, callback: i, args: s } = e, c =
|
|
13740
|
+
const { fieldName: n, formId: r, searchTerm: o, callback: i, args: s } = e, c = sc(s || {}, r, n), { common: l } = t(), a = (h = l.optionsMap) == null ? void 0 : h[c];
|
|
13741
13741
|
if ((a == null ? void 0 : a.searchTerm) !== o)
|
|
13742
13742
|
return !0;
|
|
13743
13743
|
const u = (a == null ? void 0 : a.options) || [];
|
|
@@ -13867,7 +13867,7 @@ Do you want to continue?`, A7 = "Select an object to create", _7 = "Select an ob
|
|
|
13867
13867
|
n = { ...e };
|
|
13868
13868
|
}
|
|
13869
13869
|
return "value" in n && (n.defaultValue = n.value, delete n.value), { ...n, ...t };
|
|
13870
|
-
}, O1 =
|
|
13870
|
+
}, O1 = Zc({
|
|
13871
13871
|
name: "writeCapability",
|
|
13872
13872
|
initialState: cu,
|
|
13873
13873
|
reducers: {
|
|
@@ -14079,7 +14079,7 @@ Do you want to continue?`, A7 = "Select an object to create", _7 = "Select an ob
|
|
|
14079
14079
|
}
|
|
14080
14080
|
}
|
|
14081
14081
|
), { resetState: ZI, setCurrentCardInEdit: Nr, resetCurrentResourceDetails: R7, setHasUnsavedChanges: Yu } = O1.actions, F7 = O1.reducer, D7 = () => {
|
|
14082
|
-
const [e, t] =
|
|
14082
|
+
const [e, t] = Z(null), [n, r] = Z({
|
|
14083
14083
|
isVertical: !1,
|
|
14084
14084
|
isHorizontal: !1,
|
|
14085
14085
|
isScrolling: !1
|
|
@@ -14167,12 +14167,12 @@ Do you want to continue?`, A7 = "Select an object to create", _7 = "Select an ob
|
|
|
14167
14167
|
isCardLevelError: C,
|
|
14168
14168
|
fieldName: v,
|
|
14169
14169
|
showErrorIcon: d
|
|
14170
|
-
} = e, f = Ce(null), p = Ce(null), { email: y, currentSmIds: b, conversationId: E, sendTrackingEvent: x, connectorFunctions: I } = $e(Je), A = Ae(G7), w = A == null ? void 0 : A[m], [_, R] =
|
|
14170
|
+
} = e, f = Ce(null), p = Ce(null), { email: y, currentSmIds: b, conversationId: E, sendTrackingEvent: x, connectorFunctions: I } = $e(Je), A = Ae(G7), w = A == null ? void 0 : A[m], [_, R] = Z(!1), L = Pe(() => {
|
|
14171
14171
|
if (n && C) {
|
|
14172
14172
|
const { error_message: z } = Ju(n);
|
|
14173
14173
|
return z;
|
|
14174
14174
|
}
|
|
14175
|
-
return l ? N0.replace(/{{connector_name}}/g, (a == null ? void 0 : a[0]) || "") :
|
|
14175
|
+
return l ? N0.replace(/{{connector_name}}/g, (a == null ? void 0 : a[0]) || "") : Gl;
|
|
14176
14176
|
}, [n, l, a, C]), O = _e(() => {
|
|
14177
14177
|
const z = n || W7(w, a), { error_code: ue, error_message: he } = Ju(z);
|
|
14178
14178
|
x == null || x(Xm, {
|
|
@@ -14207,10 +14207,10 @@ Do you want to continue?`, A7 = "Select an object to create", _7 = "Select an ob
|
|
|
14207
14207
|
R(ue);
|
|
14208
14208
|
}
|
|
14209
14209
|
}, [t, r]);
|
|
14210
|
-
const N = o ==
|
|
14210
|
+
const N = o == Ga.NOT_FOUND;
|
|
14211
14211
|
let j = N ? Si : t;
|
|
14212
14212
|
s === "date" && j && !N && (j = new Date(parseInt(j)).toLocaleDateString(navigator.language));
|
|
14213
|
-
const
|
|
14213
|
+
const U = !!n || l, Y = () => {
|
|
14214
14214
|
c ? I == null || I.redirectToAdmin() : window.open(S3, "_blank");
|
|
14215
14215
|
}, te = () => {
|
|
14216
14216
|
x == null || x(zm, {
|
|
@@ -14224,9 +14224,9 @@ Do you want to continue?`, A7 = "Select an object to create", _7 = "Select an ob
|
|
|
14224
14224
|
(P, G) => G % 2 === 1 ? /* @__PURE__ */ g.jsx(vb, { variant: "body2", onClick: Y, children: P }, G) : P
|
|
14225
14225
|
) });
|
|
14226
14226
|
};
|
|
14227
|
-
return i ? /* @__PURE__ */ g.jsx(Wn, { variant: "rounded", width: "100%", height: 16, animation: "wave", margin: "4px 0 0 0" }) :
|
|
14227
|
+
return i ? /* @__PURE__ */ g.jsx(Wn, { variant: "rounded", width: "100%", height: 16, animation: "wave", margin: "4px 0 0 0" }) : U ? /* @__PURE__ */ g.jsxs(W0, { gap: "7px", children: [
|
|
14228
14228
|
d ? /* @__PURE__ */ g.jsx($, { marginTop: "3px", flexShrink: "0", children: /* @__PURE__ */ g.jsx("img", { src: H7, width: "18px", height: "18px" }) }) : null,
|
|
14229
|
-
/* @__PURE__ */ g.jsx(Z0, { variant: "body2", children: L ? J(L) :
|
|
14229
|
+
/* @__PURE__ */ g.jsx(Z0, { variant: "body2", children: L ? J(L) : Gl })
|
|
14230
14230
|
] }) : /* @__PURE__ */ g.jsx(Ve, { title: _ ? j : null, placement: "bottom", children: r ? /* @__PURE__ */ g.jsx(
|
|
14231
14231
|
U0,
|
|
14232
14232
|
{
|
|
@@ -14268,10 +14268,10 @@ Do you want to continue?`, A7 = "Select an object to create", _7 = "Select an ob
|
|
|
14268
14268
|
}
|
|
14269
14269
|
), F1 = (e) => {
|
|
14270
14270
|
var P, G, B;
|
|
14271
|
-
const { id: t, cardTitle: n, specificCardData: r, specificConnectorApiStatus: o, isOpen: i, currentCard: s } = e, c = 24, l = (o == null ? void 0 : o[t]) === ee.IDLE, a = (o == null ? void 0 : o[t]) === ee.LOADING, u = (o == null ? void 0 : o[t]) === ee.FAILED, { cardType: h, data: m, cardErrorMessage: C, redirectToAdminTab: v, connectorNames: d } = (r == null ? void 0 : r[t]) || {}, f = h === "flat", [p, y] =
|
|
14271
|
+
const { id: t, cardTitle: n, specificCardData: r, specificConnectorApiStatus: o, isOpen: i, currentCard: s } = e, c = 24, l = (o == null ? void 0 : o[t]) === ee.IDLE, a = (o == null ? void 0 : o[t]) === ee.LOADING, u = (o == null ? void 0 : o[t]) === ee.FAILED, { cardType: h, data: m, cardErrorMessage: C, redirectToAdminTab: v, connectorNames: d } = (r == null ? void 0 : r[t]) || {}, f = h === "flat", [p, y] = Z(!1), [b, E] = Z(!1), [x, I] = Z(!1), [A, w] = Z(!1), _ = ((P = m == null ? void 0 : m.listItems) == null ? void 0 : P.statusCode) !== 401, R = Pe(() => {
|
|
14272
14272
|
var W, K, ne, ie;
|
|
14273
14273
|
return f && ((W = m == null ? void 0 : m.flatDisplay) != null && W.data) ? m.flatDisplay.data : !f && ((ie = (ne = (K = m == null ? void 0 : m.listItems) == null ? void 0 : K.fields) == null ? void 0 : ne[0]) != null && ie.data) ? m.listItems.fields[0].data : [];
|
|
14274
|
-
}, [f, m]), L = Pe(() => R == null ? void 0 : R.slice(0, 5), [R]), [O, N] =
|
|
14274
|
+
}, [f, m]), L = Pe(() => R == null ? void 0 : R.slice(0, 5), [R]), [O, N] = Z([]), j = Ce(null), [U, Y] = Z(0), te = p ? -180 : 0, J = f ? !1 : !!((G = m == null ? void 0 : m.listItems) != null && G.errorMessage), z = J || u || C, ue = l && !J && i && (x || b);
|
|
14275
14275
|
to(() => {
|
|
14276
14276
|
var W;
|
|
14277
14277
|
(W = j.current) != null && W.scrollHeight && Y(j.current.scrollHeight + c);
|
|
@@ -14295,7 +14295,7 @@ Do you want to continue?`, A7 = "Select an object to create", _7 = "Select an ob
|
|
|
14295
14295
|
setShowModal: w
|
|
14296
14296
|
}
|
|
14297
14297
|
) }),
|
|
14298
|
-
/* @__PURE__ */ g.jsx(mb, { className: i ? "" : "slideUp", height:
|
|
14298
|
+
/* @__PURE__ */ g.jsx(mb, { className: i ? "" : "slideUp", height: U, children: /* @__PURE__ */ g.jsx($, { ref: j, gap: 1, margin: "12px", children: a && !(O != null && O.length) ? /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
14299
14299
|
/* @__PURE__ */ g.jsx(Wn, { variant: "rounded", width: "100%", height: 20, animation: "wave" }),
|
|
14300
14300
|
/* @__PURE__ */ g.jsx(Wn, { variant: "rounded", width: "100%", height: 20, animation: "wave" })
|
|
14301
14301
|
] }) : /* @__PURE__ */ g.jsx(g.Fragment, { children: z ? /* @__PURE__ */ g.jsx(de, { margin: "8px 0", children: /* @__PURE__ */ g.jsx(
|
|
@@ -14364,7 +14364,7 @@ Do you want to continue?`, A7 = "Select an object to create", _7 = "Select an ob
|
|
|
14364
14364
|
url: `${X7.replace(":id", e)}?${o.toString()}`,
|
|
14365
14365
|
method: mt.GET
|
|
14366
14366
|
});
|
|
14367
|
-
}, N1 =
|
|
14367
|
+
}, N1 = Zc({
|
|
14368
14368
|
name: "connectorCardLibrary",
|
|
14369
14369
|
initialState: Z7,
|
|
14370
14370
|
reducers: {
|
|
@@ -14488,7 +14488,7 @@ Do you want to continue?`, A7 = "Select an object to create", _7 = "Select an ob
|
|
|
14488
14488
|
/* @__PURE__ */ g.jsx(le, { variant: "h2", children: E3 }),
|
|
14489
14489
|
/* @__PURE__ */ g.jsx(le, { variant: "body2", children: ux(s) }),
|
|
14490
14490
|
/* @__PURE__ */ g.jsxs($, { direction: "row", gap: "8px", marginTop: "20px", justifyContent: "flex-end", children: [
|
|
14491
|
-
/* @__PURE__ */ g.jsx(it, { variant: "text", onClick: () => t(!1), children:
|
|
14491
|
+
/* @__PURE__ */ g.jsx(it, { variant: "text", onClick: () => t(!1), children: jc }),
|
|
14492
14492
|
/* @__PURE__ */ g.jsx(it, { disabled: u, color: "error", onClick: h, children: O0 })
|
|
14493
14493
|
] })
|
|
14494
14494
|
] }) });
|
|
@@ -14509,10 +14509,10 @@ Do you want to continue?`, A7 = "Select an object to create", _7 = "Select an ob
|
|
|
14509
14509
|
specificConnectorApiStatus: o,
|
|
14510
14510
|
defaultOpenState: i = !1,
|
|
14511
14511
|
onCardUnlinking: s
|
|
14512
|
-
} = e, c = en(), { availableFeatures: l, sendTrackingEvent: a, conversationId: u, currentSmIds: h } = $e(Je), { userGroupId: m } = En() || {}, [C, v] =
|
|
14512
|
+
} = e, c = en(), { availableFeatures: l, sendTrackingEvent: a, conversationId: u, currentSmIds: h } = $e(Je), { userGroupId: m } = En() || {}, [C, v] = Z(!!i), [d, f] = Z(!1), [p, y] = Z(!1), [b, E] = Z(!1), { id: x, title: I, externalResourceId: A = "", forms: w = [], logoUrl: _ } = t;
|
|
14513
14513
|
let R = x;
|
|
14514
14514
|
A && (R = `${R}_${A}`);
|
|
14515
|
-
const { data: L, cardType: O, cardErrorMessage: N, connectorNames: j } = (n == null ? void 0 : n[R]) ?? {},
|
|
14515
|
+
const { data: L, cardType: O, cardErrorMessage: N, connectorNames: j } = (n == null ? void 0 : n[R]) ?? {}, U = (j == null ? void 0 : j[0]) || "", Y = (o == null ? void 0 : o[R]) === ee.LOADING, te = (o == null ? void 0 : o[R]) === ee.FAILED, J = !!(gt(l, A0) && A), z = Pe(() => {
|
|
14516
14516
|
var M, re;
|
|
14517
14517
|
if (N || te || !(gt(l, l3) && w.some((Ie) => Ie.type === "edit")))
|
|
14518
14518
|
return !1;
|
|
@@ -14529,13 +14529,13 @@ Do you want to continue?`, A7 = "Select an object to create", _7 = "Select an ob
|
|
|
14529
14529
|
const re = M ? jm : Pm;
|
|
14530
14530
|
r && x && u && c(Do({ id: x, email: r, conversationId: u, externalResourceId: A })).unwrap().then((Ie) => {
|
|
14531
14531
|
const H = {
|
|
14532
|
-
...
|
|
14532
|
+
...Wl(Ie, I, M, !0),
|
|
14533
14533
|
sm_ids: h
|
|
14534
14534
|
};
|
|
14535
14535
|
a(re, H);
|
|
14536
14536
|
}).catch((Ie) => {
|
|
14537
14537
|
const H = {
|
|
14538
|
-
...
|
|
14538
|
+
...Wl(Ie, I, M, !1),
|
|
14539
14539
|
sm_ids: h
|
|
14540
14540
|
};
|
|
14541
14541
|
a(re, H);
|
|
@@ -14567,7 +14567,7 @@ Do you want to continue?`, A7 = "Select an object to create", _7 = "Select an ob
|
|
|
14567
14567
|
var Ie, H;
|
|
14568
14568
|
M.stopPropagation(), a(w0, {
|
|
14569
14569
|
card_title: I,
|
|
14570
|
-
connector_name:
|
|
14570
|
+
connector_name: U,
|
|
14571
14571
|
ug_id: m,
|
|
14572
14572
|
sm_ids: h
|
|
14573
14573
|
});
|
|
@@ -14613,7 +14613,7 @@ Do you want to continue?`, A7 = "Select an object to create", _7 = "Select an ob
|
|
|
14613
14613
|
] }),
|
|
14614
14614
|
/* @__PURE__ */ g.jsxs(W0, { children: [
|
|
14615
14615
|
/* @__PURE__ */ g.jsx(fx, { actions: ie, isHovered: b }),
|
|
14616
|
-
/* @__PURE__ */ g.jsx(Ve, { title: C ? T0 :
|
|
14616
|
+
/* @__PURE__ */ g.jsx(Ve, { title: C ? T0 : Mc, placement: "bottom", children: /* @__PURE__ */ g.jsx(Qr, { onClick: (M) => P(M, R), children: /* @__PURE__ */ g.jsx(Vc, { className: C ? "" : "hiver-up" }) }) })
|
|
14617
14617
|
] })
|
|
14618
14618
|
] }),
|
|
14619
14619
|
/* @__PURE__ */ g.jsx(
|
|
@@ -14636,7 +14636,7 @@ Do you want to continue?`, A7 = "Select an object to create", _7 = "Select an ob
|
|
|
14636
14636
|
onCardUnlinking: s,
|
|
14637
14637
|
conversationId: u,
|
|
14638
14638
|
externalResourceId: A,
|
|
14639
|
-
connectorName:
|
|
14639
|
+
connectorName: U
|
|
14640
14640
|
}
|
|
14641
14641
|
)
|
|
14642
14642
|
] });
|
|
@@ -14663,7 +14663,7 @@ Do you want to continue?`, A7 = "Select an object to create", _7 = "Select an ob
|
|
|
14663
14663
|
}
|
|
14664
14664
|
) }, m);
|
|
14665
14665
|
}) });
|
|
14666
|
-
},
|
|
14666
|
+
}, ac = ({ children: e }) => {
|
|
14667
14667
|
if (!Array.isArray(e)) return e;
|
|
14668
14668
|
let t = null;
|
|
14669
14669
|
return e.find((r) => typeof (r == null ? void 0 : r.type) != "function" ? !1 : (r.props.fallback && (t = r), r.props.condition)) ?? t;
|
|
@@ -14675,7 +14675,7 @@ function Sr({
|
|
|
14675
14675
|
}) {
|
|
14676
14676
|
return !t && !n ? null : e;
|
|
14677
14677
|
}
|
|
14678
|
-
|
|
14678
|
+
ac.CaseView = Sr;
|
|
14679
14679
|
const mx = "Bring your favourite tools into Hiver", bx = "Plugin image", vx = "Integrate tools like Salesforce, HubSpot, and Shopify to boost productivity", yx = "Enable Connectors", Cx = "Enable Apps", xx = "Learn more", Ex = "https://help.hiverhq.com/custom-connectors/hiver-s-custom-connectors", Ix = "Contact your admin to enable this", wx = "https://youtu.be/ODcJnzZLb50", Ax = "connectors-module/assets/connectors-images/connector-mainpage.png", _x = "connectors-module/assets/connectors-images/connector-mainpage-apps.png", Tx = "Explore connectors", Sx = "Connectors", Lx = D(de)`
|
|
14680
14680
|
padding-top: 20px;
|
|
14681
14681
|
`, Ox = D($)`
|
|
@@ -14740,7 +14740,7 @@ const mx = "Bring your favourite tools into Hiver", bx = "Plugin image", vx = "I
|
|
|
14740
14740
|
}, u = s ? _x : Ax;
|
|
14741
14741
|
return /* @__PURE__ */ g.jsxs(Lx, { "data-testid": "noConnectors", children: [
|
|
14742
14742
|
i ? /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
14743
|
-
t ? null : /* @__PURE__ */ g.jsx(le, { variant: "h2", children: s ?
|
|
14743
|
+
t ? null : /* @__PURE__ */ g.jsx(le, { variant: "h2", children: s ? Pc : Sx }),
|
|
14744
14744
|
/* @__PURE__ */ g.jsx(Fx, { onClick: a, href: wx, target: "_blank", children: /* @__PURE__ */ g.jsx(
|
|
14745
14745
|
Z6,
|
|
14746
14746
|
{
|
|
@@ -14785,7 +14785,7 @@ const mx = "Bring your favourite tools into Hiver", bx = "Plugin image", vx = "I
|
|
|
14785
14785
|
alignItems: "center",
|
|
14786
14786
|
children: [
|
|
14787
14787
|
t ? /* @__PURE__ */ g.jsx(j0, { width: "20px", height: "20px" }) : /* @__PURE__ */ g.jsx(V0, {}),
|
|
14788
|
-
/* @__PURE__ */ g.jsx(G0, { variant: "h2", children: t ?
|
|
14788
|
+
/* @__PURE__ */ g.jsx(G0, { variant: "h2", children: t ? Pc : S0 })
|
|
14789
14789
|
]
|
|
14790
14790
|
}
|
|
14791
14791
|
),
|
|
@@ -14796,7 +14796,7 @@ const mx = "Bring your favourite tools into Hiver", bx = "Plugin image", vx = "I
|
|
|
14796
14796
|
] })
|
|
14797
14797
|
] });
|
|
14798
14798
|
}, Gx = () => {
|
|
14799
|
-
const { metaData: e, sendTrackingEvent: t, isAdmin: n, connectorFunctions: r } = $e(Je), [o, i] =
|
|
14799
|
+
const { metaData: e, sendTrackingEvent: t, isAdmin: n, connectorFunctions: r } = $e(Je), [o, i] = Z(!1), s = Ce(null), [c, l] = Z(0), { templateUpdates: a } = e || {}, { sections: u = [], actionButtons: h = [], title: m } = a || {}, { version: C = "" } = a || {}, v = R3(C), d = Pe(
|
|
14800
14800
|
() => O3(C),
|
|
14801
14801
|
[C]
|
|
14802
14802
|
), f = Pe(() => (h == null ? void 0 : h.filter(({ isAdminPanelLink: E }) => !(!n && E))) ?? [], [h, n]);
|
|
@@ -14826,7 +14826,7 @@ const mx = "Bring your favourite tools into Hiver", bx = "Plugin image", vx = "I
|
|
|
14826
14826
|
/* @__PURE__ */ g.jsx(Ob, { variant: "h3", children: m }),
|
|
14827
14827
|
/* @__PURE__ */ g.jsxs(de, { children: [
|
|
14828
14828
|
o ? /* @__PURE__ */ g.jsx(Ve, { title: y3, placement: "bottom", children: /* @__PURE__ */ g.jsx(dt, { onClick: b, children: /* @__PURE__ */ g.jsx(Bt.Close, { sx: { height: "16px", width: "16px", opacity: "0.8" } }) }) }) : null,
|
|
14829
|
-
/* @__PURE__ */ g.jsx(Ve, { title: o ? v3 :
|
|
14829
|
+
/* @__PURE__ */ g.jsx(Ve, { title: o ? v3 : Mc, placement: "bottom", children: /* @__PURE__ */ g.jsx(Qr, { onClick: p, children: /* @__PURE__ */ g.jsx(Vc, { className: o ? "" : "hiver-up" }) }) })
|
|
14830
14830
|
] })
|
|
14831
14831
|
] }),
|
|
14832
14832
|
/* @__PURE__ */ g.jsx(Db, { className: o ? "slideDown" : "slideUp", ref: s, height: c, children: /* @__PURE__ */ g.jsxs(Nb, { children: [
|
|
@@ -14869,7 +14869,7 @@ const mx = "Bring your favourite tools into Hiver", bx = "Plugin image", vx = "I
|
|
|
14869
14869
|
selectedEmail: e
|
|
14870
14870
|
}
|
|
14871
14871
|
}), Wx = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='7'%20cy='7'%20r='7'%20fill='%23196FE0'/%3e%3cpath%20d='M10.8288%204.89995C10.5922%204.64324%2010.1976%204.63193%209.94761%204.87601L5.96804%208.75823L4.06989%206.75353C3.82948%206.49981%203.43531%206.49425%203.18845%206.74158C2.9418%206.98865%202.9366%207.39455%203.1768%207.64827L5.50404%2010.1061C5.626%2010.235%205.78808%2010.3%205.95059%2010.3C6.10477%2010.3%206.25896%2010.2414%206.37969%2010.124L10.8056%205.80646C11.0553%205.56278%2011.0659%205.15689%2010.8288%204.89995Z'%20fill='white'/%3e%3c/svg%3e", V1 = (e) => {
|
|
14872
|
-
const t = Ce(null), [n, r] =
|
|
14872
|
+
const t = Ce(null), [n, r] = Z(!1);
|
|
14873
14873
|
return pe(() => {
|
|
14874
14874
|
t.current && r(t.current.scrollWidth > t.current.clientWidth);
|
|
14875
14875
|
}, [e]), { textRef: t, isOverflow: n };
|
|
@@ -14982,7 +14982,7 @@ const mx = "Bring your favourite tools into Hiver", bx = "Plugin image", vx = "I
|
|
|
14982
14982
|
`, qx = D(de)`
|
|
14983
14983
|
margin-top: 12px;
|
|
14984
14984
|
height: 100%;
|
|
14985
|
-
`, Kx = "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_4735_44625)'%3e%3cpath%20d='M7.9987%2013.334L8.9387%2012.394L5.2187%208.66732H13.332V7.33398L5.2187%207.33398L8.9387%203.60732L7.9987%202.66732L2.66537%208.00065L7.9987%2013.334Z'%20fill='%234D596C'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_4735_44625'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='matrix(-1%200%200%20-1%2016%2016)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",
|
|
14985
|
+
`, Kx = "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_4735_44625)'%3e%3cpath%20d='M7.9987%2013.334L8.9387%2012.394L5.2187%208.66732H13.332V7.33398L5.2187%207.33398L8.9387%203.60732L7.9987%202.66732L2.66537%208.00065L7.9987%2013.334Z'%20fill='%234D596C'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_4735_44625'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='matrix(-1%200%200%20-1%2016%2016)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", ga = ({
|
|
14986
14986
|
children: e,
|
|
14987
14987
|
isOpen: t,
|
|
14988
14988
|
setIsOpen: n,
|
|
@@ -14991,7 +14991,7 @@ const mx = "Bring your favourite tools into Hiver", bx = "Plugin image", vx = "I
|
|
|
14991
14991
|
backButtonTooltip: i,
|
|
14992
14992
|
portalId: s
|
|
14993
14993
|
}) => {
|
|
14994
|
-
const c = ye.useRef(null), [l, a] =
|
|
14994
|
+
const c = ye.useRef(null), [l, a] = Z(!1);
|
|
14995
14995
|
return pe(() => {
|
|
14996
14996
|
s && (c.current = document.querySelector(`[data-connectorid=${s}]`), a(!0));
|
|
14997
14997
|
}, [s, a]), pe(() => () => {
|
|
@@ -15040,7 +15040,7 @@ const mx = "Bring your favourite tools into Hiver", bx = "Plugin image", vx = "I
|
|
|
15040
15040
|
flex-shrink: 0;
|
|
15041
15041
|
}
|
|
15042
15042
|
`, W1 = ({ cardData: e, cardDataApiStatus: t, objectToLink: n, args: r }) => {
|
|
15043
|
-
const o = en(), [i, s] =
|
|
15043
|
+
const o = en(), [i, s] = Z(!1), [c, l] = Z(!0), { id: a = "", cardTitle: u = "", logoUrl: h } = e || {}, m = t === ee.LOADING, C = (d) => {
|
|
15044
15044
|
d.stopPropagation();
|
|
15045
15045
|
const f = d.currentTarget.offsetWidth < d.currentTarget.scrollWidth;
|
|
15046
15046
|
s(!!f);
|
|
@@ -15069,7 +15069,7 @@ const mx = "Bring your favourite tools into Hiver", bx = "Plugin image", vx = "I
|
|
|
15069
15069
|
] }),
|
|
15070
15070
|
/* @__PURE__ */ g.jsxs($, { direction: "row", alignItems: "center", children: [
|
|
15071
15071
|
c ? /* @__PURE__ */ g.jsx(Ve, { title: _0, placement: "bottom", children: /* @__PURE__ */ g.jsx(Qr, { onClick: (d) => v(d), children: /* @__PURE__ */ g.jsx("img", { src: k1 }) }) }) : null,
|
|
15072
|
-
/* @__PURE__ */ g.jsx(Ve, { title: c ? T0 :
|
|
15072
|
+
/* @__PURE__ */ g.jsx(Ve, { title: c ? T0 : Mc, placement: "bottom", children: /* @__PURE__ */ g.jsx(Qr, { onClick: () => l((d) => !d), children: /* @__PURE__ */ g.jsx(Vc, { className: c ? "" : "hiver-up" }) }) })
|
|
15073
15073
|
] })
|
|
15074
15074
|
] }),
|
|
15075
15075
|
/* @__PURE__ */ g.jsx(
|
|
@@ -15310,7 +15310,7 @@ const mx = "Bring your favourite tools into Hiver", bx = "Plugin image", vx = "I
|
|
|
15310
15310
|
connectors: s
|
|
15311
15311
|
}) => {
|
|
15312
15312
|
var $n;
|
|
15313
|
-
const { userGroupId: c, userId: l } = En() || {}, [a, u] =
|
|
15313
|
+
const { userGroupId: c, userId: l } = En() || {}, [a, u] = Z(null), [h, m] = Z(!1), C = Ce(null), [v, d] = U1(), f = Ae(j1), p = Ae(t ? K7 : M1), y = Ae(tx), b = Ae(ex), E = Ae(ox), x = Ae(ix), I = Ae(sx), A = Ae(ax), w = Ae(cx), _ = Ae(B1), R = b == null ? void 0 : b[(a == null ? void 0 : a.value) ?? ""], L = R == null ? void 0 : R.expandedView, { formConfigs: O, formViewConfigs: N } = Pe(() => {
|
|
15314
15314
|
if (a && "value" in a && y && y[a.value] && Array.isArray(y[a.value])) {
|
|
15315
15315
|
const Oe = y[a.value], ct = [
|
|
15316
15316
|
{
|
|
@@ -15331,9 +15331,9 @@ const mx = "Bring your favourite tools into Hiver", bx = "Plugin image", vx = "I
|
|
|
15331
15331
|
}, [y, a, L]), j = Pe(() => {
|
|
15332
15332
|
var Oe;
|
|
15333
15333
|
const fe = ((Oe = O == null ? void 0 : O[0]) == null ? void 0 : Oe.formFields) || [];
|
|
15334
|
-
return
|
|
15334
|
+
return nl({ formFields: fe });
|
|
15335
15335
|
}, [O]), {
|
|
15336
|
-
setValue:
|
|
15336
|
+
setValue: U,
|
|
15337
15337
|
inputChangeHandler: Y,
|
|
15338
15338
|
checkboxChangeHandler: te,
|
|
15339
15339
|
dateChangeHandler: J,
|
|
@@ -15378,18 +15378,18 @@ const mx = "Bring your favourite tools into Hiver", bx = "Plugin image", vx = "I
|
|
|
15378
15378
|
const pn = () => {
|
|
15379
15379
|
u(C.current), m(!1), d({ type: un.RESET_STATE });
|
|
15380
15380
|
}, Et = (fe, Oe) => {
|
|
15381
|
-
|
|
15381
|
+
U(fe, Oe);
|
|
15382
15382
|
}, ft = (fe, Oe, ct) => {
|
|
15383
|
-
if (Oe.action === "clear" && Oe.name && (
|
|
15383
|
+
if (Oe.action === "clear" && Oe.name && (U(Oe.name, ""), a != null && a.value && z(Oe.name, E == null ? void 0 : E[a.value]), j[Oe.name].isRequired && ue(Oe.name, !0)), fe && typeof fe == "object" && "label" in fe && typeof fe.label == "string" && "value" in fe && (typeof fe.value == "string" || typeof fe.value == "number") && typeof Oe.name < "u")
|
|
15384
15384
|
if (Oe.name === "form-object")
|
|
15385
15385
|
C.current = { value: fe.value, label: fe.label }, v.values && fe.value !== (a == null ? void 0 : a.value) && (Object.values(v.values).filter((wt) => wt !== "").length > 0 ? m(!0) : pn());
|
|
15386
15386
|
else {
|
|
15387
15387
|
let It = !1;
|
|
15388
15388
|
ct && (It = ct.isMultiSelect || !1);
|
|
15389
15389
|
const wt = !It && "prefillValues" in fe && fe.prefillValues, Wt = It ? [{ value: fe.value, label: fe.label }] : { value: fe.value, label: fe.label };
|
|
15390
|
-
if (
|
|
15390
|
+
if (U(Oe.name, Wt), wt)
|
|
15391
15391
|
for (const gn in wt)
|
|
15392
|
-
|
|
15392
|
+
U(gn, wt[gn]);
|
|
15393
15393
|
a != null && a.value && z(Oe.name, E == null ? void 0 : E[a.value]);
|
|
15394
15394
|
}
|
|
15395
15395
|
}, Qe = () => {
|
|
@@ -15547,7 +15547,7 @@ const mx = "Bring your favourite tools into Hiver", bx = "Plugin image", vx = "I
|
|
|
15547
15547
|
children: t ? x3 : C3
|
|
15548
15548
|
}
|
|
15549
15549
|
),
|
|
15550
|
-
/* @__PURE__ */ g.jsx(K1, { variant: "outlined", color: "tertiary", size: "small", onClick: r, disabled: Ge, children:
|
|
15550
|
+
/* @__PURE__ */ g.jsx(K1, { variant: "outlined", color: "tertiary", size: "small", onClick: r, disabled: Ge, children: jc })
|
|
15551
15551
|
] })
|
|
15552
15552
|
] });
|
|
15553
15553
|
return L && tt ? qo(zn, tt) : zn;
|
|
@@ -15619,7 +15619,7 @@ const mx = "Bring your favourite tools into Hiver", bx = "Plugin image", vx = "I
|
|
|
15619
15619
|
color: ${X.palette.purple.primary};
|
|
15620
15620
|
}
|
|
15621
15621
|
`, l8 = ({ setOpenTaskLinking: e, onLinkingSuccess: t }) => {
|
|
15622
|
-
const n = en(), r = Ae(G1), o = Ae(H1), i = Ae(nx), s = Ae(P1), [c, l] =
|
|
15622
|
+
const n = en(), r = Ae(G1), o = Ae(H1), i = Ae(nx), s = Ae(P1), [c, l] = Z(!1), [a, u] = Z(null), [h, m] = Z(""), [C, v] = Z({}), { conversationId: d, sendTrackingEvent: f } = $e(Je);
|
|
15623
15623
|
pe(() => {
|
|
15624
15624
|
s && s.length && u(s[0]);
|
|
15625
15625
|
}, [s]);
|
|
@@ -15715,7 +15715,7 @@ const mx = "Bring your favourite tools into Hiver", bx = "Plugin image", vx = "I
|
|
|
15715
15715
|
onClick: I,
|
|
15716
15716
|
disabled: b,
|
|
15717
15717
|
size: "small",
|
|
15718
|
-
children:
|
|
15718
|
+
children: jc
|
|
15719
15719
|
}
|
|
15720
15720
|
)
|
|
15721
15721
|
] })
|
|
@@ -15892,7 +15892,7 @@ const mx = "Bring your favourite tools into Hiver", bx = "Plugin image", vx = "I
|
|
|
15892
15892
|
formFields: c[e]
|
|
15893
15893
|
} : { id: "emptyFormId", formFields: [] }, [c, e]), u = Pe(() => {
|
|
15894
15894
|
const x = (a == null ? void 0 : a.formFields) || [];
|
|
15895
|
-
return
|
|
15895
|
+
return nl({ formFields: x });
|
|
15896
15896
|
}, [a]), {
|
|
15897
15897
|
setValue: h,
|
|
15898
15898
|
inputChangeHandler: m,
|
|
@@ -15955,14 +15955,14 @@ const mx = "Bring your favourite tools into Hiver", bx = "Plugin image", vx = "I
|
|
|
15955
15955
|
validations: u
|
|
15956
15956
|
}
|
|
15957
15957
|
) });
|
|
15958
|
-
},
|
|
15958
|
+
}, ma = "@connector-agent-global-search-priority", ba = F5(), M8 = ({ objectList: e }) => ({
|
|
15959
15959
|
sortedObjectList: Pe(() => {
|
|
15960
|
-
const r =
|
|
15960
|
+
const r = ba.getItem(ma);
|
|
15961
15961
|
return r ? [...e].sort((o, i) => (r[o.value] ?? 0) > (r[i.value] ?? 0) ? -1 : 1) : e;
|
|
15962
15962
|
}, [e]),
|
|
15963
15963
|
updatePriority: (r) => {
|
|
15964
|
-
const o =
|
|
15965
|
-
o[r] || (o[r] = 0), o[r]++,
|
|
15964
|
+
const o = ba.getItem(ma) ?? {};
|
|
15965
|
+
o[r] || (o[r] = 0), o[r]++, ba.setItem(ma, o);
|
|
15966
15966
|
}
|
|
15967
15967
|
}), P8 = D($)`
|
|
15968
15968
|
padding: 8px 0;
|
|
@@ -16011,7 +16011,7 @@ function Xt() {
|
|
|
16011
16011
|
function G8(e, t) {
|
|
16012
16012
|
return typeof e == "function" ? e(t) : e;
|
|
16013
16013
|
}
|
|
16014
|
-
function
|
|
16014
|
+
function cc(e) {
|
|
16015
16015
|
return typeof e == "number" && e >= 0 && e !== 1 / 0;
|
|
16016
16016
|
}
|
|
16017
16017
|
function nh(e, t) {
|
|
@@ -16034,7 +16034,7 @@ function id(e, t) {
|
|
|
16034
16034
|
} = e;
|
|
16035
16035
|
if (s) {
|
|
16036
16036
|
if (r) {
|
|
16037
|
-
if (t.queryHash !==
|
|
16037
|
+
if (t.queryHash !== rl(s, t.options))
|
|
16038
16038
|
return !1;
|
|
16039
16039
|
} else if (!zo(t.queryKey, s))
|
|
16040
16040
|
return !1;
|
|
@@ -16059,28 +16059,28 @@ function sd(e, t) {
|
|
|
16059
16059
|
}
|
|
16060
16060
|
return !(r && t.state.status !== r || o && !o(t));
|
|
16061
16061
|
}
|
|
16062
|
-
function
|
|
16062
|
+
function rl(e, t) {
|
|
16063
16063
|
return ((t == null ? void 0 : t.queryKeyHashFn) || Er)(e);
|
|
16064
16064
|
}
|
|
16065
16065
|
function Er(e) {
|
|
16066
16066
|
return JSON.stringify(
|
|
16067
16067
|
e,
|
|
16068
|
-
(t, n) =>
|
|
16068
|
+
(t, n) => uc(n) ? Object.keys(n).sort().reduce((r, o) => (r[o] = n[o], r), {}) : n
|
|
16069
16069
|
);
|
|
16070
16070
|
}
|
|
16071
16071
|
function zo(e, t) {
|
|
16072
16072
|
return e === t ? !0 : typeof e != typeof t ? !1 : e && t && typeof e == "object" && typeof t == "object" ? !Object.keys(t).some((n) => !zo(e[n], t[n])) : !1;
|
|
16073
16073
|
}
|
|
16074
|
-
function
|
|
16074
|
+
function lc(e, t) {
|
|
16075
16075
|
if (e === t)
|
|
16076
16076
|
return e;
|
|
16077
16077
|
const n = ad(e) && ad(t);
|
|
16078
|
-
if (n ||
|
|
16078
|
+
if (n || uc(e) && uc(t)) {
|
|
16079
16079
|
const r = n ? e : Object.keys(e), o = r.length, i = n ? t : Object.keys(t), s = i.length, c = n ? [] : {};
|
|
16080
16080
|
let l = 0;
|
|
16081
16081
|
for (let a = 0; a < s; a++) {
|
|
16082
16082
|
const u = n ? a : i[a];
|
|
16083
|
-
(!n && r.includes(u) || n) && e[u] === void 0 && t[u] === void 0 ? (c[u] = void 0, l++) : (c[u] =
|
|
16083
|
+
(!n && r.includes(u) || n) && e[u] === void 0 && t[u] === void 0 ? (c[u] = void 0, l++) : (c[u] = lc(e[u], t[u]), c[u] === e[u] && e[u] !== void 0 && l++);
|
|
16084
16084
|
}
|
|
16085
16085
|
return o === s && l === o ? e : c;
|
|
16086
16086
|
}
|
|
@@ -16097,7 +16097,7 @@ function cs(e, t) {
|
|
|
16097
16097
|
function ad(e) {
|
|
16098
16098
|
return Array.isArray(e) && e.length === Object.keys(e).length;
|
|
16099
16099
|
}
|
|
16100
|
-
function
|
|
16100
|
+
function uc(e) {
|
|
16101
16101
|
if (!cd(e))
|
|
16102
16102
|
return !1;
|
|
16103
16103
|
const t = e.constructor;
|
|
@@ -16114,19 +16114,19 @@ function H8(e) {
|
|
|
16114
16114
|
setTimeout(t, e);
|
|
16115
16115
|
});
|
|
16116
16116
|
}
|
|
16117
|
-
function
|
|
16117
|
+
function dc(e, t, n) {
|
|
16118
16118
|
if (typeof n.structuralSharing == "function")
|
|
16119
16119
|
return n.structuralSharing(e, t);
|
|
16120
16120
|
if (n.structuralSharing !== !1) {
|
|
16121
16121
|
if (process.env.NODE_ENV !== "production")
|
|
16122
16122
|
try {
|
|
16123
|
-
return
|
|
16123
|
+
return lc(e, t);
|
|
16124
16124
|
} catch (r) {
|
|
16125
16125
|
console.error(
|
|
16126
16126
|
`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${r}`
|
|
16127
16127
|
);
|
|
16128
16128
|
}
|
|
16129
|
-
return
|
|
16129
|
+
return lc(e, t);
|
|
16130
16130
|
}
|
|
16131
16131
|
return t;
|
|
16132
16132
|
}
|
|
@@ -16185,7 +16185,7 @@ var ir, Dn, Mr, md, U8 = (md = class extends uo {
|
|
|
16185
16185
|
var t;
|
|
16186
16186
|
return typeof S(this, ir) == "boolean" ? S(this, ir) : ((t = globalThis.document) == null ? void 0 : t.visibilityState) !== "hidden";
|
|
16187
16187
|
}
|
|
16188
|
-
}, ir = new WeakMap(), Dn = new WeakMap(), Mr = new WeakMap(), md),
|
|
16188
|
+
}, ir = new WeakMap(), Dn = new WeakMap(), Mr = new WeakMap(), md), ol = new U8(), Pr, Nn, jr, bd, X8 = (bd = class extends uo {
|
|
16189
16189
|
constructor() {
|
|
16190
16190
|
super();
|
|
16191
16191
|
se(this, Pr, !0);
|
|
@@ -16220,7 +16220,7 @@ var ir, Dn, Mr, md, U8 = (md = class extends uo {
|
|
|
16220
16220
|
return S(this, Pr);
|
|
16221
16221
|
}
|
|
16222
16222
|
}, Pr = new WeakMap(), Nn = new WeakMap(), jr = new WeakMap(), bd), us = new X8();
|
|
16223
|
-
function
|
|
16223
|
+
function fc() {
|
|
16224
16224
|
let e, t;
|
|
16225
16225
|
const n = new Promise((o, i) => {
|
|
16226
16226
|
e = o, t = i;
|
|
@@ -16253,19 +16253,19 @@ var ih = class extends Error {
|
|
|
16253
16253
|
super("CancelledError"), this.revert = e == null ? void 0 : e.revert, this.silent = e == null ? void 0 : e.silent;
|
|
16254
16254
|
}
|
|
16255
16255
|
};
|
|
16256
|
-
function
|
|
16256
|
+
function va(e) {
|
|
16257
16257
|
return e instanceof ih;
|
|
16258
16258
|
}
|
|
16259
16259
|
function sh(e) {
|
|
16260
16260
|
let t = !1, n = 0, r = !1, o;
|
|
16261
|
-
const i =
|
|
16261
|
+
const i = fc(), s = (d) => {
|
|
16262
16262
|
var f;
|
|
16263
16263
|
r || (m(new ih(d)), (f = e.abort) == null || f.call(e));
|
|
16264
16264
|
}, c = () => {
|
|
16265
16265
|
t = !0;
|
|
16266
16266
|
}, l = () => {
|
|
16267
16267
|
t = !1;
|
|
16268
|
-
}, a = () =>
|
|
16268
|
+
}, a = () => ol.isFocused() && (e.networkMode === "always" || us.isOnline()) && e.canRun(), u = () => oh(e.networkMode) && e.canRun(), h = (d) => {
|
|
16269
16269
|
var f;
|
|
16270
16270
|
r || (r = !0, (f = e.onSuccess) == null || f.call(e, d), o == null || o(), i.resolve(d));
|
|
16271
16271
|
}, m = (d) => {
|
|
@@ -16380,7 +16380,7 @@ var ot = $8(), sr, vd, ah = (vd = class {
|
|
|
16380
16380
|
this.clearGcTimeout();
|
|
16381
16381
|
}
|
|
16382
16382
|
scheduleGc() {
|
|
16383
|
-
this.clearGcTimeout(),
|
|
16383
|
+
this.clearGcTimeout(), cc(this.gcTime) && q(this, sr, setTimeout(() => {
|
|
16384
16384
|
this.optionalRemove();
|
|
16385
16385
|
}, this.gcTime));
|
|
16386
16386
|
}
|
|
@@ -16420,7 +16420,7 @@ var ot = $8(), sr, vd, ah = (vd = class {
|
|
|
16420
16420
|
!this.observers.length && this.state.fetchStatus === "idle" && S(this, Ut).remove(this);
|
|
16421
16421
|
}
|
|
16422
16422
|
setData(t, n) {
|
|
16423
|
-
const r =
|
|
16423
|
+
const r = dc(this.state.data, t, this.options);
|
|
16424
16424
|
return ve(this, Yt, bn).call(this, {
|
|
16425
16425
|
data: r,
|
|
16426
16426
|
type: "success",
|
|
@@ -16525,10 +16525,10 @@ var ot = $8(), sr, vd, ah = (vd = class {
|
|
|
16525
16525
|
), q(this, Vr, this.state), (this.state.fetchStatus === "idle" || this.state.fetchMeta !== ((a = s.fetchOptions) == null ? void 0 : a.meta)) && ve(this, Yt, bn).call(this, { type: "fetch", meta: (u = s.fetchOptions) == null ? void 0 : u.meta });
|
|
16526
16526
|
const c = (h) => {
|
|
16527
16527
|
var m, C, v, d;
|
|
16528
|
-
|
|
16528
|
+
va(h) && h.silent || ve(this, Yt, bn).call(this, {
|
|
16529
16529
|
type: "error",
|
|
16530
16530
|
error: h
|
|
16531
|
-
}),
|
|
16531
|
+
}), va(h) || ((C = (m = S(this, Ut).config).onError) == null || C.call(
|
|
16532
16532
|
m,
|
|
16533
16533
|
h,
|
|
16534
16534
|
this
|
|
@@ -16622,7 +16622,7 @@ var ot = $8(), sr, vd, ah = (vd = class {
|
|
|
16622
16622
|
};
|
|
16623
16623
|
case "error":
|
|
16624
16624
|
const o = t.error;
|
|
16625
|
-
return
|
|
16625
|
+
return va(o) && o.revert && S(this, Vr) ? { ...S(this, Vr), fetchStatus: "idle" } : {
|
|
16626
16626
|
...r,
|
|
16627
16627
|
error: o,
|
|
16628
16628
|
errorUpdateCount: r.errorUpdateCount + 1,
|
|
@@ -16685,7 +16685,7 @@ var rn, Cd, Q8 = (Cd = class extends uo {
|
|
|
16685
16685
|
this.config = t, q(this, rn, /* @__PURE__ */ new Map());
|
|
16686
16686
|
}
|
|
16687
16687
|
build(t, n, r) {
|
|
16688
|
-
const o = n.queryKey, i = n.queryHash ??
|
|
16688
|
+
const o = n.queryKey, i = n.queryHash ?? rl(o, n);
|
|
16689
16689
|
let s = this.get(i);
|
|
16690
16690
|
return s || (s = new Y8({
|
|
16691
16691
|
client: t,
|
|
@@ -17141,7 +17141,7 @@ var Ue, kn, Mn, Gr, Hr, Pn, Wr, Zr, Id, tE = (Id = class {
|
|
|
17141
17141
|
q(this, Ue, e.queryCache || new Q8()), q(this, kn, e.mutationCache || new K8()), q(this, Mn, e.defaultOptions || {}), q(this, Gr, /* @__PURE__ */ new Map()), q(this, Hr, /* @__PURE__ */ new Map()), q(this, Pn, 0);
|
|
17142
17142
|
}
|
|
17143
17143
|
mount() {
|
|
17144
|
-
ui(this, Pn)._++, S(this, Pn) === 1 && (q(this, Wr,
|
|
17144
|
+
ui(this, Pn)._++, S(this, Pn) === 1 && (q(this, Wr, ol.subscribe(async (e) => {
|
|
17145
17145
|
e && (await this.resumePausedMutations(), S(this, Ue).onFocus());
|
|
17146
17146
|
})), q(this, Zr, us.subscribe(async (e) => {
|
|
17147
17147
|
e && (await this.resumePausedMutations(), S(this, Ue).onOnline());
|
|
@@ -17311,7 +17311,7 @@ var Ue, kn, Mn, Gr, Hr, Pn, Wr, Zr, Id, tE = (Id = class {
|
|
|
17311
17311
|
...e,
|
|
17312
17312
|
_defaulted: !0
|
|
17313
17313
|
};
|
|
17314
|
-
return t.queryHash || (t.queryHash =
|
|
17314
|
+
return t.queryHash || (t.queryHash = rl(
|
|
17315
17315
|
t.queryKey,
|
|
17316
17316
|
t
|
|
17317
17317
|
)), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === ls && (t.enabled = !1), t;
|
|
@@ -17327,7 +17327,7 @@ var Ue, kn, Mn, Gr, Hr, Pn, Wr, Zr, Id, tE = (Id = class {
|
|
|
17327
17327
|
clear() {
|
|
17328
17328
|
S(this, Ue).clear(), S(this, kn).clear();
|
|
17329
17329
|
}
|
|
17330
|
-
}, Ue = new WeakMap(), kn = new WeakMap(), Mn = new WeakMap(), Gr = new WeakMap(), Hr = new WeakMap(), Pn = new WeakMap(), Wr = new WeakMap(), Zr = new WeakMap(), Id), _t, Ee, Jo, yt, ur, Ur, jn, an, Qo, Xr, zr, dr, fr, Bn, $r, Me, Lo, pc, gc, mc, bc, vc, yc,
|
|
17330
|
+
}, Ue = new WeakMap(), kn = new WeakMap(), Mn = new WeakMap(), Gr = new WeakMap(), Hr = new WeakMap(), Pn = new WeakMap(), Wr = new WeakMap(), Zr = new WeakMap(), Id), _t, Ee, Jo, yt, ur, Ur, jn, an, Qo, Xr, zr, dr, fr, Bn, $r, Me, Lo, hc, pc, gc, mc, bc, vc, yc, uh, wd, nE = (wd = class extends uo {
|
|
17331
17331
|
constructor(t, n) {
|
|
17332
17332
|
super();
|
|
17333
17333
|
se(this, Me);
|
|
@@ -17348,7 +17348,7 @@ var Ue, kn, Mn, Gr, Hr, Pn, Wr, Zr, Id, tE = (Id = class {
|
|
|
17348
17348
|
se(this, fr);
|
|
17349
17349
|
se(this, Bn);
|
|
17350
17350
|
se(this, $r, /* @__PURE__ */ new Set());
|
|
17351
|
-
this.options = n, q(this, _t, t), q(this, an, null), q(this, jn,
|
|
17351
|
+
this.options = n, q(this, _t, t), q(this, an, null), q(this, jn, fc()), this.options.experimental_prefetchInRender || S(this, jn).reject(
|
|
17352
17352
|
new Error("experimental_prefetchInRender feature flag is not enabled")
|
|
17353
17353
|
), this.bindMethods(), this.setOptions(n);
|
|
17354
17354
|
}
|
|
@@ -17356,27 +17356,27 @@ var Ue, kn, Mn, Gr, Hr, Pn, Wr, Zr, Id, tE = (Id = class {
|
|
|
17356
17356
|
this.refetch = this.refetch.bind(this);
|
|
17357
17357
|
}
|
|
17358
17358
|
onSubscribe() {
|
|
17359
|
-
this.listeners.size === 1 && (S(this, Ee).addObserver(this), dd(S(this, Ee), this.options) ? ve(this, Me, Lo).call(this) : this.updateResult(), ve(this, Me,
|
|
17359
|
+
this.listeners.size === 1 && (S(this, Ee).addObserver(this), dd(S(this, Ee), this.options) ? ve(this, Me, Lo).call(this) : this.updateResult(), ve(this, Me, mc).call(this));
|
|
17360
17360
|
}
|
|
17361
17361
|
onUnsubscribe() {
|
|
17362
17362
|
this.hasListeners() || this.destroy();
|
|
17363
17363
|
}
|
|
17364
17364
|
shouldFetchOnReconnect() {
|
|
17365
|
-
return
|
|
17365
|
+
return Cc(
|
|
17366
17366
|
S(this, Ee),
|
|
17367
17367
|
this.options,
|
|
17368
17368
|
this.options.refetchOnReconnect
|
|
17369
17369
|
);
|
|
17370
17370
|
}
|
|
17371
17371
|
shouldFetchOnWindowFocus() {
|
|
17372
|
-
return
|
|
17372
|
+
return Cc(
|
|
17373
17373
|
S(this, Ee),
|
|
17374
17374
|
this.options,
|
|
17375
17375
|
this.options.refetchOnWindowFocus
|
|
17376
17376
|
);
|
|
17377
17377
|
}
|
|
17378
17378
|
destroy() {
|
|
17379
|
-
this.listeners = /* @__PURE__ */ new Set(), ve(this, Me,
|
|
17379
|
+
this.listeners = /* @__PURE__ */ new Set(), ve(this, Me, bc).call(this), ve(this, Me, vc).call(this), S(this, Ee).removeObserver(this);
|
|
17380
17380
|
}
|
|
17381
17381
|
setOptions(t, n) {
|
|
17382
17382
|
const r = this.options, o = S(this, Ee);
|
|
@@ -17384,7 +17384,7 @@ var Ue, kn, Mn, Gr, Hr, Pn, Wr, Zr, Id, tE = (Id = class {
|
|
|
17384
17384
|
throw new Error(
|
|
17385
17385
|
"Expected enabled to be a boolean or a callback that returns a boolean"
|
|
17386
17386
|
);
|
|
17387
|
-
ve(this, Me,
|
|
17387
|
+
ve(this, Me, yc).call(this), S(this, Ee).setOptions(this.options), r._defaulted && !cs(this.options, r) && S(this, _t).getQueryCache().notify({
|
|
17388
17388
|
type: "observerOptionsUpdated",
|
|
17389
17389
|
query: S(this, Ee),
|
|
17390
17390
|
observer: this
|
|
@@ -17395,9 +17395,9 @@ var Ue, kn, Mn, Gr, Hr, Pn, Wr, Zr, Id, tE = (Id = class {
|
|
|
17395
17395
|
o,
|
|
17396
17396
|
this.options,
|
|
17397
17397
|
r
|
|
17398
|
-
) && ve(this, Me, Lo).call(this), this.updateResult(n), i && (S(this, Ee) !== o || Qt(this.options.enabled, S(this, Ee)) !== Qt(r.enabled, S(this, Ee)) || kr(this.options.staleTime, S(this, Ee)) !== kr(r.staleTime, S(this, Ee))) && ve(this, Me,
|
|
17399
|
-
const s = ve(this, Me,
|
|
17400
|
-
i && (S(this, Ee) !== o || Qt(this.options.enabled, S(this, Ee)) !== Qt(r.enabled, S(this, Ee)) || s !== S(this, Bn)) && ve(this, Me,
|
|
17398
|
+
) && ve(this, Me, Lo).call(this), this.updateResult(n), i && (S(this, Ee) !== o || Qt(this.options.enabled, S(this, Ee)) !== Qt(r.enabled, S(this, Ee)) || kr(this.options.staleTime, S(this, Ee)) !== kr(r.staleTime, S(this, Ee))) && ve(this, Me, hc).call(this);
|
|
17399
|
+
const s = ve(this, Me, pc).call(this);
|
|
17400
|
+
i && (S(this, Ee) !== o || Qt(this.options.enabled, S(this, Ee)) !== Qt(r.enabled, S(this, Ee)) || s !== S(this, Bn)) && ve(this, Me, gc).call(this, s);
|
|
17401
17401
|
}
|
|
17402
17402
|
getOptimisticResult(t) {
|
|
17403
17403
|
const n = S(this, _t).getQueryCache().build(S(this, _t), t), r = this.createResult(n, t);
|
|
@@ -17454,7 +17454,7 @@ var Ue, kn, Mn, Gr, Hr, Pn, Wr, Zr, Id, tE = (Id = class {
|
|
|
17454
17454
|
C = S(this, Xr);
|
|
17455
17455
|
else
|
|
17456
17456
|
try {
|
|
17457
|
-
q(this, Qo, n.select), C = n.select(h.data), C =
|
|
17457
|
+
q(this, Qo, n.select), C = n.select(h.data), C = dc(i == null ? void 0 : i.data, C, n), q(this, Xr, C), q(this, an, null);
|
|
17458
17458
|
} catch (_) {
|
|
17459
17459
|
q(this, an, _);
|
|
17460
17460
|
}
|
|
@@ -17473,7 +17473,7 @@ var Ue, kn, Mn, Gr, Hr, Pn, Wr, Zr, Id, tE = (Id = class {
|
|
|
17473
17473
|
} catch (R) {
|
|
17474
17474
|
q(this, an, R);
|
|
17475
17475
|
}
|
|
17476
|
-
_ !== void 0 && (f = "success", C =
|
|
17476
|
+
_ !== void 0 && (f = "success", C = dc(
|
|
17477
17477
|
i == null ? void 0 : i.data,
|
|
17478
17478
|
_,
|
|
17479
17479
|
n
|
|
@@ -17503,7 +17503,7 @@ var Ue, kn, Mn, Gr, Hr, Pn, Wr, Zr, Id, tE = (Id = class {
|
|
|
17503
17503
|
isPaused: h.fetchStatus === "paused",
|
|
17504
17504
|
isPlaceholderData: m,
|
|
17505
17505
|
isRefetchError: b && x,
|
|
17506
|
-
isStale:
|
|
17506
|
+
isStale: il(t, n),
|
|
17507
17507
|
refetch: this.refetch,
|
|
17508
17508
|
promise: S(this, jn)
|
|
17509
17509
|
};
|
|
@@ -17511,7 +17511,7 @@ var Ue, kn, Mn, Gr, Hr, Pn, Wr, Zr, Id, tE = (Id = class {
|
|
|
17511
17511
|
const _ = (O) => {
|
|
17512
17512
|
A.status === "error" ? O.reject(A.error) : A.data !== void 0 && O.resolve(A.data);
|
|
17513
17513
|
}, R = () => {
|
|
17514
|
-
const O = q(this, jn, A.promise =
|
|
17514
|
+
const O = q(this, jn, A.promise = fc());
|
|
17515
17515
|
_(O);
|
|
17516
17516
|
}, L = S(this, jn);
|
|
17517
17517
|
switch (L.status) {
|
|
@@ -17550,40 +17550,40 @@ var Ue, kn, Mn, Gr, Hr, Pn, Wr, Zr, Id, tE = (Id = class {
|
|
|
17550
17550
|
(t == null ? void 0 : t.listeners) !== !1 && i() && (o.listeners = !0), ve(this, Me, uh).call(this, { ...o, ...t });
|
|
17551
17551
|
}
|
|
17552
17552
|
onQueryUpdate() {
|
|
17553
|
-
this.updateResult(), this.hasListeners() && ve(this, Me,
|
|
17553
|
+
this.updateResult(), this.hasListeners() && ve(this, Me, mc).call(this);
|
|
17554
17554
|
}
|
|
17555
17555
|
}, _t = new WeakMap(), Ee = new WeakMap(), Jo = new WeakMap(), yt = new WeakMap(), ur = new WeakMap(), Ur = new WeakMap(), jn = new WeakMap(), an = new WeakMap(), Qo = new WeakMap(), Xr = new WeakMap(), zr = new WeakMap(), dr = new WeakMap(), fr = new WeakMap(), Bn = new WeakMap(), $r = new WeakMap(), Me = new WeakSet(), Lo = function(t) {
|
|
17556
|
-
ve(this, Me,
|
|
17556
|
+
ve(this, Me, yc).call(this);
|
|
17557
17557
|
let n = S(this, Ee).fetch(
|
|
17558
17558
|
this.options,
|
|
17559
17559
|
t
|
|
17560
17560
|
);
|
|
17561
17561
|
return t != null && t.throwOnError || (n = n.catch(Xt)), n;
|
|
17562
|
-
},
|
|
17563
|
-
ve(this, Me,
|
|
17562
|
+
}, hc = function() {
|
|
17563
|
+
ve(this, Me, bc).call(this);
|
|
17564
17564
|
const t = kr(
|
|
17565
17565
|
this.options.staleTime,
|
|
17566
17566
|
S(this, Ee)
|
|
17567
17567
|
);
|
|
17568
|
-
if (xr || S(this, yt).isStale || !
|
|
17568
|
+
if (xr || S(this, yt).isStale || !cc(t))
|
|
17569
17569
|
return;
|
|
17570
17570
|
const r = nh(S(this, yt).dataUpdatedAt, t) + 1;
|
|
17571
17571
|
q(this, dr, setTimeout(() => {
|
|
17572
17572
|
S(this, yt).isStale || this.updateResult();
|
|
17573
17573
|
}, r));
|
|
17574
|
-
},
|
|
17574
|
+
}, pc = function() {
|
|
17575
17575
|
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(S(this, Ee)) : this.options.refetchInterval) ?? !1;
|
|
17576
|
-
},
|
|
17577
|
-
ve(this, Me,
|
|
17578
|
-
(this.options.refetchIntervalInBackground ||
|
|
17576
|
+
}, gc = function(t) {
|
|
17577
|
+
ve(this, Me, vc).call(this), q(this, Bn, t), !(xr || Qt(this.options.enabled, S(this, Ee)) === !1 || !cc(S(this, Bn)) || S(this, Bn) === 0) && q(this, fr, setInterval(() => {
|
|
17578
|
+
(this.options.refetchIntervalInBackground || ol.isFocused()) && ve(this, Me, Lo).call(this);
|
|
17579
17579
|
}, S(this, Bn)));
|
|
17580
|
+
}, mc = function() {
|
|
17581
|
+
ve(this, Me, hc).call(this), ve(this, Me, gc).call(this, ve(this, Me, pc).call(this));
|
|
17580
17582
|
}, bc = function() {
|
|
17581
|
-
ve(this, Me, pc).call(this), ve(this, Me, mc).call(this, ve(this, Me, gc).call(this));
|
|
17582
|
-
}, vc = function() {
|
|
17583
17583
|
S(this, dr) && (clearTimeout(S(this, dr)), q(this, dr, void 0));
|
|
17584
|
-
},
|
|
17584
|
+
}, vc = function() {
|
|
17585
17585
|
S(this, fr) && (clearInterval(S(this, fr)), q(this, fr, void 0));
|
|
17586
|
-
},
|
|
17586
|
+
}, yc = function() {
|
|
17587
17587
|
const t = S(this, _t).getQueryCache().build(S(this, _t), this.options);
|
|
17588
17588
|
if (t === S(this, Ee))
|
|
17589
17589
|
return;
|
|
@@ -17603,25 +17603,25 @@ function rE(e, t) {
|
|
|
17603
17603
|
return Qt(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && t.retryOnMount === !1);
|
|
17604
17604
|
}
|
|
17605
17605
|
function dd(e, t) {
|
|
17606
|
-
return rE(e, t) || e.state.data !== void 0 &&
|
|
17606
|
+
return rE(e, t) || e.state.data !== void 0 && Cc(e, t, t.refetchOnMount);
|
|
17607
17607
|
}
|
|
17608
|
-
function
|
|
17608
|
+
function Cc(e, t, n) {
|
|
17609
17609
|
if (Qt(t.enabled, e) !== !1) {
|
|
17610
17610
|
const r = typeof n == "function" ? n(e) : n;
|
|
17611
|
-
return r === "always" || r !== !1 &&
|
|
17611
|
+
return r === "always" || r !== !1 && il(e, t);
|
|
17612
17612
|
}
|
|
17613
17613
|
return !1;
|
|
17614
17614
|
}
|
|
17615
17615
|
function fd(e, t, n, r) {
|
|
17616
|
-
return (e !== t || Qt(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") &&
|
|
17616
|
+
return (e !== t || Qt(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && il(e, n);
|
|
17617
17617
|
}
|
|
17618
|
-
function
|
|
17618
|
+
function il(e, t) {
|
|
17619
17619
|
return Qt(t.enabled, e) !== !1 && e.isStaleByTime(kr(t.staleTime, e));
|
|
17620
17620
|
}
|
|
17621
17621
|
function oE(e, t) {
|
|
17622
17622
|
return !cs(e.getCurrentResult(), t);
|
|
17623
17623
|
}
|
|
17624
|
-
var Vn, Gn, Tt, yn, xn, Hi,
|
|
17624
|
+
var Vn, Gn, Tt, yn, xn, Hi, xc, Ad, iE = (Ad = class extends uo {
|
|
17625
17625
|
constructor(n, r) {
|
|
17626
17626
|
super();
|
|
17627
17627
|
se(this, xn);
|
|
@@ -17648,14 +17648,14 @@ var Vn, Gn, Tt, yn, xn, Hi, Ec, Ad, iE = (Ad = class extends uo {
|
|
|
17648
17648
|
this.hasListeners() || (n = S(this, Tt)) == null || n.removeObserver(this);
|
|
17649
17649
|
}
|
|
17650
17650
|
onMutationUpdate(n) {
|
|
17651
|
-
ve(this, xn, Hi).call(this), ve(this, xn,
|
|
17651
|
+
ve(this, xn, Hi).call(this), ve(this, xn, xc).call(this, n);
|
|
17652
17652
|
}
|
|
17653
17653
|
getCurrentResult() {
|
|
17654
17654
|
return S(this, Gn);
|
|
17655
17655
|
}
|
|
17656
17656
|
reset() {
|
|
17657
17657
|
var n;
|
|
17658
|
-
(n = S(this, Tt)) == null || n.removeObserver(this), q(this, Tt, void 0), ve(this, xn, Hi).call(this), ve(this, xn,
|
|
17658
|
+
(n = S(this, Tt)) == null || n.removeObserver(this), q(this, Tt, void 0), ve(this, xn, Hi).call(this), ve(this, xn, xc).call(this);
|
|
17659
17659
|
}
|
|
17660
17660
|
mutate(n, r) {
|
|
17661
17661
|
var o;
|
|
@@ -17673,7 +17673,7 @@ var Vn, Gn, Tt, yn, xn, Hi, Ec, Ad, iE = (Ad = class extends uo {
|
|
|
17673
17673
|
mutate: this.mutate,
|
|
17674
17674
|
reset: this.reset
|
|
17675
17675
|
});
|
|
17676
|
-
},
|
|
17676
|
+
}, xc = function(n) {
|
|
17677
17677
|
ot.batch(() => {
|
|
17678
17678
|
var r, o, i, s, c, l, a, u;
|
|
17679
17679
|
if (S(this, yn) && this.hasListeners()) {
|
|
@@ -17720,7 +17720,7 @@ var lE = F.createContext(cE()), uE = () => F.useContext(lE);
|
|
|
17720
17720
|
function ph(e, t) {
|
|
17721
17721
|
return typeof e == "function" ? e(...t) : !!e;
|
|
17722
17722
|
}
|
|
17723
|
-
function
|
|
17723
|
+
function Ec() {
|
|
17724
17724
|
}
|
|
17725
17725
|
var dE = (e, t) => {
|
|
17726
17726
|
(e.suspense || e.throwOnError || e.experimental_prefetchInRender) && (t.isReset() || (e.retryOnMount = !1));
|
|
@@ -17762,7 +17762,7 @@ function bE(e, t, n) {
|
|
|
17762
17762
|
if (F.useSyncExternalStore(
|
|
17763
17763
|
F.useCallback(
|
|
17764
17764
|
(f) => {
|
|
17765
|
-
const p = u ? l.subscribe(ot.batchCalls(f)) :
|
|
17765
|
+
const p = u ? l.subscribe(ot.batchCalls(f)) : Ec;
|
|
17766
17766
|
return l.updateResult(), p;
|
|
17767
17767
|
},
|
|
17768
17768
|
[l, u]
|
|
@@ -17793,16 +17793,16 @@ function bE(e, t, n) {
|
|
|
17793
17793
|
// subscribe to the "cache promise" so that we can finalize the currentThenable once data comes in
|
|
17794
17794
|
(d = r.getQueryCache().get(s.queryHash)) == null ? void 0 : d.promise
|
|
17795
17795
|
);
|
|
17796
|
-
f == null || f.catch(
|
|
17796
|
+
f == null || f.catch(Ec).finally(() => {
|
|
17797
17797
|
l.updateResult();
|
|
17798
17798
|
});
|
|
17799
17799
|
}
|
|
17800
17800
|
return s.notifyOnChangeProps ? a : l.trackResult(a);
|
|
17801
17801
|
}
|
|
17802
|
-
function
|
|
17802
|
+
function sl(e, t) {
|
|
17803
17803
|
return bE(e, nE);
|
|
17804
17804
|
}
|
|
17805
|
-
function
|
|
17805
|
+
function al(e, t) {
|
|
17806
17806
|
const n = fh(), [r] = F.useState(
|
|
17807
17807
|
() => new iE(
|
|
17808
17808
|
n,
|
|
@@ -17821,7 +17821,7 @@ function cl(e, t) {
|
|
|
17821
17821
|
() => r.getCurrentResult()
|
|
17822
17822
|
), i = F.useCallback(
|
|
17823
17823
|
(s, c) => {
|
|
17824
|
-
r.mutate(s, c).catch(
|
|
17824
|
+
r.mutate(s, c).catch(Ec);
|
|
17825
17825
|
},
|
|
17826
17826
|
[r]
|
|
17827
17827
|
);
|
|
@@ -17858,7 +17858,7 @@ const vE = (e) => new Promise((t) => setTimeout(t, e)), yE = ({
|
|
|
17858
17858
|
} catch (n) {
|
|
17859
17859
|
throw console.error(n), n;
|
|
17860
17860
|
}
|
|
17861
|
-
}, gh = ({ conversationId: e, senderEmail: t, enabled: n }) =>
|
|
17861
|
+
}, gh = ({ conversationId: e, senderEmail: t, enabled: n }) => sl({
|
|
17862
17862
|
queryKey: ["Global", "ConversationMetaData", e, t],
|
|
17863
17863
|
queryFn: () => CE({ conversationId: e, senderEmail: t }),
|
|
17864
17864
|
refetchOnMount: !1,
|
|
@@ -17896,7 +17896,7 @@ const vE = (e) => new Promise((t) => setTimeout(t, e)), yE = ({
|
|
|
17896
17896
|
isSatisfied: (e) => e.status !== "pending"
|
|
17897
17897
|
}), _E = ({ conversationId: e, senderEmail: t, enabled: n }) => {
|
|
17898
17898
|
const { isSuccess: r } = gh({ conversationId: e, senderEmail: t, enabled: n });
|
|
17899
|
-
return
|
|
17899
|
+
return sl({
|
|
17900
17900
|
queryKey: ["GlobalSearch", "SmartSuggestions", e],
|
|
17901
17901
|
queryFn: () => AE({ conversationId: e }),
|
|
17902
17902
|
enabled: n && r
|
|
@@ -17908,7 +17908,7 @@ const vE = (e) => new Promise((t) => setTimeout(t, e)), yE = ({
|
|
|
17908
17908
|
fetchSearchResults: r,
|
|
17909
17909
|
onReset: o
|
|
17910
17910
|
}) => {
|
|
17911
|
-
const [i, s] =
|
|
17911
|
+
const [i, s] = Z(""), { conversationId: c, email: l, availableFeatures: a } = $e(Je), u = Ae(g8), h = Ae(eh), m = gt(a, h3), { sortedObjectList: C, updatePriority: v } = M8({ objectList: u }), { data: d } = _E({
|
|
17912
17912
|
enabled: m && !!c,
|
|
17913
17913
|
conversationId: String(c),
|
|
17914
17914
|
senderEmail: l
|
|
@@ -17960,7 +17960,7 @@ const vE = (e) => new Promise((t) => setTimeout(t, e)), yE = ({
|
|
|
17960
17960
|
conversationId: n
|
|
17961
17961
|
}
|
|
17962
17962
|
});
|
|
17963
|
-
}, OE = ({ onSuccess: e }) =>
|
|
17963
|
+
}, OE = ({ onSuccess: e }) => al({
|
|
17964
17964
|
mutationFn: LE,
|
|
17965
17965
|
onSuccess: () => {
|
|
17966
17966
|
We({ message: g5, type: wn }), e == null || e();
|
|
@@ -18042,7 +18042,7 @@ const vE = (e) => new Promise((t) => setTimeout(t, e)), yE = ({
|
|
|
18042
18042
|
/* @__PURE__ */ g.jsx("img", { src: NE, width: 124, height: 107 }),
|
|
18043
18043
|
/* @__PURE__ */ g.jsx(le, { variant: "body2", color: X.palette.gray.gray3, children: w8 })
|
|
18044
18044
|
] }), ME = ({ searchResults: e, selectedObject: t, onReset: n, fetchCards: r }) => {
|
|
18045
|
-
const o = en(), { sendTrackingEvent: i, currentSmIds: s } = $e(Je), [c, l] =
|
|
18045
|
+
const o = en(), { sendTrackingEvent: i, currentSmIds: s } = $e(Je), [c, l] = Z(null), a = so(E8, {
|
|
18046
18046
|
count: e.length.toString(),
|
|
18047
18047
|
countSuffix: e.length > 1 ? "s" : "",
|
|
18048
18048
|
searchObject: t.objectName,
|
|
@@ -18074,14 +18074,14 @@ const vE = (e) => new Promise((t) => setTimeout(t, e)), yE = ({
|
|
|
18074
18074
|
/* @__PURE__ */ g.jsx(de, { alignSelf: "center", className: "search-item__chevron", width: "20px", height: "20px", children: /* @__PURE__ */ g.jsx("img", { src: SE }) })
|
|
18075
18075
|
] }, C)) })
|
|
18076
18076
|
] }) : /* @__PURE__ */ g.jsx(kE, {});
|
|
18077
|
-
},
|
|
18077
|
+
}, ya = D(Ic)`
|
|
18078
18078
|
display: block;
|
|
18079
18079
|
margin: ${(e) => e.margin ? e.margin : 0};
|
|
18080
18080
|
`, PE = () => /* @__PURE__ */ g.jsxs($, { marginTop: "12px", children: [
|
|
18081
|
-
/* @__PURE__ */ g.jsx(
|
|
18081
|
+
/* @__PURE__ */ g.jsx(ya, { variant: "rounded", width: "50%", height: "16px", animation: "wave", margin: "0 0 18px 0" }),
|
|
18082
18082
|
/* @__PURE__ */ g.jsx($, { gap: "17px", children: /* @__PURE__ */ g.jsxs(bh, { gap: "8px", disableHover: !0, children: [
|
|
18083
|
-
/* @__PURE__ */ g.jsx(
|
|
18084
|
-
/* @__PURE__ */ g.jsx(
|
|
18083
|
+
/* @__PURE__ */ g.jsx(ya, { variant: "rounded", width: "30%", height: "16px", animation: "wave" }),
|
|
18084
|
+
/* @__PURE__ */ g.jsx(ya, { variant: "rounded", width: "70%", height: "16px", animation: "wave" })
|
|
18085
18085
|
] }) })
|
|
18086
18086
|
] }), jE = async ({ id: e, searchString: t, args: n }) => {
|
|
18087
18087
|
try {
|
|
@@ -18100,7 +18100,7 @@ const vE = (e) => new Promise((t) => setTimeout(t, e)), yE = ({
|
|
|
18100
18100
|
} catch (r) {
|
|
18101
18101
|
We({ message: Os, type: xt }), console.error(r);
|
|
18102
18102
|
}
|
|
18103
|
-
}, BE = (e, t) =>
|
|
18103
|
+
}, BE = (e, t) => al({
|
|
18104
18104
|
mutationFn: jE,
|
|
18105
18105
|
onMutate: ({ searchString: n, connectorName: r }) => {
|
|
18106
18106
|
e(n, r);
|
|
@@ -18145,16 +18145,16 @@ const vE = (e) => new Promise((t) => setTimeout(t, e)), yE = ({
|
|
|
18145
18145
|
};
|
|
18146
18146
|
}, GE = ({ isAdmin: e = !1 }) => {
|
|
18147
18147
|
var ci;
|
|
18148
|
-
const { email: t, currentSmIds: n, sendTrackingEvent: r, availableFeatures: o, conversationId: i } = $e(Je), s = en(), { userGroupId: c, userId: l } = En() || {}, a = Ce(!1), u = Ce(null), h = Ce(null), m = Ce(null), [C, v] =
|
|
18148
|
+
const { email: t, currentSmIds: n, sendTrackingEvent: r, availableFeatures: o, conversationId: i } = $e(Je), s = en(), { userGroupId: c, userId: l } = En() || {}, a = Ce(!1), u = Ce(null), h = Ce(null), m = Ce(null), [C, v] = Z(!1), [d, f] = Z(!1), [p, y] = Z(!1), [b, E] = Z(!1), [x, I] = Z(), [A, w] = Z(!1), [_, R] = Z(null), [L, O] = Z(), [N, j] = Z(null), [U, Y] = Z(!1), [te, J] = Z(!1), z = Ae(M7), ue = Ae(P7), he = Ae(B7), P = Ae(V7), G = Ae(j7), B = Ae(M1), W = Ae(q7), K = Ae(P1), ne = Ae(j1), ie = Ae(B1), M = Ae(e8), re = gt(o, s3), Ie = gt(o, A0), H = gt(o, f3), Ze = gt(o, p3), Ge = gt(o, g3), tt = gt(o, m3), nt = F3(he), { data: pn, isLoading: Et } = gh({
|
|
18149
18149
|
senderEmail: t,
|
|
18150
18150
|
conversationId: String(i),
|
|
18151
18151
|
enabled: Ze && !!t
|
|
18152
18152
|
}), { emailHeaders: ft, selectedEmail: Qe } = pn ?? {}, { scrollOnceAfterLoad: Tn, resetScrollState: Ht } = VE(h), Ir = G !== ee.LOADING && (!P || !Object.values(P).some((Re) => Re === ee.LOADING)) && z && z.length > 0;
|
|
18153
18153
|
to(() => {
|
|
18154
18154
|
var Re;
|
|
18155
|
-
|
|
18155
|
+
U && !C && te && ((Re = m == null ? void 0 : m.current) != null && Re.scrollHeight) && Tn(!!Ir, "smooth");
|
|
18156
18156
|
}, [
|
|
18157
|
-
|
|
18157
|
+
U,
|
|
18158
18158
|
C,
|
|
18159
18159
|
te,
|
|
18160
18160
|
Ir,
|
|
@@ -18301,7 +18301,7 @@ const vE = (e) => new Promise((t) => setTimeout(t, e)), yE = ({
|
|
|
18301
18301
|
{
|
|
18302
18302
|
haveCreateObjects: Yn,
|
|
18303
18303
|
haveLinkObjects: Jn,
|
|
18304
|
-
onCreateClick: () => oi(
|
|
18304
|
+
onCreateClick: () => oi(Hl.MAIN_BUTTON),
|
|
18305
18305
|
onLinkClick: () => E(!0)
|
|
18306
18306
|
}
|
|
18307
18307
|
) : /* @__PURE__ */ g.jsx(td, { isAdmin: e, hideHeading: !0 });
|
|
@@ -18332,7 +18332,7 @@ const vE = (e) => new Promise((t) => setTimeout(t, e)), yE = ({
|
|
|
18332
18332
|
haveCreateObjects: Yn,
|
|
18333
18333
|
haveLinkObjects: Jn,
|
|
18334
18334
|
cards: z,
|
|
18335
|
-
handleCreateNewObject: () => oi(
|
|
18335
|
+
handleCreateNewObject: () => oi(Hl.ICON),
|
|
18336
18336
|
handleLinkNewObject: Vs
|
|
18337
18337
|
}
|
|
18338
18338
|
),
|
|
@@ -18346,7 +18346,7 @@ const vE = (e) => new Promise((t) => setTimeout(t, e)), yE = ({
|
|
|
18346
18346
|
root: u.current
|
|
18347
18347
|
}
|
|
18348
18348
|
) : null,
|
|
18349
|
-
/* @__PURE__ */ g.jsxs(
|
|
18349
|
+
/* @__PURE__ */ g.jsxs(ac, { children: [
|
|
18350
18350
|
/* @__PURE__ */ g.jsx(Sr, { condition: H && ct, children: /* @__PURE__ */ g.jsx(PE, {}) }, "search"),
|
|
18351
18351
|
/* @__PURE__ */ g.jsx(Sr, { condition: H && !!_ && !It, children: /* @__PURE__ */ g.jsx(
|
|
18352
18352
|
ME,
|
|
@@ -18369,7 +18369,7 @@ const vE = (e) => new Promise((t) => setTimeout(t, e)), yE = ({
|
|
|
18369
18369
|
}
|
|
18370
18370
|
) : null,
|
|
18371
18371
|
re ? /* @__PURE__ */ g.jsx(Gx, {}) : null,
|
|
18372
|
-
/* @__PURE__ */ g.jsxs(
|
|
18372
|
+
/* @__PURE__ */ g.jsxs(ac, { children: [
|
|
18373
18373
|
/* @__PURE__ */ g.jsxs(Sr, { condition: !!z && z.length > 0, children: [
|
|
18374
18374
|
/* @__PURE__ */ g.jsx(
|
|
18375
18375
|
gx,
|
|
@@ -18381,7 +18381,7 @@ const vE = (e) => new Promise((t) => setTimeout(t, e)), yE = ({
|
|
|
18381
18381
|
onCardUnlinking: Wt
|
|
18382
18382
|
}
|
|
18383
18383
|
),
|
|
18384
|
-
/* @__PURE__ */ g.jsx("div", { ref: h, children: Ge ? /* @__PURE__ */ g.jsx(Z3, { connectors: nt, expanded:
|
|
18384
|
+
/* @__PURE__ */ g.jsx("div", { ref: h, children: Ge ? /* @__PURE__ */ g.jsx(Z3, { connectors: nt, expanded: U }) : null })
|
|
18385
18385
|
] }, "cards-list"),
|
|
18386
18386
|
/* @__PURE__ */ g.jsx(Sr, { condition: !(z != null && z.length) && Ie, children: ai() }, "create-banner")
|
|
18387
18387
|
] })
|
|
@@ -18389,7 +18389,7 @@ const vE = (e) => new Promise((t) => setTimeout(t, e)), yE = ({
|
|
|
18389
18389
|
] })
|
|
18390
18390
|
] }) : /* @__PURE__ */ g.jsx(td, { isAdmin: e }) }),
|
|
18391
18391
|
/* @__PURE__ */ g.jsx(
|
|
18392
|
-
|
|
18392
|
+
ga,
|
|
18393
18393
|
{
|
|
18394
18394
|
onClose: () => si(Wm),
|
|
18395
18395
|
isOpen: d,
|
|
@@ -18411,7 +18411,7 @@ const vE = (e) => new Promise((t) => setTimeout(t, e)), yE = ({
|
|
|
18411
18411
|
}
|
|
18412
18412
|
),
|
|
18413
18413
|
/* @__PURE__ */ g.jsx(
|
|
18414
|
-
|
|
18414
|
+
ga,
|
|
18415
18415
|
{
|
|
18416
18416
|
onClose: () => ii(Mm),
|
|
18417
18417
|
portalId: "connector-layover-portal",
|
|
@@ -18431,7 +18431,7 @@ const vE = (e) => new Promise((t) => setTimeout(t, e)), yE = ({
|
|
|
18431
18431
|
}
|
|
18432
18432
|
),
|
|
18433
18433
|
/* @__PURE__ */ g.jsx(
|
|
18434
|
-
|
|
18434
|
+
ga,
|
|
18435
18435
|
{
|
|
18436
18436
|
onClose: () => E(!1),
|
|
18437
18437
|
portalId: "connector-layover-portal",
|
|
@@ -18489,7 +18489,7 @@ const vE = (e) => new Promise((t) => setTimeout(t, e)), yE = ({
|
|
|
18489
18489
|
);
|
|
18490
18490
|
return /* @__PURE__ */ g.jsx(Je.Provider, { value: m, children: e });
|
|
18491
18491
|
}, vh = ({ children: e }) => {
|
|
18492
|
-
const [t] =
|
|
18492
|
+
const [t] = Z(() => new tE());
|
|
18493
18493
|
return /* @__PURE__ */ g.jsx(sE, { client: t, children: e });
|
|
18494
18494
|
}, WE = Q0({
|
|
18495
18495
|
cardList: Y7,
|
|
@@ -19470,7 +19470,7 @@ const vE = (e) => new Promise((t) => setTimeout(t, e)), yE = ({
|
|
|
19470
19470
|
}
|
|
19471
19471
|
};
|
|
19472
19472
|
function YE(e, t) {
|
|
19473
|
-
return
|
|
19473
|
+
return sl({
|
|
19474
19474
|
queryKey: ["connector-analytics", e, t],
|
|
19475
19475
|
queryFn: async () => !t || !e ? null : await $E(e),
|
|
19476
19476
|
enabled: !!t && !!e
|
|
@@ -19649,7 +19649,7 @@ if (!document.getElementById("gmail-highlighter-styles")) {
|
|
|
19649
19649
|
`, document.head.appendChild(e);
|
|
19650
19650
|
}
|
|
19651
19651
|
function QE() {
|
|
19652
|
-
return
|
|
19652
|
+
return al({
|
|
19653
19653
|
mutationKey: ["submit-connector-feedback"],
|
|
19654
19654
|
mutationFn: async ({ conversationId: e, feedbackData: t }) => {
|
|
19655
19655
|
if (!e)
|
|
@@ -19667,7 +19667,7 @@ const qE = "Everything looks good", KE = "Something is not working", eI = "Provi
|
|
|
19667
19667
|
{ label: "Data is not accurate", value: "Data is not accurate" },
|
|
19668
19668
|
{ label: "Wrong App is showing", value: "Wrong App is showing" },
|
|
19669
19669
|
{ label: "Other", value: "other" }
|
|
19670
|
-
], aI = "Enter your feedback",
|
|
19670
|
+
], aI = "Enter your feedback", Ca = 40, cI = "Feedback submitted successfully", lI = "Failed to submit feedback", uI = (e) => /* @__PURE__ */ g.jsx(it, { ...e, disabled: e.isLoading || e.disabled, children: e.isLoading ? /* @__PURE__ */ g.jsx(Jh, { sx: { color: "#97A3B7" }, size: 20 }) : e.label }), dI = D(de)`
|
|
19671
19671
|
max-height: 340px;
|
|
19672
19672
|
width: 440px;
|
|
19673
19673
|
border-radius: 12px;
|
|
@@ -19681,16 +19681,16 @@ const qE = "Everything looks good", KE = "Something is not working", eI = "Provi
|
|
|
19681
19681
|
flex-direction: row;
|
|
19682
19682
|
margin-bottom: 12px;
|
|
19683
19683
|
}
|
|
19684
|
-
`,
|
|
19684
|
+
`, fI = D(de)`
|
|
19685
19685
|
border-bottom: 1px solid ${X.palette.gray.gray6};
|
|
19686
19686
|
margin: 12px -16px;
|
|
19687
|
-
`,
|
|
19687
|
+
`, hI = D(de)`
|
|
19688
19688
|
display: flex;
|
|
19689
19689
|
justify-content: flex-end;
|
|
19690
19690
|
margin-top: 30px;
|
|
19691
19691
|
gap: 8px;
|
|
19692
19692
|
`, gd = ({ onCancel: e, onSubmit: t, isLoading: n, showOptions: r = !0 }) => {
|
|
19693
|
-
const [o, i] =
|
|
19693
|
+
const [o, i] = Z(""), [s, c] = Z(""), l = (C) => {
|
|
19694
19694
|
i(C.target.value);
|
|
19695
19695
|
}, a = (C) => {
|
|
19696
19696
|
C.stopPropagation();
|
|
@@ -19701,17 +19701,17 @@ const qE = "Everything looks good", KE = "Something is not working", eI = "Provi
|
|
|
19701
19701
|
}, h = () => {
|
|
19702
19702
|
e == null || e();
|
|
19703
19703
|
}, m = r ? !o : !s;
|
|
19704
|
-
return /* @__PURE__ */ g.jsxs(
|
|
19704
|
+
return /* @__PURE__ */ g.jsxs(dI, { children: [
|
|
19705
19705
|
/* @__PURE__ */ g.jsx(le, { variant: "h3", children: iI }),
|
|
19706
|
-
/* @__PURE__ */ g.jsx(
|
|
19707
|
-
r ? /* @__PURE__ */ g.jsx(
|
|
19708
|
-
|
|
19706
|
+
/* @__PURE__ */ g.jsx(fI, {}),
|
|
19707
|
+
r ? /* @__PURE__ */ g.jsx(Qh, { children: /* @__PURE__ */ g.jsx(
|
|
19708
|
+
qh,
|
|
19709
19709
|
{
|
|
19710
19710
|
"aria-labelledby": "demo-controlled-radio-buttons-group",
|
|
19711
19711
|
name: "controlled-radio-buttons-group",
|
|
19712
19712
|
value: o,
|
|
19713
19713
|
onChange: l,
|
|
19714
|
-
children: sI.map((C) => /* @__PURE__ */ g.jsx(
|
|
19714
|
+
children: sI.map((C) => /* @__PURE__ */ g.jsx(Kh, { value: C.value, control: /* @__PURE__ */ g.jsx(ep, {}), label: C.label }, C.value))
|
|
19715
19715
|
}
|
|
19716
19716
|
) }) : null,
|
|
19717
19717
|
/* @__PURE__ */ g.jsx(
|
|
@@ -19728,7 +19728,7 @@ const qE = "Everything looks good", KE = "Something is not working", eI = "Provi
|
|
|
19728
19728
|
validation: { validate: Ef() }
|
|
19729
19729
|
}
|
|
19730
19730
|
),
|
|
19731
|
-
/* @__PURE__ */ g.jsxs(
|
|
19731
|
+
/* @__PURE__ */ g.jsxs(hI, { children: [
|
|
19732
19732
|
/* @__PURE__ */ g.jsx(
|
|
19733
19733
|
it,
|
|
19734
19734
|
{
|
|
@@ -19740,10 +19740,20 @@ const qE = "Everything looks good", KE = "Something is not working", eI = "Provi
|
|
|
19740
19740
|
children: "Cancel"
|
|
19741
19741
|
}
|
|
19742
19742
|
),
|
|
19743
|
-
/* @__PURE__ */ g.jsx(
|
|
19743
|
+
/* @__PURE__ */ g.jsx(
|
|
19744
|
+
uI,
|
|
19745
|
+
{
|
|
19746
|
+
variant: "contained",
|
|
19747
|
+
color: "primary",
|
|
19748
|
+
isLoading: n,
|
|
19749
|
+
disabled: m,
|
|
19750
|
+
label: "Submit",
|
|
19751
|
+
onClick: u
|
|
19752
|
+
}
|
|
19753
|
+
)
|
|
19744
19754
|
] })
|
|
19745
19755
|
] });
|
|
19746
|
-
},
|
|
19756
|
+
}, pI = D(de)`
|
|
19747
19757
|
border-radius: 12px;
|
|
19748
19758
|
max-height: 298px;
|
|
19749
19759
|
width: 288px;
|
|
@@ -19753,11 +19763,16 @@ const qE = "Everything looks good", KE = "Something is not working", eI = "Provi
|
|
|
19753
19763
|
& > * {
|
|
19754
19764
|
box-sizing: border-box;
|
|
19755
19765
|
}
|
|
19756
|
-
`,
|
|
19766
|
+
`, gI = D(de)`
|
|
19757
19767
|
height: 32px;
|
|
19758
19768
|
display: flex;
|
|
19759
19769
|
align-items: center;
|
|
19760
19770
|
justify-content: space-between;
|
|
19771
|
+
`, mI = D(le)`
|
|
19772
|
+
white-space: nowrap;
|
|
19773
|
+
overflow: hidden;
|
|
19774
|
+
text-overflow: ellipsis;
|
|
19775
|
+
width: ${(e) => e.width || "200px"};
|
|
19761
19776
|
`, bI = D(de)`
|
|
19762
19777
|
height: 1px;
|
|
19763
19778
|
background-color: ${X.palette.gray.gray6};
|
|
@@ -19782,7 +19797,7 @@ const qE = "Everything looks good", KE = "Something is not working", eI = "Provi
|
|
|
19782
19797
|
color: ${X.palette.gray.black};
|
|
19783
19798
|
line-height: 14px;
|
|
19784
19799
|
min-width: 80px;
|
|
19785
|
-
margin-right:
|
|
19800
|
+
margin-right: 0px;
|
|
19786
19801
|
word-break: 'break-word';
|
|
19787
19802
|
text-align: right;
|
|
19788
19803
|
`, xI = D(de)`
|
|
@@ -19793,7 +19808,7 @@ const qE = "Everything looks good", KE = "Something is not working", eI = "Provi
|
|
|
19793
19808
|
display: flex;
|
|
19794
19809
|
justify-content: space-between;
|
|
19795
19810
|
align-items: center;
|
|
19796
|
-
padding: 0
|
|
19811
|
+
padding: 0 10px;
|
|
19797
19812
|
width: 100%;
|
|
19798
19813
|
min-height: 40px;
|
|
19799
19814
|
background-color: ${X.palette.gray.gray6a};
|
|
@@ -19815,77 +19830,77 @@ const qE = "Everything looks good", KE = "Something is not working", eI = "Provi
|
|
|
19815
19830
|
hideTooltip: i,
|
|
19816
19831
|
showGoToApp: s = !1
|
|
19817
19832
|
}) => {
|
|
19818
|
-
const [c, l] =
|
|
19833
|
+
const [c, l] = Z(!1), [a, u] = Z(!1), [h, m] = Z([]), { mutate: C, isPending: v } = QE(), { logoUrl: d, cardTitle: f, id: p, externalResourceId: y, connectorId: b } = e.cardData || {};
|
|
19819
19834
|
if (pe(() => {
|
|
19820
|
-
var N, j
|
|
19821
|
-
const
|
|
19822
|
-
if (
|
|
19823
|
-
const
|
|
19824
|
-
m(
|
|
19835
|
+
var O, N, j;
|
|
19836
|
+
const L = (j = (N = (O = e == null ? void 0 : e.cardData) == null ? void 0 : O.data) == null ? void 0 : N.flatDetails) == null ? void 0 : j.data;
|
|
19837
|
+
if (L) {
|
|
19838
|
+
const U = L.sort((Y, te) => Y.priority - te.priority);
|
|
19839
|
+
m(U);
|
|
19825
19840
|
}
|
|
19826
19841
|
}, [e]), !h || h.length === 0) return null;
|
|
19827
19842
|
const E = () => {
|
|
19828
19843
|
l(!0);
|
|
19829
19844
|
}, x = () => {
|
|
19830
19845
|
u(!0);
|
|
19831
|
-
}, I = (
|
|
19832
|
-
const
|
|
19846
|
+
}, I = (L) => {
|
|
19847
|
+
const O = {
|
|
19833
19848
|
card_id: p,
|
|
19834
19849
|
entity_id: y,
|
|
19835
|
-
comment:
|
|
19836
|
-
option:
|
|
19850
|
+
comment: L.feedbackComment,
|
|
19851
|
+
option: L.feedbackOption,
|
|
19837
19852
|
feedback_type: "entity_extraction"
|
|
19838
19853
|
};
|
|
19839
|
-
typeof
|
|
19854
|
+
typeof L.isThumbsUp < "u" && (O.positive_feedback = L.isThumbsUp), C(
|
|
19840
19855
|
{
|
|
19841
19856
|
conversationId: n,
|
|
19842
|
-
feedbackData:
|
|
19857
|
+
feedbackData: O
|
|
19843
19858
|
},
|
|
19844
19859
|
{
|
|
19845
19860
|
onSuccess: () => {
|
|
19846
|
-
l(!1), u(!1), We({ message:
|
|
19861
|
+
l(!1), u(!1), We({ message: cI, type: wn });
|
|
19847
19862
|
},
|
|
19848
19863
|
onError: () => {
|
|
19849
|
-
We({ message:
|
|
19864
|
+
We({ message: lI, type: xt });
|
|
19850
19865
|
}
|
|
19851
19866
|
}
|
|
19852
19867
|
);
|
|
19853
19868
|
}, A = () => {
|
|
19854
19869
|
I({ isThumbsUp: !0 });
|
|
19855
|
-
}, w = (
|
|
19856
|
-
I({ ...
|
|
19870
|
+
}, w = (L) => {
|
|
19871
|
+
I({ ...L, isThumbsUp: !1 });
|
|
19857
19872
|
}, _ = () => {
|
|
19858
19873
|
r == null || r(b), i();
|
|
19859
19874
|
}, R = () => {
|
|
19860
19875
|
o == null || o();
|
|
19861
|
-
}
|
|
19876
|
+
};
|
|
19862
19877
|
return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
19863
|
-
/* @__PURE__ */ g.jsxs(
|
|
19878
|
+
/* @__PURE__ */ g.jsxs(pI, { children: [
|
|
19864
19879
|
/* @__PURE__ */ g.jsxs(vI, { children: [
|
|
19865
|
-
/* @__PURE__ */ g.jsxs(
|
|
19880
|
+
/* @__PURE__ */ g.jsxs(gI, { children: [
|
|
19866
19881
|
/* @__PURE__ */ g.jsxs($, { flexDirection: "row", alignItems: "center", style: { height: "100%" }, children: [
|
|
19867
19882
|
d && /* @__PURE__ */ g.jsx("img", { src: d, alt: "Logo", style: { marginRight: 8 } }),
|
|
19868
|
-
|
|
19883
|
+
/* @__PURE__ */ g.jsx(Ve, { title: f, arrow: !0, placement: "top", children: /* @__PURE__ */ g.jsx(mI, { variant: "h3", color: X.palette.gray.black, width: s ? "100px" : "200px", children: f }) })
|
|
19869
19884
|
] }),
|
|
19870
19885
|
s ? /* @__PURE__ */ g.jsx(II, { variant: "text", size: "small", endIcon: /* @__PURE__ */ g.jsx(Bt.ArrowForward, {}), onClick: R, children: rI }) : null
|
|
19871
19886
|
] }),
|
|
19872
19887
|
/* @__PURE__ */ g.jsx(bI, {}),
|
|
19873
|
-
/* @__PURE__ */ g.jsx(g.Fragment, { children: h.map(({ key:
|
|
19888
|
+
/* @__PURE__ */ g.jsx(g.Fragment, { children: h.map(({ key: L, value: O, label: N, deepLink: j }) => /* @__PURE__ */ g.jsxs(xI, { children: [
|
|
19874
19889
|
/* @__PURE__ */ g.jsxs(yI, { children: [
|
|
19875
|
-
|
|
19890
|
+
N,
|
|
19876
19891
|
":"
|
|
19877
19892
|
] }),
|
|
19878
|
-
/* @__PURE__ */ g.jsx(Ve, { title: (
|
|
19893
|
+
/* @__PURE__ */ g.jsx(Ve, { title: (O == null ? void 0 : O.length) > Ca ? O : "", arrow: !0, placement: "top", children: j ? /* @__PURE__ */ g.jsx(
|
|
19879
19894
|
Ko,
|
|
19880
19895
|
{
|
|
19881
|
-
href:
|
|
19896
|
+
href: j,
|
|
19882
19897
|
target: "_blank",
|
|
19883
19898
|
rel: "noopener noreferrer",
|
|
19884
19899
|
style: { textDecoration: "none", color: X.palette.primary.main },
|
|
19885
|
-
children:
|
|
19900
|
+
children: Zl(O || "N/A", Ca)
|
|
19886
19901
|
}
|
|
19887
|
-
) : /* @__PURE__ */ g.jsx(CI, { children:
|
|
19888
|
-
] },
|
|
19902
|
+
) : /* @__PURE__ */ g.jsx(CI, { children: Zl(O || "N/A", Ca) }) })
|
|
19903
|
+
] }, L)) })
|
|
19889
19904
|
] }),
|
|
19890
19905
|
/* @__PURE__ */ g.jsxs(EI, { children: [
|
|
19891
19906
|
/* @__PURE__ */ g.jsx($, { flexDirection: "row", alignItems: "center", children: t ? /* @__PURE__ */ g.jsx(_o, { arrow: !0, title: tI, placement: "top", children: /* @__PURE__ */ g.jsx(dt, { onClick: _, children: /* @__PURE__ */ g.jsx(_I, {}) }) }) : /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
@@ -19931,7 +19946,7 @@ const qE = "Everything looks good", KE = "Something is not working", eI = "Provi
|
|
|
19931
19946
|
}
|
|
19932
19947
|
}));
|
|
19933
19948
|
function RI({ elements: e, title: t, onKeyChange: n }) {
|
|
19934
|
-
const [r, o] =
|
|
19949
|
+
const [r, o] = Z(!1), [i, s] = Z(null), [c, l] = Z(""), [a, u] = Z("bottom"), [h, m] = Z(!1), C = ye.useRef(null), v = ye.useRef({ x: 0, y: 0 }), d = ye.useCallback(() => {
|
|
19935
19950
|
C.current && (clearTimeout(C.current), C.current = null);
|
|
19936
19951
|
}, []), f = ye.useCallback((A, w, _, R = 10) => A >= _.left - R && A <= _.right + R && w >= _.top - R && w <= _.bottom + R, []), p = ye.useCallback((A) => {
|
|
19937
19952
|
const w = A.getBoundingClientRect(), _ = window.innerHeight, R = window.innerWidth, L = 350, O = 400, N = w.top, j = _ - w.bottom;
|
|
@@ -20018,7 +20033,7 @@ const FI = ({
|
|
|
20018
20033
|
goToApps: r,
|
|
20019
20034
|
redirectToAdmin: o
|
|
20020
20035
|
}) => {
|
|
20021
|
-
const [i, s] =
|
|
20036
|
+
const [i, s] = Z(null), [c, l] = Z([]), { data: a, isError: u } = YE(e, t);
|
|
20022
20037
|
return pe(() => (console.log("Connector Highlighter mounting++++", { conversationId: e }), () => {
|
|
20023
20038
|
console.log("Connector Highlighter unmounting++++", { conversationId: e });
|
|
20024
20039
|
}), [e]), pe(() => {
|