@sisense/sdk-ui 1.21.0 → 1.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai.cjs +48 -48
- package/dist/ai.js +793 -764
- package/dist/analytics-composer.cjs +18 -18
- package/dist/analytics-composer.js +595 -595
- package/dist/{get-widget-options-NhNoIBS9.js → get-widget-options-DTIulxC2.js} +5993 -5761
- package/dist/{get-widget-options-BmZF5Ztf.cjs → get-widget-options-DixoCEhn.cjs} +76 -76
- package/dist/index.cjs +71 -71
- package/dist/index.js +8097 -7730
- package/dist/packages/sdk-ui/src/ai/chat-config.d.ts +1 -1
- package/dist/packages/sdk-ui/src/api/rest-api.d.ts +4 -0
- package/dist/packages/sdk-ui/src/app/client-application.d.ts +57 -13
- package/dist/packages/sdk-ui/src/app/settings/settings.d.ts +5 -0
- package/dist/packages/sdk-ui/src/boxplot-utils.d.ts +5 -4
- package/dist/packages/sdk-ui/src/chart/chart.d.ts +1 -0
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/translations-to-highcharts.d.ts +1 -1
- package/dist/packages/sdk-ui/src/common/hooks/use-fetch.d.ts +1 -1
- package/dist/packages/sdk-ui/src/common/hooks/use-synced-state.d.ts +19 -0
- package/dist/packages/sdk-ui/src/common-filters/selection-utils.d.ts +9 -1
- package/dist/packages/sdk-ui/src/common-filters/use-common-filters.d.ts +4 -2
- package/dist/packages/sdk-ui/src/dashboard/dashboard-by-id.d.ts +1 -2
- package/dist/packages/sdk-ui/src/dashboard/dashboard-helpers.d.ts +86 -9
- package/dist/packages/sdk-ui/src/dashboard/dashboard.d.ts +9 -1
- package/dist/packages/sdk-ui/src/dashboard/index.d.ts +2 -1
- package/dist/packages/sdk-ui/src/dashboard/types.d.ts +18 -0
- package/dist/packages/sdk-ui/src/dashboard/use-composed-dashboard.d.ts +30 -0
- package/dist/packages/sdk-ui/src/dashboard/use-dashboard-theme.d.ts +40 -0
- package/dist/packages/sdk-ui/src/dashboard-widget/dashboard-widget.d.ts +2 -2
- package/dist/packages/sdk-ui/src/dashboard-widget/translate-widget-data-options.d.ts +12 -2
- package/dist/packages/sdk-ui/src/dashboard-widget/utils.d.ts +1 -0
- package/dist/packages/sdk-ui/src/decorators/hook-decorators/with-tracking.d.ts +1 -0
- package/dist/packages/sdk-ui/src/filters/components/date-filter/date-range-filter-tile/date-range-filter-display.d.ts +2 -1
- package/dist/packages/sdk-ui/src/filters/components/filters-panel/filters-panel.d.ts +2 -2
- package/dist/packages/sdk-ui/src/filters/components/filters-panel/index.d.ts +1 -1
- package/dist/packages/sdk-ui/src/formulas/use-get-shared-formula.d.ts +2 -2
- package/dist/packages/sdk-ui/src/index.d.ts +16 -6
- package/dist/packages/sdk-ui/src/models/dashboard/dashboard-model-translator.d.ts +2 -2
- package/dist/packages/sdk-ui/src/models/dashboard/dashboard-model.d.ts +1 -1
- package/dist/packages/sdk-ui/src/models/dashboard/index.d.ts +2 -0
- package/dist/packages/sdk-ui/src/models/dashboard/translate-dashboard-dto-utils.d.ts +11 -0
- package/dist/packages/sdk-ui/src/models/dashboard/use-dashboard-model/use-dasboard-model-utils.d.ts +22 -0
- package/dist/packages/sdk-ui/src/models/dashboard/use-dashboard-model/use-dashboard-model-reducer.d.ts +63 -0
- package/dist/packages/sdk-ui/src/models/dashboard/use-dashboard-model/use-dashboard-model.d.ts +38 -0
- package/dist/packages/sdk-ui/src/models/dashboard/use-get-dashboard-model.d.ts +1 -2
- package/dist/packages/sdk-ui/src/models/dashboard/use-get-dashboard-models.d.ts +1 -1
- package/dist/packages/sdk-ui/src/models/hierarchy/use-get-hierarchy-models.d.ts +2 -2
- package/dist/packages/sdk-ui/src/models/widget/use-get-widget-model.d.ts +2 -2
- package/dist/packages/sdk-ui/src/models/widget/widget-model-translator.d.ts +18 -0
- package/dist/packages/sdk-ui/src/models/widget/widget-model.d.ts +1 -1
- package/dist/packages/sdk-ui/src/props.d.ts +39 -20
- package/dist/packages/sdk-ui/src/query-execution/execute-query-by-widget-id.d.ts +1 -1
- package/dist/packages/sdk-ui/src/query-execution/use-execute-query-by-widget-id.d.ts +1 -1
- package/dist/packages/sdk-ui/src/translation/custom-translations-loader.d.ts +10 -0
- package/dist/packages/sdk-ui/src/translation/resources/en.d.ts +97 -0
- package/dist/packages/sdk-ui/src/translation/resources/index.d.ts +194 -0
- package/dist/packages/sdk-ui/src/types.d.ts +24 -3
- package/dist/packages/sdk-ui/src/widgets/common/drilldown-utils.d.ts +7 -0
- package/dist/packages/sdk-ui/src/widgets/common/{use-drilldown.d.ts → use-drilldown-core.d.ts} +7 -8
- package/dist/packages/sdk-ui/src/widgets/common-widget.d.ts +1 -0
- package/dist/packages/sdk-ui/src/widgets/hooks/use-drilldown.d.ts +25 -0
- package/dist/packages/sdk-ui/src/widgets/hooks/use-with-drilldown.d.ts +12 -0
- package/dist/packages/sdk-ui/src/widgets/widget.d.ts +9 -0
- package/dist/{table-widget-BPmucihM.js → table-widget-CLL1iN3H.js} +14606 -14487
- package/dist/{table-widget-BikAZUJv.cjs → table-widget-CYCcYqzZ.cjs} +173 -173
- package/package.json +9 -9
- package/dist/packages/sdk-ui/src/ai/api/errors.d.ts +0 -4
- package/dist/packages/sdk-ui/src/widgets/common/drilldown-connector.d.ts +0 -19
package/dist/ai.js
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var lt = Object.defineProperty, ct = Object.defineProperties;
|
|
2
|
+
var dt = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var re = Object.getOwnPropertySymbols;
|
|
4
|
+
var Me = Object.prototype.hasOwnProperty, $e = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var ge = (e, t, o) => t in e ? lt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, M = (e, t) => {
|
|
6
6
|
for (var o in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var o of
|
|
10
|
-
|
|
7
|
+
Me.call(t, o) && ge(e, o, t[o]);
|
|
8
|
+
if (re)
|
|
9
|
+
for (var o of re(t))
|
|
10
|
+
$e.call(t, o) && ge(e, o, t[o]);
|
|
11
11
|
return e;
|
|
12
|
-
}, D = (e, t) =>
|
|
13
|
-
var
|
|
12
|
+
}, D = (e, t) => ct(e, dt(t));
|
|
13
|
+
var Re = (e, t) => {
|
|
14
14
|
var o = {};
|
|
15
15
|
for (var r in e)
|
|
16
|
-
|
|
17
|
-
if (e != null &&
|
|
18
|
-
for (var r of
|
|
19
|
-
t.indexOf(r) < 0 &&
|
|
16
|
+
Me.call(e, r) && t.indexOf(r) < 0 && (o[r] = e[r]);
|
|
17
|
+
if (e != null && re)
|
|
18
|
+
for (var r of re(e))
|
|
19
|
+
t.indexOf(r) < 0 && $e.call(e, r) && (o[r] = e[r]);
|
|
20
20
|
return o;
|
|
21
21
|
};
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
var
|
|
22
|
+
var T = (e, t, o) => (ge(e, typeof t != "symbol" ? t + "" : t, o), o);
|
|
23
|
+
var Z = (e, t, o) => new Promise((r, i) => {
|
|
24
|
+
var a = (l) => {
|
|
25
25
|
try {
|
|
26
26
|
c(o.next(l));
|
|
27
27
|
} catch (d) {
|
|
28
28
|
i(d);
|
|
29
29
|
}
|
|
30
|
-
},
|
|
30
|
+
}, s = (l) => {
|
|
31
31
|
try {
|
|
32
32
|
c(o.throw(l));
|
|
33
33
|
} catch (d) {
|
|
34
34
|
i(d);
|
|
35
35
|
}
|
|
36
|
-
}, c = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(
|
|
36
|
+
}, c = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(a, s);
|
|
37
37
|
c((o = o.apply(e, t)).next());
|
|
38
38
|
});
|
|
39
|
-
import {
|
|
40
|
-
import { jsx as n, jsxs as
|
|
41
|
-
import * as
|
|
42
|
-
import { createContext as
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
39
|
+
import { k as ut, j as ht, s as le, bm as pt, bn as gt, p as _, _ as Q, bo as Ne, D as Ct, bp as ft, m as mt, bq as bt, n as Ce, P as p, q as xt, br as yt, bs as vt, bt as wt, bu as Ie, bv as kt, bw as ee, bx as St, by as Mt, bz as $t, aZ as Rt, M as Lt, a_ as Tt, g as Et, ba as J, T as Oe, al as u, ay as L, Z as x, aw as We, as as Ht, bA as Bt, bB as Pe, bC as Dt, au as Ft, bc as Le, ao as Te, aA as Nt, bD as It, X as qe } from "./table-widget-CLL1iN3H.js";
|
|
40
|
+
import { jsx as n, jsxs as h, Fragment as N } from "react/jsx-runtime";
|
|
41
|
+
import * as A from "react";
|
|
42
|
+
import { createContext as ze, useMemo as O, useContext as Ae, useCallback as E, useEffect as ce, useState as $, useRef as K, useLayoutEffect as se, memo as Ot, forwardRef as Wt, createElement as Pt } from "react";
|
|
43
|
+
import { l as qt, ba as zt, Z as w, T as Ee, r as Ve, bb as At, bc as Vt, bd as Zt, be as Qt, bf as Gt, p as jt, q as Ut } from "./get-widget-options-DTIulxC2.js";
|
|
44
|
+
import { bh as vr, bg as wr } from "./get-widget-options-DTIulxC2.js";
|
|
45
45
|
function _t(e) {
|
|
46
|
-
return
|
|
46
|
+
return ht("MuiDialog", e);
|
|
47
47
|
}
|
|
48
|
-
const
|
|
49
|
-
process.env.NODE_ENV !== "production" && (
|
|
50
|
-
const
|
|
48
|
+
const fe = ut("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), Ze = /* @__PURE__ */ A.createContext({});
|
|
49
|
+
process.env.NODE_ENV !== "production" && (Ze.displayName = "DialogContext");
|
|
50
|
+
const Kt = ["aria-describedby", "aria-labelledby", "BackdropComponent", "BackdropProps", "children", "className", "disableEscapeKeyDown", "fullScreen", "fullWidth", "maxWidth", "onBackdropClick", "onClick", "onClose", "open", "PaperComponent", "PaperProps", "scroll", "TransitionComponent", "transitionDuration", "TransitionProps"], Jt = le(pt, {
|
|
51
51
|
name: "MuiDialog",
|
|
52
52
|
slot: "Backdrop",
|
|
53
53
|
overrides: (e, t) => t.backdrop
|
|
@@ -60,14 +60,14 @@ const Ut = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
60
60
|
scroll: o,
|
|
61
61
|
maxWidth: r,
|
|
62
62
|
fullWidth: i,
|
|
63
|
-
fullScreen:
|
|
64
|
-
} = e,
|
|
63
|
+
fullScreen: a
|
|
64
|
+
} = e, s = {
|
|
65
65
|
root: ["root"],
|
|
66
|
-
container: ["container", `scroll${
|
|
67
|
-
paper: ["paper", `paperScroll${
|
|
66
|
+
container: ["container", `scroll${_(o)}`],
|
|
67
|
+
paper: ["paper", `paperScroll${_(o)}`, `paperWidth${_(String(r))}`, i && "paperFullWidth", a && "paperFullScreen"]
|
|
68
68
|
};
|
|
69
|
-
return
|
|
70
|
-
},
|
|
69
|
+
return xt(s, _t, t);
|
|
70
|
+
}, Xt = le(gt, {
|
|
71
71
|
name: "MuiDialog",
|
|
72
72
|
slot: "Root",
|
|
73
73
|
overridesResolver: (e, t) => t.root
|
|
@@ -76,18 +76,18 @@ const Ut = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
76
76
|
// Use !important to override the Modal inline-style.
|
|
77
77
|
position: "absolute !important"
|
|
78
78
|
}
|
|
79
|
-
}),
|
|
79
|
+
}), eo = le("div", {
|
|
80
80
|
name: "MuiDialog",
|
|
81
81
|
slot: "Container",
|
|
82
82
|
overridesResolver: (e, t) => {
|
|
83
83
|
const {
|
|
84
84
|
ownerState: o
|
|
85
85
|
} = e;
|
|
86
|
-
return [t.container, t[`scroll${
|
|
86
|
+
return [t.container, t[`scroll${_(o.scroll)}`]];
|
|
87
87
|
}
|
|
88
88
|
})(({
|
|
89
89
|
ownerState: e
|
|
90
|
-
}) =>
|
|
90
|
+
}) => Q({
|
|
91
91
|
height: "100%",
|
|
92
92
|
"@media print": {
|
|
93
93
|
height: "auto"
|
|
@@ -109,19 +109,19 @@ const Ut = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
109
109
|
height: "100%",
|
|
110
110
|
width: "0"
|
|
111
111
|
}
|
|
112
|
-
})),
|
|
112
|
+
})), to = le(Ne, {
|
|
113
113
|
name: "MuiDialog",
|
|
114
114
|
slot: "Paper",
|
|
115
115
|
overridesResolver: (e, t) => {
|
|
116
116
|
const {
|
|
117
117
|
ownerState: o
|
|
118
118
|
} = e;
|
|
119
|
-
return [t.paper, t[`scrollPaper${
|
|
119
|
+
return [t.paper, t[`scrollPaper${_(o.scroll)}`], t[`paperWidth${_(String(o.maxWidth))}`], o.fullWidth && t.paperFullWidth, o.fullScreen && t.paperFullScreen];
|
|
120
120
|
}
|
|
121
121
|
})(({
|
|
122
122
|
theme: e,
|
|
123
123
|
ownerState: t
|
|
124
|
-
}) =>
|
|
124
|
+
}) => Q({
|
|
125
125
|
margin: 32,
|
|
126
126
|
position: "relative",
|
|
127
127
|
overflowY: "auto",
|
|
@@ -143,14 +143,14 @@ const Ut = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
143
143
|
maxWidth: "calc(100% - 64px)"
|
|
144
144
|
}, t.maxWidth === "xs" && {
|
|
145
145
|
maxWidth: e.breakpoints.unit === "px" ? Math.max(e.breakpoints.values.xs, 444) : `max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,
|
|
146
|
-
[`&.${
|
|
146
|
+
[`&.${fe.paperScrollBody}`]: {
|
|
147
147
|
[e.breakpoints.down(Math.max(e.breakpoints.values.xs, 444) + 32 * 2)]: {
|
|
148
148
|
maxWidth: "calc(100% - 64px)"
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
}, t.maxWidth && t.maxWidth !== "xs" && {
|
|
152
152
|
maxWidth: `${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,
|
|
153
|
-
[`&.${
|
|
153
|
+
[`&.${fe.paperScrollBody}`]: {
|
|
154
154
|
[e.breakpoints.down(e.breakpoints.values[t.maxWidth] + 32 * 2)]: {
|
|
155
155
|
maxWidth: "calc(100% - 64px)"
|
|
156
156
|
}
|
|
@@ -164,99 +164,99 @@ const Ut = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
164
164
|
height: "100%",
|
|
165
165
|
maxHeight: "none",
|
|
166
166
|
borderRadius: 0,
|
|
167
|
-
[`&.${
|
|
167
|
+
[`&.${fe.paperScrollBody}`]: {
|
|
168
168
|
margin: 0,
|
|
169
169
|
maxWidth: "100%"
|
|
170
170
|
}
|
|
171
|
-
})),
|
|
172
|
-
const r =
|
|
171
|
+
})), Qe = /* @__PURE__ */ A.forwardRef(function(t, o) {
|
|
172
|
+
const r = Ct({
|
|
173
173
|
props: t,
|
|
174
174
|
name: "MuiDialog"
|
|
175
|
-
}), i =
|
|
175
|
+
}), i = ft(), a = {
|
|
176
176
|
enter: i.transitions.duration.enteringScreen,
|
|
177
177
|
exit: i.transitions.duration.leavingScreen
|
|
178
178
|
}, {
|
|
179
|
-
"aria-describedby":
|
|
179
|
+
"aria-describedby": s,
|
|
180
180
|
"aria-labelledby": c,
|
|
181
181
|
BackdropComponent: l,
|
|
182
182
|
BackdropProps: d,
|
|
183
|
-
children:
|
|
184
|
-
className:
|
|
185
|
-
disableEscapeKeyDown:
|
|
186
|
-
fullScreen:
|
|
187
|
-
fullWidth:
|
|
188
|
-
maxWidth:
|
|
189
|
-
onBackdropClick:
|
|
190
|
-
onClick:
|
|
191
|
-
onClose:
|
|
192
|
-
open:
|
|
193
|
-
PaperComponent:
|
|
194
|
-
PaperProps:
|
|
195
|
-
scroll:
|
|
196
|
-
TransitionComponent:
|
|
197
|
-
transitionDuration:
|
|
198
|
-
TransitionProps:
|
|
199
|
-
} = r,
|
|
200
|
-
disableEscapeKeyDown:
|
|
201
|
-
fullScreen:
|
|
202
|
-
fullWidth:
|
|
203
|
-
maxWidth:
|
|
204
|
-
scroll:
|
|
205
|
-
}), j = Yt(
|
|
206
|
-
|
|
207
|
-
},
|
|
208
|
-
|
|
209
|
-
},
|
|
210
|
-
titleId:
|
|
211
|
-
}), [
|
|
212
|
-
return /* @__PURE__ */ n(
|
|
213
|
-
className:
|
|
183
|
+
children: g,
|
|
184
|
+
className: C,
|
|
185
|
+
disableEscapeKeyDown: m = !1,
|
|
186
|
+
fullScreen: f = !1,
|
|
187
|
+
fullWidth: S = !1,
|
|
188
|
+
maxWidth: b = "sm",
|
|
189
|
+
onBackdropClick: y,
|
|
190
|
+
onClick: I,
|
|
191
|
+
onClose: v,
|
|
192
|
+
open: H,
|
|
193
|
+
PaperComponent: q = Ne,
|
|
194
|
+
PaperProps: B = {},
|
|
195
|
+
scroll: ue = "paper",
|
|
196
|
+
TransitionComponent: F = yt,
|
|
197
|
+
transitionDuration: Y = a,
|
|
198
|
+
TransitionProps: he
|
|
199
|
+
} = r, pe = mt(r, Kt), G = Q({}, r, {
|
|
200
|
+
disableEscapeKeyDown: m,
|
|
201
|
+
fullScreen: f,
|
|
202
|
+
fullWidth: S,
|
|
203
|
+
maxWidth: b,
|
|
204
|
+
scroll: ue
|
|
205
|
+
}), j = Yt(G), U = A.useRef(), z = (R) => {
|
|
206
|
+
U.current = R.target === R.currentTarget;
|
|
207
|
+
}, ne = (R) => {
|
|
208
|
+
I && I(R), U.current && (U.current = null, y && y(R), v && v(R, "backdropClick"));
|
|
209
|
+
}, X = bt(c), k = A.useMemo(() => ({
|
|
210
|
+
titleId: X
|
|
211
|
+
}), [X]);
|
|
212
|
+
return /* @__PURE__ */ n(Xt, Q({
|
|
213
|
+
className: Ce(j.root, C),
|
|
214
214
|
closeAfterTransition: !0,
|
|
215
215
|
components: {
|
|
216
|
-
Backdrop:
|
|
216
|
+
Backdrop: Jt
|
|
217
217
|
},
|
|
218
218
|
componentsProps: {
|
|
219
|
-
backdrop:
|
|
220
|
-
transitionDuration:
|
|
219
|
+
backdrop: Q({
|
|
220
|
+
transitionDuration: Y,
|
|
221
221
|
as: l
|
|
222
222
|
}, d)
|
|
223
223
|
},
|
|
224
|
-
disableEscapeKeyDown:
|
|
225
|
-
onClose:
|
|
226
|
-
open:
|
|
224
|
+
disableEscapeKeyDown: m,
|
|
225
|
+
onClose: v,
|
|
226
|
+
open: H,
|
|
227
227
|
ref: o,
|
|
228
|
-
onClick:
|
|
229
|
-
ownerState:
|
|
230
|
-
},
|
|
231
|
-
children: /* @__PURE__ */ n(
|
|
228
|
+
onClick: ne,
|
|
229
|
+
ownerState: G
|
|
230
|
+
}, pe, {
|
|
231
|
+
children: /* @__PURE__ */ n(F, Q({
|
|
232
232
|
appear: !0,
|
|
233
|
-
in:
|
|
234
|
-
timeout:
|
|
233
|
+
in: H,
|
|
234
|
+
timeout: Y,
|
|
235
235
|
role: "presentation"
|
|
236
|
-
},
|
|
237
|
-
children: /* @__PURE__ */ n(
|
|
238
|
-
className:
|
|
239
|
-
onMouseDown:
|
|
240
|
-
ownerState:
|
|
241
|
-
children: /* @__PURE__ */ n(
|
|
242
|
-
as:
|
|
236
|
+
}, he, {
|
|
237
|
+
children: /* @__PURE__ */ n(eo, {
|
|
238
|
+
className: Ce(j.container),
|
|
239
|
+
onMouseDown: z,
|
|
240
|
+
ownerState: G,
|
|
241
|
+
children: /* @__PURE__ */ n(to, Q({
|
|
242
|
+
as: q,
|
|
243
243
|
elevation: 24,
|
|
244
244
|
role: "dialog",
|
|
245
|
-
"aria-describedby":
|
|
246
|
-
"aria-labelledby":
|
|
247
|
-
},
|
|
248
|
-
className:
|
|
249
|
-
ownerState:
|
|
250
|
-
children: /* @__PURE__ */ n(
|
|
251
|
-
value:
|
|
252
|
-
children:
|
|
245
|
+
"aria-describedby": s,
|
|
246
|
+
"aria-labelledby": X
|
|
247
|
+
}, B, {
|
|
248
|
+
className: Ce(j.paper, B.className),
|
|
249
|
+
ownerState: G,
|
|
250
|
+
children: /* @__PURE__ */ n(Ze.Provider, {
|
|
251
|
+
value: k,
|
|
252
|
+
children: g
|
|
253
253
|
})
|
|
254
254
|
}))
|
|
255
255
|
})
|
|
256
256
|
}))
|
|
257
257
|
}));
|
|
258
258
|
});
|
|
259
|
-
process.env.NODE_ENV !== "production" && (
|
|
259
|
+
process.env.NODE_ENV !== "production" && (Qe.propTypes = {
|
|
260
260
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
261
261
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
262
262
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -264,11 +264,11 @@ process.env.NODE_ENV !== "production" && (Ve.propTypes = {
|
|
|
264
264
|
/**
|
|
265
265
|
* The id(s) of the element(s) that describe the dialog.
|
|
266
266
|
*/
|
|
267
|
-
"aria-describedby":
|
|
267
|
+
"aria-describedby": p.string,
|
|
268
268
|
/**
|
|
269
269
|
* The id(s) of the element(s) that label the dialog.
|
|
270
270
|
*/
|
|
271
|
-
"aria-labelledby":
|
|
271
|
+
"aria-labelledby": p.string,
|
|
272
272
|
/**
|
|
273
273
|
* A backdrop component. This prop enables custom backdrop rendering.
|
|
274
274
|
* @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
|
|
@@ -283,92 +283,92 @@ process.env.NODE_ENV !== "production" && (Ve.propTypes = {
|
|
|
283
283
|
* zIndex: -1,
|
|
284
284
|
* })
|
|
285
285
|
*/
|
|
286
|
-
BackdropComponent:
|
|
286
|
+
BackdropComponent: p.elementType,
|
|
287
287
|
/**
|
|
288
288
|
* @ignore
|
|
289
289
|
*/
|
|
290
|
-
BackdropProps:
|
|
290
|
+
BackdropProps: p.object,
|
|
291
291
|
/**
|
|
292
292
|
* Dialog children, usually the included sub-components.
|
|
293
293
|
*/
|
|
294
|
-
children:
|
|
294
|
+
children: p.node,
|
|
295
295
|
/**
|
|
296
296
|
* Override or extend the styles applied to the component.
|
|
297
297
|
*/
|
|
298
|
-
classes:
|
|
298
|
+
classes: p.object,
|
|
299
299
|
/**
|
|
300
300
|
* @ignore
|
|
301
301
|
*/
|
|
302
|
-
className:
|
|
302
|
+
className: p.string,
|
|
303
303
|
/**
|
|
304
304
|
* If `true`, hitting escape will not fire the `onClose` callback.
|
|
305
305
|
* @default false
|
|
306
306
|
*/
|
|
307
|
-
disableEscapeKeyDown:
|
|
307
|
+
disableEscapeKeyDown: p.bool,
|
|
308
308
|
/**
|
|
309
309
|
* If `true`, the dialog is full-screen.
|
|
310
310
|
* @default false
|
|
311
311
|
*/
|
|
312
|
-
fullScreen:
|
|
312
|
+
fullScreen: p.bool,
|
|
313
313
|
/**
|
|
314
314
|
* If `true`, the dialog stretches to `maxWidth`.
|
|
315
315
|
*
|
|
316
316
|
* Notice that the dialog width grow is limited by the default margin.
|
|
317
317
|
* @default false
|
|
318
318
|
*/
|
|
319
|
-
fullWidth:
|
|
319
|
+
fullWidth: p.bool,
|
|
320
320
|
/**
|
|
321
321
|
* Determine the max-width of the dialog.
|
|
322
322
|
* The dialog width grows with the size of the screen.
|
|
323
323
|
* Set to `false` to disable `maxWidth`.
|
|
324
324
|
* @default 'sm'
|
|
325
325
|
*/
|
|
326
|
-
maxWidth:
|
|
326
|
+
maxWidth: p.oneOfType([p.oneOf(["xs", "sm", "md", "lg", "xl", !1]), p.string]),
|
|
327
327
|
/**
|
|
328
328
|
* Callback fired when the backdrop is clicked.
|
|
329
329
|
* @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
|
|
330
330
|
*/
|
|
331
|
-
onBackdropClick:
|
|
331
|
+
onBackdropClick: p.func,
|
|
332
332
|
/**
|
|
333
333
|
* @ignore
|
|
334
334
|
*/
|
|
335
|
-
onClick:
|
|
335
|
+
onClick: p.func,
|
|
336
336
|
/**
|
|
337
337
|
* Callback fired when the component requests to be closed.
|
|
338
338
|
*
|
|
339
339
|
* @param {object} event The event source of the callback.
|
|
340
340
|
* @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
|
|
341
341
|
*/
|
|
342
|
-
onClose:
|
|
342
|
+
onClose: p.func,
|
|
343
343
|
/**
|
|
344
344
|
* If `true`, the component is shown.
|
|
345
345
|
*/
|
|
346
|
-
open:
|
|
346
|
+
open: p.bool.isRequired,
|
|
347
347
|
/**
|
|
348
348
|
* The component used to render the body of the dialog.
|
|
349
349
|
* @default Paper
|
|
350
350
|
*/
|
|
351
|
-
PaperComponent:
|
|
351
|
+
PaperComponent: p.elementType,
|
|
352
352
|
/**
|
|
353
353
|
* Props applied to the [`Paper`](/material-ui/api/paper/) element.
|
|
354
354
|
* @default {}
|
|
355
355
|
*/
|
|
356
|
-
PaperProps:
|
|
356
|
+
PaperProps: p.object,
|
|
357
357
|
/**
|
|
358
358
|
* Determine the container for scrolling the dialog.
|
|
359
359
|
* @default 'paper'
|
|
360
360
|
*/
|
|
361
|
-
scroll:
|
|
361
|
+
scroll: p.oneOf(["body", "paper"]),
|
|
362
362
|
/**
|
|
363
363
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
364
364
|
*/
|
|
365
|
-
sx:
|
|
365
|
+
sx: p.oneOfType([p.arrayOf(p.oneOfType([p.func, p.object, p.bool])), p.func, p.object]),
|
|
366
366
|
/**
|
|
367
367
|
* The component used for the transition.
|
|
368
368
|
* [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
369
369
|
* @default Fade
|
|
370
370
|
*/
|
|
371
|
-
TransitionComponent:
|
|
371
|
+
TransitionComponent: p.elementType,
|
|
372
372
|
/**
|
|
373
373
|
* The duration for the transition, in milliseconds.
|
|
374
374
|
* You may specify a single timeout for all transitions, or individually with an object.
|
|
@@ -377,18 +377,18 @@ process.env.NODE_ENV !== "production" && (Ve.propTypes = {
|
|
|
377
377
|
* exit: theme.transitions.duration.leavingScreen,
|
|
378
378
|
* }
|
|
379
379
|
*/
|
|
380
|
-
transitionDuration:
|
|
381
|
-
appear:
|
|
382
|
-
enter:
|
|
383
|
-
exit:
|
|
380
|
+
transitionDuration: p.oneOfType([p.number, p.shape({
|
|
381
|
+
appear: p.number,
|
|
382
|
+
enter: p.number,
|
|
383
|
+
exit: p.number
|
|
384
384
|
})]),
|
|
385
385
|
/**
|
|
386
386
|
* Props applied to the transition element.
|
|
387
387
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
388
388
|
*/
|
|
389
|
-
TransitionProps:
|
|
389
|
+
TransitionProps: p.object
|
|
390
390
|
});
|
|
391
|
-
class
|
|
391
|
+
class oo extends vt {
|
|
392
392
|
constructor(t, o) {
|
|
393
393
|
super(), this.client = t, this.setOptions(o), this.bindMethods(), this.updateResult();
|
|
394
394
|
}
|
|
@@ -398,7 +398,7 @@ class to extends yt {
|
|
|
398
398
|
setOptions(t) {
|
|
399
399
|
var o;
|
|
400
400
|
const r = this.options;
|
|
401
|
-
this.options = this.client.defaultMutationOptions(t),
|
|
401
|
+
this.options = this.client.defaultMutationOptions(t), wt(r, this.options) || this.client.getMutationCache().notify({
|
|
402
402
|
type: "observerOptionsUpdated",
|
|
403
403
|
mutation: this.currentMutation,
|
|
404
404
|
observer: this
|
|
@@ -426,12 +426,12 @@ class to extends yt {
|
|
|
426
426
|
});
|
|
427
427
|
}
|
|
428
428
|
mutate(t, o) {
|
|
429
|
-
return this.mutateOptions = o, this.currentMutation && this.currentMutation.removeObserver(this), this.currentMutation = this.client.getMutationCache().build(this.client, D(
|
|
429
|
+
return this.mutateOptions = o, this.currentMutation && this.currentMutation.removeObserver(this), this.currentMutation = this.client.getMutationCache().build(this.client, D(M({}, this.options), {
|
|
430
430
|
variables: typeof t != "undefined" ? t : this.options.variables
|
|
431
431
|
})), this.currentMutation.addObserver(this), this.currentMutation.execute();
|
|
432
432
|
}
|
|
433
433
|
updateResult() {
|
|
434
|
-
const t = this.currentMutation ? this.currentMutation.state :
|
|
434
|
+
const t = this.currentMutation ? this.currentMutation.state : kt(), o = D(M({}, t), {
|
|
435
435
|
isLoading: t.status === "loading",
|
|
436
436
|
isSuccess: t.status === "success",
|
|
437
437
|
isError: t.status === "error",
|
|
@@ -442,73 +442,73 @@ class to extends yt {
|
|
|
442
442
|
this.currentResult = o;
|
|
443
443
|
}
|
|
444
444
|
notify(t) {
|
|
445
|
-
|
|
445
|
+
Ie.batch(() => {
|
|
446
446
|
if (this.mutateOptions && this.hasListeners()) {
|
|
447
447
|
if (t.onSuccess) {
|
|
448
|
-
var o, r, i,
|
|
449
|
-
(o = (r = this.mutateOptions).onSuccess) == null || o.call(r, this.currentResult.data, this.currentResult.variables, this.currentResult.context), (i = (
|
|
448
|
+
var o, r, i, a;
|
|
449
|
+
(o = (r = this.mutateOptions).onSuccess) == null || o.call(r, this.currentResult.data, this.currentResult.variables, this.currentResult.context), (i = (a = this.mutateOptions).onSettled) == null || i.call(a, this.currentResult.data, null, this.currentResult.variables, this.currentResult.context);
|
|
450
450
|
} else if (t.onError) {
|
|
451
|
-
var
|
|
452
|
-
(
|
|
451
|
+
var s, c, l, d;
|
|
452
|
+
(s = (c = this.mutateOptions).onError) == null || s.call(c, this.currentResult.error, this.currentResult.variables, this.currentResult.context), (l = (d = this.mutateOptions).onSettled) == null || l.call(d, void 0, this.currentResult.error, this.currentResult.variables, this.currentResult.context);
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
455
|
t.listeners && this.listeners.forEach(({
|
|
456
|
-
listener:
|
|
456
|
+
listener: g
|
|
457
457
|
}) => {
|
|
458
|
-
|
|
458
|
+
g(this.currentResult);
|
|
459
459
|
});
|
|
460
460
|
});
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
|
-
function
|
|
464
|
-
const r =
|
|
463
|
+
function be(e, t, o) {
|
|
464
|
+
const r = $t(e, t), i = ee({
|
|
465
465
|
context: r.context
|
|
466
|
-
}), [
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
}, [
|
|
470
|
-
const
|
|
471
|
-
|
|
472
|
-
}, [
|
|
473
|
-
if (
|
|
474
|
-
throw
|
|
475
|
-
return D(
|
|
466
|
+
}), [a] = A.useState(() => new oo(i, r));
|
|
467
|
+
A.useEffect(() => {
|
|
468
|
+
a.setOptions(r);
|
|
469
|
+
}, [a, r]);
|
|
470
|
+
const s = St(A.useCallback((l) => a.subscribe(Ie.batchCalls(l)), [a]), () => a.getCurrentResult(), () => a.getCurrentResult()), c = A.useCallback((l, d) => {
|
|
471
|
+
a.mutate(l, d).catch(no);
|
|
472
|
+
}, [a]);
|
|
473
|
+
if (s.error && Mt(a.options.useErrorBoundary, [s.error]))
|
|
474
|
+
throw s.error;
|
|
475
|
+
return D(M({}, s), {
|
|
476
476
|
mutate: c,
|
|
477
|
-
mutateAsync:
|
|
477
|
+
mutateAsync: s.mutate
|
|
478
478
|
});
|
|
479
479
|
}
|
|
480
|
-
function
|
|
480
|
+
function no() {
|
|
481
481
|
}
|
|
482
|
-
class
|
|
482
|
+
class ro {
|
|
483
483
|
constructor(t) {
|
|
484
|
-
|
|
485
|
-
|
|
484
|
+
T(this, "httpClient");
|
|
485
|
+
T(this, "getChatContexts", () => Z(this, null, function* () {
|
|
486
486
|
return (yield this.httpClient.get("api/datasources?sharedWith=r,w")) || [];
|
|
487
487
|
}));
|
|
488
488
|
// ==== /v2/ai endpoints ====
|
|
489
|
-
|
|
490
|
-
|
|
489
|
+
T(this, "getNlgQueryResult", (t) => this.httpClient.post("api/v2/ai/nlg/queryResult", t));
|
|
490
|
+
T(this, "getQueryRecommendations", (t, o) => this.httpClient.get(
|
|
491
491
|
`api/v2/ai/recommendations/query/${t}/${o.numOfRecommendations}`
|
|
492
492
|
));
|
|
493
|
-
|
|
493
|
+
T(this, "setLlmConfig", (t) => this.httpClient.post("api/v2/settings/ai/llmProvider", t).catch((o) => {
|
|
494
494
|
console.error("Unable to set llm config", o);
|
|
495
495
|
}));
|
|
496
496
|
// ==== /v2/ai/chats endpoints ====
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
497
|
+
T(this, "getAllChats", () => this.httpClient.get("api/v2/ai/chats"));
|
|
498
|
+
T(this, "getChatById", (t) => this.httpClient.get(`api/v2/ai/chats/${t}`));
|
|
499
|
+
T(this, "createChat", (t) => this.httpClient.post("api/v2/ai/chats", { sourceId: t }));
|
|
500
|
+
T(this, "postChat", (t, o) => this.httpClient.post(`api/v2/ai/chats/${t}`, o));
|
|
501
|
+
T(this, "deleteChatHistory", (t) => this.httpClient.delete(`api/v2/ai/chats/${t}/history`));
|
|
502
|
+
T(this, "sendFeedback", (t) => this.httpClient.post("api/v2/ai/feedback", t));
|
|
503
503
|
// ==== misc endpoints ====
|
|
504
|
-
|
|
504
|
+
T(this, "getDataSourceFields", (t) => this.httpClient.post(
|
|
505
505
|
`api/datasources/${encodeURIComponent(t)}/fields/search`,
|
|
506
506
|
{
|
|
507
507
|
offset: 0,
|
|
508
508
|
count: 9999
|
|
509
509
|
}
|
|
510
510
|
));
|
|
511
|
-
|
|
511
|
+
T(this, "ai", {
|
|
512
512
|
getNlgQueryResult: this.getNlgQueryResult,
|
|
513
513
|
getQueryRecommendations: this.getQueryRecommendations,
|
|
514
514
|
setLlmConfig: this.setLlmConfig,
|
|
@@ -525,109 +525,110 @@ class no {
|
|
|
525
525
|
this.httpClient = t;
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
|
-
const
|
|
528
|
+
const io = new Rt({
|
|
529
529
|
defaultOptions: {
|
|
530
530
|
queries: {
|
|
531
531
|
refetchOnWindowFocus: !1,
|
|
532
532
|
refetchOnMount: !1
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
}),
|
|
536
|
-
const { app: t } = Lt(), o =
|
|
537
|
-
return /* @__PURE__ */ n(
|
|
535
|
+
}), Ge = ze(void 0), W = () => Ae(Ge), so = ({ children: e }) => {
|
|
536
|
+
const { app: t } = Lt(), o = O(() => t ? new ro(t.httpClient) : void 0, [t]);
|
|
537
|
+
return /* @__PURE__ */ n(Ge.Provider, { value: o, children: /* @__PURE__ */ n(Tt, { client: io, children: e }) });
|
|
538
538
|
};
|
|
539
|
-
function
|
|
540
|
-
return /* @__PURE__ */ n(
|
|
539
|
+
function hr({ children: e }) {
|
|
540
|
+
return /* @__PURE__ */ n(so, { children: e });
|
|
541
541
|
}
|
|
542
|
-
const
|
|
543
|
-
const o =
|
|
544
|
-
var
|
|
542
|
+
const xe = (e, t = !0) => {
|
|
543
|
+
const o = O(() => {
|
|
544
|
+
var g, C;
|
|
545
545
|
if ("jaql" in e)
|
|
546
546
|
return e;
|
|
547
547
|
{
|
|
548
|
-
const
|
|
548
|
+
const m = zt(e.dataSource), { filters: f = [], relations: S } = qt(e.filters), { metadata: b, filterRelations: y } = Et(
|
|
549
549
|
{
|
|
550
550
|
dataSource: e.dataSource,
|
|
551
|
-
attributes: (
|
|
552
|
-
measures: (
|
|
553
|
-
filters:
|
|
554
|
-
filterRelations:
|
|
551
|
+
attributes: (g = e.dimensions) != null ? g : [],
|
|
552
|
+
measures: (C = e.measures) != null ? C : [],
|
|
553
|
+
filters: f,
|
|
554
|
+
filterRelations: S,
|
|
555
555
|
highlights: []
|
|
556
556
|
},
|
|
557
557
|
!0
|
|
558
558
|
);
|
|
559
559
|
return {
|
|
560
560
|
jaql: {
|
|
561
|
-
datasource:
|
|
562
|
-
metadata:
|
|
563
|
-
filterRelations:
|
|
561
|
+
datasource: m,
|
|
562
|
+
metadata: b,
|
|
563
|
+
filterRelations: y
|
|
564
564
|
}
|
|
565
565
|
};
|
|
566
566
|
}
|
|
567
|
-
}, [e]), r =
|
|
567
|
+
}, [e]), r = W(), { data: i, error: a, isError: s, isLoading: c, isSuccess: l, refetch: d } = J({
|
|
568
568
|
queryKey: ["getNlgQueryResult", o, r],
|
|
569
569
|
queryFn: () => r == null ? void 0 : r.ai.getNlgQueryResult(o),
|
|
570
|
-
select: (
|
|
571
|
-
var
|
|
572
|
-
return (
|
|
570
|
+
select: (g) => {
|
|
571
|
+
var C;
|
|
572
|
+
return (C = g == null ? void 0 : g.data) == null ? void 0 : C.answer;
|
|
573
573
|
},
|
|
574
574
|
enabled: !!r && t
|
|
575
575
|
});
|
|
576
576
|
return {
|
|
577
577
|
isLoading: c,
|
|
578
|
-
isError:
|
|
578
|
+
isError: s,
|
|
579
579
|
isSuccess: l,
|
|
580
580
|
data: i,
|
|
581
|
-
error:
|
|
582
|
-
refetch:
|
|
581
|
+
error: a,
|
|
582
|
+
refetch: E(() => {
|
|
583
583
|
d();
|
|
584
584
|
}, [d])
|
|
585
585
|
};
|
|
586
|
-
},
|
|
587
|
-
const r = e, { enabled: t } = r, o =
|
|
588
|
-
return
|
|
589
|
-
},
|
|
590
|
-
|
|
591
|
-
),
|
|
586
|
+
}, ao = (e) => {
|
|
587
|
+
const r = e, { enabled: t } = r, o = Re(r, ["enabled"]);
|
|
588
|
+
return xe(o, t);
|
|
589
|
+
}, pr = Oe("useGetNlgQueryResult")(
|
|
590
|
+
ao
|
|
591
|
+
), je = Object.freeze({
|
|
592
592
|
enableFollowupQuestions: !1,
|
|
593
593
|
enableHeader: !0,
|
|
594
594
|
enableInsights: !0,
|
|
595
595
|
numOfRecommendations: 4,
|
|
596
|
-
numOfRecentPrompts: 5
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
596
|
+
numOfRecentPrompts: 5
|
|
597
|
+
}), Ue = ze(M({}, je)), P = () => Ae(Ue), lo = ({ children: e, value: t }) => {
|
|
598
|
+
const { t: o } = w(), r = Object.entries(t).reduce(
|
|
599
|
+
(i, [a, s]) => (s !== void 0 && (i[a] = s), i),
|
|
600
|
+
D(M({}, je), {
|
|
601
|
+
inputPromptText: o("ai.config.inputPromptText"),
|
|
602
|
+
welcomeText: o("ai.config.welcomeText"),
|
|
603
|
+
suggestionsWelcomeText: o("ai.config.suggestionsWelcomeText")
|
|
604
|
+
})
|
|
604
605
|
);
|
|
605
|
-
return /* @__PURE__ */ n(
|
|
606
|
-
},
|
|
607
|
-
const { contextTitle: t, count: o } = e, r =
|
|
608
|
-
queryKey: ["getQueryRecommendations", t,
|
|
606
|
+
return /* @__PURE__ */ n(Ue.Provider, { value: r, children: e });
|
|
607
|
+
}, _e = (e) => {
|
|
608
|
+
const { contextTitle: t, count: o } = e, r = W(), { numOfRecommendations: i } = P(), a = o != null ? o : i, { isLoading: s, isError: c, isSuccess: l, data: d, error: g, refetch: C } = J({
|
|
609
|
+
queryKey: ["getQueryRecommendations", t, a, r],
|
|
609
610
|
queryFn: () => r == null ? void 0 : r.ai.getQueryRecommendations(t, {
|
|
610
|
-
numOfRecommendations:
|
|
611
|
+
numOfRecommendations: a
|
|
611
612
|
}),
|
|
612
613
|
enabled: !!r
|
|
613
614
|
});
|
|
614
615
|
return {
|
|
615
|
-
isLoading:
|
|
616
|
+
isLoading: s,
|
|
616
617
|
isError: c,
|
|
617
618
|
isSuccess: l,
|
|
618
619
|
data: d != null ? d : [],
|
|
619
|
-
error:
|
|
620
|
-
refetch:
|
|
621
|
-
|
|
622
|
-
}, [
|
|
620
|
+
error: g,
|
|
621
|
+
refetch: E(() => {
|
|
622
|
+
C();
|
|
623
|
+
}, [C])
|
|
623
624
|
};
|
|
624
|
-
},
|
|
625
|
-
|
|
626
|
-
),
|
|
627
|
-
const t =
|
|
628
|
-
return
|
|
625
|
+
}, gr = Oe("useGetQueryRecommendations")(
|
|
626
|
+
_e
|
|
627
|
+
), ye = "chatHistory", co = (e) => {
|
|
628
|
+
const t = W(), { hideHistory: o } = P();
|
|
629
|
+
return J({
|
|
629
630
|
queryKey: [ye, e, t],
|
|
630
|
-
queryFn: () =>
|
|
631
|
+
queryFn: () => Z(void 0, null, function* () {
|
|
631
632
|
if (!t || !e)
|
|
632
633
|
return;
|
|
633
634
|
if (o)
|
|
@@ -637,10 +638,10 @@ const be = (e, t = !0) => {
|
|
|
637
638
|
}),
|
|
638
639
|
enabled: !!t && !!e
|
|
639
640
|
});
|
|
640
|
-
},
|
|
641
|
-
const t =
|
|
642
|
-
return
|
|
643
|
-
mutationFn: () =>
|
|
641
|
+
}, Ke = (e) => {
|
|
642
|
+
const t = W(), o = ee();
|
|
643
|
+
return be({
|
|
644
|
+
mutationFn: () => Z(void 0, null, function* () {
|
|
644
645
|
if (!(!t || !e))
|
|
645
646
|
return t.ai.chat.clearHistory(e);
|
|
646
647
|
}),
|
|
@@ -651,9 +652,9 @@ const be = (e, t = !0) => {
|
|
|
651
652
|
e && o.setQueriesData([ye, e], []);
|
|
652
653
|
}
|
|
653
654
|
});
|
|
654
|
-
},
|
|
655
|
-
const { data: t, isLoading: o, isError: r } =
|
|
656
|
-
return
|
|
655
|
+
}, Je = (e) => {
|
|
656
|
+
const { data: t, isLoading: o, isError: r } = co(e), { mutate: i } = Ke(e);
|
|
657
|
+
return ce(() => {
|
|
657
658
|
r && i();
|
|
658
659
|
}, [r, i]), {
|
|
659
660
|
history: t,
|
|
@@ -661,17 +662,17 @@ const be = (e, t = !0) => {
|
|
|
661
662
|
isError: r
|
|
662
663
|
};
|
|
663
664
|
}, Ye = () => {
|
|
664
|
-
const e =
|
|
665
|
+
const e = W(), { data: t, isLoading: o, fetchStatus: r } = J({
|
|
665
666
|
queryKey: ["getDataTopics", e],
|
|
666
|
-
queryFn: () =>
|
|
667
|
+
queryFn: () => Z(void 0, null, function* () {
|
|
667
668
|
if (e)
|
|
668
669
|
return e.getChatContexts();
|
|
669
670
|
}),
|
|
670
671
|
enabled: !!e
|
|
671
672
|
});
|
|
672
673
|
return { data: t, isLoading: o, fetchStatus: r };
|
|
673
|
-
},
|
|
674
|
-
const e =
|
|
674
|
+
}, Xe = () => {
|
|
675
|
+
const e = W(), { data: t, isLoading: o } = J({
|
|
675
676
|
queryKey: ["getAllChats", e],
|
|
676
677
|
queryFn: () => e == null ? void 0 : e.ai.chat.getAll(),
|
|
677
678
|
enabled: !!e
|
|
@@ -680,18 +681,18 @@ const be = (e, t = !0) => {
|
|
|
680
681
|
data: t != null ? t : [],
|
|
681
682
|
isLoading: o
|
|
682
683
|
};
|
|
683
|
-
},
|
|
684
|
-
const o =
|
|
685
|
-
mutationFn: () =>
|
|
684
|
+
}, uo = (e, t) => {
|
|
685
|
+
const o = ee(), r = W(), i = be({
|
|
686
|
+
mutationFn: () => Z(void 0, null, function* () {
|
|
686
687
|
if (!(!r || !e))
|
|
687
688
|
return r.ai.chat.create(e);
|
|
688
689
|
}),
|
|
689
690
|
onSuccess: () => o.invalidateQueries(["getAllChats"])
|
|
690
691
|
});
|
|
691
|
-
return
|
|
692
|
+
return ce(() => {
|
|
692
693
|
t && i.isIdle && i.mutate();
|
|
693
694
|
}, [t, i]), i;
|
|
694
|
-
},
|
|
695
|
+
}, ho = (e, t) => {
|
|
695
696
|
switch (e.responseType = e.responseType.toLowerCase(), e.responseType) {
|
|
696
697
|
case "nlq":
|
|
697
698
|
return {
|
|
@@ -706,80 +707,83 @@ const be = (e, t = !0) => {
|
|
|
706
707
|
role: "assistant"
|
|
707
708
|
};
|
|
708
709
|
default:
|
|
709
|
-
throw Error(
|
|
710
|
+
throw Error(`${t}${JSON.stringify(e)}`);
|
|
710
711
|
}
|
|
711
|
-
},
|
|
712
|
-
const t =
|
|
713
|
-
(
|
|
714
|
-
e && t.setQueriesData([ye, e], (
|
|
712
|
+
}, po = (e) => {
|
|
713
|
+
const t = ee(), o = E(
|
|
714
|
+
(l) => {
|
|
715
|
+
e && t.setQueriesData([ye, e], (d) => d && [...d, l]);
|
|
715
716
|
},
|
|
716
717
|
[t, e]
|
|
717
|
-
), { enableFollowupQuestions: r } =
|
|
718
|
-
mutationFn: (
|
|
719
|
-
if (!(!
|
|
720
|
-
return
|
|
721
|
-
text:
|
|
718
|
+
), { enableFollowupQuestions: r } = P(), { t: i } = w(), a = W(), { mutate: s, isLoading: c } = be({
|
|
719
|
+
mutationFn: (l) => Z(void 0, null, function* () {
|
|
720
|
+
if (!(!a || !e))
|
|
721
|
+
return a.ai.chat.post(e, {
|
|
722
|
+
text: l,
|
|
722
723
|
options: { enableFollowup: r }
|
|
723
724
|
});
|
|
724
725
|
}),
|
|
725
|
-
onMutate: (
|
|
726
|
+
onMutate: (l) => {
|
|
726
727
|
o({
|
|
727
|
-
content:
|
|
728
|
+
content: l,
|
|
728
729
|
role: "user"
|
|
729
730
|
});
|
|
730
731
|
},
|
|
731
|
-
onError: (
|
|
732
|
-
|
|
733
|
-
content:
|
|
732
|
+
onError: (l) => {
|
|
733
|
+
l instanceof Error && (console.error("Error when sending message:", l.message), o({
|
|
734
|
+
content: i("errors.unexpectedChatResponse"),
|
|
734
735
|
role: "assistant"
|
|
735
736
|
}));
|
|
736
737
|
},
|
|
737
|
-
onSuccess: (
|
|
738
|
-
|
|
738
|
+
onSuccess: (l) => {
|
|
739
|
+
if (!l)
|
|
740
|
+
return;
|
|
741
|
+
const d = i("ai.errors.unknownResponse");
|
|
742
|
+
o(ho(l, d));
|
|
739
743
|
}
|
|
740
744
|
});
|
|
741
|
-
return { mutate: s, isLoading:
|
|
742
|
-
}, ve = (e) => !!e && "type" in e && e.type === "nlq",
|
|
743
|
-
var
|
|
744
|
-
const { data:
|
|
745
|
+
return { mutate: s, isLoading: c };
|
|
746
|
+
}, ve = (e) => !!e && "type" in e && e.type === "nlq", go = (e) => {
|
|
747
|
+
var H, q;
|
|
748
|
+
const { t } = w(), { data: o, isLoading: r } = Ye(), { data: i, isLoading: a } = Xe(), s = (H = o == null ? void 0 : o.find((B) => B.title === e)) == null ? void 0 : H.title, c = (q = i.find((B) => B.contextTitle === s)) == null ? void 0 : q.chatId, l = r || !!s, d = a || !!c, [g, C] = $(null), { isError: m } = uo(
|
|
745
749
|
s,
|
|
746
|
-
|
|
747
|
-
), { history: f, isLoading: S, isError:
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
}, [
|
|
751
|
-
const { mutate:
|
|
750
|
+
l && !d
|
|
751
|
+
), { history: f, isLoading: S, isError: b } = Je(c);
|
|
752
|
+
ce(() => {
|
|
753
|
+
m ? C(new Ee("ai.errors.chatUnavailable")) : b && C(new Ee("ai.errors.fetchHistory"));
|
|
754
|
+
}, [m, b, t]);
|
|
755
|
+
const { mutate: y, isLoading: I } = po(c), v = O(() => {
|
|
752
756
|
if (f != null && f.length) {
|
|
753
|
-
const
|
|
754
|
-
if (ve(
|
|
755
|
-
return JSON.parse(
|
|
757
|
+
const B = f[f.length - 1];
|
|
758
|
+
if (ve(B))
|
|
759
|
+
return JSON.parse(B.content);
|
|
756
760
|
}
|
|
757
761
|
return null;
|
|
758
762
|
}, [f]);
|
|
759
763
|
return {
|
|
760
|
-
chatId:
|
|
764
|
+
chatId: c,
|
|
761
765
|
history: f != null ? f : [],
|
|
762
|
-
lastNlqResponse:
|
|
763
|
-
sendMessage:
|
|
764
|
-
isAwaitingResponse:
|
|
766
|
+
lastNlqResponse: v,
|
|
767
|
+
sendMessage: y,
|
|
768
|
+
isAwaitingResponse: I,
|
|
765
769
|
isLoading: S,
|
|
766
|
-
lastError:
|
|
770
|
+
lastError: g
|
|
767
771
|
};
|
|
768
|
-
},
|
|
772
|
+
}, Cr = ({
|
|
769
773
|
contextTitle: e
|
|
770
774
|
}) => {
|
|
771
775
|
var i;
|
|
772
|
-
const { data: t } =
|
|
773
|
-
return
|
|
776
|
+
const { data: t } = Xe(), o = (i = t.find((a) => a.contextTitle === e)) == null ? void 0 : i.chatId, { history: r } = Je(o);
|
|
777
|
+
return O(() => {
|
|
774
778
|
if (r != null && r.length) {
|
|
775
|
-
const
|
|
776
|
-
if (ve(
|
|
777
|
-
return JSON.parse(
|
|
779
|
+
const a = r[r.length - 1];
|
|
780
|
+
if (ve(a))
|
|
781
|
+
return JSON.parse(a.content);
|
|
778
782
|
}
|
|
779
783
|
return null;
|
|
780
784
|
}, [r]);
|
|
781
|
-
},
|
|
782
|
-
const t =
|
|
785
|
+
}, fr = (e) => {
|
|
786
|
+
const t = W(), { data: o, isLoading: r } = J({
|
|
783
787
|
queryKey: ["getDataSourceFields", e, t],
|
|
784
788
|
queryFn: () => e ? t == null ? void 0 : t.ai.getDataSourceFields(e) : void 0,
|
|
785
789
|
select: (i) => i,
|
|
@@ -789,7 +793,7 @@ const be = (e, t = !0) => {
|
|
|
789
793
|
data: o,
|
|
790
794
|
isLoading: r
|
|
791
795
|
};
|
|
792
|
-
},
|
|
796
|
+
}, Co = 500, fo = 500, mo = 500, bo = 900, xo = u.div`
|
|
793
797
|
box-sizing: border-box;
|
|
794
798
|
position: relative;
|
|
795
799
|
display: flex;
|
|
@@ -799,22 +803,22 @@ const be = (e, t = !0) => {
|
|
|
799
803
|
background-color: ${({ theme: e }) => e.aiChat.backgroundColor};
|
|
800
804
|
overflow: hidden;
|
|
801
805
|
|
|
802
|
-
min-width: ${
|
|
803
|
-
min-height: ${
|
|
804
|
-
width: ${({ width: e }) => e ?
|
|
805
|
-
height: ${({ height: e }) => e ?
|
|
806
|
+
min-width: ${Co}px;
|
|
807
|
+
min-height: ${fo}px;
|
|
808
|
+
width: ${({ width: e }) => e ? He(e) : `${mo}px`};
|
|
809
|
+
height: ${({ height: e }) => e ? He(e) : `${bo}px`};
|
|
806
810
|
|
|
807
|
-
${({ theme: e }) =>
|
|
811
|
+
${({ theme: e }) => L`
|
|
808
812
|
font-size: ${e.aiChat.primaryFontSize[0]};
|
|
809
813
|
line-height: ${e.aiChat.primaryFontSize[1]};
|
|
810
814
|
`}
|
|
811
815
|
border: ${({ theme: e }) => e.aiChat.border === !1 ? "none" : e.aiChat.border};
|
|
812
816
|
`;
|
|
813
|
-
function
|
|
817
|
+
function He(e) {
|
|
814
818
|
return typeof e == "number" ? `${e}px` : e;
|
|
815
819
|
}
|
|
816
|
-
function
|
|
817
|
-
return /* @__PURE__ */
|
|
820
|
+
function yo({ spin: e }) {
|
|
821
|
+
return /* @__PURE__ */ h(
|
|
818
822
|
"svg",
|
|
819
823
|
{
|
|
820
824
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -847,10 +851,10 @@ function vo({ spin: e }) {
|
|
|
847
851
|
}
|
|
848
852
|
);
|
|
849
853
|
}
|
|
850
|
-
function
|
|
851
|
-
return /* @__PURE__ */ n("div", { className: "csdk-m-auto", "aria-label": "loading spinner", children: /* @__PURE__ */ n(
|
|
854
|
+
function de() {
|
|
855
|
+
return /* @__PURE__ */ n("div", { className: "csdk-m-auto", "aria-label": "loading spinner", children: /* @__PURE__ */ n(yo, { spin: !0 }) });
|
|
852
856
|
}
|
|
853
|
-
function
|
|
857
|
+
function vo({ theme: e }) {
|
|
854
858
|
return /* @__PURE__ */ n("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ n(
|
|
855
859
|
"path",
|
|
856
860
|
{
|
|
@@ -859,9 +863,9 @@ function wo({ theme: e }) {
|
|
|
859
863
|
}
|
|
860
864
|
) });
|
|
861
865
|
}
|
|
862
|
-
function
|
|
866
|
+
function wo({ theme: e }) {
|
|
863
867
|
const t = e.aiChat.icons.color;
|
|
864
|
-
return /* @__PURE__ */
|
|
868
|
+
return /* @__PURE__ */ h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "25", height: "25", viewBox: "0 0 25 25", fill: "none", children: [
|
|
865
869
|
/* @__PURE__ */ n(
|
|
866
870
|
"path",
|
|
867
871
|
{
|
|
@@ -885,11 +889,11 @@ function ko({ theme: e }) {
|
|
|
885
889
|
)
|
|
886
890
|
] });
|
|
887
891
|
}
|
|
888
|
-
const
|
|
892
|
+
const ko = u.div`
|
|
889
893
|
display: flex;
|
|
890
894
|
flex-direction: column;
|
|
891
895
|
row-gap: 4px;
|
|
892
|
-
`,
|
|
896
|
+
`, So = u.div`
|
|
893
897
|
font-size: 11px;
|
|
894
898
|
line-height: 18px;
|
|
895
899
|
font-weight: 300;
|
|
@@ -899,7 +903,7 @@ const So = u.div`
|
|
|
899
903
|
&:hover {
|
|
900
904
|
background-color: ${({ theme: e }) => e.aiChat.dropup.headers.hover.backgroundColor};
|
|
901
905
|
}
|
|
902
|
-
`,
|
|
906
|
+
`, Mo = u.div`
|
|
903
907
|
font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
|
|
904
908
|
line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
|
|
905
909
|
color: ${({ theme: e }) => e.aiChat.dropup.items.textColor};
|
|
@@ -909,19 +913,19 @@ const So = u.div`
|
|
|
909
913
|
background-color: ${({ theme: e }) => e.aiChat.dropup.items.hover.backgroundColor};
|
|
910
914
|
}
|
|
911
915
|
`;
|
|
912
|
-
function
|
|
916
|
+
function $o({
|
|
913
917
|
title: e,
|
|
914
918
|
items: t,
|
|
915
919
|
onSelect: o,
|
|
916
920
|
alwaysExpanded: r = !1
|
|
917
921
|
}) {
|
|
918
|
-
const [i,
|
|
919
|
-
return /* @__PURE__ */
|
|
920
|
-
/* @__PURE__ */ n(
|
|
921
|
-
(i || r) && t.map((c, l) => /* @__PURE__ */ n(
|
|
922
|
+
const [i, a] = $(!1), { themeSettings: s } = x();
|
|
923
|
+
return /* @__PURE__ */ h(ko, { children: [
|
|
924
|
+
/* @__PURE__ */ n(So, { onClick: () => a((c) => !c), theme: s, children: e.toUpperCase() }),
|
|
925
|
+
(i || r) && t.map((c, l) => /* @__PURE__ */ n(Mo, { onClick: () => o(c), theme: s, children: c }, l))
|
|
922
926
|
] });
|
|
923
927
|
}
|
|
924
|
-
const
|
|
928
|
+
const Ro = u.div`
|
|
925
929
|
font-family: ${({ theme: e }) => e.typography.fontFamily};
|
|
926
930
|
font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
|
|
927
931
|
line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
|
|
@@ -933,20 +937,20 @@ const Mo = u.div`
|
|
|
933
937
|
display: flex;
|
|
934
938
|
flex-direction: column;
|
|
935
939
|
row-gap: 4px;
|
|
936
|
-
`,
|
|
940
|
+
`, Lo = u.div`
|
|
937
941
|
font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
|
|
938
942
|
line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
|
|
939
943
|
color: ${({ theme: e }) => e.aiChat.dropup.items.textColor};
|
|
940
944
|
padding: 4px 12px;
|
|
941
|
-
`,
|
|
942
|
-
function
|
|
945
|
+
`, me = (e) => e.startsWith("/");
|
|
946
|
+
function To({
|
|
943
947
|
recentPrompts: e,
|
|
944
948
|
suggestions: t,
|
|
945
949
|
isLoading: o,
|
|
946
950
|
onSelection: r,
|
|
947
951
|
anchorEl: i,
|
|
948
|
-
text:
|
|
949
|
-
recommendationsError:
|
|
952
|
+
text: a,
|
|
953
|
+
recommendationsError: s
|
|
950
954
|
}) {
|
|
951
955
|
const l = [
|
|
952
956
|
{
|
|
@@ -960,12 +964,12 @@ function Eo({
|
|
|
960
964
|
onSelect: r
|
|
961
965
|
}
|
|
962
966
|
].filter(
|
|
963
|
-
(
|
|
964
|
-
), { themeSettings: d } =
|
|
967
|
+
(m) => m.title.slice(0, a.length) === a
|
|
968
|
+
), { themeSettings: d } = x(), { t: g } = w(), C = l.length === 1;
|
|
965
969
|
return /* @__PURE__ */ n(
|
|
966
|
-
|
|
970
|
+
We,
|
|
967
971
|
{
|
|
968
|
-
open:
|
|
972
|
+
open: me(a) && l.length > 0,
|
|
969
973
|
anchorEl: i,
|
|
970
974
|
placement: "top-start",
|
|
971
975
|
modifiers: [
|
|
@@ -977,18 +981,18 @@ function Eo({
|
|
|
977
981
|
}
|
|
978
982
|
],
|
|
979
983
|
sx: { zIndex: 3 },
|
|
980
|
-
children: /* @__PURE__ */
|
|
981
|
-
o && /* @__PURE__ */ n(
|
|
982
|
-
!o && !
|
|
983
|
-
|
|
984
|
+
children: /* @__PURE__ */ h(Ro, { style: { width: i == null ? void 0 : i.offsetWidth }, theme: d, children: [
|
|
985
|
+
o && /* @__PURE__ */ n(de, {}),
|
|
986
|
+
!o && !s && l.map((m) => /* @__PURE__ */ n($o, D(M({}, m), { alwaysExpanded: C }), m.title)),
|
|
987
|
+
s && /* @__PURE__ */ n(Lo, { theme: d, children: g("ai.errors.recommendationsNotAvailable") })
|
|
984
988
|
] })
|
|
985
989
|
}
|
|
986
990
|
);
|
|
987
991
|
}
|
|
988
|
-
function
|
|
989
|
-
const { themeSettings: r } =
|
|
992
|
+
function te({ title: e, placement: t = "top", children: o }) {
|
|
993
|
+
const { themeSettings: r } = x();
|
|
990
994
|
return /* @__PURE__ */ n(
|
|
991
|
-
|
|
995
|
+
Ht,
|
|
992
996
|
{
|
|
993
997
|
title: e,
|
|
994
998
|
placement: t,
|
|
@@ -1018,19 +1022,19 @@ function Y({ title: e, placement: t = "top", children: o }) {
|
|
|
1018
1022
|
}
|
|
1019
1023
|
);
|
|
1020
1024
|
}
|
|
1021
|
-
const
|
|
1025
|
+
const Eo = 500, Ho = u.div`
|
|
1022
1026
|
display: flex;
|
|
1023
1027
|
flex-direction: row;
|
|
1024
1028
|
align-items: flex-end;
|
|
1025
1029
|
justify-content: space-between;
|
|
1026
1030
|
|
|
1027
1031
|
background-color: ${({ theme: e }) => e.aiChat.backgroundColor};
|
|
1028
|
-
`,
|
|
1032
|
+
`, Bo = u.button`
|
|
1029
1033
|
height: 34px;
|
|
1030
1034
|
background-color: inherit;
|
|
1031
1035
|
cursor: pointer;
|
|
1032
1036
|
border: none;
|
|
1033
|
-
`,
|
|
1037
|
+
`, Do = u.textarea`
|
|
1034
1038
|
font-size: inherit;
|
|
1035
1039
|
line-height: inherit;
|
|
1036
1040
|
resize: none;
|
|
@@ -1065,90 +1069,90 @@ const Ho = 500, Bo = u.div`
|
|
|
1065
1069
|
|
|
1066
1070
|
color: ${({ theme: e }) => e.aiChat.primaryTextColor};
|
|
1067
1071
|
|
|
1068
|
-
${({ disabled: e }) => e ?
|
|
1072
|
+
${({ disabled: e }) => e ? L`
|
|
1069
1073
|
opacity: 0.3;
|
|
1070
1074
|
cursor: not-allowed;
|
|
1071
|
-
` :
|
|
1075
|
+
` : L`
|
|
1072
1076
|
opacity: 1;
|
|
1073
1077
|
cursor: pointer;
|
|
1074
1078
|
`}
|
|
1075
|
-
`,
|
|
1076
|
-
function
|
|
1079
|
+
`, No = 34;
|
|
1080
|
+
function Io({
|
|
1077
1081
|
onSendMessage: e,
|
|
1078
1082
|
onClearHistoryClick: t,
|
|
1079
1083
|
disabled: o,
|
|
1080
1084
|
recentPrompts: r,
|
|
1081
1085
|
suggestions: i,
|
|
1082
|
-
isLoading:
|
|
1083
|
-
recommendationsError:
|
|
1086
|
+
isLoading: a,
|
|
1087
|
+
recommendationsError: s,
|
|
1084
1088
|
onChange: c
|
|
1085
1089
|
}) {
|
|
1086
|
-
const [l, d] =
|
|
1090
|
+
const [l, d] = $(""), { inputPromptText: g } = P(), C = E(() => {
|
|
1087
1091
|
if (o)
|
|
1088
1092
|
return;
|
|
1089
|
-
if (
|
|
1093
|
+
if (me(l)) {
|
|
1090
1094
|
d("");
|
|
1091
1095
|
return;
|
|
1092
1096
|
}
|
|
1093
|
-
const
|
|
1094
|
-
|
|
1095
|
-
}, [o, e, l]),
|
|
1096
|
-
(
|
|
1097
|
-
e(
|
|
1097
|
+
const v = l.trim();
|
|
1098
|
+
v.length !== 0 && (e(v), d(""));
|
|
1099
|
+
}, [o, e, l]), m = E(
|
|
1100
|
+
(v) => {
|
|
1101
|
+
e(v), d("");
|
|
1098
1102
|
},
|
|
1099
1103
|
[e]
|
|
1100
|
-
),
|
|
1101
|
-
(
|
|
1102
|
-
|
|
1104
|
+
), f = E(
|
|
1105
|
+
(v) => {
|
|
1106
|
+
v.key === "Enter" ? (v.preventDefault(), C()) : v.key === "Escape" && me(l) && d("");
|
|
1103
1107
|
},
|
|
1104
|
-
[
|
|
1105
|
-
),
|
|
1106
|
-
(
|
|
1107
|
-
c == null || c(
|
|
1108
|
+
[C, l]
|
|
1109
|
+
), S = E(
|
|
1110
|
+
(v) => {
|
|
1111
|
+
c == null || c(v.target.value), d(v.target.value);
|
|
1108
1112
|
},
|
|
1109
1113
|
[c]
|
|
1110
|
-
),
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
+
), b = K(null);
|
|
1115
|
+
se(() => {
|
|
1116
|
+
b.current && (b.current.style.height = "inherit", b.current.style.height = `${Math.max(
|
|
1117
|
+
b.current.scrollHeight + 2,
|
|
1114
1118
|
// account for 1px top/bottom border
|
|
1115
|
-
|
|
1119
|
+
No
|
|
1116
1120
|
)}px`);
|
|
1117
|
-
}, [l]),
|
|
1118
|
-
|
|
1121
|
+
}, [l]), se(() => {
|
|
1122
|
+
b.current && b.current.focus({ preventScroll: !0 });
|
|
1119
1123
|
}, []);
|
|
1120
|
-
const { themeSettings: x } =
|
|
1121
|
-
return /* @__PURE__ */
|
|
1124
|
+
const { themeSettings: y } = x(), { t: I } = w();
|
|
1125
|
+
return /* @__PURE__ */ h(Ho, { theme: y, children: [
|
|
1122
1126
|
/* @__PURE__ */ n(
|
|
1123
|
-
|
|
1127
|
+
To,
|
|
1124
1128
|
{
|
|
1125
1129
|
recentPrompts: r,
|
|
1126
1130
|
suggestions: i,
|
|
1127
|
-
isLoading:
|
|
1128
|
-
onSelection:
|
|
1129
|
-
anchorEl:
|
|
1131
|
+
isLoading: a,
|
|
1132
|
+
onSelection: m,
|
|
1133
|
+
anchorEl: b.current,
|
|
1130
1134
|
text: l,
|
|
1131
|
-
recommendationsError:
|
|
1135
|
+
recommendationsError: s
|
|
1132
1136
|
}
|
|
1133
1137
|
),
|
|
1134
|
-
t && /* @__PURE__ */ n(
|
|
1138
|
+
t && /* @__PURE__ */ n(te, { title: I("ai.buttons.clearChat"), placement: "bottom-start", children: /* @__PURE__ */ n(Bo, { "aria-label": "clear history", onClick: t, children: /* @__PURE__ */ n(wo, { theme: y }) }) }),
|
|
1135
1139
|
/* @__PURE__ */ n(
|
|
1136
|
-
|
|
1140
|
+
Do,
|
|
1137
1141
|
{
|
|
1138
1142
|
"aria-label": "chat input",
|
|
1139
|
-
onBlur: (
|
|
1140
|
-
var
|
|
1141
|
-
(
|
|
1143
|
+
onBlur: (v) => {
|
|
1144
|
+
var H;
|
|
1145
|
+
(H = document.getElementById("csdk-chatbot-frame")) != null && H.contains(v.relatedTarget) && v.target.focus({ preventScroll: !0 });
|
|
1142
1146
|
},
|
|
1143
|
-
maxLength:
|
|
1144
|
-
ref:
|
|
1147
|
+
maxLength: Eo,
|
|
1148
|
+
ref: b,
|
|
1145
1149
|
rows: 1,
|
|
1146
|
-
onChange:
|
|
1150
|
+
onChange: S,
|
|
1147
1151
|
spellCheck: "true",
|
|
1148
|
-
placeholder:
|
|
1152
|
+
placeholder: g,
|
|
1149
1153
|
value: l,
|
|
1150
|
-
onKeyDown:
|
|
1151
|
-
theme:
|
|
1154
|
+
onKeyDown: f,
|
|
1155
|
+
theme: y
|
|
1152
1156
|
}
|
|
1153
1157
|
),
|
|
1154
1158
|
/* @__PURE__ */ n(
|
|
@@ -1156,22 +1160,22 @@ function Oo({
|
|
|
1156
1160
|
{
|
|
1157
1161
|
"aria-label": "send chat message",
|
|
1158
1162
|
disabled: o || l.length === 0,
|
|
1159
|
-
onClick:
|
|
1160
|
-
theme:
|
|
1161
|
-
children: /* @__PURE__ */ n("span", { "data-state": "closed", children: /* @__PURE__ */ n(
|
|
1163
|
+
onClick: C,
|
|
1164
|
+
theme: y,
|
|
1165
|
+
children: /* @__PURE__ */ n("span", { "data-state": "closed", children: /* @__PURE__ */ n(vo, { theme: y }) })
|
|
1162
1166
|
}
|
|
1163
1167
|
)
|
|
1164
1168
|
] });
|
|
1165
1169
|
}
|
|
1166
|
-
const
|
|
1170
|
+
const Oo = u.div`
|
|
1167
1171
|
display: flex;
|
|
1168
1172
|
|
|
1169
|
-
${({ align: e }) => e === "right" ?
|
|
1173
|
+
${({ align: e }) => e === "right" ? L`
|
|
1170
1174
|
justify-content: flex-end;
|
|
1171
|
-
` :
|
|
1175
|
+
` : L`
|
|
1172
1176
|
justify-content: flex-start;
|
|
1173
1177
|
`}
|
|
1174
|
-
`,
|
|
1178
|
+
`, et = u.div`
|
|
1175
1179
|
font-size: inherit;
|
|
1176
1180
|
line-height: inherit;
|
|
1177
1181
|
padding-top: 8.5px;
|
|
@@ -1182,29 +1186,29 @@ const Po = u.div`
|
|
|
1182
1186
|
overflow-wrap: break-word;
|
|
1183
1187
|
box-sizing: border-box;
|
|
1184
1188
|
|
|
1185
|
-
${({ align: e }) => e === "right" ?
|
|
1189
|
+
${({ align: e }) => e === "right" ? L`
|
|
1186
1190
|
text-align: right;
|
|
1187
1191
|
border-radius: 10px 10px 0px 10px;
|
|
1188
|
-
` :
|
|
1192
|
+
` : L`
|
|
1189
1193
|
text-align: left;
|
|
1190
1194
|
border-radius: 10px 10px 10px 0px;
|
|
1191
1195
|
`}
|
|
1192
1196
|
|
|
1193
|
-
${({ align: e }) => e !== "full" ?
|
|
1197
|
+
${({ align: e }) => e !== "full" ? L`
|
|
1194
1198
|
max-width: 85%;
|
|
1195
1199
|
` : ""}
|
|
1196
1200
|
|
|
1197
1201
|
color: ${({ theme: e }) => e.aiChat.primaryTextColor};
|
|
1198
1202
|
background-color: ${({ theme: e, align: t }) => t === "right" ? e.aiChat.userMessages.backgroundColor : e.aiChat.systemMessages.backgroundColor};
|
|
1199
|
-
`,
|
|
1200
|
-
const { themeSettings: o } =
|
|
1201
|
-
return /* @__PURE__ */ n(
|
|
1203
|
+
`, V = ({ align: e, children: t }) => {
|
|
1204
|
+
const { themeSettings: o } = x();
|
|
1205
|
+
return /* @__PURE__ */ n(Oo, { theme: o, align: e, children: /* @__PURE__ */ n(et, { theme: o, align: e, children: t }) });
|
|
1202
1206
|
};
|
|
1203
1207
|
function Wo() {
|
|
1204
|
-
const { welcomeText: e } =
|
|
1205
|
-
return e === !1 ? null : /* @__PURE__ */ n(
|
|
1208
|
+
const { welcomeText: e } = P();
|
|
1209
|
+
return e === !1 ? null : /* @__PURE__ */ n(V, { align: "left", children: e });
|
|
1206
1210
|
}
|
|
1207
|
-
const
|
|
1211
|
+
const Po = u.div`
|
|
1208
1212
|
margin: auto;
|
|
1209
1213
|
display: flex;
|
|
1210
1214
|
flex-direction: column;
|
|
@@ -1218,15 +1222,15 @@ const Ao = u.div`
|
|
|
1218
1222
|
color: rgba(54, 163, 217, 1);
|
|
1219
1223
|
cursor: pointer;
|
|
1220
1224
|
`;
|
|
1221
|
-
function
|
|
1222
|
-
const { themeSettings: o } =
|
|
1223
|
-
return /* @__PURE__ */
|
|
1225
|
+
function tt({ text: e, action: t }) {
|
|
1226
|
+
const { themeSettings: o } = x();
|
|
1227
|
+
return /* @__PURE__ */ h(Po, { children: [
|
|
1224
1228
|
/* @__PURE__ */ n(qo, { theme: o, children: e }),
|
|
1225
|
-
/* @__PURE__ */ n(
|
|
1229
|
+
/* @__PURE__ */ n(Bt, {}),
|
|
1226
1230
|
t && /* @__PURE__ */ n(zo, { onClick: t.onClick, children: t.text })
|
|
1227
1231
|
] });
|
|
1228
1232
|
}
|
|
1229
|
-
const
|
|
1233
|
+
const ie = u.div`
|
|
1230
1234
|
width: 5px;
|
|
1231
1235
|
height: 5px;
|
|
1232
1236
|
border-radius: 50%;
|
|
@@ -1255,31 +1259,31 @@ const re = u.div`
|
|
|
1255
1259
|
}
|
|
1256
1260
|
}
|
|
1257
1261
|
`;
|
|
1258
|
-
function
|
|
1259
|
-
const { themeSettings: e } =
|
|
1260
|
-
return /* @__PURE__ */
|
|
1262
|
+
function ot() {
|
|
1263
|
+
const { themeSettings: e } = x(), t = e.aiChat.icons.color;
|
|
1264
|
+
return /* @__PURE__ */ h(
|
|
1261
1265
|
"div",
|
|
1262
1266
|
{
|
|
1263
1267
|
className: "csdk-flex csdk-justify-between csdk-w-[28px] csdk-py-[14.5px]",
|
|
1264
1268
|
"aria-label": "loading dots",
|
|
1265
1269
|
children: [
|
|
1266
|
-
/* @__PURE__ */ n(
|
|
1267
|
-
/* @__PURE__ */ n(
|
|
1268
|
-
/* @__PURE__ */ n(
|
|
1269
|
-
/* @__PURE__ */ n(
|
|
1270
|
+
/* @__PURE__ */ n(ie, { color: t }),
|
|
1271
|
+
/* @__PURE__ */ n(ie, { color: t }),
|
|
1272
|
+
/* @__PURE__ */ n(ie, { color: t }),
|
|
1273
|
+
/* @__PURE__ */ n(ie, { color: t })
|
|
1270
1274
|
]
|
|
1271
1275
|
}
|
|
1272
1276
|
);
|
|
1273
1277
|
}
|
|
1274
|
-
const
|
|
1278
|
+
const Ao = u.div`
|
|
1275
1279
|
display: flex;
|
|
1276
1280
|
|
|
1277
|
-
${({ align: e }) => e === "right" ?
|
|
1281
|
+
${({ align: e }) => e === "right" ? L`
|
|
1278
1282
|
justify-content: flex-end;
|
|
1279
|
-
` :
|
|
1283
|
+
` : L`
|
|
1280
1284
|
justify-content: flex-start;
|
|
1281
1285
|
`}
|
|
1282
|
-
`,
|
|
1286
|
+
`, Vo = u.button`
|
|
1283
1287
|
font-family: inherit;
|
|
1284
1288
|
font-size: inherit;
|
|
1285
1289
|
line-height: inherit;
|
|
@@ -1295,13 +1299,13 @@ const Vo = u.div`
|
|
|
1295
1299
|
}
|
|
1296
1300
|
border-radius: 20px;
|
|
1297
1301
|
|
|
1298
|
-
${({ align: e }) => e === "right" ?
|
|
1302
|
+
${({ align: e }) => e === "right" ? L`
|
|
1299
1303
|
text-align: right;
|
|
1300
|
-
` :
|
|
1304
|
+
` : L`
|
|
1301
1305
|
text-align: left;
|
|
1302
1306
|
`}
|
|
1303
1307
|
|
|
1304
|
-
${({ align: e }) => e !== "full" ?
|
|
1308
|
+
${({ align: e }) => e !== "full" ? L`
|
|
1305
1309
|
max-width: 382px;
|
|
1306
1310
|
` : ""}
|
|
1307
1311
|
|
|
@@ -1309,7 +1313,7 @@ const Vo = u.div`
|
|
|
1309
1313
|
const { borderGradient: t, borderRadius: o } = e.aiChat.suggestions;
|
|
1310
1314
|
if (t) {
|
|
1311
1315
|
const [r, i] = t;
|
|
1312
|
-
return
|
|
1316
|
+
return L`
|
|
1313
1317
|
border: none;
|
|
1314
1318
|
position: relative;
|
|
1315
1319
|
border-radius: ${o};
|
|
@@ -1332,20 +1336,20 @@ const Vo = u.div`
|
|
|
1332
1336
|
return "";
|
|
1333
1337
|
}}
|
|
1334
1338
|
`;
|
|
1335
|
-
function
|
|
1339
|
+
function ae({
|
|
1336
1340
|
children: e,
|
|
1337
1341
|
align: t,
|
|
1338
1342
|
onClick: o,
|
|
1339
1343
|
onMouseEnter: r,
|
|
1340
1344
|
onMouseLeave: i,
|
|
1341
|
-
accessibleName:
|
|
1345
|
+
accessibleName: a
|
|
1342
1346
|
}) {
|
|
1343
|
-
const { themeSettings:
|
|
1344
|
-
return /* @__PURE__ */ n(
|
|
1345
|
-
|
|
1347
|
+
const { themeSettings: s } = x();
|
|
1348
|
+
return /* @__PURE__ */ n(Ao, { align: t, children: /* @__PURE__ */ n(
|
|
1349
|
+
Vo,
|
|
1346
1350
|
{
|
|
1347
|
-
"aria-label":
|
|
1348
|
-
theme:
|
|
1351
|
+
"aria-label": a,
|
|
1352
|
+
theme: s,
|
|
1349
1353
|
onClick: o,
|
|
1350
1354
|
align: t,
|
|
1351
1355
|
onMouseEnter: r,
|
|
@@ -1355,16 +1359,17 @@ function se({
|
|
|
1355
1359
|
) });
|
|
1356
1360
|
}
|
|
1357
1361
|
function Zo({ onCancel: e, onConfirm: t }) {
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
/* @__PURE__ */
|
|
1361
|
-
|
|
1362
|
-
/* @__PURE__ */ n(
|
|
1362
|
+
const { t: o } = w();
|
|
1363
|
+
return /* @__PURE__ */ h(N, { children: [
|
|
1364
|
+
/* @__PURE__ */ n(V, { align: "left", children: o("ai.clearHistoryPrompt") }),
|
|
1365
|
+
/* @__PURE__ */ h("div", { className: "csdk-flex csdk-gap-x-2", children: [
|
|
1366
|
+
/* @__PURE__ */ n(ae, { align: "right", onClick: t, accessibleName: "confirm clear chat", children: /* @__PURE__ */ n("div", { className: "csdk-py-[6px] csdk-px-[20px]", children: o("ai.buttons.yes") }) }),
|
|
1367
|
+
/* @__PURE__ */ n(ae, { align: "right", onClick: e, accessibleName: "cancel clear chat", children: /* @__PURE__ */ n("div", { className: "csdk-py-[6px] csdk-px-[20px]", children: o("ai.buttons.no") }) })
|
|
1363
1368
|
] })
|
|
1364
1369
|
] });
|
|
1365
1370
|
}
|
|
1366
|
-
function
|
|
1367
|
-
return /* @__PURE__ */
|
|
1371
|
+
function Qo() {
|
|
1372
|
+
return /* @__PURE__ */ h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", fill: "none", children: [
|
|
1368
1373
|
/* @__PURE__ */ n("rect", { x: "1", y: "1", width: "28", height: "28", rx: "14", stroke: "#9EA2AB" }),
|
|
1369
1374
|
/* @__PURE__ */ n(
|
|
1370
1375
|
"path",
|
|
@@ -1377,7 +1382,7 @@ function jo() {
|
|
|
1377
1382
|
)
|
|
1378
1383
|
] });
|
|
1379
1384
|
}
|
|
1380
|
-
const
|
|
1385
|
+
const nt = {
|
|
1381
1386
|
row: {
|
|
1382
1387
|
hover: "rgba(224, 224, 224, 0.3)"
|
|
1383
1388
|
},
|
|
@@ -1464,16 +1469,16 @@ const ot = {
|
|
|
1464
1469
|
}
|
|
1465
1470
|
}, Go = {
|
|
1466
1471
|
shouldForwardProp: (e) => !e.startsWith("$")
|
|
1467
|
-
},
|
|
1468
|
-
|
|
1472
|
+
}, oe = u(
|
|
1473
|
+
Pe,
|
|
1469
1474
|
Go
|
|
1470
1475
|
)(({ $hoverColor: e }) => ({
|
|
1471
1476
|
padding: 2,
|
|
1472
1477
|
"&.MuiIconButton-root:hover": {
|
|
1473
|
-
backgroundColor: e != null ? e :
|
|
1478
|
+
backgroundColor: e != null ? e : nt.interaction.defaultHover
|
|
1474
1479
|
}
|
|
1475
1480
|
}));
|
|
1476
|
-
function
|
|
1481
|
+
function jo({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
|
|
1477
1482
|
return /* @__PURE__ */ n("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ n(
|
|
1478
1483
|
"path",
|
|
1479
1484
|
{
|
|
@@ -1495,7 +1500,7 @@ function Uo({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
|
|
|
1495
1500
|
}
|
|
1496
1501
|
) });
|
|
1497
1502
|
}
|
|
1498
|
-
function
|
|
1503
|
+
function _o() {
|
|
1499
1504
|
return /* @__PURE__ */ n("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ n(
|
|
1500
1505
|
"path",
|
|
1501
1506
|
{
|
|
@@ -1507,7 +1512,7 @@ function Ko() {
|
|
|
1507
1512
|
}
|
|
1508
1513
|
) });
|
|
1509
1514
|
}
|
|
1510
|
-
function
|
|
1515
|
+
function Ko({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
|
|
1511
1516
|
return /* @__PURE__ */ n("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ n(
|
|
1512
1517
|
"path",
|
|
1513
1518
|
{
|
|
@@ -1518,27 +1523,27 @@ function Yo({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
|
|
|
1518
1523
|
}
|
|
1519
1524
|
) });
|
|
1520
1525
|
}
|
|
1521
|
-
const we = (e) =>
|
|
1522
|
-
const { themeSettings: t } =
|
|
1523
|
-
return /* @__PURE__ */ n(
|
|
1524
|
-
},
|
|
1525
|
-
const [t, o] =
|
|
1526
|
-
o(
|
|
1526
|
+
const we = (e) => Ve(e.chart.backgroundColor), Jo = ({ title: e }) => {
|
|
1527
|
+
const { themeSettings: t } = x();
|
|
1528
|
+
return /* @__PURE__ */ n(te, { title: e, children: /* @__PURE__ */ n(oe, { disableTouchRipple: !0, $hoverColor: we(t), children: /* @__PURE__ */ n(Uo, { fill: t.chart.textColor }) }) });
|
|
1529
|
+
}, Yo = ({ items: e }) => {
|
|
1530
|
+
const [t, o] = $(null), r = (s) => {
|
|
1531
|
+
o(s.currentTarget);
|
|
1527
1532
|
}, i = () => {
|
|
1528
1533
|
o(null);
|
|
1529
|
-
}, { themeSettings:
|
|
1530
|
-
return /* @__PURE__ */
|
|
1534
|
+
}, { themeSettings: a } = x();
|
|
1535
|
+
return /* @__PURE__ */ h(N, { children: [
|
|
1531
1536
|
/* @__PURE__ */ n(
|
|
1532
|
-
|
|
1537
|
+
oe,
|
|
1533
1538
|
{
|
|
1534
1539
|
onClick: r,
|
|
1535
|
-
$hoverColor: we(
|
|
1540
|
+
$hoverColor: we(a),
|
|
1536
1541
|
"aria-label": "three dots button",
|
|
1537
|
-
children: /* @__PURE__ */ n(
|
|
1542
|
+
children: /* @__PURE__ */ n(Ko, { fill: a.chart.textColor })
|
|
1538
1543
|
}
|
|
1539
1544
|
),
|
|
1540
1545
|
/* @__PURE__ */ n(
|
|
1541
|
-
|
|
1546
|
+
Dt,
|
|
1542
1547
|
{
|
|
1543
1548
|
anchorEl: t,
|
|
1544
1549
|
anchorOrigin: {
|
|
@@ -1551,110 +1556,110 @@ const we = (e) => qe(e.chart.backgroundColor), Jo = ({ title: e }) => {
|
|
|
1551
1556
|
},
|
|
1552
1557
|
open: !!t,
|
|
1553
1558
|
onClose: i,
|
|
1554
|
-
children: e.map((
|
|
1555
|
-
|
|
1559
|
+
children: e.map((s) => /* @__PURE__ */ h(
|
|
1560
|
+
Ft,
|
|
1556
1561
|
{
|
|
1557
1562
|
onClick: () => {
|
|
1558
|
-
|
|
1563
|
+
s.onClick(), i();
|
|
1559
1564
|
},
|
|
1560
1565
|
sx: {
|
|
1561
1566
|
fontSize: "13px",
|
|
1562
|
-
fontFamily:
|
|
1563
|
-
color:
|
|
1567
|
+
fontFamily: a.typography.fontFamily,
|
|
1568
|
+
color: nt.text.content
|
|
1564
1569
|
},
|
|
1565
1570
|
disableRipple: !0,
|
|
1566
1571
|
children: [
|
|
1567
|
-
|
|
1568
|
-
/* @__PURE__ */ n("div", { className: "csdk-ml-1", children:
|
|
1572
|
+
s.icon,
|
|
1573
|
+
/* @__PURE__ */ n("div", { className: "csdk-ml-1", children: s.title })
|
|
1569
1574
|
]
|
|
1570
1575
|
},
|
|
1571
|
-
|
|
1576
|
+
s.title
|
|
1572
1577
|
))
|
|
1573
1578
|
}
|
|
1574
1579
|
)
|
|
1575
1580
|
] });
|
|
1576
|
-
},
|
|
1577
|
-
const { themeSettings: t } =
|
|
1578
|
-
return /* @__PURE__ */ n(
|
|
1579
|
-
},
|
|
1581
|
+
}, Xo = ({ onClick: e }) => {
|
|
1582
|
+
const { themeSettings: t } = x(), { t: o } = w();
|
|
1583
|
+
return /* @__PURE__ */ n(te, { title: o("ai.preview"), children: /* @__PURE__ */ n(oe, { onClick: e, $hoverColor: we(t), children: /* @__PURE__ */ n(jo, { fill: t.chart.textColor }) }) });
|
|
1584
|
+
}, en = u.div`
|
|
1580
1585
|
display: flex;
|
|
1581
1586
|
padding-top: 6px;
|
|
1582
1587
|
padding-bottom: 6px;
|
|
1583
1588
|
`;
|
|
1584
|
-
function
|
|
1589
|
+
function tn({
|
|
1585
1590
|
infoTooltipText: e,
|
|
1586
1591
|
onRefresh: t,
|
|
1587
1592
|
onExpand: o
|
|
1588
1593
|
}) {
|
|
1589
|
-
const r =
|
|
1594
|
+
const r = O(
|
|
1590
1595
|
() => [
|
|
1591
1596
|
{
|
|
1592
1597
|
title: "Refresh",
|
|
1593
1598
|
onClick: t,
|
|
1594
|
-
icon: /* @__PURE__ */ n(
|
|
1599
|
+
icon: /* @__PURE__ */ n(_o, {})
|
|
1595
1600
|
}
|
|
1596
1601
|
],
|
|
1597
1602
|
[t]
|
|
1598
1603
|
);
|
|
1599
|
-
return /* @__PURE__ */
|
|
1604
|
+
return /* @__PURE__ */ h(en, { "aria-label": "chatbot chart toolbar", children: [
|
|
1600
1605
|
/* @__PURE__ */ n(Jo, { title: e != null ? e : "" }),
|
|
1601
|
-
/* @__PURE__ */ n(
|
|
1602
|
-
/* @__PURE__ */ n(
|
|
1606
|
+
/* @__PURE__ */ n(Yo, { items: r }),
|
|
1607
|
+
/* @__PURE__ */ n(Xo, { onClick: o })
|
|
1603
1608
|
] });
|
|
1604
1609
|
}
|
|
1605
|
-
function
|
|
1606
|
-
const [o, r] =
|
|
1607
|
-
const { detailedDescription:
|
|
1610
|
+
function on({ content: e, dataSource: t }) {
|
|
1611
|
+
const [o, r] = $(!1), { chartElement: i, expandedElement: a } = O(() => {
|
|
1612
|
+
const { detailedDescription: s, jaql: c } = e, l = Qt(e), d = l.chartType.toLowerCase(), g = {
|
|
1608
1613
|
cornerRadius: "Small",
|
|
1609
1614
|
header: {
|
|
1610
|
-
renderToolbar: (
|
|
1611
|
-
|
|
1615
|
+
renderToolbar: (b) => /* @__PURE__ */ n(
|
|
1616
|
+
tn,
|
|
1612
1617
|
{
|
|
1613
|
-
infoTooltipText:
|
|
1614
|
-
onRefresh:
|
|
1618
|
+
infoTooltipText: s,
|
|
1619
|
+
onRefresh: b,
|
|
1615
1620
|
onExpand: () => r(!0)
|
|
1616
1621
|
}
|
|
1617
1622
|
)
|
|
1618
1623
|
}
|
|
1619
|
-
},
|
|
1620
|
-
let
|
|
1624
|
+
}, C = c.metadata.filter((b) => b.panel === "scope").map(At), m = c.metadata.filter((b) => b.panel !== "scope");
|
|
1625
|
+
let f, S;
|
|
1621
1626
|
if (d === "table") {
|
|
1622
|
-
const { dataOptions:
|
|
1623
|
-
dataOptions:
|
|
1627
|
+
const { dataOptions: b } = Vt(m), y = {
|
|
1628
|
+
dataOptions: b,
|
|
1624
1629
|
dataSource: t,
|
|
1625
|
-
filters:
|
|
1630
|
+
filters: C
|
|
1626
1631
|
};
|
|
1627
|
-
|
|
1632
|
+
f = /* @__PURE__ */ n("div", { className: "csdk-h-[245px]", children: /* @__PURE__ */ n(Le, D(M({}, y), { styleOptions: g })) }), S = /* @__PURE__ */ n(Le, D(M({}, y), { styleOptions: { header: { hidden: !0 } } }));
|
|
1628
1633
|
} else {
|
|
1629
|
-
const { dataOptions:
|
|
1630
|
-
|
|
1634
|
+
const { dataOptions: b, chartStyleOptions: y, expandedChartStyleOptions: I } = Zt(
|
|
1635
|
+
m,
|
|
1631
1636
|
l
|
|
1632
|
-
),
|
|
1637
|
+
), v = M(M({}, y), g), H = {
|
|
1633
1638
|
chartType: d,
|
|
1634
|
-
dataOptions:
|
|
1639
|
+
dataOptions: b,
|
|
1635
1640
|
dataSource: t,
|
|
1636
|
-
filters:
|
|
1641
|
+
filters: C
|
|
1637
1642
|
};
|
|
1638
|
-
|
|
1639
|
-
const
|
|
1643
|
+
f = /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(Te, D(M({}, H), { styleOptions: v })) });
|
|
1644
|
+
const q = D(M({}, I), {
|
|
1640
1645
|
header: { hidden: !0 }
|
|
1641
1646
|
});
|
|
1642
|
-
|
|
1647
|
+
S = /* @__PURE__ */ n(Te, D(M({}, H), { styleOptions: q }));
|
|
1643
1648
|
}
|
|
1644
|
-
return { chartElement:
|
|
1649
|
+
return { chartElement: f, expandedElement: S };
|
|
1645
1650
|
}, [e, t]);
|
|
1646
|
-
return /* @__PURE__ */
|
|
1651
|
+
return /* @__PURE__ */ h(N, { children: [
|
|
1647
1652
|
i,
|
|
1648
|
-
/* @__PURE__ */
|
|
1649
|
-
/* @__PURE__ */
|
|
1653
|
+
/* @__PURE__ */ h(Qe, { open: o, onClose: () => r(!1), maxWidth: "xl", fullWidth: !0, children: [
|
|
1654
|
+
/* @__PURE__ */ h("div", { className: "csdk-flex csdk-items-center csdk-justify-between csdk-py-[30px] csdk-px-[40px]", children: [
|
|
1650
1655
|
/* @__PURE__ */ n("div", { className: "csdk-text-ai-lg csdk-semibold csdk-text-text-active", children: e.queryTitle }),
|
|
1651
|
-
/* @__PURE__ */ n(
|
|
1656
|
+
/* @__PURE__ */ n(Pe, { onClick: () => r(!1), "aria-label": "close expanded chart", children: /* @__PURE__ */ n(Qo, {}) })
|
|
1652
1657
|
] }),
|
|
1653
|
-
/* @__PURE__ */ n("div", { className: "csdk-h-screen", children:
|
|
1658
|
+
/* @__PURE__ */ n("div", { className: "csdk-h-screen", children: a })
|
|
1654
1659
|
] })
|
|
1655
1660
|
] });
|
|
1656
1661
|
}
|
|
1657
|
-
function
|
|
1662
|
+
function nn({ theme: e }) {
|
|
1658
1663
|
return /* @__PURE__ */ n("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ n(
|
|
1659
1664
|
"path",
|
|
1660
1665
|
{
|
|
@@ -1665,20 +1670,20 @@ function rn({ theme: e }) {
|
|
|
1665
1670
|
}
|
|
1666
1671
|
) });
|
|
1667
1672
|
}
|
|
1668
|
-
function
|
|
1669
|
-
const { themeSettings: o } =
|
|
1670
|
-
return /* @__PURE__ */ n(
|
|
1671
|
-
|
|
1673
|
+
function rn({ onClick: e, disabled: t }) {
|
|
1674
|
+
const { themeSettings: o } = x(), { t: r } = w();
|
|
1675
|
+
return /* @__PURE__ */ n(te, { title: r("ai.buttons.incorectResponse"), children: /* @__PURE__ */ n(
|
|
1676
|
+
oe,
|
|
1672
1677
|
{
|
|
1673
1678
|
"aria-label": "thumbs-down",
|
|
1674
1679
|
onClick: e,
|
|
1675
1680
|
$hoverColor: o.aiChat.icons.feedbackIcons.hoverColor,
|
|
1676
1681
|
disabled: t,
|
|
1677
|
-
children: /* @__PURE__ */ n(
|
|
1682
|
+
children: /* @__PURE__ */ n(nn, { theme: o })
|
|
1678
1683
|
}
|
|
1679
1684
|
) });
|
|
1680
1685
|
}
|
|
1681
|
-
function
|
|
1686
|
+
function sn({ theme: e }) {
|
|
1682
1687
|
return /* @__PURE__ */ n("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ n(
|
|
1683
1688
|
"path",
|
|
1684
1689
|
{
|
|
@@ -1689,95 +1694,95 @@ function an({ theme: e }) {
|
|
|
1689
1694
|
}
|
|
1690
1695
|
) });
|
|
1691
1696
|
}
|
|
1692
|
-
function
|
|
1693
|
-
const { themeSettings: o } =
|
|
1694
|
-
return /* @__PURE__ */ n(
|
|
1695
|
-
|
|
1697
|
+
function an({ onClick: e, disabled: t }) {
|
|
1698
|
+
const { themeSettings: o } = x(), { t: r } = w();
|
|
1699
|
+
return /* @__PURE__ */ n(te, { title: r("ai.buttons.correctResponse"), children: /* @__PURE__ */ n(
|
|
1700
|
+
oe,
|
|
1696
1701
|
{
|
|
1697
1702
|
"aria-label": "thumbs-up",
|
|
1698
1703
|
onClick: e,
|
|
1699
1704
|
$hoverColor: o.aiChat.icons.feedbackIcons.hoverColor,
|
|
1700
1705
|
disabled: t,
|
|
1701
|
-
children: /* @__PURE__ */ n(
|
|
1706
|
+
children: /* @__PURE__ */ n(sn, { theme: o })
|
|
1702
1707
|
}
|
|
1703
1708
|
) });
|
|
1704
1709
|
}
|
|
1705
|
-
const
|
|
1706
|
-
const [e, t] =
|
|
1710
|
+
const ln = () => {
|
|
1711
|
+
const [e, t] = $(!1), o = K(null), r = E(() => {
|
|
1707
1712
|
t(!0);
|
|
1708
|
-
}, []), i =
|
|
1713
|
+
}, []), i = E(() => {
|
|
1709
1714
|
t(!1);
|
|
1710
1715
|
}, []);
|
|
1711
|
-
return [
|
|
1712
|
-
(
|
|
1716
|
+
return [E(
|
|
1717
|
+
(s) => {
|
|
1713
1718
|
var c;
|
|
1714
|
-
((c = o.current) == null ? void 0 : c.nodeType) === Node.ELEMENT_NODE && (o.current.removeEventListener("mouseenter", r), o.current.removeEventListener("mouseleave", i)), (
|
|
1719
|
+
((c = o.current) == null ? void 0 : c.nodeType) === Node.ELEMENT_NODE && (o.current.removeEventListener("mouseenter", r), o.current.removeEventListener("mouseleave", i)), (s == null ? void 0 : s.nodeType) === Node.ELEMENT_NODE && (s.addEventListener("mouseenter", r), s.addEventListener("mouseleave", i)), o.current = s;
|
|
1715
1720
|
},
|
|
1716
1721
|
[r, i]
|
|
1717
1722
|
), e];
|
|
1718
|
-
},
|
|
1723
|
+
}, cn = u.div`
|
|
1719
1724
|
display: flex;
|
|
1720
1725
|
flex-direction: column;
|
|
1721
1726
|
row-gap: ${({ theme: e }) => e.aiChat.body.gapBetweenMessages};
|
|
1722
1727
|
`;
|
|
1723
|
-
function
|
|
1724
|
-
const [o, r] =
|
|
1725
|
-
(
|
|
1726
|
-
r(!0), t(
|
|
1728
|
+
function dn({ visible: e, onSend: t }) {
|
|
1729
|
+
const [o, r] = $(!1), i = E(
|
|
1730
|
+
(s) => {
|
|
1731
|
+
r(!0), t(s === "up" ? 1 : -1);
|
|
1727
1732
|
},
|
|
1728
1733
|
[t]
|
|
1729
|
-
),
|
|
1730
|
-
return e ? /* @__PURE__ */
|
|
1731
|
-
/* @__PURE__ */ n(
|
|
1732
|
-
/* @__PURE__ */ n(
|
|
1734
|
+
), a = `csdk-transition-opacity csdk-delay-150 csdk-duration-500 ${o ? "csdk-opacity-0" : "csdk-opacity-100"}`;
|
|
1735
|
+
return e ? /* @__PURE__ */ h("div", { className: `csdk-flex csdk-items-center ${a}`, children: [
|
|
1736
|
+
/* @__PURE__ */ n(an, { onClick: () => i("up"), disabled: o }),
|
|
1737
|
+
/* @__PURE__ */ n(rn, { onClick: () => i("down"), disabled: o })
|
|
1733
1738
|
] }) : null;
|
|
1734
1739
|
}
|
|
1735
|
-
function
|
|
1740
|
+
function Be({
|
|
1736
1741
|
sourceId: e,
|
|
1737
1742
|
data: t,
|
|
1738
1743
|
type: o,
|
|
1739
1744
|
buttonVisibility: r = "onHover",
|
|
1740
1745
|
renderContent: i
|
|
1741
1746
|
}) {
|
|
1742
|
-
const
|
|
1743
|
-
|
|
1744
|
-
(
|
|
1745
|
-
|
|
1747
|
+
const a = W(), s = Nt(
|
|
1748
|
+
E(
|
|
1749
|
+
(C) => {
|
|
1750
|
+
a && a.ai.sendFeedback({
|
|
1746
1751
|
sourceId: e,
|
|
1747
1752
|
type: o,
|
|
1748
1753
|
data: t,
|
|
1749
|
-
rating:
|
|
1754
|
+
rating: C
|
|
1750
1755
|
});
|
|
1751
1756
|
},
|
|
1752
|
-
[
|
|
1757
|
+
[a, e, t, o]
|
|
1753
1758
|
),
|
|
1754
1759
|
200
|
|
1755
|
-
), [c, l] =
|
|
1756
|
-
return /* @__PURE__ */ n(
|
|
1760
|
+
), [c, l] = ln(), d = O(() => r === "onHover" ? l : r !== "never", [l, r]), { themeSettings: g } = x();
|
|
1761
|
+
return /* @__PURE__ */ n(cn, { ref: c, theme: g, children: i(/* @__PURE__ */ n(dn, { onSend: s, visible: d })) });
|
|
1757
1762
|
}
|
|
1758
|
-
const
|
|
1759
|
-
function
|
|
1760
|
-
const [t, o] =
|
|
1761
|
-
return
|
|
1762
|
-
s.current && s.current.scrollHeight >
|
|
1763
|
-
}, [e]), /* @__PURE__ */
|
|
1763
|
+
const un = 18 * 5;
|
|
1764
|
+
function rt({ text: e }) {
|
|
1765
|
+
const [t, o] = $(!0), [r, i] = $(!1), { t: a } = w(), s = K(null);
|
|
1766
|
+
return se(() => {
|
|
1767
|
+
s.current && s.current.scrollHeight > un && i(!0);
|
|
1768
|
+
}, [e]), /* @__PURE__ */ h("div", { children: [
|
|
1764
1769
|
/* @__PURE__ */ n("div", { ref: s, className: `${t ? "csdk-line-clamp-5" : ""} csdk-whitespace-pre-wrap`, children: e }),
|
|
1765
1770
|
r && /* @__PURE__ */ n("div", { className: "csdk-mt-3 csdk-flex csdk-justify-end", children: /* @__PURE__ */ n(
|
|
1766
1771
|
"div",
|
|
1767
1772
|
{
|
|
1768
1773
|
className: "csdk-text-ai-xs csdk-text-text-link csdk-cursor-pointer",
|
|
1769
|
-
onClick: () => o((
|
|
1770
|
-
children: t ? "
|
|
1774
|
+
onClick: () => o((c) => !c),
|
|
1775
|
+
children: a(t ? "ai.buttons.readMore" : "ai.buttons.collapse")
|
|
1771
1776
|
}
|
|
1772
1777
|
) })
|
|
1773
1778
|
] });
|
|
1774
1779
|
}
|
|
1775
|
-
function
|
|
1776
|
-
const { data: t, isLoading: o, isError: r } =
|
|
1777
|
-
return o ? /* @__PURE__ */ n(
|
|
1780
|
+
function hn({ nlgRequest: e }) {
|
|
1781
|
+
const { data: t, isLoading: o, isError: r } = xe(e), { t: i } = w();
|
|
1782
|
+
return o ? /* @__PURE__ */ n(ot, {}) : r ? /* @__PURE__ */ n(V, { align: "left", children: i("ai.errors.unexpected") }) : /* @__PURE__ */ n(V, { align: "full", children: /* @__PURE__ */ n(rt, { text: t != null ? t : i("ai.errors.insightsNotAvailable") }) });
|
|
1778
1783
|
}
|
|
1779
|
-
function
|
|
1780
|
-
const { themeSettings: e } =
|
|
1784
|
+
function pn() {
|
|
1785
|
+
const { themeSettings: e } = x();
|
|
1781
1786
|
return /* @__PURE__ */ n("svg", { width: "24", height: "25", viewBox: "0 0 24 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ n(
|
|
1782
1787
|
"path",
|
|
1783
1788
|
{
|
|
@@ -1788,84 +1793,98 @@ function gn() {
|
|
|
1788
1793
|
}
|
|
1789
1794
|
) });
|
|
1790
1795
|
}
|
|
1791
|
-
function
|
|
1792
|
-
|
|
1796
|
+
function gn({ onClick: e }) {
|
|
1797
|
+
const { t } = w();
|
|
1798
|
+
return /* @__PURE__ */ n(ae, { align: "left", onClick: e, children: /* @__PURE__ */ h(
|
|
1793
1799
|
"div",
|
|
1794
1800
|
{
|
|
1795
1801
|
className: "csdk-py-[5px] csdk-px-2 csdk-flex csdk-items-center csdk-gap-x-1 csdk-select-none",
|
|
1796
1802
|
children: [
|
|
1797
|
-
/* @__PURE__ */ n(
|
|
1798
|
-
"
|
|
1803
|
+
/* @__PURE__ */ n(pn, {}),
|
|
1804
|
+
t("ai.buttons.insights")
|
|
1799
1805
|
]
|
|
1800
1806
|
}
|
|
1801
1807
|
) });
|
|
1802
1808
|
}
|
|
1803
|
-
const
|
|
1809
|
+
const De = u.div`
|
|
1804
1810
|
display: flex;
|
|
1805
1811
|
align-items: center;
|
|
1806
1812
|
column-gap: 10px;
|
|
1807
|
-
`,
|
|
1808
|
-
function
|
|
1809
|
-
const { chatMode: o = "analyze", enableInsights: r } =
|
|
1810
|
-
console.debug(`JAQL for ${
|
|
1811
|
-
const l = "chartType" in
|
|
1813
|
+
`, Cn = (e) => !!e && "aeiou".includes(e[0]);
|
|
1814
|
+
function fn({ data: e, alwaysShowFeedback: t }) {
|
|
1815
|
+
const { chatMode: o = "analyze", enableInsights: r } = P(), { themeSettings: i } = x(), { queryTitle: a, chartRecommendations: s, jaql: c } = e;
|
|
1816
|
+
console.debug(`JAQL for ${a}`, c), console.debug(`chart recommendations for ${a}`, s);
|
|
1817
|
+
const l = "chartType" in s ? s.chartType : "table";
|
|
1812
1818
|
let d;
|
|
1813
|
-
|
|
1814
|
-
const
|
|
1815
|
-
|
|
1816
|
-
}, []),
|
|
1819
|
+
Cn(l) ? d = `an ${l}` : d = `a ${l}`, l !== "table" && (d += " chart");
|
|
1820
|
+
const g = c.datasource.title, [C, m] = $(!1), f = E(() => {
|
|
1821
|
+
m((y) => !y);
|
|
1822
|
+
}, []), S = {
|
|
1817
1823
|
jaql: {
|
|
1818
1824
|
datasource: c.datasource,
|
|
1819
1825
|
metadata: c.metadata
|
|
1820
1826
|
}
|
|
1821
|
-
},
|
|
1822
|
-
return /* @__PURE__ */
|
|
1827
|
+
}, b = o === "analyze";
|
|
1828
|
+
return /* @__PURE__ */ h(N, { children: [
|
|
1823
1829
|
/* @__PURE__ */ n(
|
|
1824
|
-
|
|
1830
|
+
Be,
|
|
1825
1831
|
{
|
|
1826
|
-
sourceId:
|
|
1832
|
+
sourceId: g,
|
|
1827
1833
|
data: e,
|
|
1828
1834
|
type: "chats/nlq",
|
|
1829
1835
|
buttonVisibility: t ? "always" : "onHover",
|
|
1830
|
-
renderContent: (
|
|
1831
|
-
/* @__PURE__ */
|
|
1832
|
-
/* @__PURE__ */ n(
|
|
1833
|
-
|
|
1836
|
+
renderContent: (y) => /* @__PURE__ */ h(N, { children: [
|
|
1837
|
+
/* @__PURE__ */ h(De, { children: [
|
|
1838
|
+
/* @__PURE__ */ n(et, { align: "left", theme: i, children: `Here's ${d} showing ${e.queryTitle.toLowerCase()}.` }),
|
|
1839
|
+
y
|
|
1834
1840
|
] }),
|
|
1835
|
-
|
|
1841
|
+
b && /* @__PURE__ */ n(on, { content: e, dataSource: g })
|
|
1836
1842
|
] })
|
|
1837
1843
|
}
|
|
1838
1844
|
),
|
|
1839
1845
|
r && /* @__PURE__ */ n(
|
|
1840
|
-
|
|
1846
|
+
Be,
|
|
1841
1847
|
{
|
|
1842
|
-
sourceId:
|
|
1843
|
-
data:
|
|
1848
|
+
sourceId: g,
|
|
1849
|
+
data: S,
|
|
1844
1850
|
type: "nlg/queryResult",
|
|
1845
|
-
buttonVisibility:
|
|
1846
|
-
renderContent: (
|
|
1847
|
-
/* @__PURE__ */
|
|
1848
|
-
/* @__PURE__ */ n(
|
|
1849
|
-
|
|
1851
|
+
buttonVisibility: C ? "onHover" : "never",
|
|
1852
|
+
renderContent: (y) => /* @__PURE__ */ h(N, { children: [
|
|
1853
|
+
/* @__PURE__ */ h(De, { children: [
|
|
1854
|
+
/* @__PURE__ */ n(gn, { onClick: f }),
|
|
1855
|
+
y
|
|
1850
1856
|
] }),
|
|
1851
|
-
|
|
1857
|
+
C && /* @__PURE__ */ n(hn, { nlgRequest: S })
|
|
1852
1858
|
] })
|
|
1853
1859
|
}
|
|
1854
1860
|
)
|
|
1855
1861
|
] });
|
|
1856
1862
|
}
|
|
1857
|
-
function
|
|
1863
|
+
function mn({ message: e, isLastMessage: t }) {
|
|
1858
1864
|
if (ve(e)) {
|
|
1859
1865
|
const o = JSON.parse(e.content);
|
|
1860
|
-
return /* @__PURE__ */ n(
|
|
1866
|
+
return /* @__PURE__ */ n(fn, { data: o, alwaysShowFeedback: t });
|
|
1861
1867
|
}
|
|
1862
|
-
return /* @__PURE__ */ n(
|
|
1868
|
+
return /* @__PURE__ */ n(V, { align: e.role === "user" ? "right" : "left", children: e.content });
|
|
1863
1869
|
}
|
|
1864
|
-
const
|
|
1865
|
-
|
|
1866
|
-
|
|
1870
|
+
const bn = Ot(mn), xn = ({
|
|
1871
|
+
error: e,
|
|
1872
|
+
displayMessage: t
|
|
1873
|
+
}) => (console.debug("Unexpected error occurred when resolving a chat message:", e), /* @__PURE__ */ n(V, { align: "left", children: t }));
|
|
1874
|
+
function yn({ messages: e }) {
|
|
1875
|
+
const { t } = w();
|
|
1876
|
+
return /* @__PURE__ */ n(N, { children: e.map((o, r) => /* @__PURE__ */ n(
|
|
1877
|
+
It,
|
|
1878
|
+
{
|
|
1879
|
+
fallbackRender: (i) => xn(D(M({}, i), {
|
|
1880
|
+
displayMessage: t("ai.errors.unexpected")
|
|
1881
|
+
})),
|
|
1882
|
+
children: /* @__PURE__ */ n(bn, { message: o, isLastMessage: r === e.length - 1 }, r)
|
|
1883
|
+
},
|
|
1884
|
+
r
|
|
1885
|
+
)) });
|
|
1867
1886
|
}
|
|
1868
|
-
function
|
|
1887
|
+
function it({ color: e }) {
|
|
1869
1888
|
return /* @__PURE__ */ n(
|
|
1870
1889
|
"svg",
|
|
1871
1890
|
{
|
|
@@ -1884,18 +1903,18 @@ function rt({ color: e }) {
|
|
|
1884
1903
|
}
|
|
1885
1904
|
);
|
|
1886
1905
|
}
|
|
1887
|
-
function
|
|
1906
|
+
function vn({ onClick: e, color: t }) {
|
|
1888
1907
|
return /* @__PURE__ */ n(
|
|
1889
1908
|
"div",
|
|
1890
1909
|
{
|
|
1891
1910
|
"aria-label": "go back",
|
|
1892
1911
|
className: "csdk-w-5 csdk-h-5 csdk-flex csdk-p-[4px] csdk-ml-[6px] csdk-cursor-pointer",
|
|
1893
1912
|
onClick: e,
|
|
1894
|
-
children: /* @__PURE__ */ n(
|
|
1913
|
+
children: /* @__PURE__ */ n(it, { color: t })
|
|
1895
1914
|
}
|
|
1896
1915
|
);
|
|
1897
1916
|
}
|
|
1898
|
-
const
|
|
1917
|
+
const wn = u.button`
|
|
1899
1918
|
font-size: inherit;
|
|
1900
1919
|
line-height: inherit;
|
|
1901
1920
|
box-sizing: border-box;
|
|
@@ -1922,7 +1941,7 @@ const kn = u.button`
|
|
|
1922
1941
|
const { borderGradient: t, borderRadius: o } = e.aiChat.suggestions;
|
|
1923
1942
|
if (t) {
|
|
1924
1943
|
const [r, i] = t;
|
|
1925
|
-
return
|
|
1944
|
+
return L`
|
|
1926
1945
|
border: none;
|
|
1927
1946
|
position: relative;
|
|
1928
1947
|
border-radius: ${o};
|
|
@@ -1945,24 +1964,24 @@ const kn = u.button`
|
|
|
1945
1964
|
return "";
|
|
1946
1965
|
}}
|
|
1947
1966
|
`;
|
|
1948
|
-
function
|
|
1949
|
-
const { themeSettings: o } =
|
|
1950
|
-
return /* @__PURE__ */ n(
|
|
1967
|
+
function Fe({ question: e, onClick: t }) {
|
|
1968
|
+
const { themeSettings: o } = x();
|
|
1969
|
+
return /* @__PURE__ */ n(wn, { onClick: t, theme: o, children: e });
|
|
1951
1970
|
}
|
|
1952
|
-
const
|
|
1971
|
+
const kn = u.div`
|
|
1953
1972
|
display: flex;
|
|
1954
1973
|
flex-direction: column;
|
|
1955
1974
|
align-items: flex-start;
|
|
1956
1975
|
row-gap: ${({ theme: e }) => e.aiChat.suggestions.gap};
|
|
1957
1976
|
`;
|
|
1958
|
-
function
|
|
1959
|
-
const
|
|
1960
|
-
return /* @__PURE__ */
|
|
1961
|
-
|
|
1962
|
-
|
|
1977
|
+
function Sn({ questions: e, onSelection: t }) {
|
|
1978
|
+
const { t: o } = w(), [r, i] = $(!0), a = O(() => r && e.length > 5 ? e.slice(0, 4) : e, [e, r]), { themeSettings: s } = x();
|
|
1979
|
+
return /* @__PURE__ */ h(kn, { "aria-label": "list of suggested questions", theme: s, children: [
|
|
1980
|
+
a.map((c) => /* @__PURE__ */ n(Fe, { question: c, onClick: () => t(c) }, c)),
|
|
1981
|
+
a.length < e.length && /* @__PURE__ */ n(Fe, { question: o("ai.buttons.seeMore"), onClick: () => i(!1) })
|
|
1963
1982
|
] });
|
|
1964
1983
|
}
|
|
1965
|
-
const
|
|
1984
|
+
const Mn = u.div`
|
|
1966
1985
|
width: 283px;
|
|
1967
1986
|
height: 32px;
|
|
1968
1987
|
border-radius: 10px;
|
|
@@ -1986,23 +2005,23 @@ const $n = u.div`
|
|
|
1986
2005
|
background-position: -200% 0;
|
|
1987
2006
|
}
|
|
1988
2007
|
}
|
|
1989
|
-
`,
|
|
2008
|
+
`, $n = u.div`
|
|
1990
2009
|
display: flex;
|
|
1991
2010
|
flex-direction: column;
|
|
1992
2011
|
row-gap: 1rem;
|
|
1993
2012
|
`;
|
|
1994
|
-
function
|
|
1995
|
-
const { themeSettings: e } =
|
|
1996
|
-
return /* @__PURE__ */ n(
|
|
2013
|
+
function Rn() {
|
|
2014
|
+
const { themeSettings: e } = x();
|
|
2015
|
+
return /* @__PURE__ */ n($n, { children: Array.from({ length: 3 }, (t, o) => /* @__PURE__ */ n(Mn, { theme: e }, o)) });
|
|
1997
2016
|
}
|
|
1998
|
-
function
|
|
1999
|
-
const r = e.length > 0, { suggestionsWelcomeText: i } =
|
|
2000
|
-
return t ? /* @__PURE__ */ n(
|
|
2001
|
-
i && /* @__PURE__ */ n(
|
|
2002
|
-
/* @__PURE__ */ n(
|
|
2017
|
+
function Ln({ questions: e, isLoading: t, onSelection: o }) {
|
|
2018
|
+
const r = e.length > 0, { suggestionsWelcomeText: i } = P();
|
|
2019
|
+
return t ? /* @__PURE__ */ n(Rn, {}) : r ? /* @__PURE__ */ h(N, { children: [
|
|
2020
|
+
i && /* @__PURE__ */ n(V, { align: "left", children: i }),
|
|
2021
|
+
/* @__PURE__ */ n(Sn, { onSelection: o, questions: e })
|
|
2003
2022
|
] }) : null;
|
|
2004
2023
|
}
|
|
2005
|
-
const
|
|
2024
|
+
const Tn = u.div`
|
|
2006
2025
|
flex: 0 0 80px;
|
|
2007
2026
|
padding-left: 14px;
|
|
2008
2027
|
padding-right: 14px;
|
|
@@ -2011,20 +2030,20 @@ const En = u.div`
|
|
|
2011
2030
|
position: relative;
|
|
2012
2031
|
|
|
2013
2032
|
background-color: ${({ style: e }) => e.backgroundColor};
|
|
2014
|
-
`,
|
|
2033
|
+
`, En = u.div`
|
|
2015
2034
|
font-size: 18px;
|
|
2016
2035
|
line-height: 22px;
|
|
2017
2036
|
font-weight: 600;
|
|
2018
2037
|
margin-left: 20px;
|
|
2019
2038
|
|
|
2020
2039
|
color: ${({ style: e }) => e.textColor};
|
|
2021
|
-
`,
|
|
2022
|
-
return /* @__PURE__ */
|
|
2040
|
+
`, st = Wt(function({ title: t, leftNav: o, rightNav: r, style: i }, a) {
|
|
2041
|
+
return /* @__PURE__ */ h(Tn, { ref: a, style: i, children: [
|
|
2023
2042
|
o,
|
|
2024
|
-
/* @__PURE__ */ n(
|
|
2043
|
+
/* @__PURE__ */ n(En, { style: i, children: t }),
|
|
2025
2044
|
r && /* @__PURE__ */ n("div", { className: "csdk-ml-auto", children: r })
|
|
2026
2045
|
] });
|
|
2027
|
-
}),
|
|
2046
|
+
}), Hn = u.div`
|
|
2028
2047
|
text-align: center;
|
|
2029
2048
|
font-size: 11px;
|
|
2030
2049
|
line-height: 18px;
|
|
@@ -2038,13 +2057,17 @@ const En = u.div`
|
|
|
2038
2057
|
|
|
2039
2058
|
color: ${({ theme: e }) => e.aiChat.secondaryTextColor};
|
|
2040
2059
|
`;
|
|
2041
|
-
function
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
/* @__PURE__ */ n("div", { children: "
|
|
2060
|
+
function Bn({ theme: e }) {
|
|
2061
|
+
const { t } = w();
|
|
2062
|
+
return /* @__PURE__ */ h(Hn, { theme: e, children: [
|
|
2063
|
+
/* @__PURE__ */ n("div", { children: t("ai.disclaimer.poweredByAi") }),
|
|
2064
|
+
/* @__PURE__ */ h("div", { children: [
|
|
2065
|
+
" ",
|
|
2066
|
+
t("ai.disclaimer.rateRequest")
|
|
2067
|
+
] })
|
|
2045
2068
|
] });
|
|
2046
2069
|
}
|
|
2047
|
-
const
|
|
2070
|
+
const Dn = u.div`
|
|
2048
2071
|
font-size: inherit;
|
|
2049
2072
|
line-height: inherit;
|
|
2050
2073
|
padding-left: 16px;
|
|
@@ -2055,12 +2078,12 @@ const Nn = u.div`
|
|
|
2055
2078
|
|
|
2056
2079
|
color: ${({ theme: e }) => e.aiChat.suggestions.textColor};
|
|
2057
2080
|
background-color: ${({ theme: e }) => e.aiChat.suggestions.backgroundColor};
|
|
2058
|
-
`,
|
|
2059
|
-
const {
|
|
2060
|
-
return /* @__PURE__ */ n(
|
|
2081
|
+
`, at = () => {
|
|
2082
|
+
const { t: e } = w(), { themeSettings: t } = x();
|
|
2083
|
+
return /* @__PURE__ */ n(Dn, { theme: t, children: e("ai.betaLabel") });
|
|
2061
2084
|
};
|
|
2062
2085
|
function Fn() {
|
|
2063
|
-
const { themeSettings: e } =
|
|
2086
|
+
const { themeSettings: e } = x();
|
|
2064
2087
|
return /* @__PURE__ */ n("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ n(
|
|
2065
2088
|
"path",
|
|
2066
2089
|
{
|
|
@@ -2071,10 +2094,10 @@ function Fn() {
|
|
|
2071
2094
|
}
|
|
2072
2095
|
) });
|
|
2073
2096
|
}
|
|
2074
|
-
const
|
|
2075
|
-
const o = new
|
|
2097
|
+
const Nn = (e, t) => {
|
|
2098
|
+
const o = new Gt(e);
|
|
2076
2099
|
return o.alpha = t, o;
|
|
2077
|
-
},
|
|
2100
|
+
}, In = u.div`
|
|
2078
2101
|
font-size: inherit;
|
|
2079
2102
|
line-height: inherit;
|
|
2080
2103
|
padding-left: 8px;
|
|
@@ -2082,7 +2105,7 @@ const In = (e, t) => {
|
|
|
2082
2105
|
padding-top: 4px;
|
|
2083
2106
|
border-radius: 16px;
|
|
2084
2107
|
margin-bottom: 4px;
|
|
2085
|
-
box-shadow: ${({ theme: e }) => `0 4px 8px 0 ${
|
|
2108
|
+
box-shadow: ${({ theme: e }) => `0 4px 8px 0 ${Nn(e.aiChat.primaryTextColor, 0.2)}`};
|
|
2086
2109
|
cursor: pointer;
|
|
2087
2110
|
color: ${({ theme: e }) => e.aiChat.clickableMessages.textColor};
|
|
2088
2111
|
background-color: ${({ theme: e }) => e.aiChat.clickableMessages.backgroundColor};
|
|
@@ -2091,10 +2114,10 @@ const In = (e, t) => {
|
|
|
2091
2114
|
color: ${({ theme: e }) => e.aiChat.clickableMessages.hover.textColor};
|
|
2092
2115
|
background-color: ${({ theme: e }) => e.aiChat.clickableMessages.hover.backgroundColor};
|
|
2093
2116
|
box-shadow: none;
|
|
2094
|
-
`,
|
|
2095
|
-
const { themeSettings: t } =
|
|
2096
|
-
return /* @__PURE__ */ n(
|
|
2097
|
-
}, Wn = ({ isVisible: e, onClick: t, anchorElement: o }) => /* @__PURE__ */ n(
|
|
2117
|
+
`, On = ({ onClick: e }) => {
|
|
2118
|
+
const { themeSettings: t } = x();
|
|
2119
|
+
return /* @__PURE__ */ n(In, { theme: t, onClick: e, children: /* @__PURE__ */ n(Fn, {}) });
|
|
2120
|
+
}, Wn = ({ isVisible: e, onClick: t, anchorElement: o }) => /* @__PURE__ */ n(We, { anchorEl: o, open: e, placement: "top", sx: { zIndex: 2 }, children: /* @__PURE__ */ n(On, { onClick: t }) }), Pn = u.div`
|
|
2098
2121
|
display: flex;
|
|
2099
2122
|
flex-direction: column;
|
|
2100
2123
|
row-gap: ${({ theme: e }) => e.aiChat.body.gapBetweenMessages};
|
|
@@ -2118,70 +2141,70 @@ const In = (e, t) => {
|
|
|
2118
2141
|
flex-direction: column;
|
|
2119
2142
|
row-gap: ${({ theme: e }) => e.aiChat.suggestions.gap};
|
|
2120
2143
|
`;
|
|
2121
|
-
function
|
|
2122
|
-
const {
|
|
2123
|
-
data:
|
|
2124
|
-
isLoading:
|
|
2125
|
-
isError:
|
|
2126
|
-
} =
|
|
2144
|
+
function An({ contextTitle: e, onGoBack: t }) {
|
|
2145
|
+
const { t: o } = w(), {
|
|
2146
|
+
data: r,
|
|
2147
|
+
isLoading: i,
|
|
2148
|
+
isError: a
|
|
2149
|
+
} = _e({
|
|
2127
2150
|
contextTitle: e
|
|
2128
|
-
}), s =
|
|
2129
|
-
() =>
|
|
2130
|
-
[
|
|
2151
|
+
}), s = O(
|
|
2152
|
+
() => r.map((k) => k.nlqPrompt),
|
|
2153
|
+
[r]
|
|
2131
2154
|
), {
|
|
2132
|
-
history:
|
|
2133
|
-
lastNlqResponse:
|
|
2134
|
-
isAwaitingResponse:
|
|
2135
|
-
sendMessage:
|
|
2155
|
+
history: c,
|
|
2156
|
+
lastNlqResponse: l,
|
|
2157
|
+
isAwaitingResponse: d,
|
|
2158
|
+
sendMessage: g,
|
|
2136
2159
|
isLoading: C,
|
|
2137
|
-
chatId:
|
|
2160
|
+
chatId: m,
|
|
2138
2161
|
lastError: f
|
|
2139
|
-
} =
|
|
2140
|
-
S(),
|
|
2141
|
-
},
|
|
2142
|
-
if (!(
|
|
2162
|
+
} = go(e), { mutate: S, isLoading: b } = Ke(m), [y, I] = $(!1), [v, H] = $(!1), q = () => I(!0), B = () => I(!1), ue = () => {
|
|
2163
|
+
S(), B();
|
|
2164
|
+
}, F = K(null), Y = K(null), he = () => {
|
|
2165
|
+
if (!(F != null && F.current))
|
|
2143
2166
|
return;
|
|
2144
|
-
const { scrollTop:
|
|
2145
|
-
if (
|
|
2167
|
+
const { scrollTop: k, clientHeight: R, scrollHeight: ke } = F.current;
|
|
2168
|
+
if (k === void 0 || R === void 0 || ke === void 0)
|
|
2146
2169
|
return;
|
|
2147
|
-
const
|
|
2148
|
-
|
|
2170
|
+
const Se = ke - k - R > R / 2;
|
|
2171
|
+
v !== Se && H(Se);
|
|
2149
2172
|
};
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
}, [
|
|
2153
|
-
const
|
|
2154
|
-
|
|
2173
|
+
se(() => {
|
|
2174
|
+
F.current && (F.current.scrollTop = F.current.scrollHeight);
|
|
2175
|
+
}, [c, y, d]);
|
|
2176
|
+
const pe = K(null), { enableFollowupQuestions: G, enableHeader: j, numOfRecentPrompts: U } = P(), { themeSettings: z } = x(), ne = j ? /* @__PURE__ */ n(
|
|
2177
|
+
st,
|
|
2155
2178
|
{
|
|
2156
|
-
ref:
|
|
2179
|
+
ref: pe,
|
|
2157
2180
|
title: e,
|
|
2158
|
-
leftNav: t && /* @__PURE__ */ n(
|
|
2159
|
-
rightNav: /* @__PURE__ */ n(
|
|
2160
|
-
style:
|
|
2181
|
+
leftNav: t && /* @__PURE__ */ n(vn, { onClick: t, color: z.aiChat.header.textColor }),
|
|
2182
|
+
rightNav: /* @__PURE__ */ n(at, {}),
|
|
2183
|
+
style: z.aiChat.header
|
|
2161
2184
|
}
|
|
2162
|
-
) : null,
|
|
2185
|
+
) : null, X = O(
|
|
2163
2186
|
() => [
|
|
2164
2187
|
...new Set(
|
|
2165
|
-
|
|
2188
|
+
c.filter((k) => k.role === "user").filter((k) => !s.includes(k.content)).map((k) => k.content).reverse()
|
|
2166
2189
|
)
|
|
2167
|
-
].slice(0,
|
|
2168
|
-
[
|
|
2190
|
+
].slice(0, U),
|
|
2191
|
+
[c, U, s]
|
|
2169
2192
|
);
|
|
2170
|
-
return (f == null ? void 0 : f.message) ===
|
|
2171
|
-
|
|
2172
|
-
/* @__PURE__ */ n(
|
|
2173
|
-
] }) : /* @__PURE__ */
|
|
2174
|
-
|
|
2175
|
-
/* @__PURE__ */
|
|
2193
|
+
return (f == null ? void 0 : f.message) === o("ai.errors.chatUnavailable") ? /* @__PURE__ */ h(N, { children: [
|
|
2194
|
+
j && ne,
|
|
2195
|
+
/* @__PURE__ */ n(tt, { text: f.message })
|
|
2196
|
+
] }) : /* @__PURE__ */ h(N, { children: [
|
|
2197
|
+
ne,
|
|
2198
|
+
/* @__PURE__ */ h(Pn, { ref: F, theme: z, onScroll: he, children: [
|
|
2176
2199
|
/* @__PURE__ */ n(
|
|
2177
2200
|
Wn,
|
|
2178
2201
|
{
|
|
2179
|
-
isVisible:
|
|
2180
|
-
anchorElement:
|
|
2202
|
+
isVisible: v,
|
|
2203
|
+
anchorElement: Y.current,
|
|
2181
2204
|
onClick: () => {
|
|
2182
|
-
var
|
|
2183
|
-
(
|
|
2184
|
-
top: (
|
|
2205
|
+
var k, R;
|
|
2206
|
+
(R = F.current) == null || R.scroll({
|
|
2207
|
+
top: (k = F.current) == null ? void 0 : k.scrollHeight,
|
|
2185
2208
|
behavior: "smooth"
|
|
2186
2209
|
});
|
|
2187
2210
|
}
|
|
@@ -2189,54 +2212,54 @@ function Vn({ contextTitle: e, onGoBack: t }) {
|
|
|
2189
2212
|
),
|
|
2190
2213
|
/* @__PURE__ */ n(Wo, {}),
|
|
2191
2214
|
/* @__PURE__ */ n(
|
|
2192
|
-
|
|
2215
|
+
Ln,
|
|
2193
2216
|
{
|
|
2194
2217
|
questions: s,
|
|
2195
|
-
isLoading:
|
|
2196
|
-
onSelection:
|
|
2218
|
+
isLoading: i,
|
|
2219
|
+
onSelection: g
|
|
2197
2220
|
}
|
|
2198
2221
|
),
|
|
2199
|
-
f && /* @__PURE__ */ n(
|
|
2200
|
-
C ? /* @__PURE__ */ n(
|
|
2201
|
-
|
|
2202
|
-
|
|
2222
|
+
f && /* @__PURE__ */ n(V, { align: "left", children: f.message }),
|
|
2223
|
+
C ? /* @__PURE__ */ n(de, {}) : /* @__PURE__ */ n(yn, { messages: c }),
|
|
2224
|
+
G && l && /* @__PURE__ */ n(zn, { theme: z, children: l.followupQuestions.slice(0, 2).map((k, R) => /* @__PURE__ */ n(
|
|
2225
|
+
ae,
|
|
2203
2226
|
{
|
|
2204
2227
|
align: "left",
|
|
2205
2228
|
onClick: () => {
|
|
2206
|
-
|
|
2229
|
+
g(k);
|
|
2207
2230
|
},
|
|
2208
|
-
children: /* @__PURE__ */ n("div", { className: "csdk-py-[7px] csdk-px-4", children:
|
|
2231
|
+
children: /* @__PURE__ */ n("div", { className: "csdk-py-[7px] csdk-px-4", children: k })
|
|
2209
2232
|
},
|
|
2210
|
-
|
|
2233
|
+
R
|
|
2211
2234
|
)) }),
|
|
2212
|
-
(
|
|
2213
|
-
|
|
2235
|
+
(d || b) && /* @__PURE__ */ n(ot, {}),
|
|
2236
|
+
y && /* @__PURE__ */ n(
|
|
2214
2237
|
Zo,
|
|
2215
2238
|
{
|
|
2216
|
-
onCancel:
|
|
2217
|
-
onConfirm:
|
|
2239
|
+
onCancel: B,
|
|
2240
|
+
onConfirm: ue
|
|
2218
2241
|
}
|
|
2219
2242
|
)
|
|
2220
2243
|
] }),
|
|
2221
|
-
/* @__PURE__ */
|
|
2244
|
+
/* @__PURE__ */ h(qn, { ref: Y, theme: z, children: [
|
|
2222
2245
|
/* @__PURE__ */ n(
|
|
2223
|
-
|
|
2246
|
+
Io,
|
|
2224
2247
|
{
|
|
2225
|
-
onSendMessage:
|
|
2226
|
-
disabled:
|
|
2227
|
-
onClearHistoryClick:
|
|
2248
|
+
onSendMessage: g,
|
|
2249
|
+
disabled: d || C,
|
|
2250
|
+
onClearHistoryClick: q,
|
|
2228
2251
|
suggestions: s,
|
|
2229
|
-
recentPrompts:
|
|
2230
|
-
isLoading:
|
|
2231
|
-
recommendationsError:
|
|
2232
|
-
onChange:
|
|
2252
|
+
recentPrompts: X,
|
|
2253
|
+
isLoading: i || C,
|
|
2254
|
+
recommendationsError: a,
|
|
2255
|
+
onChange: B
|
|
2233
2256
|
}
|
|
2234
2257
|
),
|
|
2235
|
-
/* @__PURE__ */ n(
|
|
2258
|
+
/* @__PURE__ */ n(Bn, { theme: z })
|
|
2236
2259
|
] })
|
|
2237
2260
|
] });
|
|
2238
2261
|
}
|
|
2239
|
-
const
|
|
2262
|
+
const Vn = u.button`
|
|
2240
2263
|
font-family: ${({ theme: e }) => e.typography.fontFamily};
|
|
2241
2264
|
padding: 30px;
|
|
2242
2265
|
border: none;
|
|
@@ -2254,24 +2277,24 @@ const Qn = u.button`
|
|
|
2254
2277
|
line-height: 28px;
|
|
2255
2278
|
|
|
2256
2279
|
color: ${({ theme: e }) => e.aiChat.dataTopics.items.textColor};
|
|
2257
|
-
`,
|
|
2280
|
+
`, Qn = u.div`
|
|
2258
2281
|
font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
|
|
2259
2282
|
line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
|
|
2260
2283
|
|
|
2261
|
-
color: ${({ theme: e }) =>
|
|
2284
|
+
color: ${({ theme: e }) => Ve(e.aiChat.dataTopics.items.textColor, 0, 0.5)};
|
|
2262
2285
|
`, Gn = u.div`
|
|
2263
2286
|
width: 16px;
|
|
2264
2287
|
height: 16px;
|
|
2265
2288
|
transform: rotate(180deg);
|
|
2266
2289
|
`;
|
|
2267
|
-
function
|
|
2268
|
-
const { title: t, description: o, onClick: r } = e, { themeSettings: i } =
|
|
2269
|
-
return /* @__PURE__ */
|
|
2270
|
-
/* @__PURE__ */
|
|
2290
|
+
function jn(e) {
|
|
2291
|
+
const { title: t, description: o, onClick: r } = e, { themeSettings: i } = x();
|
|
2292
|
+
return /* @__PURE__ */ h(Vn, { onClick: r, theme: i, children: [
|
|
2293
|
+
/* @__PURE__ */ h("div", { children: [
|
|
2271
2294
|
/* @__PURE__ */ n(Zn, { theme: i, children: t }),
|
|
2272
|
-
/* @__PURE__ */ n(
|
|
2295
|
+
/* @__PURE__ */ n(Qn, { theme: i, children: o })
|
|
2273
2296
|
] }),
|
|
2274
|
-
/* @__PURE__ */ n(Gn, { children: /* @__PURE__ */ n(
|
|
2297
|
+
/* @__PURE__ */ n(Gn, { children: /* @__PURE__ */ n(it, { color: i.aiChat.icons.color }) })
|
|
2275
2298
|
] });
|
|
2276
2299
|
}
|
|
2277
2300
|
const Un = u.div`
|
|
@@ -2280,7 +2303,7 @@ const Un = u.div`
|
|
|
2280
2303
|
flex-direction: column;
|
|
2281
2304
|
gap: 20px;
|
|
2282
2305
|
overflow: auto;
|
|
2283
|
-
`,
|
|
2306
|
+
`, _n = u.div`
|
|
2284
2307
|
font-size: 24px;
|
|
2285
2308
|
line-height: 32px;
|
|
2286
2309
|
font-weight: 600;
|
|
@@ -2288,47 +2311,47 @@ const Un = u.div`
|
|
|
2288
2311
|
padding-bottom: 4px;
|
|
2289
2312
|
|
|
2290
2313
|
color: ${({ theme: e }) => e.aiChat.primaryTextColor};
|
|
2291
|
-
`,
|
|
2314
|
+
`, Kn = u.div`
|
|
2292
2315
|
font-size: 15px;
|
|
2293
2316
|
line-height: 22px;
|
|
2294
2317
|
|
|
2295
2318
|
color: ${({ theme: e }) => e.aiChat.primaryTextColor};
|
|
2296
2319
|
`;
|
|
2297
2320
|
function Jn(e) {
|
|
2298
|
-
const { dataTopics: t } = e, { themeSettings: o } =
|
|
2299
|
-
return /* @__PURE__ */
|
|
2300
|
-
/* @__PURE__ */ n(
|
|
2301
|
-
/* @__PURE__ */
|
|
2302
|
-
"
|
|
2321
|
+
const { dataTopics: t } = e, { themeSettings: o } = x(), { t: r } = w();
|
|
2322
|
+
return /* @__PURE__ */ h(Un, { children: [
|
|
2323
|
+
/* @__PURE__ */ n(_n, { theme: o, children: r("ai.dataTopics") }),
|
|
2324
|
+
/* @__PURE__ */ h(Kn, { theme: o, children: [
|
|
2325
|
+
r("ai.chatbotDescription"),
|
|
2303
2326
|
/* @__PURE__ */ n("br", {}),
|
|
2304
2327
|
/* @__PURE__ */ n("br", {}),
|
|
2305
|
-
"
|
|
2328
|
+
r("ai.topicSelectPrompt")
|
|
2306
2329
|
] }),
|
|
2307
|
-
t.map((
|
|
2330
|
+
t.map((i) => /* @__PURE__ */ Pt(jn, D(M({}, i), { key: i.title })))
|
|
2308
2331
|
] });
|
|
2309
2332
|
}
|
|
2310
|
-
const
|
|
2311
|
-
function
|
|
2312
|
-
return /* @__PURE__ */
|
|
2333
|
+
const Yn = "#FFCB05", Xn = "#000000", er = "#FFFFFF";
|
|
2334
|
+
function tr({ colorSchema: e }) {
|
|
2335
|
+
return /* @__PURE__ */ h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "28", height: "32", viewBox: "0 0 28 32", fill: "none", children: [
|
|
2313
2336
|
/* @__PURE__ */ n(
|
|
2314
2337
|
"path",
|
|
2315
2338
|
{
|
|
2316
2339
|
d: "M15.6151 8.47656H15.5936V15.0679H15.6151C16.9896 15.0679 18.3078 15.6128 19.2797 16.5827C20.2517 17.5526 20.7977 18.8681 20.7977 20.2398C20.7977 21.6115 20.2517 22.927 19.2797 23.8969C18.3078 24.8668 16.9896 25.4117 15.6151 25.4117H15.5936V32.0006H15.6151C17.1627 32.0006 18.6952 31.6964 20.1251 31.1054C21.5549 30.5144 22.8541 29.6481 23.9484 28.556C25.0428 27.4639 25.9109 26.1674 26.5031 24.7405C27.0954 23.3136 27.4002 21.7843 27.4002 20.2398C27.4002 18.6953 27.0954 17.166 26.5031 15.7391C25.9109 14.3122 25.0428 13.0157 23.9484 11.9236C22.8541 10.8315 21.5549 9.96523 20.1251 9.37419C18.6952 8.78315 17.1627 8.47895 15.6151 8.47895V8.47656Z",
|
|
2317
|
-
fill: e === "yellow-black" ?
|
|
2340
|
+
fill: e === "yellow-black" ? Xn : er
|
|
2318
2341
|
}
|
|
2319
2342
|
),
|
|
2320
2343
|
/* @__PURE__ */ n(
|
|
2321
2344
|
"path",
|
|
2322
2345
|
{
|
|
2323
2346
|
d: "M12.7349 23.5217H12.7564V16.9375H12.7349C11.3603 16.9375 10.0421 16.3926 9.07021 15.4227C8.09828 14.4528 7.55226 13.1373 7.55226 11.7656C7.55226 10.3939 8.09828 9.07845 9.07021 8.10853C10.0421 7.13861 11.3603 6.59371 12.7349 6.59371H12.7564V0H12.7349C9.60924 4.64793e-08 6.61164 1.23909 4.4015 3.44467C2.19135 5.65026 0.949707 8.64168 0.949707 11.7608C0.949707 14.88 2.19135 17.8714 4.4015 20.077C6.61164 22.2826 9.60924 23.5217 12.7349 23.5217Z",
|
|
2324
|
-
fill:
|
|
2347
|
+
fill: Yn
|
|
2325
2348
|
}
|
|
2326
2349
|
)
|
|
2327
2350
|
] });
|
|
2328
2351
|
}
|
|
2329
|
-
const
|
|
2352
|
+
const or = u.div`
|
|
2330
2353
|
margin-left: 14px;
|
|
2331
|
-
`,
|
|
2354
|
+
`, nr = u.div`
|
|
2332
2355
|
display: flex;
|
|
2333
2356
|
flex-direction: column;
|
|
2334
2357
|
justify-content: top;
|
|
@@ -2337,88 +2360,94 @@ const nr = u.div`
|
|
|
2337
2360
|
|
|
2338
2361
|
background-color: ${({ theme: e }) => e.aiChat.dataTopics.backgroundColor};
|
|
2339
2362
|
`;
|
|
2340
|
-
function
|
|
2341
|
-
const { enableHeader: o } =
|
|
2342
|
-
title:
|
|
2343
|
-
onClick: () => t(
|
|
2344
|
-
})), [e, t]), s = jt(
|
|
2345
|
-
return /* @__PURE__ */
|
|
2363
|
+
function rr({ dataTopicsList: e, onDataTopicClick: t }) {
|
|
2364
|
+
const { enableHeader: o } = P(), { themeSettings: r } = x(), { t: i } = w(), a = O(() => e == null ? void 0 : e.map((c) => ({
|
|
2365
|
+
title: c,
|
|
2366
|
+
onClick: () => t(c)
|
|
2367
|
+
})), [e, t]), s = jt(Ut(r.aiChat.header.backgroundColor)) > 0.5;
|
|
2368
|
+
return /* @__PURE__ */ h(N, { children: [
|
|
2346
2369
|
o ? /* @__PURE__ */ n(
|
|
2347
|
-
|
|
2370
|
+
st,
|
|
2348
2371
|
{
|
|
2349
|
-
title: "
|
|
2350
|
-
leftNav: /* @__PURE__ */ n(
|
|
2351
|
-
rightNav: /* @__PURE__ */ n(
|
|
2372
|
+
title: i("ai.analyticsChatbot"),
|
|
2373
|
+
leftNav: /* @__PURE__ */ n(or, { children: /* @__PURE__ */ n(tr, { colorSchema: s ? "yellow-white" : "yellow-black" }) }),
|
|
2374
|
+
rightNav: /* @__PURE__ */ n(at, {}),
|
|
2352
2375
|
style: r.aiChat.header
|
|
2353
2376
|
}
|
|
2354
2377
|
) : null,
|
|
2355
|
-
/* @__PURE__ */
|
|
2356
|
-
!
|
|
2357
|
-
|
|
2378
|
+
/* @__PURE__ */ h(nr, { theme: r, children: [
|
|
2379
|
+
!a && /* @__PURE__ */ n(de, {}),
|
|
2380
|
+
a && /* @__PURE__ */ n(Jn, { dataTopics: a })
|
|
2358
2381
|
] })
|
|
2359
2382
|
] });
|
|
2360
2383
|
}
|
|
2361
|
-
function
|
|
2362
|
-
const [e, t] =
|
|
2363
|
-
|
|
2364
|
-
if (
|
|
2365
|
-
let
|
|
2366
|
-
l && l.length && (
|
|
2384
|
+
function ir() {
|
|
2385
|
+
const [e, t] = $([]), [o, r] = $(), [i, a] = $(), { data: s, fetchStatus: c } = Ye(), { dataTopicsList: l } = P(), { t: d } = w();
|
|
2386
|
+
ce(() => {
|
|
2387
|
+
if (s && c === "idle") {
|
|
2388
|
+
let m = s;
|
|
2389
|
+
l && l.length && (m = s == null ? void 0 : s.filter((f) => l == null ? void 0 : l.includes(f.title))), t(m.map((f) => f.title)), m.length ? m.length === 1 && (a(void 0), r(m[0].title)) : a(d("ai.errors.noAvailableDataTopics"));
|
|
2390
|
+
}
|
|
2391
|
+
}, [s, l, c, d]);
|
|
2392
|
+
const g = ee(), C = E(() => {
|
|
2393
|
+
a(void 0), g.invalidateQueries(["getDataTopics"]);
|
|
2394
|
+
}, [g]);
|
|
2395
|
+
return i ? /* @__PURE__ */ n(
|
|
2396
|
+
tt,
|
|
2397
|
+
{
|
|
2398
|
+
text: i,
|
|
2399
|
+
action: { text: d("ai.buttons.refresh"), onClick: C }
|
|
2367
2400
|
}
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
s(void 0), d.invalidateQueries(["getDataTopics"]);
|
|
2371
|
-
}, [d]);
|
|
2372
|
-
return i ? /* @__PURE__ */ n(et, { text: i, action: { text: "Refresh", onClick: C } }) : e.length === 1 && !o ? /* @__PURE__ */ n(ce, {}) : o ? /* @__PURE__ */ n(H, { children: /* @__PURE__ */ n(
|
|
2373
|
-
Vn,
|
|
2401
|
+
) : e.length === 1 && !o ? /* @__PURE__ */ n(de, {}) : o ? /* @__PURE__ */ n(
|
|
2402
|
+
An,
|
|
2374
2403
|
{
|
|
2375
2404
|
contextTitle: o,
|
|
2376
2405
|
onGoBack: e.length === 1 ? void 0 : () => r(void 0)
|
|
2377
2406
|
}
|
|
2378
|
-
)
|
|
2379
|
-
|
|
2407
|
+
) : /* @__PURE__ */ n(
|
|
2408
|
+
rr,
|
|
2380
2409
|
{
|
|
2381
2410
|
dataTopicsList: e,
|
|
2382
|
-
onDataTopicClick: (
|
|
2411
|
+
onDataTopicClick: (m) => r(m)
|
|
2383
2412
|
}
|
|
2384
2413
|
);
|
|
2385
2414
|
}
|
|
2386
|
-
const
|
|
2415
|
+
const mr = qe({
|
|
2387
2416
|
componentName: "Chatbot"
|
|
2388
2417
|
})((e) => {
|
|
2389
|
-
const { width: t, height: o, config: r } = e, { themeSettings: i } =
|
|
2390
|
-
return /* @__PURE__ */ n(
|
|
2391
|
-
|
|
2418
|
+
const { width: t, height: o, config: r } = e, { themeSettings: i } = x();
|
|
2419
|
+
return /* @__PURE__ */ n(lo, { value: r != null ? r : {}, children: /* @__PURE__ */ n(
|
|
2420
|
+
xo,
|
|
2392
2421
|
{
|
|
2393
2422
|
id: "csdk-chatbot-frame",
|
|
2394
2423
|
width: t,
|
|
2395
2424
|
height: o,
|
|
2396
2425
|
theme: i,
|
|
2397
2426
|
tabIndex: 0,
|
|
2398
|
-
children: /* @__PURE__ */ n(
|
|
2427
|
+
children: /* @__PURE__ */ n(ir, {})
|
|
2399
2428
|
}
|
|
2400
2429
|
) });
|
|
2401
|
-
}),
|
|
2430
|
+
}), br = qe({
|
|
2402
2431
|
componentName: "GetNlgQueryResult"
|
|
2403
2432
|
})(function(t) {
|
|
2404
|
-
const { data: o, isLoading: r, isError: i } =
|
|
2433
|
+
const { data: o, isLoading: r, isError: i } = xe(t), { t: a } = w();
|
|
2405
2434
|
if (i)
|
|
2406
|
-
return /* @__PURE__ */ n(
|
|
2435
|
+
return /* @__PURE__ */ n(N, { children: a("ai.errors.unexpected") });
|
|
2407
2436
|
const s = o != null ? o : "Oops, no data came back for that.";
|
|
2408
|
-
return /* @__PURE__ */ n(
|
|
2437
|
+
return /* @__PURE__ */ n(rt, { text: r ? "Loading..." : s });
|
|
2409
2438
|
});
|
|
2410
2439
|
export {
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2440
|
+
hr as AiContextProvider,
|
|
2441
|
+
mr as Chatbot,
|
|
2442
|
+
br as GetNlgQueryResult,
|
|
2443
|
+
vr as JaqlElement,
|
|
2444
|
+
wr as deriveChartFamily,
|
|
2445
|
+
Zt as getChartOptions,
|
|
2446
|
+
Vt as getTableOptions,
|
|
2447
|
+
go as useChatSession,
|
|
2448
|
+
fr as useGetDataSourceFields,
|
|
2449
|
+
pr as useGetNlgQueryResult,
|
|
2450
|
+
gr as useGetQueryRecommendations,
|
|
2451
|
+
Cr as useLastNlqResponse
|
|
2423
2452
|
};
|
|
2424
2453
|
(function(){"use strict";try{if(typeof document!="undefined"){var e=document.createElement("style");e.appendChild(document.createTextNode('@charset "UTF-8";.csdk-treemap-tooltip-wrapper{min-width:210px;color:#acacac;font-size:14px;line-height:16px;background:#fff;border-radius:10px;overflow:hidden;margin-right:-1px;padding-bottom:10px}.csdk-treemap-tooltip-level{display:flex;align-items:center;position:relative;padding:8px;font-size:14px;border-bottom:1px solid #ccc}.csdk-treemap-tooltip-level span{padding:0 2px}.csdk-treemap-tooltip-value{padding:10px 10px 0;font-size:12px;line-height:16px}.highcharts-sunburst-series.highcharts-legend-item{pointer-events:none!important}.csdk-boxplot-tooltip-row{display:flex;justify-content:space-between}.csdk-boxplot-tooltip-row>*{margin-right:10px}.csdk-boxplot-tooltip-row>*:last-child{margin-right:0}[class|=csdk],[class|=csdk]:before,[class|=csdk]:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#d5d5d5;font-family:inherit}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.csdk-absolute{position:absolute}.csdk-relative{position:relative}.csdk-left-2{left:.5rem}.csdk-right-0{right:0}.csdk-right-\\[-15px\\]{right:-15px}.csdk-right-\\[-5px\\]{right:-5px}.csdk-right-\\[0px\\]{right:0}.csdk-right-\\[4px\\]{right:4px}.csdk-top-1\\/2{top:50%}.csdk-top-\\[3px\\]{top:3px}.csdk-top-\\[7px\\]{top:7px}.csdk-z-\\[401\\]{z-index:401}.csdk-m-3{margin:.75rem}.csdk-m-auto{margin:auto}.csdk-m-checkbox,.csdk-m-radio{margin:6px 10px 6px 6px}.csdk-mx-auto{margin-left:auto;margin-right:auto}.csdk-my-1{margin-top:.25rem;margin-bottom:.25rem}.csdk-my-2{margin-top:.5rem;margin-bottom:.5rem}.csdk-my-\\[2px\\]{margin-top:2px;margin-bottom:2px}.csdk-my-\\[5px\\]{margin-top:5px;margin-bottom:5px}.csdk-mb-1{margin-bottom:.25rem}.csdk-mb-\\[10px\\]{margin-bottom:10px}.csdk-mb-\\[3px\\]{margin-bottom:3px}.csdk-mb-\\[4px\\]{margin-bottom:4px}.csdk-mb-px{margin-bottom:1px}.csdk-ml-1{margin-left:.25rem}.csdk-ml-1\\.5{margin-left:.375rem}.csdk-ml-2{margin-left:.5rem}.csdk-ml-\\[10px\\]{margin-left:10px}.csdk-ml-\\[4px\\]{margin-left:4px}.csdk-ml-\\[5px\\]{margin-left:5px}.csdk-ml-\\[6px\\]{margin-left:6px}.csdk-ml-\\[7px\\]{margin-left:7px}.csdk-ml-auto{margin-left:auto}.csdk-mr-2{margin-right:.5rem}.csdk-mr-\\[5px\\]{margin-right:5px}.csdk-mr-\\[7px\\]{margin-right:7px}.csdk-mt-2{margin-top:.5rem}.csdk-mt-3{margin-top:.75rem}.csdk-mt-\\[-2px\\]{margin-top:-2px}.csdk-mt-\\[2px\\]{margin-top:2px}.csdk-mt-\\[6px\\]{margin-top:6px}.csdk-box-border{box-sizing:border-box}.csdk-line-clamp-5{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5}.csdk-flex{display:flex}.csdk-grid{display:grid}.csdk-h-5{height:1.25rem}.csdk-h-6{height:1.5rem}.csdk-h-\\[100\\%\\]{height:100%}.csdk-h-\\[10px\\]{height:10px}.csdk-h-\\[18px\\]{height:18px}.csdk-h-\\[20px\\]{height:20px}.csdk-h-\\[245px\\]{height:245px}.csdk-h-button{height:28px}.csdk-h-checkbox{height:12px}.csdk-h-full{height:100%}.csdk-h-radio{height:12px}.csdk-h-screen{height:100vh}.csdk-max-h-32{max-height:8rem}.csdk-max-h-\\[150px\\]{max-height:150px}.csdk-min-h-\\[20px\\]{min-height:20px}.csdk-min-h-\\[32px\\]{min-height:32px}.csdk-w-5{width:1.25rem}.csdk-w-\\[100\\%\\]{width:100%}.csdk-w-\\[10px\\]{width:10px}.csdk-w-\\[152px\\]{width:152px}.csdk-w-\\[18px\\]{width:18px}.csdk-w-\\[240px\\]{width:240px}.csdk-w-\\[28px\\]{width:28px}.csdk-w-\\[300px\\]{width:300px}.csdk-w-\\[60px\\]{width:60px}.csdk-w-checkbox{width:12px}.csdk-w-fit{width:-moz-fit-content;width:fit-content}.csdk-w-full{width:100%}.csdk-w-radio{width:12px}.csdk-min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.csdk-max-w-xs{max-width:20rem}.csdk-grow{flex-grow:1}.-csdk-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.csdk-translate-x-1\\/2{--tw-translate-x: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-csdk-rotate-90{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.csdk-rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.csdk-scale-x-\\[-1\\]{--tw-scale-x: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.csdk-transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes csdk-spin{to{transform:rotate(360deg)}}.csdk-animate-spin{animation:csdk-spin 1s linear infinite}.csdk-cursor-pointer{cursor:pointer}.csdk-select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.csdk-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.csdk-flex-row{flex-direction:row}.csdk-flex-col{flex-direction:column}.csdk-flex-wrap{flex-wrap:wrap}.csdk-items-center{align-items:center}.csdk-justify-end{justify-content:flex-end}.csdk-justify-center{justify-content:center}.csdk-justify-between{justify-content:space-between}.csdk-justify-evenly{justify-content:space-evenly}.csdk-gap-1{gap:.25rem}.csdk-gap-2{gap:.5rem}.csdk-gap-\\[5px\\]{gap:5px}.csdk-gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.csdk-gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.csdk-gap-y-0{row-gap:0px}.csdk-gap-y-0\\.5{row-gap:.125rem}.csdk-gap-y-4{row-gap:1rem}.csdk-self-center{align-self:center}.csdk-overflow-auto{overflow:auto}.csdk-overflow-hidden{overflow:hidden}.\\!csdk-overflow-visible{overflow:visible!important}.csdk-whitespace-nowrap{white-space:nowrap}.csdk-whitespace-pre-wrap{white-space:pre-wrap}.csdk-rounded{border-radius:.25rem}.csdk-rounded-\\[4px\\]{border-radius:4px}.csdk-rounded-full{border-radius:9999px}.csdk-rounded-md{border-radius:.375rem}.csdk-border{border-width:1px}.csdk-border-0{border-width:0px}.csdk-border-input{border-width:1px}.csdk-border-b{border-bottom-width:1px}.csdk-border-l{border-left-width:1px}.csdk-border-l-\\[70px\\]{border-left-width:70px}.csdk-border-r-\\[70px\\]{border-right-width:70px}.csdk-border-t{border-top-width:1px}.csdk-border-t-\\[13px\\]{border-top-width:13px}.csdk-border-solid{border-style:solid}.csdk-border-none{border-style:none}.csdk-border-UI-default{--tw-border-opacity: 1;border-color:rgb(110 115 125 / var(--tw-border-opacity))}.csdk-border-\\[\\#e4e4e4\\]{--tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--tw-border-opacity))}.csdk-border-transparent{border-color:transparent}.csdk-border-l-\\[transparent\\]{border-left-color:transparent}.csdk-border-r-\\[transparent\\]{border-right-color:transparent}.csdk-bg-\\[\\#f4f4f8\\]{--tw-bg-opacity: 1;background-color:rgb(244 244 248 / var(--tw-bg-opacity))}.csdk-bg-background-priority{background-color:#f4f4f8}.csdk-bg-primary-primary{background-color:#ffcb05}.csdk-bg-transparent{background-color:transparent}.csdk-bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.csdk-p-1{padding:.25rem}.csdk-p-1\\.5{padding:.375rem}.csdk-p-3{padding:.75rem}.csdk-p-\\[10px\\]{padding:10px}.csdk-p-\\[12px\\]{padding:12px}.csdk-p-\\[20px\\]{padding:20px}.csdk-p-\\[4px\\]{padding:4px}.csdk-p-button{padding:4px 24px}.csdk-p-px{padding:1px}.csdk-px-1{padding-left:.25rem;padding-right:.25rem}.csdk-px-2{padding-left:.5rem;padding-right:.5rem}.csdk-px-4{padding-left:1rem;padding-right:1rem}.csdk-px-\\[12px\\]{padding-left:12px;padding-right:12px}.csdk-px-\\[20px\\]{padding-left:20px;padding-right:20px}.csdk-px-\\[40px\\]{padding-left:40px;padding-right:40px}.csdk-px-\\[8px\\]{padding-left:8px;padding-right:8px}.csdk-py-\\[14\\.5px\\]{padding-top:14.5px;padding-bottom:14.5px}.csdk-py-\\[30px\\]{padding-top:30px;padding-bottom:30px}.csdk-py-\\[5px\\]{padding-top:5px;padding-bottom:5px}.csdk-py-\\[6px\\]{padding-top:6px;padding-bottom:6px}.csdk-py-\\[7px\\]{padding-top:7px;padding-bottom:7px}.csdk-pb-\\[0px\\]{padding-bottom:0}.csdk-pl-1{padding-left:.25rem}.csdk-pl-2{padding-left:.5rem}.csdk-pl-2\\.5{padding-left:.625rem}.csdk-pl-3{padding-left:.75rem}.csdk-pr-10{padding-right:2.5rem}.csdk-pt-48{padding-top:12rem}.csdk-text-left{text-align:left}.csdk-text-center{text-align:center}.csdk-text-\\[13px\\]{font-size:13px}.csdk-text-ai-lg{font-size:18px;line-height:22px}.csdk-text-ai-sm{font-size:13px;line-height:18px}.csdk-text-ai-xs{font-size:11px;line-height:18px}.csdk-text-xs{font-size:.75rem;line-height:1rem}.csdk-font-normal{font-weight:400}.csdk-leading-4{line-height:1rem}.csdk-leading-\\[16px\\]{line-height:16px}.csdk-leading-\\[18px\\]{line-height:18px}.csdk-leading-\\[26px\\]{line-height:26px}.csdk-leading-none{line-height:1}.csdk-text-UI-default{--tw-text-opacity: 1;color:rgb(110 115 125 / var(--tw-text-opacity))}.csdk-text-semantic-error{color:#e74727}.csdk-text-text-active{color:#262e3d}.csdk-text-text-content{color:#262e3dcc}.csdk-text-text-link{color:#36a3d9}.csdk-text-text-linkButton{--tw-text-opacity: 1;color:rgb(30 175 243 / var(--tw-text-opacity))}.csdk-accent-UI-default{accent-color:#6e737d}.csdk-opacity-0{opacity:0}.csdk-opacity-100{opacity:1}.csdk-opacity-50{opacity:.5}.csdk-opacity-80{opacity:.8}.csdk-shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.csdk-shadow-gray-500{--tw-shadow-color: #6b7280;--tw-shadow: var(--tw-shadow-colored)}.csdk-outline-0{outline-width:0px}.csdk-transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.csdk-transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.csdk-delay-150{transition-delay:.15s}.csdk-duration-500{transition-duration:.5s}.invalid\\:csdk-border-input:invalid{border-width:1px}.invalid\\:csdk-border-solid:invalid{border-style:solid}.invalid\\:csdk-border-semantic-error:invalid{border-color:#e74727}.hover\\:csdk-border-2:hover{border-width:2px}.hover\\:csdk-bg-interaction-primaryHovered:hover{background-color:#f2b900}.hover\\:csdk-bg-row-hover:hover{background-color:#e0e0e04d}.focus\\:csdk-border-input:focus{border-width:1px}.focus\\:csdk-border-solid:focus{border-style:solid}.focus\\:csdk-border-UI-default:focus{--tw-border-opacity: 1;border-color:rgb(110 115 125 / var(--tw-border-opacity))}.disabled\\:csdk-cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:csdk-opacity-30:disabled{opacity:.3}._container_1wquj_1{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:0 20px;text-align:center;margin:15px}._container_1wquj_1 ._card_1wquj_11{position:relative;padding:10px;box-shadow:0 2px 4px #0000001a;border-radius:4px;z-index:1;width:100%}._container_1wquj_1 ._text_1wquj_19{font-size:13px;text-align:center;font-weight:700;word-wrap:break-word}.highcharts-series.highcharts-area-series.area-series--without-pointer-events .highcharts-area{pointer-events:none}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::-moz-selection{background:transparent}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.csdk-map-container .leaflet-interactive{outline:none}.csdk-scattermap-tooltip-row{display:flex;justify-content:space-between}._alert_box_10ttx_1{position:absolute;display:flex;justify-content:center;z-index:1;margin-top:1%}._alert_box_10ttx_1 ._content_10ttx_8{background-color:#616161;padding:5px;border-radius:3px;text-align:center}._alert_box_10ttx_1 ._content_10ttx_8 ._alert_10ttx_1{color:#fff;margin:0 8px;line-height:1;font-size:12px}._wrapper_g0ngm_1{width:100%;height:100%;position:relative}._title_g0ngm_7{font-size:18px;color:#9ea2ab;letter-spacing:normal;text-align:center;position:absolute;width:100%;top:11%}._image_g0ngm_18{width:66.6%;height:100%;margin:0 auto;display:block}.fixedDataTableCellGroupLayout_cellGroup{backface-visibility:hidden;left:0;overflow:hidden;position:absolute;top:0;white-space:nowrap}.fixedDataTable_isRTL .fixedDataTableCellGroupLayout_cellGroup{right:0;left:auto}.fixedDataTableCellGroupLayout_cellGroup>.public_fixedDataTableCell_main{display:inline-block;vertical-align:top;white-space:normal}.fixedDataTableCellGroupLayout_cellGroupWrapper{position:absolute;top:0}.fixedDataTableCellLayout_main{border-right-style:solid;border-right-width:1px;border-width:0 1px 0 0;box-sizing:border-box;display:block;overflow:hidden;position:absolute;white-space:normal}.fixedDataTable_isRTL .fixedDataTableCellLayout_main{border-right-width:0;border-left-style:solid;border-left-width:1px}.fixedDataTableCellLayout_lastChild{border-width:0 1px 1px 0}.fixedDataTableCellLayout_alignRight{text-align:right}.fixedDataTableCellLayout_alignCenter{text-align:center}.fixedDataTableCellLayout_wrap{display:table-cell;vertical-align:middle;box-sizing:border-box}.fixedDataTableCellLayout_wrap1{display:table}.fixedDataTableCellLayout_wrap2{display:table-row}.fixedDataTableCellLayout_wrap3{display:table-cell;vertical-align:middle}.fixedDataTableCellLayout_columnResizerContainer{position:absolute;right:0;width:6px;z-index:1}.fixedDataTable_isRTL .fixedDataTableCellLayout_columnResizerContainer{left:0;right:auto}.fixedDataTableCellLayout_columnResizerContainer:hover{cursor:ew-resize}.fixedDataTableCellLayout_columnResizerContainer:hover .fixedDataTableCellLayout_columnResizerKnob{visibility:visible}.fixedDataTableCellLayout_columnResizerKnob{position:absolute;right:0;visibility:hidden;width:4px}.fixedDataTable_isRTL .fixedDataTableCellLayout_columnResizerKnob{left:0;right:auto}.fixedDataTableColumnResizerLineLayout_mouseArea{cursor:ew-resize;position:absolute;right:-5px;width:12px}.fixedDataTable_isRTL .fixedDataTableColumnResizerLineLayout_mouseArea{right:auto;left:-5px}.fixedDataTableColumnResizerLineLayout_main{border-right-style:solid;border-right-width:1px;box-sizing:border-box;position:absolute;z-index:10;pointer-events:none}.fixedDataTable_isRTL .fixedDataTableColumnResizerLineLayout_main{border-right-width:0;border-left-style:solid;border-left-width:1px}.fixedDataTableColumnResizerLineLayout_hiddenElem{display:none!important}.fixedDataTableLayout_main{border-style:solid;border-width:1px;box-sizing:border-box;overflow:hidden;position:relative}.fixedDataTableLayout_header,.fixedDataTableLayout_hasBottomBorder{border-bottom-style:solid;border-bottom-width:1px}.fixedDataTableLayout_footer .public_fixedDataTableCell_main{border-top-style:solid;border-top-width:1px}.fixedDataTableLayout_topShadow,.fixedDataTableLayout_bottomShadow{height:4px;left:0;position:absolute;right:0;z-index:1}.fixedDataTableLayout_bottomShadow{margin-top:-4px}.fixedDataTableLayout_rowsContainer{overflow:hidden;position:relative}.fixedDataTableRowLayout_main{box-sizing:border-box;overflow:hidden;position:absolute;top:0}.fixedDataTableRowLayout_body{left:0;right:0;position:absolute;top:0}.fixedDataTableRowLayout_rowExpanded{box-sizing:border-box;left:0;position:absolute}.fixedDataTableRowLayout_fixedColumnsDivider{backface-visibility:hidden;border-left-style:solid;border-left-width:1px;left:0;position:absolute;top:0;width:0}.fixedDataTable_isRTL .fixedDataTableRowLayout_fixedColumnsDivider{border-left-width:0;border-right-style:solid;border-right-width:1px}.fixedDataTableRowLayout_columnsShadow{position:absolute;width:4px}.fixedDataTableRowLayout_columnsRightShadow{right:1px}.fixedDataTable_isRTL .fixedDataTableRowLayout_columnsRightShadow{left:1px;right:auto}.fixedDataTableRowLayout_rowWrapper{position:absolute;top:0}.ScrollbarLayout_main{box-sizing:border-box;outline:none;overflow:hidden;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ScrollbarLayout_mainVertical{bottom:0;right:0;top:0;width:15px}.ScrollbarLayout_mainHorizontal{height:15px;left:0;transition-property:background-color height}.ScrollbarLayout_mainHorizontal.public_Scrollbar_mainActive,.ScrollbarLayout_mainHorizontal:hover{height:17px}.ScrollbarLayout_face{left:0;overflow:hidden;position:absolute;z-index:1;transition-duration:.25s;transition-timing-function:ease;transition-property:width}.ScrollbarLayout_face:after{border-radius:6px;content:"";display:block;position:absolute;transition:background-color .25s ease}.ScrollbarLayout_faceHorizontal{bottom:0;left:0;top:0}.ScrollbarLayout_faceHorizontal:after{bottom:4px;left:0;top:4px;width:100%}.fixedDataTable_isRTL .ScrollbarLayout_faceHorizontal,.fixedDataTable_isRTL .ScrollbarLayout_faceHorizontal:after{right:0;left:auto}.ScrollbarLayout_faceHorizontal.public_Scrollbar_faceActive:after,.ScrollbarLayout_main:hover .ScrollbarLayout_faceHorizontal:after{bottom:2px}.ScrollbarLayout_faceVertical{left:0;right:0;top:0}.ScrollbarLayout_faceVertical:after{height:100%;left:4px;right:4px;top:0}.ScrollbarLayout_main:hover .ScrollbarLayout_faceVertical:after,.ScrollbarLayout_faceVertical.public_Scrollbar_faceActive:after{left:2px;right:2px}.public_fixedDataTable_main,.public_fixedDataTable_header,.public_fixedDataTable_hasBottomBorder{border-color:#d3d3d3}.public_fixedDataTable_header .public_fixedDataTableCell_main{font-weight:700}.public_fixedDataTable_header,.public_fixedDataTable_scrollbarSpacer,.public_fixedDataTable_header .public_fixedDataTableCell_main{background-color:#f6f7f8;background-image:linear-gradient(#fff,#efefef)}.public_fixedDataTable_scrollbarSpacer{position:absolute;z-index:99;top:0}.public_fixedDataTable_footer .public_fixedDataTableCell_main{background-color:#f6f7f8;border-color:#d3d3d3}.public_fixedDataTable_topShadow{background-image:linear-gradient(180deg,#0000001a,#0000)}.public_fixedDataTable_bottomShadow{background-image:linear-gradient(0deg,#0000001a,#0000)}.public_fixedDataTable_horizontalScrollbar .public_Scrollbar_mainHorizontal{background-color:#fff}.public_fixedDataTableCell_main{background-color:#fff;border-color:#d3d3d3}.public_fixedDataTableCell_highlighted{background-color:#f4f4f4}.public_fixedDataTableCell_cellContent{padding:8px}.public_fixedDataTableCell_columnResizerKnob{background-color:#0284ff}.public_fixedDataTableCell_hasReorderHandle .public_fixedDataTableCell_wrap1 .public_fixedDataTableCell_cellContent{margin-left:12px}.public_fixedDataTableCell_hasReorderHandle .public_fixedDataTableCell_wrap.public_fixedDataTableCell_cellContent{padding-left:20px}.fixedDataTable_isRTL .public_fixedDataTableCell_hasReorderHandle .public_fixedDataTableCell_wrap1 .public_fixedDataTableCell_cellContent{margin-left:auto;margin-right:12px}.fixedDataTable_isRTL .public_fixedDataTableCell_hasReorderHandle .public_fixedDataTableCell_wrap.public_fixedDataTableCell_cellContent{padding-right:20px}.fixedDataTableCellLayout_columnReorderContainer{border-color:#0284ff;background-color:#0000001a;width:12px;margin-right:-12px;float:left;cursor:move}.fixedDataTable_isRTL .fixedDataTableCellLayout_columnReorderContainer{margin-right:auto;margin-left:-12px;float:right}.fixedDataTableCellLayout_columnReorderContainer:after{content:"::";position:absolute;top:50%;left:1px;transform:translateY(-50%)}.fixedDataTable_isRTL .fixedDataTableCellLayout_columnReorderContainer:after{left:auto;right:1px}.public_fixedDataTableColumnResizerLine_main{border-color:#0284ff}.public_fixedDataTableRow_main{background-color:#fff}.public_fixedDataTableRow_highlighted,.public_fixedDataTableRow_highlighted .public_fixedDataTableCell_main{background-color:#f6f7f8}.public_fixedDataTableRow_fixedColumnsDivider{border-color:#d3d3d3}.public_fixedDataTableRow_columnsShadow{background-image:linear-gradient(90deg,#0000001a,#0000)}.fixedDataTable_isRTL .public_fixedDataTableRow_columnsShadow{background-image:linear-gradient(270deg,#0000001a,#0000)}.public_fixedDataTableRow_columnsRightShadow{transform:rotate(180deg)}.public_Scrollbar_main.public_Scrollbar_mainActive,.public_Scrollbar_main{background-color:#fff;border-left:1px solid #d3d3d3}.fixedDataTable_isRTL .public_Scrollbar_main.public_Scrollbar_mainActive,.fixedDataTable_isRTL .public_Scrollbar_main{border-right:1px solid #d3d3d3;border-left-width:0}.public_Scrollbar_mainOpaque,.public_Scrollbar_mainOpaque.public_Scrollbar_mainActive,.public_Scrollbar_mainOpaque:hover{background-color:#fff}.public_Scrollbar_face:after{background-color:#c2c2c2}.public_Scrollbar_main:hover .public_Scrollbar_face:after,.public_Scrollbar_mainActive .public_Scrollbar_face:after,.public_Scrollbar_faceActive:after{background-color:#7d7d7d}._tableWrapper_1ode4_16 .public_fixedDataTable_header,._tableWrapper_1ode4_16 .public_fixedDataTable_scrollbarSpacer,._tableWrapper_1ode4_16 .public_fixedDataTable_header .public_fixedDataTableCell_main{background-color:transparent;background-image:none;border-bottom:1px solid #edeef1}._tableWrapper_1ode4_16 .public_fixedDataTable_scrollbarSpacer{margin-left:3px}._tableWrapper_1ode4_16 .public_fixedDataTable_main,._tableWrapper_1ode4_16 .fixedDataTableLayout_main{border:none}._tableWrapper_1ode4_16 .public_fixedDataTableRow_highlighted,._tableWrapper_1ode4_16 .public_fixedDataTableRow_highlighted .public_fixedDataTableCell_main,._tableWrapper_1ode4_16 .public_fixedDataTableRow_main{background-color:transparent}._tableWrapper_1ode4_16 .public_fixedDataTableCell_main{background-color:transparent;border-color:#edeef1}._tableWrapper_1ode4_16 .public_fixedDataTable_header,._tableWrapper_1ode4_16 .public_fixedDataTable_hasBottomBorder,._tableWrapper_1ode4_16 .public_fixedDataTable_scrollbarSpacer{border-bottom:none}._tableWrapper_1ode4_16 .public_fixedDataTable_header .fixedDataTableCellGroupLayout_cellGroup{border-top:1px solid #edeef1;border-bottom:1px solid #edeef1;box-sizing:border-box}._tableWrapper_1ode4_16 .public_Scrollbar_main{border-left:none;background-color:transparent}._tableWrapper_1ode4_16 .fixedDataTableRowLayout_rowWrapper{border-left:1px solid #edeef1}._tableWrapper_1ode4_16 .public_Scrollbar_main.public_Scrollbar_mainOpaque{left:-1px}._tableWrapper_1ode4_16 .public_fixedDataTableCell_cellContent{padding:0 24px 0 12px}._tableWrapper_1ode4_16{height:100%;width:100%;box-sizing:border-box;-webkit-user-select:text;-moz-user-select:text;user-select:text}._table_1ode4_16{background:transparent;font-size:13px;border:none}._tableHeader_1ode4_78{color:#5c6372;background-color:transparent;margin:0;border:none;width:100%;overflow:hidden;box-sizing:border-box}._tableCell_1ode4_88{color:#5c6372;background-color:transparent;border:none;border-right:1px solid #edeef1;border-bottom:1px solid #edeef1;overflow:hidden;width:100%;box-sizing:border-box}._tableCellContent_1ode4_99{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._headerColor_1ode4_105,._rowColor_1ode4_109{background-color:#f9f9fb}._headerCell_2qf2w_16{display:flex;justify-content:left;align-items:center;margin-left:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400;width:100%;cursor:pointer}._headerCell_2qf2w_16:hover ._noSort_2qf2w_29._standard_2qf2w_29{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjMiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00LjMxMyAxN2g3LjY2N2EuNDkuNDkgMCAwMS40NzkuNS40OS40OSAwIDAxLS40OC41SDQuMzE0YS40OS40OSAwIDAxLS40NzktLjVjMC0uMjc2LjIxNS0uNS40OC0uNXptNS43NS0zaC01Ljc1YS40OS40OSAwIDAwLS40NzkuNWMwIC4yNzYuMjE1LjUuNDguNWg1Ljc1YS40OS40OSAwIDAwLjQ3OC0uNS40OS40OSAwIDAwLS40NzktLjV6bS01Ljc1LTNoMy44MzNhLjQ5LjQ5IDAgMDEuNDguNS40OS40OSAwIDAxLS40OC41SDQuMzEzYS40OS40OSAwIDAxLS40NzktLjVjMC0uMjc2LjIxNS0uNS40OC0uNXptMC0zSDYuMjNhLjQ5LjQ5IDAgMDEuNDc5LjUuNDkuNDkgMCAwMS0uNDguNUg0LjMxNGEuNDkuNDkgMCAwMS0uNDc5LS41YzAtLjI3Ni4yMTUtLjUuNDgtLjV6bTEwLjU0MiAwYS40OS40OSAwIDAwLS40OC41djQuNzkzbC0yLjA1Ny0yLjE0N2EuNDY1LjQ2NSAwIDAwLS42NzggMCAuNTE1LjUxNSAwIDAwMCAuNzA4bDIuODY2IDIuOTlhLjQ2OC40NjggMCAwMC42OTYgMGwyLjg2Ni0yLjk5YS41MTYuNTE2IDAgMDAwLS43MDguNDY1LjQ2NSAwIDAwLS42NzggMGwtMi4wNTYgMi4xNDZWOC41YS40OS40OSAwIDAwLS40OC0uNXoiIGZpbGw9IiM1QzYzNzIiLz48L3N2Zz4K)}._headerCell_2qf2w_16:hover ._noSort_2qf2w_29._caret_2qf2w_33{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjk5OSAxMy44NGwzLjE3NS0yLjcxOWEuNS41IDAgMDEuNjUuNzZsLTMuNSAyLjk5OGEuNS41IDAgMDEtLjY1IDBsLTMuNS0yLjk5OGEuNS41IDAgMDEuNjUtLjc2TDEyIDEzLjg0MXoiIGZpbGw9IiM1QjYzNzIiLz48L3N2Zz4K);transform:rotate(180deg)}._headerLabel_2qf2w_38{text-align:left;overflow:hidden}._icon_2qf2w_43{margin-right:10px;width:20px;box-sizing:border-box;display:inline-block}._numberIcon_2qf2w_50{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTE3IDVINmEyIDIgMCAwIDAtMiAydjEwYTIgMiAwIDAgMCAyIDJoMTFhMiAyIDAgMCAwIDItMlY3YTIgMiAwIDAgMC0yLTJ6TTUgN2ExIDEgMCAwIDEgMS0xaDExYTEgMSAwIDAgMSAxIDF2MTBhMSAxIDAgMCAxLTEgMUg2YTEgMSAwIDAgMS0xLTFWN3ptNC41IDRoLjc2NmwtLjU3MiAySDguNWEuNS41IDAgMCAwIDAgMWguOTA5bC0uMzkgMS4zNjNhLjUuNSAwIDAgMCAuOTYyLjI3NEwxMC40NDkgMTRoMS45NmwtLjM5IDEuMzYzYS41LjUgMCAwIDAgLjk2Mi4yNzRMMTMuNDQ5IDE0SDE0LjVhLjUuNSAwIDAgMCAwLTFoLS43NjZsLjU3Mi0ySDE1LjVhLjUuNSAwIDAgMCAwLTFoLS45MDlsLjM5LTEuMzYzYS41LjUgMCAwIDAtLjk2Mi0uMjc0TDEzLjU1MSAxMGgtMS45NmwuMzktMS4zNjNhLjUuNSAwIDAgMC0uOTYyLS4yNzRMMTAuNTUxIDEwSDkuNWEuNS41IDAgMCAwIDAgMXptMy43NjYgMGgtMS45NmwtLjU3MiAyaDEuOTZsLjU3Mi0yeiIgZmlsbD0iIzVCNjM3MiIvPjwvc3ZnPgo=)}._dateIcon_2qf2w_54{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTkgNVYzLjVhLjUuNSAwIDAgMSAxIDBWNWgzVjMuNWEuNS41IDAgMCAxIDEgMFY1aDNhMiAyIDAgMCAxIDIgMnYxMGEyIDIgMCAwIDEtMiAySDZhMiAyIDAgMCAxLTItMlY3YTIgMiAwIDAgMSAyLTJoM3ptMSAxaDN2LjVhLjUuNSAwIDAgMCAxIDBWNmgzYTEgMSAwIDAgMSAxIDF2MUg1VjdhMSAxIDAgMCAxIDEtMWgzdi41YS41LjUgMCAwIDAgMSAwVjZ6TTUgMTdWOWgxM3Y4YTEgMSAwIDAgMS0xIDFINmExIDEgMCAwIDEtMS0xem05LjUtNWgtNmEuNS41IDAgMCAxIDAtMWg2YS41LjUgMCAwIDEgMCAxem0tNiAyaDZhLjUuNSAwIDAgMCAwLTFoLTZhLjUuNSAwIDAgMCAwIDF6bTYgMmgtNmEuNS41IDAgMCAxIDAtMWg2YS41LjUgMCAwIDEgMCAxeiIgZmlsbD0iIzVCNjM3MiIvPjwvc3ZnPgo=)}._textIcon_2qf2w_58{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTYgNWgxMWEyIDIgMCAwIDEgMiAydjEwYTIgMiAwIDAgMS0yIDJINmEyIDIgMCAwIDEtMi0yVjdhMiAyIDAgMCAxIDItMnptMCAxYTEgMSAwIDAgMC0xIDF2MTBhMSAxIDAgMCAwIDEgMWgxMWExIDEgMCAwIDAgMS0xVjdhMSAxIDAgMCAwLTEtMUg2em04IDEwSDlhLjUuNSAwIDAgMSAwLTFoMlY5SDguNWEuNS41IDAgMCAwLS41LjV2MmEuNS41IDAgMCAxLTEgMHYtMkExLjUgMS41IDAgMCAxIDguNSA4aDZBMS41IDEuNSAwIDAgMSAxNiA5LjV2MmEuNS41IDAgMCAxLTEgMHYtMmEuNS41IDAgMCAwLS41LS41SDEydjZoMmEuNS41IDAgMCAxIDAgMXoiIGZpbGw9IiM1QjYzNzIiLz48L3N2Zz4K)}._booleanIcon_2qf2w_62{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTE3IDVINmEyIDIgMCAwIDAtMiAydjEwYTIgMiAwIDAgMCAyIDJoMTFhMiAyIDAgMCAwIDItMlY3YTIgMiAwIDAgMC0yLTJ6TTUgN2ExIDEgMCAwIDEgMS0xaDExYTEgMSAwIDAgMSAxIDF2MTBhMSAxIDAgMCAxLTEgMUg2YTEgMSAwIDAgMS0xLTFWN3oiIGZpbGw9IiM1QjYzNzIiLz48cGF0aCBkPSJNOC44IDE1LjM5NGEuNS41IDAgMCAxLS4xLS43TDEzLjQyOCA4LjRhLjUuNSAwIDEgMSAuOC42TDkuNSAxNS4yOTRhLjUuNSAwIDAgMS0uNy4xeiIgZmlsbD0iIzVCNjM3MiIvPjxyZWN0IHg9IjYiIHk9IjgiIHdpZHRoPSI1IiBoZWlnaHQ9IjEiIHJ4PSIuNSIgZmlsbD0iIzVCNjM3MiIvPjxwYXRoIGQ9Ik04LjUgOGEuNS41IDAgMCAxIC41LjV2NGEuNS41IDAgMCAxLTEgMHYtNGEuNS41IDAgMCAxIC41LS41eiIgZmlsbD0iIzVCNjM3MiIvPjxyZWN0IHg9IjEzIiB5PSIxMiIgd2lkdGg9IjQiIGhlaWdodD0iMSIgcng9Ii41IiBmaWxsPSIjNUI2MzcyIi8+PHJlY3QgeD0iMTMiIHk9IjE0IiB3aWR0aD0iMyIgaGVpZ2h0PSIxIiByeD0iLjUiIGZpbGw9IiM1QjYzNzIiLz48cGF0aCBkPSJNMTMuNSAxMmEuNS41IDAgMCAxIC41LjV2NGEuNS41IDAgMCAxLTEgMHYtNGEuNS41IDAgMCAxIC41LS41eiIgZmlsbD0iIzVCNjM3MiIvPjwvc3ZnPgo=)}._sortIcon_2qf2w_66{position:absolute;right:0;width:24px;height:24px;background-repeat:no-repeat}._sortAscending_2qf2w_74._standard_2qf2w_29{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjMiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00LjMxMyAxN2g3LjY2N2EuNDkuNDkgMCAwMS40NzkuNS40OS40OSAwIDAxLS40OC41SDQuMzE0YS40OS40OSAwIDAxLS40NzktLjVjMC0uMjc2LjIxNS0uNS40OC0uNXptNS43NS0zaC01Ljc1YS40OS40OSAwIDAwLS40NzkuNWMwIC4yNzYuMjE1LjUuNDguNWg1Ljc1YS40OS40OSAwIDAwLjQ3OC0uNS40OS40OSAwIDAwLS40NzktLjV6bS01Ljc1LTNoMy44MzNhLjQ5LjQ5IDAgMDEuNDguNS40OS40OSAwIDAxLS40OC41SDQuMzEzYS40OS40OSAwIDAxLS40NzktLjVjMC0uMjc2LjIxNS0uNS40OC0uNXptMC0zSDYuMjNhLjQ5LjQ5IDAgMDEuNDc5LjUuNDkuNDkgMCAwMS0uNDguNUg0LjMxNGEuNDkuNDkgMCAwMS0uNDc5LS41YzAtLjI3Ni4yMTUtLjUuNDgtLjV6bTEwLjU0MiAwYS40OS40OSAwIDAwLS40OC41djQuNzkzbC0yLjA1Ny0yLjE0N2EuNDY1LjQ2NSAwIDAwLS42NzggMCAuNTE1LjUxNSAwIDAwMCAuNzA4bDIuODY2IDIuOTlhLjQ2OC40NjggMCAwMC42OTYgMGwyLjg2Ni0yLjk5YS41MTYuNTE2IDAgMDAwLS43MDguNDY1LjQ2NSAwIDAwLS42NzggMGwtMi4wNTYgMi4xNDZWOC41YS40OS40OSAwIDAwLS40OC0uNXoiIGZpbGw9IiM1QzYzNzIiLz48L3N2Zz4K)}._sortDescending_2qf2w_78._standard_2qf2w_29{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjMiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00LjMxMyA3aDcuNjY3YS40OS40OSAwIDAwLjQ3OS0uNS40OS40OSAwIDAwLS40OC0uNUg0LjMxNGEuNDkuNDkgMCAwMC0uNDc5LjVjMCAuMjc2LjIxNS41LjQ4LjV6bTUuNzUgM2gtNS43NWEuNDkuNDkgMCAwMS0uNDc5LS41YzAtLjI3Ni4yMTUtLjUuNDgtLjVoNS43NWEuNDkuNDkgMCAwMS40NzguNS40OS40OSAwIDAxLS40NzkuNXptLTUuNzUgM2gzLjgzM2EuNDkuNDkgMCAwMC40OC0uNS40OS40OSAwIDAwLS40OC0uNUg0LjMxM2EuNDkuNDkgMCAwMC0uNDc5LjVjMCAuMjc2LjIxNS41LjQ4LjV6bTAgM0g2LjIzYS40OS40OSAwIDAwLjQ3OS0uNS40OS40OSAwIDAwLS40OC0uNUg0LjMxNGEuNDkuNDkgMCAwMC0uNDc5LjVjMCAuMjc2LjIxNS41LjQ4LjV6bTEwLjU0MiAwYS40OS40OSAwIDAxLS40OC0uNXYtNC43OTNsLTIuMDU3IDIuMTQ3YS40NjUuNDY1IDAgMDEtLjY3OCAwIC41MTUuNTE1IDAgMDEwLS43MDhsMi44NjYtMi45OWEuNDY4LjQ2OCAwIDAxLjY5NiAwbDIuODY2IDIuOTlhLjUxNi41MTYgMCAwMTAgLjcwOC40NjUuNDY1IDAgMDEtLjY3OCAwbC0yLjA1Ni0yLjE0NlYxNS41YS40OS40OSAwIDAxLS40OC41eiIgZmlsbD0iIzVDNjM3MiIvPjwvc3ZnPgo=)}._sortAscending_2qf2w_74._caret_2qf2w_33{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjk5OSAxMy44NGwzLjE3NS0yLjcxOWEuNS41IDAgMDEuNjUuNzZsLTMuNSAyLjk5OGEuNS41IDAgMDEtLjY1IDBsLTMuNS0yLjk5OGEuNS41IDAgMDEuNjUtLjc2TDEyIDEzLjg0MXoiIGZpbGw9IiM1QjYzNzIiLz48L3N2Zz4K);transform:rotate(180deg)}._sortAscending_2qf2w_74._caret_2qf2w_33:hover{transform:rotate(0)}._sortDescending_2qf2w_78._caret_2qf2w_33{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjk5OSAxMy44NGwzLjE3NS0yLjcxOWEuNS41IDAgMDEuNjUuNzZsLTMuNSAyLjk5OGEuNS41IDAgMDEtLjY1IDBsLTMuNS0yLjk5OGEuNS41IDAgMDEuNjUtLjc2TDEyIDEzLjg0MXoiIGZpbGw9IiM1QjYzNzIiLz48L3N2Zz4K)}._sortDescending_2qf2w_78._caret_2qf2w_33:hover{transform:rotate(180deg)}._headerLabel_2qf2w_38{text-align:left;flex-grow:1}._headerLabel_2qf2w_38,._headerLabel_2qf2w_38 *{overflow:hidden;text-overflow:ellipsis}._icon_t30x8_1{width:24px;height:24px;margin-right:5px;box-sizing:border-box;display:inline-block;background-repeat:no-repeat;flex-grow:0}._numberIcon_t30x8_11{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTE3IDVINmEyIDIgMCAwIDAtMiAydjEwYTIgMiAwIDAgMCAyIDJoMTFhMiAyIDAgMCAwIDItMlY3YTIgMiAwIDAgMC0yLTJ6TTUgN2ExIDEgMCAwIDEgMS0xaDExYTEgMSAwIDAgMSAxIDF2MTBhMSAxIDAgMCAxLTEgMUg2YTEgMSAwIDAgMS0xLTFWN3ptNC41IDRoLjc2NmwtLjU3MiAySDguNWEuNS41IDAgMCAwIDAgMWguOTA5bC0uMzkgMS4zNjNhLjUuNSAwIDAgMCAuOTYyLjI3NEwxMC40NDkgMTRoMS45NmwtLjM5IDEuMzYzYS41LjUgMCAwIDAgLjk2Mi4yNzRMMTMuNDQ5IDE0SDE0LjVhLjUuNSAwIDAgMCAwLTFoLS43NjZsLjU3Mi0ySDE1LjVhLjUuNSAwIDAgMCAwLTFoLS45MDlsLjM5LTEuMzYzYS41LjUgMCAwIDAtLjk2Mi0uMjc0TDEzLjU1MSAxMGgtMS45NmwuMzktMS4zNjNhLjUuNSAwIDAgMC0uOTYyLS4yNzRMMTAuNTUxIDEwSDkuNWEuNS41IDAgMCAwIDAgMXptMy43NjYgMGgtMS45NmwtLjU3MiAyaDEuOTZsLjU3Mi0yeiIgZmlsbD0iIzVCNjM3MiIvPjwvc3ZnPgo=)}._dateIcon_t30x8_15{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTkgNVYzLjVhLjUuNSAwIDAgMSAxIDBWNWgzVjMuNWEuNS41IDAgMCAxIDEgMFY1aDNhMiAyIDAgMCAxIDIgMnYxMGEyIDIgMCAwIDEtMiAySDZhMiAyIDAgMCAxLTItMlY3YTIgMiAwIDAgMSAyLTJoM3ptMSAxaDN2LjVhLjUuNSAwIDAgMCAxIDBWNmgzYTEgMSAwIDAgMSAxIDF2MUg1VjdhMSAxIDAgMCAxIDEtMWgzdi41YS41LjUgMCAwIDAgMSAwVjZ6TTUgMTdWOWgxM3Y4YTEgMSAwIDAgMS0xIDFINmExIDEgMCAwIDEtMS0xem05LjUtNWgtNmEuNS41IDAgMCAxIDAtMWg2YS41LjUgMCAwIDEgMCAxem0tNiAyaDZhLjUuNSAwIDAgMCAwLTFoLTZhLjUuNSAwIDAgMCAwIDF6bTYgMmgtNmEuNS41IDAgMCAxIDAtMWg2YS41LjUgMCAwIDEgMCAxeiIgZmlsbD0iIzVCNjM3MiIvPjwvc3ZnPgo=)}._textIcon_t30x8_19{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTYgNWgxMWEyIDIgMCAwIDEgMiAydjEwYTIgMiAwIDAgMS0yIDJINmEyIDIgMCAwIDEtMi0yVjdhMiAyIDAgMCAxIDItMnptMCAxYTEgMSAwIDAgMC0xIDF2MTBhMSAxIDAgMCAwIDEgMWgxMWExIDEgMCAwIDAgMS0xVjdhMSAxIDAgMCAwLTEtMUg2em04IDEwSDlhLjUuNSAwIDAgMSAwLTFoMlY5SDguNWEuNS41IDAgMCAwLS41LjV2MmEuNS41IDAgMCAxLTEgMHYtMkExLjUgMS41IDAgMCAxIDguNSA4aDZBMS41IDEuNSAwIDAgMSAxNiA5LjV2MmEuNS41IDAgMCAxLTEgMHYtMmEuNS41IDAgMCAwLS41LS41SDEydjZoMmEuNS41IDAgMCAxIDAgMXoiIGZpbGw9IiM1QjYzNzIiLz48L3N2Zz4K)}._booleanIcon_t30x8_23{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTE3IDVINmEyIDIgMCAwIDAtMiAydjEwYTIgMiAwIDAgMCAyIDJoMTFhMiAyIDAgMCAwIDItMlY3YTIgMiAwIDAgMC0yLTJ6TTUgN2ExIDEgMCAwIDEgMS0xaDExYTEgMSAwIDAgMSAxIDF2MTBhMSAxIDAgMCAxLTEgMUg2YTEgMSAwIDAgMS0xLTFWN3oiIGZpbGw9IiM1QjYzNzIiLz48cGF0aCBkPSJNOC44IDE1LjM5NGEuNS41IDAgMCAxLS4xLS43TDEzLjQyOCA4LjRhLjUuNSAwIDEgMSAuOC42TDkuNSAxNS4yOTRhLjUuNSAwIDAgMS0uNy4xeiIgZmlsbD0iIzVCNjM3MiIvPjxyZWN0IHg9IjYiIHk9IjgiIHdpZHRoPSI1IiBoZWlnaHQ9IjEiIHJ4PSIuNSIgZmlsbD0iIzVCNjM3MiIvPjxwYXRoIGQ9Ik04LjUgOGEuNS41IDAgMCAxIC41LjV2NGEuNS41IDAgMCAxLTEgMHYtNGEuNS41IDAgMCAxIC41LS41eiIgZmlsbD0iIzVCNjM3MiIvPjxyZWN0IHg9IjEzIiB5PSIxMiIgd2lkdGg9IjQiIGhlaWdodD0iMSIgcng9Ii41IiBmaWxsPSIjNUI2MzcyIi8+PHJlY3QgeD0iMTMiIHk9IjE0IiB3aWR0aD0iMyIgaGVpZ2h0PSIxIiByeD0iLjUiIGZpbGw9IiM1QjYzNzIiLz48cGF0aCBkPSJNMTMuNSAxMmEuNS41IDAgMCAxIC41LjV2NGEuNS41IDAgMCAxLTEgMHYtNGEuNS41IDAgMCAxIC41LS41eiIgZmlsbD0iIzVCNjM3MiIvPjwvc3ZnPgo=)}._component_1rw9b_1{flex-grow:1;font-family:Open Sans}.csdk-drilldown-hierarchy-nested-menu-item .csdk-menu-item-content{position:relative;padding-left:13px}.csdk-drilldown-hierarchy-nested-menu-item .csdk-menu-item-content:before{top:2px;left:0;position:absolute;content:"";display:block;height:14px;width:1px;background:#c3c3c3}.react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__navigation-icon:before{border-color:#ccc;border-style:solid;border-width:3px 3px 0 0;content:"";display:block;height:9px;position:absolute;top:6px;width:9px}.react-datepicker-wrapper{display:inline-block;padding:0;border:0}.react-datepicker{font-family:Helvetica Neue,helvetica,arial,sans-serif;font-size:.8rem;background-color:#fff;color:#000;border:1px solid #aeaeae;border-radius:.3rem;display:inline-block;position:relative;line-height:initial}.react-datepicker--time-only .react-datepicker__time-container{border-left:0}.react-datepicker--time-only .react-datepicker__time,.react-datepicker--time-only .react-datepicker__time-box{border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.react-datepicker-popper{z-index:1;line-height:0}.react-datepicker-popper .react-datepicker__triangle{stroke:#aeaeae}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle{fill:#f0f0f0;color:#f0f0f0}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle{fill:#fff;color:#fff}.react-datepicker__header{text-align:center;background-color:#f0f0f0;border-bottom:1px solid #aeaeae;border-top-left-radius:.3rem;padding:8px 0;position:relative}.react-datepicker__header--time{padding-bottom:8px;padding-left:5px;padding-right:5px}.react-datepicker__header--time:not(.react-datepicker__header--time--only){border-top-left-radius:0}.react-datepicker__header:not(.react-datepicker__header--has-time-select){border-top-right-radius:.3rem}.react-datepicker__year-dropdown-container--select,.react-datepicker__month-dropdown-container--select,.react-datepicker__month-year-dropdown-container--select,.react-datepicker__year-dropdown-container--scroll,.react-datepicker__month-dropdown-container--scroll,.react-datepicker__month-year-dropdown-container--scroll{display:inline-block;margin:0 15px}.react-datepicker__current-month,.react-datepicker-time__header,.react-datepicker-year-header{margin-top:0;color:#000;font-weight:700;font-size:.944rem}h2.react-datepicker__current-month{padding:0;margin:0}.react-datepicker-time__header{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.react-datepicker__navigation{align-items:center;background:none;display:flex;justify-content:center;text-align:center;cursor:pointer;position:absolute;top:2px;padding:0;border:none;z-index:1;height:32px;width:32px;text-indent:-999em;overflow:hidden}.react-datepicker__navigation--previous{left:2px}.react-datepicker__navigation--next{right:2px}.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button){right:85px}.react-datepicker__navigation--years{position:relative;top:0;display:block;margin-left:auto;margin-right:auto}.react-datepicker__navigation--years-previous{top:4px}.react-datepicker__navigation--years-upcoming{top:-4px}.react-datepicker__navigation:hover *:before{border-color:#a6a6a6}.react-datepicker__navigation-icon{position:relative;top:-1px;font-size:20px;width:0}.react-datepicker__navigation-icon--next{left:-2px}.react-datepicker__navigation-icon--next:before{transform:rotate(45deg);left:-7px}.react-datepicker__navigation-icon--previous{right:-2px}.react-datepicker__navigation-icon--previous:before{transform:rotate(225deg);right:-7px}.react-datepicker__month-container{float:left}.react-datepicker__year{margin:.4rem;text-align:center}.react-datepicker__year-wrapper{display:flex;flex-wrap:wrap;max-width:180px}.react-datepicker__year .react-datepicker__year-text{display:inline-block;width:4rem;margin:2px}.react-datepicker__month{margin:.4rem;text-align:center}.react-datepicker__month .react-datepicker__month-text,.react-datepicker__month .react-datepicker__quarter-text{display:inline-block;width:4rem;margin:2px}.react-datepicker__input-time-container{clear:both;width:100%;float:left;margin:5px 0 10px 15px;text-align:left}.react-datepicker__input-time-container .react-datepicker-time__caption,.react-datepicker__input-time-container .react-datepicker-time__input-container{display:inline-block}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input{display:inline-block;margin-left:10px}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input{width:auto}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]{-moz-appearance:textfield}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter{margin-left:5px;display:inline-block}.react-datepicker__time-container{float:right;border-left:1px solid #aeaeae;width:85px}.react-datepicker__time-container--with-today-button{display:inline;border:1px solid #aeaeae;border-radius:.3rem;position:absolute;right:-87px;top:0}.react-datepicker__time-container .react-datepicker__time{position:relative;background:#fff;border-bottom-right-radius:.3rem}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box{width:85px;overflow-x:hidden;margin:0 auto;text-align:center;border-bottom-right-radius:.3rem}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list{list-style:none;margin:0;height:calc(195px + .85rem);overflow-y:scroll;padding-right:0;padding-left:0;width:100%;box-sizing:content-box}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item{height:30px;padding:5px 10px;white-space:nowrap}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover{cursor:pointer;background-color:#f0f0f0}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected{background-color:#216ba5;color:#fff;font-weight:700}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover{background-color:#216ba5}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled{color:#ccc}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover{cursor:default;background-color:transparent}.react-datepicker__week-number{color:#ccc;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}.react-datepicker__week-number.react-datepicker__week-number--clickable{cursor:pointer}.react-datepicker__week-number.react-datepicker__week-number--clickable:not(.react-datepicker__week-number--selected,.react-datepicker__week-number--keyboard-selected):hover{border-radius:.3rem;background-color:#f0f0f0}.react-datepicker__week-number--selected{border-radius:.3rem;background-color:#216ba5;color:#fff}.react-datepicker__week-number--selected:hover{background-color:#1d5d90}.react-datepicker__week-number--keyboard-selected{border-radius:.3rem;background-color:#2a87d0;color:#fff}.react-datepicker__week-number--keyboard-selected:hover{background-color:#1d5d90}.react-datepicker__day-names{white-space:nowrap;margin-bottom:-8px}.react-datepicker__week{white-space:nowrap}.react-datepicker__day-name,.react-datepicker__day,.react-datepicker__time-name{color:#000;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}.react-datepicker__day,.react-datepicker__month-text,.react-datepicker__quarter-text,.react-datepicker__year-text{cursor:pointer}.react-datepicker__day:hover,.react-datepicker__month-text:hover,.react-datepicker__quarter-text:hover,.react-datepicker__year-text:hover{border-radius:.3rem;background-color:#f0f0f0}.react-datepicker__day--today,.react-datepicker__month-text--today,.react-datepicker__quarter-text--today,.react-datepicker__year-text--today{font-weight:700}.react-datepicker__day--highlighted,.react-datepicker__month-text--highlighted,.react-datepicker__quarter-text--highlighted,.react-datepicker__year-text--highlighted{border-radius:.3rem;background-color:#3dcc4a;color:#fff}.react-datepicker__day--highlighted:hover,.react-datepicker__month-text--highlighted:hover,.react-datepicker__quarter-text--highlighted:hover,.react-datepicker__year-text--highlighted:hover{background-color:#32be3f}.react-datepicker__day--highlighted-custom-1,.react-datepicker__month-text--highlighted-custom-1,.react-datepicker__quarter-text--highlighted-custom-1,.react-datepicker__year-text--highlighted-custom-1{color:#f0f}.react-datepicker__day--highlighted-custom-2,.react-datepicker__month-text--highlighted-custom-2,.react-datepicker__quarter-text--highlighted-custom-2,.react-datepicker__year-text--highlighted-custom-2{color:green}.react-datepicker__day--holidays,.react-datepicker__month-text--holidays,.react-datepicker__quarter-text--holidays,.react-datepicker__year-text--holidays{position:relative;border-radius:.3rem;background-color:#ff6803;color:#fff}.react-datepicker__day--holidays .overlay,.react-datepicker__month-text--holidays .overlay,.react-datepicker__quarter-text--holidays .overlay,.react-datepicker__year-text--holidays .overlay{position:absolute;bottom:100%;left:50%;transform:translate(-50%);background-color:#333;color:#fff;padding:4px;border-radius:4px;white-space:nowrap;visibility:hidden;opacity:0;transition:visibility 0s,opacity .3s ease-in-out}.react-datepicker__day--holidays:hover,.react-datepicker__month-text--holidays:hover,.react-datepicker__quarter-text--holidays:hover,.react-datepicker__year-text--holidays:hover{background-color:#cf5300}.react-datepicker__day--holidays:hover .overlay,.react-datepicker__month-text--holidays:hover .overlay,.react-datepicker__quarter-text--holidays:hover .overlay,.react-datepicker__year-text--holidays:hover .overlay{visibility:visible;opacity:1}.react-datepicker__day--selected,.react-datepicker__day--in-selecting-range,.react-datepicker__day--in-range,.react-datepicker__month-text--selected,.react-datepicker__month-text--in-selecting-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--selected,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--selected,.react-datepicker__year-text--in-selecting-range,.react-datepicker__year-text--in-range{border-radius:.3rem;background-color:#216ba5;color:#fff}.react-datepicker__day--selected:hover,.react-datepicker__day--in-selecting-range:hover,.react-datepicker__day--in-range:hover,.react-datepicker__month-text--selected:hover,.react-datepicker__month-text--in-selecting-range:hover,.react-datepicker__month-text--in-range:hover,.react-datepicker__quarter-text--selected:hover,.react-datepicker__quarter-text--in-selecting-range:hover,.react-datepicker__quarter-text--in-range:hover,.react-datepicker__year-text--selected:hover,.react-datepicker__year-text--in-selecting-range:hover,.react-datepicker__year-text--in-range:hover{background-color:#1d5d90}.react-datepicker__day--keyboard-selected,.react-datepicker__month-text--keyboard-selected,.react-datepicker__quarter-text--keyboard-selected,.react-datepicker__year-text--keyboard-selected{border-radius:.3rem;background-color:#bad9f1;color:#000}.react-datepicker__day--keyboard-selected:hover,.react-datepicker__month-text--keyboard-selected:hover,.react-datepicker__quarter-text--keyboard-selected:hover,.react-datepicker__year-text--keyboard-selected:hover{background-color:#1d5d90}.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range){background-color:#216ba580}.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range){background-color:#f0f0f0;color:#000}.react-datepicker__day--disabled,.react-datepicker__month-text--disabled,.react-datepicker__quarter-text--disabled,.react-datepicker__year-text--disabled{cursor:default;color:#ccc}.react-datepicker__day--disabled:hover,.react-datepicker__month-text--disabled:hover,.react-datepicker__quarter-text--disabled:hover,.react-datepicker__year-text--disabled:hover{background-color:transparent}.react-datepicker__day--disabled .overlay,.react-datepicker__month-text--disabled .overlay,.react-datepicker__quarter-text--disabled .overlay,.react-datepicker__year-text--disabled .overlay{position:absolute;bottom:70%;left:50%;transform:translate(-50%);background-color:#333;color:#fff;padding:4px;border-radius:4px;white-space:nowrap;visibility:hidden;opacity:0;transition:visibility 0s,opacity .3s ease-in-out}.react-datepicker__input-container{position:relative;display:inline-block;width:100%}.react-datepicker__input-container .react-datepicker__calendar-icon{position:absolute;padding:.5rem;box-sizing:content-box}.react-datepicker__view-calendar-icon input{padding:6px 10px 5px 25px}.react-datepicker__year-read-view,.react-datepicker__month-read-view,.react-datepicker__month-year-read-view{border:1px solid transparent;border-radius:.3rem;position:relative}.react-datepicker__year-read-view:hover,.react-datepicker__month-read-view:hover,.react-datepicker__month-year-read-view:hover{cursor:pointer}.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow{border-top-color:#b3b3b3}.react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow{transform:rotate(135deg);right:-16px;top:0}.react-datepicker__year-dropdown,.react-datepicker__month-dropdown,.react-datepicker__month-year-dropdown{background-color:#f0f0f0;position:absolute;width:50%;left:25%;top:30px;z-index:1;text-align:center;border-radius:.3rem;border:1px solid #aeaeae}.react-datepicker__year-dropdown:hover,.react-datepicker__month-dropdown:hover,.react-datepicker__month-year-dropdown:hover{cursor:pointer}.react-datepicker__year-dropdown--scrollable,.react-datepicker__month-dropdown--scrollable,.react-datepicker__month-year-dropdown--scrollable{height:150px;overflow-y:scroll}.react-datepicker__year-option,.react-datepicker__month-option,.react-datepicker__month-year-option{line-height:20px;width:100%;display:block;margin-left:auto;margin-right:auto}.react-datepicker__year-option:first-of-type,.react-datepicker__month-option:first-of-type,.react-datepicker__month-year-option:first-of-type{border-top-left-radius:.3rem;border-top-right-radius:.3rem}.react-datepicker__year-option:last-of-type,.react-datepicker__month-option:last-of-type,.react-datepicker__month-year-option:last-of-type{-webkit-user-select:none;-moz-user-select:none;user-select:none;border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.react-datepicker__year-option:hover,.react-datepicker__month-option:hover,.react-datepicker__month-year-option:hover{background-color:#ccc}.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming{border-bottom-color:#b3b3b3}.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous{border-top-color:#b3b3b3}.react-datepicker__year-option--selected,.react-datepicker__month-option--selected,.react-datepicker__month-year-option--selected{position:absolute;left:15px}.react-datepicker__close-icon{cursor:pointer;background-color:transparent;border:0;outline:0;padding:0 6px 0 0;position:absolute;top:0;right:0;height:100%;display:table-cell;vertical-align:middle}.react-datepicker__close-icon:after{cursor:pointer;background-color:#216ba5;color:#fff;border-radius:50%;height:16px;width:16px;padding:2px;font-size:12px;line-height:1;text-align:center;display:table-cell;vertical-align:middle;content:"×"}.react-datepicker__close-icon--disabled{cursor:default}.react-datepicker__close-icon--disabled:after{cursor:default;background-color:#ccc}.react-datepicker__today-button{background:#f0f0f0;border-top:1px solid #aeaeae;cursor:pointer;text-align:center;font-weight:700;padding:5px 0;clear:left}.react-datepicker__portal{position:fixed;width:100vw;height:100vh;background-color:#000c;left:0;top:0;justify-content:center;align-items:center;display:flex;z-index:2147483647}.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__time-name{width:3rem;line-height:3rem}@media (max-width: 400px),(max-height: 550px){.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__time-name{width:2rem;line-height:2rem}}.react-datepicker__portal .react-datepicker__current-month,.react-datepicker__portal .react-datepicker-time__header{font-size:1.44rem}.react-datepicker__children-container{width:13.8rem;margin:.4rem;padding-right:.2rem;padding-left:.2rem;height:auto}.react-datepicker__aria-live{position:absolute;clip-path:circle(0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;white-space:nowrap}.react-datepicker__calendar-icon{width:1em;height:1em;vertical-align:-.125em}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|