@sisense/sdk-ui 2.16.0 → 2.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/ai.cjs +54 -54
  2. package/dist/ai.js +779 -741
  3. package/dist/analytics-composer/node.cjs +1 -1
  4. package/dist/analytics-composer/node.js +421 -384
  5. package/dist/analytics-composer.cjs +1 -1
  6. package/dist/analytics-composer.js +6 -6
  7. package/dist/{derive-chart-family-d7eaC45K.cjs → derive-chart-family-B_cR1yhw.cjs} +3 -3
  8. package/dist/{derive-chart-family-DLwnWblo.js → derive-chart-family-DkuTQGOE.js} +333 -333
  9. package/dist/{dimensions-BUWtZxix.cjs → dimensions-DI9h9IJH.cjs} +1 -1
  10. package/dist/{dimensions-DvDgZ8RW.js → dimensions-Gma5tFmd.js} +1 -1
  11. package/dist/execute-query-CdhSHTTA.cjs +1 -0
  12. package/dist/{execute-query-CFK2R_1S.js → execute-query-l7jejslh.js} +867 -865
  13. package/dist/index.cjs +970 -246
  14. package/dist/index.js +70584 -18085
  15. package/dist/index.umd.js +1269 -1267
  16. package/dist/packages/sdk-ui/src/ai/get-nlg-insights-from-widget.d.ts +46 -0
  17. package/dist/packages/sdk-ui/src/ai/index.d.ts +1 -0
  18. package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/common.d.ts +2 -1
  19. package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/process-function/filter-processors.d.ts +0 -9
  20. package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/types.d.ts +1 -1
  21. package/dist/packages/sdk-ui/src/analytics-composer/types.d.ts +2 -2
  22. package/dist/packages/sdk-ui/src/api/rest-api.d.ts +1 -1
  23. package/dist/packages/sdk-ui/src/app/client-application.d.ts +5 -5
  24. package/dist/packages/sdk-ui/src/chart-options-processor/data-points.d.ts +3 -4
  25. package/dist/packages/sdk-ui/src/dashboard/hooks/use-jtd.d.ts +1 -2
  26. package/dist/packages/sdk-ui/src/data-source-dimensional-model/hooks/use-get-data-source-dimensions.d.ts +78 -0
  27. package/dist/packages/sdk-ui/src/data-source-dimensional-model/hooks/use-get-data-source-fields.d.ts +23 -0
  28. package/dist/packages/sdk-ui/src/data-source-dimensional-model/index.d.ts +2 -0
  29. package/dist/packages/sdk-ui/src/index.d.ts +1 -1
  30. package/dist/packages/sdk-ui/src/models/widget/widget-model-translator/widget-model-translator.d.ts +4 -1
  31. package/dist/packages/sdk-ui/src/pivot-table/formatters/data-cell-formatters/data-cell-color-formatter.d.ts +2 -1
  32. package/dist/packages/sdk-ui/src/pivot-table/formatters/formatter-utils.d.ts +2 -1
  33. package/dist/packages/sdk-ui/src/pivot-table/formatters/header-cell-formatters/header-cell-totals-formatter.d.ts +1 -1
  34. package/dist/packages/sdk-ui/src/pivot-table/formatters/types.d.ts +2 -1
  35. package/dist/packages/sdk-ui/src/pivot-table/hooks/use-apply-pivot-table-formatting.d.ts +1 -1
  36. package/dist/packages/sdk-ui/src/pivot-table/hooks/use-get-pivot-table-query.d.ts +1 -1
  37. package/dist/packages/sdk-ui/src/pivot-table/hooks/use-pivot-builder.d.ts +1 -1
  38. package/dist/packages/sdk-ui/src/pivot-table/hooks/use-pivot-client.d.ts +8 -0
  39. package/dist/packages/sdk-ui/src/pivot-table/hooks/use-pivot-data-loading.d.ts +2 -1
  40. package/dist/packages/sdk-ui/src/pivot-table/hooks/use-pivot-data-service.d.ts +2 -1
  41. package/dist/packages/sdk-ui/src/pivot-table/hooks/use-render-pivot.d.ts +1 -1
  42. package/dist/packages/sdk-ui/src/pivot-table/pivot-table.d.ts +32 -2
  43. package/dist/packages/sdk-ui/src/pivot-table/sorting-utils.d.ts +1 -1
  44. package/dist/packages/sdk-ui/src/props.d.ts +11 -0
  45. package/dist/packages/sdk-ui/src/query-execution/use-execute-pivot-query.d.ts +0 -1
  46. package/dist/packages/sdk-ui/src/translation/resources/en.d.ts +1 -1
  47. package/dist/packages/sdk-ui/src/translation/resources/index.d.ts +2 -2
  48. package/dist/packages/sdk-ui/src/types.d.ts +40 -25
  49. package/dist/packages/sdk-ui/src/widgets/pivot-table-widget.d.ts +19 -1
  50. package/dist/{types-Clbnx4mQ.cjs → types-Hki4GrUY.cjs} +1 -1
  51. package/dist/{types-D1mqt0Mg.js → types-ofTjqFFK.js} +1 -1
  52. package/dist/use-common-filters-Bh4KYWy_.cjs +604 -0
  53. package/dist/use-common-filters-D5yiZCTg.js +56547 -0
  54. package/dist/{widget-composer-Dhl_nmhq.js → widget-composer-By61s921.js} +3 -3
  55. package/dist/{widget-composer-BaOTPn5w.cjs → widget-composer-BzzTf8UH.cjs} +1 -1
  56. package/package.json +8 -7
  57. package/dist/execute-query-CB4XfUng.cjs +0 -1
  58. package/dist/packages/sdk-ui/src/common/hooks/fusion-endpoints/use-get-data-source-fields.d.ts +0 -17
  59. package/dist/use-common-filters-CkQznSEt.cjs +0 -1325
  60. package/dist/use-common-filters-CxoO7TzT.js +0 -103390
package/dist/ai.js CHANGED
@@ -1,16 +1,16 @@
1
- var vn = Object.defineProperty, kn = Object.defineProperties;
2
- var wn = Object.getOwnPropertyDescriptors;
1
+ var wn = Object.defineProperty, Sn = Object.defineProperties;
2
+ var Mn = Object.getOwnPropertyDescriptors;
3
3
  var Le = Object.getOwnPropertySymbols;
4
4
  var gt = Object.prototype.hasOwnProperty, ft = Object.prototype.propertyIsEnumerable;
