@sisense/sdk-ui 2.12.0 → 2.13.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 +18 -18
- package/dist/ai.js +622 -612
- package/dist/analytics-composer/node.cjs +1 -1
- package/dist/analytics-composer/node.js +252 -217
- package/dist/analytics-composer.cjs +18 -18
- package/dist/analytics-composer.js +18 -9
- package/dist/{derive-chart-family-YIDiS_iY.js → derive-chart-family-BcASqlOf.js} +7537 -7379
- package/dist/{derive-chart-family-mugR7Ty1.cjs → derive-chart-family-Ca1NT5US.cjs} +49 -53
- package/dist/{dimensions-CyzZ0dbM.cjs → dimensions-DCT9XInO.cjs} +1 -1
- package/dist/{dimensions-DmRfLrT-.js → dimensions-DOxD1XtL.js} +1 -1
- package/dist/execute-query-CvH_36GC.cjs +1 -0
- package/dist/{execute-query-BCEeyd9s.js → execute-query-JhI9RXe_.js} +1263 -1217
- package/dist/index.cjs +23 -23
- package/dist/index.js +6431 -6208
- package/dist/index.umd.js +263 -271
- package/dist/packages/sdk-ui/src/ai/index.d.ts +1 -1
- package/dist/packages/sdk-ui/src/ai/use-get-nlq-result.d.ts +22 -1
- package/dist/packages/sdk-ui/src/app/client-application.d.ts +3 -2
- package/dist/packages/sdk-ui/src/app/settings/settings.d.ts +49 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/design-options/index.d.ts +2 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/types.d.ts +4 -0
- package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/series-processor.d.ts +14 -14
- package/dist/packages/sdk-ui/src/chart-options-processor/series-labels.d.ts +20 -17
- package/dist/packages/sdk-ui/src/chart-options-processor/stack-labels.d.ts +18 -22
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/axis-section.d.ts +3 -2
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/design-options.d.ts +3 -3
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/legend-section.d.ts +3 -2
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/pie-plot-options.d.ts +3 -3
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/value-label-section.d.ts +3 -2
- package/dist/packages/sdk-ui/src/dashboard/components/toolbar/edit-toggle.d.ts +25 -0
- package/dist/packages/sdk-ui/src/dashboard/constants.d.ts +2 -2
- package/dist/packages/sdk-ui/src/dashboard/hooks/use-tabber.d.ts +25 -10
- package/dist/packages/sdk-ui/src/dashboard/index.d.ts +1 -1
- package/dist/packages/sdk-ui/src/dashboard/types.d.ts +7 -7
- package/dist/packages/sdk-ui/src/dashboard/use-composed-dashboard.d.ts +1 -1
- package/dist/packages/sdk-ui/src/index.d.ts +2 -0
- package/dist/packages/sdk-ui/src/models/dashboard/dashboard-model.d.ts +15 -3
- package/dist/packages/sdk-ui/src/models/dashboard/translate-dashboard-utils.d.ts +3 -2
- package/dist/packages/sdk-ui/src/models/dashboard/types.d.ts +1 -10
- package/dist/packages/sdk-ui/src/models/widget/widget-model-translator/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/models/widget/widget-model-translator/tabber.d.ts +21 -0
- package/dist/packages/sdk-ui/src/models/widget/{widget-model-translator.d.ts → widget-model-translator/widget-model-translator.d.ts} +15 -15
- package/dist/packages/sdk-ui/src/models/widget/widget-model.d.ts +6 -0
- package/dist/packages/sdk-ui/src/pivot-table/hooks/use-render-pivot.d.ts +5 -1
- package/dist/packages/sdk-ui/src/props.d.ts +8 -20
- package/dist/packages/sdk-ui/src/types.d.ts +57 -63
- package/dist/packages/sdk-ui/src/utils/gradient.d.ts +396 -0
- package/dist/packages/sdk-ui/src/utils/omit-undefined.d.ts +21 -0
- package/dist/packages/sdk-ui/src/widget-by-id/translate-widget-style-options/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/widget-by-id/translate-widget-style-options/tabber.d.ts +23 -0
- package/dist/packages/sdk-ui/src/widget-by-id/{translate-widget-style-options.d.ts → translate-widget-style-options/translate-widget-style-options.d.ts} +4 -4
- package/dist/packages/sdk-ui/src/widget-by-id/types.d.ts +38 -3
- package/dist/packages/sdk-ui/src/widget-by-id/utils.d.ts +30 -2
- package/dist/packages/sdk-ui/src/widgets/tabber/tabber-buttons-widget.d.ts +8 -0
- package/dist/packages/sdk-ui/src/widgets/tabber/types.d.ts +110 -0
- package/dist/{types-CevYjGN4.cjs → types-Cl0_Tfey.cjs} +1 -1
- package/dist/{types-DVAfvbpR.js → types-CnFd03Ga.js} +1 -1
- package/dist/{use-common-filters-BXdnB4GI.cjs → use-common-filters-WTVrWfsY.cjs} +174 -174
- package/dist/{use-common-filters-DIF4c8WP.js → use-common-filters-qFWk1Ia5.js} +11458 -11419
- package/dist/{widget-composer-C0lZpwN6.cjs → widget-composer-C7ZAcFHK.cjs} +2 -6
- package/dist/{widget-composer-BB5Jrgae.js → widget-composer-ovIwmgin.js} +4 -8
- package/package.json +7 -7
- package/dist/execute-query-Xt9drS3G.cjs +0 -1
- package/dist/packages/sdk-ui/src/widgets/tabber-widget.d.ts +0 -41
package/dist/ai.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var yn = Object.defineProperty, vn = Object.defineProperties;
|
|
2
|
+
var kn = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Le = Object.getOwnPropertySymbols;
|
|
4
4
|
var ht = Object.prototype.hasOwnProperty, gt = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var pt = (e, t, n) => t in e ?
|
|
5
|
+
var pt = (e, t, n) => t in e ? yn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, M = (e, t) => {
|
|
6
6
|
for (var n in t || (t = {}))
|
|
7
7
|
ht.call(t, n) && pt(e, n, t[n]);
|
|
8
8
|
if (Le)
|
|
9
9
|
for (var n of Le(t))
|
|
10
10
|
gt.call(t, n) && pt(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
|
-
}, I = (e, t) =>
|
|
12
|
+
}, I = (e, t) => vn(e, kn(t));
|
|
13
13
|
var $e = (e, t) => {
|
|
14
14
|
var n = {};
|
|
15
15
|
for (var r in e)
|
|
@@ -19,31 +19,31 @@ var $e = (e, t) => {
|
|
|
19
19
|
t.indexOf(r) < 0 && gt.call(e, r) && (n[r] = e[r]);
|
|
20
20
|
return n;
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Y = (e, t, n) => new Promise((r, a) => {
|
|
23
23
|
var c = (u) => {
|
|
24
24
|
try {
|
|
25
25
|
p(n.next(u));
|
|
26
|
-
} catch (
|
|
27
|
-
a(
|
|
26
|
+
} catch (g) {
|
|
27
|
+
a(g);
|
|
28
28
|
}
|
|
29
29
|
}, s = (u) => {
|
|
30
30
|
try {
|
|
31
31
|
p(n.throw(u));
|
|
32
|
-
} catch (
|
|
33
|
-
a(
|
|
32
|
+
} catch (g) {
|
|
33
|
+
a(g);
|
|
34
34
|
}
|
|
35
35
|
}, p = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(c, s);
|
|
36
36
|
p((n = n.apply(e, t)).next());
|
|
37
37
|
});
|
|
38
|
-
import { S as
|
|
39
|
-
import { j as o, u as P, c as w, F as j, e as Ht, i as Ze, f as
|
|
38
|
+
import { S as wn, s as Sn, n as Lt, g as Mn, u as ve, a as Tn, b as Ln, p as Rn, Q as Rt, c as En, d as Et, e as ge, w as Ke, f as v, h as A, i as R, P as It, T as In, E as Bn, j as Nn, k as Fn, l as Hn, m as Ne, B as Pn, M as On, o as ue, q as Bt, r as $n, t as Dn, v as An, x as zn, y as Ce, z as De, F as Ct, A as f, C as qn, I as Nt, D as jn, G as Wn, H as Zn, J as xe, K as Gn, L as Vn, N as Un, O as Ft, R as Qn, U as _n } from "./use-common-filters-qFWk1Ia5.js";
|
|
39
|
+
import { j as o, u as P, c as w, F as j, e as Ht, i as Ze, f as Kn, C as Xn, h as Jn, t as Yn } from "./derive-chart-family-BcASqlOf.js";
|
|
40
40
|
import * as X from "react";
|
|
41
|
-
import { useState as $, useCallback as H, createContext as Xe, useContext as Je, useMemo as z, useEffect as ke, useRef as pe, useLayoutEffect as Ie, forwardRef as
|
|
42
|
-
import { w as
|
|
43
|
-
import { t as
|
|
44
|
-
import { w as
|
|
41
|
+
import { useState as $, useCallback as H, createContext as Xe, useContext as Je, useMemo as z, useEffect as ke, useRef as pe, useLayoutEffect as Ie, forwardRef as er, memo as tr } from "react";
|
|
42
|
+
import { w as nr, x as rr, y as or, T as Ge, t as ir, z as ar } from "./execute-query-JhI9RXe_.js";
|
|
43
|
+
import { t as Fe } from "./widget-composer-ovIwmgin.js";
|
|
44
|
+
import { w as ea } from "./widget-composer-ovIwmgin.js";
|
|
45
45
|
import { jsx as fe } from "react/jsx-runtime";
|
|
46
|
-
class
|
|
46
|
+
class sr extends wn {
|
|
47
47
|
constructor(t, n) {
|
|
48
48
|
super(), this.client = t, this.setOptions(n), this.bindMethods(), this.updateResult();
|
|
49
49
|
}
|
|
@@ -53,7 +53,7 @@ class ar extends kn {
|
|
|
53
53
|
setOptions(t) {
|
|
54
54
|
var n;
|
|
55
55
|
const r = this.options;
|
|
56
|
-
this.options = this.client.defaultMutationOptions(t),
|
|
56
|
+
this.options = this.client.defaultMutationOptions(t), Sn(r, this.options) || this.client.getMutationCache().notify({
|
|
57
57
|
type: "observerOptionsUpdated",
|
|
58
58
|
mutation: this.currentMutation,
|
|
59
59
|
observer: this
|
|
@@ -86,7 +86,7 @@ class ar extends kn {
|
|
|
86
86
|
})), this.currentMutation.addObserver(this), this.currentMutation.execute();
|
|
87
87
|
}
|
|
88
88
|
updateResult() {
|
|
89
|
-
const t = this.currentMutation ? this.currentMutation.state :
|
|
89
|
+
const t = this.currentMutation ? this.currentMutation.state : Mn(), n = t.status === "loading", r = I(M({}, t), {
|
|
90
90
|
isLoading: n,
|
|
91
91
|
isPending: n,
|
|
92
92
|
isSuccess: t.status === "success",
|
|
@@ -104,8 +104,8 @@ class ar extends kn {
|
|
|
104
104
|
var n, r, a, c;
|
|
105
105
|
(n = (r = this.mutateOptions).onSuccess) == null || n.call(r, this.currentResult.data, this.currentResult.variables, this.currentResult.context), (a = (c = this.mutateOptions).onSettled) == null || a.call(c, this.currentResult.data, null, this.currentResult.variables, this.currentResult.context);
|
|
106
106
|
} else if (t.onError) {
|
|
107
|
-
var s, p, u,
|
|
108
|
-
(s = (p = this.mutateOptions).onError) == null || s.call(p, this.currentResult.error, this.currentResult.variables, this.currentResult.context), (u = (
|
|
107
|
+
var s, p, u, g;
|
|
108
|
+
(s = (p = this.mutateOptions).onError) == null || s.call(p, this.currentResult.error, this.currentResult.variables, this.currentResult.context), (u = (g = this.mutateOptions).onSettled) == null || u.call(g, void 0, this.currentResult.error, this.currentResult.variables, this.currentResult.context);
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
t.listeners && this.listeners.forEach(({
|
|
@@ -117,30 +117,30 @@ class ar extends kn {
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
function Ye(e, t, n) {
|
|
120
|
-
const r =
|
|
120
|
+
const r = Rn(e, t), a = ve({
|
|
121
121
|
context: r.context
|
|
122
|
-
}), [c] = X.useState(() => new
|
|
122
|
+
}), [c] = X.useState(() => new sr(a, r));
|
|
123
123
|
X.useEffect(() => {
|
|
124
124
|
c.setOptions(r);
|
|
125
125
|
}, [c, r]);
|
|
126
|
-
const s =
|
|
127
|
-
c.mutate(u,
|
|
126
|
+
const s = Tn(X.useCallback((u) => c.subscribe(Lt.batchCalls(u)), [c]), () => c.getCurrentResult(), () => c.getCurrentResult()), p = X.useCallback((u, g) => {
|
|
127
|
+
c.mutate(u, g).catch(lr);
|
|
128
128
|
}, [c]);
|
|
129
|
-
if (s.error &&
|
|
129
|
+
if (s.error && Ln(c.options.useErrorBoundary, [s.error]))
|
|
130
130
|
throw s.error;
|
|
131
131
|
return I(M({}, s), {
|
|
132
132
|
mutate: p,
|
|
133
133
|
mutateAsync: s.mutate
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function lr() {
|
|
137
137
|
}
|
|
138
|
-
const Pt = /* @__PURE__ */ Xe({}),
|
|
138
|
+
const Pt = /* @__PURE__ */ Xe({}), cr = () => Je(Pt), Ot = ({ children: e }) => {
|
|
139
139
|
const [t, n] = $({}), r = H((s, p) => {
|
|
140
140
|
var u;
|
|
141
141
|
return `${s}_${(u = p == null ? void 0 : p.dashboardId) != null ? u : ""}`;
|
|
142
142
|
}, []), a = H((s, p, u) => {
|
|
143
|
-
n((
|
|
143
|
+
n((g) => I(M({}, g), {
|
|
144
144
|
[r(p, u)]: s
|
|
145
145
|
}));
|
|
146
146
|
}, [
|
|
@@ -157,13 +157,13 @@ const Pt = /* @__PURE__ */ Xe({}), lr = () => Je(Pt), Ot = ({ children: e }) =>
|
|
|
157
157
|
children: e
|
|
158
158
|
});
|
|
159
159
|
};
|
|
160
|
-
class
|
|
160
|
+
class dr {
|
|
161
161
|
constructor(t, n = !1) {
|
|
162
|
-
this.volatile = n, this.getChatContexts = () =>
|
|
162
|
+
this.volatile = n, this.getChatContexts = () => Y(this, null, function* () {
|
|
163
163
|
return (yield this.httpClient.get("api/datasources//")) || [];
|
|
164
164
|
}), this.getNlgInsights = (r) => this.httpClient.post("api/v2/ai/nlg/queryResult", r), this.getQueryRecommendations = (r, a) => this.httpClient.get(`api/v2/ai/recommendations/query/${r}/${a.numOfRecommendations}${a.userPrompt ? "?userPrompt=" + encodeURIComponent(a.userPrompt) : ""}`), this.getNlqResult = (r, a) => this.httpClient.post(`api/v2/ai/nlq/query/${r}`, a), this.setLlmConfig = (r) => this.httpClient.post("api/v2/settings/ai/llmProvider", r).catch((a) => {
|
|
165
165
|
console.error("Unable to set llm config", a);
|
|
166
|
-
}), this.getAllChats = () =>
|
|
166
|
+
}), this.getAllChats = () => Y(this, null, function* () {
|
|
167
167
|
return this.volatile ? [] : this.httpClient.get("api/v2/ai/chats");
|
|
168
168
|
}), this.getChatById = (r) => this.httpClient.get(`api/v2/ai/chats/${r}`), this.createChat = (r, a) => this.httpClient.post("api/v2/ai/chats", {
|
|
169
169
|
sourceId: r,
|
|
@@ -185,40 +185,40 @@ class cr {
|
|
|
185
185
|
}, this.httpClient = t;
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
const
|
|
188
|
+
const ur = new Rt({
|
|
189
189
|
defaultOptions: {
|
|
190
190
|
queries: {
|
|
191
191
|
refetchOnWindowFocus: !1,
|
|
192
192
|
refetchOnMount: !1
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
}), et = /* @__PURE__ */ Xe(void 0), J = () => Je(et),
|
|
196
|
-
const { app: n } =
|
|
195
|
+
}), et = /* @__PURE__ */ Xe(void 0), J = () => Je(et), pr = ({ children: e, volatile: t }) => {
|
|
196
|
+
const { app: n } = En(), r = z(() => n ? new dr(n.httpClient, t) : void 0, [
|
|
197
197
|
n,
|
|
198
198
|
t
|
|
199
199
|
]);
|
|
200
200
|
return /* @__PURE__ */ o(et.Provider, {
|
|
201
201
|
value: r,
|
|
202
202
|
children: /* @__PURE__ */ o(Et, {
|
|
203
|
-
client:
|
|
203
|
+
client: ur,
|
|
204
204
|
children: e
|
|
205
205
|
})
|
|
206
206
|
});
|
|
207
207
|
};
|
|
208
|
-
function
|
|
208
|
+
function j1({ children: e, volatile: t }) {
|
|
209
209
|
return /* @__PURE__ */ o(Ot, {
|
|
210
|
-
children: /* @__PURE__ */ o(
|
|
210
|
+
children: /* @__PURE__ */ o(pr, {
|
|
211
211
|
volatile: t,
|
|
212
212
|
children: e
|
|
213
213
|
})
|
|
214
214
|
});
|
|
215
215
|
}
|
|
216
|
-
function
|
|
216
|
+
function hr(e) {
|
|
217
217
|
var t, n;
|
|
218
218
|
if ("jaql" in e)
|
|
219
219
|
return e;
|
|
220
220
|
{
|
|
221
|
-
const r =
|
|
221
|
+
const r = or(e.dataSource), { filters: a = [], relations: c } = nr(e.filters), { metadata: s, filterRelations: p } = rr({
|
|
222
222
|
dataSource: e.dataSource,
|
|
223
223
|
attributes: (t = e.dimensions) != null ? t : [],
|
|
224
224
|
measures: (n = e.measures) != null ? n : [],
|
|
@@ -236,9 +236,9 @@ function pr(e) {
|
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
const He = (e, t = !0) => {
|
|
239
|
-
const n = z(() =>
|
|
239
|
+
const n = z(() => hr(e), [
|
|
240
240
|
e
|
|
241
|
-
]), r = J(), { data: a, error: c, isError: s, isLoading: p, isSuccess: u, refetch:
|
|
241
|
+
]), r = J(), { data: a, error: c, isError: s, isLoading: p, isSuccess: u, refetch: g } = ge({
|
|
242
242
|
queryKey: [
|
|
243
243
|
"getNlgInsights",
|
|
244
244
|
n,
|
|
@@ -246,8 +246,8 @@ const He = (e, t = !0) => {
|
|
|
246
246
|
],
|
|
247
247
|
queryFn: () => r == null ? void 0 : r.ai.getNlgInsights(n),
|
|
248
248
|
select: (m) => {
|
|
249
|
-
var
|
|
250
|
-
return (
|
|
249
|
+
var x;
|
|
250
|
+
return (x = m == null ? void 0 : m.data) == null ? void 0 : x.answer;
|
|
251
251
|
},
|
|
252
252
|
enabled: !!r && t
|
|
253
253
|
});
|
|
@@ -258,15 +258,15 @@ const He = (e, t = !0) => {
|
|
|
258
258
|
data: a,
|
|
259
259
|
error: c,
|
|
260
260
|
refetch: H(() => {
|
|
261
|
-
|
|
261
|
+
g();
|
|
262
262
|
}, [
|
|
263
|
-
|
|
263
|
+
g
|
|
264
264
|
])
|
|
265
265
|
};
|
|
266
|
-
},
|
|
266
|
+
}, gr = (e) => {
|
|
267
267
|
const r = e, { enabled: t } = r, n = $e(r, ["enabled"]);
|
|
268
268
|
return He(n, t);
|
|
269
|
-
},
|
|
269
|
+
}, W1 = Ke("useGetNlgInsights")(gr), Cr = [
|
|
270
270
|
"indicator",
|
|
271
271
|
"column",
|
|
272
272
|
"line",
|
|
@@ -274,7 +274,7 @@ const He = (e, t = !0) => {
|
|
|
274
274
|
"pie",
|
|
275
275
|
"bar"
|
|
276
276
|
];
|
|
277
|
-
function
|
|
277
|
+
function $t(e) {
|
|
278
278
|
const { dataSource: t, query: n, chartTypes: r } = e;
|
|
279
279
|
return {
|
|
280
280
|
contextTitle: typeof t == "string" ? t : t.title,
|
|
@@ -283,38 +283,47 @@ function Cr(e) {
|
|
|
283
283
|
// Timezone is not used by AI API, but it is currently required by the endpoint
|
|
284
284
|
timezone: "UTC",
|
|
285
285
|
chartTypes: r != null ? r : [
|
|
286
|
-
...
|
|
286
|
+
...Cr
|
|
287
287
|
]
|
|
288
288
|
}
|
|
289
289
|
};
|
|
290
290
|
}
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
291
|
+
function fr(e, t) {
|
|
292
|
+
return Y(this, null, function* () {
|
|
293
|
+
const { contextTitle: n, request: r } = $t(e), a = yield t.ai.getNlqResult(n, r);
|
|
294
|
+
return {
|
|
295
|
+
widgetProps: a ? Fe(a, {
|
|
296
|
+
useCustomizedStyleOptions: e.enableAxisTitlesInWidgetProps || !1
|
|
297
|
+
}) : void 0,
|
|
298
|
+
nlqResult: a
|
|
299
|
+
};
|
|
300
|
+
});
|
|
301
|
+
}
|
|
302
|
+
const mr = (e) => {
|
|
303
|
+
const { contextTitle: t, request: n } = $t(e), r = J(), a = [
|
|
304
|
+
"getNlqResult",
|
|
305
|
+
t,
|
|
306
|
+
n,
|
|
307
|
+
r
|
|
308
|
+
], { isLoading: c, isError: s, isSuccess: p, data: u, error: g, refetch: m } = ge({
|
|
309
|
+
queryKey: a,
|
|
310
|
+
queryFn: () => r ? fr(e, r).then((x) => x.widgetProps) : Promise.reject("No API available"),
|
|
300
311
|
enabled: !!r && e.enabled
|
|
301
|
-
})
|
|
302
|
-
useCustomizedStyleOptions: e.enableAxisTitlesInWidgetProps || !1
|
|
303
|
-
}) : void 0;
|
|
312
|
+
});
|
|
304
313
|
return {
|
|
305
|
-
isLoading:
|
|
306
|
-
isError:
|
|
307
|
-
isSuccess:
|
|
308
|
-
data:
|
|
309
|
-
error:
|
|
314
|
+
isLoading: c,
|
|
315
|
+
isError: s,
|
|
316
|
+
isSuccess: p,
|
|
317
|
+
data: u,
|
|
318
|
+
error: g,
|
|
310
319
|
refetch: H(() => {
|
|
311
|
-
|
|
320
|
+
m();
|
|
312
321
|
}, [
|
|
313
|
-
|
|
322
|
+
m
|
|
314
323
|
])
|
|
315
324
|
};
|
|
316
|
-
},
|
|
317
|
-
const { contextTitle: t, count: n, enableAxisTitlesInWidgetProps: r, enabled: a, customPrompt: c } = e, s = J(), p = n != null ? n :
|
|
325
|
+
}, Z1 = Ke("useGetNlqResult")(mr), br = 4, Dt = (e) => {
|
|
326
|
+
const { contextTitle: t, count: n, enableAxisTitlesInWidgetProps: r, enabled: a, customPrompt: c } = e, s = J(), p = n != null ? n : br, u = (a === void 0 || a === !0) && p > 0, { isLoading: g, isError: m, isSuccess: x, data: i, error: d, refetch: l } = ge({
|
|
318
327
|
queryKey: [
|
|
319
328
|
"getQueryRecommendations",
|
|
320
329
|
t,
|
|
@@ -327,8 +336,8 @@ const fr = (e) => {
|
|
|
327
336
|
userPrompt: c
|
|
328
337
|
} : null)),
|
|
329
338
|
enabled: !!s && u
|
|
330
|
-
}), C = z(() => i == null ? void 0 : i.map((
|
|
331
|
-
widgetProps:
|
|
339
|
+
}), C = z(() => i == null ? void 0 : i.map((h) => I(M({}, h), {
|
|
340
|
+
widgetProps: h.jaql ? Fe(h, {
|
|
332
341
|
useCustomizedStyleOptions: r
|
|
333
342
|
}) : void 0
|
|
334
343
|
})), [
|
|
@@ -336,9 +345,9 @@ const fr = (e) => {
|
|
|
336
345
|
r
|
|
337
346
|
]);
|
|
338
347
|
return {
|
|
339
|
-
isLoading: u ?
|
|
348
|
+
isLoading: u ? g : !1,
|
|
340
349
|
isError: m,
|
|
341
|
-
isSuccess:
|
|
350
|
+
isSuccess: x,
|
|
342
351
|
data: C != null ? C : void 0,
|
|
343
352
|
error: d,
|
|
344
353
|
refetch: H(() => {
|
|
@@ -347,31 +356,31 @@ const fr = (e) => {
|
|
|
347
356
|
l
|
|
348
357
|
])
|
|
349
358
|
};
|
|
350
|
-
},
|
|
359
|
+
}, G1 = Ke("useGetQueryRecommendations")(Dt), At = Object.freeze({
|
|
351
360
|
enableFollowupQuestions: !1,
|
|
352
361
|
enableHeader: !0,
|
|
353
362
|
enableInsights: !0,
|
|
354
363
|
numOfRecommendations: 4,
|
|
355
364
|
numOfRecentPrompts: 5
|
|
356
|
-
}),
|
|
357
|
-
const { t: n } = P(), r = Object.entries(t).reduce((a, [c, s]) => (s !== void 0 && (a[c] = s), a), I(M({},
|
|
365
|
+
}), zt = /* @__PURE__ */ Xe(M({}, At)), te = () => Je(zt), xr = ({ children: e, value: t }) => {
|
|
366
|
+
const { t: n } = P(), r = Object.entries(t).reduce((a, [c, s]) => (s !== void 0 && (a[c] = s), a), I(M({}, At), {
|
|
358
367
|
inputPromptText: n("ai.config.inputPromptText"),
|
|
359
368
|
welcomeText: n("ai.config.welcomeText"),
|
|
360
369
|
suggestionsWelcomeText: n("ai.config.suggestionsWelcomeText")
|
|
361
370
|
}));
|
|
362
|
-
return /* @__PURE__ */ o(
|
|
371
|
+
return /* @__PURE__ */ o(zt.Provider, {
|
|
363
372
|
value: r,
|
|
364
373
|
children: e
|
|
365
374
|
});
|
|
366
|
-
}, tt = "chatHistory",
|
|
367
|
-
const t = J(), { hideHistory: n } =
|
|
375
|
+
}, tt = "chatHistory", yr = (e) => {
|
|
376
|
+
const t = J(), { hideHistory: n } = te();
|
|
368
377
|
return ge({
|
|
369
378
|
queryKey: [
|
|
370
379
|
tt,
|
|
371
380
|
e,
|
|
372
381
|
t
|
|
373
382
|
],
|
|
374
|
-
queryFn: () =>
|
|
383
|
+
queryFn: () => Y(void 0, null, function* () {
|
|
375
384
|
if (!t || !e)
|
|
376
385
|
return;
|
|
377
386
|
if (n)
|
|
@@ -381,10 +390,10 @@ const fr = (e) => {
|
|
|
381
390
|
}),
|
|
382
391
|
enabled: !!t && !!e
|
|
383
392
|
});
|
|
384
|
-
},
|
|
393
|
+
}, qt = (e) => {
|
|
385
394
|
const t = J(), n = ve();
|
|
386
395
|
return Ye({
|
|
387
|
-
mutationFn: () =>
|
|
396
|
+
mutationFn: () => Y(void 0, null, function* () {
|
|
388
397
|
if (!(!t || !e))
|
|
389
398
|
return t.ai.chat.clearHistory(e);
|
|
390
399
|
}),
|
|
@@ -399,7 +408,7 @@ const fr = (e) => {
|
|
|
399
408
|
}
|
|
400
409
|
});
|
|
401
410
|
}, nt = (e) => {
|
|
402
|
-
const { data: t, isLoading: n, isError: r } =
|
|
411
|
+
const { data: t, isLoading: n, isError: r } = yr(e), { mutate: a } = qt(e);
|
|
403
412
|
return ke(() => {
|
|
404
413
|
r && a();
|
|
405
414
|
}, [
|
|
@@ -410,13 +419,13 @@ const fr = (e) => {
|
|
|
410
419
|
isLoading: n,
|
|
411
420
|
isError: r
|
|
412
421
|
};
|
|
413
|
-
},
|
|
422
|
+
}, vr = () => {
|
|
414
423
|
const e = J(), { data: t, isLoading: n, fetchStatus: r } = ge({
|
|
415
424
|
queryKey: [
|
|
416
425
|
"getDataTopics",
|
|
417
426
|
e
|
|
418
427
|
],
|
|
419
|
-
queryFn: () =>
|
|
428
|
+
queryFn: () => Y(void 0, null, function* () {
|
|
420
429
|
if (e)
|
|
421
430
|
return e.getChatContexts();
|
|
422
431
|
}),
|
|
@@ -427,7 +436,7 @@ const fr = (e) => {
|
|
|
427
436
|
isLoading: n,
|
|
428
437
|
fetchStatus: r
|
|
429
438
|
};
|
|
430
|
-
},
|
|
439
|
+
}, kr = () => {
|
|
431
440
|
const e = J(), { data: t, isLoading: n } = ge({
|
|
432
441
|
queryKey: [
|
|
433
442
|
"getAllChats",
|
|
@@ -440,9 +449,9 @@ const fr = (e) => {
|
|
|
440
449
|
data: t != null ? t : [],
|
|
441
450
|
isLoading: n
|
|
442
451
|
};
|
|
443
|
-
},
|
|
452
|
+
}, wr = (e, t, n) => {
|
|
444
453
|
const r = ve(), a = J(), c = Ye({
|
|
445
|
-
mutationFn: () =>
|
|
454
|
+
mutationFn: () => Y(void 0, null, function* () {
|
|
446
455
|
if (!(!a || !e))
|
|
447
456
|
return a.ai.chat.create(e, n);
|
|
448
457
|
}),
|
|
@@ -456,7 +465,7 @@ const fr = (e) => {
|
|
|
456
465
|
t,
|
|
457
466
|
c
|
|
458
467
|
]), c;
|
|
459
|
-
},
|
|
468
|
+
}, Sr = (e, t) => {
|
|
460
469
|
switch (e.responseType = e.responseType.toLowerCase(), e.responseType) {
|
|
461
470
|
case "nlq":
|
|
462
471
|
return {
|
|
@@ -473,20 +482,20 @@ const fr = (e) => {
|
|
|
473
482
|
default:
|
|
474
483
|
throw Error(`${t}${JSON.stringify(e)}`);
|
|
475
484
|
}
|
|
476
|
-
},
|
|
485
|
+
}, Mr = (e, t) => {
|
|
477
486
|
const n = ve(), r = H((u) => {
|
|
478
487
|
e && n.setQueriesData([
|
|
479
488
|
tt,
|
|
480
489
|
e
|
|
481
|
-
], (
|
|
482
|
-
...
|
|
490
|
+
], (g) => g && [
|
|
491
|
+
...g,
|
|
483
492
|
u
|
|
484
493
|
]);
|
|
485
494
|
}, [
|
|
486
495
|
n,
|
|
487
496
|
e
|
|
488
497
|
]), { t: a } = P(), c = J(), { mutate: s, isLoading: p } = Ye({
|
|
489
|
-
mutationFn: (u) =>
|
|
498
|
+
mutationFn: (u) => Y(void 0, null, function* () {
|
|
490
499
|
if (!(!c || !e))
|
|
491
500
|
return c.ai.chat.post(e, {
|
|
492
501
|
text: u,
|
|
@@ -512,8 +521,8 @@ const fr = (e) => {
|
|
|
512
521
|
onSuccess: (u) => {
|
|
513
522
|
if (!u)
|
|
514
523
|
return;
|
|
515
|
-
const
|
|
516
|
-
r(
|
|
524
|
+
const g = a("ai.errors.unknownResponse");
|
|
525
|
+
r(Sr(u, g));
|
|
517
526
|
}
|
|
518
527
|
});
|
|
519
528
|
return {
|
|
@@ -522,15 +531,15 @@ const fr = (e) => {
|
|
|
522
531
|
};
|
|
523
532
|
}, rt = (e, t, n = !1) => {
|
|
524
533
|
var m;
|
|
525
|
-
const { data: r, isLoading: a } =
|
|
534
|
+
const { data: r, isLoading: a } = kr(), c = cr(), s = c.getChatId(e, t) || ((m = r.find((x) => {
|
|
526
535
|
var i;
|
|
527
|
-
return
|
|
528
|
-
})) == null ? void 0 : m.chatId), { isError: p, data: u, isSuccess:
|
|
536
|
+
return x.contextTitle === e && ((i = x.contextDetails) == null ? void 0 : i.dashboardId) === (t == null ? void 0 : t.dashboardId);
|
|
537
|
+
})) == null ? void 0 : m.chatId), { isError: p, data: u, isSuccess: g } = wr(e, n && !a && !s, t);
|
|
529
538
|
return ke(() => {
|
|
530
|
-
|
|
539
|
+
g && u && !s && c.saveChatId(u.chatId, e, t);
|
|
531
540
|
}, [
|
|
532
541
|
u,
|
|
533
|
-
|
|
542
|
+
g,
|
|
534
543
|
e,
|
|
535
544
|
t,
|
|
536
545
|
s,
|
|
@@ -540,7 +549,7 @@ const fr = (e) => {
|
|
|
540
549
|
isLoading: a,
|
|
541
550
|
isError: p
|
|
542
551
|
};
|
|
543
|
-
},
|
|
552
|
+
}, jt = (e) => z(() => {
|
|
544
553
|
if (e != null && e.length) {
|
|
545
554
|
const t = e[e.length - 1];
|
|
546
555
|
if (ot(t))
|
|
@@ -549,8 +558,8 @@ const fr = (e) => {
|
|
|
549
558
|
return null;
|
|
550
559
|
}, [
|
|
551
560
|
e
|
|
552
|
-
]), ot = (e) => !!e && "type" in e && e.type === "nlq",
|
|
553
|
-
const { t: n } = P(), { enableFollowupQuestions: r } =
|
|
561
|
+
]), ot = (e) => !!e && "type" in e && e.type === "nlq", Tr = (e) => !!e && "type" in e && e.type === "text", Lr = (e, t) => {
|
|
562
|
+
const { t: n } = P(), { enableFollowupQuestions: r } = te(), { chatId: a, isError: c } = rt(e, t, !0), [s, p] = $(null), { history: u, isLoading: g, isError: m } = nt(a);
|
|
554
563
|
ke(() => {
|
|
555
564
|
c ? p(new Ge("ai.errors.chatUnavailable")) : m && p(new Ge("ai.errors.fetchHistory"));
|
|
556
565
|
}, [
|
|
@@ -558,20 +567,20 @@ const fr = (e) => {
|
|
|
558
567
|
m,
|
|
559
568
|
n
|
|
560
569
|
]);
|
|
561
|
-
const { mutate:
|
|
570
|
+
const { mutate: x, isLoading: i } = Mr(a, r), d = jt(u);
|
|
562
571
|
return {
|
|
563
572
|
chatId: a,
|
|
564
573
|
history: u != null ? u : [],
|
|
565
574
|
lastNlqResponse: d,
|
|
566
|
-
sendMessage:
|
|
575
|
+
sendMessage: x,
|
|
567
576
|
isAwaitingResponse: i,
|
|
568
|
-
isLoading:
|
|
577
|
+
isLoading: g,
|
|
569
578
|
lastError: s
|
|
570
579
|
};
|
|
571
|
-
}, G1 = ({ contextTitle: e, contextDetails: t }) => {
|
|
572
|
-
const { chatId: n } = rt(e, t), { history: r } = nt(n);
|
|
573
|
-
return qt(r);
|
|
574
580
|
}, V1 = ({ contextTitle: e, contextDetails: t }) => {
|
|
581
|
+
const { chatId: n } = rt(e, t), { history: r } = nt(n);
|
|
582
|
+
return jt(r);
|
|
583
|
+
}, U1 = ({ contextTitle: e, contextDetails: t }) => {
|
|
575
584
|
const { chatId: n } = rt(e, t), { history: r } = nt(n);
|
|
576
585
|
return z(() => {
|
|
577
586
|
if (r != null && r.length) {
|
|
@@ -583,10 +592,10 @@ const fr = (e) => {
|
|
|
583
592
|
}, [
|
|
584
593
|
r
|
|
585
594
|
]);
|
|
586
|
-
},
|
|
595
|
+
}, Rr = 500, Er = 500, Ir = 500, Br = 900, Nr = /* @__PURE__ */ v("div", {
|
|
587
596
|
target: "e1toc89x0",
|
|
588
597
|
label: "ChatFrame"
|
|
589
|
-
})("box-sizing:border-box;position:relative;display:flex;flex-direction:column;border:1px solid #c6c9ce;border-radius:", ({ theme: e }) => e.aiChat.borderRadius, ";background-color:", ({ theme: e }) => e.aiChat.backgroundColor, ";overflow:hidden;min-width:",
|
|
598
|
+
})("box-sizing:border-box;position:relative;display:flex;flex-direction:column;border:1px solid #c6c9ce;border-radius:", ({ theme: e }) => e.aiChat.borderRadius, ";background-color:", ({ theme: e }) => e.aiChat.backgroundColor, ";overflow:hidden;min-width:", Rr, "px;min-height:", Er, "px;width:", ({ width: e }) => e ? ft(e) : `${Ir}px`, ";height:", ({ height: e }) => e ? ft(e) : `${Br}px`, ";", ({ theme: e }) => A`
|
|
590
599
|
font-size: ${e.aiChat.primaryFontSize[0]};
|
|
591
600
|
line-height: ${e.aiChat.primaryFontSize[1]};
|
|
592
601
|
`, " border:", ({ theme: e }) => e.aiChat.border === !1 ? "none" : e.aiChat.border, ";");
|
|
@@ -627,13 +636,13 @@ function Pe() {
|
|
|
627
636
|
})
|
|
628
637
|
});
|
|
629
638
|
}
|
|
630
|
-
const
|
|
639
|
+
const Hr = /* @__PURE__ */ v("div", {
|
|
631
640
|
target: "e176zu9j0",
|
|
632
641
|
label: "AiDisclaimerContainer"
|
|
633
642
|
})("text-align:center;font-size:11px;line-height:18px;white-space:pre-wrap;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;box-sizing:border-box;color:", ({ theme: e }) => e.aiChat.secondaryTextColor, ";");
|
|
634
|
-
function
|
|
643
|
+
function Pr({ theme: e }) {
|
|
635
644
|
const { t } = P();
|
|
636
|
-
return /* @__PURE__ */ w(
|
|
645
|
+
return /* @__PURE__ */ w(Hr, {
|
|
637
646
|
theme: e,
|
|
638
647
|
children: [
|
|
639
648
|
/* @__PURE__ */ o("div", {
|
|
@@ -648,26 +657,26 @@ function Hr({ theme: e }) {
|
|
|
648
657
|
]
|
|
649
658
|
});
|
|
650
659
|
}
|
|
651
|
-
const
|
|
660
|
+
const Or = /* @__PURE__ */ v("div", {
|
|
652
661
|
target: "e1vujcck0",
|
|
653
662
|
label: "Section"
|
|
654
|
-
})("display:flex;flex-direction:column;row-gap:4px;"),
|
|
663
|
+
})("display:flex;flex-direction:column;row-gap:4px;"), $r = /* @__PURE__ */ v("div", {
|
|
655
664
|
target: "e1vujcck1",
|
|
656
665
|
label: "SectionHeader"
|
|
657
|
-
})("font-size:11px;line-height:18px;font-weight:300;color:", ({ theme: e }) => e.aiChat.dropup.headers.textColor, ";cursor:pointer;padding:4px 12px;&:hover{background-color:", ({ theme: e }) => e.aiChat.dropup.headers.hover.backgroundColor, ";}"),
|
|
666
|
+
})("font-size:11px;line-height:18px;font-weight:300;color:", ({ theme: e }) => e.aiChat.dropup.headers.textColor, ";cursor:pointer;padding:4px 12px;&:hover{background-color:", ({ theme: e }) => e.aiChat.dropup.headers.hover.backgroundColor, ";}"), Dr = /* @__PURE__ */ v("div", {
|
|
658
667
|
target: "e1vujcck2",
|
|
659
668
|
label: "DropupItem"
|
|
660
669
|
})("font-size:", ({ theme: e }) => e.aiChat.primaryFontSize[0], ";line-height:", ({ theme: e }) => e.aiChat.primaryFontSize[1], ";color:", ({ theme: e }) => e.aiChat.dropup.items.textColor, ";cursor:pointer;padding:4px 12px;&:hover{background-color:", ({ theme: e }) => e.aiChat.dropup.items.hover.backgroundColor, ";}");
|
|
661
|
-
function
|
|
670
|
+
function Ar({ title: e, items: t, onSelect: n, alwaysExpanded: r = !1 }) {
|
|
662
671
|
const [a, c] = $(!1), { themeSettings: s } = R();
|
|
663
|
-
return /* @__PURE__ */ w(
|
|
672
|
+
return /* @__PURE__ */ w(Or, {
|
|
664
673
|
children: [
|
|
665
|
-
/* @__PURE__ */ o(
|
|
674
|
+
/* @__PURE__ */ o($r, {
|
|
666
675
|
onClick: () => c((p) => !p),
|
|
667
676
|
theme: s,
|
|
668
677
|
children: e.toUpperCase()
|
|
669
678
|
}),
|
|
670
|
-
(a || r) && t.map((p, u) => /* @__PURE__ */ o(
|
|
679
|
+
(a || r) && t.map((p, u) => /* @__PURE__ */ o(Dr, {
|
|
671
680
|
onClick: () => n(p),
|
|
672
681
|
theme: s,
|
|
673
682
|
children: p
|
|
@@ -675,14 +684,14 @@ function Dr({ title: e, items: t, onSelect: n, alwaysExpanded: r = !1 }) {
|
|
|
675
684
|
]
|
|
676
685
|
});
|
|
677
686
|
}
|
|
678
|
-
const
|
|
687
|
+
const zr = /* @__PURE__ */ v("div", {
|
|
679
688
|
target: "e1nxw6f60",
|
|
680
689
|
label: "PopupContent"
|
|
681
|
-
})("font-family:", ({ theme: e }) => e.typography.fontFamily, ";font-size:", ({ theme: e }) => e.aiChat.primaryFontSize[0], ";line-height:", ({ theme: e }) => e.aiChat.primaryFontSize[1], ";background-color:", ({ theme: e }) => e.aiChat.dropup.backgroundColor, ";border-radius:", ({ theme: e }) => e.aiChat.dropup.borderRadius, ";box-shadow:", ({ theme: e }) => e.aiChat.dropup.boxShadow, ";padding-top:8px;padding-bottom:8px;display:flex;flex-direction:column;row-gap:4px;"),
|
|
690
|
+
})("font-family:", ({ theme: e }) => e.typography.fontFamily, ";font-size:", ({ theme: e }) => e.aiChat.primaryFontSize[0], ";line-height:", ({ theme: e }) => e.aiChat.primaryFontSize[1], ";background-color:", ({ theme: e }) => e.aiChat.dropup.backgroundColor, ";border-radius:", ({ theme: e }) => e.aiChat.dropup.borderRadius, ";box-shadow:", ({ theme: e }) => e.aiChat.dropup.boxShadow, ";padding-top:8px;padding-bottom:8px;display:flex;flex-direction:column;row-gap:4px;"), qr = /* @__PURE__ */ v("div", {
|
|
682
691
|
target: "e1nxw6f61",
|
|
683
692
|
label: "ErrorMessage"
|
|
684
693
|
})("font-size:", ({ theme: e }) => e.aiChat.primaryFontSize[0], ";line-height:", ({ theme: e }) => e.aiChat.primaryFontSize[1], ";color:", ({ theme: e }) => e.aiChat.dropup.items.textColor, ";padding:4px 12px;"), Ve = (e) => e.startsWith("/");
|
|
685
|
-
function
|
|
694
|
+
function jr({ recentPrompts: e, suggestions: t, isLoading: n, onSelection: r, anchorEl: a, text: c, recommendationsError: s }) {
|
|
686
695
|
const u = [
|
|
687
696
|
{
|
|
688
697
|
title: "/recent searches",
|
|
@@ -694,7 +703,7 @@ function qr({ recentPrompts: e, suggestions: t, isLoading: n, onSelection: r, an
|
|
|
694
703
|
items: t,
|
|
695
704
|
onSelect: r
|
|
696
705
|
}
|
|
697
|
-
].filter((i) => i.title.slice(0, c.length) === c), { themeSettings:
|
|
706
|
+
].filter((i) => i.title.slice(0, c.length) === c), { themeSettings: g } = R(), { t: m } = P(), x = u.length === 1;
|
|
698
707
|
return /* @__PURE__ */ o(It, {
|
|
699
708
|
open: Ve(c) && u.length > 0,
|
|
700
709
|
anchorEl: a,
|
|
@@ -713,28 +722,28 @@ function qr({ recentPrompts: e, suggestions: t, isLoading: n, onSelection: r, an
|
|
|
713
722
|
sx: {
|
|
714
723
|
zIndex: 3
|
|
715
724
|
},
|
|
716
|
-
children: /* @__PURE__ */ w(
|
|
725
|
+
children: /* @__PURE__ */ w(zr, {
|
|
717
726
|
style: {
|
|
718
727
|
width: a == null ? void 0 : a.offsetWidth
|
|
719
728
|
},
|
|
720
|
-
theme:
|
|
729
|
+
theme: g,
|
|
721
730
|
children: [
|
|
722
731
|
n && /* @__PURE__ */ o(Pe, {}),
|
|
723
|
-
!n && !s && u.map((i) => /* @__PURE__ */ o(
|
|
724
|
-
alwaysExpanded:
|
|
732
|
+
!n && !s && u.map((i) => /* @__PURE__ */ o(Ar, I(M({}, i), {
|
|
733
|
+
alwaysExpanded: x
|
|
725
734
|
}), i.title)),
|
|
726
|
-
s && /* @__PURE__ */ o(
|
|
727
|
-
theme:
|
|
735
|
+
s && /* @__PURE__ */ o(qr, {
|
|
736
|
+
theme: g,
|
|
728
737
|
children: m("ai.errors.recommendationsNotAvailable")
|
|
729
738
|
})
|
|
730
739
|
]
|
|
731
740
|
})
|
|
732
741
|
});
|
|
733
742
|
}
|
|
734
|
-
const
|
|
743
|
+
const Wr = 500;
|
|
735
744
|
function we({ title: e, placement: t = "top", children: n }) {
|
|
736
745
|
const { themeSettings: r } = R();
|
|
737
|
-
return /* @__PURE__ */ o(
|
|
746
|
+
return /* @__PURE__ */ o(In, {
|
|
738
747
|
title: e,
|
|
739
748
|
placement: t,
|
|
740
749
|
disableInteractive: !0,
|
|
@@ -762,7 +771,7 @@ function we({ title: e, placement: t = "top", children: n }) {
|
|
|
762
771
|
children: n
|
|
763
772
|
});
|
|
764
773
|
}
|
|
765
|
-
function
|
|
774
|
+
function Zr({ theme: e }) {
|
|
766
775
|
const t = e.aiChat.icons.color;
|
|
767
776
|
return /* @__PURE__ */ w("svg", {
|
|
768
777
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -786,7 +795,7 @@ function Wr({ theme: e }) {
|
|
|
786
795
|
]
|
|
787
796
|
});
|
|
788
797
|
}
|
|
789
|
-
function
|
|
798
|
+
function Gr({ theme: e }) {
|
|
790
799
|
return /* @__PURE__ */ o("svg", {
|
|
791
800
|
width: "24",
|
|
792
801
|
height: "24",
|
|
@@ -799,16 +808,16 @@ function Zr({ theme: e }) {
|
|
|
799
808
|
})
|
|
800
809
|
});
|
|
801
810
|
}
|
|
802
|
-
const
|
|
811
|
+
const Vr = /* @__PURE__ */ v("div", {
|
|
803
812
|
target: "e1ssacaw0",
|
|
804
813
|
label: "ChatInputContainer"
|
|
805
|
-
})("display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;background-color:", ({ theme: e }) => e.aiChat.backgroundColor, ";"),
|
|
814
|
+
})("display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;background-color:", ({ theme: e }) => e.aiChat.backgroundColor, ";"), Ur = /* @__PURE__ */ v("button", {
|
|
806
815
|
target: "e1ssacaw1",
|
|
807
816
|
label: "ClearHistoryButton"
|
|
808
|
-
})("height:34px;background-color:inherit;cursor:pointer;border:none;"),
|
|
817
|
+
})("height:34px;background-color:inherit;cursor:pointer;border:none;"), Qr = /* @__PURE__ */ v("textarea", {
|
|
809
818
|
target: "e1ssacaw2",
|
|
810
819
|
label: "TextInput"
|
|
811
|
-
})("font-size:inherit;line-height:inherit;resize:none;overflow-y:auto;box-sizing:border-box;max-height:88px;width:100%;padding-top:7px;padding-bottom:7px;padding-left:16px;padding-right:16px;margin-left:10px;margin-right:10px;border-width:1px;border-color:rgb(38 46 61 / 0.15);border-radius:0.5rem;&:focus{outline:1px solid ", ({ theme: e }) => e.aiChat.input.focus.outlineColor, ";}font-family:inherit;color:", ({ theme: e }) => e.aiChat.primaryTextColor, ";background-color:", ({ theme: e }) => e.aiChat.input.backgroundColor, ";"),
|
|
820
|
+
})("font-size:inherit;line-height:inherit;resize:none;overflow-y:auto;box-sizing:border-box;max-height:88px;width:100%;padding-top:7px;padding-bottom:7px;padding-left:16px;padding-right:16px;margin-left:10px;margin-right:10px;border-width:1px;border-color:rgb(38 46 61 / 0.15);border-radius:0.5rem;&:focus{outline:1px solid ", ({ theme: e }) => e.aiChat.input.focus.outlineColor, ";}font-family:inherit;color:", ({ theme: e }) => e.aiChat.primaryTextColor, ";background-color:", ({ theme: e }) => e.aiChat.input.backgroundColor, ";"), _r = /* @__PURE__ */ v("button", {
|
|
812
821
|
target: "e1ssacaw3",
|
|
813
822
|
label: "SendMessageButton"
|
|
814
823
|
})("height:34px;background-color:inherit;border-style:none;color:", ({ theme: e }) => e.aiChat.primaryTextColor, ";", ({ disabled: e }) => e ? A`
|
|
@@ -817,36 +826,36 @@ const Gr = /* @__PURE__ */ y("div", {
|
|
|
817
826
|
` : A`
|
|
818
827
|
opacity: 1;
|
|
819
828
|
cursor: pointer;
|
|
820
|
-
`),
|
|
821
|
-
function
|
|
822
|
-
const [u,
|
|
829
|
+
`), Kr = 34;
|
|
830
|
+
function Xr({ onSendMessage: e, onClearHistoryClick: t, disabled: n, recentPrompts: r, suggestions: a, isLoading: c, recommendationsError: s, onChange: p }) {
|
|
831
|
+
const [u, g] = $(""), { inputPromptText: m } = te(), x = H(() => {
|
|
823
832
|
if (n) return;
|
|
824
833
|
if (Ve(u)) {
|
|
825
|
-
|
|
834
|
+
g("");
|
|
826
835
|
return;
|
|
827
836
|
}
|
|
828
|
-
const
|
|
829
|
-
|
|
837
|
+
const y = u.trim();
|
|
838
|
+
y.length !== 0 && (e(y), g(""));
|
|
830
839
|
}, [
|
|
831
840
|
n,
|
|
832
841
|
e,
|
|
833
842
|
u
|
|
834
|
-
]), i = H((
|
|
835
|
-
e(
|
|
843
|
+
]), i = H((y) => {
|
|
844
|
+
e(y), g("");
|
|
836
845
|
}, [
|
|
837
846
|
e
|
|
838
|
-
]), d = H((
|
|
839
|
-
|
|
847
|
+
]), d = H((y) => {
|
|
848
|
+
y.key === "Enter" ? (y.preventDefault(), x()) : y.key === "Escape" && Ve(u) && g("");
|
|
840
849
|
}, [
|
|
841
|
-
|
|
850
|
+
x,
|
|
842
851
|
u
|
|
843
|
-
]), l = H((
|
|
844
|
-
p == null || p(
|
|
852
|
+
]), l = H((y) => {
|
|
853
|
+
p == null || p(y.target.value), g(y.target.value);
|
|
845
854
|
}, [
|
|
846
855
|
p
|
|
847
856
|
]), C = pe(null);
|
|
848
857
|
Ie(() => {
|
|
849
|
-
C.current && (C.current.style.height = "inherit", C.current.style.height = `${Math.max(C.current.scrollHeight + 2,
|
|
858
|
+
C.current && (C.current.style.height = "inherit", C.current.style.height = `${Math.max(C.current.scrollHeight + 2, Kr)}px`);
|
|
850
859
|
}, [
|
|
851
860
|
u
|
|
852
861
|
]), Ie(() => {
|
|
@@ -854,22 +863,22 @@ function Kr({ onSendMessage: e, onClearHistoryClick: t, disabled: n, recentPromp
|
|
|
854
863
|
preventScroll: !0
|
|
855
864
|
});
|
|
856
865
|
}, []);
|
|
857
|
-
const { themeSettings:
|
|
866
|
+
const { themeSettings: h } = R(), { t: k } = P(), S = H((y) => {
|
|
858
867
|
var L;
|
|
859
|
-
if ((L = document.getElementById("csdk-chatbot-frame")) != null && L.contains(
|
|
868
|
+
if ((L = document.getElementById("csdk-chatbot-frame")) != null && L.contains(y.relatedTarget)) {
|
|
860
869
|
const E = (T) => {
|
|
861
870
|
var B;
|
|
862
|
-
document.removeEventListener("mouseup", E), document.removeEventListener("keyup", E), T.type === "mouseup" && ((B = document.getSelection()) == null ? void 0 : B.type) !== "Range" &&
|
|
871
|
+
document.removeEventListener("mouseup", E), document.removeEventListener("keyup", E), T.type === "mouseup" && ((B = document.getSelection()) == null ? void 0 : B.type) !== "Range" && y.target.focus({
|
|
863
872
|
preventScroll: !0
|
|
864
873
|
});
|
|
865
874
|
};
|
|
866
875
|
document.addEventListener("mouseup", E), document.addEventListener("keyup", E);
|
|
867
876
|
}
|
|
868
877
|
}, []);
|
|
869
|
-
return /* @__PURE__ */ w(
|
|
870
|
-
theme:
|
|
878
|
+
return /* @__PURE__ */ w(Vr, {
|
|
879
|
+
theme: h,
|
|
871
880
|
children: [
|
|
872
|
-
/* @__PURE__ */ o(
|
|
881
|
+
/* @__PURE__ */ o(jr, {
|
|
873
882
|
recentPrompts: r,
|
|
874
883
|
suggestions: a,
|
|
875
884
|
isLoading: c,
|
|
@@ -881,18 +890,18 @@ function Kr({ onSendMessage: e, onClearHistoryClick: t, disabled: n, recentPromp
|
|
|
881
890
|
t && /* @__PURE__ */ o(we, {
|
|
882
891
|
title: k("ai.buttons.clearChat"),
|
|
883
892
|
placement: "bottom-start",
|
|
884
|
-
children: /* @__PURE__ */ o(
|
|
893
|
+
children: /* @__PURE__ */ o(Ur, {
|
|
885
894
|
"aria-label": "clear history",
|
|
886
895
|
onClick: t,
|
|
887
|
-
children: /* @__PURE__ */ o(
|
|
888
|
-
theme:
|
|
896
|
+
children: /* @__PURE__ */ o(Zr, {
|
|
897
|
+
theme: h
|
|
889
898
|
})
|
|
890
899
|
})
|
|
891
900
|
}),
|
|
892
|
-
/* @__PURE__ */ o(
|
|
901
|
+
/* @__PURE__ */ o(Qr, {
|
|
893
902
|
"aria-label": "chat input",
|
|
894
903
|
onBlur: S,
|
|
895
|
-
maxLength:
|
|
904
|
+
maxLength: Wr,
|
|
896
905
|
ref: C,
|
|
897
906
|
rows: 1,
|
|
898
907
|
onChange: l,
|
|
@@ -900,62 +909,62 @@ function Kr({ onSendMessage: e, onClearHistoryClick: t, disabled: n, recentPromp
|
|
|
900
909
|
placeholder: m,
|
|
901
910
|
value: u,
|
|
902
911
|
onKeyDown: d,
|
|
903
|
-
theme:
|
|
912
|
+
theme: h
|
|
904
913
|
}),
|
|
905
|
-
/* @__PURE__ */ o(
|
|
914
|
+
/* @__PURE__ */ o(_r, {
|
|
906
915
|
"aria-label": "send chat message",
|
|
907
916
|
disabled: n || u.length === 0,
|
|
908
|
-
onClick:
|
|
909
|
-
theme:
|
|
917
|
+
onClick: x,
|
|
918
|
+
theme: h,
|
|
910
919
|
children: /* @__PURE__ */ o("span", {
|
|
911
920
|
"data-state": "closed",
|
|
912
|
-
children: /* @__PURE__ */ o(
|
|
913
|
-
theme:
|
|
921
|
+
children: /* @__PURE__ */ o(Gr, {
|
|
922
|
+
theme: h
|
|
914
923
|
})
|
|
915
924
|
})
|
|
916
925
|
})
|
|
917
926
|
]
|
|
918
927
|
});
|
|
919
928
|
}
|
|
920
|
-
const
|
|
929
|
+
const Jr = /* @__PURE__ */ v("div", {
|
|
921
930
|
target: "en1tixw0",
|
|
922
931
|
label: "Container"
|
|
923
|
-
})("margin:auto;display:flex;flex-direction:column;align-items:center;row-gap:21px;"),
|
|
932
|
+
})("margin:auto;display:flex;flex-direction:column;align-items:center;row-gap:21px;"), Yr = /* @__PURE__ */ v("div", {
|
|
924
933
|
target: "en1tixw1",
|
|
925
934
|
label: "Title"
|
|
926
|
-
})("color:", ({ theme: e }) => e.aiChat.primaryTextColor, ";text-align:center;font-weight:600;"),
|
|
935
|
+
})("color:", ({ theme: e }) => e.aiChat.primaryTextColor, ";text-align:center;font-weight:600;"), eo = /* @__PURE__ */ v("div", {
|
|
927
936
|
target: "en1tixw2",
|
|
928
937
|
label: "ActionButton"
|
|
929
938
|
})("color:rgba(54,163,217,1);cursor:pointer;");
|
|
930
|
-
function
|
|
939
|
+
function Wt({ text: e, action: t }) {
|
|
931
940
|
const { themeSettings: n } = R();
|
|
932
|
-
return /* @__PURE__ */ w(
|
|
941
|
+
return /* @__PURE__ */ w(Jr, {
|
|
933
942
|
children: [
|
|
934
|
-
/* @__PURE__ */ o(
|
|
943
|
+
/* @__PURE__ */ o(Yr, {
|
|
935
944
|
theme: n,
|
|
936
945
|
children: e
|
|
937
946
|
}),
|
|
938
|
-
/* @__PURE__ */ o(
|
|
939
|
-
t && /* @__PURE__ */ o(
|
|
947
|
+
/* @__PURE__ */ o(Bn, {}),
|
|
948
|
+
t && /* @__PURE__ */ o(eo, {
|
|
940
949
|
onClick: t.onClick,
|
|
941
950
|
children: t.text
|
|
942
951
|
})
|
|
943
952
|
]
|
|
944
953
|
});
|
|
945
954
|
}
|
|
946
|
-
const
|
|
955
|
+
const to = /* @__PURE__ */ v("div", {
|
|
947
956
|
target: "e14i1z190",
|
|
948
957
|
label: "ToolbarContainer"
|
|
949
|
-
})("flex:0 0 80px;padding-left:14px;padding-right:14px;display:flex;align-items:center;position:relative;background-color:", ({ style: e }) => e.backgroundColor, ";"),
|
|
958
|
+
})("flex:0 0 80px;padding-left:14px;padding-right:14px;display:flex;align-items:center;position:relative;background-color:", ({ style: e }) => e.backgroundColor, ";"), no = /* @__PURE__ */ v("div", {
|
|
950
959
|
target: "e14i1z191",
|
|
951
960
|
label: "ToolbarTitle"
|
|
952
|
-
})("font-size:18px;line-height:22px;font-weight:600;margin-left:20px;color:", ({ style: e }) => e.textColor, ";"),
|
|
953
|
-
return /* @__PURE__ */ w(
|
|
961
|
+
})("font-size:18px;line-height:22px;font-weight:600;margin-left:20px;color:", ({ style: e }) => e.textColor, ";"), Zt = /* @__PURE__ */ er(function({ title: t, leftNav: n, rightNav: r, style: a }, c) {
|
|
962
|
+
return /* @__PURE__ */ w(to, {
|
|
954
963
|
ref: c,
|
|
955
964
|
style: a,
|
|
956
965
|
children: [
|
|
957
966
|
n,
|
|
958
|
-
/* @__PURE__ */ o(
|
|
967
|
+
/* @__PURE__ */ o(no, {
|
|
959
968
|
style: a,
|
|
960
969
|
children: t
|
|
961
970
|
}),
|
|
@@ -965,7 +974,7 @@ const eo = /* @__PURE__ */ y("div", {
|
|
|
965
974
|
})
|
|
966
975
|
]
|
|
967
976
|
});
|
|
968
|
-
}), Re = /* @__PURE__ */
|
|
977
|
+
}), Re = /* @__PURE__ */ v("div", {
|
|
969
978
|
target: "e6bmai50",
|
|
970
979
|
label: "Dot"
|
|
971
980
|
})("width:5px;height:5px;border-radius:50%;background-color:", (e) => e.color, ";animation:hop 0.9s ease-out infinite;&:nth-of-type(2){animation-delay:0.1s;}&:nth-of-type(3){animation-delay:0.2s;}&:nth-of-type(4){animation-delay:0.3s;}@keyframes hop{0%,40%{transform:translateY(0);}20%{transform:translateY(-100%);}}");
|
|
@@ -999,56 +1008,56 @@ function se() {
|
|
|
999
1008
|
return e;
|
|
1000
1009
|
}, se.apply(this, arguments);
|
|
1001
1010
|
}
|
|
1002
|
-
const
|
|
1011
|
+
const ro = ["children", "options"], b = { blockQuote: "0", breakLine: "1", breakThematic: "2", codeBlock: "3", codeFenced: "4", codeInline: "5", footnote: "6", footnoteReference: "7", gfmTask: "8", heading: "9", headingSetext: "10", htmlBlock: "11", htmlComment: "12", htmlSelfClosing: "13", image: "14", link: "15", linkAngleBraceStyleDetector: "16", linkBareUrlDetector: "17", linkMailtoDetector: "18", newlineCoalescer: "19", orderedList: "20", paragraph: "21", ref: "22", refImage: "23", refLink: "24", table: "25", tableSeparator: "26", text: "27", textBolded: "28", textEmphasized: "29", textEscaped: "30", textMarked: "31", textStrikethroughed: "32", unorderedList: "33" };
|
|
1003
1012
|
var mt;
|
|
1004
1013
|
(function(e) {
|
|
1005
1014
|
e[e.MAX = 0] = "MAX", e[e.HIGH = 1] = "HIGH", e[e.MED = 2] = "MED", e[e.LOW = 3] = "LOW", e[e.MIN = 4] = "MIN";
|
|
1006
1015
|
})(mt || (mt = {}));
|
|
1007
|
-
const bt = ["allowFullScreen", "allowTransparency", "autoComplete", "autoFocus", "autoPlay", "cellPadding", "cellSpacing", "charSet", "classId", "colSpan", "contentEditable", "contextMenu", "crossOrigin", "encType", "formAction", "formEncType", "formMethod", "formNoValidate", "formTarget", "frameBorder", "hrefLang", "inputMode", "keyParams", "keyType", "marginHeight", "marginWidth", "maxLength", "mediaGroup", "minLength", "noValidate", "radioGroup", "readOnly", "rowSpan", "spellCheck", "srcDoc", "srcLang", "srcSet", "tabIndex", "useMap"].reduce((e, t) => (e[t.toLowerCase()] = t, e), { class: "className", for: "htmlFor" }), xt = { amp: "&", apos: "'", gt: ">", lt: "<", nbsp: " ", quot: "“" },
|
|
1008
|
-
function
|
|
1016
|
+
const bt = ["allowFullScreen", "allowTransparency", "autoComplete", "autoFocus", "autoPlay", "cellPadding", "cellSpacing", "charSet", "classId", "colSpan", "contentEditable", "contextMenu", "crossOrigin", "encType", "formAction", "formEncType", "formMethod", "formNoValidate", "formTarget", "frameBorder", "hrefLang", "inputMode", "keyParams", "keyType", "marginHeight", "marginWidth", "maxLength", "mediaGroup", "minLength", "noValidate", "radioGroup", "readOnly", "rowSpan", "spellCheck", "srcDoc", "srcLang", "srcSet", "tabIndex", "useMap"].reduce((e, t) => (e[t.toLowerCase()] = t, e), { class: "className", for: "htmlFor" }), xt = { amp: "&", apos: "'", gt: ">", lt: "<", nbsp: " ", quot: "“" }, oo = ["style", "script"], io = ["src", "href", "data", "formAction", "srcDoc", "action"], ao = /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi, so = /mailto:/i, lo = /\n{2,}$/, Gt = /^(\s*>[\s\S]*?)(?=\n\n|$)/, co = /^ *> ?/gm, uo = /^(?:\[!([^\]]*)\]\n)?([\s\S]*)/, po = /^ {2,}\n/, ho = /^(?:( *[-*_])){3,} *(?:\n *)+\n/, Vt = /^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/, Ut = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/, go = /^(`+)((?:\\`|(?!\1)`|[^`])+)\1/, Co = /^(?:\n *)*\n/, fo = /\r\n?/g, mo = /^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/, bo = /^\[\^([^\]]+)]/, xo = /\f/g, yo = /^---[ \t]*\n(.|\n)*\n---[ \t]*\n/, vo = /^\s*?\[(x|\s)\]/, Qt = /^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, _t = /^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, Kt = /^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/, Ue = /^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i, ko = /&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi, Xt = /^<!--[\s\S]*?(?:-->)/, wo = /^(data|aria|x)-[a-z_][a-z\d_.-]*$/, Qe = /^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i, So = /^\{.*\}$/, Mo = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/, To = /^<([^ >]+@[^ >]+)>/, Lo = /^<([^ >]+:\/[^ >]+)>/, Ro = /-([a-z])?/gi, Jt = /^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/, Eo = /^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/, Io = /^!\[([^\]]*)\] ?\[([^\]]*)\]/, Bo = /^\[([^\]]*)\] ?\[([^\]]*)\]/, No = /(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/, Fo = /\t/g, Ho = /(^ *\||\| *$)/g, Po = /^ *:-+: *$/, Oo = /^ *:-+ *$/, $o = /^ *-+: *$/, Oe = "((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|\\\\\\1|[\\s\\S])+?)", Do = new RegExp(`^([*_])\\1${Oe}\\1\\1(?!\\1)`), Ao = new RegExp(`^([*_])${Oe}\\1(?!\\1)`), zo = new RegExp(`^(==)${Oe}\\1`), qo = new RegExp(`^(~~)${Oe}\\1`), jo = /^\\([^0-9A-Za-z\s])/, yt = /\\([^0-9A-Za-z\s])/g, Wo = /^([\s\S](?:(?! |[0-9]\.)[^=*_~\-\n<`\\\[!])*)/, Zo = /^\n+/, Go = /^([ \t]*)/, Vo = /\\([^\\])/g, Uo = /(?:^|\n)( *)$/, at = "(?:\\d+\\.)", st = "(?:[*+-])";
|
|
1017
|
+
function Yt(e) {
|
|
1009
1018
|
return "( *)(" + (e === 1 ? at : st) + ") +";
|
|
1010
1019
|
}
|
|
1011
|
-
const
|
|
1012
|
-
function tn(e) {
|
|
1013
|
-
return new RegExp("^" + (e === 1 ? Yt : en));
|
|
1014
|
-
}
|
|
1015
|
-
const Uo = tn(1), Qo = tn(2);
|
|
1020
|
+
const en = Yt(1), tn = Yt(2);
|
|
1016
1021
|
function nn(e) {
|
|
1017
|
-
return new RegExp("^" + (e === 1 ?
|
|
1022
|
+
return new RegExp("^" + (e === 1 ? en : tn));
|
|
1018
1023
|
}
|
|
1019
|
-
const
|
|
1024
|
+
const Qo = nn(1), _o = nn(2);
|
|
1020
1025
|
function rn(e) {
|
|
1026
|
+
return new RegExp("^" + (e === 1 ? en : tn) + "[^\\n]*(?:\\n(?!\\1" + (e === 1 ? at : st) + " )[^\\n]*)*(\\n|$)", "gm");
|
|
1027
|
+
}
|
|
1028
|
+
const Ko = rn(1), Xo = rn(2);
|
|
1029
|
+
function on(e) {
|
|
1021
1030
|
const t = e === 1 ? at : st;
|
|
1022
1031
|
return new RegExp("^( *)(" + t + ") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1" + t + " (?!" + t + " ))\\n*|\\s*\\n*$)");
|
|
1023
1032
|
}
|
|
1024
|
-
const
|
|
1033
|
+
const an = on(1), sn = on(2);
|
|
1025
1034
|
function vt(e, t) {
|
|
1026
|
-
const n = t === 1, r = n ?
|
|
1035
|
+
const n = t === 1, r = n ? an : sn, a = n ? Ko : Xo, c = n ? Qo : _o;
|
|
1027
1036
|
return { match: he(function(s, p) {
|
|
1028
|
-
const u =
|
|
1037
|
+
const u = Uo.exec(p.prevCapture);
|
|
1029
1038
|
return u && (p.list || !p.inline && !p.simple) ? r.exec(s = u[1] + s) : null;
|
|
1030
1039
|
}), order: 1, parse(s, p, u) {
|
|
1031
|
-
const
|
|
1040
|
+
const g = n ? +s[2] : void 0, m = s[0].replace(lo, `
|
|
1032
1041
|
`).match(a);
|
|
1033
|
-
let
|
|
1042
|
+
let x = !1;
|
|
1034
1043
|
return { items: m.map(function(i, d) {
|
|
1035
|
-
const l = c.exec(i)[0].length, C = new RegExp("^ {1," + l + "}", "gm"),
|
|
1044
|
+
const l = c.exec(i)[0].length, C = new RegExp("^ {1," + l + "}", "gm"), h = i.replace(C, "").replace(c, ""), k = d === m.length - 1, S = h.indexOf(`
|
|
1036
1045
|
|
|
1037
|
-
`) !== -1 || k &&
|
|
1038
|
-
|
|
1039
|
-
const
|
|
1046
|
+
`) !== -1 || k && x;
|
|
1047
|
+
x = S;
|
|
1048
|
+
const y = u.inline, L = u.list;
|
|
1040
1049
|
let E;
|
|
1041
|
-
u.list = !0, S ? (u.inline = !1, E = ye(
|
|
1050
|
+
u.list = !0, S ? (u.inline = !1, E = ye(h) + `
|
|
1042
1051
|
|
|
1043
|
-
`) : (u.inline = !0, E = ye(
|
|
1052
|
+
`) : (u.inline = !0, E = ye(h));
|
|
1044
1053
|
const T = p(E, u);
|
|
1045
|
-
return u.inline =
|
|
1046
|
-
}), ordered: n, start:
|
|
1047
|
-
}, render: (s, p, u) => e(s.ordered ? "ol" : "ul", { key: u.key, start: s.type === b.orderedList ? s.start : void 0 }, s.items.map(function(
|
|
1048
|
-
return e("li", { key: m }, p(
|
|
1054
|
+
return u.inline = y, u.list = L, T;
|
|
1055
|
+
}), ordered: n, start: g };
|
|
1056
|
+
}, render: (s, p, u) => e(s.ordered ? "ol" : "ul", { key: u.key, start: s.type === b.orderedList ? s.start : void 0 }, s.items.map(function(g, m) {
|
|
1057
|
+
return e("li", { key: m }, p(g, u));
|
|
1049
1058
|
})) };
|
|
1050
1059
|
}
|
|
1051
|
-
const
|
|
1060
|
+
const Jo = new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`), Yo = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, ln = [Gt, Vt, Ut, Qt, Kt, _t, Jt, an, sn], ei = [...ln, /^[^\n]+(?: \n|\n{2,})/, Ue, Xt, Qe];
|
|
1052
1061
|
function ye(e) {
|
|
1053
1062
|
let t = e.length;
|
|
1054
1063
|
for (; t > 0 && e[t - 1] <= " "; ) t--;
|
|
@@ -1057,8 +1066,8 @@ function ye(e) {
|
|
|
1057
1066
|
function me(e) {
|
|
1058
1067
|
return e.replace(/[ÀÁÂÃÄÅàáâãä忯]/g, "a").replace(/[çÇ]/g, "c").replace(/[ðÐ]/g, "d").replace(/[ÈÉÊËéèêë]/g, "e").replace(/[ÏïÎîÍíÌì]/g, "i").replace(/[Ññ]/g, "n").replace(/[øØœŒÕõÔôÓóÒò]/g, "o").replace(/[ÜüÛûÚúÙù]/g, "u").replace(/[ŸÿÝý]/g, "y").replace(/[^a-z0-9- ]/gi, "").replace(/ /gi, "-").toLowerCase();
|
|
1059
1068
|
}
|
|
1060
|
-
function
|
|
1061
|
-
return
|
|
1069
|
+
function ti(e) {
|
|
1070
|
+
return $o.test(e) ? "right" : Po.test(e) ? "center" : Oo.test(e) ? "left" : null;
|
|
1062
1071
|
}
|
|
1063
1072
|
function kt(e, t, n, r) {
|
|
1064
1073
|
const a = n.inTable;
|
|
@@ -1069,16 +1078,16 @@ function kt(e, t, n, r) {
|
|
|
1069
1078
|
const u = c[c.length - 1];
|
|
1070
1079
|
u.push.apply(u, t(s, n)), s = "";
|
|
1071
1080
|
}
|
|
1072
|
-
return e.trim().split(/(`[^`]*`|\\\||\|)/).filter(Boolean).forEach((u,
|
|
1073
|
-
u.trim() === "|" && (p(), r) ?
|
|
1081
|
+
return e.trim().split(/(`[^`]*`|\\\||\|)/).filter(Boolean).forEach((u, g, m) => {
|
|
1082
|
+
u.trim() === "|" && (p(), r) ? g !== 0 && g !== m.length - 1 && c.push([]) : s += u;
|
|
1074
1083
|
}), p(), n.inTable = a, c;
|
|
1075
1084
|
}
|
|
1076
|
-
function
|
|
1085
|
+
function ni(e, t, n) {
|
|
1077
1086
|
n.inline = !0;
|
|
1078
|
-
const r = e[2] ? e[2].replace(
|
|
1087
|
+
const r = e[2] ? e[2].replace(Ho, "").split("|").map(ti) : [], a = e[3] ? function(s, p, u) {
|
|
1079
1088
|
return s.trim().split(`
|
|
1080
|
-
`).map(function(
|
|
1081
|
-
return kt(
|
|
1089
|
+
`).map(function(g) {
|
|
1090
|
+
return kt(g, p, u, !0);
|
|
1082
1091
|
});
|
|
1083
1092
|
}(e[3], t, n) : [], c = kt(e[1], t, n, !!a.length);
|
|
1084
1093
|
return n.inline = !1, a.length ? { align: r, cells: a, header: c, type: b.table } : { children: c, type: b.paragraph };
|
|
@@ -1099,7 +1108,7 @@ function oe(e) {
|
|
|
1099
1108
|
return n.inline || n.simple ? e.exec(t) : null;
|
|
1100
1109
|
});
|
|
1101
1110
|
}
|
|
1102
|
-
function
|
|
1111
|
+
function ee(e) {
|
|
1103
1112
|
return function(t, n) {
|
|
1104
1113
|
return n.inline || n.simple ? null : e.exec(t);
|
|
1105
1114
|
};
|
|
@@ -1109,27 +1118,27 @@ function be(e) {
|
|
|
1109
1118
|
return e.exec(t);
|
|
1110
1119
|
});
|
|
1111
1120
|
}
|
|
1112
|
-
function
|
|
1121
|
+
function ri(e, t) {
|
|
1113
1122
|
if (t.inline || t.simple) return null;
|
|
1114
1123
|
let n = "";
|
|
1115
1124
|
e.split(`
|
|
1116
1125
|
`).every((a) => (a += `
|
|
1117
|
-
`, !
|
|
1126
|
+
`, !ln.some((c) => c.test(a)) && (n += a, !!a.trim())));
|
|
1118
1127
|
const r = ye(n);
|
|
1119
1128
|
return r == "" ? null : [n, , r];
|
|
1120
1129
|
}
|
|
1121
|
-
const
|
|
1122
|
-
function
|
|
1130
|
+
const oi = /(javascript|vbscript|data(?!:image)):/i;
|
|
1131
|
+
function ii(e) {
|
|
1123
1132
|
try {
|
|
1124
1133
|
const t = decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g, "");
|
|
1125
|
-
if (
|
|
1134
|
+
if (oi.test(t)) return null;
|
|
1126
1135
|
} catch (t) {
|
|
1127
1136
|
return null;
|
|
1128
1137
|
}
|
|
1129
1138
|
return e;
|
|
1130
1139
|
}
|
|
1131
1140
|
function St(e) {
|
|
1132
|
-
return e.replace(
|
|
1141
|
+
return e.replace(Vo, "$1");
|
|
1133
1142
|
}
|
|
1134
1143
|
function Ee(e, t, n) {
|
|
1135
1144
|
const r = n.inline || !1, a = n.simple || !1;
|
|
@@ -1137,13 +1146,13 @@ function Ee(e, t, n) {
|
|
|
1137
1146
|
const c = e(t, n);
|
|
1138
1147
|
return n.inline = r, n.simple = a, c;
|
|
1139
1148
|
}
|
|
1140
|
-
function
|
|
1149
|
+
function ai(e, t, n) {
|
|
1141
1150
|
const r = n.inline || !1, a = n.simple || !1;
|
|
1142
1151
|
n.inline = !1, n.simple = !0;
|
|
1143
1152
|
const c = e(t, n);
|
|
1144
1153
|
return n.inline = r, n.simple = a, c;
|
|
1145
1154
|
}
|
|
1146
|
-
function
|
|
1155
|
+
function si(e, t, n) {
|
|
1147
1156
|
const r = n.inline || !1;
|
|
1148
1157
|
n.inline = !1;
|
|
1149
1158
|
const a = e(t, n);
|
|
@@ -1156,7 +1165,7 @@ function ze() {
|
|
|
1156
1165
|
function qe() {
|
|
1157
1166
|
return null;
|
|
1158
1167
|
}
|
|
1159
|
-
function
|
|
1168
|
+
function li(...e) {
|
|
1160
1169
|
return e.filter(Boolean).join(" ");
|
|
1161
1170
|
}
|
|
1162
1171
|
function je(e, t, n) {
|
|
@@ -1165,60 +1174,60 @@ function je(e, t, n) {
|
|
|
1165
1174
|
for (; a.length && (r = r[a[0]], r !== void 0); ) a.shift();
|
|
1166
1175
|
return r || n;
|
|
1167
1176
|
}
|
|
1168
|
-
function
|
|
1177
|
+
function ci(e = "", t = {}) {
|
|
1169
1178
|
function n(i, d, ...l) {
|
|
1170
1179
|
const C = je(t.overrides, `${i}.props`, {});
|
|
1171
|
-
return t.createElement(function(
|
|
1172
|
-
const S = je(k,
|
|
1173
|
-
return S ? typeof S == "function" || typeof S == "object" && "render" in S ? S : je(k, `${
|
|
1174
|
-
}(i, t.overrides), se({}, d, C, { className:
|
|
1180
|
+
return t.createElement(function(h, k) {
|
|
1181
|
+
const S = je(k, h);
|
|
1182
|
+
return S ? typeof S == "function" || typeof S == "object" && "render" in S ? S : je(k, `${h}.component`, h) : h;
|
|
1183
|
+
}(i, t.overrides), se({}, d, C, { className: li(d == null ? void 0 : d.className, C.className) || void 0 }), ...l);
|
|
1175
1184
|
}
|
|
1176
1185
|
function r(i) {
|
|
1177
|
-
i = i.replace(
|
|
1186
|
+
i = i.replace(yo, "");
|
|
1178
1187
|
let d = !1;
|
|
1179
|
-
t.forceInline ? d = !0 : t.forceBlock || (d =
|
|
1180
|
-
const l =
|
|
1188
|
+
t.forceInline ? d = !0 : t.forceBlock || (d = No.test(i) === !1);
|
|
1189
|
+
const l = g(u(d ? i : `${ye(i).replace(Zo, "")}
|
|
1181
1190
|
|
|
1182
1191
|
`, { inline: d }));
|
|
1183
1192
|
for (; typeof l[l.length - 1] == "string" && !l[l.length - 1].trim(); ) l.pop();
|
|
1184
1193
|
if (t.wrapper === null) return l;
|
|
1185
1194
|
const C = t.wrapper || (d ? "span" : "div");
|
|
1186
|
-
let
|
|
1187
|
-
if (l.length > 1 || t.forceWrapper)
|
|
1195
|
+
let h;
|
|
1196
|
+
if (l.length > 1 || t.forceWrapper) h = l;
|
|
1188
1197
|
else {
|
|
1189
|
-
if (l.length === 1) return
|
|
1190
|
-
|
|
1198
|
+
if (l.length === 1) return h = l[0], typeof h == "string" ? n("span", { key: "outer" }, h) : h;
|
|
1199
|
+
h = null;
|
|
1191
1200
|
}
|
|
1192
|
-
return t.createElement(C, { key: "outer" },
|
|
1201
|
+
return t.createElement(C, { key: "outer" }, h);
|
|
1193
1202
|
}
|
|
1194
1203
|
function a(i, d) {
|
|
1195
|
-
const l = d.match(
|
|
1196
|
-
return l ? l.reduce(function(C,
|
|
1197
|
-
const k =
|
|
1204
|
+
const l = d.match(ao);
|
|
1205
|
+
return l ? l.reduce(function(C, h) {
|
|
1206
|
+
const k = h.indexOf("=");
|
|
1198
1207
|
if (k !== -1) {
|
|
1199
1208
|
const S = function(T) {
|
|
1200
|
-
return T.indexOf("-") !== -1 && T.match(
|
|
1209
|
+
return T.indexOf("-") !== -1 && T.match(wo) === null && (T = T.replace(Ro, function(B, O) {
|
|
1201
1210
|
return O.toUpperCase();
|
|
1202
1211
|
})), T;
|
|
1203
|
-
}(
|
|
1212
|
+
}(h.slice(0, k)).trim(), y = function(T) {
|
|
1204
1213
|
const B = T[0];
|
|
1205
1214
|
return (B === '"' || B === "'") && T.length >= 2 && T[T.length - 1] === B ? T.slice(1, -1) : T;
|
|
1206
|
-
}(
|
|
1215
|
+
}(h.slice(k + 1).trim()), L = bt[S] || S;
|
|
1207
1216
|
if (L === "ref") return C;
|
|
1208
1217
|
const E = C[L] = function(T, B, O, ae) {
|
|
1209
1218
|
return B === "style" ? function(U) {
|
|
1210
1219
|
const W = [];
|
|
1211
|
-
let q = "", G = !1,
|
|
1220
|
+
let q = "", G = !1, N = !1, Q = "";
|
|
1212
1221
|
if (!U) return W;
|
|
1213
1222
|
for (let V = 0; V < U.length; V++) {
|
|
1214
1223
|
const D = U[V];
|
|
1215
|
-
if (D !== '"' && D !== "'" || G || (
|
|
1224
|
+
if (D !== '"' && D !== "'" || G || (N ? D === Q && (N = !1, Q = "") : (N = !0, Q = D)), D === "(" && q.endsWith("url") ? G = !0 : D === ")" && G && (G = !1), D !== ";" || N || G) q += D;
|
|
1216
1225
|
else {
|
|
1217
1226
|
const Z = q.trim();
|
|
1218
1227
|
if (Z) {
|
|
1219
|
-
const
|
|
1220
|
-
if (
|
|
1221
|
-
const le = Z.slice(0,
|
|
1228
|
+
const ne = Z.indexOf(":");
|
|
1229
|
+
if (ne > 0) {
|
|
1230
|
+
const le = Z.slice(0, ne).trim(), ce = Z.slice(ne + 1).trim();
|
|
1222
1231
|
W.push([le, ce]);
|
|
1223
1232
|
}
|
|
1224
1233
|
}
|
|
@@ -1236,113 +1245,113 @@ function li(e = "", t = {}) {
|
|
|
1236
1245
|
return W;
|
|
1237
1246
|
}(O).reduce(function(U, [W, q]) {
|
|
1238
1247
|
return U[W.replace(/(-[a-z])/g, (G) => G[1].toUpperCase())] = ae(q, T, W), U;
|
|
1239
|
-
}, {}) :
|
|
1240
|
-
}(i, S,
|
|
1248
|
+
}, {}) : io.indexOf(B) !== -1 ? ae(O, T, B) : (O.match(So) && (O = O.slice(1, O.length - 1)), O === "true" || O !== "false" && O);
|
|
1249
|
+
}(i, S, y, t.sanitizer);
|
|
1241
1250
|
typeof E == "string" && (Ue.test(E) || Qe.test(E)) && (C[L] = r(E.trim()));
|
|
1242
|
-
} else
|
|
1251
|
+
} else h !== "style" && (C[bt[h] || h] = !0);
|
|
1243
1252
|
return C;
|
|
1244
1253
|
}, {}) : null;
|
|
1245
1254
|
}
|
|
1246
|
-
t.overrides = t.overrides || {}, t.sanitizer = t.sanitizer ||
|
|
1247
|
-
const c = [], s = {}, p = { [b.blockQuote]: { match:
|
|
1248
|
-
const [, C,
|
|
1249
|
-
return { alert: C, children: d(
|
|
1255
|
+
t.overrides = t.overrides || {}, t.sanitizer = t.sanitizer || ii, t.slugify = t.slugify || me, t.namedCodesToUnicode = t.namedCodesToUnicode ? se({}, xt, t.namedCodesToUnicode) : xt, t.createElement = t.createElement || X.createElement;
|
|
1256
|
+
const c = [], s = {}, p = { [b.blockQuote]: { match: ee(Gt), order: 1, parse(i, d, l) {
|
|
1257
|
+
const [, C, h] = i[0].replace(co, "").match(uo);
|
|
1258
|
+
return { alert: C, children: d(h, l) };
|
|
1250
1259
|
}, render(i, d, l) {
|
|
1251
1260
|
const C = { key: l.key };
|
|
1252
1261
|
return i.alert && (C.className = "markdown-alert-" + t.slugify(i.alert.toLowerCase(), me), i.children.unshift({ attrs: {}, children: [{ type: b.text, text: i.alert }], noInnerParse: !0, type: b.htmlBlock, tag: "header" })), n("blockquote", C, d(i.children, l));
|
|
1253
|
-
} }, [b.breakLine]: { match: be(
|
|
1254
|
-
const [, C] = i[3].match(
|
|
1255
|
-
var
|
|
1256
|
-
const L = i[1].toLowerCase(), E =
|
|
1262
|
+
} }, [b.breakLine]: { match: be(po), order: 1, parse: ze, render: (i, d, l) => n("br", { key: l.key }) }, [b.breakThematic]: { match: ee(ho), order: 1, parse: ze, render: (i, d, l) => n("hr", { key: l.key }) }, [b.codeBlock]: { match: ee(Ut), order: 0, parse: (i) => ({ lang: void 0, text: ye(i[0].replace(/^ {4}/gm, "")).replace(yt, "$1") }), render: (i, d, l) => n("pre", { key: l.key }, n("code", se({}, i.attrs, { className: i.lang ? `lang-${i.lang}` : "" }), i.text)) }, [b.codeFenced]: { match: ee(Vt), order: 0, parse: (i) => ({ attrs: a("code", i[3] || ""), lang: i[2] || void 0, text: i[4], type: b.codeBlock }) }, [b.codeInline]: { match: oe(go), order: 3, parse: (i) => ({ text: i[2].replace(yt, "$1") }), render: (i, d, l) => n("code", { key: l.key }, i.text) }, [b.footnote]: { match: ee(mo), order: 0, parse: (i) => (c.push({ footnote: i[2], identifier: i[1] }), {}), render: qe }, [b.footnoteReference]: { match: re(bo), order: 1, parse: (i) => ({ target: `#${t.slugify(i[1], me)}`, text: i[1] }), render: (i, d, l) => n("a", { key: l.key, href: t.sanitizer(i.target, "a", "href") }, n("sup", { key: l.key }, i.text)) }, [b.gfmTask]: { match: re(vo), order: 1, parse: (i) => ({ completed: i[1].toLowerCase() === "x" }), render: (i, d, l) => n("input", { checked: i.completed, key: l.key, readOnly: !0, type: "checkbox" }) }, [b.heading]: { match: ee(t.enforceAtxHeadings ? _t : Qt), order: 1, parse: (i, d, l) => ({ children: Ee(d, i[2], l), id: t.slugify(i[2], me), level: i[1].length }), render: (i, d, l) => n(`h${i.level}`, { id: i.id, key: l.key }, d(i.children, l)) }, [b.headingSetext]: { match: ee(Kt), order: 0, parse: (i, d, l) => ({ children: Ee(d, i[1], l), level: i[2] === "=" ? 1 : 2, type: b.heading }) }, [b.htmlBlock]: { match: be(Ue), order: 1, parse(i, d, l) {
|
|
1263
|
+
const [, C] = i[3].match(Go), h = new RegExp(`^${C}`, "gm"), k = i[3].replace(h, ""), S = (y = k, ei.some((O) => O.test(y)) ? si : Ee);
|
|
1264
|
+
var y;
|
|
1265
|
+
const L = i[1].toLowerCase(), E = oo.indexOf(L) !== -1, T = (E ? L : i[1]).trim(), B = { attrs: a(T, i[2]), noInnerParse: E, tag: T };
|
|
1257
1266
|
return l.inAnchor = l.inAnchor || L === "a", E ? B.text = i[3] : B.children = S(d, k, l), l.inAnchor = !1, B;
|
|
1258
1267
|
}, render: (i, d, l) => n(i.tag, se({ key: l.key }, i.attrs), i.text || (i.children ? d(i.children, l) : "")) }, [b.htmlSelfClosing]: { match: be(Qe), order: 1, parse(i) {
|
|
1259
1268
|
const d = i[1].trim();
|
|
1260
1269
|
return { attrs: a(d, i[2] || ""), tag: d };
|
|
1261
|
-
}, render: (i, d, l) => n(i.tag, se({}, i.attrs, { key: l.key })) }, [b.htmlComment]: { match: be(
|
|
1270
|
+
}, render: (i, d, l) => n(i.tag, se({}, i.attrs, { key: l.key })) }, [b.htmlComment]: { match: be(Xt), order: 1, parse: () => ({}), render: qe }, [b.image]: { match: oe(Yo), order: 1, parse: (i) => ({ alt: i[1], target: St(i[2]), title: i[3] }), render: (i, d, l) => n("img", { key: l.key, alt: i.alt || void 0, title: i.title || void 0, src: t.sanitizer(i.target, "img", "src") }) }, [b.link]: { match: re(Jo), order: 3, parse: (i, d, l) => ({ children: ai(d, i[1], l), target: St(i[2]), title: i[3] }), render: (i, d, l) => n("a", { key: l.key, href: t.sanitizer(i.target, "a", "href"), title: i.title }, d(i.children, l)) }, [b.linkAngleBraceStyleDetector]: { match: re(Lo), order: 0, parse: (i) => ({ children: [{ text: i[1], type: b.text }], target: i[1], type: b.link }) }, [b.linkBareUrlDetector]: { match: he((i, d) => d.inAnchor || t.disableAutoLink ? null : re(Mo)(i, d)), order: 0, parse: (i) => ({ children: [{ text: i[1], type: b.text }], target: i[1], title: void 0, type: b.link }) }, [b.linkMailtoDetector]: { match: re(To), order: 0, parse(i) {
|
|
1262
1271
|
let d = i[1], l = i[1];
|
|
1263
|
-
return
|
|
1264
|
-
} }, [b.orderedList]: vt(n, 1), [b.unorderedList]: vt(n, 2), [b.newlineCoalescer]: { match:
|
|
1265
|
-
` }, [b.paragraph]: { match: he(
|
|
1272
|
+
return so.test(l) || (l = "mailto:" + l), { children: [{ text: d.replace("mailto:", ""), type: b.text }], target: l, type: b.link };
|
|
1273
|
+
} }, [b.orderedList]: vt(n, 1), [b.unorderedList]: vt(n, 2), [b.newlineCoalescer]: { match: ee(Co), order: 3, parse: ze, render: () => `
|
|
1274
|
+
` }, [b.paragraph]: { match: he(ri), order: 3, parse: Ae, render: (i, d, l) => n("p", { key: l.key }, d(i.children, l)) }, [b.ref]: { match: re(Eo), order: 0, parse: (i) => (s[i[1]] = { target: i[2], title: i[4] }, {}), render: qe }, [b.refImage]: { match: oe(Io), order: 0, parse: (i) => ({ alt: i[1] || void 0, ref: i[2] }), render: (i, d, l) => s[i.ref] ? n("img", { key: l.key, alt: i.alt, src: t.sanitizer(s[i.ref].target, "img", "src"), title: s[i.ref].title }) : null }, [b.refLink]: { match: re(Bo), order: 0, parse: (i, d, l) => ({ children: d(i[1], l), fallbackChildren: i[0], ref: i[2] }), render: (i, d, l) => s[i.ref] ? n("a", { key: l.key, href: t.sanitizer(s[i.ref].target, "a", "href"), title: s[i.ref].title }, d(i.children, l)) : n("span", { key: l.key }, i.fallbackChildren) }, [b.table]: { match: ee(Jt), order: 1, parse: ni, render(i, d, l) {
|
|
1266
1275
|
const C = i;
|
|
1267
|
-
return n("table", { key: l.key }, n("thead", null, n("tr", null, C.header.map(function(
|
|
1268
|
-
return n("th", { key: k, style: wt(C, k) }, d(
|
|
1269
|
-
}))), n("tbody", null, C.cells.map(function(
|
|
1270
|
-
return n("tr", { key: k },
|
|
1271
|
-
return n("td", { key:
|
|
1276
|
+
return n("table", { key: l.key }, n("thead", null, n("tr", null, C.header.map(function(h, k) {
|
|
1277
|
+
return n("th", { key: k, style: wt(C, k) }, d(h, l));
|
|
1278
|
+
}))), n("tbody", null, C.cells.map(function(h, k) {
|
|
1279
|
+
return n("tr", { key: k }, h.map(function(S, y) {
|
|
1280
|
+
return n("td", { key: y, style: wt(C, y) }, d(S, l));
|
|
1272
1281
|
}));
|
|
1273
1282
|
})));
|
|
1274
|
-
} }, [b.text]: { match: be(
|
|
1283
|
+
} }, [b.text]: { match: be(Wo), order: 4, parse: (i) => ({ text: i[0].replace(ko, (d, l) => t.namedCodesToUnicode[l] ? t.namedCodesToUnicode[l] : d) }), render: (i) => i.text }, [b.textBolded]: { match: oe(Do), order: 2, parse: (i, d, l) => ({ children: d(i[2], l) }), render: (i, d, l) => n("strong", { key: l.key }, d(i.children, l)) }, [b.textEmphasized]: { match: oe(Ao), order: 3, parse: (i, d, l) => ({ children: d(i[2], l) }), render: (i, d, l) => n("em", { key: l.key }, d(i.children, l)) }, [b.textEscaped]: { match: oe(jo), order: 1, parse: (i) => ({ text: i[1], type: b.text }) }, [b.textMarked]: { match: oe(zo), order: 3, parse: Ae, render: (i, d, l) => n("mark", { key: l.key }, d(i.children, l)) }, [b.textStrikethroughed]: { match: oe(qo), order: 3, parse: Ae, render: (i, d, l) => n("del", { key: l.key }, d(i.children, l)) } };
|
|
1275
1284
|
t.disableParsingRawHTML === !0 && (delete p[b.htmlBlock], delete p[b.htmlSelfClosing]);
|
|
1276
1285
|
const u = function(i) {
|
|
1277
1286
|
let d = Object.keys(i);
|
|
1278
|
-
function l(C,
|
|
1279
|
-
let k, S,
|
|
1280
|
-
for (
|
|
1287
|
+
function l(C, h) {
|
|
1288
|
+
let k, S, y = [], L = "", E = "";
|
|
1289
|
+
for (h.prevCapture = h.prevCapture || ""; C; ) {
|
|
1281
1290
|
let T = 0;
|
|
1282
1291
|
for (; T < d.length; ) {
|
|
1283
|
-
if (L = d[T], k = i[L],
|
|
1292
|
+
if (L = d[T], k = i[L], h.inline && !k.match.inline) {
|
|
1284
1293
|
T++;
|
|
1285
1294
|
continue;
|
|
1286
1295
|
}
|
|
1287
|
-
const B = k.match(C,
|
|
1296
|
+
const B = k.match(C, h);
|
|
1288
1297
|
if (B) {
|
|
1289
|
-
E = B[0],
|
|
1298
|
+
E = B[0], h.prevCapture += E, C = C.substring(E.length), S = k.parse(B, l, h), S.type == null && (S.type = L), y.push(S);
|
|
1290
1299
|
break;
|
|
1291
1300
|
}
|
|
1292
1301
|
T++;
|
|
1293
1302
|
}
|
|
1294
1303
|
}
|
|
1295
|
-
return
|
|
1304
|
+
return h.prevCapture = "", y;
|
|
1296
1305
|
}
|
|
1297
|
-
return d.sort(function(C,
|
|
1298
|
-
let k = i[C].order, S = i[
|
|
1299
|
-
return k !== S ? k - S : C <
|
|
1300
|
-
}), function(C,
|
|
1306
|
+
return d.sort(function(C, h) {
|
|
1307
|
+
let k = i[C].order, S = i[h].order;
|
|
1308
|
+
return k !== S ? k - S : C < h ? -1 : 1;
|
|
1309
|
+
}), function(C, h) {
|
|
1301
1310
|
return l(function(k) {
|
|
1302
|
-
return k.replace(
|
|
1303
|
-
`).replace(
|
|
1304
|
-
}(C),
|
|
1311
|
+
return k.replace(fo, `
|
|
1312
|
+
`).replace(xo, "").replace(Fo, " ");
|
|
1313
|
+
}(C), h);
|
|
1305
1314
|
};
|
|
1306
|
-
}(p),
|
|
1307
|
-
return function(l, C,
|
|
1315
|
+
}(p), g = (m = /* @__PURE__ */ function(i, d) {
|
|
1316
|
+
return function(l, C, h) {
|
|
1308
1317
|
const k = i[l.type].render;
|
|
1309
|
-
return d ? d(() => k(l, C,
|
|
1318
|
+
return d ? d(() => k(l, C, h), l, C, h) : k(l, C, h);
|
|
1310
1319
|
};
|
|
1311
1320
|
}(p, t.renderRule), function i(d, l = {}) {
|
|
1312
1321
|
if (Array.isArray(d)) {
|
|
1313
|
-
const C = l.key,
|
|
1322
|
+
const C = l.key, h = [];
|
|
1314
1323
|
let k = !1;
|
|
1315
1324
|
for (let S = 0; S < d.length; S++) {
|
|
1316
1325
|
l.key = S;
|
|
1317
|
-
const
|
|
1318
|
-
L && k ?
|
|
1326
|
+
const y = i(d[S], l), L = typeof y == "string";
|
|
1327
|
+
L && k ? h[h.length - 1] += y : y !== null && h.push(y), k = L;
|
|
1319
1328
|
}
|
|
1320
|
-
return l.key = C,
|
|
1329
|
+
return l.key = C, h;
|
|
1321
1330
|
}
|
|
1322
1331
|
return m(d, i, l);
|
|
1323
1332
|
});
|
|
1324
1333
|
var m;
|
|
1325
|
-
const
|
|
1326
|
-
return c.length ? n("div", null,
|
|
1327
|
-
return n("div", { id: t.slugify(i.identifier, me), key: i.identifier }, i.identifier,
|
|
1328
|
-
}))) :
|
|
1334
|
+
const x = r(e);
|
|
1335
|
+
return c.length ? n("div", null, x, n("footer", { key: "footer" }, c.map(function(i) {
|
|
1336
|
+
return n("div", { id: t.slugify(i.identifier, me), key: i.identifier }, i.identifier, g(u(i.footnote, { inline: !0 })));
|
|
1337
|
+
}))) : x;
|
|
1329
1338
|
}
|
|
1330
|
-
const
|
|
1339
|
+
const di = (e) => {
|
|
1331
1340
|
let { children: t = "", options: n } = e, r = function(a, c) {
|
|
1332
1341
|
if (a == null) return {};
|
|
1333
|
-
var s, p, u = {},
|
|
1334
|
-
for (p = 0; p <
|
|
1342
|
+
var s, p, u = {}, g = Object.keys(a);
|
|
1343
|
+
for (p = 0; p < g.length; p++) c.indexOf(s = g[p]) >= 0 || (u[s] = a[s]);
|
|
1335
1344
|
return u;
|
|
1336
|
-
}(e,
|
|
1337
|
-
return X.cloneElement(
|
|
1338
|
-
},
|
|
1345
|
+
}(e, ro);
|
|
1346
|
+
return X.cloneElement(ci(t, n), r);
|
|
1347
|
+
}, ui = /* @__PURE__ */ v("div", {
|
|
1339
1348
|
target: "e197bd6i0",
|
|
1340
1349
|
label: "FlexContainer"
|
|
1341
1350
|
})("display:flex;", ({ align: e }) => e === "right" ? A`
|
|
1342
1351
|
justify-content: flex-end;
|
|
1343
1352
|
` : A`
|
|
1344
1353
|
justify-content: flex-start;
|
|
1345
|
-
`),
|
|
1354
|
+
`), cn = /* @__PURE__ */ v("div", {
|
|
1346
1355
|
target: "e197bd6i1",
|
|
1347
1356
|
label: "MessageContainer"
|
|
1348
1357
|
})("font-size:inherit;line-height:inherit;padding-top:8.5px;padding-bottom:8.5px;padding-left:0.5rem;padding-right:0.5rem;white-space:pre-wrap;overflow-wrap:break-word;box-sizing:border-box;", ({ align: e }) => e === "right" ? A`
|
|
@@ -1355,33 +1364,33 @@ const ci = (e) => {
|
|
|
1355
1364
|
max-width: 85%;
|
|
1356
1365
|
` : "", " color:", ({ theme: e }) => e.aiChat.primaryTextColor, ";background-color:", ({ theme: e, align: t }) => t === "right" ? e.aiChat.userMessages.backgroundColor : e.aiChat.systemMessages.backgroundColor, ";"), ie = ({ align: e, children: t }) => {
|
|
1357
1366
|
const { themeSettings: n } = R();
|
|
1358
|
-
return /* @__PURE__ */ o(
|
|
1367
|
+
return /* @__PURE__ */ o(ui, {
|
|
1359
1368
|
theme: n,
|
|
1360
1369
|
align: e,
|
|
1361
|
-
children: /* @__PURE__ */ o(
|
|
1370
|
+
children: /* @__PURE__ */ o(cn, {
|
|
1362
1371
|
theme: n,
|
|
1363
1372
|
align: e,
|
|
1364
|
-
children: typeof t == "string" ? /* @__PURE__ */ o(
|
|
1373
|
+
children: typeof t == "string" ? /* @__PURE__ */ o(di, {
|
|
1365
1374
|
children: t
|
|
1366
1375
|
}) : t
|
|
1367
1376
|
})
|
|
1368
1377
|
});
|
|
1369
1378
|
};
|
|
1370
|
-
function
|
|
1371
|
-
const { welcomeText: e } =
|
|
1379
|
+
function pi() {
|
|
1380
|
+
const { welcomeText: e } = te();
|
|
1372
1381
|
return e === !1 ? null : /* @__PURE__ */ o(ie, {
|
|
1373
1382
|
align: "left",
|
|
1374
1383
|
children: e
|
|
1375
1384
|
});
|
|
1376
1385
|
}
|
|
1377
|
-
const
|
|
1386
|
+
const hi = /* @__PURE__ */ v("div", {
|
|
1378
1387
|
target: "ewt6vnj0",
|
|
1379
1388
|
label: "FlexContainer"
|
|
1380
1389
|
})("display:flex;", ({ align: e }) => e === "right" ? A`
|
|
1381
1390
|
justify-content: flex-end;
|
|
1382
1391
|
` : A`
|
|
1383
1392
|
justify-content: flex-start;
|
|
1384
|
-
`),
|
|
1393
|
+
`), gi = /* @__PURE__ */ v("button", {
|
|
1385
1394
|
target: "ewt6vnj1",
|
|
1386
1395
|
label: "MessageButton"
|
|
1387
1396
|
})("font-family:inherit;font-size:inherit;line-height:inherit;border:", ({ theme: e }) => e.aiChat.clickableMessages.border, ";padding:0;cursor:pointer;color:", ({ theme: e }) => e.aiChat.clickableMessages.textColor, ";background-color:", ({ theme: e }) => e.aiChat.clickableMessages.backgroundColor, ";&:hover{color:", ({ theme: e }) => e.aiChat.clickableMessages.hover.textColor, ";background-color:", ({ theme: e }) => e.aiChat.clickableMessages.hover.backgroundColor, ";}border-radius:20px;", ({ align: e }) => e === "right" ? A`
|
|
@@ -1418,9 +1427,9 @@ const pi = /* @__PURE__ */ y("div", {
|
|
|
1418
1427
|
});
|
|
1419
1428
|
function Be({ children: e, align: t, onClick: n, onMouseEnter: r, onMouseLeave: a, accessibleName: c }) {
|
|
1420
1429
|
const { themeSettings: s } = R();
|
|
1421
|
-
return /* @__PURE__ */ o(
|
|
1430
|
+
return /* @__PURE__ */ o(hi, {
|
|
1422
1431
|
align: t,
|
|
1423
|
-
children: /* @__PURE__ */ o(
|
|
1432
|
+
children: /* @__PURE__ */ o(gi, {
|
|
1424
1433
|
"aria-label": c,
|
|
1425
1434
|
theme: s,
|
|
1426
1435
|
onClick: n,
|
|
@@ -1431,7 +1440,7 @@ function Be({ children: e, align: t, onClick: n, onMouseEnter: r, onMouseLeave:
|
|
|
1431
1440
|
})
|
|
1432
1441
|
});
|
|
1433
1442
|
}
|
|
1434
|
-
function
|
|
1443
|
+
function Ci({ onCancel: e, onConfirm: t }) {
|
|
1435
1444
|
const { t: n } = P();
|
|
1436
1445
|
return /* @__PURE__ */ w(j, {
|
|
1437
1446
|
children: [
|
|
@@ -1465,8 +1474,8 @@ function gi({ onCancel: e, onConfirm: t }) {
|
|
|
1465
1474
|
]
|
|
1466
1475
|
});
|
|
1467
1476
|
}
|
|
1468
|
-
var
|
|
1469
|
-
function
|
|
1477
|
+
var fi = Nn("toLowerCase");
|
|
1478
|
+
function mi() {
|
|
1470
1479
|
const { themeSettings: e } = R();
|
|
1471
1480
|
return /* @__PURE__ */ o("svg", {
|
|
1472
1481
|
width: "24",
|
|
@@ -1482,7 +1491,7 @@ function fi() {
|
|
|
1482
1491
|
})
|
|
1483
1492
|
});
|
|
1484
1493
|
}
|
|
1485
|
-
function
|
|
1494
|
+
function bi({ onClick: e }) {
|
|
1486
1495
|
const { t } = P();
|
|
1487
1496
|
return /* @__PURE__ */ o(Be, {
|
|
1488
1497
|
align: "left",
|
|
@@ -1490,25 +1499,25 @@ function mi({ onClick: e }) {
|
|
|
1490
1499
|
children: /* @__PURE__ */ w("div", {
|
|
1491
1500
|
className: "csdk-py-[5px] csdk-px-2 csdk-flex csdk-items-center csdk-gap-x-1 csdk-select-none",
|
|
1492
1501
|
children: [
|
|
1493
|
-
/* @__PURE__ */ o(
|
|
1502
|
+
/* @__PURE__ */ o(mi, {}),
|
|
1494
1503
|
t("ai.buttons.insights")
|
|
1495
1504
|
]
|
|
1496
1505
|
})
|
|
1497
1506
|
});
|
|
1498
1507
|
}
|
|
1499
|
-
function
|
|
1500
|
-
return
|
|
1508
|
+
function xi(e) {
|
|
1509
|
+
return Hn("MuiDialog", e);
|
|
1501
1510
|
}
|
|
1502
|
-
const We = Fn("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]),
|
|
1503
|
-
process.env.NODE_ENV !== "production" && (
|
|
1504
|
-
const
|
|
1511
|
+
const We = Fn("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), dn = /* @__PURE__ */ X.createContext({});
|
|
1512
|
+
process.env.NODE_ENV !== "production" && (dn.displayName = "DialogContext");
|
|
1513
|
+
const yi = Ne(Pn, {
|
|
1505
1514
|
name: "MuiDialog",
|
|
1506
1515
|
slot: "Backdrop",
|
|
1507
1516
|
overrides: (e, t) => t.backdrop
|
|
1508
1517
|
})({
|
|
1509
1518
|
// Improve scrollable dialog support.
|
|
1510
1519
|
zIndex: -1
|
|
1511
|
-
}),
|
|
1520
|
+
}), vi = (e) => {
|
|
1512
1521
|
const {
|
|
1513
1522
|
classes: t,
|
|
1514
1523
|
scroll: n,
|
|
@@ -1520,8 +1529,8 @@ const xi = Fe(Hn, {
|
|
|
1520
1529
|
container: ["container", `scroll${ue(n)}`],
|
|
1521
1530
|
paper: ["paper", `paperScroll${ue(n)}`, `paperWidth${ue(String(r))}`, a && "paperFullWidth", c && "paperFullScreen"]
|
|
1522
1531
|
};
|
|
1523
|
-
return
|
|
1524
|
-
},
|
|
1532
|
+
return qn(s, xi, t);
|
|
1533
|
+
}, ki = Ne(On, {
|
|
1525
1534
|
name: "MuiDialog",
|
|
1526
1535
|
slot: "Root",
|
|
1527
1536
|
overridesResolver: (e, t) => t.root
|
|
@@ -1530,7 +1539,7 @@ const xi = Fe(Hn, {
|
|
|
1530
1539
|
// Use !important to override the Modal inline-style.
|
|
1531
1540
|
position: "absolute !important"
|
|
1532
1541
|
}
|
|
1533
|
-
}),
|
|
1542
|
+
}), wi = Ne("div", {
|
|
1534
1543
|
name: "MuiDialog",
|
|
1535
1544
|
slot: "Container",
|
|
1536
1545
|
overridesResolver: (e, t) => {
|
|
@@ -1572,7 +1581,7 @@ const xi = Fe(Hn, {
|
|
|
1572
1581
|
}
|
|
1573
1582
|
}
|
|
1574
1583
|
}]
|
|
1575
|
-
}),
|
|
1584
|
+
}), Si = Ne(Bt, {
|
|
1576
1585
|
name: "MuiDialog",
|
|
1577
1586
|
slot: "Paper",
|
|
1578
1587
|
overridesResolver: (e, t) => {
|
|
@@ -1581,7 +1590,7 @@ const xi = Fe(Hn, {
|
|
|
1581
1590
|
} = e;
|
|
1582
1591
|
return [t.paper, t[`scrollPaper${ue(n.scroll)}`], t[`paperWidth${ue(String(n.maxWidth))}`], n.fullWidth && t.paperFullWidth, n.fullScreen && t.paperFullScreen];
|
|
1583
1592
|
}
|
|
1584
|
-
})(
|
|
1593
|
+
})($n(({
|
|
1585
1594
|
theme: e
|
|
1586
1595
|
}) => ({
|
|
1587
1596
|
margin: 32,
|
|
@@ -1664,28 +1673,28 @@ const xi = Fe(Hn, {
|
|
|
1664
1673
|
}
|
|
1665
1674
|
}
|
|
1666
1675
|
}]
|
|
1667
|
-
}))),
|
|
1668
|
-
const r =
|
|
1676
|
+
}))), un = /* @__PURE__ */ X.forwardRef(function(t, n) {
|
|
1677
|
+
const r = Dn({
|
|
1669
1678
|
props: t,
|
|
1670
1679
|
name: "MuiDialog"
|
|
1671
|
-
}), a =
|
|
1680
|
+
}), a = An(), c = {
|
|
1672
1681
|
enter: a.transitions.duration.enteringScreen,
|
|
1673
1682
|
exit: a.transitions.duration.leavingScreen
|
|
1674
1683
|
}, ut = r, {
|
|
1675
1684
|
"aria-describedby": s,
|
|
1676
1685
|
"aria-labelledby": p,
|
|
1677
1686
|
"aria-modal": u = !0,
|
|
1678
|
-
BackdropComponent:
|
|
1687
|
+
BackdropComponent: g,
|
|
1679
1688
|
BackdropProps: m,
|
|
1680
|
-
children:
|
|
1689
|
+
children: x,
|
|
1681
1690
|
className: i,
|
|
1682
1691
|
disableEscapeKeyDown: d = !1,
|
|
1683
1692
|
fullScreen: l = !1,
|
|
1684
1693
|
fullWidth: C = !1,
|
|
1685
|
-
maxWidth:
|
|
1694
|
+
maxWidth: h = "sm",
|
|
1686
1695
|
onBackdropClick: k,
|
|
1687
1696
|
onClick: S,
|
|
1688
|
-
onClose:
|
|
1697
|
+
onClose: y,
|
|
1689
1698
|
open: L,
|
|
1690
1699
|
PaperComponent: E = Bt,
|
|
1691
1700
|
PaperProps: T = {},
|
|
@@ -1719,17 +1728,17 @@ const xi = Fe(Hn, {
|
|
|
1719
1728
|
"TransitionComponent",
|
|
1720
1729
|
"transitionDuration",
|
|
1721
1730
|
"TransitionProps"
|
|
1722
|
-
]),
|
|
1731
|
+
]), N = I(M({}, r), {
|
|
1723
1732
|
disableEscapeKeyDown: d,
|
|
1724
1733
|
fullScreen: l,
|
|
1725
1734
|
fullWidth: C,
|
|
1726
|
-
maxWidth:
|
|
1735
|
+
maxWidth: h,
|
|
1727
1736
|
scroll: B
|
|
1728
|
-
}), Q =
|
|
1737
|
+
}), Q = vi(N), _ = X.useRef(), V = (de) => {
|
|
1729
1738
|
_.current = de.target === de.currentTarget;
|
|
1730
1739
|
}, D = (de) => {
|
|
1731
|
-
S && S(de), _.current && (_.current = null, k && k(de),
|
|
1732
|
-
}, Z =
|
|
1740
|
+
S && S(de), _.current && (_.current = null, k && k(de), y && y(de, "backdropClick"));
|
|
1741
|
+
}, Z = zn(p), ne = X.useMemo(() => ({
|
|
1733
1742
|
titleId: Z
|
|
1734
1743
|
}), [Z]), le = M({
|
|
1735
1744
|
transition: U
|
|
@@ -1737,36 +1746,36 @@ const xi = Fe(Hn, {
|
|
|
1737
1746
|
transition: q,
|
|
1738
1747
|
paper: T,
|
|
1739
1748
|
backdrop: m
|
|
1740
|
-
}, ae),
|
|
1749
|
+
}, ae), F = {
|
|
1741
1750
|
slots: le,
|
|
1742
1751
|
slotProps: ce
|
|
1743
1752
|
}, [K, Me] = Ce("root", {
|
|
1744
|
-
elementType:
|
|
1753
|
+
elementType: ki,
|
|
1745
1754
|
shouldForwardComponentProp: !0,
|
|
1746
|
-
externalForwardedProps:
|
|
1747
|
-
ownerState:
|
|
1755
|
+
externalForwardedProps: F,
|
|
1756
|
+
ownerState: N,
|
|
1748
1757
|
className: De(Q.root, i),
|
|
1749
1758
|
ref: n
|
|
1750
1759
|
}), [dt, Te] = Ce("backdrop", {
|
|
1751
|
-
elementType:
|
|
1760
|
+
elementType: yi,
|
|
1752
1761
|
shouldForwardComponentProp: !0,
|
|
1753
|
-
externalForwardedProps:
|
|
1754
|
-
ownerState:
|
|
1755
|
-
}), [
|
|
1756
|
-
elementType:
|
|
1762
|
+
externalForwardedProps: F,
|
|
1763
|
+
ownerState: N
|
|
1764
|
+
}), [gn, Cn] = Ce("paper", {
|
|
1765
|
+
elementType: Si,
|
|
1757
1766
|
shouldForwardComponentProp: !0,
|
|
1758
|
-
externalForwardedProps:
|
|
1759
|
-
ownerState:
|
|
1767
|
+
externalForwardedProps: F,
|
|
1768
|
+
ownerState: N,
|
|
1760
1769
|
className: De(Q.paper, T.className)
|
|
1761
|
-
}), [
|
|
1762
|
-
elementType:
|
|
1763
|
-
externalForwardedProps:
|
|
1764
|
-
ownerState:
|
|
1770
|
+
}), [fn, mn] = Ce("container", {
|
|
1771
|
+
elementType: wi,
|
|
1772
|
+
externalForwardedProps: F,
|
|
1773
|
+
ownerState: N,
|
|
1765
1774
|
className: De(Q.container)
|
|
1766
|
-
}), [
|
|
1775
|
+
}), [bn, xn] = Ce("transition", {
|
|
1767
1776
|
elementType: Ct,
|
|
1768
|
-
externalForwardedProps:
|
|
1769
|
-
ownerState:
|
|
1777
|
+
externalForwardedProps: F,
|
|
1778
|
+
ownerState: N,
|
|
1770
1779
|
additionalProps: {
|
|
1771
1780
|
appear: !0,
|
|
1772
1781
|
in: L,
|
|
@@ -1782,36 +1791,36 @@ const xi = Fe(Hn, {
|
|
|
1782
1791
|
slotProps: {
|
|
1783
1792
|
backdrop: M({
|
|
1784
1793
|
transitionDuration: W,
|
|
1785
|
-
as:
|
|
1794
|
+
as: g
|
|
1786
1795
|
}, Te)
|
|
1787
1796
|
},
|
|
1788
1797
|
disableEscapeKeyDown: d,
|
|
1789
|
-
onClose:
|
|
1798
|
+
onClose: y,
|
|
1790
1799
|
open: L,
|
|
1791
1800
|
onClick: D
|
|
1792
1801
|
}, Me), G), {
|
|
1793
|
-
children: /* @__PURE__ */ fe(
|
|
1794
|
-
children: /* @__PURE__ */ fe(
|
|
1802
|
+
children: /* @__PURE__ */ fe(bn, I(M({}, xn), {
|
|
1803
|
+
children: /* @__PURE__ */ fe(fn, I(M({
|
|
1795
1804
|
onMouseDown: V
|
|
1796
|
-
},
|
|
1797
|
-
children: /* @__PURE__ */ fe(
|
|
1805
|
+
}, mn), {
|
|
1806
|
+
children: /* @__PURE__ */ fe(gn, I(M({
|
|
1798
1807
|
as: E,
|
|
1799
1808
|
elevation: 24,
|
|
1800
1809
|
role: "dialog",
|
|
1801
1810
|
"aria-describedby": s,
|
|
1802
1811
|
"aria-labelledby": Z,
|
|
1803
1812
|
"aria-modal": u
|
|
1804
|
-
},
|
|
1805
|
-
children: /* @__PURE__ */ fe(
|
|
1806
|
-
value:
|
|
1807
|
-
children:
|
|
1813
|
+
}, Cn), {
|
|
1814
|
+
children: /* @__PURE__ */ fe(dn.Provider, {
|
|
1815
|
+
value: ne,
|
|
1816
|
+
children: x
|
|
1808
1817
|
})
|
|
1809
1818
|
}))
|
|
1810
1819
|
}))
|
|
1811
1820
|
}))
|
|
1812
1821
|
}));
|
|
1813
1822
|
});
|
|
1814
|
-
process.env.NODE_ENV !== "production" && (
|
|
1823
|
+
process.env.NODE_ENV !== "production" && (un.propTypes = {
|
|
1815
1824
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
1816
1825
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
1817
1826
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -1974,7 +1983,7 @@ process.env.NODE_ENV !== "production" && (dn.propTypes = {
|
|
|
1974
1983
|
*/
|
|
1975
1984
|
TransitionProps: f.object
|
|
1976
1985
|
});
|
|
1977
|
-
function
|
|
1986
|
+
function Mi({ fillColor: e = "#262E3D" }) {
|
|
1978
1987
|
return /* @__PURE__ */ w("svg", {
|
|
1979
1988
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1980
1989
|
width: "30",
|
|
@@ -1999,7 +2008,7 @@ function Si({ fillColor: e = "#262E3D" }) {
|
|
|
1999
2008
|
]
|
|
2000
2009
|
});
|
|
2001
2010
|
}
|
|
2002
|
-
const
|
|
2011
|
+
const pn = {
|
|
2003
2012
|
row: {
|
|
2004
2013
|
hover: "rgba(224, 224, 224, 0.3)"
|
|
2005
2014
|
},
|
|
@@ -2084,18 +2093,18 @@ const un = {
|
|
|
2084
2093
|
errorBG: "rgba(231, 71, 39, 0.1)"
|
|
2085
2094
|
}
|
|
2086
2095
|
}
|
|
2087
|
-
},
|
|
2096
|
+
}, Ti = {
|
|
2088
2097
|
shouldForwardProp: (e) => !e.startsWith("$")
|
|
2089
|
-
}, Se = /* @__PURE__ */
|
|
2098
|
+
}, Se = /* @__PURE__ */ v(Nt, Ti, {
|
|
2090
2099
|
target: "e869yoj0",
|
|
2091
2100
|
label: "IconButton"
|
|
2092
2101
|
})(({ $hoverColor: e }) => ({
|
|
2093
2102
|
padding: 2,
|
|
2094
2103
|
"&.MuiIconButton-root:hover": {
|
|
2095
|
-
backgroundColor: e != null ? e :
|
|
2104
|
+
backgroundColor: e != null ? e : pn.interaction.defaultHover
|
|
2096
2105
|
}
|
|
2097
2106
|
}));
|
|
2098
|
-
function
|
|
2107
|
+
function Li({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
|
|
2099
2108
|
return /* @__PURE__ */ o("svg", {
|
|
2100
2109
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2101
2110
|
width: "24",
|
|
@@ -2110,7 +2119,7 @@ function Ti({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
|
|
|
2110
2119
|
})
|
|
2111
2120
|
});
|
|
2112
2121
|
}
|
|
2113
|
-
function
|
|
2122
|
+
function Ri({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
|
|
2114
2123
|
return /* @__PURE__ */ o("svg", {
|
|
2115
2124
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2116
2125
|
width: "24",
|
|
@@ -2125,7 +2134,7 @@ function Li({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
|
|
|
2125
2134
|
})
|
|
2126
2135
|
});
|
|
2127
2136
|
}
|
|
2128
|
-
function
|
|
2137
|
+
function Ei() {
|
|
2129
2138
|
return /* @__PURE__ */ o("svg", {
|
|
2130
2139
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2131
2140
|
width: "24",
|
|
@@ -2141,19 +2150,19 @@ function Ri() {
|
|
|
2141
2150
|
})
|
|
2142
2151
|
});
|
|
2143
2152
|
}
|
|
2144
|
-
const lt = (e) => Ht(e.chart.backgroundColor),
|
|
2153
|
+
const lt = (e) => Ht(e.chart.backgroundColor), Ii = ({ title: e }) => {
|
|
2145
2154
|
const { themeSettings: t } = R();
|
|
2146
2155
|
return /* @__PURE__ */ o(we, {
|
|
2147
2156
|
title: e,
|
|
2148
2157
|
children: /* @__PURE__ */ o(Se, {
|
|
2149
2158
|
disableTouchRipple: !0,
|
|
2150
2159
|
$hoverColor: lt(t),
|
|
2151
|
-
children: /* @__PURE__ */ o(
|
|
2160
|
+
children: /* @__PURE__ */ o(Ri, {
|
|
2152
2161
|
fill: t.chart.textColor
|
|
2153
2162
|
})
|
|
2154
2163
|
})
|
|
2155
2164
|
});
|
|
2156
|
-
},
|
|
2165
|
+
}, Bi = ({ items: e }) => {
|
|
2157
2166
|
const [t, n] = $(null), r = (s) => {
|
|
2158
2167
|
n(s.currentTarget);
|
|
2159
2168
|
}, a = () => {
|
|
@@ -2165,11 +2174,11 @@ const lt = (e) => Ht(e.chart.backgroundColor), Ei = ({ title: e }) => {
|
|
|
2165
2174
|
onClick: r,
|
|
2166
2175
|
$hoverColor: lt(c),
|
|
2167
2176
|
"aria-label": "three dots button",
|
|
2168
|
-
children: /* @__PURE__ */ o(
|
|
2177
|
+
children: /* @__PURE__ */ o(jn, {
|
|
2169
2178
|
fill: c.chart.textColor
|
|
2170
2179
|
})
|
|
2171
2180
|
}),
|
|
2172
|
-
/* @__PURE__ */ o(
|
|
2181
|
+
/* @__PURE__ */ o(Zn, {
|
|
2173
2182
|
anchorEl: t,
|
|
2174
2183
|
anchorOrigin: {
|
|
2175
2184
|
vertical: "bottom",
|
|
@@ -2181,14 +2190,14 @@ const lt = (e) => Ht(e.chart.backgroundColor), Ei = ({ title: e }) => {
|
|
|
2181
2190
|
},
|
|
2182
2191
|
open: !!t,
|
|
2183
2192
|
onClose: a,
|
|
2184
|
-
children: e.map((s) => /* @__PURE__ */ w(
|
|
2193
|
+
children: e.map((s) => /* @__PURE__ */ w(Wn, {
|
|
2185
2194
|
onClick: () => {
|
|
2186
2195
|
s.onClick(), a();
|
|
2187
2196
|
},
|
|
2188
2197
|
sx: {
|
|
2189
2198
|
fontSize: "13px",
|
|
2190
2199
|
fontFamily: c.typography.fontFamily,
|
|
2191
|
-
color:
|
|
2200
|
+
color: pn.text.content
|
|
2192
2201
|
},
|
|
2193
2202
|
disableRipple: !0,
|
|
2194
2203
|
children: [
|
|
@@ -2202,28 +2211,28 @@ const lt = (e) => Ht(e.chart.backgroundColor), Ei = ({ title: e }) => {
|
|
|
2202
2211
|
})
|
|
2203
2212
|
]
|
|
2204
2213
|
});
|
|
2205
|
-
},
|
|
2214
|
+
}, Ni = ({ onClick: e }) => {
|
|
2206
2215
|
const { themeSettings: t } = R(), { t: n } = P();
|
|
2207
2216
|
return /* @__PURE__ */ o(we, {
|
|
2208
2217
|
title: n("ai.preview"),
|
|
2209
2218
|
children: /* @__PURE__ */ o(Se, {
|
|
2210
2219
|
onClick: e,
|
|
2211
2220
|
$hoverColor: lt(t),
|
|
2212
|
-
children: /* @__PURE__ */ o(
|
|
2221
|
+
children: /* @__PURE__ */ o(Li, {
|
|
2213
2222
|
fill: t.chart.textColor
|
|
2214
2223
|
})
|
|
2215
2224
|
})
|
|
2216
2225
|
});
|
|
2217
|
-
}, Fi = /* @__PURE__ */
|
|
2226
|
+
}, Fi = /* @__PURE__ */ v("div", {
|
|
2218
2227
|
target: "esuuigp0",
|
|
2219
2228
|
label: "ToolbarContainer"
|
|
2220
2229
|
})("display:flex;padding-top:6px;padding-bottom:6px;");
|
|
2221
|
-
function
|
|
2230
|
+
function Hi({ infoTooltipText: e, onRefresh: t, onExpand: n }) {
|
|
2222
2231
|
const r = z(() => [
|
|
2223
2232
|
{
|
|
2224
2233
|
title: "Refresh",
|
|
2225
2234
|
onClick: t,
|
|
2226
|
-
icon: /* @__PURE__ */ o(
|
|
2235
|
+
icon: /* @__PURE__ */ o(Ei, {})
|
|
2227
2236
|
}
|
|
2228
2237
|
], [
|
|
2229
2238
|
t
|
|
@@ -2231,43 +2240,43 @@ function Ni({ infoTooltipText: e, onRefresh: t, onExpand: n }) {
|
|
|
2231
2240
|
return /* @__PURE__ */ w(Fi, {
|
|
2232
2241
|
"aria-label": "chatbot chart toolbar",
|
|
2233
2242
|
children: [
|
|
2234
|
-
/* @__PURE__ */ o(
|
|
2243
|
+
/* @__PURE__ */ o(Ii, {
|
|
2235
2244
|
title: e != null ? e : ""
|
|
2236
2245
|
}),
|
|
2237
|
-
/* @__PURE__ */ o(
|
|
2246
|
+
/* @__PURE__ */ o(Bi, {
|
|
2238
2247
|
items: r
|
|
2239
2248
|
}),
|
|
2240
|
-
/* @__PURE__ */ o(
|
|
2249
|
+
/* @__PURE__ */ o(Ni, {
|
|
2241
2250
|
onClick: n
|
|
2242
2251
|
})
|
|
2243
2252
|
]
|
|
2244
2253
|
});
|
|
2245
2254
|
}
|
|
2246
|
-
function
|
|
2255
|
+
function Pi({ content: e }) {
|
|
2247
2256
|
const [t, n] = $(!1), { themeSettings: r } = R(), { inlineElement: a, expandedElement: c } = z(() => {
|
|
2248
|
-
const s =
|
|
2257
|
+
const s = Fe(e, {
|
|
2249
2258
|
useCustomizedStyleOptions: !0
|
|
2250
2259
|
});
|
|
2251
2260
|
if (s === void 0 || !Ze(s))
|
|
2252
2261
|
throw new Ge("errors.otherWidgetTypesNotSupported");
|
|
2253
|
-
const { detailedDescription: p } = e, { styleOptions: u } = s,
|
|
2262
|
+
const { detailedDescription: p } = e, { styleOptions: u } = s, g = {
|
|
2254
2263
|
cornerRadius: "Small",
|
|
2255
2264
|
header: {
|
|
2256
|
-
renderToolbar: (i) => /* @__PURE__ */ o(
|
|
2265
|
+
renderToolbar: (i) => /* @__PURE__ */ o(Hi, {
|
|
2257
2266
|
infoTooltipText: p,
|
|
2258
2267
|
onRefresh: i,
|
|
2259
2268
|
onExpand: () => n(!0)
|
|
2260
2269
|
})
|
|
2261
2270
|
}
|
|
2262
2271
|
};
|
|
2263
|
-
let m,
|
|
2264
|
-
if (
|
|
2272
|
+
let m, x;
|
|
2273
|
+
if (Kn(s.chartType))
|
|
2265
2274
|
m = /* @__PURE__ */ o("div", {
|
|
2266
2275
|
className: "csdk-h-[245px]",
|
|
2267
2276
|
children: /* @__PURE__ */ o(xe, I(M({}, s), {
|
|
2268
|
-
styleOptions:
|
|
2277
|
+
styleOptions: g
|
|
2269
2278
|
}))
|
|
2270
|
-
}),
|
|
2279
|
+
}), x = /* @__PURE__ */ o(xe, I(M({}, s), {
|
|
2271
2280
|
styleOptions: {
|
|
2272
2281
|
header: {
|
|
2273
2282
|
hidden: !0
|
|
@@ -2283,12 +2292,12 @@ function Hi({ content: e }) {
|
|
|
2283
2292
|
legend: void 0,
|
|
2284
2293
|
xAxis: void 0,
|
|
2285
2294
|
yAxis: void 0
|
|
2286
|
-
}),
|
|
2295
|
+
}), g);
|
|
2287
2296
|
delete d.legend, delete d.xAxis, delete d.yAxis, m = /* @__PURE__ */ o("div", {
|
|
2288
2297
|
children: /* @__PURE__ */ o(xe, I(M({}, s), {
|
|
2289
2298
|
styleOptions: d
|
|
2290
2299
|
}))
|
|
2291
|
-
}),
|
|
2300
|
+
}), x = /* @__PURE__ */ o(xe, I(M({}, s), {
|
|
2292
2301
|
styleOptions: M({
|
|
2293
2302
|
cornerRadius: "None"
|
|
2294
2303
|
}, i)
|
|
@@ -2296,7 +2305,7 @@ function Hi({ content: e }) {
|
|
|
2296
2305
|
}
|
|
2297
2306
|
return {
|
|
2298
2307
|
inlineElement: m,
|
|
2299
|
-
expandedElement:
|
|
2308
|
+
expandedElement: x
|
|
2300
2309
|
};
|
|
2301
2310
|
}, [
|
|
2302
2311
|
e
|
|
@@ -2304,7 +2313,7 @@ function Hi({ content: e }) {
|
|
|
2304
2313
|
return /* @__PURE__ */ w(j, {
|
|
2305
2314
|
children: [
|
|
2306
2315
|
a,
|
|
2307
|
-
/* @__PURE__ */ w(
|
|
2316
|
+
/* @__PURE__ */ w(un, {
|
|
2308
2317
|
open: t,
|
|
2309
2318
|
onClose: () => n(!1),
|
|
2310
2319
|
maxWidth: "xl",
|
|
@@ -2323,10 +2332,10 @@ function Hi({ content: e }) {
|
|
|
2323
2332
|
className: "csdk-text-ai-lg csdk-semibold",
|
|
2324
2333
|
children: e.queryTitle
|
|
2325
2334
|
}),
|
|
2326
|
-
/* @__PURE__ */ o(
|
|
2335
|
+
/* @__PURE__ */ o(Nt, {
|
|
2327
2336
|
onClick: () => n(!1),
|
|
2328
2337
|
"aria-label": "close expanded chart",
|
|
2329
|
-
children: /* @__PURE__ */ o(
|
|
2338
|
+
children: /* @__PURE__ */ o(Mi, {
|
|
2330
2339
|
fillColor: r.aiChat.primaryTextColor
|
|
2331
2340
|
})
|
|
2332
2341
|
})
|
|
@@ -2341,7 +2350,7 @@ function Hi({ content: e }) {
|
|
|
2341
2350
|
]
|
|
2342
2351
|
});
|
|
2343
2352
|
}
|
|
2344
|
-
function
|
|
2353
|
+
function Oi({ theme: e }) {
|
|
2345
2354
|
return /* @__PURE__ */ o("svg", {
|
|
2346
2355
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2347
2356
|
width: "24",
|
|
@@ -2356,7 +2365,7 @@ function Pi({ theme: e }) {
|
|
|
2356
2365
|
})
|
|
2357
2366
|
});
|
|
2358
2367
|
}
|
|
2359
|
-
function
|
|
2368
|
+
function $i({ onClick: e, disabled: t }) {
|
|
2360
2369
|
const { themeSettings: n } = R(), { t: r } = P();
|
|
2361
2370
|
return /* @__PURE__ */ o(we, {
|
|
2362
2371
|
title: r("ai.buttons.incorrectResponse"),
|
|
@@ -2365,13 +2374,13 @@ function Oi({ onClick: e, disabled: t }) {
|
|
|
2365
2374
|
onClick: e,
|
|
2366
2375
|
$hoverColor: n.aiChat.icons.feedbackIcons.hoverColor,
|
|
2367
2376
|
disabled: t,
|
|
2368
|
-
children: /* @__PURE__ */ o(
|
|
2377
|
+
children: /* @__PURE__ */ o(Oi, {
|
|
2369
2378
|
theme: n
|
|
2370
2379
|
})
|
|
2371
2380
|
})
|
|
2372
2381
|
});
|
|
2373
2382
|
}
|
|
2374
|
-
function
|
|
2383
|
+
function Di({ theme: e }) {
|
|
2375
2384
|
return /* @__PURE__ */ o("svg", {
|
|
2376
2385
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2377
2386
|
width: "24",
|
|
@@ -2386,7 +2395,7 @@ function $i({ theme: e }) {
|
|
|
2386
2395
|
})
|
|
2387
2396
|
});
|
|
2388
2397
|
}
|
|
2389
|
-
function
|
|
2398
|
+
function Ai({ onClick: e, disabled: t }) {
|
|
2390
2399
|
const { themeSettings: n } = R(), { t: r } = P();
|
|
2391
2400
|
return /* @__PURE__ */ o(we, {
|
|
2392
2401
|
title: r("ai.buttons.correctResponse"),
|
|
@@ -2395,13 +2404,13 @@ function Di({ onClick: e, disabled: t }) {
|
|
|
2395
2404
|
onClick: e,
|
|
2396
2405
|
$hoverColor: n.aiChat.icons.feedbackIcons.hoverColor,
|
|
2397
2406
|
disabled: t,
|
|
2398
|
-
children: /* @__PURE__ */ o(
|
|
2407
|
+
children: /* @__PURE__ */ o(Di, {
|
|
2399
2408
|
theme: n
|
|
2400
2409
|
})
|
|
2401
2410
|
})
|
|
2402
2411
|
});
|
|
2403
2412
|
}
|
|
2404
|
-
const
|
|
2413
|
+
const zi = () => {
|
|
2405
2414
|
const [e, t] = $(!1), n = pe(null), r = H(() => {
|
|
2406
2415
|
t(!0);
|
|
2407
2416
|
}, []), a = H(() => {
|
|
@@ -2417,11 +2426,11 @@ const Ai = () => {
|
|
|
2417
2426
|
]),
|
|
2418
2427
|
e
|
|
2419
2428
|
];
|
|
2420
|
-
},
|
|
2429
|
+
}, qi = /* @__PURE__ */ v("div", {
|
|
2421
2430
|
target: "esagoru0",
|
|
2422
2431
|
label: "Container"
|
|
2423
2432
|
})("display:flex;flex-direction:column;row-gap:", ({ theme: e }) => e.aiChat.body.gapBetweenMessages, ";");
|
|
2424
|
-
function
|
|
2433
|
+
function ji({ visible: e, onSend: t }) {
|
|
2425
2434
|
const [n, r] = $(!1), a = H((s) => {
|
|
2426
2435
|
r(!0), t(s === "up" ? 1 : -1);
|
|
2427
2436
|
}, [
|
|
@@ -2430,11 +2439,11 @@ function qi({ visible: e, onSend: t }) {
|
|
|
2430
2439
|
return e ? /* @__PURE__ */ w("div", {
|
|
2431
2440
|
className: `csdk-flex csdk-items-center ${c}`,
|
|
2432
2441
|
children: [
|
|
2433
|
-
/* @__PURE__ */ o(
|
|
2442
|
+
/* @__PURE__ */ o(Ai, {
|
|
2434
2443
|
onClick: () => a("up"),
|
|
2435
2444
|
disabled: n
|
|
2436
2445
|
}),
|
|
2437
|
-
/* @__PURE__ */ o(
|
|
2446
|
+
/* @__PURE__ */ o($i, {
|
|
2438
2447
|
onClick: () => a("down"),
|
|
2439
2448
|
disabled: n
|
|
2440
2449
|
})
|
|
@@ -2442,36 +2451,36 @@ function qi({ visible: e, onSend: t }) {
|
|
|
2442
2451
|
}) : null;
|
|
2443
2452
|
}
|
|
2444
2453
|
function _e({ sourceId: e, data: t, type: n, buttonVisibility: r = "onHover", renderContent: a }) {
|
|
2445
|
-
const c = J(), s =
|
|
2454
|
+
const c = J(), s = Gn(H((x) => {
|
|
2446
2455
|
c && c.ai.sendFeedback({
|
|
2447
2456
|
sourceId: e,
|
|
2448
2457
|
type: n,
|
|
2449
2458
|
data: t,
|
|
2450
|
-
rating:
|
|
2459
|
+
rating: x
|
|
2451
2460
|
});
|
|
2452
2461
|
}, [
|
|
2453
2462
|
c,
|
|
2454
2463
|
e,
|
|
2455
2464
|
t,
|
|
2456
2465
|
n
|
|
2457
|
-
]), 200), [p, u] =
|
|
2466
|
+
]), 200), [p, u] = zi(), g = z(() => r === "onHover" ? u : r !== "never", [
|
|
2458
2467
|
u,
|
|
2459
2468
|
r
|
|
2460
2469
|
]), { themeSettings: m } = R();
|
|
2461
|
-
return /* @__PURE__ */ o(
|
|
2470
|
+
return /* @__PURE__ */ o(qi, {
|
|
2462
2471
|
ref: p,
|
|
2463
2472
|
theme: m,
|
|
2464
|
-
children: a(/* @__PURE__ */ o(
|
|
2473
|
+
children: a(/* @__PURE__ */ o(ji, {
|
|
2465
2474
|
onSend: s,
|
|
2466
|
-
visible:
|
|
2475
|
+
visible: g
|
|
2467
2476
|
}))
|
|
2468
2477
|
});
|
|
2469
2478
|
}
|
|
2470
|
-
const
|
|
2479
|
+
const Wi = 18 * 5;
|
|
2471
2480
|
function ct({ text: e }) {
|
|
2472
2481
|
const [t, n] = $(!0), [r, a] = $(!1), { t: c } = P(), s = pe(null);
|
|
2473
2482
|
return Ie(() => {
|
|
2474
|
-
s.current && s.current.scrollHeight >
|
|
2483
|
+
s.current && s.current.scrollHeight > Wi && a(!0);
|
|
2475
2484
|
}, [
|
|
2476
2485
|
e
|
|
2477
2486
|
]), /* @__PURE__ */ w("div", {
|
|
@@ -2492,7 +2501,7 @@ function ct({ text: e }) {
|
|
|
2492
2501
|
]
|
|
2493
2502
|
});
|
|
2494
2503
|
}
|
|
2495
|
-
function
|
|
2504
|
+
function Zi({ nlgRequest: e }) {
|
|
2496
2505
|
const { data: t, isLoading: n, isError: r } = He(e), { t: a } = P();
|
|
2497
2506
|
return n ? /* @__PURE__ */ o(it, {}) : r ? /* @__PURE__ */ o(ie, {
|
|
2498
2507
|
align: "left",
|
|
@@ -2504,25 +2513,25 @@ function Wi({ nlgRequest: e }) {
|
|
|
2504
2513
|
})
|
|
2505
2514
|
});
|
|
2506
2515
|
}
|
|
2507
|
-
const Mt = /* @__PURE__ */
|
|
2516
|
+
const Mt = /* @__PURE__ */ v("div", {
|
|
2508
2517
|
target: "e1kvvygt0",
|
|
2509
2518
|
label: "FlexRow"
|
|
2510
|
-
})("display:flex;align-items:center;column-gap:10px;"),
|
|
2511
|
-
function
|
|
2512
|
-
const { chatMode: n = "analyze", enableInsights: r } =
|
|
2519
|
+
})("display:flex;align-items:center;column-gap:10px;"), Gi = (e) => !!e && "aeiou".includes(e[0]);
|
|
2520
|
+
function Vi({ data: e, alwaysShowFeedback: t }) {
|
|
2521
|
+
const { chatMode: n = "analyze", enableInsights: r } = te(), { themeSettings: a } = R(), { queryTitle: c, chartRecommendations: s, jaql: p, userMsg: u, clarification: g = "" } = e;
|
|
2513
2522
|
console.debug(`JAQL for ${c}`, p), console.debug(`chart recommendations for ${c}`, s);
|
|
2514
2523
|
const m = "chartType" in s ? s.chartType : "table";
|
|
2515
|
-
let
|
|
2516
|
-
|
|
2524
|
+
let x;
|
|
2525
|
+
Gi(m) ? x = `an ${m}` : x = `a ${m}`, m !== "table" && (x += " chart");
|
|
2517
2526
|
const i = p.datasource.title, [d, l] = $(!1), C = H(() => {
|
|
2518
|
-
l((
|
|
2519
|
-
}, []),
|
|
2527
|
+
l((y) => !y);
|
|
2528
|
+
}, []), h = {
|
|
2520
2529
|
jaql: {
|
|
2521
2530
|
datasource: p.datasource,
|
|
2522
2531
|
metadata: p.metadata
|
|
2523
2532
|
}
|
|
2524
|
-
}, k = n === "analyze", S = `${u}${u &&
|
|
2525
|
-
` : ""}${
|
|
2533
|
+
}, k = n === "analyze", S = `${u}${u && g ? `
|
|
2534
|
+
` : ""}${g}`;
|
|
2526
2535
|
return /* @__PURE__ */ w(j, {
|
|
2527
2536
|
children: [
|
|
2528
2537
|
/* @__PURE__ */ o(_e, {
|
|
@@ -2530,19 +2539,19 @@ function Gi({ data: e, alwaysShowFeedback: t }) {
|
|
|
2530
2539
|
data: e,
|
|
2531
2540
|
type: "chats/nlq",
|
|
2532
2541
|
buttonVisibility: t ? "always" : "onHover",
|
|
2533
|
-
renderContent: (
|
|
2542
|
+
renderContent: (y) => /* @__PURE__ */ w(j, {
|
|
2534
2543
|
children: [
|
|
2535
2544
|
/* @__PURE__ */ w(Mt, {
|
|
2536
2545
|
children: [
|
|
2537
|
-
/* @__PURE__ */ o(
|
|
2546
|
+
/* @__PURE__ */ o(cn, {
|
|
2538
2547
|
align: "left",
|
|
2539
2548
|
theme: a,
|
|
2540
|
-
children: S || `Here's ${
|
|
2549
|
+
children: S || `Here's ${x} showing ${fi(c)}.`
|
|
2541
2550
|
}),
|
|
2542
|
-
|
|
2551
|
+
y
|
|
2543
2552
|
]
|
|
2544
2553
|
}),
|
|
2545
|
-
k && /* @__PURE__ */ o(
|
|
2554
|
+
k && /* @__PURE__ */ o(Pi, {
|
|
2546
2555
|
content: e
|
|
2547
2556
|
})
|
|
2548
2557
|
]
|
|
@@ -2550,21 +2559,21 @@ function Gi({ data: e, alwaysShowFeedback: t }) {
|
|
|
2550
2559
|
}),
|
|
2551
2560
|
r && /* @__PURE__ */ o(_e, {
|
|
2552
2561
|
sourceId: i,
|
|
2553
|
-
data:
|
|
2562
|
+
data: h,
|
|
2554
2563
|
type: "nlg/queryResult",
|
|
2555
2564
|
buttonVisibility: d ? "onHover" : "never",
|
|
2556
|
-
renderContent: (
|
|
2565
|
+
renderContent: (y) => /* @__PURE__ */ w(j, {
|
|
2557
2566
|
children: [
|
|
2558
2567
|
/* @__PURE__ */ w(Mt, {
|
|
2559
2568
|
children: [
|
|
2560
|
-
/* @__PURE__ */ o(
|
|
2569
|
+
/* @__PURE__ */ o(bi, {
|
|
2561
2570
|
onClick: C
|
|
2562
2571
|
}),
|
|
2563
|
-
|
|
2572
|
+
y
|
|
2564
2573
|
]
|
|
2565
2574
|
}),
|
|
2566
|
-
d && /* @__PURE__ */ o(
|
|
2567
|
-
nlgRequest:
|
|
2575
|
+
d && /* @__PURE__ */ o(Zi, {
|
|
2576
|
+
nlgRequest: h
|
|
2568
2577
|
})
|
|
2569
2578
|
]
|
|
2570
2579
|
})
|
|
@@ -2572,39 +2581,39 @@ function Gi({ data: e, alwaysShowFeedback: t }) {
|
|
|
2572
2581
|
]
|
|
2573
2582
|
});
|
|
2574
2583
|
}
|
|
2575
|
-
function
|
|
2584
|
+
function Ui({ message: e, isLastMessage: t }) {
|
|
2576
2585
|
if (ot(e)) {
|
|
2577
2586
|
const r = JSON.parse(e.content);
|
|
2578
|
-
return /* @__PURE__ */ o(
|
|
2587
|
+
return /* @__PURE__ */ o(Vi, {
|
|
2579
2588
|
data: r,
|
|
2580
2589
|
alwaysShowFeedback: t
|
|
2581
2590
|
});
|
|
2582
2591
|
}
|
|
2583
|
-
const n =
|
|
2592
|
+
const n = Tr(e) ? JSON.parse(e.content).answer : e.content;
|
|
2584
2593
|
return /* @__PURE__ */ o(ie, {
|
|
2585
2594
|
align: e.role === "user" ? "right" : "left",
|
|
2586
2595
|
children: n
|
|
2587
2596
|
});
|
|
2588
2597
|
}
|
|
2589
|
-
const
|
|
2598
|
+
const Qi = /* @__PURE__ */ tr(Ui), _i = ({ error: e, displayMessage: t }) => (console.debug("Unexpected error occurred when resolving a chat message:", e), /* @__PURE__ */ o(ie, {
|
|
2590
2599
|
align: "left",
|
|
2591
2600
|
children: t
|
|
2592
2601
|
}));
|
|
2593
|
-
function
|
|
2602
|
+
function Ki({ messages: e }) {
|
|
2594
2603
|
const { t } = P();
|
|
2595
2604
|
return /* @__PURE__ */ o(j, {
|
|
2596
|
-
children: e.map((n, r) => /* @__PURE__ */ o(
|
|
2597
|
-
fallbackRender: (a) =>
|
|
2605
|
+
children: e.map((n, r) => /* @__PURE__ */ o(Vn, {
|
|
2606
|
+
fallbackRender: (a) => _i(I(M({}, a), {
|
|
2598
2607
|
displayMessage: t("ai.errors.unexpected")
|
|
2599
2608
|
})),
|
|
2600
|
-
children: /* @__PURE__ */ o(
|
|
2609
|
+
children: /* @__PURE__ */ o(Qi, {
|
|
2601
2610
|
message: n,
|
|
2602
2611
|
isLastMessage: r === e.length - 1
|
|
2603
2612
|
}, r)
|
|
2604
2613
|
}, r))
|
|
2605
2614
|
});
|
|
2606
2615
|
}
|
|
2607
|
-
function
|
|
2616
|
+
function hn({ color: e }) {
|
|
2608
2617
|
return /* @__PURE__ */ o("svg", {
|
|
2609
2618
|
width: "100%",
|
|
2610
2619
|
height: "100%",
|
|
@@ -2617,17 +2626,17 @@ function pn({ color: e }) {
|
|
|
2617
2626
|
})
|
|
2618
2627
|
});
|
|
2619
2628
|
}
|
|
2620
|
-
function
|
|
2629
|
+
function Xi({ onClick: e, color: t }) {
|
|
2621
2630
|
return /* @__PURE__ */ o("div", {
|
|
2622
2631
|
"aria-label": "go back",
|
|
2623
2632
|
className: "csdk-w-5 csdk-h-5 csdk-flex csdk-p-[4px] csdk-ml-[6px] csdk-cursor-pointer",
|
|
2624
2633
|
onClick: e,
|
|
2625
|
-
children: /* @__PURE__ */ o(
|
|
2634
|
+
children: /* @__PURE__ */ o(hn, {
|
|
2626
2635
|
color: t
|
|
2627
2636
|
})
|
|
2628
2637
|
});
|
|
2629
2638
|
}
|
|
2630
|
-
function
|
|
2639
|
+
function Ji() {
|
|
2631
2640
|
const { themeSettings: e } = R();
|
|
2632
2641
|
return /* @__PURE__ */ o("svg", {
|
|
2633
2642
|
width: "24",
|
|
@@ -2643,30 +2652,30 @@ function Xi() {
|
|
|
2643
2652
|
})
|
|
2644
2653
|
});
|
|
2645
2654
|
}
|
|
2646
|
-
const
|
|
2647
|
-
const n = new
|
|
2655
|
+
const Yi = (e, t) => {
|
|
2656
|
+
const n = new Xn(e);
|
|
2648
2657
|
return n.alpha = t, n;
|
|
2649
|
-
},
|
|
2658
|
+
}, e1 = /* @__PURE__ */ v("div", {
|
|
2650
2659
|
target: "ehfkql80",
|
|
2651
2660
|
label: "Container"
|
|
2652
|
-
})("font-size:inherit;line-height:inherit;padding-left:8px;padding-right:8px;padding-top:4px;border-radius:16px;margin-bottom:4px;box-shadow:", ({ theme: e }) => `0 4px 8px 0 ${
|
|
2661
|
+
})("font-size:inherit;line-height:inherit;padding-left:8px;padding-right:8px;padding-top:4px;border-radius:16px;margin-bottom:4px;box-shadow:", ({ theme: e }) => `0 4px 8px 0 ${Yi(e.aiChat.primaryTextColor, 0.2)}`, ";cursor:pointer;color:", ({ theme: e }) => e.aiChat.clickableMessages.textColor, ";background-color:", ({ theme: e }) => e.aiChat.clickableMessages.backgroundColor, ";&:hover{color:", ({ theme: e }) => e.aiChat.clickableMessages.hover.textColor, ";background-color:", ({ theme: e }) => e.aiChat.clickableMessages.hover.backgroundColor, ";box-shadow:none;"), t1 = ({ onClick: e }) => {
|
|
2653
2662
|
const { themeSettings: t } = R();
|
|
2654
|
-
return /* @__PURE__ */ o(
|
|
2663
|
+
return /* @__PURE__ */ o(e1, {
|
|
2655
2664
|
theme: t,
|
|
2656
2665
|
onClick: e,
|
|
2657
|
-
children: /* @__PURE__ */ o(
|
|
2666
|
+
children: /* @__PURE__ */ o(Ji, {})
|
|
2658
2667
|
});
|
|
2659
|
-
},
|
|
2668
|
+
}, n1 = ({ isVisible: e, onClick: t, anchorElement: n }) => /* @__PURE__ */ o(It, {
|
|
2660
2669
|
anchorEl: n,
|
|
2661
2670
|
open: e,
|
|
2662
2671
|
placement: "top",
|
|
2663
2672
|
sx: {
|
|
2664
2673
|
zIndex: 2
|
|
2665
2674
|
},
|
|
2666
|
-
children: /* @__PURE__ */ o(
|
|
2675
|
+
children: /* @__PURE__ */ o(t1, {
|
|
2667
2676
|
onClick: t
|
|
2668
2677
|
})
|
|
2669
|
-
}),
|
|
2678
|
+
}), r1 = /* @__PURE__ */ v("button", {
|
|
2670
2679
|
target: "e9ck5hw0",
|
|
2671
2680
|
label: "Button"
|
|
2672
2681
|
})("font-size:inherit;line-height:inherit;box-sizing:border-box;border-width:1px;padding-left:1rem;padding-right:1rem;padding-top:0.5rem;padding-bottom:0.5rem;cursor:pointer;text-align:left;max-width:85%;font-family:", ({ theme: e }) => e.typography.fontFamily, ";color:", ({ theme: e }) => e.aiChat.suggestions.textColor, ";background-color:", ({ theme: e }) => e.aiChat.suggestions.backgroundColor, ";border:", ({ theme: e }) => e.aiChat.suggestions.border, ";border-radius:", ({ theme: e }) => e.aiChat.suggestions.borderRadius, ";&:hover{background-color:", ({ theme: e }) => e.aiChat.suggestions.hover.backgroundColor, ";color:", ({ theme: e }) => e.aiChat.suggestions.hover.textColor, ";}", ({ theme: e }) => {
|
|
@@ -2697,22 +2706,22 @@ const Ji = (e, t) => {
|
|
|
2697
2706
|
});
|
|
2698
2707
|
function Tt({ question: e, onClick: t }) {
|
|
2699
2708
|
const { themeSettings: n } = R();
|
|
2700
|
-
return /* @__PURE__ */ o(
|
|
2709
|
+
return /* @__PURE__ */ o(r1, {
|
|
2701
2710
|
onClick: t,
|
|
2702
2711
|
theme: n,
|
|
2703
2712
|
children: e
|
|
2704
2713
|
});
|
|
2705
2714
|
}
|
|
2706
|
-
const
|
|
2715
|
+
const o1 = /* @__PURE__ */ v("div", {
|
|
2707
2716
|
target: "e1wvyac80",
|
|
2708
2717
|
label: "ListContainer"
|
|
2709
2718
|
})("display:flex;flex-direction:column;align-items:flex-start;row-gap:", ({ theme: e }) => e.aiChat.suggestions.gap, ";");
|
|
2710
|
-
function
|
|
2719
|
+
function i1({ questions: e, onSelection: t }) {
|
|
2711
2720
|
const { t: n } = P(), [r, a] = $(!0), c = z(() => r && e.length > 5 ? e.slice(0, 4) : e, [
|
|
2712
2721
|
e,
|
|
2713
2722
|
r
|
|
2714
2723
|
]), { themeSettings: s } = R();
|
|
2715
|
-
return /* @__PURE__ */ w(
|
|
2724
|
+
return /* @__PURE__ */ w(o1, {
|
|
2716
2725
|
"aria-label": "list of suggested questions",
|
|
2717
2726
|
theme: s,
|
|
2718
2727
|
children: [
|
|
@@ -2727,7 +2736,7 @@ function o1({ questions: e, onSelection: t }) {
|
|
|
2727
2736
|
]
|
|
2728
2737
|
});
|
|
2729
2738
|
}
|
|
2730
|
-
const
|
|
2739
|
+
const a1 = /* @__PURE__ */ v("div", {
|
|
2731
2740
|
target: "e1v0x5940",
|
|
2732
2741
|
label: "Row"
|
|
2733
2742
|
})("width:283px;height:32px;border-radius:10px;background:", ({ theme: e }) => {
|
|
@@ -2738,79 +2747,79 @@ const i1 = /* @__PURE__ */ y("div", {
|
|
|
2738
2747
|
${n} 50%,
|
|
2739
2748
|
${t} 100%
|
|
2740
2749
|
)`;
|
|
2741
|
-
}, ";background-size:200% auto;animation:gradient 2s linear infinite;@keyframes gradient{0%{background-position:0 0;}100%{background-position:-200% 0;}}"),
|
|
2750
|
+
}, ";background-size:200% auto;animation:gradient 2s linear infinite;@keyframes gradient{0%{background-position:0 0;}100%{background-position:-200% 0;}}"), s1 = /* @__PURE__ */ v("div", {
|
|
2742
2751
|
target: "e1v0x5941",
|
|
2743
2752
|
label: "SkeletonContainer"
|
|
2744
2753
|
})("display:flex;flex-direction:column;row-gap:1rem;");
|
|
2745
|
-
function
|
|
2754
|
+
function l1() {
|
|
2746
2755
|
const { themeSettings: e } = R();
|
|
2747
|
-
return /* @__PURE__ */ o(
|
|
2756
|
+
return /* @__PURE__ */ o(s1, {
|
|
2748
2757
|
children: Array.from({
|
|
2749
2758
|
length: 3
|
|
2750
|
-
}, (t, n) => /* @__PURE__ */ o(
|
|
2759
|
+
}, (t, n) => /* @__PURE__ */ o(a1, {
|
|
2751
2760
|
theme: e
|
|
2752
2761
|
}, n))
|
|
2753
2762
|
});
|
|
2754
2763
|
}
|
|
2755
|
-
function
|
|
2756
|
-
const r = e.length > 0, { suggestionsWelcomeText: a } =
|
|
2757
|
-
return t ? /* @__PURE__ */ o(
|
|
2764
|
+
function c1({ questions: e, isLoading: t, onSelection: n }) {
|
|
2765
|
+
const r = e.length > 0, { suggestionsWelcomeText: a } = te();
|
|
2766
|
+
return t ? /* @__PURE__ */ o(l1, {}) : r ? /* @__PURE__ */ w(j, {
|
|
2758
2767
|
children: [
|
|
2759
2768
|
a && /* @__PURE__ */ o(ie, {
|
|
2760
2769
|
align: "left",
|
|
2761
2770
|
children: a
|
|
2762
2771
|
}),
|
|
2763
|
-
/* @__PURE__ */ o(
|
|
2772
|
+
/* @__PURE__ */ o(i1, {
|
|
2764
2773
|
onSelection: n,
|
|
2765
2774
|
questions: e
|
|
2766
2775
|
})
|
|
2767
2776
|
]
|
|
2768
2777
|
}) : null;
|
|
2769
2778
|
}
|
|
2770
|
-
const
|
|
2779
|
+
const d1 = /* @__PURE__ */ v("div", {
|
|
2771
2780
|
target: "eqnclj50",
|
|
2772
2781
|
label: "ChatBody"
|
|
2773
|
-
})("display:flex;flex-direction:column;row-gap:", ({ theme: e }) => e.aiChat.body.gapBetweenMessages, ";overflow-y:scroll;padding-left:", ({ theme: e }) => e.aiChat.body.paddingLeft, ";padding-right:", ({ theme: e }) => e.aiChat.body.paddingRight, ";padding-top:", ({ theme: e }) => e.aiChat.body.paddingTop, ";padding-bottom:", ({ theme: e }) => e.aiChat.body.paddingBottom, ";flex:initial;height:100%;"),
|
|
2782
|
+
})("display:flex;flex-direction:column;row-gap:", ({ theme: e }) => e.aiChat.body.gapBetweenMessages, ";overflow-y:scroll;padding-left:", ({ theme: e }) => e.aiChat.body.paddingLeft, ";padding-right:", ({ theme: e }) => e.aiChat.body.paddingRight, ";padding-top:", ({ theme: e }) => e.aiChat.body.paddingTop, ";padding-bottom:", ({ theme: e }) => e.aiChat.body.paddingBottom, ";flex:initial;height:100%;"), u1 = /* @__PURE__ */ v("div", {
|
|
2774
2783
|
target: "eqnclj51",
|
|
2775
2784
|
label: "ChatFooter"
|
|
2776
|
-
})("padding-left:", ({ theme: e }) => e.aiChat.footer.paddingLeft, ";padding-right:", ({ theme: e }) => e.aiChat.footer.paddingRight, ";padding-top:", ({ theme: e }) => e.aiChat.footer.paddingTop, ";padding-bottom:", ({ theme: e }) => e.aiChat.footer.paddingBottom, ";display:flex;flex-direction:column;row-gap:6px;"),
|
|
2785
|
+
})("padding-left:", ({ theme: e }) => e.aiChat.footer.paddingLeft, ";padding-right:", ({ theme: e }) => e.aiChat.footer.paddingRight, ";padding-top:", ({ theme: e }) => e.aiChat.footer.paddingTop, ";padding-bottom:", ({ theme: e }) => e.aiChat.footer.paddingBottom, ";display:flex;flex-direction:column;row-gap:6px;"), p1 = /* @__PURE__ */ v("div", {
|
|
2777
2786
|
target: "eqnclj52",
|
|
2778
2787
|
label: "FollowupQuestionsContainer"
|
|
2779
2788
|
})("display:flex;flex-direction:column;row-gap:", ({ theme: e }) => e.aiChat.suggestions.gap, ";");
|
|
2780
|
-
function
|
|
2781
|
-
var
|
|
2782
|
-
const { t: r } = P(), { enableFollowupQuestions: a, enableHeader: c, numOfRecentPrompts: s, numOfRecommendations: p, customPrompt: u } =
|
|
2789
|
+
function h1({ contextTitle: e, onGoBack: t, contextDetails: n }) {
|
|
2790
|
+
var ne, le, ce;
|
|
2791
|
+
const { t: r } = P(), { enableFollowupQuestions: a, enableHeader: c, numOfRecentPrompts: s, numOfRecommendations: p, customPrompt: u } = te(), { themeSettings: g } = R(), { data: m, isLoading: x, isError: i } = Dt({
|
|
2783
2792
|
contextTitle: e,
|
|
2784
2793
|
count: p,
|
|
2785
2794
|
customPrompt: u
|
|
2786
|
-
}), d = z(() => m == null ? void 0 : m.map((
|
|
2795
|
+
}), d = z(() => m == null ? void 0 : m.map((F) => F.nlqPrompt), [
|
|
2787
2796
|
m
|
|
2788
|
-
]), { history: l, lastNlqResponse: C, isAwaitingResponse:
|
|
2797
|
+
]), { history: l, lastNlqResponse: C, isAwaitingResponse: h, sendMessage: k, isLoading: S, chatId: y, lastError: L } = Lr(e, n), { mutate: E, isLoading: T } = qt(y), [B, O] = $(!1), [ae, U] = $(!1), W = () => O(!0), q = () => O(!1), G = () => {
|
|
2789
2798
|
E(), q();
|
|
2790
|
-
},
|
|
2791
|
-
if (!(
|
|
2792
|
-
const { scrollTop:
|
|
2793
|
-
if (
|
|
2794
|
-
const Te = Me -
|
|
2799
|
+
}, N = pe(null), Q = pe(null), _ = () => {
|
|
2800
|
+
if (!(N != null && N.current)) return;
|
|
2801
|
+
const { scrollTop: F, clientHeight: K, scrollHeight: Me } = N.current;
|
|
2802
|
+
if (F === void 0 || K === void 0 || Me === void 0) return;
|
|
2803
|
+
const Te = Me - F - K > K / 2;
|
|
2795
2804
|
ae !== Te && U(Te);
|
|
2796
2805
|
};
|
|
2797
2806
|
Ie(() => {
|
|
2798
|
-
|
|
2807
|
+
N.current && (N.current.scrollTop = N.current.scrollHeight);
|
|
2799
2808
|
}, [
|
|
2800
2809
|
l,
|
|
2801
2810
|
B,
|
|
2802
|
-
|
|
2811
|
+
h
|
|
2803
2812
|
]);
|
|
2804
|
-
const V = pe(null), D = c ? /* @__PURE__ */ o(
|
|
2813
|
+
const V = pe(null), D = c ? /* @__PURE__ */ o(Zt, {
|
|
2805
2814
|
ref: V,
|
|
2806
2815
|
title: e,
|
|
2807
|
-
leftNav: t && /* @__PURE__ */ o(
|
|
2816
|
+
leftNav: t && /* @__PURE__ */ o(Xi, {
|
|
2808
2817
|
onClick: t,
|
|
2809
|
-
color:
|
|
2818
|
+
color: g.aiChat.header.textColor
|
|
2810
2819
|
}),
|
|
2811
|
-
style:
|
|
2820
|
+
style: g.aiChat.header
|
|
2812
2821
|
}) : null, Z = z(() => [
|
|
2813
|
-
...new Set(l.filter((
|
|
2822
|
+
...new Set(l.filter((F) => F.role === "user").filter((F) => !(d != null && d.includes(F.content))).map((F) => F.content).reverse())
|
|
2814
2823
|
].slice(0, s), [
|
|
2815
2824
|
l,
|
|
2816
2825
|
s,
|
|
@@ -2819,142 +2828,142 @@ function p1({ contextTitle: e, onGoBack: t, contextDetails: n }) {
|
|
|
2819
2828
|
return (L == null ? void 0 : L.message) === r("ai.errors.chatUnavailable") ? /* @__PURE__ */ w(j, {
|
|
2820
2829
|
children: [
|
|
2821
2830
|
c && D,
|
|
2822
|
-
/* @__PURE__ */ o(
|
|
2831
|
+
/* @__PURE__ */ o(Wt, {
|
|
2823
2832
|
text: L.message
|
|
2824
2833
|
})
|
|
2825
2834
|
]
|
|
2826
2835
|
}) : /* @__PURE__ */ w(j, {
|
|
2827
2836
|
children: [
|
|
2828
2837
|
D,
|
|
2829
|
-
/* @__PURE__ */ w(
|
|
2830
|
-
ref:
|
|
2831
|
-
theme:
|
|
2838
|
+
/* @__PURE__ */ w(d1, {
|
|
2839
|
+
ref: N,
|
|
2840
|
+
theme: g,
|
|
2832
2841
|
onScroll: _,
|
|
2833
2842
|
children: [
|
|
2834
|
-
/* @__PURE__ */ o(
|
|
2843
|
+
/* @__PURE__ */ o(n1, {
|
|
2835
2844
|
isVisible: ae,
|
|
2836
2845
|
anchorElement: Q.current,
|
|
2837
2846
|
onClick: () => {
|
|
2838
|
-
var
|
|
2839
|
-
(K =
|
|
2840
|
-
top: (
|
|
2847
|
+
var F, K;
|
|
2848
|
+
(K = N.current) == null || K.scroll({
|
|
2849
|
+
top: (F = N.current) == null ? void 0 : F.scrollHeight,
|
|
2841
2850
|
behavior: "smooth"
|
|
2842
2851
|
});
|
|
2843
2852
|
}
|
|
2844
2853
|
}),
|
|
2845
|
-
/* @__PURE__ */ o(
|
|
2846
|
-
/* @__PURE__ */ o(
|
|
2854
|
+
/* @__PURE__ */ o(pi, {}),
|
|
2855
|
+
/* @__PURE__ */ o(c1, {
|
|
2847
2856
|
questions: d || [],
|
|
2848
|
-
isLoading:
|
|
2857
|
+
isLoading: x,
|
|
2849
2858
|
onSelection: k
|
|
2850
2859
|
}),
|
|
2851
2860
|
L && /* @__PURE__ */ o(ie, {
|
|
2852
2861
|
align: "left",
|
|
2853
2862
|
children: L.message
|
|
2854
2863
|
}),
|
|
2855
|
-
S ? /* @__PURE__ */ o(Pe, {}) : /* @__PURE__ */ o(
|
|
2864
|
+
S ? /* @__PURE__ */ o(Pe, {}) : /* @__PURE__ */ o(Ki, {
|
|
2856
2865
|
messages: l
|
|
2857
2866
|
}),
|
|
2858
|
-
a && C && ((le = (
|
|
2859
|
-
theme:
|
|
2860
|
-
children: (ce = C.followupQuestions) == null ? void 0 : ce.slice(0, 2).map((
|
|
2867
|
+
a && C && ((le = (ne = C.followupQuestions) == null ? void 0 : ne.length) != null ? le : 0) > 0 && /* @__PURE__ */ o(p1, {
|
|
2868
|
+
theme: g,
|
|
2869
|
+
children: (ce = C.followupQuestions) == null ? void 0 : ce.slice(0, 2).map((F, K) => /* @__PURE__ */ o(Be, {
|
|
2861
2870
|
align: "left",
|
|
2862
2871
|
onClick: () => {
|
|
2863
|
-
k(
|
|
2872
|
+
k(F);
|
|
2864
2873
|
},
|
|
2865
2874
|
children: /* @__PURE__ */ o("div", {
|
|
2866
2875
|
className: "csdk-py-[7px] csdk-px-4",
|
|
2867
|
-
children:
|
|
2876
|
+
children: F
|
|
2868
2877
|
})
|
|
2869
2878
|
}, K))
|
|
2870
2879
|
}),
|
|
2871
|
-
(
|
|
2872
|
-
B && /* @__PURE__ */ o(
|
|
2880
|
+
(h || T) && /* @__PURE__ */ o(it, {}),
|
|
2881
|
+
B && /* @__PURE__ */ o(Ci, {
|
|
2873
2882
|
onCancel: q,
|
|
2874
2883
|
onConfirm: G
|
|
2875
2884
|
})
|
|
2876
2885
|
]
|
|
2877
2886
|
}),
|
|
2878
|
-
/* @__PURE__ */ w(
|
|
2887
|
+
/* @__PURE__ */ w(u1, {
|
|
2879
2888
|
ref: Q,
|
|
2880
|
-
theme:
|
|
2889
|
+
theme: g,
|
|
2881
2890
|
children: [
|
|
2882
|
-
/* @__PURE__ */ o(
|
|
2891
|
+
/* @__PURE__ */ o(Xr, {
|
|
2883
2892
|
onSendMessage: k,
|
|
2884
|
-
disabled:
|
|
2893
|
+
disabled: h || S,
|
|
2885
2894
|
onClearHistoryClick: W,
|
|
2886
2895
|
suggestions: d || [],
|
|
2887
2896
|
recentPrompts: Z,
|
|
2888
|
-
isLoading:
|
|
2897
|
+
isLoading: x || S,
|
|
2889
2898
|
recommendationsError: i,
|
|
2890
2899
|
onChange: q
|
|
2891
2900
|
}),
|
|
2892
|
-
/* @__PURE__ */ o(
|
|
2893
|
-
theme:
|
|
2901
|
+
/* @__PURE__ */ o(Pr, {
|
|
2902
|
+
theme: g
|
|
2894
2903
|
})
|
|
2895
2904
|
]
|
|
2896
2905
|
})
|
|
2897
2906
|
]
|
|
2898
2907
|
});
|
|
2899
2908
|
}
|
|
2900
|
-
const
|
|
2909
|
+
const g1 = /* @__PURE__ */ v("button", {
|
|
2901
2910
|
target: "eaokl8t0",
|
|
2902
2911
|
label: "Container"
|
|
2903
|
-
})("font-family:", ({ theme: e }) => e.typography.fontFamily, ";padding:20px;border:none;display:flex;align-items:center;justify-content:space-between;text-align:left;border-radius:15px;box-shadow:0px 1px 2px rgba(9,9,10,0.1),0px 2px 4px rgba(9,9,10,0.1);cursor:pointer;background-color:", ({ theme: e }) => e.aiChat.dataTopics.items.backgroundColor, ";"),
|
|
2912
|
+
})("font-family:", ({ theme: e }) => e.typography.fontFamily, ";padding:20px;border:none;display:flex;align-items:center;justify-content:space-between;text-align:left;border-radius:15px;box-shadow:0px 1px 2px rgba(9,9,10,0.1),0px 2px 4px rgba(9,9,10,0.1);cursor:pointer;background-color:", ({ theme: e }) => e.aiChat.dataTopics.items.backgroundColor, ";"), C1 = /* @__PURE__ */ v("div", {
|
|
2904
2913
|
target: "eaokl8t1",
|
|
2905
2914
|
label: "Title"
|
|
2906
|
-
})("font-size:1.05rem;line-height:28px;color:", ({ theme: e }) => e.aiChat.dataTopics.items.textColor, ";"),
|
|
2915
|
+
})("font-size:1.05rem;line-height:28px;color:", ({ theme: e }) => e.aiChat.dataTopics.items.textColor, ";"), f1 = /* @__PURE__ */ v("div", {
|
|
2907
2916
|
target: "eaokl8t2",
|
|
2908
2917
|
label: "Description"
|
|
2909
|
-
})("font-size:", ({ theme: e }) => e.aiChat.primaryFontSize[0], ";line-height:", ({ theme: e }) => e.aiChat.primaryFontSize[1], ";color:", ({ theme: e }) => Ht(e.aiChat.dataTopics.items.textColor, 0, 0.5), ";"),
|
|
2918
|
+
})("font-size:", ({ theme: e }) => e.aiChat.primaryFontSize[0], ";line-height:", ({ theme: e }) => e.aiChat.primaryFontSize[1], ";color:", ({ theme: e }) => Ht(e.aiChat.dataTopics.items.textColor, 0, 0.5), ";"), m1 = /* @__PURE__ */ v("div", {
|
|
2910
2919
|
target: "eaokl8t3",
|
|
2911
2920
|
label: "IconContainer"
|
|
2912
2921
|
})("width:16px;height:16px;transform:rotate(180deg);");
|
|
2913
|
-
function
|
|
2922
|
+
function b1(e) {
|
|
2914
2923
|
const { title: t, description: n, onClick: r } = e, { themeSettings: a } = R();
|
|
2915
|
-
return /* @__PURE__ */ w(
|
|
2924
|
+
return /* @__PURE__ */ w(g1, {
|
|
2916
2925
|
onClick: r,
|
|
2917
2926
|
theme: a,
|
|
2918
2927
|
children: [
|
|
2919
2928
|
/* @__PURE__ */ w("div", {
|
|
2920
2929
|
children: [
|
|
2921
|
-
/* @__PURE__ */ o(
|
|
2930
|
+
/* @__PURE__ */ o(C1, {
|
|
2922
2931
|
theme: a,
|
|
2923
2932
|
children: t
|
|
2924
2933
|
}),
|
|
2925
|
-
/* @__PURE__ */ o(
|
|
2934
|
+
/* @__PURE__ */ o(f1, {
|
|
2926
2935
|
theme: a,
|
|
2927
2936
|
children: n
|
|
2928
2937
|
})
|
|
2929
2938
|
]
|
|
2930
2939
|
}),
|
|
2931
|
-
/* @__PURE__ */ o(
|
|
2932
|
-
children: /* @__PURE__ */ o(
|
|
2940
|
+
/* @__PURE__ */ o(m1, {
|
|
2941
|
+
children: /* @__PURE__ */ o(hn, {
|
|
2933
2942
|
color: a.aiChat.icons.color
|
|
2934
2943
|
})
|
|
2935
2944
|
})
|
|
2936
2945
|
]
|
|
2937
2946
|
});
|
|
2938
2947
|
}
|
|
2939
|
-
const
|
|
2948
|
+
const x1 = /* @__PURE__ */ v("div", {
|
|
2940
2949
|
target: "evdxtuj0",
|
|
2941
2950
|
label: "FlexContainer"
|
|
2942
|
-
})("padding:20px;display:flex;flex-direction:column;gap:20px;overflow:auto;"),
|
|
2951
|
+
})("padding:20px;display:flex;flex-direction:column;gap:20px;overflow:auto;"), y1 = /* @__PURE__ */ v("div", {
|
|
2943
2952
|
target: "evdxtuj1",
|
|
2944
2953
|
label: "Title"
|
|
2945
|
-
})("font-size:24px;line-height:32px;font-weight:600;text-align:center;padding-bottom:4px;color:", ({ theme: e }) => e.aiChat.primaryTextColor, ";"),
|
|
2954
|
+
})("font-size:24px;line-height:32px;font-weight:600;text-align:center;padding-bottom:4px;color:", ({ theme: e }) => e.aiChat.primaryTextColor, ";"), v1 = /* @__PURE__ */ v("div", {
|
|
2946
2955
|
target: "evdxtuj2",
|
|
2947
2956
|
label: "Subtitle"
|
|
2948
2957
|
})("font-size:15px;line-height:22px;color:", ({ theme: e }) => e.aiChat.primaryTextColor, ";");
|
|
2949
|
-
function
|
|
2958
|
+
function k1(e) {
|
|
2950
2959
|
const { dataTopics: t } = e, { themeSettings: n } = R(), { t: r } = P();
|
|
2951
|
-
return /* @__PURE__ */ w(
|
|
2960
|
+
return /* @__PURE__ */ w(x1, {
|
|
2952
2961
|
children: [
|
|
2953
|
-
/* @__PURE__ */ o(
|
|
2962
|
+
/* @__PURE__ */ o(y1, {
|
|
2954
2963
|
theme: n,
|
|
2955
2964
|
children: r("ai.dataTopics")
|
|
2956
2965
|
}),
|
|
2957
|
-
/* @__PURE__ */ w(
|
|
2966
|
+
/* @__PURE__ */ w(v1, {
|
|
2958
2967
|
theme: n,
|
|
2959
2968
|
children: [
|
|
2960
2969
|
r("ai.chatbotDescription"),
|
|
@@ -2963,15 +2972,15 @@ function v1(e) {
|
|
|
2963
2972
|
r("ai.topicSelectPrompt")
|
|
2964
2973
|
]
|
|
2965
2974
|
}),
|
|
2966
|
-
t.map((a) => /* @__PURE__ */
|
|
2975
|
+
t.map((a) => /* @__PURE__ */ Un(b1, I(M({}, a), {
|
|
2967
2976
|
key: a.title
|
|
2968
2977
|
})))
|
|
2969
2978
|
]
|
|
2970
2979
|
});
|
|
2971
2980
|
}
|
|
2972
|
-
const
|
|
2973
|
-
function
|
|
2974
|
-
const t = e ?
|
|
2981
|
+
const w1 = "#000000", S1 = "#FFFFFF";
|
|
2982
|
+
function M1({ isDarkBackground: e = !1 }) {
|
|
2983
|
+
const t = e ? S1 : w1;
|
|
2975
2984
|
return /* @__PURE__ */ w("svg", {
|
|
2976
2985
|
width: "32",
|
|
2977
2986
|
height: "32",
|
|
@@ -3046,37 +3055,37 @@ function S1({ isDarkBackground: e = !1 }) {
|
|
|
3046
3055
|
]
|
|
3047
3056
|
});
|
|
3048
3057
|
}
|
|
3049
|
-
const
|
|
3058
|
+
const T1 = /* @__PURE__ */ v("div", {
|
|
3050
3059
|
target: "eqdfbpm0",
|
|
3051
3060
|
label: "LogoContainer"
|
|
3052
|
-
})("margin-left:14px;margin-top:3px;"),
|
|
3061
|
+
})("margin-left:14px;margin-top:3px;"), L1 = /* @__PURE__ */ v("div", {
|
|
3053
3062
|
target: "eqdfbpm1",
|
|
3054
3063
|
label: "DataTopicsContainer"
|
|
3055
3064
|
})("display:flex;flex-direction:column;justify-content:top;overflow:hidden;height:100%;background-color:", ({ theme: e }) => e.aiChat.dataTopics.backgroundColor, ";");
|
|
3056
|
-
function
|
|
3057
|
-
const { enableHeader: n } =
|
|
3065
|
+
function R1({ dataTopicsList: e, onDataTopicClick: t }) {
|
|
3066
|
+
const { enableHeader: n } = te(), { themeSettings: r } = R(), { t: a } = P(), c = z(() => e == null ? void 0 : e.map((p) => ({
|
|
3058
3067
|
title: p,
|
|
3059
3068
|
onClick: () => t(p)
|
|
3060
3069
|
})), [
|
|
3061
3070
|
e,
|
|
3062
3071
|
t
|
|
3063
|
-
]), s =
|
|
3072
|
+
]), s = Jn(Yn(r.aiChat.header.backgroundColor)) > 0.5;
|
|
3064
3073
|
return /* @__PURE__ */ w(j, {
|
|
3065
3074
|
children: [
|
|
3066
|
-
n ? /* @__PURE__ */ o(
|
|
3075
|
+
n ? /* @__PURE__ */ o(Zt, {
|
|
3067
3076
|
title: a("ai.analyticsChatbot"),
|
|
3068
|
-
leftNav: /* @__PURE__ */ o(
|
|
3069
|
-
children: /* @__PURE__ */ o(
|
|
3077
|
+
leftNav: /* @__PURE__ */ o(T1, {
|
|
3078
|
+
children: /* @__PURE__ */ o(M1, {
|
|
3070
3079
|
isDarkBackground: s
|
|
3071
3080
|
})
|
|
3072
3081
|
}),
|
|
3073
3082
|
style: r.aiChat.header
|
|
3074
3083
|
}) : null,
|
|
3075
|
-
/* @__PURE__ */ w(
|
|
3084
|
+
/* @__PURE__ */ w(L1, {
|
|
3076
3085
|
theme: r,
|
|
3077
3086
|
children: [
|
|
3078
3087
|
!c && /* @__PURE__ */ o(Pe, {}),
|
|
3079
|
-
c && /* @__PURE__ */ o(
|
|
3088
|
+
c && /* @__PURE__ */ o(k1, {
|
|
3080
3089
|
dataTopics: c
|
|
3081
3090
|
})
|
|
3082
3091
|
]
|
|
@@ -3084,14 +3093,14 @@ function L1({ dataTopicsList: e, onDataTopicClick: t }) {
|
|
|
3084
3093
|
]
|
|
3085
3094
|
});
|
|
3086
3095
|
}
|
|
3087
|
-
function
|
|
3088
|
-
const [e, t] = $(), [n, r] = $(), { data: a, fetchStatus: c } =
|
|
3089
|
-
l.length ? l.length === 1 && (r(void 0), t(l[0])) : r(
|
|
3096
|
+
function E1() {
|
|
3097
|
+
const [e, t] = $(), [n, r] = $(), { data: a, fetchStatus: c } = vr(), { dataTopicsList: s, contextDetails: p } = te(), { t: u } = P(), g = u("ai.errors.noAvailableDataTopics"), m = H((l) => {
|
|
3098
|
+
l.length ? l.length === 1 && (r(void 0), t(l[0])) : r(g);
|
|
3090
3099
|
}, [
|
|
3091
|
-
|
|
3092
|
-
]),
|
|
3100
|
+
g
|
|
3101
|
+
]), x = z(() => {
|
|
3093
3102
|
if (a && c === "idle") {
|
|
3094
|
-
const C = (s != null && s.length ? a == null ? void 0 : a.filter((
|
|
3103
|
+
const C = (s != null && s.length ? a == null ? void 0 : a.filter((h) => s == null ? void 0 : s.includes(h.title)) : a).map((h) => h.title);
|
|
3095
3104
|
return m(C), C;
|
|
3096
3105
|
}
|
|
3097
3106
|
return [];
|
|
@@ -3107,37 +3116,37 @@ function R1() {
|
|
|
3107
3116
|
}, [
|
|
3108
3117
|
i
|
|
3109
3118
|
]);
|
|
3110
|
-
return n ? /* @__PURE__ */ o(
|
|
3119
|
+
return n ? /* @__PURE__ */ o(Wt, {
|
|
3111
3120
|
text: n,
|
|
3112
3121
|
action: {
|
|
3113
3122
|
text: u("ai.buttons.refresh"),
|
|
3114
3123
|
onClick: d
|
|
3115
3124
|
}
|
|
3116
|
-
}) :
|
|
3125
|
+
}) : x.length === 1 && !e ? /* @__PURE__ */ o(Pe, {}) : e ? /* @__PURE__ */ o(h1, {
|
|
3117
3126
|
contextTitle: e,
|
|
3118
3127
|
contextDetails: p,
|
|
3119
|
-
onGoBack:
|
|
3120
|
-
}) : /* @__PURE__ */ o(
|
|
3121
|
-
dataTopicsList:
|
|
3128
|
+
onGoBack: x.length === 1 ? void 0 : () => t(void 0)
|
|
3129
|
+
}) : /* @__PURE__ */ o(R1, {
|
|
3130
|
+
dataTopicsList: x,
|
|
3122
3131
|
onDataTopicClick: (l) => t(l)
|
|
3123
3132
|
});
|
|
3124
3133
|
}
|
|
3125
|
-
const
|
|
3134
|
+
const Q1 = Ft({
|
|
3126
3135
|
componentName: "Chatbot"
|
|
3127
3136
|
})((e) => {
|
|
3128
3137
|
const { width: t, height: n, config: r } = e, { themeSettings: a } = R();
|
|
3129
|
-
return /* @__PURE__ */ o(
|
|
3138
|
+
return /* @__PURE__ */ o(xr, {
|
|
3130
3139
|
value: r != null ? r : {},
|
|
3131
|
-
children: /* @__PURE__ */ o(
|
|
3140
|
+
children: /* @__PURE__ */ o(Nr, {
|
|
3132
3141
|
id: "csdk-chatbot-frame",
|
|
3133
3142
|
width: t,
|
|
3134
3143
|
height: n,
|
|
3135
3144
|
theme: a,
|
|
3136
3145
|
tabIndex: 0,
|
|
3137
|
-
children: /* @__PURE__ */ o(
|
|
3146
|
+
children: /* @__PURE__ */ o(E1, {})
|
|
3138
3147
|
})
|
|
3139
3148
|
});
|
|
3140
|
-
}),
|
|
3149
|
+
}), _1 = Ft({
|
|
3141
3150
|
componentName: "GetNlgInsights"
|
|
3142
3151
|
})(function(t) {
|
|
3143
3152
|
const { data: n, isLoading: r, isError: a } = He(t), { t: c } = P();
|
|
@@ -3150,7 +3159,7 @@ const U1 = Nt({
|
|
|
3150
3159
|
text: r ? "Loading..." : s
|
|
3151
3160
|
});
|
|
3152
3161
|
});
|
|
3153
|
-
function
|
|
3162
|
+
function I1({ theme: e }) {
|
|
3154
3163
|
const t = e.general.brandColor;
|
|
3155
3164
|
return /* @__PURE__ */ w("svg", {
|
|
3156
3165
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3180,10 +3189,10 @@ function E1({ theme: e }) {
|
|
|
3180
3189
|
]
|
|
3181
3190
|
});
|
|
3182
3191
|
}
|
|
3183
|
-
const
|
|
3192
|
+
const B1 = /* @__PURE__ */ v("div", {
|
|
3184
3193
|
target: "e272c6x0",
|
|
3185
3194
|
label: "FlexDiv"
|
|
3186
|
-
})("display:flex;flex-direction:row;align-items:center;gap:10px;margin:24px 0;max-width:640px;color:", ({ theme: e }) => e.chart.textColor, ";background-color:", ({ theme: e }) => e.chart.backgroundColor, ";"),
|
|
3195
|
+
})("display:flex;flex-direction:row;align-items:center;gap:10px;margin:24px 0;max-width:640px;color:", ({ theme: e }) => e.chart.textColor, ";background-color:", ({ theme: e }) => e.chart.backgroundColor, ";"), N1 = /* @__PURE__ */ v("div", {
|
|
3187
3196
|
target: "e272c6x1",
|
|
3188
3197
|
label: "IconDiv"
|
|
3189
3198
|
})("align-self:flex-start;"), F1 = ({ summary: e, nlgRequest: t }) => {
|
|
@@ -3193,12 +3202,12 @@ const I1 = /* @__PURE__ */ y("div", {
|
|
|
3193
3202
|
data: t,
|
|
3194
3203
|
type: "chart/insights",
|
|
3195
3204
|
buttonVisibility: "always",
|
|
3196
|
-
renderContent: (r) => /* @__PURE__ */ w(
|
|
3205
|
+
renderContent: (r) => /* @__PURE__ */ w(B1, {
|
|
3197
3206
|
theme: n,
|
|
3198
3207
|
children: [
|
|
3199
|
-
/* @__PURE__ */ o(
|
|
3208
|
+
/* @__PURE__ */ o(N1, {
|
|
3200
3209
|
theme: n,
|
|
3201
|
-
children: /* @__PURE__ */ o(
|
|
3210
|
+
children: /* @__PURE__ */ o(I1, {
|
|
3202
3211
|
theme: n
|
|
3203
3212
|
})
|
|
3204
3213
|
}),
|
|
@@ -3209,18 +3218,18 @@ const I1 = /* @__PURE__ */ y("div", {
|
|
|
3209
3218
|
]
|
|
3210
3219
|
})
|
|
3211
3220
|
});
|
|
3212
|
-
},
|
|
3213
|
-
e.queryTitle =
|
|
3214
|
-
const { connectToWidgetProps: c } =
|
|
3221
|
+
}, K1 = ({ nlqResponse: e, onDataReady: t, styleOptions: n, widgetProps: r, filters: a = [] }) => {
|
|
3222
|
+
e.queryTitle = Qn(e.queryTitle);
|
|
3223
|
+
const { connectToWidgetProps: c } = _n({
|
|
3215
3224
|
initialFilters: a
|
|
3216
3225
|
}), [s, p] = $(null);
|
|
3217
3226
|
ke(() => {
|
|
3218
|
-
const d =
|
|
3227
|
+
const d = Fe(e, {
|
|
3219
3228
|
useCustomizedStyleOptions: !0
|
|
3220
3229
|
});
|
|
3221
3230
|
if (!d) p(null);
|
|
3222
3231
|
else {
|
|
3223
|
-
n && d.styleOptions && (d.styleOptions =
|
|
3232
|
+
n && d.styleOptions && (d.styleOptions = ir(d.styleOptions, n));
|
|
3224
3233
|
const l = c(d, {
|
|
3225
3234
|
shouldAffectFilters: !1,
|
|
3226
3235
|
applyMode: "filter"
|
|
@@ -3233,7 +3242,7 @@ const I1 = /* @__PURE__ */ y("div", {
|
|
|
3233
3242
|
n
|
|
3234
3243
|
]);
|
|
3235
3244
|
const u = z(() => {
|
|
3236
|
-
const d = s && Ze(s) ?
|
|
3245
|
+
const d = s && Ze(s) ? ar(s == null ? void 0 : s.filters) : [], l = e.jaql.metadata.filter((C) => !C.jaql.filter).concat(d.filter((C) => !C.config.disabled).map((C) => C.jaql()));
|
|
3237
3246
|
return I(M({}, e), {
|
|
3238
3247
|
jaql: I(M({}, e.jaql), {
|
|
3239
3248
|
metadata: l
|
|
@@ -3243,7 +3252,7 @@ const I1 = /* @__PURE__ */ y("div", {
|
|
|
3243
3252
|
}, [
|
|
3244
3253
|
e,
|
|
3245
3254
|
s
|
|
3246
|
-
]), { data:
|
|
3255
|
+
]), { data: g, isLoading: m, isError: x } = He(u);
|
|
3247
3256
|
if (m || !s)
|
|
3248
3257
|
return /* @__PURE__ */ o(it, {});
|
|
3249
3258
|
if (!Ze(s))
|
|
@@ -3254,12 +3263,12 @@ const I1 = /* @__PURE__ */ y("div", {
|
|
|
3254
3263
|
});
|
|
3255
3264
|
return /* @__PURE__ */ o(xe, I(M({}, i), {
|
|
3256
3265
|
highlightSelectionDisabled: !0,
|
|
3257
|
-
topSlot:
|
|
3266
|
+
topSlot: g && !x && /* @__PURE__ */ o(F1, {
|
|
3258
3267
|
nlgRequest: u,
|
|
3259
|
-
summary:
|
|
3268
|
+
summary: g
|
|
3260
3269
|
})
|
|
3261
3270
|
}));
|
|
3262
|
-
},
|
|
3271
|
+
}, H1 = new Rt({
|
|
3263
3272
|
defaultOptions: {
|
|
3264
3273
|
queries: {
|
|
3265
3274
|
refetchOnWindowFocus: !1,
|
|
@@ -3267,34 +3276,35 @@ const I1 = /* @__PURE__ */ y("div", {
|
|
|
3267
3276
|
}
|
|
3268
3277
|
}
|
|
3269
3278
|
});
|
|
3270
|
-
function
|
|
3279
|
+
function X1({ children: e, context: t }) {
|
|
3271
3280
|
return /* @__PURE__ */ o(Ot, {
|
|
3272
3281
|
children: /* @__PURE__ */ o(et.Provider, {
|
|
3273
3282
|
value: t == null ? void 0 : t.api,
|
|
3274
3283
|
children: /* @__PURE__ */ o(Et, {
|
|
3275
|
-
client:
|
|
3284
|
+
client: H1,
|
|
3276
3285
|
children: e
|
|
3277
3286
|
})
|
|
3278
3287
|
})
|
|
3279
3288
|
});
|
|
3280
3289
|
}
|
|
3281
3290
|
export {
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
W1 as
|
|
3296
|
-
Z1 as
|
|
3297
|
-
G1 as
|
|
3298
|
-
|
|
3291
|
+
j1 as AiContextProvider,
|
|
3292
|
+
dr as ChatRestApi,
|
|
3293
|
+
Q1 as Chatbot,
|
|
3294
|
+
X1 as CustomAiContextProvider,
|
|
3295
|
+
br as DEFAULT_RECOMMENDATIONS_COUNT,
|
|
3296
|
+
_1 as GetNlgInsights,
|
|
3297
|
+
Cr as NLQ_RESULT_CHART_TYPES,
|
|
3298
|
+
K1 as NlqChartWidget,
|
|
3299
|
+
fr as executeGetNlqResult,
|
|
3300
|
+
hr as prepareGetNlgInsightsPayload,
|
|
3301
|
+
$t as prepareGetNlqResultPayload,
|
|
3302
|
+
Lr as useChatSession,
|
|
3303
|
+
U1 as useFinalNlqResponse,
|
|
3304
|
+
W1 as useGetNlgInsights,
|
|
3305
|
+
Z1 as useGetNlqResult,
|
|
3306
|
+
G1 as useGetQueryRecommendations,
|
|
3307
|
+
V1 as useLastNlqResponse,
|
|
3308
|
+
ea as widgetComposer
|
|
3299
3309
|
};
|
|
3300
3310
|
(function(){"use strict";var t;try{if(typeof document!="undefined"){var e=document.createElement("style");e.nonce=(t=document.head.querySelector("meta[property=csp-nonce]"))==null?void 0:t.content,e.appendChild(document.createTextNode('@charset "UTF-8";.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}.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}[class|=csdk],[class|=csdk]:before,[class|=csdk]:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#d5d5d5;font-family:inherit}.csdk-accessible button:focus-visible,.csdk-accessible a:focus-visible,.csdk-accessible textarea:focus-visible,.csdk-accessible select:focus-visible,.csdk-accessible input:focus-visible,.csdk-accessible [tabindex]:focus-visible{outline:-webkit-focus-ring-color auto 1px}.csdk-accessible .MuiTouchRipple-root{display:none}:root{--csdk-tw-border-spacing-x: 0;--csdk-tw-border-spacing-y: 0;--csdk-tw-translate-x: 0;--csdk-tw-translate-y: 0;--csdk-tw-rotate: 0;--csdk-tw-skew-x: 0;--csdk-tw-skew-y: 0;--csdk-tw-scale-x: 1;--csdk-tw-scale-y: 1;--csdk-tw-pan-x: ;--csdk-tw-pan-y: ;--csdk-tw-pinch-zoom: ;--csdk-tw-scroll-snap-strictness: proximity;--csdk-tw-gradient-from-position: ;--csdk-tw-gradient-via-position: ;--csdk-tw-gradient-to-position: ;--csdk-tw-ordinal: ;--csdk-tw-slashed-zero: ;--csdk-tw-numeric-figure: ;--csdk-tw-numeric-spacing: ;--csdk-tw-numeric-fraction: ;--csdk-tw-ring-inset: ;--csdk-tw-ring-offset-width: 0px;--csdk-tw-ring-offset-color: #fff;--csdk-tw-ring-color: rgb(59 130 246 / .5);--csdk-tw-ring-offset-shadow: 0 0 #0000;--csdk-tw-ring-shadow: 0 0 #0000;--csdk-tw-shadow: 0 0 #0000;--csdk-tw-shadow-colored: 0 0 #0000;--csdk-tw-blur: ;--csdk-tw-brightness: ;--csdk-tw-contrast: ;--csdk-tw-grayscale: ;--csdk-tw-hue-rotate: ;--csdk-tw-invert: ;--csdk-tw-saturate: ;--csdk-tw-sepia: ;--csdk-tw-drop-shadow: ;--csdk-tw-backdrop-blur: ;--csdk-tw-backdrop-brightness: ;--csdk-tw-backdrop-contrast: ;--csdk-tw-backdrop-grayscale: ;--csdk-tw-backdrop-hue-rotate: ;--csdk-tw-backdrop-invert: ;--csdk-tw-backdrop-opacity: ;--csdk-tw-backdrop-saturate: ;--csdk-tw-backdrop-sepia: ;--csdk-tw-contain-size: ;--csdk-tw-contain-layout: ;--csdk-tw-contain-paint: ;--csdk-tw-contain-style: }::backdrop{--csdk-tw-border-spacing-x: 0;--csdk-tw-border-spacing-y: 0;--csdk-tw-translate-x: 0;--csdk-tw-translate-y: 0;--csdk-tw-rotate: 0;--csdk-tw-skew-x: 0;--csdk-tw-skew-y: 0;--csdk-tw-scale-x: 1;--csdk-tw-scale-y: 1;--csdk-tw-pan-x: ;--csdk-tw-pan-y: ;--csdk-tw-pinch-zoom: ;--csdk-tw-scroll-snap-strictness: proximity;--csdk-tw-gradient-from-position: ;--csdk-tw-gradient-via-position: ;--csdk-tw-gradient-to-position: ;--csdk-tw-ordinal: ;--csdk-tw-slashed-zero: ;--csdk-tw-numeric-figure: ;--csdk-tw-numeric-spacing: ;--csdk-tw-numeric-fraction: ;--csdk-tw-ring-inset: ;--csdk-tw-ring-offset-width: 0px;--csdk-tw-ring-offset-color: #fff;--csdk-tw-ring-color: rgb(59 130 246 / .5);--csdk-tw-ring-offset-shadow: 0 0 #0000;--csdk-tw-ring-shadow: 0 0 #0000;--csdk-tw-shadow: 0 0 #0000;--csdk-tw-shadow-colored: 0 0 #0000;--csdk-tw-blur: ;--csdk-tw-brightness: ;--csdk-tw-contrast: ;--csdk-tw-grayscale: ;--csdk-tw-hue-rotate: ;--csdk-tw-invert: ;--csdk-tw-saturate: ;--csdk-tw-sepia: ;--csdk-tw-drop-shadow: ;--csdk-tw-backdrop-blur: ;--csdk-tw-backdrop-brightness: ;--csdk-tw-backdrop-contrast: ;--csdk-tw-backdrop-grayscale: ;--csdk-tw-backdrop-hue-rotate: ;--csdk-tw-backdrop-invert: ;--csdk-tw-backdrop-opacity: ;--csdk-tw-backdrop-saturate: ;--csdk-tw-backdrop-sepia: ;--csdk-tw-contain-size: ;--csdk-tw-contain-layout: ;--csdk-tw-contain-paint: ;--csdk-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-auto{margin:auto}.csdk-m-checkbox,.csdk-m-radio{margin:6px 10px 6px 6px}.csdk-mx-\\[16px\\]{margin-left:16px;margin-right:16px}.csdk-my-1{margin-top:.25rem;margin-bottom:.25rem}.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-\\[24px\\]{margin-bottom:24px}.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-\\[8px\\]{margin-left:8px}.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-\\[16px\\]{margin-top:16px}.csdk-mt-\\[2px\\]{margin-top:2px}.csdk-mt-\\[6px\\]{margin-top:6px}.csdk-mt-\\[8px\\]{margin-top:8px}.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-shrink-0{flex-shrink:0}.csdk-grow{flex-grow:1}.csdk-grow-0{flex-grow:0}.-csdk-translate-y-1\\/2{--csdk-tw-translate-y: -50%;transform:translate(var(--csdk-tw-translate-x),var(--csdk-tw-translate-y)) rotate(var(--csdk-tw-rotate)) skew(var(--csdk-tw-skew-x)) skewY(var(--csdk-tw-skew-y)) scaleX(var(--csdk-tw-scale-x)) scaleY(var(--csdk-tw-scale-y))}.csdk-translate-x-1\\/2{--csdk-tw-translate-x: 50%;transform:translate(var(--csdk-tw-translate-x),var(--csdk-tw-translate-y)) rotate(var(--csdk-tw-rotate)) skew(var(--csdk-tw-skew-x)) skewY(var(--csdk-tw-skew-y)) scaleX(var(--csdk-tw-scale-x)) scaleY(var(--csdk-tw-scale-y))}.-csdk-rotate-90{--csdk-tw-rotate: -90deg;transform:translate(var(--csdk-tw-translate-x),var(--csdk-tw-translate-y)) rotate(var(--csdk-tw-rotate)) skew(var(--csdk-tw-skew-x)) skewY(var(--csdk-tw-skew-y)) scaleX(var(--csdk-tw-scale-x)) scaleY(var(--csdk-tw-scale-y))}.csdk-rotate-45{--csdk-tw-rotate: 45deg;transform:translate(var(--csdk-tw-translate-x),var(--csdk-tw-translate-y)) rotate(var(--csdk-tw-rotate)) skew(var(--csdk-tw-skew-x)) skewY(var(--csdk-tw-skew-y)) scaleX(var(--csdk-tw-scale-x)) scaleY(var(--csdk-tw-scale-y))}.csdk-scale-x-\\[-1\\]{--csdk-tw-scale-x: -1;transform:translate(var(--csdk-tw-translate-x),var(--csdk-tw-translate-y)) rotate(var(--csdk-tw-rotate)) skew(var(--csdk-tw-skew-x)) skewY(var(--csdk-tw-skew-y)) scaleX(var(--csdk-tw-scale-x)) scaleY(var(--csdk-tw-scale-y))}.csdk-transform{transform:translate(var(--csdk-tw-translate-x),var(--csdk-tw-translate-y)) rotate(var(--csdk-tw-rotate)) skew(var(--csdk-tw-skew-x)) skewY(var(--csdk-tw-skew-y)) scaleX(var(--csdk-tw-scale-x)) scaleY(var(--csdk-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-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{--csdk-tw-border-opacity: 1;border-color:rgb(110 115 125 / var(--csdk-tw-border-opacity))}.csdk-border-\\[\\#e4e4e4\\]{--csdk-tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--csdk-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-background-priority{background-color:#f4f4f8}.csdk-bg-primary-primary{background-color:#ffcb05}.csdk-bg-transparent{background-color:transparent}.csdk-bg-white{--csdk-tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--csdk-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-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-\\[8px\\]{padding-left:8px;padding-right:8px}.csdk-py-\\[14\\.5px\\]{padding-top:14.5px;padding-bottom:14.5px}.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-pl-\\[20px\\]{padding-left:20px}.csdk-pr-10{padding-right:2.5rem}.csdk-pt-48{padding-top:12rem}.csdk-text-left{text-align:left}.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-none{line-height:1}.csdk-text-UI-default{--csdk-tw-text-opacity: 1;color:rgb(110 115 125 / var(--csdk-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{--csdk-tw-text-opacity: 1;color:rgb(30 175 243 / var(--csdk-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{--csdk-tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--csdk-tw-shadow-colored: 0 4px 6px -1px var(--csdk-tw-shadow-color), 0 2px 4px -2px var(--csdk-tw-shadow-color);box-shadow:var(--csdk-tw-ring-offset-shadow, 0 0 #0000),var(--csdk-tw-ring-shadow, 0 0 #0000),var(--csdk-tw-shadow)}.csdk-shadow-gray-500{--csdk-tw-shadow-color: #6b7280;--csdk-tw-shadow: var(--csdk-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{--csdk-tw-border-opacity: 1;border-color:rgb(110 115 125 / var(--csdk-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}.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}._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}.csdk-scattermap-tooltip-container{color:#5b6372;margin:4px 6px}.csdk-scattermap-tooltip-content{text-align:left}.csdk-scattermap-tooltip-label{font-size:15px;line-height:18px}.csdk-scattermap-tooltip-category{color:#9ea2ab;padding-right:20px}.csdk-scattermap-tooltip-row{display:flex;justify-content:space-between}._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}.highcharts-series.highcharts-area-series.area-series--without-pointer-events .highcharts-area{pointer-events:none}.highcharts-heatmap-series .highcharts-point.csdk-highcharts-point-blured{opacity:.5}.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}.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}.public_fixedDataTableCell_reordering{z-index:2}.public_fixedDataTableCell_resizeReorderCellContainer{position:fixed;background-color:#f6f7f8;background-image:linear-gradient(#fff,#efefef);border-color:#d3d3d3;border-right-style:solid;border-right-width:1px}.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;width:1px}.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,.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)}.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}.ScrollbarLayout_face{left:0;overflow:hidden;position:absolute;z-index:1;display:flex;justify-content:center;align-items:center}.ScrollbarLayout_face:after{border-radius:6px;content:"";display:block;position:absolute;transition-duration:.25s;transition-timing-function:ease;transition-property:background-color,height,width}.ScrollbarLayout_faceHorizontal{bottom:0;left:0;top:0}.ScrollbarLayout_faceHorizontal:after{width:100%;height:calc(100% - 8px)}.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{height:calc(100% - 4px)}.ScrollbarLayout_faceVertical{left:0;right:0;top:0}.ScrollbarLayout_faceVertical:after{height:100%;width:calc(100% - 8px)}.ScrollbarLayout_main:hover .ScrollbarLayout_faceVertical:after,.ScrollbarLayout_faceVertical.public_Scrollbar_faceActive:after{width:calc(100% - 4px)}.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;background-color:#0284ff}.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:100;pointer-events:none}.fixedDataTable_isRTL .fixedDataTableColumnResizerLineLayout_main{border-right-width:0;border-left-style:solid;border-left-width:1px}.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}._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=)}._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}._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__navigation-icon:before,.react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow{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):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__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:not([aria-disabled=true]):hover,.react-datepicker__month-text:not([aria-disabled=true]):hover,.react-datepicker__quarter-text:not([aria-disabled=true]):hover,.react-datepicker__year-text:not([aria-disabled=true]):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:not([aria-disabled=true]):hover,.react-datepicker__month-text--highlighted:not([aria-disabled=true]):hover,.react-datepicker__quarter-text--highlighted:not([aria-disabled=true]):hover,.react-datepicker__year-text--highlighted:not([aria-disabled=true]):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:not([aria-disabled=true]):hover,.react-datepicker__month-text--holidays:not([aria-disabled=true]):hover,.react-datepicker__quarter-text--holidays:not([aria-disabled=true]):hover,.react-datepicker__year-text--holidays:not([aria-disabled=true]):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:not([aria-disabled=true]):hover,.react-datepicker__day--in-selecting-range:not([aria-disabled=true]):hover,.react-datepicker__day--in-range:not([aria-disabled=true]):hover,.react-datepicker__month-text--selected:not([aria-disabled=true]):hover,.react-datepicker__month-text--in-selecting-range:not([aria-disabled=true]):hover,.react-datepicker__month-text--in-range:not([aria-disabled=true]):hover,.react-datepicker__quarter-text--selected:not([aria-disabled=true]):hover,.react-datepicker__quarter-text--in-selecting-range:not([aria-disabled=true]):hover,.react-datepicker__quarter-text--in-range:not([aria-disabled=true]):hover,.react-datepicker__year-text--selected:not([aria-disabled=true]):hover,.react-datepicker__year-text--in-selecting-range:not([aria-disabled=true]):hover,.react-datepicker__year-text--in-range:not([aria-disabled=true]):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:not([aria-disabled=true]):hover,.react-datepicker__month-text--keyboard-selected:not([aria-disabled=true]):hover,.react-datepicker__quarter-text--keyboard-selected:not([aria-disabled=true]):hover,.react-datepicker__year-text--keyboard-selected:not([aria-disabled=true]):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 .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(a){console.error("vite-plugin-css-injected-by-js",a)}})();
|