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