5
- var Ae = (e, t, n) => t in e ? vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, M = (e, t) => {
5
+ var Ae = (e, t, n) => t in e ? wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, M = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
7
  gt.call(t, n) && Ae(e, n, t[n]);
8
8
  if (Le)
9
9
  for (var n of Le(t))
10
10
  ft.call(t, n) && Ae(e, n, t[n]);
11
11
  return e;
12
- }, E = (e, t) => kn(e, wn(t));
13
- var De = (e, t) => {
12
+ }, E = (e, t) => Sn(e, Mn(t));
13
+ var ze = (e, t) => {
14
14
  var n = {};
15
15
  for (var r in e)
16
16
  gt.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -20,31 +20,31 @@ var De = (e, t) => {
20
20
  return n;
21
21
  };
22
22
  var z = (e, t, n) => Ae(e, typeof t != "symbol" ? t + "" : t, n);
23
- var ee = (e, t, n) => new Promise((r, s) => {
24
- var c = (u) => {
23
+ var J = (e, t, n) => new Promise((r, s) => {
24
+ var c = (d) => {
25
25
  try {
26
- p(n.next(u));
27
- } catch (g) {
28
- s(g);
26
+ p(n.next(d));
27
+ } catch (h) {
28
+ s(h);
29
29
  }
30
- }, a = (u) => {
30
+ }, a = (d) => {
31
31
  try {
32
- p(n.throw(u));
33
- } catch (g) {
34
- s(g);
32
+ p(n.throw(d));
33
+ } catch (h) {
34
+ s(h);
35
35
  }
36
- }, p = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(c, a);
36
+ }, p = (d) => d.done ? r(d.value) : Promise.resolve(d.value).then(c, a);
37
37
  p((n = n.apply(e, t)).next());
38
38
  });
39
- import { S as Sn, s as Mn, n as Lt, g as $n, u as ke, a as Tn, b as Ln, p as Rn, Q as Rt, c as En, d as Et, e as fe, w as Je, f as v, h as D, i as L, P as It, T as In, E as Nn, j as Bn, k as Hn, l as Pn, m as Be, B as Fn, M as On, o as pe, q as Nt, r as An, t as Dn, v as zn, x as qn, y as Ce, z as ze, F as Ct, A as C, C as Wn, I as Bt, D as Zn, G as jn, H as Gn, J as xe, K as Vn, L as Un, N as Qn, O as Ht, R as _n, U as Kn } from "./use-common-filters-CxoO7TzT.js";
40
- import { j as o, u as P, c as w, F as Z, e as Pt, i as Ve, f as Xn, h as Jn, k as Yn, t as er } from "./derive-chart-family-DLwnWblo.js";
41
- import * as J from "react";
42
- import { createContext as Ye, useState as O, useCallback as H, useContext as et, useMemo as q, useEffect as we, useRef as he, useLayoutEffect as Ie, forwardRef as tr, memo as nr } from "react";
43
- import { w as rr, x as or, y as ir, T as Ue, t as sr, z as ar } from "./execute-query-CFK2R_1S.js";
44
- import { t as He } from "./widget-composer-Dhl_nmhq.js";
45
- import { w as ts } from "./widget-composer-Dhl_nmhq.js";
39
+ import { S as Tn, s as $n, n as Lt, g as Ln, u as ke, a as Rn, b as En, p as In, Q as Rt, c as Nn, d as Et, e as fe, w as Je, f as v, h as A, i as L, P as It, T as Pn, E as Bn, j as Fn, k as Hn, l as On, m as Be, B as Dn, M as An, o as pe, q as Nt, r as zn, t as qn, v as Wn, x as Zn, y as Ce, z as qe, F as Ct, A as C, C as jn, I as Pt, D as Gn, G as Vn, H as Un, J as xe, K as Qn, L as _n, N as Kn, O as Bt, R as Xn, U as Jn, V as Yn, W as er, X as tr } from "./use-common-filters-D5yiZCTg.js";
40
+ import { j as o, u as F, c as w, F as Z, e as Ft, i as Ie, f as Ht, h as nr, k as rr, t as or } from "./derive-chart-family-DkuTQGOE.js";
41
+ import * as Y from "react";
42
+ import { createContext as Ye, useState as O, useCallback as B, useContext as et, useMemo as q, useEffect as we, useRef as he, useLayoutEffect as Ne, forwardRef as ir, memo as sr } from "react";
43
+ import { w as ar, x as lr, y as cr, T as Ue, t as dr, z as ur } from "./execute-query-l7jejslh.js";
44
+ import { t as Fe } from "./widget-composer-By61s921.js";
45
+ import { w as as } from "./widget-composer-By61s921.js";
46
46
  import { jsx as me } from "react/jsx-runtime";
47
- class lr extends Sn {
47
+ class pr extends Tn {
48
48
  constructor(t, n) {
49
49
  super(), this.client = t, this.setOptions(n), this.bindMethods(), this.updateResult();
50
50
  }
@@ -54,7 +54,7 @@ class lr extends Sn {
54
54
  setOptions(t) {
55
55
  var n;
56
56
  const r = this.options;
57
- this.options = this.client.defaultMutationOptions(t), Mn(r, this.options) || this.client.getMutationCache().notify({
57
+ this.options = this.client.defaultMutationOptions(t), $n(r, this.options) || this.client.getMutationCache().notify({
58
58
  type: "observerOptionsUpdated",
59
59
  mutation: this.currentMutation,
60
60
  observer: this
@@ -87,7 +87,7 @@ class lr extends Sn {
87
87
  })), this.currentMutation.addObserver(this), this.currentMutation.execute();
88
88
  }
89
89
  updateResult() {
90
- const t = this.currentMutation ? this.currentMutation.state : $n(), n = t.status === "loading", r = E(M({}, t), {
90
+ const t = this.currentMutation ? this.currentMutation.state : Ln(), n = t.status === "loading", r = E(M({}, t), {
91
91
  isLoading: n,
92
92
  isPending: n,
93
93
  isSuccess: t.status === "success",
@@ -105,8 +105,8 @@ class lr extends Sn {
105
105
  var n, r, s, c;
106
106
  (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);
107
107
  } else if (t.onError) {
108
- var a, p, u, g;
109
- (a = (p = this.mutateOptions).onError) == null || a.call(p, this.currentResult.error, this.currentResult.variables, this.currentResult.context), (u = (g = this.mutateOptions).onSettled) == null || u.call(g, void 0, this.currentResult.error, this.currentResult.variables, this.currentResult.context);
108
+ var a, p, d, h;
109
+ (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, void 0, this.currentResult.error, this.currentResult.variables, this.currentResult.context);
110
110
  }
111
111
  }
112
112
  t.listeners && this.listeners.forEach(({
@@ -118,48 +118,48 @@ class lr extends Sn {
118
118
  }
119
119
  }
120
120
  function tt(e, t, n) {
121
- const r = Rn(e, t), s = ke({
121
+ const r = In(e, t), s = ke({
122
122
  context: r.context
123
- }), [c] = J.useState(() => new lr(s, r));
124
- J.useEffect(() => {
123
+ }), [c] = Y.useState(() => new pr(s, r));
124
+ Y.useEffect(() => {
125
125
  c.setOptions(r);
126
126
  }, [c, r]);
127
- const a = Tn(J.useCallback((u) => c.subscribe(Lt.batchCalls(u)), [c]), () => c.getCurrentResult(), () => c.getCurrentResult()), p = J.useCallback((u, g) => {
128
- c.mutate(u, g).catch(cr);
127
+ const a = Rn(Y.useCallback((d) => c.subscribe(Lt.batchCalls(d)), [c]), () => c.getCurrentResult(), () => c.getCurrentResult()), p = Y.useCallback((d, h) => {
128
+ c.mutate(d, h).catch(hr);
129
129
  }, [c]);
130
- if (a.error && Ln(c.options.useErrorBoundary, [a.error]))
130
+ if (a.error && En(c.options.useErrorBoundary, [a.error]))
131
131
  throw a.error;
132
132
  return E(M({}, a), {
133
133
  mutate: p,
134
134
  mutateAsync: a.mutate
135
135
  });
136
136
  }
137
- function cr() {
137
+ function hr() {
138
138
  }
139
- const Ft = Ye({}), dr = () => et(Ft), Ot = ({ children: e }) => {
140
- const [t, n] = O({}), r = H(
139
+ const Ot = Ye({}), gr = () => et(Ot), Dt = ({ children: e }) => {
140
+ const [t, n] = O({}), r = B(
141
141
  (a, p) => {
142
- var u;
143
- return `${a}_${(u = p == null ? void 0 : p.dashboardId) != null ? u : ""}`;
142
+ var d;
143
+ return `${a}_${(d = p == null ? void 0 : p.dashboardId) != null ? d : ""}`;
144
144
  },
145
145
  []
146
- ), s = H(
147
- (a, p, u) => {
148
- n((g) => E(M({}, g), {
149
- [r(p, u)]: a
146
+ ), s = B(
147
+ (a, p, d) => {
148
+ n((h) => E(M({}, h), {
149
+ [r(p, d)]: a
150
150
  }));
151
151
  },
152
152
  [r]
153
- ), c = H(
153
+ ), c = B(
154
154
  (a, p) => t[r(a, p)],
155
155
  [t, r]
156
156
  );
157
- return /* @__PURE__ */ o(Ft.Provider, { value: { saveChatId: s, getChatId: c }, children: e });
157
+ return /* @__PURE__ */ o(Ot.Provider, { value: { saveChatId: s, getChatId: c }, children: e });
158
158
  };
159
- class ur {
159
+ class fr {
160
160
  constructor(t, n = !1) {
161
161
  z(this, "httpClient");
162
- z(this, "getChatContexts", () => ee(this, null, function* () {
162
+ z(this, "getChatContexts", () => J(this, null, function* () {
163
163
  return (yield this.httpClient.get("api/datasources//")) || [];
164
164
  }));
165
165
  // ==== /v2/ai endpoints ====
@@ -172,7 +172,7 @@ class ur {
172
172
  console.error("Unable to set llm config", n);
173
173
  }));
174
174
  // ==== /v2/ai/chats endpoints ====
175
- z(this, "getAllChats", () => ee(this, null, function* () {
175
+ z(this, "getAllChats", () => J(this, null, function* () {
176
176
  return this.volatile ? [] : this.httpClient.get("api/v2/ai/chats");
177
177
  }));
178
178
  z(this, "getChatById", (t) => this.httpClient.get(`api/v2/ai/chats/${t}`));
@@ -201,32 +201,32 @@ class ur {
201
201
  this.volatile = n, this.httpClient = t;
202
202
  }
203
203
  }
204
- const pr = new Rt({
204
+ const Cr = new Rt({
205
205
  defaultOptions: {
206
206
  queries: {
207
207
  refetchOnWindowFocus: !1,
208
208
  refetchOnMount: !1
209
209
  }
210
210
  }
211
- }), nt = Ye(void 0), Y = () => et(nt), hr = ({
211
+ }), nt = Ye(void 0), ee = () => et(nt), mr = ({
212
212
  children: e,
213
213
  volatile: t
214
214
  }) => {
215
- const { app: n } = En(), r = q(
216
- () => n ? new ur(n.httpClient, t) : void 0,
215
+ const { app: n } = Nn(), r = q(
216
+ () => n ? new fr(n.httpClient, t) : void 0,
217
217
  [n, t]
218
218
  );
219
- return /* @__PURE__ */ o(nt.Provider, { value: r, children: /* @__PURE__ */ o(Et, { client: pr, children: e }) });
219
+ return /* @__PURE__ */ o(nt.Provider, { value: r, children: /* @__PURE__ */ o(Et, { client: Cr, children: e }) });
220
220
  };
221
- function Z1({ children: e, volatile: t }) {
222
- return /* @__PURE__ */ o(Ot, { children: /* @__PURE__ */ o(hr, { volatile: t, children: e }) });
221
+ function Q1({ children: e, volatile: t }) {
222
+ return /* @__PURE__ */ o(Dt, { children: /* @__PURE__ */ o(mr, { volatile: t, children: e }) });
223
223
  }
224
- function gr(e) {
224
+ function At(e) {
225
225
  var t, n;
226
226
  if ("jaql" in e)
227
227
  return e;
228
228
  {
229
- const r = ir(e.dataSource), { filters: s = [], relations: c } = rr(e.filters), { metadata: a, filterRelations: p } = or(
229
+ const r = cr(e.dataSource), { filters: s = [], relations: c } = ar(e.filters), { metadata: a, filterRelations: p } = lr(
230
230
  {
231
231
  dataSource: e.dataSource,
232
232
  attributes: (t = e.dimensions) != null ? t : [],
@@ -236,18 +236,18 @@ function gr(e) {
236
236
  highlights: []
237
237
  },
238
238
  !0
239
- ), u = {
239
+ ), d = {
240
240
  jaql: {
241
241
  datasource: r,
242
242
  metadata: a,
243
243
  filterRelations: p
244
244
  }
245
245
  };
246
- return e.verbosity && (u.verbosity = e.verbosity), u;
246
+ return e.verbosity && (d.verbosity = e.verbosity), d;
247
247
  }
248
248
  }
249
- const Pe = (e, t = !0) => {
250
- const n = q(() => gr(e), [e]), r = Y(), { data: s, error: c, isError: a, isLoading: p, isSuccess: u, refetch: g } = fe({
249
+ const He = (e, t = !0) => {
250
+ const n = q(() => At(e), [e]), r = ee(), { data: s, error: c, isError: a, isLoading: p, isSuccess: d, refetch: h } = fe({
251
251
  queryKey: ["getNlgInsights", n, r],
252
252
  queryFn: () => r == null ? void 0 : r.ai.getNlgInsights(n),
253
253
  select: (m) => {
@@ -259,19 +259,19 @@ const Pe = (e, t = !0) => {
259
259
  return {
260
260
  isLoading: p,
261
261
  isError: a,
262
- isSuccess: u,
262
+ isSuccess: d,
263
263
  data: s,
264
264
  error: c,
265
- refetch: H(() => {
266
- g();
267
- }, [g])
265
+ refetch: B(() => {
266
+ h();
267
+ }, [h])
268
268
  };
269
- }, fr = (e) => {
270
- const r = e, { enabled: t } = r, n = De(r, ["enabled"]);
271
- return Pe(n, t);
272
- }, j1 = Je("useGetNlgInsights")(
273
- fr
274
- ), Cr = [
269
+ }, br = (e) => {
270
+ const r = e, { enabled: t } = r, n = ze(r, ["enabled"]);
271
+ return He(n, t);
272
+ }, _1 = Je("useGetNlgInsights")(
273
+ br
274
+ ), yr = [
275
275
  "indicator",
276
276
  "column",
277
277
  "line",
@@ -279,7 +279,7 @@ const Pe = (e, t = !0) => {
279
279
  "pie",
280
280
  "bar"
281
281
  ];
282
- function At(e) {
282
+ function zt(e) {
283
283
  const { dataSource: t, query: n, chartTypes: r } = e;
284
284
  return {
285
285
  contextTitle: typeof t == "string" ? t : t.title,
@@ -287,89 +287,89 @@ function At(e) {
287
287
  text: n,
288
288
  // Timezone is not used by AI API, but it is currently required by the endpoint
289
289
  timezone: "UTC",
290
- chartTypes: r != null ? r : [...Cr]
290
+ chartTypes: r != null ? r : [...yr]
291
291
  }
292
292
  };
293
293
  }
294
- function mr(e, t) {
295
- return ee(this, null, function* () {
296
- const { contextTitle: n, request: r } = At(e), s = yield t.ai.getNlqResult(n, r);
294
+ function xr(e, t) {
295
+ return J(this, null, function* () {
296
+ const { contextTitle: n, request: r } = zt(e), s = yield t.ai.getNlqResult(n, r);
297
297
  return {
298
- widgetProps: s ? He(s, {
298
+ widgetProps: s ? Fe(s, {
299
299
  useCustomizedStyleOptions: e.enableAxisTitlesInWidgetProps || !1
300
300
  }) : void 0,
301
301
  nlqResult: s
302
302
  };
303
303
  });
304
304
  }
305
- const br = (e) => {
306
- const { contextTitle: t, request: n } = At(e), r = Y(), s = ["getNlqResult", t, n, r], { isLoading: c, isError: a, isSuccess: p, data: u, error: g, refetch: m } = fe({
305
+ const vr = (e) => {
306
+ const { contextTitle: t, request: n } = zt(e), r = ee(), s = ["getNlqResult", t, n, r], { isLoading: c, isError: a, isSuccess: p, data: d, error: h, refetch: m } = fe({
307
307
  queryKey: s,
308
- queryFn: () => r ? mr(e, r).then((y) => y.widgetProps) : Promise.reject("No API available"),
308
+ queryFn: () => r ? xr(e, r).then((y) => y.widgetProps) : Promise.reject("No API available"),
309
309
  enabled: !!r && e.enabled
310
310
  });
311
311
  return {
312
312
  isLoading: c,
313
313
  isError: a,
314
314
  isSuccess: p,
315
- data: u,
316
- error: g,
317
- refetch: H(() => {
315
+ data: d,
316
+ error: h,
317
+ refetch: B(() => {
318
318
  m();
319
319
  }, [m])
320
320
  };
321
- }, G1 = Je("useGetNlqResult")(br), yr = 4, Dt = (e) => {
322
- const { contextTitle: t, count: n, enableAxisTitlesInWidgetProps: r, enabled: s, customPrompt: c } = e, a = Y(), p = n != null ? n : yr, u = (s === void 0 || s === !0) && p > 0, {
323
- isLoading: g,
321
+ }, K1 = Je("useGetNlqResult")(vr), kr = 4, qt = (e) => {
322
+ const { contextTitle: t, count: n, enableAxisTitlesInWidgetProps: r, enabled: s, customPrompt: c } = e, a = ee(), p = n != null ? n : kr, d = (s === void 0 || s === !0) && p > 0, {
323
+ isLoading: h,
324
324
  isError: m,
325
325
  isSuccess: y,
326
326
  data: i,
327
- error: d,
327
+ error: u,
328
328
  refetch: l
329
329
  } = fe({
330
330
  queryKey: ["getQueryRecommendations", t, p, a],
331
331
  queryFn: () => a == null ? void 0 : a.ai.getQueryRecommendations(t, M({
332
332
  numOfRecommendations: p
333
333
  }, c ? { userPrompt: c } : null)),
334
- enabled: !!a && u
335
- }), f = q(() => i == null ? void 0 : i.map((h) => E(M({}, h), {
336
- widgetProps: h.jaql ? He(h, {
334
+ enabled: !!a && d
335
+ }), f = q(() => i == null ? void 0 : i.map((g) => E(M({}, g), {
336
+ widgetProps: g.jaql ? Fe(g, {
337
337
  useCustomizedStyleOptions: r
338
338
  }) : void 0
339
339
  })), [i, r]);
340
340
  return {
341
- isLoading: u ? g : !1,
341
+ isLoading: d ? h : !1,
342
342
  isError: m,
343
343
  isSuccess: y,
344
344
  data: f != null ? f : void 0,
345
- error: d,
346
- refetch: H(() => {
345
+ error: u,
346
+ refetch: B(() => {
347
347
  l();
348
348
  }, [l])
349
349
  };
350
- }, V1 = Je("useGetQueryRecommendations")(
351
- Dt
352
- ), zt = Object.freeze({
350
+ }, X1 = Je("useGetQueryRecommendations")(
351
+ qt
352
+ ), Wt = Object.freeze({
353
353
  enableFollowupQuestions: !1,
354
354
  enableHeader: !0,
355
355
  enableInsights: !0,
356
356
  numOfRecommendations: 4,
357
357
  numOfRecentPrompts: 5
358
- }), qt = Ye(M({}, zt)), ne = () => et(qt), xr = ({ children: e, value: t }) => {
359
- const { t: n } = P(), r = Object.entries(t).reduce(
358
+ }), Zt = Ye(M({}, Wt)), ne = () => et(Zt), wr = ({ children: e, value: t }) => {
359
+ const { t: n } = F(), r = Object.entries(t).reduce(
360
360
  (s, [c, a]) => (a !== void 0 && (s[c] = a), s),
361
- E(M({}, zt), {
361
+ E(M({}, Wt), {
362
362
  inputPromptText: n("ai.config.inputPromptText"),
363
363
  welcomeText: n("ai.config.welcomeText"),
364
364
  suggestionsWelcomeText: n("ai.config.suggestionsWelcomeText")
365
365
  })
366
366
  );
367
- return /* @__PURE__ */ o(qt.Provider, { value: r, children: e });
368
- }, rt = "chatHistory", vr = (e) => {
369
- const t = Y(), { hideHistory: n } = ne();
367
+ return /* @__PURE__ */ o(Zt.Provider, { value: r, children: e });
368
+ }, rt = "chatHistory", Sr = (e) => {
369
+ const t = ee(), { hideHistory: n } = ne();
370
370
  return fe({
371
371
  queryKey: [rt, e, t],
372
- queryFn: () => ee(void 0, null, function* () {
372
+ queryFn: () => J(void 0, null, function* () {
373
373
  if (!t || !e)
374
374
  return;
375
375
  if (n)
@@ -379,10 +379,10 @@ const br = (e) => {
379
379
  }),
380
380
  enabled: !!t && !!e
381
381
  });
382
- }, Wt = (e) => {
383
- const t = Y(), n = ke();
382
+ }, jt = (e) => {
383
+ const t = ee(), n = ke();
384
384
  return tt({
385
- mutationFn: () => ee(void 0, null, function* () {
385
+ mutationFn: () => J(void 0, null, function* () {
386
386
  if (!(!t || !e))
387
387
  return t.ai.chat.clearHistory(e);
388
388
  }),
@@ -394,7 +394,7 @@ const br = (e) => {
394
394
  }
395
395
  });
396
396
  }, ot = (e) => {
397
- const { data: t, isLoading: n, isError: r } = vr(e), { mutate: s } = Wt(e);
397
+ const { data: t, isLoading: n, isError: r } = Sr(e), { mutate: s } = jt(e);
398
398
  return we(() => {
399
399
  r && s();
400
400
  }, [r, s]), {
@@ -402,18 +402,18 @@ const br = (e) => {
402
402
  isLoading: n,
403
403
  isError: r
404
404
  };
405
- }, kr = () => {
406
- const e = Y(), { data: t, isLoading: n, fetchStatus: r } = fe({
405
+ }, Mr = () => {
406
+ const e = ee(), { data: t, isLoading: n, fetchStatus: r } = fe({
407
407
  queryKey: ["getDataTopics", e],
408
- queryFn: () => ee(void 0, null, function* () {
408
+ queryFn: () => J(void 0, null, function* () {
409
409
  if (e)
410
410
  return e.getChatContexts();
411
411
  }),
412
412
  enabled: !!e
413
413
  });
414
414
  return { data: t, isLoading: n, fetchStatus: r };
415
- }, wr = () => {
416
- const e = Y(), { data: t, isLoading: n } = fe({
415
+ }, Tr = () => {
416
+ const e = ee(), { data: t, isLoading: n } = fe({
417
417
  queryKey: ["getAllChats", e],
418
418
  queryFn: () => e == null ? void 0 : e.ai.chat.getAll(),
419
419
  enabled: !!e
@@ -422,9 +422,9 @@ const br = (e) => {
422
422
  data: t != null ? t : [],
423
423
  isLoading: n
424
424
  };
425
- }, Sr = (e, t, n) => {
426
- const r = ke(), s = Y(), c = tt({
427
- mutationFn: () => ee(void 0, null, function* () {
425
+ }, $r = (e, t, n) => {
426
+ const r = ke(), s = ee(), c = tt({
427
+ mutationFn: () => J(void 0, null, function* () {
428
428
  if (!(!s || !e))
429
429
  return s.ai.chat.create(e, n);
430
430
  }),
@@ -433,7 +433,7 @@ const br = (e) => {
433
433
  return we(() => {
434
434
  t && c.isIdle && c.mutate();
435
435
  }, [t, c]), c;
436
- }, Mr = (e, t) => {
436
+ }, Lr = (e, t) => {
437
437
  switch (e.responseType = e.responseType.toLowerCase(), e.responseType) {
438
438
  case "nlq":
439
439
  return {
@@ -450,89 +450,89 @@ const br = (e) => {
450
450
  default:
451
451
  throw Error(`${t}${JSON.stringify(e)}`);
452
452
  }
453
- }, $r = (e, t) => {
454
- const n = ke(), r = H(
455
- (u) => {
456
- e && n.setQueriesData([rt, e], (g) => g && [...g, u]);
453
+ }, Rr = (e, t) => {
454
+ const n = ke(), r = B(
455
+ (d) => {
456
+ e && n.setQueriesData([rt, e], (h) => h && [...h, d]);
457
457
  },
458
458
  [n, e]
459
- ), { t: s } = P(), c = Y(), { mutate: a, isLoading: p } = tt({
460
- mutationFn: (u) => ee(void 0, null, function* () {
459
+ ), { t: s } = F(), c = ee(), { mutate: a, isLoading: p } = tt({
460
+ mutationFn: (d) => J(void 0, null, function* () {
461
461
  if (!(!c || !e))
462
462
  return c.ai.chat.post(e, {
463
- text: u,
463
+ text: d,
464
464
  options: { enableFollowup: t }
465
465
  });
466
466
  }),
467
- onMutate: (u) => {
467
+ onMutate: (d) => {
468
468
  r({
469
- content: u,
469
+ content: d,
470
470
  role: "user"
471
471
  });
472
472
  },
473
- onError: (u) => {
474
- u instanceof Error && (console.error("Error when sending message:", u.message), r({
475
- content: s(`ai.errors.${u.interpolationOptions.errorCode}`, {
473
+ onError: (d) => {
474
+ d instanceof Error && (console.error("Error when sending message:", d.message), r({
475
+ content: s(`ai.errors.${d.interpolationOptions.errorCode}`, {
476
476
  defaultValue: s("ai.errors.unexpectedChatResponse")
477
477
  }),
478
478
  role: "assistant"
479
479
  }));
480
480
  },
481
- onSuccess: (u) => {
482
- if (!u)
481
+ onSuccess: (d) => {
482
+ if (!d)
483
483
  return;
484
- const g = s("ai.errors.unknownResponse");
485
- r(Mr(u, g));
484
+ const h = s("ai.errors.unknownResponse");
485
+ r(Lr(d, h));
486
486
  }
487
487
  });
488
488
  return { mutate: a, isLoading: p };
489
489
  }, it = (e, t, n = !1) => {
490
490
  var m;
491
- const { data: r, isLoading: s } = wr(), c = dr(), a = c.getChatId(e, t) || ((m = r.find(
491
+ const { data: r, isLoading: s } = Tr(), c = gr(), a = c.getChatId(e, t) || ((m = r.find(
492
492
  (y) => {
493
493
  var i;
494
494
  return y.contextTitle === e && ((i = y.contextDetails) == null ? void 0 : i.dashboardId) === (t == null ? void 0 : t.dashboardId);
495
495
  }
496
- )) == null ? void 0 : m.chatId), { isError: p, data: u, isSuccess: g } = Sr(
496
+ )) == null ? void 0 : m.chatId), { isError: p, data: d, isSuccess: h } = $r(
497
497
  e,
498
498
  n && !s && !a,
499
499
  t
500
500
  );
501
501
  return we(() => {
502
- g && u && !a && c.saveChatId(u.chatId, e, t);
503
- }, [u, g, e, t, a, c]), { chatId: a, isLoading: s, isError: p };
504
- }, Zt = (e) => q(() => {
502
+ h && d && !a && c.saveChatId(d.chatId, e, t);
503
+ }, [d, h, e, t, a, c]), { chatId: a, isLoading: s, isError: p };
504
+ }, Gt = (e) => q(() => {
505
505
  if (e != null && e.length) {
506
506
  const t = e[e.length - 1];
507
507
  if (st(t))
508
508
  return JSON.parse(t.content);
509
509
  }
510
510
  return null;
511
- }, [e]), st = (e) => !!e && "type" in e && e.type === "nlq", Tr = (e) => !!e && "type" in e && e.type === "text", Lr = (e, t) => {
512
- const { t: n } = P(), { enableFollowupQuestions: r } = ne(), { chatId: s, isError: c } = it(e, t, !0), [a, p] = O(null), { history: u, isLoading: g, isError: m } = ot(s);
511
+ }, [e]), st = (e) => !!e && "type" in e && e.type === "nlq", Er = (e) => !!e && "type" in e && e.type === "text", Ir = (e, t) => {
512
+ const { t: n } = F(), { enableFollowupQuestions: r } = ne(), { chatId: s, isError: c } = it(e, t, !0), [a, p] = O(null), { history: d, isLoading: h, isError: m } = ot(s);
513
513
  we(() => {
514
514
  c ? p(new Ue("ai.errors.chatUnavailable")) : m && p(new Ue("ai.errors.fetchHistory"));
515
515
  }, [c, m, n]);
516
- const { mutate: y, isLoading: i } = $r(
516
+ const { mutate: y, isLoading: i } = Rr(
517
517
  s,
518
518
  r
519
- ), d = Zt(u);
519
+ ), u = Gt(d);
520
520
  return {
521
521
  chatId: s,
522
- history: u != null ? u : [],
523
- lastNlqResponse: d,
522
+ history: d != null ? d : [],
523
+ lastNlqResponse: u,
524
524
  sendMessage: y,
525
525
  isAwaitingResponse: i,
526
- isLoading: g,
526
+ isLoading: h,
527
527
  lastError: a
528
528
  };
529
- }, U1 = ({
529
+ }, J1 = ({
530
530
  contextTitle: e,
531
531
  contextDetails: t
532
532
  }) => {
533
533
  const { chatId: n } = it(e, t), { history: r } = ot(n);
534
- return Zt(r);
535
- }, Q1 = ({
534
+ return Gt(r);
535
+ }, Y1 = ({
536
536
  contextTitle: e,
537
537
  contextDetails: t
538
538
  }) => {
@@ -545,7 +545,7 @@ const br = (e) => {
545
545
  }
546
546
  return null;
547
547
  }, [r]);
548
- }, Rr = 500, Er = 500, Ir = 500, Nr = 900, Br = v.div`
548
+ }, Nr = 500, Pr = 500, Br = 500, Fr = 900, Hr = v.div`
549
549
  box-sizing: border-box;
550
550
  position: relative;
551
551
  display: flex;
@@ -555,12 +555,12 @@ const br = (e) => {
555
555
  background-color: ${({ theme: e }) => e.aiChat.backgroundColor};
556
556
  overflow: hidden;
557
557
 
558
- min-width: ${Rr}px;
559
- min-height: ${Er}px;
560
- width: ${({ width: e }) => e ? mt(e) : `${Ir}px`};
561
- height: ${({ height: e }) => e ? mt(e) : `${Nr}px`};
558
+ min-width: ${Nr}px;
559
+ min-height: ${Pr}px;
560
+ width: ${({ width: e }) => e ? mt(e) : `${Br}px`};
561
+ height: ${({ height: e }) => e ? mt(e) : `${Fr}px`};
562
562
 
563
- ${({ theme: e }) => D`
563
+ ${({ theme: e }) => A`
564
564
  font-size: ${e.aiChat.primaryFontSize[0]};
565
565
  line-height: ${e.aiChat.primaryFontSize[1]};
566
566
  `}
@@ -569,7 +569,7 @@ const br = (e) => {
569
569
  function mt(e) {
570
570
  return typeof e == "number" ? `${e}px` : e;
571
571
  }
572
- function Hr({ spin: e }) {
572
+ function Or({ spin: e }) {
573
573
  return /* @__PURE__ */ w(
574
574
  "svg",
575
575
  {
@@ -603,10 +603,10 @@ function Hr({ spin: e }) {
603
603
  }
604
604
  );
605
605
  }
606
- function Fe() {
607
- return /* @__PURE__ */ o("div", { className: "csdk-m-auto", "aria-label": "loading spinner", children: /* @__PURE__ */ o(Hr, { spin: !0 }) });
606
+ function Oe() {
607
+ return /* @__PURE__ */ o("div", { className: "csdk-m-auto", "aria-label": "loading spinner", children: /* @__PURE__ */ o(Or, { spin: !0 }) });
608
608
  }
609
- const Pr = v.div`
609
+ const Dr = v.div`
610
610
  text-align: center;
611
611
  font-size: 11px;
612
612
  line-height: 18px;
@@ -620,9 +620,9 @@ const Pr = v.div`
620
620
 
621
621
  color: ${({ theme: e }) => e.aiChat.secondaryTextColor};
622
622
  `;
623
- function Fr({ theme: e }) {
624
- const { t } = P();
625
- return /* @__PURE__ */ w(Pr, { theme: e, children: [
623
+ function Ar({ theme: e }) {
624
+ const { t } = F();
625
+ return /* @__PURE__ */ w(Dr, { theme: e, children: [
626
626
  /* @__PURE__ */ o("div", { children: t("ai.disclaimer.poweredByAi") }),
627
627
  /* @__PURE__ */ w("div", { children: [
628
628
  " ",
@@ -630,11 +630,11 @@ function Fr({ theme: e }) {
630
630
  ] })
631
631
  ] });
632
632
  }
633
- const Or = v.div`
633
+ const zr = v.div`
634
634
  display: flex;
635
635
  flex-direction: column;
636
636
  row-gap: 4px;
637
- `, Ar = v.div`
637
+ `, qr = v.div`
638
638
  font-size: 11px;
639
639
  line-height: 18px;
640
640
  font-weight: 300;
@@ -644,7 +644,7 @@ const Or = v.div`
644
644
  &:hover {
645
645
  background-color: ${({ theme: e }) => e.aiChat.dropup.headers.hover.backgroundColor};
646
646
  }
647
- `, Dr = v.div`
647
+ `, Wr = v.div`
648
648
  font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
649
649
  line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
650
650
  color: ${({ theme: e }) => e.aiChat.dropup.items.textColor};
@@ -654,19 +654,19 @@ const Or = v.div`
654
654
  background-color: ${({ theme: e }) => e.aiChat.dropup.items.hover.backgroundColor};
655
655
  }
656
656
  `;
657
- function zr({
657
+ function Zr({
658
658
  title: e,
659
659
  items: t,
660
660
  onSelect: n,
661
661
  alwaysExpanded: r = !1
662
662
  }) {
663
663
  const [s, c] = O(!1), { themeSettings: a } = L();
664
- return /* @__PURE__ */ w(Or, { children: [
665
- /* @__PURE__ */ o(Ar, { onClick: () => c((p) => !p), theme: a, children: e.toUpperCase() }),
666
- (s || r) && t.map((p, u) => /* @__PURE__ */ o(Dr, { onClick: () => n(p), theme: a, children: p }, u))
664
+ return /* @__PURE__ */ w(zr, { children: [
665
+ /* @__PURE__ */ o(qr, { onClick: () => c((p) => !p), theme: a, children: e.toUpperCase() }),
666
+ (s || r) && t.map((p, d) => /* @__PURE__ */ o(Wr, { onClick: () => n(p), theme: a, children: p }, d))
667
667
  ] });
668
668
  }
669
- const qr = v.div`
669
+ const jr = v.div`
670
670
  font-family: ${({ theme: e }) => e.typography.fontFamily};
671
671
  font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
672
672
  line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
@@ -678,13 +678,13 @@ const qr = v.div`
678
678
  display: flex;
679
679
  flex-direction: column;
680
680
  row-gap: 4px;
681
- `, Wr = v.div`
681
+ `, Gr = v.div`
682
682
  font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
683
683
  line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
684
684
  color: ${({ theme: e }) => e.aiChat.dropup.items.textColor};
685
685
  padding: 4px 12px;
686
686
  `, Qe = (e) => e.startsWith("/");
687
- function Zr({
687
+ function Vr({
688
688
  recentPrompts: e,
689
689
  suggestions: t,
690
690
  isLoading: n,
@@ -693,7 +693,7 @@ function Zr({
693
693
  text: c,
694
694
  recommendationsError: a
695
695
  }) {
696
- const u = [
696
+ const d = [
697
697
  {
698
698
  title: "/recent searches",
699
699
  items: e,
@@ -706,11 +706,11 @@ function Zr({
706
706
  }
707
707
  ].filter(
708
708
  (i) => i.title.slice(0, c.length) === c
709
- ), { themeSettings: g } = L(), { t: m } = P(), y = u.length === 1;
709
+ ), { themeSettings: h } = L(), { t: m } = F(), y = d.length === 1;
710
710
  return /* @__PURE__ */ o(
711
711
  It,
712
712
  {
713
- open: Qe(c) && u.length > 0,
713
+ open: Qe(c) && d.length > 0,
714
714
  anchorEl: s,
715
715
  placement: "top-start",
716
716
  modifiers: [
@@ -722,19 +722,19 @@ function Zr({
722
722
  }
723
723
  ],
724
724
  sx: { zIndex: 3 },
725
- children: /* @__PURE__ */ w(qr, { style: { width: s == null ? void 0 : s.offsetWidth }, theme: g, children: [
726
- n && /* @__PURE__ */ o(Fe, {}),
727
- !n && !a && u.map((i) => /* @__PURE__ */ o(zr, E(M({}, i), { alwaysExpanded: y }), i.title)),
728
- a && /* @__PURE__ */ o(Wr, { theme: g, children: m("ai.errors.recommendationsNotAvailable") })
725
+ children: /* @__PURE__ */ w(jr, { style: { width: s == null ? void 0 : s.offsetWidth }, theme: h, children: [
726
+ n && /* @__PURE__ */ o(Oe, {}),
727
+ !n && !a && d.map((i) => /* @__PURE__ */ o(Zr, E(M({}, i), { alwaysExpanded: y }), i.title)),
728
+ a && /* @__PURE__ */ o(Gr, { theme: h, children: m("ai.errors.recommendationsNotAvailable") })
729
729
  ] })
730
730
  }
731
731
  );
732
732
  }
733
- const jr = 500;
733
+ const Ur = 500;
734
734
  function Se({ title: e, placement: t = "top", children: n }) {
735
735
  const { themeSettings: r } = L();
736
736
  return /* @__PURE__ */ o(
737
- In,
737
+ Pn,
738
738
  {
739
739
  title: e,
740
740
  placement: t,
@@ -764,7 +764,7 @@ function Se({ title: e, placement: t = "top", children: n }) {
764
764
  }
765
765
  );
766
766
  }
767
- function Gr({ theme: e }) {
767
+ function Qr({ theme: e }) {
768
768
  const t = e.aiChat.icons.color;
769
769
  return /* @__PURE__ */ w("svg", { xmlns: "http://www.w3.org/2000/svg", width: "25", height: "25", viewBox: "0 0 25 25", fill: "none", children: [
770
770
  /* @__PURE__ */ o(
@@ -790,7 +790,7 @@ function Gr({ theme: e }) {
790
790
  )
791
791
  ] });
792
792
  }
793
- function Vr({ theme: e }) {
793
+ function _r({ theme: e }) {
794
794
  return /* @__PURE__ */ o("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ o(
795
795
  "path",
796
796
  {
@@ -799,19 +799,19 @@ function Vr({ theme: e }) {
799
799
  }
800
800
  ) });
801
801
  }
802
- const Ur = v.div`
802
+ const Kr = v.div`
803
803
  display: flex;
804
804
  flex-direction: row;
805
805
  align-items: flex-end;
806
806
  justify-content: space-between;
807
807
 
808
808
  background-color: ${({ theme: e }) => e.aiChat.backgroundColor};
809
- `, Qr = v.button`
809
+ `, Xr = v.button`
810
810
  height: 34px;
811
811
  background-color: inherit;
812
812
  cursor: pointer;
813
813
  border: none;
814
- `, _r = v.textarea`
814
+ `, Jr = v.textarea`
815
815
  font-size: inherit;
816
816
  line-height: inherit;
817
817
  resize: none;
@@ -839,22 +839,22 @@ const Ur = v.div`
839
839
  color: ${({ theme: e }) => e.aiChat.primaryTextColor};
840
840
 
841
841
  background-color: ${({ theme: e }) => e.aiChat.input.backgroundColor};
842
- `, Kr = v.button`
842
+ `, Yr = v.button`
843
843
  height: 34px;
844
844
  background-color: inherit;
845
845
  border-style: none;
846
846
 
847
847
  color: ${({ theme: e }) => e.aiChat.primaryTextColor};
848
848
 
849
- ${({ disabled: e }) => e ? D`
849
+ ${({ disabled: e }) => e ? A`
850
850
  opacity: 0.3;
851
851
  cursor: not-allowed;
852
- ` : D`
852
+ ` : A`
853
853
  opacity: 1;
854
854
  cursor: pointer;
855
855
  `}
856
- `, Xr = 34;
857
- function Jr({
856
+ `, eo = 34;
857
+ function to({
858
858
  onSendMessage: e,
859
859
  onClearHistoryClick: t,
860
860
  disabled: n,
@@ -864,114 +864,114 @@ function Jr({
864
864
  recommendationsError: a,
865
865
  onChange: p
866
866
  }) {
867
- const [u, g] = O(""), { inputPromptText: m } = ne(), y = H(() => {
867
+ const [d, h] = O(""), { inputPromptText: m } = ne(), y = B(() => {
868
868
  if (n) return;
869
- if (Qe(u)) {
870
- g("");
869
+ if (Qe(d)) {
870
+ h("");
871
871
  return;
872
872
  }
873
- const x = u.trim();
874
- x.length !== 0 && (e(x), g(""));
875
- }, [n, e, u]), i = H(
873
+ const x = d.trim();
874
+ x.length !== 0 && (e(x), h(""));
875
+ }, [n, e, d]), i = B(
876
876
  (x) => {
877
- e(x), g("");
877
+ e(x), h("");
878
878
  },
879
879
  [e]
880
- ), d = H(
880
+ ), u = B(
881
881
  (x) => {
882
- x.key === "Enter" ? (x.preventDefault(), y()) : x.key === "Escape" && Qe(u) && g("");
882
+ x.key === "Enter" ? (x.preventDefault(), y()) : x.key === "Escape" && Qe(d) && h("");
883
883
  },
884
- [y, u]
885
- ), l = H(
884
+ [y, d]
885
+ ), l = B(
886
886
  (x) => {
887
- p == null || p(x.target.value), g(x.target.value);
887
+ p == null || p(x.target.value), h(x.target.value);
888
888
  },
889
889
  [p]
890
890
  ), f = he(null);
891
- Ie(() => {
891
+ Ne(() => {
892
892
  f.current && (f.current.style.height = "inherit", f.current.style.height = `${Math.max(
893
893
  f.current.scrollHeight + 2,
894
894
  // account for 1px top/bottom border
895
- Xr
895
+ eo
896
896
  )}px`);
897
- }, [u]), Ie(() => {
897
+ }, [d]), Ne(() => {
898
898
  f.current && f.current.focus({ preventScroll: !0 });
899
899
  }, []);
900
- const { themeSettings: h } = L(), { t: k } = P(), S = H((x) => {
901
- var T;
902
- if ((T = document.getElementById("csdk-chatbot-frame")) != null && T.contains(x.relatedTarget)) {
903
- const R = ($) => {
900
+ const { themeSettings: g } = L(), { t: k } = F(), S = B((x) => {
901
+ var $;
902
+ if (($ = document.getElementById("csdk-chatbot-frame")) != null && $.contains(x.relatedTarget)) {
903
+ const R = (T) => {
904
904
  var I;
905
- document.removeEventListener("mouseup", R), document.removeEventListener("keyup", R), $.type === "mouseup" && ((I = document.getSelection()) == null ? void 0 : I.type) !== "Range" && x.target.focus({ preventScroll: !0 });
905
+ document.removeEventListener("mouseup", R), document.removeEventListener("keyup", R), T.type === "mouseup" && ((I = document.getSelection()) == null ? void 0 : I.type) !== "Range" && x.target.focus({ preventScroll: !0 });
906
906
  };
907
907
  document.addEventListener("mouseup", R), document.addEventListener("keyup", R);
908
908
  }
909
909
  }, []);
910
- return /* @__PURE__ */ w(Ur, { theme: h, children: [
910
+ return /* @__PURE__ */ w(Kr, { theme: g, children: [
911
911
  /* @__PURE__ */ o(
912
- Zr,
912
+ Vr,
913
913
  {
914
914
  recentPrompts: r,
915
915
  suggestions: s,
916
916
  isLoading: c,
917
917
  onSelection: i,
918
918
  anchorEl: f.current,
919
- text: u,
919
+ text: d,
920
920
  recommendationsError: a
921
921
  }
922
922
  ),
923
- t && /* @__PURE__ */ o(Se, { title: k("ai.buttons.clearChat"), placement: "bottom-start", children: /* @__PURE__ */ o(Qr, { "aria-label": "clear history", onClick: t, children: /* @__PURE__ */ o(Gr, { theme: h }) }) }),
923
+ t && /* @__PURE__ */ o(Se, { title: k("ai.buttons.clearChat"), placement: "bottom-start", children: /* @__PURE__ */ o(Xr, { "aria-label": "clear history", onClick: t, children: /* @__PURE__ */ o(Qr, { theme: g }) }) }),
924
924
  /* @__PURE__ */ o(
925
- _r,
925
+ Jr,
926
926
  {
927
927
  "aria-label": "chat input",
928
928
  onBlur: S,
929
- maxLength: jr,
929
+ maxLength: Ur,
930
930
  ref: f,
931
931
  rows: 1,
932
932
  onChange: l,
933
933
  spellCheck: "true",
934
934
  placeholder: m,
935
- value: u,
936
- onKeyDown: d,
937
- theme: h
935
+ value: d,
936
+ onKeyDown: u,
937
+ theme: g
938
938
  }
939
939
  ),
940
940
  /* @__PURE__ */ o(
941
- Kr,
941
+ Yr,
942
942
  {
943
943
  "aria-label": "send chat message",
944
- disabled: n || u.length === 0,
944
+ disabled: n || d.length === 0,
945
945
  onClick: y,
946
- theme: h,
947
- children: /* @__PURE__ */ o("span", { "data-state": "closed", children: /* @__PURE__ */ o(Vr, { theme: h }) })
946
+ theme: g,
947
+ children: /* @__PURE__ */ o("span", { "data-state": "closed", children: /* @__PURE__ */ o(_r, { theme: g }) })
948
948
  }
949
949
  )
950
950
  ] });
951
951
  }
952
- const Yr = v.div`
952
+ const no = v.div`
953
953
  margin: auto;
954
954
  display: flex;
955
955
  flex-direction: column;
956
956
  align-items: center;
957
957
  row-gap: 21px;
958
- `, eo = v.div`
958
+ `, ro = v.div`
959
959
  color: ${({ theme: e }) => e.aiChat.primaryTextColor};
960
960
  text-align: center;
961
961
  font-weight: 600;
962
- `, to = v.div`
962
+ `, oo = v.div`
963
963
  color: rgba(54, 163, 217, 1);
964
964
  cursor: pointer;
965
965
  `;
966
- function jt({ text: e, action: t }) {
966
+ function Vt({ text: e, action: t }) {
967
967
  const { themeSettings: n } = L();
968
- return /* @__PURE__ */ w(Yr, { children: [
969
- /* @__PURE__ */ o(eo, { theme: n, children: e }),
970
- /* @__PURE__ */ o(Nn, {}),
971
- t && /* @__PURE__ */ o(to, { onClick: t.onClick, children: t.text })
968
+ return /* @__PURE__ */ w(no, { children: [
969
+ /* @__PURE__ */ o(ro, { theme: n, children: e }),
970
+ /* @__PURE__ */ o(Bn, {}),
971
+ t && /* @__PURE__ */ o(oo, { onClick: t.onClick, children: t.text })
972
972
  ] });
973
973
  }
974
- const no = v.div`
974
+ const io = v.div`
975
975
  flex: 0 0 80px;
976
976
  padding-left: 14px;
977
977
  padding-right: 14px;
@@ -980,17 +980,17 @@ const no = v.div`
980
980
  position: relative;
981
981
 
982
982
  background-color: ${({ style: e }) => e.backgroundColor};
983
- `, ro = v.div`
983
+ `, so = v.div`
984
984
  font-size: 18px;
985
985
  line-height: 22px;
986
986
  font-weight: 600;
987
987
  margin-left: 20px;
988
988
 
989
989
  color: ${({ style: e }) => e.textColor};
990
- `, Gt = tr(function({ title: t, leftNav: n, rightNav: r, style: s }, c) {
991
- return /* @__PURE__ */ w(no, { ref: c, style: s, children: [
990
+ `, Ut = ir(function({ title: t, leftNav: n, rightNav: r, style: s }, c) {
991
+ return /* @__PURE__ */ w(io, { ref: c, style: s, children: [
992
992
  n,
993
- /* @__PURE__ */ o(ro, { style: s, children: t }),
993
+ /* @__PURE__ */ o(so, { style: s, children: t }),
994
994
  r && /* @__PURE__ */ o("div", { className: "csdk-ml-auto", children: r })
995
995
  ] });
996
996
  }), Re = v.div`
@@ -1047,56 +1047,56 @@ function le() {
1047
1047
  return e;
1048
1048
  }, le.apply(this, arguments);
1049
1049
  }
1050
- const oo = ["children", "options"], b = { blockQuote: "0", breakLine: "1", breakThematic: "2", codeBlock: "3", codeFenced: "4", codeInline: "5", footnote: "6", footnoteReference: "7", gfmTask: "8", heading: "9", headingSetext: "10", htmlBlock: "11", htmlComment: "12", htmlSelfClosing: "13", image: "14", link: "15", linkAngleBraceStyleDetector: "16", linkBareUrlDetector: "17", linkMailtoDetector: "18", newlineCoalescer: "19", orderedList: "20", paragraph: "21", ref: "22", refImage: "23", refLink: "24", table: "25", tableSeparator: "26", text: "27", textBolded: "28", textEmphasized: "29", textEscaped: "30", textMarked: "31", textStrikethroughed: "32", unorderedList: "33" };
1050
+ const ao = ["children", "options"], b = { blockQuote: "0", breakLine: "1", breakThematic: "2", codeBlock: "3", codeFenced: "4", codeInline: "5", footnote: "6", footnoteReference: "7", gfmTask: "8", heading: "9", headingSetext: "10", htmlBlock: "11", htmlComment: "12", htmlSelfClosing: "13", image: "14", link: "15", linkAngleBraceStyleDetector: "16", linkBareUrlDetector: "17", linkMailtoDetector: "18", newlineCoalescer: "19", orderedList: "20", paragraph: "21", ref: "22", refImage: "23", refLink: "24", table: "25", tableSeparator: "26", text: "27", textBolded: "28", textEmphasized: "29", textEscaped: "30", textMarked: "31", textStrikethroughed: "32", unorderedList: "33" };
1051
1051
  var bt;
1052
1052
  (function(e) {
1053
1053
  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";
1054
1054
  })(bt || (bt = {}));
1055
- const yt = ["allowFullScreen", "allowTransparency", "autoComplete", "autoFocus", "autoPlay", "cellPadding", "cellSpacing", "charSet", "classId", "colSpan", "contentEditable", "contextMenu", "crossOrigin", "encType", "formAction", "formEncType", "formMethod", "formNoValidate", "formTarget", "frameBorder", "hrefLang", "inputMode", "keyParams", "keyType", "marginHeight", "marginWidth", "maxLength", "mediaGroup", "minLength", "noValidate", "radioGroup", "readOnly", "rowSpan", "spellCheck", "srcDoc", "srcLang", "srcSet", "tabIndex", "useMap"].reduce((e, t) => (e[t.toLowerCase()] = t, e), { class: "className", for: "htmlFor" }), xt = { amp: "&", apos: "'", gt: ">", lt: "<", nbsp: " ", quot: "“" }, io = ["style", "script"], so = ["src", "href", "data", "formAction", "srcDoc", "action"], ao = /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi, lo = /mailto:/i, co = /\n{2,}$/, Vt = /^(\s*>[\s\S]*?)(?=\n\n|$)/, uo = /^ *> ?/gm, po = /^(?:\[!([^\]]*)\]\n)?([\s\S]*)/, ho = /^ {2,}\n/, go = /^(?:( *[-*_])){3,} *(?:\n *)+\n/, Ut = /^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/, Qt = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/, fo = /^(`+)((?:\\`|(?!\1)`|[^`])+)\1/, Co = /^(?:\n *)*\n/, mo = /\r\n?/g, bo = /^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/, yo = /^\[\^([^\]]+)]/, xo = /\f/g, vo = /^---[ \t]*\n(.|\n)*\n---[ \t]*\n/, ko = /^\s*?\[(x|\s)\]/, _t = /^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, Kt = /^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, Xt = /^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/, _e = /^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i, wo = /&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi, Jt = /^<!--[\s\S]*?(?:-->)/, So = /^(data|aria|x)-[a-z_][a-z\d_.-]*$/, Ke = /^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i, Mo = /^\{.*\}$/, $o = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/, To = /^<([^ >]+@[^ >]+)>/, Lo = /^<([^ >]+:\/[^ >]+)>/, Ro = /-([a-z])?/gi, Yt = /^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/, Eo = /^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/, Io = /^!\[([^\]]*)\] ?\[([^\]]*)\]/, No = /^\[([^\]]*)\] ?\[([^\]]*)\]/, Bo = /(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/, Ho = /\t/g, Po = /(^ *\||\| *$)/g, Fo = /^ *:-+: *$/, Oo = /^ *:-+ *$/, Ao = /^ *-+: *$/, Oe = "((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|\\\\\\1|[\\s\\S])+?)", Do = new RegExp(`^([*_])\\1${Oe}\\1\\1(?!\\1)`), zo = new RegExp(`^([*_])${Oe}\\1(?!\\1)`), qo = new RegExp(`^(==)${Oe}\\1`), Wo = new RegExp(`^(~~)${Oe}\\1`), Zo = /^\\([^0-9A-Za-z\s])/, vt = /\\([^0-9A-Za-z\s])/g, jo = /^([\s\S](?:(?! |[0-9]\.)[^=*_~\-\n<`\\\[!])*)/, Go = /^\n+/, Vo = /^([ \t]*)/, Uo = /\\([^\\])/g, Qo = /(?:^|\n)( *)$/, lt = "(?:\\d+\\.)", ct = "(?:[*+-])";
1056
- function en(e) {
1055
+ const yt = ["allowFullScreen", "allowTransparency", "autoComplete", "autoFocus", "autoPlay", "cellPadding", "cellSpacing", "charSet", "classId", "colSpan", "contentEditable", "contextMenu", "crossOrigin", "encType", "formAction", "formEncType", "formMethod", "formNoValidate", "formTarget", "frameBorder", "hrefLang", "inputMode", "keyParams", "keyType", "marginHeight", "marginWidth", "maxLength", "mediaGroup", "minLength", "noValidate", "radioGroup", "readOnly", "rowSpan", "spellCheck", "srcDoc", "srcLang", "srcSet", "tabIndex", "useMap"].reduce((e, t) => (e[t.toLowerCase()] = t, e), { class: "className", for: "htmlFor" }), xt = { amp: "&", apos: "'", gt: ">", lt: "<", nbsp: " ", quot: "“" }, lo = ["style", "script"], co = ["src", "href", "data", "formAction", "srcDoc", "action"], uo = /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi, po = /mailto:/i, ho = /\n{2,}$/, Qt = /^(\s*>[\s\S]*?)(?=\n\n|$)/, go = /^ *> ?/gm, fo = /^(?:\[!([^\]]*)\]\n)?([\s\S]*)/, Co = /^ {2,}\n/, mo = /^(?:( *[-*_])){3,} *(?:\n *)+\n/, _t = /^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/, Kt = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/, bo = /^(`+)((?:\\`|(?!\1)`|[^`])+)\1/, yo = /^(?:\n *)*\n/, xo = /\r\n?/g, vo = /^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/, ko = /^\[\^([^\]]+)]/, wo = /\f/g, So = /^---[ \t]*\n(.|\n)*\n---[ \t]*\n/, Mo = /^\s*?\[(x|\s)\]/, Xt = /^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, Jt = /^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, Yt = /^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/, _e = /^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i, To = /&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi, en = /^<!--[\s\S]*?(?:-->)/, $o = /^(data|aria|x)-[a-z_][a-z\d_.-]*$/, Ke = /^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i, Lo = /^\{.*\}$/, Ro = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/, Eo = /^<([^ >]+@[^ >]+)>/, Io = /^<([^ >]+:\/[^ >]+)>/, No = /-([a-z])?/gi, tn = /^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/, Po = /^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/, Bo = /^!\[([^\]]*)\] ?\[([^\]]*)\]/, Fo = /^\[([^\]]*)\] ?\[([^\]]*)\]/, Ho = /(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/, Oo = /\t/g, Do = /(^ *\||\| *$)/g, Ao = /^ *:-+: *$/, zo = /^ *:-+ *$/, qo = /^ *-+: *$/, De = "((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|\\\\\\1|[\\s\\S])+?)", Wo = new RegExp(`^([*_])\\1${De}\\1\\1(?!\\1)`), Zo = new RegExp(`^([*_])${De}\\1(?!\\1)`), jo = new RegExp(`^(==)${De}\\1`), Go = new RegExp(`^(~~)${De}\\1`), Vo = /^\\([^0-9A-Za-z\s])/, vt = /\\([^0-9A-Za-z\s])/g, Uo = /^([\s\S](?:(?! |[0-9]\.)[^=*_~\-\n<`\\\[!])*)/, Qo = /^\n+/, _o = /^([ \t]*)/, Ko = /\\([^\\])/g, Xo = /(?:^|\n)( *)$/, lt = "(?:\\d+\\.)", ct = "(?:[*+-])";
1056
+ function nn(e) {
1057
1057
  return "( *)(" + (e === 1 ? lt : ct) + ") +";
1058
1058
  }
1059
- const tn = en(1), nn = en(2);
1060
- function rn(e) {
1061
- return new RegExp("^" + (e === 1 ? tn : nn));
1059
+ const rn = nn(1), on = nn(2);
1060
+ function sn(e) {
1061
+ return new RegExp("^" + (e === 1 ? rn : on));
1062
1062
  }
1063
- const _o = rn(1), Ko = rn(2);
1064
- function on(e) {
1065
- return new RegExp("^" + (e === 1 ? tn : nn) + "[^\\n]*(?:\\n(?!\\1" + (e === 1 ? lt : ct) + " )[^\\n]*)*(\\n|$)", "gm");
1063
+ const Jo = sn(1), Yo = sn(2);
1064
+ function an(e) {
1065
+ return new RegExp("^" + (e === 1 ? rn : on) + "[^\\n]*(?:\\n(?!\\1" + (e === 1 ? lt : ct) + " )[^\\n]*)*(\\n|$)", "gm");
1066
1066
  }
1067
- const Xo = on(1), Jo = on(2);
1068
- function sn(e) {
1067
+ const ei = an(1), ti = an(2);
1068
+ function ln(e) {
1069
1069
  const t = e === 1 ? lt : ct;
1070
1070
  return new RegExp("^( *)(" + t + ") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1" + t + " (?!" + t + " ))\\n*|\\s*\\n*$)");
1071
1071
  }
1072
- const an = sn(1), ln = sn(2);
1072
+ const cn = ln(1), dn = ln(2);
1073
1073
  function kt(e, t) {
1074
- const n = t === 1, r = n ? an : ln, s = n ? Xo : Jo, c = n ? _o : Ko;
1074
+ const n = t === 1, r = n ? cn : dn, s = n ? ei : ti, c = n ? Jo : Yo;
1075
1075
  return { match: ge(function(a, p) {
1076
- const u = Qo.exec(p.prevCapture);
1077
- return u && (p.list || !p.inline && !p.simple) ? r.exec(a = u[1] + a) : null;
1078
- }), order: 1, parse(a, p, u) {
1079
- const g = n ? +a[2] : void 0, m = a[0].replace(co, `
1076
+ const d = Xo.exec(p.prevCapture);
1077
+ return d && (p.list || !p.inline && !p.simple) ? r.exec(a = d[1] + a) : null;
1078
+ }), order: 1, parse(a, p, d) {
1079
+ const h = n ? +a[2] : void 0, m = a[0].replace(ho, `
1080
1080
  `).match(s);
1081
1081
  let y = !1;
1082
- return { items: m.map(function(i, d) {
1083
- const l = c.exec(i)[0].length, f = new RegExp("^ {1," + l + "}", "gm"), h = i.replace(f, "").replace(c, ""), k = d === m.length - 1, S = h.indexOf(`
1082
+ return { items: m.map(function(i, u) {
1083
+ const l = c.exec(i)[0].length, f = new RegExp("^ {1," + l + "}", "gm"), g = i.replace(f, "").replace(c, ""), k = u === m.length - 1, S = g.indexOf(`
1084
1084
 
1085
1085
  `) !== -1 || k && y;
1086
1086
  y = S;
1087
- const x = u.inline, T = u.list;
1087
+ const x = d.inline, $ = d.list;
1088
1088
  let R;
1089
- u.list = !0, S ? (u.inline = !1, R = ve(h) + `
1089
+ d.list = !0, S ? (d.inline = !1, R = ve(g) + `
1090
1090
 
1091
- `) : (u.inline = !0, R = ve(h));
1092
- const $ = p(R, u);
1093
- return u.inline = x, u.list = T, $;
1094
- }), ordered: n, start: g };
1095
- }, render: (a, p, u) => e(a.ordered ? "ol" : "ul", { key: u.key, start: a.type === b.orderedList ? a.start : void 0 }, a.items.map(function(g, m) {
1096
- return e("li", { key: m }, p(g, u));
1091
+ `) : (d.inline = !0, R = ve(g));
1092
+ const T = p(R, d);
1093
+ return d.inline = x, d.list = $, T;
1094
+ }), ordered: n, start: h };
1095
+ }, render: (a, p, d) => e(a.ordered ? "ol" : "ul", { key: d.key, start: a.type === b.orderedList ? a.start : void 0 }, a.items.map(function(h, m) {
1096
+ return e("li", { key: m }, p(h, d));
1097
1097
  })) };
1098
1098
  }
1099
- const Yo = new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`), ei = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, cn = [Vt, Ut, Qt, _t, Xt, Kt, Yt, an, ln], ti = [...cn, /^[^\n]+(?: \n|\n{2,})/, _e, Jt, Ke];
1099
+ const ni = new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`), ri = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, un = [Qt, _t, Kt, Xt, Yt, Jt, tn, cn, dn], oi = [...un, /^[^\n]+(?: \n|\n{2,})/, _e, en, Ke];
1100
1100
  function ve(e) {
1101
1101
  let t = e.length;
1102
1102
  for (; t > 0 && e[t - 1] <= " "; ) t--;
@@ -1105,8 +1105,8 @@ function ve(e) {
1105
1105
  function be(e) {
1106
1106
  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();
1107
1107
  }
1108
- function ni(e) {
1109
- return Ao.test(e) ? "right" : Fo.test(e) ? "center" : Oo.test(e) ? "left" : null;
1108
+ function ii(e) {
1109
+ return qo.test(e) ? "right" : Ao.test(e) ? "center" : zo.test(e) ? "left" : null;
1110
1110
  }
1111
1111
  function wt(e, t, n, r) {
1112
1112
  const s = n.inTable;
@@ -1114,19 +1114,19 @@ function wt(e, t, n, r) {
1114
1114
  let c = [[]], a = "";
1115
1115
  function p() {
1116
1116
  if (!a) return;
1117
- const u = c[c.length - 1];
1118
- u.push.apply(u, t(a, n)), a = "";
1117
+ const d = c[c.length - 1];
1118
+ d.push.apply(d, t(a, n)), a = "";
1119
1119
  }
1120
- return e.trim().split(/(`[^`]*`|\\\||\|)/).filter(Boolean).forEach((u, g, m) => {
1121
- u.trim() === "|" && (p(), r) ? g !== 0 && g !== m.length - 1 && c.push([]) : a += u;
1120
+ return e.trim().split(/(`[^`]*`|\\\||\|)/).filter(Boolean).forEach((d, h, m) => {
1121
+ d.trim() === "|" && (p(), r) ? h !== 0 && h !== m.length - 1 && c.push([]) : a += d;
1122
1122
  }), p(), n.inTable = s, c;
1123
1123
  }
1124
- function ri(e, t, n) {
1124
+ function si(e, t, n) {
1125
1125
  n.inline = !0;
1126
- const r = e[2] ? e[2].replace(Po, "").split("|").map(ni) : [], s = e[3] ? function(a, p, u) {
1126
+ const r = e[2] ? e[2].replace(Do, "").split("|").map(ii) : [], s = e[3] ? function(a, p, d) {
1127
1127
  return a.trim().split(`
1128
- `).map(function(g) {
1129
- return wt(g, p, u, !0);
1128
+ `).map(function(h) {
1129
+ return wt(h, p, d, !0);
1130
1130
  });
1131
1131
  }(e[3], t, n) : [], c = wt(e[1], t, n, !!s.length);
1132
1132
  return n.inline = !1, s.length ? { align: r, cells: s, header: c, type: b.table } : { children: c, type: b.paragraph };
@@ -1157,27 +1157,27 @@ function ye(e) {
1157
1157
  return e.exec(t);
1158
1158
  });
1159
1159
  }
1160
- function oi(e, t) {
1160
+ function ai(e, t) {
1161
1161
  if (t.inline || t.simple) return null;
1162
1162
  let n = "";
1163
1163
  e.split(`
1164
1164
  `).every((s) => (s += `
1165
- `, !cn.some((c) => c.test(s)) && (n += s, !!s.trim())));
1165
+ `, !un.some((c) => c.test(s)) && (n += s, !!s.trim())));
1166
1166
  const r = ve(n);
1167
1167
  return r == "" ? null : [n, , r];
1168
1168
  }
1169
- const ii = /(javascript|vbscript|data(?!:image)):/i;
1170
- function si(e) {
1169
+ const li = /(javascript|vbscript|data(?!:image)):/i;
1170
+ function ci(e) {
1171
1171
  try {
1172
1172
  const t = decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g, "");
1173
- if (ii.test(t)) return null;
1173
+ if (li.test(t)) return null;
1174
1174
  } catch (t) {
1175
1175
  return null;
1176
1176
  }
1177
1177
  return e;
1178
1178
  }
1179
1179
  function Mt(e) {
1180
- return e.replace(Uo, "$1");
1180
+ return e.replace(Ko, "$1");
1181
1181
  }
1182
1182
  function Ee(e, t, n) {
1183
1183
  const r = n.inline || !1, s = n.simple || !1;
@@ -1185,82 +1185,82 @@ function Ee(e, t, n) {
1185
1185
  const c = e(t, n);
1186
1186
  return n.inline = r, n.simple = s, c;
1187
1187
  }
1188
- function ai(e, t, n) {
1188
+ function di(e, t, n) {
1189
1189
  const r = n.inline || !1, s = n.simple || !1;
1190
1190
  n.inline = !1, n.simple = !0;
1191
1191
  const c = e(t, n);
1192
1192
  return n.inline = r, n.simple = s, c;
1193
1193
  }
1194
- function li(e, t, n) {
1194
+ function ui(e, t, n) {
1195
1195
  const r = n.inline || !1;
1196
1196
  n.inline = !1;
1197
1197
  const s = e(t, n);
1198
1198
  return n.inline = r, s;
1199
1199
  }
1200
- const qe = (e, t, n) => ({ children: Ee(t, e[2], n) });
1201
- function We() {
1200
+ const We = (e, t, n) => ({ children: Ee(t, e[2], n) });
1201
+ function Ze() {
1202
1202
  return {};
1203
1203
  }
1204
- function Ze() {
1204
+ function je() {
1205
1205
  return null;
1206
1206
  }
1207
- function ci(...e) {
1207
+ function pi(...e) {
1208
1208
  return e.filter(Boolean).join(" ");
1209
1209
  }
1210
- function je(e, t, n) {
1210
+ function Ge(e, t, n) {
1211
1211
  let r = e;
1212
1212
  const s = t.split(".");
1213
1213
  for (; s.length && (r = r[s[0]], r !== void 0); ) s.shift();
1214
1214
  return r || n;
1215
1215
  }
1216
- function di(e = "", t = {}) {
1217
- function n(i, d, ...l) {
1218
- const f = je(t.overrides, `${i}.props`, {});
1219
- return t.createElement(function(h, k) {
1220
- const S = je(k, h);
1221
- return S ? typeof S == "function" || typeof S == "object" && "render" in S ? S : je(k, `${h}.component`, h) : h;
1222
- }(i, t.overrides), le({}, d, f, { className: ci(d == null ? void 0 : d.className, f.className) || void 0 }), ...l);
1216
+ function hi(e = "", t = {}) {
1217
+ function n(i, u, ...l) {
1218
+ const f = Ge(t.overrides, `${i}.props`, {});
1219
+ return t.createElement(function(g, k) {
1220
+ const S = Ge(k, g);
1221
+ return S ? typeof S == "function" || typeof S == "object" && "render" in S ? S : Ge(k, `${g}.component`, g) : g;
1222
+ }(i, t.overrides), le({}, u, f, { className: pi(u == null ? void 0 : u.className, f.className) || void 0 }), ...l);
1223
1223
  }
1224
1224
  function r(i) {
1225
- i = i.replace(vo, "");
1226
- let d = !1;
1227
- t.forceInline ? d = !0 : t.forceBlock || (d = Bo.test(i) === !1);
1228
- const l = g(u(d ? i : `${ve(i).replace(Go, "")}
1225
+ i = i.replace(So, "");
1226
+ let u = !1;
1227
+ t.forceInline ? u = !0 : t.forceBlock || (u = Ho.test(i) === !1);
1228
+ const l = h(d(u ? i : `${ve(i).replace(Qo, "")}
1229
1229
 
1230
- `, { inline: d }));
1230
+ `, { inline: u }));
1231
1231
  for (; typeof l[l.length - 1] == "string" && !l[l.length - 1].trim(); ) l.pop();
1232
1232
  if (t.wrapper === null) return l;
1233
- const f = t.wrapper || (d ? "span" : "div");
1234
- let h;
1235
- if (l.length > 1 || t.forceWrapper) h = l;
1233
+ const f = t.wrapper || (u ? "span" : "div");
1234
+ let g;
1235
+ if (l.length > 1 || t.forceWrapper) g = l;
1236
1236
  else {
1237
- if (l.length === 1) return h = l[0], typeof h == "string" ? n("span", { key: "outer" }, h) : h;
1238
- h = null;
1237
+ if (l.length === 1) return g = l[0], typeof g == "string" ? n("span", { key: "outer" }, g) : g;
1238
+ g = null;
1239
1239
  }
1240
- return t.createElement(f, { key: "outer" }, h);
1240
+ return t.createElement(f, { key: "outer" }, g);
1241
1241
  }
1242
- function s(i, d) {
1243
- const l = d.match(ao);
1244
- return l ? l.reduce(function(f, h) {
1245
- const k = h.indexOf("=");
1242
+ function s(i, u) {
1243
+ const l = u.match(uo);
1244
+ return l ? l.reduce(function(f, g) {
1245
+ const k = g.indexOf("=");
1246
1246
  if (k !== -1) {
1247
- const S = function($) {
1248
- return $.indexOf("-") !== -1 && $.match(So) === null && ($ = $.replace(Ro, function(I, F) {
1249
- return F.toUpperCase();
1250
- })), $;
1251
- }(h.slice(0, k)).trim(), x = function($) {
1252
- const I = $[0];
1253
- return (I === '"' || I === "'") && $.length >= 2 && $[$.length - 1] === I ? $.slice(1, -1) : $;
1254
- }(h.slice(k + 1).trim()), T = yt[S] || S;
1255
- if (T === "ref") return f;
1256
- const R = f[T] = function($, I, F, ae) {
1247
+ const S = function(T) {
1248
+ return T.indexOf("-") !== -1 && T.match($o) === null && (T = T.replace(No, function(I, H) {
1249
+ return H.toUpperCase();
1250
+ })), T;
1251
+ }(g.slice(0, k)).trim(), x = function(T) {
1252
+ const I = T[0];
1253
+ return (I === '"' || I === "'") && T.length >= 2 && T[T.length - 1] === I ? T.slice(1, -1) : T;
1254
+ }(g.slice(k + 1).trim()), $ = yt[S] || S;
1255
+ if ($ === "ref") return f;
1256
+ const R = f[$] = function(T, I, H, ae) {
1257
1257
  return I === "style" ? function(Q) {
1258
1258
  const j = [];
1259
1259
  let W = "", V = !1, N = !1, _ = "";
1260
1260
  if (!Q) return j;
1261
1261
  for (let U = 0; U < Q.length; U++) {
1262
- const A = Q[U];
1263
- if (A !== '"' && A !== "'" || V || (N ? A === _ && (N = !1, _ = "") : (N = !0, _ = A)), A === "(" && W.endsWith("url") ? V = !0 : A === ")" && V && (V = !1), A !== ";" || N || V) W += A;
1262
+ const D = Q[U];
1263
+ if (D !== '"' && D !== "'" || V || (N ? D === _ && (N = !1, _ = "") : (N = !0, _ = D)), D === "(" && W.endsWith("url") ? V = !0 : D === ")" && V && (V = !1), D !== ";" || N || V) W += D;
1264
1264
  else {
1265
1265
  const G = W.trim();
1266
1266
  if (G) {
@@ -1277,121 +1277,121 @@ function di(e = "", t = {}) {
1277
1277
  if (K) {
1278
1278
  const U = K.indexOf(":");
1279
1279
  if (U > 0) {
1280
- const A = K.slice(0, U).trim(), G = K.slice(U + 1).trim();
1281
- j.push([A, G]);
1280
+ const D = K.slice(0, U).trim(), G = K.slice(U + 1).trim();
1281
+ j.push([D, G]);
1282
1282
  }
1283
1283
  }
1284
1284
  return j;
1285
- }(F).reduce(function(Q, [j, W]) {
1286
- return Q[j.replace(/(-[a-z])/g, (V) => V[1].toUpperCase())] = ae(W, $, j), Q;
1287
- }, {}) : so.indexOf(I) !== -1 ? ae(F, $, I) : (F.match(Mo) && (F = F.slice(1, F.length - 1)), F === "true" || F !== "false" && F);
1285
+ }(H).reduce(function(Q, [j, W]) {
1286
+ return Q[j.replace(/(-[a-z])/g, (V) => V[1].toUpperCase())] = ae(W, T, j), Q;
1287
+ }, {}) : co.indexOf(I) !== -1 ? ae(H, T, I) : (H.match(Lo) && (H = H.slice(1, H.length - 1)), H === "true" || H !== "false" && H);
1288
1288
  }(i, S, x, t.sanitizer);
1289
- typeof R == "string" && (_e.test(R) || Ke.test(R)) && (f[T] = r(R.trim()));
1290
- } else h !== "style" && (f[yt[h] || h] = !0);
1289
+ typeof R == "string" && (_e.test(R) || Ke.test(R)) && (f[$] = r(R.trim()));
1290
+ } else g !== "style" && (f[yt[g] || g] = !0);
1291
1291
  return f;
1292
1292
  }, {}) : null;
1293
1293
  }
1294
- t.overrides = t.overrides || {}, t.sanitizer = t.sanitizer || si, t.slugify = t.slugify || be, t.namedCodesToUnicode = t.namedCodesToUnicode ? le({}, xt, t.namedCodesToUnicode) : xt, t.createElement = t.createElement || J.createElement;
1295
- const c = [], a = {}, p = { [b.blockQuote]: { match: te(Vt), order: 1, parse(i, d, l) {
1296
- const [, f, h] = i[0].replace(uo, "").match(po);
1297
- return { alert: f, children: d(h, l) };
1298
- }, render(i, d, l) {
1294
+ t.overrides = t.overrides || {}, t.sanitizer = t.sanitizer || ci, t.slugify = t.slugify || be, t.namedCodesToUnicode = t.namedCodesToUnicode ? le({}, xt, t.namedCodesToUnicode) : xt, t.createElement = t.createElement || Y.createElement;
1295
+ const c = [], a = {}, p = { [b.blockQuote]: { match: te(Qt), order: 1, parse(i, u, l) {
1296
+ const [, f, g] = i[0].replace(go, "").match(fo);
1297
+ return { alert: f, children: u(g, l) };
1298
+ }, render(i, u, l) {
1299
1299
  const f = { key: l.key };
1300
- return i.alert && (f.className = "markdown-alert-" + t.slugify(i.alert.toLowerCase(), be), i.children.unshift({ attrs: {}, children: [{ type: b.text, text: i.alert }], noInnerParse: !0, type: b.htmlBlock, tag: "header" })), n("blockquote", f, d(i.children, l));
1301
- } }, [b.breakLine]: { match: ye(ho), order: 1, parse: We, render: (i, d, l) => n("br", { key: l.key }) }, [b.breakThematic]: { match: te(go), order: 1, parse: We, render: (i, d, l) => n("hr", { key: l.key }) }, [b.codeBlock]: { match: te(Qt), order: 0, parse: (i) => ({ lang: void 0, text: ve(i[0].replace(/^ {4}/gm, "")).replace(vt, "$1") }), render: (i, d, l) => n("pre", { key: l.key }, n("code", le({}, i.attrs, { className: i.lang ? `lang-${i.lang}` : "" }), i.text)) }, [b.codeFenced]: { match: te(Ut), order: 0, parse: (i) => ({ attrs: s("code", i[3] || ""), lang: i[2] || void 0, text: i[4], type: b.codeBlock }) }, [b.codeInline]: { match: ie(fo), order: 3, parse: (i) => ({ text: i[2].replace(vt, "$1") }), render: (i, d, l) => n("code", { key: l.key }, i.text) }, [b.footnote]: { match: te(bo), order: 0, parse: (i) => (c.push({ footnote: i[2], identifier: i[1] }), {}), render: Ze }, [b.footnoteReference]: { match: oe(yo), order: 1, parse: (i) => ({ target: `#${t.slugify(i[1], be)}`, text: i[1] }), render: (i, d, l) => n("a", { key: l.key, href: t.sanitizer(i.target, "a", "href") }, n("sup", { key: l.key }, i.text)) }, [b.gfmTask]: { match: oe(ko), order: 1, parse: (i) => ({ completed: i[1].toLowerCase() === "x" }), render: (i, d, l) => n("input", { checked: i.completed, key: l.key, readOnly: !0, type: "checkbox" }) }, [b.heading]: { match: te(t.enforceAtxHeadings ? Kt : _t), order: 1, parse: (i, d, l) => ({ children: Ee(d, i[2], l), id: t.slugify(i[2], be), level: i[1].length }), render: (i, d, l) => n(`h${i.level}`, { id: i.id, key: l.key }, d(i.children, l)) }, [b.headingSetext]: { match: te(Xt), order: 0, parse: (i, d, l) => ({ children: Ee(d, i[1], l), level: i[2] === "=" ? 1 : 2, type: b.heading }) }, [b.htmlBlock]: { match: ye(_e), order: 1, parse(i, d, l) {
1302
- const [, f] = i[3].match(Vo), h = new RegExp(`^${f}`, "gm"), k = i[3].replace(h, ""), S = (x = k, ti.some((F) => F.test(x)) ? li : Ee);
1300
+ return i.alert && (f.className = "markdown-alert-" + t.slugify(i.alert.toLowerCase(), be), i.children.unshift({ attrs: {}, children: [{ type: b.text, text: i.alert }], noInnerParse: !0, type: b.htmlBlock, tag: "header" })), n("blockquote", f, u(i.children, l));
1301
+ } }, [b.breakLine]: { match: ye(Co), order: 1, parse: Ze, render: (i, u, l) => n("br", { key: l.key }) }, [b.breakThematic]: { match: te(mo), order: 1, parse: Ze, render: (i, u, l) => n("hr", { key: l.key }) }, [b.codeBlock]: { match: te(Kt), order: 0, parse: (i) => ({ lang: void 0, text: ve(i[0].replace(/^ {4}/gm, "")).replace(vt, "$1") }), render: (i, u, l) => n("pre", { key: l.key }, n("code", le({}, i.attrs, { className: i.lang ? `lang-${i.lang}` : "" }), i.text)) }, [b.codeFenced]: { match: te(_t), order: 0, parse: (i) => ({ attrs: s("code", i[3] || ""), lang: i[2] || void 0, text: i[4], type: b.codeBlock }) }, [b.codeInline]: { match: ie(bo), order: 3, parse: (i) => ({ text: i[2].replace(vt, "$1") }), render: (i, u, l) => n("code", { key: l.key }, i.text) }, [b.footnote]: { match: te(vo), order: 0, parse: (i) => (c.push({ footnote: i[2], identifier: i[1] }), {}), render: je }, [b.footnoteReference]: { match: oe(ko), order: 1, parse: (i) => ({ target: `#${t.slugify(i[1], be)}`, 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: oe(Mo), order: 1, parse: (i) => ({ completed: i[1].toLowerCase() === "x" }), render: (i, u, l) => n("input", { checked: i.completed, key: l.key, readOnly: !0, type: "checkbox" }) }, [b.heading]: { match: te(t.enforceAtxHeadings ? Jt : Xt), order: 1, parse: (i, u, l) => ({ children: Ee(u, i[2], l), id: t.slugify(i[2], be), 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: te(Yt), order: 0, parse: (i, u, l) => ({ children: Ee(u, i[1], l), level: i[2] === "=" ? 1 : 2, type: b.heading }) }, [b.htmlBlock]: { match: ye(_e), order: 1, parse(i, u, l) {
1302
+ const [, f] = i[3].match(_o), g = new RegExp(`^${f}`, "gm"), k = i[3].replace(g, ""), S = (x = k, oi.some((H) => H.test(x)) ? ui : Ee);
1303
1303
  var x;
1304
- const T = i[1].toLowerCase(), R = io.indexOf(T) !== -1, $ = (R ? T : i[1]).trim(), I = { attrs: s($, i[2]), noInnerParse: R, tag: $ };
1305
- return l.inAnchor = l.inAnchor || T === "a", R ? I.text = i[3] : I.children = S(d, k, l), l.inAnchor = !1, I;
1306
- }, render: (i, d, l) => n(i.tag, le({ key: l.key }, i.attrs), i.text || (i.children ? d(i.children, l) : "")) }, [b.htmlSelfClosing]: { match: ye(Ke), order: 1, parse(i) {
1307
- const d = i[1].trim();
1308
- return { attrs: s(d, i[2] || ""), tag: d };
1309
- }, render: (i, d, l) => n(i.tag, le({}, i.attrs, { key: l.key })) }, [b.htmlComment]: { match: ye(Jt), order: 1, parse: () => ({}), render: Ze }, [b.image]: { match: ie(ei), order: 1, parse: (i) => ({ alt: i[1], target: Mt(i[2]), title: i[3] }), render: (i, d, l) => n("img", { key: l.key, alt: i.alt || void 0, title: i.title || void 0, src: t.sanitizer(i.target, "img", "src") }) }, [b.link]: { match: oe(Yo), order: 3, parse: (i, d, l) => ({ children: ai(d, i[1], l), target: Mt(i[2]), title: i[3] }), render: (i, d, l) => n("a", { key: l.key, href: t.sanitizer(i.target, "a", "href"), title: i.title }, d(i.children, l)) }, [b.linkAngleBraceStyleDetector]: { match: oe(Lo), order: 0, parse: (i) => ({ children: [{ text: i[1], type: b.text }], target: i[1], type: b.link }) }, [b.linkBareUrlDetector]: { match: ge((i, d) => d.inAnchor || t.disableAutoLink ? null : oe($o)(i, d)), order: 0, parse: (i) => ({ children: [{ text: i[1], type: b.text }], target: i[1], title: void 0, type: b.link }) }, [b.linkMailtoDetector]: { match: oe(To), order: 0, parse(i) {
1310
- let d = i[1], l = i[1];
1311
- return lo.test(l) || (l = "mailto:" + l), { children: [{ text: d.replace("mailto:", ""), type: b.text }], target: l, type: b.link };
1312
- } }, [b.orderedList]: kt(n, 1), [b.unorderedList]: kt(n, 2), [b.newlineCoalescer]: { match: te(Co), order: 3, parse: We, render: () => `
1313
- ` }, [b.paragraph]: { match: ge(oi), order: 3, parse: qe, render: (i, d, l) => n("p", { key: l.key }, d(i.children, l)) }, [b.ref]: { match: oe(Eo), order: 0, parse: (i) => (a[i[1]] = { target: i[2], title: i[4] }, {}), render: Ze }, [b.refImage]: { match: ie(Io), order: 0, parse: (i) => ({ alt: i[1] || void 0, ref: i[2] }), render: (i, d, 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: oe(No), order: 0, parse: (i, d, l) => ({ children: d(i[1], l), fallbackChildren: i[0], ref: i[2] }), render: (i, d, l) => a[i.ref] ? n("a", { key: l.key, href: t.sanitizer(a[i.ref].target, "a", "href"), title: a[i.ref].title }, d(i.children, l)) : n("span", { key: l.key }, i.fallbackChildren) }, [b.table]: { match: te(Yt), order: 1, parse: ri, render(i, d, l) {
1304
+ const $ = i[1].toLowerCase(), R = lo.indexOf($) !== -1, T = (R ? $ : i[1]).trim(), I = { attrs: s(T, i[2]), noInnerParse: R, tag: T };
1305
+ return l.inAnchor = l.inAnchor || $ === "a", R ? I.text = i[3] : I.children = S(u, k, l), l.inAnchor = !1, I;
1306
+ }, render: (i, u, l) => n(i.tag, le({ key: l.key }, i.attrs), i.text || (i.children ? u(i.children, l) : "")) }, [b.htmlSelfClosing]: { match: ye(Ke), order: 1, parse(i) {
1307
+ const u = i[1].trim();
1308
+ return { attrs: s(u, i[2] || ""), tag: u };
1309
+ }, render: (i, u, l) => n(i.tag, le({}, i.attrs, { key: l.key })) }, [b.htmlComment]: { match: ye(en), order: 1, parse: () => ({}), render: je }, [b.image]: { match: ie(ri), order: 1, parse: (i) => ({ alt: i[1], target: Mt(i[2]), title: i[3] }), render: (i, u, l) => n("img", { key: l.key, alt: i.alt || void 0, title: i.title || void 0, src: t.sanitizer(i.target, "img", "src") }) }, [b.link]: { match: oe(ni), order: 3, parse: (i, u, l) => ({ children: di(u, i[1], l), target: Mt(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: oe(Io), 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 : oe(Ro)(i, u)), order: 0, parse: (i) => ({ children: [{ text: i[1], type: b.text }], target: i[1], title: void 0, type: b.link }) }, [b.linkMailtoDetector]: { match: oe(Eo), order: 0, parse(i) {
1310
+ let u = i[1], l = i[1];
1311
+ return po.test(l) || (l = "mailto:" + l), { children: [{ text: u.replace("mailto:", ""), type: b.text }], target: l, type: b.link };
1312
+ } }, [b.orderedList]: kt(n, 1), [b.unorderedList]: kt(n, 2), [b.newlineCoalescer]: { match: te(yo), order: 3, parse: Ze, render: () => `
1313
+ ` }, [b.paragraph]: { match: ge(ai), order: 3, parse: We, render: (i, u, l) => n("p", { key: l.key }, u(i.children, l)) }, [b.ref]: { match: oe(Po), order: 0, parse: (i) => (a[i[1]] = { target: i[2], title: i[4] }, {}), render: je }, [b.refImage]: { match: ie(Bo), order: 0, parse: (i) => ({ alt: i[1] || void 0, 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: oe(Fo), 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: te(tn), order: 1, parse: si, render(i, u, l) {
1314
1314
  const f = i;
1315
- return n("table", { key: l.key }, n("thead", null, n("tr", null, f.header.map(function(h, k) {
1316
- return n("th", { key: k, style: St(f, k) }, d(h, l));
1317
- }))), n("tbody", null, f.cells.map(function(h, k) {
1318
- return n("tr", { key: k }, h.map(function(S, x) {
1319
- return n("td", { key: x, style: St(f, x) }, d(S, l));
1315
+ return n("table", { key: l.key }, n("thead", null, n("tr", null, f.header.map(function(g, k) {
1316
+ return n("th", { key: k, style: St(f, k) }, u(g, l));
1317
+ }))), n("tbody", null, f.cells.map(function(g, k) {
1318
+ return n("tr", { key: k }, g.map(function(S, x) {
1319
+ return n("td", { key: x, style: St(f, x) }, u(S, l));
1320
1320
  }));
1321
1321
  })));
1322
- } }, [b.text]: { match: ye(jo), order: 4, parse: (i) => ({ text: i[0].replace(wo, (d, l) => t.namedCodesToUnicode[l] ? t.namedCodesToUnicode[l] : d) }), render: (i) => i.text }, [b.textBolded]: { match: ie(Do), order: 2, parse: (i, d, l) => ({ children: d(i[2], l) }), render: (i, d, l) => n("strong", { key: l.key }, d(i.children, l)) }, [b.textEmphasized]: { match: ie(zo), order: 3, parse: (i, d, l) => ({ children: d(i[2], l) }), render: (i, d, l) => n("em", { key: l.key }, d(i.children, l)) }, [b.textEscaped]: { match: ie(Zo), order: 1, parse: (i) => ({ text: i[1], type: b.text }) }, [b.textMarked]: { match: ie(qo), order: 3, parse: qe, render: (i, d, l) => n("mark", { key: l.key }, d(i.children, l)) }, [b.textStrikethroughed]: { match: ie(Wo), order: 3, parse: qe, render: (i, d, l) => n("del", { key: l.key }, d(i.children, l)) } };
1322
+ } }, [b.text]: { match: ye(Uo), order: 4, parse: (i) => ({ text: i[0].replace(To, (u, l) => t.namedCodesToUnicode[l] ? t.namedCodesToUnicode[l] : u) }), render: (i) => i.text }, [b.textBolded]: { match: ie(Wo), 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: ie(Zo), 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: ie(Vo), order: 1, parse: (i) => ({ text: i[1], type: b.text }) }, [b.textMarked]: { match: ie(jo), order: 3, parse: We, render: (i, u, l) => n("mark", { key: l.key }, u(i.children, l)) }, [b.textStrikethroughed]: { match: ie(Go), order: 3, parse: We, render: (i, u, l) => n("del", { key: l.key }, u(i.children, l)) } };
1323
1323
  t.disableParsingRawHTML === !0 && (delete p[b.htmlBlock], delete p[b.htmlSelfClosing]);
1324
- const u = function(i) {
1325
- let d = Object.keys(i);
1326
- function l(f, h) {
1327
- let k, S, x = [], T = "", R = "";
1328
- for (h.prevCapture = h.prevCapture || ""; f; ) {
1329
- let $ = 0;
1330
- for (; $ < d.length; ) {
1331
- if (T = d[$], k = i[T], h.inline && !k.match.inline) {
1332
- $++;
1324
+ const d = function(i) {
1325
+ let u = Object.keys(i);
1326
+ function l(f, g) {
1327
+ let k, S, x = [], $ = "", R = "";
1328
+ for (g.prevCapture = g.prevCapture || ""; f; ) {
1329
+ let T = 0;
1330
+ for (; T < u.length; ) {
1331
+ if ($ = u[T], k = i[$], g.inline && !k.match.inline) {
1332
+ T++;
1333
1333
  continue;
1334
1334
  }
1335
- const I = k.match(f, h);
1335
+ const I = k.match(f, g);
1336
1336
  if (I) {
1337
- R = I[0], h.prevCapture += R, f = f.substring(R.length), S = k.parse(I, l, h), S.type == null && (S.type = T), x.push(S);
1337
+ R = I[0], g.prevCapture += R, f = f.substring(R.length), S = k.parse(I, l, g), S.type == null && (S.type = $), x.push(S);
1338
1338
  break;
1339
1339
  }
1340
- $++;
1340
+ T++;
1341
1341
  }
1342
1342
  }
1343
- return h.prevCapture = "", x;
1343
+ return g.prevCapture = "", x;
1344
1344
  }
1345
- return d.sort(function(f, h) {
1346
- let k = i[f].order, S = i[h].order;
1347
- return k !== S ? k - S : f < h ? -1 : 1;
1348
- }), function(f, h) {
1345
+ return u.sort(function(f, g) {
1346
+ let k = i[f].order, S = i[g].order;
1347
+ return k !== S ? k - S : f < g ? -1 : 1;
1348
+ }), function(f, g) {
1349
1349
  return l(function(k) {
1350
- return k.replace(mo, `
1351
- `).replace(xo, "").replace(Ho, " ");
1352
- }(f), h);
1350
+ return k.replace(xo, `
1351
+ `).replace(wo, "").replace(Oo, " ");
1352
+ }(f), g);
1353
1353
  };
1354
- }(p), g = (m = /* @__PURE__ */ function(i, d) {
1355
- return function(l, f, h) {
1354
+ }(p), h = (m = /* @__PURE__ */ function(i, u) {
1355
+ return function(l, f, g) {
1356
1356
  const k = i[l.type].render;
1357
- return d ? d(() => k(l, f, h), l, f, h) : k(l, f, h);
1357
+ return u ? u(() => k(l, f, g), l, f, g) : k(l, f, g);
1358
1358
  };
1359
- }(p, t.renderRule), function i(d, l = {}) {
1360
- if (Array.isArray(d)) {
1361
- const f = l.key, h = [];
1359
+ }(p, t.renderRule), function i(u, l = {}) {
1360
+ if (Array.isArray(u)) {
1361
+ const f = l.key, g = [];
1362
1362
  let k = !1;
1363
- for (let S = 0; S < d.length; S++) {
1363
+ for (let S = 0; S < u.length; S++) {
1364
1364
  l.key = S;
1365
- const x = i(d[S], l), T = typeof x == "string";
1366
- T && k ? h[h.length - 1] += x : x !== null && h.push(x), k = T;
1365
+ const x = i(u[S], l), $ = typeof x == "string";
1366
+ $ && k ? g[g.length - 1] += x : x !== null && g.push(x), k = $;
1367
1367
  }
1368
- return l.key = f, h;
1368
+ return l.key = f, g;
1369
1369
  }
1370
- return m(d, i, l);
1370
+ return m(u, i, l);
1371
1371
  });
1372
1372
  var m;
1373
1373
  const y = r(e);
1374
1374
  return c.length ? n("div", null, y, n("footer", { key: "footer" }, c.map(function(i) {
1375
- return n("div", { id: t.slugify(i.identifier, be), key: i.identifier }, i.identifier, g(u(i.footnote, { inline: !0 })));
1375
+ return n("div", { id: t.slugify(i.identifier, be), key: i.identifier }, i.identifier, h(d(i.footnote, { inline: !0 })));
1376
1376
  }))) : y;
1377
1377
  }
1378
- const ui = (e) => {
1378
+ const gi = (e) => {
1379
1379
  let { children: t = "", options: n } = e, r = function(s, c) {
1380
1380
  if (s == null) return {};
1381
- var a, p, u = {}, g = Object.keys(s);
1382
- for (p = 0; p < g.length; p++) c.indexOf(a = g[p]) >= 0 || (u[a] = s[a]);
1383
- return u;
1384
- }(e, oo);
1385
- return J.cloneElement(di(t, n), r);
1386
- }, pi = v.div`
1381
+ var a, p, d = {}, h = Object.keys(s);
1382
+ for (p = 0; p < h.length; p++) c.indexOf(a = h[p]) >= 0 || (d[a] = s[a]);
1383
+ return d;
1384
+ }(e, ao);
1385
+ return Y.cloneElement(hi(t, n), r);
1386
+ }, fi = v.div`
1387
1387
  display: flex;
1388
1388
 
1389
- ${({ align: e }) => e === "right" ? D`
1389
+ ${({ align: e }) => e === "right" ? A`
1390
1390
  justify-content: flex-end;
1391
- ` : D`
1391
+ ` : A`
1392
1392
  justify-content: flex-start;
1393
1393
  `}
1394
- `, dn = v.div`
1394
+ `, pn = v.div`
1395
1395
  font-size: inherit;
1396
1396
  line-height: inherit;
1397
1397
  padding-top: 8.5px;
@@ -1402,15 +1402,15 @@ const ui = (e) => {
1402
1402
  overflow-wrap: break-word;
1403
1403
  box-sizing: border-box;
1404
1404
 
1405
- ${({ align: e }) => e === "right" ? D`
1405
+ ${({ align: e }) => e === "right" ? A`
1406
1406
  text-align: right;
1407
1407
  border-radius: 10px 10px 0px 10px;
1408
- ` : D`
1408
+ ` : A`
1409
1409
  text-align: left;
1410
1410
  border-radius: 10px 10px 10px 0px;
1411
1411
  `}
1412
1412
 
1413
- ${({ align: e }) => e !== "full" ? D`
1413
+ ${({ align: e }) => e !== "full" ? A`
1414
1414
  max-width: 85%;
1415
1415
  ` : ""}
1416
1416
 
@@ -1418,21 +1418,21 @@ const ui = (e) => {
1418
1418
  background-color: ${({ theme: e, align: t }) => t === "right" ? e.aiChat.userMessages.backgroundColor : e.aiChat.systemMessages.backgroundColor};
1419
1419
  `, se = ({ align: e, children: t }) => {
1420
1420
  const { themeSettings: n } = L();
1421
- return /* @__PURE__ */ o(pi, { theme: n, align: e, children: /* @__PURE__ */ o(dn, { theme: n, align: e, children: typeof t == "string" ? /* @__PURE__ */ o(ui, { children: t }) : t }) });
1421
+ return /* @__PURE__ */ o(fi, { theme: n, align: e, children: /* @__PURE__ */ o(pn, { theme: n, align: e, children: typeof t == "string" ? /* @__PURE__ */ o(gi, { children: t }) : t }) });
1422
1422
  };
1423
- function hi() {
1423
+ function Ci() {
1424
1424
  const { welcomeText: e } = ne();
1425
1425
  return e === !1 ? null : /* @__PURE__ */ o(se, { align: "left", children: e });
1426
1426
  }
1427
- const gi = v.div`
1427
+ const mi = v.div`
1428
1428
  display: flex;
1429
1429
 
1430
- ${({ align: e }) => e === "right" ? D`
1430
+ ${({ align: e }) => e === "right" ? A`
1431
1431
  justify-content: flex-end;
1432
- ` : D`
1432
+ ` : A`
1433
1433
  justify-content: flex-start;
1434
1434
  `}
1435
- `, fi = v.button`
1435
+ `, bi = v.button`
1436
1436
  font-family: inherit;
1437
1437
  font-size: inherit;
1438
1438
  line-height: inherit;
@@ -1448,13 +1448,13 @@ const gi = v.div`
1448
1448
  }
1449
1449
  border-radius: 20px;
1450
1450
 
1451
- ${({ align: e }) => e === "right" ? D`
1451
+ ${({ align: e }) => e === "right" ? A`
1452
1452
  text-align: right;
1453
- ` : D`
1453
+ ` : A`
1454
1454
  text-align: left;
1455
1455
  `}
1456
1456
 
1457
- ${({ align: e }) => e !== "full" ? D`
1457
+ ${({ align: e }) => e !== "full" ? A`
1458
1458
  max-width: 382px;
1459
1459
  ` : ""}
1460
1460
 
@@ -1462,7 +1462,7 @@ const gi = v.div`
1462
1462
  const { borderGradient: t, borderRadius: n } = e.aiChat.suggestions;
1463
1463
  if (t) {
1464
1464
  const [r, s] = t;
1465
- return D`
1465
+ return A`
1466
1466
  border: none;
1467
1467
  position: relative;
1468
1468
  border-radius: ${n};
@@ -1485,7 +1485,7 @@ const gi = v.div`
1485
1485
  return "";
1486
1486
  }}
1487
1487
  `;
1488
- function Ne({
1488
+ function Pe({
1489
1489
  children: e,
1490
1490
  align: t,
1491
1491
  onClick: n,
@@ -1494,8 +1494,8 @@ function Ne({
1494
1494
  accessibleName: c
1495
1495
  }) {
1496
1496
  const { themeSettings: a } = L();
1497
- return /* @__PURE__ */ o(gi, { align: t, children: /* @__PURE__ */ o(
1498
- fi,
1497
+ return /* @__PURE__ */ o(mi, { align: t, children: /* @__PURE__ */ o(
1498
+ bi,
1499
1499
  {
1500
1500
  "aria-label": c,
1501
1501
  theme: a,
@@ -1507,18 +1507,18 @@ function Ne({
1507
1507
  }
1508
1508
  ) });
1509
1509
  }
1510
- function Ci({ onCancel: e, onConfirm: t }) {
1511
- const { t: n } = P();
1510
+ function yi({ onCancel: e, onConfirm: t }) {
1511
+ const { t: n } = F();
1512
1512
  return /* @__PURE__ */ w(Z, { children: [
1513
1513
  /* @__PURE__ */ o(se, { align: "left", children: n("ai.clearHistoryPrompt") }),
1514
1514
  /* @__PURE__ */ w("div", { className: "csdk-flex csdk-gap-x-2", children: [
1515
- /* @__PURE__ */ o(Ne, { align: "right", onClick: t, accessibleName: "confirm clear chat", children: /* @__PURE__ */ o("div", { className: "csdk-py-[6px] csdk-px-[20px]", children: n("ai.buttons.yes") }) }),
1516
- /* @__PURE__ */ o(Ne, { align: "right", onClick: e, accessibleName: "cancel clear chat", children: /* @__PURE__ */ o("div", { className: "csdk-py-[6px] csdk-px-[20px]", children: n("ai.buttons.no") }) })
1515
+ /* @__PURE__ */ o(Pe, { align: "right", onClick: t, accessibleName: "confirm clear chat", children: /* @__PURE__ */ o("div", { className: "csdk-py-[6px] csdk-px-[20px]", children: n("ai.buttons.yes") }) }),
1516
+ /* @__PURE__ */ o(Pe, { align: "right", onClick: e, accessibleName: "cancel clear chat", children: /* @__PURE__ */ o("div", { className: "csdk-py-[6px] csdk-px-[20px]", children: n("ai.buttons.no") }) })
1517
1517
  ] })
1518
1518
  ] });
1519
1519
  }
1520
- var mi = Bn("toLowerCase");
1521
- function bi() {
1520
+ var xi = Fn("toLowerCase");
1521
+ function vi() {
1522
1522
  const { themeSettings: e } = L();
1523
1523
  return /* @__PURE__ */ o("svg", { width: "24", height: "25", viewBox: "0 0 24 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ o(
1524
1524
  "path",
@@ -1530,32 +1530,32 @@ function bi() {
1530
1530
  }
1531
1531
  ) });
1532
1532
  }
1533
- function yi({ onClick: e }) {
1534
- const { t } = P();
1535
- return /* @__PURE__ */ o(Ne, { align: "left", onClick: e, children: /* @__PURE__ */ w(
1533
+ function ki({ onClick: e }) {
1534
+ const { t } = F();
1535
+ return /* @__PURE__ */ o(Pe, { align: "left", onClick: e, children: /* @__PURE__ */ w(
1536
1536
  "div",
1537
1537
  {
1538
1538
  className: "csdk-py-[5px] csdk-px-2 csdk-flex csdk-items-center csdk-gap-x-1 csdk-select-none",
1539
1539
  children: [
1540
- /* @__PURE__ */ o(bi, {}),
1540
+ /* @__PURE__ */ o(vi, {}),
1541
1541
  t("ai.buttons.insights")
1542
1542
  ]
1543
1543
  }
1544
1544
  ) });
1545
1545
  }
1546
- function xi(e) {
1547
- return Pn("MuiDialog", e);
1546
+ function wi(e) {
1547
+ return On("MuiDialog", e);
1548
1548
  }
1549
- const Ge = Hn("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), un = /* @__PURE__ */ J.createContext({});
1550
- process.env.NODE_ENV !== "production" && (un.displayName = "DialogContext");
1551
- const vi = Be(Fn, {
1549
+ const Ve = Hn("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), hn = /* @__PURE__ */ Y.createContext({});
1550
+ process.env.NODE_ENV !== "production" && (hn.displayName = "DialogContext");
1551
+ const Si = Be(Dn, {
1552
1552
  name: "MuiDialog",
1553
1553
  slot: "Backdrop",
1554
1554
  overrides: (e, t) => t.backdrop
1555
1555
  })({
1556
1556
  // Improve scrollable dialog support.
1557
1557
  zIndex: -1
1558
- }), ki = (e) => {
1558
+ }), Mi = (e) => {
1559
1559
  const {
1560
1560
  classes: t,
1561
1561
  scroll: n,
@@ -1567,8 +1567,8 @@ const vi = Be(Fn, {
1567
1567
  container: ["container", `scroll${pe(n)}`],
1568
1568
  paper: ["paper", `paperScroll${pe(n)}`, `paperWidth${pe(String(r))}`, s && "paperFullWidth", c && "paperFullScreen"]
1569
1569
  };
1570
- return Wn(a, xi, t);
1571
- }, wi = Be(On, {
1570
+ return jn(a, wi, t);
1571
+ }, Ti = Be(An, {
1572
1572
  name: "MuiDialog",
1573
1573
  slot: "Root",
1574
1574
  overridesResolver: (e, t) => t.root
@@ -1577,7 +1577,7 @@ const vi = Be(Fn, {
1577
1577
  // Use !important to override the Modal inline-style.
1578
1578
  position: "absolute !important"
1579
1579
  }
1580
- }), Si = Be("div", {
1580
+ }), $i = Be("div", {
1581
1581
  name: "MuiDialog",
1582
1582
  slot: "Container",
1583
1583
  overridesResolver: (e, t) => {
@@ -1619,7 +1619,7 @@ const vi = Be(Fn, {
1619
1619
  }
1620
1620
  }
1621
1621
  }]
1622
- }), Mi = Be(Nt, {
1622
+ }), Li = Be(Nt, {
1623
1623
  name: "MuiDialog",
1624
1624
  slot: "Paper",
1625
1625
  overridesResolver: (e, t) => {
@@ -1628,7 +1628,7 @@ const vi = Be(Fn, {
1628
1628
  } = e;
1629
1629
  return [t.paper, t[`scrollPaper${pe(n.scroll)}`], t[`paperWidth${pe(String(n.maxWidth))}`], n.fullWidth && t.paperFullWidth, n.fullScreen && t.paperFullScreen];
1630
1630
  }
1631
- })(An(({
1631
+ })(zn(({
1632
1632
  theme: e
1633
1633
  }) => ({
1634
1634
  margin: 32,
@@ -1669,7 +1669,7 @@ const vi = Be(Fn, {
1669
1669
  },
1670
1670
  style: {
1671
1671
  maxWidth: e.breakpoints.unit === "px" ? Math.max(e.breakpoints.values.xs, 444) : `max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,
1672
- [`&.${Ge.paperScrollBody}`]: {
1672
+ [`&.${Ve.paperScrollBody}`]: {
1673
1673
  [e.breakpoints.down(Math.max(e.breakpoints.values.xs, 444) + 32 * 2)]: {
1674
1674
  maxWidth: "calc(100% - 64px)"
1675
1675
  }
@@ -1681,7 +1681,7 @@ const vi = Be(Fn, {
1681
1681
  },
1682
1682
  style: {
1683
1683
  maxWidth: `${e.breakpoints.values[t]}${e.breakpoints.unit}`,
1684
- [`&.${Ge.paperScrollBody}`]: {
1684
+ [`&.${Ve.paperScrollBody}`]: {
1685
1685
  [e.breakpoints.down(e.breakpoints.values[t] + 32 * 2)]: {
1686
1686
  maxWidth: "calc(100% - 64px)"
1687
1687
  }
@@ -1705,44 +1705,44 @@ const vi = Be(Fn, {
1705
1705
  height: "100%",
1706
1706
  maxHeight: "none",
1707
1707
  borderRadius: 0,
1708
- [`&.${Ge.paperScrollBody}`]: {
1708
+ [`&.${Ve.paperScrollBody}`]: {
1709
1709
  margin: 0,
1710
1710
  maxWidth: "100%"
1711
1711
  }
1712
1712
  }
1713
1713
  }]
1714
- }))), pn = /* @__PURE__ */ J.forwardRef(function(t, n) {
1715
- const r = Dn({
1714
+ }))), gn = /* @__PURE__ */ Y.forwardRef(function(t, n) {
1715
+ const r = qn({
1716
1716
  props: t,
1717
1717
  name: "MuiDialog"
1718
- }), s = zn(), c = {
1718
+ }), s = Wn(), c = {
1719
1719
  enter: s.transitions.duration.enteringScreen,
1720
1720
  exit: s.transitions.duration.leavingScreen
1721
1721
  }, ht = r, {
1722
1722
  "aria-describedby": a,
1723
1723
  "aria-labelledby": p,
1724
- "aria-modal": u = !0,
1725
- BackdropComponent: g,
1724
+ "aria-modal": d = !0,
1725
+ BackdropComponent: h,
1726
1726
  BackdropProps: m,
1727
1727
  children: y,
1728
1728
  className: i,
1729
- disableEscapeKeyDown: d = !1,
1729
+ disableEscapeKeyDown: u = !1,
1730
1730
  fullScreen: l = !1,
1731
1731
  fullWidth: f = !1,
1732
- maxWidth: h = "sm",
1732
+ maxWidth: g = "sm",
1733
1733
  onBackdropClick: k,
1734
1734
  onClick: S,
1735
1735
  onClose: x,
1736
- open: T,
1736
+ open: $,
1737
1737
  PaperComponent: R = Nt,
1738
- PaperProps: $ = {},
1738
+ PaperProps: T = {},
1739
1739
  scroll: I = "paper",
1740
- slots: F = {},
1740
+ slots: H = {},
1741
1741
  slotProps: ae = {},
1742
1742
  TransitionComponent: Q = Ct,
1743
1743
  transitionDuration: j = c,
1744
1744
  TransitionProps: W
1745
- } = ht, V = De(ht, [
1745
+ } = ht, V = ze(ht, [
1746
1746
  "aria-describedby",
1747
1747
  "aria-labelledby",
1748
1748
  "aria-modal",
@@ -1767,56 +1767,56 @@ const vi = Be(Fn, {
1767
1767
  "transitionDuration",
1768
1768
  "TransitionProps"
1769
1769
  ]), N = E(M({}, r), {
1770
- disableEscapeKeyDown: d,
1770
+ disableEscapeKeyDown: u,
1771
1771
  fullScreen: l,
1772
1772
  fullWidth: f,
1773
- maxWidth: h,
1773
+ maxWidth: g,
1774
1774
  scroll: I
1775
- }), _ = ki(N), K = J.useRef(), U = (ue) => {
1775
+ }), _ = Mi(N), K = Y.useRef(), U = (ue) => {
1776
1776
  K.current = ue.target === ue.currentTarget;
1777
- }, A = (ue) => {
1777
+ }, D = (ue) => {
1778
1778
  S && S(ue), K.current && (K.current = null, k && k(ue), x && x(ue, "backdropClick"));
1779
- }, G = qn(p), re = J.useMemo(() => ({
1779
+ }, G = Zn(p), re = Y.useMemo(() => ({
1780
1780
  titleId: G
1781
1781
  }), [G]), ce = M({
1782
1782
  transition: Q
1783
- }, F), de = M({
1783
+ }, H), de = M({
1784
1784
  transition: W,
1785
- paper: $,
1785
+ paper: T,
1786
1786
  backdrop: m
1787
- }, ae), B = {
1787
+ }, ae), P = {
1788
1788
  slots: ce,
1789
1789
  slotProps: de
1790
- }, [X, $e] = Ce("root", {
1791
- elementType: wi,
1790
+ }, [X, Te] = Ce("root", {
1791
+ elementType: Ti,
1792
1792
  shouldForwardComponentProp: !0,
1793
- externalForwardedProps: B,
1793
+ externalForwardedProps: P,
1794
1794
  ownerState: N,
1795
- className: ze(_.root, i),
1795
+ className: qe(_.root, i),
1796
1796
  ref: n
1797
- }), [pt, Te] = Ce("backdrop", {
1798
- elementType: vi,
1797
+ }), [pt, $e] = Ce("backdrop", {
1798
+ elementType: Si,
1799
1799
  shouldForwardComponentProp: !0,
1800
- externalForwardedProps: B,
1800
+ externalForwardedProps: P,
1801
1801
  ownerState: N
1802
- }), [fn, Cn] = Ce("paper", {
1803
- elementType: Mi,
1802
+ }), [mn, bn] = Ce("paper", {
1803
+ elementType: Li,
1804
1804
  shouldForwardComponentProp: !0,
1805
- externalForwardedProps: B,
1805
+ externalForwardedProps: P,
1806
1806
  ownerState: N,
1807
- className: ze(_.paper, $.className)
1808
- }), [mn, bn] = Ce("container", {
1809
- elementType: Si,
1810
- externalForwardedProps: B,
1807
+ className: qe(_.paper, T.className)
1808
+ }), [yn, xn] = Ce("container", {
1809
+ elementType: $i,
1810
+ externalForwardedProps: P,
1811
1811
  ownerState: N,
1812
- className: ze(_.container)
1813
- }), [yn, xn] = Ce("transition", {
1812
+ className: qe(_.container)
1813
+ }), [vn, kn] = Ce("transition", {
1814
1814
  elementType: Ct,
1815
- externalForwardedProps: B,
1815
+ externalForwardedProps: P,
1816
1816
  ownerState: N,
1817
1817
  additionalProps: {
1818
1818
  appear: !0,
1819
- in: T,
1819
+ in: $,
1820
1820
  timeout: j,
1821
1821
  role: "presentation"
1822
1822
  }
@@ -1829,27 +1829,27 @@ const vi = Be(Fn, {
1829
1829
  slotProps: {
1830
1830
  backdrop: M({
1831
1831
  transitionDuration: j,
1832
- as: g
1833
- }, Te)
1832
+ as: h
1833
+ }, $e)
1834
1834
  },
1835
- disableEscapeKeyDown: d,
1835
+ disableEscapeKeyDown: u,
1836
1836
  onClose: x,
1837
- open: T,
1838
- onClick: A
1839
- }, $e), V), {
1840
- children: /* @__PURE__ */ me(yn, E(M({}, xn), {
1841
- children: /* @__PURE__ */ me(mn, E(M({
1837
+ open: $,
1838
+ onClick: D
1839
+ }, Te), V), {
1840
+ children: /* @__PURE__ */ me(vn, E(M({}, kn), {
1841
+ children: /* @__PURE__ */ me(yn, E(M({
1842
1842
  onMouseDown: U
1843
- }, bn), {
1844
- children: /* @__PURE__ */ me(fn, E(M({
1843
+ }, xn), {
1844
+ children: /* @__PURE__ */ me(mn, E(M({
1845
1845
  as: R,
1846
1846
  elevation: 24,
1847
1847
  role: "dialog",
1848
1848
  "aria-describedby": a,
1849
1849
  "aria-labelledby": G,
1850
- "aria-modal": u
1851
- }, Cn), {
1852
- children: /* @__PURE__ */ me(un.Provider, {
1850
+ "aria-modal": d
1851
+ }, bn), {
1852
+ children: /* @__PURE__ */ me(hn.Provider, {
1853
1853
  value: re,
1854
1854
  children: y
1855
1855
  })
@@ -1858,7 +1858,7 @@ const vi = Be(Fn, {
1858
1858
  }))
1859
1859
  }));
1860
1860
  });
1861
- process.env.NODE_ENV !== "production" && (pn.propTypes = {
1861
+ process.env.NODE_ENV !== "production" && (gn.propTypes = {
1862
1862
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1863
1863
  // │ These PropTypes are generated from the TypeScript type definitions. │
1864
1864
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2021,7 +2021,7 @@ process.env.NODE_ENV !== "production" && (pn.propTypes = {
2021
2021
  */
2022
2022
  TransitionProps: C.object
2023
2023
  });
2024
- function $i({ fillColor: e = "#262E3D" }) {
2024
+ function Ri({ fillColor: e = "#262E3D" }) {
2025
2025
  return /* @__PURE__ */ w("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", fill: "none", children: [
2026
2026
  /* @__PURE__ */ o("rect", { x: "1", y: "1", width: "28", height: "28", rx: "14", stroke: "#9EA2AB" }),
2027
2027
  /* @__PURE__ */ o(
@@ -2035,7 +2035,7 @@ function $i({ fillColor: e = "#262E3D" }) {
2035
2035
  )
2036
2036
  ] });
2037
2037
  }
2038
- const hn = {
2038
+ const fn = {
2039
2039
  row: {
2040
2040
  hover: "rgba(224, 224, 224, 0.3)"
2041
2041
  },
@@ -2120,18 +2120,18 @@ const hn = {
2120
2120
  errorBG: "rgba(231, 71, 39, 0.1)"
2121
2121
  }
2122
2122
  }
2123
- }, Ti = {
2123
+ }, Ei = {
2124
2124
  shouldForwardProp: (e) => !e.startsWith("$")
2125
2125
  }, Me = v(
2126
- Bt,
2127
- Ti
2126
+ Pt,
2127
+ Ei
2128
2128
  )(({ $hoverColor: e }) => ({
2129
2129
  padding: 2,
2130
2130
  "&.MuiIconButton-root:hover": {
2131
- backgroundColor: e != null ? e : hn.interaction.defaultHover
2131
+ backgroundColor: e != null ? e : fn.interaction.defaultHover
2132
2132
  }
2133
2133
  }));
2134
- function Li({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
2134
+ function Ii({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
2135
2135
  return /* @__PURE__ */ o("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ o(
2136
2136
  "path",
2137
2137
  {
@@ -2142,7 +2142,7 @@ function Li({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
2142
2142
  }
2143
2143
  ) });
2144
2144
  }
2145
- function Ri({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
2145
+ function Ni({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
2146
2146
  return /* @__PURE__ */ o("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ o(
2147
2147
  "path",
2148
2148
  {
@@ -2153,7 +2153,7 @@ function Ri({ fill: e = "rgba(38, 46, 61, 0.67)" }) {
2153
2153
  }
2154
2154
  ) });
2155
2155
  }
2156
- function Ei() {
2156
+ function Pi() {
2157
2157
  return /* @__PURE__ */ o("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ o(
2158
2158
  "path",
2159
2159
  {
@@ -2165,10 +2165,10 @@ function Ei() {
2165
2165
  }
2166
2166
  ) });
2167
2167
  }
2168
- const dt = (e) => Pt(e.chart.backgroundColor), Ii = ({ title: e }) => {
2168
+ const dt = (e) => Ft(e.chart.backgroundColor), Bi = ({ title: e }) => {
2169
2169
  const { themeSettings: t } = L();
2170
- return /* @__PURE__ */ o(Se, { title: e, children: /* @__PURE__ */ o(Me, { disableTouchRipple: !0, $hoverColor: dt(t), children: /* @__PURE__ */ o(Ri, { fill: t.chart.textColor }) }) });
2171
- }, Ni = ({ items: e }) => {
2170
+ return /* @__PURE__ */ o(Se, { title: e, children: /* @__PURE__ */ o(Me, { disableTouchRipple: !0, $hoverColor: dt(t), children: /* @__PURE__ */ o(Ni, { fill: t.chart.textColor }) }) });
2171
+ }, Fi = ({ items: e }) => {
2172
2172
  const [t, n] = O(null), r = (a) => {
2173
2173
  n(a.currentTarget);
2174
2174
  }, s = () => {
@@ -2181,11 +2181,11 @@ const dt = (e) => Pt(e.chart.backgroundColor), Ii = ({ title: e }) => {
2181
2181
  onClick: r,
2182
2182
  $hoverColor: dt(c),
2183
2183
  "aria-label": "three dots button",
2184
- children: /* @__PURE__ */ o(Zn, { fill: c.chart.textColor })
2184
+ children: /* @__PURE__ */ o(Gn, { fill: c.chart.textColor })
2185
2185
  }
2186
2186
  ),
2187
2187
  /* @__PURE__ */ o(
2188
- Gn,
2188
+ Un,
2189
2189
  {
2190
2190
  anchorEl: t,
2191
2191
  anchorOrigin: {
@@ -2199,7 +2199,7 @@ const dt = (e) => Pt(e.chart.backgroundColor), Ii = ({ title: e }) => {
2199
2199
  open: !!t,
2200
2200
  onClose: s,
2201
2201
  children: e.map((a) => /* @__PURE__ */ w(
2202
- jn,
2202
+ Vn,
2203
2203
  {
2204
2204
  onClick: () => {
2205
2205
  a.onClick(), s();
@@ -2207,7 +2207,7 @@ const dt = (e) => Pt(e.chart.backgroundColor), Ii = ({ title: e }) => {
2207
2207
  sx: {
2208
2208
  fontSize: "13px",
2209
2209
  fontFamily: c.typography.fontFamily,
2210
- color: hn.text.content
2210
+ color: fn.text.content
2211
2211
  },
2212
2212
  disableRipple: !0,
2213
2213
  children: [
@@ -2220,15 +2220,15 @@ const dt = (e) => Pt(e.chart.backgroundColor), Ii = ({ title: e }) => {
2220
2220
  }
2221
2221
  )
2222
2222
  ] });
2223
- }, Bi = ({ onClick: e }) => {
2224
- const { themeSettings: t } = L(), { t: n } = P();
2225
- return /* @__PURE__ */ o(Se, { title: n("ai.preview"), children: /* @__PURE__ */ o(Me, { onClick: e, $hoverColor: dt(t), children: /* @__PURE__ */ o(Li, { fill: t.chart.textColor }) }) });
2226
- }, Hi = v.div`
2223
+ }, Hi = ({ onClick: e }) => {
2224
+ const { themeSettings: t } = L(), { t: n } = F();
2225
+ return /* @__PURE__ */ o(Se, { title: n("ai.preview"), children: /* @__PURE__ */ o(Me, { onClick: e, $hoverColor: dt(t), children: /* @__PURE__ */ o(Ii, { fill: t.chart.textColor }) }) });
2226
+ }, Oi = v.div`
2227
2227
  display: flex;
2228
2228
  padding-top: 6px;
2229
2229
  padding-bottom: 6px;
2230
2230
  `;
2231
- function Pi({
2231
+ function Di({
2232
2232
  infoTooltipText: e,
2233
2233
  onRefresh: t,
2234
2234
  onExpand: n
@@ -2238,27 +2238,27 @@ function Pi({
2238
2238
  {
2239
2239
  title: "Refresh",
2240
2240
  onClick: t,
2241
- icon: /* @__PURE__ */ o(Ei, {})
2241
+ icon: /* @__PURE__ */ o(Pi, {})
2242
2242
  }
2243
2243
  ],
2244
2244
  [t]
2245
2245
  );
2246
- return /* @__PURE__ */ w(Hi, { "aria-label": "chatbot chart toolbar", children: [
2247
- /* @__PURE__ */ o(Ii, { title: e != null ? e : "" }),
2248
- /* @__PURE__ */ o(Ni, { items: r }),
2249
- /* @__PURE__ */ o(Bi, { onClick: n })
2246
+ return /* @__PURE__ */ w(Oi, { "aria-label": "chatbot chart toolbar", children: [
2247
+ /* @__PURE__ */ o(Bi, { title: e != null ? e : "" }),
2248
+ /* @__PURE__ */ o(Fi, { items: r }),
2249
+ /* @__PURE__ */ o(Hi, { onClick: n })
2250
2250
  ] });
2251
2251
  }
2252
- function Fi({ content: e }) {
2252
+ function Ai({ content: e }) {
2253
2253
  const [t, n] = O(!1), { themeSettings: r } = L(), { inlineElement: s, expandedElement: c } = q(() => {
2254
- const a = He(e, { useCustomizedStyleOptions: !0 });
2255
- if (a === void 0 || !Ve(a))
2254
+ const a = Fe(e, { useCustomizedStyleOptions: !0 });
2255
+ if (a === void 0 || !Ie(a))
2256
2256
  throw new Ue("errors.otherWidgetTypesNotSupported");
2257
- const { detailedDescription: p } = e, { styleOptions: u } = a, g = {
2257
+ const { detailedDescription: p } = e, { styleOptions: d } = a, h = {
2258
2258
  cornerRadius: "Small",
2259
2259
  header: {
2260
2260
  renderToolbar: (i) => /* @__PURE__ */ o(
2261
- Pi,
2261
+ Di,
2262
2262
  {
2263
2263
  infoTooltipText: p,
2264
2264
  onRefresh: i,
@@ -2268,17 +2268,17 @@ function Fi({ content: e }) {
2268
2268
  }
2269
2269
  };
2270
2270
  let m, y;
2271
- if (Xn(a.chartType))
2272
- m = /* @__PURE__ */ o("div", { className: "csdk-h-[245px]", children: /* @__PURE__ */ o(xe, E(M({}, a), { styleOptions: g })) }), y = /* @__PURE__ */ o(xe, E(M({}, a), { styleOptions: { header: { hidden: !0 } } }));
2271
+ if (Ht(a.chartType))
2272
+ m = /* @__PURE__ */ o("div", { className: "csdk-h-[245px]", children: /* @__PURE__ */ o(xe, E(M({}, a), { styleOptions: h })) }), y = /* @__PURE__ */ o(xe, E(M({}, a), { styleOptions: { header: { hidden: !0 } } }));
2273
2273
  else {
2274
- const i = E(M({}, u), {
2274
+ const i = E(M({}, d), {
2275
2275
  header: { hidden: !0 }
2276
- }), d = M(E(M({}, u), {
2276
+ }), u = M(E(M({}, d), {
2277
2277
  legend: void 0,
2278
2278
  xAxis: void 0,
2279
2279
  yAxis: void 0
2280
- }), g);
2281
- delete d.legend, delete d.xAxis, delete d.yAxis, m = /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(xe, E(M({}, a), { styleOptions: d })) }), y = /* @__PURE__ */ o(
2280
+ }), h);
2281
+ delete u.legend, delete u.xAxis, delete u.yAxis, m = /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(xe, E(M({}, a), { styleOptions: u })) }), y = /* @__PURE__ */ o(
2282
2282
  xe,
2283
2283
  E(M({}, a), {
2284
2284
  styleOptions: M({ cornerRadius: "None" }, i)
@@ -2290,7 +2290,7 @@ function Fi({ content: e }) {
2290
2290
  return /* @__PURE__ */ w(Z, { children: [
2291
2291
  s,
2292
2292
  /* @__PURE__ */ w(
2293
- pn,
2293
+ gn,
2294
2294
  {
2295
2295
  open: t,
2296
2296
  onClose: () => n(!1),
@@ -2305,7 +2305,7 @@ function Fi({ content: e }) {
2305
2305
  children: [
2306
2306
  /* @__PURE__ */ w("div", { className: "csdk-flex csdk-items-center csdk-justify-between csdk-mt-[16px] csdk-mx-[16px] csdk-pl-[20px]", children: [
2307
2307
  /* @__PURE__ */ o("div", { className: "csdk-text-ai-lg csdk-semibold", children: e.queryTitle }),
2308
- /* @__PURE__ */ o(Bt, { onClick: () => n(!1), "aria-label": "close expanded chart", children: /* @__PURE__ */ o($i, { fillColor: r.aiChat.primaryTextColor }) })
2308
+ /* @__PURE__ */ o(Pt, { onClick: () => n(!1), "aria-label": "close expanded chart", children: /* @__PURE__ */ o(Ri, { fillColor: r.aiChat.primaryTextColor }) })
2309
2309
  ] }),
2310
2310
  /* @__PURE__ */ o("div", { className: "csdk-h-screen csdk-mt-[8px] csdk-mb-[24px] csdk-mx-[16px]", children: c })
2311
2311
  ]
@@ -2313,7 +2313,7 @@ function Fi({ content: e }) {
2313
2313
  )
2314
2314
  ] });
2315
2315
  }
2316
- function Oi({ theme: e }) {
2316
+ function zi({ theme: e }) {
2317
2317
  return /* @__PURE__ */ o("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ o(
2318
2318
  "path",
2319
2319
  {
@@ -2324,8 +2324,8 @@ function Oi({ theme: e }) {
2324
2324
  }
2325
2325
  ) });
2326
2326
  }
2327
- function Ai({ onClick: e, disabled: t }) {
2328
- const { themeSettings: n } = L(), { t: r } = P();
2327
+ function qi({ onClick: e, disabled: t }) {
2328
+ const { themeSettings: n } = L(), { t: r } = F();
2329
2329
  return /* @__PURE__ */ o(Se, { title: r("ai.buttons.incorrectResponse"), children: /* @__PURE__ */ o(
2330
2330
  Me,
2331
2331
  {
@@ -2333,11 +2333,11 @@ function Ai({ onClick: e, disabled: t }) {
2333
2333
  onClick: e,
2334
2334
  $hoverColor: n.aiChat.icons.feedbackIcons.hoverColor,
2335
2335
  disabled: t,
2336
- children: /* @__PURE__ */ o(Oi, { theme: n })
2336
+ children: /* @__PURE__ */ o(zi, { theme: n })
2337
2337
  }
2338
2338
  ) });
2339
2339
  }
2340
- function Di({ theme: e }) {
2340
+ function Wi({ theme: e }) {
2341
2341
  return /* @__PURE__ */ o("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ o(
2342
2342
  "path",
2343
2343
  {
@@ -2348,8 +2348,8 @@ function Di({ theme: e }) {
2348
2348
  }
2349
2349
  ) });
2350
2350
  }
2351
- function zi({ onClick: e, disabled: t }) {
2352
- const { themeSettings: n } = L(), { t: r } = P();
2351
+ function Zi({ onClick: e, disabled: t }) {
2352
+ const { themeSettings: n } = L(), { t: r } = F();
2353
2353
  return /* @__PURE__ */ o(Se, { title: r("ai.buttons.correctResponse"), children: /* @__PURE__ */ o(
2354
2354
  Me,
2355
2355
  {
@@ -2357,38 +2357,38 @@ function zi({ onClick: e, disabled: t }) {
2357
2357
  onClick: e,
2358
2358
  $hoverColor: n.aiChat.icons.feedbackIcons.hoverColor,
2359
2359
  disabled: t,
2360
- children: /* @__PURE__ */ o(Di, { theme: n })
2360
+ children: /* @__PURE__ */ o(Wi, { theme: n })
2361
2361
  }
2362
2362
  ) });
2363
2363
  }
2364
- const qi = () => {
2365
- const [e, t] = O(!1), n = he(null), r = H(() => {
2364
+ const ji = () => {
2365
+ const [e, t] = O(!1), n = he(null), r = B(() => {
2366
2366
  t(!0);
2367
- }, []), s = H(() => {
2367
+ }, []), s = B(() => {
2368
2368
  t(!1);
2369
2369
  }, []);
2370
- return [H(
2370
+ return [B(
2371
2371
  (a) => {
2372
2372
  var p;
2373
2373
  ((p = n.current) == null ? void 0 : p.nodeType) === Node.ELEMENT_NODE && (n.current.removeEventListener("mouseenter", r), n.current.removeEventListener("mouseleave", s)), (a == null ? void 0 : a.nodeType) === Node.ELEMENT_NODE && (a.addEventListener("mouseenter", r), a.addEventListener("mouseleave", s)), n.current = a;
2374
2374
  },
2375
2375
  [r, s]
2376
2376
  ), e];
2377
- }, Wi = v.div`
2377
+ }, Gi = v.div`
2378
2378
  display: flex;
2379
2379
  flex-direction: column;
2380
2380
  row-gap: ${({ theme: e }) => e.aiChat.body.gapBetweenMessages};
2381
2381
  `;
2382
- function Zi({ visible: e, onSend: t }) {
2383
- const [n, r] = O(!1), s = H(
2382
+ function Vi({ visible: e, onSend: t }) {
2383
+ const [n, r] = O(!1), s = B(
2384
2384
  (a) => {
2385
2385
  r(!0), t(a === "up" ? 1 : -1);
2386
2386
  },
2387
2387
  [t]
2388
2388
  ), c = `csdk-transition-opacity csdk-delay-150 csdk-duration-500 ${n ? "csdk-opacity-0" : "csdk-opacity-100"}`;
2389
2389
  return e ? /* @__PURE__ */ w("div", { className: `csdk-flex csdk-items-center ${c}`, children: [
2390
- /* @__PURE__ */ o(zi, { onClick: () => s("up"), disabled: n }),
2391
- /* @__PURE__ */ o(Ai, { onClick: () => s("down"), disabled: n })
2390
+ /* @__PURE__ */ o(Zi, { onClick: () => s("up"), disabled: n }),
2391
+ /* @__PURE__ */ o(qi, { onClick: () => s("down"), disabled: n })
2392
2392
  ] }) : null;
2393
2393
  }
2394
2394
  function Xe({
@@ -2398,8 +2398,8 @@ function Xe({
2398
2398
  buttonVisibility: r = "onHover",
2399
2399
  renderContent: s
2400
2400
  }) {
2401
- const c = Y(), a = Vn(
2402
- H(
2401
+ const c = ee(), a = Qn(
2402
+ B(
2403
2403
  (y) => {
2404
2404
  c && c.ai.sendFeedback({
2405
2405
  sourceId: e,
@@ -2411,14 +2411,14 @@ function Xe({
2411
2411
  [c, e, t, n]
2412
2412
  ),
2413
2413
  200
2414
- ), [p, u] = qi(), g = q(() => r === "onHover" ? u : r !== "never", [u, r]), { themeSettings: m } = L();
2415
- return /* @__PURE__ */ o(Wi, { ref: p, theme: m, children: s(/* @__PURE__ */ o(Zi, { onSend: a, visible: g })) });
2414
+ ), [p, d] = ji(), h = q(() => r === "onHover" ? d : r !== "never", [d, r]), { themeSettings: m } = L();
2415
+ return /* @__PURE__ */ o(Gi, { ref: p, theme: m, children: s(/* @__PURE__ */ o(Vi, { onSend: a, visible: h })) });
2416
2416
  }
2417
- const ji = 18 * 5;
2417
+ const Ui = 18 * 5;
2418
2418
  function ut({ text: e }) {
2419
- const [t, n] = O(!0), [r, s] = O(!1), { t: c } = P(), a = he(null);
2420
- return Ie(() => {
2421
- a.current && a.current.scrollHeight > ji && s(!0);
2419
+ const [t, n] = O(!0), [r, s] = O(!1), { t: c } = F(), a = he(null);
2420
+ return Ne(() => {
2421
+ a.current && a.current.scrollHeight > Ui && s(!0);
2422
2422
  }, [e]), /* @__PURE__ */ w("div", { children: [
2423
2423
  /* @__PURE__ */ o("div", { ref: a, className: `${t ? "csdk-line-clamp-5" : ""} csdk-whitespace-pre-wrap`, children: e }),
2424
2424
  r && /* @__PURE__ */ o("div", { className: "csdk-mt-3 csdk-flex csdk-justify-end", children: /* @__PURE__ */ o(
@@ -2431,30 +2431,30 @@ function ut({ text: e }) {
2431
2431
  ) })
2432
2432
  ] });
2433
2433
  }
2434
- function Gi({ nlgRequest: e }) {
2435
- const { data: t, isLoading: n, isError: r } = Pe(e), { t: s } = P();
2434
+ function Qi({ nlgRequest: e }) {
2435
+ const { data: t, isLoading: n, isError: r } = He(e), { t: s } = F();
2436
2436
  return n ? /* @__PURE__ */ o(at, {}) : r ? /* @__PURE__ */ o(se, { align: "left", children: s("ai.errors.unexpected") }) : /* @__PURE__ */ o(se, { align: "full", children: /* @__PURE__ */ o(ut, { text: t != null ? t : s("ai.errors.insightsNotAvailable") }) });
2437
2437
  }
2438
- const $t = v.div`
2438
+ const Tt = v.div`
2439
2439
  display: flex;
2440
2440
  align-items: center;
2441
2441
  column-gap: 10px;
2442
- `, Vi = (e) => !!e && "aeiou".includes(e[0]);
2443
- function Ui({ data: e, alwaysShowFeedback: t }) {
2444
- const { chatMode: n = "analyze", enableInsights: r } = ne(), { themeSettings: s } = L(), { queryTitle: c, chartRecommendations: a, jaql: p, userMsg: u, clarification: g = "" } = e;
2442
+ `, _i = (e) => !!e && "aeiou".includes(e[0]);
2443
+ function Ki({ data: e, alwaysShowFeedback: t }) {
2444
+ const { chatMode: n = "analyze", enableInsights: r } = ne(), { themeSettings: s } = L(), { queryTitle: c, chartRecommendations: a, jaql: p, userMsg: d, clarification: h = "" } = e;
2445
2445
  console.debug(`JAQL for ${c}`, p), console.debug(`chart recommendations for ${c}`, a);
2446
2446
  const m = "chartType" in a ? a.chartType : "table";
2447
2447
  let y;
2448
- Vi(m) ? y = `an ${m}` : y = `a ${m}`, m !== "table" && (y += " chart");
2449
- const i = p.datasource.title, [d, l] = O(!1), f = H(() => {
2448
+ _i(m) ? y = `an ${m}` : y = `a ${m}`, m !== "table" && (y += " chart");
2449
+ const i = p.datasource.title, [u, l] = O(!1), f = B(() => {
2450
2450
  l((x) => !x);
2451
- }, []), h = {
2451
+ }, []), g = {
2452
2452
  jaql: {
2453
2453
  datasource: p.datasource,
2454
2454
  metadata: p.metadata
2455
2455
  }
2456
- }, k = n === "analyze", S = `${u}${u && g ? `
2457
- ` : ""}${g}`;
2456
+ }, k = n === "analyze", S = `${d}${d && h ? `
2457
+ ` : ""}${h}`;
2458
2458
  return /* @__PURE__ */ w(Z, { children: [
2459
2459
  /* @__PURE__ */ o(
2460
2460
  Xe,
@@ -2464,11 +2464,11 @@ function Ui({ data: e, alwaysShowFeedback: t }) {
2464
2464
  type: "chats/nlq",
2465
2465
  buttonVisibility: t ? "always" : "onHover",
2466
2466
  renderContent: (x) => /* @__PURE__ */ w(Z, { children: [
2467
- /* @__PURE__ */ w($t, { children: [
2468
- /* @__PURE__ */ o(dn, { align: "left", theme: s, children: S || `Here's ${y} showing ${mi(c)}.` }),
2467
+ /* @__PURE__ */ w(Tt, { children: [
2468
+ /* @__PURE__ */ o(pn, { align: "left", theme: s, children: S || `Here's ${y} showing ${xi(c)}.` }),
2469
2469
  x
2470
2470
  ] }),
2471
- k && /* @__PURE__ */ o(Fi, { content: e })
2471
+ k && /* @__PURE__ */ o(Ai, { content: e })
2472
2472
  ] })
2473
2473
  }
2474
2474
  ),
@@ -2476,46 +2476,46 @@ function Ui({ data: e, alwaysShowFeedback: t }) {
2476
2476
  Xe,
2477
2477
  {
2478
2478
  sourceId: i,
2479
- data: h,
2479
+ data: g,
2480
2480
  type: "nlg/queryResult",
2481
- buttonVisibility: d ? "onHover" : "never",
2481
+ buttonVisibility: u ? "onHover" : "never",
2482
2482
  renderContent: (x) => /* @__PURE__ */ w(Z, { children: [
2483
- /* @__PURE__ */ w($t, { children: [
2484
- /* @__PURE__ */ o(yi, { onClick: f }),
2483
+ /* @__PURE__ */ w(Tt, { children: [
2484
+ /* @__PURE__ */ o(ki, { onClick: f }),
2485
2485
  x
2486
2486
  ] }),
2487
- d && /* @__PURE__ */ o(Gi, { nlgRequest: h })
2487
+ u && /* @__PURE__ */ o(Qi, { nlgRequest: g })
2488
2488
  ] })
2489
2489
  }
2490
2490
  )
2491
2491
  ] });
2492
2492
  }
2493
- function Qi({ message: e, isLastMessage: t }) {
2493
+ function Xi({ message: e, isLastMessage: t }) {
2494
2494
  if (st(e)) {
2495
2495
  const r = JSON.parse(e.content);
2496
- return /* @__PURE__ */ o(Ui, { data: r, alwaysShowFeedback: t });
2496
+ return /* @__PURE__ */ o(Ki, { data: r, alwaysShowFeedback: t });
2497
2497
  }
2498
- const n = Tr(e) ? JSON.parse(e.content).answer : e.content;
2498
+ const n = Er(e) ? JSON.parse(e.content).answer : e.content;
2499
2499
  return /* @__PURE__ */ o(se, { align: e.role === "user" ? "right" : "left", children: n });
2500
2500
  }
2501
- const _i = nr(Qi), Ki = ({
2501
+ const Ji = sr(Xi), Yi = ({
2502
2502
  error: e,
2503
2503
  displayMessage: t
2504
2504
  }) => (console.debug("Unexpected error occurred when resolving a chat message:", e), /* @__PURE__ */ o(se, { align: "left", children: t }));
2505
- function Xi({ messages: e }) {
2506
- const { t } = P();
2505
+ function e1({ messages: e }) {
2506
+ const { t } = F();
2507
2507
  return /* @__PURE__ */ o(Z, { children: e.map((n, r) => /* @__PURE__ */ o(
2508
- Un,
2508
+ _n,
2509
2509
  {
2510
- fallbackRender: (s) => Ki(E(M({}, s), {
2510
+ fallbackRender: (s) => Yi(E(M({}, s), {
2511
2511
  displayMessage: t("ai.errors.unexpected")
2512
2512
  })),
2513
- children: /* @__PURE__ */ o(_i, { message: n, isLastMessage: r === e.length - 1 }, r)
2513
+ children: /* @__PURE__ */ o(Ji, { message: n, isLastMessage: r === e.length - 1 }, r)
2514
2514
  },
2515
2515
  r
2516
2516
  )) });
2517
2517
  }
2518
- function gn({ color: e }) {
2518
+ function Cn({ color: e }) {
2519
2519
  return /* @__PURE__ */ o(
2520
2520
  "svg",
2521
2521
  {
@@ -2534,18 +2534,18 @@ function gn({ color: e }) {
2534
2534
  }
2535
2535
  );
2536
2536
  }
2537
- function Ji({ onClick: e, color: t }) {
2537
+ function t1({ onClick: e, color: t }) {
2538
2538
  return /* @__PURE__ */ o(
2539
2539
  "div",
2540
2540
  {
2541
2541
  "aria-label": "go back",
2542
2542
  className: "csdk-w-5 csdk-h-5 csdk-flex csdk-p-[4px] csdk-ml-[6px] csdk-cursor-pointer",
2543
2543
  onClick: e,
2544
- children: /* @__PURE__ */ o(gn, { color: t })
2544
+ children: /* @__PURE__ */ o(Cn, { color: t })
2545
2545
  }
2546
2546
  );
2547
2547
  }
2548
- function Yi() {
2548
+ function n1() {
2549
2549
  const { themeSettings: e } = L();
2550
2550
  return /* @__PURE__ */ o("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ o(
2551
2551
  "path",
@@ -2557,10 +2557,10 @@ function Yi() {
2557
2557
  }
2558
2558
  ) });
2559
2559
  }
2560
- const e1 = (e, t) => {
2561
- const n = new Jn(e);
2560
+ const r1 = (e, t) => {
2561
+ const n = new nr(e);
2562
2562
  return n.alpha = t, n;
2563
- }, t1 = v.div`
2563
+ }, o1 = v.div`
2564
2564
  font-size: inherit;
2565
2565
  line-height: inherit;
2566
2566
  padding-left: 8px;
@@ -2568,7 +2568,7 @@ const e1 = (e, t) => {
2568
2568
  padding-top: 4px;
2569
2569
  border-radius: 16px;
2570
2570
  margin-bottom: 4px;
2571
- box-shadow: ${({ theme: e }) => `0 4px 8px 0 ${e1(e.aiChat.primaryTextColor, 0.2)}`};
2571
+ box-shadow: ${({ theme: e }) => `0 4px 8px 0 ${r1(e.aiChat.primaryTextColor, 0.2)}`};
2572
2572
  cursor: pointer;
2573
2573
  color: ${({ theme: e }) => e.aiChat.clickableMessages.textColor};
2574
2574
  background-color: ${({ theme: e }) => e.aiChat.clickableMessages.backgroundColor};
@@ -2577,10 +2577,10 @@ const e1 = (e, t) => {
2577
2577
  color: ${({ theme: e }) => e.aiChat.clickableMessages.hover.textColor};
2578
2578
  background-color: ${({ theme: e }) => e.aiChat.clickableMessages.hover.backgroundColor};
2579
2579
  box-shadow: none;
2580
- `, n1 = ({ onClick: e }) => {
2580
+ `, i1 = ({ onClick: e }) => {
2581
2581
  const { themeSettings: t } = L();
2582
- return /* @__PURE__ */ o(t1, { theme: t, onClick: e, children: /* @__PURE__ */ o(Yi, {}) });
2583
- }, r1 = ({ isVisible: e, onClick: t, anchorElement: n }) => /* @__PURE__ */ o(It, { anchorEl: n, open: e, placement: "top", sx: { zIndex: 2 }, children: /* @__PURE__ */ o(n1, { onClick: t }) }), o1 = v.button`
2582
+ return /* @__PURE__ */ o(o1, { theme: t, onClick: e, children: /* @__PURE__ */ o(n1, {}) });
2583
+ }, s1 = ({ isVisible: e, onClick: t, anchorElement: n }) => /* @__PURE__ */ o(It, { anchorEl: n, open: e, placement: "top", sx: { zIndex: 2 }, children: /* @__PURE__ */ o(i1, { onClick: t }) }), a1 = v.button`
2584
2584
  font-size: inherit;
2585
2585
  line-height: inherit;
2586
2586
  box-sizing: border-box;
@@ -2607,7 +2607,7 @@ const e1 = (e, t) => {
2607
2607
  const { borderGradient: t, borderRadius: n } = e.aiChat.suggestions;
2608
2608
  if (t) {
2609
2609
  const [r, s] = t;
2610
- return D`
2610
+ return A`
2611
2611
  border: none;
2612
2612
  position: relative;
2613
2613
  border-radius: ${n};
@@ -2630,24 +2630,24 @@ const e1 = (e, t) => {
2630
2630
  return "";
2631
2631
  }}
2632
2632
  `;
2633
- function Tt({ question: e, onClick: t }) {
2633
+ function $t({ question: e, onClick: t }) {
2634
2634
  const { themeSettings: n } = L();
2635
- return /* @__PURE__ */ o(o1, { onClick: t, theme: n, children: e });
2635
+ return /* @__PURE__ */ o(a1, { onClick: t, theme: n, children: e });
2636
2636
  }
2637
- const i1 = v.div`
2637
+ const l1 = v.div`
2638
2638
  display: flex;
2639
2639
  flex-direction: column;
2640
2640
  align-items: flex-start;
2641
2641
  row-gap: ${({ theme: e }) => e.aiChat.suggestions.gap};
2642
2642
  `;
2643
- function s1({ questions: e, onSelection: t }) {
2644
- const { t: n } = P(), [r, s] = O(!0), c = q(() => r && e.length > 5 ? e.slice(0, 4) : e, [e, r]), { themeSettings: a } = L();
2645
- return /* @__PURE__ */ w(i1, { "aria-label": "list of suggested questions", theme: a, children: [
2646
- c.map((p) => /* @__PURE__ */ o(Tt, { question: p, onClick: () => t(p) }, p)),
2647
- c.length < e.length && /* @__PURE__ */ o(Tt, { question: n("ai.buttons.seeMore"), onClick: () => s(!1) })
2643
+ function c1({ questions: e, onSelection: t }) {
2644
+ const { t: n } = F(), [r, s] = O(!0), c = q(() => r && e.length > 5 ? e.slice(0, 4) : e, [e, r]), { themeSettings: a } = L();
2645
+ return /* @__PURE__ */ w(l1, { "aria-label": "list of suggested questions", theme: a, children: [
2646
+ c.map((p) => /* @__PURE__ */ o($t, { question: p, onClick: () => t(p) }, p)),
2647
+ c.length < e.length && /* @__PURE__ */ o($t, { question: n("ai.buttons.seeMore"), onClick: () => s(!1) })
2648
2648
  ] });
2649
2649
  }
2650
- const a1 = v.div`
2650
+ const d1 = v.div`
2651
2651
  width: 283px;
2652
2652
  height: 32px;
2653
2653
  border-radius: 10px;
@@ -2671,23 +2671,23 @@ const a1 = v.div`
2671
2671
  background-position: -200% 0;
2672
2672
  }
2673
2673
  }
2674
- `, l1 = v.div`
2674
+ `, u1 = v.div`
2675
2675
  display: flex;
2676
2676
  flex-direction: column;
2677
2677
  row-gap: 1rem;
2678
2678
  `;
2679
- function c1() {
2679
+ function p1() {
2680
2680
  const { themeSettings: e } = L();
2681
- return /* @__PURE__ */ o(l1, { children: Array.from({ length: 3 }, (t, n) => /* @__PURE__ */ o(a1, { theme: e }, n)) });
2681
+ return /* @__PURE__ */ o(u1, { children: Array.from({ length: 3 }, (t, n) => /* @__PURE__ */ o(d1, { theme: e }, n)) });
2682
2682
  }
2683
- function d1({ questions: e, isLoading: t, onSelection: n }) {
2683
+ function h1({ questions: e, isLoading: t, onSelection: n }) {
2684
2684
  const r = e.length > 0, { suggestionsWelcomeText: s } = ne();
2685
- return t ? /* @__PURE__ */ o(c1, {}) : r ? /* @__PURE__ */ w(Z, { children: [
2685
+ return t ? /* @__PURE__ */ o(p1, {}) : r ? /* @__PURE__ */ w(Z, { children: [
2686
2686
  s && /* @__PURE__ */ o(se, { align: "left", children: s }),
2687
- /* @__PURE__ */ o(s1, { onSelection: n, questions: e })
2687
+ /* @__PURE__ */ o(c1, { onSelection: n, questions: e })
2688
2688
  ] }) : null;
2689
2689
  }
2690
- const u1 = v.div`
2690
+ const g1 = v.div`
2691
2691
  display: flex;
2692
2692
  flex-direction: column;
2693
2693
  row-gap: ${({ theme: e }) => e.aiChat.body.gapBetweenMessages};
@@ -2698,7 +2698,7 @@ const u1 = v.div`
2698
2698
  padding-bottom: ${({ theme: e }) => e.aiChat.body.paddingBottom};
2699
2699
  flex: initial;
2700
2700
  height: 100%;
2701
- `, p1 = v.div`
2701
+ `, f1 = v.div`
2702
2702
  padding-left: ${({ theme: e }) => e.aiChat.footer.paddingLeft};
2703
2703
  padding-right: ${({ theme: e }) => e.aiChat.footer.paddingRight};
2704
2704
  padding-top: ${({ theme: e }) => e.aiChat.footer.paddingTop};
@@ -2706,136 +2706,136 @@ const u1 = v.div`
2706
2706
  display: flex;
2707
2707
  flex-direction: column;
2708
2708
  row-gap: 6px;
2709
- `, h1 = v.div`
2709
+ `, C1 = v.div`
2710
2710
  display: flex;
2711
2711
  flex-direction: column;
2712
2712
  row-gap: ${({ theme: e }) => e.aiChat.suggestions.gap};
2713
2713
  `;
2714
- function g1({ contextTitle: e, onGoBack: t, contextDetails: n }) {
2714
+ function m1({ contextTitle: e, onGoBack: t, contextDetails: n }) {
2715
2715
  var re, ce, de;
2716
- const { t: r } = P(), {
2716
+ const { t: r } = F(), {
2717
2717
  enableFollowupQuestions: s,
2718
2718
  enableHeader: c,
2719
2719
  numOfRecentPrompts: a,
2720
2720
  numOfRecommendations: p,
2721
- customPrompt: u
2722
- } = ne(), { themeSettings: g } = L(), {
2721
+ customPrompt: d
2722
+ } = ne(), { themeSettings: h } = L(), {
2723
2723
  data: m,
2724
2724
  isLoading: y,
2725
2725
  isError: i
2726
- } = Dt({
2726
+ } = qt({
2727
2727
  contextTitle: e,
2728
2728
  count: p,
2729
- customPrompt: u
2730
- }), d = q(
2731
- () => m == null ? void 0 : m.map((B) => B.nlqPrompt),
2729
+ customPrompt: d
2730
+ }), u = q(
2731
+ () => m == null ? void 0 : m.map((P) => P.nlqPrompt),
2732
2732
  [m]
2733
2733
  ), {
2734
2734
  history: l,
2735
2735
  lastNlqResponse: f,
2736
- isAwaitingResponse: h,
2736
+ isAwaitingResponse: g,
2737
2737
  sendMessage: k,
2738
2738
  isLoading: S,
2739
2739
  chatId: x,
2740
- lastError: T
2741
- } = Lr(e, n), { mutate: R, isLoading: $ } = Wt(x), [I, F] = O(!1), [ae, Q] = O(!1), j = () => F(!0), W = () => F(!1), V = () => {
2740
+ lastError: $
2741
+ } = Ir(e, n), { mutate: R, isLoading: T } = jt(x), [I, H] = O(!1), [ae, Q] = O(!1), j = () => H(!0), W = () => H(!1), V = () => {
2742
2742
  R(), W();
2743
2743
  }, N = he(null), _ = he(null), K = () => {
2744
2744
  if (!(N != null && N.current)) return;
2745
- const { scrollTop: B, clientHeight: X, scrollHeight: $e } = N.current;
2746
- if (B === void 0 || X === void 0 || $e === void 0) return;
2747
- const Te = $e - B - X > X / 2;
2748
- ae !== Te && Q(Te);
2745
+ const { scrollTop: P, clientHeight: X, scrollHeight: Te } = N.current;
2746
+ if (P === void 0 || X === void 0 || Te === void 0) return;
2747
+ const $e = Te - P - X > X / 2;
2748
+ ae !== $e && Q($e);
2749
2749
  };
2750
- Ie(() => {
2750
+ Ne(() => {
2751
2751
  N.current && (N.current.scrollTop = N.current.scrollHeight);
2752
- }, [l, I, h]);
2753
- const U = he(null), A = c ? /* @__PURE__ */ o(
2754
- Gt,
2752
+ }, [l, I, g]);
2753
+ const U = he(null), D = c ? /* @__PURE__ */ o(
2754
+ Ut,
2755
2755
  {
2756
2756
  ref: U,
2757
2757
  title: e,
2758
- leftNav: t && /* @__PURE__ */ o(Ji, { onClick: t, color: g.aiChat.header.textColor }),
2759
- style: g.aiChat.header
2758
+ leftNav: t && /* @__PURE__ */ o(t1, { onClick: t, color: h.aiChat.header.textColor }),
2759
+ style: h.aiChat.header
2760
2760
  }
2761
2761
  ) : null, G = q(
2762
2762
  () => [
2763
2763
  ...new Set(
2764
- l.filter((B) => B.role === "user").filter((B) => !(d != null && d.includes(B.content))).map((B) => B.content).reverse()
2764
+ l.filter((P) => P.role === "user").filter((P) => !(u != null && u.includes(P.content))).map((P) => P.content).reverse()
2765
2765
  )
2766
2766
  ].slice(0, a),
2767
- [l, a, d]
2767
+ [l, a, u]
2768
2768
  );
2769
- return (T == null ? void 0 : T.message) === r("ai.errors.chatUnavailable") ? /* @__PURE__ */ w(Z, { children: [
2770
- c && A,
2771
- /* @__PURE__ */ o(jt, { text: T.message })
2769
+ return ($ == null ? void 0 : $.message) === r("ai.errors.chatUnavailable") ? /* @__PURE__ */ w(Z, { children: [
2770
+ c && D,
2771
+ /* @__PURE__ */ o(Vt, { text: $.message })
2772
2772
  ] }) : /* @__PURE__ */ w(Z, { children: [
2773
- A,
2774
- /* @__PURE__ */ w(u1, { ref: N, theme: g, onScroll: K, children: [
2773
+ D,
2774
+ /* @__PURE__ */ w(g1, { ref: N, theme: h, onScroll: K, children: [
2775
2775
  /* @__PURE__ */ o(
2776
- r1,
2776
+ s1,
2777
2777
  {
2778
2778
  isVisible: ae,
2779
2779
  anchorElement: _.current,
2780
2780
  onClick: () => {
2781
- var B, X;
2781
+ var P, X;
2782
2782
  (X = N.current) == null || X.scroll({
2783
- top: (B = N.current) == null ? void 0 : B.scrollHeight,
2783
+ top: (P = N.current) == null ? void 0 : P.scrollHeight,
2784
2784
  behavior: "smooth"
2785
2785
  });
2786
2786
  }
2787
2787
  }
2788
2788
  ),
2789
- /* @__PURE__ */ o(hi, {}),
2789
+ /* @__PURE__ */ o(Ci, {}),
2790
2790
  /* @__PURE__ */ o(
2791
- d1,
2791
+ h1,
2792
2792
  {
2793
- questions: d || [],
2793
+ questions: u || [],
2794
2794
  isLoading: y,
2795
2795
  onSelection: k
2796
2796
  }
2797
2797
  ),
2798
- T && /* @__PURE__ */ o(se, { align: "left", children: T.message }),
2799
- S ? /* @__PURE__ */ o(Fe, {}) : /* @__PURE__ */ o(Xi, { messages: l }),
2800
- s && f && ((ce = (re = f.followupQuestions) == null ? void 0 : re.length) != null ? ce : 0) > 0 && /* @__PURE__ */ o(h1, { theme: g, children: (de = f.followupQuestions) == null ? void 0 : de.slice(0, 2).map((B, X) => /* @__PURE__ */ o(
2801
- Ne,
2798
+ $ && /* @__PURE__ */ o(se, { align: "left", children: $.message }),
2799
+ S ? /* @__PURE__ */ o(Oe, {}) : /* @__PURE__ */ o(e1, { messages: l }),
2800
+ s && f && ((ce = (re = f.followupQuestions) == null ? void 0 : re.length) != null ? ce : 0) > 0 && /* @__PURE__ */ o(C1, { theme: h, children: (de = f.followupQuestions) == null ? void 0 : de.slice(0, 2).map((P, X) => /* @__PURE__ */ o(
2801
+ Pe,
2802
2802
  {
2803
2803
  align: "left",
2804
2804
  onClick: () => {
2805
- k(B);
2805
+ k(P);
2806
2806
  },
2807
- children: /* @__PURE__ */ o("div", { className: "csdk-py-[7px] csdk-px-4", children: B })
2807
+ children: /* @__PURE__ */ o("div", { className: "csdk-py-[7px] csdk-px-4", children: P })
2808
2808
  },
2809
2809
  X
2810
2810
  )) }),
2811
- (h || $) && /* @__PURE__ */ o(at, {}),
2811
+ (g || T) && /* @__PURE__ */ o(at, {}),
2812
2812
  I && /* @__PURE__ */ o(
2813
- Ci,
2813
+ yi,
2814
2814
  {
2815
2815
  onCancel: W,
2816
2816
  onConfirm: V
2817
2817
  }
2818
2818
  )
2819
2819
  ] }),
2820
- /* @__PURE__ */ w(p1, { ref: _, theme: g, children: [
2820
+ /* @__PURE__ */ w(f1, { ref: _, theme: h, children: [
2821
2821
  /* @__PURE__ */ o(
2822
- Jr,
2822
+ to,
2823
2823
  {
2824
2824
  onSendMessage: k,
2825
- disabled: h || S,
2825
+ disabled: g || S,
2826
2826
  onClearHistoryClick: j,
2827
- suggestions: d || [],
2827
+ suggestions: u || [],
2828
2828
  recentPrompts: G,
2829
2829
  isLoading: y || S,
2830
2830
  recommendationsError: i,
2831
2831
  onChange: W
2832
2832
  }
2833
2833
  ),
2834
- /* @__PURE__ */ o(Fr, { theme: g })
2834
+ /* @__PURE__ */ o(Ar, { theme: h })
2835
2835
  ] })
2836
2836
  ] });
2837
2837
  }
2838
- const f1 = v.button`
2838
+ const b1 = v.button`
2839
2839
  font-family: ${({ theme: e }) => e.typography.fontFamily};
2840
2840
  padding: 20px;
2841
2841
  border: none;
@@ -2848,38 +2848,38 @@ const f1 = v.button`
2848
2848
  cursor: pointer;
2849
2849
 
2850
2850
  background-color: ${({ theme: e }) => e.aiChat.dataTopics.items.backgroundColor};
2851
- `, C1 = v.div`
2851
+ `, y1 = v.div`
2852
2852
  font-size: 1.05rem;
2853
2853
  line-height: 28px;
2854
2854
 
2855
2855
  color: ${({ theme: e }) => e.aiChat.dataTopics.items.textColor};
2856
- `, m1 = v.div`
2856
+ `, x1 = v.div`
2857
2857
  font-size: ${({ theme: e }) => e.aiChat.primaryFontSize[0]};
2858
2858
  line-height: ${({ theme: e }) => e.aiChat.primaryFontSize[1]};
2859
2859
 
2860
- color: ${({ theme: e }) => Pt(e.aiChat.dataTopics.items.textColor, 0, 0.5)};
2861
- `, b1 = v.div`
2860
+ color: ${({ theme: e }) => Ft(e.aiChat.dataTopics.items.textColor, 0, 0.5)};
2861
+ `, v1 = v.div`
2862
2862
  width: 16px;
2863
2863
  height: 16px;
2864
2864
  transform: rotate(180deg);
2865
2865
  `;
2866
- function y1(e) {
2866
+ function k1(e) {
2867
2867
  const { title: t, description: n, onClick: r } = e, { themeSettings: s } = L();
2868
- return /* @__PURE__ */ w(f1, { onClick: r, theme: s, children: [
2868
+ return /* @__PURE__ */ w(b1, { onClick: r, theme: s, children: [
2869
2869
  /* @__PURE__ */ w("div", { children: [
2870
- /* @__PURE__ */ o(C1, { theme: s, children: t }),
2871
- /* @__PURE__ */ o(m1, { theme: s, children: n })
2870
+ /* @__PURE__ */ o(y1, { theme: s, children: t }),
2871
+ /* @__PURE__ */ o(x1, { theme: s, children: n })
2872
2872
  ] }),
2873
- /* @__PURE__ */ o(b1, { children: /* @__PURE__ */ o(gn, { color: s.aiChat.icons.color }) })
2873
+ /* @__PURE__ */ o(v1, { children: /* @__PURE__ */ o(Cn, { color: s.aiChat.icons.color }) })
2874
2874
  ] });
2875
2875
  }
2876
- const x1 = v.div`
2876
+ const w1 = v.div`
2877
2877
  padding: 20px;
2878
2878
  display: flex;
2879
2879
  flex-direction: column;
2880
2880
  gap: 20px;
2881
2881
  overflow: auto;
2882
- `, v1 = v.div`
2882
+ `, S1 = v.div`
2883
2883
  font-size: 24px;
2884
2884
  line-height: 32px;
2885
2885
  font-weight: 600;
@@ -2887,28 +2887,28 @@ const x1 = v.div`
2887
2887
  padding-bottom: 4px;
2888
2888
 
2889
2889
  color: ${({ theme: e }) => e.aiChat.primaryTextColor};
2890
- `, k1 = v.div`
2890
+ `, M1 = v.div`
2891
2891
  font-size: 15px;
2892
2892
  line-height: 22px;
2893
2893
 
2894
2894
  color: ${({ theme: e }) => e.aiChat.primaryTextColor};
2895
2895
  `;
2896
- function w1(e) {
2897
- const { dataTopics: t } = e, { themeSettings: n } = L(), { t: r } = P();
2898
- return /* @__PURE__ */ w(x1, { children: [
2899
- /* @__PURE__ */ o(v1, { theme: n, children: r("ai.dataTopics") }),
2900
- /* @__PURE__ */ w(k1, { theme: n, children: [
2896
+ function T1(e) {
2897
+ const { dataTopics: t } = e, { themeSettings: n } = L(), { t: r } = F();
2898
+ return /* @__PURE__ */ w(w1, { children: [
2899
+ /* @__PURE__ */ o(S1, { theme: n, children: r("ai.dataTopics") }),
2900
+ /* @__PURE__ */ w(M1, { theme: n, children: [
2901
2901
  r("ai.chatbotDescription"),
2902
2902
  /* @__PURE__ */ o("br", {}),
2903
2903
  /* @__PURE__ */ o("br", {}),
2904
2904
  r("ai.topicSelectPrompt")
2905
2905
  ] }),
2906
- t.map((s) => /* @__PURE__ */ Qn(y1, E(M({}, s), { key: s.title })))
2906
+ t.map((s) => /* @__PURE__ */ Kn(k1, E(M({}, s), { key: s.title })))
2907
2907
  ] });
2908
2908
  }
2909
- const S1 = "#000000", M1 = "#FFFFFF";
2910
- function $1({ isDarkBackground: e = !1 }) {
2911
- const t = e ? M1 : S1;
2909
+ const $1 = "#000000", L1 = "#FFFFFF";
2910
+ function R1({ isDarkBackground: e = !1 }) {
2911
+ const t = e ? L1 : $1;
2912
2912
  return /* @__PURE__ */ w(
2913
2913
  "svg",
2914
2914
  {
@@ -3034,10 +3034,10 @@ function $1({ isDarkBackground: e = !1 }) {
3034
3034
  }
3035
3035
  );
3036
3036
  }
3037
- const T1 = v.div`
3037
+ const E1 = v.div`
3038
3038
  margin-left: 14px;
3039
3039
  margin-top: 3px;
3040
- `, L1 = v.div`
3040
+ `, I1 = v.div`
3041
3041
  display: flex;
3042
3042
  flex-direction: column;
3043
3043
  justify-content: top;
@@ -3046,87 +3046,87 @@ const T1 = v.div`
3046
3046
 
3047
3047
  background-color: ${({ theme: e }) => e.aiChat.dataTopics.backgroundColor};
3048
3048
  `;
3049
- function R1({ dataTopicsList: e, onDataTopicClick: t }) {
3050
- const { enableHeader: n } = ne(), { themeSettings: r } = L(), { t: s } = P(), c = q(() => e == null ? void 0 : e.map((p) => ({
3049
+ function N1({ dataTopicsList: e, onDataTopicClick: t }) {
3050
+ const { enableHeader: n } = ne(), { themeSettings: r } = L(), { t: s } = F(), c = q(() => e == null ? void 0 : e.map((p) => ({
3051
3051
  title: p,
3052
3052
  onClick: () => t(p)
3053
- })), [e, t]), a = Yn(er(r.aiChat.header.backgroundColor)) > 0.5;
3053
+ })), [e, t]), a = rr(or(r.aiChat.header.backgroundColor)) > 0.5;
3054
3054
  return /* @__PURE__ */ w(Z, { children: [
3055
3055
  n ? /* @__PURE__ */ o(
3056
- Gt,
3056
+ Ut,
3057
3057
  {
3058
3058
  title: s("ai.analyticsChatbot"),
3059
- leftNav: /* @__PURE__ */ o(T1, { children: /* @__PURE__ */ o($1, { isDarkBackground: a }) }),
3059
+ leftNav: /* @__PURE__ */ o(E1, { children: /* @__PURE__ */ o(R1, { isDarkBackground: a }) }),
3060
3060
  style: r.aiChat.header
3061
3061
  }
3062
3062
  ) : null,
3063
- /* @__PURE__ */ w(L1, { theme: r, children: [
3064
- !c && /* @__PURE__ */ o(Fe, {}),
3065
- c && /* @__PURE__ */ o(w1, { dataTopics: c })
3063
+ /* @__PURE__ */ w(I1, { theme: r, children: [
3064
+ !c && /* @__PURE__ */ o(Oe, {}),
3065
+ c && /* @__PURE__ */ o(T1, { dataTopics: c })
3066
3066
  ] })
3067
3067
  ] });
3068
3068
  }
3069
- function E1() {
3070
- const [e, t] = O(), [n, r] = O(), { data: s, fetchStatus: c } = kr(), { dataTopicsList: a, contextDetails: p } = ne(), { t: u } = P(), g = u("ai.errors.noAvailableDataTopics"), m = H(
3069
+ function P1() {
3070
+ const [e, t] = O(), [n, r] = O(), { data: s, fetchStatus: c } = Mr(), { dataTopicsList: a, contextDetails: p } = ne(), { t: d } = F(), h = d("ai.errors.noAvailableDataTopics"), m = B(
3071
3071
  (l) => {
3072
- l.length ? l.length === 1 && (r(void 0), t(l[0])) : r(g);
3072
+ l.length ? l.length === 1 && (r(void 0), t(l[0])) : r(h);
3073
3073
  },
3074
- [g]
3074
+ [h]
3075
3075
  ), y = q(() => {
3076
3076
  if (s && c === "idle") {
3077
- const f = (a != null && a.length ? s == null ? void 0 : s.filter((h) => a == null ? void 0 : a.includes(h.title)) : s).map((h) => h.title);
3077
+ const f = (a != null && a.length ? s == null ? void 0 : s.filter((g) => a == null ? void 0 : a.includes(g.title)) : s).map((g) => g.title);
3078
3078
  return m(f), f;
3079
3079
  }
3080
3080
  return [];
3081
- }, [s, c, a, m]), i = ke(), d = H(() => {
3081
+ }, [s, c, a, m]), i = ke(), u = B(() => {
3082
3082
  r(void 0), i.invalidateQueries(["getDataTopics"]);
3083
3083
  }, [i]);
3084
3084
  return n ? /* @__PURE__ */ o(
3085
- jt,
3085
+ Vt,
3086
3086
  {
3087
3087
  text: n,
3088
- action: { text: u("ai.buttons.refresh"), onClick: d }
3088
+ action: { text: d("ai.buttons.refresh"), onClick: u }
3089
3089
  }
3090
- ) : y.length === 1 && !e ? /* @__PURE__ */ o(Fe, {}) : e ? /* @__PURE__ */ o(
3091
- g1,
3090
+ ) : y.length === 1 && !e ? /* @__PURE__ */ o(Oe, {}) : e ? /* @__PURE__ */ o(
3091
+ m1,
3092
3092
  {
3093
3093
  contextTitle: e,
3094
3094
  contextDetails: p,
3095
3095
  onGoBack: y.length === 1 ? void 0 : () => t(void 0)
3096
3096
  }
3097
3097
  ) : /* @__PURE__ */ o(
3098
- R1,
3098
+ N1,
3099
3099
  {
3100
3100
  dataTopicsList: y,
3101
3101
  onDataTopicClick: (l) => t(l)
3102
3102
  }
3103
3103
  );
3104
3104
  }
3105
- const _1 = Ht({
3105
+ const es = Bt({
3106
3106
  componentName: "Chatbot"
3107
3107
  })((e) => {
3108
3108
  const { width: t, height: n, config: r } = e, { themeSettings: s } = L();
3109
- return /* @__PURE__ */ o(xr, { value: r != null ? r : {}, children: /* @__PURE__ */ o(
3110
- Br,
3109
+ return /* @__PURE__ */ o(wr, { value: r != null ? r : {}, children: /* @__PURE__ */ o(
3110
+ Hr,
3111
3111
  {
3112
3112
  id: "csdk-chatbot-frame",
3113
3113
  width: t,
3114
3114
  height: n,
3115
3115
  theme: s,
3116
3116
  tabIndex: 0,
3117
- children: /* @__PURE__ */ o(E1, {})
3117
+ children: /* @__PURE__ */ o(P1, {})
3118
3118
  }
3119
3119
  ) });
3120
- }), K1 = Ht({
3120
+ }), ts = Bt({
3121
3121
  componentName: "GetNlgInsights"
3122
3122
  })(function(t) {
3123
- const { data: n, isLoading: r, isError: s } = Pe(t), { t: c } = P();
3123
+ const { data: n, isLoading: r, isError: s } = He(t), { t: c } = F();
3124
3124
  if (s)
3125
3125
  return /* @__PURE__ */ o(Z, { children: c("ai.errors.unexpected") });
3126
3126
  const a = n != null ? n : c("ai.errors.insightsNotAvailable");
3127
3127
  return /* @__PURE__ */ o(ut, { text: r ? "Loading..." : a });
3128
3128
  });
3129
- function I1({ theme: e }) {
3129
+ function B1({ theme: e }) {
3130
3130
  const t = e.general.brandColor;
3131
3131
  return /* @__PURE__ */ w(
3132
3132
  "svg",
@@ -3168,7 +3168,7 @@ function I1({ theme: e }) {
3168
3168
  }
3169
3169
  );
3170
3170
  }
3171
- const N1 = v.div`
3171
+ const F1 = v.div`
3172
3172
  display: flex;
3173
3173
  flex-direction: row;
3174
3174
  align-items: center;
@@ -3177,9 +3177,9 @@ const N1 = v.div`
3177
3177
  max-width: 640px;
3178
3178
  color: ${({ theme: e }) => e.chart.textColor};
3179
3179
  background-color: ${({ theme: e }) => e.chart.backgroundColor};
3180
- `, B1 = v.div`
3180
+ `, H1 = v.div`
3181
3181
  align-self: flex-start;
3182
- `, H1 = ({ summary: e, nlgRequest: t }) => {
3182
+ `, O1 = ({ summary: e, nlgRequest: t }) => {
3183
3183
  const { themeSettings: n } = L();
3184
3184
  return /* @__PURE__ */ o(
3185
3185
  Xe,
@@ -3188,47 +3188,47 @@ const N1 = v.div`
3188
3188
  data: t,
3189
3189
  type: "chart/insights",
3190
3190
  buttonVisibility: "always",
3191
- renderContent: (r) => /* @__PURE__ */ w(N1, { theme: n, children: [
3192
- /* @__PURE__ */ o(B1, { theme: n, children: /* @__PURE__ */ o(I1, { theme: n }) }),
3191
+ renderContent: (r) => /* @__PURE__ */ w(F1, { theme: n, children: [
3192
+ /* @__PURE__ */ o(H1, { theme: n, children: /* @__PURE__ */ o(B1, { theme: n }) }),
3193
3193
  /* @__PURE__ */ o(ut, { text: e }),
3194
3194
  r
3195
3195
  ] })
3196
3196
  }
3197
3197
  );
3198
- }, X1 = ({
3198
+ }, ns = ({
3199
3199
  nlqResponse: e,
3200
3200
  onDataReady: t,
3201
3201
  styleOptions: n,
3202
3202
  widgetProps: r,
3203
3203
  filters: s = []
3204
3204
  }) => {
3205
- e.queryTitle = _n(e.queryTitle);
3206
- const { connectToWidgetProps: c } = Kn({
3205
+ e.queryTitle = Xn(e.queryTitle);
3206
+ const { connectToWidgetProps: c } = Jn({
3207
3207
  initialFilters: s
3208
3208
  }), [a, p] = O(null);
3209
3209
  we(() => {
3210
- const d = He(e, {
3210
+ const u = Fe(e, {
3211
3211
  useCustomizedStyleOptions: !0
3212
3212
  });
3213
- if (!d) p(null);
3213
+ if (!u) p(null);
3214
3214
  else {
3215
- n && d.styleOptions && (d.styleOptions = sr(d.styleOptions, n));
3216
- const l = c(d, {
3215
+ n && u.styleOptions && (u.styleOptions = dr(u.styleOptions, n));
3216
+ const l = c(u, {
3217
3217
  shouldAffectFilters: !1,
3218
3218
  applyMode: "filter"
3219
3219
  });
3220
3220
  p(l);
3221
3221
  }
3222
3222
  }, [e, c, n]);
3223
- const u = q(() => {
3224
- const d = a && Ve(a) ? ar(a == null ? void 0 : a.filters) : [], l = e.jaql.metadata.filter((f) => !f.jaql.filter).concat(
3225
- d.filter((f) => !f.config.disabled).map((f) => f.jaql())
3223
+ const d = q(() => {
3224
+ const u = a && Ie(a) ? ur(a == null ? void 0 : a.filters) : [], l = e.jaql.metadata.filter((f) => !f.jaql.filter).concat(
3225
+ u.filter((f) => !f.config.disabled).map((f) => f.jaql())
3226
3226
  );
3227
3227
  return E(M({}, e), { jaql: E(M({}, e.jaql), { metadata: l }), verbosity: "Low" });
3228
- }, [e, a]), { data: g, isLoading: m, isError: y } = Pe(u);
3228
+ }, [e, a]), { data: h, isLoading: m, isError: y } = He(d);
3229
3229
  if (m || !a)
3230
3230
  return /* @__PURE__ */ o(at, {});
3231
- if (!Ve(a))
3231
+ if (!Ie(a))
3232
3232
  return /* @__PURE__ */ o(Z, {});
3233
3233
  const i = r || E(M({}, a), {
3234
3234
  styleOptions: n,
@@ -3238,10 +3238,10 @@ const N1 = v.div`
3238
3238
  xe,
3239
3239
  E(M({}, i), {
3240
3240
  highlightSelectionDisabled: !0,
3241
- topSlot: g && !y && /* @__PURE__ */ o(H1, { nlgRequest: u, summary: g })
3241
+ topSlot: h && !y && /* @__PURE__ */ o(O1, { nlgRequest: d, summary: h })
3242
3242
  })
3243
3243
  );
3244
- }, P1 = new Rt({
3244
+ }, D1 = new Rt({
3245
3245
  defaultOptions: {
3246
3246
  queries: {
3247
3247
  refetchOnWindowFocus: !1,
@@ -3249,30 +3249,68 @@ const N1 = v.div`
3249
3249
  }
3250
3250
  }
3251
3251
  });
3252
- function J1({
3252
+ function rs({
3253
3253
  children: e,
3254
3254
  context: t
3255
3255
  }) {
3256
- return /* @__PURE__ */ o(Ot, { children: /* @__PURE__ */ o(nt.Provider, { value: t == null ? void 0 : t.api, children: /* @__PURE__ */ o(Et, { client: P1, children: e }) }) });
3256
+ return /* @__PURE__ */ o(Dt, { children: /* @__PURE__ */ o(nt.Provider, { value: t == null ? void 0 : t.api, children: /* @__PURE__ */ o(Et, { client: D1, children: e }) }) });
3257
+ }
3258
+ function A1(e) {
3259
+ const t = er(e), { attributes: n, measures: r } = tr(t);
3260
+ return { attributes: n, measures: r };
3261
+ }
3262
+ function z1(e, t, n) {
3263
+ const { dataSource: r, dataOptions: s, chartType: c, filters: a } = e, p = r != null ? r : t;
3264
+ if (!p)
3265
+ throw new Error(
3266
+ "dataSource is required. Provide it in ChartWidgetProps or as defaultDataSource parameter."
3267
+ );
3268
+ const { attributes: d, measures: h } = Ht(c) ? A1(s) : Yn(s, c);
3269
+ return {
3270
+ dataSource: p,
3271
+ dimensions: d,
3272
+ measures: h,
3273
+ filters: a,
3274
+ verbosity: n
3275
+ };
3276
+ }
3277
+ function os(e, t, n) {
3278
+ return J(this, null, function* () {
3279
+ var a;
3280
+ if (!Ie(e))
3281
+ throw new Error("Only ChartWidgetProps are supported for now");
3282
+ const r = z1(
3283
+ e,
3284
+ n == null ? void 0 : n.defaultDataSource,
3285
+ n == null ? void 0 : n.verbosity
3286
+ ), s = At(r), c = yield t.post(
3287
+ "api/v2/ai/nlg/queryResult",
3288
+ s
3289
+ );
3290
+ if (!((a = c == null ? void 0 : c.data) != null && a.answer))
3291
+ throw new Error("Invalid response from NLG insights API");
3292
+ return c.data.answer;
3293
+ });
3257
3294
  }
3258
3295
  export {
3259
- Z1 as AiContextProvider,
3260
- ur as ChatRestApi,
3261
- _1 as Chatbot,
3262
- J1 as CustomAiContextProvider,
3263
- yr as DEFAULT_RECOMMENDATIONS_COUNT,
3264
- K1 as GetNlgInsights,
3265
- Cr as NLQ_RESULT_CHART_TYPES,
3266
- X1 as NlqChartWidget,
3267
- mr as executeGetNlqResult,
3268
- gr as prepareGetNlgInsightsPayload,
3269
- At as prepareGetNlqResultPayload,
3270
- Lr as useChatSession,
3271
- Q1 as useFinalNlqResponse,
3272
- j1 as useGetNlgInsights,
3273
- G1 as useGetNlqResult,
3274
- V1 as useGetQueryRecommendations,
3275
- U1 as useLastNlqResponse,
3276
- ts as widgetComposer
3296
+ Q1 as AiContextProvider,
3297
+ fr as ChatRestApi,
3298
+ es as Chatbot,
3299
+ rs as CustomAiContextProvider,
3300
+ kr as DEFAULT_RECOMMENDATIONS_COUNT,
3301
+ ts as GetNlgInsights,
3302
+ yr as NLQ_RESULT_CHART_TYPES,
3303
+ ns as NlqChartWidget,
3304
+ xr as executeGetNlqResult,
3305
+ os as getNlgInsightsFromWidget,
3306
+ At as prepareGetNlgInsightsPayload,
3307
+ zt as prepareGetNlqResultPayload,
3308
+ Ir as useChatSession,
3309
+ Y1 as useFinalNlqResponse,
3310
+ _1 as useGetNlgInsights,
3311
+ K1 as useGetNlqResult,
3312
+ X1 as useGetQueryRecommendations,
3313
+ J1 as useLastNlqResponse,
3314
+ as as widgetComposer
3277
3315
  };
3278
3316
  (function(){"use strict";var t;try{if(typeof document!="undefined"){var e=document.createElement("style");e.nonce=(t=document.head.querySelector("meta[property=csp-nonce]"))==null?void 0:t.content,e.appendChild(document.createTextNode('@charset "UTF-8";.csdk-boxplot-tooltip-row{display:flex;justify-content:space-between}.csdk-boxplot-tooltip-row>*{margin-right:10px}.csdk-boxplot-tooltip-row>*:last-child{margin-right:0}.csdk-treemap-tooltip-wrapper{min-width:210px;color:#acacac;font-size:14px;line-height:16px;background:#fff;border-radius:10px;overflow:hidden;margin-right:-1px;padding-bottom:10px}.csdk-treemap-tooltip-level{display:flex;align-items:center;position:relative;padding:8px;font-size:14px;border-bottom:1px solid #ccc}.csdk-treemap-tooltip-level span{padding:0 2px}.csdk-treemap-tooltip-value{padding:10px 10px 0;font-size:12px;line-height:16px}.highcharts-sunburst-series.highcharts-legend-item{pointer-events:none!important}[class|=csdk],[class|=csdk]:before,[class|=csdk]:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#d5d5d5;font-family:inherit}.csdk-accessible button:focus-visible,.csdk-accessible a:focus-visible,.csdk-accessible textarea:focus-visible,.csdk-accessible select:focus-visible,.csdk-accessible input:focus-visible,.csdk-accessible [tabindex]:focus-visible{outline:-webkit-focus-ring-color auto 1px}.csdk-accessible .MuiTouchRipple-root{display:none}:root{--csdk-tw-border-spacing-x: 0;--csdk-tw-border-spacing-y: 0;--csdk-tw-translate-x: 0;--csdk-tw-translate-y: 0;--csdk-tw-rotate: 0;--csdk-tw-skew-x: 0;--csdk-tw-skew-y: 0;--csdk-tw-scale-x: 1;--csdk-tw-scale-y: 1;--csdk-tw-pan-x: ;--csdk-tw-pan-y: ;--csdk-tw-pinch-zoom: ;--csdk-tw-scroll-snap-strictness: proximity;--csdk-tw-gradient-from-position: ;--csdk-tw-gradient-via-position: ;--csdk-tw-gradient-to-position: ;--csdk-tw-ordinal: ;--csdk-tw-slashed-zero: ;--csdk-tw-numeric-figure: ;--csdk-tw-numeric-spacing: ;--csdk-tw-numeric-fraction: ;--csdk-tw-ring-inset: ;--csdk-tw-ring-offset-width: 0px;--csdk-tw-ring-offset-color: #fff;--csdk-tw-ring-color: rgb(59 130 246 / .5);--csdk-tw-ring-offset-shadow: 0 0 #0000;--csdk-tw-ring-shadow: 0 0 #0000;--csdk-tw-shadow: 0 0 #0000;--csdk-tw-shadow-colored: 0 0 #0000;--csdk-tw-blur: ;--csdk-tw-brightness: ;--csdk-tw-contrast: ;--csdk-tw-grayscale: ;--csdk-tw-hue-rotate: ;--csdk-tw-invert: ;--csdk-tw-saturate: ;--csdk-tw-sepia: ;--csdk-tw-drop-shadow: ;--csdk-tw-backdrop-blur: ;--csdk-tw-backdrop-brightness: ;--csdk-tw-backdrop-contrast: ;--csdk-tw-backdrop-grayscale: ;--csdk-tw-backdrop-hue-rotate: ;--csdk-tw-backdrop-invert: ;--csdk-tw-backdrop-opacity: ;--csdk-tw-backdrop-saturate: ;--csdk-tw-backdrop-sepia: ;--csdk-tw-contain-size: ;--csdk-tw-contain-layout: ;--csdk-tw-contain-paint: ;--csdk-tw-contain-style: }::backdrop{--csdk-tw-border-spacing-x: 0;--csdk-tw-border-spacing-y: 0;--csdk-tw-translate-x: 0;--csdk-tw-translate-y: 0;--csdk-tw-rotate: 0;--csdk-tw-skew-x: 0;--csdk-tw-skew-y: 0;--csdk-tw-scale-x: 1;--csdk-tw-scale-y: 1;--csdk-tw-pan-x: ;--csdk-tw-pan-y: ;--csdk-tw-pinch-zoom: ;--csdk-tw-scroll-snap-strictness: proximity;--csdk-tw-gradient-from-position: ;--csdk-tw-gradient-via-position: ;--csdk-tw-gradient-to-position: ;--csdk-tw-ordinal: ;--csdk-tw-slashed-zero: ;--csdk-tw-numeric-figure: ;--csdk-tw-numeric-spacing: ;--csdk-tw-numeric-fraction: ;--csdk-tw-ring-inset: ;--csdk-tw-ring-offset-width: 0px;--csdk-tw-ring-offset-color: #fff;--csdk-tw-ring-color: rgb(59 130 246 / .5);--csdk-tw-ring-offset-shadow: 0 0 #0000;--csdk-tw-ring-shadow: 0 0 #0000;--csdk-tw-shadow: 0 0 #0000;--csdk-tw-shadow-colored: 0 0 #0000;--csdk-tw-blur: ;--csdk-tw-brightness: ;--csdk-tw-contrast: ;--csdk-tw-grayscale: ;--csdk-tw-hue-rotate: ;--csdk-tw-invert: ;--csdk-tw-saturate: ;--csdk-tw-sepia: ;--csdk-tw-drop-shadow: ;--csdk-tw-backdrop-blur: ;--csdk-tw-backdrop-brightness: ;--csdk-tw-backdrop-contrast: ;--csdk-tw-backdrop-grayscale: ;--csdk-tw-backdrop-hue-rotate: ;--csdk-tw-backdrop-invert: ;--csdk-tw-backdrop-opacity: ;--csdk-tw-backdrop-saturate: ;--csdk-tw-backdrop-sepia: ;--csdk-tw-contain-size: ;--csdk-tw-contain-layout: ;--csdk-tw-contain-paint: ;--csdk-tw-contain-style: }.csdk-absolute{position:absolute}.csdk-relative{position:relative}.csdk-left-2{left:.5rem}.csdk-right-0{right:0}.csdk-right-\\[-15px\\]{right:-15px}.csdk-right-\\[-5px\\]{right:-5px}.csdk-right-\\[0px\\]{right:0}.csdk-right-\\[4px\\]{right:4px}.csdk-top-1\\/2{top:50%}.csdk-top-\\[3px\\]{top:3px}.csdk-top-\\[7px\\]{top:7px}.csdk-z-\\[401\\]{z-index:401}.csdk-m-auto{margin:auto}.csdk-m-checkbox,.csdk-m-radio{margin:6px 10px 6px 6px}.csdk-mx-\\[16px\\]{margin-left:16px;margin-right:16px}.csdk-my-1{margin-top:.25rem;margin-bottom:.25rem}.csdk-my-\\[2px\\]{margin-top:2px;margin-bottom:2px}.csdk-my-\\[5px\\]{margin-top:5px;margin-bottom:5px}.csdk-mb-1{margin-bottom:.25rem}.csdk-mb-\\[10px\\]{margin-bottom:10px}.csdk-mb-\\[24px\\]{margin-bottom:24px}.csdk-mb-\\[3px\\]{margin-bottom:3px}.csdk-mb-\\[4px\\]{margin-bottom:4px}.csdk-mb-px{margin-bottom:1px}.csdk-ml-1{margin-left:.25rem}.csdk-ml-1\\.5{margin-left:.375rem}.csdk-ml-2{margin-left:.5rem}.csdk-ml-\\[10px\\]{margin-left:10px}.csdk-ml-\\[4px\\]{margin-left:4px}.csdk-ml-\\[5px\\]{margin-left:5px}.csdk-ml-\\[6px\\]{margin-left:6px}.csdk-ml-\\[7px\\]{margin-left:7px}.csdk-ml-\\[8px\\]{margin-left:8px}.csdk-ml-auto{margin-left:auto}.csdk-mr-2{margin-right:.5rem}.csdk-mr-\\[5px\\]{margin-right:5px}.csdk-mr-\\[7px\\]{margin-right:7px}.csdk-mt-2{margin-top:.5rem}.csdk-mt-3{margin-top:.75rem}.csdk-mt-\\[-2px\\]{margin-top:-2px}.csdk-mt-\\[16px\\]{margin-top:16px}.csdk-mt-\\[2px\\]{margin-top:2px}.csdk-mt-\\[6px\\]{margin-top:6px}.csdk-mt-\\[8px\\]{margin-top:8px}.csdk-box-border{box-sizing:border-box}.csdk-line-clamp-5{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5}.csdk-flex{display:flex}.csdk-grid{display:grid}.csdk-h-5{height:1.25rem}.csdk-h-6{height:1.5rem}.csdk-h-\\[100\\%\\]{height:100%}.csdk-h-\\[10px\\]{height:10px}.csdk-h-\\[18px\\]{height:18px}.csdk-h-\\[20px\\]{height:20px}.csdk-h-\\[245px\\]{height:245px}.csdk-h-button{height:28px}.csdk-h-checkbox{height:12px}.csdk-h-full{height:100%}.csdk-h-radio{height:12px}.csdk-h-screen{height:100vh}.csdk-max-h-32{max-height:8rem}.csdk-max-h-\\[150px\\]{max-height:150px}.csdk-min-h-\\[20px\\]{min-height:20px}.csdk-min-h-\\[32px\\]{min-height:32px}.csdk-w-5{width:1.25rem}.csdk-w-\\[100\\%\\]{width:100%}.csdk-w-\\[10px\\]{width:10px}.csdk-w-\\[152px\\]{width:152px}.csdk-w-\\[18px\\]{width:18px}.csdk-w-\\[240px\\]{width:240px}.csdk-w-\\[28px\\]{width:28px}.csdk-w-\\[300px\\]{width:300px}.csdk-w-\\[60px\\]{width:60px}.csdk-w-checkbox{width:12px}.csdk-w-fit{width:-moz-fit-content;width:fit-content}.csdk-w-full{width:100%}.csdk-w-radio{width:12px}.csdk-min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.csdk-max-w-xs{max-width:20rem}.csdk-shrink-0{flex-shrink:0}.csdk-grow{flex-grow:1}.csdk-grow-0{flex-grow:0}.-csdk-translate-y-1\\/2{--csdk-tw-translate-y: -50%;transform:translate(var(--csdk-tw-translate-x),var(--csdk-tw-translate-y)) rotate(var(--csdk-tw-rotate)) skew(var(--csdk-tw-skew-x)) skewY(var(--csdk-tw-skew-y)) scaleX(var(--csdk-tw-scale-x)) scaleY(var(--csdk-tw-scale-y))}.csdk-translate-x-1\\/2{--csdk-tw-translate-x: 50%;transform:translate(var(--csdk-tw-translate-x),var(--csdk-tw-translate-y)) rotate(var(--csdk-tw-rotate)) skew(var(--csdk-tw-skew-x)) skewY(var(--csdk-tw-skew-y)) scaleX(var(--csdk-tw-scale-x)) scaleY(var(--csdk-tw-scale-y))}.-csdk-rotate-90{--csdk-tw-rotate: -90deg;transform:translate(var(--csdk-tw-translate-x),var(--csdk-tw-translate-y)) rotate(var(--csdk-tw-rotate)) skew(var(--csdk-tw-skew-x)) skewY(var(--csdk-tw-skew-y)) scaleX(var(--csdk-tw-scale-x)) scaleY(var(--csdk-tw-scale-y))}.csdk-rotate-45{--csdk-tw-rotate: 45deg;transform:translate(var(--csdk-tw-translate-x),var(--csdk-tw-translate-y)) rotate(var(--csdk-tw-rotate)) skew(var(--csdk-tw-skew-x)) skewY(var(--csdk-tw-skew-y)) scaleX(var(--csdk-tw-scale-x)) scaleY(var(--csdk-tw-scale-y))}.csdk-scale-x-\\[-1\\]{--csdk-tw-scale-x: -1;transform:translate(var(--csdk-tw-translate-x),var(--csdk-tw-translate-y)) rotate(var(--csdk-tw-rotate)) skew(var(--csdk-tw-skew-x)) skewY(var(--csdk-tw-skew-y)) scaleX(var(--csdk-tw-scale-x)) scaleY(var(--csdk-tw-scale-y))}.csdk-transform{transform:translate(var(--csdk-tw-translate-x),var(--csdk-tw-translate-y)) rotate(var(--csdk-tw-rotate)) skew(var(--csdk-tw-skew-x)) skewY(var(--csdk-tw-skew-y)) scaleX(var(--csdk-tw-scale-x)) scaleY(var(--csdk-tw-scale-y))}@keyframes csdk-spin{to{transform:rotate(360deg)}}.csdk-animate-spin{animation:csdk-spin 1s linear infinite}.csdk-cursor-pointer{cursor:pointer}.csdk-select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.csdk-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.csdk-flex-row{flex-direction:row}.csdk-flex-col{flex-direction:column}.csdk-flex-wrap{flex-wrap:wrap}.csdk-items-center{align-items:center}.csdk-justify-end{justify-content:flex-end}.csdk-justify-center{justify-content:center}.csdk-justify-between{justify-content:space-between}.csdk-justify-evenly{justify-content:space-evenly}.csdk-gap-1{gap:.25rem}.csdk-gap-2{gap:.5rem}.csdk-gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.csdk-gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.csdk-gap-y-0{row-gap:0px}.csdk-gap-y-0\\.5{row-gap:.125rem}.csdk-gap-y-4{row-gap:1rem}.csdk-self-center{align-self:center}.csdk-overflow-auto{overflow:auto}.csdk-overflow-hidden{overflow:hidden}.\\!csdk-overflow-visible{overflow:visible!important}.csdk-whitespace-nowrap{white-space:nowrap}.csdk-whitespace-pre-wrap{white-space:pre-wrap}.csdk-rounded{border-radius:.25rem}.csdk-rounded-\\[4px\\]{border-radius:4px}.csdk-rounded-full{border-radius:9999px}.csdk-rounded-md{border-radius:.375rem}.csdk-border{border-width:1px}.csdk-border-0{border-width:0px}.csdk-border-input{border-width:1px}.csdk-border-b{border-bottom-width:1px}.csdk-border-l{border-left-width:1px}.csdk-border-l-\\[70px\\]{border-left-width:70px}.csdk-border-r-\\[70px\\]{border-right-width:70px}.csdk-border-t{border-top-width:1px}.csdk-border-t-\\[13px\\]{border-top-width:13px}.csdk-border-solid{border-style:solid}.csdk-border-none{border-style:none}.csdk-border-UI-default{--csdk-tw-border-opacity: 1;border-color:rgb(110 115 125 / var(--csdk-tw-border-opacity))}.csdk-border-\\[\\#e4e4e4\\]{--csdk-tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--csdk-tw-border-opacity))}.csdk-border-transparent{border-color:transparent}.csdk-border-l-\\[transparent\\]{border-left-color:transparent}.csdk-border-r-\\[transparent\\]{border-right-color:transparent}.csdk-bg-background-priority{background-color:#f4f4f8}.csdk-bg-primary-primary{background-color:#ffcb05}.csdk-bg-transparent{background-color:transparent}.csdk-bg-white{--csdk-tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--csdk-tw-bg-opacity))}.csdk-p-1{padding:.25rem}.csdk-p-1\\.5{padding:.375rem}.csdk-p-3{padding:.75rem}.csdk-p-\\[10px\\]{padding:10px}.csdk-p-\\[12px\\]{padding:12px}.csdk-p-\\[20px\\]{padding:20px}.csdk-p-\\[4px\\]{padding:4px}.csdk-p-button{padding:4px 24px}.csdk-p-px{padding:1px}.csdk-px-2{padding-left:.5rem;padding-right:.5rem}.csdk-px-4{padding-left:1rem;padding-right:1rem}.csdk-px-\\[12px\\]{padding-left:12px;padding-right:12px}.csdk-px-\\[20px\\]{padding-left:20px;padding-right:20px}.csdk-px-\\[8px\\]{padding-left:8px;padding-right:8px}.csdk-py-\\[14\\.5px\\]{padding-top:14.5px;padding-bottom:14.5px}.csdk-py-\\[5px\\]{padding-top:5px;padding-bottom:5px}.csdk-py-\\[6px\\]{padding-top:6px;padding-bottom:6px}.csdk-py-\\[7px\\]{padding-top:7px;padding-bottom:7px}.csdk-pb-\\[0px\\]{padding-bottom:0}.csdk-pl-1{padding-left:.25rem}.csdk-pl-2{padding-left:.5rem}.csdk-pl-2\\.5{padding-left:.625rem}.csdk-pl-3{padding-left:.75rem}.csdk-pl-\\[20px\\]{padding-left:20px}.csdk-pr-10{padding-right:2.5rem}.csdk-pt-48{padding-top:12rem}.csdk-text-left{text-align:left}.csdk-text-\\[13px\\]{font-size:13px}.csdk-text-ai-lg{font-size:18px;line-height:22px}.csdk-text-ai-sm{font-size:13px;line-height:18px}.csdk-text-ai-xs{font-size:11px;line-height:18px}.csdk-text-xs{font-size:.75rem;line-height:1rem}.csdk-font-normal{font-weight:400}.csdk-leading-4{line-height:1rem}.csdk-leading-\\[16px\\]{line-height:16px}.csdk-leading-\\[18px\\]{line-height:18px}.csdk-leading-none{line-height:1}.csdk-text-UI-default{--csdk-tw-text-opacity: 1;color:rgb(110 115 125 / var(--csdk-tw-text-opacity))}.csdk-text-semantic-error{color:#e74727}.csdk-text-text-active{color:#262e3d}.csdk-text-text-content{color:#262e3dcc}.csdk-text-text-link{color:#36a3d9}.csdk-text-text-linkButton{--csdk-tw-text-opacity: 1;color:rgb(30 175 243 / var(--csdk-tw-text-opacity))}.csdk-accent-UI-default{accent-color:#6e737d}.csdk-opacity-0{opacity:0}.csdk-opacity-100{opacity:1}.csdk-opacity-50{opacity:.5}.csdk-opacity-80{opacity:.8}.csdk-shadow-md{--csdk-tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--csdk-tw-shadow-colored: 0 4px 6px -1px var(--csdk-tw-shadow-color), 0 2px 4px -2px var(--csdk-tw-shadow-color);box-shadow:var(--csdk-tw-ring-offset-shadow, 0 0 #0000),var(--csdk-tw-ring-shadow, 0 0 #0000),var(--csdk-tw-shadow)}.csdk-shadow-gray-500{--csdk-tw-shadow-color: #6b7280;--csdk-tw-shadow: var(--csdk-tw-shadow-colored)}.csdk-outline-0{outline-width:0px}.csdk-transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.csdk-transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.csdk-delay-150{transition-delay:.15s}.csdk-duration-500{transition-duration:.5s}.invalid\\:csdk-border-input:invalid{border-width:1px}.invalid\\:csdk-border-solid:invalid{border-style:solid}.invalid\\:csdk-border-semantic-error:invalid{border-color:#e74727}.hover\\:csdk-border-2:hover{border-width:2px}.hover\\:csdk-bg-interaction-primaryHovered:hover{background-color:#f2b900}.hover\\:csdk-bg-row-hover:hover{background-color:#e0e0e04d}.focus\\:csdk-border-input:focus{border-width:1px}.focus\\:csdk-border-solid:focus{border-style:solid}.focus\\:csdk-border-UI-default:focus{--csdk-tw-border-opacity: 1;border-color:rgb(110 115 125 / var(--csdk-tw-border-opacity))}.disabled\\:csdk-cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:csdk-opacity-30:disabled{opacity:.3}._container_1wquj_1{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:0 20px;text-align:center;margin:15px}._container_1wquj_1 ._card_1wquj_11{position:relative;padding:10px;box-shadow:0 2px 4px #0000001a;border-radius:4px;z-index:1;width:100%}._container_1wquj_1 ._text_1wquj_19{font-size:13px;text-align:center;font-weight:700;word-wrap:break-word}.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%}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::-moz-selection{background:transparent}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.csdk-map-container .leaflet-interactive{outline:none}._alert_box_10ttx_1{position:absolute;display:flex;justify-content:center;z-index:1;margin-top:1%}._alert_box_10ttx_1 ._content_10ttx_8{background-color:#616161;padding:5px;border-radius:3px;text-align:center}._alert_box_10ttx_1 ._content_10ttx_8 ._alert_10ttx_1{color:#fff;margin:0 8px;line-height:1;font-size:12px}.csdk-scattermap-tooltip-container{color:#5b6372;margin:4px 6px}.csdk-scattermap-tooltip-content{text-align:left}.csdk-scattermap-tooltip-label{font-size:15px;line-height:18px}.csdk-scattermap-tooltip-category{color:#9ea2ab;padding-right:20px}.csdk-scattermap-tooltip-row{display:flex;justify-content:space-between}._wrapper_g0ngm_1{width:100%;height:100%;position:relative}._title_g0ngm_7{font-size:18px;color:#9ea2ab;letter-spacing:normal;text-align:center;position:absolute;width:100%;top:11%}._image_g0ngm_18{width:66.6%;height:100%;margin:0 auto;display:block}.highcharts-series.highcharts-area-series.area-series--without-pointer-events .highcharts-area{pointer-events:none}.highcharts-heatmap-series .highcharts-point.csdk-highcharts-point-blured{opacity:.5}.public_Scrollbar_main.public_Scrollbar_mainActive,.public_Scrollbar_main{background-color:#fff;border-left:1px solid #d3d3d3}.fixedDataTable_isRTL .public_Scrollbar_main.public_Scrollbar_mainActive,.fixedDataTable_isRTL .public_Scrollbar_main{border-right:1px solid #d3d3d3;border-left-width:0}.public_Scrollbar_mainOpaque,.public_Scrollbar_mainOpaque.public_Scrollbar_mainActive,.public_Scrollbar_mainOpaque:hover{background-color:#fff}.public_Scrollbar_face:after{background-color:#c2c2c2}.public_Scrollbar_main:hover .public_Scrollbar_face:after,.public_Scrollbar_mainActive .public_Scrollbar_face:after,.public_Scrollbar_faceActive:after{background-color:#7d7d7d}.public_fixedDataTableCell_main{background-color:#fff;border-color:#d3d3d3}.public_fixedDataTableCell_highlighted{background-color:#f4f4f4}.public_fixedDataTableCell_cellContent{padding:8px}.public_fixedDataTableCell_columnResizerKnob{background-color:#0284ff}.public_fixedDataTableCell_hasReorderHandle .public_fixedDataTableCell_wrap1 .public_fixedDataTableCell_cellContent{margin-left:12px}.public_fixedDataTableCell_hasReorderHandle .public_fixedDataTableCell_wrap.public_fixedDataTableCell_cellContent{padding-left:20px}.fixedDataTable_isRTL .public_fixedDataTableCell_hasReorderHandle .public_fixedDataTableCell_wrap1 .public_fixedDataTableCell_cellContent{margin-left:auto;margin-right:12px}.fixedDataTable_isRTL .public_fixedDataTableCell_hasReorderHandle .public_fixedDataTableCell_wrap.public_fixedDataTableCell_cellContent{padding-right:20px}.public_fixedDataTableCell_reordering{z-index:2}.public_fixedDataTableCell_resizeReorderCellContainer{position:fixed;background-color:#f6f7f8;background-image:linear-gradient(#fff,#efefef);border-color:#d3d3d3;border-right-style:solid;border-right-width:1px}.fixedDataTableCellLayout_columnReorderContainer{border-color:#0284ff;background-color:#0000001a;width:12px;margin-right:-12px;float:left;cursor:move}.fixedDataTable_isRTL .fixedDataTableCellLayout_columnReorderContainer{margin-right:auto;margin-left:-12px;float:right}.fixedDataTableCellLayout_columnReorderContainer:after{content:"::";position:absolute;top:50%;left:1px;transform:translateY(-50%)}.fixedDataTable_isRTL .fixedDataTableCellLayout_columnReorderContainer:after{left:auto;right:1px}.public_fixedDataTableColumnResizerLine_main{border-color:#0284ff;width:1px}.public_fixedDataTable_main,.public_fixedDataTable_header,.public_fixedDataTable_hasBottomBorder{border-color:#d3d3d3}.public_fixedDataTable_header .public_fixedDataTableCell_main{font-weight:700}.public_fixedDataTable_header,.public_fixedDataTable_scrollbarSpacer,.public_fixedDataTable_header .public_fixedDataTableCell_main{background-color:#f6f7f8;background-image:linear-gradient(#fff,#efefef)}.public_fixedDataTable_scrollbarSpacer{position:absolute;z-index:99;top:0}.public_fixedDataTable_footer .public_fixedDataTableCell_main{background-color:#f6f7f8;border-color:#d3d3d3}.public_fixedDataTable_topShadow{background-image:linear-gradient(180deg,#0000001a,#0000)}.public_fixedDataTable_bottomShadow{background-image:linear-gradient(0deg,#0000001a,#0000)}.public_fixedDataTable_horizontalScrollbar .public_Scrollbar_mainHorizontal,.public_fixedDataTableRow_main{background-color:#fff}.public_fixedDataTableRow_highlighted,.public_fixedDataTableRow_highlighted .public_fixedDataTableCell_main{background-color:#f6f7f8}.public_fixedDataTableRow_fixedColumnsDivider{border-color:#d3d3d3}.public_fixedDataTableRow_columnsShadow{background-image:linear-gradient(90deg,#0000001a,#0000)}.fixedDataTable_isRTL .public_fixedDataTableRow_columnsShadow{background-image:linear-gradient(270deg,#0000001a,#0000)}.public_fixedDataTableRow_columnsRightShadow{transform:rotate(180deg)}.ScrollbarLayout_main{box-sizing:border-box;outline:none;overflow:hidden;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ScrollbarLayout_mainVertical{bottom:0;right:0;top:0;width:15px}.ScrollbarLayout_mainHorizontal{height:15px;left:0}.ScrollbarLayout_face{left:0;overflow:hidden;position:absolute;z-index:1;display:flex;justify-content:center;align-items:center}.ScrollbarLayout_face:after{border-radius:6px;content:"";display:block;position:absolute;transition-duration:.25s;transition-timing-function:ease;transition-property:background-color,height,width}.ScrollbarLayout_faceHorizontal{bottom:0;left:0;top:0}.ScrollbarLayout_faceHorizontal:after{width:100%;height:calc(100% - 8px)}.fixedDataTable_isRTL .ScrollbarLayout_faceHorizontal,.fixedDataTable_isRTL .ScrollbarLayout_faceHorizontal:after{right:0;left:auto}.ScrollbarLayout_faceHorizontal.public_Scrollbar_faceActive:after,.ScrollbarLayout_main:hover .ScrollbarLayout_faceHorizontal:after{height:calc(100% - 4px)}.ScrollbarLayout_faceVertical{left:0;right:0;top:0}.ScrollbarLayout_faceVertical:after{height:100%;width:calc(100% - 8px)}.ScrollbarLayout_main:hover .ScrollbarLayout_faceVertical:after,.ScrollbarLayout_faceVertical.public_Scrollbar_faceActive:after{width:calc(100% - 4px)}.fixedDataTableCellGroupLayout_cellGroup{backface-visibility:hidden;left:0;overflow:hidden;position:absolute;top:0;white-space:nowrap}.fixedDataTable_isRTL .fixedDataTableCellGroupLayout_cellGroup{right:0;left:auto}.fixedDataTableCellGroupLayout_cellGroup>.public_fixedDataTableCell_main{display:inline-block;vertical-align:top;white-space:normal}.fixedDataTableCellGroupLayout_cellGroupWrapper{position:absolute;top:0}.fixedDataTableCellLayout_main{border-right-style:solid;border-right-width:1px;border-width:0 1px 0 0;box-sizing:border-box;display:block;overflow:hidden;position:absolute;white-space:normal}.fixedDataTable_isRTL .fixedDataTableCellLayout_main{border-right-width:0;border-left-style:solid;border-left-width:1px}.fixedDataTableCellLayout_lastChild{border-width:0 1px 1px 0}.fixedDataTableCellLayout_alignRight{text-align:right}.fixedDataTableCellLayout_alignCenter{text-align:center}.fixedDataTableCellLayout_wrap{display:table-cell;vertical-align:middle;box-sizing:border-box}.fixedDataTableCellLayout_wrap1{display:table}.fixedDataTableCellLayout_wrap2{display:table-row}.fixedDataTableCellLayout_wrap3{display:table-cell;vertical-align:middle}.fixedDataTableCellLayout_columnResizerContainer{position:absolute;right:0;width:6px;z-index:1}.fixedDataTable_isRTL .fixedDataTableCellLayout_columnResizerContainer{left:0;right:auto}.fixedDataTableCellLayout_columnResizerContainer:hover{cursor:ew-resize;background-color:#0284ff}.fixedDataTableColumnResizerLineLayout_mouseArea{cursor:ew-resize;position:absolute;right:-5px;width:12px}.fixedDataTable_isRTL .fixedDataTableColumnResizerLineLayout_mouseArea{right:auto;left:-5px}.fixedDataTableColumnResizerLineLayout_main{border-right-style:solid;border-right-width:1px;box-sizing:border-box;position:absolute;z-index:100;pointer-events:none}.fixedDataTable_isRTL .fixedDataTableColumnResizerLineLayout_main{border-right-width:0;border-left-style:solid;border-left-width:1px}.fixedDataTableLayout_main{border-style:solid;border-width:1px;box-sizing:border-box;overflow:hidden;position:relative}.fixedDataTableLayout_header,.fixedDataTableLayout_hasBottomBorder{border-bottom-style:solid;border-bottom-width:1px}.fixedDataTableLayout_footer .public_fixedDataTableCell_main{border-top-style:solid;border-top-width:1px}.fixedDataTableLayout_topShadow,.fixedDataTableLayout_bottomShadow{height:4px;left:0;position:absolute;right:0;z-index:1}.fixedDataTableLayout_bottomShadow{margin-top:-4px}.fixedDataTableLayout_rowsContainer{overflow:hidden;position:relative}.fixedDataTableRowLayout_main{box-sizing:border-box;overflow:hidden;position:absolute;top:0}.fixedDataTableRowLayout_body{left:0;right:0;position:absolute;top:0}.fixedDataTableRowLayout_rowExpanded{box-sizing:border-box;left:0;position:absolute}.fixedDataTableRowLayout_fixedColumnsDivider{backface-visibility:hidden;border-left-style:solid;border-left-width:1px;left:0;position:absolute;top:0;width:0}.fixedDataTable_isRTL .fixedDataTableRowLayout_fixedColumnsDivider{border-left-width:0;border-right-style:solid;border-right-width:1px}.fixedDataTableRowLayout_columnsShadow{position:absolute;width:4px}.fixedDataTableRowLayout_columnsRightShadow{right:1px}.fixedDataTable_isRTL .fixedDataTableRowLayout_columnsRightShadow{left:1px;right:auto}.fixedDataTableRowLayout_rowWrapper{position:absolute;top:0}._headerCell_2qf2w_16{display:flex;justify-content:left;align-items:center;margin-left:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400;width:100%;cursor:pointer}._headerCell_2qf2w_16:hover ._noSort_2qf2w_29._standard_2qf2w_29{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjMiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00LjMxMyAxN2g3LjY2N2EuNDkuNDkgMCAwMS40NzkuNS40OS40OSAwIDAxLS40OC41SDQuMzE0YS40OS40OSAwIDAxLS40NzktLjVjMC0uMjc2LjIxNS0uNS40OC0uNXptNS43NS0zaC01Ljc1YS40OS40OSAwIDAwLS40NzkuNWMwIC4yNzYuMjE1LjUuNDguNWg1Ljc1YS40OS40OSAwIDAwLjQ3OC0uNS40OS40OSAwIDAwLS40NzktLjV6bS01Ljc1LTNoMy44MzNhLjQ5LjQ5IDAgMDEuNDguNS40OS40OSAwIDAxLS40OC41SDQuMzEzYS40OS40OSAwIDAxLS40NzktLjVjMC0uMjc2LjIxNS0uNS40OC0uNXptMC0zSDYuMjNhLjQ5LjQ5IDAgMDEuNDc5LjUuNDkuNDkgMCAwMS0uNDguNUg0LjMxNGEuNDkuNDkgMCAwMS0uNDc5LS41YzAtLjI3Ni4yMTUtLjUuNDgtLjV6bTEwLjU0MiAwYS40OS40OSAwIDAwLS40OC41djQuNzkzbC0yLjA1Ny0yLjE0N2EuNDY1LjQ2NSAwIDAwLS42NzggMCAuNTE1LjUxNSAwIDAwMCAuNzA4bDIuODY2IDIuOTlhLjQ2OC40NjggMCAwMC42OTYgMGwyLjg2Ni0yLjk5YS41MTYuNTE2IDAgMDAwLS43MDguNDY1LjQ2NSAwIDAwLS42NzggMGwtMi4wNTYgMi4xNDZWOC41YS40OS40OSAwIDAwLS40OC0uNXoiIGZpbGw9IiM1QzYzNzIiLz48L3N2Zz4K)}._headerCell_2qf2w_16:hover ._noSort_2qf2w_29._caret_2qf2w_33{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjk5OSAxMy44NGwzLjE3NS0yLjcxOWEuNS41IDAgMDEuNjUuNzZsLTMuNSAyLjk5OGEuNS41IDAgMDEtLjY1IDBsLTMuNS0yLjk5OGEuNS41IDAgMDEuNjUtLjc2TDEyIDEzLjg0MXoiIGZpbGw9IiM1QjYzNzIiLz48L3N2Zz4K);transform:rotate(180deg)}._headerLabel_2qf2w_38{text-align:left;overflow:hidden}._icon_2qf2w_43{margin-right:10px;width:20px;box-sizing:border-box;display:inline-block}._numberIcon_2qf2w_50{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTE3IDVINmEyIDIgMCAwIDAtMiAydjEwYTIgMiAwIDAgMCAyIDJoMTFhMiAyIDAgMCAwIDItMlY3YTIgMiAwIDAgMC0yLTJ6TTUgN2ExIDEgMCAwIDEgMS0xaDExYTEgMSAwIDAgMSAxIDF2MTBhMSAxIDAgMCAxLTEgMUg2YTEgMSAwIDAgMS0xLTFWN3ptNC41IDRoLjc2NmwtLjU3MiAySDguNWEuNS41IDAgMCAwIDAgMWguOTA5bC0uMzkgMS4zNjNhLjUuNSAwIDAgMCAuOTYyLjI3NEwxMC40NDkgMTRoMS45NmwtLjM5IDEuMzYzYS41LjUgMCAwIDAgLjk2Mi4yNzRMMTMuNDQ5IDE0SDE0LjVhLjUuNSAwIDAgMCAwLTFoLS43NjZsLjU3Mi0ySDE1LjVhLjUuNSAwIDAgMCAwLTFoLS45MDlsLjM5LTEuMzYzYS41LjUgMCAwIDAtLjk2Mi0uMjc0TDEzLjU1MSAxMGgtMS45NmwuMzktMS4zNjNhLjUuNSAwIDAgMC0uOTYyLS4yNzRMMTAuNTUxIDEwSDkuNWEuNS41IDAgMCAwIDAgMXptMy43NjYgMGgtMS45NmwtLjU3MiAyaDEuOTZsLjU3Mi0yeiIgZmlsbD0iIzVCNjM3MiIvPjwvc3ZnPgo=)}._dateIcon_2qf2w_54{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTkgNVYzLjVhLjUuNSAwIDAgMSAxIDBWNWgzVjMuNWEuNS41IDAgMCAxIDEgMFY1aDNhMiAyIDAgMCAxIDIgMnYxMGEyIDIgMCAwIDEtMiAySDZhMiAyIDAgMCAxLTItMlY3YTIgMiAwIDAgMSAyLTJoM3ptMSAxaDN2LjVhLjUuNSAwIDAgMCAxIDBWNmgzYTEgMSAwIDAgMSAxIDF2MUg1VjdhMSAxIDAgMCAxIDEtMWgzdi41YS41LjUgMCAwIDAgMSAwVjZ6TTUgMTdWOWgxM3Y4YTEgMSAwIDAgMS0xIDFINmExIDEgMCAwIDEtMS0xem05LjUtNWgtNmEuNS41IDAgMCAxIDAtMWg2YS41LjUgMCAwIDEgMCAxem0tNiAyaDZhLjUuNSAwIDAgMCAwLTFoLTZhLjUuNSAwIDAgMCAwIDF6bTYgMmgtNmEuNS41IDAgMCAxIDAtMWg2YS41LjUgMCAwIDEgMCAxeiIgZmlsbD0iIzVCNjM3MiIvPjwvc3ZnPgo=)}._textIcon_2qf2w_58{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTYgNWgxMWEyIDIgMCAwIDEgMiAydjEwYTIgMiAwIDAgMS0yIDJINmEyIDIgMCAwIDEtMi0yVjdhMiAyIDAgMCAxIDItMnptMCAxYTEgMSAwIDAgMC0xIDF2MTBhMSAxIDAgMCAwIDEgMWgxMWExIDEgMCAwIDAgMS0xVjdhMSAxIDAgMCAwLTEtMUg2em04IDEwSDlhLjUuNSAwIDAgMSAwLTFoMlY5SDguNWEuNS41IDAgMCAwLS41LjV2MmEuNS41IDAgMCAxLTEgMHYtMkExLjUgMS41IDAgMCAxIDguNSA4aDZBMS41IDEuNSAwIDAgMSAxNiA5LjV2MmEuNS41IDAgMCAxLTEgMHYtMmEuNS41IDAgMCAwLS41LS41SDEydjZoMmEuNS41IDAgMCAxIDAgMXoiIGZpbGw9IiM1QjYzNzIiLz48L3N2Zz4K)}._booleanIcon_2qf2w_62{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTE3IDVINmEyIDIgMCAwIDAtMiAydjEwYTIgMiAwIDAgMCAyIDJoMTFhMiAyIDAgMCAwIDItMlY3YTIgMiAwIDAgMC0yLTJ6TTUgN2ExIDEgMCAwIDEgMS0xaDExYTEgMSAwIDAgMSAxIDF2MTBhMSAxIDAgMCAxLTEgMUg2YTEgMSAwIDAgMS0xLTFWN3oiIGZpbGw9IiM1QjYzNzIiLz48cGF0aCBkPSJNOC44IDE1LjM5NGEuNS41IDAgMCAxLS4xLS43TDEzLjQyOCA4LjRhLjUuNSAwIDEgMSAuOC42TDkuNSAxNS4yOTRhLjUuNSAwIDAgMS0uNy4xeiIgZmlsbD0iIzVCNjM3MiIvPjxyZWN0IHg9IjYiIHk9IjgiIHdpZHRoPSI1IiBoZWlnaHQ9IjEiIHJ4PSIuNSIgZmlsbD0iIzVCNjM3MiIvPjxwYXRoIGQ9Ik04LjUgOGEuNS41IDAgMCAxIC41LjV2NGEuNS41IDAgMCAxLTEgMHYtNGEuNS41IDAgMCAxIC41LS41eiIgZmlsbD0iIzVCNjM3MiIvPjxyZWN0IHg9IjEzIiB5PSIxMiIgd2lkdGg9IjQiIGhlaWdodD0iMSIgcng9Ii41IiBmaWxsPSIjNUI2MzcyIi8+PHJlY3QgeD0iMTMiIHk9IjE0IiB3aWR0aD0iMyIgaGVpZ2h0PSIxIiByeD0iLjUiIGZpbGw9IiM1QjYzNzIiLz48cGF0aCBkPSJNMTMuNSAxMmEuNS41IDAgMCAxIC41LjV2NGEuNS41IDAgMCAxLTEgMHYtNGEuNS41IDAgMCAxIC41LS41eiIgZmlsbD0iIzVCNjM3MiIvPjwvc3ZnPgo=)}._sortIcon_2qf2w_66{position:absolute;right:0;width:24px;height:24px;background-repeat:no-repeat}._sortAscending_2qf2w_74._standard_2qf2w_29{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjMiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00LjMxMyAxN2g3LjY2N2EuNDkuNDkgMCAwMS40NzkuNS40OS40OSAwIDAxLS40OC41SDQuMzE0YS40OS40OSAwIDAxLS40NzktLjVjMC0uMjc2LjIxNS0uNS40OC0uNXptNS43NS0zaC01Ljc1YS40OS40OSAwIDAwLS40NzkuNWMwIC4yNzYuMjE1LjUuNDguNWg1Ljc1YS40OS40OSAwIDAwLjQ3OC0uNS40OS40OSAwIDAwLS40NzktLjV6bS01Ljc1LTNoMy44MzNhLjQ5LjQ5IDAgMDEuNDguNS40OS40OSAwIDAxLS40OC41SDQuMzEzYS40OS40OSAwIDAxLS40NzktLjVjMC0uMjc2LjIxNS0uNS40OC0uNXptMC0zSDYuMjNhLjQ5LjQ5IDAgMDEuNDc5LjUuNDkuNDkgMCAwMS0uNDguNUg0LjMxNGEuNDkuNDkgMCAwMS0uNDc5LS41YzAtLjI3Ni4yMTUtLjUuNDgtLjV6bTEwLjU0MiAwYS40OS40OSAwIDAwLS40OC41djQuNzkzbC0yLjA1Ny0yLjE0N2EuNDY1LjQ2NSAwIDAwLS42NzggMCAuNTE1LjUxNSAwIDAwMCAuNzA4bDIuODY2IDIuOTlhLjQ2OC40NjggMCAwMC42OTYgMGwyLjg2Ni0yLjk5YS41MTYuNTE2IDAgMDAwLS43MDguNDY1LjQ2NSAwIDAwLS42NzggMGwtMi4wNTYgMi4xNDZWOC41YS40OS40OSAwIDAwLS40OC0uNXoiIGZpbGw9IiM1QzYzNzIiLz48L3N2Zz4K)}._sortDescending_2qf2w_78._standard_2qf2w_29{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjMiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00LjMxMyA3aDcuNjY3YS40OS40OSAwIDAwLjQ3OS0uNS40OS40OSAwIDAwLS40OC0uNUg0LjMxNGEuNDkuNDkgMCAwMC0uNDc5LjVjMCAuMjc2LjIxNS41LjQ4LjV6bTUuNzUgM2gtNS43NWEuNDkuNDkgMCAwMS0uNDc5LS41YzAtLjI3Ni4yMTUtLjUuNDgtLjVoNS43NWEuNDkuNDkgMCAwMS40NzguNS40OS40OSAwIDAxLS40NzkuNXptLTUuNzUgM2gzLjgzM2EuNDkuNDkgMCAwMC40OC0uNS40OS40OSAwIDAwLS40OC0uNUg0LjMxM2EuNDkuNDkgMCAwMC0uNDc5LjVjMCAuMjc2LjIxNS41LjQ4LjV6bTAgM0g2LjIzYS40OS40OSAwIDAwLjQ3OS0uNS40OS40OSAwIDAwLS40OC0uNUg0LjMxNGEuNDkuNDkgMCAwMC0uNDc5LjVjMCAuMjc2LjIxNS41LjQ4LjV6bTEwLjU0MiAwYS40OS40OSAwIDAxLS40OC0uNXYtNC43OTNsLTIuMDU3IDIuMTQ3YS40NjUuNDY1IDAgMDEtLjY3OCAwIC41MTUuNTE1IDAgMDEwLS43MDhsMi44NjYtMi45OWEuNDY4LjQ2OCAwIDAxLjY5NiAwbDIuODY2IDIuOTlhLjUxNi41MTYgMCAwMTAgLjcwOC40NjUuNDY1IDAgMDEtLjY3OCAwbC0yLjA1Ni0yLjE0NlYxNS41YS40OS40OSAwIDAxLS40OC41eiIgZmlsbD0iIzVDNjM3MiIvPjwvc3ZnPgo=)}._sortAscending_2qf2w_74._caret_2qf2w_33{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjk5OSAxMy44NGwzLjE3NS0yLjcxOWEuNS41IDAgMDEuNjUuNzZsLTMuNSAyLjk5OGEuNS41IDAgMDEtLjY1IDBsLTMuNS0yLjk5OGEuNS41IDAgMDEuNjUtLjc2TDEyIDEzLjg0MXoiIGZpbGw9IiM1QjYzNzIiLz48L3N2Zz4K);transform:rotate(180deg)}._sortAscending_2qf2w_74._caret_2qf2w_33:hover{transform:rotate(0)}._sortDescending_2qf2w_78._caret_2qf2w_33{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjk5OSAxMy44NGwzLjE3NS0yLjcxOWEuNS41IDAgMDEuNjUuNzZsLTMuNSAyLjk5OGEuNS41IDAgMDEtLjY1IDBsLTMuNS0yLjk5OGEuNS41IDAgMDEuNjUtLjc2TDEyIDEzLjg0MXoiIGZpbGw9IiM1QjYzNzIiLz48L3N2Zz4K)}._sortDescending_2qf2w_78._caret_2qf2w_33:hover{transform:rotate(180deg)}._headerLabel_2qf2w_38{text-align:left;flex-grow:1}._headerLabel_2qf2w_38,._headerLabel_2qf2w_38 *{overflow:hidden;text-overflow:ellipsis}._icon_t30x8_1{width:24px;height:24px;margin-right:5px;box-sizing:border-box;display:inline-block;background-repeat:no-repeat;flex-grow:0}._numberIcon_t30x8_11{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTE3IDVINmEyIDIgMCAwIDAtMiAydjEwYTIgMiAwIDAgMCAyIDJoMTFhMiAyIDAgMCAwIDItMlY3YTIgMiAwIDAgMC0yLTJ6TTUgN2ExIDEgMCAwIDEgMS0xaDExYTEgMSAwIDAgMSAxIDF2MTBhMSAxIDAgMCAxLTEgMUg2YTEgMSAwIDAgMS0xLTFWN3ptNC41IDRoLjc2NmwtLjU3MiAySDguNWEuNS41IDAgMCAwIDAgMWguOTA5bC0uMzkgMS4zNjNhLjUuNSAwIDAgMCAuOTYyLjI3NEwxMC40NDkgMTRoMS45NmwtLjM5IDEuMzYzYS41LjUgMCAwIDAgLjk2Mi4yNzRMMTMuNDQ5IDE0SDE0LjVhLjUuNSAwIDAgMCAwLTFoLS43NjZsLjU3Mi0ySDE1LjVhLjUuNSAwIDAgMCAwLTFoLS45MDlsLjM5LTEuMzYzYS41LjUgMCAwIDAtLjk2Mi0uMjc0TDEzLjU1MSAxMGgtMS45NmwuMzktMS4zNjNhLjUuNSAwIDAgMC0uOTYyLS4yNzRMMTAuNTUxIDEwSDkuNWEuNS41IDAgMCAwIDAgMXptMy43NjYgMGgtMS45NmwtLjU3MiAyaDEuOTZsLjU3Mi0yeiIgZmlsbD0iIzVCNjM3MiIvPjwvc3ZnPgo=)}._dateIcon_t30x8_15{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTkgNVYzLjVhLjUuNSAwIDAgMSAxIDBWNWgzVjMuNWEuNS41IDAgMCAxIDEgMFY1aDNhMiAyIDAgMCAxIDIgMnYxMGEyIDIgMCAwIDEtMiAySDZhMiAyIDAgMCAxLTItMlY3YTIgMiAwIDAgMSAyLTJoM3ptMSAxaDN2LjVhLjUuNSAwIDAgMCAxIDBWNmgzYTEgMSAwIDAgMSAxIDF2MUg1VjdhMSAxIDAgMCAxIDEtMWgzdi41YS41LjUgMCAwIDAgMSAwVjZ6TTUgMTdWOWgxM3Y4YTEgMSAwIDAgMS0xIDFINmExIDEgMCAwIDEtMS0xem05LjUtNWgtNmEuNS41IDAgMCAxIDAtMWg2YS41LjUgMCAwIDEgMCAxem0tNiAyaDZhLjUuNSAwIDAgMCAwLTFoLTZhLjUuNSAwIDAgMCAwIDF6bTYgMmgtNmEuNS41IDAgMCAxIDAtMWg2YS41LjUgMCAwIDEgMCAxeiIgZmlsbD0iIzVCNjM3MiIvPjwvc3ZnPgo=)}._textIcon_t30x8_19{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTYgNWgxMWEyIDIgMCAwIDEgMiAydjEwYTIgMiAwIDAgMS0yIDJINmEyIDIgMCAwIDEtMi0yVjdhMiAyIDAgMCAxIDItMnptMCAxYTEgMSAwIDAgMC0xIDF2MTBhMSAxIDAgMCAwIDEgMWgxMWExIDEgMCAwIDAgMS0xVjdhMSAxIDAgMCAwLTEtMUg2em04IDEwSDlhLjUuNSAwIDAgMSAwLTFoMlY5SDguNWEuNS41IDAgMCAwLS41LjV2MmEuNS41IDAgMCAxLTEgMHYtMkExLjUgMS41IDAgMCAxIDguNSA4aDZBMS41IDEuNSAwIDAgMSAxNiA5LjV2MmEuNS41IDAgMCAxLTEgMHYtMmEuNS41IDAgMCAwLS41LS41SDEydjZoMmEuNS41IDAgMCAxIDAgMXoiIGZpbGw9IiM1QjYzNzIiLz48L3N2Zz4K)}._booleanIcon_t30x8_23{background-image:url(data:image/svg+xml;charset=utf8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTE3IDVINmEyIDIgMCAwIDAtMiAydjEwYTIgMiAwIDAgMCAyIDJoMTFhMiAyIDAgMCAwIDItMlY3YTIgMiAwIDAgMC0yLTJ6TTUgN2ExIDEgMCAwIDEgMS0xaDExYTEgMSAwIDAgMSAxIDF2MTBhMSAxIDAgMCAxLTEgMUg2YTEgMSAwIDAgMS0xLTFWN3oiIGZpbGw9IiM1QjYzNzIiLz48cGF0aCBkPSJNOC44IDE1LjM5NGEuNS41IDAgMCAxLS4xLS43TDEzLjQyOCA4LjRhLjUuNSAwIDEgMSAuOC42TDkuNSAxNS4yOTRhLjUuNSAwIDAgMS0uNy4xeiIgZmlsbD0iIzVCNjM3MiIvPjxyZWN0IHg9IjYiIHk9IjgiIHdpZHRoPSI1IiBoZWlnaHQ9IjEiIHJ4PSIuNSIgZmlsbD0iIzVCNjM3MiIvPjxwYXRoIGQ9Ik04LjUgOGEuNS41IDAgMCAxIC41LjV2NGEuNS41IDAgMCAxLTEgMHYtNGEuNS41IDAgMCAxIC41LS41eiIgZmlsbD0iIzVCNjM3MiIvPjxyZWN0IHg9IjEzIiB5PSIxMiIgd2lkdGg9IjQiIGhlaWdodD0iMSIgcng9Ii41IiBmaWxsPSIjNUI2MzcyIi8+PHJlY3QgeD0iMTMiIHk9IjE0IiB3aWR0aD0iMyIgaGVpZ2h0PSIxIiByeD0iLjUiIGZpbGw9IiM1QjYzNzIiLz48cGF0aCBkPSJNMTMuNSAxMmEuNS41IDAgMCAxIC41LjV2NGEuNS41IDAgMCAxLTEgMHYtNGEuNS41IDAgMCAxIC41LS41eiIgZmlsbD0iIzVCNjM3MiIvPjwvc3ZnPgo=)}._tableWrapper_1ode4_16 .public_fixedDataTable_header,._tableWrapper_1ode4_16 .public_fixedDataTable_scrollbarSpacer,._tableWrapper_1ode4_16 .public_fixedDataTable_header .public_fixedDataTableCell_main{background-color:transparent;background-image:none;border-bottom:1px solid #edeef1}._tableWrapper_1ode4_16 .public_fixedDataTable_scrollbarSpacer{margin-left:3px}._tableWrapper_1ode4_16 .public_fixedDataTable_main,._tableWrapper_1ode4_16 .fixedDataTableLayout_main{border:none}._tableWrapper_1ode4_16 .public_fixedDataTableRow_highlighted,._tableWrapper_1ode4_16 .public_fixedDataTableRow_highlighted .public_fixedDataTableCell_main,._tableWrapper_1ode4_16 .public_fixedDataTableRow_main{background-color:transparent}._tableWrapper_1ode4_16 .public_fixedDataTableCell_main{background-color:transparent;border-color:#edeef1}._tableWrapper_1ode4_16 .public_fixedDataTable_header,._tableWrapper_1ode4_16 .public_fixedDataTable_hasBottomBorder,._tableWrapper_1ode4_16 .public_fixedDataTable_scrollbarSpacer{border-bottom:none}._tableWrapper_1ode4_16 .public_fixedDataTable_header .fixedDataTableCellGroupLayout_cellGroup{border-top:1px solid #edeef1;border-bottom:1px solid #edeef1;box-sizing:border-box}._tableWrapper_1ode4_16 .public_Scrollbar_main{border-left:none;background-color:transparent}._tableWrapper_1ode4_16 .fixedDataTableRowLayout_rowWrapper{border-left:1px solid #edeef1}._tableWrapper_1ode4_16 .public_Scrollbar_main.public_Scrollbar_mainOpaque{left:-1px}._tableWrapper_1ode4_16 .public_fixedDataTableCell_cellContent{padding:0 24px 0 12px}._tableWrapper_1ode4_16{height:100%;width:100%;box-sizing:border-box;-webkit-user-select:text;-moz-user-select:text;user-select:text}._table_1ode4_16{background:transparent;font-size:13px;border:none}._tableHeader_1ode4_78{color:#5c6372;background-color:transparent;margin:0;border:none;width:100%;overflow:hidden;box-sizing:border-box}._tableCell_1ode4_88{color:#5c6372;background-color:transparent;border:none;border-right:1px solid #edeef1;border-bottom:1px solid #edeef1;overflow:hidden;width:100%;box-sizing:border-box}._tableCellContent_1ode4_99{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._headerColor_1ode4_105,._rowColor_1ode4_109{background-color:#f9f9fb}._component_1rw9b_1{flex-grow:1;font-family:Open Sans}.csdk-drilldown-hierarchy-nested-menu-item .csdk-menu-item-content{position:relative;padding-left:13px}.csdk-drilldown-hierarchy-nested-menu-item .csdk-menu-item-content:before{top:2px;left:0;position:absolute;content:"";display:block;height:14px;width:1px;background:#c3c3c3}.react-datepicker__navigation-icon:before,.react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow{border-color:#ccc;border-style:solid;border-width:3px 3px 0 0;content:"";display:block;height:9px;position:absolute;top:6px;width:9px}.react-datepicker-wrapper{display:inline-block;padding:0;border:0}.react-datepicker{font-family:Helvetica Neue,helvetica,arial,sans-serif;font-size:.8rem;background-color:#fff;color:#000;border:1px solid #aeaeae;border-radius:.3rem;display:inline-block;position:relative;line-height:initial}.react-datepicker--time-only .react-datepicker__time-container{border-left:0}.react-datepicker--time-only .react-datepicker__time,.react-datepicker--time-only .react-datepicker__time-box{border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.react-datepicker-popper{z-index:1;line-height:0}.react-datepicker-popper .react-datepicker__triangle{stroke:#aeaeae}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle{fill:#f0f0f0;color:#f0f0f0}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle{fill:#fff;color:#fff}.react-datepicker__header{text-align:center;background-color:#f0f0f0;border-bottom:1px solid #aeaeae;border-top-left-radius:.3rem;padding:8px 0;position:relative}.react-datepicker__header--time{padding-bottom:8px;padding-left:5px;padding-right:5px}.react-datepicker__header--time:not(.react-datepicker__header--time--only){border-top-left-radius:0}.react-datepicker__header:not(.react-datepicker__header--has-time-select){border-top-right-radius:.3rem}.react-datepicker__year-dropdown-container--select,.react-datepicker__month-dropdown-container--select,.react-datepicker__month-year-dropdown-container--select,.react-datepicker__year-dropdown-container--scroll,.react-datepicker__month-dropdown-container--scroll,.react-datepicker__month-year-dropdown-container--scroll{display:inline-block;margin:0 15px}.react-datepicker__current-month,.react-datepicker-time__header,.react-datepicker-year-header{margin-top:0;color:#000;font-weight:700;font-size:.944rem}h2.react-datepicker__current-month{padding:0;margin:0}.react-datepicker-time__header{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.react-datepicker__navigation{align-items:center;background:none;display:flex;justify-content:center;text-align:center;cursor:pointer;position:absolute;top:2px;padding:0;border:none;z-index:1;height:32px;width:32px;text-indent:-999em;overflow:hidden}.react-datepicker__navigation--previous{left:2px}.react-datepicker__navigation--next{right:2px}.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button){right:85px}.react-datepicker__navigation--years{position:relative;top:0;display:block;margin-left:auto;margin-right:auto}.react-datepicker__navigation--years-previous{top:4px}.react-datepicker__navigation--years-upcoming{top:-4px}.react-datepicker__navigation:hover *:before{border-color:#a6a6a6}.react-datepicker__navigation-icon{position:relative;top:-1px;font-size:20px;width:0}.react-datepicker__navigation-icon--next{left:-2px}.react-datepicker__navigation-icon--next:before{transform:rotate(45deg);left:-7px}.react-datepicker__navigation-icon--previous{right:-2px}.react-datepicker__navigation-icon--previous:before{transform:rotate(225deg);right:-7px}.react-datepicker__month-container{float:left}.react-datepicker__year{margin:.4rem;text-align:center}.react-datepicker__year-wrapper{display:flex;flex-wrap:wrap;max-width:180px}.react-datepicker__year .react-datepicker__year-text{display:inline-block;width:4rem;margin:2px}.react-datepicker__month{margin:.4rem;text-align:center}.react-datepicker__month .react-datepicker__month-text,.react-datepicker__month .react-datepicker__quarter-text{display:inline-block;width:4rem;margin:2px}.react-datepicker__input-time-container{clear:both;width:100%;float:left;margin:5px 0 10px 15px;text-align:left}.react-datepicker__input-time-container .react-datepicker-time__caption,.react-datepicker__input-time-container .react-datepicker-time__input-container{display:inline-block}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input{display:inline-block;margin-left:10px}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input{width:auto}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]{-moz-appearance:textfield}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter{margin-left:5px;display:inline-block}.react-datepicker__time-container{float:right;border-left:1px solid #aeaeae;width:85px}.react-datepicker__time-container--with-today-button{display:inline;border:1px solid #aeaeae;border-radius:.3rem;position:absolute;right:-87px;top:0}.react-datepicker__time-container .react-datepicker__time{position:relative;background:#fff;border-bottom-right-radius:.3rem}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box{width:85px;overflow-x:hidden;margin:0 auto;text-align:center;border-bottom-right-radius:.3rem}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list{list-style:none;margin:0;height:calc(195px + .85rem);overflow-y:scroll;padding-right:0;padding-left:0;width:100%;box-sizing:content-box}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item{height:30px;padding:5px 10px;white-space:nowrap}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover{cursor:pointer;background-color:#f0f0f0}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected{background-color:#216ba5;color:#fff;font-weight:700}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover{background-color:#216ba5}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled{color:#ccc}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover{cursor:default;background-color:transparent}.react-datepicker__week-number{color:#ccc;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}.react-datepicker__week-number.react-datepicker__week-number--clickable{cursor:pointer}.react-datepicker__week-number.react-datepicker__week-number--clickable:not(.react-datepicker__week-number--selected):hover{border-radius:.3rem;background-color:#f0f0f0}.react-datepicker__week-number--selected{border-radius:.3rem;background-color:#216ba5;color:#fff}.react-datepicker__week-number--selected:hover{background-color:#1d5d90}.react-datepicker__day-names{white-space:nowrap;margin-bottom:-8px}.react-datepicker__week{white-space:nowrap}.react-datepicker__day-name,.react-datepicker__day,.react-datepicker__time-name{color:#000;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}.react-datepicker__day,.react-datepicker__month-text,.react-datepicker__quarter-text,.react-datepicker__year-text{cursor:pointer}.react-datepicker__day:not([aria-disabled=true]):hover,.react-datepicker__month-text:not([aria-disabled=true]):hover,.react-datepicker__quarter-text:not([aria-disabled=true]):hover,.react-datepicker__year-text:not([aria-disabled=true]):hover{border-radius:.3rem;background-color:#f0f0f0}.react-datepicker__day--today,.react-datepicker__month-text--today,.react-datepicker__quarter-text--today,.react-datepicker__year-text--today{font-weight:700}.react-datepicker__day--highlighted,.react-datepicker__month-text--highlighted,.react-datepicker__quarter-text--highlighted,.react-datepicker__year-text--highlighted{border-radius:.3rem;background-color:#3dcc4a;color:#fff}.react-datepicker__day--highlighted:not([aria-disabled=true]):hover,.react-datepicker__month-text--highlighted:not([aria-disabled=true]):hover,.react-datepicker__quarter-text--highlighted:not([aria-disabled=true]):hover,.react-datepicker__year-text--highlighted:not([aria-disabled=true]):hover{background-color:#32be3f}.react-datepicker__day--highlighted-custom-1,.react-datepicker__month-text--highlighted-custom-1,.react-datepicker__quarter-text--highlighted-custom-1,.react-datepicker__year-text--highlighted-custom-1{color:#f0f}.react-datepicker__day--highlighted-custom-2,.react-datepicker__month-text--highlighted-custom-2,.react-datepicker__quarter-text--highlighted-custom-2,.react-datepicker__year-text--highlighted-custom-2{color:green}.react-datepicker__day--holidays,.react-datepicker__month-text--holidays,.react-datepicker__quarter-text--holidays,.react-datepicker__year-text--holidays{position:relative;border-radius:.3rem;background-color:#ff6803;color:#fff}.react-datepicker__day--holidays .overlay,.react-datepicker__month-text--holidays .overlay,.react-datepicker__quarter-text--holidays .overlay,.react-datepicker__year-text--holidays .overlay{position:absolute;bottom:100%;left:50%;transform:translate(-50%);background-color:#333;color:#fff;padding:4px;border-radius:4px;white-space:nowrap;visibility:hidden;opacity:0;transition:visibility 0s,opacity .3s ease-in-out}.react-datepicker__day--holidays:not([aria-disabled=true]):hover,.react-datepicker__month-text--holidays:not([aria-disabled=true]):hover,.react-datepicker__quarter-text--holidays:not([aria-disabled=true]):hover,.react-datepicker__year-text--holidays:not([aria-disabled=true]):hover{background-color:#cf5300}.react-datepicker__day--holidays:hover .overlay,.react-datepicker__month-text--holidays:hover .overlay,.react-datepicker__quarter-text--holidays:hover .overlay,.react-datepicker__year-text--holidays:hover .overlay{visibility:visible;opacity:1}.react-datepicker__day--selected,.react-datepicker__day--in-selecting-range,.react-datepicker__day--in-range,.react-datepicker__month-text--selected,.react-datepicker__month-text--in-selecting-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--selected,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--selected,.react-datepicker__year-text--in-selecting-range,.react-datepicker__year-text--in-range{border-radius:.3rem;background-color:#216ba5;color:#fff}.react-datepicker__day--selected:not([aria-disabled=true]):hover,.react-datepicker__day--in-selecting-range:not([aria-disabled=true]):hover,.react-datepicker__day--in-range:not([aria-disabled=true]):hover,.react-datepicker__month-text--selected:not([aria-disabled=true]):hover,.react-datepicker__month-text--in-selecting-range:not([aria-disabled=true]):hover,.react-datepicker__month-text--in-range:not([aria-disabled=true]):hover,.react-datepicker__quarter-text--selected:not([aria-disabled=true]):hover,.react-datepicker__quarter-text--in-selecting-range:not([aria-disabled=true]):hover,.react-datepicker__quarter-text--in-range:not([aria-disabled=true]):hover,.react-datepicker__year-text--selected:not([aria-disabled=true]):hover,.react-datepicker__year-text--in-selecting-range:not([aria-disabled=true]):hover,.react-datepicker__year-text--in-range:not([aria-disabled=true]):hover{background-color:#1d5d90}.react-datepicker__day--keyboard-selected,.react-datepicker__month-text--keyboard-selected,.react-datepicker__quarter-text--keyboard-selected,.react-datepicker__year-text--keyboard-selected{border-radius:.3rem;background-color:#bad9f1;color:#000}.react-datepicker__day--keyboard-selected:not([aria-disabled=true]):hover,.react-datepicker__month-text--keyboard-selected:not([aria-disabled=true]):hover,.react-datepicker__quarter-text--keyboard-selected:not([aria-disabled=true]):hover,.react-datepicker__year-text--keyboard-selected:not([aria-disabled=true]):hover{background-color:#1d5d90}.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range){background-color:#216ba580}.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__year--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range){background-color:#f0f0f0;color:#000}.react-datepicker__day--disabled,.react-datepicker__month-text--disabled,.react-datepicker__quarter-text--disabled,.react-datepicker__year-text--disabled{cursor:default;color:#ccc}.react-datepicker__day--disabled .overlay,.react-datepicker__month-text--disabled .overlay,.react-datepicker__quarter-text--disabled .overlay,.react-datepicker__year-text--disabled .overlay{position:absolute;bottom:70%;left:50%;transform:translate(-50%);background-color:#333;color:#fff;padding:4px;border-radius:4px;white-space:nowrap;visibility:hidden;opacity:0;transition:visibility 0s,opacity .3s ease-in-out}.react-datepicker__input-container{position:relative;display:inline-block;width:100%}.react-datepicker__input-container .react-datepicker__calendar-icon{position:absolute;padding:.5rem;box-sizing:content-box}.react-datepicker__view-calendar-icon input{padding:6px 10px 5px 25px}.react-datepicker__year-read-view,.react-datepicker__month-read-view,.react-datepicker__month-year-read-view{border:1px solid transparent;border-radius:.3rem;position:relative}.react-datepicker__year-read-view:hover,.react-datepicker__month-read-view:hover,.react-datepicker__month-year-read-view:hover{cursor:pointer}.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow{border-top-color:#b3b3b3}.react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow{transform:rotate(135deg);right:-16px;top:0}.react-datepicker__year-dropdown,.react-datepicker__month-dropdown,.react-datepicker__month-year-dropdown{background-color:#f0f0f0;position:absolute;width:50%;left:25%;top:30px;z-index:1;text-align:center;border-radius:.3rem;border:1px solid #aeaeae}.react-datepicker__year-dropdown:hover,.react-datepicker__month-dropdown:hover,.react-datepicker__month-year-dropdown:hover{cursor:pointer}.react-datepicker__year-dropdown--scrollable,.react-datepicker__month-dropdown--scrollable,.react-datepicker__month-year-dropdown--scrollable{height:150px;overflow-y:scroll}.react-datepicker__year-option,.react-datepicker__month-option,.react-datepicker__month-year-option{line-height:20px;width:100%;display:block;margin-left:auto;margin-right:auto}.react-datepicker__year-option:first-of-type,.react-datepicker__month-option:first-of-type,.react-datepicker__month-year-option:first-of-type{border-top-left-radius:.3rem;border-top-right-radius:.3rem}.react-datepicker__year-option:last-of-type,.react-datepicker__month-option:last-of-type,.react-datepicker__month-year-option:last-of-type{-webkit-user-select:none;-moz-user-select:none;user-select:none;border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.react-datepicker__year-option:hover,.react-datepicker__month-option:hover,.react-datepicker__month-year-option:hover{background-color:#ccc}.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming{border-bottom-color:#b3b3b3}.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous{border-top-color:#b3b3b3}.react-datepicker__year-option--selected,.react-datepicker__month-option--selected,.react-datepicker__month-year-option--selected{position:absolute;left:15px}.react-datepicker__close-icon{cursor:pointer;background-color:transparent;border:0;outline:0;padding:0 6px 0 0;position:absolute;top:0;right:0;height:100%;display:table-cell;vertical-align:middle}.react-datepicker__close-icon:after{cursor:pointer;background-color:#216ba5;color:#fff;border-radius:50%;height:16px;width:16px;padding:2px;font-size:12px;line-height:1;text-align:center;display:table-cell;vertical-align:middle;content:"×"}.react-datepicker__close-icon--disabled{cursor:default}.react-datepicker__close-icon--disabled:after{cursor:default;background-color:#ccc}.react-datepicker__today-button{background:#f0f0f0;border-top:1px solid #aeaeae;cursor:pointer;text-align:center;font-weight:700;padding:5px 0;clear:left}.react-datepicker__portal{position:fixed;width:100vw;height:100vh;background-color:#000c;left:0;top:0;justify-content:center;align-items:center;display:flex;z-index:2147483647}.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__time-name{width:3rem;line-height:3rem}@media (max-width: 400px),(max-height: 550px){.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__time-name{width:2rem;line-height:2rem}}.react-datepicker__portal .react-datepicker__current-month,.react-datepicker__portal .react-datepicker-time__header{font-size:1.44rem}.react-datepicker__children-container{width:13.8rem;margin:.4rem;padding-right:.2rem;padding-left:.2rem;height:auto}.react-datepicker__aria-live{position:absolute;clip-path:circle(0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;white-space:nowrap}.react-datepicker__calendar-icon{width:1em;height:1em;vertical-align:-.125em}')),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();