@sisense/mcp-server 0.2.9 → 0.3.1
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/README.md +16 -0
- package/dist/ai-nvvrv8ss.js +3128 -0
- package/dist/{index-8027b2t7.js → index-n4pxahc5.js} +38685 -42216
- package/dist/{sse-server-r50cemee.js → sse-server-j22b9cb0.js} +1872 -1800
- package/dist/{sse-server-f7drtvty.js → sse-server-vfpbc30x.js} +996 -1040
- package/dist/{sse-server-n5dmee25.js → sse-server-vxxek6gy.js} +39471 -31811
- package/dist/{sse-server-qhqncg7f.js → sse-server-yrjhgg0x.js} +4 -1
- package/dist/sse-server.js +162 -49
- package/dist/view.html +584 -560
- package/dist/{widget-renderer-9rr9sfh8.js → widget-renderer-7exptahz.js} +5 -5
- package/package.json +5 -5
- package/dist/ai-w2gkxdn7.js +0 -3188
package/dist/ai-w2gkxdn7.js
DELETED
|
@@ -1,3188 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
$e,
|
|
3
|
-
Ag,
|
|
4
|
-
Awe,
|
|
5
|
-
Bc,
|
|
6
|
-
Bt,
|
|
7
|
-
Bwe,
|
|
8
|
-
CJ,
|
|
9
|
-
Ct,
|
|
10
|
-
DS,
|
|
11
|
-
De,
|
|
12
|
-
Dg,
|
|
13
|
-
Dt,
|
|
14
|
-
Dt1 as Dt2,
|
|
15
|
-
IN,
|
|
16
|
-
Je,
|
|
17
|
-
K01 as K0,
|
|
18
|
-
M1e,
|
|
19
|
-
Mwe,
|
|
20
|
-
Nt,
|
|
21
|
-
Pu,
|
|
22
|
-
Rt,
|
|
23
|
-
S1e,
|
|
24
|
-
Swe,
|
|
25
|
-
Tt,
|
|
26
|
-
Uw,
|
|
27
|
-
Ve,
|
|
28
|
-
_r,
|
|
29
|
-
aT,
|
|
30
|
-
ae,
|
|
31
|
-
at,
|
|
32
|
-
cCe,
|
|
33
|
-
dCe,
|
|
34
|
-
dn,
|
|
35
|
-
dxe,
|
|
36
|
-
ea,
|
|
37
|
-
eh,
|
|
38
|
-
g1e,
|
|
39
|
-
hCe,
|
|
40
|
-
ir,
|
|
41
|
-
iv1 as iv,
|
|
42
|
-
jv1 as jv,
|
|
43
|
-
l2e,
|
|
44
|
-
lCe,
|
|
45
|
-
lS,
|
|
46
|
-
mwe,
|
|
47
|
-
nCe,
|
|
48
|
-
nh,
|
|
49
|
-
oT,
|
|
50
|
-
oi,
|
|
51
|
-
or,
|
|
52
|
-
os,
|
|
53
|
-
ov1 as ov,
|
|
54
|
-
q0,
|
|
55
|
-
qt,
|
|
56
|
-
rb,
|
|
57
|
-
require_jsx_runtime,
|
|
58
|
-
require_react,
|
|
59
|
-
rv1 as rv,
|
|
60
|
-
sCe,
|
|
61
|
-
sT,
|
|
62
|
-
te,
|
|
63
|
-
uCe,
|
|
64
|
-
vi,
|
|
65
|
-
vt,
|
|
66
|
-
wh,
|
|
67
|
-
y
|
|
68
|
-
} from "./sse-server-n5dmee25.js";
|
|
69
|
-
import {
|
|
70
|
-
Dh,
|
|
71
|
-
Lt,
|
|
72
|
-
Vp,
|
|
73
|
-
bp,
|
|
74
|
-
bs,
|
|
75
|
-
lh
|
|
76
|
-
} from "./sse-server-r50cemee.js";
|
|
77
|
-
import {
|
|
78
|
-
__toESM
|
|
79
|
-
} from "./sse-server-7wcvyxyj.js";
|
|
80
|
-
|
|
81
|
-
// node_modules/@sisense/sdk-ui/dist/ai.js
|
|
82
|
-
var Y = __toESM(require_react(), 1);
|
|
83
|
-
var import_react = __toESM(require_react(), 1);
|
|
84
|
-
var import_jsx_runtime = __toESM(require_jsx_runtime(), 1);
|
|
85
|
-
var Tn = Object.defineProperty;
|
|
86
|
-
var $n = Object.defineProperties;
|
|
87
|
-
var Rn = Object.getOwnPropertyDescriptors;
|
|
88
|
-
var Ne = Object.getOwnPropertySymbols;
|
|
89
|
-
var mt = Object.prototype.hasOwnProperty;
|
|
90
|
-
var bt = Object.prototype.propertyIsEnumerable;
|
|
91
|
-
var We = (e, t, n) => (t in e) ? Tn(e, t, { enumerable: true, configurable: true, writable: true, value: n }) : e[t] = n;
|
|
92
|
-
var M = (e, t) => {
|
|
93
|
-
for (var n in t || (t = {}))
|
|
94
|
-
mt.call(t, n) && We(e, n, t[n]);
|
|
95
|
-
if (Ne)
|
|
96
|
-
for (var n of Ne(t))
|
|
97
|
-
bt.call(t, n) && We(e, n, t[n]);
|
|
98
|
-
return e;
|
|
99
|
-
};
|
|
100
|
-
var E = (e, t) => $n(e, Rn(t));
|
|
101
|
-
var Ze = (e, t) => {
|
|
102
|
-
var n = {};
|
|
103
|
-
for (var r in e)
|
|
104
|
-
mt.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
105
|
-
if (e != null && Ne)
|
|
106
|
-
for (var r of Ne(e))
|
|
107
|
-
t.indexOf(r) < 0 && bt.call(e, r) && (n[r] = e[r]);
|
|
108
|
-
return n;
|
|
109
|
-
};
|
|
110
|
-
var H = (e, t, n) => We(e, typeof t != "symbol" ? t + "" : t, n);
|
|
111
|
-
var V = (e, t, n) => new Promise((r, s) => {
|
|
112
|
-
var c = (d) => {
|
|
113
|
-
try {
|
|
114
|
-
p(n.next(d));
|
|
115
|
-
} catch (h) {
|
|
116
|
-
s(h);
|
|
117
|
-
}
|
|
118
|
-
}, a = (d) => {
|
|
119
|
-
try {
|
|
120
|
-
p(n.throw(d));
|
|
121
|
-
} catch (h) {
|
|
122
|
-
s(h);
|
|
123
|
-
}
|
|
124
|
-
}, p = (d) => d.done ? r(d.value) : Promise.resolve(d.value).then(c, a);
|
|
125
|
-
p((n = n.apply(e, t)).next());
|
|
126
|
-
});
|
|
127
|
-
|
|
128
|
-
class Cr extends Pu {
|
|
129
|
-
constructor(t, n) {
|
|
130
|
-
super(), this.client = t, this.setOptions(n), this.bindMethods(), this.updateResult();
|
|
131
|
-
}
|
|
132
|
-
bindMethods() {
|
|
133
|
-
this.mutate = this.mutate.bind(this), this.reset = this.reset.bind(this);
|
|
134
|
-
}
|
|
135
|
-
setOptions(t) {
|
|
136
|
-
var n;
|
|
137
|
-
const r = this.options;
|
|
138
|
-
this.options = this.client.defaultMutationOptions(t), K0(r, this.options) || this.client.getMutationCache().notify({
|
|
139
|
-
type: "observerOptionsUpdated",
|
|
140
|
-
mutation: this.currentMutation,
|
|
141
|
-
observer: this
|
|
142
|
-
}), (n = this.currentMutation) == null || n.setOptions(this.options);
|
|
143
|
-
}
|
|
144
|
-
onUnsubscribe() {
|
|
145
|
-
if (!this.hasListeners()) {
|
|
146
|
-
var t;
|
|
147
|
-
(t = this.currentMutation) == null || t.removeObserver(this);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
onMutationUpdate(t) {
|
|
151
|
-
this.updateResult();
|
|
152
|
-
const n = {
|
|
153
|
-
listeners: true
|
|
154
|
-
};
|
|
155
|
-
t.type === "success" ? n.onSuccess = true : t.type === "error" && (n.onError = true), this.notify(n);
|
|
156
|
-
}
|
|
157
|
-
getCurrentResult() {
|
|
158
|
-
return this.currentResult;
|
|
159
|
-
}
|
|
160
|
-
reset() {
|
|
161
|
-
this.currentMutation = undefined, this.updateResult(), this.notify({
|
|
162
|
-
listeners: true
|
|
163
|
-
});
|
|
164
|
-
}
|
|
165
|
-
mutate(t, n) {
|
|
166
|
-
return this.mutateOptions = n, this.currentMutation && this.currentMutation.removeObserver(this), this.currentMutation = this.client.getMutationCache().build(this.client, E(M({}, this.options), {
|
|
167
|
-
variables: typeof t != "undefined" ? t : this.options.variables
|
|
168
|
-
})), this.currentMutation.addObserver(this), this.currentMutation.execute();
|
|
169
|
-
}
|
|
170
|
-
updateResult() {
|
|
171
|
-
const t = this.currentMutation ? this.currentMutation.state : mwe(), n = t.status === "loading", r = E(M({}, t), {
|
|
172
|
-
isLoading: n,
|
|
173
|
-
isPending: n,
|
|
174
|
-
isSuccess: t.status === "success",
|
|
175
|
-
isError: t.status === "error",
|
|
176
|
-
isIdle: t.status === "idle",
|
|
177
|
-
mutate: this.mutate,
|
|
178
|
-
reset: this.reset
|
|
179
|
-
});
|
|
180
|
-
this.currentResult = r;
|
|
181
|
-
}
|
|
182
|
-
notify(t) {
|
|
183
|
-
ir.batch(() => {
|
|
184
|
-
if (this.mutateOptions && this.hasListeners()) {
|
|
185
|
-
if (t.onSuccess) {
|
|
186
|
-
var n, r, s, c;
|
|
187
|
-
(n = (r = this.mutateOptions).onSuccess) == null || n.call(r, this.currentResult.data, this.currentResult.variables, this.currentResult.context), (s = (c = this.mutateOptions).onSettled) == null || s.call(c, this.currentResult.data, null, this.currentResult.variables, this.currentResult.context);
|
|
188
|
-
} else if (t.onError) {
|
|
189
|
-
var a, p, d, h;
|
|
190
|
-
(a = (p = this.mutateOptions).onError) == null || a.call(p, this.currentResult.error, this.currentResult.variables, this.currentResult.context), (d = (h = this.mutateOptions).onSettled) == null || d.call(h, undefined, this.currentResult.error, this.currentResult.variables, this.currentResult.context);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
t.listeners && this.listeners.forEach(({
|
|
194
|
-
listener: m
|
|
195
|
-
}) => {
|
|
196
|
-
m(this.currentResult);
|
|
197
|
-
});
|
|
198
|
-
});
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
function ot(e, t, n) {
|
|
202
|
-
const r = lCe(e, t), s = Swe({
|
|
203
|
-
context: r.context
|
|
204
|
-
}), [c] = Y.useState(() => new Cr(s, r));
|
|
205
|
-
Y.useEffect(() => {
|
|
206
|
-
c.setOptions(r);
|
|
207
|
-
}, [c, r]);
|
|
208
|
-
const a = Mwe(Y.useCallback((d) => c.subscribe(ir.batchCalls(d)), [c]), () => c.getCurrentResult(), () => c.getCurrentResult()), p = Y.useCallback((d, h) => {
|
|
209
|
-
c.mutate(d, h).catch(mr);
|
|
210
|
-
}, [c]);
|
|
211
|
-
if (a.error && Awe(c.options.useErrorBoundary, [a.error]))
|
|
212
|
-
throw a.error;
|
|
213
|
-
return E(M({}, a), {
|
|
214
|
-
mutate: p,
|
|
215
|
-
mutateAsync: a.mutate
|
|
216
|
-
});
|
|
217
|
-
}
|
|
218
|
-
function mr() {}
|
|
219
|
-
var zt = import_react.createContext({});
|
|
220
|
-
var br = () => import_react.useContext(zt);
|
|
221
|
-
var Wt = ({ children: e }) => {
|
|
222
|
-
const [t, n] = import_react.useState({}), r = import_react.useCallback((a, p) => {
|
|
223
|
-
var d;
|
|
224
|
-
return `${a}_${(d = p == null ? undefined : p.dashboardId) != null ? d : ""}`;
|
|
225
|
-
}, []), s = import_react.useCallback((a, p, d) => {
|
|
226
|
-
n((h) => E(M({}, h), {
|
|
227
|
-
[r(p, d)]: a
|
|
228
|
-
}));
|
|
229
|
-
}, [r]), c = import_react.useCallback((a, p) => t[r(a, p)], [t, r]);
|
|
230
|
-
return /* @__PURE__ */ ae(zt.Provider, { value: { saveChatId: s, getChatId: c }, children: e });
|
|
231
|
-
};
|
|
232
|
-
var yr = "api/v2/ai/narrative";
|
|
233
|
-
var Zt = "api/v2/ai/nlg/queryResult";
|
|
234
|
-
function xr(e) {
|
|
235
|
-
return "status" in e;
|
|
236
|
-
}
|
|
237
|
-
function vr(e) {
|
|
238
|
-
return typeof e != "object" || e === null ? false : xr(e) && e.status === "404";
|
|
239
|
-
}
|
|
240
|
-
function kr(e, t) {
|
|
241
|
-
return V(this, null, function* () {
|
|
242
|
-
try {
|
|
243
|
-
return yield e.post(yr, t);
|
|
244
|
-
} catch (n) {
|
|
245
|
-
if (!vr(n))
|
|
246
|
-
throw n;
|
|
247
|
-
return yield e.post(Zt, t);
|
|
248
|
-
}
|
|
249
|
-
});
|
|
250
|
-
}
|
|
251
|
-
function jt(e, t, n) {
|
|
252
|
-
return V(this, null, function* () {
|
|
253
|
-
const { isUnifiedNarrationEnabled: r = false, isSisenseAiEnabled: s = false } = n != null ? n : {};
|
|
254
|
-
return r && s ? kr(e, t) : yield e.post(Zt, t);
|
|
255
|
-
});
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
class wr {
|
|
259
|
-
constructor(t, n = false, r, s) {
|
|
260
|
-
H(this, "httpClient");
|
|
261
|
-
H(this, "isUnifiedNarrationEnabled");
|
|
262
|
-
H(this, "isSisenseAiEnabled");
|
|
263
|
-
H(this, "getChatContexts", () => V(this, null, function* () {
|
|
264
|
-
return (yield this.httpClient.get("api/datasources//")) || [];
|
|
265
|
-
}));
|
|
266
|
-
H(this, "getNlgInsights", (t2) => jt(this.httpClient, t2, {
|
|
267
|
-
isUnifiedNarrationEnabled: this.isUnifiedNarrationEnabled,
|
|
268
|
-
isSisenseAiEnabled: this.isSisenseAiEnabled
|
|
269
|
-
}));
|
|
270
|
-
H(this, "getQueryRecommendations", (t2, n2) => this.httpClient.get(`api/v2/ai/recommendations/query/${t2}/${n2.numOfRecommendations}${n2.userPrompt ? "?userPrompt=" + encodeURIComponent(n2.userPrompt) : ""}`));
|
|
271
|
-
H(this, "getNlqResult", (t2, n2) => this.httpClient.post(`api/v2/ai/nlq/query/${t2}`, n2));
|
|
272
|
-
H(this, "setLlmConfig", (t2) => this.httpClient.post("api/v2/settings/ai/llmProvider", t2).catch((n2) => {
|
|
273
|
-
console.error("Unable to set llm config", n2);
|
|
274
|
-
}));
|
|
275
|
-
H(this, "getAllChats", () => V(this, null, function* () {
|
|
276
|
-
return this.volatile ? [] : this.httpClient.get("api/v2/ai/chats");
|
|
277
|
-
}));
|
|
278
|
-
H(this, "getChatById", (t2) => this.httpClient.get(`api/v2/ai/chats/${t2}`));
|
|
279
|
-
H(this, "createChat", (t2, n2) => this.httpClient.post("api/v2/ai/chats", {
|
|
280
|
-
sourceId: t2,
|
|
281
|
-
volatile: this.volatile,
|
|
282
|
-
contextDetails: n2
|
|
283
|
-
}));
|
|
284
|
-
H(this, "postChat", (t2, n2) => this.httpClient.post(`api/v2/ai/chats/${t2}`, n2));
|
|
285
|
-
H(this, "deleteChatHistory", (t2) => this.httpClient.delete(`api/v2/ai/chats/${t2}/history`));
|
|
286
|
-
H(this, "sendFeedback", (t2) => this.httpClient.post("api/v2/ai/feedback", t2));
|
|
287
|
-
H(this, "ai", {
|
|
288
|
-
getNlgInsights: this.getNlgInsights,
|
|
289
|
-
getNlqResult: this.getNlqResult,
|
|
290
|
-
getQueryRecommendations: this.getQueryRecommendations,
|
|
291
|
-
setLlmConfig: this.setLlmConfig,
|
|
292
|
-
sendFeedback: this.sendFeedback,
|
|
293
|
-
chat: {
|
|
294
|
-
getAll: this.getAllChats,
|
|
295
|
-
getById: this.getChatById,
|
|
296
|
-
create: this.createChat,
|
|
297
|
-
post: this.postChat,
|
|
298
|
-
clearHistory: this.deleteChatHistory
|
|
299
|
-
}
|
|
300
|
-
});
|
|
301
|
-
this.volatile = n, this.httpClient = t, this.isUnifiedNarrationEnabled = r, this.isSisenseAiEnabled = s;
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
var Sr = new uCe({
|
|
305
|
-
defaultOptions: {
|
|
306
|
-
queries: {
|
|
307
|
-
refetchOnWindowFocus: false,
|
|
308
|
-
refetchOnMount: false
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
});
|
|
312
|
-
var it = import_react.createContext(undefined);
|
|
313
|
-
var J = () => import_react.useContext(it);
|
|
314
|
-
var Mr = ({
|
|
315
|
-
children: e,
|
|
316
|
-
volatile: t
|
|
317
|
-
}) => {
|
|
318
|
-
const { app: n } = Rt(), r = import_react.useMemo(() => {
|
|
319
|
-
var s, c;
|
|
320
|
-
return n ? new wr(n.httpClient, t, (s = n.settings) == null ? undefined : s.isUnifiedNarrationEnabled, (c = n.settings) == null ? undefined : c.isSisenseAiEnabled) : undefined;
|
|
321
|
-
}, [n, t]);
|
|
322
|
-
return /* @__PURE__ */ ae(it.Provider, { value: r, children: /* @__PURE__ */ ae(cCe, { client: Sr, children: e }) });
|
|
323
|
-
};
|
|
324
|
-
function rs({ children: e, volatile: t }) {
|
|
325
|
-
return /* @__PURE__ */ ae(Wt, { children: /* @__PURE__ */ ae(Mr, { volatile: t, children: e }) });
|
|
326
|
-
}
|
|
327
|
-
function Ut(e) {
|
|
328
|
-
var t, n;
|
|
329
|
-
if ("jaql" in e)
|
|
330
|
-
return e;
|
|
331
|
-
{
|
|
332
|
-
const r = bs(e.dataSource), { filters: s = [], relations: c } = bp(e.filters), { metadata: a, filterRelations: p } = Dh({
|
|
333
|
-
dataSource: e.dataSource,
|
|
334
|
-
attributes: (t = e.dimensions) != null ? t : [],
|
|
335
|
-
measures: (n = e.measures) != null ? n : [],
|
|
336
|
-
filters: s,
|
|
337
|
-
filterRelations: c,
|
|
338
|
-
highlights: []
|
|
339
|
-
}, true), d = {
|
|
340
|
-
jaql: {
|
|
341
|
-
datasource: r,
|
|
342
|
-
metadata: a,
|
|
343
|
-
filterRelations: p
|
|
344
|
-
}
|
|
345
|
-
};
|
|
346
|
-
return e.verbosity && (d.verbosity = e.verbosity), d;
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
var De2 = (e, t = true) => {
|
|
350
|
-
const n = import_react.useMemo(() => Ut(e), [e]), r = J(), { data: s, error: c, isError: a, isLoading: p, isSuccess: d, refetch: h } = Bwe({
|
|
351
|
-
queryKey: ["getNlgInsights", n, r],
|
|
352
|
-
queryFn: () => r == null ? undefined : r.ai.getNlgInsights(n),
|
|
353
|
-
select: (m) => {
|
|
354
|
-
var y2;
|
|
355
|
-
return (y2 = m == null ? undefined : m.data) == null ? undefined : y2.answer;
|
|
356
|
-
},
|
|
357
|
-
enabled: !!r && t
|
|
358
|
-
});
|
|
359
|
-
return {
|
|
360
|
-
isLoading: p,
|
|
361
|
-
isError: a,
|
|
362
|
-
isSuccess: d,
|
|
363
|
-
data: s,
|
|
364
|
-
error: c,
|
|
365
|
-
refetch: import_react.useCallback(() => {
|
|
366
|
-
h();
|
|
367
|
-
}, [h])
|
|
368
|
-
};
|
|
369
|
-
};
|
|
370
|
-
var Tr = (e) => {
|
|
371
|
-
const r = e, { enabled: t } = r, n = Ze(r, ["enabled"]);
|
|
372
|
-
return De2(n, t);
|
|
373
|
-
};
|
|
374
|
-
var os2 = g1e("useGetNlgInsights")(Tr);
|
|
375
|
-
var $r = [
|
|
376
|
-
"indicator",
|
|
377
|
-
"column",
|
|
378
|
-
"line",
|
|
379
|
-
"table",
|
|
380
|
-
"pie",
|
|
381
|
-
"bar"
|
|
382
|
-
];
|
|
383
|
-
function Gt(e) {
|
|
384
|
-
const { dataSource: t, query: n, chartTypes: r } = e;
|
|
385
|
-
return {
|
|
386
|
-
contextTitle: typeof t == "string" ? t : t.title,
|
|
387
|
-
request: {
|
|
388
|
-
text: n,
|
|
389
|
-
timezone: "UTC",
|
|
390
|
-
chartTypes: r != null ? r : [...$r]
|
|
391
|
-
}
|
|
392
|
-
};
|
|
393
|
-
}
|
|
394
|
-
function Rr(e, t) {
|
|
395
|
-
return V(this, null, function* () {
|
|
396
|
-
const { contextTitle: n, request: r } = Gt(e), s = yield t.ai.getNlqResult(n, r);
|
|
397
|
-
return {
|
|
398
|
-
widgetProps: s ? Dt(s, {
|
|
399
|
-
useCustomizedStyleOptions: e.enableAxisTitlesInWidgetProps || false
|
|
400
|
-
}) : undefined,
|
|
401
|
-
nlqResult: s
|
|
402
|
-
};
|
|
403
|
-
});
|
|
404
|
-
}
|
|
405
|
-
var Er = (e) => {
|
|
406
|
-
const { contextTitle: t, request: n } = Gt(e), r = J(), s = ["getNlqResult", t, n, r], { isLoading: c, isError: a, isSuccess: p, data: d, error: h, refetch: m } = Bwe({
|
|
407
|
-
queryKey: s,
|
|
408
|
-
queryFn: () => r ? Rr(e, r).then((y2) => y2.widgetProps) : Promise.reject("No API available"),
|
|
409
|
-
enabled: !!r && e.enabled
|
|
410
|
-
});
|
|
411
|
-
return {
|
|
412
|
-
isLoading: c,
|
|
413
|
-
isError: a,
|
|
414
|
-
isSuccess: p,
|
|
415
|
-
data: d,
|
|
416
|
-
error: h,
|
|
417
|
-
refetch: import_react.useCallback(() => {
|
|
418
|
-
m();
|
|
419
|
-
}, [m])
|
|
420
|
-
};
|
|
421
|
-
};
|
|
422
|
-
var is = g1e("useGetNlqResult")(Er);
|
|
423
|
-
var Lr = 4;
|
|
424
|
-
var Vt = (e) => {
|
|
425
|
-
const { contextTitle: t, count: n, enableAxisTitlesInWidgetProps: r, enabled: s, customPrompt: c } = e, a = J(), p = n != null ? n : Lr, d = (s === undefined || s === true) && p > 0, {
|
|
426
|
-
isLoading: h,
|
|
427
|
-
isError: m,
|
|
428
|
-
isSuccess: y2,
|
|
429
|
-
data: i,
|
|
430
|
-
error: u,
|
|
431
|
-
refetch: l
|
|
432
|
-
} = Bwe({
|
|
433
|
-
queryKey: ["getQueryRecommendations", t, p, a],
|
|
434
|
-
queryFn: () => a == null ? undefined : a.ai.getQueryRecommendations(t, M({
|
|
435
|
-
numOfRecommendations: p
|
|
436
|
-
}, c ? { userPrompt: c } : null)),
|
|
437
|
-
enabled: !!a && d
|
|
438
|
-
}), f = import_react.useMemo(() => i == null ? undefined : i.map((g) => E(M({}, g), {
|
|
439
|
-
widgetProps: g.jaql ? Dt(g, {
|
|
440
|
-
useCustomizedStyleOptions: r
|
|
441
|
-
}) : undefined
|
|
442
|
-
})), [i, r]);
|
|
443
|
-
return {
|
|
444
|
-
isLoading: d ? h : false,
|
|
445
|
-
isError: m,
|
|
446
|
-
isSuccess: y2,
|
|
447
|
-
data: f != null ? f : undefined,
|
|
448
|
-
error: u,
|
|
449
|
-
refetch: import_react.useCallback(() => {
|
|
450
|
-
l();
|
|
451
|
-
}, [l])
|
|
452
|
-
};
|
|
453
|
-
};
|
|
454
|
-
var ss = g1e("useGetQueryRecommendations")(Vt);
|
|
455
|
-
var Qt = Object.freeze({
|
|
456
|
-
enableFollowupQuestions: false,
|
|
457
|
-
enableHeader: true,
|
|
458
|
-
enableInsights: true,
|
|
459
|
-
numOfRecommendations: 4,
|
|
460
|
-
numOfRecentPrompts: 5
|
|
461
|
-
});
|
|
462
|
-
var _t = import_react.createContext(M({}, Qt));
|
|
463
|
-
var ne = () => import_react.useContext(_t);
|
|
464
|
-
var Nr = ({ children: e, value: t }) => {
|
|
465
|
-
const { t: n } = ea(), r = Object.entries(t).reduce((s, [c, a]) => (a !== undefined && (s[c] = a), s), E(M({}, Qt), {
|
|
466
|
-
inputPromptText: n("ai.config.inputPromptText"),
|
|
467
|
-
welcomeText: n("ai.config.welcomeText"),
|
|
468
|
-
suggestionsWelcomeText: n("ai.config.suggestionsWelcomeText")
|
|
469
|
-
}));
|
|
470
|
-
return /* @__PURE__ */ ae(_t.Provider, { value: r, children: e });
|
|
471
|
-
};
|
|
472
|
-
var st = "chatHistory";
|
|
473
|
-
var Ir = (e) => {
|
|
474
|
-
const t = J(), { hideHistory: n } = ne();
|
|
475
|
-
return Bwe({
|
|
476
|
-
queryKey: [st, e, t],
|
|
477
|
-
queryFn: () => V(undefined, null, function* () {
|
|
478
|
-
if (!t || !e)
|
|
479
|
-
return;
|
|
480
|
-
if (n)
|
|
481
|
-
return [];
|
|
482
|
-
const r = yield t.ai.chat.getById(e);
|
|
483
|
-
return r == null ? undefined : r.chatHistory;
|
|
484
|
-
}),
|
|
485
|
-
enabled: !!t && !!e
|
|
486
|
-
});
|
|
487
|
-
};
|
|
488
|
-
var Kt = (e) => {
|
|
489
|
-
const t = J(), n = Swe();
|
|
490
|
-
return ot({
|
|
491
|
-
mutationFn: () => V(undefined, null, function* () {
|
|
492
|
-
if (!(!t || !e))
|
|
493
|
-
return t.ai.chat.clearHistory(e);
|
|
494
|
-
}),
|
|
495
|
-
onError: (r) => {
|
|
496
|
-
console.error("Error when clearing history:", r);
|
|
497
|
-
},
|
|
498
|
-
onSettled: () => {
|
|
499
|
-
e && n.setQueriesData([st, e], []);
|
|
500
|
-
}
|
|
501
|
-
});
|
|
502
|
-
};
|
|
503
|
-
var at2 = (e) => {
|
|
504
|
-
const { data: t, isLoading: n, isError: r } = Ir(e), { mutate: s } = Kt(e);
|
|
505
|
-
return import_react.useEffect(() => {
|
|
506
|
-
r && s();
|
|
507
|
-
}, [r, s]), {
|
|
508
|
-
history: t,
|
|
509
|
-
isLoading: n,
|
|
510
|
-
isError: r
|
|
511
|
-
};
|
|
512
|
-
};
|
|
513
|
-
var Pr = () => {
|
|
514
|
-
const e = J(), { data: t, isLoading: n, fetchStatus: r } = Bwe({
|
|
515
|
-
queryKey: ["getDataTopics", e],
|
|
516
|
-
queryFn: () => V(undefined, null, function* () {
|
|
517
|
-
if (e)
|
|
518
|
-
return e.getChatContexts();
|
|
519
|
-
}),
|
|
520
|
-
enabled: !!e
|
|
521
|
-
});
|
|
522
|
-
return { data: t, isLoading: n, fetchStatus: r };
|
|
523
|
-
};
|
|
524
|
-
var Or = () => {
|
|
525
|
-
const e = J(), { data: t, isLoading: n } = Bwe({
|
|
526
|
-
queryKey: ["getAllChats", e],
|
|
527
|
-
queryFn: () => e == null ? undefined : e.ai.chat.getAll(),
|
|
528
|
-
enabled: !!e
|
|
529
|
-
});
|
|
530
|
-
return {
|
|
531
|
-
data: t != null ? t : [],
|
|
532
|
-
isLoading: n
|
|
533
|
-
};
|
|
534
|
-
};
|
|
535
|
-
var Br = (e, t, n) => {
|
|
536
|
-
const r = Swe(), s = J(), c = ot({
|
|
537
|
-
mutationFn: () => V(undefined, null, function* () {
|
|
538
|
-
if (!(!s || !e))
|
|
539
|
-
return s.ai.chat.create(e, n);
|
|
540
|
-
}),
|
|
541
|
-
onSuccess: () => r.invalidateQueries(["getAllChats"])
|
|
542
|
-
});
|
|
543
|
-
return import_react.useEffect(() => {
|
|
544
|
-
t && c.isIdle && c.mutate();
|
|
545
|
-
}, [t, c]), c;
|
|
546
|
-
};
|
|
547
|
-
var Fr = (e, t) => {
|
|
548
|
-
switch (e.responseType = e.responseType.toLowerCase(), e.responseType) {
|
|
549
|
-
case "nlq":
|
|
550
|
-
return {
|
|
551
|
-
content: JSON.stringify(e.data),
|
|
552
|
-
role: "assistant",
|
|
553
|
-
type: "nlq"
|
|
554
|
-
};
|
|
555
|
-
case "text":
|
|
556
|
-
case "error":
|
|
557
|
-
return {
|
|
558
|
-
content: e.data.answer,
|
|
559
|
-
role: "assistant"
|
|
560
|
-
};
|
|
561
|
-
default:
|
|
562
|
-
throw Error(`${t}${JSON.stringify(e)}`);
|
|
563
|
-
}
|
|
564
|
-
};
|
|
565
|
-
var Ar = (e, t) => {
|
|
566
|
-
const n = Swe(), r = import_react.useCallback((d) => {
|
|
567
|
-
e && n.setQueriesData([st, e], (h) => h && [...h, d]);
|
|
568
|
-
}, [n, e]), { t: s } = ea(), c = J(), { mutate: a, isLoading: p } = ot({
|
|
569
|
-
mutationFn: (d) => V(undefined, null, function* () {
|
|
570
|
-
if (!(!c || !e))
|
|
571
|
-
return c.ai.chat.post(e, {
|
|
572
|
-
text: d,
|
|
573
|
-
options: { enableFollowup: t }
|
|
574
|
-
});
|
|
575
|
-
}),
|
|
576
|
-
onMutate: (d) => {
|
|
577
|
-
r({
|
|
578
|
-
content: d,
|
|
579
|
-
role: "user"
|
|
580
|
-
});
|
|
581
|
-
},
|
|
582
|
-
onError: (d) => {
|
|
583
|
-
d instanceof Error && (console.error("Error when sending message:", d.message), r({
|
|
584
|
-
content: s(`ai.errors.${d.interpolationOptions.errorCode}`, {
|
|
585
|
-
defaultValue: s("ai.errors.unexpectedChatResponse")
|
|
586
|
-
}),
|
|
587
|
-
role: "assistant"
|
|
588
|
-
}));
|
|
589
|
-
},
|
|
590
|
-
onSuccess: (d) => {
|
|
591
|
-
if (!d)
|
|
592
|
-
return;
|
|
593
|
-
const h = s("ai.errors.unknownResponse");
|
|
594
|
-
r(Fr(d, h));
|
|
595
|
-
}
|
|
596
|
-
});
|
|
597
|
-
return { mutate: a, isLoading: p };
|
|
598
|
-
};
|
|
599
|
-
var lt = (e, t, n = false) => {
|
|
600
|
-
var m;
|
|
601
|
-
const { data: r, isLoading: s } = Or(), c = br(), a = c.getChatId(e, t) || ((m = r.find((y2) => {
|
|
602
|
-
var i;
|
|
603
|
-
return y2.contextTitle === e && ((i = y2.contextDetails) == null ? undefined : i.dashboardId) === (t == null ? undefined : t.dashboardId);
|
|
604
|
-
})) == null ? undefined : m.chatId), { isError: p, data: d, isSuccess: h } = Br(e, n && !s && !a, t);
|
|
605
|
-
return import_react.useEffect(() => {
|
|
606
|
-
h && d && !a && c.saveChatId(d.chatId, e, t);
|
|
607
|
-
}, [d, h, e, t, a, c]), { chatId: a, isLoading: s, isError: p };
|
|
608
|
-
};
|
|
609
|
-
var Xt = (e) => import_react.useMemo(() => {
|
|
610
|
-
if (e != null && e.length) {
|
|
611
|
-
const t = e[e.length - 1];
|
|
612
|
-
if (ct(t))
|
|
613
|
-
return JSON.parse(t.content);
|
|
614
|
-
}
|
|
615
|
-
return null;
|
|
616
|
-
}, [e]);
|
|
617
|
-
var ct = (e) => !!e && ("type" in e) && e.type === "nlq";
|
|
618
|
-
var Hr = (e) => !!e && ("type" in e) && e.type === "text";
|
|
619
|
-
var Dr = (e, t) => {
|
|
620
|
-
const { t: n } = ea(), { enableFollowupQuestions: r } = ne(), { chatId: s, isError: c } = lt(e, t, true), [a, p] = import_react.useState(null), { history: d, isLoading: h, isError: m } = at2(s);
|
|
621
|
-
import_react.useEffect(() => {
|
|
622
|
-
c ? p(new Lt("ai.errors.chatUnavailable")) : m && p(new Lt("ai.errors.fetchHistory"));
|
|
623
|
-
}, [c, m, n]);
|
|
624
|
-
const { mutate: y2, isLoading: i } = Ar(s, r), u = Xt(d);
|
|
625
|
-
return {
|
|
626
|
-
chatId: s,
|
|
627
|
-
history: d != null ? d : [],
|
|
628
|
-
lastNlqResponse: u,
|
|
629
|
-
sendMessage: y2,
|
|
630
|
-
isAwaitingResponse: i,
|
|
631
|
-
isLoading: h,
|
|
632
|
-
lastError: a
|
|
633
|
-
};
|
|
634
|
-
};
|
|
635
|
-
var as = ({
|
|
636
|
-
contextTitle: e,
|
|
637
|
-
contextDetails: t
|
|
638
|
-
}) => {
|
|
639
|
-
const { chatId: n } = lt(e, t), { history: r } = at2(n);
|
|
640
|
-
return Xt(r);
|
|
641
|
-
};
|
|
642
|
-
var ls = ({
|
|
643
|
-
contextTitle: e,
|
|
644
|
-
contextDetails: t
|
|
645
|
-
}) => {
|
|
646
|
-
const { chatId: n } = lt(e, t), { history: r } = at2(n);
|
|
647
|
-
return import_react.useMemo(() => {
|
|
648
|
-
if (r != null && r.length) {
|
|
649
|
-
const s = r.slice().reverse().find(ct);
|
|
650
|
-
if (s)
|
|
651
|
-
return JSON.parse(s.content);
|
|
652
|
-
}
|
|
653
|
-
return null;
|
|
654
|
-
}, [r]);
|
|
655
|
-
};
|
|
656
|
-
var qr = 500;
|
|
657
|
-
var zr = 500;
|
|
658
|
-
var Wr = 500;
|
|
659
|
-
var Zr = 900;
|
|
660
|
-
var jr = at.div`
|
|
661
|
-
box-sizing: border-box;
|
|
662
|
-
position: relative;
|
|
663
|
-
display: flex;
|
|
664
|
-
flex-direction: column;
|
|
665
|
-
border: 1px solid #c6c9ce;
|
|
666
|
-
border-radius: ${({ theme: e }) => e.aiChat.borderRadius};
|
|
667
|
-
background-color: ${({ theme: e }) => e.aiChat.backgroundColor};
|
|
668
|
-
overflow: hidden;
|
|
669
|
-
|
|
670
|
-
min-width: ${qr}px;
|
|
671
|
-
min-height: ${zr}px;
|
|
672
|
-
width: ${({ width: e }) => e ? xt(e) : `${Wr}px`};
|
|
673
|
-
height: ${({ height: e }) => e ? xt(e) : `${Zr}px`};
|
|
674
|
-
|
|
675
|
-
${({ theme: e }) => Ag`
|
|
676
|
-
font-size: ${e.aiChat.primaryFontSize[0]};
|
|
677
|
-
line-height: ${e.aiChat.primaryFontSize[1]};
|
|
678
|
-
`}
|
|
679
|
-
border: ${({ theme: e }) => e.aiChat.border === false ? "none" : e.aiChat.border};
|
|
680
|
-
`;
|
|
681
|
-
function xt(e) {
|
|
682
|
-
return typeof e == "number" ? `${e}px` : e;
|
|
683
|
-
}
|
|
684
|
-
function Ur({ spin: e }) {
|
|
685
|
-
return /* @__PURE__ */ vi("svg", {
|
|
686
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
687
|
-
width: "24",
|
|
688
|
-
height: "24",
|
|
689
|
-
viewBox: "0 0 24 24",
|
|
690
|
-
fill: "none",
|
|
691
|
-
className: `${e ? "csdk-animate-spin" : ""}`,
|
|
692
|
-
children: [
|
|
693
|
-
/* @__PURE__ */ ae("path", {
|
|
694
|
-
fillRule: "evenodd",
|
|
695
|
-
clipRule: "evenodd",
|
|
696
|
-
d: "M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z",
|
|
697
|
-
fill: "#262E3D",
|
|
698
|
-
fillOpacity: "0.3"
|
|
699
|
-
}),
|
|
700
|
-
/* @__PURE__ */ ae("path", {
|
|
701
|
-
fillRule: "evenodd",
|
|
702
|
-
clipRule: "evenodd",
|
|
703
|
-
d: "M20 12C20 16.4183 16.4183 20 12 20C11.2844 20 10.5908 19.906 9.93078 19.7298C9.96227 19.5889 9.97888 19.4423 9.97888 19.2918C9.97888 18.1873 9.08345 17.2918 7.97888 17.2918C6.87431 17.2918 5.97888 18.1873 5.97888 19.2918C5.97888 20.3964 6.87431 21.2918 7.97888 21.2918C8.56576 21.2918 9.0936 21.0391 9.45946 20.6364C10.2652 20.8731 11.1178 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3V4C16.4183 4 20 7.58172 20 12Z",
|
|
704
|
-
fill: "#22C3C3"
|
|
705
|
-
})
|
|
706
|
-
]
|
|
707
|
-
});
|
|
708
|
-
}
|
|
709
|
-
function qe() {
|
|
710
|
-
return /* @__PURE__ */ ae("div", { className: "csdk-m-auto", role: "status", "aria-label": "loading spinner", children: /* @__PURE__ */ ae(Ur, { spin: true }) });
|
|
711
|
-
}
|
|
712
|
-
var Gr = at.div`
|
|
713
|
-
text-align: center;
|
|
714
|
-
font-size: 11px;
|
|
715
|
-
line-height: 18px;
|
|
716
|
-
white-space: pre-wrap;
|
|
717
|
-
|
|
718
|
-
display: flex;
|
|
719
|
-
flex-wrap: wrap;
|
|
720
|
-
align-items: center;
|
|
721
|
-
justify-content: center;
|
|
722
|
-
box-sizing: border-box;
|
|
723
|
-
|
|
724
|
-
color: ${({ theme: e }) => e.aiChat.secondaryTextColor};
|
|
725
|
-
`;
|
|
726
|
-
function Vr({ theme: e }) {
|
|
727
|
-
const { t } = ea();
|
|
728
|
-
return /* @__PURE__ */ vi(Gr, { theme: e, children: [
|
|
729
|
-
/* @__PURE__ */ ae("div", { children: t("ai.disclaimer.poweredByAi") }),
|
|
730
|
-
/* @__PURE__ */ vi("div", { children: [
|
|
731
|
-
" ",
|
|
732
|
-
t("ai.disclaimer.rateRequest")
|
|
733
|
-
] })
|
|
734
|
-
] });
|
|
735
|
-
}
|
|
736
|
-
var Qr = at.div`
|
|
737
|
-
display: flex;
|
|
738
|
-
flex-direction: column;
|
|
739
|
-
row-gap: 4px;
|
|
740
|
-
`;
|
|
741
|
-
var _r2 = at.div`
|
|
742
|
-
font-size: 11px;
|
|
743
|
-
line-height: 18px;
|
|
744
|
-
font-weight: 300;
|
|
745
|
-
color: ${({ theme: e }) => e.aiChat.dropup.headers.textColor};
|
|
746
|
-
cursor: pointer;
|
|
747
|
-
padding: 4px 12px;
|
|
748
|
-
&:hover {
|
|
749
|
-
background-color: ${({ theme: e }) => e.aiChat.dropup.headers.hover.backgroundColor};
|
|
750
|
-
}
|
|
751
|
-
`;
|
|
752
|
-
var Kr = at.div`
|
|
753
|
-
font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
|
|
754
|
-
line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
|
|
755
|
-
color: ${({ theme: e }) => e.aiChat.dropup.items.textColor};
|
|
756
|
-
cursor: pointer;
|
|
757
|
-
padding: 4px 12px;
|
|
758
|
-
&:hover {
|
|
759
|
-
background-color: ${({ theme: e }) => e.aiChat.dropup.items.hover.backgroundColor};
|
|
760
|
-
}
|
|
761
|
-
`;
|
|
762
|
-
function Xr({
|
|
763
|
-
title: e,
|
|
764
|
-
items: t,
|
|
765
|
-
onSelect: n,
|
|
766
|
-
alwaysExpanded: r = false
|
|
767
|
-
}) {
|
|
768
|
-
const [s, c] = import_react.useState(false), { themeSettings: a } = vt();
|
|
769
|
-
return /* @__PURE__ */ vi(Qr, { children: [
|
|
770
|
-
/* @__PURE__ */ ae(_r2, { onClick: () => c((p) => !p), theme: a, children: e.toUpperCase() }),
|
|
771
|
-
(s || r) && t.map((p, d) => /* @__PURE__ */ ae(Kr, { onClick: () => n(p), theme: a, children: p }, d))
|
|
772
|
-
] });
|
|
773
|
-
}
|
|
774
|
-
var Yr = at.div`
|
|
775
|
-
font-family: ${({ theme: e }) => e.typography.fontFamily};
|
|
776
|
-
font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
|
|
777
|
-
line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
|
|
778
|
-
background-color: ${({ theme: e }) => e.aiChat.dropup.backgroundColor};
|
|
779
|
-
border-radius: ${({ theme: e }) => e.aiChat.dropup.borderRadius};
|
|
780
|
-
box-shadow: ${({ theme: e }) => e.aiChat.dropup.boxShadow};
|
|
781
|
-
padding-top: 8px;
|
|
782
|
-
padding-bottom: 8px;
|
|
783
|
-
display: flex;
|
|
784
|
-
flex-direction: column;
|
|
785
|
-
row-gap: 4px;
|
|
786
|
-
`;
|
|
787
|
-
var Jr = at.div`
|
|
788
|
-
font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
|
|
789
|
-
line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
|
|
790
|
-
color: ${({ theme: e }) => e.aiChat.dropup.items.textColor};
|
|
791
|
-
padding: 4px 12px;
|
|
792
|
-
`;
|
|
793
|
-
var Xe = (e) => e.startsWith("/");
|
|
794
|
-
function eo({
|
|
795
|
-
recentPrompts: e,
|
|
796
|
-
suggestions: t,
|
|
797
|
-
isLoading: n,
|
|
798
|
-
onSelection: r,
|
|
799
|
-
anchorEl: s,
|
|
800
|
-
text: c,
|
|
801
|
-
recommendationsError: a
|
|
802
|
-
}) {
|
|
803
|
-
const d = [
|
|
804
|
-
{
|
|
805
|
-
title: "/recent searches",
|
|
806
|
-
items: e,
|
|
807
|
-
onSelect: r
|
|
808
|
-
},
|
|
809
|
-
{
|
|
810
|
-
title: "/ai recommendations",
|
|
811
|
-
items: t,
|
|
812
|
-
onSelect: r
|
|
813
|
-
}
|
|
814
|
-
].filter((i) => i.title.slice(0, c.length) === c), { themeSettings: h } = vt(), { t: m } = ea(), y2 = d.length === 1;
|
|
815
|
-
return /* @__PURE__ */ ae(wh, {
|
|
816
|
-
open: Xe(c) && d.length > 0,
|
|
817
|
-
anchorEl: s,
|
|
818
|
-
placement: "top-start",
|
|
819
|
-
modifiers: [
|
|
820
|
-
{
|
|
821
|
-
name: "offset",
|
|
822
|
-
options: {
|
|
823
|
-
offset: [0, 4]
|
|
824
|
-
}
|
|
825
|
-
}
|
|
826
|
-
],
|
|
827
|
-
sx: { zIndex: 3 },
|
|
828
|
-
children: /* @__PURE__ */ vi(Yr, { style: { width: s == null ? undefined : s.offsetWidth }, theme: h, children: [
|
|
829
|
-
n && /* @__PURE__ */ ae(qe, {}),
|
|
830
|
-
!n && !a && d.map((i) => /* @__PURE__ */ ae(Xr, E(M({}, i), { alwaysExpanded: y2 }), i.title)),
|
|
831
|
-
a && /* @__PURE__ */ ae(Jr, { theme: h, children: m("ai.errors.recommendationsNotAvailable") })
|
|
832
|
-
] })
|
|
833
|
-
});
|
|
834
|
-
}
|
|
835
|
-
var to = 500;
|
|
836
|
-
function Me({ title: e, placement: t = "top", children: n }) {
|
|
837
|
-
const { themeSettings: r } = vt();
|
|
838
|
-
return /* @__PURE__ */ ae(jv, {
|
|
839
|
-
title: e,
|
|
840
|
-
placement: t,
|
|
841
|
-
disableInteractive: true,
|
|
842
|
-
componentsProps: {
|
|
843
|
-
tooltip: {
|
|
844
|
-
sx: {
|
|
845
|
-
bgcolor: r.aiChat.tooltips.backgroundColor,
|
|
846
|
-
color: r.aiChat.tooltips.textColor,
|
|
847
|
-
paddingX: "16px",
|
|
848
|
-
paddingY: "12px",
|
|
849
|
-
fontSize: "13px",
|
|
850
|
-
fontFamily: r.typography.fontFamily,
|
|
851
|
-
fontWeight: 400,
|
|
852
|
-
borderRadius: "4px",
|
|
853
|
-
boxShadow: r.aiChat.tooltips.boxShadow
|
|
854
|
-
}
|
|
855
|
-
},
|
|
856
|
-
arrow: {
|
|
857
|
-
sx: {
|
|
858
|
-
color: r.aiChat.tooltips.backgroundColor
|
|
859
|
-
}
|
|
860
|
-
}
|
|
861
|
-
},
|
|
862
|
-
arrow: true,
|
|
863
|
-
children: n
|
|
864
|
-
});
|
|
865
|
-
}
|
|
866
|
-
function no({ theme: e }) {
|
|
867
|
-
const t = e.aiChat.icons.color;
|
|
868
|
-
return /* @__PURE__ */ vi("svg", { xmlns: "http://www.w3.org/2000/svg", width: "25", height: "25", viewBox: "0 0 25 25", fill: "none", children: [
|
|
869
|
-
/* @__PURE__ */ ae("path", {
|
|
870
|
-
d: "M21.4095 11.1195L12.5644 6.0459C12.3247 5.90841 12.0189 5.99143 11.8816 6.23128L10.764 8.18434C10.6275 8.42284 10.709 8.72678 10.9466 8.86491L19.7108 13.9614C19.9464 14.0984 20.2483 14.0215 20.3897 13.7884L21.5883 11.8125C21.734 11.5723 21.6532 11.2592 21.4095 11.1195Z",
|
|
871
|
-
fill: t
|
|
872
|
-
}),
|
|
873
|
-
/* @__PURE__ */ ae("path", {
|
|
874
|
-
d: "M18.7329 8.60735L16.1048 7.07819L19.6668 0.928042C19.8041 0.6909 20.1068 0.608502 20.3454 0.743288L22.156 1.7661C22.3992 1.90347 22.4827 2.21344 22.3414 2.45438L18.7329 8.60735Z",
|
|
875
|
-
fill: t
|
|
876
|
-
}),
|
|
877
|
-
/* @__PURE__ */ ae("path", {
|
|
878
|
-
d: "M19.8544 14.9048L10.3563 9.43067C10.2184 9.35116 10.0413 9.39515 9.95275 9.52746C7.03423 13.8862 4.07448 15.2337 3.18167 16.0938C3.09276 16.1794 3.08414 16.3141 3.1538 16.416C3.74961 17.2879 5.10497 18.4425 6.05628 19.2048C6.17328 19.2985 6.34145 19.2903 6.44961 19.1865L9.97994 15.7973L7.69329 20.1066C7.61954 20.2456 7.66674 20.4186 7.80041 20.5017C11.6152 22.8708 14.2978 24.0437 16.9604 24.4472C17.1542 24.4766 17.3191 24.3106 17.3033 24.1152C17.007 20.469 19.0807 16.6112 19.8544 14.9048Z",
|
|
879
|
-
fill: t
|
|
880
|
-
})
|
|
881
|
-
] });
|
|
882
|
-
}
|
|
883
|
-
function ro({ theme: e }) {
|
|
884
|
-
return /* @__PURE__ */ ae("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ ae("path", {
|
|
885
|
-
d: "M4 14L0 10L24 0L14 24L10 20L8.47667 16.9533L19 6.4L20 4.00001L17.6099 5L7.04354 15.5218L4 14Z",
|
|
886
|
-
fill: e.aiChat.icons.color
|
|
887
|
-
}) });
|
|
888
|
-
}
|
|
889
|
-
var oo = at.div`
|
|
890
|
-
display: flex;
|
|
891
|
-
flex-direction: row;
|
|
892
|
-
align-items: flex-end;
|
|
893
|
-
justify-content: space-between;
|
|
894
|
-
|
|
895
|
-
background-color: ${({ theme: e }) => e.aiChat.backgroundColor};
|
|
896
|
-
`;
|
|
897
|
-
var io = at.button`
|
|
898
|
-
height: 34px;
|
|
899
|
-
background-color: inherit;
|
|
900
|
-
cursor: pointer;
|
|
901
|
-
border: none;
|
|
902
|
-
`;
|
|
903
|
-
var so = at.textarea`
|
|
904
|
-
font-size: inherit;
|
|
905
|
-
line-height: inherit;
|
|
906
|
-
resize: none;
|
|
907
|
-
overflow-y: auto;
|
|
908
|
-
box-sizing: border-box;
|
|
909
|
-
// size style
|
|
910
|
-
max-height: 88px;
|
|
911
|
-
width: 100%;
|
|
912
|
-
// spacing style
|
|
913
|
-
padding-top: 7px;
|
|
914
|
-
padding-bottom: 7px;
|
|
915
|
-
padding-left: 16px;
|
|
916
|
-
padding-right: 16px;
|
|
917
|
-
margin-left: 10px;
|
|
918
|
-
margin-right: 10px;
|
|
919
|
-
// border style
|
|
920
|
-
border-width: 1px;
|
|
921
|
-
border-color: rgb(38 46 61 / 0.15);
|
|
922
|
-
border-radius: 0.5rem;
|
|
923
|
-
&:focus {
|
|
924
|
-
outline: 1px solid ${({ theme: e }) => e.aiChat.input.focus.outlineColor};
|
|
925
|
-
}
|
|
926
|
-
font-family: inherit;
|
|
927
|
-
|
|
928
|
-
color: ${({ theme: e }) => e.aiChat.primaryTextColor};
|
|
929
|
-
|
|
930
|
-
background-color: ${({ theme: e }) => e.aiChat.input.backgroundColor};
|
|
931
|
-
`;
|
|
932
|
-
var ao = at.button`
|
|
933
|
-
height: 34px;
|
|
934
|
-
background-color: inherit;
|
|
935
|
-
border-style: none;
|
|
936
|
-
|
|
937
|
-
color: ${({ theme: e }) => e.aiChat.primaryTextColor};
|
|
938
|
-
|
|
939
|
-
${({ disabled: e }) => e ? Ag`
|
|
940
|
-
opacity: 0.3;
|
|
941
|
-
cursor: not-allowed;
|
|
942
|
-
` : Ag`
|
|
943
|
-
opacity: 1;
|
|
944
|
-
cursor: pointer;
|
|
945
|
-
`}
|
|
946
|
-
`;
|
|
947
|
-
var lo = 34;
|
|
948
|
-
function co({
|
|
949
|
-
onSendMessage: e,
|
|
950
|
-
onClearHistoryClick: t,
|
|
951
|
-
disabled: n,
|
|
952
|
-
recentPrompts: r,
|
|
953
|
-
suggestions: s,
|
|
954
|
-
isLoading: c,
|
|
955
|
-
recommendationsError: a,
|
|
956
|
-
onChange: p
|
|
957
|
-
}) {
|
|
958
|
-
const [d, h] = import_react.useState(""), { inputPromptText: m } = ne(), y2 = import_react.useCallback(() => {
|
|
959
|
-
if (n)
|
|
960
|
-
return;
|
|
961
|
-
if (Xe(d)) {
|
|
962
|
-
h("");
|
|
963
|
-
return;
|
|
964
|
-
}
|
|
965
|
-
const k = d.trim();
|
|
966
|
-
k.length !== 0 && (e(k), h(""));
|
|
967
|
-
}, [n, e, d]), i = import_react.useCallback((k) => {
|
|
968
|
-
e(k), h("");
|
|
969
|
-
}, [e]), u = import_react.useCallback((k) => {
|
|
970
|
-
k.key === "Enter" ? (k.preventDefault(), y2()) : k.key === "Escape" && Xe(d) && h("");
|
|
971
|
-
}, [y2, d]), l = import_react.useCallback((k) => {
|
|
972
|
-
p == null || p(k.target.value), h(k.target.value);
|
|
973
|
-
}, [p]), f = import_react.useRef(null);
|
|
974
|
-
import_react.useLayoutEffect(() => {
|
|
975
|
-
f.current && (f.current.style.height = "inherit", f.current.style.height = `${Math.max(f.current.scrollHeight + 2, lo)}px`);
|
|
976
|
-
}, [d]), import_react.useLayoutEffect(() => {
|
|
977
|
-
f.current && f.current.focus({ preventScroll: true });
|
|
978
|
-
}, []);
|
|
979
|
-
const { themeSettings: g } = vt(), { t: x } = ea(), v = import_react.useCallback((k) => {
|
|
980
|
-
var L;
|
|
981
|
-
if ((L = document.getElementById("csdk-chatbot-frame")) != null && L.contains(k.relatedTarget)) {
|
|
982
|
-
const $ = (T) => {
|
|
983
|
-
var N;
|
|
984
|
-
document.removeEventListener("mouseup", $), document.removeEventListener("keyup", $), T.type === "mouseup" && ((N = document.getSelection()) == null ? undefined : N.type) !== "Range" && k.target.focus({ preventScroll: true });
|
|
985
|
-
};
|
|
986
|
-
document.addEventListener("mouseup", $), document.addEventListener("keyup", $);
|
|
987
|
-
}
|
|
988
|
-
}, []);
|
|
989
|
-
return /* @__PURE__ */ vi(oo, { theme: g, children: [
|
|
990
|
-
/* @__PURE__ */ ae(eo, {
|
|
991
|
-
recentPrompts: r,
|
|
992
|
-
suggestions: s,
|
|
993
|
-
isLoading: c,
|
|
994
|
-
onSelection: i,
|
|
995
|
-
anchorEl: f.current,
|
|
996
|
-
text: d,
|
|
997
|
-
recommendationsError: a
|
|
998
|
-
}),
|
|
999
|
-
t && /* @__PURE__ */ ae(Me, { title: x("ai.buttons.clearChat"), placement: "bottom-start", children: /* @__PURE__ */ ae(io, { "aria-label": "clear history", onClick: t, children: /* @__PURE__ */ ae(no, { theme: g }) }) }),
|
|
1000
|
-
/* @__PURE__ */ ae(so, {
|
|
1001
|
-
"aria-label": "chat input",
|
|
1002
|
-
onBlur: v,
|
|
1003
|
-
maxLength: to,
|
|
1004
|
-
ref: f,
|
|
1005
|
-
rows: 1,
|
|
1006
|
-
onChange: l,
|
|
1007
|
-
spellCheck: "true",
|
|
1008
|
-
placeholder: m,
|
|
1009
|
-
value: d,
|
|
1010
|
-
onKeyDown: u,
|
|
1011
|
-
theme: g,
|
|
1012
|
-
disabled: n
|
|
1013
|
-
}),
|
|
1014
|
-
/* @__PURE__ */ ae(ao, {
|
|
1015
|
-
"aria-label": "send chat message",
|
|
1016
|
-
disabled: n || d.length === 0,
|
|
1017
|
-
onClick: y2,
|
|
1018
|
-
theme: g,
|
|
1019
|
-
children: /* @__PURE__ */ ae("span", { "data-state": "closed", children: /* @__PURE__ */ ae(ro, { theme: g }) })
|
|
1020
|
-
})
|
|
1021
|
-
] });
|
|
1022
|
-
}
|
|
1023
|
-
var uo = at.div`
|
|
1024
|
-
margin: auto;
|
|
1025
|
-
display: flex;
|
|
1026
|
-
flex-direction: column;
|
|
1027
|
-
align-items: center;
|
|
1028
|
-
row-gap: 21px;
|
|
1029
|
-
`;
|
|
1030
|
-
var po = at.div`
|
|
1031
|
-
color: ${({ theme: e }) => e.aiChat.primaryTextColor};
|
|
1032
|
-
text-align: center;
|
|
1033
|
-
font-weight: 600;
|
|
1034
|
-
`;
|
|
1035
|
-
var ho = at.div`
|
|
1036
|
-
color: rgba(54, 163, 217, 1);
|
|
1037
|
-
cursor: pointer;
|
|
1038
|
-
`;
|
|
1039
|
-
function Yt({ text: e, action: t }) {
|
|
1040
|
-
const { themeSettings: n } = vt();
|
|
1041
|
-
return /* @__PURE__ */ vi(uo, { children: [
|
|
1042
|
-
/* @__PURE__ */ ae(po, { theme: n, children: e }),
|
|
1043
|
-
/* @__PURE__ */ ae(IN, {}),
|
|
1044
|
-
t && /* @__PURE__ */ ae(ho, { onClick: t.onClick, children: t.text })
|
|
1045
|
-
] });
|
|
1046
|
-
}
|
|
1047
|
-
var go = at.div`
|
|
1048
|
-
flex: 0 0 80px;
|
|
1049
|
-
padding-left: 14px;
|
|
1050
|
-
padding-right: 14px;
|
|
1051
|
-
display: flex;
|
|
1052
|
-
align-items: center;
|
|
1053
|
-
position: relative;
|
|
1054
|
-
|
|
1055
|
-
background-color: ${({ style: e }) => e.backgroundColor};
|
|
1056
|
-
`;
|
|
1057
|
-
var fo = at.div`
|
|
1058
|
-
font-size: 18px;
|
|
1059
|
-
line-height: 22px;
|
|
1060
|
-
font-weight: 600;
|
|
1061
|
-
margin-left: 20px;
|
|
1062
|
-
|
|
1063
|
-
color: ${({ style: e }) => e.textColor};
|
|
1064
|
-
`;
|
|
1065
|
-
var Jt = import_react.forwardRef(function({ title: t, leftNav: n, rightNav: r, style: s }, c) {
|
|
1066
|
-
return /* @__PURE__ */ vi(go, { ref: c, style: s, children: [
|
|
1067
|
-
n,
|
|
1068
|
-
/* @__PURE__ */ ae(fo, { style: s, children: t }),
|
|
1069
|
-
r && /* @__PURE__ */ ae("div", { className: "csdk-ml-auto", children: r })
|
|
1070
|
-
] });
|
|
1071
|
-
});
|
|
1072
|
-
var Ie = at.div`
|
|
1073
|
-
width: 5px;
|
|
1074
|
-
height: 5px;
|
|
1075
|
-
border-radius: 50%;
|
|
1076
|
-
background-color: ${(e) => e.color};
|
|
1077
|
-
animation: hop 0.9s ease-out infinite;
|
|
1078
|
-
|
|
1079
|
-
&:nth-of-type(2) {
|
|
1080
|
-
animation-delay: 0.1s;
|
|
1081
|
-
}
|
|
1082
|
-
|
|
1083
|
-
&:nth-of-type(3) {
|
|
1084
|
-
animation-delay: 0.2s;
|
|
1085
|
-
}
|
|
1086
|
-
|
|
1087
|
-
&:nth-of-type(4) {
|
|
1088
|
-
animation-delay: 0.3s;
|
|
1089
|
-
}
|
|
1090
|
-
|
|
1091
|
-
@keyframes hop {
|
|
1092
|
-
0%,
|
|
1093
|
-
40% {
|
|
1094
|
-
transform: translateY(0);
|
|
1095
|
-
}
|
|
1096
|
-
20% {
|
|
1097
|
-
transform: translateY(-100%);
|
|
1098
|
-
}
|
|
1099
|
-
}
|
|
1100
|
-
`;
|
|
1101
|
-
function dt() {
|
|
1102
|
-
const { themeSettings: e } = vt(), t = e.aiChat.icons.color;
|
|
1103
|
-
return /* @__PURE__ */ vi("div", {
|
|
1104
|
-
className: "csdk-flex csdk-justify-between csdk-w-[28px] csdk-py-[14.5px]",
|
|
1105
|
-
"aria-label": "loading dots",
|
|
1106
|
-
children: [
|
|
1107
|
-
/* @__PURE__ */ ae(Ie, { color: t }),
|
|
1108
|
-
/* @__PURE__ */ ae(Ie, { color: t }),
|
|
1109
|
-
/* @__PURE__ */ ae(Ie, { color: t }),
|
|
1110
|
-
/* @__PURE__ */ ae(Ie, { color: t })
|
|
1111
|
-
]
|
|
1112
|
-
});
|
|
1113
|
-
}
|
|
1114
|
-
function ce() {
|
|
1115
|
-
return ce = Object.assign ? Object.assign.bind() : function(e) {
|
|
1116
|
-
for (var t = 1;t < arguments.length; t++) {
|
|
1117
|
-
var n = arguments[t];
|
|
1118
|
-
for (var r in n)
|
|
1119
|
-
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
1120
|
-
}
|
|
1121
|
-
return e;
|
|
1122
|
-
}, ce.apply(this, arguments);
|
|
1123
|
-
}
|
|
1124
|
-
var Co = ["children", "options"];
|
|
1125
|
-
var 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" };
|
|
1126
|
-
var vt2;
|
|
1127
|
-
(function(e) {
|
|
1128
|
-
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";
|
|
1129
|
-
})(vt2 || (vt2 = {}));
|
|
1130
|
-
var kt = ["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" });
|
|
1131
|
-
var wt = { amp: "&", apos: "'", gt: ">", lt: "<", nbsp: " ", quot: "“" };
|
|
1132
|
-
var mo = ["style", "script"];
|
|
1133
|
-
var bo = ["src", "href", "data", "formAction", "srcDoc", "action"];
|
|
1134
|
-
var yo = /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi;
|
|
1135
|
-
var xo = /mailto:/i;
|
|
1136
|
-
var vo = /\n{2,}$/;
|
|
1137
|
-
var en = /^(\s*>[\s\S]*?)(?=\n\n|$)/;
|
|
1138
|
-
var ko = /^ *> ?/gm;
|
|
1139
|
-
var wo = /^(?:\[!([^\]]*)\]\n)?([\s\S]*)/;
|
|
1140
|
-
var So = /^ {2,}\n/;
|
|
1141
|
-
var Mo = /^(?:( *[-*_])){3,} *(?:\n *)+\n/;
|
|
1142
|
-
var tn = /^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/;
|
|
1143
|
-
var nn = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/;
|
|
1144
|
-
var To = /^(`+)((?:\\`|(?!\1)`|[^`])+)\1/;
|
|
1145
|
-
var $o = /^(?:\n *)*\n/;
|
|
1146
|
-
var Ro = /\r\n?/g;
|
|
1147
|
-
var Eo = /^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/;
|
|
1148
|
-
var Lo = /^\[\^([^\]]+)]/;
|
|
1149
|
-
var No = /\f/g;
|
|
1150
|
-
var Io = /^---[ \t]*\n(.|\n)*\n---[ \t]*\n/;
|
|
1151
|
-
var Po = /^\s*?\[(x|\s)\]/;
|
|
1152
|
-
var rn = /^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/;
|
|
1153
|
-
var on = /^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/;
|
|
1154
|
-
var sn = /^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/;
|
|
1155
|
-
var Ye = /^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i;
|
|
1156
|
-
var Oo = /&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi;
|
|
1157
|
-
var an = /^<!--[\s\S]*?(?:-->)/;
|
|
1158
|
-
var Bo = /^(data|aria|x)-[a-z_][a-z\d_.-]*$/;
|
|
1159
|
-
var Je2 = /^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i;
|
|
1160
|
-
var Fo = /^\{.*\}$/;
|
|
1161
|
-
var Ao = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/;
|
|
1162
|
-
var Ho = /^<([^ >]+@[^ >]+)>/;
|
|
1163
|
-
var Do = /^<([^ >]+:\/[^ >]+)>/;
|
|
1164
|
-
var qo = /-([a-z])?/gi;
|
|
1165
|
-
var ln = /^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/;
|
|
1166
|
-
var zo = /^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/;
|
|
1167
|
-
var Wo = /^!\[([^\]]*)\] ?\[([^\]]*)\]/;
|
|
1168
|
-
var Zo = /^\[([^\]]*)\] ?\[([^\]]*)\]/;
|
|
1169
|
-
var jo = /(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/;
|
|
1170
|
-
var Uo = /\t/g;
|
|
1171
|
-
var Go = /(^ *\||\| *$)/g;
|
|
1172
|
-
var Vo = /^ *:-+: *$/;
|
|
1173
|
-
var Qo = /^ *:-+ *$/;
|
|
1174
|
-
var _o = /^ *-+: *$/;
|
|
1175
|
-
var ze = "((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|\\\\\\1|[\\s\\S])+?)";
|
|
1176
|
-
var Ko = new RegExp(`^([*_])\\1${ze}\\1\\1(?!\\1)`);
|
|
1177
|
-
var Xo = new RegExp(`^([*_])${ze}\\1(?!\\1)`);
|
|
1178
|
-
var Yo = new RegExp(`^(==)${ze}\\1`);
|
|
1179
|
-
var Jo = new RegExp(`^(~~)${ze}\\1`);
|
|
1180
|
-
var ei = /^\\([^0-9A-Za-z\s])/;
|
|
1181
|
-
var St = /\\([^0-9A-Za-z\s])/g;
|
|
1182
|
-
var ti = /^([\s\S](?:(?! |[0-9]\.)[^=*_~\-\n<`\\\[!])*)/;
|
|
1183
|
-
var ni = /^\n+/;
|
|
1184
|
-
var ri = /^([ \t]*)/;
|
|
1185
|
-
var oi2 = /\\([^\\])/g;
|
|
1186
|
-
var ii = /(?:^|\n)( *)$/;
|
|
1187
|
-
var ut = "(?:\\d+\\.)";
|
|
1188
|
-
var pt = "(?:[*+-])";
|
|
1189
|
-
function cn(e) {
|
|
1190
|
-
return "( *)(" + (e === 1 ? ut : pt) + ") +";
|
|
1191
|
-
}
|
|
1192
|
-
var dn2 = cn(1);
|
|
1193
|
-
var un = cn(2);
|
|
1194
|
-
function pn(e) {
|
|
1195
|
-
return new RegExp("^" + (e === 1 ? dn2 : un));
|
|
1196
|
-
}
|
|
1197
|
-
var si = pn(1);
|
|
1198
|
-
var ai = pn(2);
|
|
1199
|
-
function hn(e) {
|
|
1200
|
-
return new RegExp("^" + (e === 1 ? dn2 : un) + "[^\\n]*(?:\\n(?!\\1" + (e === 1 ? ut : pt) + " )[^\\n]*)*(\\n|$)", "gm");
|
|
1201
|
-
}
|
|
1202
|
-
var li = hn(1);
|
|
1203
|
-
var ci = hn(2);
|
|
1204
|
-
function gn(e) {
|
|
1205
|
-
const t = e === 1 ? ut : pt;
|
|
1206
|
-
return new RegExp("^( *)(" + t + ") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1" + t + " (?!" + t + " ))\\n*|\\s*\\n*$)");
|
|
1207
|
-
}
|
|
1208
|
-
var fn = gn(1);
|
|
1209
|
-
var Cn = gn(2);
|
|
1210
|
-
function Mt(e, t) {
|
|
1211
|
-
const n = t === 1, r = n ? fn : Cn, s = n ? li : ci, c = n ? si : ai;
|
|
1212
|
-
return { match: ge(function(a, p) {
|
|
1213
|
-
const d = ii.exec(p.prevCapture);
|
|
1214
|
-
return d && (p.list || !p.inline && !p.simple) ? r.exec(a = d[1] + a) : null;
|
|
1215
|
-
}), order: 1, parse(a, p, d) {
|
|
1216
|
-
const h = n ? +a[2] : undefined, m = a[0].replace(vo, `
|
|
1217
|
-
`).match(s);
|
|
1218
|
-
let y2 = false;
|
|
1219
|
-
return { items: m.map(function(i, u) {
|
|
1220
|
-
const l = c.exec(i)[0].length, f = new RegExp("^ {1," + l + "}", "gm"), g = i.replace(f, "").replace(c, ""), x = u === m.length - 1, v = g.indexOf(`
|
|
1221
|
-
|
|
1222
|
-
`) !== -1 || x && y2;
|
|
1223
|
-
y2 = v;
|
|
1224
|
-
const { inline: k, list: L } = d;
|
|
1225
|
-
let $;
|
|
1226
|
-
d.list = true, v ? (d.inline = false, $ = ke(g) + `
|
|
1227
|
-
|
|
1228
|
-
`) : (d.inline = true, $ = ke(g));
|
|
1229
|
-
const T = p($, d);
|
|
1230
|
-
return d.inline = k, d.list = L, T;
|
|
1231
|
-
}), ordered: n, start: h };
|
|
1232
|
-
}, render: (a, p, d) => e(a.ordered ? "ol" : "ul", { key: d.key, start: a.type === b.orderedList ? a.start : undefined }, a.items.map(function(h, m) {
|
|
1233
|
-
return e("li", { key: m }, p(h, d));
|
|
1234
|
-
})) };
|
|
1235
|
-
}
|
|
1236
|
-
var di = new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`);
|
|
1237
|
-
var ui = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/;
|
|
1238
|
-
var mn = [en, tn, nn, rn, sn, on, ln, fn, Cn];
|
|
1239
|
-
var pi = [...mn, /^[^\n]+(?: \n|\n{2,})/, Ye, an, Je2];
|
|
1240
|
-
function ke(e) {
|
|
1241
|
-
let t = e.length;
|
|
1242
|
-
for (;t > 0 && e[t - 1] <= " "; )
|
|
1243
|
-
t--;
|
|
1244
|
-
return e.slice(0, t);
|
|
1245
|
-
}
|
|
1246
|
-
function ye(e) {
|
|
1247
|
-
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();
|
|
1248
|
-
}
|
|
1249
|
-
function hi(e) {
|
|
1250
|
-
return _o.test(e) ? "right" : Vo.test(e) ? "center" : Qo.test(e) ? "left" : null;
|
|
1251
|
-
}
|
|
1252
|
-
function Tt2(e, t, n, r) {
|
|
1253
|
-
const s = n.inTable;
|
|
1254
|
-
n.inTable = true;
|
|
1255
|
-
let c = [[]], a = "";
|
|
1256
|
-
function p() {
|
|
1257
|
-
if (!a)
|
|
1258
|
-
return;
|
|
1259
|
-
const d = c[c.length - 1];
|
|
1260
|
-
d.push.apply(d, t(a, n)), a = "";
|
|
1261
|
-
}
|
|
1262
|
-
return e.trim().split(/(`[^`]*`|\\\||\|)/).filter(Boolean).forEach((d, h, m) => {
|
|
1263
|
-
d.trim() === "|" && (p(), r) ? h !== 0 && h !== m.length - 1 && c.push([]) : a += d;
|
|
1264
|
-
}), p(), n.inTable = s, c;
|
|
1265
|
-
}
|
|
1266
|
-
function gi(e, t, n) {
|
|
1267
|
-
n.inline = true;
|
|
1268
|
-
const r = e[2] ? e[2].replace(Go, "").split("|").map(hi) : [], s = e[3] ? function(a, p, d) {
|
|
1269
|
-
return a.trim().split(`
|
|
1270
|
-
`).map(function(h) {
|
|
1271
|
-
return Tt2(h, p, d, true);
|
|
1272
|
-
});
|
|
1273
|
-
}(e[3], t, n) : [], c = Tt2(e[1], t, n, !!s.length);
|
|
1274
|
-
return n.inline = false, s.length ? { align: r, cells: s, header: c, type: b.table } : { children: c, type: b.paragraph };
|
|
1275
|
-
}
|
|
1276
|
-
function $t(e, t) {
|
|
1277
|
-
return e.align[t] == null ? {} : { textAlign: e.align[t] };
|
|
1278
|
-
}
|
|
1279
|
-
function ge(e) {
|
|
1280
|
-
return e.inline = 1, e;
|
|
1281
|
-
}
|
|
1282
|
-
function ie(e) {
|
|
1283
|
-
return ge(function(t, n) {
|
|
1284
|
-
return n.inline ? e.exec(t) : null;
|
|
1285
|
-
});
|
|
1286
|
-
}
|
|
1287
|
-
function se(e) {
|
|
1288
|
-
return ge(function(t, n) {
|
|
1289
|
-
return n.inline || n.simple ? e.exec(t) : null;
|
|
1290
|
-
});
|
|
1291
|
-
}
|
|
1292
|
-
function te2(e) {
|
|
1293
|
-
return function(t, n) {
|
|
1294
|
-
return n.inline || n.simple ? null : e.exec(t);
|
|
1295
|
-
};
|
|
1296
|
-
}
|
|
1297
|
-
function xe(e) {
|
|
1298
|
-
return ge(function(t) {
|
|
1299
|
-
return e.exec(t);
|
|
1300
|
-
});
|
|
1301
|
-
}
|
|
1302
|
-
function fi(e, t) {
|
|
1303
|
-
if (t.inline || t.simple)
|
|
1304
|
-
return null;
|
|
1305
|
-
let n = "";
|
|
1306
|
-
e.split(`
|
|
1307
|
-
`).every((s) => (s += `
|
|
1308
|
-
`, !mn.some((c) => c.test(s)) && (n += s, !!s.trim())));
|
|
1309
|
-
const r = ke(n);
|
|
1310
|
-
return r == "" ? null : [n, , r];
|
|
1311
|
-
}
|
|
1312
|
-
var Ci = /(javascript|vbscript|data(?!:image)):/i;
|
|
1313
|
-
function mi(e) {
|
|
1314
|
-
try {
|
|
1315
|
-
const t = decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g, "");
|
|
1316
|
-
if (Ci.test(t))
|
|
1317
|
-
return null;
|
|
1318
|
-
} catch (t) {
|
|
1319
|
-
return null;
|
|
1320
|
-
}
|
|
1321
|
-
return e;
|
|
1322
|
-
}
|
|
1323
|
-
function Rt2(e) {
|
|
1324
|
-
return e.replace(oi2, "$1");
|
|
1325
|
-
}
|
|
1326
|
-
function Pe(e, t, n) {
|
|
1327
|
-
const r = n.inline || false, s = n.simple || false;
|
|
1328
|
-
n.inline = true, n.simple = true;
|
|
1329
|
-
const c = e(t, n);
|
|
1330
|
-
return n.inline = r, n.simple = s, c;
|
|
1331
|
-
}
|
|
1332
|
-
function bi(e, t, n) {
|
|
1333
|
-
const r = n.inline || false, s = n.simple || false;
|
|
1334
|
-
n.inline = false, n.simple = true;
|
|
1335
|
-
const c = e(t, n);
|
|
1336
|
-
return n.inline = r, n.simple = s, c;
|
|
1337
|
-
}
|
|
1338
|
-
function yi(e, t, n) {
|
|
1339
|
-
const r = n.inline || false;
|
|
1340
|
-
n.inline = false;
|
|
1341
|
-
const s = e(t, n);
|
|
1342
|
-
return n.inline = r, s;
|
|
1343
|
-
}
|
|
1344
|
-
var Ue = (e, t, n) => ({ children: Pe(t, e[2], n) });
|
|
1345
|
-
function Ge() {
|
|
1346
|
-
return {};
|
|
1347
|
-
}
|
|
1348
|
-
function Ve2() {
|
|
1349
|
-
return null;
|
|
1350
|
-
}
|
|
1351
|
-
function xi(...e) {
|
|
1352
|
-
return e.filter(Boolean).join(" ");
|
|
1353
|
-
}
|
|
1354
|
-
function Qe(e, t, n) {
|
|
1355
|
-
let r = e;
|
|
1356
|
-
const s = t.split(".");
|
|
1357
|
-
for (;s.length && (r = r[s[0]], r !== undefined); )
|
|
1358
|
-
s.shift();
|
|
1359
|
-
return r || n;
|
|
1360
|
-
}
|
|
1361
|
-
function vi2(e = "", t = {}) {
|
|
1362
|
-
function n(i, u, ...l) {
|
|
1363
|
-
const f = Qe(t.overrides, `${i}.props`, {});
|
|
1364
|
-
return t.createElement(function(g, x) {
|
|
1365
|
-
const v = Qe(x, g);
|
|
1366
|
-
return v ? typeof v == "function" || typeof v == "object" && "render" in v ? v : Qe(x, `${g}.component`, g) : g;
|
|
1367
|
-
}(i, t.overrides), ce({}, u, f, { className: xi(u == null ? undefined : u.className, f.className) || undefined }), ...l);
|
|
1368
|
-
}
|
|
1369
|
-
function r(i) {
|
|
1370
|
-
i = i.replace(Io, "");
|
|
1371
|
-
let u = false;
|
|
1372
|
-
t.forceInline ? u = true : t.forceBlock || (u = jo.test(i) === false);
|
|
1373
|
-
const l = h(d(u ? i : `${ke(i).replace(ni, "")}
|
|
1374
|
-
|
|
1375
|
-
`, { inline: u }));
|
|
1376
|
-
for (;typeof l[l.length - 1] == "string" && !l[l.length - 1].trim(); )
|
|
1377
|
-
l.pop();
|
|
1378
|
-
if (t.wrapper === null)
|
|
1379
|
-
return l;
|
|
1380
|
-
const f = t.wrapper || (u ? "span" : "div");
|
|
1381
|
-
let g;
|
|
1382
|
-
if (l.length > 1 || t.forceWrapper)
|
|
1383
|
-
g = l;
|
|
1384
|
-
else {
|
|
1385
|
-
if (l.length === 1)
|
|
1386
|
-
return g = l[0], typeof g == "string" ? n("span", { key: "outer" }, g) : g;
|
|
1387
|
-
g = null;
|
|
1388
|
-
}
|
|
1389
|
-
return t.createElement(f, { key: "outer" }, g);
|
|
1390
|
-
}
|
|
1391
|
-
function s(i, u) {
|
|
1392
|
-
const l = u.match(yo);
|
|
1393
|
-
return l ? l.reduce(function(f, g) {
|
|
1394
|
-
const x = g.indexOf("=");
|
|
1395
|
-
if (x !== -1) {
|
|
1396
|
-
const v = function(T) {
|
|
1397
|
-
return T.indexOf("-") !== -1 && T.match(Bo) === null && (T = T.replace(qo, function(N, F) {
|
|
1398
|
-
return F.toUpperCase();
|
|
1399
|
-
})), T;
|
|
1400
|
-
}(g.slice(0, x)).trim(), k = function(T) {
|
|
1401
|
-
const N = T[0];
|
|
1402
|
-
return (N === '"' || N === "'") && T.length >= 2 && T[T.length - 1] === N ? T.slice(1, -1) : T;
|
|
1403
|
-
}(g.slice(x + 1).trim()), L = kt[v] || v;
|
|
1404
|
-
if (L === "ref")
|
|
1405
|
-
return f;
|
|
1406
|
-
const $ = f[L] = function(T, N, F, le) {
|
|
1407
|
-
return N === "style" ? function(Q) {
|
|
1408
|
-
const Z = [];
|
|
1409
|
-
let _ = "", K = false, D = false, ee = "";
|
|
1410
|
-
if (!Q)
|
|
1411
|
-
return Z;
|
|
1412
|
-
for (let U = 0;U < Q.length; U++) {
|
|
1413
|
-
const W = Q[U];
|
|
1414
|
-
if (W !== '"' && W !== "'" || K || (D ? W === ee && (D = false, ee = "") : (D = true, ee = W)), W === "(" && _.endsWith("url") ? K = true : W === ")" && K && (K = false), W !== ";" || D || K)
|
|
1415
|
-
_ += W;
|
|
1416
|
-
else {
|
|
1417
|
-
const G = _.trim();
|
|
1418
|
-
if (G) {
|
|
1419
|
-
const re = G.indexOf(":");
|
|
1420
|
-
if (re > 0) {
|
|
1421
|
-
const Ce = G.slice(0, re).trim(), de = G.slice(re + 1).trim();
|
|
1422
|
-
Z.push([Ce, de]);
|
|
1423
|
-
}
|
|
1424
|
-
}
|
|
1425
|
-
_ = "";
|
|
1426
|
-
}
|
|
1427
|
-
}
|
|
1428
|
-
const O = _.trim();
|
|
1429
|
-
if (O) {
|
|
1430
|
-
const U = O.indexOf(":");
|
|
1431
|
-
if (U > 0) {
|
|
1432
|
-
const W = O.slice(0, U).trim(), G = O.slice(U + 1).trim();
|
|
1433
|
-
Z.push([W, G]);
|
|
1434
|
-
}
|
|
1435
|
-
}
|
|
1436
|
-
return Z;
|
|
1437
|
-
}(F).reduce(function(Q, [Z, _]) {
|
|
1438
|
-
return Q[Z.replace(/(-[a-z])/g, (K) => K[1].toUpperCase())] = le(_, T, Z), Q;
|
|
1439
|
-
}, {}) : bo.indexOf(N) !== -1 ? le(F, T, N) : (F.match(Fo) && (F = F.slice(1, F.length - 1)), F === "true" || F !== "false" && F);
|
|
1440
|
-
}(i, v, k, t.sanitizer);
|
|
1441
|
-
typeof $ == "string" && (Ye.test($) || Je2.test($)) && (f[L] = r($.trim()));
|
|
1442
|
-
} else
|
|
1443
|
-
g !== "style" && (f[kt[g] || g] = true);
|
|
1444
|
-
return f;
|
|
1445
|
-
}, {}) : null;
|
|
1446
|
-
}
|
|
1447
|
-
t.overrides = t.overrides || {}, t.sanitizer = t.sanitizer || mi, t.slugify = t.slugify || ye, t.namedCodesToUnicode = t.namedCodesToUnicode ? ce({}, wt, t.namedCodesToUnicode) : wt, t.createElement = t.createElement || Y.createElement;
|
|
1448
|
-
const c = [], a = {}, p = { [b.blockQuote]: { match: te2(en), order: 1, parse(i, u, l) {
|
|
1449
|
-
const [, f, g] = i[0].replace(ko, "").match(wo);
|
|
1450
|
-
return { alert: f, children: u(g, l) };
|
|
1451
|
-
}, render(i, u, l) {
|
|
1452
|
-
const f = { key: l.key };
|
|
1453
|
-
return i.alert && (f.className = "markdown-alert-" + t.slugify(i.alert.toLowerCase(), ye), i.children.unshift({ attrs: {}, children: [{ type: b.text, text: i.alert }], noInnerParse: true, type: b.htmlBlock, tag: "header" })), n("blockquote", f, u(i.children, l));
|
|
1454
|
-
} }, [b.breakLine]: { match: xe(So), order: 1, parse: Ge, render: (i, u, l) => n("br", { key: l.key }) }, [b.breakThematic]: { match: te2(Mo), order: 1, parse: Ge, render: (i, u, l) => n("hr", { key: l.key }) }, [b.codeBlock]: { match: te2(nn), order: 0, parse: (i) => ({ lang: undefined, text: ke(i[0].replace(/^ {4}/gm, "")).replace(St, "$1") }), render: (i, u, l) => n("pre", { key: l.key }, n("code", ce({}, i.attrs, { className: i.lang ? `lang-${i.lang}` : "" }), i.text)) }, [b.codeFenced]: { match: te2(tn), order: 0, parse: (i) => ({ attrs: s("code", i[3] || ""), lang: i[2] || undefined, text: i[4], type: b.codeBlock }) }, [b.codeInline]: { match: se(To), order: 3, parse: (i) => ({ text: i[2].replace(St, "$1") }), render: (i, u, l) => n("code", { key: l.key }, i.text) }, [b.footnote]: { match: te2(Eo), order: 0, parse: (i) => (c.push({ footnote: i[2], identifier: i[1] }), {}), render: Ve2 }, [b.footnoteReference]: { match: ie(Lo), order: 1, parse: (i) => ({ target: `#${t.slugify(i[1], ye)}`, text: i[1] }), render: (i, u, l) => n("a", { key: l.key, href: t.sanitizer(i.target, "a", "href") }, n("sup", { key: l.key }, i.text)) }, [b.gfmTask]: { match: ie(Po), order: 1, parse: (i) => ({ completed: i[1].toLowerCase() === "x" }), render: (i, u, l) => n("input", { checked: i.completed, key: l.key, readOnly: true, type: "checkbox" }) }, [b.heading]: { match: te2(t.enforceAtxHeadings ? on : rn), order: 1, parse: (i, u, l) => ({ children: Pe(u, i[2], l), id: t.slugify(i[2], ye), level: i[1].length }), render: (i, u, l) => n(`h${i.level}`, { id: i.id, key: l.key }, u(i.children, l)) }, [b.headingSetext]: { match: te2(sn), order: 0, parse: (i, u, l) => ({ children: Pe(u, i[1], l), level: i[2] === "=" ? 1 : 2, type: b.heading }) }, [b.htmlBlock]: { match: xe(Ye), order: 1, parse(i, u, l) {
|
|
1455
|
-
const [, f] = i[3].match(ri), g = new RegExp(`^${f}`, "gm"), x = i[3].replace(g, ""), v = (k = x, pi.some((F) => F.test(k)) ? yi : Pe);
|
|
1456
|
-
var k;
|
|
1457
|
-
const L = i[1].toLowerCase(), $ = mo.indexOf(L) !== -1, T = ($ ? L : i[1]).trim(), N = { attrs: s(T, i[2]), noInnerParse: $, tag: T };
|
|
1458
|
-
return l.inAnchor = l.inAnchor || L === "a", $ ? N.text = i[3] : N.children = v(u, x, l), l.inAnchor = false, N;
|
|
1459
|
-
}, render: (i, u, l) => n(i.tag, ce({ key: l.key }, i.attrs), i.text || (i.children ? u(i.children, l) : "")) }, [b.htmlSelfClosing]: { match: xe(Je2), order: 1, parse(i) {
|
|
1460
|
-
const u = i[1].trim();
|
|
1461
|
-
return { attrs: s(u, i[2] || ""), tag: u };
|
|
1462
|
-
}, render: (i, u, l) => n(i.tag, ce({}, i.attrs, { key: l.key })) }, [b.htmlComment]: { match: xe(an), order: 1, parse: () => ({}), render: Ve2 }, [b.image]: { match: se(ui), order: 1, parse: (i) => ({ alt: i[1], target: Rt2(i[2]), title: i[3] }), render: (i, u, l) => n("img", { key: l.key, alt: i.alt || undefined, title: i.title || undefined, src: t.sanitizer(i.target, "img", "src") }) }, [b.link]: { match: ie(di), order: 3, parse: (i, u, l) => ({ children: bi(u, i[1], l), target: Rt2(i[2]), title: i[3] }), render: (i, u, l) => n("a", { key: l.key, href: t.sanitizer(i.target, "a", "href"), title: i.title }, u(i.children, l)) }, [b.linkAngleBraceStyleDetector]: { match: ie(Do), order: 0, parse: (i) => ({ children: [{ text: i[1], type: b.text }], target: i[1], type: b.link }) }, [b.linkBareUrlDetector]: { match: ge((i, u) => u.inAnchor || t.disableAutoLink ? null : ie(Ao)(i, u)), order: 0, parse: (i) => ({ children: [{ text: i[1], type: b.text }], target: i[1], title: undefined, type: b.link }) }, [b.linkMailtoDetector]: { match: ie(Ho), order: 0, parse(i) {
|
|
1463
|
-
let u = i[1], l = i[1];
|
|
1464
|
-
return xo.test(l) || (l = "mailto:" + l), { children: [{ text: u.replace("mailto:", ""), type: b.text }], target: l, type: b.link };
|
|
1465
|
-
} }, [b.orderedList]: Mt(n, 1), [b.unorderedList]: Mt(n, 2), [b.newlineCoalescer]: { match: te2($o), order: 3, parse: Ge, render: () => `
|
|
1466
|
-
` }, [b.paragraph]: { match: ge(fi), order: 3, parse: Ue, render: (i, u, l) => n("p", { key: l.key }, u(i.children, l)) }, [b.ref]: { match: ie(zo), order: 0, parse: (i) => (a[i[1]] = { target: i[2], title: i[4] }, {}), render: Ve2 }, [b.refImage]: { match: se(Wo), order: 0, parse: (i) => ({ alt: i[1] || undefined, ref: i[2] }), render: (i, u, l) => a[i.ref] ? n("img", { key: l.key, alt: i.alt, src: t.sanitizer(a[i.ref].target, "img", "src"), title: a[i.ref].title }) : null }, [b.refLink]: { match: ie(Zo), order: 0, parse: (i, u, l) => ({ children: u(i[1], l), fallbackChildren: i[0], ref: i[2] }), render: (i, u, l) => a[i.ref] ? n("a", { key: l.key, href: t.sanitizer(a[i.ref].target, "a", "href"), title: a[i.ref].title }, u(i.children, l)) : n("span", { key: l.key }, i.fallbackChildren) }, [b.table]: { match: te2(ln), order: 1, parse: gi, render(i, u, l) {
|
|
1467
|
-
const f = i;
|
|
1468
|
-
return n("table", { key: l.key }, n("thead", null, n("tr", null, f.header.map(function(g, x) {
|
|
1469
|
-
return n("th", { key: x, style: $t(f, x) }, u(g, l));
|
|
1470
|
-
}))), n("tbody", null, f.cells.map(function(g, x) {
|
|
1471
|
-
return n("tr", { key: x }, g.map(function(v, k) {
|
|
1472
|
-
return n("td", { key: k, style: $t(f, k) }, u(v, l));
|
|
1473
|
-
}));
|
|
1474
|
-
})));
|
|
1475
|
-
} }, [b.text]: { match: xe(ti), order: 4, parse: (i) => ({ text: i[0].replace(Oo, (u, l) => t.namedCodesToUnicode[l] ? t.namedCodesToUnicode[l] : u) }), render: (i) => i.text }, [b.textBolded]: { match: se(Ko), order: 2, parse: (i, u, l) => ({ children: u(i[2], l) }), render: (i, u, l) => n("strong", { key: l.key }, u(i.children, l)) }, [b.textEmphasized]: { match: se(Xo), order: 3, parse: (i, u, l) => ({ children: u(i[2], l) }), render: (i, u, l) => n("em", { key: l.key }, u(i.children, l)) }, [b.textEscaped]: { match: se(ei), order: 1, parse: (i) => ({ text: i[1], type: b.text }) }, [b.textMarked]: { match: se(Yo), order: 3, parse: Ue, render: (i, u, l) => n("mark", { key: l.key }, u(i.children, l)) }, [b.textStrikethroughed]: { match: se(Jo), order: 3, parse: Ue, render: (i, u, l) => n("del", { key: l.key }, u(i.children, l)) } };
|
|
1476
|
-
t.disableParsingRawHTML === true && (delete p[b.htmlBlock], delete p[b.htmlSelfClosing]);
|
|
1477
|
-
const d = function(i) {
|
|
1478
|
-
let u = Object.keys(i);
|
|
1479
|
-
function l(f, g) {
|
|
1480
|
-
let x, v, k = [], L = "", $ = "";
|
|
1481
|
-
for (g.prevCapture = g.prevCapture || "";f; ) {
|
|
1482
|
-
let T = 0;
|
|
1483
|
-
for (;T < u.length; ) {
|
|
1484
|
-
if (L = u[T], x = i[L], g.inline && !x.match.inline) {
|
|
1485
|
-
T++;
|
|
1486
|
-
continue;
|
|
1487
|
-
}
|
|
1488
|
-
const N = x.match(f, g);
|
|
1489
|
-
if (N) {
|
|
1490
|
-
$ = N[0], g.prevCapture += $, f = f.substring($.length), v = x.parse(N, l, g), v.type == null && (v.type = L), k.push(v);
|
|
1491
|
-
break;
|
|
1492
|
-
}
|
|
1493
|
-
T++;
|
|
1494
|
-
}
|
|
1495
|
-
}
|
|
1496
|
-
return g.prevCapture = "", k;
|
|
1497
|
-
}
|
|
1498
|
-
return u.sort(function(f, g) {
|
|
1499
|
-
let x = i[f].order, v = i[g].order;
|
|
1500
|
-
return x !== v ? x - v : f < g ? -1 : 1;
|
|
1501
|
-
}), function(f, g) {
|
|
1502
|
-
return l(function(x) {
|
|
1503
|
-
return x.replace(Ro, `
|
|
1504
|
-
`).replace(No, "").replace(Uo, " ");
|
|
1505
|
-
}(f), g);
|
|
1506
|
-
};
|
|
1507
|
-
}(p), h = (m = /* @__PURE__ */ function(i, u) {
|
|
1508
|
-
return function(l, f, g) {
|
|
1509
|
-
const x = i[l.type].render;
|
|
1510
|
-
return u ? u(() => x(l, f, g), l, f, g) : x(l, f, g);
|
|
1511
|
-
};
|
|
1512
|
-
}(p, t.renderRule), function i(u, l = {}) {
|
|
1513
|
-
if (Array.isArray(u)) {
|
|
1514
|
-
const f = l.key, g = [];
|
|
1515
|
-
let x = false;
|
|
1516
|
-
for (let v = 0;v < u.length; v++) {
|
|
1517
|
-
l.key = v;
|
|
1518
|
-
const k = i(u[v], l), L = typeof k == "string";
|
|
1519
|
-
L && x ? g[g.length - 1] += k : k !== null && g.push(k), x = L;
|
|
1520
|
-
}
|
|
1521
|
-
return l.key = f, g;
|
|
1522
|
-
}
|
|
1523
|
-
return m(u, i, l);
|
|
1524
|
-
});
|
|
1525
|
-
var m;
|
|
1526
|
-
const y2 = r(e);
|
|
1527
|
-
return c.length ? n("div", null, y2, n("footer", { key: "footer" }, c.map(function(i) {
|
|
1528
|
-
return n("div", { id: t.slugify(i.identifier, ye), key: i.identifier }, i.identifier, h(d(i.footnote, { inline: true })));
|
|
1529
|
-
}))) : y2;
|
|
1530
|
-
}
|
|
1531
|
-
var ki = (e) => {
|
|
1532
|
-
let { children: t = "", options: n } = e, r = function(s, c) {
|
|
1533
|
-
if (s == null)
|
|
1534
|
-
return {};
|
|
1535
|
-
var a, p, d = {}, h = Object.keys(s);
|
|
1536
|
-
for (p = 0;p < h.length; p++)
|
|
1537
|
-
c.indexOf(a = h[p]) >= 0 || (d[a] = s[a]);
|
|
1538
|
-
return d;
|
|
1539
|
-
}(e, Co);
|
|
1540
|
-
return Y.cloneElement(vi2(t, n), r);
|
|
1541
|
-
};
|
|
1542
|
-
var wi = at.div`
|
|
1543
|
-
display: flex;
|
|
1544
|
-
|
|
1545
|
-
${({ align: e }) => e === "right" ? Ag`
|
|
1546
|
-
justify-content: flex-end;
|
|
1547
|
-
` : Ag`
|
|
1548
|
-
justify-content: flex-start;
|
|
1549
|
-
`}
|
|
1550
|
-
`;
|
|
1551
|
-
var bn = at.div`
|
|
1552
|
-
font-size: inherit;
|
|
1553
|
-
line-height: inherit;
|
|
1554
|
-
padding-top: 8.5px;
|
|
1555
|
-
padding-bottom: 8.5px;
|
|
1556
|
-
padding-left: 0.5rem;
|
|
1557
|
-
padding-right: 0.5rem;
|
|
1558
|
-
white-space: pre-wrap;
|
|
1559
|
-
overflow-wrap: break-word;
|
|
1560
|
-
box-sizing: border-box;
|
|
1561
|
-
|
|
1562
|
-
${({ align: e }) => e === "right" ? Ag`
|
|
1563
|
-
text-align: right;
|
|
1564
|
-
border-radius: 10px 10px 0px 10px;
|
|
1565
|
-
` : Ag`
|
|
1566
|
-
text-align: left;
|
|
1567
|
-
border-radius: 10px 10px 10px 0px;
|
|
1568
|
-
`}
|
|
1569
|
-
|
|
1570
|
-
${({ align: e }) => e !== "full" ? Ag`
|
|
1571
|
-
max-width: 85%;
|
|
1572
|
-
` : ""}
|
|
1573
|
-
|
|
1574
|
-
color: ${({ theme: e }) => e.aiChat.primaryTextColor};
|
|
1575
|
-
background-color: ${({ theme: e, align: t }) => t === "right" ? e.aiChat.userMessages.backgroundColor : e.aiChat.systemMessages.backgroundColor};
|
|
1576
|
-
`;
|
|
1577
|
-
var ae2 = ({ align: e, children: t }) => {
|
|
1578
|
-
const { themeSettings: n } = vt();
|
|
1579
|
-
return /* @__PURE__ */ ae(wi, { theme: n, align: e, children: /* @__PURE__ */ ae(bn, { theme: n, align: e, children: typeof t == "string" ? /* @__PURE__ */ ae(ki, { children: t }) : t }) });
|
|
1580
|
-
};
|
|
1581
|
-
function Si() {
|
|
1582
|
-
const { welcomeText: e } = ne();
|
|
1583
|
-
return e === false ? null : /* @__PURE__ */ ae(ae2, { align: "left", children: e });
|
|
1584
|
-
}
|
|
1585
|
-
var Mi = at.div`
|
|
1586
|
-
display: flex;
|
|
1587
|
-
|
|
1588
|
-
${({ align: e }) => e === "right" ? Ag`
|
|
1589
|
-
justify-content: flex-end;
|
|
1590
|
-
` : Ag`
|
|
1591
|
-
justify-content: flex-start;
|
|
1592
|
-
`}
|
|
1593
|
-
`;
|
|
1594
|
-
var Ti = at.button`
|
|
1595
|
-
font-family: inherit;
|
|
1596
|
-
font-size: inherit;
|
|
1597
|
-
line-height: inherit;
|
|
1598
|
-
border: ${({ theme: e }) => e.aiChat.clickableMessages.border};
|
|
1599
|
-
padding: 0;
|
|
1600
|
-
cursor: pointer;
|
|
1601
|
-
|
|
1602
|
-
color: ${({ theme: e }) => e.aiChat.clickableMessages.textColor};
|
|
1603
|
-
background-color: ${({ theme: e }) => e.aiChat.clickableMessages.backgroundColor};
|
|
1604
|
-
&:hover {
|
|
1605
|
-
color: ${({ theme: e }) => e.aiChat.clickableMessages.hover.textColor};
|
|
1606
|
-
background-color: ${({ theme: e }) => e.aiChat.clickableMessages.hover.backgroundColor};
|
|
1607
|
-
}
|
|
1608
|
-
border-radius: 20px;
|
|
1609
|
-
|
|
1610
|
-
${({ align: e }) => e === "right" ? Ag`
|
|
1611
|
-
text-align: right;
|
|
1612
|
-
` : Ag`
|
|
1613
|
-
text-align: left;
|
|
1614
|
-
`}
|
|
1615
|
-
|
|
1616
|
-
${({ align: e }) => e !== "full" ? Ag`
|
|
1617
|
-
max-width: 382px;
|
|
1618
|
-
` : ""}
|
|
1619
|
-
|
|
1620
|
-
${({ theme: e }) => {
|
|
1621
|
-
const { borderGradient: t, borderRadius: n } = e.aiChat.suggestions;
|
|
1622
|
-
if (t) {
|
|
1623
|
-
const [r, s] = t;
|
|
1624
|
-
return Ag`
|
|
1625
|
-
border: none;
|
|
1626
|
-
position: relative;
|
|
1627
|
-
border-radius: ${n};
|
|
1628
|
-
&:before {
|
|
1629
|
-
content: '';
|
|
1630
|
-
position: absolute;
|
|
1631
|
-
top: 0;
|
|
1632
|
-
left: 0;
|
|
1633
|
-
right: 0;
|
|
1634
|
-
bottom: 0;
|
|
1635
|
-
border-radius: ${n};
|
|
1636
|
-
border: 1px solid transparent;
|
|
1637
|
-
background: linear-gradient(30deg, ${r}, ${s}) border-box;
|
|
1638
|
-
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
|
|
1639
|
-
-webkit-mask-composite: destination-out;
|
|
1640
|
-
mask-composite: exclude;
|
|
1641
|
-
}
|
|
1642
|
-
`;
|
|
1643
|
-
}
|
|
1644
|
-
return "";
|
|
1645
|
-
}}
|
|
1646
|
-
`;
|
|
1647
|
-
function Fe({
|
|
1648
|
-
children: e,
|
|
1649
|
-
align: t,
|
|
1650
|
-
onClick: n,
|
|
1651
|
-
onMouseEnter: r,
|
|
1652
|
-
onMouseLeave: s,
|
|
1653
|
-
accessibleName: c
|
|
1654
|
-
}) {
|
|
1655
|
-
const { themeSettings: a } = vt();
|
|
1656
|
-
return /* @__PURE__ */ ae(Mi, { align: t, children: /* @__PURE__ */ ae(Ti, {
|
|
1657
|
-
"aria-label": c,
|
|
1658
|
-
theme: a,
|
|
1659
|
-
onClick: n,
|
|
1660
|
-
align: t,
|
|
1661
|
-
onMouseEnter: r,
|
|
1662
|
-
onMouseLeave: s,
|
|
1663
|
-
children: e
|
|
1664
|
-
}) });
|
|
1665
|
-
}
|
|
1666
|
-
function $i({ onCancel: e, onConfirm: t }) {
|
|
1667
|
-
const { t: n } = ea();
|
|
1668
|
-
return /* @__PURE__ */ vi(Bc, { children: [
|
|
1669
|
-
/* @__PURE__ */ ae(ae2, { align: "left", children: n("ai.clearHistoryPrompt") }),
|
|
1670
|
-
/* @__PURE__ */ vi("div", { className: "csdk-flex csdk-gap-x-2", children: [
|
|
1671
|
-
/* @__PURE__ */ ae(Fe, { align: "right", onClick: t, accessibleName: "confirm clear chat", children: /* @__PURE__ */ ae("div", { className: "csdk-py-[6px] csdk-px-[20px]", children: n("ai.buttons.yes") }) }),
|
|
1672
|
-
/* @__PURE__ */ ae(Fe, { align: "right", onClick: e, accessibleName: "cancel clear chat", children: /* @__PURE__ */ ae("div", { className: "csdk-py-[6px] csdk-px-[20px]", children: n("ai.buttons.no") }) })
|
|
1673
|
-
] })
|
|
1674
|
-
] });
|
|
1675
|
-
}
|
|
1676
|
-
var Ri = M1e("toLowerCase");
|
|
1677
|
-
function Ei() {
|
|
1678
|
-
const { themeSettings: e } = vt();
|
|
1679
|
-
return /* @__PURE__ */ ae("svg", { width: "24", height: "25", viewBox: "0 0 24 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ ae("path", {
|
|
1680
|
-
fillRule: "evenodd",
|
|
1681
|
-
clipRule: "evenodd",
|
|
1682
|
-
d: "M11.5 3.5C11.2239 3.5 11 3.72386 11 4V5C11 5.27614 11.2239 5.5 11.5 5.5C11.7761 5.5 12 5.27614 12 5V4C12 3.72386 11.7761 3.5 11.5 3.5ZM20 11C20 10.7239 19.7761 10.5 19.5 10.5H18.5C18.2239 10.5 18 10.7239 18 11C18 11.2761 18.2239 11.5 18.5 11.5H19.5C19.7761 11.5 20 11.2761 20 11ZM6.06066 5.35355C5.8654 5.15829 5.54882 5.15829 5.35355 5.35355C5.15829 5.54882 5.15829 5.8654 5.35355 6.06066L6.06066 6.76777C6.25592 6.96303 6.5725 6.96303 6.76777 6.76777C6.96303 6.5725 6.96303 6.25592 6.76777 6.06066L6.06066 5.35355ZM5 11C5 10.7239 4.77614 10.5 4.5 10.5H3.5C3.22386 10.5 3 10.7239 3 11C3 11.2761 3.22386 11.5 3.5 11.5H4.5C4.77614 11.5 5 11.2761 5 11ZM17.7678 6.06066C17.963 5.8654 17.963 5.54882 17.7678 5.35355C17.5725 5.15829 17.2559 5.15829 17.0607 5.35355L16.3536 6.06066C16.1583 6.25592 16.1583 6.5725 16.3536 6.76777C16.5488 6.96303 16.8654 6.96303 17.0607 6.76777L17.7678 6.06066ZM12.1443 6.53487C14.6635 6.81824 16.6511 8.67684 16.9597 11.0379C17.1678 12.6385 16.5623 14.2379 15.3244 15.3575C14.5049 16.1022 14.0038 17.2023 14 18.2722V19.5H9V18.2753C8.98626 17.1847 8.46545 16.0683 7.62521 15.3139C6.04513 13.8436 5.56667 11.6251 6.41329 9.69484C7.25992 7.76454 9.26456 6.50321 11.4909 6.5C11.7093 6.50004 11.9274 6.51167 12.1443 6.53487ZM11.4927 7.5C9.675 7.50258 8.03521 8.51877 7.34062 10.0785C6.64391 11.643 7.03778 13.4417 8.32278 14.6196C9.36662 15.5426 9.98356 16.8913 10.0003 18.2029V18.5H13.0001L13.0001 18.1969C13.0048 16.9143 13.6014 15.5805 14.6246 14.6649C15.6402 13.7602 16.1379 12.4652 15.9669 11.1689C15.7132 9.25779 14.0849 7.75729 12.0264 7.52799C11.8487 7.50938 11.67 7.50004 11.4927 7.5ZM14.1068 12.5099H13.1068C13.1068 10.7222 12.3371 9.95246 10.6235 10.0096L10.5901 9.01014C12.8765 8.93393 14.1068 10.1642 14.1068 12.5099ZM13 21.5V20.5H10V21.5H13Z",
|
|
1683
|
-
fill: e.aiChat.icons.color
|
|
1684
|
-
}) });
|
|
1685
|
-
}
|
|
1686
|
-
function Li({ onClick: e }) {
|
|
1687
|
-
const { t } = ea();
|
|
1688
|
-
return /* @__PURE__ */ ae(Fe, { align: "left", onClick: e, children: /* @__PURE__ */ vi("div", {
|
|
1689
|
-
className: "csdk-py-[5px] csdk-px-2 csdk-flex csdk-items-center csdk-gap-x-1 csdk-select-none",
|
|
1690
|
-
children: [
|
|
1691
|
-
/* @__PURE__ */ ae(Ei, {}),
|
|
1692
|
-
t("ai.buttons.insights")
|
|
1693
|
-
]
|
|
1694
|
-
}) });
|
|
1695
|
-
}
|
|
1696
|
-
function Ni(e) {
|
|
1697
|
-
return Ct("MuiDialog", e);
|
|
1698
|
-
}
|
|
1699
|
-
var _e = Tt("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]);
|
|
1700
|
-
var yn = /* @__PURE__ */ Y.createContext({});
|
|
1701
|
-
yn.displayName = "DialogContext";
|
|
1702
|
-
var Ii = De(oT, {
|
|
1703
|
-
name: "MuiDialog",
|
|
1704
|
-
slot: "Backdrop",
|
|
1705
|
-
overrides: (e, t) => t.backdrop
|
|
1706
|
-
})({
|
|
1707
|
-
zIndex: -1
|
|
1708
|
-
});
|
|
1709
|
-
var Pi = (e) => {
|
|
1710
|
-
const {
|
|
1711
|
-
classes: t,
|
|
1712
|
-
scroll: n,
|
|
1713
|
-
maxWidth: r,
|
|
1714
|
-
fullWidth: s,
|
|
1715
|
-
fullScreen: c
|
|
1716
|
-
} = e, a = {
|
|
1717
|
-
root: ["root"],
|
|
1718
|
-
container: ["container", `scroll${$e(n)}`],
|
|
1719
|
-
paper: ["paper", `paperScroll${$e(n)}`, `paperWidth${$e(String(r))}`, s && "paperFullWidth", c && "paperFullScreen"]
|
|
1720
|
-
};
|
|
1721
|
-
return Bt(a, Ni, t);
|
|
1722
|
-
};
|
|
1723
|
-
var Oi = De(sT, {
|
|
1724
|
-
name: "MuiDialog",
|
|
1725
|
-
slot: "Root",
|
|
1726
|
-
overridesResolver: (e, t) => t.root
|
|
1727
|
-
})({
|
|
1728
|
-
"@media print": {
|
|
1729
|
-
position: "absolute !important"
|
|
1730
|
-
}
|
|
1731
|
-
});
|
|
1732
|
-
var Bi = De("div", {
|
|
1733
|
-
name: "MuiDialog",
|
|
1734
|
-
slot: "Container",
|
|
1735
|
-
overridesResolver: (e, t) => {
|
|
1736
|
-
const {
|
|
1737
|
-
ownerState: n
|
|
1738
|
-
} = e;
|
|
1739
|
-
return [t.container, t[`scroll${$e(n.scroll)}`]];
|
|
1740
|
-
}
|
|
1741
|
-
})({
|
|
1742
|
-
height: "100%",
|
|
1743
|
-
"@media print": {
|
|
1744
|
-
height: "auto"
|
|
1745
|
-
},
|
|
1746
|
-
outline: 0,
|
|
1747
|
-
variants: [{
|
|
1748
|
-
props: {
|
|
1749
|
-
scroll: "paper"
|
|
1750
|
-
},
|
|
1751
|
-
style: {
|
|
1752
|
-
display: "flex",
|
|
1753
|
-
justifyContent: "center",
|
|
1754
|
-
alignItems: "center"
|
|
1755
|
-
}
|
|
1756
|
-
}, {
|
|
1757
|
-
props: {
|
|
1758
|
-
scroll: "body"
|
|
1759
|
-
},
|
|
1760
|
-
style: {
|
|
1761
|
-
overflowY: "auto",
|
|
1762
|
-
overflowX: "hidden",
|
|
1763
|
-
textAlign: "center",
|
|
1764
|
-
"&::after": {
|
|
1765
|
-
content: '""',
|
|
1766
|
-
display: "inline-block",
|
|
1767
|
-
verticalAlign: "middle",
|
|
1768
|
-
height: "100%",
|
|
1769
|
-
width: "0"
|
|
1770
|
-
}
|
|
1771
|
-
}
|
|
1772
|
-
}]
|
|
1773
|
-
});
|
|
1774
|
-
var Fi = De(iv, {
|
|
1775
|
-
name: "MuiDialog",
|
|
1776
|
-
slot: "Paper",
|
|
1777
|
-
overridesResolver: (e, t) => {
|
|
1778
|
-
const {
|
|
1779
|
-
ownerState: n
|
|
1780
|
-
} = e;
|
|
1781
|
-
return [t.paper, t[`scrollPaper${$e(n.scroll)}`], t[`paperWidth${$e(String(n.maxWidth))}`], n.fullWidth && t.paperFullWidth, n.fullScreen && t.paperFullScreen];
|
|
1782
|
-
}
|
|
1783
|
-
})(qt(({
|
|
1784
|
-
theme: e
|
|
1785
|
-
}) => ({
|
|
1786
|
-
margin: 32,
|
|
1787
|
-
position: "relative",
|
|
1788
|
-
overflowY: "auto",
|
|
1789
|
-
"@media print": {
|
|
1790
|
-
overflowY: "visible",
|
|
1791
|
-
boxShadow: "none"
|
|
1792
|
-
},
|
|
1793
|
-
variants: [{
|
|
1794
|
-
props: {
|
|
1795
|
-
scroll: "paper"
|
|
1796
|
-
},
|
|
1797
|
-
style: {
|
|
1798
|
-
display: "flex",
|
|
1799
|
-
flexDirection: "column",
|
|
1800
|
-
maxHeight: "calc(100% - 64px)"
|
|
1801
|
-
}
|
|
1802
|
-
}, {
|
|
1803
|
-
props: {
|
|
1804
|
-
scroll: "body"
|
|
1805
|
-
},
|
|
1806
|
-
style: {
|
|
1807
|
-
display: "inline-block",
|
|
1808
|
-
verticalAlign: "middle",
|
|
1809
|
-
textAlign: "initial"
|
|
1810
|
-
}
|
|
1811
|
-
}, {
|
|
1812
|
-
props: ({
|
|
1813
|
-
ownerState: t
|
|
1814
|
-
}) => !t.maxWidth,
|
|
1815
|
-
style: {
|
|
1816
|
-
maxWidth: "calc(100% - 64px)"
|
|
1817
|
-
}
|
|
1818
|
-
}, {
|
|
1819
|
-
props: {
|
|
1820
|
-
maxWidth: "xs"
|
|
1821
|
-
},
|
|
1822
|
-
style: {
|
|
1823
|
-
maxWidth: e.breakpoints.unit === "px" ? Math.max(e.breakpoints.values.xs, 444) : `max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,
|
|
1824
|
-
[`&.${_e.paperScrollBody}`]: {
|
|
1825
|
-
[e.breakpoints.down(Math.max(e.breakpoints.values.xs, 444) + 32 * 2)]: {
|
|
1826
|
-
maxWidth: "calc(100% - 64px)"
|
|
1827
|
-
}
|
|
1828
|
-
}
|
|
1829
|
-
}
|
|
1830
|
-
}, ...Object.keys(e.breakpoints.values).filter((t) => t !== "xs").map((t) => ({
|
|
1831
|
-
props: {
|
|
1832
|
-
maxWidth: t
|
|
1833
|
-
},
|
|
1834
|
-
style: {
|
|
1835
|
-
maxWidth: `${e.breakpoints.values[t]}${e.breakpoints.unit}`,
|
|
1836
|
-
[`&.${_e.paperScrollBody}`]: {
|
|
1837
|
-
[e.breakpoints.down(e.breakpoints.values[t] + 32 * 2)]: {
|
|
1838
|
-
maxWidth: "calc(100% - 64px)"
|
|
1839
|
-
}
|
|
1840
|
-
}
|
|
1841
|
-
}
|
|
1842
|
-
})), {
|
|
1843
|
-
props: ({
|
|
1844
|
-
ownerState: t
|
|
1845
|
-
}) => t.fullWidth,
|
|
1846
|
-
style: {
|
|
1847
|
-
width: "calc(100% - 64px)"
|
|
1848
|
-
}
|
|
1849
|
-
}, {
|
|
1850
|
-
props: ({
|
|
1851
|
-
ownerState: t
|
|
1852
|
-
}) => t.fullScreen,
|
|
1853
|
-
style: {
|
|
1854
|
-
margin: 0,
|
|
1855
|
-
width: "100%",
|
|
1856
|
-
maxWidth: "100%",
|
|
1857
|
-
height: "100%",
|
|
1858
|
-
maxHeight: "none",
|
|
1859
|
-
borderRadius: 0,
|
|
1860
|
-
[`&.${_e.paperScrollBody}`]: {
|
|
1861
|
-
margin: 0,
|
|
1862
|
-
maxWidth: "100%"
|
|
1863
|
-
}
|
|
1864
|
-
}
|
|
1865
|
-
}]
|
|
1866
|
-
})));
|
|
1867
|
-
var xn = /* @__PURE__ */ Y.forwardRef(function(t, n) {
|
|
1868
|
-
const r = Dt2({
|
|
1869
|
-
props: t,
|
|
1870
|
-
name: "MuiDialog"
|
|
1871
|
-
}), s = eh(), c = {
|
|
1872
|
-
enter: s.transitions.duration.enteringScreen,
|
|
1873
|
-
exit: s.transitions.duration.leavingScreen
|
|
1874
|
-
}, Ct2 = r, {
|
|
1875
|
-
"aria-describedby": a,
|
|
1876
|
-
"aria-labelledby": p,
|
|
1877
|
-
"aria-modal": d = true,
|
|
1878
|
-
BackdropComponent: h,
|
|
1879
|
-
BackdropProps: m,
|
|
1880
|
-
children: y2,
|
|
1881
|
-
className: i,
|
|
1882
|
-
disableEscapeKeyDown: u = false,
|
|
1883
|
-
fullScreen: l = false,
|
|
1884
|
-
fullWidth: f = false,
|
|
1885
|
-
maxWidth: g = "sm",
|
|
1886
|
-
onBackdropClick: x,
|
|
1887
|
-
onClick: v,
|
|
1888
|
-
onClose: k,
|
|
1889
|
-
open: L,
|
|
1890
|
-
PaperComponent: $ = iv,
|
|
1891
|
-
PaperProps: T = {},
|
|
1892
|
-
scroll: N = "paper",
|
|
1893
|
-
slots: F = {},
|
|
1894
|
-
slotProps: le = {},
|
|
1895
|
-
TransitionComponent: Q = aT,
|
|
1896
|
-
transitionDuration: Z = c,
|
|
1897
|
-
TransitionProps: _
|
|
1898
|
-
} = Ct2, K = Ze(Ct2, [
|
|
1899
|
-
"aria-describedby",
|
|
1900
|
-
"aria-labelledby",
|
|
1901
|
-
"aria-modal",
|
|
1902
|
-
"BackdropComponent",
|
|
1903
|
-
"BackdropProps",
|
|
1904
|
-
"children",
|
|
1905
|
-
"className",
|
|
1906
|
-
"disableEscapeKeyDown",
|
|
1907
|
-
"fullScreen",
|
|
1908
|
-
"fullWidth",
|
|
1909
|
-
"maxWidth",
|
|
1910
|
-
"onBackdropClick",
|
|
1911
|
-
"onClick",
|
|
1912
|
-
"onClose",
|
|
1913
|
-
"open",
|
|
1914
|
-
"PaperComponent",
|
|
1915
|
-
"PaperProps",
|
|
1916
|
-
"scroll",
|
|
1917
|
-
"slots",
|
|
1918
|
-
"slotProps",
|
|
1919
|
-
"TransitionComponent",
|
|
1920
|
-
"transitionDuration",
|
|
1921
|
-
"TransitionProps"
|
|
1922
|
-
]), D = E(M({}, r), {
|
|
1923
|
-
disableEscapeKeyDown: u,
|
|
1924
|
-
fullScreen: l,
|
|
1925
|
-
fullWidth: f,
|
|
1926
|
-
maxWidth: g,
|
|
1927
|
-
scroll: N
|
|
1928
|
-
}), ee = Pi(D), O = Y.useRef(), U = (ue) => {
|
|
1929
|
-
O.current = ue.target === ue.currentTarget;
|
|
1930
|
-
}, W = (ue) => {
|
|
1931
|
-
v && v(ue), O.current && (O.current = null, x && x(ue), k && k(ue, "backdropClick"));
|
|
1932
|
-
}, G = Dg(p), re = Y.useMemo(() => ({
|
|
1933
|
-
titleId: G
|
|
1934
|
-
}), [G]), Ce = M({
|
|
1935
|
-
transition: Q
|
|
1936
|
-
}, F), de = M({
|
|
1937
|
-
transition: _,
|
|
1938
|
-
paper: T,
|
|
1939
|
-
backdrop: m
|
|
1940
|
-
}, le), oe = {
|
|
1941
|
-
slots: Ce,
|
|
1942
|
-
slotProps: de
|
|
1943
|
-
}, [$e2, Re] = _r("root", {
|
|
1944
|
-
elementType: Oi,
|
|
1945
|
-
shouldForwardComponentProp: true,
|
|
1946
|
-
externalForwardedProps: oe,
|
|
1947
|
-
ownerState: D,
|
|
1948
|
-
className: Ve(ee.root, i),
|
|
1949
|
-
ref: n
|
|
1950
|
-
}), [B, X] = _r("backdrop", {
|
|
1951
|
-
elementType: Ii,
|
|
1952
|
-
shouldForwardComponentProp: true,
|
|
1953
|
-
externalForwardedProps: oe,
|
|
1954
|
-
ownerState: D
|
|
1955
|
-
}), [Ee, ft] = _r("paper", {
|
|
1956
|
-
elementType: Fi,
|
|
1957
|
-
shouldForwardComponentProp: true,
|
|
1958
|
-
externalForwardedProps: oe,
|
|
1959
|
-
ownerState: D,
|
|
1960
|
-
className: Ve(ee.paper, T.className)
|
|
1961
|
-
}), [Le, wn] = _r("container", {
|
|
1962
|
-
elementType: Bi,
|
|
1963
|
-
externalForwardedProps: oe,
|
|
1964
|
-
ownerState: D,
|
|
1965
|
-
className: Ve(ee.container)
|
|
1966
|
-
}), [Sn, Mn] = _r("transition", {
|
|
1967
|
-
elementType: aT,
|
|
1968
|
-
externalForwardedProps: oe,
|
|
1969
|
-
ownerState: D,
|
|
1970
|
-
additionalProps: {
|
|
1971
|
-
appear: true,
|
|
1972
|
-
in: L,
|
|
1973
|
-
timeout: Z,
|
|
1974
|
-
role: "presentation"
|
|
1975
|
-
}
|
|
1976
|
-
});
|
|
1977
|
-
return /* @__PURE__ */ import_jsx_runtime.jsx($e2, E(M(M({
|
|
1978
|
-
closeAfterTransition: true,
|
|
1979
|
-
slots: {
|
|
1980
|
-
backdrop: B
|
|
1981
|
-
},
|
|
1982
|
-
slotProps: {
|
|
1983
|
-
backdrop: M({
|
|
1984
|
-
transitionDuration: Z,
|
|
1985
|
-
as: h
|
|
1986
|
-
}, X)
|
|
1987
|
-
},
|
|
1988
|
-
disableEscapeKeyDown: u,
|
|
1989
|
-
onClose: k,
|
|
1990
|
-
open: L,
|
|
1991
|
-
onClick: W
|
|
1992
|
-
}, Re), K), {
|
|
1993
|
-
children: /* @__PURE__ */ import_jsx_runtime.jsx(Sn, E(M({}, Mn), {
|
|
1994
|
-
children: /* @__PURE__ */ import_jsx_runtime.jsx(Le, E(M({
|
|
1995
|
-
onMouseDown: U
|
|
1996
|
-
}, wn), {
|
|
1997
|
-
children: /* @__PURE__ */ import_jsx_runtime.jsx(Ee, E(M({
|
|
1998
|
-
as: $,
|
|
1999
|
-
elevation: 24,
|
|
2000
|
-
role: "dialog",
|
|
2001
|
-
"aria-describedby": a,
|
|
2002
|
-
"aria-labelledby": G,
|
|
2003
|
-
"aria-modal": d
|
|
2004
|
-
}, ft), {
|
|
2005
|
-
children: /* @__PURE__ */ import_jsx_runtime.jsx(yn.Provider, {
|
|
2006
|
-
value: re,
|
|
2007
|
-
children: y2
|
|
2008
|
-
})
|
|
2009
|
-
}))
|
|
2010
|
-
}))
|
|
2011
|
-
}))
|
|
2012
|
-
}));
|
|
2013
|
-
});
|
|
2014
|
-
xn.propTypes = {
|
|
2015
|
-
"aria-describedby": y.string,
|
|
2016
|
-
"aria-labelledby": y.string,
|
|
2017
|
-
"aria-modal": y.oneOfType([y.oneOf(["false", "true"]), y.bool]),
|
|
2018
|
-
BackdropComponent: y.elementType,
|
|
2019
|
-
BackdropProps: y.object,
|
|
2020
|
-
children: y.node,
|
|
2021
|
-
classes: y.object,
|
|
2022
|
-
className: y.string,
|
|
2023
|
-
disableEscapeKeyDown: y.bool,
|
|
2024
|
-
fullScreen: y.bool,
|
|
2025
|
-
fullWidth: y.bool,
|
|
2026
|
-
maxWidth: y.oneOfType([y.oneOf(["xs", "sm", "md", "lg", "xl", false]), y.string]),
|
|
2027
|
-
onBackdropClick: y.func,
|
|
2028
|
-
onClick: y.func,
|
|
2029
|
-
onClose: y.func,
|
|
2030
|
-
open: y.bool.isRequired,
|
|
2031
|
-
PaperComponent: y.elementType,
|
|
2032
|
-
PaperProps: y.object,
|
|
2033
|
-
scroll: y.oneOf(["body", "paper"]),
|
|
2034
|
-
slotProps: y.shape({
|
|
2035
|
-
backdrop: y.oneOfType([y.func, y.object]),
|
|
2036
|
-
container: y.oneOfType([y.func, y.object]),
|
|
2037
|
-
paper: y.oneOfType([y.func, y.object]),
|
|
2038
|
-
root: y.oneOfType([y.func, y.object]),
|
|
2039
|
-
transition: y.oneOfType([y.func, y.object])
|
|
2040
|
-
}),
|
|
2041
|
-
slots: y.shape({
|
|
2042
|
-
backdrop: y.elementType,
|
|
2043
|
-
container: y.elementType,
|
|
2044
|
-
paper: y.elementType,
|
|
2045
|
-
root: y.elementType,
|
|
2046
|
-
transition: y.elementType
|
|
2047
|
-
}),
|
|
2048
|
-
sx: y.oneOfType([y.arrayOf(y.oneOfType([y.func, y.object, y.bool])), y.func, y.object]),
|
|
2049
|
-
TransitionComponent: y.elementType,
|
|
2050
|
-
transitionDuration: y.oneOfType([y.number, y.shape({
|
|
2051
|
-
appear: y.number,
|
|
2052
|
-
enter: y.number,
|
|
2053
|
-
exit: y.number
|
|
2054
|
-
})]),
|
|
2055
|
-
TransitionProps: y.object
|
|
2056
|
-
};
|
|
2057
|
-
function Ai({ fillColor: e = "#262E3D" }) {
|
|
2058
|
-
return /* @__PURE__ */ vi("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", fill: "none", children: [
|
|
2059
|
-
/* @__PURE__ */ ae("rect", { x: "1", y: "1", width: "28", height: "28", rx: "14", stroke: "#9EA2AB" }),
|
|
2060
|
-
/* @__PURE__ */ ae("path", {
|
|
2061
|
-
fillRule: "evenodd",
|
|
2062
|
-
clipRule: "evenodd",
|
|
2063
|
-
d: "M14.2929 15L9.14645 9.85355C8.95118 9.65829 8.95118 9.34171 9.14645 9.14645C9.34171 8.95118 9.65829 8.95118 9.85355 9.14645L15 14.2929L20.1464 9.14645C20.3417 8.95118 20.6583 8.95118 20.8536 9.14645C21.0488 9.34171 21.0488 9.65829 20.8536 9.85355L15.7071 15L20.8536 20.1464C21.0488 20.3417 21.0488 20.6583 20.8536 20.8536C20.6583 21.0488 20.3417 21.0488 20.1464 20.8536L15 15.7071L9.85355 20.8536C9.65829 21.0488 9.34171 21.0488 9.14645 20.8536C8.95118 20.6583 8.95118 20.3417 9.14645 20.1464L14.2929 15Z",
|
|
2064
|
-
fill: e
|
|
2065
|
-
})
|
|
2066
|
-
] });
|
|
2067
|
-
}
|
|
2068
|
-
var vn = {
|
|
2069
|
-
row: {
|
|
2070
|
-
hover: "rgba(224, 224, 224, 0.3)"
|
|
2071
|
-
},
|
|
2072
|
-
secondary: {
|
|
2073
|
-
default: "rgba(38, 46, 61, 0.1)",
|
|
2074
|
-
hover: "rgba(38, 46, 61, 0.17)"
|
|
2075
|
-
},
|
|
2076
|
-
text: {
|
|
2077
|
-
active: "rgba(38, 46, 61, 1)",
|
|
2078
|
-
content: "rgba(38, 46, 61, 0.8)",
|
|
2079
|
-
secondary: "rgba(38, 46, 61, 0.55)",
|
|
2080
|
-
disabled: "rgba(38, 46, 61, 0.3)",
|
|
2081
|
-
link: "rgba(54, 163, 217, 1)",
|
|
2082
|
-
accented: "rgba(12, 14, 18, 1)",
|
|
2083
|
-
linkButton: "#1eaff3",
|
|
2084
|
-
primary: "#262E3D"
|
|
2085
|
-
},
|
|
2086
|
-
UI: {
|
|
2087
|
-
default: "#6e737d",
|
|
2088
|
-
additional: "rgba(38, 46, 61, 0.4)",
|
|
2089
|
-
guiding: "rgba(38, 46, 61, 0.1)"
|
|
2090
|
-
},
|
|
2091
|
-
background: {
|
|
2092
|
-
workspace: "rgba(255, 255, 255, 1)",
|
|
2093
|
-
supporting: "rgba(249, 249, 251, 1)",
|
|
2094
|
-
priority: "rgba(244, 244, 248, 1)"
|
|
2095
|
-
},
|
|
2096
|
-
primary: {
|
|
2097
|
-
primary: "rgba(255, 203, 5, 1)",
|
|
2098
|
-
default: "#FFC805",
|
|
2099
|
-
hover: "#F2B900"
|
|
2100
|
-
},
|
|
2101
|
-
interaction: {
|
|
2102
|
-
defaultHover: "rgba(12, 14, 18, 0.07)",
|
|
2103
|
-
guidingHover: "rgba(38, 46, 61, 0.17)",
|
|
2104
|
-
linkHovered: "rgba(50, 147, 197, 1)",
|
|
2105
|
-
primaryHovered: "rgba(242, 185, 0, 1)"
|
|
2106
|
-
},
|
|
2107
|
-
semantic: {
|
|
2108
|
-
info: "rgba(52, 150, 200, 1)",
|
|
2109
|
-
success: "rgba(34, 195, 195, 1)",
|
|
2110
|
-
warning: "rgba(242, 185, 0, 1)",
|
|
2111
|
-
error: "rgba(231, 71, 39, 1)",
|
|
2112
|
-
infoBG: "rgba(52, 150, 200, 0.1)",
|
|
2113
|
-
successBG: "rgba(34, 195, 195, 0.1)",
|
|
2114
|
-
warningBG: "rgba(242, 185, 0, 0.1)",
|
|
2115
|
-
errorBG: "rgba(231, 71, 39, 0.1)"
|
|
2116
|
-
},
|
|
2117
|
-
sisenseDark: {
|
|
2118
|
-
text: {
|
|
2119
|
-
active: "rgba(235, 239, 247, 1)",
|
|
2120
|
-
content: "rgba(235, 239, 247, 0.8)",
|
|
2121
|
-
secondary: "rgba(235, 239, 247, 0.55)",
|
|
2122
|
-
disabled: "rgba(235, 239, 247, 0.3)",
|
|
2123
|
-
link: "rgba(50, 147, 197, 1)",
|
|
2124
|
-
accented: "rgba(12, 14, 18, 1)"
|
|
2125
|
-
},
|
|
2126
|
-
ui: {
|
|
2127
|
-
default: "rgba(235, 239, 247, 0.67)",
|
|
2128
|
-
additional: "rgba(235, 239, 247, 0.4)",
|
|
2129
|
-
guiding: "rgba(235, 239, 247, 0.1)"
|
|
2130
|
-
},
|
|
2131
|
-
background: {
|
|
2132
|
-
workspace: "rgba(12, 14, 18, 1)",
|
|
2133
|
-
supporting: "rgba(249, 249, 251, 1)",
|
|
2134
|
-
priority: "rgba(244, 244, 248, 1)"
|
|
2135
|
-
},
|
|
2136
|
-
interaction: {
|
|
2137
|
-
defaultHover: "rgba(12, 14, 18, 0.07)",
|
|
2138
|
-
guidingHover: "rgba(235, 239, 247, 0.17)",
|
|
2139
|
-
linkHovered: "rgba(50, 147, 197, 1)",
|
|
2140
|
-
primaryHovered: "rgba(242, 185, 0, 1)"
|
|
2141
|
-
},
|
|
2142
|
-
semantic: {
|
|
2143
|
-
info: "rgba(52, 150, 200, 1)",
|
|
2144
|
-
success: "rgba(34, 195, 195, 1)",
|
|
2145
|
-
warning: "rgba(242, 185, 0, 1)",
|
|
2146
|
-
error: "rgba(231, 71, 39, 1)",
|
|
2147
|
-
infoBG: "rgba(52, 150, 200, 0.1)",
|
|
2148
|
-
successBG: "rgba(34, 195, 195, 0.1)",
|
|
2149
|
-
warningBG: "rgba(242, 185, 0, 0.1)",
|
|
2150
|
-
errorBG: "rgba(231, 71, 39, 0.1)"
|
|
2151
|
-
}
|
|
2152
|
-
}
|
|
2153
|
-
};
|
|
2154
|
-
var Hi = {
|
|
2155
|
-
shouldForwardProp: (e) => !e.startsWith("$")
|
|
2156
|
-
};
|
|
2157
|
-
var Te = at(os, Hi)(({ $hoverColor: e }) => ({
|
|
2158
|
-
padding: 2,
|
|
2159
|
-
"&.MuiIconButton-root:hover": {
|
|
2160
|
-
backgroundColor: e != null ? e : vn.interaction.defaultHover
|
|
2161
|
-
}
|
|
2162
|
-
}));
|
|
2163
|
-
function Di({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
|
|
2164
|
-
return /* @__PURE__ */ ae("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ ae("path", {
|
|
2165
|
-
fillRule: "evenodd",
|
|
2166
|
-
clipRule: "evenodd",
|
|
2167
|
-
d: "M13.0503 10.2426L17.2929 6H14.5C14.2239 6 14 5.77614 14 5.5C14 5.22386 14.2239 5 14.5 5H18.5C18.7761 5 19 5.22386 19 5.5V9.5C19 9.77614 18.7761 10 18.5 10C18.2239 10 18 9.77614 18 9.5V6.70711L13.7574 10.9497C13.5621 11.145 13.2455 11.145 13.0503 10.9497C12.855 10.7545 12.855 10.4379 13.0503 10.2426ZM10.1464 13.1464L6 17.2929V14.5C6 14.2239 5.77614 14 5.5 14C5.22386 14 5 14.2239 5 14.5V18.5C5 18.7761 5.22386 19 5.5 19H9.5C9.77614 19 10 18.7761 10 18.5C10 18.2239 9.77614 18 9.5 18H6.70711L10.8536 13.8536C11.0488 13.6583 11.0488 13.3417 10.8536 13.1464C10.6583 12.9512 10.3417 12.9512 10.1464 13.1464Z",
|
|
2168
|
-
fill: e
|
|
2169
|
-
}) });
|
|
2170
|
-
}
|
|
2171
|
-
function qi({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
|
|
2172
|
-
return /* @__PURE__ */ ae("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ ae("path", {
|
|
2173
|
-
fillRule: "evenodd",
|
|
2174
|
-
clipRule: "evenodd",
|
|
2175
|
-
d: "M17.25 12C17.25 14.8995 14.8995 17.25 12 17.25C9.10051 17.25 6.75 14.8995 6.75 12C6.75 9.10051 9.10051 6.75 12 6.75C14.8995 6.75 17.25 9.10051 17.25 12ZM18 12C18 15.3137 15.3137 18 12 18C8.68629 18 6 15.3137 6 12C6 8.68629 8.68629 6 12 6C15.3137 6 18 8.68629 18 12ZM11.625 9.375V10.1239H12.375V9.375H11.625ZM12.375 14.6239V10.8739H11.625V14.6239H12.375Z",
|
|
2176
|
-
fill: e
|
|
2177
|
-
}) });
|
|
2178
|
-
}
|
|
2179
|
-
function zi() {
|
|
2180
|
-
return /* @__PURE__ */ ae("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ ae("path", {
|
|
2181
|
-
fillRule: "evenodd",
|
|
2182
|
-
clipRule: "evenodd",
|
|
2183
|
-
d: "M4.64372 12C4.64372 15.3137 7.33002 18 10.6437 18C12.6857 18 14.4894 16.9799 15.5731 15.4216C15.7307 15.195 16.0347 15.1118 16.2737 15.2498C16.5131 15.3879 16.5964 15.6953 16.4413 15.924C15.1825 17.7803 13.0555 19 10.6437 19C6.77773 19 3.64372 15.866 3.64372 12C3.64372 8.13401 6.77773 5 10.6437 5C13.8766 5 16.5977 7.19162 17.4021 10.1702L18.0347 8.56524C18.1359 8.30833 18.4263 8.18215 18.6832 8.2834C18.9401 8.38466 19.0663 8.67501 18.965 8.93192L17.865 11.723C17.7638 11.9799 17.4734 12.1061 17.2165 12.0048L14.4255 10.9048C14.1685 10.8035 14.0424 10.5132 14.1436 10.2563C14.2449 9.99935 14.5352 9.87317 14.7921 9.97442L16.4897 10.6435C15.8749 7.98316 13.4909 6 10.6437 6C7.33002 6 4.64372 8.68629 4.64372 12Z",
|
|
2184
|
-
fill: "#262E3D",
|
|
2185
|
-
fillOpacity: "0.67"
|
|
2186
|
-
}) });
|
|
2187
|
-
}
|
|
2188
|
-
var ht = (e) => q0(e.chart.backgroundColor);
|
|
2189
|
-
var Wi = ({ title: e }) => {
|
|
2190
|
-
const { themeSettings: t } = vt();
|
|
2191
|
-
return /* @__PURE__ */ ae(Me, { title: e, children: /* @__PURE__ */ ae(Te, { disableTouchRipple: true, $hoverColor: ht(t), children: /* @__PURE__ */ ae(qi, { fill: t.chart.textColor }) }) });
|
|
2192
|
-
};
|
|
2193
|
-
var Zi = ({ items: e }) => {
|
|
2194
|
-
const [t, n] = import_react.useState(null), r = (a) => {
|
|
2195
|
-
n(a.currentTarget);
|
|
2196
|
-
}, s = () => {
|
|
2197
|
-
n(null);
|
|
2198
|
-
}, { themeSettings: c } = vt();
|
|
2199
|
-
return /* @__PURE__ */ vi(Bc, { children: [
|
|
2200
|
-
/* @__PURE__ */ ae(Te, {
|
|
2201
|
-
onClick: r,
|
|
2202
|
-
$hoverColor: ht(c),
|
|
2203
|
-
"aria-label": "three dots button",
|
|
2204
|
-
children: /* @__PURE__ */ ae(l2e, { fill: c.chart.textColor })
|
|
2205
|
-
}),
|
|
2206
|
-
/* @__PURE__ */ ae(ov, {
|
|
2207
|
-
anchorEl: t,
|
|
2208
|
-
anchorOrigin: {
|
|
2209
|
-
vertical: "bottom",
|
|
2210
|
-
horizontal: "center"
|
|
2211
|
-
},
|
|
2212
|
-
transformOrigin: {
|
|
2213
|
-
vertical: "top",
|
|
2214
|
-
horizontal: "right"
|
|
2215
|
-
},
|
|
2216
|
-
open: !!t,
|
|
2217
|
-
onClose: s,
|
|
2218
|
-
children: e.map((a) => /* @__PURE__ */ vi(rv, {
|
|
2219
|
-
onClick: () => {
|
|
2220
|
-
a.onClick(), s();
|
|
2221
|
-
},
|
|
2222
|
-
sx: {
|
|
2223
|
-
fontSize: "13px",
|
|
2224
|
-
fontFamily: c.typography.fontFamily,
|
|
2225
|
-
color: vn.text.content
|
|
2226
|
-
},
|
|
2227
|
-
disableRipple: true,
|
|
2228
|
-
children: [
|
|
2229
|
-
a.icon,
|
|
2230
|
-
/* @__PURE__ */ ae("div", { className: "csdk-ml-1", children: a.title })
|
|
2231
|
-
]
|
|
2232
|
-
}, a.title))
|
|
2233
|
-
})
|
|
2234
|
-
] });
|
|
2235
|
-
};
|
|
2236
|
-
var ji = ({ onClick: e }) => {
|
|
2237
|
-
const { themeSettings: t } = vt(), { t: n } = ea();
|
|
2238
|
-
return /* @__PURE__ */ ae(Me, { title: n("ai.preview"), children: /* @__PURE__ */ ae(Te, { onClick: e, $hoverColor: ht(t), children: /* @__PURE__ */ ae(Di, { fill: t.chart.textColor }) }) });
|
|
2239
|
-
};
|
|
2240
|
-
var Ui = at.div`
|
|
2241
|
-
display: flex;
|
|
2242
|
-
padding-top: 6px;
|
|
2243
|
-
padding-bottom: 6px;
|
|
2244
|
-
`;
|
|
2245
|
-
function Gi({
|
|
2246
|
-
infoTooltipText: e,
|
|
2247
|
-
onRefresh: t,
|
|
2248
|
-
onExpand: n
|
|
2249
|
-
}) {
|
|
2250
|
-
const r = import_react.useMemo(() => [
|
|
2251
|
-
{
|
|
2252
|
-
title: "Refresh",
|
|
2253
|
-
onClick: t,
|
|
2254
|
-
icon: /* @__PURE__ */ ae(zi, {})
|
|
2255
|
-
}
|
|
2256
|
-
], [t]);
|
|
2257
|
-
return /* @__PURE__ */ vi(Ui, { "aria-label": "chatbot chart toolbar", children: [
|
|
2258
|
-
/* @__PURE__ */ ae(Wi, { title: e != null ? e : "" }),
|
|
2259
|
-
/* @__PURE__ */ ae(Zi, { items: r }),
|
|
2260
|
-
/* @__PURE__ */ ae(ji, { onClick: n })
|
|
2261
|
-
] });
|
|
2262
|
-
}
|
|
2263
|
-
function Vi({ content: e }) {
|
|
2264
|
-
const [t, n] = import_react.useState(false), { themeSettings: r } = vt(), { inlineElement: s, expandedElement: c } = import_react.useMemo(() => {
|
|
2265
|
-
const a = Dt(e, { useCustomizedStyleOptions: true });
|
|
2266
|
-
if (a === undefined || !dn(a))
|
|
2267
|
-
throw new Lt("errors.otherWidgetTypesNotSupported");
|
|
2268
|
-
const { detailedDescription: p } = e, { styleOptions: d } = a, h = {
|
|
2269
|
-
cornerRadius: "Small",
|
|
2270
|
-
header: {
|
|
2271
|
-
renderToolbar: (i) => /* @__PURE__ */ ae(Gi, {
|
|
2272
|
-
infoTooltipText: p,
|
|
2273
|
-
onRefresh: i,
|
|
2274
|
-
onExpand: () => n(true)
|
|
2275
|
-
})
|
|
2276
|
-
}
|
|
2277
|
-
};
|
|
2278
|
-
let m, y2;
|
|
2279
|
-
if (Vp(a.chartType))
|
|
2280
|
-
m = /* @__PURE__ */ ae("div", { className: "csdk-h-[245px]", children: /* @__PURE__ */ ae(sCe, E(M({}, a), { styleOptions: h })) }), y2 = /* @__PURE__ */ ae(sCe, E(M({}, a), { styleOptions: { header: { hidden: true } } }));
|
|
2281
|
-
else {
|
|
2282
|
-
const i = E(M({}, d), {
|
|
2283
|
-
header: { hidden: true }
|
|
2284
|
-
}), u = M(E(M({}, d), {
|
|
2285
|
-
legend: undefined,
|
|
2286
|
-
xAxis: undefined,
|
|
2287
|
-
yAxis: undefined
|
|
2288
|
-
}), h);
|
|
2289
|
-
delete u.legend, delete u.xAxis, delete u.yAxis, m = /* @__PURE__ */ ae("div", { children: /* @__PURE__ */ ae(sCe, E(M({}, a), { styleOptions: u })) }), y2 = /* @__PURE__ */ ae(sCe, E(M({}, a), {
|
|
2290
|
-
styleOptions: M({ cornerRadius: "None" }, i)
|
|
2291
|
-
}));
|
|
2292
|
-
}
|
|
2293
|
-
return { inlineElement: m, expandedElement: y2 };
|
|
2294
|
-
}, [e]);
|
|
2295
|
-
return /* @__PURE__ */ vi(Bc, { children: [
|
|
2296
|
-
s,
|
|
2297
|
-
/* @__PURE__ */ vi(xn, {
|
|
2298
|
-
open: t,
|
|
2299
|
-
onClose: () => n(false),
|
|
2300
|
-
maxWidth: "xl",
|
|
2301
|
-
fullWidth: true,
|
|
2302
|
-
PaperProps: {
|
|
2303
|
-
sx: {
|
|
2304
|
-
backgroundColor: r.chart.backgroundColor,
|
|
2305
|
-
color: r.aiChat.primaryTextColor
|
|
2306
|
-
}
|
|
2307
|
-
},
|
|
2308
|
-
children: [
|
|
2309
|
-
/* @__PURE__ */ vi("div", { className: "csdk-flex csdk-items-center csdk-justify-between csdk-mt-[16px] csdk-mx-[16px] csdk-pl-[20px]", children: [
|
|
2310
|
-
/* @__PURE__ */ ae("div", { className: "csdk-text-ai-lg csdk-semibold", children: e.queryTitle }),
|
|
2311
|
-
/* @__PURE__ */ ae(os, { onClick: () => n(false), "aria-label": "close expanded chart", children: /* @__PURE__ */ ae(Ai, { fillColor: r.aiChat.primaryTextColor }) })
|
|
2312
|
-
] }),
|
|
2313
|
-
/* @__PURE__ */ ae("div", { className: "csdk-h-screen csdk-mt-[8px] csdk-mb-[24px] csdk-mx-[16px]", children: c })
|
|
2314
|
-
]
|
|
2315
|
-
})
|
|
2316
|
-
] });
|
|
2317
|
-
}
|
|
2318
|
-
function Qi({ theme: e }) {
|
|
2319
|
-
return /* @__PURE__ */ ae("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ ae("path", {
|
|
2320
|
-
fillRule: "evenodd",
|
|
2321
|
-
clipRule: "evenodd",
|
|
2322
|
-
d: "M18.5798 9.61098C18.8749 9.98744 19.0165 10.391 18.9985 10.8066C18.9804 11.2643 18.7757 11.6227 18.607 11.8426C18.8027 12.3305 18.878 13.0984 18.2245 13.6947C17.7456 14.1315 16.9325 14.3273 15.806 14.2732C15.014 14.237 14.3513 14.0893 14.3243 14.0833H14.3213C14.1708 14.0562 14.011 14.0231 13.8484 13.9869C13.8363 14.1797 13.8696 14.6585 14.2249 15.7367C14.6465 17.0196 14.6225 18.0016 14.1466 18.6581C13.6466 19.3478 12.8485 19.4019 12.6136 19.4019C12.3877 19.4019 12.1799 19.3086 12.0324 19.137C11.6981 18.7484 11.7373 18.0317 11.7793 17.7004C11.3818 16.6342 10.2676 14.02 9.32479 13.2943C9.30668 13.2822 9.2917 13.2671 9.27671 13.2521C8.99949 12.9599 8.81287 12.6437 8.68642 12.3667C8.50861 12.463 8.30687 12.5173 8.08995 12.5173H6.25291C5.56014 12.5173 5 11.954 5 11.2643L5 6.37029C5 5.67764 5.56323 5.11738 6.25291 5.11738H8.08995C8.35803 5.11738 8.60804 5.20179 8.81287 5.34635L9.52051 5.26191C9.62905 5.24692 11.5565 5.00297 13.5352 5.04209C13.8935 5.01502 14.2309 5 14.5441 5C15.0832 5 15.5531 5.04209 15.9445 5.12649C16.8661 5.32222 17.4957 5.71366 17.8148 6.28898C18.0588 6.72865 18.0588 7.16543 18.0197 7.44247C18.6191 7.98454 18.7244 8.58394 18.7033 9.00555C18.6913 9.2495 18.637 9.4573 18.5798 9.61098ZM6.25291 5.93058C6.00896 5.93058 5.81324 6.12939 5.81324 6.37029V11.2674C5.81324 11.5112 6.0119 11.7071 6.25291 11.7071H8.08995C8.33393 11.7071 8.52981 11.5083 8.52981 11.2674V6.37338C8.52981 6.12939 8.33096 5.93352 8.08995 5.93352H6.25291V5.93058ZM17.8088 9.96331C17.6823 9.83083 17.6582 9.6289 17.7547 9.47229C17.7547 9.46935 17.878 9.25849 17.8932 8.96937C17.9142 8.5748 17.7245 8.22555 17.327 7.92731C17.1854 7.81893 17.1282 7.63217 17.1885 7.46351C17.1885 7.46057 17.3179 7.06291 17.1072 6.68645C16.9052 6.32516 16.4566 6.06619 15.7759 5.92162C15.2309 5.80413 14.4899 5.78293 13.5805 5.85529H13.5383C11.6017 5.81309 9.64403 6.06619 9.62302 6.06912H9.61994L9.31583 6.1053C9.3339 6.18955 9.34286 6.27998 9.34286 6.37029V11.2674C9.34286 11.3968 9.32185 11.5233 9.28567 11.6408C9.33992 11.8425 9.49051 12.2914 9.84582 12.6739C11.1982 13.7461 12.5203 17.3631 12.5775 17.5197C12.6017 17.583 12.6075 17.6521 12.5956 17.7214C12.5443 18.0587 12.5624 18.4715 12.6347 18.5949C12.7943 18.5919 13.225 18.5467 13.484 18.1883C13.7912 17.7636 13.7791 17.0046 13.4478 15.9988C12.9419 14.4657 12.8997 13.6587 13.3003 13.3033C13.4991 13.1256 13.7641 13.1165 13.9569 13.1858C14.1406 13.228 14.3153 13.2641 14.4809 13.2912C14.4929 13.2943 14.508 13.2973 14.52 13.3003C15.4447 13.5021 17.1011 13.6255 17.6763 13.1015C18.1642 12.6558 17.8179 12.0655 17.7788 12.0022C17.6673 11.8336 17.7004 11.6137 17.851 11.4782C17.854 11.4752 18.1702 11.177 18.1852 10.7764C18.1973 10.5085 18.0708 10.2343 17.8088 9.96331Z",
|
|
2323
|
-
fill: e.aiChat.icons.color
|
|
2324
|
-
}) });
|
|
2325
|
-
}
|
|
2326
|
-
function _i({ onClick: e, disabled: t }) {
|
|
2327
|
-
const { themeSettings: n } = vt(), { t: r } = ea();
|
|
2328
|
-
return /* @__PURE__ */ ae(Me, { title: r("ai.buttons.incorrectResponse"), children: /* @__PURE__ */ ae(Te, {
|
|
2329
|
-
"aria-label": "thumbs-down",
|
|
2330
|
-
onClick: e,
|
|
2331
|
-
$hoverColor: n.aiChat.icons.feedbackIcons.hoverColor,
|
|
2332
|
-
disabled: t,
|
|
2333
|
-
children: /* @__PURE__ */ ae(Qi, { theme: n })
|
|
2334
|
-
}) });
|
|
2335
|
-
}
|
|
2336
|
-
function Ki({ theme: e }) {
|
|
2337
|
-
return /* @__PURE__ */ ae("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ ae("path", {
|
|
2338
|
-
fillRule: "evenodd",
|
|
2339
|
-
clipRule: "evenodd",
|
|
2340
|
-
d: "M18.5798 14.7911C18.8749 14.4146 19.0165 14.011 18.9985 13.5954C18.9804 13.1377 18.7757 12.7793 18.607 12.5595C18.8027 12.0715 18.878 11.3036 18.2245 10.7073C17.7456 10.2705 16.9325 10.0748 15.806 10.1289C15.014 10.1651 14.3513 10.3127 14.3243 10.3187H14.3213C14.1708 10.3458 14.011 10.3789 13.8484 10.4151C13.8363 10.2223 13.8696 9.74345 14.2248 8.66522C14.6465 7.38231 14.6225 6.40041 14.1466 5.74397C13.6466 5.05425 12.8485 5 12.6136 5C12.3877 5 12.1799 5.09336 12.0324 5.26499C11.6981 5.6535 11.7373 6.37026 11.7793 6.70158C11.3818 7.76777 10.2676 10.382 9.32479 11.1077C9.30668 11.1198 9.2917 11.1349 9.27671 11.1499C8.99949 11.4421 8.81287 11.7583 8.68642 12.0353C8.50861 11.939 8.30687 11.8848 8.08995 11.8848H6.25291C5.56014 11.8848 5 12.448 5 13.1377V18.0318C5 18.7244 5.56323 19.2847 6.25291 19.2847H8.08995C8.35803 19.2847 8.60804 19.2003 8.81287 19.0557L9.52051 19.1401C9.62905 19.1551 11.5565 19.3991 13.5352 19.36C13.8935 19.387 14.2309 19.402 14.5441 19.402C15.0832 19.402 15.5531 19.36 15.9445 19.2756C16.8661 19.0798 17.4957 18.6884 17.8148 18.1131C18.0588 17.6734 18.0588 17.2366 18.0197 16.9596C18.6191 16.4175 18.7244 15.8181 18.7033 15.3965C18.6913 15.1525 18.637 14.9447 18.5798 14.7911ZM6.25291 18.4715C6.00896 18.4715 5.81324 18.2727 5.81324 18.0318V13.1346C5.81324 12.8908 6.0119 12.6949 6.25291 12.6949H8.08995C8.33393 12.6949 8.52981 12.8937 8.52981 13.1346V18.0287C8.52981 18.2727 8.33096 18.4685 8.08995 18.4685H6.25291V18.4715ZM17.8088 14.4387C17.6823 14.5712 17.6582 14.7731 17.7547 14.9298C17.7547 14.9327 17.878 15.1436 17.8932 15.4327C17.9142 15.8272 17.7245 16.1765 17.327 16.4747C17.1854 16.5831 17.1282 16.7699 17.1885 16.9385C17.1885 16.9415 17.3179 17.3391 17.1072 17.7156C16.9052 18.0769 16.4566 18.3359 15.7759 18.4804C15.2309 18.5979 14.4898 18.6191 13.5805 18.5468H13.5383C11.6017 18.589 9.64403 18.3359 9.62302 18.3329H9.61994L9.31583 18.2967C9.3339 18.2125 9.34286 18.1221 9.34286 18.0318V13.1346C9.34286 13.0052 9.32185 12.8787 9.28567 12.7612C9.33992 12.5595 9.49051 12.1106 9.84582 11.7281C11.1981 10.6559 12.5203 7.03893 12.5775 6.88232C12.6016 6.81908 12.6075 6.74981 12.5956 6.68058C12.5443 6.34323 12.5624 5.93058 12.6347 5.80718C12.7943 5.81015 13.225 5.85529 13.484 6.21365C13.7912 6.63837 13.7791 7.39733 13.4478 8.40316C12.9419 9.93624 12.8997 10.7433 13.3003 11.0987C13.4991 11.2764 13.7641 11.2855 13.9569 11.2162C14.1406 11.174 14.3153 11.1378 14.4809 11.1108C14.4929 11.1077 14.508 11.1048 14.52 11.1017C15.4447 10.8999 17.1011 10.7765 17.6763 11.3005C18.1642 11.7462 17.8179 12.3365 17.7788 12.3998C17.6673 12.5684 17.7004 12.7883 17.851 12.9238C17.854 12.9268 18.1702 13.225 18.1852 13.6256C18.1973 13.8935 18.0708 14.1677 17.8088 14.4387Z",
|
|
2341
|
-
fill: e.aiChat.icons.color
|
|
2342
|
-
}) });
|
|
2343
|
-
}
|
|
2344
|
-
function Xi({ onClick: e, disabled: t }) {
|
|
2345
|
-
const { themeSettings: n } = vt(), { t: r } = ea();
|
|
2346
|
-
return /* @__PURE__ */ ae(Me, { title: r("ai.buttons.correctResponse"), children: /* @__PURE__ */ ae(Te, {
|
|
2347
|
-
"aria-label": "thumbs-up",
|
|
2348
|
-
onClick: e,
|
|
2349
|
-
$hoverColor: n.aiChat.icons.feedbackIcons.hoverColor,
|
|
2350
|
-
disabled: t,
|
|
2351
|
-
children: /* @__PURE__ */ ae(Ki, { theme: n })
|
|
2352
|
-
}) });
|
|
2353
|
-
}
|
|
2354
|
-
var Yi = () => {
|
|
2355
|
-
const [e, t] = import_react.useState(false), n = import_react.useRef(null), r = import_react.useCallback(() => {
|
|
2356
|
-
t(true);
|
|
2357
|
-
}, []), s = import_react.useCallback(() => {
|
|
2358
|
-
t(false);
|
|
2359
|
-
}, []);
|
|
2360
|
-
return [import_react.useCallback((a) => {
|
|
2361
|
-
var p;
|
|
2362
|
-
((p = n.current) == null ? undefined : p.nodeType) === Node.ELEMENT_NODE && (n.current.removeEventListener("mouseenter", r), n.current.removeEventListener("mouseleave", s)), (a == null ? undefined : a.nodeType) === Node.ELEMENT_NODE && (a.addEventListener("mouseenter", r), a.addEventListener("mouseleave", s)), n.current = a;
|
|
2363
|
-
}, [r, s]), e];
|
|
2364
|
-
};
|
|
2365
|
-
var Ji = at.div`
|
|
2366
|
-
display: flex;
|
|
2367
|
-
flex-direction: column;
|
|
2368
|
-
row-gap: ${({ theme: e }) => e.aiChat.body.gapBetweenMessages};
|
|
2369
|
-
`;
|
|
2370
|
-
function e1({ visible: e, onSend: t }) {
|
|
2371
|
-
const [n, r] = import_react.useState(false), s = import_react.useCallback((a) => {
|
|
2372
|
-
r(true), t(a === "up" ? 1 : -1);
|
|
2373
|
-
}, [t]), c = `csdk-transition-opacity csdk-delay-150 csdk-duration-500 ${n ? "csdk-opacity-0" : "csdk-opacity-100"}`;
|
|
2374
|
-
return e ? /* @__PURE__ */ vi("div", { className: `csdk-flex csdk-items-center ${c}`, children: [
|
|
2375
|
-
/* @__PURE__ */ ae(Xi, { onClick: () => s("up"), disabled: n }),
|
|
2376
|
-
/* @__PURE__ */ ae(_i, { onClick: () => s("down"), disabled: n })
|
|
2377
|
-
] }) : null;
|
|
2378
|
-
}
|
|
2379
|
-
function et({
|
|
2380
|
-
sourceId: e,
|
|
2381
|
-
data: t,
|
|
2382
|
-
type: n,
|
|
2383
|
-
buttonVisibility: r = "onHover",
|
|
2384
|
-
renderContent: s
|
|
2385
|
-
}) {
|
|
2386
|
-
const c = J(), a = nCe(import_react.useCallback((y2) => {
|
|
2387
|
-
c && c.ai.sendFeedback({
|
|
2388
|
-
sourceId: e,
|
|
2389
|
-
type: n,
|
|
2390
|
-
data: t,
|
|
2391
|
-
rating: y2
|
|
2392
|
-
});
|
|
2393
|
-
}, [c, e, t, n]), 200), [p, d] = Yi(), h = import_react.useMemo(() => r === "onHover" ? d : r !== "never", [d, r]), { themeSettings: m } = vt();
|
|
2394
|
-
return /* @__PURE__ */ ae(Ji, { ref: p, theme: m, children: s(/* @__PURE__ */ ae(e1, { onSend: a, visible: h })) });
|
|
2395
|
-
}
|
|
2396
|
-
var t1 = 18 * 5;
|
|
2397
|
-
function gt({ text: e }) {
|
|
2398
|
-
const [t, n] = import_react.useState(true), [r, s] = import_react.useState(false), { t: c } = ea(), a = import_react.useRef(null);
|
|
2399
|
-
return import_react.useLayoutEffect(() => {
|
|
2400
|
-
a.current && a.current.scrollHeight > t1 && s(true);
|
|
2401
|
-
}, [e]), /* @__PURE__ */ vi("div", { children: [
|
|
2402
|
-
/* @__PURE__ */ ae("div", { ref: a, className: `${t ? "csdk-line-clamp-5" : ""} csdk-whitespace-pre-wrap`, children: e }),
|
|
2403
|
-
r && /* @__PURE__ */ ae("div", { className: "csdk-mt-3 csdk-flex csdk-justify-end", children: /* @__PURE__ */ ae("div", {
|
|
2404
|
-
className: "csdk-text-ai-xs csdk-text-text-link csdk-cursor-pointer",
|
|
2405
|
-
onClick: () => n((p) => !p),
|
|
2406
|
-
children: c(t ? "ai.buttons.readMore" : "ai.buttons.collapse")
|
|
2407
|
-
}) })
|
|
2408
|
-
] });
|
|
2409
|
-
}
|
|
2410
|
-
function n1({ nlgRequest: e }) {
|
|
2411
|
-
const { data: t, isLoading: n, isError: r } = De2(e), { t: s } = ea();
|
|
2412
|
-
return n ? /* @__PURE__ */ ae(dt, {}) : r ? /* @__PURE__ */ ae(ae2, { align: "left", children: s("ai.errors.unexpected") }) : /* @__PURE__ */ ae(ae2, { align: "full", children: /* @__PURE__ */ ae(gt, { text: t != null ? t : s("ai.errors.insightsNotAvailable") }) });
|
|
2413
|
-
}
|
|
2414
|
-
var Et = at.div`
|
|
2415
|
-
display: flex;
|
|
2416
|
-
align-items: center;
|
|
2417
|
-
column-gap: 10px;
|
|
2418
|
-
`;
|
|
2419
|
-
var r1 = (e) => !!e && "aeiou".includes(e[0]);
|
|
2420
|
-
function o1({ data: e, alwaysShowFeedback: t }) {
|
|
2421
|
-
const { chatMode: n = "analyze", enableInsights: r } = ne(), { themeSettings: s } = vt(), { queryTitle: c, chartRecommendations: a, jaql: p, userMsg: d, clarification: h = "" } = e;
|
|
2422
|
-
console.debug(`JAQL for ${c}`, p), console.debug(`chart recommendations for ${c}`, a);
|
|
2423
|
-
const m = "chartType" in a ? a.chartType : "table";
|
|
2424
|
-
let y2;
|
|
2425
|
-
r1(m) ? y2 = `an ${m}` : y2 = `a ${m}`, m !== "table" && (y2 += " chart");
|
|
2426
|
-
const i = p.datasource.title, [u, l] = import_react.useState(false), f = import_react.useCallback(() => {
|
|
2427
|
-
l((k) => !k);
|
|
2428
|
-
}, []), g = {
|
|
2429
|
-
jaql: {
|
|
2430
|
-
datasource: p.datasource,
|
|
2431
|
-
metadata: p.metadata
|
|
2432
|
-
}
|
|
2433
|
-
}, x = n === "analyze", v = `${d}${d && h ? `
|
|
2434
|
-
` : ""}${h}`;
|
|
2435
|
-
return /* @__PURE__ */ vi(Bc, { children: [
|
|
2436
|
-
/* @__PURE__ */ ae(et, {
|
|
2437
|
-
sourceId: i,
|
|
2438
|
-
data: e,
|
|
2439
|
-
type: "chats/nlq",
|
|
2440
|
-
buttonVisibility: t ? "always" : "onHover",
|
|
2441
|
-
renderContent: (k) => /* @__PURE__ */ vi(Bc, { children: [
|
|
2442
|
-
/* @__PURE__ */ vi(Et, { children: [
|
|
2443
|
-
/* @__PURE__ */ ae(bn, { align: "left", theme: s, children: v || `Here's ${y2} showing ${Ri(c)}.` }),
|
|
2444
|
-
k
|
|
2445
|
-
] }),
|
|
2446
|
-
x && /* @__PURE__ */ ae(Vi, { content: e })
|
|
2447
|
-
] })
|
|
2448
|
-
}),
|
|
2449
|
-
r && /* @__PURE__ */ ae(et, {
|
|
2450
|
-
sourceId: i,
|
|
2451
|
-
data: g,
|
|
2452
|
-
type: "nlg/queryResult",
|
|
2453
|
-
buttonVisibility: u ? "onHover" : "never",
|
|
2454
|
-
renderContent: (k) => /* @__PURE__ */ vi(Bc, { children: [
|
|
2455
|
-
/* @__PURE__ */ vi(Et, { children: [
|
|
2456
|
-
/* @__PURE__ */ ae(Li, { onClick: f }),
|
|
2457
|
-
k
|
|
2458
|
-
] }),
|
|
2459
|
-
u && /* @__PURE__ */ ae(n1, { nlgRequest: g })
|
|
2460
|
-
] })
|
|
2461
|
-
})
|
|
2462
|
-
] });
|
|
2463
|
-
}
|
|
2464
|
-
function i1({ message: e, isLastMessage: t }) {
|
|
2465
|
-
if (ct(e)) {
|
|
2466
|
-
const r = JSON.parse(e.content);
|
|
2467
|
-
return /* @__PURE__ */ ae(o1, { data: r, alwaysShowFeedback: t });
|
|
2468
|
-
}
|
|
2469
|
-
const n = Hr(e) ? JSON.parse(e.content).answer : e.content;
|
|
2470
|
-
return /* @__PURE__ */ ae(ae2, { align: e.role === "user" ? "right" : "left", children: n });
|
|
2471
|
-
}
|
|
2472
|
-
var s1 = import_react.memo(i1);
|
|
2473
|
-
var a1 = ({
|
|
2474
|
-
error: e,
|
|
2475
|
-
displayMessage: t
|
|
2476
|
-
}) => (console.debug("Unexpected error occurred when resolving a chat message:", e), /* @__PURE__ */ ae(ae2, { align: "left", children: t }));
|
|
2477
|
-
function l1({ messages: e }) {
|
|
2478
|
-
const { t } = ea();
|
|
2479
|
-
return /* @__PURE__ */ ae(Bc, { children: e.map((n, r) => /* @__PURE__ */ ae(Uw, {
|
|
2480
|
-
fallbackRender: (s) => a1(E(M({}, s), {
|
|
2481
|
-
displayMessage: t("ai.errors.unexpected")
|
|
2482
|
-
})),
|
|
2483
|
-
children: /* @__PURE__ */ ae(s1, { message: n, isLastMessage: r === e.length - 1 }, r)
|
|
2484
|
-
}, r)) });
|
|
2485
|
-
}
|
|
2486
|
-
function kn({ color: e }) {
|
|
2487
|
-
return /* @__PURE__ */ ae("svg", {
|
|
2488
|
-
width: "100%",
|
|
2489
|
-
height: "100%",
|
|
2490
|
-
viewBox: "0 0 4 8",
|
|
2491
|
-
fill: "none",
|
|
2492
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2493
|
-
children: /* @__PURE__ */ ae("path", {
|
|
2494
|
-
d: "M3.87815 0.825307C4.05781 0.615598 4.03345 0.299954 3.82374 0.120297C3.61403 -0.05936 3.29838 -0.034998 3.11873 0.174711L0.120288 3.67471C-0.040096 3.86192 -0.040096 4.1381 0.120288 4.32531L3.11873 7.82531C3.29838 8.03502 3.61403 8.05938 3.82374 7.87972C4.03345 7.70006 4.05781 7.38442 3.87815 7.17471L1.15839 4.00001L3.87815 0.825307Z",
|
|
2495
|
-
fill: e
|
|
2496
|
-
})
|
|
2497
|
-
});
|
|
2498
|
-
}
|
|
2499
|
-
function c1({ onClick: e, color: t }) {
|
|
2500
|
-
return /* @__PURE__ */ ae("div", {
|
|
2501
|
-
"aria-label": "go back",
|
|
2502
|
-
className: "csdk-w-5 csdk-h-5 csdk-flex csdk-p-[4px] csdk-ml-[6px] csdk-cursor-pointer",
|
|
2503
|
-
onClick: e,
|
|
2504
|
-
children: /* @__PURE__ */ ae(kn, { color: t })
|
|
2505
|
-
});
|
|
2506
|
-
}
|
|
2507
|
-
function d1() {
|
|
2508
|
-
const { themeSettings: e } = vt();
|
|
2509
|
-
return /* @__PURE__ */ ae("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ ae("path", {
|
|
2510
|
-
fillRule: "evenodd",
|
|
2511
|
-
clipRule: "evenodd",
|
|
2512
|
-
d: "M15.1747 9.1203L12 11.8401L8.82529 9.1203C8.61558 8.94064 8.29994 8.965 8.12028 9.17471C7.94062 9.38442 7.96498 9.70006 8.17469 9.87972L11.6747 12.8782C11.8619 13.0385 12.1381 13.0385 12.3253 12.8782L15.8253 9.87972C16.035 9.70006 16.0594 9.38442 15.8797 9.17471C15.7 8.965 15.3844 8.94064 15.1747 9.1203ZM15.8797 12.1731C15.7 11.9634 15.3844 11.9391 15.1747 12.1187L12 14.8385L8.82529 12.1187C8.61558 11.9391 8.29994 11.9634 8.12028 12.1731C7.94062 12.3829 7.96498 12.6985 8.17469 12.8782L11.6747 15.8766C11.8619 16.037 12.1381 16.037 12.3253 15.8766L15.8253 12.8782C16.035 12.6985 16.0594 12.3829 15.8797 12.1731Z",
|
|
2513
|
-
fill: e.aiChat.primaryTextColor
|
|
2514
|
-
}) });
|
|
2515
|
-
}
|
|
2516
|
-
var u1 = (e, t) => {
|
|
2517
|
-
const n = new te(e);
|
|
2518
|
-
return n.alpha = t, n;
|
|
2519
|
-
};
|
|
2520
|
-
var p1 = at.div`
|
|
2521
|
-
font-size: inherit;
|
|
2522
|
-
line-height: inherit;
|
|
2523
|
-
padding-left: 8px;
|
|
2524
|
-
padding-right: 8px;
|
|
2525
|
-
padding-top: 4px;
|
|
2526
|
-
border-radius: 16px;
|
|
2527
|
-
margin-bottom: 4px;
|
|
2528
|
-
box-shadow: ${({ theme: e }) => `0 4px 8px 0 ${u1(e.aiChat.primaryTextColor, 0.2)}`};
|
|
2529
|
-
cursor: pointer;
|
|
2530
|
-
color: ${({ theme: e }) => e.aiChat.clickableMessages.textColor};
|
|
2531
|
-
background-color: ${({ theme: e }) => e.aiChat.clickableMessages.backgroundColor};
|
|
2532
|
-
|
|
2533
|
-
&:hover {
|
|
2534
|
-
color: ${({ theme: e }) => e.aiChat.clickableMessages.hover.textColor};
|
|
2535
|
-
background-color: ${({ theme: e }) => e.aiChat.clickableMessages.hover.backgroundColor};
|
|
2536
|
-
box-shadow: none;
|
|
2537
|
-
`;
|
|
2538
|
-
var h1 = ({ onClick: e }) => {
|
|
2539
|
-
const { themeSettings: t } = vt();
|
|
2540
|
-
return /* @__PURE__ */ ae(p1, { theme: t, onClick: e, children: /* @__PURE__ */ ae(d1, {}) });
|
|
2541
|
-
};
|
|
2542
|
-
var g1 = ({ isVisible: e, onClick: t, anchorElement: n }) => /* @__PURE__ */ ae(wh, { anchorEl: n, open: e, placement: "top", sx: { zIndex: 2 }, children: /* @__PURE__ */ ae(h1, { onClick: t }) });
|
|
2543
|
-
var f1 = at.button`
|
|
2544
|
-
font-size: inherit;
|
|
2545
|
-
line-height: inherit;
|
|
2546
|
-
box-sizing: border-box;
|
|
2547
|
-
border-width: 1px;
|
|
2548
|
-
padding-left: 1rem;
|
|
2549
|
-
padding-right: 1rem;
|
|
2550
|
-
padding-top: 0.5rem;
|
|
2551
|
-
padding-bottom: 0.5rem;
|
|
2552
|
-
cursor: pointer;
|
|
2553
|
-
text-align: left;
|
|
2554
|
-
max-width: 85%;
|
|
2555
|
-
|
|
2556
|
-
font-family: ${({ theme: e }) => e.typography.fontFamily};
|
|
2557
|
-
color: ${({ theme: e }) => e.aiChat.suggestions.textColor};
|
|
2558
|
-
background-color: ${({ theme: e }) => e.aiChat.suggestions.backgroundColor};
|
|
2559
|
-
border: ${({ theme: e }) => e.aiChat.suggestions.border};
|
|
2560
|
-
border-radius: ${({ theme: e }) => e.aiChat.suggestions.borderRadius};
|
|
2561
|
-
&:hover {
|
|
2562
|
-
background-color: ${({ theme: e }) => e.aiChat.suggestions.hover.backgroundColor};
|
|
2563
|
-
color: ${({ theme: e }) => e.aiChat.suggestions.hover.textColor};
|
|
2564
|
-
}
|
|
2565
|
-
|
|
2566
|
-
${({ theme: e }) => {
|
|
2567
|
-
const { borderGradient: t, borderRadius: n } = e.aiChat.suggestions;
|
|
2568
|
-
if (t) {
|
|
2569
|
-
const [r, s] = t;
|
|
2570
|
-
return Ag`
|
|
2571
|
-
border: none;
|
|
2572
|
-
position: relative;
|
|
2573
|
-
border-radius: ${n};
|
|
2574
|
-
&:before {
|
|
2575
|
-
content: '';
|
|
2576
|
-
position: absolute;
|
|
2577
|
-
top: 0;
|
|
2578
|
-
left: 0;
|
|
2579
|
-
right: 0;
|
|
2580
|
-
bottom: 0;
|
|
2581
|
-
border-radius: ${n};
|
|
2582
|
-
border: 1px solid transparent;
|
|
2583
|
-
background: linear-gradient(30deg, ${r}, ${s}) border-box;
|
|
2584
|
-
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
|
|
2585
|
-
-webkit-mask-composite: destination-out;
|
|
2586
|
-
mask-composite: exclude;
|
|
2587
|
-
}
|
|
2588
|
-
`;
|
|
2589
|
-
}
|
|
2590
|
-
return "";
|
|
2591
|
-
}}
|
|
2592
|
-
`;
|
|
2593
|
-
function Lt2({ question: e, onClick: t }) {
|
|
2594
|
-
const { themeSettings: n } = vt();
|
|
2595
|
-
return /* @__PURE__ */ ae(f1, { onClick: t, theme: n, children: e });
|
|
2596
|
-
}
|
|
2597
|
-
var C1 = at.div`
|
|
2598
|
-
display: flex;
|
|
2599
|
-
flex-direction: column;
|
|
2600
|
-
align-items: flex-start;
|
|
2601
|
-
row-gap: ${({ theme: e }) => e.aiChat.suggestions.gap};
|
|
2602
|
-
`;
|
|
2603
|
-
function m1({ questions: e, onSelection: t }) {
|
|
2604
|
-
const { t: n } = ea(), [r, s] = import_react.useState(true), c = import_react.useMemo(() => r && e.length > 5 ? e.slice(0, 4) : e, [e, r]), { themeSettings: a } = vt();
|
|
2605
|
-
return /* @__PURE__ */ vi(C1, { "aria-label": "list of suggested questions", theme: a, children: [
|
|
2606
|
-
c.map((p) => /* @__PURE__ */ ae(Lt2, { question: p, onClick: () => t(p) }, p)),
|
|
2607
|
-
c.length < e.length && /* @__PURE__ */ ae(Lt2, { question: n("ai.buttons.seeMore"), onClick: () => s(false) })
|
|
2608
|
-
] });
|
|
2609
|
-
}
|
|
2610
|
-
var b1 = at.div`
|
|
2611
|
-
width: 283px;
|
|
2612
|
-
height: 32px;
|
|
2613
|
-
border-radius: 10px;
|
|
2614
|
-
background: ${({ theme: e }) => {
|
|
2615
|
-
const [t, n] = e.aiChat.suggestions.loadingGradient;
|
|
2616
|
-
return `linear-gradient(
|
|
2617
|
-
to right,
|
|
2618
|
-
${t} 0%,
|
|
2619
|
-
${n} 50%,
|
|
2620
|
-
${t} 100%
|
|
2621
|
-
)`;
|
|
2622
|
-
}};
|
|
2623
|
-
background-size: 200% auto;
|
|
2624
|
-
animation: gradient 2s linear infinite;
|
|
2625
|
-
|
|
2626
|
-
@keyframes gradient {
|
|
2627
|
-
0% {
|
|
2628
|
-
background-position: 0 0;
|
|
2629
|
-
}
|
|
2630
|
-
100% {
|
|
2631
|
-
background-position: -200% 0;
|
|
2632
|
-
}
|
|
2633
|
-
}
|
|
2634
|
-
`;
|
|
2635
|
-
var y1 = at.div`
|
|
2636
|
-
display: flex;
|
|
2637
|
-
flex-direction: column;
|
|
2638
|
-
row-gap: 1rem;
|
|
2639
|
-
`;
|
|
2640
|
-
function x1() {
|
|
2641
|
-
const { themeSettings: e } = vt();
|
|
2642
|
-
return /* @__PURE__ */ ae(y1, { children: Array.from({ length: 3 }, (t, n) => /* @__PURE__ */ ae(b1, { theme: e }, n)) });
|
|
2643
|
-
}
|
|
2644
|
-
function v1({ questions: e, isLoading: t, onSelection: n }) {
|
|
2645
|
-
const r = e.length > 0, { suggestionsWelcomeText: s } = ne();
|
|
2646
|
-
return t ? /* @__PURE__ */ ae(x1, {}) : r ? /* @__PURE__ */ vi(Bc, { children: [
|
|
2647
|
-
s && /* @__PURE__ */ ae(ae2, { align: "left", children: s }),
|
|
2648
|
-
/* @__PURE__ */ ae(m1, { onSelection: n, questions: e })
|
|
2649
|
-
] }) : null;
|
|
2650
|
-
}
|
|
2651
|
-
var k1 = at.div`
|
|
2652
|
-
display: flex;
|
|
2653
|
-
flex-direction: column;
|
|
2654
|
-
row-gap: ${({ theme: e }) => e.aiChat.body.gapBetweenMessages};
|
|
2655
|
-
overflow-y: scroll;
|
|
2656
|
-
padding-left: ${({ theme: e }) => e.aiChat.body.paddingLeft};
|
|
2657
|
-
padding-right: ${({ theme: e }) => e.aiChat.body.paddingRight};
|
|
2658
|
-
padding-top: ${({ theme: e }) => e.aiChat.body.paddingTop};
|
|
2659
|
-
padding-bottom: ${({ theme: e }) => e.aiChat.body.paddingBottom};
|
|
2660
|
-
flex: initial;
|
|
2661
|
-
height: 100%;
|
|
2662
|
-
`;
|
|
2663
|
-
var w1 = at.div`
|
|
2664
|
-
padding-left: ${({ theme: e }) => e.aiChat.footer.paddingLeft};
|
|
2665
|
-
padding-right: ${({ theme: e }) => e.aiChat.footer.paddingRight};
|
|
2666
|
-
padding-top: ${({ theme: e }) => e.aiChat.footer.paddingTop};
|
|
2667
|
-
padding-bottom: ${({ theme: e }) => e.aiChat.footer.paddingBottom};
|
|
2668
|
-
display: flex;
|
|
2669
|
-
flex-direction: column;
|
|
2670
|
-
row-gap: 6px;
|
|
2671
|
-
`;
|
|
2672
|
-
var S1 = at.div`
|
|
2673
|
-
display: flex;
|
|
2674
|
-
flex-direction: column;
|
|
2675
|
-
row-gap: ${({ theme: e }) => e.aiChat.suggestions.gap};
|
|
2676
|
-
`;
|
|
2677
|
-
function M1({ contextTitle: e, onGoBack: t, contextDetails: n }) {
|
|
2678
|
-
var de, oe, $e2, Re;
|
|
2679
|
-
const { t: r } = ea(), {
|
|
2680
|
-
enableFollowupQuestions: s,
|
|
2681
|
-
enableHeader: c,
|
|
2682
|
-
numOfRecentPrompts: a,
|
|
2683
|
-
numOfRecommendations: p,
|
|
2684
|
-
customPrompt: d
|
|
2685
|
-
} = ne(), { themeSettings: h } = vt(), { quotaState: m } = dxe(), {
|
|
2686
|
-
data: y2,
|
|
2687
|
-
isLoading: i,
|
|
2688
|
-
isError: u
|
|
2689
|
-
} = Vt({
|
|
2690
|
-
contextTitle: e,
|
|
2691
|
-
count: p,
|
|
2692
|
-
customPrompt: d
|
|
2693
|
-
}), l = import_react.useMemo(() => y2 == null ? undefined : y2.map((B) => B.nlqPrompt), [y2]), {
|
|
2694
|
-
history: f,
|
|
2695
|
-
lastNlqResponse: g,
|
|
2696
|
-
isAwaitingResponse: x,
|
|
2697
|
-
sendMessage: v,
|
|
2698
|
-
isLoading: k,
|
|
2699
|
-
chatId: L,
|
|
2700
|
-
lastError: $
|
|
2701
|
-
} = Dr(e, n), T = x || k || ((de = m == null ? undefined : m.isExceeded) != null ? de : false), { mutate: N, isLoading: F } = Kt(L), [le, Q] = import_react.useState(false), [Z, _] = import_react.useState(false), K = () => Q(true), D = () => Q(false), ee = () => {
|
|
2702
|
-
N(), D();
|
|
2703
|
-
}, O = import_react.useRef(null), U = import_react.useRef(null), W = () => {
|
|
2704
|
-
if (!(O != null && O.current))
|
|
2705
|
-
return;
|
|
2706
|
-
const { scrollTop: B, clientHeight: X, scrollHeight: Ee } = O.current;
|
|
2707
|
-
if (B === undefined || X === undefined || Ee === undefined)
|
|
2708
|
-
return;
|
|
2709
|
-
const Le = Ee - B - X > X / 2;
|
|
2710
|
-
Z !== Le && _(Le);
|
|
2711
|
-
};
|
|
2712
|
-
import_react.useLayoutEffect(() => {
|
|
2713
|
-
O.current && (O.current.scrollTop = O.current.scrollHeight);
|
|
2714
|
-
}, [f, le, x]);
|
|
2715
|
-
const G = import_react.useRef(null), re = c ? /* @__PURE__ */ ae(Jt, {
|
|
2716
|
-
ref: G,
|
|
2717
|
-
title: e,
|
|
2718
|
-
leftNav: t && /* @__PURE__ */ ae(c1, { onClick: t, color: h.aiChat.header.textColor }),
|
|
2719
|
-
style: h.aiChat.header
|
|
2720
|
-
}) : null, Ce = import_react.useMemo(() => [
|
|
2721
|
-
...new Set(f.filter((B) => B.role === "user").filter((B) => !(l != null && l.includes(B.content))).map((B) => B.content).reverse())
|
|
2722
|
-
].slice(0, a), [f, a, l]);
|
|
2723
|
-
return ($ == null ? undefined : $.message) === r("ai.errors.chatUnavailable") ? /* @__PURE__ */ vi(Bc, { children: [
|
|
2724
|
-
c && re,
|
|
2725
|
-
/* @__PURE__ */ ae(Yt, { text: $.message })
|
|
2726
|
-
] }) : /* @__PURE__ */ vi(Bc, { children: [
|
|
2727
|
-
re,
|
|
2728
|
-
/* @__PURE__ */ ae(hCe, {}),
|
|
2729
|
-
/* @__PURE__ */ vi(k1, { ref: O, theme: h, onScroll: W, children: [
|
|
2730
|
-
/* @__PURE__ */ ae(g1, {
|
|
2731
|
-
isVisible: Z,
|
|
2732
|
-
anchorElement: U.current,
|
|
2733
|
-
onClick: () => {
|
|
2734
|
-
var B, X;
|
|
2735
|
-
(X = O.current) == null || X.scroll({
|
|
2736
|
-
top: (B = O.current) == null ? undefined : B.scrollHeight,
|
|
2737
|
-
behavior: "smooth"
|
|
2738
|
-
});
|
|
2739
|
-
}
|
|
2740
|
-
}),
|
|
2741
|
-
/* @__PURE__ */ ae(Si, {}),
|
|
2742
|
-
/* @__PURE__ */ ae(v1, {
|
|
2743
|
-
questions: l || [],
|
|
2744
|
-
isLoading: i,
|
|
2745
|
-
onSelection: v
|
|
2746
|
-
}),
|
|
2747
|
-
$ && /* @__PURE__ */ ae(ae2, { align: "left", children: $.message }),
|
|
2748
|
-
k ? /* @__PURE__ */ ae(qe, {}) : /* @__PURE__ */ ae(l1, { messages: f }),
|
|
2749
|
-
s && g && (($e2 = (oe = g.followupQuestions) == null ? undefined : oe.length) != null ? $e2 : 0) > 0 && /* @__PURE__ */ ae(S1, { theme: h, children: (Re = g.followupQuestions) == null ? undefined : Re.slice(0, 2).map((B, X) => /* @__PURE__ */ ae(Fe, {
|
|
2750
|
-
align: "left",
|
|
2751
|
-
onClick: () => {
|
|
2752
|
-
v(B);
|
|
2753
|
-
},
|
|
2754
|
-
children: /* @__PURE__ */ ae("div", { className: "csdk-py-[7px] csdk-px-4", children: B })
|
|
2755
|
-
}, X)) }),
|
|
2756
|
-
(x || F) && /* @__PURE__ */ ae(dt, {}),
|
|
2757
|
-
le && /* @__PURE__ */ ae($i, {
|
|
2758
|
-
onCancel: D,
|
|
2759
|
-
onConfirm: ee
|
|
2760
|
-
})
|
|
2761
|
-
] }),
|
|
2762
|
-
/* @__PURE__ */ vi(w1, { ref: U, theme: h, children: [
|
|
2763
|
-
/* @__PURE__ */ ae(co, {
|
|
2764
|
-
onSendMessage: v,
|
|
2765
|
-
disabled: T,
|
|
2766
|
-
onClearHistoryClick: K,
|
|
2767
|
-
suggestions: l || [],
|
|
2768
|
-
recentPrompts: Ce,
|
|
2769
|
-
isLoading: i || k,
|
|
2770
|
-
recommendationsError: u,
|
|
2771
|
-
onChange: D
|
|
2772
|
-
}),
|
|
2773
|
-
/* @__PURE__ */ ae(Vr, { theme: h })
|
|
2774
|
-
] })
|
|
2775
|
-
] });
|
|
2776
|
-
}
|
|
2777
|
-
var T1 = at.button`
|
|
2778
|
-
font-family: ${({ theme: e }) => e.typography.fontFamily};
|
|
2779
|
-
padding: 20px;
|
|
2780
|
-
border: none;
|
|
2781
|
-
display: flex;
|
|
2782
|
-
align-items: center;
|
|
2783
|
-
justify-content: space-between;
|
|
2784
|
-
text-align: left;
|
|
2785
|
-
border-radius: 15px;
|
|
2786
|
-
box-shadow: 0px 1px 2px rgba(9, 9, 10, 0.1), 0px 2px 4px rgba(9, 9, 10, 0.1);
|
|
2787
|
-
cursor: pointer;
|
|
2788
|
-
|
|
2789
|
-
background-color: ${({ theme: e }) => e.aiChat.dataTopics.items.backgroundColor};
|
|
2790
|
-
`;
|
|
2791
|
-
var $1 = at.div`
|
|
2792
|
-
font-size: 1.05rem;
|
|
2793
|
-
line-height: 28px;
|
|
2794
|
-
|
|
2795
|
-
color: ${({ theme: e }) => e.aiChat.dataTopics.items.textColor};
|
|
2796
|
-
`;
|
|
2797
|
-
var R1 = at.div`
|
|
2798
|
-
font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
|
|
2799
|
-
line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
|
|
2800
|
-
|
|
2801
|
-
color: ${({ theme: e }) => q0(e.aiChat.dataTopics.items.textColor, 0, 0.5)};
|
|
2802
|
-
`;
|
|
2803
|
-
var E1 = at.div`
|
|
2804
|
-
width: 16px;
|
|
2805
|
-
height: 16px;
|
|
2806
|
-
transform: rotate(180deg);
|
|
2807
|
-
`;
|
|
2808
|
-
function L1(e) {
|
|
2809
|
-
const { title: t, description: n, onClick: r } = e, { themeSettings: s } = vt();
|
|
2810
|
-
return /* @__PURE__ */ vi(T1, { onClick: r, theme: s, children: [
|
|
2811
|
-
/* @__PURE__ */ vi("div", { children: [
|
|
2812
|
-
/* @__PURE__ */ ae($1, { theme: s, children: t }),
|
|
2813
|
-
/* @__PURE__ */ ae(R1, { theme: s, children: n })
|
|
2814
|
-
] }),
|
|
2815
|
-
/* @__PURE__ */ ae(E1, { children: /* @__PURE__ */ ae(kn, { color: s.aiChat.icons.color }) })
|
|
2816
|
-
] });
|
|
2817
|
-
}
|
|
2818
|
-
var N1 = at.div`
|
|
2819
|
-
padding: 20px;
|
|
2820
|
-
display: flex;
|
|
2821
|
-
flex-direction: column;
|
|
2822
|
-
gap: 20px;
|
|
2823
|
-
overflow: auto;
|
|
2824
|
-
`;
|
|
2825
|
-
var I1 = at.div`
|
|
2826
|
-
font-size: 24px;
|
|
2827
|
-
line-height: 32px;
|
|
2828
|
-
font-weight: 600;
|
|
2829
|
-
text-align: center;
|
|
2830
|
-
padding-bottom: 4px;
|
|
2831
|
-
|
|
2832
|
-
color: ${({ theme: e }) => e.aiChat.primaryTextColor};
|
|
2833
|
-
`;
|
|
2834
|
-
var P1 = at.div`
|
|
2835
|
-
font-size: 15px;
|
|
2836
|
-
line-height: 22px;
|
|
2837
|
-
|
|
2838
|
-
color: ${({ theme: e }) => e.aiChat.primaryTextColor};
|
|
2839
|
-
`;
|
|
2840
|
-
function O1(e) {
|
|
2841
|
-
const { dataTopics: t } = e, { themeSettings: n } = vt(), { t: r } = ea();
|
|
2842
|
-
return /* @__PURE__ */ vi(N1, { children: [
|
|
2843
|
-
/* @__PURE__ */ ae(I1, { theme: n, children: r("ai.dataTopics") }),
|
|
2844
|
-
/* @__PURE__ */ vi(P1, { theme: n, children: [
|
|
2845
|
-
r("ai.chatbotDescription"),
|
|
2846
|
-
/* @__PURE__ */ ae("br", {}),
|
|
2847
|
-
/* @__PURE__ */ ae("br", {}),
|
|
2848
|
-
r("ai.topicSelectPrompt")
|
|
2849
|
-
] }),
|
|
2850
|
-
t.map((s) => /* @__PURE__ */ rb(L1, E(M({}, s), { key: s.title })))
|
|
2851
|
-
] });
|
|
2852
|
-
}
|
|
2853
|
-
var B1 = "#000000";
|
|
2854
|
-
var F1 = "#FFFFFF";
|
|
2855
|
-
function A1({ isDarkBackground: e = false }) {
|
|
2856
|
-
const t = e ? F1 : B1;
|
|
2857
|
-
return /* @__PURE__ */ vi("svg", {
|
|
2858
|
-
width: "32",
|
|
2859
|
-
height: "32",
|
|
2860
|
-
viewBox: "0 0 500 504",
|
|
2861
|
-
fill: "none",
|
|
2862
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2863
|
-
children: [
|
|
2864
|
-
/* @__PURE__ */ ae("path", {
|
|
2865
|
-
d: "M365.111 69.5654C350.571 69.5654 338.747 81.3237 338.747 95.7826C338.747 110.241 350.571 122 365.111 122C379.651 122 391.476 110.241 391.476 95.7826C391.476 81.3237 379.651 69.5654 365.111 69.5654Z",
|
|
2866
|
-
fill: t
|
|
2867
|
-
}),
|
|
2868
|
-
/* @__PURE__ */ ae("path", {
|
|
2869
|
-
d: "M135.365 147.679C120.824 147.679 109 159.437 109 173.896C109 188.355 120.824 200.113 135.365 200.113C149.905 200.113 161.715 188.355 161.715 173.896C161.715 159.437 149.891 147.679 135.365 147.679Z",
|
|
2870
|
-
fill: t
|
|
2871
|
-
}),
|
|
2872
|
-
/* @__PURE__ */ ae("path", {
|
|
2873
|
-
d: "M135.365 225.789C120.824 225.789 109 237.547 109 252.006C109 266.465 120.824 278.21 135.365 278.21C149.905 278.21 161.715 266.451 161.715 252.006C161.715 237.561 149.891 225.789 135.365 225.789Z",
|
|
2874
|
-
fill: t
|
|
2875
|
-
}),
|
|
2876
|
-
/* @__PURE__ */ ae("path", {
|
|
2877
|
-
d: "M364.401 225.789C349.861 225.789 338.037 237.547 338.037 252.006C338.037 266.465 349.861 278.21 364.401 278.21C378.941 278.21 390.766 266.451 390.766 252.006C390.766 237.561 378.941 225.789 364.401 225.789Z",
|
|
2878
|
-
fill: t
|
|
2879
|
-
}),
|
|
2880
|
-
/* @__PURE__ */ ae("path", {
|
|
2881
|
-
d: "M365.111 303.899C350.571 303.899 338.747 315.658 338.747 330.117C338.747 344.575 350.571 356.334 365.111 356.334C379.651 356.334 391.476 344.575 391.476 330.117C391.476 315.658 379.651 303.899 365.111 303.899Z",
|
|
2882
|
-
fill: t
|
|
2883
|
-
}),
|
|
2884
|
-
/* @__PURE__ */ ae("path", {
|
|
2885
|
-
d: "M135.365 382.013C120.824 382.013 109 393.771 109 408.23C109 422.689 120.824 434.447 135.365 434.447C149.905 434.447 161.715 422.689 161.715 408.23C161.715 393.771 149.891 382.013 135.365 382.013Z",
|
|
2886
|
-
fill: t
|
|
2887
|
-
}),
|
|
2888
|
-
/* @__PURE__ */ ae("path", {
|
|
2889
|
-
d: "M289.516 142.11C271.898 142.11 257.567 156.362 257.567 173.895C257.567 191.429 271.898 205.666 289.516 205.666C307.135 205.666 321.466 191.415 321.466 173.895C321.466 156.375 307.135 142.11 289.516 142.11Z",
|
|
2890
|
-
fill: t
|
|
2891
|
-
}),
|
|
2892
|
-
/* @__PURE__ */ ae("path", {
|
|
2893
|
-
d: "M210.96 142.11C193.342 142.11 179.01 156.362 179.01 173.895C179.01 191.429 193.342 205.666 210.96 205.666C228.578 205.666 242.909 191.415 242.909 173.895C242.909 156.375 228.578 142.11 210.96 142.11Z",
|
|
2894
|
-
fill: t
|
|
2895
|
-
}),
|
|
2896
|
-
/* @__PURE__ */ ae("path", {
|
|
2897
|
-
d: "M289.516 220.224C271.898 220.224 257.567 234.475 257.567 252.008C257.567 269.542 271.898 283.779 289.516 283.779C307.135 283.779 321.466 269.528 321.466 252.008C321.466 234.489 307.135 220.224 289.516 220.224Z",
|
|
2898
|
-
fill: t
|
|
2899
|
-
}),
|
|
2900
|
-
/* @__PURE__ */ ae("path", {
|
|
2901
|
-
d: "M210.96 220.224C193.342 220.224 179.01 234.475 179.01 252.008C179.01 269.542 193.342 283.779 210.96 283.779C228.578 283.779 242.909 269.528 242.909 252.008C242.909 234.489 228.578 220.224 210.96 220.224Z",
|
|
2902
|
-
fill: t
|
|
2903
|
-
}),
|
|
2904
|
-
/* @__PURE__ */ ae("path", {
|
|
2905
|
-
d: "M289.516 298.334C271.898 298.334 257.567 312.585 257.567 330.105C257.567 347.624 271.898 361.889 289.516 361.889C307.135 361.889 321.466 347.638 321.466 330.105C321.466 312.571 307.135 298.334 289.516 298.334Z",
|
|
2906
|
-
fill: t
|
|
2907
|
-
}),
|
|
2908
|
-
/* @__PURE__ */ ae("path", {
|
|
2909
|
-
d: "M210.96 298.334C193.342 298.334 179.01 312.585 179.01 330.105C179.01 347.624 193.342 361.889 210.96 361.889C228.578 361.889 242.909 347.638 242.909 330.105C242.909 312.571 228.578 298.334 210.96 298.334Z",
|
|
2910
|
-
fill: t
|
|
2911
|
-
}),
|
|
2912
|
-
/* @__PURE__ */ ae("path", {
|
|
2913
|
-
d: "M289.516 64C271.898 64 257.567 78.2512 257.567 95.7847C257.567 113.318 271.898 127.555 289.516 127.555C307.135 127.555 321.466 113.304 321.466 95.7847C321.466 78.265 307.135 64 289.516 64Z",
|
|
2914
|
-
fill: t
|
|
2915
|
-
}),
|
|
2916
|
-
/* @__PURE__ */ ae("path", {
|
|
2917
|
-
d: "M210.96 64C193.342 64 179.01 78.2512 179.01 95.7847C179.01 113.318 193.342 127.555 210.96 127.555C228.578 127.555 242.909 113.304 242.909 95.7847C242.909 78.265 228.578 64 210.96 64Z",
|
|
2918
|
-
fill: t
|
|
2919
|
-
}),
|
|
2920
|
-
/* @__PURE__ */ ae("path", {
|
|
2921
|
-
d: "M289.516 376.442C271.898 376.442 257.567 390.694 257.567 408.213C257.567 425.733 271.898 439.998 289.516 439.998C307.135 439.998 321.466 425.747 321.466 408.213C321.466 390.68 307.135 376.442 289.516 376.442Z",
|
|
2922
|
-
fill: t
|
|
2923
|
-
}),
|
|
2924
|
-
/* @__PURE__ */ ae("path", {
|
|
2925
|
-
d: "M210.96 376.442C193.342 376.442 179.01 390.694 179.01 408.213C179.01 425.733 193.342 439.998 210.96 439.998C228.578 439.998 242.909 425.747 242.909 408.213C242.909 390.68 228.578 376.442 210.96 376.442Z",
|
|
2926
|
-
fill: t
|
|
2927
|
-
})
|
|
2928
|
-
]
|
|
2929
|
-
});
|
|
2930
|
-
}
|
|
2931
|
-
var H1 = at.div`
|
|
2932
|
-
margin-left: 14px;
|
|
2933
|
-
margin-top: 3px;
|
|
2934
|
-
`;
|
|
2935
|
-
var D1 = at.div`
|
|
2936
|
-
display: flex;
|
|
2937
|
-
flex-direction: column;
|
|
2938
|
-
justify-content: top;
|
|
2939
|
-
overflow: hidden;
|
|
2940
|
-
height: 100%;
|
|
2941
|
-
|
|
2942
|
-
background-color: ${({ theme: e }) => e.aiChat.dataTopics.backgroundColor};
|
|
2943
|
-
`;
|
|
2944
|
-
function q1({ dataTopicsList: e, onDataTopicClick: t }) {
|
|
2945
|
-
const { enableHeader: n } = ne(), { themeSettings: r } = vt(), { t: s } = ea(), c = import_react.useMemo(() => e == null ? undefined : e.map((p) => ({
|
|
2946
|
-
title: p,
|
|
2947
|
-
onClick: () => t(p)
|
|
2948
|
-
})), [e, t]), a = or(Je(r.aiChat.header.backgroundColor)) > 0.5;
|
|
2949
|
-
return /* @__PURE__ */ vi(Bc, { children: [
|
|
2950
|
-
n ? /* @__PURE__ */ ae(Jt, {
|
|
2951
|
-
title: s("ai.analyticsChatbot"),
|
|
2952
|
-
leftNav: /* @__PURE__ */ ae(H1, { children: /* @__PURE__ */ ae(A1, { isDarkBackground: a }) }),
|
|
2953
|
-
style: r.aiChat.header
|
|
2954
|
-
}) : null,
|
|
2955
|
-
/* @__PURE__ */ vi(D1, { theme: r, children: [
|
|
2956
|
-
!c && /* @__PURE__ */ ae(qe, {}),
|
|
2957
|
-
c && /* @__PURE__ */ ae(O1, { dataTopics: c })
|
|
2958
|
-
] })
|
|
2959
|
-
] });
|
|
2960
|
-
}
|
|
2961
|
-
function z1() {
|
|
2962
|
-
const [e, t] = import_react.useState(), [n, r] = import_react.useState(), { data: s, fetchStatus: c } = Pr(), { dataTopicsList: a, contextDetails: p } = ne(), { t: d } = ea(), h = d("ai.errors.noAvailableDataTopics"), m = import_react.useCallback((l) => {
|
|
2963
|
-
l.length ? l.length === 1 && (r(undefined), t(l[0])) : r(h);
|
|
2964
|
-
}, [h]), y2 = import_react.useMemo(() => {
|
|
2965
|
-
if (s && c === "idle") {
|
|
2966
|
-
const f = (a != null && a.length ? s == null ? undefined : s.filter((g) => a == null ? undefined : a.includes(g.title)) : s).map((g) => g.title);
|
|
2967
|
-
return m(f), f;
|
|
2968
|
-
}
|
|
2969
|
-
return [];
|
|
2970
|
-
}, [s, c, a, m]), i = Swe(), u = import_react.useCallback(() => {
|
|
2971
|
-
r(undefined), i.invalidateQueries(["getDataTopics"]);
|
|
2972
|
-
}, [i]);
|
|
2973
|
-
return n ? /* @__PURE__ */ ae(Yt, {
|
|
2974
|
-
text: n,
|
|
2975
|
-
action: { text: d("ai.buttons.refresh"), onClick: u }
|
|
2976
|
-
}) : y2.length === 1 && !e ? /* @__PURE__ */ ae(qe, {}) : e ? /* @__PURE__ */ ae(M1, {
|
|
2977
|
-
contextTitle: e,
|
|
2978
|
-
contextDetails: p,
|
|
2979
|
-
onGoBack: y2.length === 1 ? undefined : () => t(undefined)
|
|
2980
|
-
}) : /* @__PURE__ */ ae(q1, {
|
|
2981
|
-
dataTopicsList: y2,
|
|
2982
|
-
onDataTopicClick: (l) => t(l)
|
|
2983
|
-
});
|
|
2984
|
-
}
|
|
2985
|
-
var cs = nh({
|
|
2986
|
-
componentName: "Chatbot"
|
|
2987
|
-
})((e) => {
|
|
2988
|
-
const { width: t, height: n, config: r } = e, { themeSettings: s } = vt();
|
|
2989
|
-
return /* @__PURE__ */ ae(Nr, { value: r != null ? r : {}, children: /* @__PURE__ */ ae(jr, {
|
|
2990
|
-
id: "csdk-chatbot-frame",
|
|
2991
|
-
width: t,
|
|
2992
|
-
height: n,
|
|
2993
|
-
theme: s,
|
|
2994
|
-
tabIndex: 0,
|
|
2995
|
-
children: /* @__PURE__ */ ae(z1, {})
|
|
2996
|
-
}) });
|
|
2997
|
-
});
|
|
2998
|
-
var ds = nh({
|
|
2999
|
-
componentName: "GetNlgInsights"
|
|
3000
|
-
})(function(t) {
|
|
3001
|
-
const { data: n, isLoading: r, isError: s } = De2(t), { t: c } = ea();
|
|
3002
|
-
if (s)
|
|
3003
|
-
return /* @__PURE__ */ ae(Bc, { children: c("ai.errors.unexpected") });
|
|
3004
|
-
const a = n != null ? n : c("ai.errors.insightsNotAvailable");
|
|
3005
|
-
return /* @__PURE__ */ ae(gt, { text: r ? "Loading..." : a });
|
|
3006
|
-
});
|
|
3007
|
-
function W1({ theme: e }) {
|
|
3008
|
-
const t = e.general.brandColor;
|
|
3009
|
-
return /* @__PURE__ */ vi("svg", {
|
|
3010
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3011
|
-
width: "24",
|
|
3012
|
-
height: "24",
|
|
3013
|
-
viewBox: "-2 -3 24 24",
|
|
3014
|
-
fill: "none",
|
|
3015
|
-
children: [
|
|
3016
|
-
/* @__PURE__ */ ae("path", {
|
|
3017
|
-
fillRule: "evenodd",
|
|
3018
|
-
clipRule: "evenodd",
|
|
3019
|
-
d: "M12.0533 3.62671e-06C12.0557 -9.45649e-05 12.0577 0.00181346 12.0578 0.00422597C12.1926 3.98958 15.4422 7.18501 19.4491 7.23273C19.4494 7.23273 19.4496 7.23296 19.4496 7.23325C19.4496 7.23356 19.4494 7.23381 19.4491 7.23382C15.3869 7.2822 12.1029 10.5659 12.054 14.628C12.054 14.6283 12.0538 14.6285 12.0535 14.6285C12.0532 14.6285 12.0529 14.6283 12.0529 14.628C12.0047 10.6218 8.80995 7.37281 4.8253 7.23765C4.82287 7.23757 4.82095 7.23552 4.82105 7.2331C4.82114 7.23081 4.82301 7.22897 4.8253 7.2289C8.75488 7.0956 11.9163 3.93392 12.0491 0.004224C12.0492 0.00194873 12.051 9.62326e-05 12.0533 3.62671e-06Z",
|
|
3020
|
-
fill: t
|
|
3021
|
-
}),
|
|
3022
|
-
/* @__PURE__ */ ae("path", {
|
|
3023
|
-
fillRule: "evenodd",
|
|
3024
|
-
clipRule: "evenodd",
|
|
3025
|
-
d: "M9.0973 12.7759C7.1172 12.7236 5.51984 11.1352 5.45331 9.1587C5.45326 9.1573 5.45209 9.1562 5.4507 9.15625C5.44938 9.1563 5.44832 9.15738 5.44828 9.15869C5.38204 11.1266 3.79825 12.7098 1.83009 12.7751C1.82969 12.7752 1.82936 12.7755 1.82935 12.7759C1.82933 12.7763 1.82967 12.7767 1.83009 12.7767C3.8264 12.8429 5.42727 14.4708 5.45019 16.4778C5.45019 16.4781 5.45045 16.4784 5.45077 16.4784C5.45111 16.4784 5.4514 16.4781 5.4514 16.4778C5.47442 14.4622 7.089 12.8289 9.0973 12.7759Z",
|
|
3026
|
-
fill: t
|
|
3027
|
-
}),
|
|
3028
|
-
/* @__PURE__ */ ae("path", {
|
|
3029
|
-
fillRule: "evenodd",
|
|
3030
|
-
clipRule: "evenodd",
|
|
3031
|
-
d: "M2.8778 2.15728C2.87779 2.15701 2.8779 2.15674 2.8781 2.15655C2.87874 2.15591 2.87983 2.15638 2.87981 2.15728C2.87934 2.17566 2.87911 2.1941 2.87911 2.21259C2.87911 3.36434 3.78842 4.30371 4.92829 4.35195C3.78842 4.40019 2.87911 5.33955 2.87911 6.4913C2.87911 6.56284 2.88262 6.63356 2.88947 6.7033C2.89045 6.7133 2.8783 6.71912 2.87119 6.71202C2.86894 6.70976 2.86781 6.70662 2.86813 6.70344C2.87499 6.63366 2.8785 6.56289 2.8785 6.4913C2.8785 5.33956 1.96921 4.40021 0.829346 4.35195C1.96921 4.30369 2.8785 3.36433 2.8785 2.21259C2.8785 2.1941 2.87827 2.17566 2.8778 2.15728ZM5.16566 4.35485C5.16834 4.35503 5.16981 4.35179 5.16791 4.34989C5.16732 4.3493 5.1665 4.34899 5.16567 4.34905C5.14802 4.35023 5.13031 4.3512 5.11255 4.35195C5.13031 4.3527 5.14801 4.35367 5.16566 4.35485Z",
|
|
3032
|
-
fill: t
|
|
3033
|
-
})
|
|
3034
|
-
]
|
|
3035
|
-
});
|
|
3036
|
-
}
|
|
3037
|
-
var Z1 = at.div`
|
|
3038
|
-
display: flex;
|
|
3039
|
-
flex-direction: row;
|
|
3040
|
-
align-items: center;
|
|
3041
|
-
gap: 10px;
|
|
3042
|
-
margin: 24px 0;
|
|
3043
|
-
max-width: 640px;
|
|
3044
|
-
color: ${({ theme: e }) => e.chart.textColor};
|
|
3045
|
-
background-color: ${({ theme: e }) => e.chart.backgroundColor};
|
|
3046
|
-
`;
|
|
3047
|
-
var j1 = at.div`
|
|
3048
|
-
align-self: flex-start;
|
|
3049
|
-
`;
|
|
3050
|
-
var U1 = ({ summary: e, nlgRequest: t }) => {
|
|
3051
|
-
const { themeSettings: n } = vt();
|
|
3052
|
-
return /* @__PURE__ */ ae(et, {
|
|
3053
|
-
sourceId: t.jaql.datasource.title,
|
|
3054
|
-
data: t,
|
|
3055
|
-
type: "chart/insights",
|
|
3056
|
-
buttonVisibility: "always",
|
|
3057
|
-
renderContent: (r) => /* @__PURE__ */ vi(Z1, { theme: n, children: [
|
|
3058
|
-
/* @__PURE__ */ ae(j1, { theme: n, children: /* @__PURE__ */ ae(W1, { theme: n }) }),
|
|
3059
|
-
/* @__PURE__ */ ae(gt, { text: e }),
|
|
3060
|
-
r
|
|
3061
|
-
] })
|
|
3062
|
-
});
|
|
3063
|
-
};
|
|
3064
|
-
var G1 = (e, t) => e.nlqResponse.timestamp === t.nlqResponse.timestamp;
|
|
3065
|
-
var us = import_react.memo(function({
|
|
3066
|
-
nlqResponse: t,
|
|
3067
|
-
onDataReady: n,
|
|
3068
|
-
styleOptions: r,
|
|
3069
|
-
widgetProps: s,
|
|
3070
|
-
filters: c = []
|
|
3071
|
-
}) {
|
|
3072
|
-
const a = t.timestamp, p = import_react.useMemo(() => E(M({}, t), {
|
|
3073
|
-
queryTitle: S1e(t.queryTitle)
|
|
3074
|
-
}), [a]), { connectToWidgetProps: d } = dCe({
|
|
3075
|
-
initialFilters: c
|
|
3076
|
-
}), [h, m] = import_react.useState(null);
|
|
3077
|
-
import_react.useEffect(() => {
|
|
3078
|
-
const g = Dt(p, {
|
|
3079
|
-
useCustomizedStyleOptions: true
|
|
3080
|
-
});
|
|
3081
|
-
if (!g)
|
|
3082
|
-
m(null);
|
|
3083
|
-
else {
|
|
3084
|
-
r && g.styleOptions && (g.styleOptions = oi(g.styleOptions, r));
|
|
3085
|
-
const x = d(g, {
|
|
3086
|
-
shouldAffectFilters: false,
|
|
3087
|
-
applyMode: "filter"
|
|
3088
|
-
});
|
|
3089
|
-
m(x);
|
|
3090
|
-
}
|
|
3091
|
-
}, [p, d, r]);
|
|
3092
|
-
const y2 = import_react.useMemo(() => {
|
|
3093
|
-
const g = h && dn(h) ? lh(h == null ? undefined : h.filters) : [], x = p.jaql.metadata.filter((v) => !v.jaql.filter).concat(g.filter((v) => !v.config.disabled).map((v) => v.jaql()));
|
|
3094
|
-
return E(M({}, p), {
|
|
3095
|
-
jaql: E(M({}, p.jaql), { metadata: x }),
|
|
3096
|
-
verbosity: "Low"
|
|
3097
|
-
});
|
|
3098
|
-
}, [p, h]), { data: i, isLoading: u, isError: l } = De2(y2);
|
|
3099
|
-
if (u || !h)
|
|
3100
|
-
return /* @__PURE__ */ ae(dt, {});
|
|
3101
|
-
if (!dn(h))
|
|
3102
|
-
return /* @__PURE__ */ ae(Bc, {});
|
|
3103
|
-
const f = s || E(M({}, h), {
|
|
3104
|
-
styleOptions: r,
|
|
3105
|
-
onDataReady: n
|
|
3106
|
-
});
|
|
3107
|
-
return /* @__PURE__ */ ae(sCe, E(M({}, f), {
|
|
3108
|
-
highlightSelectionDisabled: true,
|
|
3109
|
-
topSlot: i && !l && /* @__PURE__ */ ae(U1, { nlgRequest: y2, summary: i })
|
|
3110
|
-
}));
|
|
3111
|
-
}, G1);
|
|
3112
|
-
var V1 = new uCe({
|
|
3113
|
-
defaultOptions: {
|
|
3114
|
-
queries: {
|
|
3115
|
-
refetchOnWindowFocus: false,
|
|
3116
|
-
refetchOnMount: false
|
|
3117
|
-
}
|
|
3118
|
-
}
|
|
3119
|
-
});
|
|
3120
|
-
function ps({
|
|
3121
|
-
children: e,
|
|
3122
|
-
context: t
|
|
3123
|
-
}) {
|
|
3124
|
-
return /* @__PURE__ */ ae(Wt, { children: /* @__PURE__ */ ae(it.Provider, { value: t == null ? undefined : t.api, children: /* @__PURE__ */ ae(cCe, { client: V1, children: e }) }) });
|
|
3125
|
-
}
|
|
3126
|
-
function Q1(e) {
|
|
3127
|
-
const t = lS(e), { attributes: n, measures: r } = DS(t);
|
|
3128
|
-
return { attributes: n, measures: r };
|
|
3129
|
-
}
|
|
3130
|
-
function _1(e, t, n) {
|
|
3131
|
-
const { dataSource: r, dataOptions: s, chartType: c, filters: a } = e, p = r != null ? r : t;
|
|
3132
|
-
if (!p)
|
|
3133
|
-
throw new Error("dataSource is required. Provide it in ChartWidgetProps or as defaultDataSource parameter.");
|
|
3134
|
-
const { attributes: d, measures: h } = Vp(c) ? Q1(s) : CJ(s, c);
|
|
3135
|
-
return {
|
|
3136
|
-
dataSource: p,
|
|
3137
|
-
dimensions: d,
|
|
3138
|
-
measures: h,
|
|
3139
|
-
filters: a,
|
|
3140
|
-
verbosity: n
|
|
3141
|
-
};
|
|
3142
|
-
}
|
|
3143
|
-
function hs(e, t, n) {
|
|
3144
|
-
return V(this, null, function* () {
|
|
3145
|
-
var a;
|
|
3146
|
-
if (!dn(e))
|
|
3147
|
-
throw new Error("Only ChartWidgetProps are supported for now");
|
|
3148
|
-
const r = _1(e, n == null ? undefined : n.defaultDataSource, n == null ? undefined : n.verbosity), s = Ut(r), c = yield jt(t, s, {
|
|
3149
|
-
isUnifiedNarrationEnabled: n == null ? undefined : n.isUnifiedNarrationEnabled,
|
|
3150
|
-
isSisenseAiEnabled: n == null ? undefined : n.isSisenseAiEnabled
|
|
3151
|
-
});
|
|
3152
|
-
if (!((a = c == null ? undefined : c.data) != null && a.answer))
|
|
3153
|
-
throw new Error("Invalid response from NLG insights API");
|
|
3154
|
-
return c.data.answer;
|
|
3155
|
-
});
|
|
3156
|
-
}
|
|
3157
|
-
(function() {
|
|
3158
|
-
var t;
|
|
3159
|
-
try {
|
|
3160
|
-
if (typeof document != "undefined") {
|
|
3161
|
-
var e = document.createElement("style");
|
|
3162
|
-
e.nonce = (t = document.head.querySelector("meta[property=csp-nonce]")) == null ? undefined : 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-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-\\[5px\\]{margin-left:5px}.csdk-ml-\\[6px\\]{margin-left:6px}.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-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-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}.csdk-context-menu-selected-with-dot{position:relative}.csdk-context-menu-selected-with-dot:before{content:"";position:absolute;left:12px;top:calc(50% - 3px);width:6px;height:6px;background-color:#000;border-radius:50%}._wrapper_1lpzp_1{width:100%;height:100%;position:relative}._title_1lpzp_7{font-size:18px;letter-spacing:normal;text-align:center;position:absolute;width:100%;top:11%}._image_1lpzp_17{width:66.6%;height:100%;margin:0 auto;display:block}[class*=csdk] .leaflet-pane,[class*=csdk] .leaflet-tile,[class*=csdk] .leaflet-marker-icon,[class*=csdk] .leaflet-marker-shadow,[class*=csdk] .leaflet-tile-container,[class*=csdk] .leaflet-pane>svg,[class*=csdk] .leaflet-pane>canvas,[class*=csdk] .leaflet-zoom-box,[class*=csdk] .leaflet-image-layer,[class*=csdk] .leaflet-layer{position:absolute;left:0;top:0}[class*=csdk] .leaflet-container{overflow:hidden}[class*=csdk] .leaflet-tile,[class*=csdk] .leaflet-marker-icon,[class*=csdk] .leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}[class*=csdk] .leaflet-tile::-moz-selection{background:transparent}[class*=csdk] .leaflet-tile::selection{background:transparent}[class*=csdk] .leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}[class*=csdk] .leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}[class*=csdk] .leaflet-marker-icon,[class*=csdk] .leaflet-marker-shadow{display:block}[class*=csdk] .leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}[class*=csdk] .leaflet-container .leaflet-marker-pane img,[class*=csdk] .leaflet-container .leaflet-shadow-pane img,[class*=csdk] .leaflet-container .leaflet-tile-pane img,[class*=csdk] .leaflet-container img.leaflet-image-layer,[class*=csdk] .leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}[class*=csdk] .leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}[class*=csdk] .leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}[class*=csdk] .leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}[class*=csdk] .leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}[class*=csdk] .leaflet-container{-webkit-tap-highlight-color:transparent}[class*=csdk] .leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}[class*=csdk] .leaflet-tile{filter:inherit;visibility:hidden}[class*=csdk] .leaflet-tile-loaded{visibility:inherit}[class*=csdk] .leaflet-zoom-box{width:0;height:0;box-sizing:border-box;z-index:800}[class*=csdk] .leaflet-overlay-pane svg{-moz-user-select:none}[class*=csdk] .leaflet-pane{z-index:400}[class*=csdk] .leaflet-tile-pane{z-index:200}[class*=csdk] .leaflet-overlay-pane{z-index:400}[class*=csdk] .leaflet-shadow-pane{z-index:500}[class*=csdk] .leaflet-marker-pane{z-index:600}[class*=csdk] .leaflet-tooltip-pane{z-index:650}[class*=csdk] .leaflet-popup-pane{z-index:700}[class*=csdk] .leaflet-map-pane canvas{z-index:100}[class*=csdk] .leaflet-map-pane svg{z-index:200}[class*=csdk] .leaflet-vml-shape{width:1px;height:1px}[class*=csdk] .lvml{behavior:url(#default#VML);display:inline-block;position:absolute}[class*=csdk] .leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}[class*=csdk] .leaflet-top,[class*=csdk] .leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}[class*=csdk] .leaflet-top{top:0}[class*=csdk] .leaflet-right{right:0}[class*=csdk] .leaflet-bottom{bottom:0}[class*=csdk] .leaflet-left{left:0}[class*=csdk] .leaflet-control{float:left;clear:both}[class*=csdk] .leaflet-right .leaflet-control{float:right}[class*=csdk] .leaflet-top .leaflet-control{margin-top:10px}[class*=csdk] .leaflet-bottom .leaflet-control{margin-bottom:10px}[class*=csdk] .leaflet-left .leaflet-control{margin-left:10px}[class*=csdk] .leaflet-right .leaflet-control{margin-right:10px}[class*=csdk] .leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}[class*=csdk] .leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}[class*=csdk] .leaflet-zoom-animated{transform-origin:0 0}[class*=csdk] svg.leaflet-zoom-animated{will-change:transform}[class*=csdk] .leaflet-zoom-anim .leaflet-zoom-animated{transition:transform .25s cubic-bezier(0,0,.25,1)}[class*=csdk] .leaflet-zoom-anim .leaflet-tile,[class*=csdk] .leaflet-pan-anim .leaflet-tile{transition:none}[class*=csdk] .leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}[class*=csdk] .leaflet-interactive{cursor:pointer}[class*=csdk] .leaflet-grab{cursor:grab}[class*=csdk] .leaflet-crosshair,[class*=csdk] .leaflet-crosshair .leaflet-interactive{cursor:crosshair}[class*=csdk] .leaflet-popup-pane,[class*=csdk] .leaflet-control{cursor:auto}[class*=csdk] .leaflet-dragging .leaflet-grab,[class*=csdk] .leaflet-dragging .leaflet-grab .leaflet-interactive,[class*=csdk] .leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:grabbing}[class*=csdk] .leaflet-marker-icon,[class*=csdk] .leaflet-marker-shadow,[class*=csdk] .leaflet-image-layer,[class*=csdk] .leaflet-pane>svg path,[class*=csdk] .leaflet-tile-container{pointer-events:none}[class*=csdk] .leaflet-marker-icon.leaflet-interactive,[class*=csdk] .leaflet-image-layer.leaflet-interactive,[class*=csdk] .leaflet-pane>svg path.leaflet-interactive,[class*=csdk] svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}[class*=csdk] .leaflet-container{background:#ddd;outline-offset:1px}[class*=csdk] .leaflet-container a{color:#0078a8}[class*=csdk] .leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}[class*=csdk] .leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}[class*=csdk] .leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}[class*=csdk] .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}[class*=csdk] .leaflet-bar a,[class*=csdk] .leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}[class*=csdk] .leaflet-bar a:hover,[class*=csdk] .leaflet-bar a:focus{background-color:#f4f4f4}[class*=csdk] .leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}[class*=csdk] .leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}[class*=csdk] .leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}[class*=csdk] .leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}[class*=csdk] .leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}[class*=csdk] .leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}[class*=csdk] .leaflet-control-zoom-in,[class*=csdk] .leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}[class*=csdk] .leaflet-touch .leaflet-control-zoom-in,[class*=csdk] .leaflet-touch .leaflet-control-zoom-out{font-size:22px}[class*=csdk] .leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}[class*=csdk] .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}[class*=csdk] .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}[class*=csdk] .leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}[class*=csdk] .leaflet-control-layers .leaflet-control-layers-list,[class*=csdk] .leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}[class*=csdk] .leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}[class*=csdk] .leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}[class*=csdk] .leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}[class*=csdk] .leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}[class*=csdk] .leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}[class*=csdk] .leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}[class*=csdk] .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=)}[class*=csdk] .leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}[class*=csdk] .leaflet-control-attribution,[class*=csdk] .leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}[class*=csdk] .leaflet-control-attribution a{text-decoration:none}[class*=csdk] .leaflet-control-attribution a:hover,[class*=csdk] .leaflet-control-attribution a:focus{text-decoration:underline}[class*=csdk] .leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}[class*=csdk] .leaflet-left .leaflet-control-scale{margin-left:5px}[class*=csdk] .leaflet-bottom .leaflet-control-scale{margin-bottom:5px}[class*=csdk] .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}[class*=csdk] .leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}[class*=csdk] .leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}[class*=csdk] .leaflet-touch .leaflet-control-attribution,[class*=csdk] .leaflet-touch .leaflet-control-layers,[class*=csdk] .leaflet-touch .leaflet-bar{box-shadow:none}[class*=csdk] .leaflet-touch .leaflet-control-layers,[class*=csdk] .leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}[class*=csdk] .leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}[class*=csdk] .leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}[class*=csdk] .leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}[class*=csdk] .leaflet-popup-content p{margin:1.3em 0}[class*=csdk] .leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}[class*=csdk] .leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;transform:rotate(45deg)}[class*=csdk] .leaflet-popup-content-wrapper,[class*=csdk] .leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}[class*=csdk] .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}[class*=csdk] .leaflet-container a.leaflet-popup-close-button:hover,[class*=csdk] .leaflet-container a.leaflet-popup-close-button:focus{color:#585858}[class*=csdk] .leaflet-popup-scrolled{overflow:auto}[class*=csdk] .leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}[class*=csdk] .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)}[class*=csdk] .leaflet-oldie .leaflet-control-zoom,[class*=csdk] .leaflet-oldie .leaflet-control-layers,[class*=csdk] .leaflet-oldie .leaflet-popup-content-wrapper,[class*=csdk] .leaflet-oldie .leaflet-popup-tip{border:1px solid #999}[class*=csdk] .leaflet-div-icon{background:#fff;border:1px solid #666}[class*=csdk] .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}[class*=csdk] .leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}[class*=csdk] .leaflet-tooltip-top:before,[class*=csdk] .leaflet-tooltip-bottom:before,[class*=csdk] .leaflet-tooltip-left:before,[class*=csdk] .leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}[class*=csdk] .leaflet-tooltip-bottom{margin-top:6px}[class*=csdk] .leaflet-tooltip-top{margin-top:-6px}[class*=csdk] .leaflet-tooltip-bottom:before,[class*=csdk] .leaflet-tooltip-top:before{left:50%;margin-left:-6px}[class*=csdk] .leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}[class*=csdk] .leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}[class*=csdk] .leaflet-tooltip-left{margin-left:-6px}[class*=csdk] .leaflet-tooltip-right{margin-left:6px}[class*=csdk] .leaflet-tooltip-left:before,[class*=csdk] .leaflet-tooltip-right:before{top:50%;margin-top:-6px}[class*=csdk] .leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}[class*=csdk] .leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{[class*=csdk] .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}.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}.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}[class*=csdk] .public_Scrollbar_main.public_Scrollbar_mainActive,[class*=csdk] .public_Scrollbar_main{background-color:#fff;border-left:1px solid #d3d3d3}[class*=csdk] .fixedDataTable_isRTL .public_Scrollbar_main.public_Scrollbar_mainActive,[class*=csdk] .fixedDataTable_isRTL .public_Scrollbar_main{border-right:1px solid #d3d3d3;border-left-width:0}[class*=csdk] .public_Scrollbar_mainOpaque,[class*=csdk] .public_Scrollbar_mainOpaque.public_Scrollbar_mainActive,[class*=csdk] .public_Scrollbar_mainOpaque:hover{background-color:#fff}[class*=csdk] .public_Scrollbar_face:after{background-color:#c2c2c2}[class*=csdk] .public_Scrollbar_main:hover .public_Scrollbar_face:after,[class*=csdk] .public_Scrollbar_mainActive .public_Scrollbar_face:after,[class*=csdk] .public_Scrollbar_faceActive:after{background-color:#7d7d7d}[class*=csdk] .public_fixedDataTableCell_main{background-color:#fff;border-color:#d3d3d3}[class*=csdk] .public_fixedDataTableCell_highlighted{background-color:#f4f4f4}[class*=csdk] .public_fixedDataTableCell_cellContent{padding:8px}[class*=csdk] .public_fixedDataTableCell_columnResizerKnob{background-color:#0284ff}[class*=csdk] .public_fixedDataTableCell_hasReorderHandle .public_fixedDataTableCell_wrap1 .public_fixedDataTableCell_cellContent{margin-left:12px}[class*=csdk] .public_fixedDataTableCell_hasReorderHandle .public_fixedDataTableCell_wrap.public_fixedDataTableCell_cellContent{padding-left:20px}[class*=csdk] .fixedDataTable_isRTL .public_fixedDataTableCell_hasReorderHandle .public_fixedDataTableCell_wrap1 .public_fixedDataTableCell_cellContent{margin-left:auto;margin-right:12px}[class*=csdk] .fixedDataTable_isRTL .public_fixedDataTableCell_hasReorderHandle .public_fixedDataTableCell_wrap.public_fixedDataTableCell_cellContent{padding-right:20px}[class*=csdk] .public_fixedDataTableCell_reordering{z-index:2}[class*=csdk] .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}[class*=csdk] .fixedDataTableCellLayout_columnReorderContainer{border-color:#0284ff;background-color:#0000001a;width:12px;margin-right:-12px;float:left;cursor:move}[class*=csdk] .fixedDataTable_isRTL .fixedDataTableCellLayout_columnReorderContainer{margin-right:auto;margin-left:-12px;float:right}[class*=csdk] .fixedDataTableCellLayout_columnReorderContainer:after{content:"::";position:absolute;top:50%;left:1px;transform:translateY(-50%)}[class*=csdk] .fixedDataTable_isRTL .fixedDataTableCellLayout_columnReorderContainer:after{left:auto;right:1px}[class*=csdk] .public_fixedDataTableColumnResizerLine_main{border-color:#0284ff;width:1px}[class*=csdk] .public_fixedDataTable_main,[class*=csdk] .public_fixedDataTable_header,[class*=csdk] .public_fixedDataTable_hasBottomBorder{border-color:#d3d3d3}[class*=csdk] .public_fixedDataTable_header .public_fixedDataTableCell_main{font-weight:700}[class*=csdk] .public_fixedDataTable_header,[class*=csdk] .public_fixedDataTable_scrollbarSpacer,[class*=csdk] .public_fixedDataTable_header .public_fixedDataTableCell_main{background-color:#f6f7f8;background-image:linear-gradient(#fff,#efefef)}[class*=csdk] .public_fixedDataTable_scrollbarSpacer{position:absolute;z-index:99;top:0}[class*=csdk] .public_fixedDataTable_footer .public_fixedDataTableCell_main{background-color:#f6f7f8;border-color:#d3d3d3}[class*=csdk] .public_fixedDataTable_topShadow{background-image:linear-gradient(180deg,#0000001a,#0000)}[class*=csdk] .public_fixedDataTable_bottomShadow{background-image:linear-gradient(0deg,#0000001a,#0000)}[class*=csdk] .public_fixedDataTable_horizontalScrollbar .public_Scrollbar_mainHorizontal,[class*=csdk] .public_fixedDataTableRow_main{background-color:#fff}[class*=csdk] .public_fixedDataTableRow_highlighted,[class*=csdk] .public_fixedDataTableRow_highlighted .public_fixedDataTableCell_main{background-color:#f6f7f8}[class*=csdk] .public_fixedDataTableRow_fixedColumnsDivider{border-color:#d3d3d3}[class*=csdk] .public_fixedDataTableRow_columnsShadow{background-image:linear-gradient(90deg,#0000001a,#0000)}[class*=csdk] .fixedDataTable_isRTL .public_fixedDataTableRow_columnsShadow{background-image:linear-gradient(270deg,#0000001a,#0000)}[class*=csdk] .public_fixedDataTableRow_columnsRightShadow{transform:rotate(180deg)}[class*=csdk] .ScrollbarLayout_main{box-sizing:border-box;outline:none;overflow:hidden;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none}[class*=csdk] .ScrollbarLayout_mainVertical{bottom:0;right:0;top:0;width:15px}[class*=csdk] .ScrollbarLayout_mainHorizontal{height:15px;left:0}[class*=csdk] .ScrollbarLayout_face{left:0;overflow:hidden;position:absolute;z-index:1;display:flex;justify-content:center;align-items:center}[class*=csdk] .ScrollbarLayout_face:after{border-radius:6px;content:"";display:block;position:absolute;transition-duration:.25s;transition-timing-function:ease;transition-property:background-color,height,width}[class*=csdk] .ScrollbarLayout_faceHorizontal{bottom:0;left:0;top:0}[class*=csdk] .ScrollbarLayout_faceHorizontal:after{width:100%;height:calc(100% - 8px)}[class*=csdk] .fixedDataTable_isRTL .ScrollbarLayout_faceHorizontal,[class*=csdk] .fixedDataTable_isRTL .ScrollbarLayout_faceHorizontal:after{right:0;left:auto}[class*=csdk] .ScrollbarLayout_faceHorizontal.public_Scrollbar_faceActive:after,[class*=csdk] .ScrollbarLayout_main:hover .ScrollbarLayout_faceHorizontal:after{height:calc(100% - 4px)}[class*=csdk] .ScrollbarLayout_faceVertical{left:0;right:0;top:0}[class*=csdk] .ScrollbarLayout_faceVertical:after{height:100%;width:calc(100% - 8px)}[class*=csdk] .ScrollbarLayout_main:hover .ScrollbarLayout_faceVertical:after,[class*=csdk] .ScrollbarLayout_faceVertical.public_Scrollbar_faceActive:after{width:calc(100% - 4px)}[class*=csdk] .fixedDataTableCellGroupLayout_cellGroup{backface-visibility:hidden;left:0;overflow:hidden;position:absolute;top:0;white-space:nowrap}[class*=csdk] .fixedDataTable_isRTL .fixedDataTableCellGroupLayout_cellGroup{right:0;left:auto}[class*=csdk] .fixedDataTableCellGroupLayout_cellGroup>.public_fixedDataTableCell_main{display:inline-block;vertical-align:top;white-space:normal}[class*=csdk] .fixedDataTableCellGroupLayout_cellGroupWrapper{position:absolute;top:0}[class*=csdk] .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}[class*=csdk] .fixedDataTable_isRTL .fixedDataTableCellLayout_main{border-right-width:0;border-left-style:solid;border-left-width:1px}[class*=csdk] .fixedDataTableCellLayout_lastChild{border-width:0 1px 1px 0}[class*=csdk] .fixedDataTableCellLayout_alignRight{text-align:right}[class*=csdk] .fixedDataTableCellLayout_alignCenter{text-align:center}[class*=csdk] .fixedDataTableCellLayout_wrap{display:table-cell;vertical-align:middle;box-sizing:border-box}[class*=csdk] .fixedDataTableCellLayout_wrap1{display:table}[class*=csdk] .fixedDataTableCellLayout_wrap2{display:table-row}[class*=csdk] .fixedDataTableCellLayout_wrap3{display:table-cell;vertical-align:middle}[class*=csdk] .fixedDataTableCellLayout_columnResizerContainer{position:absolute;right:0;width:6px;z-index:1}[class*=csdk] .fixedDataTable_isRTL .fixedDataTableCellLayout_columnResizerContainer{left:0;right:auto}[class*=csdk] .fixedDataTableCellLayout_columnResizerContainer:hover{cursor:ew-resize;background-color:#0284ff}[class*=csdk] .fixedDataTableColumnResizerLineLayout_mouseArea{cursor:ew-resize;position:absolute;right:-5px;width:12px}[class*=csdk] .fixedDataTable_isRTL .fixedDataTableColumnResizerLineLayout_mouseArea{right:auto;left:-5px}[class*=csdk] .fixedDataTableColumnResizerLineLayout_main{border-right-style:solid;border-right-width:1px;box-sizing:border-box;position:absolute;z-index:100;pointer-events:none}[class*=csdk] .fixedDataTable_isRTL .fixedDataTableColumnResizerLineLayout_main{border-right-width:0;border-left-style:solid;border-left-width:1px}[class*=csdk] .fixedDataTableLayout_main{border-style:solid;border-width:1px;box-sizing:border-box;overflow:hidden;position:relative}[class*=csdk] .fixedDataTableLayout_header,[class*=csdk] .fixedDataTableLayout_hasBottomBorder{border-bottom-style:solid;border-bottom-width:1px}[class*=csdk] .fixedDataTableLayout_footer .public_fixedDataTableCell_main{border-top-style:solid;border-top-width:1px}[class*=csdk] .fixedDataTableLayout_topShadow,[class*=csdk] .fixedDataTableLayout_bottomShadow{height:4px;left:0;position:absolute;right:0;z-index:1}[class*=csdk] .fixedDataTableLayout_bottomShadow{margin-top:-4px}[class*=csdk] .fixedDataTableLayout_rowsContainer{overflow:hidden;position:relative}[class*=csdk] .fixedDataTableRowLayout_main{box-sizing:border-box;overflow:hidden;position:absolute;top:0}[class*=csdk] .fixedDataTableRowLayout_body{left:0;right:0;position:absolute;top:0}[class*=csdk] .fixedDataTableRowLayout_rowExpanded{box-sizing:border-box;left:0;position:absolute}[class*=csdk] .fixedDataTableRowLayout_fixedColumnsDivider{backface-visibility:hidden;border-left-style:solid;border-left-width:1px;left:0;position:absolute;top:0;width:0}[class*=csdk] .fixedDataTable_isRTL .fixedDataTableRowLayout_fixedColumnsDivider{border-left-width:0;border-right-style:solid;border-right-width:1px}[class*=csdk] .fixedDataTableRowLayout_columnsShadow{position:absolute;width:4px}[class*=csdk] .fixedDataTableRowLayout_columnsRightShadow{right:1px}[class*=csdk] .fixedDataTable_isRTL .fixedDataTableRowLayout_columnsRightShadow{left:1px;right:auto}[class*=csdk] .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}._alert_31zyt_1{position:relative;width:100%;box-sizing:border-box;display:grid;grid-template-columns:0 1fr;gap:.5rem;align-items:start;padding:.75rem 1rem;border-radius:.5rem;border:1px solid;font-size:.875rem;line-height:1.25rem}._alert_31zyt_1[data-dismiss-on-click=true]{cursor:pointer}._alert_31zyt_1._hasIcon_31zyt_18{grid-template-columns:1rem 1fr;gap:.75rem}._alert_31zyt_1._error_31zyt_22{background-color:#fef2f2;border-color:#fecaca;color:#991b1b}._alert_31zyt_1._error_31zyt_22 ._icon_31zyt_27{color:#ef4444}._alert_31zyt_1._error_31zyt_22[data-dark-mode=true]{background-color:#4a1f1f;border-color:#5a2a2a;color:#fca5a5}._alert_31zyt_1._error_31zyt_22[data-dark-mode=true] ._icon_31zyt_27{color:#f87171}._alert_31zyt_1._warning_31zyt_38{background-color:#fffbeb;border-color:#fde68a;color:#92400e}._alert_31zyt_1._warning_31zyt_38 ._icon_31zyt_27{color:#f59e0b}._alert_31zyt_1._warning_31zyt_38[data-dark-mode=true]{background-color:#4a3a1f;border-color:#5a4a2a;color:#fbbf24}._alert_31zyt_1._warning_31zyt_38[data-dark-mode=true] ._icon_31zyt_27{color:#f59e0b}._alert_31zyt_1._info_31zyt_54{background-color:#eff6ff;border-color:#bfdbfe;color:#1e40af}._alert_31zyt_1._info_31zyt_54 ._icon_31zyt_27{color:#3b82f6}._icon_31zyt_27{width:1rem;height:1rem;margin-top:.125rem;flex-shrink:0;display:flex;align-items:center;justify-content:center}._icon_31zyt_27 svg{width:100%;height:100%}._content_31zyt_77{display:flex;flex-direction:column;gap:.25rem}._title_31zyt_83{font-weight:600;line-height:1.5;color:inherit}._description_31zyt_89{color:inherit;opacity:.9;line-height:1.5}._dismissButton_31zyt_95{position:absolute;top:.5rem;right:.5rem;background:none;border:none;cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center;color:inherit;opacity:.7;transition:opacity .2s}._dismissButton_31zyt_95:hover{opacity:1}._dismissButton_31zyt_95:focus{outline:2px solid currentColor;outline-offset:2px}@media (prefers-color-scheme: dark){._alert_31zyt_1._error_31zyt_22{background-color:#4a1f1f;border-color:#5a2a2a;color:#fca5a5}._alert_31zyt_1._error_31zyt_22 ._icon_31zyt_27{color:#f87171}._alert_31zyt_1._warning_31zyt_38{background-color:#4a3a1f;border-color:#5a4a2a;color:#fbbf24}._alert_31zyt_1._warning_31zyt_38 ._icon_31zyt_27{color:#f59e0b}}.dark ._alert_31zyt_1._error_31zyt_22{background-color:#4a1f1f;border-color:#5a2a2a;color:#fca5a5}.dark ._alert_31zyt_1._error_31zyt_22 ._icon_31zyt_27{color:#f87171}.dark ._alert_31zyt_1._warning_31zyt_38{background-color:#4a3a1f;border-color:#5a4a2a;color:#fbbf24}.dark ._alert_31zyt_1._warning_31zyt_38 ._icon_31zyt_27{color:#f59e0b}._container_1cvt1_1{width:100%;box-sizing:border-box;overflow:visible;padding:4px}._containerClickable_1cvt1_8{cursor:pointer}._bannerWrapper_1cvt1_12{width:100%;max-width:64rem;margin-left:auto;margin-right:auto;overflow:visible}._bannerWrapper_1cvt1_12>div[role=alert],._bannerWrapper_1cvt1_12>button{border:none;border-radius:8px;box-shadow:0 1px 2px #09090a1a;padding:16px 20px}._bannerWrapper_1cvt1_12[data-variant=error]>div[role=alert]{background-color:#fdede9;color:#5c6372}._bannerWrapper_1cvt1_12[data-variant=error]>div[role=alert]>div:first-child{color:#fa5656}._bannerWrapper_1cvt1_12[data-variant=warning]>button{background-color:#fef8e5;color:#4f4f4f;gap:.5rem;padding-right:2.5rem;text-align:left}._bannerWrapper_1cvt1_12[data-variant=warning]>button>div:nth-child(2){justify-self:start}._bannerWrapper_1cvt1_12[data-variant=warning]>button>div:first-child{color:#ffcb05}[class*=csdk] .react-datepicker__navigation-icon:before,[class*=csdk] .react-datepicker__year-read-view--down-arrow,[class*=csdk] .react-datepicker__month-read-view--down-arrow,[class*=csdk] .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}[class*=csdk] .react-datepicker-wrapper{display:inline-block;padding:0;border:0}[class*=csdk] .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}[class*=csdk] .react-datepicker--time-only .react-datepicker__time-container{border-left:0}[class*=csdk] .react-datepicker--time-only .react-datepicker__time,[class*=csdk] .react-datepicker--time-only .react-datepicker__time-box{border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}[class*=csdk] .react-datepicker-popper{z-index:1;line-height:0}[class*=csdk] .react-datepicker-popper .react-datepicker__triangle{stroke:#aeaeae}[class*=csdk] .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle{fill:#f0f0f0;color:#f0f0f0}[class*=csdk] .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle{fill:#fff;color:#fff}[class*=csdk] .react-datepicker__header{text-align:center;background-color:#f0f0f0;border-bottom:1px solid #aeaeae;border-top-left-radius:.3rem;padding:8px 0;position:relative}[class*=csdk] .react-datepicker__header--time{padding-bottom:8px;padding-left:5px;padding-right:5px}[class*=csdk] .react-datepicker__header--time:not(.react-datepicker__header--time--only){border-top-left-radius:0}[class*=csdk] .react-datepicker__header:not(.react-datepicker__header--has-time-select){border-top-right-radius:.3rem}[class*=csdk] .react-datepicker__year-dropdown-container--select,[class*=csdk] .react-datepicker__month-dropdown-container--select,[class*=csdk] .react-datepicker__month-year-dropdown-container--select,[class*=csdk] .react-datepicker__year-dropdown-container--scroll,[class*=csdk] .react-datepicker__month-dropdown-container--scroll,[class*=csdk] .react-datepicker__month-year-dropdown-container--scroll{display:inline-block;margin:0 15px}[class*=csdk] .react-datepicker__current-month,[class*=csdk] .react-datepicker-time__header,[class*=csdk] .react-datepicker-year-header{margin-top:0;color:#000;font-weight:700;font-size:.944rem}[class*=csdk] h2.react-datepicker__current-month{padding:0;margin:0}[class*=csdk] .react-datepicker-time__header{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[class*=csdk] .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}[class*=csdk] .react-datepicker__navigation--previous{left:2px}[class*=csdk] .react-datepicker__navigation--next{right:2px}[class*=csdk] .react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button){right:85px}[class*=csdk] .react-datepicker__navigation--years{position:relative;top:0;display:block;margin-left:auto;margin-right:auto}[class*=csdk] .react-datepicker__navigation--years-previous{top:4px}[class*=csdk] .react-datepicker__navigation--years-upcoming{top:-4px}[class*=csdk] .react-datepicker__navigation:hover *:before{border-color:#a6a6a6}[class*=csdk] .react-datepicker__navigation-icon{position:relative;top:-1px;font-size:20px;width:0}[class*=csdk] .react-datepicker__navigation-icon--next{left:-2px}[class*=csdk] .react-datepicker__navigation-icon--next:before{transform:rotate(45deg);left:-7px}[class*=csdk] .react-datepicker__navigation-icon--previous{right:-2px}[class*=csdk] .react-datepicker__navigation-icon--previous:before{transform:rotate(225deg);right:-7px}[class*=csdk] .react-datepicker__month-container{float:left}[class*=csdk] .react-datepicker__year{margin:.4rem;text-align:center}[class*=csdk] .react-datepicker__year-wrapper{display:flex;flex-wrap:wrap;max-width:180px}[class*=csdk] .react-datepicker__year .react-datepicker__year-text{display:inline-block;width:4rem;margin:2px}[class*=csdk] .react-datepicker__month{margin:.4rem;text-align:center}[class*=csdk] .react-datepicker__month .react-datepicker__month-text,[class*=csdk] .react-datepicker__month .react-datepicker__quarter-text{display:inline-block;width:4rem;margin:2px}[class*=csdk] .react-datepicker__input-time-container{clear:both;width:100%;float:left;margin:5px 0 10px 15px;text-align:left}[class*=csdk] .react-datepicker__input-time-container .react-datepicker-time__caption,[class*=csdk] .react-datepicker__input-time-container .react-datepicker-time__input-container{display:inline-block}[class*=csdk] .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input{display:inline-block;margin-left:10px}[class*=csdk] .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input{width:auto}[class*=csdk] .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,[class*=csdk] .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}[class*=csdk] .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]{-moz-appearance:textfield}[class*=csdk] .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter{margin-left:5px;display:inline-block}[class*=csdk] .react-datepicker__time-container{float:right;border-left:1px solid #aeaeae;width:85px}[class*=csdk] .react-datepicker__time-container--with-today-button{display:inline;border:1px solid #aeaeae;border-radius:.3rem;position:absolute;right:-87px;top:0}[class*=csdk] .react-datepicker__time-container .react-datepicker__time{position:relative;background:#fff;border-bottom-right-radius:.3rem}[class*=csdk] .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}[class*=csdk] .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}[class*=csdk] .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}[class*=csdk] .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}[class*=csdk] .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}[class*=csdk] .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}[class*=csdk] .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}[class*=csdk] .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}[class*=csdk] .react-datepicker__week-number{color:#ccc;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}[class*=csdk] .react-datepicker__week-number.react-datepicker__week-number--clickable{cursor:pointer}[class*=csdk] .react-datepicker__week-number.react-datepicker__week-number--clickable:not(.react-datepicker__week-number--selected):hover{border-radius:.3rem;background-color:#f0f0f0}[class*=csdk] .react-datepicker__week-number--selected{border-radius:.3rem;background-color:#216ba5;color:#fff}[class*=csdk] .react-datepicker__week-number--selected:hover{background-color:#1d5d90}[class*=csdk] .react-datepicker__day-names{white-space:nowrap;margin-bottom:-8px}[class*=csdk] .react-datepicker__week{white-space:nowrap}[class*=csdk] .react-datepicker__day-name,[class*=csdk] .react-datepicker__day,[class*=csdk] .react-datepicker__time-name{color:#000;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}[class*=csdk] .react-datepicker__day,[class*=csdk] .react-datepicker__month-text,[class*=csdk] .react-datepicker__quarter-text,[class*=csdk] .react-datepicker__year-text{cursor:pointer}[class*=csdk] .react-datepicker__day:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__month-text:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__quarter-text:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__year-text:not([aria-disabled=true]):hover{border-radius:.3rem;background-color:#f0f0f0}[class*=csdk] .react-datepicker__day--today,[class*=csdk] .react-datepicker__month-text--today,[class*=csdk] .react-datepicker__quarter-text--today,[class*=csdk] .react-datepicker__year-text--today{font-weight:700}[class*=csdk] .react-datepicker__day--highlighted,[class*=csdk] .react-datepicker__month-text--highlighted,[class*=csdk] .react-datepicker__quarter-text--highlighted,[class*=csdk] .react-datepicker__year-text--highlighted{border-radius:.3rem;background-color:#3dcc4a;color:#fff}[class*=csdk] .react-datepicker__day--highlighted:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__month-text--highlighted:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__quarter-text--highlighted:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__year-text--highlighted:not([aria-disabled=true]):hover{background-color:#32be3f}[class*=csdk] .react-datepicker__day--highlighted-custom-1,[class*=csdk] .react-datepicker__month-text--highlighted-custom-1,[class*=csdk] .react-datepicker__quarter-text--highlighted-custom-1,[class*=csdk] .react-datepicker__year-text--highlighted-custom-1{color:#f0f}[class*=csdk] .react-datepicker__day--highlighted-custom-2,[class*=csdk] .react-datepicker__month-text--highlighted-custom-2,[class*=csdk] .react-datepicker__quarter-text--highlighted-custom-2,[class*=csdk] .react-datepicker__year-text--highlighted-custom-2{color:green}[class*=csdk] .react-datepicker__day--holidays,[class*=csdk] .react-datepicker__month-text--holidays,[class*=csdk] .react-datepicker__quarter-text--holidays,[class*=csdk] .react-datepicker__year-text--holidays{position:relative;border-radius:.3rem;background-color:#ff6803;color:#fff}[class*=csdk] .react-datepicker__day--holidays .overlay,[class*=csdk] .react-datepicker__month-text--holidays .overlay,[class*=csdk] .react-datepicker__quarter-text--holidays .overlay,[class*=csdk] .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}[class*=csdk] .react-datepicker__day--holidays:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__month-text--holidays:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__quarter-text--holidays:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__year-text--holidays:not([aria-disabled=true]):hover{background-color:#cf5300}[class*=csdk] .react-datepicker__day--holidays:hover .overlay,[class*=csdk] .react-datepicker__month-text--holidays:hover .overlay,[class*=csdk] .react-datepicker__quarter-text--holidays:hover .overlay,[class*=csdk] .react-datepicker__year-text--holidays:hover .overlay{visibility:visible;opacity:1}[class*=csdk] .react-datepicker__day--selected,[class*=csdk] .react-datepicker__day--in-selecting-range,[class*=csdk] .react-datepicker__day--in-range,[class*=csdk] .react-datepicker__month-text--selected,[class*=csdk] .react-datepicker__month-text--in-selecting-range,[class*=csdk] .react-datepicker__month-text--in-range,[class*=csdk] .react-datepicker__quarter-text--selected,[class*=csdk] .react-datepicker__quarter-text--in-selecting-range,[class*=csdk] .react-datepicker__quarter-text--in-range,[class*=csdk] .react-datepicker__year-text--selected,[class*=csdk] .react-datepicker__year-text--in-selecting-range,[class*=csdk] .react-datepicker__year-text--in-range{border-radius:.3rem;background-color:#216ba5;color:#fff}[class*=csdk] .react-datepicker__day--selected:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__day--in-selecting-range:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__day--in-range:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__month-text--selected:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__month-text--in-selecting-range:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__month-text--in-range:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__quarter-text--selected:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__quarter-text--in-selecting-range:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__quarter-text--in-range:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__year-text--selected:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__year-text--in-selecting-range:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__year-text--in-range:not([aria-disabled=true]):hover{background-color:#1d5d90}[class*=csdk] .react-datepicker__day--keyboard-selected,[class*=csdk] .react-datepicker__month-text--keyboard-selected,[class*=csdk] .react-datepicker__quarter-text--keyboard-selected,[class*=csdk] .react-datepicker__year-text--keyboard-selected{border-radius:.3rem;background-color:#bad9f1;color:#000}[class*=csdk] .react-datepicker__day--keyboard-selected:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__month-text--keyboard-selected:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__quarter-text--keyboard-selected:not([aria-disabled=true]):hover,[class*=csdk] .react-datepicker__year-text--keyboard-selected:not([aria-disabled=true]):hover{background-color:#1d5d90}[class*=csdk] .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),[class*=csdk] .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),[class*=csdk] .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),[class*=csdk] .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}[class*=csdk] .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),[class*=csdk] .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),[class*=csdk] .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),[class*=csdk] .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),[class*=csdk] .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),[class*=csdk] .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),[class*=csdk] .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),[class*=csdk] .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}[class*=csdk] .react-datepicker__day--disabled,[class*=csdk] .react-datepicker__month-text--disabled,[class*=csdk] .react-datepicker__quarter-text--disabled,[class*=csdk] .react-datepicker__year-text--disabled{cursor:default;color:#ccc}[class*=csdk] .react-datepicker__day--disabled .overlay,[class*=csdk] .react-datepicker__month-text--disabled .overlay,[class*=csdk] .react-datepicker__quarter-text--disabled .overlay,[class*=csdk] .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}[class*=csdk] .react-datepicker__input-container{position:relative;display:inline-block;width:100%}[class*=csdk] .react-datepicker__input-container .react-datepicker__calendar-icon{position:absolute;padding:.5rem;box-sizing:content-box}[class*=csdk] .react-datepicker__view-calendar-icon input{padding:6px 10px 5px 25px}[class*=csdk] .react-datepicker__year-read-view,[class*=csdk] .react-datepicker__month-read-view,[class*=csdk] .react-datepicker__month-year-read-view{border:1px solid transparent;border-radius:.3rem;position:relative}[class*=csdk] .react-datepicker__year-read-view:hover,[class*=csdk] .react-datepicker__month-read-view:hover,[class*=csdk] .react-datepicker__month-year-read-view:hover{cursor:pointer}[class*=csdk] .react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,[class*=csdk] .react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,[class*=csdk] .react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,[class*=csdk] .react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,[class*=csdk] .react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,[class*=csdk] .react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow{border-top-color:#b3b3b3}[class*=csdk] .react-datepicker__year-read-view--down-arrow,[class*=csdk] .react-datepicker__month-read-view--down-arrow,[class*=csdk] .react-datepicker__month-year-read-view--down-arrow{transform:rotate(135deg);right:-16px;top:0}[class*=csdk] .react-datepicker__year-dropdown,[class*=csdk] .react-datepicker__month-dropdown,[class*=csdk] .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}[class*=csdk] .react-datepicker__year-dropdown:hover,[class*=csdk] .react-datepicker__month-dropdown:hover,[class*=csdk] .react-datepicker__month-year-dropdown:hover{cursor:pointer}[class*=csdk] .react-datepicker__year-dropdown--scrollable,[class*=csdk] .react-datepicker__month-dropdown--scrollable,[class*=csdk] .react-datepicker__month-year-dropdown--scrollable{height:150px;overflow-y:scroll}[class*=csdk] .react-datepicker__year-option,[class*=csdk] .react-datepicker__month-option,[class*=csdk] .react-datepicker__month-year-option{line-height:20px;width:100%;display:block;margin-left:auto;margin-right:auto}[class*=csdk] .react-datepicker__year-option:first-of-type,[class*=csdk] .react-datepicker__month-option:first-of-type,[class*=csdk] .react-datepicker__month-year-option:first-of-type{border-top-left-radius:.3rem;border-top-right-radius:.3rem}[class*=csdk] .react-datepicker__year-option:last-of-type,[class*=csdk] .react-datepicker__month-option:last-of-type,[class*=csdk] .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}[class*=csdk] .react-datepicker__year-option:hover,[class*=csdk] .react-datepicker__month-option:hover,[class*=csdk] .react-datepicker__month-year-option:hover{background-color:#ccc}[class*=csdk] .react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,[class*=csdk] .react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,[class*=csdk] .react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming{border-bottom-color:#b3b3b3}[class*=csdk] .react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,[class*=csdk] .react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,[class*=csdk] .react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous{border-top-color:#b3b3b3}[class*=csdk] .react-datepicker__year-option--selected,[class*=csdk] .react-datepicker__month-option--selected,[class*=csdk] .react-datepicker__month-year-option--selected{position:absolute;left:15px}[class*=csdk] .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}[class*=csdk] .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:"×"}[class*=csdk] .react-datepicker__close-icon--disabled{cursor:default}[class*=csdk] .react-datepicker__close-icon--disabled:after{cursor:default;background-color:#ccc}[class*=csdk] .react-datepicker__today-button{background:#f0f0f0;border-top:1px solid #aeaeae;cursor:pointer;text-align:center;font-weight:700;padding:5px 0;clear:left}[class*=csdk] .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}[class*=csdk] .react-datepicker__portal .react-datepicker__day-name,[class*=csdk] .react-datepicker__portal .react-datepicker__day,[class*=csdk] .react-datepicker__portal .react-datepicker__time-name{width:3rem;line-height:3rem}@media (max-width: 400px),(max-height: 550px){[class*=csdk] .react-datepicker__portal .react-datepicker__day-name,[class*=csdk] .react-datepicker__portal .react-datepicker__day,[class*=csdk] .react-datepicker__portal .react-datepicker__time-name{width:2rem;line-height:2rem}}[class*=csdk] .react-datepicker__portal .react-datepicker__current-month,[class*=csdk] .react-datepicker__portal .react-datepicker-time__header{font-size:1.44rem}[class*=csdk] .react-datepicker__children-container{width:13.8rem;margin:.4rem;padding-right:.2rem;padding-left:.2rem;height:auto}[class*=csdk] .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}[class*=csdk] .react-datepicker__calendar-icon{width:1em;height:1em;vertical-align:-.125em}')), document.head.appendChild(e);
|
|
3163
|
-
}
|
|
3164
|
-
} catch (a) {
|
|
3165
|
-
console.error("vite-plugin-css-injected-by-js", a);
|
|
3166
|
-
}
|
|
3167
|
-
})();
|
|
3168
|
-
export {
|
|
3169
|
-
Nt as widgetComposer,
|
|
3170
|
-
as as useLastNlqResponse,
|
|
3171
|
-
ss as useGetQueryRecommendations,
|
|
3172
|
-
is as useGetNlqResult,
|
|
3173
|
-
os2 as useGetNlgInsights,
|
|
3174
|
-
ls as useFinalNlqResponse,
|
|
3175
|
-
Dr as useChatSession,
|
|
3176
|
-
Gt as prepareGetNlqResultPayload,
|
|
3177
|
-
Ut as prepareGetNlgInsightsPayload,
|
|
3178
|
-
hs as getNlgInsightsFromWidget,
|
|
3179
|
-
Rr as executeGetNlqResult,
|
|
3180
|
-
us as NlqChartWidget,
|
|
3181
|
-
$r as NLQ_RESULT_CHART_TYPES,
|
|
3182
|
-
ds as GetNlgInsights,
|
|
3183
|
-
Lr as DEFAULT_RECOMMENDATIONS_COUNT,
|
|
3184
|
-
ps as CustomAiContextProvider,
|
|
3185
|
-
cs as Chatbot,
|
|
3186
|
-
wr as ChatRestApi,
|
|
3187
|
-
rs as AiContextProvider
|
|
3188
|
-
};
|